summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.hardware85
-rw-r--r--bitbake/AUTHORS2
-rwxr-xr-xbitbake/bin/bitbake87
-rwxr-xr-xbitbake/bin/bitdoc2
-rw-r--r--bitbake/contrib/vim/ftdetect/bitbake.vim28
-rw-r--r--bitbake/contrib/vim/ftplugin/bitbake.vim1
-rwxr-xr-xbitbake/contrib/vim/plugin/newbb.vim85
-rw-r--r--bitbake/contrib/vim/syntax/bitbake.vim192
-rw-r--r--bitbake/doc/manual/usermanual.xml6
-rw-r--r--bitbake/lib/bb/__init__.py51
-rw-r--r--bitbake/lib/bb/build.py488
-rw-r--r--bitbake/lib/bb/cache.py664
-rw-r--r--bitbake/lib/bb/codeparser.py41
-rw-r--r--bitbake/lib/bb/command.py65
-rw-r--r--bitbake/lib/bb/cooker.py436
-rw-r--r--bitbake/lib/bb/data.py19
-rw-r--r--bitbake/lib/bb/data_smart.py99
-rw-r--r--bitbake/lib/bb/event.py112
-rw-r--r--bitbake/lib/bb/fetch/__init__.py127
-rw-r--r--bitbake/lib/bb/fetch/bzr.py35
-rw-r--r--bitbake/lib/bb/fetch/cvs.py41
-rw-r--r--bitbake/lib/bb/fetch/git.py107
-rw-r--r--bitbake/lib/bb/fetch/hg.py40
-rw-r--r--bitbake/lib/bb/fetch/local.py2
-rw-r--r--bitbake/lib/bb/fetch/osc.py31
-rw-r--r--bitbake/lib/bb/fetch/perforce.py28
-rw-r--r--bitbake/lib/bb/fetch/repo.py35
-rw-r--r--bitbake/lib/bb/fetch/svk.py20
-rw-r--r--bitbake/lib/bb/fetch/svn.py33
-rw-r--r--bitbake/lib/bb/fetch/wget.py16
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py985
-rw-r--r--bitbake/lib/bb/fetch2/bzr.py141
-rw-r--r--bitbake/lib/bb/fetch2/cvs.py169
-rw-r--r--bitbake/lib/bb/fetch2/git.py236
-rw-r--r--bitbake/lib/bb/fetch2/hg.py174
-rw-r--r--bitbake/lib/bb/fetch2/local.py76
-rw-r--r--bitbake/lib/bb/fetch2/osc.py135
-rw-r--r--bitbake/lib/bb/fetch2/perforce.py196
-rw-r--r--bitbake/lib/bb/fetch2/repo.py98
-rw-r--r--bitbake/lib/bb/fetch2/ssh.py120
-rw-r--r--bitbake/lib/bb/fetch2/svk.py97
-rw-r--r--bitbake/lib/bb/fetch2/svn.py173
-rw-r--r--bitbake/lib/bb/fetch2/wget.py91
-rw-r--r--bitbake/lib/bb/msg.py204
-rw-r--r--bitbake/lib/bb/parse/__init__.py21
-rw-r--r--bitbake/lib/bb/parse/ast.py127
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py35
-rw-r--r--bitbake/lib/bb/parse/parse_py/ConfHandler.py19
-rw-r--r--bitbake/lib/bb/persist_data.py226
-rw-r--r--bitbake/lib/bb/process.py109
-rw-r--r--bitbake/lib/bb/providers.py37
-rw-r--r--bitbake/lib/bb/pysh/__init__.py (renamed from bitbake/lib/pysh/__init__.py)0
-rw-r--r--bitbake/lib/bb/pysh/builtin.py (renamed from bitbake/lib/pysh/builtin.py)0
-rw-r--r--bitbake/lib/bb/pysh/interp.py (renamed from bitbake/lib/pysh/interp.py)0
-rw-r--r--bitbake/lib/bb/pysh/lsprof.py (renamed from bitbake/lib/pysh/lsprof.py)0
-rw-r--r--bitbake/lib/bb/pysh/pysh.py (renamed from bitbake/lib/pysh/pysh.py)0
-rw-r--r--bitbake/lib/bb/pysh/pyshlex.py (renamed from bitbake/lib/pysh/pyshlex.py)0
-rw-r--r--bitbake/lib/bb/pysh/pyshyacc.py (renamed from bitbake/lib/pysh/pyshyacc.py)9
-rw-r--r--bitbake/lib/bb/pysh/sherrors.py (renamed from bitbake/lib/pysh/sherrors.py)0
-rw-r--r--bitbake/lib/bb/pysh/subprocess_fix.py (renamed from bitbake/lib/pysh/subprocess_fix.py)0
-rw-r--r--bitbake/lib/bb/runqueue.py443
-rw-r--r--bitbake/lib/bb/server/none.py2
-rw-r--r--bitbake/lib/bb/server/xmlrpc.py2
-rw-r--r--bitbake/lib/bb/shell.py12
-rw-r--r--bitbake/lib/bb/siggen.py98
-rw-r--r--bitbake/lib/bb/taskdata.py83
-rw-r--r--bitbake/lib/bb/ui/crumbs/progress.py2
-rw-r--r--bitbake/lib/bb/ui/crumbs/runningbuild.py225
-rw-r--r--bitbake/lib/bb/ui/depexp.py77
-rw-r--r--bitbake/lib/bb/ui/goggle.py33
-rw-r--r--bitbake/lib/bb/ui/knotty.py170
-rw-r--r--bitbake/lib/bb/ui/ncurses.py66
-rw-r--r--bitbake/lib/bb/ui/puccho.py2
-rw-r--r--bitbake/lib/bb/ui/uievent.py25
-rw-r--r--bitbake/lib/bb/utils.py177
-rw-r--r--bitbake/lib/progressbar.py384
-rw-r--r--documentation/bsp-guide/bsp.xml326
-rw-r--r--documentation/poky-ref-manual/extendpoky.xml15
-rw-r--r--documentation/poky-ref-manual/poky-ref-manual.xml4
-rw-r--r--documentation/poky-ref-manual/ref-variables.xml8
-rw-r--r--[-rwxr-xr-x]documentation/yocto-project-qs/figures/using-a-pre-built-image.pngbin13228 -> 12733 bytes
-rw-r--r--documentation/yocto-project-qs/yocto-project-qs.xml234
-rw-r--r--meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb6
-rw-r--r--meta-demoapps/recipes-connectivity/opensync/libsync_svn.bb5
-rw-r--r--meta-demoapps/recipes-connectivity/telepathy/empathy_2.26.1.bb6
-rw-r--r--meta-demoapps/recipes-gnome/abiword/abiword-2.5.inc2
-rw-r--r--meta-demoapps/recipes-gnome/abiword/abiword-embedded_2.5.2.bb2
-rw-r--r--meta-demoapps/recipes-gnome/abiword/abiword.inc2
-rw-r--r--meta-demoapps/recipes-gnome/abiword/abiword_2.5.2.bb4
-rw-r--r--meta-demoapps/recipes-gnome/abiword/abiword_cvs.bb2
-rw-r--r--meta-demoapps/recipes-gnome/libgsf/libgsf_1.14.5.bb4
-rw-r--r--meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_git.bb (renamed from meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_svn.bb)8
-rw-r--r--meta-demoapps/recipes-sato/matchbox-themes-gtk/matchbox-themes-gtk.bb4
-rw-r--r--meta-emenlow/README78
-rw-r--r--meta-emenlow/binary/.gitignore0
-rw-r--r--meta-emenlow/conf/layer.conf4
-rw-r--r--meta-emenlow/conf/machine/emenlow.conf7
-rw-r--r--meta-emenlow/recipes-bsp/formfactor/formfactor/emenlow/machconfig (renamed from meta-emenlow/recipes/formfactor/formfactor/emenlow/machconfig)0
-rw-r--r--meta-emenlow/recipes-bsp/formfactor/formfactor_0.0.bbappend (renamed from meta-emenlow/recipes/formfactor/formfactor_0.0.bbappend)0
-rw-r--r--meta-emenlow/recipes-graphics/libdrm-poulsbo/libdrm-poulsbo-2.3.0/libdrm-poulsbo.patch (renamed from meta-emenlow/recipes/libdrm-poulsbo/libdrm-poulsbo-2.3.0/libdrm-poulsbo.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libdrm-poulsbo/libdrm-poulsbo_2.3.0.bb (renamed from meta-emenlow/recipes/libdrm-poulsbo/libdrm-poulsbo_2.3.0.bb)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/033_g45_add_rgba_subpic.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/033_g45_add_rgba_subpic.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/034_g45_fix_return_for_unimpl.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/034_g45_fix_return_for_unimpl.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/035_g45_add_yv12_image_format.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/035_g45_add_yv12_image_format.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/036_g45_add_vaGetImage.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/036_g45_add_vaGetImage.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/037_g45_add_vaPutImage.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/037_g45_add_vaPutImage.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/038_g45_vaPutSurface_cliprects.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/038_g45_vaPutSurface_cliprects.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/102_attribute_visibility.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/102_attribute_visibility.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/103_fix_vainfo_deps.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/103_fix_vainfo_deps.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/104_fix_libva_pkgconfig_deps.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/104_fix_libva_pkgconfig_deps.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/105_dont_search_LIBGL_DRIVERS_PATH.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/105_dont_search_LIBGL_DRIVERS_PATH.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/108_drivers_path.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/108_drivers_path.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/203_fix_fglrx_detection.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/203_fix_fglrx_detection.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/204_check_ATIFGLEXTENSION.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/204_check_ATIFGLEXTENSION.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/300_sds_version.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/300_sds_version.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/301_vdpau_mpeg4.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/301_vdpau_mpeg4.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/320_move_vaPutSurface_flags_def.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/320_move_vaPutSurface_flags_def.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/321_libva_glx.base.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/321_libva_glx.base.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/322_libva_glx.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/322_libva_glx.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/390_compat.base.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/390_compat.base.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/391_compat.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/391_compat.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/392_compat.dso.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/392_compat.dso.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva-0.31.0/libdrm-poulsbo.patch (renamed from meta-emenlow/recipes/libva/libva-0.31.0/libdrm-poulsbo.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/libva/libva_0.31.0.bb (renamed from meta-emenlow/recipes/libva/libva_0.31.0.bb)0
-rw-r--r--meta-emenlow/recipes-graphics/psb-firmware/psb-firmware_0.30.bb (renamed from meta-emenlow/recipes/psb-firmware/psb-firmware_0.30.bb)0
-rw-r--r--meta-emenlow/recipes-graphics/psb-kernel-source/psb-kernel-source-4.42.0/build.patch (renamed from meta-emenlow/recipes/psb-kernel-source/psb-kernel-source-4.42.0/build.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/psb-kernel-source/psb-kernel-source_4.42.0.bb (renamed from meta-emenlow/recipes/psb-kernel-source/psb-kernel-source_4.42.0.bb)0
-rw-r--r--meta-emenlow/recipes-graphics/xorg-xserver/files/crosscompile.patch (renamed from meta-emenlow/recipes/xorg-xserver/files/crosscompile.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xorg-xserver/files/fix_open_max_preprocessor_error.patch (renamed from meta-emenlow/recipes/xorg-xserver/files/fix_open_max_preprocessor_error.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xorg-xserver/files/libdrm-poulsbo.patch (renamed from meta-emenlow/recipes/xorg-xserver/files/libdrm-poulsbo.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xorg-xserver/files/macro_tweak.patch (renamed from meta-emenlow/recipes/xorg-xserver/files/macro_tweak.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xorg-xserver/files/nodolt.patch (renamed from meta-emenlow/recipes/xorg-xserver/files/nodolt.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xorg-xserver/xserver-psb_1.7.99.2.bb (renamed from meta-emenlow/recipes/xorg-xserver/xserver-psb_1.7.99.2.bb)0
-rw-r--r--meta-emenlow/recipes-graphics/xorg-xserver/xserver-xf86-config/emenlow/xorg.conf (renamed from meta-emenlow/recipes/xorg-xserver/xserver-xf86-config/emenlow/xorg.conf)0
-rw-r--r--meta-emenlow/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend (renamed from meta-emenlow/recipes/xorg-xserver/xserver-xf86-config_0.1.bbappend)0
-rw-r--r--meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx-0.18/cross-compile.patch (renamed from meta-emenlow/recipes/xpsb-glx/xpsb-glx-0.18/cross-compile.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx-0.18/libdrmname.patch (renamed from meta-emenlow/recipes/xpsb-glx/xpsb-glx-0.18/libdrmname.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx-0.18/native-matypes.patch (renamed from meta-emenlow/recipes/xpsb-glx/xpsb-glx-0.18/native-matypes.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx_0.18.bb (renamed from meta-emenlow/recipes/xpsb-glx/xpsb-glx_0.18.bb)0
-rw-r--r--meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/01_disable_lid_timer.patch (renamed from meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/01_disable_lid_timer.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/dri-h.patch (renamed from meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/dri-h.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/libdrm-poulsbo.patch (renamed from meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/libdrm-poulsbo.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_mixed.patch (renamed from meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_mixed.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_xvtempfix.patch (renamed from meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_xvtempfix.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/stubs.patch (renamed from meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/stubs.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/visibility.patch (renamed from meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/visibility.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xorg-x11-drv-psb-0.31.0-ignoreacpi.patch (renamed from meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xorg-x11-drv-psb-0.31.0-ignoreacpi.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xorg-x11-drv-psb-0.31.0-xserver17.patch (renamed from meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xorg-x11-drv-psb-0.31.0-xserver17.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-assert.patch (renamed from meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-assert.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-comment_unused.patch (renamed from meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-comment_unused.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-greedy.patch (renamed from meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-greedy.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-loader.patch (renamed from meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-loader.patch)0
-rw-r--r--meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb_0.32.1.bb (renamed from meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb_0.32.1.bb)0
-rw-r--r--meta-emenlow/recipes-kernel/linux/linux-2.6.33.2/defconfig (renamed from meta-emenlow/recipes/linux/linux-2.6.33.2/defconfig)0
-rw-r--r--meta-emenlow/recipes-kernel/linux/linux-yocto-stable_git.bbappend (renamed from meta-emenlow/recipes/linux/linux-yocto-stable_git.bbappend)0
-rw-r--r--meta-emenlow/recipes-kernel/linux/linux_2.6.33.2.bbappend (renamed from meta-emenlow/recipes/linux/linux_2.6.33.2.bbappend)0
-rw-r--r--meta-rt/conf/layer.conf23
-rw-r--r--meta-rt/images/poky-image-minimal-rt-directdisk.bb15
-rw-r--r--meta-rt/images/poky-image-minimal-rt-live.bb15
-rw-r--r--meta-rt/images/poky-image-minimal-rt.bb12
-rw-r--r--meta-rt/recipes-kernel/linux-yocto-rt_stablegit.bb40
-rw-r--r--meta-rt/recipes-tests/rt-tests_git.bb22
-rw-r--r--meta/classes/autotools.bbclass42
-rw-r--r--meta/classes/base.bbclass168
-rw-r--r--meta/classes/binconfig.bbclass6
-rw-r--r--meta/classes/bootimg.bbclass4
-rw-r--r--meta/classes/cpan-base.bbclass4
-rw-r--r--meta/classes/cpan.bbclass5
-rw-r--r--meta/classes/cpan_build.bbclass4
-rw-r--r--meta/classes/cross-canadian.bbclass7
-rw-r--r--meta/classes/cross.bbclass27
-rw-r--r--meta/classes/crosssdk.bbclass4
-rw-r--r--meta/classes/distrodata.bbclass110
-rw-r--r--meta/classes/distutils-common-base.bbclass23
-rw-r--r--meta/classes/distutils.bbclass20
-rw-r--r--meta/classes/gtk-icon-cache.bbclass2
-rw-r--r--meta/classes/image.bbclass7
-rw-r--r--meta/classes/imagetest-qemu.bbclass52
-rw-r--r--meta/classes/insane.bbclass32
-rw-r--r--meta/classes/kernel-yocto.bbclass112
-rw-r--r--meta/classes/kernel.bbclass23
-rw-r--r--meta/classes/libc-package.bbclass3
-rw-r--r--meta/classes/license.bbclass103
-rw-r--r--meta/classes/native.bbclass5
-rw-r--r--meta/classes/nativesdk.bbclass5
-rw-r--r--meta/classes/package.bbclass22
-rw-r--r--meta/classes/package_deb.bbclass154
-rw-r--r--meta/classes/package_ipk.bbclass70
-rw-r--r--meta/classes/package_rpm.bbclass257
-rw-r--r--meta/classes/patch.bbclass4
-rw-r--r--meta/classes/poky-autobuild-notifier.bbclass6
-rw-r--r--meta/classes/poky-image.bbclass5
-rw-r--r--meta/classes/poky.bbclass29
-rw-r--r--meta/classes/populate_sdk.bbclass82
-rw-r--r--meta/classes/populate_sdk_deb.bbclass60
-rw-r--r--meta/classes/populate_sdk_ipk.bbclass44
-rw-r--r--meta/classes/populate_sdk_rpm.bbclass80
-rw-r--r--meta/classes/python-dir.bbclass2
-rw-r--r--meta/classes/qmake2.bbclass3
-rw-r--r--meta/classes/qt4e.bbclass18
-rw-r--r--meta/classes/qt4x11.bbclass9
-rw-r--r--meta/classes/rm_work.bbclass34
-rw-r--r--meta/classes/rootfs_deb.bbclass111
-rw-r--r--meta/classes/rootfs_ipk.bbclass47
-rw-r--r--meta/classes/rootfs_rpm.bbclass179
-rw-r--r--meta/classes/sanity.bbclass32
-rw-r--r--meta/classes/setuptools.bbclass8
-rw-r--r--meta/classes/siteconfig.bbclass15
-rw-r--r--meta/classes/sstate.bbclass168
-rw-r--r--meta/classes/staging.bbclass56
-rw-r--r--meta/classes/tinderclient.bbclass6
-rw-r--r--meta/classes/toolchain-scripts.bbclass34
-rw-r--r--meta/classes/update-rc.d.bbclass8
-rw-r--r--meta/classes/utility-tasks.bbclass31
-rw-r--r--meta/classes/utils.bbclass26
-rw-r--r--meta/conf/abi_version.conf2
-rw-r--r--meta/conf/bitbake.conf64
-rw-r--r--meta/conf/distro/include/as-needed.inc3
-rw-r--r--meta/conf/distro/include/distro_tracking_fields.inc2159
-rw-r--r--meta/conf/distro/include/poky-default-revisions.inc110
-rw-r--r--meta/conf/distro/include/poky-default.inc2
-rw-r--r--meta/conf/distro/include/poky-fixed-revisions.inc2
-rw-r--r--meta/conf/distro/include/poky-glibc.inc3
-rw-r--r--meta/conf/distro/include/poky-uclibc.inc3
-rw-r--r--meta/conf/distro/include/preferred-xorg-versions.inc73
-rw-r--r--meta/conf/distro/poky-lsb.conf6
-rw-r--r--meta/conf/distro/poky.conf42
-rw-r--r--meta/conf/local.conf.sample21
-rw-r--r--meta/conf/machine/akita.conf1
-rw-r--r--meta/conf/machine/atom-pc.conf1
-rw-r--r--meta/conf/machine/beagleboard.conf10
-rw-r--r--meta/conf/machine/cm-x270.conf2
-rw-r--r--meta/conf/machine/depicture.conf1
-rw-r--r--meta/conf/machine/em-x270.conf1
-rw-r--r--meta/conf/machine/htcuniversal.conf2
-rw-r--r--meta/conf/machine/hx2000.conf2
-rw-r--r--meta/conf/machine/igep0020.conf1
-rw-r--r--meta/conf/machine/igep0030.conf1
-rw-r--r--meta/conf/machine/include/qemu.inc4
-rw-r--r--meta/conf/machine/include/tune-arm1136jf-s.inc1
-rw-r--r--meta/conf/machine/include/tune-arm920t.inc2
-rw-r--r--meta/conf/machine/include/tune-arm926ejs.inc2
-rw-r--r--meta/conf/machine/include/tune-arm9tdmi.inc2
-rw-r--r--meta/conf/machine/include/tune-armv7.inc1
-rw-r--r--meta/conf/machine/include/tune-atom.inc1
-rw-r--r--meta/conf/machine/include/tune-c3.inc3
-rw-r--r--meta/conf/machine/include/tune-cortexa8.inc1
-rw-r--r--meta/conf/machine/include/tune-ep9312.inc2
-rw-r--r--meta/conf/machine/include/tune-iwmmxt.inc3
-rw-r--r--meta/conf/machine/include/tune-mips32.inc2
-rw-r--r--meta/conf/machine/include/tune-ppc603e.inc4
-rw-r--r--meta/conf/machine/include/tune-ppce300c2.inc1
-rw-r--r--meta/conf/machine/include/tune-ppce500.inc2
-rw-r--r--meta/conf/machine/include/tune-sh3.inc2
-rw-r--r--meta/conf/machine/include/tune-sh4.inc6
-rw-r--r--meta/conf/machine/include/tune-supersparc.inc3
-rw-r--r--meta/conf/machine/include/tune-xscale.inc1
-rw-r--r--meta/conf/machine/mpc8315e-rdb.conf9
-rw-r--r--meta/conf/machine/mx31ads.conf1
-rw-r--r--meta/conf/machine/mx31phy.conf1
-rw-r--r--meta/conf/machine/omap-3430ldp.conf1
-rw-r--r--meta/conf/machine/omap-3430sdp.conf1
-rw-r--r--meta/conf/machine/overo.conf3
-rw-r--r--meta/conf/machine/qemuarm.conf1
-rw-r--r--meta/conf/machine/qemuppc.conf1
-rw-r--r--meta/conf/machine/qemux86-64.conf1
-rw-r--r--meta/conf/machine/qemux86.conf1
-rw-r--r--meta/conf/machine/routerstationpro.conf4
-rw-r--r--meta/conf/machine/spitz.conf1
-rw-r--r--meta/conf/machine/zoom2.conf1
-rw-r--r--meta/conf/machine/zylonite.conf3
-rw-r--r--meta/files/common-licenses/Apache-2.0202
-rw-r--r--meta/files/common-licenses/Artistic131
-rw-r--r--meta/files/common-licenses/BSD26
-rw-r--r--meta/files/common-licenses/GFDL451
-rw-r--r--meta/files/common-licenses/GFDL-1.2397
-rw-r--r--meta/files/common-licenses/GFDL-1.3451
-rw-r--r--meta/files/common-licenses/GPL676
-rw-r--r--meta/files/common-licenses/GPLv2339
-rw-r--r--meta/files/common-licenses/GPLv3676
-rw-r--r--meta/files/common-licenses/LGPL165
-rw-r--r--meta/files/common-licenses/LGPLv2481
-rw-r--r--meta/files/common-licenses/LGPLv2.1510
-rw-r--r--meta/files/common-licenses/LGPLv3165
-rw-r--r--meta/lib/oe/patch.py6
-rw-r--r--meta/recipes-bsp/apmd/apmd-3.2.2-14/workaround.patch59
-rw-r--r--meta/recipes-bsp/apmd/apmd_3.2.2-14.bb9
-rw-r--r--meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb6
-rw-r--r--meta/recipes-bsp/grub/grub_0.97.bb4
-rw-r--r--meta/recipes-bsp/hostap/hostap-conf_1.0.bb4
-rw-r--r--meta/recipes-bsp/libacpi/libacpi_0.2.bb4
-rw-r--r--meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb4
-rw-r--r--meta/recipes-bsp/pciutils/pciutils_3.1.7.bb5
-rw-r--r--meta/recipes-bsp/qemu-config/qemu-config.bb4
-rw-r--r--meta/recipes-bsp/uboot/u-boot-mkimage-native_1.3.2.bb2
-rw-r--r--meta/recipes-bsp/uboot/u-boot-omap3-git/beagleboard/name.patch14
-rw-r--r--meta/recipes-bsp/uboot/u-boot-omap3_git.bb18
-rw-r--r--meta/recipes-bsp/uboot/u-boot.inc3
-rw-r--r--meta/recipes-bsp/uboot/u-boot_git.bb21
-rw-r--r--meta/recipes-bsp/usbutils/usbutils_0.86.bb5
-rw-r--r--meta/recipes-bsp/v86d/v86d_0.1.9.bb2
-rw-r--r--meta/recipes-bsp/x-load/files/signGP.c108
-rw-r--r--meta/recipes-bsp/x-load/signgp-native.bb14
-rw-r--r--meta/recipes-bsp/x-load/x-load-git/beagleboard/armv7-a.patch11
-rw-r--r--meta/recipes-bsp/x-load/x-load-git/beagleboard/name.patch16
-rw-r--r--meta/recipes-bsp/x-load/x-load-git/omap3evm/armv7-a.patch11
-rw-r--r--meta/recipes-bsp/x-load/x-load-git/overo/armv7-a.patch11
-rw-r--r--meta/recipes-bsp/x-load/x-load.inc5
-rw-r--r--meta/recipes-bsp/x-load/x-load_git.bb21
-rw-r--r--meta/recipes-bsp/zaurusd/zaurusd_svn.bb5
-rw-r--r--meta/recipes-connectivity/avahi/avahi.inc11
-rw-r--r--meta/recipes-connectivity/avahi/avahi_0.6.28.bb2
-rw-r--r--meta/recipes-connectivity/bind/bind-9.7.2-P3/conf.patch (renamed from meta/recipes-connectivity/bind/bind-9.7.2-P2/conf.patch)0
-rw-r--r--meta/recipes-connectivity/bind/bind-9.7.2-P3/cross-build-fix.patch (renamed from meta/recipes-connectivity/bind/bind-9.7.2-P2/cross-build-fix.patch)0
-rw-r--r--meta/recipes-connectivity/bind/bind_9.7.2-P3.bb (renamed from meta/recipes-connectivity/bind/bind_9.7.2-P2.bb)5
-rw-r--r--meta/recipes-connectivity/bluez/bluez4-4.82/bluetooth.conf (renamed from meta/recipes-connectivity/bluez/bluez4-4.79/bluetooth.conf)0
-rw-r--r--meta/recipes-connectivity/bluez/bluez4-4.82/fix-dfutool-usb-declaration-mismatch.patch (renamed from meta/recipes-connectivity/bluez/bluez4-4.79/fix-dfutool-usb-declaration-mismatch.patch)0
-rw-r--r--meta/recipes-connectivity/bluez/bluez4-4.82/hid2hci_usb_init.patch (renamed from meta/recipes-connectivity/bluez/bluez4-4.79/hid2hci_usb_init.patch)0
-rw-r--r--meta/recipes-connectivity/bluez/bluez4-4.82/sbc-thumb.patch (renamed from meta/recipes-connectivity/bluez/bluez4-4.79/sbc-thumb.patch)0
-rw-r--r--meta/recipes-connectivity/bluez/bluez4_4.82.bb (renamed from meta/recipes-connectivity/bluez/bluez4_4.79.bb)4
-rw-r--r--meta/recipes-connectivity/connman/connman-0.65/connman (renamed from meta/recipes-connectivity/connman/connman-0.63/connman)0
-rw-r--r--meta/recipes-connectivity/connman/connman-0.65/dbusperms.patch (renamed from meta/recipes-connectivity/connman/connman-0.63/dbusperms.patch)0
-rw-r--r--meta/recipes-connectivity/connman/connman-0.65/fix-shutdown-ap-disconnect.patch (renamed from meta/recipes-connectivity/connman/connman-0.63/fix-shutdown-ap-disconnect.patch)0
-rw-r--r--meta/recipes-connectivity/connman/connman-gnome/connman-applet.desktop10
-rw-r--r--meta/recipes-connectivity/connman/connman-gnome/remove-connman-property-desktop-file.patch42
-rw-r--r--meta/recipes-connectivity/connman/connman-gnome/service_name_update.patch36
-rw-r--r--meta/recipes-connectivity/connman/connman-gnome_0.5.bb10
-rw-r--r--meta/recipes-connectivity/connman/connman_0.65.bb (renamed from meta/recipes-connectivity/connman/connman_0.63.bb)4
-rw-r--r--meta/recipes-connectivity/gsm/gsmd.inc8
-rw-r--r--meta/recipes-connectivity/gupnp/gupnp_0.14.0.bb4
-rw-r--r--meta/recipes-connectivity/gypsy/gypsy_svn.bb2
-rw-r--r--meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb4
-rw-r--r--meta/recipes-connectivity/nfs-utils/files/fix-ac-prereq.patch13
-rw-r--r--meta/recipes-connectivity/nfs-utils/libnfsidmap_0.24.bb (renamed from meta/recipes-connectivity/nfs-utils/libnfsidmap_0.23.bb)8
-rw-r--r--meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb6
-rw-r--r--meta/recipes-connectivity/ofono/ofono.inc2
-rw-r--r--meta/recipes-connectivity/ofono/ofono_0.33.bb9
-rw-r--r--meta/recipes-connectivity/ofono/ofono_0.37.bb9
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8p/debian/valgrind.patch15
-rw-r--r--meta/recipes-connectivity/openssl/openssl_0.9.8p.bb1
-rw-r--r--meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb4
-rw-r--r--meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb (renamed from meta/recipes-connectivity/resolvconf/resolvconf_1.43.bb)9
-rw-r--r--meta/recipes-connectivity/telepathy/telepathy-glib_0.13.6.bb (renamed from meta/recipes-connectivity/telepathy/telepathy-glib_0.13.5.bb)4
-rw-r--r--meta/recipes-connectivity/telepathy/telepathy-idle_0.1.7.bb (renamed from meta/recipes-connectivity/telepathy/telepathy-idle_0.1.6.bb)4
-rw-r--r--meta/recipes-connectivity/telepathy/telepathy-mission-control_5.7.1.bb (renamed from meta/recipes-connectivity/telepathy/telepathy-mission-control_5.7.0.bb)4
-rw-r--r--meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb (renamed from meta/recipes-connectivity/telepathy/telepathy-python_0.15.18.bb)6
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc10
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb2
-rw-r--r--meta/recipes-core/base-files/base-files/profile2
-rw-r--r--meta/recipes-core/base-files/base-files_3.0.14.bb18
-rw-r--r--meta/recipes-core/busybox/busybox-1.17.3/busybox-udhcpc-no_deconfig.patch110
-rw-r--r--meta/recipes-core/busybox/busybox.inc4
-rw-r--r--meta/recipes-core/busybox/busybox_1.17.3.bb4
-rwxr-xr-xmeta/recipes-core/busybox/files/busybox-udhcpc25
-rw-r--r--meta/recipes-core/coreutils/coreutils-6.9/coreutils-6.9-cp-i-u.patch118
-rw-r--r--meta/recipes-core/coreutils/coreutils-6.9/coreutils-fix-install.patch99
-rw-r--r--meta/recipes-core/coreutils/coreutils-6.9/coreutils-i18n.patch4049
-rw-r--r--meta/recipes-core/coreutils/coreutils-6.9/coreutils-ls-x.patch115
-rw-r--r--meta/recipes-core/coreutils/coreutils-6.9/coreutils-overflow.patch17
-rw-r--r--meta/recipes-core/coreutils/coreutils_6.9.bb5
-rw-r--r--meta/recipes-core/coreutils/coreutils_8.9.bb (renamed from meta/recipes-core/coreutils/coreutils_8.5.bb)9
-rw-r--r--meta/recipes-core/dbus-wait/dbus-wait_svn.bb2
-rw-r--r--meta/recipes-core/dbus/dbus-1.4.1/dbus-1.init (renamed from meta/recipes-core/dbus/dbus-1.4.0/dbus-1.init)0
-rw-r--r--meta/recipes-core/dbus/dbus-1.4.1/tmpdir.patch (renamed from meta/recipes-core/dbus/dbus-1.4.0/tmpdir.patch)0
-rw-r--r--meta/recipes-core/dbus/dbus-glib-0.88/fix_asneeded.patch17
-rw-r--r--meta/recipes-core/dbus/dbus-glib-0.92/no-examples.patch (renamed from meta/recipes-core/dbus/dbus-glib-0.88/no-examples.patch)0
-rw-r--r--meta/recipes-core/dbus/dbus-glib.inc12
-rw-r--r--meta/recipes-core/dbus/dbus-glib_0.88.bb6
-rw-r--r--meta/recipes-core/dbus/dbus-glib_0.92.bb6
-rw-r--r--meta/recipes-core/dbus/dbus.inc5
-rw-r--r--meta/recipes-core/dbus/dbus_1.4.0.bb6
-rw-r--r--meta/recipes-core/dbus/dbus_1.4.1.bb6
-rw-r--r--meta/recipes-core/eglibc/cross-localedef-native_2.12.bb11
-rw-r--r--meta/recipes-core/eglibc/eglibc-initial.inc10
-rw-r--r--meta/recipes-core/eglibc/eglibc-package.inc8
-rw-r--r--meta/recipes-core/eglibc/eglibc.inc19
-rw-r--r--meta/recipes-core/eglibc/eglibc_2.12.bb2
-rw-r--r--meta/recipes-core/gettext/gettext_0.14.1.bb19
-rw-r--r--meta/recipes-core/gettext/gettext_0.17.bb35
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/60_wait-longer-for-threads-to-die.patch (renamed from meta/recipes-core/glib-2.0/glib-2.0-2.27.3/60_wait-longer-for-threads-to-die.patch)0
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/configure-libtool.patch (renamed from meta/recipes-core/glib-2.0/glib-2.0-2.27.3/configure-libtool.patch)6
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/g_once_init_enter.patch22
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0/glib-gettextize-dir.patch (renamed from meta/recipes-core/glib-2.0/glib-2.0-2.27.3/glib-gettextize-dir.patch)0
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0_2.26.1.bb16
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0_2.27.3.bb13
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0_2.27.5.bb18
-rw-r--r--meta/recipes-core/glib-2.0/glib.inc6
-rw-r--r--meta/recipes-core/glibc/glibc-initial.inc10
-rw-r--r--meta/recipes-core/glibc/glibc.inc21
-rw-r--r--meta/recipes-core/glibc/ldconfig-native_2.5.bb2
-rw-r--r--meta/recipes-core/images/poky-image-live.inc3
-rw-r--r--meta/recipes-core/images/poky-image-minimal-dev.bb15
-rw-r--r--meta/recipes-core/images/poky-image-minimal.bb2
-rw-r--r--meta/recipes-core/initrdscripts/files/init-live.sh1
-rw-r--r--meta/recipes-core/initscripts/initscripts_1.0.bb4
-rw-r--r--meta/recipes-core/libxml/libxml2.inc1
-rw-r--r--meta/recipes-core/libxml/libxml2_2.7.7.bb2
-rw-r--r--meta/recipes-core/meta/external-python-tarball.bb4
-rw-r--r--meta/recipes-core/meta/meta-environment.bb61
-rw-r--r--meta/recipes-core/meta/meta-toolchain-gmae.bb5
-rw-r--r--meta/recipes-core/meta/meta-toolchain-sdk.bb4
-rw-r--r--meta/recipes-core/meta/meta-toolchain.bb102
-rw-r--r--meta/recipes-core/ncurses/ncurses-5.7/config.cache4
-rw-r--r--meta/recipes-core/ncurses/ncurses-5.7/tic-hang.patch25
-rw-r--r--meta/recipes-core/ncurses/ncurses/makefile_tweak.patch89
-rw-r--r--meta/recipes-core/ncurses/ncurses/visibility.patch4904
-rw-r--r--meta/recipes-core/ncurses/ncurses_5.4.bb11
-rw-r--r--meta/recipes-core/ncurses/ncurses_5.7.bb242
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/colinux/interfaces (renamed from meta/recipes-core/netbase/netbase-4.43/colinux/interfaces)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/epia/interfaces (renamed from meta/recipes-core/netbase/netbase-4.43/epia/interfaces)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/hosts (renamed from meta/recipes-core/netbase/netbase-4.43/hosts)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/init (renamed from meta/recipes-core/netbase/netbase-4.43/init)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/interfaces (renamed from meta/recipes-core/netbase/netbase-4.43/interfaces)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/mtx-1/interfaces (renamed from meta/recipes-core/netbase/netbase-4.43/mtx-1/interfaces)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/nfsroot (renamed from meta/recipes-core/netbase/netbase-4.43/nfsroot)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/nokia800/interfaces (renamed from meta/recipes-core/netbase/netbase-4.43/nokia800/interfaces)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/openmn/hosts (renamed from meta/recipes-core/netbase/netbase-4.43/openmn/hosts)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/openmn/interfaces (renamed from meta/recipes-core/netbase/netbase-4.43/openmn/interfaces)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/qemuarm/interfaces (renamed from meta/recipes-core/netbase/netbase-4.43/qemuarm/interfaces)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/qemuarmv6/interfaces (renamed from meta/recipes-core/netbase/netbase-4.43/qemuarmv6/interfaces)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/qemuarmv7/interfaces (renamed from meta/recipes-core/netbase/netbase-4.43/qemuarmv7/interfaces)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/qemux86-64/interfaces (renamed from meta/recipes-core/netbase/netbase-4.43/qemux86-64/interfaces)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/qemux86/interfaces (renamed from meta/recipes-core/netbase/netbase-4.43/qemux86/interfaces)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/tosa/interfaces (renamed from meta/recipes-core/netbase/netbase-4.43/tosa/interfaces)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/wrt54/interfaces (renamed from meta/recipes-core/netbase/netbase-4.43/wrt54/interfaces)0
-rw-r--r--meta/recipes-core/netbase/netbase-4.44/xxs1500/interfaces (renamed from meta/recipes-core/netbase/netbase-4.43/xxs1500/interfaces)0
-rw-r--r--meta/recipes-core/netbase/netbase_4.44.bb (renamed from meta/recipes-core/netbase/netbase_4.43.bb)4
-rw-r--r--meta/recipes-core/psplash/files/psplash-poky-img.h909
-rw-r--r--meta/recipes-core/psplash/psplash_svn.bb11
-rw-r--r--meta/recipes-core/sysfsutils/sysfsutils-2.1.0/sysfsutils-2.0.0-class-dup.patch21
-rw-r--r--meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb6
-rw-r--r--meta/recipes-core/tasks/task-cross-canadian.bb3
-rw-r--r--meta/recipes-core/tasks/task-poky-sdk.bb4
-rw-r--r--meta/recipes-core/tasks/task-poky-tools.bb11
-rw-r--r--meta/recipes-core/tasks/task-sdk-host.bb6
-rw-r--r--meta/recipes-core/util-linux/util-linux-2.17.2/util-linux-ng-2.16-mount_lock_path.patch25
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc52
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.17.2.bb5
-rw-r--r--meta/recipes-devtools/apt/apt-0.7.14/use-host.patch20
-rw-r--r--meta/recipes-devtools/apt/apt-native_0.7.14.bb2
-rw-r--r--meta/recipes-devtools/apt/apt_0.7.14.bb6
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.20.1/binutils-2.16.1-e300c2c3.patch18
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.20.1/binutils-libtool.patch67
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.20.1/binutils-mips-pie.patch29
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.20.1/binutils-poison.patch253
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.21/110-arm-eabi-conf.patch (renamed from meta/recipes-devtools/binutils/binutils-2.20.1/110-arm-eabi-conf.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.21/binutils-2.19.1-ld-sysroot.patch37
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.21/binutils-poison.patch245
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-100-uclibc-conf.patch (renamed from meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-100-uclibc-conf.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-001_ld_makefile_patch.patch (renamed from meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-001_ld_makefile_patch.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-006_better_file_error.patch (renamed from meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-006_better_file_error.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-012_check_ldrunpath_length.patch (renamed from meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-012_check_ldrunpath_length.patch)19
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-gas-needs-libm.patch (renamed from meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-gas-needs-libm.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.21/binutils-x86_64_i386_biarch.patch (renamed from meta/recipes-devtools/binutils/binutils-2.20.1/binutils-x86_64_i386_biarch.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.21/libiberty_path_fix.patch (renamed from meta/recipes-devtools/binutils/binutils-2.20.1/libiberty_path_fix.patch)0
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.21/libtool-2.4-update.patch18719
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.21/libtool-rpath-fix.patch36
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian.inc6
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.bb (renamed from meta/recipes-devtools/binutils/binutils-cross-canadian_2.20.1.bb)2
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross.inc6
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross_2.21.bb (renamed from meta/recipes-devtools/binutils/binutils-cross_2.20.1.bb)1
-rw-r--r--meta/recipes-devtools/binutils/binutils-crosssdk_2.21.bb (renamed from meta/recipes-devtools/binutils/binutils-crosssdk_2.20.1.bb)2
-rw-r--r--meta/recipes-devtools/binutils/binutils.inc20
-rw-r--r--meta/recipes-devtools/binutils/binutils_2.21.bb (renamed from meta/recipes-devtools/binutils/binutils_2.20.1.bb)18
-rw-r--r--meta/recipes-devtools/binutils/files/better_file_error.patch17
-rw-r--r--meta/recipes-devtools/binutils/files/ld_makefile.patch22
-rw-r--r--meta/recipes-devtools/binutils/files/objdump_fix.patch134
-rw-r--r--meta/recipes-devtools/binutils/files/plt32trunc.patch24
-rw-r--r--meta/recipes-devtools/binutils/files/signed_char_fix.patch12
-rw-r--r--meta/recipes-devtools/bison/bison_2.4.3.bb8
-rw-r--r--meta/recipes-devtools/cdrtools/cdrtools-native_2.01.bb2
-rw-r--r--meta/recipes-devtools/desktop-file-utils/desktop-file-utils-native_0.15.bb3
-rw-r--r--meta/recipes-devtools/distcc/distcc_2.18.3.bb4
-rw-r--r--meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb52
-rw-r--r--meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb23
-rw-r--r--meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb23
-rw-r--r--meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.5-native.bb17
-rw-r--r--meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc53
-rw-r--r--meta/recipes-devtools/docbook-sgml-dtd/files/LICENSE-OASIS16
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc4
-rw-r--r--meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb (renamed from meta/recipes-devtools/dpkg/dpkg_1.15.8.5.bb)6
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.12.bb4
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.108/warnings.patch132
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.89/warnings.patch98
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.108.bb25
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.89.bb10
-rw-r--r--meta/recipes-devtools/flex/flex.inc3
-rw-r--r--meta/recipes-devtools/flex/flex_2.5.35.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.1.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.1/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch33
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc45-no-add-needed.patch52
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-cross.inc4
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-runtime.inc16
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-sdk.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-canadian_4.5.1.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-initial.inc2
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-initial_4.3.3.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-initial_4.5.1.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-intermediate.inc35
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-intermediate_4.3.3.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.1.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.3.3.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-package-runtime.inc8
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_4.3.3.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb2
-rw-r--r--meta/recipes-devtools/gcc/gcc_4.5.1.bb2
-rw-r--r--meta/recipes-devtools/gcc/libgcc_4.5.1.bb46
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc4
-rw-r--r--meta/recipes-devtools/git/git_1.7.3.4.bb (renamed from meta/recipes-devtools/git/git_1.7.3.2.bb)4
-rw-r--r--meta/recipes-devtools/guilt/guilt-native_0.33.bb6
-rw-r--r--meta/recipes-devtools/icon-naming-utils/icon-naming-utils-native_0.8.7.bb2
-rwxr-xr-xmeta/recipes-devtools/installer/adt-installer/adt_installer367
-rw-r--r--meta/recipes-devtools/installer/adt-installer/adt_installer.conf52
-rw-r--r--meta/recipes-devtools/installer/adt-installer/opkg/conf/opkg-sdk-i686.conf6
-rw-r--r--meta/recipes-devtools/installer/adt-installer/opkg/conf/opkg-sdk-x86_64.conf6
-rwxr-xr-xmeta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal210
-rw-r--r--meta/recipes-devtools/installer/adt-installer/scripts/data_define40
-rwxr-xr-xmeta/recipes-devtools/installer/adt-installer/scripts/extract_rootfs67
-rw-r--r--meta/recipes-devtools/installer/adt-installer/scripts/util104
-rw-r--r--meta/recipes-devtools/installer/adt-installer_1.0.bb84
-rw-r--r--meta/recipes-devtools/intltool/intltool.inc4
-rw-r--r--meta/recipes-devtools/intltool/intltool_0.40.6.bb2
-rw-r--r--meta/recipes-devtools/libtool/libtool-2.4.inc13
-rw-r--r--meta/recipes-devtools/libtool/libtool-cross_2.4.bb13
-rw-r--r--meta/recipes-devtools/libtool/libtool-native_2.4.bb11
-rw-r--r--meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb11
-rw-r--r--meta/recipes-devtools/libtool/libtool.inc22
-rw-r--r--meta/recipes-devtools/libtool/libtool/cross_compile.patch38
-rw-r--r--meta/recipes-devtools/libtool/libtool/fix-final-rpath.patch36
-rw-r--r--meta/recipes-devtools/libtool/libtool/rename-with-sysroot.patch824
-rw-r--r--meta/recipes-devtools/libtool/libtool/resolve-sysroot.patch40
-rw-r--r--meta/recipes-devtools/libtool/libtool/use-sysroot-in-libpath.patch20
-rw-r--r--meta/recipes-devtools/libtool/libtool_2.4.bb31
-rw-r--r--meta/recipes-devtools/mklibs/files/ac_init_fix.patch17
-rw-r--r--meta/recipes-devtools/mklibs/mklibs-native_0.1.31.bb23
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils_1.4.1.bb2
-rw-r--r--meta/recipes-devtools/openjade/openjade-1.3.2/autoconf.patch173
-rw-r--r--meta/recipes-devtools/openjade/openjade-1.3.2/configure.patch68
-rw-r--r--meta/recipes-devtools/openjade/openjade-1.3.2/makefile.patch34
-rw-r--r--meta/recipes-devtools/openjade/openjade-1.3.2/oj-native-libosp-fix.patch15
-rw-r--r--meta/recipes-devtools/openjade/openjade_1.3.2.bb66
-rw-r--r--meta/recipes-devtools/opensp/opensp/attributevalue.patch62
-rw-r--r--meta/recipes-devtools/opensp/opensp/fix-docdir.patch14
-rw-r--r--meta/recipes-devtools/opensp/opensp/m4.patch1925
-rw-r--r--meta/recipes-devtools/opensp/opensp/rangmap-fix.patch15
-rw-r--r--meta/recipes-devtools/opensp/opensp_1.5.bb27
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb8
-rw-r--r--meta/recipes-devtools/opkg/opkg-0.1.8/opkg_unarchive.patch17
-rw-r--r--meta/recipes-devtools/opkg/opkg.inc3
-rw-r--r--meta/recipes-devtools/opkg/opkg/logfix.patch23
-rw-r--r--meta/recipes-devtools/opkg/opkg_0.1.8.bb8
-rw-r--r--meta/recipes-devtools/opkg/opkg_svn.bb15
-rw-r--r--meta/recipes-devtools/patch/patch_2.6.1.bb2
-rw-r--r--meta/recipes-devtools/pax-utils/pax-utils_0.2.1.bb19
-rw-r--r--meta/recipes-devtools/pax-utils/pax-utils_0.2.2.bb21
-rw-r--r--meta/recipes-devtools/perl/files/letgcc-find-errno.patch14
-rw-r--r--meta/recipes-devtools/perl/files/perl-5.8.8-gcc-4.2.patch13
-rw-r--r--meta/recipes-devtools/perl/liburi-perl_1.56.bb (renamed from meta/recipes-devtools/perl/liburi-perl_1.56)0
-rw-r--r--meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb4
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/09_fix_installperl.patch19
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/Makefile.SH.patch288
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch (renamed from meta/recipes-devtools/perl/perl-5.8.8/Makefile.patch)20
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/asm-pageh-fix.patch (renamed from meta/recipes-devtools/perl/perl-5.8.8/asm-pageh-fix.patch)6
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/config.sh (renamed from meta/recipes-devtools/perl/perl-5.8.8/config.sh)322
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/config.sh-3238
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-be (renamed from meta/recipes-devtools/perl/perl-5.8.8/config.sh-32-be)0
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-le (renamed from meta/recipes-devtools/perl/perl-5.8.8/config.sh-32-le)0
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/config.sh-6438
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-be (renamed from meta/recipes-devtools/perl/perl-5.8.8/config.sh-64-be)0
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-le (renamed from meta/recipes-devtools/perl/perl-5.8.8/config.sh-64-le)0
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/cross-generate_uudmap.patch13
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/arm_optim.diff32
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/arm_thread_stress_timeout.diff23
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_config_path.diff22
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_definstalldirs.diff35
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_config_path.diff43
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_definstalldirs.diff52
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/db_file_ver.diff32
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/deprecate-with-apt.diff59
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/devel-ppport-ia64-optim.diff32
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff29
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/doc_info.diff34
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/enc2xs_inc.diff49
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/errno_ver.diff32
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/extutils_hacks.diff (renamed from meta/recipes-devtools/perl/perl-5.8.8/52_debian_extutils_hacks.patch)199
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fakeroot.diff43
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/autodie-flock.diff98
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/concat-stack-corruption.diff37
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff30
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/h2ph-gcc-4.5.diff106
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff26
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-docs.diff95
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-sprintf.diff29
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/net_smtp_docs.diff23
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/processPL.diff43
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/instmodsh_doc.diff26
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff23
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/libnet_config_path.diff35
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/m68k_thread_stress.diff43
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/mod_paths.diff (renamed from meta/recipes-devtools/perl/perl-5.8.8/53_debian_mod_paths.patch)67
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff31
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/perlivp.diff38
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/prune_libs.diff36
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/debian/squelch-locale-warnings.diff53
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/generate-sh.patch (renamed from meta/recipes-devtools/perl/perl-5.8.8/generate-sh.patch)0
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/installperl.patch (renamed from meta/recipes-devtools/perl/perl-5.8.8/installperl.patch)10
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/native-nopacklist.patch (renamed from meta/recipes-devtools/perl/perl-5.8.8/native-nopacklist.patch)36
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/native-perlinc.patch (renamed from meta/recipes-devtools/perl/perl-5.8.8/native-perlinc.patch)4
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/native-ssp.patch (renamed from meta/recipes-devtools/perl/perl-5.8.8/native-ssp.patch)0
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/perl-configpm-switch.patch (renamed from meta/recipes-devtools/perl/perl-5.8.8/perl-configpm-switch.patch)0
-rwxr-xr-xmeta/recipes-devtools/perl/perl-5.12.2/perl-configure.sh (renamed from meta/recipes-devtools/perl/perl-5.8.8/perl-configure.sh)4
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/perl-dynloader.patch (renamed from meta/recipes-devtools/perl/perl-5.8.8/perl-dynloader.patch)4
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/perl-enable-gdbm.patch (renamed from meta/recipes-devtools/perl/perl-5.8.8/perl-enable-gdbm.patch)0
-rw-r--r--meta/recipes-devtools/perl/perl-5.12.2/perl-moreconfig.patch (renamed from meta/recipes-devtools/perl/perl-5.8.8/perl-moreconfig.patch)0
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/09_fix_installperl.patch32
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/54_debian_perldoc-r.patch16
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/58_debian_cpan_config_path.patch14
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/60_debian_libnet_config_path.patch16
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/62_debian_cpan_definstalldirs.patch16
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/64_debian_enc2xs_inc.patch28
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/Makefile.SH.patch253
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/config.sh-3258
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/config.sh-6458
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/makedepend-dash.patch13
-rw-r--r--meta/recipes-devtools/perl/perl-5.8.8/native-no-gdbminc.patch18
-rw-r--r--meta/recipes-devtools/perl/perl-native_5.12.2.bb (renamed from meta/recipes-devtools/perl/perl-native_5.8.8.bb)26
-rw-r--r--meta/recipes-devtools/perl/perl-rdepends_5.12.2.inc210
-rw-r--r--meta/recipes-devtools/perl/perl-rdepends_5.8.8.inc1145
-rw-r--r--meta/recipes-devtools/perl/perl-rprovides_5.12.2.inc1
-rw-r--r--meta/recipes-devtools/perl/perl_5.12.2.bb276
-rw-r--r--meta/recipes-devtools/perl/perl_5.8.8.bb228
-rw-r--r--meta/recipes-devtools/prelink/prelink_git.bb5
-rw-r--r--meta/recipes-devtools/pseudo/pseudo/895fa7e359e8026a608fba052c2994e42901e45f.patch235
-rw-r--r--meta/recipes-devtools/pseudo/pseudo/static_sqlite.patch18
-rw-r--r--meta/recipes-devtools/pseudo/pseudo_git.bb40
-rw-r--r--meta/recipes-devtools/python/python-dbus_0.83.2.bb (renamed from meta/recipes-devtools/python/python-dbus_0.83.1.bb)8
-rw-r--r--meta/recipes-devtools/python/python-gst_0.10.19.bb4
-rw-r--r--meta/recipes-devtools/python/python-imaging_1.1.7.bb4
-rw-r--r--meta/recipes-devtools/python/python-native_2.6.6.bb1
-rw-r--r--meta/recipes-devtools/python/python-pycurl_7.19.0.bb4
-rw-r--r--meta/recipes-devtools/python/python-pygobject-native_2.27.0.bb15
-rw-r--r--meta/recipes-devtools/python/python-pygobject_2.27.0.bb14
-rw-r--r--meta/recipes-devtools/python/python-pygtk_2.17.0.bb4
-rw-r--r--meta/recipes-devtools/python/python-pyrex-native_0.9.9.bb4
-rw-r--r--meta/recipes-devtools/python/python-scons-native_2.0.1.bb4
-rw-r--r--meta/recipes-devtools/python/python.inc10
-rw-r--r--meta/recipes-devtools/python/python_2.6.6.bb11
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/arm-cp15-fix.patch131
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-fix-oneshot-mode.patch32
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-reload-timer-when-enabled.patch40
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/cursor-shadow-fix.patch35
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.12.4/qemu-ppc-hack.patch136
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/enable-i386-linux-user.patch (renamed from meta/recipes-devtools/qemu/qemu-0.12.4/enable-i386-linux-user.patch)16
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/fix-configure-checks.patch (renamed from meta/recipes-devtools/qemu/qemu-0.12.4/fix-configure-checks.patch)12
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/fix-dirent.patch (renamed from meta/recipes-devtools/qemu/qemu-0.12.4/fix-dirent.patch)0
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/fix-nogl.patch (renamed from meta/recipes-devtools/qemu/qemu-0.12.4/fix-nogl.patch)24
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/glflags.patch (renamed from meta/recipes-devtools/qemu/qemu-0.12.4/glflags.patch)0
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/init-info.patch (renamed from meta/recipes-devtools/qemu/qemu-0.12.4/init-info.patch)8
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/linker-flags.patch (renamed from meta/recipes-devtools/qemu/qemu-0.12.4/linker-flags.patch)16
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/no-strip.patch (renamed from meta/recipes-devtools/qemu/qemu-0.12.4/no-strip.patch)18
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/parallel_make.patch34
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/port92_fix.patch196
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/powerpc_rom.bin (renamed from meta/recipes-devtools/qemu/qemu-0.12.4/powerpc_rom.bin)bin4096 -> 4096 bytes
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/qemu-git-qemugl-host.patch (renamed from meta/recipes-devtools/qemu/qemu-0.12.4/qemu-git-qemugl-host.patch)518
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/qemu-ppc-hack.patch108
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/qemu-vmware-vga-depth.patch (renamed from meta/recipes-devtools/qemu/qemu-0.12.4/qemu-vmware-vga-depth.patch)52
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/qemugl-allow-glxcontext-release.patch (renamed from meta/recipes-devtools/qemu/qemu-0.12.4/qemugl-allow-glxcontext-release.patch)0
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/vmware-vga-fifo-rewind.patch (renamed from meta/recipes-devtools/qemu/qemu-0.12.4/vmware-vga-fifo-rewind.patch)24
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/wacom-tablet-fix.patch65
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.13.0/workaround_bad_futex_headers.patch (renamed from meta/recipes-devtools/qemu/qemu-0.12.4/workaround_bad_futex_headers.patch)8
-rw-r--r--meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb6
-rw-r--r--meta/recipes-devtools/qemu/qemu-helper-nativesdk_1.0.bb10
-rw-r--r--meta/recipes-devtools/qemu/qemu_0.13.0.bb (renamed from meta/recipes-devtools/qemu/qemu_0.12.4.bb)15
-rw-r--r--meta/recipes-devtools/rpm/rpm/header-include-fix.patch24
-rw-r--r--meta/recipes-devtools/rpm/rpm/rpm-autogen.patch54
-rw-r--r--meta/recipes-devtools/rpm/rpm/rpm-libsql-fix.patch18
-rwxr-xr-xmeta/recipes-devtools/rpm/rpm/rpm2cpio51
-rw-r--r--meta/recipes-devtools/rpm/rpm_5.1.10.bb168
-rw-r--r--meta/recipes-devtools/rpm/rpm_5.4.0.bb417
-rw-r--r--meta/recipes-devtools/sgml-common/sgml-common-0.6.3/autohell.patch58
-rw-r--r--meta/recipes-devtools/sgml-common/sgml-common-0.6.3/license.patch26
-rw-r--r--meta/recipes-devtools/sgml-common/sgml-common-native_0.6.3.bb50
-rw-r--r--meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb52
-rw-r--r--meta/recipes-devtools/sgmlspl/files/combined.patch457
-rw-r--r--meta/recipes-devtools/sgmlspl/sgmlspl-native_1.03ii.bb17
-rw-r--r--meta/recipes-devtools/subversion/subversion/disable-revision-install.patch24
-rw-r--r--meta/recipes-devtools/subversion/subversion_1.6.15.bb (renamed from meta/recipes-devtools/subversion/subversion_1.6.13.bb)6
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb2
-rw-r--r--meta/recipes-devtools/ubootchart/ubootchart_svn.bb6
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/001-2.2b47-2.2b51.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/001-2.2b47-2.2b51.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/002-destdir.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/002-destdir.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/003-manpages.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/003-manpages.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/004-strsignal.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/004-strsignal.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/005-sys-time.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/005-sys-time.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/006-reiserfs.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/006-reiserfs.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/007-map.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/007-map.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/008-configure.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/008-configure.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/009-multirw.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/009-multirw.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/010-realpath.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/010-realpath.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/011-fno-strict-aliasing.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/011-fno-strict-aliasing.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/012-nostrip.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/012-nostrip.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/013-mntpathlen.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/013-mntpathlen.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/014-uninitialized.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/014-uninitialized.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/015-setattr.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/015-setattr.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/016-makefile.in.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/016-makefile.in.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/017-wrs-dynamic-rpc.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/017-wrs-dynamic-rpc.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/018-remove-tcp-wrappers.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/018-remove-tcp-wrappers.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/019-pid-before-fork.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/019-pid-before-fork.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/020-undefined-chmod-fix.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/020-undefined-chmod-fix.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/021-nolibwrap.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/021-nolibwrap.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/022-add-close-on-exec-descriptors.patch (renamed from meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/022-add-close-on-exec-descriptors.patch)0
-rw-r--r--meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb (renamed from meta/recipes-devtools/unfs-server/unfs-server_2.2beta47.bb)13
-rw-r--r--meta/recipes-devtools/unifdef/unifdef-native_2.6.18+git.bb2
-rw-r--r--meta/recipes-extended/at/at_3.1.12.bb29
-rw-r--r--meta/recipes-extended/augeas/augeas_0.7.3.bb6
-rw-r--r--meta/recipes-extended/augeas/augeas_0.7.4.bb6
-rw-r--r--meta/recipes-extended/bash/bash.inc5
-rw-r--r--meta/recipes-extended/bash/bash_3.2.48.bb2
-rw-r--r--meta/recipes-extended/bash/bash_4.1.bb2
-rw-r--r--meta/recipes-extended/blktool/blktool_4-6.bb9
-rw-r--r--meta/recipes-extended/byacc/byacc_20100610.bb7
-rw-r--r--meta/recipes-extended/byacc/byacc_20101127.bb7
-rw-r--r--meta/recipes-extended/cronie/cronie/crontab10
-rw-r--r--meta/recipes-extended/cronie/cronie_1.4.6.bb33
-rw-r--r--meta/recipes-extended/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch68
-rw-r--r--meta/recipes-extended/cups/cups-1.4.6/use_echo_only_in_init.patch11
-rw-r--r--meta/recipes-extended/cups/cups14.inc85
-rw-r--r--meta/recipes-extended/cups/cups_1.4.6.bb17
-rw-r--r--meta/recipes-extended/images/poky-image-lsb-dev.bb9
-rw-r--r--meta/recipes-extended/iputils/files/debian/CVE-2010-2529.diff22
-rw-r--r--meta/recipes-extended/iputils/iputils_s20101006.bb (renamed from meta/recipes-extended/iputils/iputils_s20100418.bb)5
-rw-r--r--meta/recipes-extended/libuser/libuser-0.57.1/disable-sgml-doc.patch (renamed from meta/recipes-extended/libuser/libuser-0.56.18/disable-sgml-doc.patch)0
-rw-r--r--meta/recipes-extended/libuser/libuser_0.57.1.bb (renamed from meta/recipes-extended/libuser/libuser_0.56.18.bb)4
-rw-r--r--meta/recipes-extended/libzypp/libzypp/rpm5-no-rpmdbinit.patch25
-rw-r--r--meta/recipes-extended/libzypp/libzypp_git.bb8
-rw-r--r--meta/recipes-extended/mailx/mailx_12.4.bb28
-rw-r--r--meta/recipes-extended/man-pages/man-pages_3.32.bb (renamed from meta/recipes-extended/man-pages/man-pages_3.25.bb)10
-rw-r--r--meta/recipes-extended/man/man-1.6e/man-1.6e-lzma+xz-support.patch142
-rw-r--r--meta/recipes-extended/man/man-1.6e/man-1.6e-ro_usr.patch67
-rw-r--r--meta/recipes-extended/man/man-1.6e/man-1.6e-whatis2.patch37
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5g-nonrootbuild.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5g-nonrootbuild.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5h1-gencat.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5h1-gencat.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5h1-make.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5h1-make.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5i2-initial.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5i2-initial.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5i2-newline.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5i2-newline.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5i2-overflow.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5i2-overflow.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5j-i18n.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5j-i18n.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5j-nocache.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5j-nocache.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5j-utf8.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5j-utf8.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5k-confpath.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5k-confpath.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5k-nonascii.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5k-nonascii.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5k-sofix.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5k-sofix.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5m2-bug11621.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5m2-bug11621.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5m2-buildroot.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5m2-buildroot.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5m2-multiple.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5m2-multiple.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5m2-no-color-for-printing.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5m2-no-color-for-printing.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5m2-sigpipe.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5m2-sigpipe.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.5m2-tv_fhs.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.5m2-tv_fhs.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.6e-i18n_whatis.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.6e-i18n_whatis.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.6e-lzma+xz-support.patch120
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.6e-mandirs.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.6e-mandirs.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.6e-new_sections.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.6e-new_sections.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.6e-ro_usr.patch29
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.6e-security.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.6e-security.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.6e-use_i18n_vars_in_a_std_way.patch (renamed from meta/recipes-extended/man/man-1.6e/man-1.6e-use_i18n_vars_in_a_std_way.patch)0
-rw-r--r--meta/recipes-extended/man/man-1.6f/man-1.6e-whatis2.patch48
-rw-r--r--meta/recipes-extended/man/man-1.6f/man.1.gz (renamed from meta/recipes-extended/man/man-1.6e/man.1.gz)bin12323 -> 12323 bytes
-rw-r--r--meta/recipes-extended/man/man-1.6f/man.7.gz (renamed from meta/recipes-extended/man/man-1.6e/man.7.gz)bin6192 -> 6192 bytes
-rw-r--r--meta/recipes-extended/man/man-1.6f/manpath.5.gz (renamed from meta/recipes-extended/man/man-1.6e/manpath.5.gz)bin2133 -> 2133 bytes
-rw-r--r--meta/recipes-extended/man/man_1.6f.bb (renamed from meta/recipes-extended/man/man_1.6e.bb)6
-rw-r--r--meta/recipes-extended/mc/mc_4.7.5.bb (renamed from meta/recipes-extended/mc/mc_4.7.3.bb)10
-rw-r--r--meta/recipes-extended/msmtp/msmtp_1.4.23.bb21
-rw-r--r--meta/recipes-extended/parted/parted-2.3/no_check.patch (renamed from meta/recipes-extended/parted/parted-1.9.0/no_check.patch)0
-rw-r--r--meta/recipes-extended/parted/parted-2.3/syscalls.patch (renamed from meta/recipes-extended/parted/parted-1.9.0/syscalls.patch)0
-rw-r--r--meta/recipes-extended/parted/parted_2.3.bb (renamed from meta/recipes-extended/parted/parted_1.9.0.bb)12
-rw-r--r--meta/recipes-extended/perl/libconvert-asn1-perl_0.22.bb (renamed from meta/recipes-extended/perl/libconvert-asn1-perl_0.21.bb)6
-rw-r--r--meta/recipes-extended/polkit/polkit_0.99.bb4
-rw-r--r--meta/recipes-extended/sat-solver/sat-solver/cmake.patch43
-rw-r--r--meta/recipes-extended/sat-solver/sat-solver/db5.patch24
-rw-r--r--meta/recipes-extended/sat-solver/sat-solver/rpm5.patch9
-rw-r--r--meta/recipes-extended/sat-solver/sat-solver_git.bb7
-rw-r--r--meta/recipes-extended/shadow/shadow.inc2
-rw-r--r--meta/recipes-extended/shadow/shadow_4.1.4.2.bb2
-rw-r--r--meta/recipes-extended/sudo/sudo_1.7.4p6.bb (renamed from meta/recipes-extended/sudo/sudo_1.7.4p4.bb)4
-rw-r--r--meta/recipes-extended/tzcode/tzcode-native_2009r.bb2
-rw-r--r--meta/recipes-extended/zypper/zypper/dso_linking_change_build_fix.patch58
-rw-r--r--meta/recipes-extended/zypper/zypper/rpm5-flag.patch16
-rw-r--r--meta/recipes-extended/zypper/zypper_git.bb8
-rw-r--r--meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.22.1/configure_fix.patch19
-rw-r--r--meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.22.1/hardcoded_libtool.patch (renamed from meta/recipes-gnome/gtk+/gtk+-2.20.1/hardcoded_libtool.patch)20
-rw-r--r--meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.22.1.bb70
-rw-r--r--meta/recipes-gnome/gnome/gconf-dbus_svn.bb2
-rw-r--r--meta/recipes-gnome/gnome/gnome-common_2.28.0.bb2
-rw-r--r--meta/recipes-gnome/gnome/gnome-doc-utils.inc9
-rw-r--r--meta/recipes-gnome/gnome/gnome-doc-utils_0.20.2.bb7
-rw-r--r--meta/recipes-gnome/gnome/gnome-doc-utils_0.20.4.bb7
-rw-r--r--meta/recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb6
-rw-r--r--meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb4
-rw-r--r--meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb4
-rw-r--r--meta/recipes-gnome/gnome/gobject-introspection_git.bb4
-rw-r--r--meta/recipes-gnome/gnome/libgdata_0.7.1.bb (renamed from meta/recipes-gnome/gnome/libgdata_0.6.5.bb)6
-rw-r--r--meta/recipes-gnome/gnome/metacity/crosscompile.patch60
-rw-r--r--meta/recipes-gnome/gnome/metacity_2.22.0.bb23
-rw-r--r--meta/recipes-gnome/gnome/metacity_2.30.3.bb29
-rw-r--r--meta/recipes-gnome/gthumb/gthumb_2.12.1.bb (renamed from meta/recipes-gnome/gthumb/gthumb_2.12.0.bb)6
-rw-r--r--meta/recipes-gnome/gtk+/gdk-pixbuf-csource-native_2.12.7.bb37
-rw-r--r--meta/recipes-gnome/gtk+/gdk-pixbuf-csource/reduce-dependencies.patch221
-rw-r--r--meta/recipes-gnome/gtk+/gtk+-2.20.1/disable-gio-png-sniff-test.diff97
-rw-r--r--meta/recipes-gnome/gtk+/gtk+-2.20.1/no-demos.patch10
-rw-r--r--meta/recipes-gnome/gtk+/gtk+-2.22.1/0001-bgo-584832-Duplicate-the-exec-string-returned-by-gtk.patch (renamed from meta/recipes-gnome/gtk+/gtk+-2.20.1/0001-bgo-584832-Duplicate-the-exec-string-returned-by-gtk.patch)0
-rw-r--r--meta/recipes-gnome/gtk+/gtk+-2.22.1/cellrenderer-cairo.patch (renamed from meta/recipes-gnome/gtk+/gtk+-2.20.1/cellrenderer-cairo.patch)0
-rw-r--r--meta/recipes-gnome/gtk+/gtk+-2.22.1/configurefix.patch (renamed from meta/recipes-gnome/gtk+/gtk+-2.20.1/configurefix.patch)0
-rw-r--r--meta/recipes-gnome/gtk+/gtk+-2.22.1/entry-cairo.patch (renamed from meta/recipes-gnome/gtk+/gtk+-2.20.1/entry-cairo.patch)0
-rw-r--r--meta/recipes-gnome/gtk+/gtk+-2.22.1/hardcoded_libtool.patch31
-rw-r--r--meta/recipes-gnome/gtk+/gtk+-2.22.1/no-demos.patch13
-rw-r--r--meta/recipes-gnome/gtk+/gtk+-2.22.1/run-iconcache.patch (renamed from meta/recipes-gnome/gtk+/gtk+-2.20.1/run-iconcache.patch)0
-rw-r--r--meta/recipes-gnome/gtk+/gtk+-2.22.1/toggle-font.diff (renamed from meta/recipes-gnome/gtk+/gtk+-2.20.1/toggle-font.diff)0
-rw-r--r--meta/recipes-gnome/gtk+/gtk+-2.22.1/xsettings.patch (renamed from meta/recipes-gnome/gtk+/gtk+-2.20.1/xsettings.patch)0
-rw-r--r--meta/recipes-gnome/gtk+/gtk+.inc23
-rw-r--r--meta/recipes-gnome/gtk+/gtk+_2.12.7.bb2
-rw-r--r--meta/recipes-gnome/gtk+/gtk+_2.16.6.bb2
-rw-r--r--meta/recipes-gnome/gtk+/gtk+_2.22.1.bb (renamed from meta/recipes-gnome/gtk+/gtk+_2.20.1.bb)18
-rw-r--r--meta/recipes-gnome/gtk-theme-darkilouche/gtk-theme-darkilouche.bb23
-rw-r--r--meta/recipes-gnome/gtk-theme-darkilouche/gtk-theme-darkilouche/change-colours.diff13
-rw-r--r--meta/recipes-gnome/gtkhtml2/gtkhtml2_svn.bb2
-rw-r--r--meta/recipes-gnome/librsvg/librsvg-2.32.1/doc_Makefile.patch (renamed from meta/recipes-gnome/librsvg/librsvg-2.32.0/doc_Makefile.patch)0
-rw-r--r--meta/recipes-gnome/librsvg/librsvg_2.32.1.bb (renamed from meta/recipes-gnome/librsvg/librsvg_2.32.0.bb)9
-rw-r--r--meta/recipes-gnome/libunique/libunique_1.1.6.bb7
-rw-r--r--meta/recipes-gnome/tasks/task-poky-sdk-gmae.bb4
-rw-r--r--meta/recipes-gnome/tasks/task-poky-standalone-gmae-sdk-target.bb4
-rw-r--r--meta/recipes-graphics/cairo/cairo.inc12
-rw-r--r--meta/recipes-graphics/cairo/cairo_1.10.0.bb39
-rw-r--r--meta/recipes-graphics/cairo/cairo_1.10.2.bb53
-rw-r--r--meta/recipes-graphics/clutter/clutter-1.0_git.bb21
-rw-r--r--meta/recipes-graphics/clutter/clutter-1.4_1.4.2.bb25
-rw-r--r--meta/recipes-graphics/clutter/clutter-box2d.inc2
-rw-r--r--meta/recipes-graphics/clutter/clutter-box2d_git.bb6
-rw-r--r--meta/recipes-graphics/clutter/clutter-gst-1.4_git.bb (renamed from meta/recipes-graphics/clutter/clutter-gst-1.0_git.bb)7
-rw-r--r--meta/recipes-graphics/clutter/clutter-gst.inc4
-rw-r--r--meta/recipes-graphics/clutter/clutter-gst/enable_tests.patch15
-rw-r--r--meta/recipes-graphics/clutter/clutter-gtk-1.0_git.bb15
-rw-r--r--meta/recipes-graphics/clutter/clutter-gtk-1.4_git.bb17
-rw-r--r--meta/recipes-graphics/clutter/clutter-gtk.inc2
-rw-r--r--meta/recipes-graphics/clutter/clutter-gtk/disable_deprecated.patch9
-rw-r--r--meta/recipes-graphics/clutter/clutter-gtk/enable_tests.patch17
-rw-r--r--meta/recipes-graphics/clutter/clutter.inc2
-rw-r--r--meta/recipes-graphics/clutter/clutter/enable_tests-1.4.patch13
-rw-r--r--meta/recipes-graphics/clutter/clutter/test-conformance-fix.patch66
-rw-r--r--meta/recipes-graphics/clutter/table.inc2
-rw-r--r--meta/recipes-graphics/clutter/tidy.inc2
-rw-r--r--meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch24
-rw-r--r--meta/recipes-graphics/directfb/directfb.inc69
-rw-r--r--meta/recipes-graphics/directfb/directfb_1.4.6.bb27
-rw-r--r--meta/recipes-graphics/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch47
-rw-r--r--meta/recipes-graphics/directfb/files/dont-use-linux-config.patch12
-rw-r--r--meta/recipes-graphics/drm/libdrm-2.4.23/installtests.patch (renamed from meta/recipes-graphics/drm/libdrm-2.4.22/installtests.patch)0
-rw-r--r--meta/recipes-graphics/drm/libdrm.inc7
-rw-r--r--meta/recipes-graphics/drm/libdrm_2.4.23.bb (renamed from meta/recipes-graphics/drm/libdrm_2.4.22.bb)4
-rw-r--r--meta/recipes-graphics/drm/libdrm_git.bb2
-rw-r--r--meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb12
-rw-r--r--meta/recipes-graphics/freetype/freetype-2.4.4/no-hardcode.patch (renamed from meta/recipes-graphics/freetype/freetype-2.4.3/no-hardcode.patch)0
-rw-r--r--meta/recipes-graphics/freetype/freetype_2.4.4.bb (renamed from meta/recipes-graphics/freetype/freetype_2.4.3.bb)4
-rw-r--r--meta/recipes-graphics/fstests/files/dso_linking_change_build_fix.patch72
-rw-r--r--meta/recipes-graphics/fstests/fstests_svn.bb7
-rw-r--r--meta/recipes-graphics/libfakekey/libfakekey_git.bb (renamed from meta/recipes-graphics/libfakekey/libfakekey_svn.bb)8
-rw-r--r--meta/recipes-graphics/libmatchbox/libmatchbox_git.bb (renamed from meta/recipes-graphics/libmatchbox/libmatchbox_svn.bb)8
-rw-r--r--meta/recipes-graphics/libsdl/libsdl-nativesdk_1.2.11.bb8
-rw-r--r--meta/recipes-graphics/matchbox-wm-2/matchbox-wm-2_svn.bb2
-rw-r--r--meta/recipes-graphics/matchbox-wm/matchbox-wm_0.9.5.bb32
-rw-r--r--meta/recipes-graphics/matchbox-wm/matchbox-wm_1.1.bb37
-rw-r--r--meta/recipes-graphics/matchbox-wm/matchbox-wm_git.bb (renamed from meta/recipes-graphics/matchbox-wm/matchbox-wm_svn.bb)8
-rw-r--r--meta/recipes-graphics/mesa/mesa-common.inc13
-rw-r--r--meta/recipes-graphics/mesa/mesa-demos/dso_linking_change_build_fix.patch23
-rw-r--r--meta/recipes-graphics/mesa/mesa-demos_8.0.1.bb9
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.8.2.bb27
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.9.bb25
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri_7.10.bb (renamed from meta/recipes-graphics/mesa/mesa-dri_7.9.bb)10
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri_7.8.2.bb59
-rw-r--r--meta/recipes-graphics/mutter/mutter.inc5
-rw-r--r--meta/recipes-graphics/mutter/mutter_git.bb4
-rw-r--r--meta/recipes-graphics/pango/pango.inc8
-rw-r--r--meta/recipes-graphics/tasks/task-poky-clutter.bb16
-rw-r--r--meta/recipes-graphics/tslib/tslib_1.0.bb6
-rw-r--r--meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb4
-rw-r--r--meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb5
-rw-r--r--meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb7
-rw-r--r--meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession2
-rw-r--r--meta/recipes-graphics/x11-common/x11-common_0.1.bb4
-rw-r--r--meta/recipes-graphics/xcb/libxcb.inc5
-rw-r--r--meta/recipes-graphics/xcb/libxcb_git.bb2
-rw-r--r--meta/recipes-graphics/xcb/xcb-proto.inc6
-rw-r--r--meta/recipes-graphics/xcb/xcb-proto_git.bb2
-rw-r--r--meta/recipes-graphics/xcb/xcb-util.inc9
-rw-r--r--meta/recipes-graphics/xorg-app/mkfontdir_1.0.5.bb14
-rw-r--r--meta/recipes-graphics/xorg-app/mkfontdir_1.0.6.bb21
-rw-r--r--meta/recipes-graphics/xorg-app/mkfontscale_1.0.7.bb12
-rw-r--r--meta/recipes-graphics/xorg-app/mkfontscale_1.0.8.bb18
-rw-r--r--meta/recipes-graphics/xorg-app/x11perf_1.5.2.bb7
-rw-r--r--meta/recipes-graphics/xorg-app/xauth_1.0.5.bb2
-rw-r--r--meta/recipes-graphics/xorg-app/xdpyinfo_1.1.0.bb14
-rw-r--r--meta/recipes-graphics/xorg-app/xdpyinfo_1.2.0.bb21
-rw-r--r--meta/recipes-graphics/xorg-app/xhost_1.0.3.bb10
-rw-r--r--meta/recipes-graphics/xorg-app/xhost_1.0.4.bb18
-rw-r--r--meta/recipes-graphics/xorg-app/xinit_1.2.1.bb11
-rw-r--r--meta/recipes-graphics/xorg-app/xinit_1.3.0.bb18
-rw-r--r--meta/recipes-graphics/xorg-app/xkbcomp/cross-compile-fix.patch35
-rw-r--r--meta/recipes-graphics/xorg-app/xkbcomp_1.1.1.bb14
-rw-r--r--meta/recipes-graphics/xorg-app/xkbcomp_1.2.0.bb19
-rw-r--r--meta/recipes-graphics/xorg-app/xmodmap_1.0.5.bb9
-rw-r--r--meta/recipes-graphics/xorg-app/xprop_1.1.0.bb13
-rw-r--r--meta/recipes-graphics/xorg-app/xprop_1.2.0.bb19
-rw-r--r--meta/recipes-graphics/xorg-app/xrandr_1.3.4.bb7
-rw-r--r--meta/recipes-graphics/xorg-app/xset_1.2.1.bb6
-rw-r--r--meta/recipes-graphics/xorg-app/xvinfo_1.0.2.bb9
-rw-r--r--meta/recipes-graphics/xorg-app/xvinfo_1.1.1.bb14
-rw-r--r--meta/recipes-graphics/xorg-app/xwininfo_1.1.0.bb11
-rw-r--r--meta/recipes-graphics/xorg-app/xwininfo_1.1.1.bb16
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.5.0.bb10
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.6.0.bb20
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-input-keyboard_1.4.0.bb10
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-input-keyboard_1.5.0.bb15
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-input-keyboard_git.bb7
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-input-mouse_1.6.0.bb8
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-input-mouse_git.bb8
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-input-synaptics_1.2.1.bb10
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-input-synaptics_1.3.0.bb22
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-input-synaptics_git.bb8
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-input-vmmouse_12.6.10.bb2
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-intel_2.13.0.bb15
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-intel_2.14.0.bb20
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb8
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-blacklist-tv-out.patch25
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-force-plain-mode.patch23
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-CRTC-limit.patch32
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-virtual-size.patch23
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb10
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-vesa_2.3.0.bb8
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-vmware_11.0.3.bb4
-rw-r--r--meta/recipes-graphics/xorg-font/encodings_1.0.4.bb6
-rw-r--r--meta/recipes-graphics/xorg-font/font-alias_1.0.3.bb6
-rw-r--r--meta/recipes-graphics/xorg-font/font-util_1.2.0.bb6
-rw-r--r--meta/recipes-graphics/xorg-font/xorg-font-common.inc4
-rw-r--r--meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb3
-rw-r--r--meta/recipes-graphics/xorg-lib/libdmx_1.1.0.bb14
-rw-r--r--meta/recipes-graphics/xorg-lib/libdmx_1.1.1.bb21
-rw-r--r--meta/recipes-graphics/xorg-lib/libfontenc_1.1.0.bb5
-rw-r--r--meta/recipes-graphics/xorg-lib/libice_1.0.7.bb8
-rw-r--r--meta/recipes-graphics/xorg-lib/libpciaccess_0.12.0.bb5
-rw-r--r--meta/recipes-graphics/xorg-lib/libsm_1.2.0.bb10
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11-diet_1.3.bb3
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11-diet_git.bb3
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11-trim_1.3.4.bb2
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11-trim_git.bb2
-rw-r--r--meta/recipes-graphics/xorg-lib/libx11.inc6
-rw-r--r--meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb6
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcalibrate_git.bb5
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcomposite_0.4.3.bb11
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcursor_1.1.11.bb8
-rw-r--r--meta/recipes-graphics/xorg-lib/libxdamage_1.1.3.bb13
-rw-r--r--meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb8
-rw-r--r--meta/recipes-graphics/xorg-lib/libxext_1.2.0.bb10
-rw-r--r--meta/recipes-graphics/xorg-lib/libxext_git.bb11
-rw-r--r--meta/recipes-graphics/xorg-lib/libxfixes_4.0.5.bb7
-rw-r--r--meta/recipes-graphics/xorg-lib/libxfont_1.4.3.bb6
-rw-r--r--meta/recipes-graphics/xorg-lib/libxfontcache_1.0.5.bb6
-rw-r--r--meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb15
-rw-r--r--meta/recipes-graphics/xorg-lib/libxi_1.4.0.bb7
-rw-r--r--meta/recipes-graphics/xorg-lib/libxi_git.bb8
-rw-r--r--meta/recipes-graphics/xorg-lib/libxinerama_1.1.1.bb6
-rw-r--r--meta/recipes-graphics/xorg-lib/libxkbfile_1.0.7.bb5
-rw-r--r--meta/recipes-graphics/xorg-lib/libxmu_1.1.0.bb10
-rw-r--r--meta/recipes-graphics/xorg-lib/libxp_1.0.0.bb18
-rw-r--r--meta/recipes-graphics/xorg-lib/libxp_1.0.1.bb21
-rw-r--r--meta/recipes-graphics/xorg-lib/libxpm_3.5.9.bb8
-rw-r--r--meta/recipes-graphics/xorg-lib/libxprintapputil_1.0.1.bb7
-rw-r--r--meta/recipes-graphics/xorg-lib/libxprintutil_1.0.1.bb7
-rw-r--r--meta/recipes-graphics/xorg-lib/libxrandr_1.3.1.bb8
-rw-r--r--meta/recipes-graphics/xorg-lib/libxrender_0.9.6.bb8
-rw-r--r--meta/recipes-graphics/xorg-lib/libxres_1.0.5.bb7
-rw-r--r--meta/recipes-graphics/xorg-lib/libxscrnsaver_1.2.1.bb10
-rw-r--r--meta/recipes-graphics/xorg-lib/libxt_1.0.9.bb12
-rw-r--r--meta/recipes-graphics/xorg-lib/libxtrap_1.0.0.bb6
-rw-r--r--meta/recipes-graphics/xorg-lib/libxtst_1.2.0.bb6
-rw-r--r--meta/recipes-graphics/xorg-lib/libxv_1.0.6.bb7
-rw-r--r--meta/recipes-graphics/xorg-lib/libxvmc_1.0.6.bb5
-rw-r--r--meta/recipes-graphics/xorg-lib/libxxf86dga_1.1.2.bb8
-rw-r--r--meta/recipes-graphics/xorg-lib/libxxf86misc_1.0.2.bb17
-rw-r--r--meta/recipes-graphics/xorg-lib/libxxf86misc_1.0.3.bb21
-rw-r--r--meta/recipes-graphics/xorg-lib/libxxf86vm_1.1.1.bb7
-rw-r--r--meta/recipes-graphics/xorg-lib/pixman_0.20.2.bb (renamed from meta/recipes-graphics/xorg-lib/pixman_0.20.0.bb)15
-rw-r--r--meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb (renamed from meta/recipes-graphics/xorg-lib/xkeyboard-config_2.0.bb)13
-rw-r--r--meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb10
-rw-r--r--meta/recipes-graphics/xorg-proto/bigreqsproto_1.1.0.bb15
-rw-r--r--meta/recipes-graphics/xorg-proto/bigreqsproto_1.1.1.bb19
-rw-r--r--meta/recipes-graphics/xorg-proto/calibrateproto_git.bb5
-rw-r--r--meta/recipes-graphics/xorg-proto/compositeproto_0.4.2.bb20
-rw-r--r--meta/recipes-graphics/xorg-proto/compositeproto_0.4.bb11
-rw-r--r--meta/recipes-graphics/xorg-proto/damageproto_1.2.1.bb7
-rw-r--r--meta/recipes-graphics/xorg-proto/dmxproto_2.3.1.bb19
-rw-r--r--meta/recipes-graphics/xorg-proto/dmxproto_2.3.bb11
-rw-r--r--meta/recipes-graphics/xorg-proto/dri2proto_2.3.bb8
-rw-r--r--meta/recipes-graphics/xorg-proto/dri2proto_git.bb8
-rw-r--r--meta/recipes-graphics/xorg-proto/evieext_1.1.0.bb6
-rw-r--r--meta/recipes-graphics/xorg-proto/fixesproto_4.1.2.bb8
-rw-r--r--meta/recipes-graphics/xorg-proto/fontcacheproto_0.1.3.bb6
-rw-r--r--meta/recipes-graphics/xorg-proto/fontsproto_2.1.1.bb6
-rw-r--r--meta/recipes-graphics/xorg-proto/glproto_1.4.12.bb6
-rw-r--r--meta/recipes-graphics/xorg-proto/inputproto_2.0.1.bb22
-rw-r--r--meta/recipes-graphics/xorg-proto/inputproto_2.0.bb15
-rw-r--r--meta/recipes-graphics/xorg-proto/inputproto_git.bb6
-rw-r--r--meta/recipes-graphics/xorg-proto/kbproto_1.0.5.bb6
-rw-r--r--meta/recipes-graphics/xorg-proto/printproto_1.0.4.bb12
-rw-r--r--meta/recipes-graphics/xorg-proto/printproto_1.0.5.bb17
-rw-r--r--meta/recipes-graphics/xorg-proto/randrproto_1.3.2.bb6
-rw-r--r--meta/recipes-graphics/xorg-proto/recordproto_1.14.1.bb6
-rw-r--r--meta/recipes-graphics/xorg-proto/renderproto_0.11.1.bb21
-rw-r--r--meta/recipes-graphics/xorg-proto/renderproto_0.11.bb14
-rw-r--r--meta/recipes-graphics/xorg-proto/resourceproto_1.1.0.bb11
-rw-r--r--meta/recipes-graphics/xorg-proto/resourceproto_1.1.1.bb19
-rw-r--r--meta/recipes-graphics/xorg-proto/scrnsaverproto_1.2.0.bb12
-rw-r--r--meta/recipes-graphics/xorg-proto/scrnsaverproto_1.2.1.bb21
-rw-r--r--meta/recipes-graphics/xorg-proto/trapproto_3.4.3.bb6
-rw-r--r--meta/recipes-graphics/xorg-proto/videoproto_2.3.1.bb5
-rw-r--r--meta/recipes-graphics/xorg-proto/xcmiscproto_1.2.1.bb6
-rw-r--r--meta/recipes-graphics/xorg-proto/xextproto_7.1.2.bb9
-rw-r--r--meta/recipes-graphics/xorg-proto/xf86bigfontproto_1.2.0.bb6
-rw-r--r--meta/recipes-graphics/xorg-proto/xf86dgaproto_2.1.bb7
-rw-r--r--meta/recipes-graphics/xorg-proto/xf86driproto_2.1.0.bb11
-rw-r--r--meta/recipes-graphics/xorg-proto/xf86driproto_2.1.1.bb18
-rw-r--r--meta/recipes-graphics/xorg-proto/xf86miscproto_0.9.3.bb7
-rw-r--r--meta/recipes-graphics/xorg-proto/xf86rushproto_1.1.2.bb6
-rw-r--r--meta/recipes-graphics/xorg-proto/xf86vidmodeproto_2.3.1.bb18
-rw-r--r--meta/recipes-graphics/xorg-proto/xf86vidmodeproto_2.3.bb12
-rw-r--r--meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb18
-rw-r--r--meta/recipes-graphics/xorg-proto/xineramaproto_1.2.bb11
-rw-r--r--meta/recipes-graphics/xorg-proto/xproto_7.0.19.bb13
-rw-r--r--meta/recipes-graphics/xorg-proto/xproto_7.0.20.bb19
-rw-r--r--meta/recipes-graphics/xorg-util/gccmakedep_1.0.2.bb10
-rw-r--r--meta/recipes-graphics/xorg-util/imake_1.0.4.bb13
-rw-r--r--meta/recipes-graphics/xorg-util/makedepend_1.0.3.bb10
-rw-r--r--meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb4
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-kdrive.inc8
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.7.99.2.bb2
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc3
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.9.3.bb (renamed from meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.9.2.bb)5
-rw-r--r--meta/recipes-graphics/xrestop/xrestop_0.4.bb3
-rw-r--r--meta/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch25
-rw-r--r--meta/recipes-graphics/xtscal/xtscal_0.6.3.bb8
-rw-r--r--meta/recipes-graphics/xvideo-tests/xvideo-tests_svn.bb2
-rw-r--r--meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch4
-rw-r--r--meta/recipes-kernel/blktrace/blktrace/dso_linking_change_build_fix.patch26
-rw-r--r--meta/recipes-kernel/blktrace/blktrace_git.bb5
-rw-r--r--meta/recipes-kernel/dtc/dtc-native_git.bb3
-rw-r--r--meta/recipes-kernel/dtc/dtc/remove_space_opt.patch16
-rw-r--r--meta/recipes-kernel/dtc/dtc_git.bb1
-rw-r--r--meta/recipes-kernel/dtc/dtc_git.inc2
-rw-r--r--meta/recipes-kernel/kern-tools/kern-tools-native_git.bb6
-rw-r--r--meta/recipes-kernel/linux-firmware/linux-firmware_git.bb2
-rw-r--r--meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb9
-rw-r--r--meta/recipes-kernel/linux/linux-dtb.inc27
-rw-r--r--meta/recipes-kernel/linux/linux-dummy.bb5
-rw-r--r--meta/recipes-kernel/linux/linux-dummy/COPYING.GPL339
-rw-r--r--meta/recipes-kernel/linux/linux-igep_2.6.33.5.bb1
-rw-r--r--meta/recipes-kernel/linux/linux-omap2_git.bb2
-rw-r--r--meta/recipes-kernel/linux/linux-omap3-pm_git.bb2
-rw-r--r--meta/recipes-kernel/linux/linux-omap3_git.bb2
-rw-r--r--meta/recipes-kernel/linux/linux-rp-2.6.23/defconfig-bootcdx861579
-rw-r--r--meta/recipes-kernel/linux/linux-rp-2.6.24/defconfig-bootcdx861994
-rw-r--r--meta/recipes-kernel/linux/linux-rp-2.6.26/defconfig-bootcdx861994
-rw-r--r--meta/recipes-kernel/linux/linux-rp.inc2
-rw-r--r--meta/recipes-kernel/linux/linux-rp_2.6.23.bb1
-rw-r--r--meta/recipes-kernel/linux/linux-rp_2.6.24.bb1
-rw-r--r--meta/recipes-kernel/linux/linux-rp_2.6.26.bb1
-rw-r--r--meta/recipes-kernel/linux/linux-tools.inc4
-rw-r--r--meta/recipes-kernel/linux/linux-yocto-stable_git.bb24
-rw-r--r--meta/recipes-kernel/linux/linux-yocto.inc8
-rw-r--r--meta/recipes-kernel/linux/linux-yocto/tools-perf-no-scripting.patch49
-rw-r--r--meta/recipes-kernel/linux/linux-yocto_git.bb31
-rw-r--r--meta/recipes-kernel/linux/linux.inc27
-rw-r--r--meta/recipes-kernel/linux/linux_2.6.33.2.bb3
-rw-r--r--meta/recipes-kernel/lttng/lttng-ust_0.11.bb (renamed from meta/recipes-kernel/lttng/lttng-ust_0.8.bb)16
-rw-r--r--meta/recipes-kernel/lttng/lttng-viewer_0.12.36.bb (renamed from meta/recipes-kernel/lttng/lttng-viewer_0.12.35.bb)6
-rw-r--r--meta/recipes-kernel/modutils/files/gcc4.patch57
-rw-r--r--meta/recipes-kernel/oprofile/oprofile_0.9.6.bb6
-rw-r--r--meta/recipes-kernel/oprofile/oprofile_cvs.bb6
-rw-r--r--meta/recipes-kernel/oprofile/oprofileui-svn.inc7
-rw-r--r--meta/recipes-kernel/oprofile/oprofileui/dso_linking_change_build_fix.patch25
-rw-r--r--meta/recipes-kernel/systemtap/systemtap_git.bb28
-rw-r--r--meta/recipes-kernel/trace-cmd/kernelshark_git.bb21
-rw-r--r--meta/recipes-kernel/trace-cmd/trace-cmd_git.bb19
-rw-r--r--meta/recipes-kernel/update-modules/update-modules_1.0.bb6
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-openmax_0.10.1.bb4
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.31/gst-plugins-base-tremor.patch (renamed from meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.30/gst-plugins-base-tremor.patch)0
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.31.bb (renamed from meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.30.bb)8
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.26.bb (renamed from meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.25.bb)4
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-plugins.inc2
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/make-382.patch32
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer-0.10.31/check_fix.patch (renamed from meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/check_fix.patch)0
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer-0.10.31/gst-inspect-check-error.patch (renamed from meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/gst-inspect-check-error.patch)0
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer-0.10.31/gstregistrybinary.c (renamed from meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/gstregistrybinary.c)0
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer-0.10.31/gstregistrybinary.h (renamed from meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/gstregistrybinary.h)0
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer_0.10.31.bb (renamed from meta/recipes-multimedia/gstreamer/gstreamer_0.10.30.bb)9
-rw-r--r--meta/recipes-multimedia/libogg/libogg_1.2.2.bb (renamed from meta/recipes-multimedia/libogg/libogg_1.2.1.bb)4
-rw-r--r--meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb4
-rw-r--r--meta/recipes-multimedia/pulseaudio/libcanberra/autoconf_version.patch38
-rw-r--r--meta/recipes-multimedia/pulseaudio/libcanberra/nofallbackfix.patch16
-rw-r--r--meta/recipes-multimedia/pulseaudio/libcanberra_0.26.bb (renamed from meta/recipes-multimedia/pulseaudio/libcanberra_0.10.bb)12
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/armv4+v5asm.patch (renamed from meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/armv4+v5asm.patch)0
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/autoconf_version.patch (renamed from meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/autoconf_version.patch)0
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/buildfix.patch (renamed from meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/buildfix.patch)0
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/configure_silent_rules.patch (renamed from meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/configure_silent_rules.patch)0
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/gcc4-compile-fix.patch (renamed from meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch)0
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/tls_m4.patch (renamed from meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/tls_m4.patch)0
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/volatiles.04_pulse (renamed from meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/volatiles.04_pulse)0
-rw-r--r--meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.22.bb (renamed from meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.21.bb)4
-rw-r--r--meta/recipes-multimedia/tremor/tremor_20101121.bb (renamed from meta/recipes-multimedia/tremor/tremor_20101027.bb)2
-rw-r--r--meta/recipes-qt/meta/meta-toolchain-qte.bb26
-rw-r--r--meta/recipes-qt/qt-apps/fotowall_0.9.bb4
-rw-r--r--meta/recipes-qt/qt-apps/qmmp_0.4.1.bb35
-rw-r--r--meta/recipes-qt/qt-apps/qmmp_0.4.3.bb46
-rw-r--r--meta/recipes-qt/qt-apps/quicky_0.4.bb3
-rw-r--r--meta/recipes-qt/qt4/files/compile.test-lflags.patch13
-rw-r--r--meta/recipes-qt/qt4/files/configure-lflags.patch13
-rw-r--r--meta/recipes-qt/qt4/files/configure-paths.patch21
-rw-r--r--meta/recipes-qt/qt4/files/qmake-exists-check.patch18
-rw-r--r--meta/recipes-qt/qt4/files/qte.sh7
-rw-r--r--meta/recipes-qt/qt4/files/qthelp-lib-qtclucene.patch86
-rw-r--r--meta/recipes-qt/qt4/qt-4.6.3.inc18
-rw-r--r--meta/recipes-qt/qt4/qt-4.7.1.inc58
-rw-r--r--meta/recipes-qt/qt4/qt-4.7.1/0001-Added-Openembedded-crossarch-option.patch44
-rw-r--r--meta/recipes-qt/qt4/qt-4.7.1/g++.conf60
-rw-r--r--meta/recipes-qt/qt4/qt-4.7.1/hack-out-pg2-4.7.0.patch19
-rw-r--r--meta/recipes-qt/qt4/qt-4.7.1/linux.conf66
-rw-r--r--meta/recipes-qt/qt4/qt4-embedded.inc34
-rw-r--r--meta/recipes-qt/qt4/qt4-embedded_4.6.3.bb9
-rw-r--r--meta/recipes-qt/qt4/qt4-embedded_4.7.1.bb10
-rw-r--r--meta/recipes-qt/qt4/qt4-tools-native.inc16
-rw-r--r--meta/recipes-qt/qt4/qt4-tools-native_4.6.3.bb12
-rw-r--r--meta/recipes-qt/qt4/qt4-tools-native_4.7.1.bb13
-rw-r--r--meta/recipes-qt/qt4/qt4-tools-nativesdk.inc111
-rw-r--r--meta/recipes-qt/qt4/qt4-tools-nativesdk_4.6.3.bb6
-rw-r--r--meta/recipes-qt/qt4/qt4-tools-nativesdk_4.7.1.bb6
-rw-r--r--meta/recipes-qt/qt4/qt4-x11-free.inc9
-rw-r--r--meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb7
-rw-r--r--meta/recipes-qt/qt4/qt4-x11-free_4.7.1.bb12
-rw-r--r--meta/recipes-qt/qt4/qt4.inc84
-rw-r--r--meta/recipes-qt/qt4/qt4_arch.inc25
-rw-r--r--meta/recipes-qt/tasks/task-poky-qt.bb6
-rw-r--r--meta/recipes-qt/tasks/task-qte-toolchain-host.bb7
-rw-r--r--meta/recipes-qt/tasks/task-qte-toolchain-target.bb35
-rw-r--r--meta/recipes-sato/eds/eds-dbus/old-gdk-api.patch17
-rw-r--r--meta/recipes-sato/eds/eds-dbus_git.bb1
-rw-r--r--meta/recipes-sato/eds/eds-tools_bzr.bb4
-rw-r--r--meta/recipes-sato/gaku/gaku_svn.bb8
-rw-r--r--meta/recipes-sato/gtk-engines/gtk-sato-engine_svn.bb2
-rw-r--r--meta/recipes-sato/images/poky-image-sato-dev.bb9
-rw-r--r--meta/recipes-sato/images/poky-image-sato-sdk-directdisk.bb9
-rw-r--r--meta/recipes-sato/images/poky-image-sato-sdk-live.bb11
-rw-r--r--meta/recipes-sato/images/poky-image-sato-sdk.bb (renamed from meta/recipes-sato/images/poky-image-sdk.bb)0
-rw-r--r--meta/recipes-sato/images/poky-image-sdk-directdisk.bb9
-rw-r--r--meta/recipes-sato/images/poky-image-sdk-live.bb11
-rw-r--r--meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb (renamed from meta/recipes-sato/leafpad/leafpad_0.8.17.bb)4
-rw-r--r--meta/recipes-sato/libowl/libowl_svn.bb2
-rw-r--r--meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_git.bb (renamed from meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_svn.bb)9
-rw-r--r--meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_svn.bb2
-rw-r--r--meta/recipes-sato/matchbox-desktop/files/dso_linking_change_build_fix.patch26
-rw-r--r--meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.0.bb5
-rw-r--r--meta/recipes-sato/matchbox-desktop/matchbox-desktop_git.bb (renamed from meta/recipes-sato/matchbox-desktop/matchbox-desktop_svn.bb)7
-rw-r--r--meta/recipes-sato/matchbox-keyboard/files/single-instance.patch22
-rw-r--r--meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb (renamed from meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_svn.bb)11
-rw-r--r--meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_git.bb (renamed from meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_svn.bb)8
-rw-r--r--meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb4
-rw-r--r--meta/recipes-sato/matchbox-stroke/files/dso_linking_change_build_fix.patch36
-rw-r--r--meta/recipes-sato/matchbox-stroke/files/single-instance.patch19
-rw-r--r--meta/recipes-sato/matchbox-stroke/matchbox-stroke_git.bb (renamed from meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb)11
-rw-r--r--meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb (renamed from meta/recipes-sato/matchbox-terminal/matchbox-terminal_svn.bb)6
-rw-r--r--meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2/png_rename.patch14
-rw-r--r--meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2_svn.bb6
-rw-r--r--meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_svn.bb2
-rw-r--r--meta/recipes-sato/owl-video-widget/libowl-av_svn.bb8
-rw-r--r--meta/recipes-sato/owl-video-widget/owl-video_svn.bb4
-rw-r--r--meta/recipes-sato/pimlico/contacts.inc2
-rw-r--r--meta/recipes-sato/pimlico/contacts_0.9.bb2
-rw-r--r--meta/recipes-sato/pimlico/contacts_git.bb2
-rw-r--r--meta/recipes-sato/pimlico/dates.inc2
-rw-r--r--meta/recipes-sato/pimlico/dates/dso_linking_change_build_fix.patch44
-rw-r--r--meta/recipes-sato/pimlico/dates_0.4.8.bb2
-rw-r--r--meta/recipes-sato/pimlico/dates_git.bb5
-rw-r--r--meta/recipes-sato/puzzles/oh-puzzles_svn.bb2
-rw-r--r--meta/recipes-sato/puzzles/puzzles_r9076.bb (renamed from meta/recipes-sato/puzzles/puzzles_r9023.bb)5
-rw-r--r--meta/recipes-sato/screenshot/files/dso_linking_change_build_fix.patch49
-rw-r--r--meta/recipes-sato/screenshot/screenshot_svn.bb6
-rw-r--r--meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch29
-rw-r--r--meta/recipes-sato/settings-daemon/settings-daemon_git.bb (renamed from meta/recipes-sato/settings-daemon/settings-daemon_svn.bb)11
-rw-r--r--meta/recipes-sato/web/web-webkit_svn.bb5
-rw-r--r--meta/recipes-sato/web/web_svn.bb2
-rw-r--r--meta/recipes-sato/webkit/files/GNUmakefile.am692
-rw-r--r--meta/recipes-sato/webkit/files/Makefile2
-rwxr-xr-xmeta/recipes-sato/webkit/files/autogen.sh2
-rw-r--r--meta/recipes-sato/webkit/files/configure.ac164
-rw-r--r--meta/recipes-sato/webkit/files/nodolt.patch16
-rw-r--r--meta/recipes-sato/webkit/webkit-gtk_svn.bb8
-rw-r--r--meta/recipes-support/apr/apr-util_1.3.10.bb (renamed from meta/recipes-support/apr/apr-util_1.3.4.bb)13
-rw-r--r--meta/recipes-support/apr/apr/buildconf_fix.patch25
-rw-r--r--meta/recipes-support/apr/apr/cleanup.patch9
-rw-r--r--meta/recipes-support/apr/apr_1.4.2.bb (renamed from meta/recipes-support/apr/apr_1.3.3.bb)25
-rw-r--r--meta/recipes-support/attr/acl.inc2
-rw-r--r--meta/recipes-support/attr/acl_2.2.49.bb2
-rw-r--r--meta/recipes-support/attr/attr.inc2
-rw-r--r--meta/recipes-support/attr/attr_2.4.44.bb2
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch12
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/fix-security.patch51
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/x64fix.patch23
-rw-r--r--meta/recipes-support/beecrypt/beecrypt_4.2.1.bb (renamed from meta/recipes-support/beecrypt/beecrypt_4.1.2.bb)13
-rw-r--r--meta/recipes-support/boost/boost-jam-native.inc2
-rw-r--r--meta/recipes-support/createrepo/createrepo/fix-native-install.patch161
-rw-r--r--meta/recipes-support/createrepo/createrepo_0.4.11.bb20
-rw-r--r--meta/recipes-support/db/db/arm-thumb-mutex.patch36
-rw-r--r--meta/recipes-support/db/db/arm-thumb-mutex_db5.patch36
-rw-r--r--meta/recipes-support/db/db/configure_fixes.patch18
-rw-r--r--meta/recipes-support/db/db_4.2.52.bb100
-rw-r--r--meta/recipes-support/db/db_5.1.19.bb (renamed from meta/recipes-support/db/db_4.3.29.bb)39
-rw-r--r--meta/recipes-support/enchant/enchant_1.6.0.bb4
-rw-r--r--meta/recipes-support/gnutls/gnutls-2.10.4/configure-fix.patch (renamed from meta/recipes-support/gnutls/gnutls-2.8.6/configure-fix.patch)0
-rw-r--r--meta/recipes-support/gnutls/gnutls-2.10.4/gnutls-openssl.patch (renamed from meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-openssl.patch)0
-rw-r--r--meta/recipes-support/gnutls/gnutls-2.10.4/gnutls-texinfo-euro.patch (renamed from meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-texinfo-euro.patch)0
-rw-r--r--meta/recipes-support/gnutls/gnutls_2.10.4.bb (renamed from meta/recipes-support/gnutls/gnutls_2.8.6.bb)4
-rw-r--r--meta/recipes-support/gnutls/libtasn1_2.9.bb (renamed from meta/recipes-support/gnutls/libtasn1_2.8.bb)4
-rw-r--r--meta/recipes-support/hal/hal.inc2
-rw-r--r--meta/recipes-support/hal/hal_0.5.14.bb2
-rw-r--r--meta/recipes-support/hal/hal_git.bb2
-rw-r--r--meta/recipes-support/libfm/libfm-0.1.14/add_missing.patch50
-rw-r--r--meta/recipes-support/libfm/libfm_0.1.14.bb5
-rw-r--r--meta/recipes-support/libgdbus/libgdbus_git.bb22
-rw-r--r--meta/recipes-support/liburcu/liburcu_0.5.2.bb (renamed from meta/recipes-support/liburcu/liburcu_0.4.8.bb)4
-rw-r--r--meta/recipes-support/lzo/lzo-2.03/autofoo.patch17
-rw-r--r--meta/recipes-support/lzo/lzo-2.04/acinclude.m4 (renamed from meta/recipes-support/lzo/lzo-2.03/acinclude.m4)0
-rw-r--r--meta/recipes-support/lzo/lzo-2.04/autoconf.patch19
-rw-r--r--meta/recipes-support/lzo/lzo_2.04.bb (renamed from meta/recipes-support/lzo/lzo_2.03.bb)11
-rw-r--r--meta/recipes-tbd/consolekit/consolekit_0.4.3.bb21
-rw-r--r--meta/site/mips-common3
-rw-r--r--meta/site/x86_64-linux8
-rwxr-xr-xpoky-init-build-env23
-rwxr-xr-xscripts/bitbake38
-rwxr-xr-xscripts/contrib/bbvars.py186
-rwxr-xr-xscripts/poky-env-internal106
-rwxr-xr-xscripts/poky-extract-sdk5
-rwxr-xr-xscripts/poky-qemu25
-rwxr-xr-xscripts/poky-setup-builddir113
-rwxr-xr-xscripts/poky-setup-rpmrepo89
-rw-r--r--scripts/qemuimage-testlib127
-rwxr-xr-xscripts/qemuimage-tests/sanity/compiler52
-rwxr-xr-xscripts/qemuimage-tests/sanity/connman52
-rwxr-xr-xscripts/qemuimage-tests/sanity/dmesg2
-rwxr-xr-xscripts/qemuimage-tests/sanity/rpm_query52
-rwxr-xr-xscripts/qemuimage-tests/sanity/scp2
-rwxr-xr-xscripts/qemuimage-tests/sanity/shutdown8
-rwxr-xr-xscripts/qemuimage-tests/sanity/ssh2
-rwxr-xr-xscripts/qemuimage-tests/sanity/zypper_help52
-rwxr-xr-xscripts/qemuimage-tests/sanity/zypper_search52
-rw-r--r--scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb4
-rw-r--r--scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato5
-rw-r--r--scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk6
-rw-r--r--scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb4
-rw-r--r--scripts/qemuimage-tests/scenario/qemumips/poky-image-sato5
-rw-r--r--scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk6
-rw-r--r--scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb4
-rw-r--r--scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato5
-rw-r--r--scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk6
-rw-r--r--scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb4
-rw-r--r--scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato5
-rw-r--r--scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk6
-rw-r--r--scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb4
-rw-r--r--scripts/qemuimage-tests/scenario/qemux86/poky-image-sato5
-rw-r--r--scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk6
-rw-r--r--scripts/qemuimage-tests/tools/compiler_test.sh137
-rw-r--r--scripts/qemuimage-tests/tools/connman_test.sh55
-rw-r--r--scripts/qemuimage-tests/tools/rpm_test.sh45
-rw-r--r--scripts/qemuimage-tests/tools/zypper_test.sh45
-rwxr-xr-xscripts/rpm2cpio.sh53
-rwxr-xr-xscripts/send-pull-request99
1285 files changed, 56483 insertions, 22977 deletions
diff --git a/README.hardware b/README.hardware
index fe384b37d2..bc5b5b8afd 100644
--- a/README.hardware
+++ b/README.hardware
@@ -26,6 +26,7 @@ The following boards are supported by Poky:
26 * Marvell PXA3xx Zylonite (zylonite) 26 * Marvell PXA3xx Zylonite (zylonite)
27 * Logic iMX31 Lite Kit (mx31litekit) 27 * Logic iMX31 Lite Kit (mx31litekit)
28 * Phytec phyCORE-iMX31 (mx31phy) 28 * Phytec phyCORE-iMX31 (mx31phy)
29 * Texas Instruments Beagleboard (beagleboard)
29 30
30For more information see board's section below. The Poky MACHINE setting 31For more information see board's section below. The Poky MACHINE setting
31corresponding to the board is given in brackets. 32corresponding to the board is given in brackets.
@@ -45,14 +46,6 @@ The following consumer devices are supported by Poky:
45For more information see board's section below. The Poky MACHINE setting 46For more information see board's section below. The Poky MACHINE setting
46corresponding to the board is given in brackets. 47corresponding to the board is given in brackets.
47 48
48Poky Boot CD (bootcdx86)
49========================
50
51The Poky boot CD iso images are designed as a demonstration of the Poky
52environment and to show the versatile image formats Poky can generate. It will
53run on Pentium2 or greater PC style computers. The iso image can be
54burnt to CD and then booted from.
55
56 49
57 Hardware Reference Boards 50 Hardware Reference Boards
58 ========================= 51 =========================
@@ -318,9 +311,9 @@ On the first partition you need three files:
318 * a kernel renamed to "zImage" 311 * a kernel renamed to "zImage"
319 * a default.txt which contains: 312 * a default.txt which contains:
320 313
321set kernel "zImage" 314set kernel "zImage"
322set mtype "855" 315set mtype "855"
323set cmdline "root=/dev/mmcblk0p2 rw console=ttyS0,115200n8 console=tty0 rootdelay=5 fbcon=rotate:1" 316set cmdline "root=/dev/mmcblk0p2 rw console=ttyS0,115200n8 console=tty0 rootdelay=5 fbcon=rotate:1"
324boot2 317boot2
325 318
326On the second parition the root file system is extracted as root. A different 319On the second parition the root file system is extracted as root. A different
@@ -509,3 +502,73 @@ USB Device:
509 502
510 For more details on the USB-ZIP scenario, see the syslinux documentation: 503 For more details on the USB-ZIP scenario, see the syslinux documentation:
511 http://git.kernel.org/?p=boot/syslinux/syslinux.git;a=blob_plain;f=doc/usbkey.txt;hb=HEAD 504 http://git.kernel.org/?p=boot/syslinux/syslinux.git;a=blob_plain;f=doc/usbkey.txt;hb=HEAD
505
506
507Texas Instruments Beagleboard (beagleboard)
508===========================================
509
510The Beagleboard is an ARM Cortex-A8 development board with USB, DVI-D, S-Video,
5112D/3D accelerated graphics, audio, serial, JTAG, and SD/MMC. The xM adds a
512faster CPU, more RAM, an ethernet port, more USB ports, microSD, and removes
513the NAND flash. The beagleboard MACHINE is tested on the following platforms:
514
515 o Beagleboard xM
516
517TODO: need someone with a Beagleboard C4 to verify these instructions.
518
519Due to the lack of NAND on the xM, the install and boot process varies a bit
520between boards. The C4 can run the x-loader and u-boot binaries from NAND or
521the SD, while the xM can only run them from the SD. The following instructions
522apply to both the C4 and the xM, but te C4 can skip step 2 (as noted below),
523and may require modification of the NAND environment.
524
525 1. Partition and format an SD card:
526 # fdisk -lu /dev/mmcblk0
527
528 Disk /dev/mmcblk0: 3951 MB, 3951034368 bytes
529 255 heads, 63 sectors/track, 480 cylinders, total 7716864 sectors
530 Units = sectors of 1 * 512 = 512 bytes
531
532 Device Boot Start End Blocks Id System
533 /dev/mmcblk0p1 * 63 144584 72261 c Win95 FAT32 (LBA)
534 /dev/mmcblk0p2 144585 465884 160650 83 Linux
535
536 # mkfs.vfat -F 16 -n "boot" /dev/mmcblk0p1
537 # mke2fs -j -L "root" /dev/mmcblk0p2
538
539 The following assumes the SD card partition 1 and 2 are mounted at
540 /media/boot and /media/root respectively. The files referenced here
541 are made available after the build in build/tmp/deploy/images.
542
543 2. Install the boot loaders
544 This step can be omitted for the C4 as it can have the x-loader and
545 u-boot installed in NAND.
546
547 # cp MLO-beagleboard /media/boot/MLO
548 # cp u-boot-beagleboard.bin /media/boot/u-boot.bin
549
550 3. Install the root filesystem
551 # tar x -C /media/root -f poky-image-$IMAGE_TYPE-beagleboard.tar.bz2
552 # tar x -C /media/root -f modules-$KERNEL_VERSION-beagleboard.tgz
553
554 4. Install the kernel uImage
555 # cp uImage-beagleboard.bin /media/boot/uImage
556
557 5. Prepare a u-boot script to simplify the boot process
558 The Beagleboard can be made to boot at this point from the u-boot command
559 shell. To automate this process, generate a user.scr script as follows.
560
561 Install uboot-mkimage (from uboot-mkimage on Ubuntu or uboot-tools on Fedora).
562
563 Prepare a script config:
564
565 # (cat << EOF
566 setenv bootcmd 'mmc init; fatload mmc 0:1 0x80300000 uImage; bootm 0x80300000'
567 setenv bootargs 'console=tty0 console=ttyS2,115200n8 root=/dev/mmcblk0p2 rootwait rootfstype=ext3 ro'
568 boot
569 EOF
570 ) > serial-boot.cmd
571 # mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Poky Minimal" -d ./serial-boot.cmd ./user.scr
572 # cp user.scr /media/boot
573
574 6. Unmount the SD partitions and boot the Beagleboard
diff --git a/bitbake/AUTHORS b/bitbake/AUTHORS
index a4014b1e39..91fd78fd25 100644
--- a/bitbake/AUTHORS
+++ b/bitbake/AUTHORS
@@ -1,7 +1,7 @@
1Tim Ansell <mithro@mithis.net> 1Tim Ansell <mithro@mithis.net>
2Phil Blundell <pb@handhelds.org> 2Phil Blundell <pb@handhelds.org>
3Seb Frankengul <seb@frankengul.org> 3Seb Frankengul <seb@frankengul.org>
4Holger Freyther <zecke@handhelds.org> 4Holger Freyther <holger@moiji-mobile.com>
5Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> 5Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
6Chris Larson <kergoth@handhelds.org> 6Chris Larson <kergoth@handhelds.org>
7Ulrich Luckas <luckas@musoft.de> 7Ulrich Luckas <luckas@musoft.de>
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 797b5a8d60..6d0528953c 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -23,14 +23,18 @@
23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 24
25import os 25import os
26import sys 26import sys, logging
27sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 27sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)),
28 'lib')) 28 'lib'))
29 29
30import optparse 30import optparse
31import warnings 31import warnings
32from traceback import format_exception 32from traceback import format_exception
33import bb 33try:
34 import bb
35except RuntimeError, exc:
36 sys.exit(str(exc))
37from bb import event
34import bb.msg 38import bb.msg
35from bb import cooker 39from bb import cooker
36from bb import ui 40from bb import ui
@@ -39,12 +43,9 @@ from bb.server import none
39#from bb.server import xmlrpc 43#from bb.server import xmlrpc
40 44
41__version__ = "1.11.0" 45__version__ = "1.11.0"
46logger = logging.getLogger("BitBake")
42 47
43 48
44
45#============================================================================#
46# BBOptions
47#============================================================================#
48class BBConfiguration(object): 49class BBConfiguration(object):
49 """ 50 """
50 Manages build options and configurations for one run 51 Manages build options and configurations for one run
@@ -56,34 +57,44 @@ class BBConfiguration(object):
56 self.pkgs_to_build = [] 57 self.pkgs_to_build = []
57 58
58 59
59def print_exception(exc, value, tb): 60def get_ui(config):
60 """Send exception information through bb.msg""" 61 if config.ui:
61 bb.fatal("".join(format_exception(exc, value, tb, limit=8))) 62 interface = config.ui
63 else:
64 interface = 'knotty'
62 65
63sys.excepthook = print_exception 66 try:
67 # Dynamically load the UI based on the ui name. Although we
68 # suggest a fixed set this allows you to have flexibility in which
69 # ones are available.
70 module = __import__("bb.ui", fromlist = [interface])
71 return getattr(module, interface).main
72 except AttributeError:
73 sys.exit("FATAL: Invalid user interface '%s' specified.\n"
74 "Valid interfaces: depexp, goggle, ncurses, knotty [default]." % interface)
64 75
65 76
77# Display bitbake/OE warnings via the BitBake.Warnings logger, ignoring others"""
78warnlog = logging.getLogger("BitBake.Warnings")
66_warnings_showwarning = warnings.showwarning 79_warnings_showwarning = warnings.showwarning
67def _showwarning(message, category, filename, lineno, file=None, line=None): 80def _showwarning(message, category, filename, lineno, file=None, line=None):
68 """Display python warning messages using bb.msg"""
69 if file is not None: 81 if file is not None:
70 if _warnings_showwarning is not None: 82 if _warnings_showwarning is not None:
71 _warnings_showwarning(message, category, filename, lineno, file, line) 83 _warnings_showwarning(message, category, filename, lineno, file, line)
72 else: 84 else:
73 s = warnings.formatwarning(message, category, filename, lineno) 85 s = warnings.formatwarning(message, category, filename, lineno)
74 s = s.split("\n")[0] 86 warnlog.warn(s)
75 bb.msg.warn(None, s)
76 87
77warnings.showwarning = _showwarning 88warnings.showwarning = _showwarning
78warnings.simplefilter("ignore", DeprecationWarning) 89warnings.filterwarnings("ignore")
90warnings.filterwarnings("default", module="(<string>$|(oe|bb)\.)")
91warnings.filterwarnings("ignore", category=PendingDeprecationWarning)
92warnings.filterwarnings("ignore", category=ImportWarning)
93warnings.filterwarnings("ignore", category=DeprecationWarning, module="<string>$")
94warnings.filterwarnings("ignore", message="With-statements now directly support multiple context managers")
79 95
80#============================================================================#
81# main
82#============================================================================#
83 96
84def main(): 97def main():
85 return_value = 1
86
87 parser = optparse.OptionParser( 98 parser = optparse.OptionParser(
88 version = "BitBake Build Tool Core version %s, %%prog version %s" % (bb.__version__, __version__), 99 version = "BitBake Build Tool Core version %s, %%prog version %s" % (bb.__version__, __version__),
89 usage = """%prog [options] [package ...] 100 usage = """%prog [options] [package ...]
@@ -159,6 +170,11 @@ Default BBFILES are the .bb files in the current directory.""")
159 configuration.pkgs_to_build.extend(args[1:]) 170 configuration.pkgs_to_build.extend(args[1:])
160 configuration.initial_path = os.environ['PATH'] 171 configuration.initial_path = os.environ['PATH']
161 172
173 ui_main = get_ui(configuration)
174
175 loghandler = event.LogHandler()
176 logger.addHandler(loghandler)
177
162 #server = bb.server.xmlrpc 178 #server = bb.server.xmlrpc
163 server = bb.server.none 179 server = bb.server.none
164 180
@@ -175,7 +191,6 @@ Default BBFILES are the .bb files in the current directory.""")
175 bb.utils.clean_environment() 191 bb.utils.clean_environment()
176 192
177 cooker = bb.cooker.BBCooker(configuration, server) 193 cooker = bb.cooker.BBCooker(configuration, server)
178
179 cooker.parseCommandLine() 194 cooker.parseCommandLine()
180 195
181 serverinfo = server.BitbakeServerInfo(cooker.server) 196 serverinfo = server.BitbakeServerInfo(cooker.server)
@@ -183,8 +198,10 @@ Default BBFILES are the .bb files in the current directory.""")
183 server.BitBakeServerFork(cooker, cooker.server, serverinfo, cooker_logfile) 198 server.BitBakeServerFork(cooker, cooker.server, serverinfo, cooker_logfile)
184 del cooker 199 del cooker
185 200
201 logger.removeHandler(loghandler)
202
186 # Setup a connection to the server (cooker) 203 # Setup a connection to the server (cooker)
187 serverConnection = server.BitBakeServerConnection(serverinfo) 204 server_connection = server.BitBakeServerConnection(serverinfo)
188 205
189 # Launch the UI 206 # Launch the UI
190 if configuration.ui: 207 if configuration.ui:
@@ -193,25 +210,15 @@ Default BBFILES are the .bb files in the current directory.""")
193 ui = "knotty" 210 ui = "knotty"
194 211
195 try: 212 try:
196 # Dynamically load the UI based on the ui name. Although we 213 return server.BitbakeUILauch().launch(serverinfo, ui_main, server_connection.connection, server_connection.events)
197 # suggest a fixed set this allows you to have flexibility in which
198 # ones are available.
199 uimodule = __import__("bb.ui", fromlist = [ui])
200 ui_init = getattr(uimodule, ui).init
201 except AttributeError:
202 print("FATAL: Invalid user interface '%s' specified. " % ui)
203 print("Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'.")
204 else:
205 try:
206 return_value = server.BitbakeUILauch().launch(serverinfo, ui_init, serverConnection.connection, serverConnection.events)
207 except Exception as e:
208 print("FATAL: Unable to start to '%s' UI: %s" % (ui, e))
209 raise
210 finally: 214 finally:
211 serverConnection.terminate() 215 server_connection.terminate()
212
213 return return_value
214 216
215if __name__ == "__main__": 217if __name__ == "__main__":
216 ret = main() 218 try:
219 ret = main()
220 except Exception:
221 ret = 1
222 import traceback
223 traceback.print_exc(5)
217 sys.exit(ret) 224 sys.exit(ret)
diff --git a/bitbake/bin/bitdoc b/bitbake/bin/bitdoc
index 8043b2bd1c..c2a7061d1b 100755
--- a/bitbake/bin/bitdoc
+++ b/bitbake/bin/bitdoc
@@ -20,7 +20,7 @@
20import optparse, os, sys 20import optparse, os, sys
21 21
22# bitbake 22# bitbake
23sys.path.append(os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib')) 23sys.path.append(os.path.join(os.path.dirname(os.path.dirname(__file__), 'lib'))
24import bb 24import bb
25import bb.parse 25import bb.parse
26from string import split, join 26from string import split, join
diff --git a/bitbake/contrib/vim/ftdetect/bitbake.vim b/bitbake/contrib/vim/ftdetect/bitbake.vim
index 3882a9a08d..179e4d9888 100644
--- a/bitbake/contrib/vim/ftdetect/bitbake.vim
+++ b/bitbake/contrib/vim/ftdetect/bitbake.vim
@@ -1,4 +1,24 @@
1au BufNewFile,BufRead *.bb setfiletype bitbake 1" Vim filetype detection file
2au BufNewFile,BufRead *.bbclass setfiletype bitbake 2" Language: BitBake
3au BufNewFile,BufRead *.inc setfiletype bitbake 3" Author: Ricardo Salveti <rsalveti@rsalveti.net>
4" au BufNewFile,BufRead *.conf setfiletype bitbake 4" Copyright: Copyright (C) 2008 Ricardo Salveti <rsalveti@rsalveti.net>
5" Licence: You may redistribute this under the same terms as Vim itself
6"
7" This sets up the syntax highlighting for BitBake files, like .bb, .bbclass and .inc
8
9if &compatible || version < 600
10 finish
11endif
12
13" .bb and .bbclass
14au BufNewFile,BufRead *.b{b,bclass} set filetype=bitbake
15
16" .inc
17au BufNewFile,BufRead *.inc set filetype=bitbake
18
19" .conf
20au BufNewFile,BufRead *.conf
21 \ if (match(expand("%:p:h"), "conf") > 0) |
22 \ set filetype=bitbake |
23 \ endif
24
diff --git a/bitbake/contrib/vim/ftplugin/bitbake.vim b/bitbake/contrib/vim/ftplugin/bitbake.vim
new file mode 100644
index 0000000000..ed69d3b1b0
--- /dev/null
+++ b/bitbake/contrib/vim/ftplugin/bitbake.vim
@@ -0,0 +1 @@
set sts=4 sw=4 et
diff --git a/bitbake/contrib/vim/plugin/newbb.vim b/bitbake/contrib/vim/plugin/newbb.vim
new file mode 100755
index 0000000000..afba1d9aa4
--- /dev/null
+++ b/bitbake/contrib/vim/plugin/newbb.vim
@@ -0,0 +1,85 @@
1" Vim plugin file
2" Purpose: Create a template for new bb files
3" Author: Ricardo Salveti <rsalveti@gmail.com>
4" Copyright: Copyright (C) 2008 Ricardo Salveti <rsalveti@gmail.com>
5"
6" This file is licensed under the MIT license, see COPYING.MIT in
7" this source distribution for the terms.
8"
9" Based on the gentoo-syntax package
10"
11" Will try to use git to find the user name and email
12
13if &compatible || v:version < 600
14 finish
15endif
16
17fun! <SID>GetUserName()
18 let l:user_name = system("git-config --get user.name")
19 if v:shell_error
20 return "Unknow User"
21 else
22 return substitute(l:user_name, "\n", "", "")
23endfun
24
25fun! <SID>GetUserEmail()
26 let l:user_email = system("git-config --get user.email")
27 if v:shell_error
28 return "unknow@user.org"
29 else
30 return substitute(l:user_email, "\n", "", "")
31endfun
32
33fun! BBHeader()
34 let l:current_year = strftime("%Y")
35 let l:user_name = <SID>GetUserName()
36 let l:user_email = <SID>GetUserEmail()
37 0 put ='# Copyright (C) ' . l:current_year .
38 \ ' ' . l:user_name . ' <' . l:user_email . '>'
39 put ='# Released under the MIT license (see COPYING.MIT for the terms)'
40 $
41endfun
42
43fun! NewBBTemplate()
44 let l:paste = &paste
45 set nopaste
46
47 " Get the header
48 call BBHeader()
49
50 " New the bb template
51 put ='DESCRIPTION = \"\"'
52 put ='HOMEPAGE = \"\"'
53 put ='LICENSE = \"\"'
54 put ='SECTION = \"\"'
55 put ='DEPENDS = \"\"'
56 put ='PR = \"r0\"'
57 put =''
58 put ='SRC_URI = \"\"'
59
60 " Go to the first place to edit
61 0
62 /^DESCRIPTION =/
63 exec "normal 2f\""
64
65 if paste == 1
66 set paste
67 endif
68endfun
69
70if !exists("g:bb_create_on_empty")
71 let g:bb_create_on_empty = 1
72endif
73
74" disable in case of vimdiff
75if v:progname =~ "vimdiff"
76 let g:bb_create_on_empty = 0
77endif
78
79augroup NewBB
80 au BufNewFile *.bb
81 \ if g:bb_create_on_empty |
82 \ call NewBBTemplate() |
83 \ endif
84augroup END
85
diff --git a/bitbake/contrib/vim/syntax/bitbake.vim b/bitbake/contrib/vim/syntax/bitbake.vim
index be55980b3a..a06dd9e0ac 100644
--- a/bitbake/contrib/vim/syntax/bitbake.vim
+++ b/bitbake/contrib/vim/syntax/bitbake.vim
@@ -1,127 +1,123 @@
1" Vim syntax file 1" Vim syntax file
2" Language: BitBake bb/bbclasses/inc
3" Author: Chris Larson <kergoth@handhelds.org>
4" Ricardo Salveti <rsalveti@rsalveti.net>
5" Copyright: Copyright (C) 2004 Chris Larson <kergoth@handhelds.org>
6" Copyright (C) 2008 Ricardo Salveti <rsalveti@rsalveti.net>
2" 7"
3" Copyright (C) 2004 Chris Larson <kergoth@handhelds.org>
4" This file is licensed under the MIT license, see COPYING.MIT in 8" This file is licensed under the MIT license, see COPYING.MIT in
5" this source distribution for the terms. 9" this source distribution for the terms.
6" 10"
7" Language: BitBake 11" Syntax highlighting for bb, bbclasses and inc files.
8" Maintainer: Chris Larson <kergoth@handhelds.org>
9" Filenames: *.bb, *.bbclass
10
11if version < 600
12 syntax clear
13elseif exists("b:current_syntax")
14 finish
15endif
16
17syn case match
18
19" Catch incorrect syntax (only matches if nothing else does)
20" 12"
21syn match bbUnmatched "." 13" It's an entirely new type, just has specific syntax in shell and python code
22 14
15if &compatible || v:version < 600
16 finish
17endif
18if exists("b:current_syntax")
19 finish
20endif
23 21
24syn include @python syntax/python.vim 22syn include @python syntax/python.vim
25if exists("b:current_syntax") 23if exists("b:current_syntax")
26 unlet b:current_syntax 24 unlet b:current_syntax
27endif 25endif
28 26
27" BitBake syntax
29 28
30" Other 29" Matching case
31 30syn case match
32syn match bbComment "^#.*$" display contains=bbTodo
33syn keyword bbTodo TODO FIXME XXX contained
34syn match bbDelimiter "[(){}=]" contained
35syn match bbQuote /['"]/ contained
36syn match bbArrayBrackets "[\[\]]" contained
37
38
39" BitBake strings
40
41syn match bbContinue "\\$"
42syn region bbString matchgroup=bbQuote start=/"/ skip=/\\$/ excludenl end=/"/ contained keepend contains=bbTodo,bbContinue,bbVarInlinePy,bbVarDeref
43syn region bbString matchgroup=bbQuote start=/'/ skip=/\\$/ excludenl end=/'/ contained keepend contains=bbTodo,bbContinue,bbVarInlinePy,bbVarDeref
44
45" BitBake variable metadata
46
47syn match bbVarBraces "[\${}]"
48syn region bbVarDeref matchgroup=bbVarBraces start="${" end="}" contained
49" syn region bbVarDeref start="${" end="}" contained
50" syn region bbVarInlinePy start="${@" end="}" contained contains=@python
51syn region bbVarInlinePy matchgroup=bbVarBraces start="${@" end="}" contained contains=@python
52
53syn keyword bbExportFlag export contained nextgroup=bbIdentifier skipwhite
54" syn match bbVarDeref "${[a-zA-Z0-9\-_\.]\+}" contained
55syn match bbVarDef "^\(export\s*\)\?\([a-zA-Z0-9\-_\.]\+\(_[${}a-zA/-Z0-9\-_\.]\+\)\?\)\s*\(:=\|+=\|=+\|\.=\|=\.\|?=\|=\)\@=" contains=bbExportFlag,bbIdentifier,bbVarDeref nextgroup=bbVarEq
56
57syn match bbIdentifier "[a-zA-Z0-9\-_\./]\+" display contained
58"syn keyword bbVarEq = display contained nextgroup=bbVarValue
59syn match bbVarEq "\(:=\|+=\|=+\|\.=\|=\.\|?=\|=\)" contained nextgroup=bbVarValue
60syn match bbVarValue ".*$" contained contains=bbString
61
62" BitBake variable metadata flags
63syn match bbVarFlagDef "^\([a-zA-Z0-9\-_\.]\+\)\(\[[a-zA-Z0-9\-_\.]\+\]\)\@=" contains=bbIdentifier nextgroup=bbVarFlagFlag
64syn region bbVarFlagFlag matchgroup=bbArrayBrackets start="\[" end="\]\s*\(=\)\@=" keepend excludenl contained contains=bbIdentifier nextgroup=bbVarEq
65"syn match bbVarFlagFlag "\[\([a-zA-Z0-9\-_\.]\+\)\]\s*\(=\)\@=" contains=bbIdentifier nextgroup=bbVarEq
66
67
68" Functions!
69syn match bbFunction "\h\w*" display contained
70 31
32" Indicates the error when nothing is matched
33syn match bbUnmatched "."
71 34
72" BitBake python metadata 35" Comments
36syn cluster bbCommentGroup contains=bbTodo,@Spell
37syn keyword bbTodo COMBAK FIXME TODO XXX contained
38syn match bbComment "#.*$" contains=@bbCommentGroup
73 39
74syn keyword bbPythonFlag python contained nextgroup=bbFunction 40" String helpers
75syn match bbPythonFuncDef "^\(python\s\+\)\(\w\+\)\?\(\s*()\s*\)\({\)\@=" contains=bbPythonFlag,bbFunction,bbDelimiter nextgroup=bbPythonFuncRegion skipwhite 41syn match bbQuote +['"]+ contained
76syn region bbPythonFuncRegion matchgroup=bbDelimiter start="{\s*$" end="^}\s*$" keepend contained contains=@python 42syn match bbDelimiter "[(){}=]" contained
77"hi def link bbPythonFuncRegion Comment 43syn match bbArrayBrackets "[\[\]]" contained
78 44
45" BitBake strings
46syn match bbContinue "\\$"
47syn region bbString matchgroup=bbQuote start=+"+ skip=+\\$+ excludenl end=+"+ contained keepend contains=bbTodo,bbContinue,bbVarDeref,bbVarPyValue,@Spell
48syn region bbString matchgroup=bbQuote start=+'+ skip=+\\$+ excludenl end=+'+ contained keepend contains=bbTodo,bbContinue,bbVarDeref,bbVarPyValue,@Spell
49
50" Vars definition
51syn match bbExport "^export" nextgroup=bbIdentifier skipwhite
52syn keyword bbExportFlag export contained nextgroup=bbIdentifier skipwhite
53syn match bbIdentifier "[a-zA-Z0-9\-_\.\/\+]\+" display contained
54syn match bbVarDeref "${[a-zA-Z0-9\-_\.\/\+]\+}" contained
55syn match bbVarEq "\(:=\|+=\|=+\|\.=\|=\.\|?=\|=\)" contained nextgroup=bbVarValue
56syn match bbVarDef "^\(export\s*\)\?\([a-zA-Z0-9\-_\.\/\+]\+\(_[${}a-zA-Z0-9\-_\.\/\+]\+\)\?\)\s*\(:=\|+=\|=+\|\.=\|=\.\|?=\|=\)\@=" contains=bbExportFlag,bbIdentifier,bbVarDeref nextgroup=bbVarEq
57syn match bbVarValue ".*$" contained contains=bbString,bbVarDeref,bbVarPyValue
58syn region bbVarPyValue start=+${@+ skip=+\\$+ excludenl end=+}+ contained contains=@python
59
60" Vars metadata flags
61syn match bbVarFlagDef "^\([a-zA-Z0-9\-_\.]\+\)\(\[[a-zA-Z0-9\-_\.]\+\]\)\@=" contains=bbIdentifier nextgroup=bbVarFlagFlag
62syn region bbVarFlagFlag matchgroup=bbArrayBrackets start="\[" end="\]\s*\(=\)\@=" keepend excludenl contained contains=bbIdentifier nextgroup=bbVarEq
63
64" Includes and requires
65syn keyword bbInclude inherit include require contained
66syn match bbIncludeRest ".*$" contained contains=bbString,bbVarDeref
67syn match bbIncludeLine "^\(inherit\|include\|require\)\s\+" contains=bbInclude nextgroup=bbIncludeRest
68
69" Add taks and similar
70syn keyword bbStatement addtask addhandler after before EXPORT_FUNCTIONS contained
71syn match bbStatementRest ".*$" skipwhite contained contains=bbStatement
72syn match bbStatementLine "^\(addtask\|addhandler\|after\|before\|EXPORT_FUNCTIONS\)\s\+" contains=bbStatement nextgroup=bbStatementRest
73
74" OE Important Functions
75syn keyword bbOEFunctions do_fetch do_unpack do_patch do_configure do_compile do_stage do_install do_package contained
76
77" Generic Functions
78syn match bbFunction "\h[0-9A-Za-z_-]*" display contained contains=bbOEFunctions
79 79
80" BitBake shell metadata 80" BitBake shell metadata
81syn include @shell syntax/sh.vim 81syn include @shell syntax/sh.vim
82if exists("b:current_syntax") 82if exists("b:current_syntax")
83 unlet b:current_syntax 83 unlet b:current_syntax
84endif 84endif
85syn keyword bbShFakeRootFlag fakeroot contained
86syn match bbShFuncDef "^\(fakeroot\s*\)\?\([0-9A-Za-z_-]\+\)\(python\)\@<!\(\s*()\s*\)\({\)\@=" contains=bbShFakeRootFlag,bbFunction,bbDelimiter nextgroup=bbShFuncRegion skipwhite
87syn region bbShFuncRegion matchgroup=bbDelimiter start="{\s*$" end="^}\s*$" keepend contained contains=@shell
85 88
86syn keyword bbFakerootFlag fakeroot contained nextgroup=bbFunction 89" BitBake python metadata
87syn match bbShellFuncDef "^\(fakeroot\s*\)\?\(\w\+\)\(python\)\@<!\(\s*()\s*\)\({\)\@=" contains=bbFakerootFlag,bbFunction,bbDelimiter nextgroup=bbShellFuncRegion skipwhite 90syn keyword bbPyFlag python contained
88syn region bbShellFuncRegion matchgroup=bbDelimiter start="{\s*$" end="^}\s*$" keepend contained contains=@shell 91syn match bbPyFuncDef "^\(python\s\+\)\([0-9A-Za-z_-]\+\)\?\(\s*()\s*\)\({\)\@=" contains=bbPyFlag,bbFunction,bbDelimiter nextgroup=bbPyFuncRegion skipwhite
89"hi def link bbShellFuncRegion Comment 92syn region bbPyFuncRegion matchgroup=bbDelimiter start="{\s*$" end="^}\s*$" keepend contained contains=@python
90
91 93
92" BitBake 'def'd python functions 94" BitBake 'def'd python functions
93syn keyword bbDef def contained 95syn keyword bbPyDef def contained
94syn region bbDefRegion start='^def\s\+\w\+\s*([^)]*)\s*:\s*$' end='^\(\s\|$\)\@!' contains=@python 96syn region bbPyDefRegion start='^\(def\s\+\)\([0-9A-Za-z_-]\+\)\(\s*(.*)\s*\):\s*$' end='^\(\s\|$\)\@!' contains=@python
95 97
96 98" Highlighting Definitions
97" BitBake statements 99hi def link bbUnmatched Error
98syn keyword bbStatement include inherit require addtask addhandler EXPORT_FUNCTIONS display contained 100hi def link bbInclude Include
99syn match bbStatementLine "^\(include\|inherit\|require\|addtask\|addhandler\|EXPORT_FUNCTIONS\)\s\+" contains=bbStatement nextgroup=bbStatementRest 101hi def link bbTodo Todo
100syn match bbStatementRest ".*$" contained contains=bbString,bbVarDeref 102hi def link bbComment Comment
101 103hi def link bbQuote String
102" Highlight 104hi def link bbString String
103" 105hi def link bbDelimiter Keyword
104hi def link bbArrayBrackets Statement 106hi def link bbArrayBrackets Statement
105hi def link bbUnmatched Error 107hi def link bbContinue Special
106hi def link bbContinue Special 108hi def link bbExport Type
107hi def link bbDef Statement 109hi def link bbExportFlag Type
108hi def link bbPythonFlag Type 110hi def link bbIdentifier Identifier
109hi def link bbExportFlag Type 111hi def link bbVarDeref PreProc
110hi def link bbFakerootFlag Type 112hi def link bbVarDef Identifier
111hi def link bbStatement Statement 113hi def link bbVarValue String
112hi def link bbString String 114hi def link bbShFakeRootFlag Type
113hi def link bbTodo Todo 115hi def link bbFunction Function
114hi def link bbComment Comment 116hi def link bbPyFlag Type
115hi def link bbOperator Operator 117hi def link bbPyDef Statement
116hi def link bbError Error 118hi def link bbStatement Statement
117hi def link bbFunction Function 119hi def link bbStatementRest Identifier
118hi def link bbDelimiter Delimiter 120hi def link bbOEFunctions Special
119hi def link bbIdentifier Identifier 121hi def link bbVarPyValue PreProc
120hi def link bbVarEq Operator
121hi def link bbQuote String
122hi def link bbVarValue String
123" hi def link bbVarInlinePy PreProc
124hi def link bbVarDeref PreProc
125hi def link bbVarBraces PreProc
126 122
127let b:current_syntax = "bb" 123let b:current_syntax = "bb"
diff --git a/bitbake/doc/manual/usermanual.xml b/bitbake/doc/manual/usermanual.xml
index 748ac319ef..32b40eee54 100644
--- a/bitbake/doc/manual/usermanual.xml
+++ b/bitbake/doc/manual/usermanual.xml
@@ -318,7 +318,7 @@ a per URI parameters separated by a <quote>;</quote> consisting of a key and a v
318 <title>CVS File Fetcher</title> 318 <title>CVS File Fetcher</title>
319 <para>The URN for the CVS Fetcher is <emphasis>cvs</emphasis>. This Fetcher honors the variables <varname>DL_DIR</varname>, <varname>SRCDATE</varname>, <varname>FETCHCOMMAND_cvs</varname>, <varname>UPDATECOMMAND_cvs</varname>. <varname>DL_DIR</varname> specifies where a temporary checkout is saved, <varname>SRCDATE</varname> specifies which date to use when doing the fetching (the special value of "now" will cause the checkout to be updated on every build), <varname>FETCHCOMMAND</varname> and <varname>UPDATECOMMAND</varname> specify which executables should be used when doing the CVS checkout or update. 319 <para>The URN for the CVS Fetcher is <emphasis>cvs</emphasis>. This Fetcher honors the variables <varname>DL_DIR</varname>, <varname>SRCDATE</varname>, <varname>FETCHCOMMAND_cvs</varname>, <varname>UPDATECOMMAND_cvs</varname>. <varname>DL_DIR</varname> specifies where a temporary checkout is saved, <varname>SRCDATE</varname> specifies which date to use when doing the fetching (the special value of "now" will cause the checkout to be updated on every build), <varname>FETCHCOMMAND</varname> and <varname>UPDATECOMMAND</varname> specify which executables should be used when doing the CVS checkout or update.
320 </para> 320 </para>
321 <para>The supported Parameters are <varname>module</varname>, <varname>tag</varname>, <varname>date</varname>, <varname>method</varname>, <varname>localdir</varname>, <varname>rsh</varname>. The <varname>module</varname> specifies which module to check out, the <varname>tag</varname> describes which CVS TAG should be used for the checkout by default the TAG is empty. A <varname>date</varname> can be specified to override the SRCDATE of the configuration to checkout a specific date. The special value of "now" will cause the checkout to be updated on every build.<varname>method</varname> is by default <emphasis>pserver</emphasis>, if <emphasis>ext</emphasis> is used the <varname>rsh</varname> parameter will be evaluated and <varname>CVS_RSH</varname> will be set. Finally <varname>localdir</varname> is used to checkout into a special directory relative to <varname>CVSDIR</varname>. 321 <para>The supported Parameters are <varname>module</varname>, <varname>tag</varname>, <varname>date</varname>, <varname>method</varname>, <varname>localdir</varname>, <varname>rsh</varname> and <varname>scmdata</varname>. The <varname>module</varname> specifies which module to check out, the <varname>tag</varname> describes which CVS TAG should be used for the checkout. By default the TAG is empty. A <varname>date</varname> can be specified to override the SRCDATE of the configuration to checkout a specific date. The special value of "now" will cause the checkout to be updated on every build.<varname>method</varname> is by default <emphasis>pserver</emphasis>, if <emphasis>ext</emphasis> is used the <varname>rsh</varname> parameter will be evaluated and <varname>CVS_RSH</varname> will be set. Finally <varname>localdir</varname> is used to checkout into a special directory relative to <varname>CVSDIR</varname>. If <varname>scmdata</varname> is set to <quote>keep</quote>
322<screen><varname>SRC_URI</varname> = "cvs://CVSROOT;module=mymodule;tag=some-version;method=ext" 322<screen><varname>SRC_URI</varname> = "cvs://CVSROOT;module=mymodule;tag=some-version;method=ext"
323<varname>SRC_URI</varname> = "cvs://CVSROOT;module=mymodule;date=20060126;localdir=usethat" 323<varname>SRC_URI</varname> = "cvs://CVSROOT;module=mymodule;date=20060126;localdir=usethat"
324</screen> 324</screen>
@@ -351,7 +351,7 @@ will be tried first when fetching a file if that fails the actual file will be t
351 </para> 351 </para>
352 <para>This Fetcher honors the variables <varname>FETCHCOMMAND_svn</varname>, <varname>DL_DIR</varname>, <varname>SRCDATE</varname>. <varname>FETCHCOMMAND</varname> contains the subversion command, <varname>DL_DIR</varname> is the directory where tarballs will be saved, <varname>SRCDATE</varname> specifies which date to use when doing the fetching (the special value of "now" will cause the checkout to be updated on every build). 352 <para>This Fetcher honors the variables <varname>FETCHCOMMAND_svn</varname>, <varname>DL_DIR</varname>, <varname>SRCDATE</varname>. <varname>FETCHCOMMAND</varname> contains the subversion command, <varname>DL_DIR</varname> is the directory where tarballs will be saved, <varname>SRCDATE</varname> specifies which date to use when doing the fetching (the special value of "now" will cause the checkout to be updated on every build).
353 </para> 353 </para>
354 <para>The supported Parameters are <varname>proto</varname>, <varname>rev</varname>. <varname>proto</varname> is the subversion prototype, <varname>rev</varname> is the subversions revision. 354 <para>The supported Parameters are <varname>proto</varname>, <varname>rev</varname> and <varname>scmdata</varname>. <varname>proto</varname> is the subversion protocol, <varname>rev</varname> is the subversion revision. If <varname>scmdata</varname> is set to <quote>keep</quote>, the <quote>.svn</quote> directories will be available during compile-time.
355 </para> 355 </para>
356 <para><screen><varname>SRC_URI</varname> = "svn://svn.oe.handhelds.org/svn;module=vip;proto=http;rev=667" 356 <para><screen><varname>SRC_URI</varname> = "svn://svn.oe.handhelds.org/svn;module=vip;proto=http;rev=667"
357<varname>SRC_URI</varname> = "svn://svn.oe.handhelds.org/svn/;module=opie;proto=svn+ssh;date=20060126" 357<varname>SRC_URI</varname> = "svn://svn.oe.handhelds.org/svn/;module=opie;proto=svn+ssh;date=20060126"
@@ -364,7 +364,7 @@ will be tried first when fetching a file if that fails the actual file will be t
364 </para> 364 </para>
365 <para>The Variables <varname>DL_DIR</varname>, <varname>GITDIR</varname> are used. <varname>DL_DIR</varname> will be used to store the checkedout version. <varname>GITDIR</varname> will be used as the base directory where the git tree is cloned to. 365 <para>The Variables <varname>DL_DIR</varname>, <varname>GITDIR</varname> are used. <varname>DL_DIR</varname> will be used to store the checkedout version. <varname>GITDIR</varname> will be used as the base directory where the git tree is cloned to.
366 </para> 366 </para>
367 <para>The Parameters are <emphasis>tag</emphasis>, <emphasis>protocol</emphasis>. <emphasis>tag</emphasis> is a git tag, the default is <quote>master</quote>. <emphasis>protocol</emphasis> is the git protocol to use and defaults to <quote>rsync</quote>. 367 <para>The Parameters are <emphasis>tag</emphasis>, <emphasis>protocol</emphasis> and <emphasis>scmdata</emphasis>. <emphasis>tag</emphasis> is a git tag, the default is <quote>master</quote>. <emphasis>protocol</emphasis> is the git protocol to use and defaults to <quote>rsync</quote>. If <emphasis>scmdata</emphasis> is set to <quote>keep</quote>, the <quote>.git</quote> directory will be available during compile-time.
368 </para> 368 </para>
369 <para><screen><varname>SRC_URI</varname> = "git://git.oe.handhelds.org/git/vip.git;tag=version-1" 369 <para><screen><varname>SRC_URI</varname> = "git://git.oe.handhelds.org/git/vip.git;tag=version-1"
370<varname>SRC_URI</varname> = "git://git.oe.handhelds.org/git/vip.git;protocol=http" 370<varname>SRC_URI</varname> = "git://git.oe.handhelds.org/git/vip.git;protocol=http"
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py
index 88adfc1dfa..4c7afc9c21 100644
--- a/bitbake/lib/bb/__init__.py
+++ b/bitbake/lib/bb/__init__.py
@@ -28,6 +28,41 @@ if sys.version_info < (2, 6, 0):
28 raise RuntimeError("Sorry, python 2.6.0 or later is required for this version of bitbake") 28 raise RuntimeError("Sorry, python 2.6.0 or later is required for this version of bitbake")
29 29
30import os 30import os
31import logging
32import traceback
33
34class NullHandler(logging.Handler):
35 def emit(self, record):
36 pass
37
38Logger = logging.getLoggerClass()
39class BBLogger(Logger):
40 def __init__(self, name):
41 if name.split(".")[0] == "BitBake":
42 self.debug = self.bbdebug
43 Logger.__init__(self, name)
44
45 def bbdebug(self, level, msg, *args, **kwargs):
46 return self.log(logging.DEBUG - level + 1, msg, *args, **kwargs)
47
48 def plain(self, msg, *args, **kwargs):
49 return self.log(logging.INFO + 1, msg, *args, **kwargs)
50
51 def verbose(self, msg, *args, **kwargs):
52 return self.log(logging.INFO - 1, msg, *args, **kwargs)
53
54 def exception(self, msg, *args, **kwargs):
55 return self.critical("%s\n%s" % (msg, traceback.format_exc()), *args, **kwargs)
56
57logging.raiseExceptions = False
58logging.setLoggerClass(BBLogger)
59
60logger = logging.getLogger("BitBake")
61logger.addHandler(NullHandler())
62logger.setLevel(logging.INFO)
63
64# This has to be imported after the setLoggerClass, as the import of bb.msg
65# can result in construction of the various loggers.
31import bb.msg 66import bb.msg
32 67
33if "BBDEBUG" in os.environ: 68if "BBDEBUG" in os.environ:
@@ -35,25 +70,29 @@ if "BBDEBUG" in os.environ:
35 if level: 70 if level:
36 bb.msg.set_debug_level(level) 71 bb.msg.set_debug_level(level)
37 72
73if True or os.environ.get("BBFETCH2"):
74 from bb import fetch2 as fetch
75 sys.modules['bb.fetch'] = sys.modules['bb.fetch2']
38 76
39# Messaging convenience functions 77# Messaging convenience functions
40def plain(*args): 78def plain(*args):
41 bb.msg.plain(''.join(args)) 79 logger.plain(''.join(args))
42 80
43def debug(lvl, *args): 81def debug(lvl, *args):
44 bb.msg.debug(lvl, None, ''.join(args)) 82 logger.debug(lvl, ''.join(args))
45 83
46def note(*args): 84def note(*args):
47 bb.msg.note(1, None, ''.join(args)) 85 logger.info(''.join(args))
48 86
49def warn(*args): 87def warn(*args):
50 bb.msg.warn(None, ''.join(args)) 88 logger.warn(''.join(args))
51 89
52def error(*args): 90def error(*args):
53 bb.msg.error(None, ''.join(args)) 91 logger.error(''.join(args))
54 92
55def fatal(*args): 93def fatal(*args):
56 bb.msg.fatal(None, ''.join(args)) 94 logger.critical(''.join(args))
95 sys.exit(1)
57 96
58 97
59def deprecated(func, name = None, advice = ""): 98def deprecated(func, name = None, advice = ""):
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 18a75edca3..07bd35afcc 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -25,9 +25,20 @@
25# 25#
26#Based on functions from the base bb module, Copyright 2003 Holger Schurig 26#Based on functions from the base bb module, Copyright 2003 Holger Schurig
27 27
28import os
29import sys
30import logging
31import bb
32import bb.msg
33import bb.process
34from contextlib import nested
28from bb import data, event, mkdirhier, utils 35from bb import data, event, mkdirhier, utils
29import bb, os, sys 36
30import bb.utils 37bblogger = logging.getLogger('BitBake')
38logger = logging.getLogger('BitBake.Build')
39
40NULL = open(os.devnull, 'r+')
41
31 42
32# When we execute a python function we'd like certain things 43# When we execute a python function we'd like certain things
33# in all namespaces, hence we add them to __builtins__ 44# in all namespaces, hence we add them to __builtins__
@@ -36,13 +47,22 @@ import bb.utils
36__builtins__['bb'] = bb 47__builtins__['bb'] = bb
37__builtins__['os'] = os 48__builtins__['os'] = os
38 49
39# events
40class FuncFailed(Exception): 50class FuncFailed(Exception):
41 """ 51 def __init__(self, name = None, logfile = None):
42 Executed function failed 52 self.logfile = logfile
43 First parameter a message 53 self.name = name
44 Second paramter is a logfile (optional) 54 if name:
45 """ 55 self.msg = "Function '%s' failed" % name
56 else:
57 self.msg = "Function failed"
58
59 def __str__(self):
60 if self.logfile and os.path.exists(self.logfile):
61 msg = ("%s (see %s for further information)" %
62 (self.msg, self.logfile))
63 else:
64 msg = self.msg
65 return msg
46 66
47class TaskBase(event.Event): 67class TaskBase(event.Event):
48 """Base class for task events""" 68 """Base class for task events"""
@@ -69,38 +89,56 @@ class TaskSucceeded(TaskBase):
69 89
70class TaskFailed(TaskBase): 90class TaskFailed(TaskBase):
71 """Task execution failed""" 91 """Task execution failed"""
72 def __init__(self, msg, logfile, t, d ): 92
93 def __init__(self, task, logfile, metadata):
73 self.logfile = logfile 94 self.logfile = logfile
74 self.msg = msg 95 super(TaskFailed, self).__init__(task, metadata)
75 TaskBase.__init__(self, t, d)
76 96
77class TaskInvalid(TaskBase): 97class TaskInvalid(TaskBase):
78 """Invalid Task"""
79 98
80# functions 99 def __init__(self, task, metadata):
100 super(TaskInvalid, self).__init__(task, metadata)
101 self._message = "No such task '%s'" % task
102
103
104class LogTee(object):
105 def __init__(self, logger, outfile):
106 self.outfile = outfile
107 self.logger = logger
108 self.name = self.outfile.name
109
110 def write(self, string):
111 self.logger.plain(string)
112 self.outfile.write(string)
113
114 def __enter__(self):
115 self.outfile.__enter__()
116 return self
117
118 def __exit__(self, *excinfo):
119 self.outfile.__exit__(*excinfo)
120
121 def __repr__(self):
122 return '<LogTee {0}>'.format(self.name)
123
81 124
82def exec_func(func, d, dirs = None): 125def exec_func(func, d, dirs = None):
83 """Execute an BB 'function'""" 126 """Execute an BB 'function'"""
84 127
85 body = data.getVar(func, d) 128 body = data.getVar(func, d)
86 if not body: 129 if not body:
87 bb.warn("Function %s doesn't exist" % func) 130 if body is None:
131 logger.warn("Function %s doesn't exist", func)
88 return 132 return
89 133
90 flags = data.getVarFlags(func, d) 134 flags = data.getVarFlags(func, d)
91 for item in ['deps', 'check', 'interactive', 'python', 'cleandirs', 'dirs', 'lockfiles', 'fakeroot', 'task']: 135 cleandirs = flags.get('cleandirs')
92 if not item in flags:
93 flags[item] = None
94
95 ispython = flags['python']
96
97 cleandirs = flags['cleandirs']
98 if cleandirs: 136 if cleandirs:
99 for cdir in data.expand(cleandirs, d).split(): 137 for cdir in data.expand(cleandirs, d).split():
100 os.system("rm -rf %s" % cdir) 138 bb.utils.remove(cdir, True)
101 139
102 if dirs is None: 140 if dirs is None:
103 dirs = flags['dirs'] 141 dirs = flags.get('dirs')
104 if dirs: 142 if dirs:
105 dirs = data.expand(dirs, d).split() 143 dirs = data.expand(dirs, d).split()
106 144
@@ -110,277 +148,254 @@ def exec_func(func, d, dirs = None):
110 adir = dirs[-1] 148 adir = dirs[-1]
111 else: 149 else:
112 adir = data.getVar('B', d, 1) 150 adir = data.getVar('B', d, 1)
151 if not os.path.exists(adir):
152 adir = None
113 153
114 # Save current directory 154 ispython = flags.get('python')
115 try: 155 if flags.get('fakeroot') and not flags.get('task'):
116 prevdir = os.getcwd() 156 bb.fatal("Function %s specifies fakeroot but isn't a task?!" % func)
117 except OSError:
118 prevdir = data.getVar('TOPDIR', d, True)
119
120 # Setup scriptfile
121 t = data.getVar('T', d, 1)
122 if not t:
123 raise SystemExit("T variable not set, unable to build")
124 bb.utils.mkdirhier(t)
125 runfile = "%s/run.%s.%s" % (t, func, str(os.getpid()))
126 logfile = d.getVar("BB_LOGFILE", True)
127
128 # Change to correct directory (if specified)
129 if adir and os.access(adir, os.F_OK):
130 os.chdir(adir)
131
132 locks = []
133 lockfiles = flags['lockfiles']
134 if lockfiles:
135 for lock in data.expand(lockfiles, d).split():
136 locks.append(bb.utils.lockfile(lock))
137 157
138 try: 158 lockflag = flags.get('lockfiles')
139 # Run the function 159 if lockflag:
140 if ispython: 160 lockfiles = [data.expand(f, d) for f in lockflag.split()]
141 exec_func_python(func, d, runfile, logfile) 161 else:
142 else: 162 lockfiles = None
143 exec_func_shell(func, d, runfile, logfile, flags)
144 163
145 # Restore original directory 164 tempdir = data.getVar('T', d, 1)
146 try: 165 runfile = os.path.join(tempdir, 'run.{0}.{1}'.format(func, os.getpid()))
147 os.chdir(prevdir)
148 except:
149 pass
150 166
151 finally: 167 with bb.utils.fileslocked(lockfiles):
168 if ispython:
169 exec_func_python(func, d, runfile, cwd=adir)
170 else:
171 exec_func_shell(func, d, runfile, cwd=adir)
152 172
153 # Unlock any lockfiles 173_functionfmt = """
154 for lock in locks: 174def {function}(d):
155 bb.utils.unlockfile(lock) 175{body}
156 176
157def exec_func_python(func, d, runfile, logfile): 177{function}(d)
178"""
179logformatter = bb.msg.BBLogFormatter("%(levelname)s: %(message)s")
180def exec_func_python(func, d, runfile, cwd=None):
158 """Execute a python BB 'function'""" 181 """Execute a python BB 'function'"""
159 182
160 bbfile = bb.data.getVar('FILE', d, 1) 183 bbfile = d.getVar('FILE', True)
161 tmp = "def " + func + "(d):\n%s" % data.getVar(func, d) 184 try:
162 tmp += '\n' + func + '(d)' 185 olddir = os.getcwd()
186 except OSError:
187 olddir = None
188 code = _functionfmt.format(function=func, body=d.getVar(func, True))
189 bb.utils.mkdirhier(os.path.dirname(runfile))
190 with open(runfile, 'w') as script:
191 script.write(code)
192
193 if cwd:
194 os.chdir(cwd)
163 195
164 f = open(runfile, "w")
165 f.write(tmp)
166 comp = utils.better_compile(tmp, func, bbfile)
167 try: 196 try:
168 utils.better_exec(comp, {"d": d}, tmp, bbfile) 197 comp = utils.better_compile(code, func, bbfile)
198 utils.better_exec(comp, {"d": d}, code, bbfile)
169 except: 199 except:
170 (t, value, tb) = sys.exc_info() 200 if sys.exc_info()[0] in (bb.parse.SkipPackage, bb.build.FuncFailed):
171
172 if t in [bb.parse.SkipPackage, bb.build.FuncFailed]:
173 raise 201 raise
174 raise FuncFailed("Function %s failed" % func, logfile)
175 202
203 raise FuncFailed(func, None)
204 finally:
205 if olddir:
206 os.chdir(olddir)
176 207
177def exec_func_shell(func, d, runfile, logfile, flags): 208def exec_func_shell(function, d, runfile, cwd=None):
178 """Execute a shell BB 'function' Returns true if execution was successful. 209 """Execute a shell function from the metadata
179
180 For this, it creates a bash shell script in the tmp dectory, writes the local
181 data into it and finally executes. The output of the shell will end in a log file and stdout.
182 210
183 Note on directory behavior. The 'dirs' varflag should contain a list 211 Note on directory behavior. The 'dirs' varflag should contain a list
184 of the directories you need created prior to execution. The last 212 of the directories you need created prior to execution. The last
185 item in the list is where we will chdir/cd to. 213 item in the list is where we will chdir/cd to.
186 """ 214 """
187 215
188 deps = flags['deps'] 216 # Don't let the emitted shell script override PWD
189 check = flags['check'] 217 d.delVarFlag('PWD', 'export')
190 if check in globals():
191 if globals()[check](func, deps):
192 return
193
194 f = open(runfile, "w")
195 f.write("#!/bin/sh -e\n")
196 if bb.msg.debug_level['default'] > 0: f.write("set -x\n")
197 data.emit_func(func, f, d)
198
199 f.write("cd %s\n" % os.getcwd())
200 if func: f.write("%s\n" % func)
201 f.close()
202 os.chmod(runfile, 0775)
203 if not func:
204 raise FuncFailed("Function not specified for exec_func_shell")
205
206 # execute function
207 if flags['fakeroot'] and not flags['task']:
208 bb.fatal("Function %s specifies fakeroot but isn't a task?!" % func)
209
210 lang_environment = "LC_ALL=C "
211 ret = os.system('%ssh -e %s' % (lang_environment, runfile))
212 218
213 if ret == 0: 219 with open(runfile, 'w') as script:
214 return 220 script.write('#!/bin/sh -e\n')
221 if logger.isEnabledFor(logging.DEBUG):
222 script.write("set -x\n")
223 data.emit_func(function, script, d)
215 224
216 raise FuncFailed("function %s failed" % func, logfile) 225 script.write("%s\n" % function)
226 os.fchmod(script.fileno(), 0775)
217 227
228 env = {
229 'PATH': d.getVar('PATH', True),
230 'LC_ALL': 'C',
231 }
218 232
219def exec_task(fn, task, d): 233 cmd = runfile
220 """Execute an BB 'task'
221 234
222 The primary difference between executing a task versus executing 235 if logger.isEnabledFor(logging.DEBUG):
223 a function is that a task exists in the task digraph, and therefore 236 logfile = LogTee(logger, sys.stdout)
224 has dependencies amongst other tasks.""" 237 else:
238 logfile = sys.stdout
225 239
226 # Check whther this is a valid task 240 try:
241 bb.process.run(cmd, env=env, cwd=cwd, shell=False, stdin=NULL,
242 log=logfile)
243 except bb.process.CmdError:
244 logfn = d.getVar('BB_LOGFILE', True)
245 raise FuncFailed(function, logfn)
246
247def _task_data(fn, task, d):
248 localdata = data.createCopy(d)
249 localdata.setVar('BB_FILENAME', fn)
250 localdata.setVar('BB_CURRENTTASK', task[3:])
251 localdata.setVar('OVERRIDES', 'task-%s:%s' %
252 (task[3:], d.getVar('OVERRIDES', False)))
253 localdata.finalize()
254 data.expandKeys(localdata)
255 return localdata
256
257def _exec_task(fn, task, d, quieterr):
258 """Execute a BB 'task'
259
260 Execution of a task involves a bit more setup than executing a function,
261 running it with its own local metadata, and with some useful variables set.
262 """
227 if not data.getVarFlag(task, 'task', d): 263 if not data.getVarFlag(task, 'task', d):
228 event.fire(TaskInvalid(task, d), d) 264 event.fire(TaskInvalid(task, d), d)
229 bb.msg.error(bb.msg.domain.Build, "No such task: %s" % task) 265 logger.error("No such task: %s" % task)
230 return 1 266 return 1
231 267
232 quieterr = False 268 logger.debug(1, "Executing task %s", task)
233 if d.getVarFlag(task, "quieterrors") is not None: 269
234 quieterr = True 270 localdata = _task_data(fn, task, d)
271 tempdir = localdata.getVar('T', True)
272 if not tempdir:
273 bb.fatal("T variable not set, unable to build")
274
275 bb.utils.mkdirhier(tempdir)
276 loglink = os.path.join(tempdir, 'log.{0}'.format(task))
277 logfn = os.path.join(tempdir, 'log.{0}.{1}'.format(task, os.getpid()))
278 if loglink:
279 bb.utils.remove(loglink)
235 280
236 try:
237 bb.msg.debug(1, bb.msg.domain.Build, "Executing task %s" % task)
238 old_overrides = data.getVar('OVERRIDES', d, 0)
239 localdata = data.createCopy(d)
240 data.setVar('OVERRIDES', 'task-%s:%s' % (task[3:], old_overrides), localdata)
241 data.update_data(localdata)
242 data.expandKeys(localdata)
243 data.setVar('BB_FILENAME', fn, d)
244 data.setVar('BB_CURRENTTASK', task[3:], d)
245 event.fire(TaskStarted(task, localdata), localdata)
246
247 # Setup logfiles
248 t = data.getVar('T', d, 1)
249 if not t:
250 raise SystemExit("T variable not set, unable to build")
251 bb.utils.mkdirhier(t)
252 loglink = "%s/log.%s" % (t, task)
253 logfile = "%s/log.%s.%s" % (t, task, str(os.getpid()))
254 d.setVar("BB_LOGFILE", logfile)
255
256 # Even though the log file has not yet been opened, lets create the link
257 if loglink:
258 try:
259 os.remove(loglink)
260 except OSError as e:
261 pass
262
263 try:
264 os.symlink(logfile, loglink)
265 except OSError as e:
266 pass
267
268 # Handle logfiles
269 si = file('/dev/null', 'r')
270 try: 281 try:
271 so = file(logfile, 'w') 282 os.symlink(logfn, loglink)
272 except OSError as e: 283 except OSError:
273 bb.msg.error(bb.msg.domain.Build, "opening log file: %s" % e) 284 pass
274 pass
275 se = so
276
277 # Dup the existing fds so we dont lose them
278 osi = [os.dup(sys.stdin.fileno()), sys.stdin.fileno()]
279 oso = [os.dup(sys.stdout.fileno()), sys.stdout.fileno()]
280 ose = [os.dup(sys.stderr.fileno()), sys.stderr.fileno()]
281
282 # Replace those fds with our own
283 os.dup2(si.fileno(), osi[1])
284 os.dup2(so.fileno(), oso[1])
285 os.dup2(se.fileno(), ose[1])
286
287 # Since we've remapped stdout and stderr, its safe for log messages to be printed there now
288 # exec_func can nest so we have to save state
289 origstdout = bb.event.useStdout
290 bb.event.useStdout = True
291
292
293 prefuncs = (data.getVarFlag(task, 'prefuncs', localdata) or "").split()
294 for func in prefuncs:
295 exec_func(func, localdata)
296 exec_func(task, localdata)
297 postfuncs = (data.getVarFlag(task, 'postfuncs', localdata) or "").split()
298 for func in postfuncs:
299 exec_func(func, localdata)
300 285
301 event.fire(TaskSucceeded(task, localdata), localdata) 286 prefuncs = localdata.getVarFlag(task, 'prefuncs', expand=True)
287 postfuncs = localdata.getVarFlag(task, 'postfuncs', expand=True)
302 288
303 # make stamp, or cause event and raise exception 289 # Handle logfiles
304 if not data.getVarFlag(task, 'nostamp', d) and not data.getVarFlag(task, 'selfstamp', d): 290 si = file('/dev/null', 'r')
305 make_stamp(task, d) 291 try:
292 logfile = file(logfn, 'w')
293 except OSError:
294 logger.exception("Opening log file '%s'", logfn)
295 pass
306 296
307 except FuncFailed as message: 297 # Dup the existing fds so we dont lose them
308 # Try to extract the optional logfile 298 osi = [os.dup(sys.stdin.fileno()), sys.stdin.fileno()]
309 try: 299 oso = [os.dup(sys.stdout.fileno()), sys.stdout.fileno()]
310 (msg, logfile) = message 300 ose = [os.dup(sys.stderr.fileno()), sys.stderr.fileno()]
311 except:
312 logfile = None
313 msg = message
314 if not quieterr:
315 bb.msg.error(bb.msg.domain.Build, "Task failed: %s" % message )
316 failedevent = TaskFailed(msg, logfile, task, d)
317 event.fire(failedevent, d)
318 return 1
319 301
320 except Exception: 302 # Replace those fds with our own
321 from traceback import format_exc 303 os.dup2(si.fileno(), osi[1])
304 os.dup2(logfile.fileno(), oso[1])
305 os.dup2(logfile.fileno(), ose[1])
306
307 # Ensure python logging goes to the logfile
308 handler = logging.StreamHandler(logfile)
309 handler.setFormatter(logformatter)
310 bblogger.addHandler(handler)
311
312 localdata.setVar('BB_LOGFILE', logfn)
313
314 event.fire(TaskStarted(task, localdata), localdata)
315 try:
316 for func in (prefuncs or '').split():
317 exec_func(func, localdata)
318 exec_func(task, localdata)
319 for func in (postfuncs or '').split():
320 exec_func(func, localdata)
321 except FuncFailed as exc:
322 if not quieterr: 322 if not quieterr:
323 bb.msg.error(bb.msg.domain.Build, "Build of %s failed" % (task)) 323 logger.error(str(exc))
324 bb.msg.error(bb.msg.domain.Build, format_exc()) 324 event.fire(TaskFailed(exc.name, logfn, localdata), localdata)
325 failedevent = TaskFailed("Task Failed", None, task, d)
326 event.fire(failedevent, d)
327 return 1 325 return 1
328 finally: 326 finally:
329 sys.stdout.flush() 327 sys.stdout.flush()
330 sys.stderr.flush() 328 sys.stderr.flush()
331 329
332 bb.event.useStdout = origstdout 330 bblogger.removeHandler(handler)
333 331
334 # Restore the backup fds 332 # Restore the backup fds
335 os.dup2(osi[0], osi[1]) 333 os.dup2(osi[0], osi[1])
336 os.dup2(oso[0], oso[1]) 334 os.dup2(oso[0], oso[1])
337 os.dup2(ose[0], ose[1]) 335 os.dup2(ose[0], ose[1])
338 336
339 # Close our logs
340 si.close()
341 so.close()
342 se.close()
343
344 if logfile and os.path.exists(logfile) and os.path.getsize(logfile) == 0:
345 bb.msg.debug(2, bb.msg.domain.Build, "Zero size logfile %s, removing" % logfile)
346 os.remove(logfile)
347 try:
348 os.remove(loglink)
349 except OSError as e:
350 pass
351
352 # Close the backup fds 337 # Close the backup fds
353 os.close(osi[0]) 338 os.close(osi[0])
354 os.close(oso[0]) 339 os.close(oso[0])
355 os.close(ose[0]) 340 os.close(ose[0])
341 si.close()
342
343 logfile.close()
344 if os.path.exists(logfn) and os.path.getsize(logfn) == 0:
345 logger.debug(2, "Zero size logfn %s, removing", logfn)
346 bb.utils.remove(logfn)
347 bb.utils.remove(loglink)
348 event.fire(TaskSucceeded(task, localdata), localdata)
349
350 if not localdata.getVarFlag(task, 'nostamp') and not localdata.getVarFlag(task, 'selfstamp'):
351 make_stamp(task, localdata)
356 352
357 return 0 353 return 0
358 354
359def extract_stamp(d, fn): 355def exec_task(fn, task, d):
360 """ 356 try:
361 Extracts stamp format which is either a data dictionary (fn unset) 357 quieterr = False
362 or a dataCache entry (fn set). 358 if d.getVarFlag(task, "quieterrors") is not None:
363 """ 359 quieterr = True
364 if fn: 360
365 return d.stamp[fn] 361 return _exec_task(fn, task, d, quieterr)
366 return data.getVar('STAMP', d, 1) 362 except Exception:
363 from traceback import format_exc
364 if not quieterr:
365 logger.error("Build of %s failed" % (task))
366 logger.error(format_exc())
367 failedevent = TaskFailed("Task Failed", None, task, d)
368 event.fire(failedevent, d)
369 return 1
367 370
368def stamp_internal(task, d, file_name): 371def stamp_internal(taskname, d, file_name):
369 """ 372 """
370 Internal stamp helper function 373 Internal stamp helper function
371 Removes any stamp for the given task
372 Makes sure the stamp directory exists 374 Makes sure the stamp directory exists
373 Returns the stamp path+filename 375 Returns the stamp path+filename
376
377 In the bitbake core, d can be a CacheData and file_name will be set.
378 When called in task context, d will be a data store, file_name will not be set
374 """ 379 """
375 stamp = extract_stamp(d, file_name) 380 taskflagname = taskname
381 if taskname.endswith("_setscene") and taskname != "do_setscene":
382 taskflagname = taskname.replace("_setscene", "")
383
384 if file_name:
385 stamp = d.stamp[file_name]
386 extrainfo = d.stamp_extrainfo[file_name].get(taskflagname) or ""
387 else:
388 stamp = d.getVar('STAMP', True)
389 file_name = d.getVar('BB_FILENAME', True)
390 extrainfo = d.getVarFlag(taskflagname, 'stamp-extra-info', True) or ""
391
376 if not stamp: 392 if not stamp:
377 return 393 return
378 stamp = "%s.%s" % (stamp, task) 394
395 stamp = bb.parse.siggen.stampfile(stamp, file_name, taskname, extrainfo)
396
379 bb.utils.mkdirhier(os.path.dirname(stamp)) 397 bb.utils.mkdirhier(os.path.dirname(stamp))
380 # Remove the file and recreate to force timestamp 398
381 # change on broken NFS filesystems
382 if os.access(stamp, os.F_OK):
383 os.remove(stamp)
384 return stamp 399 return stamp
385 400
386def make_stamp(task, d, file_name = None): 401def make_stamp(task, d, file_name = None):
@@ -389,7 +404,10 @@ def make_stamp(task, d, file_name = None):
389 (d can be a data dict or dataCache) 404 (d can be a data dict or dataCache)
390 """ 405 """
391 stamp = stamp_internal(task, d, file_name) 406 stamp = stamp_internal(task, d, file_name)
407 # Remove the file and recreate to force timestamp
408 # change on broken NFS filesystems
392 if stamp: 409 if stamp:
410 bb.utils.remove(stamp)
393 f = open(stamp, "w") 411 f = open(stamp, "w")
394 f.close() 412 f.close()
395 413
@@ -398,7 +416,15 @@ def del_stamp(task, d, file_name = None):
398 Removes a stamp for a given task 416 Removes a stamp for a given task
399 (d can be a data dict or dataCache) 417 (d can be a data dict or dataCache)
400 """ 418 """
401 stamp_internal(task, d, file_name) 419 stamp = stamp_internal(task, d, file_name)
420 bb.utils.remove(stamp)
421
422def stampfile(taskname, d, file_name = None):
423 """
424 Return the stamp for a given task
425 (d can be a data dict or dataCache)
426 """
427 return stamp_internal(taskname, d, file_name)
402 428
403def add_tasks(tasklist, d): 429def add_tasks(tasklist, d):
404 task_deps = data.getVar('_task_deps', d) 430 task_deps = data.getVar('_task_deps', d)
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index c6f3794d5e..ff42a37b44 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -29,27 +29,153 @@
29 29
30 30
31import os 31import os
32import logging
33from collections import defaultdict, namedtuple
32import bb.data 34import bb.data
33import bb.utils 35import bb.utils
34 36
37logger = logging.getLogger("BitBake.Cache")
38
35try: 39try:
36 import cPickle as pickle 40 import cPickle as pickle
37except ImportError: 41except ImportError:
38 import pickle 42 import pickle
39 bb.msg.note(1, bb.msg.domain.Cache, "Importing cPickle failed. Falling back to a very slow implementation.") 43 logger.info("Importing cPickle failed. "
40 44 "Falling back to a very slow implementation.")
41__cache_version__ = "132" 45
42 46__cache_version__ = "136"
43class Cache: 47
48recipe_fields = (
49 'pn',
50 'pv',
51 'pr',
52 'pe',
53 'defaultpref',
54 'depends',
55 'provides',
56 'task_deps',
57 'stamp',
58 'stamp_extrainfo',
59 'broken',
60 'not_world',
61 'skipped',
62 'timestamp',
63 'packages',
64 'packages_dynamic',
65 'rdepends',
66 'rdepends_pkg',
67 'rprovides',
68 'rprovides_pkg',
69 'rrecommends',
70 'rrecommends_pkg',
71 'nocache',
72 'variants',
73 'file_depends',
74 'tasks',
75 'basetaskhashes',
76 'hashfilename',
77)
78
79
80class RecipeInfo(namedtuple('RecipeInfo', recipe_fields)):
81 __slots__ = ()
82
83 @classmethod
84 def listvar(cls, var, metadata):
85 return cls.getvar(var, metadata).split()
86
87 @classmethod
88 def intvar(cls, var, metadata):
89 return int(cls.getvar(var, metadata) or 0)
90
91 @classmethod
92 def depvar(cls, var, metadata):
93 return bb.utils.explode_deps(cls.getvar(var, metadata))
94
95 @classmethod
96 def pkgvar(cls, var, packages, metadata):
97 return dict((pkg, cls.depvar("%s_%s" % (var, pkg), metadata))
98 for pkg in packages)
99
100 @classmethod
101 def taskvar(cls, var, tasks, metadata):
102 return dict((task, cls.getvar("%s_task-%s" % (var, task), metadata))
103 for task in tasks)
104
105 @classmethod
106 def flaglist(cls, flag, varlist, metadata):
107 return dict((var, metadata.getVarFlag(var, flag, True))
108 for var in varlist)
109
110 @classmethod
111 def getvar(cls, var, metadata):
112 return metadata.getVar(var, True) or ''
113
114 @classmethod
115 def make_optional(cls, default=None, **kwargs):
116 """Construct the namedtuple from the specified keyword arguments,
117 with every value considered optional, using the default value if
118 it was not specified."""
119 for field in cls._fields:
120 kwargs[field] = kwargs.get(field, default)
121 return cls(**kwargs)
122
123 @classmethod
124 def from_metadata(cls, filename, metadata):
125 if cls.getvar('__SKIPPED', metadata):
126 return cls.make_optional(skipped=True)
127
128 tasks = metadata.getVar('__BBTASKS', False)
129
130 pn = cls.getvar('PN', metadata)
131 packages = cls.listvar('PACKAGES', metadata)
132 if not pn in packages:
133 packages.append(pn)
134
135 return RecipeInfo(
136 tasks = tasks,
137 basetaskhashes = cls.taskvar('BB_BASEHASH', tasks, metadata),
138 hashfilename = cls.getvar('BB_HASHFILENAME', metadata),
139
140 file_depends = metadata.getVar('__depends', False),
141 task_deps = metadata.getVar('_task_deps', False) or
142 {'tasks': [], 'parents': {}},
143 variants = cls.listvar('__VARIANTS', metadata) + [''],
144
145 skipped = False,
146 timestamp = bb.parse.cached_mtime(filename),
147 packages = cls.listvar('PACKAGES', metadata),
148 pn = pn,
149 pe = cls.getvar('PE', metadata),
150 pv = cls.getvar('PV', metadata),
151 pr = cls.getvar('PR', metadata),
152 nocache = cls.getvar('__BB_DONT_CACHE', metadata),
153 defaultpref = cls.intvar('DEFAULT_PREFERENCE', metadata),
154 broken = cls.getvar('BROKEN', metadata),
155 not_world = cls.getvar('EXCLUDE_FROM_WORLD', metadata),
156 stamp = cls.getvar('STAMP', metadata),
157 stamp_extrainfo = cls.flaglist('stamp-extra-info', tasks, metadata),
158 packages_dynamic = cls.listvar('PACKAGES_DYNAMIC', metadata),
159 depends = cls.depvar('DEPENDS', metadata),
160 provides = cls.depvar('PROVIDES', metadata),
161 rdepends = cls.depvar('RDEPENDS', metadata),
162 rprovides = cls.depvar('RPROVIDES', metadata),
163 rrecommends = cls.depvar('RRECOMMENDS', metadata),
164 rprovides_pkg = cls.pkgvar('RPROVIDES', packages, metadata),
165 rdepends_pkg = cls.pkgvar('RDEPENDS', packages, metadata),
166 rrecommends_pkg = cls.pkgvar('RRECOMMENDS', packages, metadata),
167 )
168
169
170class Cache(object):
44 """ 171 """
45 BitBake Cache implementation 172 BitBake Cache implementation
46 """ 173 """
47 def __init__(self, data):
48
49 174
175 def __init__(self, data):
50 self.cachedir = bb.data.getVar("CACHE", data, True) 176 self.cachedir = bb.data.getVar("CACHE", data, True)
51 self.clean = {} 177 self.clean = set()
52 self.checked = {} 178 self.checked = set()
53 self.depends_cache = {} 179 self.depends_cache = {}
54 self.data = None 180 self.data = None
55 self.data_fn = None 181 self.data_fn = None
@@ -57,92 +183,74 @@ class Cache:
57 183
58 if self.cachedir in [None, '']: 184 if self.cachedir in [None, '']:
59 self.has_cache = False 185 self.has_cache = False
60 bb.msg.note(1, bb.msg.domain.Cache, "Not using a cache. Set CACHE = <directory> to enable.") 186 logger.info("Not using a cache. "
187 "Set CACHE = <directory> to enable.")
61 return 188 return
62 189
63 self.has_cache = True 190 self.has_cache = True
64 self.cachefile = os.path.join(self.cachedir, "bb_cache.dat") 191 self.cachefile = os.path.join(self.cachedir, "bb_cache.dat")
65 192
66 bb.msg.debug(1, bb.msg.domain.Cache, "Using cache in '%s'" % self.cachedir) 193 logger.debug(1, "Using cache in '%s'", self.cachedir)
67 bb.utils.mkdirhier(self.cachedir) 194 bb.utils.mkdirhier(self.cachedir)
68 195
69 # If any of configuration.data's dependencies are newer than the 196 # If any of configuration.data's dependencies are newer than the
70 # cache there isn't even any point in loading it... 197 # cache there isn't even any point in loading it...
71 newest_mtime = 0 198 newest_mtime = 0
72 deps = bb.data.getVar("__depends", data) 199 deps = bb.data.getVar("__base_depends", data)
73 200
74 old_mtimes = [old_mtime for f, old_mtime in deps] 201 old_mtimes = [old_mtime for _, old_mtime in deps]
75 old_mtimes.append(newest_mtime) 202 old_mtimes.append(newest_mtime)
76 newest_mtime = max(old_mtimes) 203 newest_mtime = max(old_mtimes)
77 204
78 if bb.parse.cached_mtime_noerror(self.cachefile) >= newest_mtime: 205 if bb.parse.cached_mtime_noerror(self.cachefile) >= newest_mtime:
79 try: 206 self.load_cachefile()
80 p = pickle.Unpickler(file(self.cachefile, "rb")) 207 elif os.path.isfile(self.cachefile):
81 self.depends_cache, version_data = p.load() 208 logger.info("Out of date cache found, rebuilding...")
82 if version_data['CACHE_VER'] != __cache_version__:
83 raise ValueError('Cache Version Mismatch')
84 if version_data['BITBAKE_VER'] != bb.__version__:
85 raise ValueError('Bitbake Version Mismatch')
86 except EOFError:
87 bb.msg.note(1, bb.msg.domain.Cache, "Truncated cache found, rebuilding...")
88 self.depends_cache = {}
89 except:
90 bb.msg.note(1, bb.msg.domain.Cache, "Invalid cache found, rebuilding...")
91 self.depends_cache = {}
92 else:
93 if os.path.isfile(self.cachefile):
94 bb.msg.note(1, bb.msg.domain.Cache, "Out of date cache found, rebuilding...")
95
96 def getVar(self, var, fn, exp = 0):
97 """
98 Gets the value of a variable
99 (similar to getVar in the data class)
100
101 There are two scenarios:
102 1. We have cached data - serve from depends_cache[fn]
103 2. We're learning what data to cache - serve from data
104 backend but add a copy of the data to the cache.
105 """
106 if fn in self.clean:
107 return self.depends_cache[fn][var]
108
109 self.depends_cache.setdefault(fn, {})
110
111 if fn != self.data_fn:
112 # We're trying to access data in the cache which doesn't exist
113 # yet setData hasn't been called to setup the right access. Very bad.
114 bb.msg.error(bb.msg.domain.Cache, "Parsing error data_fn %s and fn %s don't match" % (self.data_fn, fn))
115
116 self.cacheclean = False
117 result = bb.data.getVar(var, self.data, exp)
118 self.depends_cache[fn][var] = result
119 return result
120
121 def setData(self, virtualfn, fn, data):
122 """
123 Called to prime bb_cache ready to learn which variables to cache.
124 Will be followed by calls to self.getVar which aren't cached
125 but can be fulfilled from self.data.
126 """
127 self.data_fn = virtualfn
128 self.data = data
129
130 # Make sure __depends makes the depends_cache
131 # If we're a virtual class we need to make sure all our depends are appended
132 # to the depends of fn.
133 depends = self.getVar("__depends", virtualfn) or set()
134 self.depends_cache.setdefault(fn, {})
135 if "__depends" not in self.depends_cache[fn] or not self.depends_cache[fn]["__depends"]:
136 self.depends_cache[fn]["__depends"] = depends
137 else:
138 self.depends_cache[fn]["__depends"].update(depends)
139
140 # Make sure the variants always make it into the cache too
141 self.getVar('__VARIANTS', virtualfn, True)
142 209
143 self.depends_cache[virtualfn]["CACHETIMESTAMP"] = bb.parse.cached_mtime(fn) 210 def load_cachefile(self):
144 211 with open(self.cachefile, "rb") as cachefile:
145 def virtualfn2realfn(self, virtualfn): 212 pickled = pickle.Unpickler(cachefile)
213 try:
214 cache_ver = pickled.load()
215 bitbake_ver = pickled.load()
216 except Exception:
217 logger.info('Invalid cache, rebuilding...')
218 return
219
220 if cache_ver != __cache_version__:
221 logger.info('Cache version mismatch, rebuilding...')
222 return
223 elif bitbake_ver != bb.__version__:
224 logger.info('Bitbake version mismatch, rebuilding...')
225 return
226
227 cachesize = os.fstat(cachefile.fileno()).st_size
228 bb.event.fire(bb.event.CacheLoadStarted(cachesize), self.data)
229
230 previous_percent = 0
231 while cachefile:
232 try:
233 key = pickled.load()
234 value = pickled.load()
235 except Exception:
236 break
237
238 self.depends_cache[key] = value
239
240 # only fire events on even percentage boundaries
241 current_progress = cachefile.tell()
242 current_percent = 100 * current_progress / cachesize
243 if current_percent > previous_percent:
244 previous_percent = current_percent
245 bb.event.fire(bb.event.CacheLoadProgress(current_progress),
246 self.data)
247
248 bb.event.fire(bb.event.CacheLoadCompleted(cachesize,
249 len(self.depends_cache)),
250 self.data)
251
252 @staticmethod
253 def virtualfn2realfn(virtualfn):
146 """ 254 """
147 Convert a virtual file name to a real one + the associated subclass keyword 255 Convert a virtual file name to a real one + the associated subclass keyword
148 """ 256 """
@@ -152,79 +260,94 @@ class Cache:
152 if virtualfn.startswith('virtual:'): 260 if virtualfn.startswith('virtual:'):
153 cls = virtualfn.split(':', 2)[1] 261 cls = virtualfn.split(':', 2)[1]
154 fn = virtualfn.replace('virtual:' + cls + ':', '') 262 fn = virtualfn.replace('virtual:' + cls + ':', '')
155 #bb.msg.debug(2, bb.msg.domain.Cache, "virtualfn2realfn %s to %s %s" % (virtualfn, fn, cls))
156 return (fn, cls) 263 return (fn, cls)
157 264
158 def realfn2virtual(self, realfn, cls): 265 @staticmethod
266 def realfn2virtual(realfn, cls):
159 """ 267 """
160 Convert a real filename + the associated subclass keyword to a virtual filename 268 Convert a real filename + the associated subclass keyword to a virtual filename
161 """ 269 """
162 if cls == "": 270 if cls == "":
163 #bb.msg.debug(2, bb.msg.domain.Cache, "realfn2virtual %s and '%s' to %s" % (realfn, cls, realfn))
164 return realfn 271 return realfn
165 #bb.msg.debug(2, bb.msg.domain.Cache, "realfn2virtual %s and %s to %s" % (realfn, cls, "virtual:" + cls + ":" + realfn))
166 return "virtual:" + cls + ":" + realfn 272 return "virtual:" + cls + ":" + realfn
167 273
168 def loadDataFull(self, virtualfn, appends, cfgData): 274 @classmethod
275 def loadDataFull(cls, virtualfn, appends, cfgData):
169 """ 276 """
170 Return a complete set of data for fn. 277 Return a complete set of data for fn.
171 To do this, we need to parse the file. 278 To do this, we need to parse the file.
172 """ 279 """
173 280
174 (fn, cls) = self.virtualfn2realfn(virtualfn) 281 (fn, virtual) = cls.virtualfn2realfn(virtualfn)
175 282
176 bb.msg.debug(1, bb.msg.domain.Cache, "Parsing %s (full)" % fn) 283 logger.debug(1, "Parsing %s (full)", fn)
284
285 bb_data = cls.load_bbfile(fn, appends, cfgData)
286 return bb_data[virtual]
287
288 @classmethod
289 def parse(cls, filename, appends, configdata):
290 """Parse the specified filename, returning the recipe information"""
291 infos = []
292 datastores = cls.load_bbfile(filename, appends, configdata)
293 depends = set()
294 for variant, data in sorted(datastores.iteritems(),
295 key=lambda i: i[0],
296 reverse=True):
297 virtualfn = cls.realfn2virtual(filename, variant)
298 depends |= (data.getVar("__depends", False) or set())
299 if depends and not variant:
300 data.setVar("__depends", depends)
301 info = RecipeInfo.from_metadata(filename, data)
302 infos.append((virtualfn, info))
303 return infos
304
305 def load(self, filename, appends, configdata):
306 """Obtain the recipe information for the specified filename,
307 using cached values if available, otherwise parsing.
308
309 Note that if it does parse to obtain the info, it will not
310 automatically add the information to the cache or to your
311 CacheData. Use the add or add_info method to do so after
312 running this, or use loadData instead."""
313 cached = self.cacheValid(filename)
314 if cached:
315 infos = []
316 info = self.depends_cache[filename]
317 for variant in info.variants:
318 virtualfn = self.realfn2virtual(filename, variant)
319 infos.append((virtualfn, self.depends_cache[virtualfn]))
320 else:
321 logger.debug(1, "Parsing %s", filename)
322 return self.parse(filename, appends, configdata)
177 323
178 bb_data = self.load_bbfile(fn, appends, cfgData) 324 return cached, infos
179 return bb_data[cls]
180 325
181 def loadData(self, fn, appends, cfgData, cacheData): 326 def loadData(self, fn, appends, cfgData, cacheData):
182 """ 327 """Load the recipe info for the specified filename,
183 Load a subset of data for fn. 328 parsing and adding to the cache if necessary, and adding
184 If the cached data is valid we do nothing, 329 the recipe information to the supplied CacheData instance."""
185 To do this, we need to parse the file and set the system 330 skipped, virtuals = 0, 0
186 to record the variables accessed. 331
187 Return the cache status and whether the file was skipped when parsed 332 cached, infos = self.load(fn, appends, cfgData)
188 """ 333 for virtualfn, info in infos:
189 skipped = 0 334 if info.skipped:
190 virtuals = 0 335 logger.debug(1, "Skipping %s", virtualfn)
191
192 if fn not in self.checked:
193 self.cacheValidUpdate(fn)
194
195 if self.cacheValid(fn):
196 multi = self.getVar('__VARIANTS', fn, True)
197 for cls in (multi or "").split() + [""]:
198 virtualfn = self.realfn2virtual(fn, cls)
199 if self.depends_cache[virtualfn]["__SKIPPED"]:
200 skipped += 1
201 bb.msg.debug(1, bb.msg.domain.Cache, "Skipping %s" % virtualfn)
202 continue
203 self.handle_data(virtualfn, cacheData)
204 virtuals += 1
205 return True, skipped, virtuals
206
207 bb.msg.debug(1, bb.msg.domain.Cache, "Parsing %s" % fn)
208
209 bb_data = self.load_bbfile(fn, appends, cfgData)
210
211 for data in bb_data:
212 virtualfn = self.realfn2virtual(fn, data)
213 self.setData(virtualfn, fn, bb_data[data])
214 if self.getVar("__SKIPPED", virtualfn):
215 skipped += 1 336 skipped += 1
216 bb.msg.debug(1, bb.msg.domain.Cache, "Skipping %s" % virtualfn)
217 else: 337 else:
218 self.handle_data(virtualfn, cacheData) 338 self.add_info(virtualfn, info, cacheData, not cached)
219 virtuals += 1 339 virtuals += 1
220 return False, skipped, virtuals
221 340
341 return cached, skipped, virtuals
222 342
223 def cacheValid(self, fn): 343 def cacheValid(self, fn):
224 """ 344 """
225 Is the cache valid for fn? 345 Is the cache valid for fn?
226 Fast version, no timestamps checked. 346 Fast version, no timestamps checked.
227 """ 347 """
348 if fn not in self.checked:
349 self.cacheValidUpdate(fn)
350
228 # Is cache enabled? 351 # Is cache enabled?
229 if not self.has_cache: 352 if not self.has_cache:
230 return False 353 return False
@@ -241,70 +364,67 @@ class Cache:
241 if not self.has_cache: 364 if not self.has_cache:
242 return False 365 return False
243 366
244 self.checked[fn] = "" 367 self.checked.add(fn)
245
246 # Pretend we're clean so getVar works
247 self.clean[fn] = ""
248 368
249 # File isn't in depends_cache 369 # File isn't in depends_cache
250 if not fn in self.depends_cache: 370 if not fn in self.depends_cache:
251 bb.msg.debug(2, bb.msg.domain.Cache, "Cache: %s is not cached" % fn) 371 logger.debug(2, "Cache: %s is not cached", fn)
252 self.remove(fn)
253 return False 372 return False
254 373
255 mtime = bb.parse.cached_mtime_noerror(fn) 374 mtime = bb.parse.cached_mtime_noerror(fn)
256 375
257 # Check file still exists 376 # Check file still exists
258 if mtime == 0: 377 if mtime == 0:
259 bb.msg.debug(2, bb.msg.domain.Cache, "Cache: %s no longer exists" % fn) 378 logger.debug(2, "Cache: %s no longer exists", fn)
260 self.remove(fn) 379 self.remove(fn)
261 return False 380 return False
262 381
382 info = self.depends_cache[fn]
263 # Check the file's timestamp 383 # Check the file's timestamp
264 if mtime != self.getVar("CACHETIMESTAMP", fn, True): 384 if mtime != info.timestamp:
265 bb.msg.debug(2, bb.msg.domain.Cache, "Cache: %s changed" % fn) 385 logger.debug(2, "Cache: %s changed", fn)
266 self.remove(fn) 386 self.remove(fn)
267 return False 387 return False
268 388
269 # Check dependencies are still valid 389 # Check dependencies are still valid
270 depends = self.getVar("__depends", fn, True) 390 depends = info.file_depends
271 if depends: 391 if depends:
272 for f, old_mtime in depends: 392 for f, old_mtime in depends:
273 fmtime = bb.parse.cached_mtime_noerror(f) 393 fmtime = bb.parse.cached_mtime_noerror(f)
274 # Check if file still exists 394 # Check if file still exists
275 if old_mtime != 0 and fmtime == 0: 395 if old_mtime != 0 and fmtime == 0:
396 logger.debug(2, "Cache: %s's dependency %s was removed",
397 fn, f)
276 self.remove(fn) 398 self.remove(fn)
277 return False 399 return False
278 400
279 if (fmtime != old_mtime): 401 if (fmtime != old_mtime):
280 bb.msg.debug(2, bb.msg.domain.Cache, "Cache: %s's dependency %s changed" % (fn, f)) 402 logger.debug(2, "Cache: %s's dependency %s changed",
403 fn, f)
281 self.remove(fn) 404 self.remove(fn)
282 return False 405 return False
283 406
284 #bb.msg.debug(2, bb.msg.domain.Cache, "Depends Cache: %s is clean" % fn)
285 if not fn in self.clean:
286 self.clean[fn] = ""
287
288 invalid = False 407 invalid = False
289 # Mark extended class data as clean too 408 for cls in info.variants:
290 multi = self.getVar('__VARIANTS', fn, True)
291 for cls in (multi or "").split():
292 virtualfn = self.realfn2virtual(fn, cls) 409 virtualfn = self.realfn2virtual(fn, cls)
293 self.clean[virtualfn] = "" 410 self.clean.add(virtualfn)
294 if not virtualfn in self.depends_cache: 411 if virtualfn not in self.depends_cache:
295 bb.msg.debug(2, bb.msg.domain.Cache, "Cache: %s is not cached" % virtualfn) 412 logger.debug(2, "Cache: %s is not cached", virtualfn)
296 invalid = True 413 invalid = True
297 414
298 # If any one of the varients is not present, mark cache as invalid for all 415 # If any one of the variants is not present, mark as invalid for all
299 if invalid: 416 if invalid:
300 for cls in (multi or "").split(): 417 for cls in info.variants:
301 virtualfn = self.realfn2virtual(fn, cls) 418 virtualfn = self.realfn2virtual(fn, cls)
302 bb.msg.debug(2, bb.msg.domain.Cache, "Cache: Removing %s from cache" % virtualfn) 419 if virtualfn in self.clean:
303 del self.clean[virtualfn] 420 logger.debug(2, "Cache: Removing %s from cache", virtualfn)
304 bb.msg.debug(2, bb.msg.domain.Cache, "Cache: Removing %s from cache" % fn) 421 self.clean.remove(virtualfn)
305 del self.clean[fn] 422 if fn in self.clean:
423 logger.debug(2, "Cache: Marking %s as not clean", fn)
424 self.clean.remove(fn)
306 return False 425 return False
307 426
427 self.clean.add(fn)
308 return True 428 return True
309 429
310 def remove(self, fn): 430 def remove(self, fn):
@@ -312,154 +432,61 @@ class Cache:
312 Remove a fn from the cache 432 Remove a fn from the cache
313 Called from the parser in error cases 433 Called from the parser in error cases
314 """ 434 """
315 bb.msg.debug(1, bb.msg.domain.Cache, "Removing %s from cache" % fn)
316 if fn in self.depends_cache: 435 if fn in self.depends_cache:
436 logger.debug(1, "Removing %s from cache", fn)
317 del self.depends_cache[fn] 437 del self.depends_cache[fn]
318 if fn in self.clean: 438 if fn in self.clean:
319 del self.clean[fn] 439 logger.debug(1, "Marking %s as unclean", fn)
440 self.clean.remove(fn)
320 441
321 def sync(self): 442 def sync(self):
322 """ 443 """
323 Save the cache 444 Save the cache
324 Called from the parser when complete (or exiting) 445 Called from the parser when complete (or exiting)
325 """ 446 """
326 import copy
327 447
328 if not self.has_cache: 448 if not self.has_cache:
329 return 449 return
330 450
331 if self.cacheclean: 451 if self.cacheclean:
332 bb.msg.note(1, bb.msg.domain.Cache, "Cache is clean, not saving.") 452 logger.debug(2, "Cache is clean, not saving.")
333 return 453 return
334 454
335 version_data = {} 455 with open(self.cachefile, "wb") as cachefile:
336 version_data['CACHE_VER'] = __cache_version__ 456 pickler = pickle.Pickler(cachefile, pickle.HIGHEST_PROTOCOL)
337 version_data['BITBAKE_VER'] = bb.__version__ 457 pickler.dump(__cache_version__)
338 458 pickler.dump(bb.__version__)
339 cache_data = copy.copy(self.depends_cache) 459 for key, value in self.depends_cache.iteritems():
340 for fn in self.depends_cache: 460 pickler.dump(key)
341 if '__BB_DONT_CACHE' in self.depends_cache[fn] and self.depends_cache[fn]['__BB_DONT_CACHE']: 461 pickler.dump(value)
342 bb.msg.debug(2, bb.msg.domain.Cache, "Not caching %s, marked as not cacheable" % fn)
343 del cache_data[fn]
344 elif 'PV' in self.depends_cache[fn] and 'SRCREVINACTION' in self.depends_cache[fn]['PV']:
345 bb.msg.error(bb.msg.domain.Cache, "Not caching %s as it had SRCREVINACTION in PV. Please report this bug" % fn)
346 del cache_data[fn]
347 462
348 p = pickle.Pickler(file(self.cachefile, "wb" ), -1 ) 463 del self.depends_cache
349 p.dump([cache_data, version_data])
350 464
351 def mtime(self, cachefile): 465 @staticmethod
466 def mtime(cachefile):
352 return bb.parse.cached_mtime_noerror(cachefile) 467 return bb.parse.cached_mtime_noerror(cachefile)
353 468
354 def handle_data(self, file_name, cacheData): 469 def add_info(self, filename, info, cacheData, parsed=None):
470 cacheData.add_from_recipeinfo(filename, info)
471 if not self.has_cache:
472 return
473
474 if 'SRCREVINACTION' not in info.pv and not info.nocache:
475 if parsed:
476 self.cacheclean = False
477 self.depends_cache[filename] = info
478
479 def add(self, file_name, data, cacheData, parsed=None):
355 """ 480 """
356 Save data we need into the cache 481 Save data we need into the cache
357 """ 482 """
358 483
359 pn = self.getVar('PN', file_name, True) 484 realfn = self.virtualfn2realfn(file_name)[0]
360 pe = self.getVar('PE', file_name, True) or "0" 485 info = RecipeInfo.from_metadata(realfn, data)
361 pv = self.getVar('PV', file_name, True) 486 self.add_info(file_name, info, cacheData, parsed)
362 if 'SRCREVINACTION' in pv:
363 bb.msg.note(1, bb.msg.domain.Cache, "Found SRCREVINACTION in PV (%s) or %s. Please report this bug." % (pv, file_name))
364 pr = self.getVar('PR', file_name, True)
365 dp = int(self.getVar('DEFAULT_PREFERENCE', file_name, True) or "0")
366 depends = bb.utils.explode_deps(self.getVar("DEPENDS", file_name, True) or "")
367 packages = (self.getVar('PACKAGES', file_name, True) or "").split()
368 packages_dynamic = (self.getVar('PACKAGES_DYNAMIC', file_name, True) or "").split()
369 rprovides = (self.getVar("RPROVIDES", file_name, True) or "").split()
370
371 cacheData.task_deps[file_name] = self.getVar("_task_deps", file_name)
372
373 # build PackageName to FileName lookup table
374 if pn not in cacheData.pkg_pn:
375 cacheData.pkg_pn[pn] = []
376 cacheData.pkg_pn[pn].append(file_name)
377
378 cacheData.stamp[file_name] = self.getVar('STAMP', file_name, True)
379
380 cacheData.tasks[file_name] = self.getVar('__BBTASKS', file_name, True)
381 for t in cacheData.tasks[file_name]:
382 cacheData.basetaskhash[file_name + "." + t] = self.getVar("BB_BASEHASH_task-%s" % t, file_name, True)
383
384 # build FileName to PackageName lookup table
385 cacheData.pkg_fn[file_name] = pn
386 cacheData.pkg_pepvpr[file_name] = (pe, pv, pr)
387 cacheData.pkg_dp[file_name] = dp
388
389 provides = [pn]
390 for provide in (self.getVar("PROVIDES", file_name, True) or "").split():
391 if provide not in provides:
392 provides.append(provide)
393
394 # Build forward and reverse provider hashes
395 # Forward: virtual -> [filenames]
396 # Reverse: PN -> [virtuals]
397 if pn not in cacheData.pn_provides:
398 cacheData.pn_provides[pn] = []
399
400 cacheData.fn_provides[file_name] = provides
401 for provide in provides:
402 if provide not in cacheData.providers:
403 cacheData.providers[provide] = []
404 cacheData.providers[provide].append(file_name)
405 if not provide in cacheData.pn_provides[pn]:
406 cacheData.pn_provides[pn].append(provide)
407
408 cacheData.deps[file_name] = []
409 for dep in depends:
410 if not dep in cacheData.deps[file_name]:
411 cacheData.deps[file_name].append(dep)
412 if not dep in cacheData.all_depends:
413 cacheData.all_depends.append(dep)
414
415 # Build reverse hash for PACKAGES, so runtime dependencies
416 # can be be resolved (RDEPENDS, RRECOMMENDS etc.)
417 for package in packages:
418 if not package in cacheData.packages:
419 cacheData.packages[package] = []
420 cacheData.packages[package].append(file_name)
421 rprovides += (self.getVar("RPROVIDES_%s" % package, file_name, 1) or "").split()
422
423 for package in packages_dynamic:
424 if not package in cacheData.packages_dynamic:
425 cacheData.packages_dynamic[package] = []
426 cacheData.packages_dynamic[package].append(file_name)
427
428 for rprovide in rprovides:
429 if not rprovide in cacheData.rproviders:
430 cacheData.rproviders[rprovide] = []
431 cacheData.rproviders[rprovide].append(file_name)
432
433 # Build hash of runtime depends and rececommends
434
435 if not file_name in cacheData.rundeps:
436 cacheData.rundeps[file_name] = {}
437 if not file_name in cacheData.runrecs:
438 cacheData.runrecs[file_name] = {}
439
440 rdepends = self.getVar('RDEPENDS', file_name, True) or ""
441 rrecommends = self.getVar('RRECOMMENDS', file_name, True) or ""
442 for package in packages + [pn]:
443 if not package in cacheData.rundeps[file_name]:
444 cacheData.rundeps[file_name][package] = []
445 if not package in cacheData.runrecs[file_name]:
446 cacheData.runrecs[file_name][package] = []
447
448 cacheData.rundeps[file_name][package] = rdepends + " " + (self.getVar("RDEPENDS_%s" % package, file_name, True) or "")
449 cacheData.runrecs[file_name][package] = rrecommends + " " + (self.getVar("RRECOMMENDS_%s" % package, file_name, True) or "")
450
451 # Collect files we may need for possible world-dep
452 # calculations
453 if not self.getVar('BROKEN', file_name, True) and not self.getVar('EXCLUDE_FROM_WORLD', file_name, True):
454 cacheData.possible_world.append(file_name)
455 487
456 cacheData.hashfn[file_name] = self.getVar('BB_HASHFILENAME', file_name, True) 488 @staticmethod
457 489 def load_bbfile(bbfile, appends, config):
458 # Touch this to make sure its in the cache
459 self.getVar('__BB_DONT_CACHE', file_name, True)
460 self.getVar('__VARIANTS', file_name, True)
461
462 def load_bbfile(self, bbfile, appends, config):
463 """ 490 """
464 Load and parse one .bb build file 491 Load and parse one .bb build file
465 Return the data and whether parsing resulted in the file being skipped 492 Return the data and whether parsing resulted in the file being skipped
@@ -485,13 +512,16 @@ class Cache:
485 try: 512 try:
486 if appends: 513 if appends:
487 data.setVar('__BBAPPEND', " ".join(appends), bb_data) 514 data.setVar('__BBAPPEND', " ".join(appends), bb_data)
488 bb_data = parse.handle(bbfile, bb_data) # read .bb data 515 bb_data = parse.handle(bbfile, bb_data)
489 if chdir_back: os.chdir(oldpath) 516 if chdir_back:
517 os.chdir(oldpath)
490 return bb_data 518 return bb_data
491 except: 519 except:
492 if chdir_back: os.chdir(oldpath) 520 if chdir_back:
521 os.chdir(oldpath)
493 raise 522 raise
494 523
524
495def init(cooker): 525def init(cooker):
496 """ 526 """
497 The Objective: Cache the minimum amount of data possible yet get to the 527 The Objective: Cache the minimum amount of data possible yet get to the
@@ -512,11 +542,7 @@ def init(cooker):
512 return Cache(cooker.configuration.data) 542 return Cache(cooker.configuration.data)
513 543
514 544
515 545class CacheData(object):
516#============================================================================#
517# CacheData
518#============================================================================#
519class CacheData:
520 """ 546 """
521 The data structures we compile from the cached data 547 The data structures we compile from the cached data
522 """ 548 """
@@ -524,26 +550,26 @@ class CacheData:
524 def __init__(self): 550 def __init__(self):
525 """ 551 """
526 Direct cache variables 552 Direct cache variables
527 (from Cache.handle_data)
528 """ 553 """
529 self.providers = {} 554 self.providers = defaultdict(list)
530 self.rproviders = {} 555 self.rproviders = defaultdict(list)
531 self.packages = {} 556 self.packages = defaultdict(list)
532 self.packages_dynamic = {} 557 self.packages_dynamic = defaultdict(list)
533 self.possible_world = [] 558 self.possible_world = []
534 self.pkg_pn = {} 559 self.pkg_pn = defaultdict(list)
535 self.pkg_fn = {} 560 self.pkg_fn = {}
536 self.pkg_pepvpr = {} 561 self.pkg_pepvpr = {}
537 self.pkg_dp = {} 562 self.pkg_dp = {}
538 self.pn_provides = {} 563 self.pn_provides = defaultdict(list)
539 self.fn_provides = {} 564 self.fn_provides = {}
540 self.all_depends = [] 565 self.all_depends = []
541 self.deps = {} 566 self.deps = defaultdict(list)
542 self.rundeps = {} 567 self.rundeps = defaultdict(lambda: defaultdict(list))
543 self.runrecs = {} 568 self.runrecs = defaultdict(lambda: defaultdict(list))
544 self.task_queues = {} 569 self.task_queues = {}
545 self.task_deps = {} 570 self.task_deps = {}
546 self.stamp = {} 571 self.stamp = {}
572 self.stamp_extrainfo = {}
547 self.preferred = {} 573 self.preferred = {}
548 self.tasks = {} 574 self.tasks = {}
549 self.basetaskhash = {} 575 self.basetaskhash = {}
@@ -557,3 +583,55 @@ class CacheData:
557 self.world_target = set() 583 self.world_target = set()
558 self.bbfile_priority = {} 584 self.bbfile_priority = {}
559 self.bbfile_config_priorities = [] 585 self.bbfile_config_priorities = []
586
587 def add_from_recipeinfo(self, fn, info):
588 self.task_deps[fn] = info.task_deps
589 self.pkg_fn[fn] = info.pn
590 self.pkg_pn[info.pn].append(fn)
591 self.pkg_pepvpr[fn] = (info.pe, info.pv, info.pr)
592 self.pkg_dp[fn] = info.defaultpref
593 self.stamp[fn] = info.stamp
594 self.stamp_extrainfo[fn] = info.stamp_extrainfo
595
596 provides = [info.pn]
597 for provide in info.provides:
598 if provide not in provides:
599 provides.append(provide)
600 self.fn_provides[fn] = provides
601
602 for provide in provides:
603 self.providers[provide].append(fn)
604 if provide not in self.pn_provides[info.pn]:
605 self.pn_provides[info.pn].append(provide)
606
607 for dep in info.depends:
608 if dep not in self.deps[fn]:
609 self.deps[fn].append(dep)
610 if dep not in self.all_depends:
611 self.all_depends.append(dep)
612
613 rprovides = info.rprovides
614 for package in info.packages:
615 self.packages[package].append(fn)
616 rprovides += info.rprovides_pkg[package]
617
618 for rprovide in rprovides:
619 self.rproviders[rprovide].append(fn)
620
621 for package in info.packages_dynamic:
622 self.packages_dynamic[package].append(fn)
623
624 # Build hash of runtime depends and rececommends
625 for package in info.packages + [info.pn]:
626 self.rundeps[fn][package] = list(info.rdepends) + info.rdepends_pkg[package]
627 self.runrecs[fn][package] = list(info.rrecommends) + info.rrecommends_pkg[package]
628
629 # Collect files we may need for possible world-dep
630 # calculations
631 if not info.broken and not info.not_world:
632 self.possible_world.append(fn)
633
634 self.hashfn[fn] = info.hashfilename
635 for task, taskhash in info.basetaskhashes.iteritems():
636 identifier = '%s.%s' % (fn, task)
637 self.basetaskhash[identifier] = taskhash
diff --git a/bitbake/lib/bb/codeparser.py b/bitbake/lib/bb/codeparser.py
index ba3009212b..bfffcacc33 100644
--- a/bitbake/lib/bb/codeparser.py
+++ b/bitbake/lib/bb/codeparser.py
@@ -1,16 +1,21 @@
1from pysh import pyshyacc, pyshlex
2from itertools import chain
3from bb import msg, utils
4import ast 1import ast
5import codegen 2import codegen
3import logging
4import os.path
5import bb.utils, bb.data
6from itertools import chain
7from pysh import pyshyacc, pyshlex
6 8
9
10logger = logging.getLogger('BitBake.CodeParser')
7PARSERCACHE_VERSION = 2 11PARSERCACHE_VERSION = 2
8 12
9try: 13try:
10 import cPickle as pickle 14 import cPickle as pickle
11except ImportError: 15except ImportError:
12 import pickle 16 import pickle
13 bb.msg.note(1, bb.msg.domain.Cache, "Importing cPickle failed. Falling back to a very slow implementation.") 17 logger.info('Importing cPickle failed. Falling back to a very slow implementation.')
18
14 19
15def check_indent(codestr): 20def check_indent(codestr):
16 """If the code is indented, add a top level piece of code to 'remove' the indentation""" 21 """If the code is indented, add a top level piece of code to 'remove' the indentation"""
@@ -23,7 +28,7 @@ def check_indent(codestr):
23 return codestr 28 return codestr
24 29
25 if codestr[i-1] is " " or codestr[i-1] is " ": 30 if codestr[i-1] is " " or codestr[i-1] is " ":
26 return "if 1:\n" + codestr 31 return "if 1:\n" + codestr
27 32
28 return codestr 33 return codestr
29 34
@@ -31,15 +36,18 @@ pythonparsecache = {}
31shellparsecache = {} 36shellparsecache = {}
32 37
33def parser_cachefile(d): 38def parser_cachefile(d):
34 cachedir = bb.data.getVar("PERSISTENT_DIR", d, True) or bb.data.getVar("CACHE", d, True) 39 cachedir = (bb.data.getVar("PERSISTENT_DIR", d, True) or
40 bb.data.getVar("CACHE", d, True))
35 if cachedir in [None, '']: 41 if cachedir in [None, '']:
36 return None 42 return None
37 bb.utils.mkdirhier(cachedir) 43 bb.utils.mkdirhier(cachedir)
38 cachefile = os.path.join(cachedir, "bb_codeparser.dat") 44 cachefile = os.path.join(cachedir, "bb_codeparser.dat")
39 bb.msg.debug(1, bb.msg.domain.Cache, "Using cache in '%s' for codeparser cache" % cachefile) 45 logger.debug(1, "Using cache in '%s' for codeparser cache", cachefile)
40 return cachefile 46 return cachefile
41 47
42def parser_cache_init(d): 48def parser_cache_init(d):
49 global pythonparsecache
50 global shellparsecache
43 51
44 cachefile = parser_cachefile(d) 52 cachefile = parser_cachefile(d)
45 if not cachefile: 53 if not cachefile:
@@ -54,17 +62,16 @@ def parser_cache_init(d):
54 if version != PARSERCACHE_VERSION: 62 if version != PARSERCACHE_VERSION:
55 return 63 return
56 64
57 bb.codeparser.pythonparsecache = data[0] 65 pythonparsecache = data[0]
58 bb.codeparser.shellparsecache = data[1] 66 shellparsecache = data[1]
59 67
60def parser_cache_save(d): 68def parser_cache_save(d):
61
62 cachefile = parser_cachefile(d) 69 cachefile = parser_cachefile(d)
63 if not cachefile: 70 if not cachefile:
64 return 71 return
65 72
66 p = pickle.Pickler(file(cachefile, "wb"), -1) 73 p = pickle.Pickler(file(cachefile, "wb"), -1)
67 p.dump([[bb.codeparser.pythonparsecache, bb.codeparser.shellparsecache], PARSERCACHE_VERSION]) 74 p.dump([[pythonparsecache, shellparsecache], PARSERCACHE_VERSION])
68 75
69class PythonParser(): 76class PythonParser():
70 class ValueVisitor(): 77 class ValueVisitor():
@@ -129,10 +136,10 @@ class PythonParser():
129 funcstr = codegen.to_source(func) 136 funcstr = codegen.to_source(func)
130 argstr = codegen.to_source(arg) 137 argstr = codegen.to_source(arg)
131 except TypeError: 138 except TypeError:
132 msg.debug(2, None, "Failed to convert function and argument to source form") 139 logger.debug(2, 'Failed to convert function and argument to source form')
133 else: 140 else:
134 msg.debug(1, None, "Warning: in call to '%s', argument '%s' is not a literal" % 141 logger.debug(1, "Warning: in call to '%s', argument '%s' is "
135 (funcstr, argstr)) 142 "not a literal", funcstr, argstr)
136 143
137 def visit_Call(self, node): 144 def visit_Call(self, node):
138 if self.compare_name(self.getvars, node.func): 145 if self.compare_name(self.getvars, node.func):
@@ -184,7 +191,7 @@ class PythonParser():
184 self.execs = pythonparsecache[h]["execs"] 191 self.execs = pythonparsecache[h]["execs"]
185 return 192 return
186 193
187 code = compile(check_indent(str(node)), "<string>", "exec", 194 code = compile(check_indent(str(node)), "<string>", "exec",
188 ast.PyCF_ONLY_AST) 195 ast.PyCF_ONLY_AST)
189 196
190 visitor = self.ValueVisitor(code) 197 visitor = self.ValueVisitor(code)
@@ -319,11 +326,11 @@ class ShellParser():
319 326
320 cmd = word[1] 327 cmd = word[1]
321 if cmd.startswith("$"): 328 if cmd.startswith("$"):
322 msg.debug(1, None, "Warning: execution of non-literal command '%s'" % cmd) 329 logger.debug(1, "Warning: execution of non-literal "
330 "command '%s'", cmd)
323 elif cmd == "eval": 331 elif cmd == "eval":
324 command = " ".join(word for _, word in words[1:]) 332 command = " ".join(word for _, word in words[1:])
325 self.parse_shell(command) 333 self.parse_shell(command)
326 else: 334 else:
327 self.allexecs.add(cmd) 335 self.allexecs.add(cmd)
328 break 336 break
329
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 9a8d689e2a..b88089298c 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -35,12 +35,25 @@ import bb.data
35async_cmds = {} 35async_cmds = {}
36sync_cmds = {} 36sync_cmds = {}
37 37
38
39class CommandCompleted(bb.event.Event):
40 pass
41
42class CommandExit(bb.event.Event):
43 def __init__(self, exitcode):
44 bb.event.Event.__init__(self)
45 self.exitcode = int(exitcode)
46
47class CommandFailed(CommandExit):
48 def __init__(self, message):
49 self.error = message
50 CommandExit.__init__(self, 1)
51
38class Command: 52class Command:
39 """ 53 """
40 A queue of asynchronous commands for bitbake 54 A queue of asynchronous commands for bitbake
41 """ 55 """
42 def __init__(self, cooker): 56 def __init__(self, cooker):
43
44 self.cooker = cooker 57 self.cooker = cooker
45 self.cmds_sync = CommandsSync() 58 self.cmds_sync = CommandsSync()
46 self.cmds_async = CommandsAsync() 59 self.cmds_async = CommandsAsync()
@@ -81,7 +94,8 @@ class Command:
81 (command, options) = self.currentAsyncCommand 94 (command, options) = self.currentAsyncCommand
82 commandmethod = getattr(CommandsAsync, command) 95 commandmethod = getattr(CommandsAsync, command)
83 needcache = getattr( commandmethod, "needcache" ) 96 needcache = getattr( commandmethod, "needcache" )
84 if needcache and self.cooker.cookerState != bb.cooker.cookerParsed: 97 if (needcache and self.cooker.state in
98 (bb.cooker.state.initial, bb.cooker.state.parsing)):
85 self.cooker.updateCache() 99 self.cooker.updateCache()
86 return True 100 return True
87 else: 101 else:
@@ -104,11 +118,13 @@ class Command:
104 self.finishAsyncCommand(traceback.format_exc()) 118 self.finishAsyncCommand(traceback.format_exc())
105 return False 119 return False
106 120
107 def finishAsyncCommand(self, error = None): 121 def finishAsyncCommand(self, msg=None, code=None):
108 if error: 122 if msg:
109 bb.event.fire(CookerCommandFailed(error), self.cooker.configuration.event_data) 123 bb.event.fire(CommandFailed(msg), self.cooker.configuration.event_data)
124 elif code:
125 bb.event.fire(CommandExit(code), self.cooker.configuration.event_data)
110 else: 126 else:
111 bb.event.fire(CookerCommandCompleted(), self.cooker.configuration.event_data) 127 bb.event.fire(CommandCompleted(), self.cooker.configuration.event_data)
112 self.currentAsyncCommand = None 128 self.currentAsyncCommand = None
113 129
114 130
@@ -123,13 +139,13 @@ class CommandsSync:
123 """ 139 """
124 Trigger cooker 'shutdown' mode 140 Trigger cooker 'shutdown' mode
125 """ 141 """
126 command.cooker.cookerAction = bb.cooker.cookerShutdown 142 command.cooker.shutdown()
127 143
128 def stateStop(self, command, params): 144 def stateStop(self, command, params):
129 """ 145 """
130 Stop the cooker 146 Stop the cooker
131 """ 147 """
132 command.cooker.cookerAction = bb.cooker.cookerStop 148 command.cooker.stop()
133 149
134 def getCmdLineAction(self, command, params): 150 def getCmdLineAction(self, command, params):
135 """ 151 """
@@ -248,33 +264,8 @@ class CommandsAsync:
248 """ 264 """
249 Parse the .bb files 265 Parse the .bb files
250 """ 266 """
251 command.cooker.compareRevisions() 267 if bb.fetch.fetcher_compare_revisions(command.cooker.configuration.data):
252 command.finishAsyncCommand() 268 command.finishAsyncCommand(code=1)
269 else:
270 command.finishAsyncCommand()
253 compareRevisions.needcache = True 271 compareRevisions.needcache = True
254
255#
256# Events
257#
258class CookerCommandCompleted(bb.event.Event):
259 """
260 Cooker command completed
261 """
262 def __init__(self):
263 bb.event.Event.__init__(self)
264
265
266class CookerCommandFailed(bb.event.Event):
267 """
268 Cooker command completed
269 """
270 def __init__(self, error):
271 bb.event.Event.__init__(self)
272 self.error = error
273
274class CookerCommandSetExitCode(bb.event.Event):
275 """
276 Set the exit code for a cooker command
277 """
278 def __init__(self, exitcode):
279 bb.event.Event.__init__(self)
280 self.exitcode = int(exitcode)
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 95f38f6236..e524db7498 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1,3 +1,4 @@
1#!/usr/bin/env python
1# ex:ts=4:sw=4:sts=4:et 2# ex:ts=4:sw=4:sts=4:et
2# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- 3# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
3# 4#
@@ -23,37 +24,36 @@
23 24
24from __future__ import print_function 25from __future__ import print_function
25import sys, os, glob, os.path, re, time 26import sys, os, glob, os.path, re, time
27import atexit
28import itertools
29import logging
30import multiprocessing
31import signal
26import sre_constants 32import sre_constants
33import threading
27from cStringIO import StringIO 34from cStringIO import StringIO
28from contextlib import closing 35from contextlib import closing
29import bb 36import bb
30from bb import utils, data, parse, event, cache, providers, taskdata, command, runqueue 37from bb import utils, data, parse, event, cache, providers, taskdata, command, runqueue
31 38
39logger = logging.getLogger("BitBake")
40collectlog = logging.getLogger("BitBake.Collection")
41buildlog = logging.getLogger("BitBake.Build")
42parselog = logging.getLogger("BitBake.Parsing")
43providerlog = logging.getLogger("BitBake.Provider")
44
32class MultipleMatches(Exception): 45class MultipleMatches(Exception):
33 """ 46 """
34 Exception raised when multiple file matches are found 47 Exception raised when multiple file matches are found
35 """ 48 """
36 49
37class ParsingErrorsFound(Exception):
38 """
39 Exception raised when parsing errors are found
40 """
41
42class NothingToBuild(Exception): 50class NothingToBuild(Exception):
43 """ 51 """
44 Exception raised when there is nothing to build 52 Exception raised when there is nothing to build
45 """ 53 """
46 54
47 55class state:
48# Different states cooker can be in 56 initial, parsing, running, shutdown, stop = range(5)
49cookerClean = 1
50cookerParsing = 2
51cookerParsed = 3
52
53# Different action states the cooker can be in
54cookerRun = 1 # Cooker is running normally
55cookerShutdown = 2 # Active tasks should be brought to a controlled stop
56cookerStop = 3 # Stop, now!
57 57
58#============================================================================# 58#============================================================================#
59# BBCooker 59# BBCooker
@@ -65,9 +65,7 @@ class BBCooker:
65 65
66 def __init__(self, configuration, server): 66 def __init__(self, configuration, server):
67 self.status = None 67 self.status = None
68 68 self.appendlist = {}
69 self.cache = None
70 self.bb_cache = None
71 69
72 if server: 70 if server:
73 self.server = server.BitBakeServer(self) 71 self.server = server.BitBakeServer(self)
@@ -102,13 +100,12 @@ class BBCooker:
102 import termios 100 import termios
103 tcattr = termios.tcgetattr(fd) 101 tcattr = termios.tcgetattr(fd)
104 if tcattr[3] & termios.TOSTOP: 102 if tcattr[3] & termios.TOSTOP:
105 bb.msg.note(1, bb.msg.domain.Build, "The terminal had the TOSTOP bit set, clearing...") 103 buildlog.info("The terminal had the TOSTOP bit set, clearing...")
106 tcattr[3] = tcattr[3] & ~termios.TOSTOP 104 tcattr[3] = tcattr[3] & ~termios.TOSTOP
107 termios.tcsetattr(fd, termios.TCSANOW, tcattr) 105 termios.tcsetattr(fd, termios.TCSANOW, tcattr)
108 106
109 self.command = bb.command.Command(self) 107 self.command = bb.command.Command(self)
110 self.cookerState = cookerClean 108 self.state = state.initial
111 self.cookerAction = cookerRun
112 109
113 def parseConfiguration(self): 110 def parseConfiguration(self):
114 111
@@ -118,7 +115,7 @@ class BBCooker:
118 if nice: 115 if nice:
119 curnice = os.nice(0) 116 curnice = os.nice(0)
120 nice = int(nice) - curnice 117 nice = int(nice) - curnice
121 bb.msg.note(2, bb.msg.domain.Build, "Renice to %s " % os.nice(nice)) 118 buildlog.verbose("Renice to %s " % os.nice(nice))
122 119
123 def parseCommandLine(self): 120 def parseCommandLine(self):
124 # Parse any commandline into actions 121 # Parse any commandline into actions
@@ -126,11 +123,11 @@ class BBCooker:
126 self.commandlineAction = None 123 self.commandlineAction = None
127 124
128 if 'world' in self.configuration.pkgs_to_build: 125 if 'world' in self.configuration.pkgs_to_build:
129 bb.msg.error(bb.msg.domain.Build, "'world' is not a valid target for --environment.") 126 buildlog.error("'world' is not a valid target for --environment.")
130 elif len(self.configuration.pkgs_to_build) > 1: 127 elif len(self.configuration.pkgs_to_build) > 1:
131 bb.msg.error(bb.msg.domain.Build, "Only one target can be used with the --environment option.") 128 buildlog.error("Only one target can be used with the --environment option.")
132 elif self.configuration.buildfile and len(self.configuration.pkgs_to_build) > 0: 129 elif self.configuration.buildfile and len(self.configuration.pkgs_to_build) > 0:
133 bb.msg.error(bb.msg.domain.Build, "No target should be used with the --environment and --buildfile options.") 130 buildlog.error("No target should be used with the --environment and --buildfile options.")
134 elif len(self.configuration.pkgs_to_build) > 0: 131 elif len(self.configuration.pkgs_to_build) > 0:
135 self.commandlineAction = ["showEnvironmentTarget", self.configuration.pkgs_to_build] 132 self.commandlineAction = ["showEnvironmentTarget", self.configuration.pkgs_to_build]
136 else: 133 else:
@@ -148,13 +145,13 @@ class BBCooker:
148 self.commandlineAction = ["generateDotGraph", self.configuration.pkgs_to_build, self.configuration.cmd] 145 self.commandlineAction = ["generateDotGraph", self.configuration.pkgs_to_build, self.configuration.cmd]
149 else: 146 else:
150 self.commandlineAction = None 147 self.commandlineAction = None
151 bb.msg.error(bb.msg.domain.Build, "Please specify a package name for dependency graph generation.") 148 buildlog.error("Please specify a package name for dependency graph generation.")
152 else: 149 else:
153 if self.configuration.pkgs_to_build: 150 if self.configuration.pkgs_to_build:
154 self.commandlineAction = ["buildTargets", self.configuration.pkgs_to_build, self.configuration.cmd] 151 self.commandlineAction = ["buildTargets", self.configuration.pkgs_to_build, self.configuration.cmd]
155 else: 152 else:
156 self.commandlineAction = None 153 self.commandlineAction = None
157 bb.msg.error(bb.msg.domain.Build, "Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.") 154 buildlog.error("Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.")
158 155
159 def runCommands(self, server, data, abort): 156 def runCommands(self, server, data, abort):
160 """ 157 """
@@ -180,8 +177,8 @@ class BBCooker:
180 preferred_versions[pn] = (pref_ver, pref_file) 177 preferred_versions[pn] = (pref_ver, pref_file)
181 latest_versions[pn] = (last_ver, last_file) 178 latest_versions[pn] = (last_ver, last_file)
182 179
183 bb.msg.plain("%-35s %25s %25s" % ("Package Name", "Latest Version", "Preferred Version")) 180 logger.plain("%-35s %25s %25s", "Package Name", "Latest Version", "Preferred Version")
184 bb.msg.plain("%-35s %25s %25s\n" % ("============", "==============", "=================")) 181 logger.plain("%-35s %25s %25s\n", "============", "==============", "=================")
185 182
186 for p in sorted(pkg_pn): 183 for p in sorted(pkg_pn):
187 pref = preferred_versions[p] 184 pref = preferred_versions[p]
@@ -193,11 +190,7 @@ class BBCooker:
193 if pref == latest: 190 if pref == latest:
194 prefstr = "" 191 prefstr = ""
195 192
196 bb.msg.plain("%-35s %25s %25s" % (p, lateststr, prefstr)) 193 logger.plain("%-35s %25s %25s", p, lateststr, prefstr)
197
198 def compareRevisions(self):
199 ret = bb.fetch.fetcher_compare_revisons(self.configuration.data)
200 bb.event.fire(bb.command.CookerCommandSetExitCode(ret), self.configuration.event_data)
201 194
202 def showEnvironment(self, buildfile = None, pkgs_to_build = []): 195 def showEnvironment(self, buildfile = None, pkgs_to_build = []):
203 """ 196 """
@@ -207,8 +200,6 @@ class BBCooker:
207 envdata = None 200 envdata = None
208 201
209 if buildfile: 202 if buildfile:
210 self.cb = None
211 self.bb_cache = bb.cache.init(self)
212 fn = self.matchFile(buildfile) 203 fn = self.matchFile(buildfile)
213 elif len(pkgs_to_build) == 1: 204 elif len(pkgs_to_build) == 1:
214 self.updateCache() 205 self.updateCache()
@@ -229,28 +220,22 @@ class BBCooker:
229 220
230 if fn: 221 if fn:
231 try: 222 try:
232 envdata = self.bb_cache.loadDataFull(fn, self.get_file_appends(fn), self.configuration.data) 223 envdata = bb.cache.Cache.loadDataFull(fn, self.get_file_appends(fn), self.configuration.data)
233 except IOError as e: 224 except Exception, e:
234 bb.msg.error(bb.msg.domain.Parsing, "Unable to read %s: %s" % (fn, e)) 225 parselog.exception("Unable to read %s", fn)
235 raise
236 except Exception as e:
237 bb.msg.error(bb.msg.domain.Parsing, "%s" % e)
238 raise 226 raise
239 227
240 # emit variables and shell functions 228 # emit variables and shell functions
241 try: 229 data.update_data(envdata)
242 data.update_data(envdata) 230 with closing(StringIO()) as env:
243 with closing(StringIO()) as env: 231 data.emit_env(env, envdata, True)
244 data.emit_env(env, envdata, True) 232 logger.plain(env.getvalue())
245 bb.msg.plain(env.getvalue())
246 except Exception as e:
247 bb.msg.fatal(bb.msg.domain.Parsing, "%s" % e)
248 233
249 # emit the metadata which isnt valid shell 234 # emit the metadata which isnt valid shell
250 data.expandKeys(envdata) 235 data.expandKeys(envdata)
251 for e in envdata.keys(): 236 for e in envdata.keys():
252 if data.getVarFlag( e, 'python', envdata ): 237 if data.getVarFlag( e, 'python', envdata ):
253 bb.msg.plain("\npython %s () {\n%s}\n" % (e, data.getVar(e, envdata, 1))) 238 logger.plain("\npython %s () {\n%s}\n", e, data.getVar(e, envdata, 1))
254 239
255 def generateDepTreeData(self, pkgs_to_build, task): 240 def generateDepTreeData(self, pkgs_to_build, task):
256 """ 241 """
@@ -290,7 +275,7 @@ class BBCooker:
290 depend_tree["rdepends-pkg"] = {} 275 depend_tree["rdepends-pkg"] = {}
291 depend_tree["rrecs-pkg"] = {} 276 depend_tree["rrecs-pkg"] = {}
292 277
293 for task in range(len(rq.rqdata.runq_fnid)): 278 for task in xrange(len(rq.rqdata.runq_fnid)):
294 taskname = rq.rqdata.runq_task[task] 279 taskname = rq.rqdata.runq_task[task]
295 fnid = rq.rqdata.runq_fnid[task] 280 fnid = rq.rqdata.runq_fnid[task]
296 fn = taskdata.fn_index[fnid] 281 fn = taskdata.fn_index[fnid]
@@ -374,7 +359,7 @@ class BBCooker:
374 for rdepend in depgraph["rdepends-pn"][pn]: 359 for rdepend in depgraph["rdepends-pn"][pn]:
375 print('"%s" -> "%s" [style=dashed]' % (pn, rdepend), file=depends_file) 360 print('"%s" -> "%s" [style=dashed]' % (pn, rdepend), file=depends_file)
376 print("}", file=depends_file) 361 print("}", file=depends_file)
377 bb.msg.plain("PN dependencies saved to 'pn-depends.dot'") 362 logger.info("PN dependencies saved to 'pn-depends.dot'")
378 363
379 depends_file = file('package-depends.dot', 'w' ) 364 depends_file = file('package-depends.dot', 'w' )
380 print("digraph depends {", file=depends_file) 365 print("digraph depends {", file=depends_file)
@@ -395,7 +380,7 @@ class BBCooker:
395 for rdepend in depgraph["rrecs-pkg"][package]: 380 for rdepend in depgraph["rrecs-pkg"][package]:
396 print('"%s" -> "%s" [style=dashed]' % (package, rdepend), file=depends_file) 381 print('"%s" -> "%s" [style=dashed]' % (package, rdepend), file=depends_file)
397 print("}", file=depends_file) 382 print("}", file=depends_file)
398 bb.msg.plain("Package dependencies saved to 'package-depends.dot'") 383 logger.info("Package dependencies saved to 'package-depends.dot'")
399 384
400 tdepends_file = file('task-depends.dot', 'w' ) 385 tdepends_file = file('task-depends.dot', 'w' )
401 print("digraph depends {", file=tdepends_file) 386 print("digraph depends {", file=tdepends_file)
@@ -407,7 +392,7 @@ class BBCooker:
407 for dep in depgraph["tdepends"][task]: 392 for dep in depgraph["tdepends"][task]:
408 print('"%s" -> "%s"' % (task, dep), file=tdepends_file) 393 print('"%s" -> "%s"' % (task, dep), file=tdepends_file)
409 print("}", file=tdepends_file) 394 print("}", file=tdepends_file)
410 bb.msg.plain("Task dependencies saved to 'task-depends.dot'") 395 logger.info("Task dependencies saved to 'task-depends.dot'")
411 396
412 def buildDepgraph( self ): 397 def buildDepgraph( self ):
413 all_depends = self.status.all_depends 398 all_depends = self.status.all_depends
@@ -431,10 +416,10 @@ class BBCooker:
431 try: 416 try:
432 (providee, provider) = p.split(':') 417 (providee, provider) = p.split(':')
433 except: 418 except:
434 bb.msg.fatal(bb.msg.domain.Provider, "Malformed option in PREFERRED_PROVIDERS variable: %s" % p) 419 providerlog.critical("Malformed option in PREFERRED_PROVIDERS variable: %s" % p)
435 continue 420 continue
436 if providee in self.status.preferred and self.status.preferred[providee] != provider: 421 if providee in self.status.preferred and self.status.preferred[providee] != provider:
437 bb.msg.error(bb.msg.domain.Provider, "conflicting preferences for %s: both %s and %s specified" % (providee, provider, self.status.preferred[providee])) 422 providerlog.error("conflicting preferences for %s: both %s and %s specified", providee, provider, self.status.preferred[providee])
438 self.status.preferred[providee] = provider 423 self.status.preferred[providee] = provider
439 424
440 # Calculate priorities for each file 425 # Calculate priorities for each file
@@ -443,8 +428,7 @@ class BBCooker:
443 428
444 for collection, pattern, regex, _ in self.status.bbfile_config_priorities: 429 for collection, pattern, regex, _ in self.status.bbfile_config_priorities:
445 if not regex in matched: 430 if not regex in matched:
446 bb.msg.warn(bb.msg.domain.Provider, "No bb files matched BBFILE_PATTERN_%s '%s'" % 431 collectlog.warn("No bb files matched BBFILE_PATTERN_%s '%s'" % (collection, pattern))
447 (collection, pattern))
448 432
449 def buildWorldTargetList(self): 433 def buildWorldTargetList(self):
450 """ 434 """
@@ -452,19 +436,19 @@ class BBCooker:
452 """ 436 """
453 all_depends = self.status.all_depends 437 all_depends = self.status.all_depends
454 pn_provides = self.status.pn_provides 438 pn_provides = self.status.pn_provides
455 bb.msg.debug(1, bb.msg.domain.Parsing, "collating packages for \"world\"") 439 parselog.debug(1, "collating packages for \"world\"")
456 for f in self.status.possible_world: 440 for f in self.status.possible_world:
457 terminal = True 441 terminal = True
458 pn = self.status.pkg_fn[f] 442 pn = self.status.pkg_fn[f]
459 443
460 for p in pn_provides[pn]: 444 for p in pn_provides[pn]:
461 if p.startswith('virtual/'): 445 if p.startswith('virtual/'):
462 bb.msg.debug(2, bb.msg.domain.Parsing, "World build skipping %s due to %s provider starting with virtual/" % (f, p)) 446 parselog.debug(2, "World build skipping %s due to %s provider starting with virtual/", f, p)
463 terminal = False 447 terminal = False
464 break 448 break
465 for pf in self.status.providers[p]: 449 for pf in self.status.providers[p]:
466 if self.status.pkg_fn[pf] != pn: 450 if self.status.pkg_fn[pf] != pn:
467 bb.msg.debug(2, bb.msg.domain.Parsing, "World build skipping %s due to both us and %s providing %s" % (f, pf, p)) 451 parselog.debug(2, "World build skipping %s due to both us and %s providing %s", f, pf, p)
468 terminal = False 452 terminal = False
469 break 453 break
470 if terminal: 454 if terminal:
@@ -478,8 +462,9 @@ class BBCooker:
478 """Drop off into a shell""" 462 """Drop off into a shell"""
479 try: 463 try:
480 from bb import shell 464 from bb import shell
481 except ImportError as details: 465 except ImportError:
482 bb.msg.fatal(bb.msg.domain.Parsing, "Sorry, shell not available (%s)" % details ) 466 parselog.exception("Interactive mode not available")
467 sys.exit(1)
483 else: 468 else:
484 shell.start( self ) 469 shell.start( self )
485 470
@@ -493,70 +478,56 @@ class BBCooker:
493 path, _ = os.path.split(path) 478 path, _ = os.path.split(path)
494 479
495 def parseConfigurationFiles(self, files): 480 def parseConfigurationFiles(self, files):
496 try: 481 def _parse(f, data, include=False):
497 data = self.configuration.data 482 try:
498 483 return bb.parse.handle(f, data, include)
499 bb.parse.init_parser(data, self.configuration.dump_signatures) 484 except (IOError, bb.parse.ParseError) as exc:
500 for f in files: 485 parselog.critical("Unable to parse %s: %s" % (f, exc))
501 data = bb.parse.handle(f, data) 486 sys.exit(1)
502
503 layerconf = self._findLayerConf()
504 if layerconf:
505 bb.msg.debug(2, bb.msg.domain.Parsing, "Found bblayers.conf (%s)" % layerconf)
506 data = bb.parse.handle(layerconf, data)
507
508 layers = (bb.data.getVar('BBLAYERS', data, True) or "").split()
509
510 data = bb.data.createCopy(data)
511 for layer in layers:
512 bb.msg.debug(2, bb.msg.domain.Parsing, "Adding layer %s" % layer)
513 bb.data.setVar('LAYERDIR', layer, data)
514 data = bb.parse.handle(os.path.join(layer, "conf", "layer.conf"), data)
515 487
516 # XXX: Hack, relies on the local keys of the datasmart 488 data = self.configuration.data
517 # instance being stored in the 'dict' attribute and makes 489 bb.parse.init_parser(data)
518 # assumptions about how variable expansion works, but 490 for f in files:
519 # there's no better way to force an expansion of a single 491 data = _parse(f, data)
520 # variable across the datastore today, and this at least
521 # lets us reference LAYERDIR without having to immediately
522 # eval all our variables that use it.
523 for key in data.dict:
524 if key != "_data":
525 value = data.getVar(key, False)
526 if value and "${LAYERDIR}" in value:
527 data.setVar(key, value.replace("${LAYERDIR}", layer))
528 492
529 bb.data.delVar('LAYERDIR', data) 493 layerconf = self._findLayerConf()
494 if layerconf:
495 parselog.debug(2, "Found bblayers.conf (%s)", layerconf)
496 data = _parse(layerconf, data)
530 497
531 if not data.getVar("BBPATH", True): 498 layers = (bb.data.getVar('BBLAYERS', data, True) or "").split()
532 bb.fatal("The BBPATH variable is not set")
533 499
534 data = bb.parse.handle(os.path.join("conf", "bitbake.conf"), data) 500 data = bb.data.createCopy(data)
501 for layer in layers:
502 parselog.debug(2, "Adding layer %s", layer)
503 bb.data.setVar('LAYERDIR', layer, data)
504 data = _parse(os.path.join(layer, "conf", "layer.conf"), data)
505 data.expandVarref('LAYERDIR')
535 506
536 self.configuration.data = data 507 bb.data.delVar('LAYERDIR', data)
537 508
538 # Handle any INHERITs and inherit the base class 509 if not data.getVar("BBPATH", True):
539 inherits = ["base"] + (bb.data.getVar('INHERIT', self.configuration.data, True ) or "").split() 510 raise SystemExit("The BBPATH variable is not set")
540 for inherit in inherits:
541 self.configuration.data = bb.parse.handle(os.path.join('classes', '%s.bbclass' % inherit), self.configuration.data, True )
542 511
543 # Nomally we only register event handlers at the end of parsing .bb files 512 data = _parse(os.path.join("conf", "bitbake.conf"), data)
544 # We register any handlers we've found so far here...
545 for var in bb.data.getVar('__BBHANDLERS', self.configuration.data) or []:
546 bb.event.register(var, bb.data.getVar(var, self.configuration.data))
547 513
548 if bb.data.getVar("BB_WORKERCONTEXT", self.configuration.data) is None: 514 self.configuration.data = data
549 bb.fetch.fetcher_init(self.configuration.data)
550 bb.codeparser.parser_cache_init(self.configuration.data)
551 515
552 bb.parse.init_parser(data, self.configuration.dump_signatures) 516 # Handle any INHERITs and inherit the base class
517 inherits = ["base"] + (bb.data.getVar('INHERIT', self.configuration.data, True ) or "").split()
518 for inherit in inherits:
519 self.configuration.data = _parse(os.path.join('classes', '%s.bbclass' % inherit), self.configuration.data, True )
553 520
554 bb.event.fire(bb.event.ConfigParsed(), self.configuration.data) 521 # Nomally we only register event handlers at the end of parsing .bb files
522 # We register any handlers we've found so far here...
523 for var in bb.data.getVar('__BBHANDLERS', self.configuration.data) or []:
524 bb.event.register(var, bb.data.getVar(var, self.configuration.data))
555 525
556 except IOError as e: 526 if bb.data.getVar("BB_WORKERCONTEXT", self.configuration.data) is None:
557 bb.msg.fatal(bb.msg.domain.Parsing, "Error when parsing %s: %s" % (files, str(e))) 527 bb.fetch.fetcher_init(self.configuration.data)
558 except bb.parse.ParseError as details: 528 bb.codeparser.parser_cache_init(self.configuration.data)
559 bb.msg.fatal(bb.msg.domain.Parsing, "Unable to parse %s (%s)" % (files, details) ) 529 bb.parse.init_parser(data)
530 bb.event.fire(bb.event.ConfigParsed(), self.configuration.data)
560 531
561 def handleCollections( self, collections ): 532 def handleCollections( self, collections ):
562 """Handle collections""" 533 """Handle collections"""
@@ -565,22 +536,22 @@ class BBCooker:
565 for c in collection_list: 536 for c in collection_list:
566 regex = bb.data.getVar("BBFILE_PATTERN_%s" % c, self.configuration.data, 1) 537 regex = bb.data.getVar("BBFILE_PATTERN_%s" % c, self.configuration.data, 1)
567 if regex == None: 538 if regex == None:
568 bb.msg.error(bb.msg.domain.Parsing, "BBFILE_PATTERN_%s not defined" % c) 539 parselog.error("BBFILE_PATTERN_%s not defined" % c)
569 continue 540 continue
570 priority = bb.data.getVar("BBFILE_PRIORITY_%s" % c, self.configuration.data, 1) 541 priority = bb.data.getVar("BBFILE_PRIORITY_%s" % c, self.configuration.data, 1)
571 if priority == None: 542 if priority == None:
572 bb.msg.error(bb.msg.domain.Parsing, "BBFILE_PRIORITY_%s not defined" % c) 543 parselog.error("BBFILE_PRIORITY_%s not defined" % c)
573 continue 544 continue
574 try: 545 try:
575 cre = re.compile(regex) 546 cre = re.compile(regex)
576 except re.error: 547 except re.error:
577 bb.msg.error(bb.msg.domain.Parsing, "BBFILE_PATTERN_%s \"%s\" is not a valid regular expression" % (c, regex)) 548 parselog.error("BBFILE_PATTERN_%s \"%s\" is not a valid regular expression", c, regex)
578 continue 549 continue
579 try: 550 try:
580 pri = int(priority) 551 pri = int(priority)
581 self.status.bbfile_config_priorities.append((c, regex, cre, pri)) 552 self.status.bbfile_config_priorities.append((c, regex, cre, pri))
582 except ValueError: 553 except ValueError:
583 bb.msg.error(bb.msg.domain.Parsing, "invalid value for BBFILE_PRIORITY_%s: \"%s\"" % (c, priority)) 554 parselog.error("invalid value for BBFILE_PRIORITY_%s: \"%s\"", c, priority)
584 555
585 def buildSetVars(self): 556 def buildSetVars(self):
586 """ 557 """
@@ -596,7 +567,7 @@ class BBCooker:
596 """ 567 """
597 568
598 bf = os.path.abspath(buildfile) 569 bf = os.path.abspath(buildfile)
599 (filelist, masked) = self.collect_bbfiles() 570 filelist, masked = self.collect_bbfiles()
600 try: 571 try:
601 os.stat(bf) 572 os.stat(bf)
602 return [bf] 573 return [bf]
@@ -616,9 +587,9 @@ class BBCooker:
616 """ 587 """
617 matches = self.matchFiles(buildfile) 588 matches = self.matchFiles(buildfile)
618 if len(matches) != 1: 589 if len(matches) != 1:
619 bb.msg.error(bb.msg.domain.Parsing, "Unable to match %s (%s matches found):" % (buildfile, len(matches))) 590 parselog.error("Unable to match %s (%s matches found):" % (buildfile, len(matches)))
620 for f in matches: 591 for f in matches:
621 bb.msg.error(bb.msg.domain.Parsing, " %s" % f) 592 parselog.error(" %s" % f)
622 raise MultipleMatches 593 raise MultipleMatches
623 return matches[0] 594 return matches[0]
624 595
@@ -635,22 +606,23 @@ class BBCooker:
635 if (task == None): 606 if (task == None):
636 task = self.configuration.cmd 607 task = self.configuration.cmd
637 608
638 self.bb_cache = bb.cache.init(self) 609 (fn, cls) = bb.cache.Cache.virtualfn2realfn(buildfile)
639 self.status = bb.cache.CacheData()
640
641 (fn, cls) = self.bb_cache.virtualfn2realfn(buildfile)
642 buildfile = self.matchFile(fn) 610 buildfile = self.matchFile(fn)
643 fn = self.bb_cache.realfn2virtual(buildfile, cls) 611 fn = bb.cache.Cache.realfn2virtual(buildfile, cls)
644 612
645 self.buildSetVars() 613 self.buildSetVars()
646 614
647 # Load data into the cache for fn and parse the loaded cache data 615 self.status = bb.cache.CacheData()
648 the_data = self.bb_cache.loadDataFull(fn, self.get_file_appends(fn), self.configuration.data) 616 infos = bb.cache.Cache.parse(fn, self.get_file_appends(fn), \
649 self.bb_cache.setData(fn, buildfile, the_data) 617 self.configuration.data)
650 self.bb_cache.handle_data(fn, self.status) 618 maininfo = None
619 for vfn, info in infos:
620 self.status.add_from_recipeinfo(vfn, info)
621 if vfn == fn:
622 maininfo = info
651 623
652 # Tweak some variables 624 # Tweak some variables
653 item = self.bb_cache.getVar('PN', fn, True) 625 item = maininfo.pn
654 self.status.ignored_dependencies = set() 626 self.status.ignored_dependencies = set()
655 self.status.bbfile_priority[fn] = 1 627 self.status.bbfile_priority[fn] = 1
656 628
@@ -662,7 +634,7 @@ class BBCooker:
662 634
663 # Remove stamp for target if force mode active 635 # Remove stamp for target if force mode active
664 if self.configuration.force: 636 if self.configuration.force:
665 bb.msg.note(2, bb.msg.domain.RunQueue, "Remove stamp %s, %s" % (task, fn)) 637 logger.verbose("Remove stamp %s, %s", task, fn)
666 bb.build.del_stamp('do_%s' % task, self.status, fn) 638 bb.build.del_stamp('do_%s' % task, self.status, fn)
667 639
668 # Setup taskdata structure 640 # Setup taskdata structure
@@ -682,17 +654,17 @@ class BBCooker:
682 654
683 def buildFileIdle(server, rq, abort): 655 def buildFileIdle(server, rq, abort):
684 656
685 if abort or self.cookerAction == cookerStop: 657 if abort or self.state == state.stop:
686 rq.finish_runqueue(True) 658 rq.finish_runqueue(True)
687 elif self.cookerAction == cookerShutdown: 659 elif self.state == state.shutdown:
688 rq.finish_runqueue(False) 660 rq.finish_runqueue(False)
689 failures = 0 661 failures = 0
690 try: 662 try:
691 retval = rq.execute_runqueue() 663 retval = rq.execute_runqueue()
692 except runqueue.TaskFailure as exc: 664 except runqueue.TaskFailure as exc:
693 for fnid in exc.args: 665 for fnid in exc.args:
694 bb.msg.error(bb.msg.domain.Build, "'%s' failed" % taskdata.fn_index[fnid]) 666 buildlog.error("'%s' failed" % taskdata.fn_index[fnid])
695 failures = failures + 1 667 failures += len(exc.args)
696 retval = False 668 retval = False
697 if not retval: 669 if not retval:
698 bb.event.fire(bb.event.BuildCompleted(buildname, item, failures), self.configuration.event_data) 670 bb.event.fire(bb.event.BuildCompleted(buildname, item, failures), self.configuration.event_data)
@@ -719,17 +691,17 @@ class BBCooker:
719 targets = self.checkPackages(targets) 691 targets = self.checkPackages(targets)
720 692
721 def buildTargetsIdle(server, rq, abort): 693 def buildTargetsIdle(server, rq, abort):
722 if abort or self.cookerAction == cookerStop: 694 if abort or self.state == state.stop:
723 rq.finish_runqueue(True) 695 rq.finish_runqueue(True)
724 elif self.cookerAction == cookerShutdown: 696 elif self.state == state.shutdown:
725 rq.finish_runqueue(False) 697 rq.finish_runqueue(False)
726 failures = 0 698 failures = 0
727 try: 699 try:
728 retval = rq.execute_runqueue() 700 retval = rq.execute_runqueue()
729 except runqueue.TaskFailure as exc: 701 except runqueue.TaskFailure as exc:
730 for fnid in exc.args: 702 for fnid in exc.args:
731 bb.msg.error(bb.msg.domain.Build, "'%s' failed" % taskdata.fn_index[fnid]) 703 buildlog.error("'%s' failed" % taskdata.fn_index[fnid])
732 failures = failures + 1 704 failures += len(exc.args)
733 retval = False 705 retval = False
734 if not retval: 706 if not retval:
735 bb.event.fire(bb.event.BuildCompleted(buildname, targets, failures), self.configuration.event_data) 707 bb.event.fire(bb.event.BuildCompleted(buildname, targets, failures), self.configuration.event_data)
@@ -764,12 +736,10 @@ class BBCooker:
764 self.server.register_idle_function(buildTargetsIdle, rq) 736 self.server.register_idle_function(buildTargetsIdle, rq)
765 737
766 def updateCache(self): 738 def updateCache(self):
767 739 if self.state == state.running:
768 if self.cookerState == cookerParsed:
769 return 740 return
770 741
771 if self.cookerState != cookerParsing: 742 if self.state != state.parsing:
772
773 self.parseConfiguration () 743 self.parseConfiguration ()
774 744
775 # Import Psyco if available and not disabled 745 # Import Psyco if available and not disabled
@@ -779,11 +749,11 @@ class BBCooker:
779 try: 749 try:
780 import psyco 750 import psyco
781 except ImportError: 751 except ImportError:
782 bb.msg.note(1, bb.msg.domain.Collection, "Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.") 752 collectlog.info("Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.")
783 else: 753 else:
784 psyco.bind( CookerParser.parse_next ) 754 psyco.bind( CookerParser.parse_next )
785 else: 755 else:
786 bb.msg.note(1, bb.msg.domain.Collection, "You have disabled Psyco. This decreases performance.") 756 collectlog.info("You have disabled Psyco. This decreases performance.")
787 757
788 self.status = bb.cache.CacheData() 758 self.status = bb.cache.CacheData()
789 759
@@ -799,12 +769,12 @@ class BBCooker:
799 bb.data.renameVar("__depends", "__base_depends", self.configuration.data) 769 bb.data.renameVar("__depends", "__base_depends", self.configuration.data)
800 770
801 self.parser = CookerParser(self, filelist, masked) 771 self.parser = CookerParser(self, filelist, masked)
802 self.cookerState = cookerParsing 772 self.state = state.parsing
803 773
804 if not self.parser.parse_next(): 774 if not self.parser.parse_next():
805 bb.msg.debug(1, bb.msg.domain.Collection, "parsing complete") 775 collectlog.debug(1, "parsing complete")
806 self.buildDepgraph() 776 self.buildDepgraph()
807 self.cookerState = cookerParsed 777 self.state = state.running
808 return None 778 return None
809 779
810 return True 780 return True
@@ -848,9 +818,8 @@ class BBCooker:
848 def collect_bbfiles( self ): 818 def collect_bbfiles( self ):
849 """Collect all available .bb build files""" 819 """Collect all available .bb build files"""
850 parsed, cached, skipped, masked = 0, 0, 0, 0 820 parsed, cached, skipped, masked = 0, 0, 0, 0
851 self.bb_cache = bb.cache.init(self)
852 821
853 bb.msg.debug(1, bb.msg.domain.Collection, "collecting .bb files") 822 collectlog.debug(1, "collecting .bb files")
854 823
855 files = (data.getVar( "BBFILES", self.configuration.data, 1 ) or "").split() 824 files = (data.getVar( "BBFILES", self.configuration.data, 1 ) or "").split()
856 data.setVar("BBFILES", " ".join(files), self.configuration.data) 825 data.setVar("BBFILES", " ".join(files), self.configuration.data)
@@ -859,7 +828,7 @@ class BBCooker:
859 files = self.get_bbfiles() 828 files = self.get_bbfiles()
860 829
861 if not len(files): 830 if not len(files):
862 bb.msg.error(bb.msg.domain.Collection, "no recipe files to build, check your BBPATH and BBFILES?") 831 collectlog.error("no recipe files to build, check your BBPATH and BBFILES?")
863 bb.event.fire(CookerExit(), self.configuration.event_data) 832 bb.event.fire(CookerExit(), self.configuration.event_data)
864 833
865 newfiles = set() 834 newfiles = set()
@@ -879,13 +848,14 @@ class BBCooker:
879 try: 848 try:
880 bbmask_compiled = re.compile(bbmask) 849 bbmask_compiled = re.compile(bbmask)
881 except sre_constants.error: 850 except sre_constants.error:
882 bb.msg.fatal(bb.msg.domain.Collection, "BBMASK is not a valid regular expression.") 851 collectlog.critical("BBMASK is not a valid regular expression, ignoring.")
852 return list(newfiles), 0
883 853
884 bbfiles = [] 854 bbfiles = []
885 bbappend = [] 855 bbappend = []
886 for f in newfiles: 856 for f in newfiles:
887 if bbmask and bbmask_compiled.search(f): 857 if bbmask and bbmask_compiled.search(f):
888 bb.msg.debug(1, bb.msg.domain.Collection, "skipping masked file %s" % f) 858 collectlog.debug(1, "skipping masked file %s", f)
889 masked += 1 859 masked += 1
890 continue 860 continue
891 if f.endswith('.bb'): 861 if f.endswith('.bb'):
@@ -893,26 +863,25 @@ class BBCooker:
893 elif f.endswith('.bbappend'): 863 elif f.endswith('.bbappend'):
894 bbappend.append(f) 864 bbappend.append(f)
895 else: 865 else:
896 bb.msg.note(1, bb.msg.domain.Collection, "File %s of unknown filetype in BBFILES? Ignorning..." % f) 866 collectlog.debug(1, "skipping %s: unknown file extension", f)
897 867
898 # Build a list of .bbappend files for each .bb file 868 # Build a list of .bbappend files for each .bb file
899 self.appendlist = {}
900 for f in bbappend: 869 for f in bbappend:
901 base = os.path.basename(f).replace('.bbappend', '.bb') 870 base = os.path.basename(f).replace('.bbappend', '.bb')
902 if not base in self.appendlist: 871 if not base in self.appendlist:
903 self.appendlist[base] = [] 872 self.appendlist[base] = []
904 self.appendlist[base].append(f) 873 self.appendlist[base].append(f)
905 874
906 return (bbfiles, masked) 875 return (bbfiles, masked)
907 876
908 def get_file_appends(self, fn): 877 def get_file_appends(self, fn):
909 """ 878 """
910 Returns a list of .bbappend files to apply to fn 879 Returns a list of .bbappend files to apply to fn
911 NB: collect_files() must have been called prior to this 880 NB: collect_bbfiles() must have been called prior to this
912 """ 881 """
913 f = os.path.basename(fn) 882 f = os.path.basename(fn)
914 if f in self.appendlist: 883 if f in self.appendlist:
915 return self.appendlist[f] 884 return self.appendlist[f]
916 return [] 885 return []
917 886
918 def pre_serve(self): 887 def pre_serve(self):
@@ -924,6 +893,11 @@ class BBCooker:
924 def post_serve(self): 893 def post_serve(self):
925 bb.event.fire(CookerExit(), self.configuration.event_data) 894 bb.event.fire(CookerExit(), self.configuration.event_data)
926 895
896 def shutdown(self):
897 self.state = state.shutdown
898
899 def stop(self):
900 self.state = state.stop
927 901
928def server_main(cooker, func, *args): 902def server_main(cooker, func, *args):
929 cooker.pre_serve() 903 cooker.pre_serve()
@@ -974,65 +948,119 @@ class CookerExit(bb.event.Event):
974 def __init__(self): 948 def __init__(self):
975 bb.event.Event.__init__(self) 949 bb.event.Event.__init__(self)
976 950
977class CookerParser: 951def parse_file(task):
952 filename, appends = task
953 try:
954 return True, bb.cache.Cache.parse(filename, appends, parse_file.cfg)
955 except Exception, exc:
956 exc.recipe = filename
957 raise exc
958
959class CookerParser(object):
978 def __init__(self, cooker, filelist, masked): 960 def __init__(self, cooker, filelist, masked):
979 # Internal data
980 self.filelist = filelist 961 self.filelist = filelist
981 self.cooker = cooker 962 self.cooker = cooker
963 self.cfgdata = cooker.configuration.data
982 964
983 # Accounting statistics 965 # Accounting statistics
984 self.parsed = 0 966 self.parsed = 0
985 self.cached = 0 967 self.cached = 0
986 self.error = 0 968 self.error = 0
987 self.masked = masked 969 self.masked = masked
988 self.total = len(filelist)
989 970
990 self.skipped = 0 971 self.skipped = 0
991 self.virtuals = 0 972 self.virtuals = 0
973 self.total = len(filelist)
992 974
993 # Pointer to the next file to parse 975 self.current = 0
994 self.pointer = 0 976 self.num_processes = int(self.cfgdata.getVar("BB_NUMBER_PARSE_THREADS", True) or
977 multiprocessing.cpu_count())
978
979 self.bb_cache = bb.cache.Cache(self.cfgdata)
980 self.fromcache = []
981 self.willparse = []
982 for filename in self.filelist:
983 appends = self.cooker.get_file_appends(filename)
984 if not self.bb_cache.cacheValid(filename):
985 self.willparse.append((filename, appends))
986 else:
987 self.fromcache.append((filename, appends))
988 self.toparse = self.total - len(self.fromcache)
989 self.progress_chunk = max(self.toparse / 100, 1)
995 990
996 def parse_next(self): 991 self.start()
997 cooker = self.cooker
998 if self.pointer < len(self.filelist):
999 f = self.filelist[self.pointer]
1000 992
1001 try: 993 def start(self):
1002 fromCache, skipped, virtuals = cooker.bb_cache.loadData(f, cooker.get_file_appends(f), cooker.configuration.data, cooker.status) 994 def init(cfg):
1003 if fromCache: 995 signal.signal(signal.SIGINT, signal.SIG_IGN)
1004 self.cached += 1 996 parse_file.cfg = cfg
1005 else: 997
1006 self.parsed += 1 998 bb.event.fire(bb.event.ParseStarted(self.toparse), self.cfgdata)
1007
1008 self.skipped += skipped
1009 self.virtuals += virtuals
1010
1011 except IOError as e:
1012 self.error += 1
1013 cooker.bb_cache.remove(f)
1014 bb.msg.error(bb.msg.domain.Collection, "opening %s: %s" % (f, e))
1015 pass
1016 except KeyboardInterrupt:
1017 cooker.bb_cache.remove(f)
1018 cooker.bb_cache.sync()
1019 raise
1020 except Exception as e:
1021 self.error += 1
1022 cooker.bb_cache.remove(f)
1023 bb.msg.error(bb.msg.domain.Collection, "%s while parsing %s" % (e, f))
1024 except:
1025 cooker.bb_cache.remove(f)
1026 raise
1027 finally:
1028 bb.event.fire(bb.event.ParseProgress(self.cached, self.parsed, self.skipped, self.masked, self.virtuals, self.error, self.total), cooker.configuration.event_data)
1029 999
1030 self.pointer += 1 1000 self.pool = multiprocessing.Pool(self.num_processes, init, [self.cfgdata])
1001 parsed = self.pool.imap(parse_file, self.willparse)
1002 self.pool.close()
1031 1003
1032 if self.pointer >= self.total: 1004 self.results = itertools.chain(self.load_cached(), parsed)
1033 cooker.bb_cache.sync() 1005
1034 bb.codeparser.parser_cache_save(cooker.configuration.data) 1006 def shutdown(self, clean=True):
1035 if self.error > 0: 1007 if clean:
1036 raise ParsingErrorsFound 1008 event = bb.event.ParseCompleted(self.cached, self.parsed,
1009 self.skipped, self.masked,
1010 self.virtuals, self.error,
1011 self.total)
1012 bb.event.fire(event, self.cfgdata)
1013 else:
1014 self.pool.terminate()
1015 self.pool.join()
1016
1017 sync = threading.Thread(target=self.bb_cache.sync)
1018 sync.start()
1019 atexit.register(lambda: sync.join())
1020
1021 codesync = threading.Thread(target=bb.codeparser.parser_cache_save(self.cooker.configuration.data))
1022 codesync.start()
1023 atexit.register(lambda: codesync.join())
1024
1025 def load_cached(self):
1026 for filename, appends in self.fromcache:
1027 cached, infos = self.bb_cache.load(filename, appends, self.cfgdata)
1028 yield not cached, infos
1029
1030 def parse_next(self):
1031 try:
1032 parsed, result = self.results.next()
1033 except StopIteration:
1034 self.shutdown()
1037 return False 1035 return False
1036 except KeyboardInterrupt:
1037 self.shutdown(clean=False)
1038 raise
1039 except Exception as exc:
1040 self.shutdown(clean=False)
1041 bb.fatal('Error parsing %s: %s' % (exc.recipe, exc))
1042
1043 self.current += 1
1044 self.virtuals += len(result)
1045 if parsed:
1046 self.parsed += 1
1047 if self.parsed % self.progress_chunk == 0:
1048 bb.event.fire(bb.event.ParseProgress(self.parsed),
1049 self.cfgdata)
1050 else:
1051 self.cached += 1
1052
1053 for virtualfn, info in result:
1054 if info.skipped:
1055 self.skipped += 1
1056 else:
1057 self.bb_cache.add_info(virtualfn, info, self.cooker.status,
1058 parsed=parsed)
1038 return True 1059 return True
1060
1061 def reparse(self, filename):
1062 infos = self.bb_cache.parse(filename,
1063 self.cooker.get_file_appends(filename),
1064 self.cfgdata)
1065 for vfn, info in infos:
1066 self.cooker.status.add_from_recipeinfo(vfn, info)
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index 0aa8b404cb..50f2218a70 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -161,7 +161,7 @@ def expandKeys(alterdata, readdata = None):
161 161
162def inheritFromOS(d): 162def inheritFromOS(d):
163 """Inherit variables from the environment.""" 163 """Inherit variables from the environment."""
164 exportlist = bb.utils.preserved_envvars_export_list() 164 exportlist = bb.utils.preserved_envvars_exported()
165 for s in os.environ.keys(): 165 for s in os.environ.keys():
166 try: 166 try:
167 setVar(s, os.environ[s], d) 167 setVar(s, os.environ[s], d)
@@ -192,7 +192,8 @@ def emit_var(var, o=sys.__stdout__, d = init(), all=False):
192 return 0 192 return 0
193 193
194 if all: 194 if all:
195 o.write('# %s=%s\n' % (var, oval)) 195 commentVal = re.sub('\n', '\n#', str(oval))
196 o.write('# %s=%s\n' % (var, commentVal))
196 197
197 if (var.find("-") != -1 or var.find(".") != -1 or var.find('{') != -1 or var.find('}') != -1 or var.find('+') != -1) and not all: 198 if (var.find("-") != -1 or var.find(".") != -1 or var.find('{') != -1 or var.find('}') != -1 or var.find('+') != -1) and not all:
198 return 0 199 return 0
@@ -201,7 +202,7 @@ def emit_var(var, o=sys.__stdout__, d = init(), all=False):
201 202
202 if unexport: 203 if unexport:
203 o.write('unset %s\n' % varExpanded) 204 o.write('unset %s\n' % varExpanded)
204 return 1 205 return 0
205 206
206 if not val: 207 if not val:
207 return 0 208 return 0
@@ -219,8 +220,9 @@ def emit_var(var, o=sys.__stdout__, d = init(), all=False):
219 # if we're going to output this within doublequotes, 220 # if we're going to output this within doublequotes,
220 # to a shell, we need to escape the quotes in the var 221 # to a shell, we need to escape the quotes in the var
221 alter = re.sub('"', '\\"', val.strip()) 222 alter = re.sub('"', '\\"', val.strip())
223 alter = re.sub('\n', ' \\\n', alter)
222 o.write('%s="%s"\n' % (varExpanded, alter)) 224 o.write('%s="%s"\n' % (varExpanded, alter))
223 return 1 225 return 0
224 226
225def emit_env(o=sys.__stdout__, d = init(), all=False): 227def emit_env(o=sys.__stdout__, d = init(), all=False):
226 """Emits all items in the data store in a format such that it can be sourced by a shell.""" 228 """Emits all items in the data store in a format such that it can be sourced by a shell."""
@@ -259,7 +261,7 @@ def emit_func(func, o=sys.__stdout__, d = init()):
259 for key in keys: 261 for key in keys:
260 emit_var(key, o, d, False) and o.write('\n') 262 emit_var(key, o, d, False) and o.write('\n')
261 263
262 emit_var(func, o, d, False) and o.write('\n') 264 emit_var(func, o, d, False) and o.write('\n')
263 newdeps = bb.codeparser.ShellParser().parse_shell(d.getVar(func, True)) 265 newdeps = bb.codeparser.ShellParser().parse_shell(d.getVar(func, True))
264 seen = set() 266 seen = set()
265 while newdeps: 267 while newdeps:
@@ -299,7 +301,7 @@ def build_dependencies(key, keys, shelldeps, d):
299 deps |= set((d.getVarFlag(key, "vardeps", True) or "").split()) 301 deps |= set((d.getVarFlag(key, "vardeps", True) or "").split())
300 deps -= set((d.getVarFlag(key, "vardepsexclude", True) or "").split()) 302 deps -= set((d.getVarFlag(key, "vardepsexclude", True) or "").split())
301 except: 303 except:
302 bb.note("Error expanding variable %s" % key) 304 bb.note("Error expanding variable %s" % key)
303 raise 305 raise
304 return deps 306 return deps
305 #bb.note("Variable %s references %s and calls %s" % (key, str(deps), str(execs))) 307 #bb.note("Variable %s references %s and calls %s" % (key, str(deps), str(execs)))
@@ -311,12 +313,10 @@ def generate_dependencies(d):
311 shelldeps = set(key for key in keys if d.getVarFlag(key, "export") and not d.getVarFlag(key, "unexport")) 313 shelldeps = set(key for key in keys if d.getVarFlag(key, "export") and not d.getVarFlag(key, "unexport"))
312 314
313 deps = {} 315 deps = {}
314 taskdeps = {}
315 316
316 tasklist = bb.data.getVar('__BBTASKS', d) or [] 317 tasklist = bb.data.getVar('__BBTASKS', d) or []
317 for task in tasklist: 318 for task in tasklist:
318 deps[task] = build_dependencies(task, keys, shelldeps, d) 319 deps[task] = build_dependencies(task, keys, shelldeps, d)
319
320 newdeps = deps[task] 320 newdeps = deps[task]
321 seen = set() 321 seen = set()
322 while newdeps: 322 while newdeps:
@@ -328,9 +328,8 @@ def generate_dependencies(d):
328 deps[dep] = build_dependencies(dep, keys, shelldeps, d) 328 deps[dep] = build_dependencies(dep, keys, shelldeps, d)
329 newdeps |= deps[dep] 329 newdeps |= deps[dep]
330 newdeps -= seen 330 newdeps -= seen
331 taskdeps[task] = seen | newdeps
332 #print "For %s: %s" % (task, str(taskdeps[task])) 331 #print "For %s: %s" % (task, str(taskdeps[task]))
333 return taskdeps, deps 332 return tasklist, deps
334 333
335def inherits_class(klass, d): 334def inherits_class(klass, d):
336 val = getVar('__inherit_cache', d) or [] 335 val = getVar('__inherit_cache', d) or []
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index 30f9cbc2d4..83e6f70cd7 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -28,17 +28,21 @@ BitBake build tools.
28# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 28# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
29# Based on functions from the base bb module, Copyright 2003 Holger Schurig 29# Based on functions from the base bb module, Copyright 2003 Holger Schurig
30 30
31import copy, re, sys 31import copy, re
32import bb 32from collections import MutableMapping
33import logging
34import bb, bb.codeparser
33from bb import utils 35from bb import utils
34from bb.COW import COWDictBase 36from bb.COW import COWDictBase
35 37
38logger = logging.getLogger("BitBake.Data")
36 39
37__setvar_keyword__ = ["_append", "_prepend"] 40__setvar_keyword__ = ["_append", "_prepend"]
38__setvar_regexp__ = re.compile('(?P<base>.*?)(?P<keyword>_append|_prepend)(_(?P<add>.*))?') 41__setvar_regexp__ = re.compile('(?P<base>.*?)(?P<keyword>_append|_prepend)(_(?P<add>.*))?')
39__expand_var_regexp__ = re.compile(r"\${[^{}]+}") 42__expand_var_regexp__ = re.compile(r"\${[^{}]+}")
40__expand_python_regexp__ = re.compile(r"\${@.+?}") 43__expand_python_regexp__ = re.compile(r"\${@.+?}")
41 44
45
42class VariableParse: 46class VariableParse:
43 def __init__(self, varname, d, val = None): 47 def __init__(self, varname, d, val = None):
44 self.varname = varname 48 self.varname = varname
@@ -69,11 +73,24 @@ class VariableParse:
69 self.references |= parser.references 73 self.references |= parser.references
70 self.execs |= parser.execs 74 self.execs |= parser.execs
71 75
72 value = utils.better_eval(codeobj, {"d": self.d}) 76 value = utils.better_eval(codeobj, DataContext(self.d))
73 return str(value) 77 return str(value)
74 78
75 79
76class DataSmart: 80class DataContext(dict):
81 def __init__(self, metadata, **kwargs):
82 self.metadata = metadata
83 dict.__init__(self, **kwargs)
84 self['d'] = metadata
85
86 def __missing__(self, key):
87 value = self.metadata.getVar(key, True)
88 if value is None or self.metadata.getVarFlag(key, 'func'):
89 raise KeyError(key)
90 else:
91 return value
92
93class DataSmart(MutableMapping):
77 def __init__(self, special = COWDictBase.copy(), seen = COWDictBase.copy() ): 94 def __init__(self, special = COWDictBase.copy(), seen = COWDictBase.copy() ):
78 self.dict = {} 95 self.dict = {}
79 96
@@ -100,10 +117,8 @@ class DataSmart:
100 s = __expand_python_regexp__.sub(varparse.python_sub, s) 117 s = __expand_python_regexp__.sub(varparse.python_sub, s)
101 if s == olds: 118 if s == olds:
102 break 119 break
103 except KeyboardInterrupt: 120 except Exception:
104 raise 121 logger.exception("Error evaluating '%s'", s)
105 except:
106 bb.msg.note(1, bb.msg.domain.Data, "%s:%s while evaluating:\n%s" % (sys.exc_info()[0], sys.exc_info()[1], s))
107 raise 122 raise
108 123
109 varparse.value = s 124 varparse.value = s
@@ -115,7 +130,7 @@ class DataSmart:
115 130
116 def expand(self, s, varname): 131 def expand(self, s, varname):
117 return self.expandWithRefs(s, varname).value 132 return self.expandWithRefs(s, varname).value
118 133
119 134
120 def finalize(self): 135 def finalize(self):
121 """Performs final steps upon the datastore, including application of overrides""" 136 """Performs final steps upon the datastore, including application of overrides"""
@@ -149,9 +164,9 @@ class DataSmart:
149 for var in vars: 164 for var in vars:
150 name = var[:-l] 165 name = var[:-l]
151 try: 166 try:
152 self[name] = self[var] 167 self.setVar(name, self.getVar(var, False))
153 except Exception: 168 except Exception:
154 bb.msg.note(1, bb.msg.domain.Data, "Untracked delVar") 169 logger.info("Untracked delVar")
155 170
156 # now on to the appends and prepends 171 # now on to the appends and prepends
157 for op in __setvar_keyword__: 172 for op in __setvar_keyword__:
@@ -277,13 +292,13 @@ class DataSmart:
277 self._makeShadowCopy(var) 292 self._makeShadowCopy(var)
278 self.dict[var][flag] = flagvalue 293 self.dict[var][flag] = flagvalue
279 294
280 def getVarFlag(self, var, flag, exp = False): 295 def getVarFlag(self, var, flag, expand=False):
281 local_var = self._findVar(var) 296 local_var = self._findVar(var)
282 value = None 297 value = None
283 if local_var: 298 if local_var:
284 if flag in local_var: 299 if flag in local_var:
285 value = copy.copy(local_var[flag]) 300 value = copy.copy(local_var[flag])
286 if exp and value: 301 if expand and value:
287 value = self.expand(value, None) 302 value = self.expand(value, None)
288 return value 303 return value
289 304
@@ -347,23 +362,53 @@ class DataSmart:
347 362
348 return data 363 return data
349 364
350 # Dictionary Methods 365 def expandVarref(self, variable, parents=False):
351 def keys(self): 366 """Find all references to variable in the data and expand it
352 def _keys(d, mykey): 367 in place, optionally descending to parent datastores."""
368
369 if parents:
370 keys = iter(self)
371 else:
372 keys = self.localkeys()
373
374 ref = '${%s}' % variable
375 value = self.getVar(variable, False)
376 for key in keys:
377 referrervalue = self.getVar(key, False)
378 if referrervalue and ref in referrervalue:
379 self.setVar(key, referrervalue.replace(ref, value))
380
381 def localkeys(self):
382 for key in self.dict:
383 if key != '_data':
384 yield key
385
386 def __iter__(self):
387 seen = set()
388 def _keys(d):
353 if "_data" in d: 389 if "_data" in d:
354 _keys(d["_data"], mykey) 390 for key in _keys(d["_data"]):
391 yield key
355 392
356 for key in d.keys(): 393 for key in d:
357 if key != "_data": 394 if key != "_data":
358 mykey[key] = None 395 if not key in seen:
359 keytab = {} 396 seen.add(key)
360 _keys(self.dict, keytab) 397 yield key
361 return keytab.keys() 398 return _keys(self.dict)
399
400 def __len__(self):
401 return len(frozenset(self))
362 402
363 def __getitem__(self, item): 403 def __getitem__(self, item):
364 #print "Warning deprecated" 404 value = self.getVar(item, False)
365 return self.getVar(item, False) 405 if value is None:
406 raise KeyError(item)
407 else:
408 return value
409
410 def __setitem__(self, var, value):
411 self.setVar(var, value)
366 412
367 def __setitem__(self, var, data): 413 def __delitem__(self, var):
368 #print "Warning deprecated" 414 self.delVar(var)
369 self.setVar(var, data)
diff --git a/bitbake/lib/bb/event.py b/bitbake/lib/bb/event.py
index 45458c2d63..3467ddd613 100644
--- a/bitbake/lib/bb/event.py
+++ b/bitbake/lib/bb/event.py
@@ -24,16 +24,20 @@ BitBake build tools.
24 24
25import os, sys 25import os, sys
26import warnings 26import warnings
27try:
28 import cPickle as pickle
29except ImportError:
30 import pickle
31import logging
32import atexit
27import bb.utils 33import bb.utils
28import pickle
29 34
30# This is the pid for which we should generate the event. This is set when 35# This is the pid for which we should generate the event. This is set when
31# the runqueue forks off. 36# the runqueue forks off.
32worker_pid = 0 37worker_pid = 0
33worker_pipe = None 38worker_pipe = None
34useStdout = True
35 39
36class Event: 40class Event(object):
37 """Base class for events""" 41 """Base class for events"""
38 42
39 def __init__(self): 43 def __init__(self):
@@ -55,8 +59,7 @@ bb.utils._context["NotHandled"] = NotHandled
55bb.utils._context["Handled"] = Handled 59bb.utils._context["Handled"] = Handled
56 60
57def fire_class_handlers(event, d): 61def fire_class_handlers(event, d):
58 import bb.msg 62 if isinstance(event, logging.LogRecord):
59 if isinstance(event, bb.msg.MsgBase):
60 return 63 return
61 64
62 for handler in _handlers: 65 for handler in _handlers:
@@ -73,7 +76,28 @@ def fire_class_handlers(event, d):
73 h(event) 76 h(event)
74 del event.data 77 del event.data
75 78
79ui_queue = []
80@atexit.register
81def print_ui_queue():
82 """If we're exiting before a UI has been spawned, display any queued
83 LogRecords to the console."""
84 logger = logging.getLogger("BitBake")
85 if not _ui_handlers:
86 from bb.msg import BBLogFormatter
87 console = logging.StreamHandler(sys.stdout)
88 console.setFormatter(BBLogFormatter("%(levelname)s: %(message)s"))
89 logger.handlers = [console]
90 while ui_queue:
91 event = ui_queue.pop()
92 if isinstance(event, logging.LogRecord):
93 logger.handle(event)
94
76def fire_ui_handlers(event, d): 95def fire_ui_handlers(event, d):
96 if not _ui_handlers:
97 # No UI handlers registered yet, queue up the messages
98 ui_queue.append(event)
99 return
100
77 errors = [] 101 errors = []
78 for h in _ui_handlers: 102 for h in _ui_handlers:
79 #print "Sending event %s" % event 103 #print "Sending event %s" % event
@@ -104,13 +128,11 @@ def fire(event, d):
104def worker_fire(event, d): 128def worker_fire(event, d):
105 data = "<event>" + pickle.dumps(event) + "</event>" 129 data = "<event>" + pickle.dumps(event) + "</event>"
106 worker_pipe.write(data) 130 worker_pipe.write(data)
107 worker_pipe.flush()
108 131
109def fire_from_worker(event, d): 132def fire_from_worker(event, d):
110 if not event.startswith("<event>") or not event.endswith("</event>"): 133 if not event.startswith("<event>") or not event.endswith("</event>"):
111 print("Error, not an event %s" % event) 134 print("Error, not an event %s" % event)
112 return 135 return
113 #print "Got event %s" % event
114 event = pickle.loads(event[7:-8]) 136 event = pickle.loads(event[7:-8])
115 fire_ui_handlers(event, d) 137 fire_ui_handlers(event, d)
116 138
@@ -123,7 +145,7 @@ def register(name, handler):
123 145
124 if handler is not None: 146 if handler is not None:
125 # handle string containing python code 147 # handle string containing python code
126 if type(handler).__name__ == "str": 148 if isinstance(handler, basestring):
127 tmp = "def tmpHandler(e):\n%s" % handler 149 tmp = "def tmpHandler(e):\n%s" % handler
128 comp = bb.utils.better_compile(tmp, "tmpHandler(e)", "bb.event._registerCode") 150 comp = bb.utils.better_compile(tmp, "tmpHandler(e)", "bb.event._registerCode")
129 _handlers[name] = comp 151 _handlers[name] = comp
@@ -139,7 +161,6 @@ def remove(name, handler):
139def register_UIHhandler(handler): 161def register_UIHhandler(handler):
140 bb.event._ui_handler_seq = bb.event._ui_handler_seq + 1 162 bb.event._ui_handler_seq = bb.event._ui_handler_seq + 1
141 _ui_handlers[_ui_handler_seq] = handler 163 _ui_handlers[_ui_handler_seq] = handler
142 bb.event.useStdout = False
143 return _ui_handler_seq 164 return _ui_handler_seq
144 165
145def unregister_UIHhandler(handlerNum): 166def unregister_UIHhandler(handlerNum):
@@ -274,10 +295,14 @@ class MultipleProviders(Event):
274 """ 295 """
275 return self._candidates 296 return self._candidates
276 297
277class ParseProgress(Event): 298class ParseStarted(Event):
278 """ 299 """Recipe parsing for the runqueue has begun"""
279 Parsing Progress Event 300 def __init__(self, total):
280 """ 301 Event.__init__(self)
302 self.total = total
303
304class ParseCompleted(Event):
305 """Recipe parsing for the runqueue has completed"""
281 306
282 def __init__(self, cached, parsed, skipped, masked, virtuals, errors, total): 307 def __init__(self, cached, parsed, skipped, masked, virtuals, errors, total):
283 Event.__init__(self) 308 Event.__init__(self)
@@ -290,6 +315,32 @@ class ParseProgress(Event):
290 self.sofar = cached + parsed 315 self.sofar = cached + parsed
291 self.total = total 316 self.total = total
292 317
318class ParseProgress(Event):
319 """Recipe parsing progress"""
320
321 def __init__(self, current):
322 self.current = current
323
324class CacheLoadStarted(Event):
325 """Loading of the dependency cache has begun"""
326 def __init__(self, total):
327 Event.__init__(self)
328 self.total = total
329
330class CacheLoadProgress(Event):
331 """Cache loading progress"""
332 def __init__(self, current):
333 Event.__init__(self)
334 self.current = current
335
336class CacheLoadCompleted(Event):
337 """Cache loading is complete"""
338 def __init__(self, total, num_entries):
339 Event.__init__(self)
340 self.total = total
341 self.num_entries = num_entries
342
343
293class DepTreeGenerated(Event): 344class DepTreeGenerated(Event):
294 """ 345 """
295 Event when a dependency tree has been generated 346 Event when a dependency tree has been generated
@@ -298,3 +349,38 @@ class DepTreeGenerated(Event):
298 def __init__(self, depgraph): 349 def __init__(self, depgraph):
299 Event.__init__(self) 350 Event.__init__(self)
300 self._depgraph = depgraph 351 self._depgraph = depgraph
352
353class MsgBase(Event):
354 """Base class for messages"""
355
356 def __init__(self, msg):
357 self._message = msg
358 Event.__init__(self)
359
360class MsgDebug(MsgBase):
361 """Debug Message"""
362
363class MsgNote(MsgBase):
364 """Note Message"""
365
366class MsgWarn(MsgBase):
367 """Warning Message"""
368
369class MsgError(MsgBase):
370 """Error Message"""
371
372class MsgFatal(MsgBase):
373 """Fatal Message"""
374
375class MsgPlain(MsgBase):
376 """General output"""
377
378class LogHandler(logging.Handler):
379 """Dispatch logging messages as bitbake events"""
380
381 def emit(self, record):
382 fire(record, None)
383
384 def filter(self, record):
385 record.taskpid = worker_pid
386 return True
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py
index 88212ffa33..b452751c7b 100644
--- a/bitbake/lib/bb/fetch/__init__.py
+++ b/bitbake/lib/bb/fetch/__init__.py
@@ -27,9 +27,15 @@ BitBake build tools.
27from __future__ import absolute_import 27from __future__ import absolute_import
28from __future__ import print_function 28from __future__ import print_function
29import os, re 29import os, re
30import logging
30import bb 31import bb
31from bb import data 32from bb import data
32from bb import persist_data 33from bb import persist_data
34from bb import utils
35
36__version__ = "1"
37
38logger = logging.getLogger("BitBake.Fetch")
33 39
34class MalformedUrl(Exception): 40class MalformedUrl(Exception):
35 """Exception raised when encountering an invalid url""" 41 """Exception raised when encountering an invalid url"""
@@ -117,9 +123,8 @@ def encodeurl(decoded):
117 return url 123 return url
118 124
119def uri_replace(uri, uri_find, uri_replace, d): 125def uri_replace(uri, uri_find, uri_replace, d):
120# bb.msg.note(1, bb.msg.domain.Fetcher, "uri_replace: operating on %s" % uri)
121 if not uri or not uri_find or not uri_replace: 126 if not uri or not uri_find or not uri_replace:
122 bb.msg.debug(1, bb.msg.domain.Fetcher, "uri_replace: passed an undefined value, not replacing") 127 logger.debug(1, "uri_replace: passed an undefined value, not replacing")
123 uri_decoded = list(decodeurl(uri)) 128 uri_decoded = list(decodeurl(uri))
124 uri_find_decoded = list(decodeurl(uri_find)) 129 uri_find_decoded = list(decodeurl(uri_find))
125 uri_replace_decoded = list(decodeurl(uri_replace)) 130 uri_replace_decoded = list(decodeurl(uri_replace))
@@ -134,38 +139,32 @@ def uri_replace(uri, uri_find, uri_replace, d):
134 if d: 139 if d:
135 localfn = bb.fetch.localpath(uri, d) 140 localfn = bb.fetch.localpath(uri, d)
136 if localfn: 141 if localfn:
137 result_decoded[loc] = os.path.dirname(result_decoded[loc]) + "/" + os.path.basename(bb.fetch.localpath(uri, d)) 142 result_decoded[loc] = os.path.join(os.path.dirname(result_decoded[loc]), os.path.basename(bb.fetch.localpath(uri, d)))
138# bb.msg.note(1, bb.msg.domain.Fetcher, "uri_replace: matching %s against %s and replacing with %s" % (i, uri_decoded[loc], uri_replace_decoded[loc]))
139 else: 143 else:
140# bb.msg.note(1, bb.msg.domain.Fetcher, "uri_replace: no match")
141 return uri 144 return uri
142# else:
143# for j in i:
144# FIXME: apply replacements against options
145 return encodeurl(result_decoded) 145 return encodeurl(result_decoded)
146 146
147methods = [] 147methods = []
148urldata_cache = {} 148urldata_cache = {}
149saved_headrevs = {} 149saved_headrevs = {}
150persistent_database_connection = {}
151 150
152def fetcher_init(d): 151def fetcher_init(d):
153 """ 152 """
154 Called to initialize the fetchers once the configuration data is known. 153 Called to initialize the fetchers once the configuration data is known.
155 Calls before this must not hit the cache. 154 Calls before this must not hit the cache.
156 """ 155 """
157 pd = persist_data.PersistData(d, persistent_database_connection) 156 pd = persist_data.persist(d)
158 # When to drop SCM head revisions controlled by user policy 157 # When to drop SCM head revisions controlled by user policy
159 srcrev_policy = bb.data.getVar('BB_SRCREV_POLICY', d, 1) or "clear" 158 srcrev_policy = bb.data.getVar('BB_SRCREV_POLICY', d, 1) or "clear"
160 if srcrev_policy == "cache": 159 if srcrev_policy == "cache":
161 bb.msg.debug(1, bb.msg.domain.Fetcher, "Keeping SRCREV cache due to cache policy of: %s" % srcrev_policy) 160 logger.debug(1, "Keeping SRCREV cache due to cache policy of: %s", srcrev_policy)
162 elif srcrev_policy == "clear": 161 elif srcrev_policy == "clear":
163 bb.msg.debug(1, bb.msg.domain.Fetcher, "Clearing SRCREV cache due to cache policy of: %s" % srcrev_policy) 162 logger.debug(1, "Clearing SRCREV cache due to cache policy of: %s", srcrev_policy)
164 try: 163 try:
165 bb.fetch.saved_headrevs = pd.getKeyValues("BB_URI_HEADREVS") 164 bb.fetch.saved_headrevs = pd['BB_URI_HEADREVS'].items()
166 except: 165 except:
167 pass 166 pass
168 pd.delDomain("BB_URI_HEADREVS") 167 del pd['BB_URI_HEADREVS']
169 else: 168 else:
170 raise FetchError("Invalid SRCREV cache policy of: %s" % srcrev_policy) 169 raise FetchError("Invalid SRCREV cache policy of: %s" % srcrev_policy)
171 170
@@ -173,28 +172,24 @@ def fetcher_init(d):
173 if hasattr(m, "init"): 172 if hasattr(m, "init"):
174 m.init(d) 173 m.init(d)
175 174
176 # Make sure our domains exist 175def fetcher_compare_revisions(d):
177 pd.addDomain("BB_URI_HEADREVS")
178 pd.addDomain("BB_URI_LOCALCOUNT")
179
180def fetcher_compare_revisons(d):
181 """ 176 """
182 Compare the revisions in the persistant cache with current values and 177 Compare the revisions in the persistant cache with current values and
183 return true/false on whether they've changed. 178 return true/false on whether they've changed.
184 """ 179 """
185 180
186 pd = persist_data.PersistData(d, persistent_database_connection) 181 pd = persist_data.persist(d)
187 data = pd.getKeyValues("BB_URI_HEADREVS") 182 data = pd['BB_URI_HEADREVS'].items()
188 data2 = bb.fetch.saved_headrevs 183 data2 = bb.fetch.saved_headrevs
189 184
190 changed = False 185 changed = False
191 for key in data: 186 for key in data:
192 if key not in data2 or data2[key] != data[key]: 187 if key not in data2 or data2[key] != data[key]:
193 bb.msg.debug(1, bb.msg.domain.Fetcher, "%s changed" % key) 188 logger.debug(1, "%s changed", key)
194 changed = True 189 changed = True
195 return True 190 return True
196 else: 191 else:
197 bb.msg.debug(2, bb.msg.domain.Fetcher, "%s did not change" % key) 192 logger.debug(2, "%s did not change", key)
198 return False 193 return False
199 194
200# Function call order is usually: 195# Function call order is usually:
@@ -225,12 +220,6 @@ def init(urls, d, setup = True):
225def mirror_from_string(data): 220def mirror_from_string(data):
226 return [ i.split() for i in (data or "").replace('\\n','\n').split('\n') if i ] 221 return [ i.split() for i in (data or "").replace('\\n','\n').split('\n') if i ]
227 222
228def removefile(f):
229 try:
230 os.remove(f)
231 except:
232 pass
233
234def verify_checksum(u, ud, d): 223def verify_checksum(u, ud, d):
235 """ 224 """
236 verify the MD5 and SHA256 checksum for downloaded src 225 verify the MD5 and SHA256 checksum for downloaded src
@@ -251,17 +240,20 @@ def verify_checksum(u, ud, d):
251 sha256data = bb.utils.sha256_file(ud.localpath) 240 sha256data = bb.utils.sha256_file(ud.localpath)
252 241
253 if (ud.md5_expected == None or ud.sha256_expected == None): 242 if (ud.md5_expected == None or ud.sha256_expected == None):
254 bb.warn("Missing SRC_URI checksum for %s, consider to add\n" \ 243 logger.warn('Missing SRC_URI checksum for %s, consider adding to the recipe:\n'
255 "SRC_URI[%s] = \"%s\"\nSRC_URI[%s] = \"%s\"" \ 244 'SRC_URI[%s] = "%s"\nSRC_URI[%s] = "%s"',
256 % (ud.localpath, ud.md5_name, md5data, ud.sha256_name, sha256data)) 245 ud.localpath, ud.md5_name, md5data,
246 ud.sha256_name, sha256data)
257 if bb.data.getVar("BB_STRICT_CHECKSUM", d, True) == "1": 247 if bb.data.getVar("BB_STRICT_CHECKSUM", d, True) == "1":
258 raise FetchError("No checksum specified for %s." % u) 248 raise FetchError("No checksum specified for %s." % u)
259 return 249 return
260 250
261 if (ud.md5_expected != md5data or ud.sha256_expected != sha256data): 251 if (ud.md5_expected != md5data or ud.sha256_expected != sha256data):
262 bb.error("The checksums for '%s' did not match." % ud.localpath) 252 logger.error('The checksums for "%s" did not match.\n'
263 bb.error("Expected MD5: '%s' and Got: '%s'" % (ud.md5_expected, md5data)) 253 ' MD5: expected "%s", got "%s"\n'
264 bb.error("Expected SHA256: '%s' and Got: '%s'" % (ud.sha256_expected, sha256data)) 254 ' SHA256: expected "%s", got "%s"\n',
255 ud.localpath, ud.md5_expected, md5data,
256 ud.sha256_expected, sha256data)
265 raise FetchError("%s checksum mismatch." % u) 257 raise FetchError("%s checksum mismatch." % u)
266 258
267def go(d, urls = None): 259def go(d, urls = None):
@@ -298,7 +290,7 @@ def go(d, urls = None):
298 localpath = ud.localpath 290 localpath = ud.localpath
299 except FetchError: 291 except FetchError:
300 # Remove any incomplete file 292 # Remove any incomplete file
301 removefile(ud.localpath) 293 bb.utils.remove(ud.localpath)
302 # Finally, try fetching uri, u, from MIRRORS 294 # Finally, try fetching uri, u, from MIRRORS
303 mirrors = mirror_from_string(bb.data.getVar('MIRRORS', d, True)) 295 mirrors = mirror_from_string(bb.data.getVar('MIRRORS', d, True))
304 localpath = try_mirrors (d, u, mirrors) 296 localpath = try_mirrors (d, u, mirrors)
@@ -307,8 +299,6 @@ def go(d, urls = None):
307 299
308 ud.localpath = localpath 300 ud.localpath = localpath
309 301
310 verify_checksum(u, ud, d)
311
312 if os.path.exists(ud.md5): 302 if os.path.exists(ud.md5):
313 # Touch the md5 file to show active use of the download 303 # Touch the md5 file to show active use of the download
314 try: 304 try:
@@ -317,6 +307,8 @@ def go(d, urls = None):
317 # Errors aren't fatal here 307 # Errors aren't fatal here
318 pass 308 pass
319 else: 309 else:
310 # Only check the checksums if we've not seen this item before
311 verify_checksum(u, ud, d)
320 Fetch.write_md5sum(u, ud, d) 312 Fetch.write_md5sum(u, ud, d)
321 313
322 bb.utils.unlockfile(lf) 314 bb.utils.unlockfile(lf)
@@ -334,7 +326,7 @@ def checkstatus(d, urls = None):
334 for u in urls: 326 for u in urls:
335 ud = urldata[u] 327 ud = urldata[u]
336 m = ud.method 328 m = ud.method
337 bb.msg.debug(1, bb.msg.domain.Fetcher, "Testing URL %s" % u) 329 logger.debug(1, "Testing URL %s", u)
338 # First try checking uri, u, from PREMIRRORS 330 # First try checking uri, u, from PREMIRRORS
339 mirrors = mirror_from_string(bb.data.getVar('PREMIRRORS', d, True)) 331 mirrors = mirror_from_string(bb.data.getVar('PREMIRRORS', d, True))
340 ret = try_mirrors(d, u, mirrors, True) 332 ret = try_mirrors(d, u, mirrors, True)
@@ -365,6 +357,9 @@ def localpaths(d):
365 357
366srcrev_internal_call = False 358srcrev_internal_call = False
367 359
360def get_autorev(d):
361 return get_srcrev(d)
362
368def get_srcrev(d): 363def get_srcrev(d):
369 """ 364 """
370 Return the version string for the current package 365 Return the version string for the current package
@@ -388,17 +383,17 @@ def get_srcrev(d):
388 383
389 scms = [] 384 scms = []
390 385
391 # Only call setup_localpath on URIs which suppports_srcrev() 386 # Only call setup_localpath on URIs which supports_srcrev()
392 urldata = init(bb.data.getVar('SRC_URI', d, 1).split(), d, False) 387 urldata = init(bb.data.getVar('SRC_URI', d, 1).split(), d, False)
393 for u in urldata: 388 for u in urldata:
394 ud = urldata[u] 389 ud = urldata[u]
395 if ud.method.suppports_srcrev(): 390 if ud.method.supports_srcrev():
396 if not ud.setup: 391 if not ud.setup:
397 ud.setup_localpath(d) 392 ud.setup_localpath(d)
398 scms.append(u) 393 scms.append(u)
399 394
400 if len(scms) == 0: 395 if len(scms) == 0:
401 bb.msg.error(bb.msg.domain.Fetcher, "SRCREV was used yet no valid SCM was found in SRC_URI") 396 logger.error("SRCREV was used yet no valid SCM was found in SRC_URI")
402 raise ParameterError 397 raise ParameterError
403 398
404 if bb.data.getVar('BB_SRCREV_POLICY', d, True) != "cache": 399 if bb.data.getVar('BB_SRCREV_POLICY', d, True) != "cache":
@@ -412,7 +407,7 @@ def get_srcrev(d):
412 # 407 #
413 format = bb.data.getVar('SRCREV_FORMAT', d, 1) 408 format = bb.data.getVar('SRCREV_FORMAT', d, 1)
414 if not format: 409 if not format:
415 bb.msg.error(bb.msg.domain.Fetcher, "The SRCREV_FORMAT variable must be set when multiple SCMs are used.") 410 logger.error("The SRCREV_FORMAT variable must be set when multiple SCMs are used.")
416 raise ParameterError 411 raise ParameterError
417 412
418 for scm in scms: 413 for scm in scms:
@@ -454,7 +449,7 @@ def runfetchcmd(cmd, d, quiet = False):
454 if val: 449 if val:
455 cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd) 450 cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd)
456 451
457 bb.msg.debug(1, bb.msg.domain.Fetcher, "Running %s" % cmd) 452 logger.debug(1, "Running %s", cmd)
458 453
459 # redirect stderr to stdout 454 # redirect stderr to stdout
460 stdout_handle = os.popen(cmd + " 2>&1", "r") 455 stdout_handle = os.popen(cmd + " 2>&1", "r")
@@ -490,7 +485,7 @@ def try_mirrors(d, uri, mirrors, check = False, force = False):
490 """ 485 """
491 fpath = os.path.join(data.getVar("DL_DIR", d, 1), os.path.basename(uri)) 486 fpath = os.path.join(data.getVar("DL_DIR", d, 1), os.path.basename(uri))
492 if not check and os.access(fpath, os.R_OK) and not force: 487 if not check and os.access(fpath, os.R_OK) and not force:
493 bb.msg.debug(1, bb.msg.domain.Fetcher, "%s already exists, skipping checkout." % fpath) 488 logger.debug(1, "%s already exists, skipping checkout.", fpath)
494 return fpath 489 return fpath
495 490
496 ld = d.createCopy() 491 ld = d.createCopy()
@@ -500,7 +495,7 @@ def try_mirrors(d, uri, mirrors, check = False, force = False):
500 try: 495 try:
501 ud = FetchData(newuri, ld) 496 ud = FetchData(newuri, ld)
502 except bb.fetch.NoMethodError: 497 except bb.fetch.NoMethodError:
503 bb.msg.debug(1, bb.msg.domain.Fetcher, "No method for %s" % uri) 498 logger.debug(1, "No method for %s", uri)
504 continue 499 continue
505 500
506 ud.setup_localpath(ld) 501 ud.setup_localpath(ld)
@@ -518,8 +513,8 @@ def try_mirrors(d, uri, mirrors, check = False, force = False):
518 bb.fetch.MD5SumError): 513 bb.fetch.MD5SumError):
519 import sys 514 import sys
520 (type, value, traceback) = sys.exc_info() 515 (type, value, traceback) = sys.exc_info()
521 bb.msg.debug(2, bb.msg.domain.Fetcher, "Mirror fetch failure: %s" % value) 516 logger.debug(2, "Mirror fetch failure: %s", value)
522 removefile(ud.localpath) 517 bb.utils.remove(ud.localpath)
523 continue 518 continue
524 return None 519 return None
525 520
@@ -610,6 +605,13 @@ class Fetch(object):
610 and duplicate code execution) 605 and duplicate code execution)
611 """ 606 """
612 return url 607 return url
608 def _strip_leading_slashes(self, relpath):
609 """
610 Remove leading slash as os.path.join can't cope
611 """
612 while os.path.isabs(relpath):
613 relpath = relpath[1:]
614 return relpath
613 615
614 def setUrls(self, urls): 616 def setUrls(self, urls):
615 self.__urls = urls 617 self.__urls = urls
@@ -625,7 +627,7 @@ class Fetch(object):
625 """ 627 """
626 return False 628 return False
627 629
628 def suppports_srcrev(self): 630 def supports_srcrev(self):
629 """ 631 """
630 The fetcher supports auto source revisions (SRCREV) 632 The fetcher supports auto source revisions (SRCREV)
631 """ 633 """
@@ -654,7 +656,7 @@ class Fetch(object):
654 Check the status of a URL 656 Check the status of a URL
655 Assumes localpath was called first 657 Assumes localpath was called first
656 """ 658 """
657 bb.msg.note(1, bb.msg.domain.Fetcher, "URL %s could not be checked for status since no method exists." % url) 659 logger.info("URL %s could not be checked for status since no method exists.", url)
658 return True 660 return True
659 661
660 def getSRCDate(urldata, d): 662 def getSRCDate(urldata, d):
@@ -695,7 +697,7 @@ class Fetch(object):
695 if not rev: 697 if not rev:
696 rev = data.getVar("SRCREV_pn-%s_%s" % (pn, ud.parm['name']), d, 1) 698 rev = data.getVar("SRCREV_pn-%s_%s" % (pn, ud.parm['name']), d, 1)
697 if not rev: 699 if not rev:
698 rev = data.getVar("SRCREV_%s" % (ud.parm['name']), d, 1) 700 rev = data.getVar("SRCREV_%s" % (ud.parm['name']), d, 1)
699 if not rev: 701 if not rev:
700 rev = data.getVar("SRCREV", d, 1) 702 rev = data.getVar("SRCREV", d, 1)
701 if rev == "INVALID": 703 if rev == "INVALID":
@@ -729,9 +731,7 @@ class Fetch(object):
729 """ 731 """
730 Verify the md5sum we wanted with the one we got 732 Verify the md5sum we wanted with the one we got
731 """ 733 """
732 wanted_sum = None 734 wanted_sum = ud.parm.get('md5sum')
733 if 'md5sum' in ud.parm:
734 wanted_sum = ud.parm['md5sum']
735 if not wanted_sum: 735 if not wanted_sum:
736 return True 736 return True
737 737
@@ -756,14 +756,14 @@ class Fetch(object):
756 if not hasattr(self, "_latest_revision"): 756 if not hasattr(self, "_latest_revision"):
757 raise ParameterError 757 raise ParameterError
758 758
759 pd = persist_data.PersistData(d, persistent_database_connection) 759 pd = persist_data.persist(d)
760 revs = pd['BB_URI_HEADREVS']
760 key = self.generate_revision_key(url, ud, d) 761 key = self.generate_revision_key(url, ud, d)
761 rev = pd.getValue("BB_URI_HEADREVS", key) 762 rev = revs[key]
762 if rev != None: 763 if rev != None:
763 return str(rev) 764 return str(rev)
764 765
765 rev = self._latest_revision(url, ud, d) 766 revs[key] = rev = self._latest_revision(url, ud, d)
766 pd.setValue("BB_URI_HEADREVS", key, rev)
767 return rev 767 return rev
768 768
769 def sortable_revision(self, url, ud, d): 769 def sortable_revision(self, url, ud, d):
@@ -773,17 +773,18 @@ class Fetch(object):
773 if hasattr(self, "_sortable_revision"): 773 if hasattr(self, "_sortable_revision"):
774 return self._sortable_revision(url, ud, d) 774 return self._sortable_revision(url, ud, d)
775 775
776 pd = persist_data.PersistData(d, persistent_database_connection) 776 pd = persist_data.persist(d)
777 localcounts = pd['BB_URI_LOCALCOUNT']
777 key = self.generate_revision_key(url, ud, d) 778 key = self.generate_revision_key(url, ud, d)
778 779
779 latest_rev = self._build_revision(url, ud, d) 780 latest_rev = self._build_revision(url, ud, d)
780 last_rev = pd.getValue("BB_URI_LOCALCOUNT", key + "_rev") 781 last_rev = localcounts[key + '_rev']
781 uselocalcount = bb.data.getVar("BB_LOCALCOUNT_OVERRIDE", d, True) or False 782 uselocalcount = bb.data.getVar("BB_LOCALCOUNT_OVERRIDE", d, True) or False
782 count = None 783 count = None
783 if uselocalcount: 784 if uselocalcount:
784 count = Fetch.localcount_internal_helper(ud, d) 785 count = Fetch.localcount_internal_helper(ud, d)
785 if count is None: 786 if count is None:
786 count = pd.getValue("BB_URI_LOCALCOUNT", key + "_count") 787 count = localcounts[key + '_count']
787 788
788 if last_rev == latest_rev: 789 if last_rev == latest_rev:
789 return str(count + "+" + latest_rev) 790 return str(count + "+" + latest_rev)
@@ -799,8 +800,8 @@ class Fetch(object):
799 else: 800 else:
800 count = str(int(count) + 1) 801 count = str(int(count) + 1)
801 802
802 pd.setValue("BB_URI_LOCALCOUNT", key + "_rev", latest_rev) 803 localcounts[key + '_rev'] = latest_rev
803 pd.setValue("BB_URI_LOCALCOUNT", key + "_count", count) 804 localcounts[key + '_count'] = count
804 805
805 return str(count + "+" + latest_rev) 806 return str(count + "+" + latest_rev)
806 807
diff --git a/bitbake/lib/bb/fetch/bzr.py b/bitbake/lib/bb/fetch/bzr.py
index 813d7d8c80..afaf799900 100644
--- a/bitbake/lib/bb/fetch/bzr.py
+++ b/bitbake/lib/bb/fetch/bzr.py
@@ -25,11 +25,10 @@ BitBake 'Fetch' implementation for bzr.
25 25
26import os 26import os
27import sys 27import sys
28import logging
28import bb 29import bb
29from bb import data 30from bb import data
30from bb.fetch import Fetch 31from bb.fetch import Fetch, FetchError, runfetchcmd, logger
31from bb.fetch import FetchError
32from bb.fetch import runfetchcmd
33 32
34class Bzr(Fetch): 33class Bzr(Fetch):
35 def supports(self, url, ud, d): 34 def supports(self, url, ud, d):
@@ -38,10 +37,7 @@ class Bzr(Fetch):
38 def localpath (self, url, ud, d): 37 def localpath (self, url, ud, d):
39 38
40 # Create paths to bzr checkouts 39 # Create paths to bzr checkouts
41 relpath = ud.path 40 relpath = self._strip_leading_slashes(ud.path)
42 if relpath.startswith('/'):
43 # Remove leading slash as os.path.join can't cope
44 relpath = relpath[1:]
45 ud.pkgdir = os.path.join(data.expand('${BZRDIR}', d), ud.host, relpath) 41 ud.pkgdir = os.path.join(data.expand('${BZRDIR}', d), ud.host, relpath)
46 42
47 revision = Fetch.srcrev_internal_helper(ud, d) 43 revision = Fetch.srcrev_internal_helper(ud, d)
@@ -65,9 +61,7 @@ class Bzr(Fetch):
65 61
66 basecmd = data.expand('${FETCHCMD_bzr}', d) 62 basecmd = data.expand('${FETCHCMD_bzr}', d)
67 63
68 proto = "http" 64 proto = ud.parm.get('proto', 'http')
69 if "proto" in ud.parm:
70 proto = ud.parm["proto"]
71 65
72 bzrroot = ud.host + ud.path 66 bzrroot = ud.host + ud.path
73 67
@@ -93,22 +87,29 @@ class Bzr(Fetch):
93 87
94 if os.access(os.path.join(ud.pkgdir, os.path.basename(ud.pkgdir), '.bzr'), os.R_OK): 88 if os.access(os.path.join(ud.pkgdir, os.path.basename(ud.pkgdir), '.bzr'), os.R_OK):
95 bzrcmd = self._buildbzrcommand(ud, d, "update") 89 bzrcmd = self._buildbzrcommand(ud, d, "update")
96 bb.msg.debug(1, bb.msg.domain.Fetcher, "BZR Update %s" % loc) 90 logger.debug(1, "BZR Update %s", loc)
97 os.chdir(os.path.join (ud.pkgdir, os.path.basename(ud.path))) 91 os.chdir(os.path.join (ud.pkgdir, os.path.basename(ud.path)))
98 runfetchcmd(bzrcmd, d) 92 runfetchcmd(bzrcmd, d)
99 else: 93 else:
100 os.system("rm -rf %s" % os.path.join(ud.pkgdir, os.path.basename(ud.pkgdir))) 94 bb.utils.remove(os.path.join(ud.pkgdir, os.path.basename(ud.pkgdir)), True)
101 bzrcmd = self._buildbzrcommand(ud, d, "fetch") 95 bzrcmd = self._buildbzrcommand(ud, d, "fetch")
102 bb.msg.debug(1, bb.msg.domain.Fetcher, "BZR Checkout %s" % loc) 96 logger.debug(1, "BZR Checkout %s", loc)
103 bb.mkdirhier(ud.pkgdir) 97 bb.mkdirhier(ud.pkgdir)
104 os.chdir(ud.pkgdir) 98 os.chdir(ud.pkgdir)
105 bb.msg.debug(1, bb.msg.domain.Fetcher, "Running %s" % bzrcmd) 99 logger.debug(1, "Running %s", bzrcmd)
106 runfetchcmd(bzrcmd, d) 100 runfetchcmd(bzrcmd, d)
107 101
108 os.chdir(ud.pkgdir) 102 os.chdir(ud.pkgdir)
103
104 scmdata = ud.parm.get("scmdata", "")
105 if scmdata == "keep":
106 tar_flags = ""
107 else:
108 tar_flags = "--exclude '.bzr' --exclude '.bzrtags'"
109
109 # tar them up to a defined filename 110 # tar them up to a defined filename
110 try: 111 try:
111 runfetchcmd("tar -czf %s %s" % (ud.localpath, os.path.basename(ud.pkgdir)), d) 112 runfetchcmd("tar %s -czf %s %s" % (tar_flags, ud.localpath, os.path.basename(ud.pkgdir)), d)
112 except: 113 except:
113 t, v, tb = sys.exc_info() 114 t, v, tb = sys.exc_info()
114 try: 115 try:
@@ -117,7 +118,7 @@ class Bzr(Fetch):
117 pass 118 pass
118 raise t, v, tb 119 raise t, v, tb
119 120
120 def suppports_srcrev(self): 121 def supports_srcrev(self):
121 return True 122 return True
122 123
123 def _revision_key(self, url, ud, d): 124 def _revision_key(self, url, ud, d):
@@ -130,7 +131,7 @@ class Bzr(Fetch):
130 """ 131 """
131 Return the latest upstream revision number 132 Return the latest upstream revision number
132 """ 133 """
133 bb.msg.debug(2, bb.msg.domain.Fetcher, "BZR fetcher hitting network for %s" % url) 134 logger.debug(2, "BZR fetcher hitting network for %s", url)
134 135
135 output = runfetchcmd(self._buildbzrcommand(ud, d, "revno"), d, True) 136 output = runfetchcmd(self._buildbzrcommand(ud, d, "revno"), d, True)
136 137
diff --git a/bitbake/lib/bb/fetch/cvs.py b/bitbake/lib/bb/fetch/cvs.py
index 61976f7ef4..0edb794b04 100644
--- a/bitbake/lib/bb/fetch/cvs.py
+++ b/bitbake/lib/bb/fetch/cvs.py
@@ -27,11 +27,10 @@ BitBake build tools.
27# 27#
28 28
29import os 29import os
30import logging
30import bb 31import bb
31from bb import data 32from bb import data
32from bb.fetch import Fetch 33from bb.fetch import Fetch, FetchError, MissingParameterError, logger
33from bb.fetch import FetchError
34from bb.fetch import MissingParameterError
35 34
36class Cvs(Fetch): 35class Cvs(Fetch):
37 """ 36 """
@@ -48,9 +47,7 @@ class Cvs(Fetch):
48 raise MissingParameterError("cvs method needs a 'module' parameter") 47 raise MissingParameterError("cvs method needs a 'module' parameter")
49 ud.module = ud.parm["module"] 48 ud.module = ud.parm["module"]
50 49
51 ud.tag = "" 50 ud.tag = ud.parm.get('tag', "")
52 if 'tag' in ud.parm:
53 ud.tag = ud.parm['tag']
54 51
55 # Override the default date in certain cases 52 # Override the default date in certain cases
56 if 'date' in ud.parm: 53 if 'date' in ud.parm:
@@ -77,17 +74,9 @@ class Cvs(Fetch):
77 74
78 def go(self, loc, ud, d): 75 def go(self, loc, ud, d):
79 76
80 method = "pserver" 77 method = ud.parm.get('method', 'pserver')
81 if "method" in ud.parm: 78 localdir = ud.parm.get('localdir', ud.module)
82 method = ud.parm["method"] 79 cvs_port = ud.parm.get('port', '')
83
84 localdir = ud.module
85 if "localdir" in ud.parm:
86 localdir = ud.parm["localdir"]
87
88 cvs_port = ""
89 if "port" in ud.parm:
90 cvs_port = ud.parm["port"]
91 80
92 cvs_rsh = None 81 cvs_rsh = None
93 if method == "ext": 82 if method == "ext":
@@ -136,21 +125,21 @@ class Cvs(Fetch):
136 cvsupdatecmd = "CVS_RSH=\"%s\" %s" % (cvs_rsh, cvsupdatecmd) 125 cvsupdatecmd = "CVS_RSH=\"%s\" %s" % (cvs_rsh, cvsupdatecmd)
137 126
138 # create module directory 127 # create module directory
139 bb.msg.debug(2, bb.msg.domain.Fetcher, "Fetch: checking for module directory") 128 logger.debug(2, "Fetch: checking for module directory")
140 pkg = data.expand('${PN}', d) 129 pkg = data.expand('${PN}', d)
141 pkgdir = os.path.join(data.expand('${CVSDIR}', localdata), pkg) 130 pkgdir = os.path.join(data.expand('${CVSDIR}', localdata), pkg)
142 moddir = os.path.join(pkgdir, localdir) 131 moddir = os.path.join(pkgdir, localdir)
143 if os.access(os.path.join(moddir, 'CVS'), os.R_OK): 132 if os.access(os.path.join(moddir, 'CVS'), os.R_OK):
144 bb.msg.note(1, bb.msg.domain.Fetcher, "Update " + loc) 133 logger.info("Update " + loc)
145 # update sources there 134 # update sources there
146 os.chdir(moddir) 135 os.chdir(moddir)
147 myret = os.system(cvsupdatecmd) 136 myret = os.system(cvsupdatecmd)
148 else: 137 else:
149 bb.msg.note(1, bb.msg.domain.Fetcher, "Fetch " + loc) 138 logger.info("Fetch " + loc)
150 # check out sources there 139 # check out sources there
151 bb.mkdirhier(pkgdir) 140 bb.mkdirhier(pkgdir)
152 os.chdir(pkgdir) 141 os.chdir(pkgdir)
153 bb.msg.debug(1, bb.msg.domain.Fetcher, "Running %s" % cvscmd) 142 logger.debug(1, "Running %s", cvscmd)
154 myret = os.system(cvscmd) 143 myret = os.system(cvscmd)
155 144
156 if myret != 0 or not os.access(moddir, os.R_OK): 145 if myret != 0 or not os.access(moddir, os.R_OK):
@@ -160,14 +149,20 @@ class Cvs(Fetch):
160 pass 149 pass
161 raise FetchError(ud.module) 150 raise FetchError(ud.module)
162 151
152 scmdata = ud.parm.get("scmdata", "")
153 if scmdata == "keep":
154 tar_flags = ""
155 else:
156 tar_flags = "--exclude 'CVS'"
157
163 # tar them up to a defined filename 158 # tar them up to a defined filename
164 if 'fullpath' in ud.parm: 159 if 'fullpath' in ud.parm:
165 os.chdir(pkgdir) 160 os.chdir(pkgdir)
166 myret = os.system("tar -czf %s %s" % (ud.localpath, localdir)) 161 myret = os.system("tar %s -czf %s %s" % (tar_flags, ud.localpath, localdir))
167 else: 162 else:
168 os.chdir(moddir) 163 os.chdir(moddir)
169 os.chdir('..') 164 os.chdir('..')
170 myret = os.system("tar -czf %s %s" % (ud.localpath, os.path.basename(moddir))) 165 myret = os.system("tar %s -czf %s %s" % (tar_flags, ud.localpath, os.path.basename(moddir)))
171 166
172 if myret != 0: 167 if myret != 0:
173 try: 168 try:
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py
index 9bd447ff8b..b37a09743e 100644
--- a/bitbake/lib/bb/fetch/git.py
+++ b/bitbake/lib/bb/fetch/git.py
@@ -22,9 +22,11 @@ BitBake 'Fetch' git implementation
22 22
23import os 23import os
24import bb 24import bb
25import bb.persist_data
25from bb import data 26from bb import data
26from bb.fetch import Fetch 27from bb.fetch import Fetch
27from bb.fetch import runfetchcmd 28from bb.fetch import runfetchcmd
29from bb.fetch import logger
28 30
29class Git(Fetch): 31class Git(Fetch):
30 """Class to fetch a module or modules from git repositories""" 32 """Class to fetch a module or modules from git repositories"""
@@ -116,6 +118,7 @@ class Git(Fetch):
116 118
117 repofile = os.path.join(data.getVar("DL_DIR", d, 1), ud.mirrortarball) 119 repofile = os.path.join(data.getVar("DL_DIR", d, 1), ud.mirrortarball)
118 120
121
119 coname = '%s' % (ud.tag) 122 coname = '%s' % (ud.tag)
120 codir = os.path.join(ud.clonedir, coname) 123 codir = os.path.join(ud.clonedir, coname)
121 124
@@ -153,7 +156,7 @@ class Git(Fetch):
153 os.chdir(ud.clonedir) 156 os.chdir(ud.clonedir)
154 mirror_tarballs = data.getVar("BB_GENERATE_MIRROR_TARBALLS", d, True) 157 mirror_tarballs = data.getVar("BB_GENERATE_MIRROR_TARBALLS", d, True)
155 if mirror_tarballs != "0" or 'fullclone' in ud.parm: 158 if mirror_tarballs != "0" or 'fullclone' in ud.parm:
156 bb.msg.note(1, bb.msg.domain.Fetcher, "Creating tarball of git repository") 159 logger.info("Creating tarball of git repository")
157 runfetchcmd("tar -czf %s %s" % (repofile, os.path.join(".", ".git", "*") ), d) 160 runfetchcmd("tar -czf %s %s" % (repofile, os.path.join(".", ".git", "*") ), d)
158 161
159 if 'fullclone' in ud.parm: 162 if 'fullclone' in ud.parm:
@@ -179,19 +182,25 @@ class Git(Fetch):
179 readpathspec = "" 182 readpathspec = ""
180 coprefix = os.path.join(codir, "git", "") 183 coprefix = os.path.join(codir, "git", "")
181 184
182 bb.mkdirhier(codir) 185 scmdata = ud.parm.get("scmdata", "")
183 os.chdir(ud.clonedir) 186 if scmdata == "keep":
184 runfetchcmd("%s read-tree %s%s" % (ud.basecmd, ud.tag, readpathspec), d) 187 runfetchcmd("%s clone -n %s %s" % (ud.basecmd, ud.clonedir, coprefix), d)
185 runfetchcmd("%s checkout-index -q -f --prefix=%s -a" % (ud.basecmd, coprefix), d) 188 os.chdir(coprefix)
189 runfetchcmd("%s checkout -q -f %s%s" % (ud.basecmd, ud.tag, readpathspec), d)
190 else:
191 bb.mkdirhier(codir)
192 os.chdir(ud.clonedir)
193 runfetchcmd("%s read-tree %s%s" % (ud.basecmd, ud.tag, readpathspec), d)
194 runfetchcmd("%s checkout-index -q -f --prefix=%s -a" % (ud.basecmd, coprefix), d)
186 195
187 os.chdir(codir) 196 os.chdir(codir)
188 bb.msg.note(1, bb.msg.domain.Fetcher, "Creating tarball of git checkout") 197 logger.info("Creating tarball of git checkout")
189 runfetchcmd("tar -czf %s %s" % (ud.localpath, os.path.join(".", "*") ), d) 198 runfetchcmd("tar -czf %s %s" % (ud.localpath, os.path.join(".", "*") ), d)
190 199
191 os.chdir(ud.clonedir) 200 os.chdir(ud.clonedir)
192 bb.utils.prunedir(codir) 201 bb.utils.prunedir(codir)
193 202
194 def suppports_srcrev(self): 203 def supports_srcrev(self):
195 return True 204 return True
196 205
197 def _contains_ref(self, tag, d): 206 def _contains_ref(self, tag, d):
@@ -199,11 +208,19 @@ class Git(Fetch):
199 output = runfetchcmd("%s log --pretty=oneline -n 1 %s -- 2> /dev/null | wc -l" % (basecmd, tag), d, quiet=True) 208 output = runfetchcmd("%s log --pretty=oneline -n 1 %s -- 2> /dev/null | wc -l" % (basecmd, tag), d, quiet=True)
200 return output.split()[0] != "0" 209 return output.split()[0] != "0"
201 210
202 def _revision_key(self, url, ud, d): 211 def _revision_key(self, url, ud, d, branch=False):
203 """ 212 """
204 Return a unique key for the url 213 Return a unique key for the url
205 """ 214 """
206 return "git:" + ud.host + ud.path.replace('/', '.') + ud.branch 215 key = 'git:' + ud.host + ud.path.replace('/', '.')
216 if branch:
217 return key + ud.branch
218 else:
219 return key
220
221 def generate_revision_key(self, url, ud, d, branch=False):
222 key = self._revision_key(url, ud, d, branch)
223 return "%s-%s" % (key, bb.data.getVar("PN", d, True) or "")
207 224
208 def _latest_revision(self, url, ud, d): 225 def _latest_revision(self, url, ud, d):
209 """ 226 """
@@ -221,6 +238,74 @@ class Git(Fetch):
221 raise bb.fetch.FetchError("Fetch command %s gave empty output\n" % (cmd)) 238 raise bb.fetch.FetchError("Fetch command %s gave empty output\n" % (cmd))
222 return output.split()[0] 239 return output.split()[0]
223 240
241 def latest_revision(self, url, ud, d):
242 """
243 Look in the cache for the latest revision, if not present ask the SCM.
244 """
245 persisted = bb.persist_data.persist(d)
246 revs = persisted['BB_URI_HEADREVS']
247
248 key = self.generate_revision_key(url, ud, d, branch=True)
249 rev = revs[key]
250 if rev is None:
251 # Compatibility with old key format, no branch included
252 oldkey = self.generate_revision_key(url, ud, d, branch=False)
253 rev = revs[oldkey]
254 if rev is not None:
255 del revs[oldkey]
256 else:
257 rev = self._latest_revision(url, ud, d)
258 revs[key] = rev
259
260 return str(rev)
261
262 def sortable_revision(self, url, ud, d):
263 """
264
265 """
266 pd = bb.persist_data.persist(d)
267 localcounts = pd['BB_URI_LOCALCOUNT']
268 key = self.generate_revision_key(url, ud, d, branch=True)
269 oldkey = self.generate_revision_key(url, ud, d, branch=False)
270
271 latest_rev = self._build_revision(url, ud, d)
272 last_rev = localcounts[key + '_rev']
273 if last_rev is None:
274 last_rev = localcounts[oldkey + '_rev']
275 if last_rev is not None:
276 del localcounts[oldkey + '_rev']
277 localcounts[key + '_rev'] = last_rev
278
279 uselocalcount = bb.data.getVar("BB_LOCALCOUNT_OVERRIDE", d, True) or False
280 count = None
281 if uselocalcount:
282 count = Fetch.localcount_internal_helper(ud, d)
283 if count is None:
284 count = localcounts[key + '_count']
285 if count is None:
286 count = localcounts[oldkey + '_count']
287 if count is not None:
288 del localcounts[oldkey + '_count']
289 localcounts[key + '_count'] = count
290
291 if last_rev == latest_rev:
292 return str(count + "+" + latest_rev)
293
294 buildindex_provided = hasattr(self, "_sortable_buildindex")
295 if buildindex_provided:
296 count = self._sortable_buildindex(url, ud, d, latest_rev)
297 if count is None:
298 count = "0"
299 elif uselocalcount or buildindex_provided:
300 count = str(count)
301 else:
302 count = str(int(count) + 1)
303
304 localcounts[key + '_rev'] = latest_rev
305 localcounts[key + '_count'] = count
306
307 return str(count + "+" + latest_rev)
308
224 def _build_revision(self, url, ud, d): 309 def _build_revision(self, url, ud, d):
225 return ud.tag 310 return ud.tag
226 311
@@ -238,7 +323,7 @@ class Git(Fetch):
238 print("no repo") 323 print("no repo")
239 self.go(None, ud, d) 324 self.go(None, ud, d)
240 if not os.path.exists(ud.clonedir): 325 if not os.path.exists(ud.clonedir):
241 bb.msg.error(bb.msg.domain.Fetcher, "GIT repository for %s doesn't exist in %s, cannot get sortable buildnumber, using old value" % (url, ud.clonedir)) 326 logger.error("GIT repository for %s doesn't exist in %s, cannot get sortable buildnumber, using old value", url, ud.clonedir)
242 return None 327 return None
243 328
244 329
@@ -250,5 +335,5 @@ class Git(Fetch):
250 os.chdir(cwd) 335 os.chdir(cwd)
251 336
252 buildindex = "%s" % output.split()[0] 337 buildindex = "%s" % output.split()[0]
253 bb.msg.debug(1, bb.msg.domain.Fetcher, "GIT repository for %s in %s is returning %s revisions in rev-list before %s" % (url, ud.clonedir, buildindex, rev)) 338 logger.debug(1, "GIT repository for %s in %s is returning %s revisions in rev-list before %s", url, ud.clonedir, buildindex, rev)
254 return buildindex 339 return buildindex
diff --git a/bitbake/lib/bb/fetch/hg.py b/bitbake/lib/bb/fetch/hg.py
index efb3b5c76d..3c649a6ad0 100644
--- a/bitbake/lib/bb/fetch/hg.py
+++ b/bitbake/lib/bb/fetch/hg.py
@@ -26,21 +26,27 @@ BitBake 'Fetch' implementation for mercurial DRCS (hg).
26 26
27import os 27import os
28import sys 28import sys
29import logging
29import bb 30import bb
30from bb import data 31from bb import data
31from bb.fetch import Fetch 32from bb.fetch import Fetch
32from bb.fetch import FetchError 33from bb.fetch import FetchError
33from bb.fetch import MissingParameterError 34from bb.fetch import MissingParameterError
34from bb.fetch import runfetchcmd 35from bb.fetch import runfetchcmd
36from bb.fetch import logger
35 37
36class Hg(Fetch): 38class Hg(Fetch):
37 """Class to fetch a from mercurial repositories""" 39 """Class to fetch from mercurial repositories"""
38 def supports(self, url, ud, d): 40 def supports(self, url, ud, d):
39 """ 41 """
40 Check to see if a given url can be fetched with mercurial. 42 Check to see if a given url can be fetched with mercurial.
41 """ 43 """
42 return ud.type in ['hg'] 44 return ud.type in ['hg']
43 45
46 def forcefetch(self, url, ud, d):
47 revTag = ud.parm.get('rev', 'tip')
48 return revTag == "tip"
49
44 def localpath(self, url, ud, d): 50 def localpath(self, url, ud, d):
45 if not "module" in ud.parm: 51 if not "module" in ud.parm:
46 raise MissingParameterError("hg method needs a 'module' parameter") 52 raise MissingParameterError("hg method needs a 'module' parameter")
@@ -48,10 +54,7 @@ class Hg(Fetch):
48 ud.module = ud.parm["module"] 54 ud.module = ud.parm["module"]
49 55
50 # Create paths to mercurial checkouts 56 # Create paths to mercurial checkouts
51 relpath = ud.path 57 relpath = self._strip_leading_slashes(ud.path)
52 if relpath.startswith('/'):
53 # Remove leading slash as os.path.join can't cope
54 relpath = relpath[1:]
55 ud.pkgdir = os.path.join(data.expand('${HGDIR}', d), ud.host, relpath) 58 ud.pkgdir = os.path.join(data.expand('${HGDIR}', d), ud.host, relpath)
56 ud.moddir = os.path.join(ud.pkgdir, ud.module) 59 ud.moddir = os.path.join(ud.pkgdir, ud.module)
57 60
@@ -78,9 +81,7 @@ class Hg(Fetch):
78 81
79 basecmd = data.expand('${FETCHCMD_hg}', d) 82 basecmd = data.expand('${FETCHCMD_hg}', d)
80 83
81 proto = "http" 84 proto = ud.parm.get('proto', 'http')
82 if "proto" in ud.parm:
83 proto = ud.parm["proto"]
84 85
85 host = ud.host 86 host = ud.host
86 if proto == "file": 87 if proto == "file":
@@ -116,34 +117,41 @@ class Hg(Fetch):
116 def go(self, loc, ud, d): 117 def go(self, loc, ud, d):
117 """Fetch url""" 118 """Fetch url"""
118 119
119 bb.msg.debug(2, bb.msg.domain.Fetcher, "Fetch: checking for module directory '" + ud.moddir + "'") 120 logger.debug(2, "Fetch: checking for module directory '" + ud.moddir + "'")
120 121
121 if os.access(os.path.join(ud.moddir, '.hg'), os.R_OK): 122 if os.access(os.path.join(ud.moddir, '.hg'), os.R_OK):
122 updatecmd = self._buildhgcommand(ud, d, "pull") 123 updatecmd = self._buildhgcommand(ud, d, "pull")
123 bb.msg.note(1, bb.msg.domain.Fetcher, "Update " + loc) 124 logger.info("Update " + loc)
124 # update sources there 125 # update sources there
125 os.chdir(ud.moddir) 126 os.chdir(ud.moddir)
126 bb.msg.debug(1, bb.msg.domain.Fetcher, "Running %s" % updatecmd) 127 logger.debug(1, "Running %s", updatecmd)
127 runfetchcmd(updatecmd, d) 128 runfetchcmd(updatecmd, d)
128 129
129 else: 130 else:
130 fetchcmd = self._buildhgcommand(ud, d, "fetch") 131 fetchcmd = self._buildhgcommand(ud, d, "fetch")
131 bb.msg.note(1, bb.msg.domain.Fetcher, "Fetch " + loc) 132 logger.info("Fetch " + loc)
132 # check out sources there 133 # check out sources there
133 bb.mkdirhier(ud.pkgdir) 134 bb.mkdirhier(ud.pkgdir)
134 os.chdir(ud.pkgdir) 135 os.chdir(ud.pkgdir)
135 bb.msg.debug(1, bb.msg.domain.Fetcher, "Running %s" % fetchcmd) 136 logger.debug(1, "Running %s", fetchcmd)
136 runfetchcmd(fetchcmd, d) 137 runfetchcmd(fetchcmd, d)
137 138
138 # Even when we clone (fetch), we still need to update as hg's clone 139 # Even when we clone (fetch), we still need to update as hg's clone
139 # won't checkout the specified revision if its on a branch 140 # won't checkout the specified revision if its on a branch
140 updatecmd = self._buildhgcommand(ud, d, "update") 141 updatecmd = self._buildhgcommand(ud, d, "update")
141 bb.msg.debug(1, bb.msg.domain.Fetcher, "Running %s" % updatecmd) 142 os.chdir(ud.moddir)
143 logger.debug(1, "Running %s", updatecmd)
142 runfetchcmd(updatecmd, d) 144 runfetchcmd(updatecmd, d)
143 145
146 scmdata = ud.parm.get("scmdata", "")
147 if scmdata == "keep":
148 tar_flags = ""
149 else:
150 tar_flags = "--exclude '.hg' --exclude '.hgrags'"
151
144 os.chdir(ud.pkgdir) 152 os.chdir(ud.pkgdir)
145 try: 153 try:
146 runfetchcmd("tar -czf %s %s" % (ud.localpath, ud.module), d) 154 runfetchcmd("tar %s -czf %s %s" % (tar_flags, ud.localpath, ud.module), d)
147 except: 155 except:
148 t, v, tb = sys.exc_info() 156 t, v, tb = sys.exc_info()
149 try: 157 try:
@@ -152,7 +160,7 @@ class Hg(Fetch):
152 pass 160 pass
153 raise t, v, tb 161 raise t, v, tb
154 162
155 def suppports_srcrev(self): 163 def supports_srcrev(self):
156 return True 164 return True
157 165
158 def _latest_revision(self, url, ud, d): 166 def _latest_revision(self, url, ud, d):
diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py
index 882a2c4602..6aa9e45768 100644
--- a/bitbake/lib/bb/fetch/local.py
+++ b/bitbake/lib/bb/fetch/local.py
@@ -66,7 +66,7 @@ class Local(Fetch):
66 Check the status of the url 66 Check the status of the url
67 """ 67 """
68 if urldata.localpath.find("*") != -1: 68 if urldata.localpath.find("*") != -1:
69 bb.msg.note(1, bb.msg.domain.Fetcher, "URL %s looks like a glob and was therefore not checked." % url) 69 logger.info("URL %s looks like a glob and was therefore not checked.", url)
70 return True 70 return True
71 if os.path.exists(urldata.localpath): 71 if os.path.exists(urldata.localpath):
72 return True 72 return True
diff --git a/bitbake/lib/bb/fetch/osc.py b/bitbake/lib/bb/fetch/osc.py
index ed773939b0..8e0423d762 100644
--- a/bitbake/lib/bb/fetch/osc.py
+++ b/bitbake/lib/bb/fetch/osc.py
@@ -8,8 +8,10 @@ Based on the svn "Fetch" implementation.
8 8
9import os 9import os
10import sys 10import sys
11import logging
11import bb 12import bb
12from bb import data 13from bb import data
14from bb import utils
13from bb.fetch import Fetch 15from bb.fetch import Fetch
14from bb.fetch import FetchError 16from bb.fetch import FetchError
15from bb.fetch import MissingParameterError 17from bb.fetch import MissingParameterError
@@ -32,10 +34,7 @@ class Osc(Fetch):
32 ud.module = ud.parm["module"] 34 ud.module = ud.parm["module"]
33 35
34 # Create paths to osc checkouts 36 # Create paths to osc checkouts
35 relpath = ud.path 37 relpath = self._strip_leading_slashes(ud.path)
36 if relpath.startswith('/'):
37 # Remove leading slash as os.path.join can't cope
38 relpath = relpath[1:]
39 ud.pkgdir = os.path.join(data.expand('${OSCDIR}', d), ud.host) 38 ud.pkgdir = os.path.join(data.expand('${OSCDIR}', d), ud.host)
40 ud.moddir = os.path.join(ud.pkgdir, relpath, ud.module) 39 ud.moddir = os.path.join(ud.pkgdir, relpath, ud.module)
41 40
@@ -61,9 +60,7 @@ class Osc(Fetch):
61 60
62 basecmd = data.expand('${FETCHCMD_osc}', d) 61 basecmd = data.expand('${FETCHCMD_osc}', d)
63 62
64 proto = "ocs" 63 proto = ud.parm.get('proto', 'ocs')
65 if "proto" in ud.parm:
66 proto = ud.parm["proto"]
67 64
68 options = [] 65 options = []
69 66
@@ -72,10 +69,7 @@ class Osc(Fetch):
72 if ud.revision: 69 if ud.revision:
73 options.append("-r %s" % ud.revision) 70 options.append("-r %s" % ud.revision)
74 71
75 coroot = ud.path 72 coroot = self._strip_leading_slashes(ud.path)
76 if coroot.startswith('/'):
77 # Remove leading slash as os.path.join can't cope
78 coroot= coroot[1:]
79 73
80 if command is "fetch": 74 if command is "fetch":
81 osccmd = "%s %s co %s/%s %s" % (basecmd, config, coroot, ud.module, " ".join(options)) 75 osccmd = "%s %s co %s/%s %s" % (basecmd, config, coroot, ud.module, " ".join(options))
@@ -91,22 +85,22 @@ class Osc(Fetch):
91 Fetch url 85 Fetch url
92 """ 86 """
93 87
94 bb.msg.debug(2, bb.msg.domain.Fetcher, "Fetch: checking for module directory '" + ud.moddir + "'") 88 logger.debug(2, "Fetch: checking for module directory '" + ud.moddir + "'")
95 89
96 if os.access(os.path.join(data.expand('${OSCDIR}', d), ud.path, ud.module), os.R_OK): 90 if os.access(os.path.join(data.expand('${OSCDIR}', d), ud.path, ud.module), os.R_OK):
97 oscupdatecmd = self._buildosccommand(ud, d, "update") 91 oscupdatecmd = self._buildosccommand(ud, d, "update")
98 bb.msg.note(1, bb.msg.domain.Fetcher, "Update "+ loc) 92 logger.info("Update "+ loc)
99 # update sources there 93 # update sources there
100 os.chdir(ud.moddir) 94 os.chdir(ud.moddir)
101 bb.msg.debug(1, bb.msg.domain.Fetcher, "Running %s" % oscupdatecmd) 95 logger.debug(1, "Running %s", oscupdatecmd)
102 runfetchcmd(oscupdatecmd, d) 96 runfetchcmd(oscupdatecmd, d)
103 else: 97 else:
104 oscfetchcmd = self._buildosccommand(ud, d, "fetch") 98 oscfetchcmd = self._buildosccommand(ud, d, "fetch")
105 bb.msg.note(1, bb.msg.domain.Fetcher, "Fetch " + loc) 99 logger.info("Fetch " + loc)
106 # check out sources there 100 # check out sources there
107 bb.mkdirhier(ud.pkgdir) 101 bb.mkdirhier(ud.pkgdir)
108 os.chdir(ud.pkgdir) 102 os.chdir(ud.pkgdir)
109 bb.msg.debug(1, bb.msg.domain.Fetcher, "Running %s" % oscfetchcmd) 103 logger.debug(1, "Running %s", oscfetchcmd)
110 runfetchcmd(oscfetchcmd, d) 104 runfetchcmd(oscfetchcmd, d)
111 105
112 os.chdir(os.path.join(ud.pkgdir + ud.path)) 106 os.chdir(os.path.join(ud.pkgdir + ud.path))
@@ -129,9 +123,8 @@ class Osc(Fetch):
129 Generate a .oscrc to be used for this run. 123 Generate a .oscrc to be used for this run.
130 """ 124 """
131 125
132 config_path = "%s/oscrc" % data.expand('${OSCDIR}', d) 126 config_path = os.path.join(data.expand('${OSCDIR}', d), "oscrc")
133 if (os.path.exists(config_path)): 127 bb.utils.remove(config_path)
134 os.remove(config_path)
135 128
136 f = open(config_path, 'w') 129 f = open(config_path, 'w')
137 f.write("[general]\n") 130 f.write("[general]\n")
diff --git a/bitbake/lib/bb/fetch/perforce.py b/bitbake/lib/bb/fetch/perforce.py
index 1c74cff349..222ed7eaaa 100644
--- a/bitbake/lib/bb/fetch/perforce.py
+++ b/bitbake/lib/bb/fetch/perforce.py
@@ -27,10 +27,12 @@ BitBake build tools.
27 27
28from future_builtins import zip 28from future_builtins import zip
29import os 29import os
30import logging
30import bb 31import bb
31from bb import data 32from bb import data
32from bb.fetch import Fetch 33from bb.fetch import Fetch
33from bb.fetch import FetchError 34from bb.fetch import FetchError
35from bb.fetch import logger
34 36
35class Perforce(Fetch): 37class Perforce(Fetch):
36 def supports(self, url, ud, d): 38 def supports(self, url, ud, d):
@@ -86,10 +88,10 @@ class Perforce(Fetch):
86 depot += "@%s" % (p4date) 88 depot += "@%s" % (p4date)
87 89
88 p4cmd = data.getVar('FETCHCOMMAND_p4', d, 1) 90 p4cmd = data.getVar('FETCHCOMMAND_p4', d, 1)
89 bb.msg.debug(1, bb.msg.domain.Fetcher, "Running %s%s changes -m 1 %s" % (p4cmd, p4opt, depot)) 91 logger.debug(1, "Running %s%s changes -m 1 %s", p4cmd, p4opt, depot)
90 p4file = os.popen("%s%s changes -m 1 %s" % (p4cmd, p4opt, depot)) 92 p4file = os.popen("%s%s changes -m 1 %s" % (p4cmd, p4opt, depot))
91 cset = p4file.readline().strip() 93 cset = p4file.readline().strip()
92 bb.msg.debug(1, bb.msg.domain.Fetcher, "READ %s" % (cset)) 94 logger.debug(1, "READ %s", cset)
93 if not cset: 95 if not cset:
94 return -1 96 return -1
95 97
@@ -111,8 +113,7 @@ class Perforce(Fetch):
111 if which != -1: 113 if which != -1:
112 base = path[:which] 114 base = path[:which]
113 115
114 if base[0] == "/": 116 base = self._strip_leading_slashes(base)
115 base = base[1:]
116 117
117 cset = Perforce.getcset(d, path, host, user, pswd, parm) 118 cset = Perforce.getcset(d, path, host, user, pswd, parm)
118 119
@@ -132,10 +133,7 @@ class Perforce(Fetch):
132 else: 133 else:
133 path = depot 134 path = depot
134 135
135 if "module" in parm: 136 module = parm.get('module', os.path.basename(path))
136 module = parm["module"]
137 else:
138 module = os.path.basename(path)
139 137
140 localdata = data.createCopy(d) 138 localdata = data.createCopy(d)
141 data.setVar('OVERRIDES', "p4:%s" % data.getVar('OVERRIDES', localdata), localdata) 139 data.setVar('OVERRIDES', "p4:%s" % data.getVar('OVERRIDES', localdata), localdata)
@@ -155,13 +153,13 @@ class Perforce(Fetch):
155 p4cmd = data.getVar('FETCHCOMMAND', localdata, 1) 153 p4cmd = data.getVar('FETCHCOMMAND', localdata, 1)
156 154
157 # create temp directory 155 # create temp directory
158 bb.msg.debug(2, bb.msg.domain.Fetcher, "Fetch: creating temporary directory") 156 logger.debug(2, "Fetch: creating temporary directory")
159 bb.mkdirhier(data.expand('${WORKDIR}', localdata)) 157 bb.mkdirhier(data.expand('${WORKDIR}', localdata))
160 data.setVar('TMPBASE', data.expand('${WORKDIR}/oep4.XXXXXX', localdata), localdata) 158 data.setVar('TMPBASE', data.expand('${WORKDIR}/oep4.XXXXXX', localdata), localdata)
161 tmppipe = os.popen(data.getVar('MKTEMPDIRCMD', localdata, 1) or "false") 159 tmppipe = os.popen(data.getVar('MKTEMPDIRCMD', localdata, 1) or "false")
162 tmpfile = tmppipe.readline().strip() 160 tmpfile = tmppipe.readline().strip()
163 if not tmpfile: 161 if not tmpfile:
164 bb.msg.error(bb.msg.domain.Fetcher, "Fetch: unable to create temporary directory.. make sure 'mktemp' is in the PATH.") 162 logger.error("Fetch: unable to create temporary directory.. make sure 'mktemp' is in the PATH.")
165 raise FetchError(module) 163 raise FetchError(module)
166 164
167 if "label" in parm: 165 if "label" in parm:
@@ -171,12 +169,12 @@ class Perforce(Fetch):
171 depot = "%s@%s" % (depot, cset) 169 depot = "%s@%s" % (depot, cset)
172 170
173 os.chdir(tmpfile) 171 os.chdir(tmpfile)
174 bb.msg.note(1, bb.msg.domain.Fetcher, "Fetch " + loc) 172 logger.info("Fetch " + loc)
175 bb.msg.note(1, bb.msg.domain.Fetcher, "%s%s files %s" % (p4cmd, p4opt, depot)) 173 logger.info("%s%s files %s", p4cmd, p4opt, depot)
176 p4file = os.popen("%s%s files %s" % (p4cmd, p4opt, depot)) 174 p4file = os.popen("%s%s files %s" % (p4cmd, p4opt, depot))
177 175
178 if not p4file: 176 if not p4file:
179 bb.msg.error(bb.msg.domain.Fetcher, "Fetch: unable to get the P4 files from %s" % (depot)) 177 logger.error("Fetch: unable to get the P4 files from %s", depot)
180 raise FetchError(module) 178 raise FetchError(module)
181 179
182 count = 0 180 count = 0
@@ -194,7 +192,7 @@ class Perforce(Fetch):
194 count = count + 1 192 count = count + 1
195 193
196 if count == 0: 194 if count == 0:
197 bb.msg.error(bb.msg.domain.Fetcher, "Fetch: No files gathered from the P4 fetch") 195 logger.error("Fetch: No files gathered from the P4 fetch")
198 raise FetchError(module) 196 raise FetchError(module)
199 197
200 myret = os.system("tar -czf %s %s" % (ud.localpath, module)) 198 myret = os.system("tar -czf %s %s" % (ud.localpath, module))
@@ -205,4 +203,4 @@ class Perforce(Fetch):
205 pass 203 pass
206 raise FetchError(module) 204 raise FetchError(module)
207 # cleanup 205 # cleanup
208 os.system('rm -rf %s' % tmpfile) 206 bb.utils.prunedir(tmpfile)
diff --git a/bitbake/lib/bb/fetch/repo.py b/bitbake/lib/bb/fetch/repo.py
index 883310b019..03642e7a0d 100644
--- a/bitbake/lib/bb/fetch/repo.py
+++ b/bitbake/lib/bb/fetch/repo.py
@@ -45,24 +45,11 @@ class Repo(Fetch):
45 "master". 45 "master".
46 """ 46 """
47 47
48 if "protocol" in ud.parm: 48 ud.proto = ud.parm.get('protocol', 'git')
49 ud.proto = ud.parm["protocol"] 49 ud.branch = ud.parm.get('branch', 'master')
50 else: 50 ud.manifest = ud.parm.get('manifest', 'default.xml')
51 ud.proto = "git" 51 if not ud.manifest.endswith('.xml'):
52 52 ud.manifest += '.xml'
53 if "branch" in ud.parm:
54 ud.branch = ud.parm["branch"]
55 else:
56 ud.branch = "master"
57
58 if "manifest" in ud.parm:
59 manifest = ud.parm["manifest"]
60 if manifest.endswith(".xml"):
61 ud.manifest = manifest
62 else:
63 ud.manifest = manifest + ".xml"
64 else:
65 ud.manifest = "default.xml"
66 53
67 ud.localfile = data.expand("repo_%s%s_%s_%s.tar.gz" % (ud.host, ud.path.replace("/", "."), ud.manifest, ud.branch), d) 54 ud.localfile = data.expand("repo_%s%s_%s_%s.tar.gz" % (ud.host, ud.path.replace("/", "."), ud.manifest, ud.branch), d)
68 55
@@ -72,7 +59,7 @@ class Repo(Fetch):
72 """Fetch url""" 59 """Fetch url"""
73 60
74 if os.access(os.path.join(data.getVar("DL_DIR", d, True), ud.localfile), os.R_OK): 61 if os.access(os.path.join(data.getVar("DL_DIR", d, True), ud.localfile), os.R_OK):
75 bb.msg.debug(1, bb.msg.domain.Fetcher, "%s already exists (or was stashed). Skipping repo init / sync." % ud.localpath) 62 logger.debug(1, "%s already exists (or was stashed). Skipping repo init / sync.", ud.localpath)
76 return 63 return
77 64
78 gitsrcname = "%s%s" % (ud.host, ud.path.replace("/", ".")) 65 gitsrcname = "%s%s" % (ud.host, ud.path.replace("/", "."))
@@ -92,10 +79,16 @@ class Repo(Fetch):
92 runfetchcmd("repo sync", d) 79 runfetchcmd("repo sync", d)
93 os.chdir(codir) 80 os.chdir(codir)
94 81
82 scmdata = ud.parm.get("scmdata", "")
83 if scmdata == "keep":
84 tar_flags = ""
85 else:
86 tar_flags = "--exclude '.repo' --exclude '.git'"
87
95 # Create a cache 88 # Create a cache
96 runfetchcmd("tar --exclude=.repo --exclude=.git -czf %s %s" % (ud.localpath, os.path.join(".", "*") ), d) 89 runfetchcmd("tar %s -czf %s %s" % (tar_flags, ud.localpath, os.path.join(".", "*") ), d)
97 90
98 def suppports_srcrev(self): 91 def supports_srcrev(self):
99 return False 92 return False
100 93
101 def _build_revision(self, url, ud, d): 94 def _build_revision(self, url, ud, d):
diff --git a/bitbake/lib/bb/fetch/svk.py b/bitbake/lib/bb/fetch/svk.py
index a17ac04d21..595a9da255 100644
--- a/bitbake/lib/bb/fetch/svk.py
+++ b/bitbake/lib/bb/fetch/svk.py
@@ -26,11 +26,13 @@ This implementation is for svk. It is based on the svn implementation
26# Based on functions from the base bb module, Copyright 2003 Holger Schurig 26# Based on functions from the base bb module, Copyright 2003 Holger Schurig
27 27
28import os 28import os
29import logging
29import bb 30import bb
30from bb import data 31from bb import data
31from bb.fetch import Fetch 32from bb.fetch import Fetch
32from bb.fetch import FetchError 33from bb.fetch import FetchError
33from bb.fetch import MissingParameterError 34from bb.fetch import MissingParameterError
35from bb.fetch import logger
34 36
35class Svk(Fetch): 37class Svk(Fetch):
36 """Class to fetch a module or modules from svk repositories""" 38 """Class to fetch a module or modules from svk repositories"""
@@ -46,18 +48,14 @@ class Svk(Fetch):
46 else: 48 else:
47 ud.module = ud.parm["module"] 49 ud.module = ud.parm["module"]
48 50
49 ud.revision = "" 51 ud.revision = ud.parm.get('rev', "")
50 if 'rev' in ud.parm:
51 ud.revision = ud.parm['rev']
52 52
53 ud.localfile = data.expand('%s_%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision, ud.date), d) 53 ud.localfile = data.expand('%s_%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision, ud.date), d)
54 54
55 return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile) 55 return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile)
56 56
57 def forcefetch(self, url, ud, d): 57 def forcefetch(self, url, ud, d):
58 if (ud.date == "now"): 58 return ud.date == "now"
59 return True
60 return False
61 59
62 def go(self, loc, ud, d): 60 def go(self, loc, ud, d):
63 """Fetch urls""" 61 """Fetch urls"""
@@ -72,19 +70,19 @@ class Svk(Fetch):
72 # create temp directory 70 # create temp directory
73 localdata = data.createCopy(d) 71 localdata = data.createCopy(d)
74 data.update_data(localdata) 72 data.update_data(localdata)
75 bb.msg.debug(2, bb.msg.domain.Fetcher, "Fetch: creating temporary directory") 73 logger.debug(2, "Fetch: creating temporary directory")
76 bb.mkdirhier(data.expand('${WORKDIR}', localdata)) 74 bb.mkdirhier(data.expand('${WORKDIR}', localdata))
77 data.setVar('TMPBASE', data.expand('${WORKDIR}/oesvk.XXXXXX', localdata), localdata) 75 data.setVar('TMPBASE', data.expand('${WORKDIR}/oesvk.XXXXXX', localdata), localdata)
78 tmppipe = os.popen(data.getVar('MKTEMPDIRCMD', localdata, 1) or "false") 76 tmppipe = os.popen(data.getVar('MKTEMPDIRCMD', localdata, 1) or "false")
79 tmpfile = tmppipe.readline().strip() 77 tmpfile = tmppipe.readline().strip()
80 if not tmpfile: 78 if not tmpfile:
81 bb.msg.error(bb.msg.domain.Fetcher, "Fetch: unable to create temporary directory.. make sure 'mktemp' is in the PATH.") 79 logger.error("Fetch: unable to create temporary directory.. make sure 'mktemp' is in the PATH.")
82 raise FetchError(ud.module) 80 raise FetchError(ud.module)
83 81
84 # check out sources there 82 # check out sources there
85 os.chdir(tmpfile) 83 os.chdir(tmpfile)
86 bb.msg.note(1, bb.msg.domain.Fetcher, "Fetch " + loc) 84 logger.info("Fetch " + loc)
87 bb.msg.debug(1, bb.msg.domain.Fetcher, "Running %s" % svkcmd) 85 logger.debug(1, "Running %s", svkcmd)
88 myret = os.system(svkcmd) 86 myret = os.system(svkcmd)
89 if myret != 0: 87 if myret != 0:
90 try: 88 try:
@@ -103,4 +101,4 @@ class Svk(Fetch):
103 pass 101 pass
104 raise FetchError(ud.module) 102 raise FetchError(ud.module)
105 # cleanup 103 # cleanup
106 os.system('rm -rf %s' % tmpfile) 104 bb.utils.prunedir(tmpfile)
diff --git a/bitbake/lib/bb/fetch/svn.py b/bitbake/lib/bb/fetch/svn.py
index 375e8df055..8f053abf74 100644
--- a/bitbake/lib/bb/fetch/svn.py
+++ b/bitbake/lib/bb/fetch/svn.py
@@ -25,12 +25,14 @@ BitBake 'Fetch' implementation for svn.
25 25
26import os 26import os
27import sys 27import sys
28import logging
28import bb 29import bb
29from bb import data 30from bb import data
30from bb.fetch import Fetch 31from bb.fetch import Fetch
31from bb.fetch import FetchError 32from bb.fetch import FetchError
32from bb.fetch import MissingParameterError 33from bb.fetch import MissingParameterError
33from bb.fetch import runfetchcmd 34from bb.fetch import runfetchcmd
35from bb.fetch import logger
34 36
35class Svn(Fetch): 37class Svn(Fetch):
36 """Class to fetch a module or modules from svn repositories""" 38 """Class to fetch a module or modules from svn repositories"""
@@ -47,10 +49,7 @@ class Svn(Fetch):
47 ud.module = ud.parm["module"] 49 ud.module = ud.parm["module"]
48 50
49 # Create paths to svn checkouts 51 # Create paths to svn checkouts
50 relpath = ud.path 52 relpath = self._strip_leading_slashes(ud.path)
51 if relpath.startswith('/'):
52 # Remove leading slash as os.path.join can't cope
53 relpath = relpath[1:]
54 ud.pkgdir = os.path.join(data.expand('${SVNDIR}', d), ud.host, relpath) 53 ud.pkgdir = os.path.join(data.expand('${SVNDIR}', d), ud.host, relpath)
55 ud.moddir = os.path.join(ud.pkgdir, ud.module) 54 ud.moddir = os.path.join(ud.pkgdir, ud.module)
56 55
@@ -92,9 +91,7 @@ class Svn(Fetch):
92 91
93 basecmd = data.expand('${FETCHCMD_svn}', d) 92 basecmd = data.expand('${FETCHCMD_svn}', d)
94 93
95 proto = "svn" 94 proto = ud.parm.get('proto', 'svn')
96 if "proto" in ud.parm:
97 proto = ud.parm["proto"]
98 95
99 svn_rsh = None 96 svn_rsh = None
100 if proto == "svn+ssh" and "rsh" in ud.parm: 97 if proto == "svn+ssh" and "rsh" in ud.parm:
@@ -136,28 +133,34 @@ class Svn(Fetch):
136 def go(self, loc, ud, d): 133 def go(self, loc, ud, d):
137 """Fetch url""" 134 """Fetch url"""
138 135
139 bb.msg.debug(2, bb.msg.domain.Fetcher, "Fetch: checking for module directory '" + ud.moddir + "'") 136 logger.debug(2, "Fetch: checking for module directory '" + ud.moddir + "'")
140 137
141 if os.access(os.path.join(ud.moddir, '.svn'), os.R_OK): 138 if os.access(os.path.join(ud.moddir, '.svn'), os.R_OK):
142 svnupdatecmd = self._buildsvncommand(ud, d, "update") 139 svnupdatecmd = self._buildsvncommand(ud, d, "update")
143 bb.msg.note(1, bb.msg.domain.Fetcher, "Update " + loc) 140 logger.info("Update " + loc)
144 # update sources there 141 # update sources there
145 os.chdir(ud.moddir) 142 os.chdir(ud.moddir)
146 bb.msg.debug(1, bb.msg.domain.Fetcher, "Running %s" % svnupdatecmd) 143 logger.debug(1, "Running %s", svnupdatecmd)
147 runfetchcmd(svnupdatecmd, d) 144 runfetchcmd(svnupdatecmd, d)
148 else: 145 else:
149 svnfetchcmd = self._buildsvncommand(ud, d, "fetch") 146 svnfetchcmd = self._buildsvncommand(ud, d, "fetch")
150 bb.msg.note(1, bb.msg.domain.Fetcher, "Fetch " + loc) 147 logger.info("Fetch " + loc)
151 # check out sources there 148 # check out sources there
152 bb.mkdirhier(ud.pkgdir) 149 bb.mkdirhier(ud.pkgdir)
153 os.chdir(ud.pkgdir) 150 os.chdir(ud.pkgdir)
154 bb.msg.debug(1, bb.msg.domain.Fetcher, "Running %s" % svnfetchcmd) 151 logger.debug(1, "Running %s", svnfetchcmd)
155 runfetchcmd(svnfetchcmd, d) 152 runfetchcmd(svnfetchcmd, d)
156 153
154 scmdata = ud.parm.get("scmdata", "")
155 if scmdata == "keep":
156 tar_flags = ""
157 else:
158 tar_flags = "--exclude '.svn'"
159
157 os.chdir(ud.pkgdir) 160 os.chdir(ud.pkgdir)
158 # tar them up to a defined filename 161 # tar them up to a defined filename
159 try: 162 try:
160 runfetchcmd("tar -czf %s %s" % (ud.localpath, ud.module), d) 163 runfetchcmd("tar %s -czf %s %s" % (tar_flags, ud.localpath, ud.module), d)
161 except: 164 except:
162 t, v, tb = sys.exc_info() 165 t, v, tb = sys.exc_info()
163 try: 166 try:
@@ -166,7 +169,7 @@ class Svn(Fetch):
166 pass 169 pass
167 raise t, v, tb 170 raise t, v, tb
168 171
169 def suppports_srcrev(self): 172 def supports_srcrev(self):
170 return True 173 return True
171 174
172 def _revision_key(self, url, ud, d): 175 def _revision_key(self, url, ud, d):
@@ -179,7 +182,7 @@ class Svn(Fetch):
179 """ 182 """
180 Return the latest upstream revision number 183 Return the latest upstream revision number
181 """ 184 """
182 bb.msg.debug(2, bb.msg.domain.Fetcher, "SVN fetcher hitting network for %s" % url) 185 logger.debug(2, "SVN fetcher hitting network for %s", url)
183 186
184 output = runfetchcmd("LANG=C LC_ALL=C " + self._buildsvncommand(ud, d, "info"), d, True) 187 output = runfetchcmd("LANG=C LC_ALL=C " + self._buildsvncommand(ud, d, "info"), d, True)
185 188
diff --git a/bitbake/lib/bb/fetch/wget.py b/bitbake/lib/bb/fetch/wget.py
index dcc58c75e8..4d4bdfd493 100644
--- a/bitbake/lib/bb/fetch/wget.py
+++ b/bitbake/lib/bb/fetch/wget.py
@@ -26,12 +26,11 @@ BitBake build tools.
26# Based on functions from the base bb module, Copyright 2003 Holger Schurig 26# Based on functions from the base bb module, Copyright 2003 Holger Schurig
27 27
28import os 28import os
29import logging
29import bb 30import bb
31import urllib
30from bb import data 32from bb import data
31from bb.fetch import Fetch 33from bb.fetch import Fetch, FetchError, encodeurl, decodeurl, logger, runfetchcmd
32from bb.fetch import FetchError
33from bb.fetch import encodeurl, decodeurl
34from bb.fetch import runfetchcmd
35 34
36class Wget(Fetch): 35class Wget(Fetch):
37 """Class to fetch urls via 'wget'""" 36 """Class to fetch urls via 'wget'"""
@@ -45,7 +44,7 @@ class Wget(Fetch):
45 44
46 url = encodeurl([ud.type, ud.host, ud.path, ud.user, ud.pswd, {}]) 45 url = encodeurl([ud.type, ud.host, ud.path, ud.user, ud.pswd, {}])
47 ud.basename = os.path.basename(ud.path) 46 ud.basename = os.path.basename(ud.path)
48 ud.localfile = data.expand(os.path.basename(url), d) 47 ud.localfile = data.expand(urllib.unquote(ud.basename), d)
49 48
50 return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile) 49 return os.path.join(data.getVar("DL_DIR", d, True), ud.localfile)
51 50
@@ -68,15 +67,14 @@ class Wget(Fetch):
68 67
69 fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0]) 68 fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0])
70 fetchcmd = fetchcmd.replace("${FILE}", ud.basename) 69 fetchcmd = fetchcmd.replace("${FILE}", ud.basename)
71 70 logger.info("fetch " + uri)
72 bb.msg.note(1, bb.msg.domain.Fetcher, "fetch " + uri) 71 logger.debug(2, "executing " + fetchcmd)
73 bb.msg.debug(2, bb.msg.domain.Fetcher, "executing " + fetchcmd)
74 runfetchcmd(fetchcmd, d) 72 runfetchcmd(fetchcmd, d)
75 73
76 # Sanity check since wget can pretend it succeed when it didn't 74 # Sanity check since wget can pretend it succeed when it didn't
77 # Also, this used to happen if sourceforge sent us to the mirror page 75 # Also, this used to happen if sourceforge sent us to the mirror page
78 if not os.path.exists(ud.localpath) and not checkonly: 76 if not os.path.exists(ud.localpath) and not checkonly:
79 bb.msg.debug(2, bb.msg.domain.Fetcher, "The fetch command for %s returned success but %s doesn't exist?..." % (uri, ud.localpath)) 77 logger.debug(2, "The fetch command for %s returned success but %s doesn't exist?...", uri, ud.localpath)
80 return False 78 return False
81 79
82 return True 80 return True
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
new file mode 100644
index 0000000000..ef9d75f3fe
--- /dev/null
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -0,0 +1,985 @@
1# ex:ts=4:sw=4:sts=4:et
2# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
3"""
4BitBake 'Fetch' implementations
5
6Classes for obtaining upstream sources for the
7BitBake build tools.
8"""
9
10# Copyright (C) 2003, 2004 Chris Larson
11#
12# This program is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License version 2 as
14# published by the Free Software Foundation.
15#
16# This program is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License along
22# with this program; if not, write to the Free Software Foundation, Inc.,
23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24#
25# Based on functions from the base bb module, Copyright 2003 Holger Schurig
26
27from __future__ import absolute_import
28from __future__ import print_function
29import os, re
30import logging
31import bb
32from bb import data
33from bb import persist_data
34from bb import utils
35
36__version__ = "2"
37
38logger = logging.getLogger("BitBake.Fetcher")
39
40class BBFetchException(Exception):
41 """Class all fetch exceptions inherit from"""
42 def __init__(self, message):
43 self.msg = message
44 Exception.__init__(self, message)
45
46 def __str__(self):
47 return self.msg
48
49class MalformedUrl(BBFetchException):
50 """Exception raised when encountering an invalid url"""
51 def __init__(self, url):
52 msg = "The URL: '%s' is invalid and cannot be interpreted" % url
53 self.url = url
54 BBFetchException.__init__(self, msg)
55 self.args = url
56
57class FetchError(BBFetchException):
58 """General fetcher exception when something happens incorrectly"""
59 def __init__(self, message, url = None):
60 msg = "Fetcher failure for URL: '%s'. %s" % (url, message)
61 self.url = url
62 BBFetchException.__init__(self, msg)
63 self.args = (message, url)
64
65class UnpackError(BBFetchException):
66 """General fetcher exception when something happens incorrectly when unpacking"""
67 def __init__(self, message, url):
68 msg = "Unpack failure for URL: '%s'. %s" % (url, message)
69 self.url = url
70 BBFetchException.__init__(self, msg)
71 self.args = (message, url)
72
73class NoMethodError(BBFetchException):
74 """Exception raised when there is no method to obtain a supplied url or set of urls"""
75 def __init__(self, url):
76 msg = "Could not find a fetcher which supports the URL: '%s'" % url
77 self.url = url
78 BBFetchException.__init__(self, msg)
79 self.args = url
80
81class MissingParameterError(BBFetchException):
82 """Exception raised when a fetch method is missing a critical parameter in the url"""
83 def __init__(self, missing, url):
84 msg = "URL: '%s' is missing the required parameter '%s'" % (url, missing)
85 self.url = url
86 self.missing = missing
87 BBFetchException.__init__(self, msg)
88 self.args = (missing, url)
89
90class ParameterError(BBFetchException):
91 """Exception raised when a url cannot be proccessed due to invalid parameters."""
92 def __init__(self, message, url):
93 msg = "URL: '%s' has invalid parameters. %s" % (url, message)
94 self.url = url
95 BBFetchException.__init__(self, msg)
96 self.args = (message, url)
97
98class MD5SumError(BBFetchException):
99 """Exception raised when a MD5 checksum of a file does not match for a downloaded file"""
100 def __init__(self, path, wanted, got, url):
101 msg = "File: '%s' has md5 sum %s when %s was expected (from URL: '%s')" % (path, got, wanted, url)
102 self.url = url
103 self.path = path
104 self.wanted = wanted
105 self.got = got
106 BBFetchException.__init__(self, msg)
107 self.args = (path, wanted, got, url)
108
109class SHA256SumError(MD5SumError):
110 """Exception raised when a SHA256 checksum of a file does not match for a downloaded file"""
111
112def decodeurl(url):
113 """Decodes an URL into the tokens (scheme, network location, path,
114 user, password, parameters).
115 """
116
117 m = re.compile('(?P<type>[^:]*)://((?P<user>.+)@)?(?P<location>[^;]+)(;(?P<parm>.*))?').match(url)
118 if not m:
119 raise MalformedUrl(url)
120
121 type = m.group('type')
122 location = m.group('location')
123 if not location:
124 raise MalformedUrl(url)
125 user = m.group('user')
126 parm = m.group('parm')
127
128 locidx = location.find('/')
129 if locidx != -1 and type.lower() != 'file':
130 host = location[:locidx]
131 path = location[locidx:]
132 else:
133 host = ""
134 path = location
135 if user:
136 m = re.compile('(?P<user>[^:]+)(:?(?P<pswd>.*))').match(user)
137 if m:
138 user = m.group('user')
139 pswd = m.group('pswd')
140 else:
141 user = ''
142 pswd = ''
143
144 p = {}
145 if parm:
146 for s in parm.split(';'):
147 s1, s2 = s.split('=')
148 p[s1] = s2
149
150 return (type, host, path, user, pswd, p)
151
152def encodeurl(decoded):
153 """Encodes a URL from tokens (scheme, network location, path,
154 user, password, parameters).
155 """
156
157 (type, host, path, user, pswd, p) = decoded
158
159 if not path:
160 raise MissingParameterError('path', "encoded from the data %s" % str(decoded))
161 if not type:
162 raise MissingParameterError('type', "encoded from the data %s" % str(decoded))
163 url = '%s://' % type
164 if user and type != "file":
165 url += "%s" % user
166 if pswd:
167 url += ":%s" % pswd
168 url += "@"
169 if host and type != "file":
170 url += "%s" % host
171 url += "%s" % path
172 if p:
173 for parm in p:
174 url += ";%s=%s" % (parm, p[parm])
175
176 return url
177
178def uri_replace(ud, uri_find, uri_replace, d):
179 if not ud.url or not uri_find or not uri_replace:
180 logger.debug(1, "uri_replace: passed an undefined value, not replacing")
181 uri_decoded = list(decodeurl(ud.url))
182 uri_find_decoded = list(decodeurl(uri_find))
183 uri_replace_decoded = list(decodeurl(uri_replace))
184 result_decoded = ['', '', '', '', '', {}]
185 for i in uri_find_decoded:
186 loc = uri_find_decoded.index(i)
187 result_decoded[loc] = uri_decoded[loc]
188 if isinstance(i, basestring):
189 if (re.match(i, uri_decoded[loc])):
190 result_decoded[loc] = re.sub(i, uri_replace_decoded[loc], uri_decoded[loc])
191 if uri_find_decoded.index(i) == 2:
192 if ud.mirrortarball:
193 result_decoded[loc] = os.path.join(os.path.dirname(result_decoded[loc]), os.path.basename(ud.mirrortarball))
194 elif ud.localpath:
195 result_decoded[loc] = os.path.join(os.path.dirname(result_decoded[loc]), os.path.basename(ud.localpath))
196 else:
197 return ud.url
198 return encodeurl(result_decoded)
199
200methods = []
201urldata_cache = {}
202saved_headrevs = {}
203
204def fetcher_init(d):
205 """
206 Called to initialize the fetchers once the configuration data is known.
207 Calls before this must not hit the cache.
208 """
209 pd = persist_data.persist(d)
210 # When to drop SCM head revisions controlled by user policy
211 srcrev_policy = bb.data.getVar('BB_SRCREV_POLICY', d, True) or "clear"
212 if srcrev_policy == "cache":
213 logger.debug(1, "Keeping SRCREV cache due to cache policy of: %s", srcrev_policy)
214 elif srcrev_policy == "clear":
215 logger.debug(1, "Clearing SRCREV cache due to cache policy of: %s", srcrev_policy)
216 try:
217 bb.fetch2.saved_headrevs = pd['BB_URI_HEADREVS'].items()
218 except:
219 pass
220 del pd['BB_URI_HEADREVS']
221 else:
222 raise FetchError("Invalid SRCREV cache policy of: %s" % srcrev_policy)
223
224 for m in methods:
225 if hasattr(m, "init"):
226 m.init(d)
227
228def fetcher_compare_revisions(d):
229 """
230 Compare the revisions in the persistant cache with current values and
231 return true/false on whether they've changed.
232 """
233
234 pd = persist_data.persist(d)
235 data = pd['BB_URI_HEADREVS'].items()
236 data2 = bb.fetch2.saved_headrevs
237
238 changed = False
239 for key in data:
240 if key not in data2 or data2[key] != data[key]:
241 logger.debug(1, "%s changed", key)
242 changed = True
243 return True
244 else:
245 logger.debug(2, "%s did not change", key)
246 return False
247
248def mirror_from_string(data):
249 return [ i.split() for i in (data or "").replace('\\n','\n').split('\n') if i ]
250
251def verify_checksum(u, ud, d):
252 """
253 verify the MD5 and SHA256 checksum for downloaded src
254
255 return value:
256 - True: checksum matched
257 - False: checksum unmatched
258
259 if checksum is missing in recipes file, "BB_STRICT_CHECKSUM" decide the return value.
260 if BB_STRICT_CHECKSUM = "1" then return false as unmatched, otherwise return true as
261 matched
262 """
263
264 if not ud.type in ["http", "https", "ftp", "ftps"]:
265 return
266
267 md5data = bb.utils.md5_file(ud.localpath)
268 sha256data = bb.utils.sha256_file(ud.localpath)
269
270 if (ud.md5_expected == None or ud.sha256_expected == None):
271 logger.warn('Missing SRC_URI checksum for %s, consider adding to the recipe:\n'
272 'SRC_URI[%s] = "%s"\nSRC_URI[%s] = "%s"',
273 ud.localpath, ud.md5_name, md5data,
274 ud.sha256_name, sha256data)
275 if bb.data.getVar("BB_STRICT_CHECKSUM", d, True) == "1":
276 raise FetchError("No checksum specified for %s." % u, u)
277 return
278
279 if ud.md5_expected != md5data:
280 raise MD5SumError(ud.localpath, ud.md5_expected, md5data, u)
281
282 if ud.sha256_expected != sha256data:
283 raise SHA256SumError(ud.localpath, ud.sha256_expected, sha256data, u)
284
285def subprocess_setup():
286 import signal
287 # Python installs a SIGPIPE handler by default. This is usually not what
288 # non-Python subprocesses expect.
289 # SIGPIPE errors are known issues with gzip/bash
290 signal.signal(signal.SIGPIPE, signal.SIG_DFL)
291
292def get_autorev(d):
293 # only not cache src rev in autorev case
294 if bb.data.getVar('BB_SRCREV_POLICY', d, True) != "cache":
295 bb.data.setVar('__BB_DONT_CACHE', '1', d)
296 return "AUTOINC"
297
298def get_srcrev(d):
299 """
300 Return the version string for the current package
301 (usually to be used as PV)
302 Most packages usually only have one SCM so we just pass on the call.
303 In the multi SCM case, we build a value based on SRCREV_FORMAT which must
304 have been set.
305 """
306
307 scms = []
308 fetcher = Fetch(bb.data.getVar('SRC_URI', d, True).split(), d)
309 urldata = fetcher.ud
310 for u in urldata:
311 if urldata[u].method.supports_srcrev():
312 scms.append(u)
313
314 if len(scms) == 0:
315 raise FetchError("SRCREV was used yet no valid SCM was found in SRC_URI")
316
317 if len(scms) == 1 and len(urldata[scms[0]].names) == 1:
318 return urldata[scms[0]].method.sortable_revision(scms[0], urldata[scms[0]], d, urldata[scms[0]].names[0])
319
320 #
321 # Mutiple SCMs are in SRC_URI so we resort to SRCREV_FORMAT
322 #
323 format = bb.data.getVar('SRCREV_FORMAT', d, True)
324 if not format:
325 raise FetchError("The SRCREV_FORMAT variable must be set when multiple SCMs are used.")
326
327 for scm in scms:
328 ud = urldata[scm]
329 for name in ud.names:
330 rev = ud.method.sortable_revision(scm, ud, d, name)
331 format = format.replace(name, rev)
332
333 return format
334
335def localpath(url, d):
336 fetcher = bb.fetch2.Fetch([url], d)
337 return fetcher.localpath(url)
338
339def runfetchcmd(cmd, d, quiet = False, cleanup = []):
340 """
341 Run cmd returning the command output
342 Raise an error if interrupted or cmd fails
343 Optionally echo command output to stdout
344 Optionally remove the files/directories listed in cleanup upon failure
345 """
346
347 # Need to export PATH as binary could be in metadata paths
348 # rather than host provided
349 # Also include some other variables.
350 # FIXME: Should really include all export varaiables?
351 exportvars = ['PATH', 'GIT_PROXY_COMMAND', 'GIT_PROXY_HOST',
352 'GIT_PROXY_PORT', 'GIT_CONFIG', 'http_proxy', 'ftp_proxy',
353 'https_proxy', 'no_proxy', 'ALL_PROXY', 'all_proxy',
354 'SSH_AUTH_SOCK', 'SSH_AGENT_PID', 'HOME']
355
356 for var in exportvars:
357 val = data.getVar(var, d, True)
358 if val:
359 cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd)
360
361 logger.debug(1, "Running %s", cmd)
362
363 # redirect stderr to stdout
364 stdout_handle = os.popen(cmd + " 2>&1", "r")
365 output = ""
366
367 while True:
368 line = stdout_handle.readline()
369 if not line:
370 break
371 if not quiet:
372 print(line, end=' ')
373 output += line
374
375 status = stdout_handle.close() or 0
376 signal = status >> 8
377 exitstatus = status & 0xff
378
379 if (signal or status != 0):
380 for f in cleanup:
381 try:
382 bb.utils.remove(f, True)
383 except OSError:
384 pass
385
386 if signal:
387 raise FetchError("Fetch command %s failed with signal %s, output:\n%s" % (cmd, signal, output))
388 elif status != 0:
389 raise FetchError("Fetch command %s failed with exit code %s, output:\n%s" % (cmd, status, output))
390
391 return output
392
393def check_network_access(d, info = ""):
394 """
395 log remote network access, and error if BB_NO_NETWORK is set
396 """
397 if bb.data.getVar("BB_NO_NETWORK", d, True) == "1":
398 raise FetchError("BB_NO_NETWORK is set, but the fetcher code attempted network access with the command %s" % info)
399 else:
400 logger.debug(1, "Fetcher accessed the network with the command %s" % info)
401
402def try_mirrors(d, origud, mirrors, check = False):
403 """
404 Try to use a mirrored version of the sources.
405 This method will be automatically called before the fetchers go.
406
407 d Is a bb.data instance
408 uri is the original uri we're trying to download
409 mirrors is the list of mirrors we're going to try
410 """
411 ld = d.createCopy()
412 for (find, replace) in mirrors:
413 newuri = uri_replace(origud, find, replace, ld)
414 if newuri == origud.url:
415 continue
416 try:
417 ud = FetchData(newuri, ld)
418 ud.setup_localpath(ld)
419
420 if check:
421 found = ud.method.checkstatus(newuri, ud, ld)
422 if found:
423 return found
424 continue
425
426 if ud.method.need_update(newuri, ud, ld):
427 ud.method.download(newuri, ud, ld)
428 if hasattr(ud.method,"build_mirror_data"):
429 ud.method.build_mirror_data(newuri, ud, ld)
430
431 if not ud.localpath or not os.path.exists(ud.localpath):
432 continue
433
434 if ud.localpath == origud.localpath:
435 return ud.localpath
436
437 # We may be obtaining a mirror tarball which needs further processing by the real fetcher
438 # If that tarball is a local file:// we need to provide a symlink to it
439 dldir = ld.getVar("DL_DIR", True)
440 if not ud.localpath.startswith(dldir):
441 if os.path.basename(ud.localpath) != os.path.basename(origud.localpath):
442 os.symlink(ud.localpath, os.path.join(dldir, os.path.basename(ud.localpath)))
443 return None
444 # Otherwise the result is a local file:// and we symlink to it
445 if not os.path.exists(origud.localpath):
446 os.symlink(ud.localpath, origud.localpath)
447 return ud.localpath
448
449 except bb.fetch2.BBFetchException:
450 logger.debug(1, "Mirror fetch failure for url %s (original url: %s)" % (newuri, origud.url))
451 try:
452 if os.path.isfile(ud.localpath):
453 bb.utils.remove(ud.localpath)
454 except UnboundLocalError:
455 pass
456 continue
457 return None
458
459def srcrev_internal_helper(ud, d, name):
460 """
461 Return:
462 a) a source revision if specified
463 b) latest revision if SRCREV="AUTOINC"
464 c) None if not specified
465 """
466
467 if 'rev' in ud.parm:
468 return ud.parm['rev']
469
470 if 'tag' in ud.parm:
471 return ud.parm['tag']
472
473 rev = None
474 if name != '':
475 pn = data.getVar("PN", d, True)
476 rev = data.getVar("SRCREV_%s_pn-%s" % (name, pn), d, True)
477 if not rev:
478 rev = data.getVar("SRCREV_%s" % name, d, True)
479 if not rev:
480 rev = data.getVar("SRCREV", d, True)
481 if rev == "INVALID":
482 raise FetchError("Please set SRCREV to a valid value", ud.url)
483 if rev == "AUTOINC":
484 rev = ud.method.latest_revision(ud.url, ud, d, name)
485
486 return rev
487
488class FetchData(object):
489 """
490 A class which represents the fetcher state for a given URI.
491 """
492 def __init__(self, url, d):
493 # localpath is the location of a downloaded result. If not set, the file is local.
494 self.localfile = ""
495 self.localpath = None
496 self.lockfile = None
497 self.mirrortarball = None
498 (self.type, self.host, self.path, self.user, self.pswd, self.parm) = decodeurl(data.expand(url, d))
499 self.date = self.getSRCDate(d)
500 self.url = url
501 if not self.user and "user" in self.parm:
502 self.user = self.parm["user"]
503 if not self.pswd and "pswd" in self.parm:
504 self.pswd = self.parm["pswd"]
505 self.setup = False
506
507 if "name" in self.parm:
508 self.md5_name = "%s.md5sum" % self.parm["name"]
509 self.sha256_name = "%s.sha256sum" % self.parm["name"]
510 else:
511 self.md5_name = "md5sum"
512 self.sha256_name = "sha256sum"
513 self.md5_expected = bb.data.getVarFlag("SRC_URI", self.md5_name, d)
514 self.sha256_expected = bb.data.getVarFlag("SRC_URI", self.sha256_name, d)
515
516 self.names = self.parm.get("name",'default').split(',')
517
518 self.method = None
519 for m in methods:
520 if m.supports(url, self, d):
521 self.method = m
522 break
523
524 if not self.method:
525 raise NoMethodError(url)
526
527 if self.method.supports_srcrev():
528 self.revisions = {}
529 for name in self.names:
530 self.revisions[name] = srcrev_internal_helper(self, d, name)
531
532 # add compatibility code for non name specified case
533 if len(self.names) == 1:
534 self.revision = self.revisions[self.names[0]]
535
536 if hasattr(self.method, "urldata_init"):
537 self.method.urldata_init(self, d)
538
539 if "localpath" in self.parm:
540 # if user sets localpath for file, use it instead.
541 self.localpath = self.parm["localpath"]
542 self.basename = os.path.basename(self.localpath)
543 elif self.localfile:
544 self.localpath = self.method.localpath(self.url, self, d)
545
546 if self.localfile and self.localpath:
547 # Note: These files should always be in DL_DIR whereas localpath may not be.
548 basepath = bb.data.expand("${DL_DIR}/%s" % os.path.basename(self.localpath), d)
549 self.donestamp = basepath + '.done'
550 self.lockfile = basepath + '.lock'
551
552 def setup_localpath(self, d):
553 if not self.localpath:
554 self.localpath = self.method.localpath(self.url, self, d)
555
556 def getSRCDate(self, d):
557 """
558 Return the SRC Date for the component
559
560 d the bb.data module
561 """
562 if "srcdate" in self.parm:
563 return self.parm['srcdate']
564
565 pn = data.getVar("PN", d, True)
566
567 if pn:
568 return data.getVar("SRCDATE_%s" % pn, d, True) or data.getVar("SRCDATE", d, True) or data.getVar("DATE", d, True)
569
570 return data.getVar("SRCDATE", d, True) or data.getVar("DATE", d, True)
571
572class FetchMethod(object):
573 """Base class for 'fetch'ing data"""
574
575 def __init__(self, urls = []):
576 self.urls = []
577
578 def supports(self, url, urldata, d):
579 """
580 Check to see if this fetch class supports a given url.
581 """
582 return 0
583
584 def localpath(self, url, urldata, d):
585 """
586 Return the local filename of a given url assuming a successful fetch.
587 Can also setup variables in urldata for use in go (saving code duplication
588 and duplicate code execution)
589 """
590 return os.path.join(data.getVar("DL_DIR", d, True), urldata.localfile)
591
592 def _strip_leading_slashes(self, relpath):
593 """
594 Remove leading slash as os.path.join can't cope
595 """
596 while os.path.isabs(relpath):
597 relpath = relpath[1:]
598 return relpath
599
600 def setUrls(self, urls):
601 self.__urls = urls
602
603 def getUrls(self):
604 return self.__urls
605
606 urls = property(getUrls, setUrls, None, "Urls property")
607
608 def need_update(self, url, ud, d):
609 """
610 Force a fetch, even if localpath exists?
611 """
612 if os.path.exists(ud.localpath):
613 return False
614 return True
615
616 def supports_srcrev(self):
617 """
618 The fetcher supports auto source revisions (SRCREV)
619 """
620 return False
621
622 def download(self, url, urldata, d):
623 """
624 Fetch urls
625 Assumes localpath was called first
626 """
627 raise NoMethodError(url)
628
629 def unpack(self, urldata, rootdir, data):
630 import subprocess
631 iterate = False
632 file = urldata.localpath
633 dots = file.split(".")
634 if dots[-1] in ['gz', 'bz2', 'Z']:
635 efile = os.path.join(bb.data.getVar('WORKDIR', data, True),os.path.basename('.'.join(dots[0:-1])))
636 else:
637 efile = file
638 cmd = None
639
640 if file.endswith('.tar'):
641 cmd = 'tar x --no-same-owner -f %s' % file
642 elif file.endswith('.tgz') or file.endswith('.tar.gz') or file.endswith('.tar.Z'):
643 cmd = 'tar xz --no-same-owner -f %s' % file
644 elif file.endswith('.tbz') or file.endswith('.tbz2') or file.endswith('.tar.bz2'):
645 cmd = 'bzip2 -dc %s | tar x --no-same-owner -f -' % file
646 elif file.endswith('.gz') or file.endswith('.Z') or file.endswith('.z'):
647 cmd = 'gzip -dc %s > %s' % (file, efile)
648 elif file.endswith('.bz2'):
649 cmd = 'bzip2 -dc %s > %s' % (file, efile)
650 elif file.endswith('.tar.xz'):
651 cmd = 'xz -dc %s | tar x --no-same-owner -f -' % file
652 elif file.endswith('.xz'):
653 cmd = 'xz -dc %s > %s' % (file, efile)
654 elif file.endswith('.zip') or file.endswith('.jar'):
655 cmd = 'unzip -q -o'
656 if 'dos' in urldata.parm:
657 cmd = '%s -a' % cmd
658 cmd = "%s '%s'" % (cmd, file)
659 elif file.endswith('.src.rpm') or file.endswith('.srpm'):
660 if 'unpack' in urldata.parm:
661 unpack_file = ("%s" % urldata.parm['unpack'])
662 cmd = 'rpm2cpio.sh %s | cpio -i %s' % (file, unpack_file)
663 iterate = True
664 iterate_file = unpack_file
665 else:
666 cmd = 'rpm2cpio.sh %s | cpio -i' % (file)
667 else:
668 # If file == dest, then avoid any copies, as we already put the file into dest!
669 dest = os.path.join(rootdir, os.path.basename(file))
670 if (file != dest) and not (os.path.exists(dest) and os.path.samefile(file, dest)):
671 if os.path.isdir(file):
672 filesdir = os.path.realpath(bb.data.getVar("FILESDIR", data, True))
673 destdir = "."
674 if file[0:len(filesdir)] == filesdir:
675 destdir = file[len(filesdir):file.rfind('/')]
676 destdir = destdir.strip('/')
677 if len(destdir) < 1:
678 destdir = "."
679 elif not os.access("%s/%s" % (rootdir, destdir), os.F_OK):
680 os.makedirs("%s/%s" % (rootdir, destdir))
681 cmd = 'cp -pPR %s %s/%s/' % (file, rootdir, destdir)
682 else:
683 if not 'patch' in urldata.parm:
684 # The "destdir" handling was specifically done for FILESPATH
685 # items. So, only do so for file:// entries.
686 if urldata.type == "file" and urldata.path.find("/") != -1:
687 destdir = urldata.path.rsplit("/", 1)[0]
688 else:
689 destdir = "."
690 bb.mkdirhier("%s/%s" % (rootdir, destdir))
691 cmd = 'cp %s %s/%s/' % (file, rootdir, destdir)
692
693 if not cmd:
694 return
695
696 # Change to subdir before executing command
697 save_cwd = os.getcwd();
698 os.chdir(rootdir)
699 if 'subdir' in urldata.parm:
700 newdir = ("%s/%s" % (rootdir, urldata.parm['subdir']))
701 bb.mkdirhier(newdir)
702 os.chdir(newdir)
703
704 cmd = "PATH=\"%s\" %s" % (bb.data.getVar('PATH', data, True), cmd)
705 bb.note("Unpacking %s to %s/" % (file, os.getcwd()))
706 ret = subprocess.call(cmd, preexec_fn=subprocess_setup, shell=True)
707
708 os.chdir(save_cwd)
709
710 if ret != 0:
711 raise UnpackError("Unpack command %s failed with return value %s" % (cmd, ret), urldata.url)
712
713 if iterate is True:
714 iterate_urldata = urldata
715 iterate_urldata.localpath = "%s/%s" % (rootdir, iterate_file)
716 self.unpack(urldata, rootdir, data)
717
718 return
719
720 def try_premirror(self, url, urldata, d):
721 """
722 Should premirrors be used?
723 """
724 return True
725
726 def checkstatus(self, url, urldata, d):
727 """
728 Check the status of a URL
729 Assumes localpath was called first
730 """
731 logger.info("URL %s could not be checked for status since no method exists.", url)
732 return True
733
734 def localcount_internal_helper(ud, d, name):
735 """
736 Return:
737 a) a locked localcount if specified
738 b) None otherwise
739 """
740
741 localcount = None
742 if name != '':
743 pn = data.getVar("PN", d, True)
744 localcount = data.getVar("LOCALCOUNT_" + name, d, True)
745 if not localcount:
746 localcount = data.getVar("LOCALCOUNT", d, True)
747 return localcount
748
749 localcount_internal_helper = staticmethod(localcount_internal_helper)
750
751 def latest_revision(self, url, ud, d, name):
752 """
753 Look in the cache for the latest revision, if not present ask the SCM.
754 """
755 if not hasattr(self, "_latest_revision"):
756 raise ParameterError("The fetcher for this URL does not support _latest_revision", url)
757
758 pd = persist_data.persist(d)
759 revs = pd['BB_URI_HEADREVS']
760 key = self.generate_revision_key(url, ud, d, name)
761 rev = revs[key]
762 if rev != None:
763 return str(rev)
764
765 revs[key] = rev = self._latest_revision(url, ud, d, name)
766 return rev
767
768 def sortable_revision(self, url, ud, d, name):
769 """
770
771 """
772 if hasattr(self, "_sortable_revision"):
773 return self._sortable_revision(url, ud, d)
774
775 pd = persist_data.persist(d)
776 localcounts = pd['BB_URI_LOCALCOUNT']
777 key = self.generate_revision_key(url, ud, d, name)
778
779 latest_rev = self._build_revision(url, ud, d, name)
780 last_rev = localcounts[key + '_rev']
781 uselocalcount = bb.data.getVar("BB_LOCALCOUNT_OVERRIDE", d, True) or False
782 count = None
783 if uselocalcount:
784 count = FetchMethod.localcount_internal_helper(ud, d, name)
785 if count is None:
786 count = localcounts[key + '_count'] or "0"
787
788 if last_rev == latest_rev:
789 return str(count + "+" + latest_rev)
790
791 buildindex_provided = hasattr(self, "_sortable_buildindex")
792 if buildindex_provided:
793 count = self._sortable_buildindex(url, ud, d, latest_rev)
794
795 if count is None:
796 count = "0"
797 elif uselocalcount or buildindex_provided:
798 count = str(count)
799 else:
800 count = str(int(count) + 1)
801
802 localcounts[key + '_rev'] = latest_rev
803 localcounts[key + '_count'] = count
804
805 return str(count + "+" + latest_rev)
806
807 def generate_revision_key(self, url, ud, d, name):
808 key = self._revision_key(url, ud, d, name)
809 return "%s-%s" % (key, bb.data.getVar("PN", d, True) or "")
810
811class Fetch(object):
812 def __init__(self, urls, d, cache = True):
813 if len(urls) == 0:
814 urls = d.getVar("SRC_URI", True).split()
815 self.urls = urls
816 self.d = d
817 self.ud = {}
818
819 fn = bb.data.getVar('FILE', d, True)
820 if cache and fn in urldata_cache:
821 self.ud = urldata_cache[fn]
822
823 for url in urls:
824 if url not in self.ud:
825 self.ud[url] = FetchData(url, d)
826
827 if cache:
828 urldata_cache[fn] = self.ud
829
830 def localpath(self, url):
831 if url not in self.urls:
832 self.ud[url] = FetchData(url, self.d)
833
834 self.ud[url].setup_localpath(self.d)
835 return bb.data.expand(self.ud[url].localpath, self.d)
836
837 def localpaths(self):
838 """
839 Return a list of the local filenames, assuming successful fetch
840 """
841 local = []
842
843 for u in self.urls:
844 ud = self.ud[u]
845 ud.setup_localpath(self.d)
846 local.append(ud.localpath)
847
848 return local
849
850 def download(self, urls = []):
851 """
852 Fetch all urls
853 """
854 if len(urls) == 0:
855 urls = self.urls
856
857 for u in urls:
858 ud = self.ud[u]
859 ud.setup_localpath(self.d)
860 m = ud.method
861 localpath = ""
862
863 if not ud.localfile:
864 continue
865
866 lf = bb.utils.lockfile(ud.lockfile)
867
868 try:
869 if not m.need_update(u, ud, self.d):
870 localpath = ud.localpath
871 elif m.try_premirror(u, ud, self.d):
872 mirrors = mirror_from_string(bb.data.getVar('PREMIRRORS', self.d, True))
873 localpath = try_mirrors(self.d, ud, mirrors, False)
874
875 if bb.data.getVar("BB_FETCH_PREMIRRORONLY", self.d, True) is not None:
876 bb.data.setVar("BB_NO_NETWORK", "1", self.d)
877
878 if not localpath and m.need_update(u, ud, self.d):
879 try:
880 m.download(u, ud, self.d)
881 if hasattr(m, "build_mirror_data"):
882 m.build_mirror_data(u, ud, self.d)
883 localpath = ud.localpath
884
885 except BBFetchException:
886 # Remove any incomplete fetch
887 if os.path.isfile(ud.localpath):
888 bb.utils.remove(ud.localpath)
889 mirrors = mirror_from_string(bb.data.getVar('MIRRORS', self.d, True))
890 localpath = try_mirrors (self.d, ud, mirrors)
891
892 if not localpath or not os.path.exists(localpath):
893 raise FetchError("Unable to fetch URL %s from any source." % u, u)
894
895 if os.path.exists(ud.donestamp):
896 # Touch the done stamp file to show active use of the download
897 try:
898 os.utime(ud.donestamp, None)
899 except:
900 # Errors aren't fatal here
901 pass
902 else:
903 # Only check the checksums if we've not seen this item before, then create the stamp
904 verify_checksum(u, ud, self.d)
905 open(ud.donestamp, 'w').close()
906
907 finally:
908 bb.utils.unlockfile(lf)
909
910 def checkstatus(self, urls = []):
911 """
912 Check all urls exist upstream
913 """
914
915 if len(urls) == 0:
916 urls = self.urls
917
918 for u in urls:
919 ud = self.ud[u]
920 ud.setup_localpath(self.d)
921 m = ud.method
922 logger.debug(1, "Testing URL %s", u)
923 # First try checking uri, u, from PREMIRRORS
924 mirrors = mirror_from_string(bb.data.getVar('PREMIRRORS', self.d, True))
925 ret = try_mirrors(self.d, ud, mirrors, True)
926 if not ret:
927 # Next try checking from the original uri, u
928 try:
929 ret = m.checkstatus(u, ud, self.d)
930 except:
931 # Finally, try checking uri, u, from MIRRORS
932 mirrors = mirror_from_string(bb.data.getVar('MIRRORS', self.d, True))
933 ret = try_mirrors (self.d, ud, mirrors, True)
934
935 if not ret:
936 raise FetchError("URL %s doesn't work" % u, u)
937
938 def unpack(self, root, urls = []):
939 """
940 Check all urls exist upstream
941 """
942
943 if len(urls) == 0:
944 urls = self.urls
945
946 for u in urls:
947 ud = self.ud[u]
948 ud.setup_localpath(self.d)
949
950 if bb.data.expand(self.localpath, self.d) is None:
951 continue
952
953 if ud.lockfile:
954 lf = bb.utils.lockfile(ud.lockfile)
955
956 ud.method.unpack(ud, root, self.d)
957
958 if ud.lockfile:
959 bb.utils.unlockfile(lf)
960
961from . import cvs
962from . import git
963from . import local
964from . import svn
965from . import wget
966from . import svk
967from . import ssh
968from . import perforce
969from . import bzr
970from . import hg
971from . import osc
972from . import repo
973
974methods.append(local.Local())
975methods.append(wget.Wget())
976methods.append(svn.Svn())
977methods.append(git.Git())
978methods.append(cvs.Cvs())
979methods.append(svk.Svk())
980methods.append(ssh.SSH())
981methods.append(perforce.Perforce())
982methods.append(bzr.Bzr())
983methods.append(hg.Hg())
984methods.append(osc.Osc())
985methods.append(repo.Repo())
diff --git a/bitbake/lib/bb/fetch2/bzr.py b/bitbake/lib/bb/fetch2/bzr.py
new file mode 100644
index 0000000000..bb175662b4
--- /dev/null
+++ b/bitbake/lib/bb/fetch2/bzr.py
@@ -0,0 +1,141 @@
1"""
2BitBake 'Fetch' implementation for bzr.
3
4"""
5
6# Copyright (C) 2007 Ross Burton
7# Copyright (C) 2007 Richard Purdie
8#
9# Classes for obtaining upstream sources for the
10# BitBake build tools.
11# Copyright (C) 2003, 2004 Chris Larson
12#
13# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation.
16#
17# This program is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License along
23# with this program; if not, write to the Free Software Foundation, Inc.,
24# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25
26import os
27import sys
28import logging
29import bb
30from bb import data
31from bb.fetch2 import FetchMethod
32from bb.fetch2 import FetchError
33from bb.fetch2 import runfetchcmd
34from bb.fetch2 import logger
35
36class Bzr(FetchMethod):
37 def supports(self, url, ud, d):
38 return ud.type in ['bzr']
39
40 def urldata_init(self, ud, d):
41 """
42 init bzr specific variable within url data
43 """
44 # Create paths to bzr checkouts
45 relpath = self._strip_leading_slashes(ud.path)
46 ud.pkgdir = os.path.join(data.expand('${BZRDIR}', d), ud.host, relpath)
47
48 if not ud.revision:
49 ud.revision = self.latest_revision(ud.url, ud, d)
50
51 ud.localfile = data.expand('bzr_%s_%s_%s.tar.gz' % (ud.host, ud.path.replace('/', '.'), ud.revision), d)
52
53 def _buildbzrcommand(self, ud, d, command):
54 """
55 Build up an bzr commandline based on ud
56 command is "fetch", "update", "revno"
57 """
58
59 basecmd = data.expand('${FETCHCMD_bzr}', d)
60
61 proto = ud.parm.get('proto', 'http')
62
63 bzrroot = ud.host + ud.path
64
65 options = []
66
67 if command is "revno":
68 bzrcmd = "%s revno %s %s://%s" % (basecmd, " ".join(options), proto, bzrroot)
69 else:
70 if ud.revision:
71 options.append("-r %s" % ud.revision)
72
73 if command is "fetch":
74 bzrcmd = "%s co %s %s://%s" % (basecmd, " ".join(options), proto, bzrroot)
75 elif command is "update":
76 bzrcmd = "%s pull %s --overwrite" % (basecmd, " ".join(options))
77 else:
78 raise FetchError("Invalid bzr command %s" % command, ud.url)
79
80 return bzrcmd
81
82 def download(self, loc, ud, d):
83 """Fetch url"""
84
85 if os.access(os.path.join(ud.pkgdir, os.path.basename(ud.pkgdir), '.bzr'), os.R_OK):
86 bzrcmd = self._buildbzrcommand(ud, d, "update")
87 logger.debug(1, "BZR Update %s", loc)
88 bb.fetch2.check_network_access(d, bzrcmd)
89 os.chdir(os.path.join (ud.pkgdir, os.path.basename(ud.path)))
90 runfetchcmd(bzrcmd, d)
91 else:
92 bb.utils.remove(os.path.join(ud.pkgdir, os.path.basename(ud.pkgdir)), True)
93 bzrcmd = self._buildbzrcommand(ud, d, "fetch")
94 bb.fetch2.check_network_access(d, bzrcmd)
95 logger.debug(1, "BZR Checkout %s", loc)
96 bb.mkdirhier(ud.pkgdir)
97 os.chdir(ud.pkgdir)
98 logger.debug(1, "Running %s", bzrcmd)
99 runfetchcmd(bzrcmd, d)
100
101 os.chdir(ud.pkgdir)
102
103 scmdata = ud.parm.get("scmdata", "")
104 if scmdata == "keep":
105 tar_flags = ""
106 else:
107 tar_flags = "--exclude '.bzr' --exclude '.bzrtags'"
108
109 # tar them up to a defined filename
110 runfetchcmd("tar %s -czf %s %s" % (tar_flags, ud.localpath, os.path.basename(ud.pkgdir)), d, cleanup = [ud.localpath])
111
112 def supports_srcrev(self):
113 return True
114
115 def _revision_key(self, url, ud, d, name):
116 """
117 Return a unique key for the url
118 """
119 return "bzr:" + ud.pkgdir
120
121 def _latest_revision(self, url, ud, d, name):
122 """
123 Return the latest upstream revision number
124 """
125 logger.debug(2, "BZR fetcher hitting network for %s", url)
126
127 bb.fetch2.check_network_access(d, self._buildbzrcommand(ud, d, "revno"))
128
129 output = runfetchcmd(self._buildbzrcommand(ud, d, "revno"), d, True)
130
131 return output.strip()
132
133 def _sortable_revision(self, url, ud, d):
134 """
135 Return a sortable revision number which in our case is the revision number
136 """
137
138 return self._build_revision(url, ud, d)
139
140 def _build_revision(self, url, ud, d):
141 return ud.revision
diff --git a/bitbake/lib/bb/fetch2/cvs.py b/bitbake/lib/bb/fetch2/cvs.py
new file mode 100644
index 0000000000..3cd28b1fd5
--- /dev/null
+++ b/bitbake/lib/bb/fetch2/cvs.py
@@ -0,0 +1,169 @@
1# ex:ts=4:sw=4:sts=4:et
2# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
3"""
4BitBake 'Fetch' implementations
5
6Classes for obtaining upstream sources for the
7BitBake build tools.
8
9"""
10
11# Copyright (C) 2003, 2004 Chris Larson
12#
13# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation.
16#
17# This program is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License along
23# with this program; if not, write to the Free Software Foundation, Inc.,
24# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25#
26#Based on functions from the base bb module, Copyright 2003 Holger Schurig
27#
28
29import os
30import logging
31import bb
32from bb import data
33from bb.fetch2 import FetchMethod, FetchError, MissingParameterError, logger
34from bb.fetch2 import runfetchcmd
35
36class Cvs(FetchMethod):
37 """
38 Class to fetch a module or modules from cvs repositories
39 """
40 def supports(self, url, ud, d):
41 """
42 Check to see if a given url can be fetched with cvs.
43 """
44 return ud.type in ['cvs']
45
46 def urldata_init(self, ud, d):
47 if not "module" in ud.parm:
48 raise MissingParameterError("module", ud.url)
49 ud.module = ud.parm["module"]
50
51 ud.tag = ud.parm.get('tag', "")
52
53 # Override the default date in certain cases
54 if 'date' in ud.parm:
55 ud.date = ud.parm['date']
56 elif ud.tag:
57 ud.date = ""
58
59 norecurse = ''
60 if 'norecurse' in ud.parm:
61 norecurse = '_norecurse'
62
63 fullpath = ''
64 if 'fullpath' in ud.parm:
65 fullpath = '_fullpath'
66
67 ud.localfile = data.expand('%s_%s_%s_%s%s%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.tag, ud.date, norecurse, fullpath), d)
68
69 def need_update(self, url, ud, d):
70 if (ud.date == "now"):
71 return True
72 if not os.path.exists(ud.localpath):
73 return True
74 return False
75
76 def download(self, loc, ud, d):
77
78 method = ud.parm.get('method', 'pserver')
79 localdir = ud.parm.get('localdir', ud.module)
80 cvs_port = ud.parm.get('port', '')
81
82 cvs_rsh = None
83 if method == "ext":
84 if "rsh" in ud.parm:
85 cvs_rsh = ud.parm["rsh"]
86
87 if method == "dir":
88 cvsroot = ud.path
89 else:
90 cvsroot = ":" + method
91 cvsproxyhost = data.getVar('CVS_PROXY_HOST', d, True)
92 if cvsproxyhost:
93 cvsroot += ";proxy=" + cvsproxyhost
94 cvsproxyport = data.getVar('CVS_PROXY_PORT', d, True)
95 if cvsproxyport:
96 cvsroot += ";proxyport=" + cvsproxyport
97 cvsroot += ":" + ud.user
98 if ud.pswd:
99 cvsroot += ":" + ud.pswd
100 cvsroot += "@" + ud.host + ":" + cvs_port + ud.path
101
102 options = []
103 if 'norecurse' in ud.parm:
104 options.append("-l")
105 if ud.date:
106 # treat YYYYMMDDHHMM specially for CVS
107 if len(ud.date) == 12:
108 options.append("-D \"%s %s:%s UTC\"" % (ud.date[0:8], ud.date[8:10], ud.date[10:12]))
109 else:
110 options.append("-D \"%s UTC\"" % ud.date)
111 if ud.tag:
112 options.append("-r %s" % ud.tag)
113
114 localdata = data.createCopy(d)
115 data.setVar('OVERRIDES', "cvs:%s" % data.getVar('OVERRIDES', localdata), localdata)
116 data.update_data(localdata)
117
118 data.setVar('CVSROOT', cvsroot, localdata)
119 data.setVar('CVSCOOPTS', " ".join(options), localdata)
120 data.setVar('CVSMODULE', ud.module, localdata)
121 cvscmd = data.getVar('FETCHCOMMAND', localdata, True)
122 cvsupdatecmd = data.getVar('UPDATECOMMAND', localdata, True)
123
124 if cvs_rsh:
125 cvscmd = "CVS_RSH=\"%s\" %s" % (cvs_rsh, cvscmd)
126 cvsupdatecmd = "CVS_RSH=\"%s\" %s" % (cvs_rsh, cvsupdatecmd)
127
128 # create module directory
129 logger.debug(2, "Fetch: checking for module directory")
130 pkg = data.expand('${PN}', d)
131 pkgdir = os.path.join(data.expand('${CVSDIR}', localdata), pkg)
132 moddir = os.path.join(pkgdir, localdir)
133 if os.access(os.path.join(moddir, 'CVS'), os.R_OK):
134 logger.info("Update " + loc)
135 bb.fetch2.check_network_access(d, cvsupdatecmd)
136 # update sources there
137 os.chdir(moddir)
138 cmd = cvsupdatecmd
139 else:
140 logger.info("Fetch " + loc)
141 # check out sources there
142 bb.mkdirhier(pkgdir)
143 os.chdir(pkgdir)
144 logger.debug(1, "Running %s", cvscmd)
145 bb.fetch2.check_network_access(d, cvscmd)
146 cmd = cvscmd
147
148 runfetchcmd(cmd, d, cleanup = [moddir])
149
150 if not os.access(moddir, os.R_OK):
151 raise FetchError("Directory %s was not readable despite sucessful fetch?!" % moddir, ud.url)
152
153 scmdata = ud.parm.get("scmdata", "")
154 if scmdata == "keep":
155 tar_flags = ""
156 else:
157 tar_flags = "--exclude 'CVS'"
158
159 # tar them up to a defined filename
160 if 'fullpath' in ud.parm:
161 os.chdir(pkgdir)
162 cmd = "tar %s -czf %s %s" % (tar_flags, ud.localpath, localdir)
163 else:
164 os.chdir(moddir)
165 os.chdir('..')
166 cmd = "tar %s -czf %s %s" % (tar_flags, ud.localpath, os.path.basename(moddir))
167
168 runfetchcmd(cmd, d, cleanup = [ud.localpath])
169
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
new file mode 100644
index 0000000000..4cb6693505
--- /dev/null
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -0,0 +1,236 @@
1# ex:ts=4:sw=4:sts=4:et
2# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
3"""
4BitBake 'Fetch' git implementation
5
6"""
7
8#Copyright (C) 2005 Richard Purdie
9#
10# This program is free software; you can redistribute it and/or modify
11# it under the terms of the GNU General Public License version 2 as
12# published by the Free Software Foundation.
13#
14# This program is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License along
20# with this program; if not, write to the Free Software Foundation, Inc.,
21# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22
23import os
24import bb
25from bb import data
26from bb.fetch2 import FetchMethod
27from bb.fetch2 import runfetchcmd
28from bb.fetch2 import logger
29
30class Git(FetchMethod):
31 """Class to fetch a module or modules from git repositories"""
32 def init(self, d):
33 #
34 # Only enable _sortable revision if the key is set
35 #
36 if bb.data.getVar("BB_GIT_CLONE_FOR_SRCREV", d, True):
37 self._sortable_buildindex = self._sortable_buildindex_disabled
38 def supports(self, url, ud, d):
39 """
40 Check to see if a given url can be fetched with git.
41 """
42 return ud.type in ['git']
43
44 def urldata_init(self, ud, d):
45 """
46 init git specific variable within url data
47 so that the git method like latest_revision() can work
48 """
49 if 'protocol' in ud.parm:
50 ud.proto = ud.parm['protocol']
51 elif not ud.host:
52 ud.proto = 'file'
53 else:
54 ud.proto = "rsync"
55
56 ud.nocheckout = False
57 if 'nocheckout' in ud.parm:
58 ud.nocheckout = True
59
60 branches = ud.parm.get("branch", "master").split(',')
61 if len(branches) != len(ud.names):
62 raise bb.fetch2.ParameterError("The number of name and branch parameters is not balanced", ud.url)
63 ud.branches = {}
64 for name in ud.names:
65 branch = branches[ud.names.index(name)]
66 ud.branches[name] = branch
67
68 gitsrcname = '%s%s' % (ud.host, ud.path.replace('/', '.'))
69 ud.mirrortarball = 'git2_%s.tar.gz' % (gitsrcname)
70 ud.clonedir = os.path.join(data.expand('${GITDIR}', d), gitsrcname)
71
72 ud.basecmd = data.getVar("FETCHCMD_git", d, True) or "git"
73
74 for name in ud.names:
75 # Ensure anything that doesn't look like a sha256 checksum/revision is translated into one
76 if not ud.revisions[name] or len(ud.revisions[name]) != 40 or (False in [c in "abcdef0123456789" for c in ud.revisions[name]]):
77 ud.revisions[name] = self.latest_revision(ud.url, ud, d, name)
78
79 ud.localfile = ud.clonedir
80
81 def localpath(self, url, ud, d):
82 return ud.clonedir
83
84 def need_update(self, u, ud, d):
85 if not os.path.exists(ud.clonedir):
86 return True
87 os.chdir(ud.clonedir)
88 for name in ud.names:
89 if not self._contains_ref(ud.revisions[name], d):
90 return True
91 return False
92
93 def try_premirror(self, u, ud, d):
94 # If we don't do this, updating an existing checkout with only premirrors
95 # is not possible
96 if bb.data.getVar("BB_FETCH_PREMIRRORONLY", d, True) is not None:
97 return True
98 if os.path.exists(ud.clonedir):
99 return False
100 return True
101
102 def download(self, loc, ud, d):
103 """Fetch url"""
104
105 if ud.user:
106 username = ud.user + '@'
107 else:
108 username = ""
109
110 repofile = os.path.join(data.getVar("DL_DIR", d, True), ud.mirrortarball)
111
112 ud.repochanged = not os.path.exists(repofile)
113
114 # If the checkout doesn't exist and the mirror tarball does, extract it
115 if not os.path.exists(ud.clonedir) and os.path.exists(repofile):
116 bb.mkdirhier(ud.clonedir)
117 os.chdir(ud.clonedir)
118 runfetchcmd("tar -xzf %s" % (repofile), d)
119
120 # If the repo still doesn't exist, fallback to cloning it
121 if not os.path.exists(ud.clonedir):
122 bb.fetch2.check_network_access(d, "git clone --bare %s%s" % (ud.host, ud.path))
123 runfetchcmd("%s clone --bare %s://%s%s%s %s" % (ud.basecmd, ud.proto, username, ud.host, ud.path, ud.clonedir), d)
124
125 os.chdir(ud.clonedir)
126 # Update the checkout if needed
127 needupdate = False
128 for name in ud.names:
129 if not self._contains_ref(ud.revisions[name], d):
130 needupdate = True
131 if needupdate:
132 bb.fetch2.check_network_access(d, "git fetch %s%s" % (ud.host, ud.path))
133 try:
134 runfetchcmd("%s remote prune origin" % ud.basecmd, d)
135 runfetchcmd("%s remote rm origin" % ud.basecmd, d)
136 except bb.fetch2.FetchError:
137 logger.debug(1, "No Origin")
138
139 runfetchcmd("%s remote add origin %s://%s%s%s" % (ud.basecmd, ud.proto, username, ud.host, ud.path), d)
140 runfetchcmd("%s fetch --all -t" % ud.basecmd, d)
141 runfetchcmd("%s prune-packed" % ud.basecmd, d)
142 runfetchcmd("%s pack-redundant --all | xargs -r rm" % ud.basecmd, d)
143 ud.repochanged = True
144
145 def build_mirror_data(self, url, ud, d):
146 # Generate a mirror tarball if needed
147 repofile = os.path.join(data.getVar("DL_DIR", d, True), ud.mirrortarball)
148
149 os.chdir(ud.clonedir)
150 mirror_tarballs = data.getVar("BB_GENERATE_MIRROR_TARBALLS", d, True)
151 if mirror_tarballs != "0" and ud.repochanged:
152 logger.info("Creating tarball of git repository")
153 runfetchcmd("tar -czf %s %s" % (repofile, os.path.join(".") ), d)
154
155 def unpack(self, ud, destdir, d):
156 """ unpack the downloaded src to destdir"""
157
158 subdir = ud.parm.get("subpath", "")
159 if subdir != "":
160 readpathspec = ":%s" % (subdir)
161 else:
162 readpathspec = ""
163
164 destdir = os.path.join(destdir, "git/")
165 if os.path.exists(destdir):
166 bb.utils.prunedir(destdir)
167
168 runfetchcmd("git clone -s -n %s %s" % (ud.clonedir, destdir), d)
169 if not ud.nocheckout:
170 os.chdir(destdir)
171 runfetchcmd("%s read-tree %s%s" % (ud.basecmd, ud.revisions[ud.names[0]], readpathspec), d)
172 runfetchcmd("%s checkout-index -q -f -a" % ud.basecmd, d)
173 return True
174
175 def supports_srcrev(self):
176 return True
177
178 def _contains_ref(self, tag, d):
179 basecmd = data.getVar("FETCHCMD_git", d, True) or "git"
180 output = runfetchcmd("%s log --pretty=oneline -n 1 %s -- 2> /dev/null | wc -l" % (basecmd, tag), d, quiet=True)
181 return output.split()[0] != "0"
182
183 def _revision_key(self, url, ud, d, name):
184 """
185 Return a unique key for the url
186 """
187 return "git:" + ud.host + ud.path.replace('/', '.') + ud.branches[name]
188
189 def _latest_revision(self, url, ud, d, name):
190 """
191 Compute the HEAD revision for the url
192 """
193 if ud.user:
194 username = ud.user + '@'
195 else:
196 username = ""
197
198 bb.fetch2.check_network_access(d, "git ls-remote %s%s %s" % (ud.host, ud.path, ud.branches[name]))
199 basecmd = data.getVar("FETCHCMD_git", d, True) or "git"
200 cmd = "%s ls-remote %s://%s%s%s %s" % (basecmd, ud.proto, username, ud.host, ud.path, ud.branches[name])
201 output = runfetchcmd(cmd, d, True)
202 if not output:
203 raise bb.fetch2.FetchError("The command %s gave empty output unexpectedly" % cmd, url)
204 return output.split()[0]
205
206 def _build_revision(self, url, ud, d, name):
207 return ud.revisions[name]
208
209 def _sortable_buildindex_disabled(self, url, ud, d, rev):
210 """
211 Return a suitable buildindex for the revision specified. This is done by counting revisions
212 using "git rev-list" which may or may not work in different circumstances.
213 """
214
215 cwd = os.getcwd()
216
217 # Check if we have the rev already
218
219 if not os.path.exists(ud.clonedir):
220 print("no repo")
221 self.download(None, ud, d)
222 if not os.path.exists(ud.clonedir):
223 logger.error("GIT repository for %s doesn't exist in %s, cannot get sortable buildnumber, using old value", url, ud.clonedir)
224 return None
225
226
227 os.chdir(ud.clonedir)
228 if not self._contains_ref(rev, d):
229 self.download(None, ud, d)
230
231 output = runfetchcmd("%s rev-list %s -- 2> /dev/null | wc -l" % (ud.basecmd, rev), d, quiet=True)
232 os.chdir(cwd)
233
234 buildindex = "%s" % output.split()[0]
235 logger.debug(1, "GIT repository for %s in %s is returning %s revisions in rev-list before %s", url, ud.clonedir, buildindex, rev)
236 return buildindex
diff --git a/bitbake/lib/bb/fetch2/hg.py b/bitbake/lib/bb/fetch2/hg.py
new file mode 100644
index 0000000000..ac5825baa9
--- /dev/null
+++ b/bitbake/lib/bb/fetch2/hg.py
@@ -0,0 +1,174 @@
1# ex:ts=4:sw=4:sts=4:et
2# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
3"""
4BitBake 'Fetch' implementation for mercurial DRCS (hg).
5
6"""
7
8# Copyright (C) 2003, 2004 Chris Larson
9# Copyright (C) 2004 Marcin Juszkiewicz
10# Copyright (C) 2007 Robert Schuster
11#
12# This program is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License version 2 as
14# published by the Free Software Foundation.
15#
16# This program is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License along
22# with this program; if not, write to the Free Software Foundation, Inc.,
23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24#
25# Based on functions from the base bb module, Copyright 2003 Holger Schurig
26
27import os
28import sys
29import logging
30import bb
31from bb import data
32from bb.fetch2 import FetchMethod
33from bb.fetch2 import FetchError
34from bb.fetch2 import MissingParameterError
35from bb.fetch2 import runfetchcmd
36from bb.fetch2 import logger
37
38class Hg(FetchMethod):
39 """Class to fetch from mercurial repositories"""
40 def supports(self, url, ud, d):
41 """
42 Check to see if a given url can be fetched with mercurial.
43 """
44 return ud.type in ['hg']
45
46 def urldata_init(self, ud, d):
47 """
48 init hg specific variable within url data
49 """
50 if not "module" in ud.parm:
51 raise MissingParameterError('module', ud.url)
52
53 ud.module = ud.parm["module"]
54
55 # Create paths to mercurial checkouts
56 relpath = self._strip_leading_slashes(ud.path)
57 ud.pkgdir = os.path.join(data.expand('${HGDIR}', d), ud.host, relpath)
58 ud.moddir = os.path.join(ud.pkgdir, ud.module)
59
60 if 'rev' in ud.parm:
61 ud.revision = ud.parm['rev']
62 elif not ud.revision:
63 ud.revision = self.latest_revision(ud.url, ud, d)
64
65 ud.localfile = data.expand('%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision), d)
66
67 def need_update(self, url, ud, d):
68 revTag = ud.parm.get('rev', 'tip')
69 if revTag == "tip":
70 return True
71 if not os.path.exists(ud.localpath):
72 return True
73 return False
74
75 def _buildhgcommand(self, ud, d, command):
76 """
77 Build up an hg commandline based on ud
78 command is "fetch", "update", "info"
79 """
80
81 basecmd = data.expand('${FETCHCMD_hg}', d)
82
83 proto = ud.parm.get('proto', 'http')
84
85 host = ud.host
86 if proto == "file":
87 host = "/"
88 ud.host = "localhost"
89
90 if not ud.user:
91 hgroot = host + ud.path
92 else:
93 hgroot = ud.user + "@" + host + ud.path
94
95 if command is "info":
96 return "%s identify -i %s://%s/%s" % (basecmd, proto, hgroot, ud.module)
97
98 options = [];
99 if ud.revision:
100 options.append("-r %s" % ud.revision)
101
102 if command is "fetch":
103 cmd = "%s clone %s %s://%s/%s %s" % (basecmd, " ".join(options), proto, hgroot, ud.module, ud.module)
104 elif command is "pull":
105 # do not pass options list; limiting pull to rev causes the local
106 # repo not to contain it and immediately following "update" command
107 # will crash
108 cmd = "%s pull" % (basecmd)
109 elif command is "update":
110 cmd = "%s update -C %s" % (basecmd, " ".join(options))
111 else:
112 raise FetchError("Invalid hg command %s" % command, ud.url)
113
114 return cmd
115
116 def download(self, loc, ud, d):
117 """Fetch url"""
118
119 logger.debug(2, "Fetch: checking for module directory '" + ud.moddir + "'")
120
121 if os.access(os.path.join(ud.moddir, '.hg'), os.R_OK):
122 updatecmd = self._buildhgcommand(ud, d, "pull")
123 logger.info("Update " + loc)
124 # update sources there
125 os.chdir(ud.moddir)
126 logger.debug(1, "Running %s", updatecmd)
127 bb.fetch2.check_network_access(d, updatecmd)
128 runfetchcmd(updatecmd, d)
129
130 else:
131 fetchcmd = self._buildhgcommand(ud, d, "fetch")
132 logger.info("Fetch " + loc)
133 # check out sources there
134 bb.mkdirhier(ud.pkgdir)
135 os.chdir(ud.pkgdir)
136 logger.debug(1, "Running %s", fetchcmd)
137 bb.fetch2.check_network_access(d, fetchcmd)
138 runfetchcmd(fetchcmd, d)
139
140 # Even when we clone (fetch), we still need to update as hg's clone
141 # won't checkout the specified revision if its on a branch
142 updatecmd = self._buildhgcommand(ud, d, "update")
143 os.chdir(ud.moddir)
144 logger.debug(1, "Running %s", updatecmd)
145 runfetchcmd(updatecmd, d)
146
147 scmdata = ud.parm.get("scmdata", "")
148 if scmdata == "keep":
149 tar_flags = ""
150 else:
151 tar_flags = "--exclude '.hg' --exclude '.hgrags'"
152
153 os.chdir(ud.pkgdir)
154 runfetchcmd("tar %s -czf %s %s" % (tar_flags, ud.localpath, ud.module), d, cleanup = [ud.localpath])
155
156 def supports_srcrev(self):
157 return True
158
159 def _latest_revision(self, url, ud, d, name):
160 """
161 Compute tip revision for the url
162 """
163 bb.fetch2.check_network_access(d, self._buildhgcommand(ud, d, "info"))
164 output = runfetchcmd(self._buildhgcommand(ud, d, "info"), d)
165 return output.strip()
166
167 def _build_revision(self, url, ud, d):
168 return ud.revision
169
170 def _revision_key(self, url, ud, d, name):
171 """
172 Return a unique key for the url
173 """
174 return "hg:" + ud.moddir
diff --git a/bitbake/lib/bb/fetch2/local.py b/bitbake/lib/bb/fetch2/local.py
new file mode 100644
index 0000000000..d77d39375e
--- /dev/null
+++ b/bitbake/lib/bb/fetch2/local.py
@@ -0,0 +1,76 @@
1# ex:ts=4:sw=4:sts=4:et
2# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
3"""
4BitBake 'Fetch' implementations
5
6Classes for obtaining upstream sources for the
7BitBake build tools.
8
9"""
10
11# Copyright (C) 2003, 2004 Chris Larson
12#
13# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation.
16#
17# This program is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License along
23# with this program; if not, write to the Free Software Foundation, Inc.,
24# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25#
26# Based on functions from the base bb module, Copyright 2003 Holger Schurig
27
28import os
29import bb
30import bb.utils
31from bb import data
32from bb.fetch2 import FetchMethod
33
34class Local(FetchMethod):
35 def supports(self, url, urldata, d):
36 """
37 Check to see if a given url represents a local fetch.
38 """
39 return urldata.type in ['file']
40
41 def urldata_init(self, ud, d):
42 # We don't set localfile as for this fetcher the file is already local!
43 return
44
45 def localpath(self, url, urldata, d):
46 """
47 Return the local filename of a given url assuming a successful fetch.
48 """
49 path = url.split("://")[1]
50 path = path.split(";")[0]
51 newpath = path
52 if path[0] != "/":
53 filespath = data.getVar('FILESPATH', d, True)
54 if filespath:
55 newpath = bb.utils.which(filespath, path)
56 if not newpath:
57 filesdir = data.getVar('FILESDIR', d, True)
58 if filesdir:
59 newpath = os.path.join(filesdir, path)
60 return newpath
61
62 def download(self, url, urldata, d):
63 """Fetch urls (no-op for Local method)"""
64 # no need to fetch local files, we'll deal with them in place.
65 return 1
66
67 def checkstatus(self, url, urldata, d):
68 """
69 Check the status of the url
70 """
71 if urldata.localpath.find("*") != -1:
72 logger.info("URL %s looks like a glob and was therefore not checked.", url)
73 return True
74 if os.path.exists(urldata.localpath):
75 return True
76 return False
diff --git a/bitbake/lib/bb/fetch2/osc.py b/bitbake/lib/bb/fetch2/osc.py
new file mode 100644
index 0000000000..f252b5e4a3
--- /dev/null
+++ b/bitbake/lib/bb/fetch2/osc.py
@@ -0,0 +1,135 @@
1# ex:ts=4:sw=4:sts=4:et
2# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
3"""
4Bitbake "Fetch" implementation for osc (Opensuse build service client).
5Based on the svn "Fetch" implementation.
6
7"""
8
9import os
10import sys
11import logging
12import bb
13from bb import data
14from bb.fetch2 import FetchMethod
15from bb.fetch2 import FetchError
16from bb.fetch2 import MissingParameterError
17from bb.fetch2 import runfetchcmd
18
19class Osc(FetchMethod):
20 """Class to fetch a module or modules from Opensuse build server
21 repositories."""
22
23 def supports(self, url, ud, d):
24 """
25 Check to see if a given url can be fetched with osc.
26 """
27 return ud.type in ['osc']
28
29 def urldata_init(self, ud, d):
30 if not "module" in ud.parm:
31 raise MissingParameterError('module', ud.url)
32
33 ud.module = ud.parm["module"]
34
35 # Create paths to osc checkouts
36 relpath = self._strip_leading_slashes(ud.path)
37 ud.pkgdir = os.path.join(data.expand('${OSCDIR}', d), ud.host)
38 ud.moddir = os.path.join(ud.pkgdir, relpath, ud.module)
39
40 if 'rev' in ud.parm:
41 ud.revision = ud.parm['rev']
42 else:
43 pv = data.getVar("PV", d, 0)
44 rev = bb.fetch2.srcrev_internal_helper(ud, d)
45 if rev and rev != True:
46 ud.revision = rev
47 else:
48 ud.revision = ""
49
50 ud.localfile = data.expand('%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.path.replace('/', '.'), ud.revision), d)
51
52 def _buildosccommand(self, ud, d, command):
53 """
54 Build up an ocs commandline based on ud
55 command is "fetch", "update", "info"
56 """
57
58 basecmd = data.expand('${FETCHCMD_osc}', d)
59
60 proto = ud.parm.get('proto', 'ocs')
61
62 options = []
63
64 config = "-c %s" % self.generate_config(ud, d)
65
66 if ud.revision:
67 options.append("-r %s" % ud.revision)
68
69 coroot = self._strip_leading_slashes(ud.path)
70
71 if command is "fetch":
72 osccmd = "%s %s co %s/%s %s" % (basecmd, config, coroot, ud.module, " ".join(options))
73 elif command is "update":
74 osccmd = "%s %s up %s" % (basecmd, config, " ".join(options))
75 else:
76 raise FetchError("Invalid osc command %s" % command, ud.url)
77
78 return osccmd
79
80 def download(self, loc, ud, d):
81 """
82 Fetch url
83 """
84
85 logger.debug(2, "Fetch: checking for module directory '" + ud.moddir + "'")
86
87 if os.access(os.path.join(data.expand('${OSCDIR}', d), ud.path, ud.module), os.R_OK):
88 oscupdatecmd = self._buildosccommand(ud, d, "update")
89 logger.info("Update "+ loc)
90 # update sources there
91 os.chdir(ud.moddir)
92 logger.debug(1, "Running %s", oscupdatecmd)
93 bb.fetch2.check_network_access(d, oscupdatecmd)
94 runfetchcmd(oscupdatecmd, d)
95 else:
96 oscfetchcmd = self._buildosccommand(ud, d, "fetch")
97 logger.info("Fetch " + loc)
98 # check out sources there
99 bb.mkdirhier(ud.pkgdir)
100 os.chdir(ud.pkgdir)
101 logger.debug(1, "Running %s", oscfetchcmd)
102 bb.fetch2.check_network_access(d, oscfetchcmd)
103 runfetchcmd(oscfetchcmd, d)
104
105 os.chdir(os.path.join(ud.pkgdir + ud.path))
106 # tar them up to a defined filename
107 runfetchcmd("tar -czf %s %s" % (ud.localpath, ud.module), d, cleanup = [ud.localpath])
108
109 def supports_srcrev(self):
110 return False
111
112 def generate_config(self, ud, d):
113 """
114 Generate a .oscrc to be used for this run.
115 """
116
117 config_path = os.path.join(data.expand('${OSCDIR}', d), "oscrc")
118 if (os.path.exists(config_path)):
119 os.remove(config_path)
120
121 f = open(config_path, 'w')
122 f.write("[general]\n")
123 f.write("apisrv = %s\n" % ud.host)
124 f.write("scheme = http\n")
125 f.write("su-wrapper = su -c\n")
126 f.write("build-root = %s\n" % data.expand('${WORKDIR}', d))
127 f.write("urllist = http://moblin-obs.jf.intel.com:8888/build/%(project)s/%(repository)s/%(buildarch)s/:full/%(name)s.rpm\n")
128 f.write("extra-pkgs = gzip\n")
129 f.write("\n")
130 f.write("[%s]\n" % ud.host)
131 f.write("user = %s\n" % ud.parm["user"])
132 f.write("pass = %s\n" % ud.parm["pswd"])
133 f.close()
134
135 return config_path
diff --git a/bitbake/lib/bb/fetch2/perforce.py b/bitbake/lib/bb/fetch2/perforce.py
new file mode 100644
index 0000000000..6347834c76
--- /dev/null
+++ b/bitbake/lib/bb/fetch2/perforce.py
@@ -0,0 +1,196 @@
1# ex:ts=4:sw=4:sts=4:et
2# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
3"""
4BitBake 'Fetch' implementations
5
6Classes for obtaining upstream sources for the
7BitBake build tools.
8
9"""
10
11# Copyright (C) 2003, 2004 Chris Larson
12#
13# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation.
16#
17# This program is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License along
23# with this program; if not, write to the Free Software Foundation, Inc.,
24# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25#
26# Based on functions from the base bb module, Copyright 2003 Holger Schurig
27
28from future_builtins import zip
29import os
30import logging
31import bb
32from bb import data
33from bb.fetch2 import FetchMethod
34from bb.fetch2 import FetchError
35from bb.fetch2 import logger
36from bb.fetch2 import runfetchcmd
37
38class Perforce(FetchMethod):
39 def supports(self, url, ud, d):
40 return ud.type in ['p4']
41
42 def doparse(url, d):
43 parm = {}
44 path = url.split("://")[1]
45 delim = path.find("@");
46 if delim != -1:
47 (user, pswd, host, port) = path.split('@')[0].split(":")
48 path = path.split('@')[1]
49 else:
50 (host, port) = data.getVar('P4PORT', d).split(':')
51 user = ""
52 pswd = ""
53
54 if path.find(";") != -1:
55 keys=[]
56 values=[]
57 plist = path.split(';')
58 for item in plist:
59 if item.count('='):
60 (key, value) = item.split('=')
61 keys.append(key)
62 values.append(value)
63
64 parm = dict(zip(keys, values))
65 path = "//" + path.split(';')[0]
66 host += ":%s" % (port)
67 parm["cset"] = Perforce.getcset(d, path, host, user, pswd, parm)
68
69 return host, path, user, pswd, parm
70 doparse = staticmethod(doparse)
71
72 def getcset(d, depot, host, user, pswd, parm):
73 p4opt = ""
74 if "cset" in parm:
75 return parm["cset"];
76 if user:
77 p4opt += " -u %s" % (user)
78 if pswd:
79 p4opt += " -P %s" % (pswd)
80 if host:
81 p4opt += " -p %s" % (host)
82
83 p4date = data.getVar("P4DATE", d, True)
84 if "revision" in parm:
85 depot += "#%s" % (parm["revision"])
86 elif "label" in parm:
87 depot += "@%s" % (parm["label"])
88 elif p4date:
89 depot += "@%s" % (p4date)
90
91 p4cmd = data.getVar('FETCHCOMMAND_p4', d, True)
92 logger.debug(1, "Running %s%s changes -m 1 %s", p4cmd, p4opt, depot)
93 p4file = os.popen("%s%s changes -m 1 %s" % (p4cmd, p4opt, depot))
94 cset = p4file.readline().strip()
95 logger.debug(1, "READ %s", cset)
96 if not cset:
97 return -1
98
99 return cset.split(' ')[1]
100 getcset = staticmethod(getcset)
101
102 def urldata_init(self, ud, d):
103 (host, path, user, pswd, parm) = Perforce.doparse(ud.url, d)
104
105 # If a label is specified, we use that as our filename
106
107 if "label" in parm:
108 ud.localfile = "%s.tar.gz" % (parm["label"])
109 return
110
111 base = path
112 which = path.find('/...')
113 if which != -1:
114 base = path[:which]
115
116 base = self._strip_leading_slashes(base)
117
118 cset = Perforce.getcset(d, path, host, user, pswd, parm)
119
120 ud.localfile = data.expand('%s+%s+%s.tar.gz' % (host, base.replace('/', '.'), cset), d)
121
122 def download(self, loc, ud, d):
123 """
124 Fetch urls
125 """
126
127 (host, depot, user, pswd, parm) = Perforce.doparse(loc, d)
128
129 if depot.find('/...') != -1:
130 path = depot[:depot.find('/...')]
131 else:
132 path = depot
133
134 module = parm.get('module', os.path.basename(path))
135
136 localdata = data.createCopy(d)
137 data.setVar('OVERRIDES', "p4:%s" % data.getVar('OVERRIDES', localdata), localdata)
138 data.update_data(localdata)
139
140 # Get the p4 command
141 p4opt = ""
142 if user:
143 p4opt += " -u %s" % (user)
144
145 if pswd:
146 p4opt += " -P %s" % (pswd)
147
148 if host:
149 p4opt += " -p %s" % (host)
150
151 p4cmd = data.getVar('FETCHCOMMAND', localdata, True)
152
153 # create temp directory
154 logger.debug(2, "Fetch: creating temporary directory")
155 bb.mkdirhier(data.expand('${WORKDIR}', localdata))
156 data.setVar('TMPBASE', data.expand('${WORKDIR}/oep4.XXXXXX', localdata), localdata)
157 tmppipe = os.popen(data.getVar('MKTEMPDIRCMD', localdata, True) or "false")
158 tmpfile = tmppipe.readline().strip()
159 if not tmpfile:
160 raise FetchError("Fetch: unable to create temporary directory.. make sure 'mktemp' is in the PATH.", loc)
161
162 if "label" in parm:
163 depot = "%s@%s" % (depot, parm["label"])
164 else:
165 cset = Perforce.getcset(d, depot, host, user, pswd, parm)
166 depot = "%s@%s" % (depot, cset)
167
168 os.chdir(tmpfile)
169 logger.info("Fetch " + loc)
170 logger.info("%s%s files %s", p4cmd, p4opt, depot)
171 p4file = os.popen("%s%s files %s" % (p4cmd, p4opt, depot))
172
173 if not p4file:
174 raise FetchError("Fetch: unable to get the P4 files from %s" % depot, loc)
175
176 count = 0
177
178 for file in p4file:
179 list = file.split()
180
181 if list[2] == "delete":
182 continue
183
184 dest = list[0][len(path)+1:]
185 where = dest.find("#")
186
187 os.system("%s%s print -o %s/%s %s" % (p4cmd, p4opt, module, dest[:where], list[0]))
188 count = count + 1
189
190 if count == 0:
191 logger.error()
192 raise FetchError("Fetch: No files gathered from the P4 fetch", loc)
193
194 runfetchcmd("tar -czf %s %s" % (ud.localpath, module), d, cleanup = [ud.localpath])
195 # cleanup
196 bb.utils.prunedir(tmpfile)
diff --git a/bitbake/lib/bb/fetch2/repo.py b/bitbake/lib/bb/fetch2/repo.py
new file mode 100644
index 0000000000..3b16fc0144
--- /dev/null
+++ b/bitbake/lib/bb/fetch2/repo.py
@@ -0,0 +1,98 @@
1# ex:ts=4:sw=4:sts=4:et
2# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
3"""
4BitBake "Fetch" repo (git) implementation
5
6"""
7
8# Copyright (C) 2009 Tom Rini <trini@embeddedalley.com>
9#
10# Based on git.py which is:
11#Copyright (C) 2005 Richard Purdie
12#
13# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation.
16#
17# This program is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License along
23# with this program; if not, write to the Free Software Foundation, Inc.,
24# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25
26import os
27import bb
28from bb import data
29from bb.fetch2 import FetchMethod
30from bb.fetch2 import runfetchcmd
31
32class Repo(FetchMethod):
33 """Class to fetch a module or modules from repo (git) repositories"""
34 def supports(self, url, ud, d):
35 """
36 Check to see if a given url can be fetched with repo.
37 """
38 return ud.type in ["repo"]
39
40 def urldata_init(self, ud, d):
41 """
42 We don"t care about the git rev of the manifests repository, but
43 we do care about the manifest to use. The default is "default".
44 We also care about the branch or tag to be used. The default is
45 "master".
46 """
47
48 ud.proto = ud.parm.get('protocol', 'git')
49 ud.branch = ud.parm.get('branch', 'master')
50 ud.manifest = ud.parm.get('manifest', 'default.xml')
51 if not ud.manifest.endswith('.xml'):
52 ud.manifest += '.xml'
53
54 ud.localfile = data.expand("repo_%s%s_%s_%s.tar.gz" % (ud.host, ud.path.replace("/", "."), ud.manifest, ud.branch), d)
55
56 def download(self, loc, ud, d):
57 """Fetch url"""
58
59 if os.access(os.path.join(data.getVar("DL_DIR", d, True), ud.localfile), os.R_OK):
60 logger.debug(1, "%s already exists (or was stashed). Skipping repo init / sync.", ud.localpath)
61 return
62
63 gitsrcname = "%s%s" % (ud.host, ud.path.replace("/", "."))
64 repodir = data.getVar("REPODIR", d, True) or os.path.join(data.getVar("DL_DIR", d, True), "repo")
65 codir = os.path.join(repodir, gitsrcname, ud.manifest)
66
67 if ud.user:
68 username = ud.user + "@"
69 else:
70 username = ""
71
72 bb.mkdirhier(os.path.join(codir, "repo"))
73 os.chdir(os.path.join(codir, "repo"))
74 if not os.path.exists(os.path.join(codir, "repo", ".repo")):
75 bb.fetch2.check_network_access(d, "repo init -m %s -b %s -u %s://%s%s%s" % (ud.manifest, ud.branch, ud.proto, username, ud.host, ud.path))
76 runfetchcmd("repo init -m %s -b %s -u %s://%s%s%s" % (ud.manifest, ud.branch, ud.proto, username, ud.host, ud.path), d)
77
78 bb.fetch2.check_network_access(d, "repo sync %s" % ud.url)
79 runfetchcmd("repo sync", d)
80 os.chdir(codir)
81
82 scmdata = ud.parm.get("scmdata", "")
83 if scmdata == "keep":
84 tar_flags = ""
85 else:
86 tar_flags = "--exclude '.repo' --exclude '.git'"
87
88 # Create a cache
89 runfetchcmd("tar %s -czf %s %s" % (tar_flags, ud.localpath, os.path.join(".", "*") ), d)
90
91 def supports_srcrev(self):
92 return False
93
94 def _build_revision(self, url, ud, d):
95 return ud.manifest
96
97 def _want_sortable_revision(self, url, ud, d):
98 return False
diff --git a/bitbake/lib/bb/fetch2/ssh.py b/bitbake/lib/bb/fetch2/ssh.py
new file mode 100644
index 0000000000..2ee9ab093a
--- /dev/null
+++ b/bitbake/lib/bb/fetch2/ssh.py
@@ -0,0 +1,120 @@
1# ex:ts=4:sw=4:sts=4:et
2# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
3'''
4BitBake 'Fetch' implementations
5
6This implementation is for Secure Shell (SSH), and attempts to comply with the
7IETF secsh internet draft:
8 http://tools.ietf.org/wg/secsh/draft-ietf-secsh-scp-sftp-ssh-uri/
9
10 Currently does not support the sftp parameters, as this uses scp
11 Also does not support the 'fingerprint' connection parameter.
12
13'''
14
15# Copyright (C) 2006 OpenedHand Ltd.
16#
17#
18# Based in part on svk.py:
19# Copyright (C) 2006 Holger Hans Peter Freyther
20# Based on svn.py:
21# Copyright (C) 2003, 2004 Chris Larson
22# Based on functions from the base bb module:
23# Copyright 2003 Holger Schurig
24#
25#
26# This program is free software; you can redistribute it and/or modify
27# it under the terms of the GNU General Public License version 2 as
28# published by the Free Software Foundation.
29#
30# This program is distributed in the hope that it will be useful,
31# but WITHOUT ANY WARRANTY; without even the implied warranty of
32# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33# GNU General Public License for more details.
34#
35# You should have received a copy of the GNU General Public License along
36# with this program; if not, write to the Free Software Foundation, Inc.,
37# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
38
39import re, os
40from bb import data
41from bb.fetch2 import FetchMethod
42from bb.fetch2 import FetchError
43from bb.fetch2 import logger
44from bb.fetch2 import runfetchcmd
45
46
47__pattern__ = re.compile(r'''
48 \s* # Skip leading whitespace
49 ssh:// # scheme
50 ( # Optional username/password block
51 (?P<user>\S+) # username
52 (:(?P<pass>\S+))? # colon followed by the password (optional)
53 )?
54 (?P<cparam>(;[^;]+)*)? # connection parameters block (optional)
55 @
56 (?P<host>\S+?) # non-greedy match of the host
57 (:(?P<port>[0-9]+))? # colon followed by the port (optional)
58 /
59 (?P<path>[^;]+) # path on the remote system, may be absolute or relative,
60 # and may include the use of '~' to reference the remote home
61 # directory
62 (?P<sparam>(;[^;]+)*)? # parameters block (optional)
63 $
64''', re.VERBOSE)
65
66class SSH(FetchMethod):
67 '''Class to fetch a module or modules via Secure Shell'''
68
69 def supports(self, url, urldata, d):
70 return __pattern__.match(url) != None
71
72 def localpath(self, url, urldata, d):
73 m = __pattern__.match(urldata.url)
74 path = m.group('path')
75 host = m.group('host')
76 lpath = os.path.join(data.getVar('DL_DIR', d, True), host, os.path.basename(path))
77 return lpath
78
79 def download(self, url, urldata, d):
80 dldir = data.getVar('DL_DIR', d, True)
81
82 m = __pattern__.match(url)
83 path = m.group('path')
84 host = m.group('host')
85 port = m.group('port')
86 user = m.group('user')
87 password = m.group('pass')
88
89 ldir = os.path.join(dldir, host)
90 lpath = os.path.join(ldir, os.path.basename(path))
91
92 if not os.path.exists(ldir):
93 os.makedirs(ldir)
94
95 if port:
96 port = '-P %s' % port
97 else:
98 port = ''
99
100 if user:
101 fr = user
102 if password:
103 fr += ':%s' % password
104 fr += '@%s' % host
105 else:
106 fr = host
107 fr += ':%s' % path
108
109
110 import commands
111 cmd = 'scp -B -r %s %s %s/' % (
112 port,
113 commands.mkarg(fr),
114 commands.mkarg(ldir)
115 )
116
117 bb.fetch2.check_network_access(d, cmd)
118
119 runfetchcmd(cmd, d)
120
diff --git a/bitbake/lib/bb/fetch2/svk.py b/bitbake/lib/bb/fetch2/svk.py
new file mode 100644
index 0000000000..6211cac8d3
--- /dev/null
+++ b/bitbake/lib/bb/fetch2/svk.py
@@ -0,0 +1,97 @@
1# ex:ts=4:sw=4:sts=4:et
2# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
3"""
4BitBake 'Fetch' implementations
5
6This implementation is for svk. It is based on the svn implementation
7
8"""
9
10# Copyright (C) 2006 Holger Hans Peter Freyther
11# Copyright (C) 2003, 2004 Chris Larson
12#
13# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation.
16#
17# This program is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License along
23# with this program; if not, write to the Free Software Foundation, Inc.,
24# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25#
26# Based on functions from the base bb module, Copyright 2003 Holger Schurig
27
28import os
29import logging
30import bb
31from bb import data
32from bb.fetch2 import FetchMethod
33from bb.fetch2 import FetchError
34from bb.fetch2 import MissingParameterError
35from bb.fetch2 import logger
36from bb.fetch2 import runfetchcmd
37
38class Svk(FetchMethod):
39 """Class to fetch a module or modules from svk repositories"""
40 def supports(self, url, ud, d):
41 """
42 Check to see if a given url can be fetched with svk.
43 """
44 return ud.type in ['svk']
45
46 def urldata_init(self, ud, d):
47
48 if not "module" in ud.parm:
49 raise MissingParameterError('module', ud.url)
50 else:
51 ud.module = ud.parm["module"]
52
53 ud.revision = ud.parm.get('rev', "")
54
55 ud.localfile = data.expand('%s_%s_%s_%s_%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision, ud.date), d)
56
57 def need_update(self, url, ud, d):
58 if ud.date == "now":
59 return True
60 if not os.path.exists(ud.localpath):
61 return True
62 return False
63
64 def download(self, loc, ud, d):
65 """Fetch urls"""
66
67 svkroot = ud.host + ud.path
68
69 svkcmd = "svk co -r {%s} %s/%s" % (ud.date, svkroot, ud.module)
70
71 if ud.revision:
72 svkcmd = "svk co -r %s %s/%s" % (ud.revision, svkroot, ud.module)
73
74 # create temp directory
75 localdata = data.createCopy(d)
76 data.update_data(localdata)
77 logger.debug(2, "Fetch: creating temporary directory")
78 bb.mkdirhier(data.expand('${WORKDIR}', localdata))
79 data.setVar('TMPBASE', data.expand('${WORKDIR}/oesvk.XXXXXX', localdata), localdata)
80 tmppipe = os.popen(data.getVar('MKTEMPDIRCMD', localdata, True) or "false")
81 tmpfile = tmppipe.readline().strip()
82 if not tmpfile:
83 logger.error()
84 raise FetchError("Fetch: unable to create temporary directory.. make sure 'mktemp' is in the PATH.", loc)
85
86 # check out sources there
87 os.chdir(tmpfile)
88 logger.info("Fetch " + loc)
89 logger.debug(1, "Running %s", svkcmd)
90 runfetchcmd(svkcmd, d, cleanup = [tmpfile])
91
92 os.chdir(os.path.join(tmpfile, os.path.dirname(ud.module)))
93 # tar them up to a defined filename
94 runfetchcmd("tar -czf %s %s" % (ud.localpath, os.path.basename(ud.module)), d, cleanup = [ud.localpath])
95
96 # cleanup
97 bb.utils.prunedir(tmpfile)
diff --git a/bitbake/lib/bb/fetch2/svn.py b/bitbake/lib/bb/fetch2/svn.py
new file mode 100644
index 0000000000..4ab643bcf7
--- /dev/null
+++ b/bitbake/lib/bb/fetch2/svn.py
@@ -0,0 +1,173 @@
1# ex:ts=4:sw=4:sts=4:et
2# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
3"""
4BitBake 'Fetch' implementation for svn.
5
6"""
7
8# Copyright (C) 2003, 2004 Chris Larson
9# Copyright (C) 2004 Marcin Juszkiewicz
10#
11# This program is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License version 2 as
13# published by the Free Software Foundation.
14#
15# This program is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18# GNU General Public License for more details.
19#
20# You should have received a copy of the GNU General Public License along
21# with this program; if not, write to the Free Software Foundation, Inc.,
22# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23#
24# Based on functions from the base bb module, Copyright 2003 Holger Schurig
25
26import os
27import sys
28import logging
29import bb
30from bb import data
31from bb.fetch2 import FetchMethod
32from bb.fetch2 import FetchError
33from bb.fetch2 import MissingParameterError
34from bb.fetch2 import runfetchcmd
35from bb.fetch2 import logger
36
37class Svn(FetchMethod):
38 """Class to fetch a module or modules from svn repositories"""
39 def supports(self, url, ud, d):
40 """
41 Check to see if a given url can be fetched with svn.
42 """
43 return ud.type in ['svn']
44
45 def urldata_init(self, ud, d):
46 """
47 init svn specific variable within url data
48 """
49 if not "module" in ud.parm:
50 raise MissingParameterError('module', ud.url)
51
52 ud.module = ud.parm["module"]
53
54 # Create paths to svn checkouts
55 relpath = self._strip_leading_slashes(ud.path)
56 ud.pkgdir = os.path.join(data.expand('${SVNDIR}', d), ud.host, relpath)
57 ud.moddir = os.path.join(ud.pkgdir, ud.module)
58
59 if 'rev' in ud.parm:
60 ud.revision = ud.parm['rev']
61
62 ud.localfile = data.expand('%s_%s_%s_%s_.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.path.replace('/', '.'), ud.revision), d)
63
64 def _buildsvncommand(self, ud, d, command):
65 """
66 Build up an svn commandline based on ud
67 command is "fetch", "update", "info"
68 """
69
70 basecmd = data.expand('${FETCHCMD_svn}', d)
71
72 proto = ud.parm.get('proto', 'svn')
73
74 svn_rsh = None
75 if proto == "svn+ssh" and "rsh" in ud.parm:
76 svn_rsh = ud.parm["rsh"]
77
78 svnroot = ud.host + ud.path
79
80 options = []
81
82 if ud.user:
83 options.append("--username %s" % ud.user)
84
85 if ud.pswd:
86 options.append("--password %s" % ud.pswd)
87
88 if command is "info":
89 svncmd = "%s info %s %s://%s/%s/" % (basecmd, " ".join(options), proto, svnroot, ud.module)
90 else:
91 suffix = ""
92 if ud.revision:
93 options.append("-r %s" % ud.revision)
94 suffix = "@%s" % (ud.revision)
95
96 if command is "fetch":
97 svncmd = "%s co %s %s://%s/%s%s %s" % (basecmd, " ".join(options), proto, svnroot, ud.module, suffix, ud.module)
98 elif command is "update":
99 svncmd = "%s update %s" % (basecmd, " ".join(options))
100 else:
101 raise FetchError("Invalid svn command %s" % command, ud.url)
102
103 if svn_rsh:
104 svncmd = "svn_RSH=\"%s\" %s" % (svn_rsh, svncmd)
105
106 return svncmd
107
108 def download(self, loc, ud, d):
109 """Fetch url"""
110
111 logger.debug(2, "Fetch: checking for module directory '" + ud.moddir + "'")
112
113 if os.access(os.path.join(ud.moddir, '.svn'), os.R_OK):
114 svnupdatecmd = self._buildsvncommand(ud, d, "update")
115 logger.info("Update " + loc)
116 # update sources there
117 os.chdir(ud.moddir)
118 logger.debug(1, "Running %s", svnupdatecmd)
119 bb.fetch2.check_network_access(d, svnupdatecmd)
120 runfetchcmd(svnupdatecmd, d)
121 else:
122 svnfetchcmd = self._buildsvncommand(ud, d, "fetch")
123 logger.info("Fetch " + loc)
124 # check out sources there
125 bb.mkdirhier(ud.pkgdir)
126 os.chdir(ud.pkgdir)
127 logger.debug(1, "Running %s", svnfetchcmd)
128 bb.fetch2.check_network_access(d, svnfetchcmd)
129 runfetchcmd(svnfetchcmd, d)
130
131 scmdata = ud.parm.get("scmdata", "")
132 if scmdata == "keep":
133 tar_flags = ""
134 else:
135 tar_flags = "--exclude '.svn'"
136
137 os.chdir(ud.pkgdir)
138 # tar them up to a defined filename
139 runfetchcmd("tar %s -czf %s %s" % (tar_flags, ud.localpath, ud.module), d, cleanup = [ud.localpath])
140
141 def supports_srcrev(self):
142 return True
143
144 def _revision_key(self, url, ud, d, name):
145 """
146 Return a unique key for the url
147 """
148 return "svn:" + ud.moddir
149
150 def _latest_revision(self, url, ud, d, name):
151 """
152 Return the latest upstream revision number
153 """
154 bb.fetch2.check_network_access(d, self._buildsvncommand(ud, d, "info"))
155
156 output = runfetchcmd("LANG=C LC_ALL=C " + self._buildsvncommand(ud, d, "info"), d, True)
157
158 revision = None
159 for line in output.splitlines():
160 if "Last Changed Rev" in line:
161 revision = line.split(":")[1].strip()
162
163 return revision
164
165 def _sortable_revision(self, url, ud, d):
166 """
167 Return a sortable revision number which in our case is the revision number
168 """
169
170 return self._build_revision(url, ud, d)
171
172 def _build_revision(self, url, ud, d):
173 return ud.revision
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py
new file mode 100644
index 0000000000..cf6d5bf2a0
--- /dev/null
+++ b/bitbake/lib/bb/fetch2/wget.py
@@ -0,0 +1,91 @@
1# ex:ts=4:sw=4:sts=4:et
2# -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*-
3"""
4BitBake 'Fetch' implementations
5
6Classes for obtaining upstream sources for the
7BitBake build tools.
8
9"""
10
11# Copyright (C) 2003, 2004 Chris Larson
12#
13# This program is free software; you can redistribute it and/or modify
14# it under the terms of the GNU General Public License version 2 as
15# published by the Free Software Foundation.
16#
17# This program is distributed in the hope that it will be useful,
18# but WITHOUT ANY WARRANTY; without even the implied warranty of
19# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20# GNU General Public License for more details.
21#
22# You should have received a copy of the GNU General Public License along
23# with this program; if not, write to the Free Software Foundation, Inc.,
24# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25#
26# Based on functions from the base bb module, Copyright 2003 Holger Schurig
27
28import os
29import logging
30import bb
31import urllib
32from bb import data
33from bb.fetch2 import FetchMethod
34from bb.fetch2 import FetchError
35from bb.fetch2 import encodeurl
36from bb.fetch2 import decodeurl
37from bb.fetch2 import logger
38from bb.fetch2 import runfetchcmd
39
40class Wget(FetchMethod):
41 """Class to fetch urls via 'wget'"""
42 def supports(self, url, ud, d):
43 """
44 Check to see if a given url can be fetched with wget.
45 """
46 return ud.type in ['http', 'https', 'ftp']
47
48 def urldata_init(self, ud, d):
49
50 ud.basename = os.path.basename(ud.path)
51 ud.localfile = data.expand(urllib.unquote(ud.basename), d)
52
53 def download(self, uri, ud, d, checkonly = False):
54 """Fetch urls"""
55
56 def fetch_uri(uri, ud, d):
57 if checkonly:
58 fetchcmd = data.getVar("CHECKCOMMAND", d, True)
59 elif os.path.exists(ud.localpath):
60 # file exists, but we didnt complete it.. trying again..
61 fetchcmd = data.getVar("RESUMECOMMAND", d, True)
62 else:
63 fetchcmd = data.getVar("FETCHCOMMAND", d, True)
64
65 uri = uri.split(";")[0]
66 uri_decoded = list(decodeurl(uri))
67 uri_type = uri_decoded[0]
68 uri_host = uri_decoded[1]
69
70 fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0])
71 fetchcmd = fetchcmd.replace("${FILE}", ud.basename)
72 logger.info("fetch " + uri)
73 logger.debug(2, "executing " + fetchcmd)
74 bb.fetch2.check_network_access(d, fetchcmd)
75 runfetchcmd(fetchcmd, d)
76
77 # Sanity check since wget can pretend it succeed when it didn't
78 # Also, this used to happen if sourceforge sent us to the mirror page
79 if not os.path.exists(ud.localpath) and not checkonly:
80 raise FetchError("The fetch command returned success but %s doesn't exist?!" % (uri, ud.localpath), uri)
81
82 localdata = data.createCopy(d)
83 data.setVar('OVERRIDES', "wget:" + data.getVar('OVERRIDES', localdata), localdata)
84 data.update_data(localdata)
85
86 fetch_uri(uri, ud, localdata)
87
88 return True
89
90 def checkstatus(self, uri, ud, d):
91 return self.download(uri, ud, d, True)
diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py
index 21692d930d..1f9ff904af 100644
--- a/bitbake/lib/bb/msg.py
+++ b/bitbake/lib/bb/msg.py
@@ -23,12 +23,66 @@ Message handling infrastructure for bitbake
23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 24
25import sys 25import sys
26import logging
26import collections 27import collections
28from itertools import groupby
29import warnings
27import bb 30import bb
28import bb.event 31import bb.event
29 32
30debug_level = collections.defaultdict(lambda: 0) 33class BBLogFormatter(logging.Formatter):
31verbose = False 34 """Formatter which ensures that our 'plain' messages (logging.INFO + 1) are used as is"""
35
36 DEBUG3 = logging.DEBUG - 2
37 DEBUG2 = logging.DEBUG - 1
38 DEBUG = logging.DEBUG
39 VERBOSE = logging.INFO - 1
40 NOTE = logging.INFO
41 PLAIN = logging.INFO + 1
42 ERROR = logging.ERROR
43 WARNING = logging.WARNING
44 CRITICAL = logging.CRITICAL
45
46 levelnames = {
47 DEBUG3 : 'DEBUG',
48 DEBUG2 : 'DEBUG',
49 DEBUG : 'DEBUG',
50 VERBOSE: 'NOTE',
51 NOTE : 'NOTE',
52 PLAIN : '',
53 WARNING : 'WARNING',
54 ERROR : 'ERROR',
55 CRITICAL: 'ERROR',
56 }
57
58 def getLevelName(self, levelno):
59 try:
60 return self.levelnames[levelno]
61 except KeyError:
62 self.levelnames[levelno] = value = 'Level %d' % levelno
63 return value
64
65 def format(self, record):
66 record.levelname = self.getLevelName(record.levelno)
67 if record.levelno == self.PLAIN:
68 return record.getMessage()
69 else:
70 return logging.Formatter.format(self, record)
71
72class Loggers(dict):
73 def __getitem__(self, key):
74 if key in self:
75 return dict.__getitem__(self, key)
76 else:
77 log = logging.getLogger("BitBake.%s" % domain._fields[key])
78 dict.__setitem__(self, key, log)
79 return log
80
81class DebugLevel(dict):
82 def __getitem__(self, key):
83 if key == "default":
84 key = domain.Default
85 return get_debug_level(key)
32 86
33def _NamedTuple(name, fields): 87def _NamedTuple(name, fields):
34 Tuple = collections.namedtuple(name, " ".join(fields)) 88 Tuple = collections.namedtuple(name, " ".join(fields))
@@ -48,97 +102,99 @@ domain = _NamedTuple("Domain", (
48 "RunQueue", 102 "RunQueue",
49 "TaskData", 103 "TaskData",
50 "Util")) 104 "Util"))
105logger = logging.getLogger("BitBake")
106loggers = Loggers()
107debug_level = DebugLevel()
51 108
52
53class MsgBase(bb.event.Event):
54 """Base class for messages"""
55
56 def __init__(self, msg):
57 self._message = msg
58 bb.event.Event.__init__(self)
59
60class MsgDebug(MsgBase):
61 """Debug Message"""
62
63class MsgNote(MsgBase):
64 """Note Message"""
65
66class MsgWarn(MsgBase):
67 """Warning Message"""
68
69class MsgError(MsgBase):
70 """Error Message"""
71
72class MsgFatal(MsgBase):
73 """Fatal Message"""
74
75class MsgPlain(MsgBase):
76 """General output"""
77
78#
79# Message control functions 109# Message control functions
80# 110#
81 111
82def set_debug_level(level): 112def set_debug_level(level):
83 for d in domain: 113 for log in loggers.itervalues():
84 debug_level[d] = level 114 log.setLevel(logging.NOTSET)
85 debug_level[domain.Default] = level 115
116 if level:
117 logger.setLevel(logging.DEBUG - level + 1)
118 else:
119 logger.setLevel(logging.INFO)
86 120
87def get_debug_level(msgdomain = domain.Default): 121def get_debug_level(msgdomain = domain.Default):
88 return debug_level[msgdomain] 122 if not msgdomain:
123 level = logger.getEffectiveLevel()
124 else:
125 level = loggers[msgdomain].getEffectiveLevel()
126 return max(0, logging.DEBUG - level + 1)
89 127
90def set_verbose(level): 128def set_verbose(level):
91 verbose = level 129 if level:
92 130 logger.setLevel(BBLogFormatter.VERBOSE)
93def set_debug_domains(strdomains): 131 else:
94 for domainstr in strdomains: 132 logger.setLevel(BBLogFormatter.INFO)
95 for d in domain: 133
96 if domain._fields[d] == domainstr: 134def set_debug_domains(domainargs):
97 debug_level[d] += 1 135 for (domainarg, iterator) in groupby(domainargs):
136 for index, msgdomain in enumerate(domain._fields):
137 if msgdomain == domainarg:
138 level = len(tuple(iterator))
139 if level:
140 loggers[index].setLevel(logging.DEBUG - level + 1)
98 break 141 break
99 else: 142 else:
100 warn(None, "Logging domain %s is not valid, ignoring" % domainstr) 143 warn(None, "Logging domain %s is not valid, ignoring" % domainarg)
101 144
102# 145#
103# Message handling functions 146# Message handling functions
104# 147#
105 148
106def debug(level, msgdomain, msg, fn = None): 149def debug(level, msgdomain, msg):
150 warnings.warn("bb.msg.debug will soon be deprecated in favor of the python 'logging' module",
151 PendingDeprecationWarning, stacklevel=2)
152 level = logging.DEBUG - (level - 1)
107 if not msgdomain: 153 if not msgdomain:
108 msgdomain = domain.Default 154 logger.debug(level, msg)
109 155 else:
110 if debug_level[msgdomain] >= level: 156 loggers[msgdomain].debug(level, msg)
111 bb.event.fire(MsgDebug(msg), None) 157
112 if bb.event.useStdout: 158def plain(msg):
113 print('DEBUG: %s' % (msg)) 159 warnings.warn("bb.msg.plain will soon be deprecated in favor of the python 'logging' module",
160 PendingDeprecationWarning, stacklevel=2)
161 logger.plain(msg)
162
163def note(level, msgdomain, msg):
164 warnings.warn("bb.msg.note will soon be deprecated in favor of the python 'logging' module",
165 PendingDeprecationWarning, stacklevel=2)
166 if level > 1:
167 if msgdomain:
168 logger.verbose(msg)
169 else:
170 loggers[msgdomain].verbose(msg)
171 else:
172 if msgdomain:
173 logger.info(msg)
174 else:
175 loggers[msgdomain].info(msg)
114 176
115def note(level, msgdomain, msg, fn = None): 177def warn(msgdomain, msg):
178 warnings.warn("bb.msg.warn will soon be deprecated in favor of the python 'logging' module",
179 PendingDeprecationWarning, stacklevel=2)
116 if not msgdomain: 180 if not msgdomain:
117 msgdomain = domain.Default 181 logger.warn(msg)
182 else:
183 loggers[msgdomain].warn(msg)
118 184
119 if level == 1 or verbose or debug_level[msgdomain] >= 1: 185def error(msgdomain, msg):
120 bb.event.fire(MsgNote(msg), None) 186 warnings.warn("bb.msg.error will soon be deprecated in favor of the python 'logging' module",
121 if bb.event.useStdout: 187 PendingDeprecationWarning, stacklevel=2)
122 print('NOTE: %s' % (msg)) 188 if not msgdomain:
123 189 logger.error(msg)
124def warn(msgdomain, msg, fn = None): 190 else:
125 bb.event.fire(MsgWarn(msg), None) 191 loggers[msgdomain].error(msg)
126 if bb.event.useStdout:
127 print('WARNING: %s' % (msg))
128
129def error(msgdomain, msg, fn = None):
130 bb.event.fire(MsgError(msg), None)
131 if bb.event.useStdout:
132 print('ERROR: %s' % (msg))
133
134def fatal(msgdomain, msg, fn = None):
135 bb.event.fire(MsgFatal(msg), None)
136 192
137 if bb.event.useStdout: 193def fatal(msgdomain, msg):
138 print('FATAL: %s' % (msg)) 194 warnings.warn("bb.msg.fatal will soon be deprecated in favor of raising appropriate exceptions",
195 PendingDeprecationWarning, stacklevel=2)
196 if not msgdomain:
197 logger.critical(msg)
198 else:
199 loggers[msgdomain].critical(msg)
139 sys.exit(1) 200 sys.exit(1)
140
141def plain(msg, fn = None):
142 bb.event.fire(MsgPlain(msg), None)
143 if bb.event.useStdout:
144 print(msg)
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py
index da160ceb27..eee8d9cddb 100644
--- a/bitbake/lib/bb/parse/__init__.py
+++ b/bitbake/lib/bb/parse/__init__.py
@@ -26,10 +26,15 @@ File parsers for the BitBake build tools.
26 26
27handlers = [] 27handlers = []
28 28
29import bb, os 29import os
30import stat
31import logging
32import bb
30import bb.utils 33import bb.utils
31import bb.siggen 34import bb.siggen
32 35
36logger = logging.getLogger("BitBake.Parsing")
37
33class ParseError(Exception): 38class ParseError(Exception):
34 """Exception raised when parsing fails""" 39 """Exception raised when parsing fails"""
35 40
@@ -39,19 +44,19 @@ class SkipPackage(Exception):
39__mtime_cache = {} 44__mtime_cache = {}
40def cached_mtime(f): 45def cached_mtime(f):
41 if f not in __mtime_cache: 46 if f not in __mtime_cache:
42 __mtime_cache[f] = os.stat(f)[8] 47 __mtime_cache[f] = os.stat(f)[stat.ST_MTIME]
43 return __mtime_cache[f] 48 return __mtime_cache[f]
44 49
45def cached_mtime_noerror(f): 50def cached_mtime_noerror(f):
46 if f not in __mtime_cache: 51 if f not in __mtime_cache:
47 try: 52 try:
48 __mtime_cache[f] = os.stat(f)[8] 53 __mtime_cache[f] = os.stat(f)[stat.ST_MTIME]
49 except OSError: 54 except OSError:
50 return 0 55 return 0
51 return __mtime_cache[f] 56 return __mtime_cache[f]
52 57
53def update_mtime(f): 58def update_mtime(f):
54 __mtime_cache[f] = os.stat(f)[8] 59 __mtime_cache[f] = os.stat(f)[stat.ST_MTIME]
55 return __mtime_cache[f] 60 return __mtime_cache[f]
56 61
57def mark_dependency(d, f): 62def mark_dependency(d, f):
@@ -80,18 +85,18 @@ def init(fn, data):
80 if h['supports'](fn): 85 if h['supports'](fn):
81 return h['init'](data) 86 return h['init'](data)
82 87
83def init_parser(d, dumpsigs): 88def init_parser(d):
84 bb.parse.siggen = bb.siggen.init(d, dumpsigs) 89 bb.parse.siggen = bb.siggen.init(d)
85 90
86def resolve_file(fn, d): 91def resolve_file(fn, d):
87 if not os.path.isabs(fn): 92 if not os.path.isabs(fn):
88 bbpath = bb.data.getVar("BBPATH", d, True) 93 bbpath = bb.data.getVar("BBPATH", d, True)
89 newfn = bb.which(bbpath, fn) 94 newfn = bb.utils.which(bbpath, fn)
90 if not newfn: 95 if not newfn:
91 raise IOError("file %s not found in %s" % (fn, bbpath)) 96 raise IOError("file %s not found in %s" % (fn, bbpath))
92 fn = newfn 97 fn = newfn
93 98
94 bb.msg.debug(2, bb.msg.domain.Parsing, "LOAD %s" % fn) 99 logger.debug(2, "LOAD %s", fn)
95 return fn 100 return fn
96 101
97# Used by OpenEmbedded metadata 102# Used by OpenEmbedded metadata
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py
index 870ae65b0e..8fffe1e8f0 100644
--- a/bitbake/lib/bb/parse/ast.py
+++ b/bitbake/lib/bb/parse/ast.py
@@ -23,11 +23,14 @@
23 23
24from __future__ import absolute_import 24from __future__ import absolute_import
25from future_builtins import filter 25from future_builtins import filter
26import bb, re, string 26import re
27from bb import methodpool 27import string
28import logging
29import bb
28import itertools 30import itertools
31from bb import methodpool
32from bb.parse import logger
29 33
30__word__ = re.compile(r"\S+")
31__parsed_methods__ = bb.methodpool.get_parsed_dict() 34__parsed_methods__ = bb.methodpool.get_parsed_dict()
32_bbversions_re = re.compile(r"\[(?P<from>[0-9]+)-(?P<to>[0-9]+)\]") 35_bbversions_re = re.compile(r"\[(?P<from>[0-9]+)-(?P<to>[0-9]+)\]")
33 36
@@ -37,13 +40,14 @@ class StatementGroup(list):
37 statement.eval(data) 40 statement.eval(data)
38 41
39class AstNode(object): 42class AstNode(object):
40 pass 43 def __init__(self, filename, lineno):
44 self.filename = filename
45 self.lineno = lineno
41 46
42class IncludeNode(AstNode): 47class IncludeNode(AstNode):
43 def __init__(self, what_file, fn, lineno, force): 48 def __init__(self, filename, lineno, what_file, force):
49 AstNode.__init__(self, filename, lineno)
44 self.what_file = what_file 50 self.what_file = what_file
45 self.from_fn = fn
46 self.from_lineno = lineno
47 self.force = force 51 self.force = force
48 52
49 def eval(self, data): 53 def eval(self, data):
@@ -51,16 +55,17 @@ class IncludeNode(AstNode):
51 Include the file and evaluate the statements 55 Include the file and evaluate the statements
52 """ 56 """
53 s = bb.data.expand(self.what_file, data) 57 s = bb.data.expand(self.what_file, data)
54 bb.msg.debug(3, bb.msg.domain.Parsing, "CONF %s:%d: including %s" % (self.from_fn, self.from_lineno, s)) 58 logger.debug(2, "CONF %s:%s: including %s", self.filename, self.lineno, s)
55 59
56 # TODO: Cache those includes... maybe not here though 60 # TODO: Cache those includes... maybe not here though
57 if self.force: 61 if self.force:
58 bb.parse.ConfHandler.include(self.from_fn, s, data, "include required") 62 bb.parse.ConfHandler.include(self.filename, s, data, "include required")
59 else: 63 else:
60 bb.parse.ConfHandler.include(self.from_fn, s, data, False) 64 bb.parse.ConfHandler.include(self.filename, s, data, False)
61 65
62class ExportNode(AstNode): 66class ExportNode(AstNode):
63 def __init__(self, var): 67 def __init__(self, filename, lineno, var):
68 AstNode.__init__(self, filename, lineno)
64 self.var = var 69 self.var = var
65 70
66 def eval(self, data): 71 def eval(self, data):
@@ -73,7 +78,8 @@ class DataNode(AstNode):
73 this need to be re-evaluated... we might be able to do 78 this need to be re-evaluated... we might be able to do
74 that faster with multiple classes. 79 that faster with multiple classes.
75 """ 80 """
76 def __init__(self, groupd): 81 def __init__(self, filename, lineno, groupd):
82 AstNode.__init__(self, filename, lineno)
77 self.groupd = groupd 83 self.groupd = groupd
78 84
79 def getFunc(self, key, data): 85 def getFunc(self, key, data):
@@ -116,19 +122,18 @@ class DataNode(AstNode):
116 else: 122 else:
117 bb.data.setVar(key, val, data) 123 bb.data.setVar(key, val, data)
118 124
119class MethodNode: 125class MethodNode(AstNode):
120 def __init__(self, func_name, body, lineno, fn): 126 def __init__(self, filename, lineno, func_name, body):
127 AstNode.__init__(self, filename, lineno)
121 self.func_name = func_name 128 self.func_name = func_name
122 self.body = body 129 self.body = body
123 self.fn = fn
124 self.lineno = lineno
125 130
126 def eval(self, data): 131 def eval(self, data):
127 if self.func_name == "__anonymous": 132 if self.func_name == "__anonymous":
128 funcname = ("__anon_%s_%s" % (self.lineno, self.fn.translate(string.maketrans('/.+-', '____')))) 133 funcname = ("__anon_%s_%s" % (self.lineno, self.filename.translate(string.maketrans('/.+-', '____'))))
129 if not funcname in bb.methodpool._parsed_fns: 134 if not funcname in bb.methodpool._parsed_fns:
130 text = "def %s(d):\n" % (funcname) + '\n'.join(self.body) 135 text = "def %s(d):\n" % (funcname) + '\n'.join(self.body)
131 bb.methodpool.insert_method(funcname, text, self.fn) 136 bb.methodpool.insert_method(funcname, text, self.filename)
132 anonfuncs = bb.data.getVar('__BBANONFUNCS', data) or [] 137 anonfuncs = bb.data.getVar('__BBANONFUNCS', data) or []
133 anonfuncs.append(funcname) 138 anonfuncs.append(funcname)
134 bb.data.setVar('__BBANONFUNCS', anonfuncs, data) 139 bb.data.setVar('__BBANONFUNCS', anonfuncs, data)
@@ -137,25 +142,26 @@ class MethodNode:
137 bb.data.setVar(self.func_name, '\n'.join(self.body), data) 142 bb.data.setVar(self.func_name, '\n'.join(self.body), data)
138 143
139class PythonMethodNode(AstNode): 144class PythonMethodNode(AstNode):
140 def __init__(self, funcname, root, body, fn): 145 def __init__(self, filename, lineno, function, define, body):
141 self.func_name = funcname 146 AstNode.__init__(self, filename, lineno)
142 self.root = root 147 self.function = function
148 self.define = define
143 self.body = body 149 self.body = body
144 self.fn = fn
145 150
146 def eval(self, data): 151 def eval(self, data):
147 # Note we will add root to parsedmethods after having parse 152 # Note we will add root to parsedmethods after having parse
148 # 'this' file. This means we will not parse methods from 153 # 'this' file. This means we will not parse methods from
149 # bb classes twice 154 # bb classes twice
150 text = '\n'.join(self.body) 155 text = '\n'.join(self.body)
151 if not bb.methodpool.parsed_module(self.root): 156 if not bb.methodpool.parsed_module(self.define):
152 bb.methodpool.insert_method(self.root, text, self.fn) 157 bb.methodpool.insert_method(self.define, text, self.filename)
153 bb.data.setVarFlag(self.func_name, "func", 1, data) 158 bb.data.setVarFlag(self.function, "func", 1, data)
154 bb.data.setVarFlag(self.func_name, "python", 1, data) 159 bb.data.setVarFlag(self.function, "python", 1, data)
155 bb.data.setVar(self.func_name, text, data) 160 bb.data.setVar(self.function, text, data)
156 161
157class MethodFlagsNode(AstNode): 162class MethodFlagsNode(AstNode):
158 def __init__(self, key, m): 163 def __init__(self, filename, lineno, key, m):
164 AstNode.__init__(self, filename, lineno)
159 self.key = key 165 self.key = key
160 self.m = m 166 self.m = m
161 167
@@ -175,8 +181,9 @@ class MethodFlagsNode(AstNode):
175 bb.data.delVarFlag(self.key, "fakeroot", data) 181 bb.data.delVarFlag(self.key, "fakeroot", data)
176 182
177class ExportFuncsNode(AstNode): 183class ExportFuncsNode(AstNode):
178 def __init__(self, fns, classes): 184 def __init__(self, filename, lineno, fns, classes):
179 self.n = __word__.findall(fns) 185 AstNode.__init__(self, filename, lineno)
186 self.n = fns.split()
180 self.classes = classes 187 self.classes = classes
181 188
182 def eval(self, data): 189 def eval(self, data):
@@ -214,7 +221,8 @@ class ExportFuncsNode(AstNode):
214 bb.data.setVarFlag(var, 'export_func', '1', data) 221 bb.data.setVarFlag(var, 'export_func', '1', data)
215 222
216class AddTaskNode(AstNode): 223class AddTaskNode(AstNode):
217 def __init__(self, func, before, after): 224 def __init__(self, filename, lineno, func, before, after):
225 AstNode.__init__(self, filename, lineno)
218 self.func = func 226 self.func = func
219 self.before = before 227 self.before = before
220 self.after = after 228 self.after = after
@@ -245,8 +253,9 @@ class AddTaskNode(AstNode):
245 bb.data.setVarFlag(entry, "deps", [var] + existing, data) 253 bb.data.setVarFlag(entry, "deps", [var] + existing, data)
246 254
247class BBHandlerNode(AstNode): 255class BBHandlerNode(AstNode):
248 def __init__(self, fns): 256 def __init__(self, filename, lineno, fns):
249 self.hs = __word__.findall(fns) 257 AstNode.__init__(self, filename, lineno)
258 self.hs = fns.split()
250 259
251 def eval(self, data): 260 def eval(self, data):
252 bbhands = bb.data.getVar('__BBHANDLERS', data) or [] 261 bbhands = bb.data.getVar('__BBHANDLERS', data) or []
@@ -256,49 +265,49 @@ class BBHandlerNode(AstNode):
256 bb.data.setVar('__BBHANDLERS', bbhands, data) 265 bb.data.setVar('__BBHANDLERS', bbhands, data)
257 266
258class InheritNode(AstNode): 267class InheritNode(AstNode):
259 def __init__(self, files): 268 def __init__(self, filename, lineno, classes):
260 self.n = __word__.findall(files) 269 AstNode.__init__(self, filename, lineno)
270 self.classes = classes
261 271
262 def eval(self, data): 272 def eval(self, data):
263 bb.parse.BBHandler.inherit(self.n, data) 273 bb.parse.BBHandler.inherit(self.classes, data)
264 274
265def handleInclude(statements, m, fn, lineno, force): 275def handleInclude(statements, filename, lineno, m, force):
266 statements.append(IncludeNode(m.group(1), fn, lineno, force)) 276 statements.append(IncludeNode(filename, lineno, m.group(1), force))
267 277
268def handleExport(statements, m): 278def handleExport(statements, filename, lineno, m):
269 statements.append(ExportNode(m.group(1))) 279 statements.append(ExportNode(filename, lineno, m.group(1)))
270 280
271def handleData(statements, groupd): 281def handleData(statements, filename, lineno, groupd):
272 statements.append(DataNode(groupd)) 282 statements.append(DataNode(filename, lineno, groupd))
273 283
274def handleMethod(statements, func_name, lineno, fn, body): 284def handleMethod(statements, filename, lineno, func_name, body):
275 statements.append(MethodNode(func_name, body, lineno, fn)) 285 statements.append(MethodNode(filename, lineno, func_name, body))
276 286
277def handlePythonMethod(statements, funcname, root, body, fn): 287def handlePythonMethod(statements, filename, lineno, funcname, root, body):
278 statements.append(PythonMethodNode(funcname, root, body, fn)) 288 statements.append(PythonMethodNode(filename, lineno, funcname, root, body))
279 289
280def handleMethodFlags(statements, key, m): 290def handleMethodFlags(statements, filename, lineno, key, m):
281 statements.append(MethodFlagsNode(key, m)) 291 statements.append(MethodFlagsNode(filename, lineno, key, m))
282 292
283def handleExportFuncs(statements, m, classes): 293def handleExportFuncs(statements, filename, lineno, m, classes):
284 statements.append(ExportFuncsNode(m.group(1), classes)) 294 statements.append(ExportFuncsNode(filename, lineno, m.group(1), classes))
285 295
286def handleAddTask(statements, m): 296def handleAddTask(statements, filename, lineno, m):
287 func = m.group("func") 297 func = m.group("func")
288 before = m.group("before") 298 before = m.group("before")
289 after = m.group("after") 299 after = m.group("after")
290 if func is None: 300 if func is None:
291 return 301 return
292 302
293 statements.append(AddTaskNode(func, before, after)) 303 statements.append(AddTaskNode(filename, lineno, func, before, after))
294 304
295def handleBBHandlers(statements, m): 305def handleBBHandlers(statements, filename, lineno, m):
296 statements.append(BBHandlerNode(m.group(1))) 306 statements.append(BBHandlerNode(filename, lineno, m.group(1)))
297 307
298def handleInherit(statements, m): 308def handleInherit(statements, filename, lineno, m):
299 files = m.group(1) 309 classes = m.group(1)
300 n = __word__.findall(files) 310 statements.append(InheritNode(filename, lineno, classes.split()))
301 statements.append(InheritNode(m.group(1)))
302 311
303def finalize(fn, d, variant = None): 312def finalize(fn, d, variant = None):
304 for lazykey in bb.data.getVar("__lazy_assigned", d) or (): 313 for lazykey in bb.data.getVar("__lazy_assigned", d) or ():
@@ -365,7 +374,7 @@ def _expand_versions(versions):
365def multi_finalize(fn, d): 374def multi_finalize(fn, d):
366 appends = (d.getVar("__BBAPPEND", True) or "").split() 375 appends = (d.getVar("__BBAPPEND", True) or "").split()
367 for append in appends: 376 for append in appends:
368 bb.msg.debug(2, bb.msg.domain.Parsing, "Appending .bbappend file " + append + " to " + fn) 377 logger.debug(2, "Appending .bbappend file %s to %s", append, fn)
369 bb.parse.BBHandler.handle(append, d, True) 378 bb.parse.BBHandler.handle(append, d, True)
370 379
371 safe_d = d 380 safe_d = d
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index 51ad10fb92..31d1e21c67 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -27,11 +27,12 @@
27 27
28from __future__ import absolute_import 28from __future__ import absolute_import
29import re, bb, os 29import re, bb, os
30import bb.fetch, bb.build, bb.utils 30import logging
31import bb.build, bb.utils
31from bb import data 32from bb import data
32 33
33from . import ConfHandler 34from . import ConfHandler
34from .. import resolve_file, ast 35from .. import resolve_file, ast, logger
35from .ConfHandler import include, init 36from .ConfHandler import include, init
36 37
37# For compatibility 38# For compatibility
@@ -64,7 +65,8 @@ IN_PYTHON_EOF = -9999999999999
64 65
65 66
66def supports(fn, d): 67def supports(fn, d):
67 return fn[-3:] == ".bb" or fn[-8:] == ".bbclass" or fn[-4:] == ".inc" 68 """Return True if fn has a supported extension"""
69 return os.path.splitext(fn)[-1] in [".bb", ".bbclass", ".inc"]
68 70
69def inherit(files, d): 71def inherit(files, d):
70 __inherit_cache = data.getVar('__inherit_cache', d) or [] 72 __inherit_cache = data.getVar('__inherit_cache', d) or []
@@ -72,11 +74,11 @@ def inherit(files, d):
72 lineno = 0 74 lineno = 0
73 for file in files: 75 for file in files:
74 file = data.expand(file, d) 76 file = data.expand(file, d)
75 if file[0] != "/" and file[-8:] != ".bbclass": 77 if not os.path.isabs(file) and not file.endswith(".bbclass"):
76 file = os.path.join('classes', '%s.bbclass' % file) 78 file = os.path.join('classes', '%s.bbclass' % file)
77 79
78 if not file in __inherit_cache: 80 if not file in __inherit_cache:
79 bb.msg.debug(2, bb.msg.domain.Parsing, "BB %s:%d: inheriting %s" % (fn, lineno, file)) 81 logger.log(logging.DEBUG -1, "BB %s:%d: inheriting %s", fn, lineno, file)
80 __inherit_cache.append( file ) 82 __inherit_cache.append( file )
81 data.setVar('__inherit_cache', __inherit_cache, d) 83 data.setVar('__inherit_cache', __inherit_cache, d)
82 include(fn, file, d, "inherit") 84 include(fn, file, d, "inherit")
@@ -115,12 +117,12 @@ def handle(fn, d, include):
115 117
116 118
117 if include == 0: 119 if include == 0:
118 bb.msg.debug(2, bb.msg.domain.Parsing, "BB " + fn + ": handle(data)") 120 logger.debug(2, "BB %s: handle(data)", fn)
119 else: 121 else:
120 bb.msg.debug(2, bb.msg.domain.Parsing, "BB " + fn + ": handle(data, include)") 122 logger.debug(2, "BB %s: handle(data, include)", fn)
121 123
122 (root, ext) = os.path.splitext(os.path.basename(fn)) 124 base_name = os.path.basename(fn)
123 base_name = "%s%s" % (root, ext) 125 (root, ext) = os.path.splitext(base_name)
124 init(d) 126 init(d)
125 127
126 if ext == ".bbclass": 128 if ext == ".bbclass":
@@ -170,7 +172,7 @@ def feeder(lineno, s, fn, root, statements):
170 if __infunc__: 172 if __infunc__:
171 if s == '}': 173 if s == '}':
172 __body__.append('') 174 __body__.append('')
173 ast.handleMethod(statements, __infunc__, lineno, fn, __body__) 175 ast.handleMethod(statements, fn, lineno, __infunc__, __body__)
174 __infunc__ = "" 176 __infunc__ = ""
175 __body__ = [] 177 __body__ = []
176 else: 178 else:
@@ -183,7 +185,8 @@ def feeder(lineno, s, fn, root, statements):
183 __body__.append(s) 185 __body__.append(s)
184 return 186 return
185 else: 187 else:
186 ast.handlePythonMethod(statements, __inpython__, root, __body__, fn) 188 ast.handlePythonMethod(statements, fn, lineno, __inpython__,
189 root, __body__)
187 __body__ = [] 190 __body__ = []
188 __inpython__ = False 191 __inpython__ = False
189 192
@@ -204,7 +207,7 @@ def feeder(lineno, s, fn, root, statements):
204 m = __func_start_regexp__.match(s) 207 m = __func_start_regexp__.match(s)
205 if m: 208 if m:
206 __infunc__ = m.group("func") or "__anonymous" 209 __infunc__ = m.group("func") or "__anonymous"
207 ast.handleMethodFlags(statements, __infunc__, m) 210 ast.handleMethodFlags(statements, fn, lineno, __infunc__, m)
208 return 211 return
209 212
210 m = __def_regexp__.match(s) 213 m = __def_regexp__.match(s)
@@ -216,22 +219,22 @@ def feeder(lineno, s, fn, root, statements):
216 219
217 m = __export_func_regexp__.match(s) 220 m = __export_func_regexp__.match(s)
218 if m: 221 if m:
219 ast.handleExportFuncs(statements, m, classes) 222 ast.handleExportFuncs(statements, fn, lineno, m, classes)
220 return 223 return
221 224
222 m = __addtask_regexp__.match(s) 225 m = __addtask_regexp__.match(s)
223 if m: 226 if m:
224 ast.handleAddTask(statements, m) 227 ast.handleAddTask(statements, fn, lineno, m)
225 return 228 return
226 229
227 m = __addhandler_regexp__.match(s) 230 m = __addhandler_regexp__.match(s)
228 if m: 231 if m:
229 ast.handleBBHandlers(statements, m) 232 ast.handleBBHandlers(statements, fn, lineno, m)
230 return 233 return
231 234
232 m = __inherit_regexp__.match(s) 235 m = __inherit_regexp__.match(s)
233 if m: 236 if m:
234 ast.handleInherit(statements, m) 237 ast.handleInherit(statements, fn, lineno, m)
235 return 238 return
236 239
237 return ConfHandler.feeder(lineno, s, fn, statements) 240 return ConfHandler.feeder(lineno, s, fn, statements)
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
index 9128a2ef8f..fc239a3540 100644
--- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
@@ -25,8 +25,9 @@
25# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 25# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
26 26
27import re, bb.data, os 27import re, bb.data, os
28import logging
28import bb.utils 29import bb.utils
29from bb.parse import ParseError, resolve_file, ast 30from bb.parse import ParseError, resolve_file, ast, logger
30 31
31#__config_regexp__ = re.compile( r"(?P<exp>export\s*)?(?P<var>[a-zA-Z0-9\-_+.${}]+)\s*(?P<colon>:)?(?P<ques>\?)?=\s*(?P<apo>['\"]?)(?P<value>.*)(?P=apo)$") 32#__config_regexp__ = re.compile( r"(?P<exp>export\s*)?(?P<var>[a-zA-Z0-9\-_+.${}]+)\s*(?P<colon>:)?(?P<ques>\?)?=\s*(?P<apo>['\"]?)(?P<value>.*)(?P=apo)$")
32__config_regexp__ = re.compile( r"(?P<exp>export\s*)?(?P<var>[a-zA-Z0-9\-_+.${}/]+)(\[(?P<flag>[a-zA-Z0-9\-_+.]+)\])?\s*((?P<colon>:=)|(?P<lazyques>\?\?=)|(?P<ques>\?=)|(?P<append>\+=)|(?P<prepend>=\+)|(?P<predot>=\.)|(?P<postdot>\.=)|=)\s*(?P<apo>['\"]?)(?P<value>.*)(?P=apo)$") 33__config_regexp__ = re.compile( r"(?P<exp>export\s*)?(?P<var>[a-zA-Z0-9\-_+.${}/]+)(\[(?P<flag>[a-zA-Z0-9\-_+.]+)\])?\s*((?P<colon>:=)|(?P<lazyques>\?\?=)|(?P<ques>\?=)|(?P<append>\+=)|(?P<prepend>=\+)|(?P<predot>=\.)|(?P<postdot>\.=)|=)\s*(?P<apo>['\"]?)(?P<value>.*)(?P=apo)$")
@@ -45,10 +46,10 @@ def supports(fn, d):
45 46
46def include(oldfn, fn, data, error_out): 47def include(oldfn, fn, data, error_out):
47 """ 48 """
48 49 error_out If True a ParseError will be raised if the to be included
49 error_out If True a ParseError will be reaised if the to be included 50 config-files could not be included.
50 """ 51 """
51 if oldfn == fn: # prevent infinate recursion 52 if oldfn == fn: # prevent infinite recursion
52 return None 53 return None
53 54
54 import bb 55 import bb
@@ -68,7 +69,7 @@ def include(oldfn, fn, data, error_out):
68 except IOError: 69 except IOError:
69 if error_out: 70 if error_out:
70 raise ParseError("Could not %(error_out)s file %(fn)s" % vars() ) 71 raise ParseError("Could not %(error_out)s file %(fn)s" % vars() )
71 bb.msg.debug(2, bb.msg.domain.Parsing, "CONF file '%s' not found" % fn) 72 logger.debug(2, "CONF file '%s' not found", fn)
72 73
73def handle(fn, data, include): 74def handle(fn, data, include):
74 init(data) 75 init(data)
@@ -112,22 +113,22 @@ def feeder(lineno, s, fn, statements):
112 m = __config_regexp__.match(s) 113 m = __config_regexp__.match(s)
113 if m: 114 if m:
114 groupd = m.groupdict() 115 groupd = m.groupdict()
115 ast.handleData(statements, groupd) 116 ast.handleData(statements, fn, lineno, groupd)
116 return 117 return
117 118
118 m = __include_regexp__.match(s) 119 m = __include_regexp__.match(s)
119 if m: 120 if m:
120 ast.handleInclude(statements, m, fn, lineno, False) 121 ast.handleInclude(statements, fn, lineno, m, False)
121 return 122 return
122 123
123 m = __require_regexp__.match(s) 124 m = __require_regexp__.match(s)
124 if m: 125 if m:
125 ast.handleInclude(statements, m, fn, lineno, True) 126 ast.handleInclude(statements, fn, lineno, m, True)
126 return 127 return
127 128
128 m = __export_regexp__.match(s) 129 m = __export_regexp__.match(s)
129 if m: 130 if m:
130 ast.handleExport(statements, m) 131 ast.handleExport(statements, fn, lineno, m)
131 return 132 return
132 133
133 raise ParseError("%s:%d: unparsed line: '%s'" % (fn, lineno, s)); 134 raise ParseError("%s:%d: unparsed line: '%s'" % (fn, lineno, s));
diff --git a/bitbake/lib/bb/persist_data.py b/bitbake/lib/bb/persist_data.py
index 00f4929945..b8c2392945 100644
--- a/bitbake/lib/bb/persist_data.py
+++ b/bitbake/lib/bb/persist_data.py
@@ -1,6 +1,12 @@
1# BitBake Persistent Data Store 1"""BitBake Persistent Data Store
2# 2
3Used to store data in a central location such that other threads/tasks can
4access them at some future date. Acts as a convenience wrapper around sqlite,
5currently, providing a key/value store accessed by 'domain'.
6"""
7
3# Copyright (C) 2007 Richard Purdie 8# Copyright (C) 2007 Richard Purdie
9# Copyright (C) 2010 Chris Larson <chris_larson@mentor.com>
4# 10#
5# This program is free software; you can redistribute it and/or modify 11# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 2 as 12# it under the terms of the GNU General Public License version 2 as
@@ -15,119 +21,175 @@
15# with this program; if not, write to the Free Software Foundation, Inc., 21# with this program; if not, write to the Free Software Foundation, Inc.,
16# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 22# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17 23
18import bb, os 24import collections
19import bb.utils 25import logging
26import os.path
27import sys
28import warnings
29import bb.msg, bb.data, bb.utils
20 30
21try: 31try:
22 import sqlite3 32 import sqlite3
23except ImportError: 33except ImportError:
24 try: 34 from pysqlite2 import dbapi2 as sqlite3
25 from pysqlite2 import dbapi2 as sqlite3
26 except ImportError:
27 bb.msg.fatal(bb.msg.domain.PersistData, "Importing sqlite3 and pysqlite2 failed, please install one of them. Python 2.5 or a 'python-pysqlite2' like package is likely to be what you need.")
28 35
29sqlversion = sqlite3.sqlite_version_info 36sqlversion = sqlite3.sqlite_version_info
30if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3): 37if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3):
31 bb.msg.fatal(bb.msg.domain.PersistData, "sqlite3 version 3.3.0 or later is required.") 38 raise Exception("sqlite3 version 3.3.0 or later is required.")
32 39
33class PersistData: 40
34 """ 41logger = logging.getLogger("BitBake.PersistData")
35 BitBake Persistent Data Store 42
36 43
37 Used to store data in a central location such that other threads/tasks can 44class SQLTable(collections.MutableMapping):
38 access them at some future date. 45 """Object representing a table/domain in the database"""
39 46 def __init__(self, cursor, table):
40 The "domain" is used as a key to isolate each data pool and in this 47 self.cursor = cursor
41 implementation corresponds to an SQL table. The SQL table consists of a 48 self.table = table
42 simple key and value pair. 49
43 50 cursor.execute("CREATE TABLE IF NOT EXISTS %s(key TEXT, value TEXT);"
44 Why sqlite? It handles all the locking issues for us. 51 % table)
45 """ 52
46 def __init__(self, d, persistent_database_connection): 53 def _execute(self, *query):
47 if "connection" in persistent_database_connection: 54 """Execute a query, waiting to acquire a lock if necessary"""
48 self.cursor = persistent_database_connection["connection"].cursor() 55 count = 0
49 return 56 while True:
50 self.cachedir = bb.data.getVar("PERSISTENT_DIR", d, True) or bb.data.getVar("CACHE", d, True) 57 try:
51 if self.cachedir in [None, '']: 58 return self.cursor.execute(*query)
52 bb.msg.fatal(bb.msg.domain.PersistData, "Please set the 'PERSISTENT_DIR' or 'CACHE' variable.") 59 break
53 try: 60 except sqlite3.OperationalError as exc:
54 os.stat(self.cachedir) 61 if 'database is locked' in str(exc) and count < 500:
55 except OSError: 62 count = count + 1
56 bb.utils.mkdirhier(self.cachedir) 63 continue
57 64 raise
58 self.cachefile = os.path.join(self.cachedir, "bb_persist_data.sqlite3") 65
59 bb.msg.debug(1, bb.msg.domain.PersistData, "Using '%s' as the persistent data cache" % self.cachefile) 66 def __getitem__(self, key):
60 67 data = self._execute("SELECT * from %s where key=?;" %
61 connection = sqlite3.connect(self.cachefile, timeout=5, isolation_level=None) 68 self.table, [key])
62 persistent_database_connection["connection"] = connection 69 for row in data:
63 self.cursor = persistent_database_connection["connection"].cursor() 70 return row[1]
71
72 def __delitem__(self, key):
73 self._execute("DELETE from %s where key=?;" % self.table, [key])
74
75 def __setitem__(self, key, value):
76 data = self._execute("SELECT * from %s where key=?;" %
77 self.table, [key])
78 exists = len(list(data))
79 if exists:
80 self._execute("UPDATE %s SET value=? WHERE key=?;" % self.table,
81 [value, key])
82 else:
83 self._execute("INSERT into %s(key, value) values (?, ?);" %
84 self.table, [key, value])
85
86 def __contains__(self, key):
87 return key in set(self)
88
89 def __len__(self):
90 data = self._execute("SELECT COUNT(key) FROM %s;" % self.table)
91 for row in data:
92 return row[0]
93
94 def __iter__(self):
95 data = self._execute("SELECT key FROM %s;" % self.table)
96 for row in data:
97 yield row[0]
98
99 def iteritems(self):
100 data = self._execute("SELECT * FROM %s;" % self.table)
101 for row in data:
102 yield row[0], row[1]
103
104 def itervalues(self):
105 data = self._execute("SELECT value FROM %s;" % self.table)
106 for row in data:
107 yield row[0]
108
109
110class SQLData(object):
111 """Object representing the persistent data"""
112 def __init__(self, filename):
113 bb.utils.mkdirhier(os.path.dirname(filename))
114
115 self.filename = filename
116 self.connection = sqlite3.connect(filename, timeout=5,
117 isolation_level=None)
118 self.cursor = self.connection.cursor()
119 self._tables = {}
120
121 def __getitem__(self, table):
122 if not isinstance(table, basestring):
123 raise TypeError("table argument must be a string, not '%s'" %
124 type(table))
125
126 if table in self._tables:
127 return self._tables[table]
128 else:
129 tableobj = self._tables[table] = SQLTable(self.cursor, table)
130 return tableobj
131
132 def __delitem__(self, table):
133 if table in self._tables:
134 del self._tables[table]
135 self.cursor.execute("DROP TABLE IF EXISTS %s;" % table)
136
137
138class PersistData(object):
139 """Deprecated representation of the bitbake persistent data store"""
140 def __init__(self, d):
141 warnings.warn("Use of PersistData will be deprecated in the future",
142 category=PendingDeprecationWarning,
143 stacklevel=2)
144
145 self.data = persist(d)
146 logger.debug(1, "Using '%s' as the persistent data cache",
147 self.data.filename)
64 148
65 def addDomain(self, domain): 149 def addDomain(self, domain):
66 """ 150 """
67 Should be called before any domain is used 151 Add a domain (pending deprecation)
68 Creates it if it doesn't exist.
69 """ 152 """
70 self._execute("CREATE TABLE IF NOT EXISTS %s(key TEXT, value TEXT);" % domain) 153 return self.data[domain]
71 154
72 def delDomain(self, domain): 155 def delDomain(self, domain):
73 """ 156 """
74 Removes a domain and all the data it contains 157 Removes a domain and all the data it contains
75 """ 158 """
76 self._execute("DROP TABLE IF EXISTS %s;" % domain) 159 del self.data[domain]
77 160
78 def getKeyValues(self, domain): 161 def getKeyValues(self, domain):
79 """ 162 """
80 Return a list of key + value pairs for a domain 163 Return a list of key + value pairs for a domain
81 """ 164 """
82 ret = {} 165 return self.data[domain].items()
83 data = self._execute("SELECT key, value from %s;" % domain)
84 for row in data:
85 ret[str(row[0])] = str(row[1])
86
87 return ret
88 166
89 def getValue(self, domain, key): 167 def getValue(self, domain, key):
90 """ 168 """
91 Return the value of a key for a domain 169 Return the value of a key for a domain
92 """ 170 """
93 data = self._execute("SELECT * from %s where key=?;" % domain, [key]) 171 return self.data[domain][key]
94 for row in data:
95 return row[1]
96 172
97 def setValue(self, domain, key, value): 173 def setValue(self, domain, key, value):
98 """ 174 """
99 Sets the value of a key for a domain 175 Sets the value of a key for a domain
100 """ 176 """
101 data = self._execute("SELECT * from %s where key=?;" % domain, [key]) 177 self.data[domain][key] = value
102 rows = 0
103 for row in data:
104 rows = rows + 1
105 if rows:
106 self._execute("UPDATE %s SET value=? WHERE key=?;" % domain, [value, key])
107 else:
108 self._execute("INSERT into %s(key, value) values (?, ?);" % domain, [key, value])
109 178
110 def delValue(self, domain, key): 179 def delValue(self, domain, key):
111 """ 180 """
112 Deletes a key/value pair 181 Deletes a key/value pair
113 """ 182 """
114 self._execute("DELETE from %s where key=?;" % domain, [key]) 183 del self.data[domain][key]
115 184
116 # 185
117 # We wrap the sqlite execute calls as on contended machines or single threaded 186def persist(d):
118 # systems we can have multiple processes trying to access the DB at once and it seems 187 """Convenience factory for construction of SQLData based upon metadata"""
119 # sqlite sometimes doesn't wait for the timeout. We therefore loop but put in an 188 cachedir = (bb.data.getVar("PERSISTENT_DIR", d, True) or
120 # emergency brake too 189 bb.data.getVar("CACHE", d, True))
121 # 190 if not cachedir:
122 def _execute(self, *query): 191 logger.critical("Please set the 'PERSISTENT_DIR' or 'CACHE' variable")
123 count = 0 192 sys.exit(1)
124 while True: 193
125 try: 194 cachefile = os.path.join(cachedir, "bb_persist_data.sqlite3")
126 ret = self.cursor.execute(*query) 195 return SQLData(cachefile)
127 #print "Had to retry %s times" % count
128 return ret
129 except sqlite3.OperationalError as e:
130 if 'database is locked' in str(e) and count < 500:
131 count = count + 1
132 continue
133 raise
diff --git a/bitbake/lib/bb/process.py b/bitbake/lib/bb/process.py
new file mode 100644
index 0000000000..808cd60f92
--- /dev/null
+++ b/bitbake/lib/bb/process.py
@@ -0,0 +1,109 @@
1import logging
2import signal
3import subprocess
4
5logger = logging.getLogger('BitBake.Process')
6
7def subprocess_setup():
8 # Python installs a SIGPIPE handler by default. This is usually not what
9 # non-Python subprocesses expect.
10 signal.signal(signal.SIGPIPE, signal.SIG_DFL)
11
12class CmdError(RuntimeError):
13 def __init__(self, command, message=None):
14 self.command = command
15 self.message = message
16
17 def __str__(self):
18 if not isinstance(self.command, basestring):
19 cmd = subprocess.list2cmdline(self.command)
20 else:
21 cmd = self.command
22
23 msg = "Execution of '%s' failed" % cmd
24 if self.message:
25 msg += ': %s' % self.message
26 return msg
27
28class NotFoundError(CmdError):
29 def __str__(self):
30 return CmdError.__str__(self) + ": command not found"
31
32class ExecutionError(CmdError):
33 def __init__(self, command, exitcode, stdout = None, stderr = None):
34 CmdError.__init__(self, command)
35 self.exitcode = exitcode
36 self.stdout = stdout
37 self.stderr = stderr
38
39 def __str__(self):
40 message = ""
41 if self.stderr:
42 message += self.stderr
43 if self.stdout:
44 message += self.stdout
45 if message:
46 message = ":\n" + message
47 return (CmdError.__str__(self) +
48 " with exit code %s" % self.exitcode + message)
49
50class Popen(subprocess.Popen):
51 defaults = {
52 "close_fds": True,
53 "preexec_fn": subprocess_setup,
54 "stdout": subprocess.PIPE,
55 "stderr": subprocess.STDOUT,
56 "stdin": subprocess.PIPE,
57 "shell": False,
58 }
59
60 def __init__(self, *args, **kwargs):
61 options = dict(self.defaults)
62 options.update(kwargs)
63 subprocess.Popen.__init__(self, *args, **options)
64
65def _logged_communicate(pipe, log, input):
66 if pipe.stdin:
67 if input is not None:
68 pipe.stdin.write(input)
69 pipe.stdin.close()
70
71 bufsize = 512
72 outdata, errdata = [], []
73 while pipe.poll() is None:
74 if pipe.stdout is not None:
75 data = pipe.stdout.read(bufsize)
76 if data is not None:
77 outdata.append(data)
78 log.write(data)
79
80 if pipe.stderr is not None:
81 data = pipe.stderr.read(bufsize)
82 if data is not None:
83 errdata.append(data)
84 log.write(data)
85 return ''.join(outdata), ''.join(errdata)
86
87def run(cmd, input=None, log=None, **options):
88 """Convenience function to run a command and return its output, raising an
89 exception when the command fails"""
90
91 if isinstance(cmd, basestring) and not "shell" in options:
92 options["shell"] = True
93
94 try:
95 pipe = Popen(cmd, **options)
96 except OSError, exc:
97 if exc.errno == 2:
98 raise NotFoundError(cmd)
99 else:
100 raise CmdError(cmd, exc)
101
102 if log:
103 stdout, stderr = _logged_communicate(pipe, log, input)
104 else:
105 stdout, stderr = pipe.communicate(input)
106
107 if pipe.returncode != 0:
108 raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
109 return stdout, stderr
diff --git a/bitbake/lib/bb/providers.py b/bitbake/lib/bb/providers.py
index 58326f0398..dcba9ae255 100644
--- a/bitbake/lib/bb/providers.py
+++ b/bitbake/lib/bb/providers.py
@@ -22,9 +22,12 @@
22# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 22# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 23
24import re 24import re
25import logging
25from bb import data, utils 26from bb import data, utils
26import bb 27import bb
27 28
29logger = logging.getLogger("BitBake.Provider")
30
28class NoProvider(Exception): 31class NoProvider(Exception):
29 """Exception raised when no provider of a build dependency can be found""" 32 """Exception raised when no provider of a build dependency can be found"""
30 33
@@ -120,9 +123,9 @@ def findPreferredProvider(pn, cfgData, dataCache, pkg_pn = None, item = None):
120 if item: 123 if item:
121 itemstr = " (for item %s)" % item 124 itemstr = " (for item %s)" % item
122 if preferred_file is None: 125 if preferred_file is None:
123 bb.msg.note(1, bb.msg.domain.Provider, "preferred version %s of %s not available%s" % (pv_str, pn, itemstr)) 126 logger.info("preferred version %s of %s not available%s", pv_str, pn, itemstr)
124 else: 127 else:
125 bb.msg.debug(1, bb.msg.domain.Provider, "selecting %s as PREFERRED_VERSION %s of package %s%s" % (preferred_file, pv_str, pn, itemstr)) 128 logger.debug(1, "selecting %s as PREFERRED_VERSION %s of package %s%s", preferred_file, pv_str, pn, itemstr)
126 129
127 return (preferred_ver, preferred_file) 130 return (preferred_ver, preferred_file)
128 131
@@ -189,7 +192,7 @@ def _filterProviders(providers, item, cfgData, dataCache):
189 pkg_pn[pn] = [] 192 pkg_pn[pn] = []
190 pkg_pn[pn].append(p) 193 pkg_pn[pn].append(p)
191 194
192 bb.msg.debug(1, bb.msg.domain.Provider, "providers for %s are: %s" % (item, pkg_pn.keys())) 195 logger.debug(1, "providers for %s are: %s", item, pkg_pn.keys())
193 196
194 # First add PREFERRED_VERSIONS 197 # First add PREFERRED_VERSIONS
195 for pn in pkg_pn: 198 for pn in pkg_pn:
@@ -206,7 +209,7 @@ def _filterProviders(providers, item, cfgData, dataCache):
206 eligible.append(preferred_versions[pn][1]) 209 eligible.append(preferred_versions[pn][1])
207 210
208 if len(eligible) == 0: 211 if len(eligible) == 0:
209 bb.msg.error(bb.msg.domain.Provider, "no eligible providers for %s" % item) 212 logger.error("no eligible providers for %s", item)
210 return 0 213 return 0
211 214
212 # If pn == item, give it a slight default preference 215 # If pn == item, give it a slight default preference
@@ -242,13 +245,13 @@ def filterProviders(providers, item, cfgData, dataCache):
242 for p in eligible: 245 for p in eligible:
243 pn = dataCache.pkg_fn[p] 246 pn = dataCache.pkg_fn[p]
244 if dataCache.preferred[item] == pn: 247 if dataCache.preferred[item] == pn:
245 bb.msg.note(2, bb.msg.domain.Provider, "selecting %s to satisfy %s due to PREFERRED_PROVIDERS" % (pn, item)) 248 logger.verbose("selecting %s to satisfy %s due to PREFERRED_PROVIDERS", pn, item)
246 eligible.remove(p) 249 eligible.remove(p)
247 eligible = [p] + eligible 250 eligible = [p] + eligible
248 foundUnique = True 251 foundUnique = True
249 break 252 break
250 253
251 bb.msg.debug(1, bb.msg.domain.Provider, "sorted providers for %s are: %s" % (item, eligible)) 254 logger.debug(1, "sorted providers for %s are: %s", item, eligible)
252 255
253 return eligible, foundUnique 256 return eligible, foundUnique
254 257
@@ -264,27 +267,31 @@ def filterProvidersRunTime(providers, item, cfgData, dataCache):
264 # Should use dataCache.preferred here? 267 # Should use dataCache.preferred here?
265 preferred = [] 268 preferred = []
266 preferred_vars = [] 269 preferred_vars = []
270 pns = {}
271 for p in eligible:
272 pns[dataCache.pkg_fn[p]] = p
267 for p in eligible: 273 for p in eligible:
268 pn = dataCache.pkg_fn[p] 274 pn = dataCache.pkg_fn[p]
269 provides = dataCache.pn_provides[pn] 275 provides = dataCache.pn_provides[pn]
270 for provide in provides: 276 for provide in provides:
271 bb.msg.note(2, bb.msg.domain.Provider, "checking PREFERRED_PROVIDER_%s" % (provide))
272 prefervar = bb.data.getVar('PREFERRED_PROVIDER_%s' % provide, cfgData, 1) 277 prefervar = bb.data.getVar('PREFERRED_PROVIDER_%s' % provide, cfgData, 1)
273 if prefervar == pn: 278 logger.verbose("checking PREFERRED_PROVIDER_%s (value %s) against %s", provide, prefervar, pns.keys())
279 if prefervar in pns and pns[prefervar] not in preferred:
274 var = "PREFERRED_PROVIDER_%s = %s" % (provide, prefervar) 280 var = "PREFERRED_PROVIDER_%s = %s" % (provide, prefervar)
275 bb.msg.note(2, bb.msg.domain.Provider, "selecting %s to satisfy runtime %s due to %s" % (pn, item, var)) 281 logger.verbose("selecting %s to satisfy runtime %s due to %s", prefervar, item, var)
276 preferred_vars.append(var) 282 preferred_vars.append(var)
277 eligible.remove(p) 283 pref = pns[prefervar]
278 eligible = [p] + eligible 284 eligible.remove(pref)
279 preferred.append(p) 285 eligible = [pref] + eligible
286 preferred.append(pref)
280 break 287 break
281 288
282 numberPreferred = len(preferred) 289 numberPreferred = len(preferred)
283 290
284 if numberPreferred > 1: 291 if numberPreferred > 1:
285 bb.msg.error(bb.msg.domain.Provider, "Conflicting PREFERRED_PROVIDER entries were found which resulted in an attempt to select multiple providers (%s) for runtime dependecy %s\nThe entries resulting in this conflict were: %s" % (preferred, item, preferred_vars)) 292 logger.error("Trying to resolve runtime dependency %s resulted in conflicting PREFERRED_PROVIDER entries being found.\nThe providers found were: %s\nThe PREFERRED_PROVIDER entries resulting in this conflict were: %s", item, preferred, preferred_vars)
286 293
287 bb.msg.debug(1, bb.msg.domain.Provider, "sorted providers for %s are: %s" % (item, eligible)) 294 logger.debug(1, "sorted providers for %s are: %s", item, eligible)
288 295
289 return eligible, numberPreferred 296 return eligible, numberPreferred
290 297
@@ -314,7 +321,7 @@ def getRuntimeProviders(dataCache, rdepend):
314 try: 321 try:
315 regexp = re.compile(pattern) 322 regexp = re.compile(pattern)
316 except: 323 except:
317 bb.msg.error(bb.msg.domain.Provider, "Error parsing re expression: %s" % pattern) 324 logger.error("Error parsing regular expression '%s'", pattern)
318 raise 325 raise
319 regexp_cache[pattern] = regexp 326 regexp_cache[pattern] = regexp
320 if regexp.match(rdepend): 327 if regexp.match(rdepend):
diff --git a/bitbake/lib/pysh/__init__.py b/bitbake/lib/bb/pysh/__init__.py
index e69de29bb2..e69de29bb2 100644
--- a/bitbake/lib/pysh/__init__.py
+++ b/bitbake/lib/bb/pysh/__init__.py
diff --git a/bitbake/lib/pysh/builtin.py b/bitbake/lib/bb/pysh/builtin.py
index 25ad22eb74..25ad22eb74 100644
--- a/bitbake/lib/pysh/builtin.py
+++ b/bitbake/lib/bb/pysh/builtin.py
diff --git a/bitbake/lib/pysh/interp.py b/bitbake/lib/bb/pysh/interp.py
index efe5181e1e..efe5181e1e 100644
--- a/bitbake/lib/pysh/interp.py
+++ b/bitbake/lib/bb/pysh/interp.py
diff --git a/bitbake/lib/pysh/lsprof.py b/bitbake/lib/bb/pysh/lsprof.py
index b1831c22a7..b1831c22a7 100644
--- a/bitbake/lib/pysh/lsprof.py
+++ b/bitbake/lib/bb/pysh/lsprof.py
diff --git a/bitbake/lib/pysh/pysh.py b/bitbake/lib/bb/pysh/pysh.py
index b4e6145b51..b4e6145b51 100644
--- a/bitbake/lib/pysh/pysh.py
+++ b/bitbake/lib/bb/pysh/pysh.py
diff --git a/bitbake/lib/pysh/pyshlex.py b/bitbake/lib/bb/pysh/pyshlex.py
index b977b5e869..b977b5e869 100644
--- a/bitbake/lib/pysh/pyshlex.py
+++ b/bitbake/lib/bb/pysh/pyshlex.py
diff --git a/bitbake/lib/pysh/pyshyacc.py b/bitbake/lib/bb/pysh/pyshyacc.py
index 3d9510c0c3..e8e80aac45 100644
--- a/bitbake/lib/pysh/pyshyacc.py
+++ b/bitbake/lib/bb/pysh/pyshyacc.py
@@ -7,6 +7,7 @@
7 7
8"""PLY grammar file. 8"""PLY grammar file.
9""" 9"""
10import os.path
10import sys 11import sys
11 12
12import pyshlex 13import pyshlex
@@ -648,7 +649,10 @@ def p_error(p):
648try: 649try:
649 import pyshtables 650 import pyshtables
650except ImportError: 651except ImportError:
651 yacc.yacc(tabmodule = 'pyshtables') 652 outputdir = os.path.dirname(__file__)
653 if not os.access(outputdir, os.W_OK):
654 outputdir = ''
655 yacc.yacc(tabmodule = 'pyshtables', outputdir = outputdir, debug = 0)
652else: 656else:
653 yacc.yacc(tabmodule = 'pysh.pyshtables', write_tables = 0, debug = 0) 657 yacc.yacc(tabmodule = 'pysh.pyshtables', write_tables = 0, debug = 0)
654 658
@@ -704,6 +708,9 @@ def format_commands(v):
704 if v.reverse_status: 708 if v.reverse_status:
705 name = '!' + name 709 name = '!' + name
706 return [name, format_commands(v.commands)] 710 return [name, format_commands(v.commands)]
711 elif isinstance(v, Case):
712 name = ['Case']
713 name += [v.name, format_commands(v.items)]
707 elif isinstance(v, SimpleCommand): 714 elif isinstance(v, SimpleCommand):
708 name = ['SimpleCommand'] 715 name = ['SimpleCommand']
709 if v.words: 716 if v.words:
diff --git a/bitbake/lib/pysh/sherrors.py b/bitbake/lib/bb/pysh/sherrors.py
index 1d5bd53b3a..1d5bd53b3a 100644
--- a/bitbake/lib/pysh/sherrors.py
+++ b/bitbake/lib/bb/pysh/sherrors.py
diff --git a/bitbake/lib/pysh/subprocess_fix.py b/bitbake/lib/bb/pysh/subprocess_fix.py
index 46eca22802..46eca22802 100644
--- a/bitbake/lib/pysh/subprocess_fix.py
+++ b/bitbake/lib/bb/pysh/subprocess_fix.py
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index b4134f8266..a3f444c2ab 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -22,19 +22,18 @@ Handles preparation and execution of a queue of tasks
22# with this program; if not, write to the Free Software Foundation, Inc., 22# with this program; if not, write to the Free Software Foundation, Inc.,
23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 23# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 24
25import bb, os, sys 25import copy
26import subprocess 26import os
27from bb import msg, data, event 27import sys
28import signal 28import signal
29import stat 29import stat
30import fcntl 30import fcntl
31import copy 31import logging
32import bb
33from bb import msg, data, event
32 34
33try: 35bblogger = logging.getLogger("BitBake")
34 import cPickle as pickle 36logger = logging.getLogger("BitBake.RunQueue")
35except ImportError:
36 import pickle
37 bb.msg.note(1, bb.msg.domain.Cache, "Importing cPickle failed. Falling back to a very slow implementation.")
38 37
39class RunQueueStats: 38class RunQueueStats:
40 """ 39 """
@@ -87,21 +86,28 @@ class RunQueueScheduler(object):
87 """ 86 """
88 self.rq = runqueue 87 self.rq = runqueue
89 self.rqdata = rqdata 88 self.rqdata = rqdata
90 numTasks = len(self.rq.runq_fnid) 89 numTasks = len(self.rqdata.runq_fnid)
91 90
92 self.prio_map = [] 91 self.prio_map = []
93 self.prio_map.extend(range(numTasks)) 92 self.prio_map.extend(range(numTasks))
94 93
95 def next(self): 94 def next_buildable_task(self):
96 """ 95 """
97 Return the id of the first task we find that is buildable 96 Return the id of the first task we find that is buildable
98 """ 97 """
99 for task1 in range(len(self.rqdata.runq_fnid)): 98 for tasknum in xrange(len(self.rqdata.runq_fnid)):
100 task = self.prio_map[task1] 99 taskid = self.prio_map[tasknum]
101 if self.rq.runq_running[task] == 1: 100 if self.rq.runq_running[taskid] == 1:
102 continue 101 continue
103 if self.rq.runq_buildable[task] == 1: 102 if self.rq.runq_buildable[taskid] == 1:
104 return task 103 return taskid
104
105 def next(self):
106 """
107 Return the id of the task we should build next
108 """
109 if self.rq.stats.active < self.rq.number_tasks:
110 return self.next_buildable_task()
105 111
106class RunQueueSchedulerSpeed(RunQueueScheduler): 112class RunQueueSchedulerSpeed(RunQueueScheduler):
107 """ 113 """
@@ -114,13 +120,12 @@ class RunQueueSchedulerSpeed(RunQueueScheduler):
114 """ 120 """
115 The priority map is sorted by task weight. 121 The priority map is sorted by task weight.
116 """ 122 """
117 from copy import deepcopy
118 123
119 self.rq = runqueue 124 self.rq = runqueue
120 self.rqdata = rqdata 125 self.rqdata = rqdata
121 126
122 sortweight = sorted(deepcopy(self.rqdata.runq_weight)) 127 sortweight = sorted(copy.deepcopy(self.rqdata.runq_weight))
123 copyweight = deepcopy(self.rqdata.runq_weight) 128 copyweight = copy.deepcopy(self.rqdata.runq_weight)
124 self.prio_map = [] 129 self.prio_map = []
125 130
126 for weight in sortweight: 131 for weight in sortweight:
@@ -142,12 +147,11 @@ class RunQueueSchedulerCompletion(RunQueueSchedulerSpeed):
142 147
143 def __init__(self, runqueue, rqdata): 148 def __init__(self, runqueue, rqdata):
144 RunQueueSchedulerSpeed.__init__(self, runqueue, rqdata) 149 RunQueueSchedulerSpeed.__init__(self, runqueue, rqdata)
145 from copy import deepcopy
146 150
147 #FIXME - whilst this groups all fnids together it does not reorder the 151 #FIXME - whilst this groups all fnids together it does not reorder the
148 #fnid groups optimally. 152 #fnid groups optimally.
149 153
150 basemap = deepcopy(self.prio_map) 154 basemap = copy.deepcopy(self.prio_map)
151 self.prio_map = [] 155 self.prio_map = []
152 while (len(basemap) > 0): 156 while (len(basemap) > 0):
153 entry = basemap.pop(0) 157 entry = basemap.pop(0)
@@ -201,7 +205,7 @@ class RunQueueData:
201 return "%s, %s" % (fn, taskname) 205 return "%s, %s" % (fn, taskname)
202 206
203 def get_task_id(self, fnid, taskname): 207 def get_task_id(self, fnid, taskname):
204 for listid in range(len(self.runq_fnid)): 208 for listid in xrange(len(self.runq_fnid)):
205 if self.runq_fnid[listid] == fnid and self.runq_task[listid] == taskname: 209 if self.runq_fnid[listid] == fnid and self.runq_task[listid] == taskname:
206 return listid 210 return listid
207 return None 211 return None
@@ -223,7 +227,7 @@ class RunQueueData:
223 """ 227 """
224 lowest = 0 228 lowest = 0
225 new_chain = [] 229 new_chain = []
226 for entry in range(len(chain)): 230 for entry in xrange(len(chain)):
227 if chain[entry] < chain[lowest]: 231 if chain[entry] < chain[lowest]:
228 lowest = entry 232 lowest = entry
229 new_chain.extend(chain[lowest:]) 233 new_chain.extend(chain[lowest:])
@@ -236,7 +240,7 @@ class RunQueueData:
236 """ 240 """
237 if len(chain1) != len(chain2): 241 if len(chain1) != len(chain2):
238 return False 242 return False
239 for index in range(len(chain1)): 243 for index in xrange(len(chain1)):
240 if chain1[index] != chain2[index]: 244 if chain1[index] != chain2[index]:
241 return False 245 return False
242 return True 246 return True
@@ -281,7 +285,7 @@ class RunQueueData:
281 if dep in explored_deps[revdep]: 285 if dep in explored_deps[revdep]:
282 scan = True 286 scan = True
283 if scan: 287 if scan:
284 find_chains(revdep, deepcopy(prev_chain)) 288 find_chains(revdep, copy.deepcopy(prev_chain))
285 for dep in explored_deps[revdep]: 289 for dep in explored_deps[revdep]:
286 if dep not in total_deps: 290 if dep not in total_deps:
287 total_deps.append(dep) 291 total_deps.append(dep)
@@ -298,7 +302,7 @@ class RunQueueData:
298 Calculate a number representing the "weight" of each task. Heavier weighted tasks 302 Calculate a number representing the "weight" of each task. Heavier weighted tasks
299 have more dependencies and hence should be executed sooner for maximum speed. 303 have more dependencies and hence should be executed sooner for maximum speed.
300 304
301 This function also sanity checks the task list finding tasks that its not 305 This function also sanity checks the task list finding tasks that are not
302 possible to execute due to circular dependencies. 306 possible to execute due to circular dependencies.
303 """ 307 """
304 308
@@ -307,7 +311,7 @@ class RunQueueData:
307 deps_left = [] 311 deps_left = []
308 task_done = [] 312 task_done = []
309 313
310 for listid in range(numTasks): 314 for listid in xrange(numTasks):
311 task_done.append(False) 315 task_done.append(False)
312 weight.append(0) 316 weight.append(0)
313 deps_left.append(len(self.runq_revdeps[listid])) 317 deps_left.append(len(self.runq_revdeps[listid]))
@@ -331,17 +335,17 @@ class RunQueueData:
331 335
332 # Circular dependency sanity check 336 # Circular dependency sanity check
333 problem_tasks = [] 337 problem_tasks = []
334 for task in range(numTasks): 338 for task in xrange(numTasks):
335 if task_done[task] is False or deps_left[task] != 0: 339 if task_done[task] is False or deps_left[task] != 0:
336 problem_tasks.append(task) 340 problem_tasks.append(task)
337 bb.msg.debug(2, bb.msg.domain.RunQueue, "Task %s (%s) is not buildable\n" % (task, self.get_user_idstring(task))) 341 logger.debug(2, "Task %s (%s) is not buildable", task, self.get_user_idstring(task))
338 bb.msg.debug(2, bb.msg.domain.RunQueue, "(Complete marker was %s and the remaining dependency count was %s)\n\n" % (task_done[task], deps_left[task])) 342 logger.debug(2, "(Complete marker was %s and the remaining dependency count was %s)\n", task_done[task], deps_left[task])
339 343
340 if problem_tasks: 344 if problem_tasks:
341 message = "Unbuildable tasks were found.\n" 345 message = "Unbuildable tasks were found.\n"
342 message = message + "These are usually caused by circular dependencies and any circular dependency chains found will be printed below. Increase the debug level to see a list of unbuildable tasks.\n\n" 346 message = message + "These are usually caused by circular dependencies and any circular dependency chains found will be printed below. Increase the debug level to see a list of unbuildable tasks.\n\n"
343 message = message + "Identifying dependency loops (this may take a short while)...\n" 347 message = message + "Identifying dependency loops (this may take a short while)...\n"
344 bb.msg.error(bb.msg.domain.RunQueue, message) 348 logger.error(message)
345 349
346 msgs = self.circular_depchains_handler(problem_tasks) 350 msgs = self.circular_depchains_handler(problem_tasks)
347 351
@@ -369,7 +373,7 @@ class RunQueueData:
369 # Nothing to do 373 # Nothing to do
370 return 0 374 return 0
371 375
372 bb.msg.note(1, bb.msg.domain.RunQueue, "Preparing runqueue") 376 logger.info("Preparing runqueue")
373 377
374 # Step A - Work out a list of tasks to run 378 # Step A - Work out a list of tasks to run
375 # 379 #
@@ -409,14 +413,14 @@ class RunQueueData:
409 if taskid is not None: 413 if taskid is not None:
410 depends.append(taskid) 414 depends.append(taskid)
411 415
412 for task in range(len(taskData.tasks_name)): 416 for task in xrange(len(taskData.tasks_name)):
413 depends = [] 417 depends = []
414 recrdepends = [] 418 recrdepends = []
415 fnid = taskData.tasks_fnid[task] 419 fnid = taskData.tasks_fnid[task]
416 fn = taskData.fn_index[fnid] 420 fn = taskData.fn_index[fnid]
417 task_deps = self.dataCache.task_deps[fn] 421 task_deps = self.dataCache.task_deps[fn]
418 422
419 bb.msg.debug(2, bb.msg.domain.RunQueue, "Processing %s:%s" %(fn, taskData.tasks_name[task])) 423 logger.debug(2, "Processing %s:%s", fn, taskData.tasks_name[task])
420 424
421 if fnid not in taskData.failed_fnids: 425 if fnid not in taskData.failed_fnids:
422 426
@@ -454,7 +458,9 @@ class RunQueueData:
454 depdata = taskData.build_targets[depid][0] 458 depdata = taskData.build_targets[depid][0]
455 if depdata is not None: 459 if depdata is not None:
456 dep = taskData.fn_index[depdata] 460 dep = taskData.fn_index[depdata]
457 taskid = taskData.gettask_id(dep, idependtask) 461 taskid = taskData.gettask_id(dep, idependtask, False)
462 if taskid is None:
463 bb.msg.fatal(bb.msg.domain.RunQueue, "Task %s in %s depends upon nonexistant task %s in %s" % (taskData.tasks_name[task], fn, idependtask, dep))
458 depends.append(taskid) 464 depends.append(taskid)
459 if depdata != fnid: 465 if depdata != fnid:
460 tdepends_fnid[fnid].add(taskid) 466 tdepends_fnid[fnid].add(taskid)
@@ -474,7 +480,7 @@ class RunQueueData:
474 # Rmove all self references 480 # Rmove all self references
475 if task in depends: 481 if task in depends:
476 newdep = [] 482 newdep = []
477 bb.msg.debug(2, bb.msg.domain.RunQueue, "Task %s (%s %s) contains self reference! %s" % (task, taskData.fn_index[taskData.tasks_fnid[task]], taskData.tasks_name[task], depends)) 483 logger.debug(2, "Task %s (%s %s) contains self reference! %s", task, taskData.fn_index[taskData.tasks_fnid[task]], taskData.tasks_name[task], depends)
478 for dep in depends: 484 for dep in depends:
479 if task != dep: 485 if task != dep:
480 newdep.append(dep) 486 newdep.append(dep)
@@ -498,7 +504,7 @@ class RunQueueData:
498 # Algorithm is O(tasks) + O(tasks)*O(fnids) 504 # Algorithm is O(tasks) + O(tasks)*O(fnids)
499 # 505 #
500 reccumdepends = {} 506 reccumdepends = {}
501 for task in range(len(self.runq_fnid)): 507 for task in xrange(len(self.runq_fnid)):
502 fnid = self.runq_fnid[task] 508 fnid = self.runq_fnid[task]
503 if fnid not in reccumdepends: 509 if fnid not in reccumdepends:
504 if fnid in tdepends_fnid: 510 if fnid in tdepends_fnid:
@@ -506,7 +512,7 @@ class RunQueueData:
506 else: 512 else:
507 reccumdepends[fnid] = set() 513 reccumdepends[fnid] = set()
508 reccumdepends[fnid].update(self.runq_depends[task]) 514 reccumdepends[fnid].update(self.runq_depends[task])
509 for task in range(len(self.runq_fnid)): 515 for task in xrange(len(self.runq_fnid)):
510 taskfnid = self.runq_fnid[task] 516 taskfnid = self.runq_fnid[task]
511 for fnid in reccumdepends: 517 for fnid in reccumdepends:
512 if task in reccumdepends[fnid]: 518 if task in reccumdepends[fnid]:
@@ -519,7 +525,7 @@ class RunQueueData:
519 # 525 #
520 # e.g. do_sometask[recrdeptask] = "do_someothertask" 526 # e.g. do_sometask[recrdeptask] = "do_someothertask"
521 # (makes sure sometask runs after someothertask of all DEPENDS, RDEPENDS and intertask dependencies, recursively) 527 # (makes sure sometask runs after someothertask of all DEPENDS, RDEPENDS and intertask dependencies, recursively)
522 for task in range(len(self.runq_fnid)): 528 for task in xrange(len(self.runq_fnid)):
523 if len(runq_recrdepends[task]) > 0: 529 if len(runq_recrdepends[task]) > 0:
524 taskfnid = self.runq_fnid[task] 530 taskfnid = self.runq_fnid[task]
525 for dep in reccumdepends[taskfnid]: 531 for dep in reccumdepends[taskfnid]:
@@ -536,7 +542,7 @@ class RunQueueData:
536 # as active too. If the task is to be 'forced', clear its stamp. Once 542 # as active too. If the task is to be 'forced', clear its stamp. Once
537 # all active tasks are marked, prune the ones we don't need. 543 # all active tasks are marked, prune the ones we don't need.
538 544
539 bb.msg.note(2, bb.msg.domain.RunQueue, "Marking Active Tasks") 545 logger.verbose("Marking Active Tasks")
540 546
541 def mark_active(listid, depth): 547 def mark_active(listid, depth):
542 """ 548 """
@@ -567,11 +573,6 @@ class RunQueueData:
567 fn = taskData.fn_index[fnid] 573 fn = taskData.fn_index[fnid]
568 self.target_pairs.append((fn, target[1])) 574 self.target_pairs.append((fn, target[1]))
569 575
570 # Remove stamps for targets if force mode active
571 if self.cooker.configuration.force:
572 bb.msg.note(2, bb.msg.domain.RunQueue, "Remove stamp %s, %s" % (target[1], fn))
573 bb.build.del_stamp(target[1], self.dataCache, fn)
574
575 if fnid in taskData.failed_fnids: 576 if fnid in taskData.failed_fnids:
576 continue 577 continue
577 578
@@ -588,7 +589,7 @@ class RunQueueData:
588 589
589 maps = [] 590 maps = []
590 delcount = 0 591 delcount = 0
591 for listid in range(len(self.runq_fnid)): 592 for listid in xrange(len(self.runq_fnid)):
592 if runq_build[listid-delcount] == 1: 593 if runq_build[listid-delcount] == 1:
593 maps.append(listid-delcount) 594 maps.append(listid-delcount)
594 else: 595 else:
@@ -612,11 +613,11 @@ class RunQueueData:
612 else: 613 else:
613 bb.msg.fatal(bb.msg.domain.RunQueue, "No active tasks and not in --continue mode?! Please report this bug.") 614 bb.msg.fatal(bb.msg.domain.RunQueue, "No active tasks and not in --continue mode?! Please report this bug.")
614 615
615 bb.msg.note(2, bb.msg.domain.RunQueue, "Pruned %s inactive tasks, %s left" % (delcount, len(self.runq_fnid))) 616 logger.verbose("Pruned %s inactive tasks, %s left", delcount, len(self.runq_fnid))
616 617
617 # Remap the dependencies to account for the deleted tasks 618 # Remap the dependencies to account for the deleted tasks
618 # Check we didn't delete a task we depend on 619 # Check we didn't delete a task we depend on
619 for listid in range(len(self.runq_fnid)): 620 for listid in xrange(len(self.runq_fnid)):
620 newdeps = [] 621 newdeps = []
621 origdeps = self.runq_depends[listid] 622 origdeps = self.runq_depends[listid]
622 for origdep in origdeps: 623 for origdep in origdeps:
@@ -625,17 +626,17 @@ class RunQueueData:
625 newdeps.append(maps[origdep]) 626 newdeps.append(maps[origdep])
626 self.runq_depends[listid] = set(newdeps) 627 self.runq_depends[listid] = set(newdeps)
627 628
628 bb.msg.note(2, bb.msg.domain.RunQueue, "Assign Weightings") 629 logger.verbose("Assign Weightings")
629 630
630 # Generate a list of reverse dependencies to ease future calculations 631 # Generate a list of reverse dependencies to ease future calculations
631 for listid in range(len(self.runq_fnid)): 632 for listid in xrange(len(self.runq_fnid)):
632 for dep in self.runq_depends[listid]: 633 for dep in self.runq_depends[listid]:
633 self.runq_revdeps[dep].add(listid) 634 self.runq_revdeps[dep].add(listid)
634 635
635 # Identify tasks at the end of dependency chains 636 # Identify tasks at the end of dependency chains
636 # Error on circular dependency loops (length two) 637 # Error on circular dependency loops (length two)
637 endpoints = [] 638 endpoints = []
638 for listid in range(len(self.runq_fnid)): 639 for listid in xrange(len(self.runq_fnid)):
639 revdeps = self.runq_revdeps[listid] 640 revdeps = self.runq_revdeps[listid]
640 if len(revdeps) == 0: 641 if len(revdeps) == 0:
641 endpoints.append(listid) 642 endpoints.append(listid)
@@ -644,7 +645,7 @@ class RunQueueData:
644 #self.dump_data(taskData) 645 #self.dump_data(taskData)
645 bb.msg.fatal(bb.msg.domain.RunQueue, "Task %s (%s) has circular dependency on %s (%s)" % (taskData.fn_index[self.runq_fnid[dep]], self.runq_task[dep], taskData.fn_index[self.runq_fnid[listid]], self.runq_task[listid])) 646 bb.msg.fatal(bb.msg.domain.RunQueue, "Task %s (%s) has circular dependency on %s (%s)" % (taskData.fn_index[self.runq_fnid[dep]], self.runq_task[dep], taskData.fn_index[self.runq_fnid[listid]], self.runq_task[listid]))
646 647
647 bb.msg.note(2, bb.msg.domain.RunQueue, "Compute totals (have %s endpoint(s))" % len(endpoints)) 648 logger.verbose("Compute totals (have %s endpoint(s))", len(endpoints))
648 649
649 # Calculate task weights 650 # Calculate task weights
650 # Check of higher length circular dependencies 651 # Check of higher length circular dependencies
@@ -653,7 +654,7 @@ class RunQueueData:
653 # Sanity Check - Check for multiple tasks building the same provider 654 # Sanity Check - Check for multiple tasks building the same provider
654 prov_list = {} 655 prov_list = {}
655 seen_fn = [] 656 seen_fn = []
656 for task in range(len(self.runq_fnid)): 657 for task in xrange(len(self.runq_fnid)):
657 fn = taskData.fn_index[self.runq_fnid[task]] 658 fn = taskData.fn_index[self.runq_fnid[task]]
658 if fn in seen_fn: 659 if fn in seen_fn:
659 continue 660 continue
@@ -667,9 +668,7 @@ class RunQueueData:
667 for prov in prov_list: 668 for prov in prov_list:
668 if len(prov_list[prov]) > 1 and prov not in self.multi_provider_whitelist: 669 if len(prov_list[prov]) > 1 and prov not in self.multi_provider_whitelist:
669 error = True 670 error = True
670 bb.msg.error(bb.msg.domain.RunQueue, "Multiple .bb files are due to be built which each provide %s (%s).\n This usually means one provides something the other doesn't and should." % (prov, " ".join(prov_list[prov]))) 671 logger.error("Multiple .bb files are due to be built which each provide %s (%s).\n This usually means one provides something the other doesn't and should.", prov, " ".join(prov_list[prov]))
671 #if error:
672 # bb.msg.fatal(bb.msg.domain.RunQueue, "Corrupted metadata configuration detected, aborting...")
673 672
674 673
675 # Create a whitelist usable by the stamp checks 674 # Create a whitelist usable by the stamp checks
@@ -683,20 +682,15 @@ class RunQueueData:
683 stampfnwhitelist.append(fn) 682 stampfnwhitelist.append(fn)
684 self.stampfnwhitelist = stampfnwhitelist 683 self.stampfnwhitelist = stampfnwhitelist
685 684
686 #self.dump_data(taskData)
687
688 # Interate over the task list looking for tasks with a 'setscene' function 685 # Interate over the task list looking for tasks with a 'setscene' function
689
690 self.runq_setscene = [] 686 self.runq_setscene = []
691 for task in range(len(self.runq_fnid)): 687 for task in range(len(self.runq_fnid)):
692 setscene = taskData.gettask_id(self.taskData.fn_index[self.runq_fnid[task]], self.runq_task[task] + "_setscene", False) 688 setscene = taskData.gettask_id(self.taskData.fn_index[self.runq_fnid[task]], self.runq_task[task] + "_setscene", False)
693 if not setscene: 689 if not setscene:
694 continue 690 continue
695 #bb.note("Found setscene for %s %s" % (self.taskData.fn_index[self.runq_fnid[task]], self.runq_task[task]))
696 self.runq_setscene.append(task) 691 self.runq_setscene.append(task)
697 692
698 # Interate over the task list and call into the siggen code 693 # Interate over the task list and call into the siggen code
699
700 dealtwith = set() 694 dealtwith = set()
701 todeal = set(range(len(self.runq_fnid))) 695 todeal = set(range(len(self.runq_fnid)))
702 while len(todeal) > 0: 696 while len(todeal) > 0:
@@ -709,21 +703,24 @@ class RunQueueData:
709 procdep.append(self.taskData.fn_index[self.runq_fnid[dep]] + "." + self.runq_task[dep]) 703 procdep.append(self.taskData.fn_index[self.runq_fnid[dep]] + "." + self.runq_task[dep])
710 self.runq_hash[task] = bb.parse.siggen.get_taskhash(self.taskData.fn_index[self.runq_fnid[task]], self.runq_task[task], procdep, self.dataCache) 704 self.runq_hash[task] = bb.parse.siggen.get_taskhash(self.taskData.fn_index[self.runq_fnid[task]], self.runq_task[task], procdep, self.dataCache)
711 705
712 hashdata = {} 706 self.hashes = {}
713 hashdata["hashes"] = {} 707 self.hash_deps = {}
714 hashdata["deps"] = {} 708 for task in xrange(len(self.runq_fnid)):
715 for task in range(len(self.runq_fnid)): 709 identifier = '%s.%s' % (self.taskData.fn_index[self.runq_fnid[task]],
716 hashdata["hashes"][self.taskData.fn_index[self.runq_fnid[task]] + "." + self.runq_task[task]] = self.runq_hash[task] 710 self.runq_task[task])
711 self.hashes[identifier] = self.runq_hash[task]
717 deps = [] 712 deps = []
718 for dep in self.runq_depends[task]: 713 for dep in self.runq_depends[task]:
719 deps.append(self.taskData.fn_index[self.runq_fnid[dep]] + "." + self.runq_task[dep]) 714 depidentifier = '%s.%s' % (self.taskData.fn_index[self.runq_fnid[dep]],
720 hashdata["deps"][self.taskData.fn_index[self.runq_fnid[task]] + "." + self.runq_task[task]] = deps 715 self.runq_task[dep])
716 deps.append(depidentifier)
717 self.hash_deps[identifier] = deps
721 718
722 hashdata["msg-debug"] = self.cooker.configuration.debug 719 # Remove stamps for targets if force mode active
723 hashdata["msg-debug-domains"] = self.cooker.configuration.debug_domains 720 if self.cooker.configuration.force:
724 hashdata["verbose"] = self.cooker.configuration.verbose 721 for (fn, target) in self.target_pairs:
725 722 logger.verbose("Remove stamp %s, %s", target, fn)
726 self.hashdata = hashdata 723 bb.build.del_stamp(target, self.dataCache, fn)
727 724
728 return len(self.runq_fnid) 725 return len(self.runq_fnid)
729 726
@@ -731,25 +728,25 @@ class RunQueueData:
731 """ 728 """
732 Dump some debug information on the internal data structures 729 Dump some debug information on the internal data structures
733 """ 730 """
734 bb.msg.debug(3, bb.msg.domain.RunQueue, "run_tasks:") 731 logger.debug(3, "run_tasks:")
735 for task in range(len(self.rqdata.runq_task)): 732 for task in xrange(len(self.rqdata.runq_task)):
736 bb.msg.debug(3, bb.msg.domain.RunQueue, " (%s)%s - %s: %s Deps %s RevDeps %s" % (task, 733 logger.debug(3, " (%s)%s - %s: %s Deps %s RevDeps %s", task,
737 taskQueue.fn_index[self.rqdata.runq_fnid[task]], 734 taskQueue.fn_index[self.rqdata.runq_fnid[task]],
738 self.rqdata.runq_task[task], 735 self.rqdata.runq_task[task],
739 self.rqdata.runq_weight[task], 736 self.rqdata.runq_weight[task],
740 self.rqdata.runq_depends[task], 737 self.rqdata.runq_depends[task],
741 self.rqdata.runq_revdeps[task])) 738 self.rqdata.runq_revdeps[task])
742 739
743 bb.msg.debug(3, bb.msg.domain.RunQueue, "sorted_tasks:") 740 logger.debug(3, "sorted_tasks:")
744 for task1 in range(len(self.rqdata.runq_task)): 741 for task1 in xrange(len(self.rqdata.runq_task)):
745 if task1 in self.prio_map: 742 if task1 in self.prio_map:
746 task = self.prio_map[task1] 743 task = self.prio_map[task1]
747 bb.msg.debug(3, bb.msg.domain.RunQueue, " (%s)%s - %s: %s Deps %s RevDeps %s" % (task, 744 logger.debug(3, " (%s)%s - %s: %s Deps %s RevDeps %s", task,
748 taskQueue.fn_index[self.rqdata.runq_fnid[task]], 745 taskQueue.fn_index[self.rqdata.runq_fnid[task]],
749 self.rqdata.runq_task[task], 746 self.rqdata.runq_task[task],
750 self.rqdata.runq_weight[task], 747 self.rqdata.runq_weight[task],
751 self.rqdata.runq_depends[task], 748 self.rqdata.runq_depends[task],
752 self.rqdata.runq_revdeps[task])) 749 self.rqdata.runq_revdeps[task])
753 750
754class RunQueue: 751class RunQueue:
755 def __init__(self, cooker, cfgData, dataCache, taskData, targets): 752 def __init__(self, cooker, cfgData, dataCache, taskData, targets):
@@ -777,7 +774,7 @@ class RunQueue:
777 if self.stamppolicy == "whitelist": 774 if self.stamppolicy == "whitelist":
778 stampwhitelist = self.rqdata.stampfnwhitelist 775 stampwhitelist = self.rqdata.stampfnwhitelist
779 776
780 for task in range(len(self.rqdata.runq_fnid)): 777 for task in xrange(len(self.rqdata.runq_fnid)):
781 unchecked[task] = "" 778 unchecked[task] = ""
782 if len(self.rqdata.runq_depends[task]) == 0: 779 if len(self.rqdata.runq_depends[task]) == 0:
783 buildable.append(task) 780 buildable.append(task)
@@ -792,12 +789,12 @@ class RunQueue:
792 if revdep in unchecked: 789 if revdep in unchecked:
793 buildable.append(revdep) 790 buildable.append(revdep)
794 791
795 for task in range(len(self.rqdata.runq_fnid)): 792 for task in xrange(len(self.rqdata.runq_fnid)):
796 if task not in unchecked: 793 if task not in unchecked:
797 continue 794 continue
798 fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[task]] 795 fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[task]]
799 taskname = self.rqdata.runq_task[task] 796 taskname = self.rqdata.runq_task[task]
800 stampfile = "%s.%s" % (self.rqdata.dataCache.stamp[fn], taskname) 797 stampfile = bb.build.stampfile(taskname, self.rqdata.dataCache, fn)
801 # If the stamp is missing its not current 798 # If the stamp is missing its not current
802 if not os.access(stampfile, os.F_OK): 799 if not os.access(stampfile, os.F_OK):
803 del unchecked[task] 800 del unchecked[task]
@@ -818,7 +815,7 @@ class RunQueue:
818 if task in unchecked: 815 if task in unchecked:
819 fn = self.taskData.fn_index[self.rqdata.runq_fnid[task]] 816 fn = self.taskData.fn_index[self.rqdata.runq_fnid[task]]
820 taskname = self.rqdata.runq_task[task] 817 taskname = self.rqdata.runq_task[task]
821 stampfile = "%s.%s" % (self.rqdata.dataCache.stamp[fn], taskname) 818 stampfile = bb.build.stampfile(taskname, self.rqdata.dataCache, fn)
822 iscurrent = True 819 iscurrent = True
823 820
824 t1 = os.stat(stampfile)[stat.ST_MTIME] 821 t1 = os.stat(stampfile)[stat.ST_MTIME]
@@ -826,7 +823,7 @@ class RunQueue:
826 if iscurrent: 823 if iscurrent:
827 fn2 = self.taskData.fn_index[self.rqdata.runq_fnid[dep]] 824 fn2 = self.taskData.fn_index[self.rqdata.runq_fnid[dep]]
828 taskname2 = self.rqdata.runq_task[dep] 825 taskname2 = self.rqdata.runq_task[dep]
829 stampfile2 = "%s.%s" % (self.rqdata.dataCache.stamp[fn2], taskname2) 826 stampfile2 = bb.build.stampfile(taskname2, self.rqdata.dataCache, fn2)
830 if fn == fn2 or (fulldeptree and fn2 not in stampwhitelist): 827 if fn == fn2 or (fulldeptree and fn2 not in stampwhitelist):
831 if dep in notcurrent: 828 if dep in notcurrent:
832 iscurrent = False 829 iscurrent = False
@@ -877,20 +874,20 @@ class RunQueue:
877 fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[task]] 874 fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[task]]
878 if taskname is None: 875 if taskname is None:
879 taskname = self.rqdata.runq_task[task] 876 taskname = self.rqdata.runq_task[task]
880 877
881 stampfile = bb.parse.siggen.stampfile(self.rqdata.dataCache.stamp[fn], taskname, self.rqdata.runq_hash[task]) 878 stampfile = bb.build.stampfile(taskname, self.rqdata.dataCache, fn)
882 879
883 # If the stamp is missing its not current 880 # If the stamp is missing its not current
884 if not os.access(stampfile, os.F_OK): 881 if not os.access(stampfile, os.F_OK):
885 bb.msg.debug(2, bb.msg.domain.RunQueue, "Stampfile %s not available\n" % stampfile) 882 logger.debug(2, "Stampfile %s not available", stampfile)
886 return False 883 return False
887 # If its a 'nostamp' task, it's not current 884 # If its a 'nostamp' task, it's not current
888 taskdep = self.rqdata.dataCache.task_deps[fn] 885 taskdep = self.rqdata.dataCache.task_deps[fn]
889 if 'nostamp' in taskdep and taskname in taskdep['nostamp']: 886 if 'nostamp' in taskdep and taskname in taskdep['nostamp']:
890 bb.msg.debug(2, bb.msg.domain.RunQueue, "%s.%s is nostamp\n" % (fn, taskname)) 887 logger.debug(2, "%s.%s is nostamp\n", fn, taskname)
891 return False 888 return False
892 889
893 if taskname.endswith("_setscene"): 890 if taskname != "do_setscene" and taskname.endswith("_setscene"):
894 return True 891 return True
895 892
896 iscurrent = True 893 iscurrent = True
@@ -899,18 +896,18 @@ class RunQueue:
899 if iscurrent: 896 if iscurrent:
900 fn2 = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[dep]] 897 fn2 = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[dep]]
901 taskname2 = self.rqdata.runq_task[dep] 898 taskname2 = self.rqdata.runq_task[dep]
902 stampfile2 = bb.parse.siggen.stampfile(self.rqdata.dataCache.stamp[fn2], taskname2, self.rqdata.runq_hash[dep]) 899 stampfile2 = bb.build.stampfile(taskname2, self.rqdata.dataCache, fn2)
903 stampfile3 = bb.parse.siggen.stampfile(self.rqdata.dataCache.stamp[fn2], taskname2 + "_setscene", self.rqdata.runq_hash[dep]) 900 stampfile3 = bb.build.stampfile(taskname2 + "_setscene", self.rqdata.dataCache, fn2)
904 t2 = get_timestamp(stampfile2) 901 t2 = get_timestamp(stampfile2)
905 t3 = get_timestamp(stampfile3) 902 t3 = get_timestamp(stampfile3)
906 if t3 and t3 > t2: 903 if t3 and t3 > t2:
907 continue 904 continue
908 if fn == fn2 or (fulldeptree and fn2 not in stampwhitelist): 905 if fn == fn2 or (fulldeptree and fn2 not in stampwhitelist):
909 if not t2: 906 if not t2:
910 bb.msg.debug(2, bb.msg.domain.RunQueue, "Stampfile %s does not exist" % (stampfile2)) 907 logger.debug(2, 'Stampfile %s does not exist', stampfile2)
911 iscurrent = False 908 iscurrent = False
912 if t1 < t2: 909 if t1 < t2:
913 bb.msg.debug(2, bb.msg.domain.RunQueue, "Stampfile %s < %s" % (stampfile, stampfile2)) 910 logger.debug(2, 'Stampfile %s < %s', stampfile, stampfile2)
914 iscurrent = False 911 iscurrent = False
915 912
916 return iscurrent 913 return iscurrent
@@ -941,7 +938,7 @@ class RunQueue:
941 retval = self.rqexe.execute() 938 retval = self.rqexe.execute()
942 939
943 if self.state is runQueueRunInit: 940 if self.state is runQueueRunInit:
944 bb.msg.note(1, bb.msg.domain.RunQueue, "Executing RunQueue Tasks") 941 logger.info("Executing RunQueue Tasks")
945 self.rqexe = RunQueueExecuteTasks(self) 942 self.rqexe = RunQueueExecuteTasks(self)
946 self.state = runQueueRunning 943 self.state = runQueueRunning
947 944
@@ -960,7 +957,7 @@ class RunQueue:
960 957
961 if self.state is runQueueComplete: 958 if self.state is runQueueComplete:
962 # All done 959 # All done
963 bb.msg.note(1, bb.msg.domain.RunQueue, "Tasks Summary: Attempted %d tasks of which %d didn't need to be rerun and %d failed." % (self.rqexe.stats.completed, self.rqexe.stats.skipped, self.rqexe.stats.failed)) 960 logger.info("Tasks Summary: Attempted %d tasks of which %d didn't need to be rerun and %d failed.", self.rqexe.stats.completed, self.rqexe.stats.skipped, self.rqexe.stats.failed)
964 return False 961 return False
965 962
966 if self.state is runQueueChildProcess: 963 if self.state is runQueueChildProcess:
@@ -982,8 +979,8 @@ class RunQueue:
982 bb.note("Reparsing files to collect dependency data") 979 bb.note("Reparsing files to collect dependency data")
983 for task in range(len(self.rqdata.runq_fnid)): 980 for task in range(len(self.rqdata.runq_fnid)):
984 if self.rqdata.runq_fnid[task] not in done: 981 if self.rqdata.runq_fnid[task] not in done:
985 fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[task]] 982 fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[task]]
986 the_data = self.cooker.bb_cache.loadDataFull(fn, self.cooker.get_file_appends(fn), self.cooker.configuration.data) 983 the_data = bb.cache.Cache.loadDataFull(fn, self.cooker.get_file_appends(fn), self.cooker.configuration.data)
987 done.add(self.rqdata.runq_fnid[task]) 984 done.add(self.rqdata.runq_fnid[task])
988 985
989 bb.parse.siggen.dump_sigs(self.rqdata.dataCache) 986 bb.parse.siggen.dump_sigs(self.rqdata.dataCache)
@@ -1022,16 +1019,16 @@ class RunQueueExecute:
1022 self.build_pipes[result[0]].close() 1019 self.build_pipes[result[0]].close()
1023 del self.build_pipes[result[0]] 1020 del self.build_pipes[result[0]]
1024 if result[1] != 0: 1021 if result[1] != 0:
1025 self.task_fail(task, result[1]) 1022 self.task_fail(task, result[1]>>8)
1026 else: 1023 else:
1027 self.task_complete(task) 1024 self.task_complete(task)
1028 1025
1029 def finish_now(self): 1026 def finish_now(self):
1030 if self.stats.active: 1027 if self.stats.active:
1031 bb.msg.note(1, bb.msg.domain.RunQueue, "Sending SIGINT to remaining %s tasks" % self.stats.active) 1028 logger.info("Sending SIGTERM to remaining %s tasks", self.stats.active)
1032 for k, v in self.build_pids.iteritems(): 1029 for k, v in self.build_pids.iteritems():
1033 try: 1030 try:
1034 os.kill(-k, signal.SIGINT) 1031 os.kill(-k, signal.SIGTERM)
1035 except: 1032 except:
1036 pass 1033 pass
1037 for pipe in self.build_pipes: 1034 for pipe in self.build_pipes:
@@ -1055,8 +1052,8 @@ class RunQueueExecute:
1055 self.rq.state = runQueueComplete 1052 self.rq.state = runQueueComplete
1056 return 1053 return
1057 1054
1058 def fork_off_task(self, fn, task, taskname): 1055 def fork_off_task(self, fn, task, taskname, quieterrors=False):
1059 the_data = self.cooker.bb_cache.loadDataFull(fn, self.cooker.get_file_appends(fn), self.cooker.configuration.data) 1056 the_data = bb.cache.Cache.loadDataFull(fn, self.cooker.get_file_appends(fn), self.cooker.configuration.data)
1060 1057
1061 env = bb.data.export_vars(the_data) 1058 env = bb.data.export_vars(the_data)
1062 env = bb.data.export_envvars(env, the_data) 1059 env = bb.data.export_envvars(env, the_data)
@@ -1070,55 +1067,59 @@ class RunQueueExecute:
1070 fakedirs = (the_data.getVar("FAKEROOTDIRS", True) or "").split() 1067 fakedirs = (the_data.getVar("FAKEROOTDIRS", True) or "").split()
1071 for p in fakedirs: 1068 for p in fakedirs:
1072 bb.mkdirhier(p) 1069 bb.mkdirhier(p)
1073 bb.msg.debug(2, bb.msg.domain.RunQueue, "Running %s:%s under fakeroot, state dir is %s" % (fn, taskname, fakedirs)) 1070 logger.debug(2, "Running %s:%s under fakeroot, state dir is %s" % (fn, taskname, fakedirs))
1074 1071
1075 env['BB_TASKHASH'] = self.rqdata.runq_hash[task]
1076 env['PATH'] = self.cooker.configuration.initial_path 1072 env['PATH'] = self.cooker.configuration.initial_path
1077 1073
1078 envbackup = os.environ.copy() 1074 envbackup = os.environ.copy()
1079 os.environ = env 1075 for e in envbackup:
1076 os.unsetenv(e)
1077 for e in env:
1078 os.putenv(e, env[e])
1080 1079
1081 sys.stdout.flush() 1080 sys.stdout.flush()
1082 sys.stderr.flush() 1081 sys.stderr.flush()
1083
1084 try: 1082 try:
1085 pipeinfd, pipeoutfd = os.pipe() 1083 pipein, pipeout = os.pipe()
1086 pipein = os.fdopen(pipeinfd, 'rb', 4096) 1084 pipein = os.fdopen(pipein, 'rb', 4096)
1087 pipeout = os.fdopen(pipeoutfd, 'wb', 4096) 1085 pipeout = os.fdopen(pipeout, 'wb', 0)
1088
1089 pid = os.fork() 1086 pid = os.fork()
1090 except OSError as e: 1087 except OSError as e:
1091 bb.msg.fatal(bb.msg.domain.RunQueue, "fork failed: %d (%s)" % (e.errno, e.strerror)) 1088 bb.msg.fatal(bb.msg.domain.RunQueue, "fork failed: %d (%s)" % (e.errno, e.strerror))
1092 if pid == 0: 1089 if pid == 0:
1093 pipein.close() 1090 pipein.close()
1091
1094 # Save out the PID so that the event can include it the 1092 # Save out the PID so that the event can include it the
1095 # events 1093 # events
1096 bb.event.worker_pid = os.getpid() 1094 bb.event.worker_pid = os.getpid()
1097 bb.event.worker_pipe = pipeout 1095 bb.event.worker_pipe = pipeout
1098 bb.event.useStdout = False 1096 bb.event.useStdout = False
1099 1097
1098 # Child processes should send their messages to the UI
1099 # process via the server process, not print them
1100 # themselves
1101 bblogger.handlers = [bb.event.LogHandler()]
1102
1100 self.rq.state = runQueueChildProcess 1103 self.rq.state = runQueueChildProcess
1101 # Make the child the process group leader 1104 # Make the child the process group leader
1102 os.setpgid(0, 0) 1105 os.setpgid(0, 0)
1103 # No stdin 1106 # No stdin
1104 newsi = os.open('/dev/null', os.O_RDWR) 1107 newsi = os.open(os.devnull, os.O_RDWR)
1105 os.dup2(newsi, sys.stdin.fileno()) 1108 os.dup2(newsi, sys.stdin.fileno())
1106 # Stdout to a logfile 1109 if quieterrors:
1107 #logout = data.expand("${TMPDIR}/log/stdout.%s" % os.getpid(), self.cfgData, True)
1108 #mkdirhier(os.path.dirname(logout))
1109 #newso = open(logout, 'w')
1110 #os.dup2(newso.fileno(), sys.stdout.fileno())
1111 #os.dup2(newso.fileno(), sys.stderr.fileno())
1112 if taskname.endswith("_setscene"):
1113 the_data.setVarFlag(taskname, "quieterrors", "1") 1110 the_data.setVarFlag(taskname, "quieterrors", "1")
1114 1111
1112 bb.data.setVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY", self, self.cooker.configuration.data)
1113 bb.data.setVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY2", fn, self.cooker.configuration.data)
1115 bb.data.setVar("BB_WORKERCONTEXT", "1", the_data) 1114 bb.data.setVar("BB_WORKERCONTEXT", "1", the_data)
1116 bb.parse.siggen.set_taskdata(self.rqdata.hashdata["hashes"], self.rqdata.hashdata["deps"]) 1115 bb.parse.siggen.set_taskdata(self.rqdata.hashes, self.rqdata.hash_deps)
1117 1116
1118 for h in self.rqdata.hashdata["hashes"]: 1117 for h in self.rqdata.hashes:
1119 bb.data.setVar("BBHASH_%s" % h, self.rqdata.hashdata["hashes"][h], the_data) 1118 bb.data.setVar("BBHASH_%s" % h, self.rqdata.hashes[h], the_data)
1120 for h in self.rqdata.hashdata["deps"]: 1119 for h in self.rqdata.hash_deps:
1121 bb.data.setVar("BBHASHDEPS_%s" % h, self.rqdata.hashdata["deps"][h], the_data) 1120 bb.data.setVar("BBHASHDEPS_%s" % h, self.rqdata.hash_deps[h], the_data)
1121
1122 bb.data.setVar("BB_TASKHASH", self.rqdata.runq_hash[task], the_data)
1122 1123
1123 ret = 0 1124 ret = 0
1124 try: 1125 try:
@@ -1128,7 +1129,10 @@ class RunQueueExecute:
1128 except: 1129 except:
1129 os._exit(1) 1130 os._exit(1)
1130 1131
1131 os.environ = envbackup 1132 for e in env:
1133 os.unsetenv(e)
1134 for e in envbackup:
1135 os.putenv(e, envbackup[e])
1132 1136
1133 return pid, pipein, pipeout 1137 return pid, pipein, pipeout
1134 1138
@@ -1136,9 +1140,10 @@ class RunQueueExecuteDummy(RunQueueExecute):
1136 def __init__(self, rq): 1140 def __init__(self, rq):
1137 self.rq = rq 1141 self.rq = rq
1138 self.stats = RunQueueStats(0) 1142 self.stats = RunQueueStats(0)
1143
1139 def finish(self): 1144 def finish(self):
1140 self.rq.state = runQueueComplete 1145 self.rq.state = runQueueComplete
1141 return 1146 return
1142 1147
1143class RunQueueExecuteTasks(RunQueueExecute): 1148class RunQueueExecuteTasks(RunQueueExecute):
1144 def __init__(self, rq): 1149 def __init__(self, rq):
@@ -1147,7 +1152,7 @@ class RunQueueExecuteTasks(RunQueueExecute):
1147 self.stats = RunQueueStats(len(self.rqdata.runq_fnid)) 1152 self.stats = RunQueueStats(len(self.rqdata.runq_fnid))
1148 1153
1149 # Mark initial buildable tasks 1154 # Mark initial buildable tasks
1150 for task in range(self.stats.total): 1155 for task in xrange(self.stats.total):
1151 self.runq_running.append(0) 1156 self.runq_running.append(0)
1152 self.runq_complete.append(0) 1157 self.runq_complete.append(0)
1153 if len(self.rqdata.runq_depends[task]) == 0: 1158 if len(self.rqdata.runq_depends[task]) == 0:
@@ -1160,31 +1165,52 @@ class RunQueueExecuteTasks(RunQueueExecute):
1160 found = True 1165 found = True
1161 while found: 1166 while found:
1162 found = False 1167 found = False
1163 for task in range(self.stats.total): 1168 for task in xrange(self.stats.total):
1164 if task in self.rq.scenequeue_covered: 1169 if task in self.rq.scenequeue_covered:
1165 continue 1170 continue
1166 if len(self.rqdata.runq_revdeps[task]) > 0 and self.rqdata.runq_revdeps[task].issubset(self.rq.scenequeue_covered): 1171 if len(self.rqdata.runq_revdeps[task]) > 0 and self.rqdata.runq_revdeps[task].issubset(self.rq.scenequeue_covered):
1167 self.rq.scenequeue_covered.add(task) 1172 self.rq.scenequeue_covered.add(task)
1168 found = True 1173 found = True
1169 1174
1170 bb.debug("Full skip list %s" % self.rq.scenequeue_covered) 1175 logger.debug(1, 'Full skip list %s', self.rq.scenequeue_covered)
1171 1176
1172 for task in self.rq.scenequeue_covered: 1177 for task in self.rq.scenequeue_covered:
1173 self.task_skip(task) 1178 self.task_skip(task)
1174 1179
1175 event.fire(bb.event.StampUpdate(self.rqdata.target_pairs, self.rqdata.dataCache.stamp), self.cfgData) 1180 event.fire(bb.event.StampUpdate(self.rqdata.target_pairs, self.rqdata.dataCache.stamp), self.cfgData)
1176 1181
1177 schedulers = [obj for obj in globals().itervalues() 1182 schedulers = self.get_schedulers()
1178 if type(obj) is type and issubclass(obj, RunQueueScheduler)]
1179 for scheduler in schedulers: 1183 for scheduler in schedulers:
1180 if self.scheduler == scheduler.name: 1184 if self.scheduler == scheduler.name:
1181 self.sched = scheduler(self, self.rqdata) 1185 self.sched = scheduler(self, self.rqdata)
1186 logger.debug(1, "Using runqueue scheduler '%s'", scheduler.name)
1182 break 1187 break
1183 else: 1188 else:
1184 bb.error("Invalid scheduler '%s', using default 'speed' scheduler" % self.scheduler) 1189 bb.fatal("Invalid scheduler '%s'. Available schedulers: %s" %
1185 bb.error("Available schedulers: %s" % ", ".join(obj.name for obj in schedulers)) 1190 (self.scheduler, ", ".join(obj.name for obj in schedulers)))
1186 self.sched = RunQueueSchedulerSpeed(self, self.rqdata) 1191
1192
1193 def get_schedulers(self):
1194 schedulers = set(obj for obj in globals().values()
1195 if type(obj) is type and
1196 issubclass(obj, RunQueueScheduler))
1187 1197
1198 user_schedulers = bb.data.getVar("BB_SCHEDULERS", self.cfgData, True)
1199 if user_schedulers:
1200 for sched in user_schedulers.split():
1201 if not "." in sched:
1202 bb.note("Ignoring scheduler '%s' from BB_SCHEDULERS: not an import" % sched)
1203 continue
1204
1205 modname, name = sched.rsplit(".", 1)
1206 try:
1207 module = __import__(modname, fromlist=(name,))
1208 except ImportError, exc:
1209 logger.critical("Unable to import scheduler '%s' from '%s': %s" % (name, modname, exc))
1210 raise SystemExit(1)
1211 else:
1212 schedulers.add(getattr(module, name))
1213 return schedulers
1188 1214
1189 def task_completeoutright(self, task): 1215 def task_completeoutright(self, task):
1190 """ 1216 """
@@ -1206,7 +1232,7 @@ class RunQueueExecuteTasks(RunQueueExecute):
1206 self.runq_buildable[revdep] = 1 1232 self.runq_buildable[revdep] = 1
1207 fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[revdep]] 1233 fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[revdep]]
1208 taskname = self.rqdata.runq_task[revdep] 1234 taskname = self.rqdata.runq_task[revdep]
1209 bb.msg.debug(1, bb.msg.domain.RunQueue, "Marking task %s (%s, %s) as buildable" % (revdep, fn, taskname)) 1235 logger.debug(1, "Marking task %s (%s, %s) as buildable", revdep, fn, taskname)
1210 1236
1211 def task_complete(self, task): 1237 def task_complete(self, task):
1212 self.stats.taskCompleted() 1238 self.stats.taskCompleted()
@@ -1218,11 +1244,10 @@ class RunQueueExecuteTasks(RunQueueExecute):
1218 Called when a task has failed 1244 Called when a task has failed
1219 Updates the state engine with the failure 1245 Updates the state engine with the failure
1220 """ 1246 """
1221 bb.msg.error(bb.msg.domain.RunQueue, "Task %s (%s) failed with %s" % (task, self.rqdata.get_user_idstring(task), exitcode))
1222 self.stats.taskFailed() 1247 self.stats.taskFailed()
1223 fnid = self.rqdata.runq_fnid[task] 1248 fnid = self.rqdata.runq_fnid[task]
1224 self.failed_fnids.append(fnid) 1249 self.failed_fnids.append(fnid)
1225 bb.event.fire(runQueueTaskFailed(task, self.stats, self.rq), self.cfgData) 1250 bb.event.fire(runQueueTaskFailed(task, self.stats, exitcode, self.rq), self.cfgData)
1226 if self.rqdata.taskData.abort: 1251 if self.rqdata.taskData.abort:
1227 self.rq.state = runQueueCleanUp 1252 self.rq.state = runQueueCleanUp
1228 1253
@@ -1242,38 +1267,30 @@ class RunQueueExecuteTasks(RunQueueExecute):
1242 # nothing to do 1267 # nothing to do
1243 self.rq.state = runQueueCleanUp 1268 self.rq.state = runQueueCleanUp
1244 1269
1245 task = None 1270 task = self.sched.next()
1246 if self.stats.active < self.number_tasks:
1247 task = self.sched.next()
1248 if task is not None: 1271 if task is not None:
1249 fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[task]] 1272 fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[task]]
1250 1273
1251 taskname = self.rqdata.runq_task[task] 1274 taskname = self.rqdata.runq_task[task]
1252 if self.rq.check_stamp_task(task, taskname): 1275 if self.rq.check_stamp_task(task, taskname):
1253 bb.msg.debug(2, bb.msg.domain.RunQueue, "Stamp current task %s (%s)" % (task, self.rqdata.get_user_idstring(task))) 1276 logger.debug(2, "Stamp current task %s (%s)", task,
1277 self.rqdata.get_user_idstring(task))
1254 self.task_skip(task) 1278 self.task_skip(task)
1255 return True 1279 return True
1256 1280
1257 bb.event.fire(runQueueTaskStarted(task, self.stats, self.rq), self.cfgData)
1258
1259 taskdep = self.rqdata.dataCache.task_deps[fn] 1281 taskdep = self.rqdata.dataCache.task_deps[fn]
1260 if 'noexec' in taskdep and taskname in taskdep['noexec']: 1282 if 'noexec' in taskdep and taskname in taskdep['noexec']:
1261 bb.msg.note(1, bb.msg.domain.RunQueue, 1283 startevent = runQueueTaskStarted(task, self.stats, self.rq,
1262 "Noexec task %d of %d (ID: %s, %s)" % (self.stats.completed + self.stats.active + self.stats.failed + 1, 1284 noexec=True)
1263 self.stats.total, 1285 bb.event.fire(startevent, self.cfgData)
1264 task,
1265 self.rqdata.get_user_idstring(task)))
1266 self.runq_running[task] = 1 1286 self.runq_running[task] = 1
1267 self.stats.taskActive() 1287 self.stats.taskActive()
1268 bb.build.make_stamp(taskname, self.rqdata.dataCache, fn) 1288 bb.build.make_stamp(taskname, self.rqdata.dataCache, fn)
1269 self.task_complete(task) 1289 self.task_complete(task)
1270 return True 1290 return True
1271 1291 else:
1272 bb.msg.note(1, bb.msg.domain.RunQueue, 1292 startevent = runQueueTaskStarted(task, self.stats, self.rq)
1273 "Running task %d of %d (ID: %s, %s)" % (self.stats.completed + self.stats.active + self.stats.failed + 1, 1293 bb.event.fire(startevent, self.cfgData)
1274 self.stats.total,
1275 task,
1276 self.rqdata.get_user_idstring(task)))
1277 1294
1278 pid, pipein, pipeout = self.fork_off_task(fn, task, taskname) 1295 pid, pipein, pipeout = self.fork_off_task(fn, task, taskname)
1279 1296
@@ -1281,8 +1298,6 @@ class RunQueueExecuteTasks(RunQueueExecute):
1281 self.build_pipes[pid] = runQueuePipe(pipein, pipeout, self.cfgData) 1298 self.build_pipes[pid] = runQueuePipe(pipein, pipeout, self.cfgData)
1282 self.runq_running[task] = 1 1299 self.runq_running[task] = 1
1283 self.stats.taskActive() 1300 self.stats.taskActive()
1284 if self.stats.active < self.number_tasks:
1285 return True
1286 1301
1287 for pipe in self.build_pipes: 1302 for pipe in self.build_pipes:
1288 self.build_pipes[pipe].read() 1303 self.build_pipes[pipe].read()
@@ -1297,13 +1312,13 @@ class RunQueueExecuteTasks(RunQueueExecute):
1297 return True 1312 return True
1298 1313
1299 # Sanity Checks 1314 # Sanity Checks
1300 for task in range(self.stats.total): 1315 for task in xrange(self.stats.total):
1301 if self.runq_buildable[task] == 0: 1316 if self.runq_buildable[task] == 0:
1302 bb.msg.error(bb.msg.domain.RunQueue, "Task %s never buildable!" % task) 1317 logger.error("Task %s never buildable!", task)
1303 if self.runq_running[task] == 0: 1318 if self.runq_running[task] == 0:
1304 bb.msg.error(bb.msg.domain.RunQueue, "Task %s never ran!" % task) 1319 logger.error("Task %s never ran!", task)
1305 if self.runq_complete[task] == 0: 1320 if self.runq_complete[task] == 0:
1306 bb.msg.error(bb.msg.domain.RunQueue, "Task %s never completed!" % task) 1321 logger.error("Task %s never completed!", task)
1307 self.rq.state = runQueueComplete 1322 self.rq.state = runQueueComplete
1308 return True 1323 return True
1309 1324
@@ -1332,12 +1347,12 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1332 # therefore aims to collapse the huge runqueue dependency tree into a smaller one 1347 # therefore aims to collapse the huge runqueue dependency tree into a smaller one
1333 # only containing the setscene functions. 1348 # only containing the setscene functions.
1334 1349
1335 for task in range(self.stats.total): 1350 for task in xrange(self.stats.total):
1336 self.runq_running.append(0) 1351 self.runq_running.append(0)
1337 self.runq_complete.append(0) 1352 self.runq_complete.append(0)
1338 self.runq_buildable.append(0) 1353 self.runq_buildable.append(0)
1339 1354
1340 for task in range(len(self.rqdata.runq_fnid)): 1355 for task in xrange(len(self.rqdata.runq_fnid)):
1341 sq_revdeps.append(copy.copy(self.rqdata.runq_revdeps[task])) 1356 sq_revdeps.append(copy.copy(self.rqdata.runq_revdeps[task]))
1342 sq_revdeps_new.append(set()) 1357 sq_revdeps_new.append(set())
1343 if (len(self.rqdata.runq_revdeps[task]) == 0) and task not in self.rqdata.runq_setscene: 1358 if (len(self.rqdata.runq_revdeps[task]) == 0) and task not in self.rqdata.runq_setscene:
@@ -1368,7 +1383,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1368 1383
1369 process_endpoints(endpoints) 1384 process_endpoints(endpoints)
1370 1385
1371 for task in range(len(self.rqdata.runq_fnid)): 1386 for task in xrange(len(self.rqdata.runq_fnid)):
1372 if task in self.rqdata.runq_setscene: 1387 if task in self.rqdata.runq_setscene:
1373 deps = set() 1388 deps = set()
1374 for dep in sq_revdeps_new[task]: 1389 for dep in sq_revdeps_new[task]:
@@ -1377,20 +1392,20 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1377 elif len(sq_revdeps_new[task]) != 0: 1392 elif len(sq_revdeps_new[task]) != 0:
1378 bb.msg.fatal(bb.msg.domain.RunQueue, "Something went badly wrong during scenequeue generation, aborting. Please report this problem.") 1393 bb.msg.fatal(bb.msg.domain.RunQueue, "Something went badly wrong during scenequeue generation, aborting. Please report this problem.")
1379 1394
1380 #for task in range(len(sq_revdeps_squash)): 1395 #for task in xrange(len(sq_revdeps_squash)):
1381 # print "Task %s: %s.%s is %s " % (task, self.taskData.fn_index[self.runq_fnid[self.runq_setscene[task]]], self.runq_task[self.runq_setscene[task]] + "_setscene", sq_revdeps_squash[task]) 1396 # print "Task %s: %s.%s is %s " % (task, self.taskData.fn_index[self.runq_fnid[self.runq_setscene[task]]], self.runq_task[self.runq_setscene[task]] + "_setscene", sq_revdeps_squash[task])
1382 1397
1383 self.sq_deps = [] 1398 self.sq_deps = []
1384 self.sq_revdeps = sq_revdeps_squash 1399 self.sq_revdeps = sq_revdeps_squash
1385 self.sq_revdeps2 = copy.deepcopy(self.sq_revdeps) 1400 self.sq_revdeps2 = copy.deepcopy(self.sq_revdeps)
1386 1401
1387 for task in range(len(self.sq_revdeps)): 1402 for task in xrange(len(self.sq_revdeps)):
1388 self.sq_deps.append(set()) 1403 self.sq_deps.append(set())
1389 for task in range(len(self.sq_revdeps)): 1404 for task in xrange(len(self.sq_revdeps)):
1390 for dep in self.sq_revdeps[task]: 1405 for dep in self.sq_revdeps[task]:
1391 self.sq_deps[dep].add(task) 1406 self.sq_deps[dep].add(task)
1392 1407
1393 for task in range(len(self.sq_revdeps)): 1408 for task in xrange(len(self.sq_revdeps)):
1394 if len(self.sq_revdeps[task]) == 0: 1409 if len(self.sq_revdeps[task]) == 0:
1395 self.runq_buildable[task] = 1 1410 self.runq_buildable[task] = 1
1396 1411
@@ -1401,7 +1416,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1401 sq_taskname = [] 1416 sq_taskname = []
1402 sq_task = [] 1417 sq_task = []
1403 noexec = [] 1418 noexec = []
1404 for task in range(len(self.sq_revdeps)): 1419 for task in xrange(len(self.sq_revdeps)):
1405 realtask = self.rqdata.runq_setscene[task] 1420 realtask = self.rqdata.runq_setscene[task]
1406 fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[realtask]] 1421 fn = self.rqdata.taskData.fn_index[self.rqdata.runq_fnid[realtask]]
1407 taskname = self.rqdata.runq_task[realtask] 1422 taskname = self.rqdata.runq_task[realtask]
@@ -1424,14 +1439,13 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1424 for v in valid: 1439 for v in valid:
1425 valid_new.append(sq_task[v]) 1440 valid_new.append(sq_task[v])
1426 1441
1427 for task in range(len(self.sq_revdeps)): 1442 for task in xrange(len(self.sq_revdeps)):
1428 if task not in valid_new and task not in noexec: 1443 if task not in valid_new and task not in noexec:
1429 bb.msg.debug(2, bb.msg.domain.RunQueue, "No package found so skipping setscene task %s" % (self.rqdata.get_user_idstring(self.rqdata.runq_setscene[task]))) 1444 logger.debug(2, 'No package found, so skipping setscene task %s',
1445 self.rqdata.get_user_idstring(task))
1430 self.task_failoutright(task) 1446 self.task_failoutright(task)
1431 1447
1432 #print(str(valid)) 1448 logger.info('Executing SetScene Tasks')
1433
1434 bb.msg.note(1, bb.msg.domain.RunQueue, "Executing SetScene Tasks")
1435 1449
1436 self.rq.state = runQueueSceneRun 1450 self.rq.state = runQueueSceneRun
1437 1451
@@ -1449,7 +1463,8 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1449 """ 1463 """
1450 1464
1451 index = self.rqdata.runq_setscene[task] 1465 index = self.rqdata.runq_setscene[task]
1452 bb.msg.debug(1, bb.msg.domain.RunQueue, "Found task %s could be accelerated" % self.rqdata.get_user_idstring(index)) 1466 logger.debug(1, 'Found task %s which could be accelerated',
1467 self.rqdata.get_user_idstring(index))
1453 1468
1454 self.scenequeue_covered.add(task) 1469 self.scenequeue_covered.add(task)
1455 self.scenequeue_updatecounters(task) 1470 self.scenequeue_updatecounters(task)
@@ -1461,7 +1476,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1461 def task_fail(self, task, result): 1476 def task_fail(self, task, result):
1462 self.stats.taskFailed() 1477 self.stats.taskFailed()
1463 index = self.rqdata.runq_setscene[task] 1478 index = self.rqdata.runq_setscene[task]
1464 bb.event.fire(runQueueTaskFailed(task, self.stats, self), self.cfgData) 1479 bb.event.fire(runQueueTaskFailed(task, self.stats, result, self), self.cfgData)
1465 self.scenequeue_notcovered.add(task) 1480 self.scenequeue_notcovered.add(task)
1466 self.scenequeue_updatecounters(task) 1481 self.scenequeue_updatecounters(task)
1467 1482
@@ -1489,13 +1504,8 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1489 task = None 1504 task = None
1490 if self.stats.active < self.number_tasks: 1505 if self.stats.active < self.number_tasks:
1491 # Find the next setscene to run 1506 # Find the next setscene to run
1492 for nexttask in range(self.stats.total): 1507 for nexttask in xrange(self.stats.total):
1493 if self.runq_buildable[nexttask] == 1 and self.runq_running[nexttask] != 1: 1508 if self.runq_buildable[nexttask] == 1 and self.runq_running[nexttask] != 1:
1494 #bb.note("Comparing %s to %s" % (self.sq_revdeps[nexttask], self.scenequeue_covered))
1495 #if len(self.sq_revdeps[nexttask]) > 0 and self.sq_revdeps[nexttask].issubset(self.scenequeue_covered):
1496 # bb.note("Skipping task %s" % nexttask)
1497 # self.scenequeue_skip(nexttask)
1498 # return True
1499 task = nexttask 1509 task = nexttask
1500 break 1510 break
1501 if task is not None: 1511 if task is not None:
@@ -1504,7 +1514,8 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1504 1514
1505 taskname = self.rqdata.runq_task[realtask] + "_setscene" 1515 taskname = self.rqdata.runq_task[realtask] + "_setscene"
1506 if self.rq.check_stamp_task(realtask, self.rqdata.runq_task[realtask]): 1516 if self.rq.check_stamp_task(realtask, self.rqdata.runq_task[realtask]):
1507 bb.msg.debug(2, bb.msg.domain.RunQueue, "Stamp for underlying task %s (%s) is current so skipping setscene varient" % (task, self.rqdata.get_user_idstring(task))) 1517 logger.debug(2, 'Stamp for underlying task %s(%s) is current, so skipping setscene variant',
1518 task, self.rqdata.get_user_idstring(task))
1508 self.task_failoutright(task) 1519 self.task_failoutright(task)
1509 return True 1520 return True
1510 1521
@@ -1515,12 +1526,12 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1515 return True 1526 return True
1516 1527
1517 if self.rq.check_stamp_task(realtask, taskname): 1528 if self.rq.check_stamp_task(realtask, taskname):
1518 bb.msg.debug(2, bb.msg.domain.RunQueue, "Setscene stamp current task %s (%s) so skip it and its dependencies" % (task, self.rqdata.get_user_idstring(realtask))) 1529 logger.debug(2, 'Setscene stamp current task %s(%s), so skip it and its dependencies',
1530 task, self.rqdata.get_user_idstring(realtask))
1519 self.task_skip(task) 1531 self.task_skip(task)
1520 return True 1532 return True
1521 1533
1522 bb.msg.note(1, bb.msg.domain.RunQueue, 1534 logger.info("Running setscene task %d of %d (%s:%s)" % (self.stats.completed + self.stats.active + self.stats.failed + 1,
1523 "Running setscene task %d of %d (%s:%s)" % (self.stats.completed + self.stats.active + self.stats.failed + 1,
1524 self.stats.total, fn, taskname)) 1535 self.stats.total, fn, taskname))
1525 1536
1526 pid, pipein, pipeout = self.fork_off_task(fn, realtask, taskname) 1537 pid, pipein, pipeout = self.fork_off_task(fn, realtask, taskname)
@@ -1546,11 +1557,14 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1546 for task in oldcovered: 1557 for task in oldcovered:
1547 self.rq.scenequeue_covered.add(self.rqdata.runq_setscene[task]) 1558 self.rq.scenequeue_covered.add(self.rqdata.runq_setscene[task])
1548 1559
1549 bb.debug("We can skip tasks %s" % self.rq.scenequeue_covered) 1560 logger.debug(1, 'We can skip tasks %s', self.rq.scenequeue_covered)
1550 1561
1551 self.rq.state = runQueueRunInit 1562 self.rq.state = runQueueRunInit
1552 return True 1563 return True
1553 1564
1565 def fork_off_task(self, fn, task, taskname):
1566 return RunQueueExecute.fork_off_task(self, fn, task, taskname, quieterrors=True)
1567
1554class TaskFailure(Exception): 1568class TaskFailure(Exception):
1555 """ 1569 """
1556 Exception raised when a task in a runqueue fails 1570 Exception raised when a task in a runqueue fails
@@ -1583,51 +1597,48 @@ class runQueueTaskStarted(runQueueEvent):
1583 """ 1597 """
1584 Event notifing a task was started 1598 Event notifing a task was started
1585 """ 1599 """
1586 def __init__(self, task, stats, rq): 1600 def __init__(self, task, stats, rq, noexec=False):
1587 runQueueEvent.__init__(self, task, stats, rq) 1601 runQueueEvent.__init__(self, task, stats, rq)
1588 self.message = "Running task %s (%d of %d) (%s)" % (task, stats.completed + stats.active + 1, self.stats.total, self.taskstring) 1602 self.noexec = noexec
1589 1603
1590class runQueueTaskFailed(runQueueEvent): 1604class runQueueTaskFailed(runQueueEvent):
1591 """ 1605 """
1592 Event notifing a task failed 1606 Event notifing a task failed
1593 """ 1607 """
1594 def __init__(self, task, stats, rq): 1608 def __init__(self, task, stats, exitcode, rq):
1595 runQueueEvent.__init__(self, task, stats, rq) 1609 runQueueEvent.__init__(self, task, stats, rq)
1596 self.message = "Task %s failed (%s)" % (task, self.taskstring) 1610 self.exitcode = exitcode
1597 1611
1598class runQueueTaskCompleted(runQueueEvent): 1612class runQueueTaskCompleted(runQueueEvent):
1599 """ 1613 """
1600 Event notifing a task completed 1614 Event notifing a task completed
1601 """ 1615 """
1602 def __init__(self, task, stats, rq):
1603 runQueueEvent.__init__(self, task, stats, rq)
1604 self.message = "Task %s completed (%s)" % (task, self.taskstring)
1605 1616
1606#def check_stamp_fn(fn, taskname, d): 1617def check_stamp_fn(fn, taskname, d):
1607# rq = bb.data.getVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY", d) 1618 rqexe = bb.data.getVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY", d)
1608# fn = bb.data.getVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY2", d) 1619 fn = bb.data.getVar("__RUNQUEUE_DO_NOT_USE_EXTERNALLY2", d)
1609# fnid = rq.rqdata.taskData.getfn_id(fn) 1620 fnid = rqexe.rqdata.taskData.getfn_id(fn)
1610# taskid = rq.get_task_id(fnid, taskname) 1621 taskid = rqexe.rqdata.get_task_id(fnid, taskname)
1611# if taskid is not None: 1622 if taskid is not None:
1612# return rq.check_stamp_task(taskid) 1623 return rqexe.rq.check_stamp_task(taskid)
1613# return None 1624 return None
1614 1625
1615class runQueuePipe(): 1626class runQueuePipe():
1616 """ 1627 """
1617 Abstraction for a pipe between a worker thread and the server 1628 Abstraction for a pipe between a worker thread and the server
1618 """ 1629 """
1619 def __init__(self, pipein, pipeout, d): 1630 def __init__(self, pipein, pipeout, d):
1620 self.fd = pipein 1631 self.input = pipein
1621 pipeout.close() 1632 pipeout.close()
1622 fcntl.fcntl(self.fd, fcntl.F_SETFL, fcntl.fcntl(self.fd, fcntl.F_GETFL) | os.O_NONBLOCK) 1633 fcntl.fcntl(self.input, fcntl.F_SETFL, fcntl.fcntl(self.input, fcntl.F_GETFL) | os.O_NONBLOCK)
1623 self.queue = "" 1634 self.queue = ""
1624 self.d = d 1635 self.d = d
1625 1636
1626 def read(self): 1637 def read(self):
1627 start = len(self.queue) 1638 start = len(self.queue)
1628 try: 1639 try:
1629 self.queue = self.queue + self.fd.read(1024) 1640 self.queue = self.queue + self.input.read(102400)
1630 except IOError: 1641 except (OSError, IOError):
1631 pass 1642 pass
1632 end = len(self.queue) 1643 end = len(self.queue)
1633 index = self.queue.find("</event>") 1644 index = self.queue.find("</event>")
@@ -1642,4 +1653,4 @@ class runQueuePipe():
1642 continue 1653 continue
1643 if len(self.queue) > 0: 1654 if len(self.queue) > 0:
1644 print("Warning, worker left partial message: %s" % self.queue) 1655 print("Warning, worker left partial message: %s" % self.queue)
1645 self.fd.close() 1656 self.input.close()
diff --git a/bitbake/lib/bb/server/none.py b/bitbake/lib/bb/server/none.py
index dafb2feba9..2708807dfc 100644
--- a/bitbake/lib/bb/server/none.py
+++ b/bitbake/lib/bb/server/none.py
@@ -174,6 +174,8 @@ class BitBakeServerConnection():
174 self.server = serverinfo.server 174 self.server = serverinfo.server
175 self.connection = serverinfo.commands 175 self.connection = serverinfo.commands
176 self.events = bb.server.none.BBUIEventQueue(self.server) 176 self.events = bb.server.none.BBUIEventQueue(self.server)
177 for event in bb.event.ui_queue:
178 self.events.queue_event(event)
177 179
178 def terminate(self): 180 def terminate(self):
179 try: 181 try:
diff --git a/bitbake/lib/bb/server/xmlrpc.py b/bitbake/lib/bb/server/xmlrpc.py
index c2bfe12176..0d03e308d0 100644
--- a/bitbake/lib/bb/server/xmlrpc.py
+++ b/bitbake/lib/bb/server/xmlrpc.py
@@ -243,6 +243,8 @@ class BitBakeServerConnection():
243 t = BBTransport() 243 t = BBTransport()
244 self.connection = xmlrpclib.Server("http://%s:%s" % (serverinfo.host, serverinfo.port), transport=t, allow_none=True) 244 self.connection = xmlrpclib.Server("http://%s:%s" % (serverinfo.host, serverinfo.port), transport=t, allow_none=True)
245 self.events = uievent.BBUIEventQueue(self.connection) 245 self.events = uievent.BBUIEventQueue(self.connection)
246 for event in bb.event.ui_queue:
247 self.events.queue_event(event)
246 248
247 def terminate(self): 249 def terminate(self):
248 # Don't wait for server indefinitely 250 # Don't wait for server indefinitely
diff --git a/bitbake/lib/bb/shell.py b/bitbake/lib/bb/shell.py
index f9ca9d5bd3..3319e2d1cc 100644
--- a/bitbake/lib/bb/shell.py
+++ b/bitbake/lib/bb/shell.py
@@ -180,11 +180,9 @@ class BitBakeShellCommands:
180 last_exception = Providers.NoProvider 180 last_exception = Providers.NoProvider
181 181
182 except runqueue.TaskFailure as fnids: 182 except runqueue.TaskFailure as fnids:
183 for fnid in fnids:
184 print("ERROR: '%s' failed" % td.fn_index[fnid])
185 last_exception = runqueue.TaskFailure 183 last_exception = runqueue.TaskFailure
186 184
187 except build.EventException as e: 185 except build.FuncFailed as e:
188 print("ERROR: Couldn't build '%s'" % names) 186 print("ERROR: Couldn't build '%s'" % names)
189 last_exception = e 187 last_exception = e
190 188
@@ -247,7 +245,7 @@ class BitBakeShellCommands:
247 cooker.buildFile(bf, cmd) 245 cooker.buildFile(bf, cmd)
248 except parse.ParseError: 246 except parse.ParseError:
249 print("ERROR: Unable to open or parse '%s'" % bf) 247 print("ERROR: Unable to open or parse '%s'" % bf)
250 except build.EventException as e: 248 except build.FuncFailed as e:
251 print("ERROR: Couldn't build '%s'" % name) 249 print("ERROR: Couldn't build '%s'" % name)
252 last_exception = e 250 last_exception = e
253 251
@@ -274,9 +272,7 @@ class BitBakeShellCommands:
274 bbfile = params[0] 272 bbfile = params[0]
275 print("SHELL: Parsing '%s'" % bbfile) 273 print("SHELL: Parsing '%s'" % bbfile)
276 parse.update_mtime( bbfile ) 274 parse.update_mtime( bbfile )
277 cooker.bb_cache.cacheValidUpdate(bbfile) 275 cooker.parser.reparse(bbfile)
278 fromCache = cooker.bb_cache.loadData(bbfile, cooker.configuration.data, cooker.status)
279 cooker.bb_cache.sync()
280 if False: #fromCache: 276 if False: #fromCache:
281 print("SHELL: File has not been updated, not reparsing") 277 print("SHELL: File has not been updated, not reparsing")
282 else: 278 else:
@@ -445,7 +441,7 @@ SRC_URI = ""
445 name, var = params 441 name, var = params
446 bbfile = self._findProvider( name ) 442 bbfile = self._findProvider( name )
447 if bbfile is not None: 443 if bbfile is not None:
448 the_data = cooker.bb_cache.loadDataFull(bbfile, cooker.configuration.data) 444 the_data = cache.Cache.loadDataFull(bbfile, cooker.configuration.data)
449 value = the_data.getVar( var, 1 ) 445 value = the_data.getVar( var, 1 )
450 print(value) 446 print(value)
451 else: 447 else:
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 48f600a212..a101ce8bb3 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -1,53 +1,63 @@
1import hashlib 1import hashlib
2import logging
2import re 3import re
3 4
5logger = logging.getLogger('BitBake.SigGen')
6
4try: 7try:
5 import cPickle as pickle 8 import cPickle as pickle
6except ImportError: 9except ImportError:
7 import pickle 10 import pickle
8 bb.msg.note(1, bb.msg.domain.Cache, "Importing cPickle failed. Falling back to a very slow implementation.") 11 logger.info('Importing cPickle failed. Falling back to a very slow implementation.')
9 12
10def init(d, dumpsigs): 13def init(d):
11 siggens = [obj for obj in globals().itervalues() 14 siggens = [obj for obj in globals().itervalues()
12 if type(obj) is type and issubclass(obj, SignatureGenerator)] 15 if type(obj) is type and issubclass(obj, SignatureGenerator)]
13 16
14 desired = bb.data.getVar("BB_SIGNATURE_HANDLER", d, True) or "noop" 17 desired = bb.data.getVar("BB_SIGNATURE_HANDLER", d, True) or "noop"
15 for sg in siggens: 18 for sg in siggens:
16 if desired == sg.name: 19 if desired == sg.name:
17 return sg(d, dumpsigs) 20 return sg(d)
18 break 21 break
19 else: 22 else:
20 bb.error("Invalid signature generator '%s', using default 'noop' generator" % desired) 23 logger.error("Invalid signature generator '%s', using default 'noop'\n"
21 bb.error("Available generators: %s" % ", ".join(obj.name for obj in siggens)) 24 "Available generators: %s",
22 return SignatureGenerator(d, dumpsigs) 25 ', '.join(obj.name for obj in siggens))
26 return SignatureGenerator(d)
23 27
24class SignatureGenerator(object): 28class SignatureGenerator(object):
25 """ 29 """
26 """ 30 """
27 name = "noop" 31 name = "noop"
28 32
29 def __init__(self, data, dumpsigs): 33 def __init__(self, data):
30 return 34 return
31 35
32 def finalise(self, fn, d, varient): 36 def finalise(self, fn, d, varient):
33 return 37 return
34 38
35 def stampfile(self, stampbase, taskname, taskhash): 39 def get_taskhash(self, fn, task, deps, dataCache):
36 return "%s.%s" % (stampbase, taskname) 40 return 0
41
42 def set_taskdata(self, hashes, deps):
43 return
44
45 def stampfile(self, stampbase, file_name, taskname, extrainfo):
46 return ("%s.%s.%s" % (stampbase, taskname, extrainfo)).rstrip('.')
37 47
38class SignatureGeneratorBasic(SignatureGenerator): 48class SignatureGeneratorBasic(SignatureGenerator):
39 """ 49 """
40 """ 50 """
41 name = "basic" 51 name = "basic"
42 52
43 def __init__(self, data, dumpsigs): 53 def __init__(self, data):
44 self.basehash = {} 54 self.basehash = {}
45 self.taskhash = {} 55 self.taskhash = {}
46 self.taskdeps = {} 56 self.taskdeps = {}
47 self.runtaskdeps = {} 57 self.runtaskdeps = {}
48 self.gendeps = {} 58 self.gendeps = {}
49 self.lookupcache = {} 59 self.lookupcache = {}
50 self.basewhitelist = (data.getVar("BB_HASHBASE_WHITELIST", True) or "").split() 60 self.basewhitelist = set((data.getVar("BB_HASHBASE_WHITELIST", True) or "").split())
51 self.taskwhitelist = data.getVar("BB_HASHTASK_WHITELIST", True) or None 61 self.taskwhitelist = data.getVar("BB_HASHTASK_WHITELIST", True) or None
52 62
53 if self.taskwhitelist: 63 if self.taskwhitelist:
@@ -57,17 +67,31 @@ class SignatureGeneratorBasic(SignatureGenerator):
57 67
58 def _build_data(self, fn, d): 68 def _build_data(self, fn, d):
59 69
60 taskdeps, gendeps = bb.data.generate_dependencies(d) 70 tasklist, gendeps = bb.data.generate_dependencies(d)
61 71
72 taskdeps = {}
62 basehash = {} 73 basehash = {}
63 lookupcache = {} 74 lookupcache = {}
64 75
65 for task in taskdeps: 76 for task in tasklist:
66 data = d.getVar(task, False) 77 data = d.getVar(task, False)
67 lookupcache[task] = data 78 lookupcache[task] = data
68 for dep in sorted(taskdeps[task]): 79
69 if dep in self.basewhitelist: 80 newdeps = gendeps[task]
70 continue 81 seen = set()
82 while newdeps:
83 nextdeps = newdeps
84 seen |= nextdeps
85 newdeps = set()
86 for dep in nextdeps:
87 if dep in self.basewhitelist:
88 continue
89 newdeps |= gendeps[dep]
90 newdeps -= seen
91
92 alldeps = seen - self.basewhitelist
93
94 for dep in sorted(alldeps):
71 if dep in lookupcache: 95 if dep in lookupcache:
72 var = lookupcache[dep] 96 var = lookupcache[dep]
73 else: 97 else:
@@ -78,7 +102,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
78 if data is None: 102 if data is None:
79 bb.error("Task %s from %s seems to be empty?!" % (task, fn)) 103 bb.error("Task %s from %s seems to be empty?!" % (task, fn))
80 self.basehash[fn + "." + task] = hashlib.md5(data).hexdigest() 104 self.basehash[fn + "." + task] = hashlib.md5(data).hexdigest()
81 #bb.note("Hash for %s is %s" % (task, tashhash[task])) 105 taskdeps[task] = sorted(alldeps)
82 106
83 self.taskdeps[fn] = taskdeps 107 self.taskdeps[fn] = taskdeps
84 self.gendeps[fn] = gendeps 108 self.gendeps[fn] = gendeps
@@ -110,7 +134,6 @@ class SignatureGeneratorBasic(SignatureGenerator):
110 # then process the actual dependencies 134 # then process the actual dependencies
111 dep_fn = re.search("(?P<fn>.*)\..*", dep).group('fn') 135 dep_fn = re.search("(?P<fn>.*)\..*", dep).group('fn')
112 if self.twl.search(dataCache.pkg_fn[dep_fn]): 136 if self.twl.search(dataCache.pkg_fn[dep_fn]):
113 #bb.note("Skipping %s" % dep)
114 continue 137 continue
115 if dep not in self.taskhash: 138 if dep not in self.taskhash:
116 bb.fatal("%s is not in taskhash, caller isn't calling in dependency order?", dep) 139 bb.fatal("%s is not in taskhash, caller isn't calling in dependency order?", dep)
@@ -170,6 +193,17 @@ class SignatureGeneratorBasic(SignatureGenerator):
170 bb.error("The mismatched hashes were %s and %s" % (dataCache.basetaskhash[k], self.basehash[k])) 193 bb.error("The mismatched hashes were %s and %s" % (dataCache.basetaskhash[k], self.basehash[k]))
171 self.dump_sigtask(fn, task, dataCache.stamp[fn], True) 194 self.dump_sigtask(fn, task, dataCache.stamp[fn], True)
172 195
196class SignatureGeneratorBasicHash(SignatureGeneratorBasic):
197 name = "basichash"
198
199 def stampfile(self, stampbase, fn, taskname, extrainfo):
200 if taskname != "do_setscene" and taskname.endswith("_setscene"):
201 k = fn + "." + taskname[:-9]
202 else:
203 k = fn + "." + taskname
204 h = self.taskhash[k]
205 return ("%s.%s.%s.%s" % (stampbase, taskname, h, extrainfo)).rstrip('.')
206
173def dump_this_task(outfile, d): 207def dump_this_task(outfile, d):
174 fn = d.getVar("BB_FILENAME", True) 208 fn = d.getVar("BB_FILENAME", True)
175 task = "do_" + d.getVar("BB_CURRENTTASK", True) 209 task = "do_" + d.getVar("BB_CURRENTTASK", True)
@@ -181,10 +215,6 @@ def compare_sigfiles(a, b):
181 p2 = pickle.Unpickler(file(b, "rb")) 215 p2 = pickle.Unpickler(file(b, "rb"))
182 b_data = p2.load() 216 b_data = p2.load()
183 217
184 #print "Checking"
185 #print str(a_data)
186 #print str(b_data)
187
188 def dict_diff(a, b): 218 def dict_diff(a, b):
189 sa = set(a.keys()) 219 sa = set(a.keys())
190 sb = set(b.keys()) 220 sb = set(b.keys())
@@ -195,7 +225,7 @@ def compare_sigfiles(a, b):
195 changed.add(i) 225 changed.add(i)
196 added = sa - sb 226 added = sa - sb
197 removed = sb - sa 227 removed = sb - sa
198 return changed, added, removed 228 return changed, added, removed
199 229
200 if 'basewhitelist' in a_data and a_data['basewhitelist'] != b_data['basewhitelist']: 230 if 'basewhitelist' in a_data and a_data['basewhitelist'] != b_data['basewhitelist']:
201 print "basewhitelist changed from %s to %s" % (a_data['basewhitelist'], b_data['basewhitelist']) 231 print "basewhitelist changed from %s to %s" % (a_data['basewhitelist'], b_data['basewhitelist'])
@@ -225,18 +255,20 @@ def compare_sigfiles(a, b):
225 if changed: 255 if changed:
226 for dep in changed: 256 for dep in changed:
227 print "Variable %s value changed from %s to %s" % (dep, a_data['varvals'][dep], b_data['varvals'][dep]) 257 print "Variable %s value changed from %s to %s" % (dep, a_data['varvals'][dep], b_data['varvals'][dep])
228 #if added:
229 # print "Dependency on variable %s was added (value %s)" % (dep, b_data['gendeps'][dep])
230 #if removed:
231 # print "Dependency on Variable %s was removed (value %s)" % (dep, a_data['gendeps'][dep])
232 258
233 if 'runtaskdeps' in a_data and 'runtaskdeps' in b_data and sorted(a_data['runtaskdeps']) != sorted(b_data['runtaskdeps']): 259 if 'runtaskhashes' in a_data and 'runtaskhashes' in b_data:
234 print "Tasks this task depends on changed from %s to %s" % (sorted(a_data['runtaskdeps']), sorted(b_data['runtaskdeps'])) 260 changed, added, removed = dict_diff(a_data['runtaskhashes'], b_data['runtaskhashes'])
235 261 if added:
236 if 'runtaskhashes' in a_data: 262 for dep in added:
237 for dep in a_data['runtaskhashes']: 263 print "Dependency on task %s was added" % (dep)
238 if a_data['runtaskhashes'][dep] != b_data['runtaskhashes'][dep]: 264 if removed:
265 for dep in removed:
266 print "Dependency on task %s was removed" % (dep)
267 if changed:
268 for dep in changed:
239 print "Hash for dependent task %s changed from %s to %s" % (dep, a_data['runtaskhashes'][dep], b_data['runtaskhashes'][dep]) 269 print "Hash for dependent task %s changed from %s to %s" % (dep, a_data['runtaskhashes'][dep], b_data['runtaskhashes'][dep])
270 elif 'runtaskdeps' in a_data and 'runtaskdeps' in b_data and sorted(a_data['runtaskdeps']) != sorted(b_data['runtaskdeps']):
271 print "Tasks this task depends on changed from %s to %s" % (sorted(a_data['runtaskdeps']), sorted(b_data['runtaskdeps']))
240 272
241def dump_sigfile(a): 273def dump_sigfile(a):
242 p1 = pickle.Unpickler(file(a, "rb")) 274 p1 = pickle.Unpickler(file(a, "rb"))
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py
index e31f967850..81a42b7b53 100644
--- a/bitbake/lib/bb/taskdata.py
+++ b/bitbake/lib/bb/taskdata.py
@@ -23,20 +23,19 @@ Task data collection and handling
23# with this program; if not, write to the Free Software Foundation, Inc., 23# with this program; if not, write to the Free Software Foundation, Inc.,
24# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 24# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
25 25
26import logging
27import re
26import bb 28import bb
27 29
30logger = logging.getLogger("BitBake.TaskData")
31
28def re_match_strings(target, strings): 32def re_match_strings(target, strings):
29 """ 33 """
30 Whether or not the string 'target' matches 34 Whether or not the string 'target' matches
31 any one string of the strings which can be regular expression string 35 any one string of the strings which can be regular expression string
32 """ 36 """
33 import re 37 return any(name == target or re.match(name, target)
34 38 for name in strings)
35 for name in strings:
36 if (name==target or
37 re.search(name, target)!=None):
38 return True
39 return False
40 39
41class TaskData: 40class TaskData:
42 """ 41 """
@@ -182,7 +181,7 @@ class TaskData:
182 if not fnid in self.depids: 181 if not fnid in self.depids:
183 dependids = {} 182 dependids = {}
184 for depend in dataCache.deps[fn]: 183 for depend in dataCache.deps[fn]:
185 bb.msg.debug(2, bb.msg.domain.TaskData, "Added dependency %s for %s" % (depend, fn)) 184 logger.debug(2, "Added dependency %s for %s", depend, fn)
186 dependids[self.getbuild_id(depend)] = None 185 dependids[self.getbuild_id(depend)] = None
187 self.depids[fnid] = dependids.keys() 186 self.depids[fnid] = dependids.keys()
188 187
@@ -192,12 +191,12 @@ class TaskData:
192 rdepends = dataCache.rundeps[fn] 191 rdepends = dataCache.rundeps[fn]
193 rrecs = dataCache.runrecs[fn] 192 rrecs = dataCache.runrecs[fn]
194 for package in rdepends: 193 for package in rdepends:
195 for rdepend in bb.utils.explode_deps(rdepends[package]): 194 for rdepend in rdepends[package]:
196 bb.msg.debug(2, bb.msg.domain.TaskData, "Added runtime dependency %s for %s" % (rdepend, fn)) 195 logger.debug(2, "Added runtime dependency %s for %s", rdepend, fn)
197 rdependids[self.getrun_id(rdepend)] = None 196 rdependids[self.getrun_id(rdepend)] = None
198 for package in rrecs: 197 for package in rrecs:
199 for rdepend in bb.utils.explode_deps(rrecs[package]): 198 for rdepend in rrecs[package]:
200 bb.msg.debug(2, bb.msg.domain.TaskData, "Added runtime recommendation %s for %s" % (rdepend, fn)) 199 logger.debug(2, "Added runtime recommendation %s for %s", rdepend, fn)
201 rdependids[self.getrun_id(rdepend)] = None 200 rdependids[self.getrun_id(rdepend)] = None
202 self.rdepids[fnid] = rdependids.keys() 201 self.rdepids[fnid] = rdependids.keys()
203 202
@@ -397,7 +396,7 @@ class TaskData:
397 fnid = self.getfn_id(fn) 396 fnid = self.getfn_id(fn)
398 if fnid in self.failed_fnids: 397 if fnid in self.failed_fnids:
399 continue 398 continue
400 bb.msg.debug(2, bb.msg.domain.Provider, "adding %s to satisfy %s" % (fn, item)) 399 logger.debug(2, "adding %s to satisfy %s", fn, item)
401 self.add_build_target(fn, item) 400 self.add_build_target(fn, item)
402 self.add_tasks(fn, dataCache) 401 self.add_tasks(fn, dataCache)
403 402
@@ -450,7 +449,7 @@ class TaskData:
450 fnid = self.getfn_id(fn) 449 fnid = self.getfn_id(fn)
451 if fnid in self.failed_fnids: 450 if fnid in self.failed_fnids:
452 continue 451 continue
453 bb.msg.debug(2, bb.msg.domain.Provider, "adding '%s' to satisfy runtime '%s'" % (fn, item)) 452 logger.debug(2, "adding '%s' to satisfy runtime '%s'", fn, item)
454 self.add_runtime_target(fn, item) 453 self.add_runtime_target(fn, item)
455 self.add_tasks(fn, dataCache) 454 self.add_tasks(fn, dataCache)
456 455
@@ -463,7 +462,7 @@ class TaskData:
463 """ 462 """
464 if fnid in self.failed_fnids: 463 if fnid in self.failed_fnids:
465 return 464 return
466 bb.msg.debug(1, bb.msg.domain.Provider, "File '%s' is unbuildable, removing..." % self.fn_index[fnid]) 465 logger.debug(1, "File '%s' is unbuildable, removing...", self.fn_index[fnid])
467 self.failed_fnids.append(fnid) 466 self.failed_fnids.append(fnid)
468 for target in self.build_targets: 467 for target in self.build_targets:
469 if fnid in self.build_targets[target]: 468 if fnid in self.build_targets[target]:
@@ -485,12 +484,12 @@ class TaskData:
485 missing_list = [self.build_names_index[targetid]] 484 missing_list = [self.build_names_index[targetid]]
486 else: 485 else:
487 missing_list = [self.build_names_index[targetid]] + missing_list 486 missing_list = [self.build_names_index[targetid]] + missing_list
488 bb.msg.note(2, bb.msg.domain.Provider, "Target '%s' is unbuildable, removing...\nMissing or unbuildable dependency chain was: %s" % (self.build_names_index[targetid], missing_list)) 487 logger.verbose("Target '%s' is unbuildable, removing...\nMissing or unbuildable dependency chain was: %s", self.build_names_index[targetid], missing_list)
489 self.failed_deps.append(targetid) 488 self.failed_deps.append(targetid)
490 dependees = self.get_dependees(targetid) 489 dependees = self.get_dependees(targetid)
491 for fnid in dependees: 490 for fnid in dependees:
492 self.fail_fnid(fnid, missing_list) 491 self.fail_fnid(fnid, missing_list)
493 for taskid in range(len(self.tasks_idepends)): 492 for taskid in xrange(len(self.tasks_idepends)):
494 idepends = self.tasks_idepends[taskid] 493 idepends = self.tasks_idepends[taskid]
495 for (idependid, idependtask) in idepends: 494 for (idependid, idependtask) in idepends:
496 if idependid == targetid: 495 if idependid == targetid:
@@ -498,7 +497,7 @@ class TaskData:
498 497
499 if self.abort and targetid in self.external_targets: 498 if self.abort and targetid in self.external_targets:
500 target = self.build_names_index[targetid] 499 target = self.build_names_index[targetid]
501 bb.msg.error(bb.msg.domain.Provider, "Required build target '%s' has no buildable providers.\nMissing or unbuildable dependency chain was: %s" % (target, missing_list)) 500 logger.error("Required build target '%s' has no buildable providers.\nMissing or unbuildable dependency chain was: %s", target, missing_list)
502 raise bb.providers.NoProvider(target) 501 raise bb.providers.NoProvider(target)
503 502
504 def remove_runtarget(self, targetid, missing_list = []): 503 def remove_runtarget(self, targetid, missing_list = []):
@@ -511,7 +510,7 @@ class TaskData:
511 else: 510 else:
512 missing_list = [self.run_names_index[targetid]] + missing_list 511 missing_list = [self.run_names_index[targetid]] + missing_list
513 512
514 bb.msg.note(1, bb.msg.domain.Provider, "Runtime target '%s' is unbuildable, removing...\nMissing or unbuildable dependency chain was: %s" % (self.run_names_index[targetid], missing_list)) 513 logger.info("Runtime target '%s' is unbuildable, removing...\nMissing or unbuildable dependency chain was: %s", self.run_names_index[targetid], missing_list)
515 self.failed_rdeps.append(targetid) 514 self.failed_rdeps.append(targetid)
516 dependees = self.get_rdependees(targetid) 515 dependees = self.get_rdependees(targetid)
517 for fnid in dependees: 516 for fnid in dependees:
@@ -521,7 +520,7 @@ class TaskData:
521 """ 520 """
522 Resolve all unresolved build and runtime targets 521 Resolve all unresolved build and runtime targets
523 """ 522 """
524 bb.msg.note(1, bb.msg.domain.TaskData, "Resolving any missing task queue dependencies") 523 logger.info("Resolving any missing task queue dependencies")
525 while True: 524 while True:
526 added = 0 525 added = 0
527 for target in self.get_unresolved_build_targets(dataCache): 526 for target in self.get_unresolved_build_targets(dataCache):
@@ -539,7 +538,7 @@ class TaskData:
539 added = added + 1 538 added = added + 1
540 except bb.providers.NoRProvider: 539 except bb.providers.NoRProvider:
541 self.remove_runtarget(self.getrun_id(target)) 540 self.remove_runtarget(self.getrun_id(target))
542 bb.msg.debug(1, bb.msg.domain.TaskData, "Resolved " + str(added) + " extra dependencies") 541 logger.debug(1, "Resolved " + str(added) + " extra dependencies")
543 if added == 0: 542 if added == 0:
544 break 543 break
545 # self.dump_data() 544 # self.dump_data()
@@ -548,40 +547,40 @@ class TaskData:
548 """ 547 """
549 Dump some debug information on the internal data structures 548 Dump some debug information on the internal data structures
550 """ 549 """
551 bb.msg.debug(3, bb.msg.domain.TaskData, "build_names:") 550 logger.debug(3, "build_names:")
552 bb.msg.debug(3, bb.msg.domain.TaskData, ", ".join(self.build_names_index)) 551 logger.debug(3, ", ".join(self.build_names_index))
553 552
554 bb.msg.debug(3, bb.msg.domain.TaskData, "run_names:") 553 logger.debug(3, "run_names:")
555 bb.msg.debug(3, bb.msg.domain.TaskData, ", ".join(self.run_names_index)) 554 logger.debug(3, ", ".join(self.run_names_index))
556 555
557 bb.msg.debug(3, bb.msg.domain.TaskData, "build_targets:") 556 logger.debug(3, "build_targets:")
558 for buildid in range(len(self.build_names_index)): 557 for buildid in xrange(len(self.build_names_index)):
559 target = self.build_names_index[buildid] 558 target = self.build_names_index[buildid]
560 targets = "None" 559 targets = "None"
561 if buildid in self.build_targets: 560 if buildid in self.build_targets:
562 targets = self.build_targets[buildid] 561 targets = self.build_targets[buildid]
563 bb.msg.debug(3, bb.msg.domain.TaskData, " (%s)%s: %s" % (buildid, target, targets)) 562 logger.debug(3, " (%s)%s: %s", buildid, target, targets)
564 563
565 bb.msg.debug(3, bb.msg.domain.TaskData, "run_targets:") 564 logger.debug(3, "run_targets:")
566 for runid in range(len(self.run_names_index)): 565 for runid in xrange(len(self.run_names_index)):
567 target = self.run_names_index[runid] 566 target = self.run_names_index[runid]
568 targets = "None" 567 targets = "None"
569 if runid in self.run_targets: 568 if runid in self.run_targets:
570 targets = self.run_targets[runid] 569 targets = self.run_targets[runid]
571 bb.msg.debug(3, bb.msg.domain.TaskData, " (%s)%s: %s" % (runid, target, targets)) 570 logger.debug(3, " (%s)%s: %s", runid, target, targets)
572 571
573 bb.msg.debug(3, bb.msg.domain.TaskData, "tasks:") 572 logger.debug(3, "tasks:")
574 for task in range(len(self.tasks_name)): 573 for task in xrange(len(self.tasks_name)):
575 bb.msg.debug(3, bb.msg.domain.TaskData, " (%s)%s - %s: %s" % ( 574 logger.debug(3, " (%s)%s - %s: %s",
576 task, 575 task,
577 self.fn_index[self.tasks_fnid[task]], 576 self.fn_index[self.tasks_fnid[task]],
578 self.tasks_name[task], 577 self.tasks_name[task],
579 self.tasks_tdepends[task])) 578 self.tasks_tdepends[task])
580 579
581 bb.msg.debug(3, bb.msg.domain.TaskData, "dependency ids (per fn):") 580 logger.debug(3, "dependency ids (per fn):")
582 for fnid in self.depids: 581 for fnid in self.depids:
583 bb.msg.debug(3, bb.msg.domain.TaskData, " %s %s: %s" % (fnid, self.fn_index[fnid], self.depids[fnid])) 582 logger.debug(3, " %s %s: %s", fnid, self.fn_index[fnid], self.depids[fnid])
584 583
585 bb.msg.debug(3, bb.msg.domain.TaskData, "runtime dependency ids (per fn):") 584 logger.debug(3, "runtime dependency ids (per fn):")
586 for fnid in self.rdepids: 585 for fnid in self.rdepids:
587 bb.msg.debug(3, bb.msg.domain.TaskData, " %s %s: %s" % (fnid, self.fn_index[fnid], self.rdepids[fnid])) 586 logger.debug(3, " %s %s: %s", fnid, self.fn_index[fnid], self.rdepids[fnid])
diff --git a/bitbake/lib/bb/ui/crumbs/progress.py b/bitbake/lib/bb/ui/crumbs/progress.py
index 8bd87108e6..36eca38294 100644
--- a/bitbake/lib/bb/ui/crumbs/progress.py
+++ b/bitbake/lib/bb/ui/crumbs/progress.py
@@ -14,4 +14,4 @@ class ProgressBar(gtk.Dialog):
14 14
15 def update(self, x, y): 15 def update(self, x, y):
16 self.progress.set_fraction(float(x)/float(y)) 16 self.progress.set_fraction(float(x)/float(y))
17 self.progress.set_text("%d/%d (%2d %%)" % (x, y, x*100/y)) 17 self.progress.set_text("%2d %%" % (x*100/y))
diff --git a/bitbake/lib/bb/ui/crumbs/runningbuild.py b/bitbake/lib/bb/ui/crumbs/runningbuild.py
index 9730bfd472..4703e6d844 100644
--- a/bitbake/lib/bb/ui/crumbs/runningbuild.py
+++ b/bitbake/lib/bb/ui/crumbs/runningbuild.py
@@ -1,3 +1,4 @@
1
1# 2#
2# BitBake Graphical GTK User Interface 3# BitBake Graphical GTK User Interface
3# 4#
@@ -20,9 +21,20 @@
20 21
21import gtk 22import gtk
22import gobject 23import gobject
24import logging
25import time
26import urllib
27import urllib2
28
29class Colors(object):
30 OK = "#ffffff"
31 RUNNING = "#aaffaa"
32 WARNING ="#f88017"
33 ERROR = "#ffaaaa"
23 34
24class RunningBuildModel (gtk.TreeStore): 35class RunningBuildModel (gtk.TreeStore):
25 (COL_TYPE, COL_PACKAGE, COL_TASK, COL_MESSAGE, COL_ICON, COL_ACTIVE) = (0, 1, 2, 3, 4, 5) 36 (COL_LOG, COL_PACKAGE, COL_TASK, COL_MESSAGE, COL_ICON, COL_COLOR, COL_NUM_ACTIVE) = range(7)
37
26 def __init__ (self): 38 def __init__ (self):
27 gtk.TreeStore.__init__ (self, 39 gtk.TreeStore.__init__ (self,
28 gobject.TYPE_STRING, 40 gobject.TYPE_STRING,
@@ -30,7 +42,8 @@ class RunningBuildModel (gtk.TreeStore):
30 gobject.TYPE_STRING, 42 gobject.TYPE_STRING,
31 gobject.TYPE_STRING, 43 gobject.TYPE_STRING,
32 gobject.TYPE_STRING, 44 gobject.TYPE_STRING,
33 gobject.TYPE_BOOLEAN) 45 gobject.TYPE_STRING,
46 gobject.TYPE_INT)
34 47
35class RunningBuild (gobject.GObject): 48class RunningBuild (gobject.GObject):
36 __gsignals__ = { 49 __gsignals__ = {
@@ -63,32 +76,42 @@ class RunningBuild (gobject.GObject):
63 # for the message. 76 # for the message.
64 if hasattr(event, 'pid'): 77 if hasattr(event, 'pid'):
65 pid = event.pid 78 pid = event.pid
66 if pid in self.pids_to_task: 79 if hasattr(event, 'process'):
67 (package, task) = self.pids_to_task[pid] 80 pid = event.process
68 parent = self.tasks_to_iter[(package, task)] 81
82 if pid and pid in self.pids_to_task:
83 (package, task) = self.pids_to_task[pid]
84 parent = self.tasks_to_iter[(package, task)]
69 85
70 if isinstance(event, bb.msg.MsgBase): 86 if(isinstance(event, logging.LogRecord)):
71 # Ignore the "Running task i of n .." 87 if (event.msg.startswith ("Running task")):
72 if (event._message.startswith ("Running task")):
73 return # don't add these to the list 88 return # don't add these to the list
74 89
75 # Set a pretty icon for the message based on it's type. 90 if event.levelno >= logging.ERROR:
76 if isinstance(event, bb.msg.MsgWarn):
77 icon = "dialog-warning"
78 elif isinstance(event, bb.msg.MsgError):
79 icon = "dialog-error" 91 icon = "dialog-error"
92 color = Colors.ERROR
93 elif event.levelno >= logging.WARNING:
94 icon = "dialog-warning"
95 color = Colors.WARNING
80 else: 96 else:
81 icon = None 97 icon = None
98 color = Colors.OK
99
100 # if we know which package we belong to, we'll append onto its list.
101 # otherwise, we'll jump to the top of the master list
102 if parent:
103 tree_add = self.model.append
104 else:
105 tree_add = self.model.prepend
106 tree_add(parent,
107 (None,
108 package,
109 task,
110 event.getMessage(),
111 icon,
112 color,
113 0))
82 114
83 # Add the message to the tree either at the top level if parent is
84 # None otherwise as a descendent of a task.
85 self.model.append (parent,
86 (event.__class__.__name__.split()[-1], # e.g. MsgWarn, MsgError
87 package,
88 task,
89 event._message,
90 icon,
91 False))
92 elif isinstance(event, bb.build.TaskStarted): 115 elif isinstance(event, bb.build.TaskStarted):
93 (package, task) = (event._package, event._task) 116 (package, task) = (event._package, event._task)
94 117
@@ -101,76 +124,142 @@ class RunningBuild (gobject.GObject):
101 if ((package, None) in self.tasks_to_iter): 124 if ((package, None) in self.tasks_to_iter):
102 parent = self.tasks_to_iter[(package, None)] 125 parent = self.tasks_to_iter[(package, None)]
103 else: 126 else:
104 parent = self.model.append (None, (None, 127 parent = self.model.prepend(None, (None,
105 package, 128 package,
106 None, 129 None,
107 "Package: %s" % (package), 130 "Package: %s" % (package),
108 None, 131 None,
109 False)) 132 Colors.OK,
133 0))
110 self.tasks_to_iter[(package, None)] = parent 134 self.tasks_to_iter[(package, None)] = parent
111 135
112 # Because this parent package now has an active child mark it as 136 # Because this parent package now has an active child mark it as
113 # such. 137 # such.
114 self.model.set(parent, self.model.COL_ICON, "gtk-execute") 138 # @todo if parent is already in error, don't mark it green
139 self.model.set(parent, self.model.COL_ICON, "gtk-execute",
140 self.model.COL_COLOR, Colors.RUNNING)
115 141
116 # Add an entry in the model for this task 142 # Add an entry in the model for this task
117 i = self.model.append (parent, (None, 143 i = self.model.append (parent, (None,
118 package, 144 package,
119 task, 145 task,
120 "Task: %s" % (task), 146 "Task: %s" % (task),
121 None, 147 "gtk-execute",
122 False)) 148 Colors.RUNNING,
149 0))
150
151 # update the parent's active task count
152 num_active = self.model.get(parent, self.model.COL_NUM_ACTIVE)[0] + 1
153 self.model.set(parent, self.model.COL_NUM_ACTIVE, num_active)
123 154
124 # Save out the iter so that we can find it when we have a message 155 # Save out the iter so that we can find it when we have a message
125 # that we need to attach to a task. 156 # that we need to attach to a task.
126 self.tasks_to_iter[(package, task)] = i 157 self.tasks_to_iter[(package, task)] = i
127 158
128 # Mark this task as active.
129 self.model.set(i, self.model.COL_ICON, "gtk-execute")
130
131 elif isinstance(event, bb.build.TaskBase): 159 elif isinstance(event, bb.build.TaskBase):
160 current = self.tasks_to_iter[(package, task)]
161 parent = self.tasks_to_iter[(package, None)]
162
163 # remove this task from the parent's active count
164 num_active = self.model.get(parent, self.model.COL_NUM_ACTIVE)[0] - 1
165 self.model.set(parent, self.model.COL_NUM_ACTIVE, num_active)
132 166
133 if isinstance(event, bb.build.TaskFailed): 167 if isinstance(event, bb.build.TaskFailed):
134 # Mark the task as failed 168 # Mark the task and parent as failed
135 i = self.tasks_to_iter[(package, task)] 169 icon = "dialog-error"
136 self.model.set(i, self.model.COL_ICON, "dialog-error") 170 color = Colors.ERROR
137 171
138 # Mark the parent package as failed 172 logfile = event.logfile
139 i = self.tasks_to_iter[(package, None)] 173 if logfile and os.path.exists(logfile):
140 self.model.set(i, self.model.COL_ICON, "dialog-error") 174 with open(logfile) as f:
175 logdata = f.read()
176 self.model.append(current, ('pastebin', None, None, logdata, 'gtk-error', Colors.OK, 0))
177
178 for i in (current, parent):
179 self.model.set(i, self.model.COL_ICON, icon,
180 self.model.COL_COLOR, color)
141 else: 181 else:
182 icon = None
183 color = Colors.OK
184
142 # Mark the task as inactive 185 # Mark the task as inactive
143 i = self.tasks_to_iter[(package, task)] 186 self.model.set(current, self.model.COL_ICON, icon,
144 self.model.set(i, self.model.COL_ICON, None) 187 self.model.COL_COLOR, color)
145 188
146 # Mark the parent package as inactive 189 # Mark the parent package as inactive, but make sure to
190 # preserve error and active states
147 i = self.tasks_to_iter[(package, None)] 191 i = self.tasks_to_iter[(package, None)]
148 self.model.set(i, self.model.COL_ICON, None) 192 if self.model.get(parent, self.model.COL_ICON) != 'dialog-error':
149 193 self.model.set(parent, self.model.COL_ICON, icon)
194 if num_active == 0:
195 self.model.set(parent, self.model.COL_COLOR, Colors.OK)
150 196
151 # Clear the iters and the pids since when the task goes away the 197 # Clear the iters and the pids since when the task goes away the
152 # pid will no longer be used for messages 198 # pid will no longer be used for messages
153 del self.tasks_to_iter[(package, task)] 199 del self.tasks_to_iter[(package, task)]
154 del self.pids_to_task[pid] 200 del self.pids_to_task[pid]
155 201
202 elif isinstance(event, bb.event.BuildStarted):
203
204 self.model.prepend(None, (None,
205 None,
206 None,
207 "Build Started (%s)" % time.strftime('%m/%d/%Y %H:%M:%S'),
208 None,
209 Colors.OK,
210 0))
156 elif isinstance(event, bb.event.BuildCompleted): 211 elif isinstance(event, bb.event.BuildCompleted):
157 failures = int (event._failures) 212 failures = int (event._failures)
213 self.model.prepend(None, (None,
214 None,
215 None,
216 "Build Completed (%s)" % time.strftime('%m/%d/%Y %H:%M:%S'),
217 None,
218 Colors.OK,
219 0))
158 220
159 # Emit the appropriate signal depending on the number of failures 221 # Emit the appropriate signal depending on the number of failures
160 if (failures > 1): 222 if (failures >= 1):
161 self.emit ("build-failed") 223 self.emit ("build-failed")
162 else: 224 else:
163 self.emit ("build-succeeded") 225 self.emit ("build-succeeded")
164 226
227 elif isinstance(event, bb.event.CacheLoadStarted) and pbar:
228 pbar.set_title("Loading cache")
229 self.progress_total = event.total
230 pbar.update(0, self.progress_total)
231 elif isinstance(event, bb.event.CacheLoadProgress) and pbar:
232 pbar.update(event.current, self.progress_total)
233 elif isinstance(event, bb.event.CacheLoadCompleted) and pbar:
234 pbar.update(self.progress_total, self.progress_total)
235
236 elif isinstance(event, bb.event.ParseStarted) and pbar:
237 pbar.set_title("Processing recipes")
238 self.progress_total = event.total
239 pbar.update(0, self.progress_total)
165 elif isinstance(event, bb.event.ParseProgress) and pbar: 240 elif isinstance(event, bb.event.ParseProgress) and pbar:
166 x = event.sofar 241 pbar.update(event.current, self.progress_total)
167 y = event.total 242 elif isinstance(event, bb.event.ParseCompleted) and pbar:
168 if x == y: 243 pbar.hide()
169 pbar.hide() 244
170 return 245 return
171 pbar.update(x, y) 246
247
248def do_pastebin(text):
249 url = 'http://pastebin.com/api_public.php'
250 params = {'paste_code': text, 'paste_format': 'text'}
251
252 req = urllib2.Request(url, urllib.urlencode(params))
253 response = urllib2.urlopen(req)
254 paste_url = response.read()
255
256 return paste_url
257
172 258
173class RunningBuildTreeView (gtk.TreeView): 259class RunningBuildTreeView (gtk.TreeView):
260 __gsignals__ = {
261 "button_press_event" : "override"
262 }
174 def __init__ (self): 263 def __init__ (self):
175 gtk.TreeView.__init__ (self) 264 gtk.TreeView.__init__ (self)
176 265
@@ -181,6 +270,42 @@ class RunningBuildTreeView (gtk.TreeView):
181 self.append_column (col) 270 self.append_column (col)
182 271
183 # The message of the build. 272 # The message of the build.
184 renderer = gtk.CellRendererText () 273 self.message_renderer = gtk.CellRendererText ()
185 col = gtk.TreeViewColumn ("Message", renderer, text=3) 274 self.message_column = gtk.TreeViewColumn ("Message", self.message_renderer, text=3)
186 self.append_column (col) 275 self.message_column.add_attribute(self.message_renderer, 'background', 5)
276 self.message_renderer.set_property('editable', 5)
277 self.append_column (self.message_column)
278
279 def do_button_press_event(self, event):
280 gtk.TreeView.do_button_press_event(self, event)
281
282 if event.button == 3:
283 selection = super(RunningBuildTreeView, self).get_selection()
284 (model, iter) = selection.get_selected()
285 if iter is not None:
286 can_paste = model.get(iter, model.COL_LOG)[0]
287 if can_paste == 'pastebin':
288 # build a simple menu with a pastebin option
289 menu = gtk.Menu()
290 menuitem = gtk.MenuItem("Send log to pastebin")
291 menu.append(menuitem)
292 menuitem.connect("activate", self.pastebin_handler, (model, iter))
293 menuitem.show()
294 menu.show()
295 menu.popup(None, None, None, event.button, event.time)
296
297 def pastebin_handler(self, widget, data):
298 """
299 Send the log data to pastebin, then add the new paste url to the
300 clipboard.
301 """
302 (model, iter) = data
303 paste_url = do_pastebin(model.get(iter, model.COL_MESSAGE)[0])
304
305 # @todo Provide visual feedback to the user that it is done and that
306 # it worked.
307 print paste_url
308
309 clipboard = gtk.clipboard_get()
310 clipboard.set_text(paste_url)
311 clipboard.store() \ No newline at end of file
diff --git a/bitbake/lib/bb/ui/depexp.py b/bitbake/lib/bb/ui/depexp.py
index 6fd18d1684..3dbd5e0eca 100644
--- a/bitbake/lib/bb/ui/depexp.py
+++ b/bitbake/lib/bb/ui/depexp.py
@@ -19,8 +19,11 @@
19 19
20import gobject 20import gobject
21import gtk 21import gtk
22import Queue
22import threading 23import threading
23import xmlrpclib 24import xmlrpclib
25import bb
26import bb.event
24from bb.ui.crumbs.progress import ProgressBar 27from bb.ui.crumbs.progress import ProgressBar
25 28
26# Package Model 29# Package Model
@@ -30,6 +33,7 @@ from bb.ui.crumbs.progress import ProgressBar
30(TYPE_DEP, TYPE_RDEP) = (0, 1) 33(TYPE_DEP, TYPE_RDEP) = (0, 1)
31(COL_DEP_TYPE, COL_DEP_PARENT, COL_DEP_PACKAGE) = (0, 1, 2) 34(COL_DEP_TYPE, COL_DEP_PARENT, COL_DEP_PACKAGE) = (0, 1, 2)
32 35
36
33class PackageDepView(gtk.TreeView): 37class PackageDepView(gtk.TreeView):
34 def __init__(self, model, dep_type, label): 38 def __init__(self, model, dep_type, label):
35 gtk.TreeView.__init__(self) 39 gtk.TreeView.__init__(self)
@@ -50,6 +54,7 @@ class PackageDepView(gtk.TreeView):
50 self.current = package 54 self.current = package
51 self.filter_model.refilter() 55 self.filter_model.refilter()
52 56
57
53class PackageReverseDepView(gtk.TreeView): 58class PackageReverseDepView(gtk.TreeView):
54 def __init__(self, model, label): 59 def __init__(self, model, label):
55 gtk.TreeView.__init__(self) 60 gtk.TreeView.__init__(self)
@@ -67,6 +72,7 @@ class PackageReverseDepView(gtk.TreeView):
67 self.current = package 72 self.current = package
68 self.filter_model.refilter() 73 self.filter_model.refilter()
69 74
75
70class DepExplorer(gtk.Window): 76class DepExplorer(gtk.Window):
71 def __init__(self): 77 def __init__(self):
72 gtk.Window.__init__(self) 78 gtk.Window.__init__(self)
@@ -76,7 +82,9 @@ class DepExplorer(gtk.Window):
76 82
77 # Create the data models 83 # Create the data models
78 self.pkg_model = gtk.ListStore(gobject.TYPE_STRING) 84 self.pkg_model = gtk.ListStore(gobject.TYPE_STRING)
85 self.pkg_model.set_sort_column_id(COL_PKG_NAME, gtk.SORT_ASCENDING)
79 self.depends_model = gtk.ListStore(gobject.TYPE_INT, gobject.TYPE_STRING, gobject.TYPE_STRING) 86 self.depends_model = gtk.ListStore(gobject.TYPE_INT, gobject.TYPE_STRING, gobject.TYPE_STRING)
87 self.depends_model.set_sort_column_id(COL_DEP_PACKAGE, gtk.SORT_ASCENDING)
80 88
81 pane = gtk.HPaned() 89 pane = gtk.HPaned()
82 pane.set_position(250) 90 pane.set_position(250)
@@ -86,9 +94,11 @@ class DepExplorer(gtk.Window):
86 scrolled = gtk.ScrolledWindow() 94 scrolled = gtk.ScrolledWindow()
87 scrolled.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) 95 scrolled.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
88 scrolled.set_shadow_type(gtk.SHADOW_IN) 96 scrolled.set_shadow_type(gtk.SHADOW_IN)
97
89 self.pkg_treeview = gtk.TreeView(self.pkg_model) 98 self.pkg_treeview = gtk.TreeView(self.pkg_model)
90 self.pkg_treeview.get_selection().connect("changed", self.on_cursor_changed) 99 self.pkg_treeview.get_selection().connect("changed", self.on_cursor_changed)
91 self.pkg_treeview.append_column(gtk.TreeViewColumn("Package", gtk.CellRendererText(), text=COL_PKG_NAME)) 100 column = gtk.TreeViewColumn("Package", gtk.CellRendererText(), text=COL_PKG_NAME)
101 self.pkg_treeview.append_column(column)
92 pane.add1(scrolled) 102 pane.add1(scrolled)
93 scrolled.add(self.pkg_treeview) 103 scrolled.add(self.pkg_treeview)
94 104
@@ -154,7 +164,6 @@ class DepExplorer(gtk.Window):
154 164
155 165
156def parse(depgraph, pkg_model, depends_model): 166def parse(depgraph, pkg_model, depends_model):
157
158 for package in depgraph["pn"]: 167 for package in depgraph["pn"]:
159 pkg_model.set(pkg_model.append(), COL_PKG_NAME, package) 168 pkg_model.set(pkg_model.append(), COL_PKG_NAME, package)
160 169
@@ -172,6 +181,7 @@ def parse(depgraph, pkg_model, depends_model):
172 COL_DEP_PARENT, package, 181 COL_DEP_PARENT, package,
173 COL_DEP_PACKAGE, rdepend) 182 COL_DEP_PACKAGE, rdepend)
174 183
184
175class gtkthread(threading.Thread): 185class gtkthread(threading.Thread):
176 quit = threading.Event() 186 quit = threading.Event()
177 def __init__(self, shutdown): 187 def __init__(self, shutdown):
@@ -185,8 +195,8 @@ class gtkthread(threading.Thread):
185 gtk.main() 195 gtk.main()
186 gtkthread.quit.set() 196 gtkthread.quit.set()
187 197
188def init(server, eventHandler):
189 198
199def main(server, eventHandler):
190 try: 200 try:
191 cmdline = server.runCommand(["getCmdLineAction"]) 201 cmdline = server.runCommand(["getCmdLineAction"])
192 if not cmdline or cmdline[0] != "generateDotGraph": 202 if not cmdline or cmdline[0] != "generateDotGraph":
@@ -208,44 +218,81 @@ def init(server, eventHandler):
208 gtk.gdk.threads_enter() 218 gtk.gdk.threads_enter()
209 dep = DepExplorer() 219 dep = DepExplorer()
210 pbar = ProgressBar(dep) 220 pbar = ProgressBar(dep)
221 pbar.connect("delete-event", gtk.main_quit)
211 gtk.gdk.threads_leave() 222 gtk.gdk.threads_leave()
212 223
224 progress_total = 0
213 while True: 225 while True:
214 try: 226 try:
215 event = eventHandler.waitEvent(0.25) 227 event = eventHandler.waitEvent(0.25)
216 if gtkthread.quit.isSet(): 228 if gtkthread.quit.isSet():
229 server.runCommand(["stateStop"])
217 break 230 break
218 231
219 if event is None: 232 if event is None:
220 continue 233 continue
234
235 if isinstance(event, bb.event.CacheLoadStarted):
236 progress_total = event.total
237 gtk.gdk.threads_enter()
238 pbar.set_title("Loading Cache")
239 pbar.update(0, progress_total)
240 gtk.gdk.threads_leave()
241
242 if isinstance(event, bb.event.CacheLoadProgress):
243 x = event.current
244 gtk.gdk.threads_enter()
245 pbar.update(x, progress_total)
246 gtk.gdk.threads_leave()
247 continue
248
249 if isinstance(event, bb.event.CacheLoadCompleted):
250 gtk.gdk.threads_enter()
251 pbar.update(progress_total, progress_total)
252 gtk.gdk.threads_leave()
253 continue
254
255 if isinstance(event, bb.event.ParseStarted):
256 progress_total = event.total
257 gtk.gdk.threads_enter()
258 pbar.set_title("Processing recipes")
259 pbar.update(0, progress_total)
260 gtk.gdk.threads_leave()
261
221 if isinstance(event, bb.event.ParseProgress): 262 if isinstance(event, bb.event.ParseProgress):
222 x = event.sofar 263 x = event.current
223 y = event.total
224 if x == y:
225 print(("\nParsing finished. %d cached, %d parsed, %d skipped, %d masked, %d errors."
226 % ( event.cached, event.parsed, event.skipped, event.masked, event.errors)))
227 pbar.hide()
228 return
229 gtk.gdk.threads_enter() 264 gtk.gdk.threads_enter()
230 pbar.update(x, y) 265 pbar.update(x, progress_total)
231 gtk.gdk.threads_leave() 266 gtk.gdk.threads_leave()
232 continue 267 continue
233 268
269 if isinstance(event, bb.event.ParseCompleted):
270 pbar.hide()
271 continue
272
234 if isinstance(event, bb.event.DepTreeGenerated): 273 if isinstance(event, bb.event.DepTreeGenerated):
235 gtk.gdk.threads_enter() 274 gtk.gdk.threads_enter()
236 parse(event._depgraph, dep.pkg_model, dep.depends_model) 275 parse(event._depgraph, dep.pkg_model, dep.depends_model)
237 gtk.gdk.threads_leave() 276 gtk.gdk.threads_leave()
238 277
239 if isinstance(event, bb.command.CookerCommandCompleted): 278 if isinstance(event, bb.command.CommandCompleted):
240 continue 279 continue
241 if isinstance(event, bb.command.CookerCommandFailed): 280
281 if isinstance(event, bb.command.CommandFailed):
242 print("Command execution failed: %s" % event.error) 282 print("Command execution failed: %s" % event.error)
243 break 283 return event.exitcode
284
285 if isinstance(event, bb.command.CommandExit):
286 return event.exitcode
287
244 if isinstance(event, bb.cooker.CookerExit): 288 if isinstance(event, bb.cooker.CookerExit):
245 break 289 break
246 290
247 continue 291 continue
248 292 except EnvironmentError as ioerror:
293 # ignore interrupted io
294 if ioerror.args[0] == 4:
295 pass
249 except KeyboardInterrupt: 296 except KeyboardInterrupt:
250 if shutdown == 2: 297 if shutdown == 2:
251 print("\nThird Keyboard Interrupt, exit.\n") 298 print("\nThird Keyboard Interrupt, exit.\n")
diff --git a/bitbake/lib/bb/ui/goggle.py b/bitbake/lib/bb/ui/goggle.py
index 858ca14c45..ec5a38dd4d 100644
--- a/bitbake/lib/bb/ui/goggle.py
+++ b/bitbake/lib/bb/ui/goggle.py
@@ -24,6 +24,9 @@ import xmlrpclib
24from bb.ui.crumbs.runningbuild import RunningBuildTreeView, RunningBuild 24from bb.ui.crumbs.runningbuild import RunningBuildTreeView, RunningBuild
25from bb.ui.crumbs.progress import ProgressBar 25from bb.ui.crumbs.progress import ProgressBar
26 26
27import Queue
28
29
27def event_handle_idle_func (eventHandler, build, pbar): 30def event_handle_idle_func (eventHandler, build, pbar):
28 31
29 # Consume as many messages as we can in the time available to us 32 # Consume as many messages as we can in the time available to us
@@ -37,6 +40,16 @@ def event_handle_idle_func (eventHandler, build, pbar):
37def scroll_tv_cb (model, path, iter, view): 40def scroll_tv_cb (model, path, iter, view):
38 view.scroll_to_cell (path) 41 view.scroll_to_cell (path)
39 42
43
44# @todo hook these into the GUI so the user has feedback...
45def running_build_failed_cb (running_build):
46 pass
47
48
49def running_build_succeeded_cb (running_build):
50 pass
51
52
40class MainWindow (gtk.Window): 53class MainWindow (gtk.Window):
41 def __init__ (self): 54 def __init__ (self):
42 gtk.Window.__init__ (self, gtk.WINDOW_TOPLEVEL) 55 gtk.Window.__init__ (self, gtk.WINDOW_TOPLEVEL)
@@ -49,21 +62,25 @@ class MainWindow (gtk.Window):
49 self.set_default_size(640, 480) 62 self.set_default_size(640, 480)
50 scrolled_window.add (self.cur_build_tv) 63 scrolled_window.add (self.cur_build_tv)
51 64
52def init (server, eventHandler): 65
66def main (server, eventHandler):
53 gobject.threads_init() 67 gobject.threads_init()
54 gtk.gdk.threads_init() 68 gtk.gdk.threads_init()
55 69
56 window = MainWindow () 70 window = MainWindow ()
57 window.show_all () 71 window.show_all ()
58 pbar = ProgressBar(window) 72 pbar = ProgressBar(window)
73 pbar.connect("delete-event", gtk.main_quit)
59 74
60 # Create the object for the current build 75 # Create the object for the current build
61 running_build = RunningBuild () 76 running_build = RunningBuild ()
62 window.cur_build_tv.set_model (running_build.model) 77 window.cur_build_tv.set_model (running_build.model)
63 running_build.model.connect("row-inserted", scroll_tv_cb, window.cur_build_tv) 78 running_build.model.connect("row-inserted", scroll_tv_cb, window.cur_build_tv)
79 running_build.connect ("build-succeeded", running_build_succeeded_cb)
80 running_build.connect ("build-failed", running_build_failed_cb)
81
64 try: 82 try:
65 cmdline = server.runCommand(["getCmdLineAction"]) 83 cmdline = server.runCommand(["getCmdLineAction"])
66 print(cmdline)
67 if not cmdline: 84 if not cmdline:
68 return 1 85 return 1
69 ret = server.runCommand(cmdline) 86 ret = server.runCommand(cmdline)
@@ -76,10 +93,18 @@ def init (server, eventHandler):
76 93
77 # Use a timeout function for probing the event queue to find out if we 94 # Use a timeout function for probing the event queue to find out if we
78 # have a message waiting for us. 95 # have a message waiting for us.
79 gobject.timeout_add (200, 96 gobject.timeout_add (100,
80 event_handle_idle_func, 97 event_handle_idle_func,
81 eventHandler, 98 eventHandler,
82 running_build, 99 running_build,
83 pbar) 100 pbar)
84 101
85 gtk.main() 102 try:
103 gtk.main()
104 except EnvironmentError as ioerror:
105 # ignore interrupted io
106 if ioerror.args[0] == 4:
107 pass
108 finally:
109 server.runCommand(["stateStop"])
110
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py
index 858a00b568..042dbe902c 100644
--- a/bitbake/lib/bb/ui/knotty.py
+++ b/bitbake/lib/bb/ui/knotty.py
@@ -22,15 +22,49 @@ from __future__ import division
22 22
23import os 23import os
24import sys 24import sys
25import itertools
26import xmlrpclib 25import xmlrpclib
27from bb import ui 26import logging
27import progressbar
28import bb.msg
28from bb.ui import uihelper 29from bb.ui import uihelper
29 30
31logger = logging.getLogger("BitBake")
32interactive = sys.stdout.isatty()
30 33
31parsespin = itertools.cycle( r'|/-\\' ) 34class BBProgress(progressbar.ProgressBar):
35 def __init__(self, msg, maxval):
36 self.msg = msg
37 widgets = [progressbar.Percentage(), ' ', progressbar.Bar(), ' ',
38 progressbar.ETA()]
32 39
33def init(server, eventHandler): 40 progressbar.ProgressBar.__init__(self, maxval, [self.msg + ": "] + widgets)
41
42class NonInteractiveProgress(object):
43 fobj = sys.stdout
44
45 def __init__(self, msg, maxval):
46 self.msg = msg
47 self.maxval = maxval
48
49 def start(self):
50 self.fobj.write("%s..." % self.msg)
51 self.fobj.flush()
52 return self
53
54 def update(self, value):
55 pass
56
57 def finish(self):
58 self.fobj.write("done.\n")
59 self.fobj.flush()
60
61def new_progress(msg, maxval):
62 if interactive:
63 return BBProgress(msg, maxval)
64 else:
65 return NonInteractiveProgress(msg, maxval)
66
67def main(server, eventHandler):
34 68
35 # Get values of variables which control our output 69 # Get values of variables which control our output
36 includelogs = server.runCommand(["getVariable", "BBINCLUDELOGS"]) 70 includelogs = server.runCommand(["getVariable", "BBINCLUDELOGS"])
@@ -38,9 +72,13 @@ def init(server, eventHandler):
38 72
39 helper = uihelper.BBUIHelper() 73 helper = uihelper.BBUIHelper()
40 74
75 console = logging.StreamHandler(sys.stdout)
76 format = bb.msg.BBLogFormatter("%(levelname)s: %(message)s")
77 console.setFormatter(format)
78 logger.addHandler(console)
79
41 try: 80 try:
42 cmdline = server.runCommand(["getCmdLineAction"]) 81 cmdline = server.runCommand(["getCmdLineAction"])
43 #print cmdline
44 if not cmdline: 82 if not cmdline:
45 return 1 83 return 1
46 ret = server.runCommand(cmdline) 84 ret = server.runCommand(cmdline)
@@ -51,6 +89,9 @@ def init(server, eventHandler):
51 print("XMLRPC Fault getting commandline:\n %s" % x) 89 print("XMLRPC Fault getting commandline:\n %s" % x)
52 return 1 90 return 1
53 91
92
93 parseprogress = None
94 cacheprogress = None
54 shutdown = 0 95 shutdown = 0
55 return_value = 0 96 return_value = 0
56 while True: 97 while True:
@@ -58,7 +99,6 @@ def init(server, eventHandler):
58 event = eventHandler.waitEvent(0.25) 99 event = eventHandler.waitEvent(0.25)
59 if event is None: 100 if event is None:
60 continue 101 continue
61 #print event
62 helper.eventHandler(event) 102 helper.eventHandler(event)
63 if isinstance(event, bb.runqueue.runQueueExitWait): 103 if isinstance(event, bb.runqueue.runQueueExitWait):
64 if not shutdown: 104 if not shutdown:
@@ -67,31 +107,21 @@ def init(server, eventHandler):
67 activetasks, failedtasks = helper.getTasks() 107 activetasks, failedtasks = helper.getTasks()
68 if activetasks: 108 if activetasks:
69 print("Waiting for %s active tasks to finish:" % len(activetasks)) 109 print("Waiting for %s active tasks to finish:" % len(activetasks))
70 tasknum = 1 110 for tasknum, task in enumerate(activetasks):
71 for task in activetasks:
72 print("%s: %s (pid %s)" % (tasknum, activetasks[task]["title"], task)) 111 print("%s: %s (pid %s)" % (tasknum, activetasks[task]["title"], task))
73 tasknum = tasknum + 1
74 112
75 if isinstance(event, bb.msg.MsgPlain): 113 if isinstance(event, logging.LogRecord):
76 print(event._message) 114 if event.levelno >= format.ERROR:
77 continue 115 return_value = 1
78 if isinstance(event, bb.msg.MsgDebug): 116 # For "normal" logging conditions, don't show note logs from tasks
79 print('DEBUG: ' + event._message) 117 # but do show them if the user has changed the default log level to
80 continue 118 # include verbose/debug messages
81 if isinstance(event, bb.msg.MsgNote): 119 if logger.getEffectiveLevel() > format.VERBOSE:
82 print('NOTE: ' + event._message) 120 if event.taskpid != 0 and event.levelno <= format.NOTE:
83 continue 121 continue
84 if isinstance(event, bb.msg.MsgWarn): 122 logger.handle(event)
85 print('WARNING: ' + event._message)
86 continue
87 if isinstance(event, bb.msg.MsgError):
88 return_value = 1
89 print('ERROR: ' + event._message)
90 continue
91 if isinstance(event, bb.msg.MsgFatal):
92 return_value = 1
93 print('FATAL: ' + event._message)
94 continue 123 continue
124
95 if isinstance(event, bb.build.TaskFailed): 125 if isinstance(event, bb.build.TaskFailed):
96 return_value = 1 126 return_value = 1
97 logfile = event.logfile 127 logfile = event.logfile
@@ -117,42 +147,47 @@ def init(server, eventHandler):
117 for line in lines: 147 for line in lines:
118 print(line) 148 print(line)
119 if isinstance(event, bb.build.TaskBase): 149 if isinstance(event, bb.build.TaskBase):
120 print("NOTE: %s" % event._message) 150 logger.info(event._message)
151 continue
152 if isinstance(event, bb.event.ParseStarted):
153 parseprogress = new_progress("Parsing recipes", event.total).start()
121 continue 154 continue
122 if isinstance(event, bb.event.ParseProgress): 155 if isinstance(event, bb.event.ParseProgress):
123 x = event.sofar 156 parseprogress.update(event.current)
124 y = event.total 157 continue
125 if os.isatty(sys.stdout.fileno()): 158 if isinstance(event, bb.event.ParseCompleted):
126 sys.stdout.write("\rNOTE: Handling BitBake files: %s (%04d/%04d) [%2d %%]" % ( next(parsespin), x, y, x*100//y ) ) 159 parseprogress.finish()
127 sys.stdout.flush() 160 print(("Parsing of %d .bb files complete (%d cached, %d parsed). %d targets, %d skipped, %d masked, %d errors."
128 else: 161 % ( event.total, event.cached, event.parsed, event.virtuals, event.skipped, event.masked, event.errors)))
129 if x == 1: 162 continue
130 sys.stdout.write("Parsing .bb files, please wait...") 163
131 sys.stdout.flush() 164 if isinstance(event, bb.event.CacheLoadStarted):
132 if x == y: 165 cacheprogress = new_progress("Loading cache", event.total).start()
133 sys.stdout.write("done.") 166 continue
134 sys.stdout.flush() 167 if isinstance(event, bb.event.CacheLoadProgress):
135 if x == y: 168 cacheprogress.update(event.current)
136 print(("\nParsing of %d .bb files complete (%d cached, %d parsed). %d targets, %d skipped, %d masked, %d errors." 169 continue
137 % ( event.total, event.cached, event.parsed, event.virtuals, event.skipped, event.masked, event.errors))) 170 if isinstance(event, bb.event.CacheLoadCompleted):
171 cacheprogress.finish()
172 print("Loaded %d entries from dependency cache." % event.num_entries)
138 continue 173 continue
139 174
140 if isinstance(event, bb.command.CookerCommandCompleted): 175 if isinstance(event, bb.command.CommandCompleted):
141 break 176 break
142 if isinstance(event, bb.command.CookerCommandSetExitCode): 177 if isinstance(event, bb.command.CommandFailed):
143 return_value = event.exitcode 178 return_value = event.exitcode
144 continue 179 logger.error("Command execution failed: %s", event.error)
145 if isinstance(event, bb.command.CookerCommandFailed):
146 return_value = 1
147 print("Command execution failed: %s" % event.error)
148 break 180 break
181 if isinstance(event, bb.command.CommandExit):
182 return_value = event.exitcode
183 continue
149 if isinstance(event, bb.cooker.CookerExit): 184 if isinstance(event, bb.cooker.CookerExit):
150 break 185 break
151 if isinstance(event, bb.event.MultipleProviders): 186 if isinstance(event, bb.event.MultipleProviders):
152 print("NOTE: multiple providers are available for %s%s (%s)" % (event._is_runtime and "runtime " or "", 187 logger.info("multiple providers are available for %s%s (%s)", event._is_runtime and "runtime " or "",
153 event._item, 188 event._item,
154 ", ".join(event._candidates))) 189 ", ".join(event._candidates))
155 print("NOTE: consider defining a PREFERRED_PROVIDER entry to match %s" % event._item) 190 logger.info("consider defining a PREFERRED_PROVIDER entry to match %s", event._item)
156 continue 191 continue
157 if isinstance(event, bb.event.NoProvider): 192 if isinstance(event, bb.event.NoProvider):
158 if event._runtime: 193 if event._runtime:
@@ -161,9 +196,26 @@ def init(server, eventHandler):
161 r = "" 196 r = ""
162 197
163 if event._dependees: 198 if event._dependees:
164 print("ERROR: Nothing %sPROVIDES '%s' (but %s %sDEPENDS on or otherwise requires it)" % (r, event._item, ", ".join(event._dependees), r)) 199 logger.error("Nothing %sPROVIDES '%s' (but %s %sDEPENDS on or otherwise requires it)", r, event._item, ", ".join(event._dependees), r)
200 else:
201 logger.error("Nothing %sPROVIDES '%s'", r, event._item)
202 continue
203
204 if isinstance(event, bb.runqueue.runQueueTaskStarted):
205 if event.noexec:
206 tasktype = 'noexec task'
165 else: 207 else:
166 print("ERROR: Nothing %sPROVIDES '%s'" % (r, event._item)) 208 tasktype = 'task'
209 logger.info("Running %s %s of %s (ID: %s, %s)",
210 tasktype,
211 event.stats.completed + event.stats.active +
212 event.stats.failed + 1,
213 event.stats.total, event.taskid, event.taskstring)
214 continue
215
216 if isinstance(event, bb.runqueue.runQueueTaskFailed):
217 logger.error("Task %s (%s) failed with exit code '%s'",
218 event.taskid, event.taskstring, event.exitcode)
167 continue 219 continue
168 220
169 # ignore 221 # ignore
@@ -175,8 +227,12 @@ def init(server, eventHandler):
175 bb.runqueue.runQueueExitWait)): 227 bb.runqueue.runQueueExitWait)):
176 continue 228 continue
177 229
178 print("Unknown Event: %s" % event) 230 logger.error("Unknown event: %s", event)
179 231
232 except EnvironmentError as ioerror:
233 # ignore interrupted io
234 if ioerror.args[0] == 4:
235 pass
180 except KeyboardInterrupt: 236 except KeyboardInterrupt:
181 if shutdown == 2: 237 if shutdown == 2:
182 print("\nThird Keyboard Interrupt, exit.\n") 238 print("\nThird Keyboard Interrupt, exit.\n")
diff --git a/bitbake/lib/bb/ui/ncurses.py b/bitbake/lib/bb/ui/ncurses.py
index 3fed4c58a8..469f1b7309 100644
--- a/bitbake/lib/bb/ui/ncurses.py
+++ b/bitbake/lib/bb/ui/ncurses.py
@@ -44,8 +44,9 @@
44 44
45""" 45"""
46 46
47from __future__ import division
48 47
48from __future__ import division
49import logging
49import os, sys, curses, itertools, time 50import os, sys, curses, itertools, time
50import bb 51import bb
51import xmlrpclib 52import xmlrpclib
@@ -246,29 +247,35 @@ class NCursesUI:
246 event = eventHandler.waitEvent(0.25) 247 event = eventHandler.waitEvent(0.25)
247 if not event: 248 if not event:
248 continue 249 continue
250
249 helper.eventHandler(event) 251 helper.eventHandler(event)
250 #mw.appendText("%s\n" % event[0])
251 if isinstance(event, bb.build.TaskBase): 252 if isinstance(event, bb.build.TaskBase):
252 mw.appendText("NOTE: %s\n" % event._message) 253 mw.appendText("NOTE: %s\n" % event._message)
253 if isinstance(event, bb.msg.MsgDebug): 254 if isinstance(event, logging.LogRecord):
254 mw.appendText('DEBUG: ' + event._message + '\n') 255 mw.appendText(logging.getLevelName(event.levelno) + ': ' + event.getMessage() + '\n')
255 if isinstance(event, bb.msg.MsgNote): 256
256 mw.appendText('NOTE: ' + event._message + '\n') 257 if isinstance(event, bb.event.CacheLoadStarted):
257 if isinstance(event, bb.msg.MsgWarn): 258 self.parse_total = event.total
258 mw.appendText('WARNING: ' + event._message + '\n') 259 if isinstance(event, bb.event.CacheLoadProgress):
259 if isinstance(event, bb.msg.MsgError): 260 x = event.current
260 mw.appendText('ERROR: ' + event._message + '\n') 261 y = self.parse_total
261 if isinstance(event, bb.msg.MsgFatal): 262 mw.setStatus("Loading Cache: %s [%2d %%]" % ( next(parsespin), x*100/y ) )
262 mw.appendText('FATAL: ' + event._message + '\n') 263 if isinstance(event, bb.event.CacheLoadCompleted):
264 mw.setStatus("Idle")
265 mw.appendText("Loaded %d entries from dependency cache.\n"
266 % ( event.num_entries))
267
268 if isinstance(event, bb.event.ParseStarted):
269 self.parse_total = event.total
263 if isinstance(event, bb.event.ParseProgress): 270 if isinstance(event, bb.event.ParseProgress):
264 x = event.sofar 271 x = event.current
265 y = event.total 272 y = self.parse_total
266 if x == y: 273 mw.setStatus("Parsing Recipes: %s [%2d %%]" % ( next(parsespin), x*100/y ) )
267 mw.setStatus("Idle") 274 if isinstance(event, bb.event.ParseCompleted):
268 mw.appendText("Parsing finished. %d cached, %d parsed, %d skipped, %d masked." 275 mw.setStatus("Idle")
276 mw.appendText("Parsing finished. %d cached, %d parsed, %d skipped, %d masked.\n"
269 % ( event.cached, event.parsed, event.skipped, event.masked )) 277 % ( event.cached, event.parsed, event.skipped, event.masked ))
270 else: 278
271 mw.setStatus("Parsing: %s (%04d/%04d) [%2d %%]" % ( next(parsespin), x, y, x*100//y ) )
272# if isinstance(event, bb.build.TaskFailed): 279# if isinstance(event, bb.build.TaskFailed):
273# if event.logfile: 280# if event.logfile:
274# if data.getVar("BBINCLUDELOGS", d): 281# if data.getVar("BBINCLUDELOGS", d):
@@ -288,12 +295,16 @@ class NCursesUI:
288# else: 295# else:
289# bb.msg.error(bb.msg.domain.Build, "see log in %s" % logfile) 296# bb.msg.error(bb.msg.domain.Build, "see log in %s" % logfile)
290 297
291 if isinstance(event, bb.command.CookerCommandCompleted): 298 if isinstance(event, bb.command.CommandCompleted):
292 exitflag = True 299 # stop so the user can see the result of the build, but
293 if isinstance(event, bb.command.CookerCommandFailed): 300 # also allow them to now exit with a single ^C
301 shutdown = 2
302 if isinstance(event, bb.command.CommandFailed):
294 mw.appendText("Command execution failed: %s" % event.error) 303 mw.appendText("Command execution failed: %s" % event.error)
295 time.sleep(2) 304 time.sleep(2)
296 exitflag = True 305 exitflag = True
306 if isinstance(event, bb.command.CommandExit):
307 exitflag = True
297 if isinstance(event, bb.cooker.CookerExit): 308 if isinstance(event, bb.cooker.CookerExit):
298 exitflag = True 309 exitflag = True
299 310
@@ -304,13 +315,18 @@ class NCursesUI:
304 if activetasks: 315 if activetasks:
305 taw.appendText("Active Tasks:\n") 316 taw.appendText("Active Tasks:\n")
306 for task in activetasks.itervalues(): 317 for task in activetasks.itervalues():
307 taw.appendText(task["title"]) 318 taw.appendText(task["title"] + '\n')
308 if failedtasks: 319 if failedtasks:
309 taw.appendText("Failed Tasks:\n") 320 taw.appendText("Failed Tasks:\n")
310 for task in failedtasks: 321 for task in failedtasks:
311 taw.appendText(task["title"]) 322 taw.appendText(task["title"] + '\n')
312 323
313 curses.doupdate() 324 curses.doupdate()
325 except EnvironmentError as ioerror:
326 # ignore interrupted io
327 if ioerror.args[0] == 4:
328 pass
329
314 except KeyboardInterrupt: 330 except KeyboardInterrupt:
315 if shutdown == 2: 331 if shutdown == 2:
316 mw.appendText("Third Keyboard Interrupt, exit.\n") 332 mw.appendText("Third Keyboard Interrupt, exit.\n")
@@ -324,7 +340,7 @@ class NCursesUI:
324 shutdown = shutdown + 1 340 shutdown = shutdown + 1
325 pass 341 pass
326 342
327def init(server, eventHandler): 343def main(server, eventHandler):
328 if not os.isatty(sys.stdout.fileno()): 344 if not os.isatty(sys.stdout.fileno()):
329 print("FATAL: Unable to run 'ncurses' UI without a TTY.") 345 print("FATAL: Unable to run 'ncurses' UI without a TTY.")
330 return 346 return
diff --git a/bitbake/lib/bb/ui/puccho.py b/bitbake/lib/bb/ui/puccho.py
index a627fc803f..3ce4590c16 100644
--- a/bitbake/lib/bb/ui/puccho.py
+++ b/bitbake/lib/bb/ui/puccho.py
@@ -390,7 +390,7 @@ def running_build_failed_cb (running_build, manager):
390 print("build failed") 390 print("build failed")
391 manager.notify_build_failed () 391 manager.notify_build_failed ()
392 392
393def init (server, eventHandler): 393def main (server, eventHandler):
394 # Initialise threading... 394 # Initialise threading...
395 gobject.threads_init() 395 gobject.threads_init()
396 gtk.gdk.threads_init() 396 gtk.gdk.threads_init()
diff --git a/bitbake/lib/bb/ui/uievent.py b/bitbake/lib/bb/ui/uievent.py
index f1e4d791ee..2fef4e4659 100644
--- a/bitbake/lib/bb/ui/uievent.py
+++ b/bitbake/lib/bb/ui/uievent.py
@@ -37,8 +37,8 @@ class BBUIEventQueue:
37 self.BBServer = BBServer 37 self.BBServer = BBServer
38 38
39 self.t = threading.Thread() 39 self.t = threading.Thread()
40 self.t.setDaemon(True) 40 self.t.setDaemon(True)
41 self.t.run = self.startCallbackHandler 41 self.t.run = self.startCallbackHandler
42 self.t.start() 42 self.t.start()
43 43
44 def getEvent(self): 44 def getEvent(self):
@@ -63,17 +63,20 @@ class BBUIEventQueue:
63 63
64 def queue_event(self, event): 64 def queue_event(self, event):
65 self.eventQueueLock.acquire() 65 self.eventQueueLock.acquire()
66 self.eventQueue.append(pickle.loads(event)) 66 self.eventQueue.append(event)
67 self.eventQueueNotify.set() 67 self.eventQueueNotify.set()
68 self.eventQueueLock.release() 68 self.eventQueueLock.release()
69 69
70 def send_event(self, event):
71 self.queue_event(pickle.loads(event))
72
70 def startCallbackHandler(self): 73 def startCallbackHandler(self):
71 74
72 server = UIXMLRPCServer() 75 server = UIXMLRPCServer()
73 self.host, self.port = server.socket.getsockname() 76 self.host, self.port = server.socket.getsockname()
74 77
75 server.register_function( self.system_quit, "event.quit" ) 78 server.register_function( self.system_quit, "event.quit" )
76 server.register_function( self.queue_event, "event.send" ) 79 server.register_function( self.send_event, "event.send" )
77 server.socket.settimeout(1) 80 server.socket.settimeout(1)
78 81
79 self.EventHandle = self.BBServer.registerEventHandler(self.host, self.port) 82 self.EventHandle = self.BBServer.registerEventHandler(self.host, self.port)
@@ -83,7 +86,7 @@ class BBUIEventQueue:
83 server.handle_request() 86 server.handle_request()
84 server.server_close() 87 server.server_close()
85 88
86 def system_quit( self ): 89 def system_quit( self ):
87 """ 90 """
88 Shut down the callback thread 91 Shut down the callback thread
89 """ 92 """
@@ -95,11 +98,11 @@ class BBUIEventQueue:
95 98
96class UIXMLRPCServer (SimpleXMLRPCServer): 99class UIXMLRPCServer (SimpleXMLRPCServer):
97 100
98 def __init__( self, interface = ("localhost", 0) ): 101 def __init__( self, interface = ("localhost", 0) ):
99 self.quit = False 102 self.quit = False
100 SimpleXMLRPCServer.__init__( self, 103 SimpleXMLRPCServer.__init__( self,
101 interface, 104 interface,
102 requestHandler=SimpleXMLRPCRequestHandler, 105 requestHandler=SimpleXMLRPCRequestHandler,
103 logRequests=False, allow_none=True) 106 logRequests=False, allow_none=True)
104 107
105 def get_request(self): 108 def get_request(self):
@@ -121,4 +124,4 @@ class UIXMLRPCServer (SimpleXMLRPCServer):
121 if request is None: 124 if request is None:
122 return 125 return
123 SimpleXMLRPCServer.process_request(self, request, client_address) 126 SimpleXMLRPCServer.process_request(self, request, client_address)
124 127
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index f468fafc12..6373912d88 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -21,10 +21,14 @@ BitBake Utility Functions
21 21
22import re, fcntl, os, string, stat, shutil, time 22import re, fcntl, os, string, stat, shutil, time
23import sys 23import sys
24import bb
25import errno 24import errno
25import logging
26import bb
26import bb.msg 27import bb.msg
27from commands import getstatusoutput 28from commands import getstatusoutput
29from contextlib import contextmanager
30
31logger = logging.getLogger("BitBake.Util")
28 32
29# Version comparison 33# Version comparison
30separators = ".-" 34separators = ".-"
@@ -90,7 +94,7 @@ def vercmp(ta, tb):
90 (ea, va, ra) = ta 94 (ea, va, ra) = ta
91 (eb, vb, rb) = tb 95 (eb, vb, rb) = tb
92 96
93 r = int(ea)-int(eb) 97 r = int(ea or 0) - int(eb or 0)
94 if (r == 0): 98 if (r == 0):
95 r = vercmp_part(va, vb) 99 r = vercmp_part(va, vb)
96 if (r == 0): 100 if (r == 0):
@@ -191,10 +195,10 @@ def vercmp_string(val1, val2):
191 val2 = val2[0].split('.') 195 val2 = val2[0].split('.')
192 196
193 # add back decimal point so that .03 does not become "3" ! 197 # add back decimal point so that .03 does not become "3" !
194 for x in range(1, len(val1)): 198 for x in xrange(1, len(val1)):
195 if val1[x][0] == '0' : 199 if val1[x][0] == '0' :
196 val1[x] = '.' + val1[x] 200 val1[x] = '.' + val1[x]
197 for x in range(1, len(val2)): 201 for x in xrange(1, len(val2)):
198 if val2[x][0] == '0' : 202 if val2[x][0] == '0' :
199 val2[x] = '.' + val2[x] 203 val2[x] = '.' + val2[x]
200 204
@@ -211,10 +215,10 @@ def vercmp_string(val1, val2):
211 val2[-1] += '_' + val2_prepart 215 val2[-1] += '_' + val2_prepart
212 # The above code will extend version numbers out so they 216 # The above code will extend version numbers out so they
213 # have the same number of digits. 217 # have the same number of digits.
214 for x in range(0, len(val1)): 218 for x in xrange(0, len(val1)):
215 cmp1 = relparse(val1[x]) 219 cmp1 = relparse(val1[x])
216 cmp2 = relparse(val2[x]) 220 cmp2 = relparse(val2[x])
217 for y in range(0, 3): 221 for y in xrange(0, 3):
218 myret = cmp1[y] - cmp2[y] 222 myret = cmp1[y] - cmp2[y]
219 if myret != 0: 223 if myret != 0:
220 __vercmp_cache__[valkey] = myret 224 __vercmp_cache__[valkey] = myret
@@ -287,17 +291,6 @@ def join_deps(deps):
287 result.append(dep) 291 result.append(dep)
288 return ", ".join(result) 292 return ", ".join(result)
289 293
290def extend_deps(dest, src):
291 """
292 Extend the results from explode_dep_versions by appending all of the items
293 in the second list, avoiding duplicates.
294 """
295 for dep in src:
296 if dep not in dest:
297 dest[dep] = src[dep]
298 elif dest[dep] != src[dep]:
299 dest[dep] = src[dep]
300
301def _print_trace(body, line): 294def _print_trace(body, line):
302 """ 295 """
303 Print the Environment of a Text Body 296 Print the Environment of a Text Body
@@ -305,12 +298,11 @@ def _print_trace(body, line):
305 # print the environment of the method 298 # print the environment of the method
306 min_line = max(1, line-4) 299 min_line = max(1, line-4)
307 max_line = min(line + 4, len(body)) 300 max_line = min(line + 4, len(body))
308 for i in range(min_line, max_line + 1): 301 for i in xrange(min_line, max_line + 1):
309 if line == i: 302 if line == i:
310 bb.msg.error(bb.msg.domain.Util, " *** %.4d:%s" % (i, body[i-1]) ) 303 logger.error(' *** %.4d:%s', i, body[i-1])
311 else: 304 else:
312 bb.msg.error(bb.msg.domain.Util, " %.4d:%s" % (i, body[i-1]) ) 305 logger.error(' %.4d:%s', i, body[i-1])
313
314 306
315def better_compile(text, file, realfile, mode = "exec"): 307def better_compile(text, file, realfile, mode = "exec"):
316 """ 308 """
@@ -322,62 +314,65 @@ def better_compile(text, file, realfile, mode = "exec"):
322 except Exception as e: 314 except Exception as e:
323 # split the text into lines again 315 # split the text into lines again
324 body = text.split('\n') 316 body = text.split('\n')
325 bb.msg.error(bb.msg.domain.Util, "Error in compiling python function in: %s" % (realfile)) 317 logger.error("Error in compiling python function in %s", realfile)
326 bb.msg.error(bb.msg.domain.Util, str(e)) 318 logger.error(str(e))
327 if e.lineno: 319 if e.lineno:
328 bb.msg.error(bb.msg.domain.Util, "The lines leading to this error were:") 320 logger.error("The lines leading to this error were:")
329 bb.msg.error(bb.msg.domain.Util, "\t%d:%s:'%s'" % (e.lineno, e.__class__.__name__, body[e.lineno-1])) 321 logger.error("\t%d:%s:'%s'", e.lineno, e.__class__.__name__, body[e.lineno-1])
330 _print_trace(body, e.lineno) 322 _print_trace(body, e.lineno)
331 else: 323 else:
332 bb.msg.error(bb.msg.domain.Util, "The function causing this error was:") 324 logger.error("The function causing this error was:")
333 for line in body: 325 for line in body:
334 bb.msg.error(bb.msg.domain.Util, line) 326 logger.error(line)
327
335 raise 328 raise
336 329
337def better_exec(code, context, text, realfile): 330def better_exec(code, context, text, realfile = "<code>"):
338 """ 331 """
339 Similiar to better_compile, better_exec will 332 Similiar to better_compile, better_exec will
340 print the lines that are responsible for the 333 print the lines that are responsible for the
341 error. 334 error.
342 """ 335 """
343 import bb.parse 336 import bb.parse
337 if not hasattr(code, "co_filename"):
338 code = better_compile(code, realfile, realfile)
344 try: 339 try:
345 exec(code, _context, context) 340 exec(code, _context, context)
346 except: 341 except Exception:
347 (t, value, tb) = sys.exc_info() 342 (t, value, tb) = sys.exc_info()
348 343
349 if t in [bb.parse.SkipPackage, bb.build.FuncFailed]: 344 if t in [bb.parse.SkipPackage, bb.build.FuncFailed]:
350 raise 345 raise
351 346
352 # print the Header of the Error Message 347 import traceback
353 bb.msg.error(bb.msg.domain.Util, "There was an error when executing a python function in: %s" % realfile) 348 exception = traceback.format_exception_only(t, value)
354 bb.msg.error(bb.msg.domain.Util, "Exception:%s Message:%s" % (t, value)) 349 logger.error('Error executing a python function in %s:\n%s',
350 realfile, ''.join(exception))
355 351
356 # Strip 'us' from the stack (better_exec call) 352 # Strip 'us' from the stack (better_exec call)
357 tb = tb.tb_next 353 tb = tb.tb_next
358 354
359 import traceback
360 textarray = text.split('\n') 355 textarray = text.split('\n')
361 linefailed = traceback.tb_lineno(tb) 356 linefailed = traceback.tb_lineno(tb)
362 357
363 tbextract = traceback.extract_tb(tb) 358 tbextract = traceback.extract_tb(tb)
364 tbformat = "\n".join(traceback.format_list(tbextract)) 359 tbformat = "\n".join(traceback.format_list(tbextract))
365 bb.msg.error(bb.msg.domain.Util, "The stack trace of python calls that resulted in thie exception/failure was:") 360 logger.error("The stack trace of python calls that resulted in this exception/failure was:")
366 for line in tbformat.split('\n'): 361 for line in tbformat.split('\n'):
367 bb.msg.error(bb.msg.domain.Util, line) 362 logger.error(line)
368 363
369 bb.msg.error(bb.msg.domain.Util, "The code that was being executed was:") 364 logger.error("The code that was being executed was:")
370 _print_trace(textarray, linefailed) 365 _print_trace(textarray, linefailed)
371 bb.msg.error(bb.msg.domain.Util, "(file: '%s', lineno: %s, function: %s)" % (tbextract[0][0], tbextract[0][1], tbextract[0][2])) 366 logger.error("(file: '%s', lineno: %s, function: %s)", tbextract[0][0], tbextract[0][1], tbextract[0][2])
372 367
373 # See if this is a function we constructed and has calls back into other functions in 368 # See if this is a function we constructed and has calls back into other functions in
374 # "text". If so, try and improve the context of the error by diving down the trace 369 # "text". If so, try and improve the context of the error by diving down the trace
375 level = 0 370 level = 0
376 nexttb = tb.tb_next 371 nexttb = tb.tb_next
377 while nexttb is not None: 372 while nexttb is not None:
378 if tbextract[level][0] == tbextract[level+1][0] and tbextract[level+1][2] == tbextract[level][0]: 373 if tbextract[level][0] == tbextract[level+1][0] and tbextract[level+1][2] == tbextract[level][0]:
379 _print_trace(textarray, tbextract[level+1][1]) 374 _print_trace(textarray, tbextract[level+1][1])
380 bb.msg.error(bb.msg.domain.Util, "(file: '%s', lineno: %s, function: %s)" % (tbextract[level+1][0], tbextract[level+1][1], tbextract[level+1][2])) 375 logger.error("(file: '%s', lineno: %s, function: %s)", tbextract[level+1][0], tbextract[level+1][1], tbextract[level+1][2])
381 else: 376 else:
382 break 377 break
383 nexttb = tb.tb_next 378 nexttb = tb.tb_next
@@ -391,16 +386,37 @@ def simple_exec(code, context):
391def better_eval(source, locals): 386def better_eval(source, locals):
392 return eval(source, _context, locals) 387 return eval(source, _context, locals)
393 388
394def lockfile(name): 389@contextmanager
390def fileslocked(files):
391 """Context manager for locking and unlocking file locks."""
392 locks = []
393 if files:
394 for lockfile in files:
395 locks.append(bb.utils.lockfile(lockfile))
396
397 yield
398
399 for lock in locks:
400 bb.utils.unlockfile(lock)
401
402def lockfile(name, shared=False):
395 """ 403 """
396 Use the file fn as a lock file, return when the lock has been acquired. 404 Use the file fn as a lock file, return when the lock has been acquired.
397 Returns a variable to pass to unlockfile(). 405 Returns a variable to pass to unlockfile().
398 """ 406 """
399 path = os.path.dirname(name) 407 path = os.path.dirname(name)
400 if not os.path.isdir(path): 408 if not os.path.isdir(path):
401 bb.msg.error(bb.msg.domain.Util, "Error, lockfile path does not exist!: %s" % path) 409 logger.error("Lockfile destination directory '%s' does not exist", path)
410 sys.exit(1)
411
412 if not os.access(path, os.W_OK):
413 logger.error("Error, lockfile path is not writable!: %s" % path)
402 sys.exit(1) 414 sys.exit(1)
403 415
416 op = fcntl.LOCK_EX
417 if shared:
418 op = fcntl.LOCK_SH
419
404 while True: 420 while True:
405 # If we leave the lockfiles lying around there is no problem 421 # If we leave the lockfiles lying around there is no problem
406 # but we should clean up after ourselves. This gives potential 422 # but we should clean up after ourselves. This gives potential
@@ -413,25 +429,31 @@ def lockfile(name):
413 # lock is the most likely to win it. 429 # lock is the most likely to win it.
414 430
415 try: 431 try:
416 lf = open(name, "a + ") 432 lf = open(name, 'a+')
417 fcntl.flock(lf.fileno(), fcntl.LOCK_EX) 433 fileno = lf.fileno()
418 statinfo = os.fstat(lf.fileno()) 434 fcntl.flock(fileno, op)
435 statinfo = os.fstat(fileno)
419 if os.path.exists(lf.name): 436 if os.path.exists(lf.name):
420 statinfo2 = os.stat(lf.name) 437 statinfo2 = os.stat(lf.name)
421 if statinfo.st_ino == statinfo2.st_ino: 438 if statinfo.st_ino == statinfo2.st_ino:
422 return lf 439 return lf
423 # File no longer exists or changed, retry 440 lf.close()
424 lf.close 441 except Exception:
425 except Exception as e:
426 continue 442 continue
427 443
428def unlockfile(lf): 444def unlockfile(lf):
429 """ 445 """
430 Unlock a file locked using lockfile() 446 Unlock a file locked using lockfile()
431 """ 447 """
432 os.unlink(lf.name) 448 try:
449 # If we had a shared lock, we need to promote to exclusive before
450 # removing the lockfile. Attempt this, ignore failures.
451 fcntl.flock(lf.fileno(), fcntl.LOCK_EX|fcntl.LOCK_NB)
452 os.unlink(lf.name)
453 except (IOError, OSError):
454 pass
433 fcntl.flock(lf.fileno(), fcntl.LOCK_UN) 455 fcntl.flock(lf.fileno(), fcntl.LOCK_UN)
434 lf.close 456 lf.close()
435 457
436def md5_file(filename): 458def md5_file(filename):
437 """ 459 """
@@ -465,9 +487,9 @@ def sha256_file(filename):
465 s.update(line) 487 s.update(line)
466 return s.hexdigest() 488 return s.hexdigest()
467 489
468# Variables which are preserved from the original environment *and* exported 490def preserved_envvars_exported():
469# into our worker context 491 """Variables which are taken from the environment and placed in and exported
470def preserved_envvars_export_list(): 492 from the metadata"""
471 return [ 493 return [
472 'BB_TASKHASH', 494 'BB_TASKHASH',
473 'HOME', 495 'HOME',
@@ -480,9 +502,9 @@ def preserved_envvars_export_list():
480 'USERNAME', 502 'USERNAME',
481 ] 503 ]
482 504
483# Variables which are preserved from the original environment *and* exported 505def preserved_envvars_exported_interactive():
484# into our worker context for interactive tasks (e.g. requiring X) 506 """Variables which are taken from the environment and placed in and exported
485def preserved_envvars_export_interactive_list(): 507 from the metadata, for interactive tasks"""
486 return [ 508 return [
487 'COLORTERM', 509 'COLORTERM',
488 'DBUS_SESSION_BUS_ADDRESS', 510 'DBUS_SESSION_BUS_ADDRESS',
@@ -500,8 +522,8 @@ def preserved_envvars_export_interactive_list():
500 'XDG_SESSION_COOKIE', 522 'XDG_SESSION_COOKIE',
501 ] 523 ]
502 524
503# Variables which are preserved from the original environment into the datastore 525def preserved_envvars():
504def preserved_envvars_list(): 526 """Variables which are taken from the environment and placed in the metadata"""
505 v = [ 527 v = [
506 'BBPATH', 528 'BBPATH',
507 'BB_PRESERVE_ENV', 529 'BB_PRESERVE_ENV',
@@ -510,7 +532,7 @@ def preserved_envvars_list():
510 'LANG', 532 'LANG',
511 '_', 533 '_',
512 ] 534 ]
513 return v + preserved_envvars_export_list() + preserved_envvars_export_interactive_list() 535 return v + preserved_envvars_exported() + preserved_envvars_exported_interactive()
514 536
515def filter_environment(good_vars): 537def filter_environment(good_vars):
516 """ 538 """
@@ -528,12 +550,12 @@ def filter_environment(good_vars):
528 del os.environ[key] 550 del os.environ[key]
529 551
530 if len(removed_vars): 552 if len(removed_vars):
531 bb.msg.debug(1, bb.msg.domain.Util, "Removed the following variables from the environment: %s" % (", ".join(removed_vars))) 553 logger.debug(1, "Removed the following variables from the environment: %s", ", ".join(removed_vars))
532 554
533 return removed_vars 555 return removed_vars
534 556
535def create_intereactive_env(d): 557def create_interactive_env(d):
536 for k in preserved_envvars_export_interactive_list(): 558 for k in preserved_envvars_exported_interactive():
537 os.setenv(k, bb.data.getVar(k, d, True)) 559 os.setenv(k, bb.data.getVar(k, d, True))
538 560
539def clean_environment(): 561def clean_environment():
@@ -545,7 +567,7 @@ def clean_environment():
545 if 'BB_ENV_WHITELIST' in os.environ: 567 if 'BB_ENV_WHITELIST' in os.environ:
546 good_vars = os.environ['BB_ENV_WHITELIST'].split() 568 good_vars = os.environ['BB_ENV_WHITELIST'].split()
547 else: 569 else:
548 good_vars = preserved_envvars_list() 570 good_vars = preserved_envvars()
549 if 'BB_ENV_EXTRAWHITE' in os.environ: 571 if 'BB_ENV_EXTRAWHITE' in os.environ:
550 good_vars.extend(os.environ['BB_ENV_EXTRAWHITE'].split()) 572 good_vars.extend(os.environ['BB_ENV_EXTRAWHITE'].split())
551 filter_environment(good_vars) 573 filter_environment(good_vars)
@@ -568,6 +590,20 @@ def build_environment(d):
568 if export: 590 if export:
569 os.environ[var] = bb.data.getVar(var, d, True) or "" 591 os.environ[var] = bb.data.getVar(var, d, True) or ""
570 592
593def remove(path, recurse=False):
594 """Equivalent to rm -f or rm -rf"""
595 if not path:
596 return
597 import os, errno, shutil, glob
598 for name in glob.glob(path):
599 try:
600 os.unlink(name)
601 except OSError as exc:
602 if recurse and exc.errno == errno.EISDIR:
603 shutil.rmtree(name)
604 elif exc.errno != errno.ENOENT:
605 raise
606
571def prunedir(topdir): 607def prunedir(topdir):
572 # Delete everything reachable from the directory named in 'topdir'. 608 # Delete everything reachable from the directory named in 'topdir'.
573 # CAUTION: This is dangerous! 609 # CAUTION: This is dangerous!
@@ -593,15 +629,13 @@ def prune_suffix(var, suffixes, d):
593 return var.replace(suffix, "") 629 return var.replace(suffix, "")
594 return var 630 return var
595 631
596def mkdirhier(dir): 632def mkdirhier(directory):
597 """Create a directory like 'mkdir -p', but does not complain if 633 """Create a directory like 'mkdir -p', but does not complain if
598 directory already exists like os.makedirs 634 directory already exists like os.makedirs
599 """ 635 """
600 636
601 bb.msg.debug(3, bb.msg.domain.Util, "mkdirhier(%s)" % dir)
602 try: 637 try:
603 os.makedirs(dir) 638 os.makedirs(directory)
604 bb.msg.debug(2, bb.msg.domain.Util, "created " + dir)
605 except OSError as e: 639 except OSError as e:
606 if e.errno != errno.EEXIST: 640 if e.errno != errno.EEXIST:
607 raise e 641 raise e
@@ -787,13 +821,12 @@ def init_logger(logger, verbose, debug, debug_domains):
787 Set verbosity and debug levels in the logger 821 Set verbosity and debug levels in the logger
788 """ 822 """
789 823
790 if verbose:
791 logger.set_verbose(True)
792
793 if debug: 824 if debug:
794 logger.set_debug_level(debug) 825 bb.msg.set_debug_level(debug)
826 elif verbose:
827 bb.msg.set_verbose(True)
795 else: 828 else:
796 logger.set_debug_level(0) 829 bb.msg.set_debug_level(0)
797 830
798 if debug_domains: 831 if debug_domains:
799 logger.set_debug_domains(debug_domains) 832 bb.msg.set_debug_domains(debug_domains)
diff --git a/bitbake/lib/progressbar.py b/bitbake/lib/progressbar.py
new file mode 100644
index 0000000000..b668647a36
--- /dev/null
+++ b/bitbake/lib/progressbar.py
@@ -0,0 +1,384 @@
1#!/usr/bin/python
2# -*- coding: iso-8859-1 -*-
3#
4# progressbar - Text progressbar library for python.
5# Copyright (c) 2005 Nilton Volpato
6#
7# This library is free software; you can redistribute it and/or
8# modify it under the terms of the GNU Lesser General Public
9# License as published by the Free Software Foundation; either
10# version 2.1 of the License, or (at your option) any later version.
11#
12# This library is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15# Lesser General Public License for more details.
16#
17# You should have received a copy of the GNU Lesser General Public
18# License along with this library; if not, write to the Free Software
19# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
21
22"""Text progressbar library for python.
23
24This library provides a text mode progressbar. This is typically used
25to display the progress of a long running operation, providing a
26visual clue that processing is underway.
27
28The ProgressBar class manages the progress, and the format of the line
29is given by a number of widgets. A widget is an object that may
30display diferently depending on the state of the progress. There are
31three types of widget:
32- a string, which always shows itself;
33- a ProgressBarWidget, which may return a diferent value every time
34it's update method is called; and
35- a ProgressBarWidgetHFill, which is like ProgressBarWidget, except it
36expands to fill the remaining width of the line.
37
38The progressbar module is very easy to use, yet very powerful. And
39automatically supports features like auto-resizing when available.
40"""
41
42from __future__ import division
43
44__author__ = "Nilton Volpato"
45__author_email__ = "first-name dot last-name @ gmail.com"
46__date__ = "2006-05-07"
47__version__ = "2.3-dev"
48
49import sys, time, os
50from array import array
51try:
52 from fcntl import ioctl
53 import termios
54except ImportError:
55 pass
56import signal
57try:
58 basestring
59except NameError:
60 basestring = (str,)
61
62class ProgressBarWidget(object):
63 """This is an element of ProgressBar formatting.
64
65 The ProgressBar object will call it's update value when an update
66 is needed. It's size may change between call, but the results will
67 not be good if the size changes drastically and repeatedly.
68 """
69 def update(self, pbar):
70 """Returns the string representing the widget.
71
72 The parameter pbar is a reference to the calling ProgressBar,
73 where one can access attributes of the class for knowing how
74 the update must be made.
75
76 At least this function must be overriden."""
77 pass
78
79class ProgressBarWidgetHFill(object):
80 """This is a variable width element of ProgressBar formatting.
81
82 The ProgressBar object will call it's update value, informing the
83 width this object must the made. This is like TeX \\hfill, it will
84 expand to fill the line. You can use more than one in the same
85 line, and they will all have the same width, and together will
86 fill the line.
87 """
88 def update(self, pbar, width):
89 """Returns the string representing the widget.
90
91 The parameter pbar is a reference to the calling ProgressBar,
92 where one can access attributes of the class for knowing how
93 the update must be made. The parameter width is the total
94 horizontal width the widget must have.
95
96 At least this function must be overriden."""
97 pass
98
99
100class ETA(ProgressBarWidget):
101 "Widget for the Estimated Time of Arrival"
102 def format_time(self, seconds):
103 return time.strftime('%H:%M:%S', time.gmtime(seconds))
104 def update(self, pbar):
105 if pbar.currval == 0:
106 return 'ETA: --:--:--'
107 elif pbar.finished:
108 return 'Time: %s' % self.format_time(pbar.seconds_elapsed)
109 else:
110 elapsed = pbar.seconds_elapsed
111 eta = elapsed * pbar.maxval / pbar.currval - elapsed
112 return 'ETA: %s' % self.format_time(eta)
113
114class FileTransferSpeed(ProgressBarWidget):
115 "Widget for showing the transfer speed (useful for file transfers)."
116 def __init__(self, unit='B'):
117 self.unit = unit
118 self.fmt = '%6.2f %s'
119 self.prefixes = ['', 'K', 'M', 'G', 'T', 'P']
120 def update(self, pbar):
121 if pbar.seconds_elapsed < 2e-6:#== 0:
122 bps = 0.0
123 else:
124 bps = pbar.currval / pbar.seconds_elapsed
125 spd = bps
126 for u in self.prefixes:
127 if spd < 1000:
128 break
129 spd /= 1000
130 return self.fmt % (spd, u + self.unit + '/s')
131
132class RotatingMarker(ProgressBarWidget):
133 "A rotating marker for filling the bar of progress."
134 def __init__(self, markers='|/-\\'):
135 self.markers = markers
136 self.curmark = -1
137 def update(self, pbar):
138 if pbar.finished:
139 return self.markers[0]
140 self.curmark = (self.curmark + 1) % len(self.markers)
141 return self.markers[self.curmark]
142
143class Percentage(ProgressBarWidget):
144 "Just the percentage done."
145 def update(self, pbar):
146 return '%3d%%' % pbar.percentage()
147
148class SimpleProgress(ProgressBarWidget):
149 "Returns what is already done and the total, e.g.: '5 of 47'"
150 def __init__(self, sep=' of '):
151 self.sep = sep
152 def update(self, pbar):
153 return '%d%s%d' % (pbar.currval, self.sep, pbar.maxval)
154
155class Bar(ProgressBarWidgetHFill):
156 "The bar of progress. It will stretch to fill the line."
157 def __init__(self, marker='#', left='|', right='|'):
158 self.marker = marker
159 self.left = left
160 self.right = right
161 def _format_marker(self, pbar):
162 if isinstance(self.marker, basestring):
163 return self.marker
164 else:
165 return self.marker.update(pbar)
166 def update(self, pbar, width):
167 percent = pbar.percentage()
168 cwidth = width - len(self.left) - len(self.right)
169 marked_width = int(percent * cwidth // 100)
170 m = self._format_marker(pbar)
171 bar = (self.left + (m * marked_width).ljust(cwidth) + self.right)
172 return bar
173
174class ReverseBar(Bar):
175 "The reverse bar of progress, or bar of regress. :)"
176 def update(self, pbar, width):
177 percent = pbar.percentage()
178 cwidth = width - len(self.left) - len(self.right)
179 marked_width = int(percent * cwidth // 100)
180 m = self._format_marker(pbar)
181 bar = (self.left + (m*marked_width).rjust(cwidth) + self.right)
182 return bar
183
184default_widgets = [Percentage(), ' ', Bar()]
185class ProgressBar(object):
186 """This is the ProgressBar class, it updates and prints the bar.
187
188 A common way of using it is like:
189 >>> pbar = ProgressBar().start()
190 >>> for i in xrange(100):
191 ... # do something
192 ... pbar.update(i+1)
193 ...
194 >>> pbar.finish()
195
196 You can also use a progressbar as an iterator:
197 >>> progress = ProgressBar()
198 >>> for i in progress(some_iterable):
199 ... # do something
200 ...
201
202 But anything you want to do is possible (well, almost anything).
203 You can supply different widgets of any type in any order. And you
204 can even write your own widgets! There are many widgets already
205 shipped and you should experiment with them.
206
207 The term_width parameter must be an integer or None. In the latter case
208 it will try to guess it, if it fails it will default to 80 columns.
209
210 When implementing a widget update method you may access any
211 attribute or function of the ProgressBar object calling the
212 widget's update method. The most important attributes you would
213 like to access are:
214 - currval: current value of the progress, 0 <= currval <= maxval
215 - maxval: maximum (and final) value of the progress
216 - finished: True if the bar has finished (reached 100%), False o/w
217 - start_time: the time when start() method of ProgressBar was called
218 - seconds_elapsed: seconds elapsed since start_time
219 - percentage(): percentage of the progress [0..100]. This is a method.
220
221 The attributes above are unlikely to change between different versions,
222 the other ones may change or cease to exist without notice, so try to rely
223 only on the ones documented above if you are extending the progress bar.
224 """
225
226 __slots__ = ('currval', 'fd', 'finished', 'last_update_time', 'maxval',
227 'next_update', 'num_intervals', 'seconds_elapsed',
228 'signal_set', 'start_time', 'term_width', 'update_interval',
229 'widgets', '_iterable')
230
231 _DEFAULT_MAXVAL = 100
232
233 def __init__(self, maxval=None, widgets=default_widgets, term_width=None,
234 fd=sys.stderr):
235 self.maxval = maxval
236 self.widgets = widgets
237 self.fd = fd
238 self.signal_set = False
239 if term_width is not None:
240 self.term_width = term_width
241 else:
242 try:
243 self._handle_resize(None, None)
244 signal.signal(signal.SIGWINCH, self._handle_resize)
245 self.signal_set = True
246 except (SystemExit, KeyboardInterrupt):
247 raise
248 except:
249 self.term_width = int(os.environ.get('COLUMNS', 80)) - 1
250
251 self.currval = 0
252 self.finished = False
253 self.start_time = None
254 self.last_update_time = None
255 self.seconds_elapsed = 0
256 self._iterable = None
257
258 def __call__(self, iterable):
259 try:
260 self.maxval = len(iterable)
261 except TypeError:
262 # If the iterable has no length, then rely on the value provided
263 # by the user, otherwise fail.
264 if not (isinstance(self.maxval, (int, long)) and self.maxval > 0):
265 raise RuntimeError('Could not determine maxval from iterable. '
266 'You must explicitly provide a maxval.')
267 self._iterable = iter(iterable)
268 self.start()
269 return self
270
271 def __iter__(self):
272 return self
273
274 def next(self):
275 try:
276 next = self._iterable.next()
277 self.update(self.currval + 1)
278 return next
279 except StopIteration:
280 self.finish()
281 raise
282
283 def _handle_resize(self, signum, frame):
284 h, w = array('h', ioctl(self.fd, termios.TIOCGWINSZ, '\0' * 8))[:2]
285 self.term_width = w
286
287 def percentage(self):
288 "Returns the percentage of the progress."
289 return self.currval * 100.0 / self.maxval
290
291 def _format_widgets(self):
292 r = []
293 hfill_inds = []
294 num_hfill = 0
295 currwidth = 0
296 for i, w in enumerate(self.widgets):
297 if isinstance(w, ProgressBarWidgetHFill):
298 r.append(w)
299 hfill_inds.append(i)
300 num_hfill += 1
301 elif isinstance(w, basestring):
302 r.append(w)
303 currwidth += len(w)
304 else:
305 weval = w.update(self)
306 currwidth += len(weval)
307 r.append(weval)
308 for iw in hfill_inds:
309 widget_width = int((self.term_width - currwidth) // num_hfill)
310 r[iw] = r[iw].update(self, widget_width)
311 return r
312
313 def _format_line(self):
314 return ''.join(self._format_widgets()).ljust(self.term_width)
315
316 def _next_update(self):
317 return int((int(self.num_intervals *
318 (self.currval / self.maxval)) + 1) *
319 self.update_interval)
320
321 def _need_update(self):
322 """Returns true when the progressbar should print an updated line.
323
324 You can override this method if you want finer grained control over
325 updates.
326
327 The current implementation is optimized to be as fast as possible and
328 as economical as possible in the number of updates. However, depending
329 on your usage you may want to do more updates. For instance, if your
330 progressbar stays in the same percentage for a long time, and you want
331 to update other widgets, like ETA, then you could return True after
332 some time has passed with no updates.
333
334 Ideally you could call self._format_line() and see if it's different
335 from the previous _format_line() call, but calling _format_line() takes
336 around 20 times more time than calling this implementation of
337 _need_update().
338 """
339 return self.currval >= self.next_update
340
341 def update(self, value):
342 "Updates the progress bar to a new value."
343 assert 0 <= value <= self.maxval, '0 <= %d <= %d' % (value, self.maxval)
344 self.currval = value
345 if not self._need_update():
346 return
347 if self.start_time is None:
348 raise RuntimeError('You must call start() before calling update()')
349 now = time.time()
350 self.seconds_elapsed = now - self.start_time
351 self.next_update = self._next_update()
352 self.fd.write(self._format_line() + '\r')
353 self.last_update_time = now
354
355 def start(self):
356 """Starts measuring time, and prints the bar at 0%.
357
358 It returns self so you can use it like this:
359 >>> pbar = ProgressBar().start()
360 >>> for i in xrange(100):
361 ... # do something
362 ... pbar.update(i+1)
363 ...
364 >>> pbar.finish()
365 """
366 if self.maxval is None:
367 self.maxval = self._DEFAULT_MAXVAL
368 assert self.maxval > 0
369
370 self.num_intervals = max(100, self.term_width)
371 self.update_interval = self.maxval / self.num_intervals
372 self.next_update = 0
373
374 self.start_time = self.last_update_time = time.time()
375 self.update(0)
376 return self
377
378 def finish(self):
379 """Used to tell the progress is finished."""
380 self.finished = True
381 self.update(self.maxval)
382 self.fd.write('\n')
383 if self.signal_set:
384 signal.signal(signal.SIGWINCH, signal.SIG_DFL)
diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml
index 3cad0fd010..076c08cf60 100644
--- a/documentation/bsp-guide/bsp.xml
+++ b/documentation/bsp-guide/bsp.xml
@@ -33,7 +33,7 @@
33 It is intended that this information can be 33 It is intended that this information can be
34 used by other systems besides Poky and OpenEmbedded and that it will be simple 34 used by other systems besides Poky and OpenEmbedded and that it will be simple
35 to extract information and convert it to other formats if required. 35 to extract information and convert it to other formats if required.
36 Poky, through its standard layers mechanism, can directly accept The format 36 Poky, through its standard layers mechanism, can directly accept the format
37 described as a layer. 37 described as a layer.
38 The BSP captures all 38 The BSP captures all
39 the hardware-specific details in one place in a standard format, which is 39 the hardware-specific details in one place in a standard format, which is
@@ -63,62 +63,132 @@
63 "bsp_name" is a placeholder for the machine or platform name. 63 "bsp_name" is a placeholder for the machine or platform name.
64 Here are some example base directory names: 64 Here are some example base directory names:
65 <literallayout class='monospaced'> 65 <literallayout class='monospaced'>
66 meta-Emenlow 66 meta-emenlow
67 meta-intel_n450 67 meta-intel_n450
68 meta-oaktrail 68 meta-beagleboard
69 </literallayout> 69 </literallayout>
70 </para> 70 </para>
71 71
72 <para> 72 <para>
73 The file structure inside the base directory takes on the following form: 73 Below is the common form for the file structure inside a base directory.
74 While you can use this basic form for the standard, realize that the actual structures
75 for specific BSPs could differ.
76
74 <programlisting> 77 <programlisting>
75meta-&lt;bsp_name&gt;/ 78meta-&lt;bsp_name&gt;/
76meta-&lt;bsp_name&gt;/binary/zImage 79meta-&lt;bsp_name&gt;/&lt;bsp_license_file&gt;
77meta-&lt;bsp_name&gt;/binary/poky-image-minimal.directdisk 80meta-&lt;bsp_name&gt;/README
81meta-&lt;bsp_name&gt;/binary/&lt;bootable_images&gt;
78meta-&lt;bsp_name&gt;/conf/layer.conf 82meta-&lt;bsp_name&gt;/conf/layer.conf
79meta-&lt;bsp_name&gt;/conf/machine/*.conf 83meta-&lt;bsp_name&gt;/conf/machine/*.conf
80meta-&lt;bsp_name&gt;/conf/machine/include/tune-*.inc 84meta-&lt;bsp_name&gt;/recipes-bsp/*
81meta-&lt;bsp_name&gt;/recipes-kernel/bootloader/bootloader_0.1.bb 85meta-&lt;bsp_name&gt;/recipes-graphics/*
82meta-&lt;bsp_name&gt;/recipes-kernel/linux/linux-bsp-2.6.50/*.patch 86meta-&lt;bsp_name&gt;/recipes-kernel/linux/linux-yocto-stable.bbappend
83meta-&lt;bsp_name&gt;/recipes-kernel/linux/linux-bsp-2.6.50/defconfig-bsp
84meta-&lt;bsp_name&gt;/recipes-kernel/linux/linux-bsp_2.6.50.bb
85meta-&lt;bsp_name&gt;/recipes-&lt;bsp_name&gt;/modem/modem-driver_0.1.bb
86meta-&lt;bsp_name&gt;/recipes-&lt;bsp_name&gt;/modem/modem-daemon_0.1.bb
87meta-&lt;bsp_name&gt;/recipes-&lt;bsp_name&gt;/image-creator/image-creator-native_0.1.bb
88meta-&lt;bsp_name&gt;/prebuilds/
89 </programlisting> 87 </programlisting>
90 </para> 88 </para>
91 89
92 <para> 90 <para>
93 The following sections detail what these files and directories could contain. 91 Below is an example of the crownbay BSP:
92
93 <programlisting>
94meta-crownbay/COPYING.MIT
95meta-crownbay/README
96meta-crownbay/binary/.gitignore
97meta-crownbay/conf/layer.conf
98meta-crownbay/conf/machine/crownbay.conf
99meta-crownbay/recipes-bsp/formfactor/formfactor/crownbay/machconfig
100meta-crownbay/recipes-bsp/formfactor/formfactor_0.0.bbappend
101meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-config/crownbay/xcorg.conf
102meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
103meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd-bin/.gitignore
104meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd-bin_1.7.99.2.bb
105meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/crosscompile.patch
106meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/fix_open_max_preprocessor_error.patch
107meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/macro_tweak.patch
108meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/nodolt.patch
109meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd_1.7.99.2.bb
110meta-crownbay/recipes-kernel/linux/linux-wrs_git.bbappend
111 </programlisting>
94 </para> 112 </para>
95 113
96 </section> 114 <para>
115 The following sections describe each part of the proposed BSP format.
116 </para>
97 117
98 <section id="bsp-filelayout-binary"> 118 <section id="bsp-filelayout-license">
99 <title>Pre-built User Binaries (meta-&lt;bsp_name&gt;/binary/*)</title> 119 <title>License Files</title>
120 <programlisting>
121meta-&lt;bsp_name&gt;/&lt;bsp_license_file&gt;
122 </programlisting>
123
124 <para>
125 These optional files satisfy licensing requirements for the BSP.
126 The type or types of files here can vary depending on the licensing requirements.
127 For example, in the crownbay BSP all licensing requirements are handled with the
128 <filename>COPYING.MIT</filename> file.
129 </para>
130
131 <para>
132 Licensing files can be MIT, BSD, GPLv*, and so forth.
133 These files are recommended for the BSP but are optional and totally up to the BSP developer.
134 </para>
135 </section>
136
137 <section id="bsp-filelayout-readme">
138 <title>README File</title>
139 <programlisting>
140meta-&lt;bsp_name&gt;/README
141 </programlisting>
142
143 <para>
144 This file provides information on how to boot the live images that are optionally
145 included in the <filename>/binary</filename> directory.
146 The <filename>README</filename> file also provides special information needed for
147 building the image.
148 </para>
149
150 <para>
151 Technically speaking a <filename>README</filename> is optional but it is highly
152 recommended that every BSP has one.
153 </para>
154 </section>
155
156 <section id="bsp-filelayout-binary">
157 <title>Pre-built User Binaries</title>
158 <programlisting>
159meta-&lt;bsp_name&gt;/binary/&lt;bootable_images&gt;
160 </programlisting>
100 161
101 <para> 162 <para>
102 This optional area contains useful pre-built kernels and userspace filesystem 163 This optional area contains useful pre-built kernels and userspace filesystem
103 images appropriate to the target system. 164 images appropriate to the target system.
165 This directory contains the Application Development Toolkit (ADT) and minimal
166 live images when the BSP is has been "tar-balled" and placed on the Yocto Project website.
104 You can use these kernels and images to get a system running and quickly get started 167 You can use these kernels and images to get a system running and quickly get started
105 on development tasks. 168 on development tasks.
169 </para>
170
171 <para>
106 The exact types of binaries present are highly hardware-dependent. 172 The exact types of binaries present are highly hardware-dependent.
107 However, a README file should be present that explains how to use the kernels and 173 However, a README file should be present in the BSP file structure that explains how to use
108 images with the target hardware. 174 the kernels and images with the target hardware.
109 If pre-built binaries are present, source code to meet licensing requirements must also 175 If pre-built binaries are present, source code to meet licensing requirements must also
110 be provided in some form. 176 be provided in some form.
111 </para> 177 </para>
112 </section> 178 </section>
113 179
114 <section id='bsp-filelayout-layer'> 180 <section id='bsp-filelayout-layer'>
115 <title>Layer Configuration (meta-&lt;bsp_name&gt;/conf/layer.conf)</title> 181 <title>Layer Configuration File</title>
182 <programlisting>
183meta-&lt;bsp_name&gt;/conf/layer.conf
184 </programlisting>
116 185
117 <para> 186 <para>
118 This file identifies the structure as a Poky layer, identifies the 187 This file identifies the structure as a Poky layer, identifies the
119 contents of the layer, and contains information about how Poky should use 188 contents of the layer, and contains information about how Poky should use it.
120 it. 189 Generally, a standard boilerplate file such as the following works.
121 Generally, a standard boilerplate file such as the following works: 190 In the following example you would replace "bsp" and "_bsp" with the actual name
191 of the BSP (i.e. &lt;bsp_name&gt; from the example template).
122 </para> 192 </para>
123 193
124 <para> 194 <para>
@@ -139,10 +209,13 @@ BBFILE_PRIORITY_bsp = "5"
139 This file simply makes BitBake aware of the recipes and configuration directories. 209 This file simply makes BitBake aware of the recipes and configuration directories.
140 This file must exist so that Poky can recognize the BSP. 210 This file must exist so that Poky can recognize the BSP.
141 </para> 211 </para>
142 </section> 212 </section>
143 213
144 <section id="bsp-filelayout-machine"> 214 <section id="bsp-filelayout-machine">
145 <title>Hardware Configuration Options (meta-&lt;bsp_name&gt;/conf/machine/*.conf)</title> 215 <title>Hardware Configuration Options</title>
216 <programlisting>
217meta-&lt;bsp_name&gt;/conf/machine/*.conf
218 </programlisting>
146 219
147 <para> 220 <para>
148 The machine files bind together all the information contained elsewhere 221 The machine files bind together all the information contained elsewhere
@@ -161,16 +234,12 @@ BBFILE_PRIORITY_bsp = "5"
161 </para> 234 </para>
162 235
163 <para> 236 <para>
164 At least one machine file is required for a Poky BSP layer. 237 At least one machine file is required for a BSP layer.
165 However, you can supply more than one file. 238 However, you can supply more than one file.
166 </para> 239 </para>
167 </section>
168
169 <section id="bsp-filelayout-tune">
170 <title>Hardware Optimization Options (meta-&lt;bsp_name&gt;/conf/machine/include/tune-*.inc)</title>
171 240
172 <para> 241 <para>
173 These files are shared hardware "tuning" definitions and are commonly used to 242 This directory could also contain shared hardware "tuning" definitions that are commonly used to
174 pass specific optimization flags to the compiler. 243 pass specific optimization flags to the compiler.
175 An example is <filename>tune-atom.inc</filename>: 244 An example is <filename>tune-atom.inc</filename>:
176 </para> 245 </para>
@@ -191,57 +260,163 @@ TARGET_CC_ARCH = "-m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse"
191 files included with Poky itself. 260 files included with Poky itself.
192 </para> 261 </para>
193 <para> 262 <para>
194 Both the base package architecuture file and the tune file are optional for a Poky BSP layer. 263 Both the base package architecture file and the tune file are optional for a Poky BSP layer.
195 </para> 264 </para>
196 </section> 265 </section>
197 266
198 <section id='bsp-filelayout-kernel'> 267 <section id='bsp-filelayout-misc-recipes'>
199 <title>Linux Kernel Configuration (meta-&lt;bsp_name&gt;/recipes-kernel/linux/*)</title> 268 <title>Miscellaneous Recipe Files</title>
269 <programlisting>
270meta-&lt;bsp_name&gt;/recipes-bsp/*
271 </programlisting>
200 272
201 <para> 273 <para>
202 These files make up the definition of a kernel to use with this hardware. 274 This optional directory contains miscellaneous recipe files for the BSP.
203 In this case, it is a complete self-contained kernel with its own 275 Most notably would be the formfactor files.
204 configuration and patches. 276 For example, in the crownbay BSP there is a <filename>machconfig</filename> file and a
205 However, kernels can be shared between many machines as well. 277 <filename>formfactor_0.0.bbappend</filename> file:
206 Following is an example: 278 <programlisting>
207 <programlisting> 279meta-crownbay/recipes-bsp/formfactor/formfactor/crownbay/machconfig
208meta-Emenlow/recipes-kernel/linux/linux-bsp_2.6.50.bb 280meta-crownbay/recipes-bsp/formfactor/formfactor_0.0.bbappend
209 </programlisting> 281 </programlisting>
210 This example file is the core kernel recipe that details from where to get the kernel
211 source.
212 All standard source code locations are supported.
213 Consequently, the source could be a release tarball, a git repository, or source included in
214 the directory within the BSP itself.
215 </para>
216 <para>
217 The file then contains information about what patches to apply and how to configure and build them.
218 Because the file can reuse the main Poky kernel build class, the definitions here can
219 remain very simple.
220 </para> 282 </para>
283
284 <note><para>
285 If a BSP does not have a formfactor entry, defaults are established according to
286 the configuration script.
287 </para></note>
288 </section>
289
290 <section id='bsp-filelayout-recipes-graphics'>
291 <title>Display Support Files</title>
292 <programlisting>
293meta-&lt;bsp_name&gt;/recipes-graphics/*
294 </programlisting>
295
221 <para> 296 <para>
297 This optional directory contains recipes for the BSP if it has
298 special requirements for graphics support.
299 All files that are needed for the BSP to support a display are kept here.
300 For example, in the crownbay BSP several display support files exist:
222 <programlisting> 301 <programlisting>
223linux-bsp-2.6.50/*.patch 302meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-config/crownbay/xcorg.conf
303meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
304meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd-bin/.gitignore
305meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd-bin_1.7.99.2.bb
306meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/crosscompile.patch
307meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/fix_open_max_preprocessor_error.patch
308meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/macro_tweak.patch
309meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd/nodolt.patch
310meta-crownbay/recipes-graphics/xorg-xserver/xserver-xf86-emgd_1.7.99.2.bb
224 </programlisting> 311 </programlisting>
225 </para> 312 </para>
313 </section>
314
315 <section id='bsp-filelayout-kernel'>
316 <title>Linux Kernel Configuration</title>
317 <programlisting>
318meta-&lt;bsp_name&gt;/recipes-kernel/linux/linux-yocto-stable.bbappend
319 </programlisting>
320
321 <para>
322 This file appends your specific changes to the kernel you are using.
323 </para>
226 <para> 324 <para>
227 The above example file contains patches you can apply against the base kernel, from wherever 325 For your BSP you typically want to use an existing Poky kernel found in the
228 they may have been obtained. 326 Poky repository at <filename class='directory'>meta/recipes-kernel/kernel</filename>.
327 You can append your specific changes to the kernel recipe by using an append file,
328 which is located in the
329 <filename class='directory'>meta-&lt;bsp_name&gt;/recipes-kernel/linux</filename>
330 directory.
229 </para> 331 </para>
230 <para> 332 <para>
333 Suppose you use a BSP that uses the <filename>linux-yocto-stable_git.bb</filename> kernel,
334 which is the preferred kernel to use for developing a new BSP using the Yocto Project.
335 In other words, you have selected the kernel in your
336 <filename>&lt;bsp_name&gt;.conf</filename> file by adding the following statement:
231 <programlisting> 337 <programlisting>
232meta-Emenlow/recipes-kernel/linux/linux-bsp-2.6.50/defconfig-bsp 338PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-stable"
233 </programlisting> 339 </programlisting>
340 You would use the <filename>linux-yocto-stable_git.bbappend</filename> file to append
341 specific BSP settings to the kernel, thus configuring the kernel for your particular BSP.
234 </para> 342 </para>
235 <para> 343 <para>
236 Finally, this last example file contains kernel configuration information. 344 Now take a look at the existing "crownbay" BSP.
345 The append file used is:
346 <programlisting>
347meta-crownbay/recipes-kernel/linux/linux-yocto-stable_git.bbappend
348 </programlisting>
349 The file contains the following:
350 <programlisting>
351FILESEXTRAPATHS := "${THISDIR}/${PN}"
352COMPATIBLE_MACHINE_crownbay = "crownbay"
353KMACHINE_crownbay = "crownbay"
354 </programlisting>
355 This append file adds "crownbay" as a compatible machine,
356 and additionally sets a Yocto Kernel-specific variable that identifies the name of the
357 BSP branch to use in the GIT repository to find configuration information.
358 </para>
359 <para>
360 One thing missing in this particular BSP, which you will typically need when
361 developing a BSP, is the kernel configuration (.config) for your BSP.
362 When developing a BSP, you probably have a kernel configuration file or a set of kernel
363 configuration files that, when taken together, define the kernel configuration for your BSP.
364 You can accomplish this definition by putting the configurations in a file or a set of files
365 inside a directory located at the same level as your append file and having the same name
366 as the kernel.
367 With all these conditions met simply reference those files in a SRC_URI statement in the append
368 file.
369 </para>
370 <para>
371 For example, suppose you had a set of configuration options in a file called
372 <filename>defconfig</filename>.
373 If you put that file inside a directory named
374 <filename class='directory'>/linux-yocto-stable</filename> and then added
375 a SRC_URI statement such as the following to the append file, those configuration
376 options will be picked up and applied when the kernel is built.
377 <programlisting>
378SRC_URI += "file://defconfig"
379 </programlisting>
237 </para> 380 </para>
238 <para> 381 <para>
239 Examples of kernel recipes are available in Poky itself, and thus, make these files optional. 382 As mentioned earlier, you can group related configurations into multiple files and
240 However, it would be unusual not to have a kernel configuration. 383 name them all in the SRC_URI statement as well.
384 For example, you could group separate configurations specifically for Ethernet and graphics
385 into their own files and add those by using a SRC_URI statement like the
386 following in your append file:
387 <programlisting>
388SRC_URI += "file://defconfig \
389 file://eth.cfg \
390 file://gfx.cfg"
391 </programlisting>
241 </para> 392 </para>
242 </section> 393 <para>
394 The FILESEXTRAPATHS variable is boilerplated here in order to make it easy to do that.
395 It basically allows those configuration files to be found by the build process.
396 </para>
397 <note><para>
398 Other methods exist to accomplish grouping and defining configuration options.
399 For example, you could directly add configuration options to the Yocto kernel
400 <filename class='directory'>wrs_meta</filename> branch for your BSP.
401 The configuration options will likely end up in that location anyway if the BSP gets
402 added to the Yocto Project.
403 For information on how to add these configurations directly, see the
404 "Yocto Project Kernel Architecture and Use Manual" on the
405 <ulink url="http://yoctoproject.org/community/documentation">Yocto Project website
406 Documentation Page</ulink>
407 </para>
408 <para>
409 In general, however, the Yocto Project maintainers take care of moving the SRC_URI-specified
410 configuration options to the <filename class='directory'>wrs_meta</filename> branch.
411 Not only is it easier for BSP developers to not have to worry about putting those
412 configurations in the branch, but having the maintainers do it allows them to apply
413 'global' knowledge about the kinds of common configuration options multiple BSPs in
414 the tree are typically using.
415 This allows for promotion of common configurations into common features.
416 </para></note>
417 </section>
243 418
244 <section id='bsp-filelayout-packages'> 419<!-- <section id='bsp-filelayout-packages'>
245 <title>Other Software (meta-&lt;bsp_name&gt;/recipes-kernel/*)</title> 420 <title>Other Software (meta-&lt;bsp_name&gt;/recipes-kernel/*)</title>
246 421
247 <para> 422 <para>
@@ -286,9 +461,9 @@ meta-Emenlow/recipes-Emenlow/modem/modem-daemon_0.1.bb
286meta-Emenlow/recipes-Emenlow/image-creator/image-creator-native_0.1.bb 461meta-Emenlow/recipes-Emenlow/image-creator/image-creator-native_0.1.bb
287 </programlisting> 462 </programlisting>
288 </para> 463 </para>
289 </section> 464 </section>
290 465
291 <section id='bs-filelayout-bbappend'> 466 <section id='bs-filelayout-bbappend'>
292 <title>Append BSP-Specific Information to Existing Recipes</title> 467 <title>Append BSP-Specific Information to Existing Recipes</title>
293 <para> 468 <para>
294 Suppose you have a recipe such as "pointercal" that requires machine-specific information. 469 Suppose you have a recipe such as "pointercal" that requires machine-specific information.
@@ -306,7 +481,7 @@ meta-Emenlow/recipes-Emenlow/image-creator/image-creator-native_0.1.bb
306 This allows the BSP layer to do whatever it might want to do to customize the original recipe. 481 This allows the BSP layer to do whatever it might want to do to customize the original recipe.
307 </para> 482 </para>
308 <para> 483 <para>
309 If your recipe needs to reference extra files it can use the FILESEXTRAPATH variable 484 If your recipe needs to reference extra files it can use the FILESEXTRAPATHS variable
310 to specify their location. 485 to specify their location.
311 The example below shows extra files contained in a folder called ${PN} (the package name). 486 The example below shows extra files contained in a folder called ${PN} (the package name).
312 </para> 487 </para>
@@ -318,9 +493,9 @@ FILESEXTRAPATHS := "${THISDIR}/${PN}"
318 which will be picked up by BitBake. 493 which will be picked up by BitBake.
319 For an example see <filename>meta-emenlow/packages/formfactor</filename>. 494 For an example see <filename>meta-emenlow/packages/formfactor</filename>.
320 </para> 495 </para>
321 </section> 496 </section>
322 497
323 <section id="bsp-filelayout-prebuilds"> 498 <section id="bsp-filelayout-prebuilds">
324 <title>Pre-build Data (meta-&lt;bsp_name&gt;/prebuilds/*)</title> 499 <title>Pre-build Data (meta-&lt;bsp_name&gt;/prebuilds/*)</title>
325 <para> 500 <para>
326 This location can contain precompiled representations of the source code 501 This location can contain precompiled representations of the source code
@@ -328,6 +503,7 @@ FILESEXTRAPATHS := "${THISDIR}/${PN}"
328 Assuming a compatible configuration is used, Poky can process and use these optional pre-compiled 503 Assuming a compatible configuration is used, Poky can process and use these optional pre-compiled
329 representations to provide much faster build times. 504 representations to provide much faster build times.
330 </para> 505 </para>
506 </section> -->
331 </section> 507 </section>
332 508
333 <section id='bsp-click-through-licensing'> 509 <section id='bsp-click-through-licensing'>
diff --git a/documentation/poky-ref-manual/extendpoky.xml b/documentation/poky-ref-manual/extendpoky.xml
index 92f51a56f9..182b36d51a 100644
--- a/documentation/poky-ref-manual/extendpoky.xml
+++ b/documentation/poky-ref-manual/extendpoky.xml
@@ -685,15 +685,20 @@ BBFILE_PRIORITY_emenlow = "6"
685 This means that for new recipes you must be sure to add the PR variable and set its initial value 685 This means that for new recipes you must be sure to add the PR variable and set its initial value
686 equal to "r0". 686 equal to "r0".
687 Failing to define PR makes it easy to miss when you bump a package. 687 Failing to define PR makes it easy to miss when you bump a package.
688 Note that you can only use integer values for the PR variable. 688 Note that you can only use integer values following the "r" in the PR variable.
689 </para> 689 </para>
690 <para> 690 <para>
691 You can also use the <glossterm><link linkend='var-INC_PR'>INC_PR</link></glossterm> variable 691 If you are sharing a common .inc file with multiple recipes, you can also use the
692 to keep up with package revisioning. 692 <glossterm><link linkend='var-INC_PR'>INC_PR</link></glossterm> variable to ensure that
693 the recipes sharing the .inc file are rebuilt when the .inc file itself is changed. The
694 .inc file must set INC_PR (initially to "r0"), and all recipes referring to it should set PR to
695 "$(INC_PR).0" initially, incrementing the last number when the recipe is changed. If the
696 .inc file is changed then its INC_PR should be incremented.
693 </para> 697 </para>
694 <para> 698 <para>
695 When upgrading the version of a package the (<glossterm><link 699 When upgrading the version of a package, assuming the <glossterm><link
696 linkend='var-PV'>PV</link></glossterm>) and PR variables should be reset to "r0". 700 linkend='var-PV'>PV</link></glossterm> changes, the PR variable should be reset to "r0"
701 (or "$(INC_PR).0" if you are using INC_PR).
697 </para> 702 </para>
698 <para> 703 <para>
699 Usually, version increases occur only to packages. 704 Usually, version increases occur only to packages.
diff --git a/documentation/poky-ref-manual/poky-ref-manual.xml b/documentation/poky-ref-manual/poky-ref-manual.xml
index 70f0fc1321..2175d0afb3 100644
--- a/documentation/poky-ref-manual/poky-ref-manual.xml
+++ b/documentation/poky-ref-manual/poky-ref-manual.xml
@@ -21,9 +21,9 @@
21 <author> 21 <author>
22 <firstname>Richard</firstname> <surname>Purdie</surname> 22 <firstname>Richard</firstname> <surname>Purdie</surname>
23 <affiliation> 23 <affiliation>
24 <orgname>Intel Corporation</orgname> 24 <orgname>Linux Foundation</orgname>
25 </affiliation> 25 </affiliation>
26 <email>richard@linux.intel.com</email> 26 <email>richard.purdie@linuxfoundation.org</email>
27 </author> 27 </author>
28 28
29 <author> 29 <author>
diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml
index 98a501f399..da57e2c384 100644
--- a/documentation/poky-ref-manual/ref-variables.xml
+++ b/documentation/poky-ref-manual/ref-variables.xml
@@ -609,7 +609,7 @@ recipes-graphics/xorg-font/fiont-alias_1.0.2.bb:PR - "$(INC_PR).0"
609 609
610 <glossentry id='var-PR'><glossterm>PR</glossterm> 610 <glossentry id='var-PR'><glossterm>PR</glossterm>
611 <glossdef> 611 <glossdef>
612 <para>Revision of package. 612 <para>Revision of package. The default value is "r0".
613 </para> 613 </para>
614 </glossdef> 614 </glossdef>
615 </glossentry> 615 </glossentry>
@@ -617,7 +617,11 @@ recipes-graphics/xorg-font/fiont-alias_1.0.2.bb:PR - "$(INC_PR).0"
617 <glossentry id='var-PV'><glossterm>PV</glossterm> 617 <glossentry id='var-PV'><glossterm>PV</glossterm>
618 <glossdef> 618 <glossdef>
619 <para>Version of package. 619 <para>Version of package.
620 The default value is "1.0"</para> 620 This is normally extracted from the recipe name, e.g. if the recipe is named
621 "expat_2.0.1.bb" then PV will be "2.0.1". PV is generally not overridden within
622 a recipe unless it is building an unstable version from a source code repository
623 (git, svn, etc.).
624 </para>
621 </glossdef> 625 </glossdef>
622 </glossentry> 626 </glossentry>
623 627
diff --git a/documentation/yocto-project-qs/figures/using-a-pre-built-image.png b/documentation/yocto-project-qs/figures/using-a-pre-built-image.png
index 4f4f7d8495..b03130d123 100755..100644
--- a/documentation/yocto-project-qs/figures/using-a-pre-built-image.png
+++ b/documentation/yocto-project-qs/figures/using-a-pre-built-image.png
Binary files differ
diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml
index 1c45cde88b..24480bc787 100644
--- a/documentation/yocto-project-qs/yocto-project-qs.xml
+++ b/documentation/yocto-project-qs/yocto-project-qs.xml
@@ -141,7 +141,7 @@
141 unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk \ 141 unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk \
142 python-pysqlite2 diffstat help2man make gcc build-essential \ 142 python-pysqlite2 diffstat help2man make gcc build-essential \
143 g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev \ 143 g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev \
144 mercurial 144 mercurial autoconf automake
145 </literallayout> 145 </literallayout>
146 146
147 <para> 147 <para>
@@ -156,17 +156,18 @@
156 docbook-utils sed bc glibc-devel ccache pcre pcre-devel quilt \ 156 docbook-utils sed bc glibc-devel ccache pcre pcre-devel quilt \
157 groff linuxdoc-tools patch linuxdoc-tools cmake help2man \ 157 groff linuxdoc-tools patch linuxdoc-tools cmake help2man \
158 perl-ExtUtils-MakeMaker tcl-devel gettext chrpath ncurses apr \ 158 perl-ExtUtils-MakeMaker tcl-devel gettext chrpath ncurses apr \
159 SDL-devel mesa-libGL-devel mesa-libGLU-devel gnome-doc-utils 159 SDL-devel mesa-libGL-devel mesa-libGLU-devel gnome-doc-utils \
160 autoconf automake
160 </literallayout> 161 </literallayout>
161 162
162 <para> 163 <note><para>
163 <emphasis>NOTE:</emphasis> Packages vary in number and name for other Linux distributions. 164 Packages vary in number and name for other Linux distributions.
164 The commands here should work. We are interested, though, to learn what works for you. 165 The commands here should work. We are interested, though, to learn what works for you.
165 You can find more information for package requirements on common Linux distributions 166 You can find more information for package requirements on common Linux distributions
166 at <ulink url="http://wiki.openembedded.net/index.php/OEandYourDistro"></ulink>. 167 at <ulink url="http://wiki.openembedded.net/index.php/OEandYourDistro"></ulink>.
167 However, you should be careful when using this information as the information applies 168 However, you should be careful when using this information as the information applies
168 to old Linux distributions that are known to not work with a current Poky install. 169 to old Linux distributions that are known to not work with a current Poky install.
169 </para> 170 </para></note>
170 </section> 171 </section>
171 172
172 <section id='releases'> 173 <section id='releases'>
@@ -215,15 +216,16 @@
215 </mediaobject> 216 </mediaobject>
216 217
217 <para> 218 <para>
218 Use the following commands from a shell on your Debian-based host to build your image. 219 Use the following commands to build your image.
219 The build creates an entire Linux system including the Toolchain from the source. 220 The build process creates an entire Linux distribution, including the toolchain, from source.
220 </para> 221 </para>
221 222
222 <para><emphasis>NOTE:</emphasis> The build process using Sato currently consumes 223 <note><para>
223 50GB of disk space. 224 The build process using Sato currently consumes
224 To allow for variations in the build process and for future package expansion we 225 about 50GB of disk space.
225 recommend 100GB of free disk space. 226 To allow for variations in the build process and for future package expansion, we
226 </para> 227 recommend having at least 100GB of free disk space.
228 </para></note>
227 229
228 <para> 230 <para>
229 <literallayout class='monospaced'> 231 <literallayout class='monospaced'>
@@ -234,52 +236,56 @@
234 </para> 236 </para>
235 <itemizedlist> 237 <itemizedlist>
236 <listitem><para>The first two commands extract the Yocto Project files from the 238 <listitem><para>The first two commands extract the Yocto Project files from the
237 release area and place them into a subdirectory of your current directory 239 release tarball and place them into a subdirectory of your current directory.</para></listitem>
238 (<command>poky-4.0-build</command> in this example).</para></listitem> 240 <listitem><para>The <command>source</command> command creates the
239 <listitem><para>The <command>$ source</command> command creates the directory and places 241 <filename>poky-4.0-build</filename> directory and executes the <command>cd</command>
240 you there. 242 command to make <filename>poky-4.0-build</filename> the working directory.
241 The build directory contains all the object files used during the build. 243 The resulting build directory contains all the files created during the build.
242 The default build directory is <command>poky-4.0-build</command>. 244 By default the target architecture is qemux86.
243 Note that you can change the target architecture by editing the 245 To change this default, edit the value of the MACHINE variable in the
244 <command>&lt;build_directory&gt;/conf/local.conf</command> file. 246 <filename>conf/local.conf</filename> file.</para></listitem>
245 By default the target architecture is qemux86.</para></listitem>
246 </itemizedlist> 247 </itemizedlist>
247 <para> 248 <para>
248 Now might be a good time to edit the <command>conf/local.conf</command> 249 Take some time to examine your <filename>conf/local.conf</filename> file.
249 file. 250 The defaults should work fine.
250 The defaults should all be fine. However, you might want to look at the variables 251 However, if you have a multi-core CPU you might want to set the variables
251 BB_NUMBER_THREADS and PARALLEL_MAKE. 252 BB_NUMBER_THREADS and PARALLEL_MAKE to the number of processor cores on your build machine.
252 By default, these variables are commented out. 253 By default, these variables are commented out.
253 </para> 254 </para>
254 <para> 255 <para>
255 Continue with the following command to build the OS image for the target, which is 256 Continue with the following command to build an OS image for the target, which is
256 poky-image-sato in this example. 257 <filename>poky-image-sato</filename> in this example.
257 <literallayout class='monospaced'> 258 <literallayout class='monospaced'>
258 $ bitbake poky-image-sato 259 $ bitbake poky-image-sato
259 </literallayout> 260 </literallayout>
260 <emphasis>NOTE:</emphasis> If you are running Fedora 14 or another distribution 261 <note><para>
261 with GNU make 3.82 you might have to run the following two 262 If you are running Fedora 14 or another distribution
262 <command>$bitbake</command> commands instead: 263 that ships with GNU make v3.82 you need to run the following two
263 <literallayout class='monospaced'> 264 <command>bitbake</command> commands instead:
265 <literallayout class='monospaced'>
264 $ bitbake make-native 266 $ bitbake make-native
265 $ bitbake poky-image-sato 267 $ bitbake poky-image-sato
266 </literallayout> 268 </literallayout>
269 </para></note>
267 The final command runs the image: 270 The final command runs the image:
268 <literallayout class='monospaced'> 271 <literallayout class='monospaced'>
269 $ poky-qemu qemux86 272 $ poky-qemu qemux86
270 </literallayout> 273 </literallayout>
271 The build process could take several hours the first time you run it. 274 <note><para>
272 Depending on the number of processors and cores, the amount or RAM, the speed of your 275 Depending on the number of processors and cores, the amount or RAM, the speed of your
273 internet connection and other factors. 276 Internet connection and other factors, the build process could take several hours the first
274 After the initial build, subsequent builds run much faster. 277 time you run it.
278 Subsequent builds run much faster since parts of the build are cached.
279 </para></note>
275 </para> 280 </para>
276 </section> 281 </section>
277 282
278 <section id='using-pre-built'> 283 <section id='using-pre-built'>
279 <title>Using Pre-Built Binaries and QEMU</title> 284 <title>Using Pre-Built Binaries and QEMU</title>
280 <para> 285 <para>
281 If hardware, libraries and services are stable you can use a pre-built binary of the image, kernel and toolchain and just run it on the target using the emulator QEMU. 286 If hardware, libraries and services are stable you can get started by using a pre-built binary
282 This situation is perfect for developing application software. 287 of the image, kernel and toolchain and run it using the emulator QEMU.
288 This scenario is useful for developing application software.
283 </para> 289 </para>
284 290
285 <para></para> 291 <para></para>
@@ -296,31 +302,74 @@
296 </mediaobject> 302 </mediaobject>
297 303
298 <para> 304 <para>
299 For this scenario you need to do three things: 305 For this scenario you need to do several things:
300 </para> 306 </para>
301 307
302 <itemizedlist> 308 <itemizedlist>
303 <listitem> 309 <listitem>
304 <para> 310 <para>
305 Install the standalone Yocto toolchain tarball 311 Install the stand-alone Yocto toolchain tarball.
306 </para> 312 </para>
307 </listitem> 313 </listitem>
308 <listitem> 314 <listitem>
309 <para> 315 <para>
310 Download the pre-built kernel that will run on QEMU. 316 Download the pre-built kernel that will boot with QEMU.
311 You need to be sure to get the QEMU image that matches your target machine’s architecture (e.g. x86, ARM, etc.). 317 You need to be sure to get the QEMU image that matches your target machine’s
318 architecture (e.g. x86, ARM, etc.).
312 </para> 319 </para>
313 </listitem> 320 </listitem>
314 <listitem> 321 <listitem>
315 <para> 322 <para>
316 Download and decompress the file image system. 323 Download the filesystem image for your target machine's architecture.
317 </para> 324 </para>
318 </listitem> 325 </listitem>
326 <listitem>
327 <para>
328 Set up the environment to emulate the hardware and then start the QEMU emulator.
329 </para>
330 </listitem>
331
319 </itemizedlist> 332 </itemizedlist>
320 333
334 <section id='installing-the-toolchain'>
335 <title>Installing the Toolchain</title>
336 <para>
337 You can download the pre-built toolchain, which includes the poky-qemu script and
338 support files, from <ulink url='http://yoctoproject.org/downloads/yocto-0.9/toolchain/'></ulink>.
339 Toolchains are available for 32-bit and 64-bit development systems from the
340 <filename>i586</filename> and <filename>x86_64</filename> folders, respectively.
341 Each type of development system supports five target architectures.
342 The tarball files are named such that a string representing the host system appears
343 first in the filename and then is immediately followed by a string representing
344 the target architecture.
345 </para>
346
347 <literallayout class='monospaced'>
348 yocto-eglibc&lt;<emphasis>host_system</emphasis>&gt;-&lt;<emphasis>arch</emphasis>&gt;-toolchain-sdk-&lt;<emphasis>release</emphasis>&gt;.tar.bz2
349
350 Where:
351 &lt;<emphasis>host_system</emphasis>&gt; is a string representing your development system:
352 i586 or x86_64.
353
354 &lt;<emphasis>arch</emphasis>&gt; is a string representing the target architecture:
355 i585, x86_64, powerpc, mips, or arm.
356
357 &lt;<emphasis>release</emphasis>&gt; is the version of Yocto Project.
358 </literallayout>
359
360 <para>
361 For example, the following toolchain tarball is for a 64-bit development
362 host system and a 32-bit target architecture:
363 </para>
364
365 <literallayout class='monospaced'>
366 yocto-eglibc-x86_64-i586-toolchain-sdk-0.9.tar.bz2
367 </literallayout>
368
321 <para> 369 <para>
322 You can download the pre-built toolchain which includes the poky-qemu script and support files from <ulink url='http://yoctoproject.org/downloads/yocto-0.9/toolchain/'></ulink>. These are available for i586 (32-bit) and x86_64 (64 bit) host machines, targeting each of the 5 supported target architectures. The tarballs are self contained and install into /opt/poky. 370 The toolchain tarballs are self-contained and should be installed into <filename>/opt/poky</filename>.
323 Use these commands to install the toolchain tarball (taking the 64 bit host, 32 bit i586 target as an example): 371 The following commands show how you install the toolchain tarball given a 64-bit development host system
372 and a 32-bit target architecture.
324 </para> 373 </para>
325 374
326 <para> 375 <para>
@@ -329,41 +378,112 @@
329 $ sudo tar -xvjf yocto-eglibc-x86_64-i586-toolchain-sdk-0.9.tar.bz2 378 $ sudo tar -xvjf yocto-eglibc-x86_64-i586-toolchain-sdk-0.9.tar.bz2
330 </literallayout> 379 </literallayout>
331 </para> 380 </para>
381 </section>
382
383 <section id='downloading-the-pre-built-linux-kernel'>
384 <title>Downloading the Pre-Built Linux Kernel</title>
385 <para>
386 You can download the pre-built Linux kernel and the filesystem image suitable for
387 running in the emulator QEMU from
388 <ulink url='http://yoctoproject.org/downloads/yocto-0.9/qemu'></ulink>.
389 Be sure to use the kernel and filesystem image that matches the architecture you want
390 to simulate.
391 </para>
392
393 <para>
394 Most kernel files have the following form:
395 </para>
396
397 <literallayout class='monospaced'>
398 *zImage*qemu&lt;<emphasis>arch</emphasis>&gt;*.bin
399
400 Where:
401 &lt;<emphasis>arch</emphasis>&gt; is a string representing the target architecture:
402 x86, x86-64, ppc, mips, or arm.
403 </literallayout>
404 </section>
332 405
406 <section id='downloading-the-filesystem'>
407 <title>Downloading the Filesystem</title>
333 <para> 408 <para>
334 You can download the pre-built Linux kernel and the file image system from <ulink url='http://yoctoproject.org/downloads/yocto-0.9/'></ulink>. 409 The filesystem image has two forms.
335 The kernel and file image system have the following forms, respectively: 410 One form is an <filename>ext3</filename> filesystem image.
411 The other form is a tarball of the filesystem and is booted using user-space NFS.
412 Here are the respective forms:
336 </para> 413 </para>
337 414
338 <literallayout class='monospaced'> 415 <literallayout class='monospaced'>
339 *zImage*qemu*.bin 416 yocto-image-&lt;<emphasis>profile</emphasis>&gt;-qemu&lt;<emphasis>arch</emphasis>&gt;.rootfs.ext3
340 poky-image-*-qemu*.ext2.bz2 417 yocto-image-&lt;<emphasis>profile</emphasis>&gt;-qemu&lt;<emphasis>arch</emphasis>&gt;.rootfs.tar.bz2
418
419 Where:
420 &lt;<emphasis>profile</emphasis>&gt; is the filesystem image's profile:
421 sdk, sato, minimal, or lsb.
422
423 &lt;<emphasis>arch</emphasis>&gt; is a string representing the target architecture:
424 x86, x86-64, ppc, mips, or arm.
341 </literallayout> 425 </literallayout>
426 </section>
342 427
428 <section id='setting-up-the-environment-and-starting-the-qemu-emulator'>
429 <title>Setting Up the Environment and Starting the QEMU Emulator</title>
343 <para> 430 <para>
344 You must decompress the file image system using the following command: 431 Before you start the QEMU emulator you need to set up the emulation environment.
432 The following command form sets up the emulation environment.
345 </para> 433 </para>
346 434
347 <literallayout class='monospaced'> 435 <literallayout class='monospaced'>
348 $ bzip2 -d 436 $ source /opt/poky/environment-setup-&lt;<emphasis>arch</emphasis>&gt;-poky-linux-&lt;<emphasis>if</emphasis>&gt;
437
438 Where:
439 &lt;<emphasis>arch</emphasis>&gt; is a string representing the target architecture:
440 i586, x86_64, ppc603e, mips, or armv5te.
441
442 &lt;<emphasis>if</emphasis>&gt; is a string representing an embedded application binary interface.
443 Not all setup scripts include this string.
349 </literallayout> 444 </literallayout>
350 445
351 <para> 446 <para>
352 You can now start the emulator using these commands (assuming an 32 bit i586 target): 447 Finally, this command form invokes the QEMU emulator
353 </para> 448 </para>
354 449
355 <literallayout class='monospaced'> 450 <literallayout class='monospaced'>
356 $ source /opt/poky/environment-setup-i586-poky-linux
357 $ poky-qemu &lt;<emphasis>qemuarch</emphasis>&gt; &lt;<emphasis>kernel</emphasis>&gt; &lt;<emphasis>image</emphasis>&gt; &lt;<emphasis>fstype</emphasis>&gt; 451 $ poky-qemu &lt;<emphasis>qemuarch</emphasis>&gt; &lt;<emphasis>kernel</emphasis>&gt; &lt;<emphasis>image</emphasis>&gt; &lt;<emphasis>fstype</emphasis>&gt;
452
453 Where:
454 &lt;<emphasis>qemuarch</emphasis>&gt; is a string representing the target architecture: qemux86, qemux86-64,
455 qemuppc, qemumips, or qemuarm.
456
457 &lt;<emphasis>kernel</emphasis>&gt; is the architecture-specific kernel.
458
459 &lt;<emphasis>image</emphasis>&gt; is the .ext3 filesystem image.
460
461 &lt;<emphasis>fstype</emphasis>&gt; is the filesystem type.
358 </literallayout> 462 </literallayout>
463
359 <para> 464 <para>
360 For example: 465 Continuing with the example, the following two commands setup the emulation
466 environment and launch QEMU.
467 The kernel and filesystem are for a 32-bit target architecture.
361 </para> 468 </para>
469
362 <literallayout class='monospaced'> 470 <literallayout class='monospaced'>
363 $ poky-qemu qemuppc zImage-2.6.34-qemuppc-0.9 \ 471 $ source /opt/poky/environment-setup-i586-poky-linux
364 yocto-image-minimal-qemuppc-0.9.rootfs.ext3 ext3 472 $ poky-qemu qemui586 zImage-2.6.34-qemux86-0.9 yocto-image-sdk-qemux86-0.9.rootfs.ext3 ext3
365 </literallayout> 473 </literallayout>
366 474
475 <para>
476 The environment in which QEMU launches varies depending on the filesystem image and on the
477 target architecture. For example, if you source the environment for the ARM target
478 architecture and then boot the minimal QEMU image, the emulator comes up in a new
479 shell in command-line mode. However, if you boot the SDK image QEMU comes up with
480 a GUI.
481 </para>
482
483 <note><para>
484 Booting the PPC image results in QEMU launching in the same shell in command-line mode.
485 </para></note>
486 </section>
367 </section> 487 </section>
368</section> 488</section>
369 489
diff --git a/meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb b/meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb
index 022f709f99..d647f682d0 100644
--- a/meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb
+++ b/meta-demoapps/recipes-connectivity/openswan/openswan_2.4.7.bb
@@ -5,9 +5,9 @@ Linux operating system."
5HOMEPAGE = "http://www.openswan.org" 5HOMEPAGE = "http://www.openswan.org"
6LICENSE = "GPLv2" 6LICENSE = "GPLv2"
7DEPENDS = "gmp flex-native" 7DEPENDS = "gmp flex-native"
8RRECOMMENDS = "kernel-module-ipsec" 8RRECOMMENDS_${PN} = "kernel-module-ipsec"
9RDEPENDS_nylon = "perl" 9RDEPENDS_${PN}_nylon = "perl"
10PR = "r0" 10PR = "r1"
11 11
12SRC_URI = "http://www.openswan.org/download/old/openswan-${PV}.tar.gz \ 12SRC_URI = "http://www.openswan.org/download/old/openswan-${PV}.tar.gz \
13 file://openswan-2.4.7-gentoo.patch;patch=1 \ 13 file://openswan-2.4.7-gentoo.patch;patch=1 \
diff --git a/meta-demoapps/recipes-connectivity/opensync/libsync_svn.bb b/meta-demoapps/recipes-connectivity/opensync/libsync_svn.bb
index 74ca752ad6..34115ff4e6 100644
--- a/meta-demoapps/recipes-connectivity/opensync/libsync_svn.bb
+++ b/meta-demoapps/recipes-connectivity/opensync/libsync_svn.bb
@@ -4,10 +4,11 @@ OpenSync in GLib applications."
4LICENSE = "LGPL" 4LICENSE = "LGPL"
5SECTION = "x11" 5SECTION = "x11"
6DEPENDS = "glib-2.0 gtk+ libglade libopensync avahi" 6DEPENDS = "glib-2.0 gtk+ libglade libopensync avahi"
7RRECOMMENDS = "\ 7RRECOMMENDS_${PN} = "\
8 libopensync-plugin-file \ 8 libopensync-plugin-file \
9 " 9 "
10PV = "0.0+svnr${SRCREV}" 10PV = "0.0+svnr${SRCPV}"
11PR = "r1"
11 12
12SRC_URI = "svn://svn.o-hand.com/repos/sync/trunk;module=sync;proto=http" 13SRC_URI = "svn://svn.o-hand.com/repos/sync/trunk;module=sync;proto=http"
13 14
diff --git a/meta-demoapps/recipes-connectivity/telepathy/empathy_2.26.1.bb b/meta-demoapps/recipes-connectivity/telepathy/empathy_2.26.1.bb
index 2e07b19c16..2c973ac664 100644
--- a/meta-demoapps/recipes-connectivity/telepathy/empathy_2.26.1.bb
+++ b/meta-demoapps/recipes-connectivity/telepathy/empathy_2.26.1.bb
@@ -6,9 +6,9 @@ Gadu-Gadu, Groupwise, ICQ and QQ."
6HOMEPAGE = "http://blogs.gnome.org/view/xclaesse/2007/04/26/0" 6HOMEPAGE = "http://blogs.gnome.org/view/xclaesse/2007/04/26/0"
7LICENSE = "GPL" 7LICENSE = "GPL"
8DEPENDS = "libcanberra telepathy-farsight gnome-doc-utils python-native telepathy-python telepathy-mission-control libtelepathy telepathy-glib gtk+ gconf libglade eds-dbus" 8DEPENDS = "libcanberra telepathy-farsight gnome-doc-utils python-native telepathy-python telepathy-mission-control libtelepathy telepathy-glib gtk+ gconf libglade eds-dbus"
9RDEPENDS = "telepathy-mission-control" 9RDEPENDS_${PN} = "telepathy-mission-control"
10RRECOMMENDS = "telepathy-gabble" 10RRECOMMENDS_${PN} = "telepathy-gabble"
11PR = "r2" 11PR = "r3"
12 12
13inherit gnome 13inherit gnome
14 14
diff --git a/meta-demoapps/recipes-gnome/abiword/abiword-2.5.inc b/meta-demoapps/recipes-gnome/abiword/abiword-2.5.inc
index dcd3b85534..e3f6a9d2b9 100644
--- a/meta-demoapps/recipes-gnome/abiword/abiword-2.5.inc
+++ b/meta-demoapps/recipes-gnome/abiword/abiword-2.5.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.abiword.org"
3SECTION = "x11/office" 3SECTION = "x11/office"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5DEPENDS = "perl-native wv libgsf libglade libfribidi jpeg libpng libxml2" 5DEPENDS = "perl-native wv libgsf libglade libfribidi jpeg libpng libxml2"
6RDEPENDS = "glibc-gconv-ibm850 glibc-gconv-cp1252 \ 6RDEPENDS_${PN} = "glibc-gconv-ibm850 glibc-gconv-cp1252 \
7 glibc-gconv-iso8859-15 glibc-gconv-iso8859-1" 7 glibc-gconv-iso8859-15 glibc-gconv-iso8859-1"
8 8
9SRC_URI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz" 9SRC_URI = "http://www.abiword.org/downloads/abiword/${PV}/source/abiword-${PV}.tar.gz"
diff --git a/meta-demoapps/recipes-gnome/abiword/abiword-embedded_2.5.2.bb b/meta-demoapps/recipes-gnome/abiword/abiword-embedded_2.5.2.bb
index 47cf9e03c0..7ee0f866a0 100644
--- a/meta-demoapps/recipes-gnome/abiword/abiword-embedded_2.5.2.bb
+++ b/meta-demoapps/recipes-gnome/abiword/abiword-embedded_2.5.2.bb
@@ -1,5 +1,7 @@
1require abiword-2.5.inc 1require abiword-2.5.inc
2 2
3PR = "r1"
4
3EXTRA_OECONF += "--enable-embedded" 5EXTRA_OECONF += "--enable-embedded"
4 6
5S = "${WORKDIR}/abiword-${PV}" 7S = "${WORKDIR}/abiword-${PV}"
diff --git a/meta-demoapps/recipes-gnome/abiword/abiword.inc b/meta-demoapps/recipes-gnome/abiword/abiword.inc
index d2fabf931c..5d7e3ce600 100644
--- a/meta-demoapps/recipes-gnome/abiword/abiword.inc
+++ b/meta-demoapps/recipes-gnome/abiword/abiword.inc
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.abiword.org""
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5 5
6DEPENDS = "libgsf libglade libfribidi libxml2 wv" 6DEPENDS = "libgsf libglade libfribidi libxml2 wv"
7RRECOMMENDS = "glibc-gconv-ibm850 glibc-gconv-cp1252 \ 7RRECOMMENDS_${PN} = "glibc-gconv-ibm850 glibc-gconv-cp1252 \
8 glibc-gconv-iso8859-15 glibc-gconv-iso8859-1" 8 glibc-gconv-iso8859-15 glibc-gconv-iso8859-1"
9 9
10# Share this file between recipes that use cvs and that pull tarballs 10# Share this file between recipes that use cvs and that pull tarballs
diff --git a/meta-demoapps/recipes-gnome/abiword/abiword_2.5.2.bb b/meta-demoapps/recipes-gnome/abiword/abiword_2.5.2.bb
index 566d0fa203..c10d761b06 100644
--- a/meta-demoapps/recipes-gnome/abiword/abiword_2.5.2.bb
+++ b/meta-demoapps/recipes-gnome/abiword/abiword_2.5.2.bb
@@ -1,5 +1,5 @@
1require abiword-2.5.inc 1require abiword-2.5.inc
2 2
3PR = "r1" 3PR = "r2"
4 4
5RCONFLICTS = "abiword-embedded" 5RCONFLICTS_${PN} = "abiword-embedded"
diff --git a/meta-demoapps/recipes-gnome/abiword/abiword_cvs.bb b/meta-demoapps/recipes-gnome/abiword/abiword_cvs.bb
index e0e3bd7d60..4dffbd0710 100644
--- a/meta-demoapps/recipes-gnome/abiword/abiword_cvs.bb
+++ b/meta-demoapps/recipes-gnome/abiword/abiword_cvs.bb
@@ -1,7 +1,7 @@
1require abiword.inc 1require abiword.inc
2 2
3PV="2.5.0+cvs${SRCDATE}" 3PV="2.5.0+cvs${SRCDATE}"
4PR = "r3" 4PR = "r4"
5 5
6SRC_URI = "${CVSURI}" 6SRC_URI = "${CVSURI}"
7 7
diff --git a/meta-demoapps/recipes-gnome/libgsf/libgsf_1.14.5.bb b/meta-demoapps/recipes-gnome/libgsf/libgsf_1.14.5.bb
index 760c5c10af..3ac7d6e2eb 100644
--- a/meta-demoapps/recipes-gnome/libgsf/libgsf_1.14.5.bb
+++ b/meta-demoapps/recipes-gnome/libgsf/libgsf_1.14.5.bb
@@ -1,10 +1,10 @@
1DESCRIPTION = "GNOME Structured File Library" 1DESCRIPTION = "GNOME Structured File Library"
2LICENSE = "GPL" 2LICENSE = "GPL"
3SECTION = "libs" 3SECTION = "libs"
4PR = "r0" 4PR = "r1"
5 5
6DEPENDS= "libxml2 bzip2 glib-2.0 zlib" 6DEPENDS= "libxml2 bzip2 glib-2.0 zlib"
7RDEPENDS = "gconf gnome-vfs" 7RDEPENDS_${PN} = "gconf gnome-vfs"
8 8
9 9
10PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev " 10PACKAGES =+ "${PN}-gnome ${PN}-gnome-dev "
diff --git a/meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_svn.bb b/meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_git.bb
index 6a9f18beaf..fdb764ca03 100644
--- a/meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_svn.bb
+++ b/meta-demoapps/recipes-sato/matchbox-themes-extra/matchbox-themes-extra_git.bb
@@ -2,10 +2,12 @@ DESCRIPTION = "Matchbox window manager extra themes"
2LICENSE = "GPL" 2LICENSE = "GPL"
3DEPENDS = "matchbox-wm" 3DEPENDS = "matchbox-wm"
4SECTION = "x11/wm" 4SECTION = "x11/wm"
5PV = "0.3+svnr${SRCREV}" 5PV = "0.3+git${SRCPV}"
6 6
7SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-themes-extra;proto=http" 7LIC_FILES_CHKSUM = "file://configure.ac;endline=7;md5=3c4e087662e37f10e469425f3a0ad225"
8S = "${WORKDIR}/${PN}" 8
9SRC_URI = "git://git.pokylinux.org/${PN};protocol=git"
10S = "${WORKDIR}/git"
9 11
10inherit autotools pkgconfig 12inherit autotools pkgconfig
11 13
diff --git a/meta-demoapps/recipes-sato/matchbox-themes-gtk/matchbox-themes-gtk.bb b/meta-demoapps/recipes-sato/matchbox-themes-gtk/matchbox-themes-gtk.bb
index 60be56de13..21716cf72e 100644
--- a/meta-demoapps/recipes-sato/matchbox-themes-gtk/matchbox-themes-gtk.bb
+++ b/meta-demoapps/recipes-sato/matchbox-themes-gtk/matchbox-themes-gtk.bb
@@ -1,9 +1,9 @@
1DESCRIPTION = "Gtk2 theme files to accompany default Matchbox themes" 1DESCRIPTION = "Gtk2 theme files to accompany default Matchbox themes"
2LICENSE = "GPL" 2LICENSE = "GPL"
3DEPENDS = "gtk-engines" 3DEPENDS = "gtk-engines"
4RDEPENDS = "matchbox-wm gtk-engine-clearlooks" 4RDEPENDS_${PN} = "matchbox-wm gtk-engine-clearlooks"
5SECTION = "x11/base" 5SECTION = "x11/base"
6PR = "r2" 6PR = "r3"
7 7
8SRC_URI = "file://gtkrc" 8SRC_URI = "file://gtkrc"
9 9
diff --git a/meta-emenlow/README b/meta-emenlow/README
new file mode 100644
index 0000000000..862af5481b
--- /dev/null
+++ b/meta-emenlow/README
@@ -0,0 +1,78 @@
1This README file contains information on building the meta-emenlow
2BSP layer using any of the supported machine configurations, and
3booting the images contained in the /binary directory.
4
5If you're only interested in booting the images in the /binary
6directory of a BSP tarball you've downloaded, there's nothing special
7to do - the appropriate images are already in the /binary directory
8depending on which BSP tarball you downloaded.
9
10Please see the corresponding sections below for details.
11
12
13Table of Contents
14=================
15
16 I. Building the meta-emenlow BSP layer
17II. Booting the images in /binary
18
19
20I. Building the meta-emenlow BSP layer
21=======================================
22
23In order to build an image with BSP support for emenlow, you just need
24to check out the poky master branch.
25
26Having done that, you can build an emenlow image by adding the
27location of the meta-emenlow layer to bblayers.conf e.g.:
28
29 yocto/meta-emenlow \
30
31To enable the emenlow layer, add the emenlow MACHINE to local.conf:
32
33 MACHINE ?= "emenlow"
34
35You should then be able to build an emenlow image as such:
36
37 $ source poky-init-build-env
38 $ bitbake poky-image-sato-live
39
40At the end of a successful build, you should have a live image that
41you can boot from a USB flash drive (see instructions on how to do
42that below, in the section 'Booting the images from /binary').
43
44
45II. Booting the images in /binary
46=================================
47
48This BSP contains bootable live images, which can be used to directly
49boot Yocto off of a USB flash drive.
50
51Under Linux, insert a USB flash drive. Assuming the USB flash drive
52takes device /dev/sdf, use dd to copy the live image to it. For
53example:
54
55# dd if=poky-image-sato-live-emenlow-20101207053738.hddimg of=/dev/sdf
56# sync
57# eject /dev/sdf
58
59This should give you a bootable USB flash device. Insert the device
60into a bootable USB socket on the target, and power on. This should
61result in a system booted to the Sato graphical desktop.
62
63If you want a terminal, use the arrows at the top of the UI to move to
64different pages of available applications, one of which is named
65'Terminal'. Clicking that should give you a root terminal.
66
67If you want to ssh into the system, you can use the root terminal to
68ifconfig the IP address and use that to ssh in. The root password is
69empty, so to log in type 'root' for the user name and hit 'Enter' at
70the Password prompt: and you should be in.
71
72----
73
74If you find you're getting corrupt images on the USB (it doesn't show
75the syslinux boot: prompt, or the boot: prompt contains strange
76characters), try doing this first:
77
78# dd if=/dev/zero of=/dev/sdf bs=1M count=512
diff --git a/meta-emenlow/binary/.gitignore b/meta-emenlow/binary/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/meta-emenlow/binary/.gitignore
diff --git a/meta-emenlow/conf/layer.conf b/meta-emenlow/conf/layer.conf
index 4017787c62..563b9c8e6e 100644
--- a/meta-emenlow/conf/layer.conf
+++ b/meta-emenlow/conf/layer.conf
@@ -2,8 +2,8 @@
2BBPATH := "${BBPATH}:${LAYERDIR}" 2BBPATH := "${BBPATH}:${LAYERDIR}"
3 3
4# We have a packages directory, add to BBFILES 4# We have a packages directory, add to BBFILES
5BBFILES := "${BBFILES} ${LAYERDIR}/recipes/*/*.bb \ 5BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
6 ${LAYERDIR}/recipes/*/*.bbappend" 6 ${LAYERDIR}/recipes-*/*/*.bbappend"
7 7
8BBFILE_COLLECTIONS += "emenlow" 8BBFILE_COLLECTIONS += "emenlow"
9BBFILE_PATTERN_emenlow := "^${LAYERDIR}/" 9BBFILE_PATTERN_emenlow := "^${LAYERDIR}/"
diff --git a/meta-emenlow/conf/machine/emenlow.conf b/meta-emenlow/conf/machine/emenlow.conf
index b8dea64038..faedfe541c 100644
--- a/meta-emenlow/conf/machine/emenlow.conf
+++ b/meta-emenlow/conf/machine/emenlow.conf
@@ -5,11 +5,11 @@
5# Webs-2120 box. 5# Webs-2120 box.
6 6
7TARGET_ARCH = "i586" 7TARGET_ARCH = "i586"
8PACKAGE_EXTRA_ARCHS = "x86 emen" 8PACKAGE_EXTRA_ARCHS = "x86 core2"
9 9
10include conf/machine/include/tune-atom.inc 10include conf/machine/include/tune-atom.inc
11 11
12BASE_PACKAGE_ARCH="emen" 12BASE_PACKAGE_ARCH="core2"
13 13
14MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 x86 \ 14MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 x86 \
15 acpi serial usbgadget" 15 acpi serial usbgadget"
@@ -43,3 +43,6 @@ IMAGE_FSTYPES ?= "ext3 cpio.gz"
43 43
44GLIBC_ADDONS = "nptl" 44GLIBC_ADDONS = "nptl"
45GLIBC_EXTRA_OECONF = "--with-tls" 45GLIBC_EXTRA_OECONF = "--with-tls"
46
47SRCREV_machine_pn-linux-yocto-stable_emenlow ?= "aae69fdf104b0a9d7b3710f808aac6ab303490f7"
48SRCREV_meta_pn-linux-yocto-stable_emenlow ?= "50ccd2b3213b6a1bacb3f898c035119802dac420"
diff --git a/meta-emenlow/recipes/formfactor/formfactor/emenlow/machconfig b/meta-emenlow/recipes-bsp/formfactor/formfactor/emenlow/machconfig
index ffce012270..ffce012270 100644
--- a/meta-emenlow/recipes/formfactor/formfactor/emenlow/machconfig
+++ b/meta-emenlow/recipes-bsp/formfactor/formfactor/emenlow/machconfig
diff --git a/meta-emenlow/recipes/formfactor/formfactor_0.0.bbappend b/meta-emenlow/recipes-bsp/formfactor/formfactor_0.0.bbappend
index 4a41d4871d..4a41d4871d 100644
--- a/meta-emenlow/recipes/formfactor/formfactor_0.0.bbappend
+++ b/meta-emenlow/recipes-bsp/formfactor/formfactor_0.0.bbappend
diff --git a/meta-emenlow/recipes/libdrm-poulsbo/libdrm-poulsbo-2.3.0/libdrm-poulsbo.patch b/meta-emenlow/recipes-graphics/libdrm-poulsbo/libdrm-poulsbo-2.3.0/libdrm-poulsbo.patch
index 14bde6887a..14bde6887a 100644
--- a/meta-emenlow/recipes/libdrm-poulsbo/libdrm-poulsbo-2.3.0/libdrm-poulsbo.patch
+++ b/meta-emenlow/recipes-graphics/libdrm-poulsbo/libdrm-poulsbo-2.3.0/libdrm-poulsbo.patch
diff --git a/meta-emenlow/recipes/libdrm-poulsbo/libdrm-poulsbo_2.3.0.bb b/meta-emenlow/recipes-graphics/libdrm-poulsbo/libdrm-poulsbo_2.3.0.bb
index d0e14a5622..d0e14a5622 100644
--- a/meta-emenlow/recipes/libdrm-poulsbo/libdrm-poulsbo_2.3.0.bb
+++ b/meta-emenlow/recipes-graphics/libdrm-poulsbo/libdrm-poulsbo_2.3.0.bb
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/033_g45_add_rgba_subpic.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/033_g45_add_rgba_subpic.patch
index 1b928b4c09..1b928b4c09 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/033_g45_add_rgba_subpic.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/033_g45_add_rgba_subpic.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/034_g45_fix_return_for_unimpl.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/034_g45_fix_return_for_unimpl.patch
index a4612133bb..a4612133bb 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/034_g45_fix_return_for_unimpl.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/034_g45_fix_return_for_unimpl.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/035_g45_add_yv12_image_format.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/035_g45_add_yv12_image_format.patch
index 92d814c1a8..92d814c1a8 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/035_g45_add_yv12_image_format.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/035_g45_add_yv12_image_format.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/036_g45_add_vaGetImage.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/036_g45_add_vaGetImage.patch
index dc25d9f9e9..dc25d9f9e9 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/036_g45_add_vaGetImage.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/036_g45_add_vaGetImage.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/037_g45_add_vaPutImage.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/037_g45_add_vaPutImage.patch
index ce638cce52..ce638cce52 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/037_g45_add_vaPutImage.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/037_g45_add_vaPutImage.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/038_g45_vaPutSurface_cliprects.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/038_g45_vaPutSurface_cliprects.patch
index ca2e1bd471..ca2e1bd471 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/038_g45_vaPutSurface_cliprects.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/038_g45_vaPutSurface_cliprects.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/102_attribute_visibility.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/102_attribute_visibility.patch
index 2885ab7b5b..2885ab7b5b 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/102_attribute_visibility.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/102_attribute_visibility.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/103_fix_vainfo_deps.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/103_fix_vainfo_deps.patch
index 942c26d1bd..942c26d1bd 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/103_fix_vainfo_deps.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/103_fix_vainfo_deps.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/104_fix_libva_pkgconfig_deps.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/104_fix_libva_pkgconfig_deps.patch
index bd212bf39c..bd212bf39c 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/104_fix_libva_pkgconfig_deps.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/104_fix_libva_pkgconfig_deps.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/105_dont_search_LIBGL_DRIVERS_PATH.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/105_dont_search_LIBGL_DRIVERS_PATH.patch
index de873d6014..de873d6014 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/105_dont_search_LIBGL_DRIVERS_PATH.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/105_dont_search_LIBGL_DRIVERS_PATH.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/108_drivers_path.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/108_drivers_path.patch
index 073c987054..073c987054 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/108_drivers_path.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/108_drivers_path.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/203_fix_fglrx_detection.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/203_fix_fglrx_detection.patch
index ce7f10653c..ce7f10653c 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/203_fix_fglrx_detection.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/203_fix_fglrx_detection.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/204_check_ATIFGLEXTENSION.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/204_check_ATIFGLEXTENSION.patch
index 02920a8944..02920a8944 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/204_check_ATIFGLEXTENSION.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/204_check_ATIFGLEXTENSION.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/300_sds_version.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/300_sds_version.patch
index 07531c90cb..07531c90cb 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/300_sds_version.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/300_sds_version.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/301_vdpau_mpeg4.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/301_vdpau_mpeg4.patch
index 86188902ab..86188902ab 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/301_vdpau_mpeg4.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/301_vdpau_mpeg4.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/320_move_vaPutSurface_flags_def.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/320_move_vaPutSurface_flags_def.patch
index f00c52ca47..f00c52ca47 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/320_move_vaPutSurface_flags_def.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/320_move_vaPutSurface_flags_def.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/321_libva_glx.base.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/321_libva_glx.base.patch
index 43af6f40cc..43af6f40cc 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/321_libva_glx.base.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/321_libva_glx.base.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/322_libva_glx.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/322_libva_glx.patch
index ccd9ae090e..ccd9ae090e 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/322_libva_glx.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/322_libva_glx.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/390_compat.base.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/390_compat.base.patch
index f2e0d61b0d..f2e0d61b0d 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/390_compat.base.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/390_compat.base.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/391_compat.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/391_compat.patch
index 5e09d22b82..5e09d22b82 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/391_compat.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/391_compat.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/392_compat.dso.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/392_compat.dso.patch
index 57ae44f9d4..57ae44f9d4 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/392_compat.dso.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/392_compat.dso.patch
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/libdrm-poulsbo.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/libdrm-poulsbo.patch
index ac38eceb81..ac38eceb81 100644
--- a/meta-emenlow/recipes/libva/libva-0.31.0/libdrm-poulsbo.patch
+++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/libdrm-poulsbo.patch
diff --git a/meta-emenlow/recipes/libva/libva_0.31.0.bb b/meta-emenlow/recipes-graphics/libva/libva_0.31.0.bb
index a316409876..a316409876 100644
--- a/meta-emenlow/recipes/libva/libva_0.31.0.bb
+++ b/meta-emenlow/recipes-graphics/libva/libva_0.31.0.bb
diff --git a/meta-emenlow/recipes/psb-firmware/psb-firmware_0.30.bb b/meta-emenlow/recipes-graphics/psb-firmware/psb-firmware_0.30.bb
index 164ea66c82..164ea66c82 100644
--- a/meta-emenlow/recipes/psb-firmware/psb-firmware_0.30.bb
+++ b/meta-emenlow/recipes-graphics/psb-firmware/psb-firmware_0.30.bb
diff --git a/meta-emenlow/recipes/psb-kernel-source/psb-kernel-source-4.42.0/build.patch b/meta-emenlow/recipes-graphics/psb-kernel-source/psb-kernel-source-4.42.0/build.patch
index ce6f2aa41b..ce6f2aa41b 100644
--- a/meta-emenlow/recipes/psb-kernel-source/psb-kernel-source-4.42.0/build.patch
+++ b/meta-emenlow/recipes-graphics/psb-kernel-source/psb-kernel-source-4.42.0/build.patch
diff --git a/meta-emenlow/recipes/psb-kernel-source/psb-kernel-source_4.42.0.bb b/meta-emenlow/recipes-graphics/psb-kernel-source/psb-kernel-source_4.42.0.bb
index 5c1a3e1c27..5c1a3e1c27 100644
--- a/meta-emenlow/recipes/psb-kernel-source/psb-kernel-source_4.42.0.bb
+++ b/meta-emenlow/recipes-graphics/psb-kernel-source/psb-kernel-source_4.42.0.bb
diff --git a/meta-emenlow/recipes/xorg-xserver/files/crosscompile.patch b/meta-emenlow/recipes-graphics/xorg-xserver/files/crosscompile.patch
index 2341e40bca..2341e40bca 100644
--- a/meta-emenlow/recipes/xorg-xserver/files/crosscompile.patch
+++ b/meta-emenlow/recipes-graphics/xorg-xserver/files/crosscompile.patch
diff --git a/meta-emenlow/recipes/xorg-xserver/files/fix_open_max_preprocessor_error.patch b/meta-emenlow/recipes-graphics/xorg-xserver/files/fix_open_max_preprocessor_error.patch
index 565832eed8..565832eed8 100644
--- a/meta-emenlow/recipes/xorg-xserver/files/fix_open_max_preprocessor_error.patch
+++ b/meta-emenlow/recipes-graphics/xorg-xserver/files/fix_open_max_preprocessor_error.patch
diff --git a/meta-emenlow/recipes/xorg-xserver/files/libdrm-poulsbo.patch b/meta-emenlow/recipes-graphics/xorg-xserver/files/libdrm-poulsbo.patch
index b604cab7c2..b604cab7c2 100644
--- a/meta-emenlow/recipes/xorg-xserver/files/libdrm-poulsbo.patch
+++ b/meta-emenlow/recipes-graphics/xorg-xserver/files/libdrm-poulsbo.patch
diff --git a/meta-emenlow/recipes/xorg-xserver/files/macro_tweak.patch b/meta-emenlow/recipes-graphics/xorg-xserver/files/macro_tweak.patch
index 6998adffe9..6998adffe9 100644
--- a/meta-emenlow/recipes/xorg-xserver/files/macro_tweak.patch
+++ b/meta-emenlow/recipes-graphics/xorg-xserver/files/macro_tweak.patch
diff --git a/meta-emenlow/recipes/xorg-xserver/files/nodolt.patch b/meta-emenlow/recipes-graphics/xorg-xserver/files/nodolt.patch
index 6b34032a39..6b34032a39 100644
--- a/meta-emenlow/recipes/xorg-xserver/files/nodolt.patch
+++ b/meta-emenlow/recipes-graphics/xorg-xserver/files/nodolt.patch
diff --git a/meta-emenlow/recipes/xorg-xserver/xserver-psb_1.7.99.2.bb b/meta-emenlow/recipes-graphics/xorg-xserver/xserver-psb_1.7.99.2.bb
index 5227faa45c..5227faa45c 100644
--- a/meta-emenlow/recipes/xorg-xserver/xserver-psb_1.7.99.2.bb
+++ b/meta-emenlow/recipes-graphics/xorg-xserver/xserver-psb_1.7.99.2.bb
diff --git a/meta-emenlow/recipes/xorg-xserver/xserver-xf86-config/emenlow/xorg.conf b/meta-emenlow/recipes-graphics/xorg-xserver/xserver-xf86-config/emenlow/xorg.conf
index 6846263839..6846263839 100644
--- a/meta-emenlow/recipes/xorg-xserver/xserver-xf86-config/emenlow/xorg.conf
+++ b/meta-emenlow/recipes-graphics/xorg-xserver/xserver-xf86-config/emenlow/xorg.conf
diff --git a/meta-emenlow/recipes/xorg-xserver/xserver-xf86-config_0.1.bbappend b/meta-emenlow/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
index 4b8d0e656b..4b8d0e656b 100644
--- a/meta-emenlow/recipes/xorg-xserver/xserver-xf86-config_0.1.bbappend
+++ b/meta-emenlow/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
diff --git a/meta-emenlow/recipes/xpsb-glx/xpsb-glx-0.18/cross-compile.patch b/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx-0.18/cross-compile.patch
index a231596810..a231596810 100644
--- a/meta-emenlow/recipes/xpsb-glx/xpsb-glx-0.18/cross-compile.patch
+++ b/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx-0.18/cross-compile.patch
diff --git a/meta-emenlow/recipes/xpsb-glx/xpsb-glx-0.18/libdrmname.patch b/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx-0.18/libdrmname.patch
index 96b94ef2c8..96b94ef2c8 100644
--- a/meta-emenlow/recipes/xpsb-glx/xpsb-glx-0.18/libdrmname.patch
+++ b/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx-0.18/libdrmname.patch
diff --git a/meta-emenlow/recipes/xpsb-glx/xpsb-glx-0.18/native-matypes.patch b/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx-0.18/native-matypes.patch
index 26b1f52a3e..26b1f52a3e 100644
--- a/meta-emenlow/recipes/xpsb-glx/xpsb-glx-0.18/native-matypes.patch
+++ b/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx-0.18/native-matypes.patch
diff --git a/meta-emenlow/recipes/xpsb-glx/xpsb-glx_0.18.bb b/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx_0.18.bb
index 6ceb1cbe08..6ceb1cbe08 100644
--- a/meta-emenlow/recipes/xpsb-glx/xpsb-glx_0.18.bb
+++ b/meta-emenlow/recipes-graphics/xpsb-glx/xpsb-glx_0.18.bb
diff --git a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/01_disable_lid_timer.patch b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/01_disable_lid_timer.patch
index 47da3bce04..47da3bce04 100644
--- a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/01_disable_lid_timer.patch
+++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/01_disable_lid_timer.patch
diff --git a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/dri-h.patch b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/dri-h.patch
index 98ffa27199..98ffa27199 100644
--- a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/dri-h.patch
+++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/dri-h.patch
diff --git a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/libdrm-poulsbo.patch b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/libdrm-poulsbo.patch
index 0ecc880c02..0ecc880c02 100644
--- a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/libdrm-poulsbo.patch
+++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/libdrm-poulsbo.patch
diff --git a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_mixed.patch b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_mixed.patch
index 6065fa5cac..6065fa5cac 100644
--- a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_mixed.patch
+++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_mixed.patch
diff --git a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_xvtempfix.patch b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_xvtempfix.patch
index 34798c07e9..34798c07e9 100644
--- a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_xvtempfix.patch
+++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/psb_xvtempfix.patch
diff --git a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/stubs.patch b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/stubs.patch
index b201d7e314..b201d7e314 100644
--- a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/stubs.patch
+++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/stubs.patch
diff --git a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/visibility.patch b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/visibility.patch
index 2c68805871..2c68805871 100644
--- a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/visibility.patch
+++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/visibility.patch
diff --git a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xorg-x11-drv-psb-0.31.0-ignoreacpi.patch b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xorg-x11-drv-psb-0.31.0-ignoreacpi.patch
index a73a493ec1..a73a493ec1 100644
--- a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xorg-x11-drv-psb-0.31.0-ignoreacpi.patch
+++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xorg-x11-drv-psb-0.31.0-ignoreacpi.patch
diff --git a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xorg-x11-drv-psb-0.31.0-xserver17.patch b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xorg-x11-drv-psb-0.31.0-xserver17.patch
index defed50363..defed50363 100644
--- a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xorg-x11-drv-psb-0.31.0-xserver17.patch
+++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xorg-x11-drv-psb-0.31.0-xserver17.patch
diff --git a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-assert.patch b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-assert.patch
index 5137a59041..5137a59041 100644
--- a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-assert.patch
+++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-assert.patch
diff --git a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-comment_unused.patch b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-comment_unused.patch
index ca811b6967..ca811b6967 100644
--- a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-comment_unused.patch
+++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-comment_unused.patch
diff --git a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-greedy.patch b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-greedy.patch
index 8758911c71..8758911c71 100644
--- a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-greedy.patch
+++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-greedy.patch
diff --git a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-loader.patch b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-loader.patch
index 24cbc0d30e..24cbc0d30e 100644
--- a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-loader.patch
+++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb-0.32.1/xserver-xorg-video-psb-0.31.0-loader.patch
diff --git a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb_0.32.1.bb b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb_0.32.1.bb
index 1ff92bbc61..1ff92bbc61 100644
--- a/meta-emenlow/recipes/xserver-xorg-video-psb/xserver-xorg-video-psb_0.32.1.bb
+++ b/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb_0.32.1.bb
diff --git a/meta-emenlow/recipes/linux/linux-2.6.33.2/defconfig b/meta-emenlow/recipes-kernel/linux/linux-2.6.33.2/defconfig
index a516dc987e..a516dc987e 100644
--- a/meta-emenlow/recipes/linux/linux-2.6.33.2/defconfig
+++ b/meta-emenlow/recipes-kernel/linux/linux-2.6.33.2/defconfig
diff --git a/meta-emenlow/recipes/linux/linux-yocto-stable_git.bbappend b/meta-emenlow/recipes-kernel/linux/linux-yocto-stable_git.bbappend
index 9fa2937d4f..9fa2937d4f 100644
--- a/meta-emenlow/recipes/linux/linux-yocto-stable_git.bbappend
+++ b/meta-emenlow/recipes-kernel/linux/linux-yocto-stable_git.bbappend
diff --git a/meta-emenlow/recipes/linux/linux_2.6.33.2.bbappend b/meta-emenlow/recipes-kernel/linux/linux_2.6.33.2.bbappend
index fac0921401..fac0921401 100644
--- a/meta-emenlow/recipes/linux/linux_2.6.33.2.bbappend
+++ b/meta-emenlow/recipes-kernel/linux/linux_2.6.33.2.bbappend
diff --git a/meta-rt/conf/layer.conf b/meta-rt/conf/layer.conf
new file mode 100644
index 0000000000..94ebc02520
--- /dev/null
+++ b/meta-rt/conf/layer.conf
@@ -0,0 +1,23 @@
1# Default to first disk/first partition
2RSP_ROOT ?= "sda1"
3
4# We have a conf and classes directory, add to BBPATH
5BBPATH := "${BBPATH}:${LAYERDIR}"
6
7# We have an images and various recipe-* directories, add to BBFILES
8BBFILES := "${BBFILES} ${LAYERDIR}/images/*.bb ${LAYERDIR}/images/*.bbappend ${LAYERDIR}/recipes-*/*.bb ${LAYERDIR}/recipes-*/*.bbappend"
9
10BBFILE_COLLECTIONS += "rt"
11BBFILE_PATTERN_rt := "^${LAYERDIR}/"
12BBFILE_PRIORITY_rt = "8"
13
14# This layer builds images using a PREEMPT_RT kernel. Override any machine
15# specified kernel providers and leave it up to the kernel recipe to
16# determine COMPATIBLE_MACHINE.
17PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"
18
19# preempt_rt SRCREVs, one for meta, one per machine
20SRCREV_meta_pn-linux-yocto-rt ?= "b0615811ce38836d1ade230e3bdb1efaaa68471f"
21SRCREV_machine_pn-linux-yocto-rt_qemux86-64 ?= "f49444f06875894389e640bcda6c3f6ceb1f0c3e"
22SRCREV_machine_pn-linux-yocto-rt_atom-pc ?= "78dacaf8222c9492ba17f652989ef3466423bdc2"
23
diff --git a/meta-rt/images/poky-image-minimal-rt-directdisk.bb b/meta-rt/images/poky-image-minimal-rt-directdisk.bb
new file mode 100644
index 0000000000..b68fe568b6
--- /dev/null
+++ b/meta-rt/images/poky-image-minimal-rt-directdisk.bb
@@ -0,0 +1,15 @@
1#
2# Copyright (C) 2010 Intel Corporation.
3#
4
5require recipes-core/images/poky-image-directdisk.inc
6
7DESCRIPTION = "Bootable Minimal Real-Time Direct Disk Image"
8
9ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-rt-${MACHINE}.ext3"
10
11LICENSE = "MIT"
12
13do_bootdirectdisk[depends] += "poky-image-minimal-rt:do_rootfs"
14
15
diff --git a/meta-rt/images/poky-image-minimal-rt-live.bb b/meta-rt/images/poky-image-minimal-rt-live.bb
new file mode 100644
index 0000000000..01628dcc3f
--- /dev/null
+++ b/meta-rt/images/poky-image-minimal-rt-live.bb
@@ -0,0 +1,15 @@
1#
2# Copyright (C) 2010 Intel Corporation.
3#
4
5DESCRIPTION = "Bootable Live Minimal Real-Time Linux Image"
6
7require recipes-core/images/poky-image-live.inc
8
9LABELS += "boot install"
10
11ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-rt-${MACHINE}.ext3"
12
13LICENSE = "MIT"
14
15do_bootimg[depends] += "poky-image-minimal-rt:do_rootfs"
diff --git a/meta-rt/images/poky-image-minimal-rt.bb b/meta-rt/images/poky-image-minimal-rt.bb
new file mode 100644
index 0000000000..6f5700c67a
--- /dev/null
+++ b/meta-rt/images/poky-image-minimal-rt.bb
@@ -0,0 +1,12 @@
1#
2# Copyright (C) 2010 Intel Corporation.
3#
4
5DESCRIPTION = "Minimal Real-Time Linux Image"
6DEPENDS = "linux-yocto-rt"
7
8require recipes-core/images/poky-image-minimal.bb
9
10IMAGE_INSTALL += "rt-tests"
11
12LICENSE = "MIT"
diff --git a/meta-rt/recipes-kernel/linux-yocto-rt_stablegit.bb b/meta-rt/recipes-kernel/linux-yocto-rt_stablegit.bb
new file mode 100644
index 0000000000..547f8feac3
--- /dev/null
+++ b/meta-rt/recipes-kernel/linux-yocto-rt_stablegit.bb
@@ -0,0 +1,40 @@
1inherit kernel
2require recipes-kernel/linux/linux-yocto.inc
3
4KMACHINE_qemux86-64 = "common_pc_64"
5KMACHINE_atom-pc = "atom-pc"
6
7LINUX_VERSION ?= "2.6.34"
8LINUX_KERNEL_TYPE = "preempt_rt"
9LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE_EXTENSION}"
10
11PR = "r0"
12PV = "${LINUX_VERSION}+git${SRCPV}"
13SRCREV_FORMAT = "meta_machine"
14
15COMPATIBLE_MACHINE = "(qemux86-64|atom-pc)"
16
17# this performs a fixup on the SRCREV for new/undefined BSPs
18python __anonymous () {
19 import bb, re, string
20
21 rev = bb.data.getVar("SRCREV_machine", d, 1)
22 if rev == "standard":
23 bb.data.setVar("SRCREV_machine", "${SRCREV_meta}", d)
24
25 kerntype = string.replace(bb.data.expand("${LINUX_KERNEL_TYPE}", d), "_", "-")
26 bb.data.setVar("LINUX_KERNEL_TYPE_EXTENSION", kerntype, d)
27}
28
29SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;fullclone=1;branch=${KBRANCH};name=machine \
30 git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;noclone=1;branch=wrs_meta;name=meta"
31
32# Functionality flags
33KERNEL_REVISION_CHECKING ?= "t"
34KERNEL_FEATURES=features/netfilter
35
36# extra tasks
37addtask kernel_link_vmlinux after do_compile before do_install
38addtask validate_branches before do_patch after do_kernel_checkout
39
40require recipes-kernel/linux/linux-tools.inc
diff --git a/meta-rt/recipes-tests/rt-tests_git.bb b/meta-rt/recipes-tests/rt-tests_git.bb
new file mode 100644
index 0000000000..35af022449
--- /dev/null
+++ b/meta-rt/recipes-tests/rt-tests_git.bb
@@ -0,0 +1,22 @@
1DESCRIPTION = "Real-Time preemption testcases"
2HOMEPAGE = "https://rt.wiki.kernel.org/index.php/Cyclictest"
3SECTION = "tests"
4DEPENDS = "linux-libc-headers eglibc"
5LICENSE = "GPLv2 & GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
7 file://src/cyclictest/cyclictest.c;beginline=7;endline=9;md5=ce162fe491d19d2ec67dff6dbc938d50 \
8 file://src/pi_tests/pi_stress.c;beginline=6;endline=19;md5=bd426a634a43ec612e9fbf125dfcc949"
9SRCREV = ${AUTOREV}
10PV = "git${SRCPV}"
11PR = "r0"
12
13SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git;protocol=git"
14
15S = "${WORKDIR}/git"
16
17CFLAGS += "-I${S}/src/include -D_GNU_SOURCE -Wall -Wno-nonnull"
18
19do_install() {
20 oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} \
21 INCLUDEDIR=${includedir}
22}
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 324cbff47a..d43ae6d88b 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -38,6 +38,12 @@ def autotools_set_crosscompiling(d):
38 return " cross_compiling=yes" 38 return " cross_compiling=yes"
39 return "" 39 return ""
40 40
41def append_libtool_sysroot(d):
42 # Only supply libtool sysroot option for non-native packages
43 if not bb.data.inherits_class('native', d):
44 return '--with-libtool-sysroot=${STAGING_DIR_HOST}'
45 return ""
46
41# EXTRA_OECONF_append = "${@autotools_set_crosscompiling(d)}" 47# EXTRA_OECONF_append = "${@autotools_set_crosscompiling(d)}"
42 48
43CONFIGUREOPTS = " --build=${BUILD_SYS} \ 49CONFIGUREOPTS = " --build=${BUILD_SYS} \
@@ -56,14 +62,13 @@ CONFIGUREOPTS = " --build=${BUILD_SYS} \
56 --includedir=${includedir} \ 62 --includedir=${includedir} \
57 --oldincludedir=${oldincludedir} \ 63 --oldincludedir=${oldincludedir} \
58 --infodir=${infodir} \ 64 --infodir=${infodir} \
59 --mandir=${mandir}" 65 --mandir=${mandir} \
66 ${@append_libtool_sysroot(d)}"
60 67
61oe_runconf () { 68oe_runconf () {
62 if [ -x ${S}/configure ] ; then 69 if [ -x ${S}/configure ] ; then
63 cfgcmd="${S}/configure \ 70 cfgcmd="${S}/configure \
64 ${CONFIGUREOPTS} \ 71 ${CONFIGUREOPTS} ${EXTRA_OECONF} $@"
65 ${EXTRA_OECONF} \
66 $@"
67 oenote "Running $cfgcmd..." 72 oenote "Running $cfgcmd..."
68 $cfgcmd || oefatal "oe_runconf failed" 73 $cfgcmd || oefatal "oe_runconf failed"
69 else 74 else
@@ -104,9 +109,12 @@ autotools_do_configure() {
104 AUTOV=`automake --version |head -n 1 |sed "s/.* //;s/\.[0-9]\+$//"` 109 AUTOV=`automake --version |head -n 1 |sed "s/.* //;s/\.[0-9]\+$//"`
105 automake --version 110 automake --version
106 echo "AUTOV is $AUTOV" 111 echo "AUTOV is $AUTOV"
107 install -d ${STAGING_DATADIR}/aclocal 112 if [ -d ${STAGING_DATADIR}/aclocal-$AUTOV ]; then
108 install -d ${STAGING_DATADIR}/aclocal-$AUTOV 113 acpaths="$acpaths -I${STAGING_DATADIR}/aclocal-$AUTOV"
109 acpaths="$acpaths -I${STAGING_DATADIR}/aclocal-$AUTOV -I ${STAGING_DATADIR}/aclocal" 114 fi
115 if [ -d ${STAGING_DATADIR}/aclocal ]; then
116 acpaths="$acpaths -I ${STAGING_DATADIR}/aclocal"
117 fi
110 # autoreconf is too shy to overwrite aclocal.m4 if it doesn't look 118 # autoreconf is too shy to overwrite aclocal.m4 if it doesn't look
111 # like it was auto-generated. Work around this by blowing it away 119 # like it was auto-generated. Work around this by blowing it away
112 # by hand, unless the package specifically asked not to run aclocal. 120 # by hand, unless the package specifically asked not to run aclocal.
@@ -150,22 +158,10 @@ autotools_do_configure() {
150 158
151autotools_do_install() { 159autotools_do_install() {
152 oe_runmake 'DESTDIR=${D}' install 160 oe_runmake 'DESTDIR=${D}' install
153} 161 # Info dir listing isn't interesting at this point so remove it if it exists.
154 162 if [ -e "${D}${infodir}/dir" ]; then
155PACKAGE_PREPROCESS_FUNCS += "autotools_prepackage_lamangler" 163 rm -f ${D}${infodir}/dir
156 164 fi
157autotools_prepackage_lamangler () {
158 for i in `find ${PKGD} -name "*.la"` ; do \
159 sed -i -e 's:${STAGING_LIBDIR}:${libdir}:g;' \
160 -e 's:${D}::g;' \
161 -e 's:-I${WORKDIR}\S*: :g;' \
162 -e 's:-L${WORKDIR}\S*: :g;' \
163 $i
164 done
165}
166
167autotools_stage_dir() {
168 sysroot_stage_dir $1 $2
169} 165}
170 166
171inherit siteconfig 167inherit siteconfig
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index c60048bd50..edb65eb96b 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -107,7 +107,7 @@ python base_scenefunction () {
107python base_do_setscene () { 107python base_do_setscene () {
108 for f in (bb.data.getVar('SCENEFUNCS', d, 1) or '').split(): 108 for f in (bb.data.getVar('SCENEFUNCS', d, 1) or '').split():
109 bb.build.exec_func(f, d) 109 bb.build.exec_func(f, d)
110 if not os.path.exists(bb.data.getVar('STAMP', d, 1) + ".do_setscene"): 110 if not os.path.exists(bb.build.stampfile("do_setscene", d)):
111 bb.build.make_stamp("do_setscene", d) 111 bb.build.make_stamp("do_setscene", d)
112} 112}
113do_setscene[selfstamp] = "1" 113do_setscene[selfstamp] = "1"
@@ -116,146 +116,38 @@ addtask setscene before do_fetch
116addtask fetch 116addtask fetch
117do_fetch[dirs] = "${DL_DIR}" 117do_fetch[dirs] = "${DL_DIR}"
118python base_do_fetch() { 118python base_do_fetch() {
119 import sys 119
120 src_uri = (bb.data.getVar('SRC_URI', d, True) or "").split()
121 if len(src_uri) == 0:
122 return
120 123
121 localdata = bb.data.createCopy(d) 124 localdata = bb.data.createCopy(d)
122 bb.data.update_data(localdata) 125 bb.data.update_data(localdata)
123 126
124 src_uri = bb.data.getVar('SRC_URI', localdata, 1) 127 try:
125 if not src_uri: 128 fetcher = bb.fetch2.Fetch(src_uri, localdata)
126 return 1 129 fetcher.download()
127 130 except bb.fetch2.BBFetchException, e:
128 try: 131 raise bb.build.FuncFailed(e)
129 bb.fetch.init(src_uri.split(),d)
130 except bb.fetch.NoMethodError:
131 (type, value, traceback) = sys.exc_info()
132 raise bb.build.FuncFailed("No method: %s" % value)
133 except bb.MalformedUrl:
134 (type, value, traceback) = sys.exc_info()
135 raise bb.build.FuncFailed("Malformed URL: %s" % value)
136
137 try:
138 bb.fetch.go(localdata)
139 except bb.fetch.MissingParameterError:
140 (type, value, traceback) = sys.exc_info()
141 raise bb.build.FuncFailed("Missing parameters: %s" % value)
142 except bb.fetch.FetchError:
143 (type, value, traceback) = sys.exc_info()
144 raise bb.build.FuncFailed("Fetch failed: %s" % value)
145 except bb.fetch.MD5SumError:
146 (type, value, traceback) = sys.exc_info()
147 raise bb.build.FuncFailed("MD5 failed: %s" % value)
148 except:
149 (type, value, traceback) = sys.exc_info()
150 raise bb.build.FuncFailed("Unknown fetch Error: %s" % value)
151} 132}
152 133
153def subprocess_setup():
154 import signal
155 # Python installs a SIGPIPE handler by default. This is usually not what
156 # non-Python subprocesses expect.
157 # SIGPIPE errors are known issues with gzip/bash
158 signal.signal(signal.SIGPIPE, signal.SIG_DFL)
159
160def oe_unpack_file(file, data, url = None):
161 import subprocess
162 if not url:
163 url = "file://%s" % file
164 dots = file.split(".")
165 if dots[-1] in ['gz', 'bz2', 'Z']:
166 efile = os.path.join(bb.data.getVar('WORKDIR', data, 1),os.path.basename('.'.join(dots[0:-1])))
167 else:
168 efile = file
169 cmd = None
170 if file.endswith('.tar'):
171 cmd = 'tar x --no-same-owner -f %s' % file
172 elif file.endswith('.tgz') or file.endswith('.tar.gz') or file.endswith('.tar.Z'):
173 cmd = 'tar xz --no-same-owner -f %s' % file
174 elif file.endswith('.tbz') or file.endswith('.tbz2') or file.endswith('.tar.bz2'):
175 cmd = 'bzip2 -dc %s | tar x --no-same-owner -f -' % file
176 elif file.endswith('.gz') or file.endswith('.Z') or file.endswith('.z'):
177 cmd = 'gzip -dc %s > %s' % (file, efile)
178 elif file.endswith('.bz2'):
179 cmd = 'bzip2 -dc %s > %s' % (file, efile)
180 elif file.endswith('.tar.xz'):
181 cmd = 'xz -dc %s | tar x --no-same-owner -f -' % file
182 elif file.endswith('.xz'):
183 cmd = 'xz -dc %s > %s' % (file, efile)
184 elif file.endswith('.zip') or file.endswith('.jar'):
185 cmd = 'unzip -q -o'
186 (type, host, path, user, pswd, parm) = bb.decodeurl(url)
187 if 'dos' in parm:
188 cmd = '%s -a' % cmd
189 cmd = "%s '%s'" % (cmd, file)
190 elif os.path.isdir(file):
191 filesdir = os.path.realpath(bb.data.getVar("FILESDIR", data, 1))
192 destdir = "."
193 if file[0:len(filesdir)] == filesdir:
194 destdir = file[len(filesdir):file.rfind('/')]
195 destdir = destdir.strip('/')
196 if len(destdir) < 1:
197 destdir = "."
198 elif not os.access("%s/%s" % (os.getcwd(), destdir), os.F_OK):
199 os.makedirs("%s/%s" % (os.getcwd(), destdir))
200 cmd = 'cp -pPR %s %s/%s/' % (file, os.getcwd(), destdir)
201 else:
202 (type, host, path, user, pswd, parm) = bb.decodeurl(url)
203 if not 'patch' in parm:
204 # The "destdir" handling was specifically done for FILESPATH
205 # items. So, only do so for file:// entries.
206 if type == "file" and path.find("/") != -1:
207 destdir = path.rsplit("/", 1)[0]
208 else:
209 destdir = "."
210 bb.mkdirhier("%s/%s" % (os.getcwd(), destdir))
211 cmd = 'cp %s %s/%s/' % (file, os.getcwd(), destdir)
212
213 if not cmd:
214 return True
215
216 dest = os.path.join(os.getcwd(), os.path.basename(file))
217 if os.path.exists(dest):
218 if os.path.samefile(file, dest):
219 return True
220
221 # Change to subdir before executing command
222 save_cwd = os.getcwd();
223 parm = bb.decodeurl(url)[5]
224 if 'subdir' in parm:
225 newdir = ("%s/%s" % (os.getcwd(), parm['subdir']))
226 bb.mkdirhier(newdir)
227 os.chdir(newdir)
228
229 cmd = "PATH=\"%s\" %s" % (bb.data.getVar('PATH', data, 1), cmd)
230 bb.note("Unpacking %s to %s/" % (file, os.getcwd()))
231 ret = subprocess.call(cmd, preexec_fn=subprocess_setup, shell=True)
232
233 os.chdir(save_cwd)
234
235 return ret == 0
236
237addtask unpack after do_fetch 134addtask unpack after do_fetch
238do_unpack[dirs] = "${WORKDIR}" 135do_unpack[dirs] = "${WORKDIR}"
239python base_do_unpack() { 136python base_do_unpack() {
240 import re 137 src_uri = (bb.data.getVar('SRC_URI', d, True) or "").split()
138 if len(src_uri) == 0:
139 return
241 140
242 localdata = bb.data.createCopy(d) 141 localdata = bb.data.createCopy(d)
243 bb.data.update_data(localdata) 142 bb.data.update_data(localdata)
244 143
245 src_uri = bb.data.getVar('SRC_URI', localdata, True) 144 rootdir = bb.data.getVar('WORKDIR', localdata, True)
246 if not src_uri: 145
247 return 146 try:
248 for url in src_uri.split(): 147 fetcher = bb.fetch2.Fetch(src_uri, localdata)
249 try: 148 fetcher.unpack(rootdir)
250 local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata) 149 except bb.fetch2.BBFetchException, e:
251 except bb.MalformedUrl, e: 150 raise bb.build.FuncFailed(e)
252 raise FuncFailed('Unable to generate local path for malformed uri: %s' % e)
253 if local is None:
254 continue
255 local = os.path.realpath(local)
256 ret = oe_unpack_file(local, localdata, url)
257 if not ret:
258 raise bb.build.FuncFailed()
259} 151}
260 152
261GIT_CONFIG = "${STAGING_DIR_NATIVE}/usr/etc/gitconfig" 153GIT_CONFIG = "${STAGING_DIR_NATIVE}/usr/etc/gitconfig"
@@ -418,8 +310,9 @@ python () {
418 310
419 commercial_license = bb.data.getVar('COMMERCIAL_LICENSE', d, 1) 311 commercial_license = bb.data.getVar('COMMERCIAL_LICENSE', d, 1)
420 import re 312 import re
421 if commercial_license and re.search(pn, commercial_license): 313 pnr = pn.replace('+', "\+")
422 bb.debug("Skipping %s because it's commercially licensed" % pn) 314 if commercial_license and re.search(pnr, commercial_license):
315 bb.debug(1, "Skipping %s because it's commercially licensed" % pn)
423 raise bb.parse.SkipPackage("because it requires commercial license to ship product") 316 raise bb.parse.SkipPackage("because it requires commercial license to ship product")
424 317
425 # If we're building a target package we need to use fakeroot (pseudo) 318 # If we're building a target package we need to use fakeroot (pseudo)
@@ -532,7 +425,8 @@ python () {
532 for s in srcuri.split(): 425 for s in srcuri.split():
533 if not s.startswith("file://"): 426 if not s.startswith("file://"):
534 continue 427 continue
535 local = bb.data.expand(bb.fetch.localpath(s, d), d) 428 fetcher = bb.fetch2.Fetch([s], d)
429 local = fetcher.localpath(s)
536 for mp in paths: 430 for mp in paths:
537 if local.startswith(mp): 431 if local.startswith(mp):
538 #bb.note("overriding PACKAGE_ARCH from %s to %s" % (pkg_arch, mach_arch)) 432 #bb.note("overriding PACKAGE_ARCH from %s to %s" % (pkg_arch, mach_arch))
@@ -576,14 +470,12 @@ python do_cleanall() {
576 dl_dir = bb.data.getVar('DL_DIR', localdata, True) 470 dl_dir = bb.data.getVar('DL_DIR', localdata, True)
577 dl_dir = os.path.realpath(dl_dir) 471 dl_dir = os.path.realpath(dl_dir)
578 472
579 src_uri = bb.data.getVar('SRC_URI', localdata, True) 473 src_uri = (bb.data.getVar('SRC_URI', localdata, True) or "").split()
580 if not src_uri: 474 if len(src_uri) == 0:
581 return 475 return
582 for url in src_uri.split(): 476 fetcher = bb.fetch2.Fetch(src_uri, localdata)
583 try: 477 for url in src_uri:
584 local = bb.data.expand(bb.fetch.localpath(url, localdata), localdata) 478 local = fetcher.localpath(url)
585 except bb.MalformedUrl, e:
586 raise FuncFailed('Unable to generate local path for malformed uri: %s' % e)
587 if local is None: 479 if local is None:
588 continue 480 continue
589 local = os.path.realpath(local) 481 local = os.path.realpath(local)
diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass
index 73ca4d6219..8e22d2d292 100644
--- a/meta/classes/binconfig.bbclass
+++ b/meta/classes/binconfig.bbclass
@@ -47,8 +47,8 @@ SYSROOT_PREPROCESS_FUNCS += "binconfig_sysroot_preprocess"
47binconfig_sysroot_preprocess () { 47binconfig_sysroot_preprocess () {
48 for config in `find ${S} -name '${BINCONFIG_GLOB}'`; do 48 for config in `find ${S} -name '${BINCONFIG_GLOB}'`; do
49 configname=`basename $config` 49 configname=`basename $config`
50 install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS} 50 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}
51 cat $config | sed ${@get_binconfig_mangle(d)} > ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/$configname 51 cat $config | sed ${@get_binconfig_mangle(d)} > ${SYSROOT_DESTDIR}${bindir_crossscripts}/$configname
52 chmod u+x ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/$configname 52 chmod u+x ${SYSROOT_DESTDIR}${bindir_crossscripts}/$configname
53 done 53 done
54} 54}
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index f4949f55bd..49ee85ea72 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -49,7 +49,7 @@ inherit syslinux
49 49
50build_boot_bin() { 50build_boot_bin() {
51 install -d ${HDDDIR} 51 install -d ${HDDDIR}
52 install -m 0644 ${STAGING_DIR}/${MACHINE}${HOST_VENDOR}-${HOST_OS}/kernel/bzImage \ 52 install -m 0644 ${STAGING_DIR_HOST}/kernel/bzImage \
53 ${HDDDIR}/vmlinuz 53 ${HDDDIR}/vmlinuz
54 54
55 if [ -n "${INITRD}" ] && [ -s "${INITRD}" ]; then 55 if [ -n "${INITRD}" ] && [ -s "${INITRD}" ]; then
@@ -83,7 +83,7 @@ build_boot_bin() {
83 83
84 # Install the kernel 84 # Install the kernel
85 85
86 install -m 0644 ${STAGING_DIR}/${MACHINE}${HOST_VENDOR}-${HOST_OS}/kernel/bzImage \ 86 install -m 0644 ${STAGING_DIR_HOST}/kernel/bzImage \
87 ${ISODIR}/vmlinuz 87 ${ISODIR}/vmlinuz
88 88
89 # Install the configuration files 89 # Install the configuration files
diff --git a/meta/classes/cpan-base.bbclass b/meta/classes/cpan-base.bbclass
index 1d13ff3f08..6cd2aa340f 100644
--- a/meta/classes/cpan-base.bbclass
+++ b/meta/classes/cpan-base.bbclass
@@ -2,7 +2,7 @@
2# cpan-base providers various perl related information needed for building 2# cpan-base providers various perl related information needed for building
3# cpan modules 3# cpan modules
4# 4#
5FILES_${PN} += "${libdir}/perl5 ${datadir}/perl5" 5FILES_${PN} += "${libdir}/perl ${datadir}/perl"
6 6
7DEPENDS += "${@["perl", "perl-native"][(bb.data.inherits_class('native', d))]}" 7DEPENDS += "${@["perl", "perl-native"][(bb.data.inherits_class('native', d))]}"
8RDEPENDS += "${@["perl", ""][(bb.data.inherits_class('native', d))]}" 8RDEPENDS += "${@["perl", ""][(bb.data.inherits_class('native', d))]}"
@@ -27,7 +27,7 @@ def get_perl_version(d):
27# Determine where the library directories are 27# Determine where the library directories are
28def perl_get_libdirs(d): 28def perl_get_libdirs(d):
29 libdir = bb.data.getVar('libdir', d, 1) 29 libdir = bb.data.getVar('libdir', d, 1)
30 libdirs = libdir + '/perl5' 30 libdirs = libdir + '/perl'
31 return libdirs 31 return libdirs
32 32
33def is_target(d): 33def is_target(d):
diff --git a/meta/classes/cpan.bbclass b/meta/classes/cpan.bbclass
index 513f0b3ce7..1cfd0221dd 100644
--- a/meta/classes/cpan.bbclass
+++ b/meta/classes/cpan.bbclass
@@ -4,18 +4,19 @@
4inherit cpan-base 4inherit cpan-base
5 5
6EXTRA_CPANFLAGS ?= "" 6EXTRA_CPANFLAGS ?= ""
7EXTRA_PERLFLAGS ?= ""
7 8
8# Env var which tells perl if it should use host (no) or target (yes) settings 9# Env var which tells perl if it should use host (no) or target (yes) settings
9export PERLCONFIGTARGET = "${@is_target(d)}" 10export PERLCONFIGTARGET = "${@is_target(d)}"
10 11
11# Env var which tells perl where the perl include files are 12# Env var which tells perl where the perl include files are
12export PERL_INC = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}/CORE" 13export PERL_INC = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}/CORE"
13export PERL_LIB = "${STAGING_DATADIR}/perl/${@get_perl_version(d)}" 14export PERL_LIB = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}"
14export PERL_ARCHLIB = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}" 15export PERL_ARCHLIB = "${STAGING_LIBDIR}/perl/${@get_perl_version(d)}"
15 16
16cpan_do_configure () { 17cpan_do_configure () {
17 export PERL5LIB="${PERL_ARCHLIB}" 18 export PERL5LIB="${PERL_ARCHLIB}"
18 yes '' | perl Makefile.PL ${EXTRA_CPANFLAGS} 19 yes '' | perl ${EXTRA_PERLFLAGS} Makefile.PL ${EXTRA_CPANFLAGS}
19 if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then 20 if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
20 . ${STAGING_LIBDIR}/perl/config.sh 21 . ${STAGING_LIBDIR}/perl/config.sh
21 # Use find since there can be a Makefile generated for each Makefile.PL 22 # Use find since there can be a Makefile generated for each Makefile.PL
diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass
index dd8d5434d5..cc503a424e 100644
--- a/meta/classes/cpan_build.bbclass
+++ b/meta/classes/cpan_build.bbclass
@@ -26,8 +26,8 @@ cpan_build_do_configure () {
26 26
27 perl Build.PL --installdirs vendor \ 27 perl Build.PL --installdirs vendor \
28 --destdir ${D} \ 28 --destdir ${D} \
29 --install_path lib="${datadir}/perl5" \ 29 --install_path lib="${datadir}/perl" \
30 --install_path arch="${libdir}/perl5" \ 30 --install_path arch="${libdir}/perl" \
31 --install_path script=${bindir} \ 31 --install_path script=${bindir} \
32 --install_path bin=${bindir} \ 32 --install_path bin=${bindir} \
33 --install_path bindoc=${mandir}/man1 \ 33 --install_path bindoc=${mandir}/man1 \
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index 9edce31cb5..1a045ba16d 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -15,6 +15,7 @@ STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${SDK_ARCH}${S
15# Update BASE_PACKAGE_ARCH and PACKAGE_ARCHS 15# Update BASE_PACKAGE_ARCH and PACKAGE_ARCHS
16# 16#
17OLD_MULTIMACH_ARCH := "${MULTIMACH_ARCH}" 17OLD_MULTIMACH_ARCH := "${MULTIMACH_ARCH}"
18OLD_MULTIMACH_TARGET_SYS := "${MULTIMACH_TARGET_SYS}"
18OLD_PACKAGE_ARCH := ${BASE_PACKAGE_ARCH} 19OLD_PACKAGE_ARCH := ${BASE_PACKAGE_ARCH}
19BASE_PACKAGE_ARCH = "${SDK_ARCH}-nativesdk" 20BASE_PACKAGE_ARCH = "${SDK_ARCH}-nativesdk"
20python () { 21python () {
@@ -29,7 +30,6 @@ MULTIMACH_TARGET_SYS = "${MULTIMACH_ARCH}${HOST_VENDOR}-${HOST_OS}"
29INHIBIT_DEFAULT_DEPS = "1" 30INHIBIT_DEFAULT_DEPS = "1"
30 31
31STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-nativesdk" 32STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-nativesdk"
32STAGING_DIR_TARGET = "${STAGING_DIR}/${OLD_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
33 33
34TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR}/${HOST_ARCH}-nativesdk${HOST_VENDOR}-${HOST_OS}" 34TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR}/${HOST_ARCH}-nativesdk${HOST_VENDOR}-${HOST_OS}"
35 35
@@ -43,6 +43,9 @@ HOST_OS = "${SDK_OS}"
43HOST_PREFIX = "${SDK_PREFIX}" 43HOST_PREFIX = "${SDK_PREFIX}"
44HOST_CC_ARCH = "${SDK_CC_ARCH}" 44HOST_CC_ARCH = "${SDK_CC_ARCH}"
45 45
46#assign DPKG_ARCH
47DPKG_ARCH = "${SDK_ARCH}"
48
46CPPFLAGS = "${BUILDSDK_CPPFLAGS}" 49CPPFLAGS = "${BUILDSDK_CPPFLAGS}"
47CFLAGS = "${BUILDSDK_CFLAGS}" 50CFLAGS = "${BUILDSDK_CFLAGS}"
48CXXFLAGS = "${BUILDSDK_CFLAGS}" 51CXXFLAGS = "${BUILDSDK_CFLAGS}"
@@ -81,3 +84,5 @@ export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"
81# Cross-canadian packages need to pull in nativesdk dynamic libs 84# Cross-canadian packages need to pull in nativesdk dynamic libs
82SHLIBSDIR = "${STAGING_DIR}/${SDK_ARCH}-nativesdk${SDK_VENDOR}-${BUILD_OS}/shlibs" 85SHLIBSDIR = "${STAGING_DIR}/${SDK_ARCH}-nativesdk${SDK_VENDOR}-${BUILD_OS}/shlibs"
83 86
87do_populate_sysroot[stamp-extra-info] = ""
88do_package[stamp-extra-info] = ""
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index 7c20be0b81..f9fd07a9a2 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -20,6 +20,11 @@ HOST_OS = "${BUILD_OS}"
20HOST_PREFIX = "${BUILD_PREFIX}" 20HOST_PREFIX = "${BUILD_PREFIX}"
21HOST_CC_ARCH = "${BUILD_CC_ARCH}" 21HOST_CC_ARCH = "${BUILD_CC_ARCH}"
22 22
23STAGING_DIR_HOST = "${STAGING_DIR}/${BASEPKG_HOST_SYS}"
24
25export PKG_CONFIG_DIR = "${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}${libdir}/pkgconfig"
26export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
27
23CPPFLAGS = "${BUILD_CPPFLAGS}" 28CPPFLAGS = "${BUILD_CPPFLAGS}"
24CFLAGS = "${BUILD_CFLAGS}" 29CFLAGS = "${BUILD_CFLAGS}"
25CXXFLAGS = "${BUILD_CFLAGS}" 30CXXFLAGS = "${BUILD_CFLAGS}"
@@ -40,30 +45,20 @@ target_prefix := "${prefix}"
40target_exec_prefix := "${exec_prefix}" 45target_exec_prefix := "${exec_prefix}"
41 46
42# Overrides for paths 47# Overrides for paths
48CROSS_TARGET_SYS_DIR = "${MULTIMACH_TARGET_SYS}"
43prefix = "${STAGING_DIR_NATIVE}${prefix_native}" 49prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
44base_prefix = "${STAGING_DIR_NATIVE}" 50base_prefix = "${STAGING_DIR_NATIVE}"
45exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" 51exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
46bindir = "${exec_prefix}/bin/${MULTIMACH_TARGET_SYS}" 52bindir = "${exec_prefix}/bin/${CROSS_TARGET_SYS_DIR}"
47sbindir = "${bindir}" 53sbindir = "${bindir}"
48base_bindir = "${bindir}" 54base_bindir = "${bindir}"
49base_sbindir = "${bindir}" 55base_sbindir = "${bindir}"
50libdir = "${exec_prefix}/lib/${MULTIMACH_TARGET_SYS}" 56libdir = "${exec_prefix}/lib/${CROSS_TARGET_SYS_DIR}"
51libexecdir = "${exec_prefix}/libexec/${MULTIMACH_TARGET_SYS}" 57libexecdir = "${exec_prefix}/libexec/${CROSS_TARGET_SYS_DIR}"
58
59do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}"
52 60
53do_install () { 61do_install () {
54 oe_runmake 'DESTDIR=${D}' install 62 oe_runmake 'DESTDIR=${D}' install
55} 63}
56 64
57#
58# Override the default sysroot staging copy since this won't look like a target system
59#
60sysroot_stage_all() {
61 sysroot_stage_dir ${D} ${SYSROOT_DESTDIR}
62 install -d ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_base_libdir}/
63 install -d ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/
64 mv ${SYSROOT_DESTDIR}${target_base_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_base_libdir}/ || true
65 mv ${SYSROOT_DESTDIR}${target_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/ || true
66}
67
68
69
diff --git a/meta/classes/crosssdk.bbclass b/meta/classes/crosssdk.bbclass
index 23db163ba6..75fcfefc09 100644
--- a/meta/classes/crosssdk.bbclass
+++ b/meta/classes/crosssdk.bbclass
@@ -1,7 +1,5 @@
1inherit cross 1inherit cross
2 2
3PACKAGES = ""
4
5BASE_PACKAGE_ARCH = "${SDK_ARCH}" 3BASE_PACKAGE_ARCH = "${SDK_ARCH}"
6PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}" 4PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
7STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}" 5STAGING_DIR_TARGET = "${STAGING_DIR}/${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}"
@@ -18,3 +16,5 @@ target_base_libdir = "${SDKPATHNATIVE}${base_libdir_nativesdk}"
18target_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}" 16target_prefix = "${SDKPATHNATIVE}${prefix_nativesdk}"
19target_exec_prefix = "${SDKPATHNATIVE}${exec_prefix_nativesdk}" 17target_exec_prefix = "${SDKPATHNATIVE}${exec_prefix_nativesdk}"
20 18
19do_populate_sysroot[stamp-extra-info] = ""
20do_package[stamp-extra-info] = ""
diff --git a/meta/classes/distrodata.bbclass b/meta/classes/distrodata.bbclass
index 0378790f70..31e7420cf4 100644
--- a/meta/classes/distrodata.bbclass
+++ b/meta/classes/distrodata.bbclass
@@ -3,8 +3,6 @@ require conf/distro/include/distro_tracking_fields.inc
3 3
4addhandler distro_eventhandler 4addhandler distro_eventhandler
5python distro_eventhandler() { 5python distro_eventhandler() {
6 from bb.event import Handled, NotHandled
7 # if bb.event.getName(e) == "TaskStarted":
8 6
9 if bb.event.getName(e) == "BuildStarted": 7 if bb.event.getName(e) == "BuildStarted":
10 """initialize log files.""" 8 """initialize log files."""
@@ -25,7 +23,7 @@ python distro_eventhandler() {
25 f.close() 23 f.close()
26 bb.utils.unlockfile(lf) 24 bb.utils.unlockfile(lf)
27 25
28 return NotHandled 26 return
29} 27}
30 28
31addtask distrodata_np 29addtask distrodata_np
@@ -213,9 +211,6 @@ do_distrodataall() {
213 211
214addhandler checkpkg_eventhandler 212addhandler checkpkg_eventhandler
215python checkpkg_eventhandler() { 213python checkpkg_eventhandler() {
216 from bb.event import Handled, NotHandled
217 # if bb.event.getName(e) == "TaskStarted":
218
219 if bb.event.getName(e) == "BuildStarted": 214 if bb.event.getName(e) == "BuildStarted":
220 """initialize log files.""" 215 """initialize log files."""
221 logpath = bb.data.getVar('LOG_DIR', e.data, 1) 216 logpath = bb.data.getVar('LOG_DIR', e.data, 1)
@@ -234,8 +229,15 @@ python checkpkg_eventhandler() {
234 f.write("Package\tOwner\tURI Type\tVersion\tTracking\tUpstream\tTMatch\tRMatch\n") 229 f.write("Package\tOwner\tURI Type\tVersion\tTracking\tUpstream\tTMatch\tRMatch\n")
235 f.close() 230 f.close()
236 bb.utils.unlockfile(lf) 231 bb.utils.unlockfile(lf)
237 232 """initialize log files for package report system"""
238 return NotHandled 233 logfile2 = os.path.join(logpath, "get_pkg_info.%s.log" % bb.data.getVar('DATETIME', e.data, 1))
234 if not os.path.exists(logfile2):
235 slogfile2 = os.path.join(logpath, "get_pkg_info.log")
236 if os.path.exists(slogfile2):
237 os.remove(slogfile2)
238 os.system("touch %s" % logfile2)
239 os.symlink(logfile2, slogfile2)
240 return
239} 241}
240 242
241addtask checkpkg 243addtask checkpkg
@@ -262,8 +264,8 @@ python do_checkpkg() {
262 prefix1 = "[a-zA-Z][a-zA-Z0-9]*([\-_][a-zA-Z]\w+)*[\-_]" # match most patterns which uses "-" as separator to version digits 264 prefix1 = "[a-zA-Z][a-zA-Z0-9]*([\-_][a-zA-Z]\w+)*[\-_]" # match most patterns which uses "-" as separator to version digits
263 prefix2 = "[a-zA-Z]+" # a loose pattern such as for unzip552.tar.gz 265 prefix2 = "[a-zA-Z]+" # a loose pattern such as for unzip552.tar.gz
264 prefix = "(%s|%s)" % (prefix1, prefix2) 266 prefix = "(%s|%s)" % (prefix1, prefix2)
265 suffix = "(tar\.gz|tgz|tar\.bz2|zip)" 267 suffix = "(tar\.gz|tgz|tar\.bz2|zip|xz)"
266 suffixtuple = ("tar.gz", "tgz", "zip", "tar.bz2") 268 suffixtuple = ("tar.gz", "tgz", "zip", "tar.bz2", "tar.xz")
267 269
268 sinterstr = "(?P<name>%s?)(?P<ver>.*)" % prefix 270 sinterstr = "(?P<name>%s?)(?P<ver>.*)" % prefix
269 sdirstr = "(?P<name>%s)(?P<ver>.*)\.(?P<type>%s$)" % (prefix, suffix) 271 sdirstr = "(?P<name>%s)(?P<ver>.*)\.(?P<type>%s$)" % (prefix, suffix)
@@ -307,42 +309,31 @@ python do_checkpkg() {
307 """ 309 """
308 def internal_fetch_wget(url, d, tmpf): 310 def internal_fetch_wget(url, d, tmpf):
309 status = "ErrFetchUnknown" 311 status = "ErrFetchUnknown"
310 try: 312 """
311 """ 313 Clear internal url cache as it's a temporary check. Not doing so will have
312 Clear internal url cache as it's a temporary check. Not doing so will have 314 bitbake check url multiple times when looping through a single url
313 bitbake check url multiple times when looping through a single url 315 """
314 """ 316 fn = bb.data.getVar('FILE', d, 1)
315 fn = bb.data.getVar('FILE', d, 1) 317 bb.fetch2.urldata_cache[fn] = {}
316 bb.fetch.urldata_cache[fn] = {} 318
317 bb.fetch.init([url], d) 319 """
318 except bb.fetch.NoMethodError: 320 To avoid impacting bitbake build engine, this trick is required for reusing bitbake
319 status = "ErrFetchNoMethod" 321 interfaces. bb.fetch.go() is not appliable as it checks downloaded content in ${DL_DIR}
320 except: 322 while we don't want to pollute that place. So bb.fetch2.checkstatus() is borrowed here
321 status = "ErrInitUrlUnknown" 323 which is designed for check purpose but we override check command for our own purpose
322 else: 324 """
323 """ 325 ld = bb.data.createCopy(d)
324 To avoid impacting bitbake build engine, this trick is required for reusing bitbake 326 bb.data.setVar('CHECKCOMMAND_wget', "/usr/bin/env wget -t 1 --passive-ftp -O %s --user-agent=\"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12\" '${URI}'" \
325 interfaces. bb.fetch.go() is not appliable as it checks downloaded content in ${DL_DIR}
326 while we don't want to pollute that place. So bb.fetch.checkstatus() is borrowed here
327 which is designed for check purpose but we override check command for our own purpose
328 """
329 ld = bb.data.createCopy(d)
330 bb.data.setVar('CHECKCOMMAND_wget', "/usr/bin/env wget -t 1 --passive-ftp -O %s '${URI}'" \
331 % tmpf.name, d) 327 % tmpf.name, d)
332 bb.data.update_data(ld) 328 bb.data.update_data(ld)
333 329
334 try: 330 try:
335 bb.fetch.checkstatus(ld) 331 fetcher = bb.fetch2.Fetch([url], ld)
336 except bb.fetch.MissingParameterError: 332 fetcher.checkstatus()
337 status = "ErrMissParam" 333 status = "SUCC"
338 except bb.fetch.FetchError: 334 except bb.fetch2.BBFetchException, e:
339 status = "ErrFetch" 335 status = "ErrFetch"
340 except bb.fetch.MD5SumError: 336
341 status = "ErrMD5Sum"
342 except:
343 status = "ErrFetchUnknown"
344 else:
345 status = "SUCC"
346 return status 337 return status
347 338
348 """ 339 """
@@ -425,7 +416,7 @@ python do_checkpkg() {
425 """match "{PN}-5.21.1.tar.gz">{PN}-5.21.1.tar.gz """ 416 """match "{PN}-5.21.1.tar.gz">{PN}-5.21.1.tar.gz """
426 pn1 = re.search("^%s" % prefix, curname).group() 417 pn1 = re.search("^%s" % prefix, curname).group()
427 s = "[^\"]*%s[^\d\"]*?(\d+[\.\-_])+[^\"]*" % pn1 418 s = "[^\"]*%s[^\d\"]*?(\d+[\.\-_])+[^\"]*" % pn1
428 searchstr = "[hH][rR][eE][fF]=\"%s\">" % s 419 searchstr = "[hH][rR][eE][fF]=\"%s\".*>" % s
429 reg = re.compile(searchstr) 420 reg = re.compile(searchstr)
430 421
431 valid = 0 422 valid = 0
@@ -443,7 +434,7 @@ python do_checkpkg() {
443 status = "ErrParseDir" 434 status = "ErrParseDir"
444 else: 435 else:
445 """newver still contains a full package name string""" 436 """newver still contains a full package name string"""
446 status = re.search("(\d+[.\-_])*\d+", newver[1]).group() 437 status = re.search("(\d+[.\-_])*[0-9a-zA-Z]+", newver[1]).group()
447 elif not len(fhtml): 438 elif not len(fhtml):
448 status = "ErrHostNoDir" 439 status = "ErrHostNoDir"
449 440
@@ -464,11 +455,23 @@ python do_checkpkg() {
464 logpath = bb.data.getVar('LOG_DIR', d, 1) 455 logpath = bb.data.getVar('LOG_DIR', d, 1)
465 bb.utils.mkdirhier(logpath) 456 bb.utils.mkdirhier(logpath)
466 logfile = os.path.join(logpath, "checkpkg.csv") 457 logfile = os.path.join(logpath, "checkpkg.csv")
458 """initialize log files for package report system"""
459 logfile2 = os.path.join(logpath, "get_pkg_info.log")
467 460
468 """generate package information from .bb file""" 461 """generate package information from .bb file"""
469 pname = bb.data.getVar('PN', d, 1) 462 pname = bb.data.getVar('PN', d, 1)
470 pdesc = bb.data.getVar('DESCRIPTION', d, 1) 463 pdesc = bb.data.getVar('DESCRIPTION', d, 1)
471 pgrp = bb.data.getVar('SECTION', d, 1) 464 pgrp = bb.data.getVar('SECTION', d, 1)
465 pversion = bb.data.getVar('PV', d, 1)
466 plicense = bb.data.getVar('LICENSE',d,1)
467 psection = bb.data.getVar('SECTION',d,1)
468 phome = bb.data.getVar('HOMEPAGE', d, 1)
469 prelease = bb.data.getVar('PR',d,1)
470 ppriority = bb.data.getVar('PRIORITY',d,1)
471 pdepends = bb.data.getVar('DEPENDS',d,1)
472 pbugtracker = bb.data.getVar('BUGTRACKER',d,1)
473 ppe = bb.data.getVar('PE',d,1)
474 psrcuri = bb.data.getVar('SRC_URI',d,1)
472 475
473 found = 0 476 found = 0
474 for uri in src_uri.split(): 477 for uri in src_uri.split():
@@ -614,6 +617,14 @@ python do_checkpkg() {
614 (pname, maintainer, pproto, pcurver, pmver, pupver, pmstatus, pstatus)) 617 (pname, maintainer, pproto, pcurver, pmver, pupver, pmstatus, pstatus))
615 f.close() 618 f.close()
616 bb.utils.unlockfile(lf) 619 bb.utils.unlockfile(lf)
620
621 """write into get_pkg_info log file to supply data for package report system"""
622 lf2 = bb.utils.lockfile(logfile2 + ".lock")
623 f2 = open(logfile2, "a")
624 f2.write("%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n" % \
625 (pname,pversion,pupver,plicense,psection, phome,prelease, ppriority,pdepends,pbugtracker,ppe,pdesc,pstatus,pmver,psrcuri))
626 f2.close()
627 bb.utils.unlockfile(lf2)
617} 628}
618 629
619addtask checkpkgall after do_checkpkg 630addtask checkpkgall after do_checkpkg
@@ -625,9 +636,6 @@ do_checkpkgall() {
625 636
626#addhandler check_eventhandler 637#addhandler check_eventhandler
627python check_eventhandler() { 638python check_eventhandler() {
628 from bb.event import Handled, NotHandled
629 # if bb.event.getName(e) == "TaskStarted":
630
631 if bb.event.getName(e) == "BuildStarted": 639 if bb.event.getName(e) == "BuildStarted":
632 import oe.distro_check as dc 640 import oe.distro_check as dc
633 tmpdir = bb.data.getVar('TMPDIR', e.data, 1) 641 tmpdir = bb.data.getVar('TMPDIR', e.data, 1)
@@ -645,7 +653,7 @@ python check_eventhandler() {
645 os.symlink(logfile, slogfile) 653 os.symlink(logfile, slogfile)
646 bb.data.setVar('LOG_FILE', logfile, e.data) 654 bb.data.setVar('LOG_FILE', logfile, e.data)
647 655
648 return NotHandled 656 return
649} 657}
650 658
651addtask distro_check 659addtask distro_check
diff --git a/meta/classes/distutils-common-base.bbclass b/meta/classes/distutils-common-base.bbclass
index 01bf9eaeba..f66a5cd571 100644
--- a/meta/classes/distutils-common-base.bbclass
+++ b/meta/classes/distutils-common-base.bbclass
@@ -1,19 +1,10 @@
1inherit python-dir
2
1EXTRA_OEMAKE = "" 3EXTRA_OEMAKE = ""
2 4
3export STAGING_INCDIR 5export STAGING_INCDIR
4export STAGING_LIBDIR 6export STAGING_LIBDIR
5 7
6def python_dir(d):
7 import os, bb
8 staging_incdir = bb.data.getVar( "STAGING_INCDIR", d, 1 )
9 for majmin in "2.6 2.5 2.4 2.3".split():
10 if os.path.exists( "%s/python%s" % ( staging_incdir, majmin ) ): return "python%s" % majmin
11 if not "python-native" in bb.data.getVar( "DEPENDS", d, 1 ).split():
12 raise "No Python in STAGING_INCDIR. Forgot to build python-native ?"
13 return "INVALID"
14
15PYTHON_DIR = "${@python_dir(d)}"
16
17PACKAGES = "${PN}-dev ${PN}-dbg ${PN}-doc ${PN}" 8PACKAGES = "${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
18 9
19FILES_${PN} = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*" 10FILES_${PN} = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*"
@@ -21,10 +12,10 @@ FILES_${PN} = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*"
21FILES_${PN}-dev += "\ 12FILES_${PN}-dev += "\
22 ${datadir}/pkgconfig \ 13 ${datadir}/pkgconfig \
23 ${libdir}/pkgconfig \ 14 ${libdir}/pkgconfig \
24 ${libdir}/${PYTHON_DIR}/site-packages/*.la \ 15 ${PYTHON_SITEPACKAGES_DIR}/*.la \
25" 16"
26FILES_${PN}-dbg = "\ 17FILES_${PN}-dbg += "\
27 ${libdir}/${PYTHON_DIR}/site-packages/.debug \ 18 ${PYTHON_SITEPACKAGES_DIR}/.debug \
28 ${libdir}/${PYTHON_DIR}/site-packages/*/.debug \ 19 ${PYTHON_SITEPACKAGES_DIR}/*/.debug \
29 ${libdir}/${PYTHON_DIR}/site-packages/*/*/.debug \ 20 ${PYTHON_SITEPACKAGES_DIR}/*/*/.debug \
30" 21"
diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass
index 245ef7d859..7e6fbc0c06 100644
--- a/meta/classes/distutils.bbclass
+++ b/meta/classes/distutils.bbclass
@@ -16,9 +16,7 @@ distutils_do_compile() {
16} 16}
17 17
18distutils_stage_headers() { 18distutils_stage_headers() {
19 install -d ${STAGING_DIR_HOST}${libdir}/${PYTHON_DIR}/site-packages 19 install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
20 STAGING_INCDIR=${STAGING_INCDIR} \
21 STAGING_LIBDIR=${STAGING_LIBDIR} \
22 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ 20 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
23 ${STAGING_BINDIR_NATIVE}/python setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \ 21 ${STAGING_BINDIR_NATIVE}/python setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \
24 oefatal "python setup.py install_headers execution failed." 22 oefatal "python setup.py install_headers execution failed."
@@ -27,18 +25,18 @@ distutils_stage_headers() {
27distutils_stage_all() { 25distutils_stage_all() {
28 STAGING_INCDIR=${STAGING_INCDIR} \ 26 STAGING_INCDIR=${STAGING_INCDIR} \
29 STAGING_LIBDIR=${STAGING_LIBDIR} \ 27 STAGING_LIBDIR=${STAGING_LIBDIR} \
30 install -d ${STAGING_DIR_HOST}${libdir}/${PYTHON_DIR}/site-packages 28 install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
31 PYTHONPATH=${STAGING_DIR_HOST}${libdir}/${PYTHON_DIR}/site-packages \ 29 PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} \
32 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ 30 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
33 ${STAGING_BINDIR_NATIVE}/python setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \ 31 ${STAGING_BINDIR_NATIVE}/python setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \
34 oefatal "python setup.py install (stage) execution failed." 32 oefatal "python setup.py install (stage) execution failed."
35} 33}
36 34
37distutils_do_install() { 35distutils_do_install() {
38 install -d ${D}${libdir}/${PYTHON_DIR}/site-packages 36 install -d ${D}${PYTHON_SITEPACKAGES_DIR}
39 STAGING_INCDIR=${STAGING_INCDIR} \ 37 STAGING_INCDIR=${STAGING_INCDIR} \
40 STAGING_LIBDIR=${STAGING_LIBDIR} \ 38 STAGING_LIBDIR=${STAGING_LIBDIR} \
41 PYTHONPATH=${D}/${libdir}/${PYTHON_DIR}/site-packages \ 39 PYTHONPATH=${D}/${PYTHON_SITEPACKAGES_DIR} \
42 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ 40 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
43 ${STAGING_BINDIR_NATIVE}/python setup.py install ${DISTUTILS_INSTALL_ARGS} || \ 41 ${STAGING_BINDIR_NATIVE}/python setup.py install ${DISTUTILS_INSTALL_ARGS} || \
44 oefatal "python setup.py install execution failed." 42 oefatal "python setup.py install execution failed."
@@ -59,15 +57,17 @@ distutils_do_install() {
59 done 57 done
60 fi 58 fi
61 59
62 rm -f ${D}${libdir}/${PYTHON_DIR}/site-packages/easy-install.pth 60 rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/easy-install.pth
63 61
64 # 62 #
65 # FIXME: Bandaid against wrong datadir computation 63 # FIXME: Bandaid against wrong datadir computation
66 # 64 #
67 if test -e ${D}${datadir}/share; then 65 if test -e ${D}${datadir}/share; then
68 mv -f ${D}${datadir}/share/* ${D}${datadir}/ 66 mv -f ${D}${datadir}/share/* ${D}${datadir}/
69 fi 67 fi
70 68
69 # These are generated files, on really slow systems the storage/speed trade off
70 # might be worth it, but in general it isn't
71 find ${D}${libdir}/${PYTHON_DIR}/site-packages -iname '*.pyo' -exec rm {} \; 71 find ${D}${libdir}/${PYTHON_DIR}/site-packages -iname '*.pyo' -exec rm {} \;
72} 72}
73 73
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
index 524c2f0c46..dcabaf5442 100644
--- a/meta/classes/gtk-icon-cache.bbclass
+++ b/meta/classes/gtk-icon-cache.bbclass
@@ -9,7 +9,7 @@ if [ "x$D" != "x" ]; then
9fi 9fi
10 10
11# Update the pixbuf loaders in case they haven't been registered yet 11# Update the pixbuf loaders in case they haven't been registered yet
12gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders 12GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders gdk-pixbuf-query-loaders --update-cache
13 13
14for icondir in /usr/share/icons/* ; do 14for icondir in /usr/share/icons/* ; do
15 if [ -d $icondir ] ; then 15 if [ -d $icondir ] ; then
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 9fa0155c8a..14de3e1994 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -39,7 +39,7 @@ python () {
39 39
40 # If we don't do this we try and run the mapping hooks while parsing which is slow 40 # If we don't do this we try and run the mapping hooks while parsing which is slow
41 # bitbake should really provide something to let us know this... 41 # bitbake should really provide something to let us know this...
42 if bb.data.getVar('__RUNQUEUE_DO_NOT_USE_EXTERNALLY', d, True) is not None: 42 if bb.data.getVar('BB_WORKERCONTEXT', d, True) is not None:
43 runtime_mapping_rename("PACKAGE_INSTALL", d) 43 runtime_mapping_rename("PACKAGE_INSTALL", d)
44 runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", d) 44 runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", d)
45} 45}
@@ -155,7 +155,6 @@ insert_feed_uris () {
155} 155}
156 156
157log_check() { 157log_check() {
158 set +x
159 for target in $* 158 for target in $*
160 do 159 do
161 lf_path="${WORKDIR}/temp/log.do_$target.${PID}" 160 lf_path="${WORKDIR}/temp/log.do_$target.${PID}"
@@ -164,14 +163,12 @@ log_check() {
164 163
165 if test -e "$lf_path" 164 if test -e "$lf_path"
166 then 165 then
167 rootfs_${IMAGE_PKGTYPE}_log_check $target $lf_path 166 ${IMAGE_PKGTYPE}_log_check $target $lf_path
168 else 167 else
169 echo "Cannot find logfile [$lf_path]" 168 echo "Cannot find logfile [$lf_path]"
170 fi 169 fi
171 echo "Logfile is clean" 170 echo "Logfile is clean"
172 done 171 done
173
174 set -x
175} 172}
176 173
177# set '*' as the rootpassword so the images 174# set '*' as the rootpassword so the images
diff --git a/meta/classes/imagetest-qemu.bbclass b/meta/classes/imagetest-qemu.bbclass
index 4b3ddfc362..8301df8452 100644
--- a/meta/classes/imagetest-qemu.bbclass
+++ b/meta/classes/imagetest-qemu.bbclass
@@ -5,6 +5,9 @@ TEST_LOG ?= "${LOG_DIR}/qemuimagetests"
5TEST_RESULT ?= "${TEST_DIR}/result" 5TEST_RESULT ?= "${TEST_DIR}/result"
6TEST_TMP ?= "${TEST_DIR}/tmp" 6TEST_TMP ?= "${TEST_DIR}/tmp"
7TEST_SCEN ?= "sanity" 7TEST_SCEN ?= "sanity"
8TEST_STATUS ?= "${TEST_TMP}/status"
9TARGET_IPSAVE ?= "${TEST_TMP}/target_ip"
10TEST_SERIALIZE ?= "1"
8 11
9python do_qemuimagetest() { 12python do_qemuimagetest() {
10 qemuimagetest_main(d) 13 qemuimagetest_main(d)
@@ -34,10 +37,21 @@ def qemuimagetest_main(d):
34 machine = bb.data.getVar('MACHINE', d, 1) 37 machine = bb.data.getVar('MACHINE', d, 1)
35 pname = bb.data.getVar('PN', d, 1) 38 pname = bb.data.getVar('PN', d, 1)
36 39
40 """function to save test cases running status"""
41 def teststatus(test, status, index, length):
42 test_status = bb.data.getVar('TEST_STATUS', d, 1)
43 if not os.path.exists(test_status):
44 raise bb.build.FuncFailed("No test status file existing under TEST_TMP")
45
46 f = open(test_status, "w")
47 f.write("\t%-15s%-15s%-15s%-15s\n" % ("Case", "Status", "Number", "Total"))
48 f.write("\t%-15s%-15s%-15s%-15s\n" % (case, status, index, length))
49 f.close()
50
37 """funtion to run each case under scenario""" 51 """funtion to run each case under scenario"""
38 def runtest(scen, case, fulltestpath): 52 def runtest(scen, case, fulltestpath):
39 resultpath = bb.data.getVar('TEST_RESULT', d, 1) 53 resultpath = bb.data.getVar('TEST_RESULT', d, 1)
40 testpath = bb.data.getVar('TEST_DIR', d, 1) 54 tmppath = bb.data.getVar('TEST_TMP', d, 1)
41 55
42 """initialize log file for testcase""" 56 """initialize log file for testcase"""
43 logpath = bb.data.getVar('TEST_LOG', d, 1) 57 logpath = bb.data.getVar('TEST_LOG', d, 1)
@@ -45,20 +59,23 @@ def qemuimagetest_main(d):
45 caselog = os.path.join(logpath, "%s/log_%s.%s" % (scen, case, bb.data.getVar('DATETIME', d, 1))) 59 caselog = os.path.join(logpath, "%s/log_%s.%s" % (scen, case, bb.data.getVar('DATETIME', d, 1)))
46 os.system("touch %s" % caselog) 60 os.system("touch %s" % caselog)
47 61
48
49 """export TEST_TMP, TEST_RESULT, DEPLOY_DIR and QEMUARCH""" 62 """export TEST_TMP, TEST_RESULT, DEPLOY_DIR and QEMUARCH"""
50 os.environ["PATH"] = bb.data.getVar("PATH", d, True) 63 os.environ["PATH"] = bb.data.getVar("PATH", d, True)
51 os.environ["TEST_TMP"] = testpath 64 os.environ["TEST_TMP"] = tmppath
52 os.environ["TEST_RESULT"] = resultpath 65 os.environ["TEST_RESULT"] = resultpath
53 os.environ["DEPLOY_DIR"] = bb.data.getVar("DEPLOY_DIR", d, True) 66 os.environ["DEPLOY_DIR"] = bb.data.getVar("DEPLOY_DIR", d, True)
54 os.environ["QEMUARCH"] = machine 67 os.environ["QEMUARCH"] = machine
55 os.environ["QEMUTARGET"] = pname 68 os.environ["QEMUTARGET"] = pname
56 os.environ["DISPLAY"] = bb.data.getVar("DISPLAY", d, True) 69 os.environ["DISPLAY"] = bb.data.getVar("DISPLAY", d, True)
57 os.environ["POKYBASE"] = bb.data.getVar("POKYBASE", d, True) 70 os.environ["POKYBASE"] = bb.data.getVar("POKYBASE", d, True)
71 os.environ["TOPDIR"] = bb.data.getVar("TOPDIR", d, True)
72 os.environ["TEST_STATUS"] = bb.data.getVar("TEST_STATUS", d, True)
73 os.environ["TARGET_IPSAVE"] = bb.data.getVar("TARGET_IPSAVE", d, True)
74 os.environ["TEST_SERIALIZE"] = bb.data.getVar("TEST_SERIALIZE", d, True)
58 75
59 """run Test Case""" 76 """run Test Case"""
60 bb.note("Run %s test in scenario %s" % (case, scen)) 77 bb.note("Run %s test in scenario %s" % (case, scen))
61 os.system("%s | tee -a %s" % (fulltestpath, caselog)) 78 os.system("%s" % fulltestpath)
62 79
63 """Generate testcase list in runtime""" 80 """Generate testcase list in runtime"""
64 def generate_list(testlist): 81 def generate_list(testlist):
@@ -96,6 +113,18 @@ def qemuimagetest_main(d):
96 list.append((item, casefile, fulltestcase)) 113 list.append((item, casefile, fulltestcase))
97 return list 114 return list
98 115
116 """Clean tmp folder for testing"""
117 def clean_tmp():
118 tmppath = bb.data.getVar('TEST_TMP', d, 1)
119
120 if os.path.isdir(tmppath):
121 for f in os.listdir(tmppath):
122 tmpfile = os.path.join(tmppath, f)
123 os.remove(tmpfile)
124
125 """Before running testing, clean temp folder first"""
126 clean_tmp()
127
99 """check testcase folder and create test log folder""" 128 """check testcase folder and create test log folder"""
100 testpath = bb.data.getVar('TEST_DIR', d, 1) 129 testpath = bb.data.getVar('TEST_DIR', d, 1)
101 bb.utils.mkdirhier(testpath) 130 bb.utils.mkdirhier(testpath)
@@ -105,7 +134,13 @@ def qemuimagetest_main(d):
105 134
106 tmppath = bb.data.getVar('TEST_TMP', d, 1) 135 tmppath = bb.data.getVar('TEST_TMP', d, 1)
107 bb.utils.mkdirhier(tmppath) 136 bb.utils.mkdirhier(tmppath)
108 137
138 """initialize test status file"""
139 test_status = bb.data.getVar('TEST_STATUS', d, 1)
140 if os.path.exists(test_status):
141 os.remove(test_status)
142 os.system("touch %s" % test_status)
143
109 """initialize result file""" 144 """initialize result file"""
110 resultpath = bb.data.getVar('TEST_RESULT', d, 1) 145 resultpath = bb.data.getVar('TEST_RESULT', d, 1)
111 bb.utils.mkdirhier(resultpath) 146 bb.utils.mkdirhier(resultpath)
@@ -128,9 +163,11 @@ def qemuimagetest_main(d):
128 fulllist = generate_list(testlist) 163 fulllist = generate_list(testlist)
129 164
130 """Begin testing""" 165 """Begin testing"""
131 for test in fulllist: 166 for index,test in enumerate(fulllist):
132 (scen, case, fullpath) = test 167 (scen, case, fullpath) = test
168 teststatus(case, "running", index, (len(fulllist) - 1))
133 runtest(scen, case, fullpath) 169 runtest(scen, case, fullpath)
170 teststatus(case, "finished", index, (len(fulllist) - 1))
134 171
135 """Print Test Result""" 172 """Print Test Result"""
136 ret = 0 173 ret = 0
@@ -149,6 +186,9 @@ def qemuimagetest_main(d):
149 bb.note(line) 186 bb.note(line)
150 f.close() 187 f.close()
151 188
189 """Clean temp files for testing"""
190 clean_tmp()
191
152 if ret != 0: 192 if ret != 0:
153 raise bb.build.FuncFailed("Some testcases fail, pls. check test result and test log!!!") 193 raise bb.build.FuncFailed("Some testcases fail, pls. check test result and test log!!!")
154 194
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index b06d021b1b..5d3ef92a2e 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -153,8 +153,7 @@ def package_qa_handle_error(error_class, error_msg, name, path, d):
153 if fatal: 153 if fatal:
154 bb.error("QA Issue: %s" % error_msg) 154 bb.error("QA Issue: %s" % error_msg)
155 else: 155 else:
156 # Use bb.warn here when it works 156 bb.warn("QA Issue: %s" % error_msg)
157 bb.note("QA Issue: %s" % error_msg)
158 package_qa_write_error(error_class, name, path, d) 157 package_qa_write_error(error_class, name, path, d)
159 158
160 return not fatal 159 return not fatal
@@ -348,8 +347,8 @@ def package_qa_check_license(workdir, d):
348 if not lic_files: 347 if not lic_files:
349 # just throw a warning now. Once licensing data in entered for enough of the recipes, 348 # just throw a warning now. Once licensing data in entered for enough of the recipes,
350 # this will be converted into error and False will be returned. 349 # this will be converted into error and False will be returned.
351 bb.warn(pn + ": Recipe file does not have license file information (LIC_FILES_CHKSUM)") 350 bb.error(pn + ": Recipe file does not have license file information (LIC_FILES_CHKSUM)")
352 return True 351 return False
353 352
354 srcdir = bb.data.getVar('S', d, True) 353 srcdir = bb.data.getVar('S', d, True)
355 354
@@ -357,10 +356,10 @@ def package_qa_check_license(workdir, d):
357 (type, host, path, user, pswd, parm) = bb.decodeurl(url) 356 (type, host, path, user, pswd, parm) = bb.decodeurl(url)
358 srclicfile = os.path.join(srcdir, path) 357 srclicfile = os.path.join(srcdir, path)
359 if not os.path.isfile(srclicfile): 358 if not os.path.isfile(srclicfile):
360 raise bb.build.FuncFailed( "LIC_FILES_CHKSUM points to invalid file: " + path) 359 raise bb.build.FuncFailed( pn + ": LIC_FILES_CHKSUM points to invalid file: " + path)
361 360
362 if 'md5' not in parm: 361 if 'md5' not in parm:
363 bb.error("md5 checksum is not specified for ", url) 362 bb.error(pn + ": md5 checksum is not specified for ", url)
364 return False 363 return False
365 beginline, endline = 0, 0 364 beginline, endline = 0, 0
366 if 'beginline' in parm: 365 if 'beginline' in parm:
@@ -391,11 +390,11 @@ def package_qa_check_license(workdir, d):
391 os.unlink(tmplicfile) 390 os.unlink(tmplicfile)
392 391
393 if parm['md5'] == md5chksum: 392 if parm['md5'] == md5chksum:
394 bb.note ("md5 checksum matched for ", url) 393 bb.note (pn + ": md5 checksum matched for ", url)
395 else: 394 else:
396 bb.error ("md5 data is not matching for ", url) 395 bb.error (pn + ": md5 data is not matching for ", url)
397 bb.note ("The new md5 checksum is ", md5chksum) 396 bb.error (pn + ": The new md5 checksum is ", md5chksum)
398 bb.note ("Check if the license information has changed, and if it has update the .bb file with correct license") 397 bb.error (pn + ": Check if the license information has changed in")
399 sane = False 398 sane = False
400 399
401 return sane 400 return sane
@@ -428,11 +427,6 @@ def package_qa_check_staged(path,d):
428 path = os.path.join(root,file) 427 path = os.path.join(root,file)
429 if file.endswith(".la"): 428 if file.endswith(".la"):
430 file_content = open(path).read() 429 file_content = open(path).read()
431 # Don't check installed status for native/cross packages
432 if not bb.data.inherits_class("native", d) and not bb.data.inherits_class("cross", d):
433 if installed in file_content:
434 error_msg = "%s failed sanity test (installed) in path %s" % (file,root)
435 sane = package_qa_handle_error(5, error_msg, "staging", path, d)
436 if workdir in file_content: 430 if workdir in file_content:
437 error_msg = "%s failed sanity test (workdir) in path %s" % (file,root) 431 error_msg = "%s failed sanity test (workdir) in path %s" % (file,root)
438 sane = package_qa_handle_error(8, error_msg, "staging", path, d) 432 sane = package_qa_handle_error(8, error_msg, "staging", path, d)
@@ -534,9 +528,9 @@ python do_package_qa () {
534 528
535 checks = [package_qa_check_rpath, package_qa_check_dev, 529 checks = [package_qa_check_rpath, package_qa_check_dev,
536 package_qa_check_perm, package_qa_check_arch, 530 package_qa_check_perm, package_qa_check_arch,
537 package_qa_check_desktop, 531 package_qa_check_desktop, package_qa_hash_style,
538 package_qa_check_dbg] 532 package_qa_check_dbg]
539 # package_qa_check_buildpaths, package_qa_hash_style 533 # package_qa_check_buildpaths,
540 walk_sane = True 534 walk_sane = True
541 rdepends_sane = True 535 rdepends_sane = True
542 for package in packages.split(): 536 for package in packages.split():
@@ -581,7 +575,7 @@ python do_qa_configure() {
581 os.path.join(root,"config.log") 575 os.path.join(root,"config.log")
582 if "config.log" in files: 576 if "config.log" in files:
583 if os.system(statement) == 0: 577 if os.system(statement) == 0:
584 bb.fatal("""This autoconf log indicates errors, it looked at host includes. 578 bb.fatal("""This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
585Rerun configure task after fixing this. The path was '%s'""" % root) 579Rerun configure task after fixing this. The path was '%s'""" % root)
586 580
587 if "configure.ac" in files: 581 if "configure.ac" in files:
@@ -605,5 +599,5 @@ Rerun configure task after fixing this. The path was '%s'""" % root)
605Missing inherit gettext?""" % config) 599Missing inherit gettext?""" % config)
606 600
607 if not package_qa_check_license(workdir, d): 601 if not package_qa_check_license(workdir, d):
608 bb.fatal("Licensing warning: LIC_FILES_CHKSUM does not match, please fix") 602 bb.fatal("Licensing Error: LIC_FILES_CHKSUM does not match, please fix")
609} 603}
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 8e820122ec..15802fabdf 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -1,60 +1,15 @@
1S = "${WORKDIR}/linux" 1S = "${WORKDIR}/linux"
2 2
3# Determine which branch to fetch and build. Not all branches are in the
4# upstream repo (but will be locally created after the fetchers run) so
5# a fallback branch needs to be chosen.
6#
7# The default machine 'UNDEFINED'. If the machine is not set to a specific
8# branch in this recipe or in a recipe extension, then we fallback to a
9# branch that is always present 'standard'. This sets the KBRANCH variable
10# and is used in the SRC_URI. The machine is then set back to ${MACHINE},
11# since futher processing will use that to create local branches
12python __anonymous () {
13 import bb, re
14
15 version = bb.data.getVar("LINUX_VERSION", d, 1)
16 # 2.6.34 signifies the old-style tree, so we need some temporary
17 # conditional processing based on the kernel version.
18 if version == "2.6.34":
19 bb.data.setVar("KBRANCH", "${KMACHINE}-${LINUX_KERNEL_TYPE}", d)
20 bb.data.setVar("KMETA", "wrs_meta", d)
21 mach = bb.data.getVar("KMACHINE", d, 1)
22 if mach == "UNDEFINED":
23 bb.data.setVar("KBRANCH", "standard", d)
24 bb.data.setVar("KMACHINE", "${MACHINE}", d)
25 # track the global configuration on a bootstrapped BSP
26 bb.data.setVar("SRCREV_machine", "${SRCREV_meta}", d)
27 bb.data.setVar("BOOTSTRAP", "t", d)
28 else:
29 # The branch for a build is:
30 # yocto/<kernel type>/${KMACHINE} or
31 # yocto/<kernel type>/${KMACHINE}/base
32 bb.data.setVar("KBRANCH", bb.data.expand("yocto/${LINUX_KERNEL_TYPE}/${KMACHINE}",d), d)
33 bb.data.setVar("KMETA", "meta", d)
34
35 mach = bb.data.getVar("KMACHINE", d, 1)
36 # drop the "/base" if it was on the KMACHINE
37 kmachine = mach.replace('/base','')
38 # and then write KMACHINE back
39 bb.data.setVar('KMACHINE_' + bb.data.expand("${MACHINE}",d), kmachine, d)
40
41 if mach == "UNDEFINED":
42 bb.data.setVar("KBRANCH", "yocto/standard/base", d)
43 bb.data.setVar('KMACHINE_' + bb.data.expand("${MACHINE}",d), bb.data.expand("${MACHINE}",d), d)
44 bb.data.setVar("SRCREV_machine", "standard", d)
45 bb.data.setVar("BOOTSTRAP", "t", d)
46}
47
48do_patch() { 3do_patch() {
49 cd ${S} 4 cd ${S}
50 if [ -f ${WORKDIR}/defconfig ]; then 5 if [ -f ${WORKDIR}/defconfig ]; then
51 defconfig=${WORKDIR}/defconfig 6 defconfig=${WORKDIR}/defconfig
52 fi 7 fi
53 8
54 if [ -n "${BOOTSTRAP}" ]; then 9 kbranch=${KBRANCH}
55 kbranch="yocto/${LINUX_KERNEL_TYPE}/${KMACHINE}" 10 if [ -n "${YOCTO_KERNEL_EXTERNAL_BRANCH}" ]; then
56 else 11 # switch from a generic to a specific branch
57 kbranch=${KBRANCH} 12 kbranch=${YOCTO_KERNEL_EXTERNAL_BRANCH}
58 fi 13 fi
59 14
60 # simply ensures that a branch of the right name has been created 15 # simply ensures that a branch of the right name has been created
@@ -68,7 +23,7 @@ do_patch() {
68 if [ -n "${KERNEL_FEATURES}" ]; then 23 if [ -n "${KERNEL_FEATURES}" ]; then
69 addon_features="--features ${KERNEL_FEATURES}" 24 addon_features="--features ${KERNEL_FEATURES}"
70 fi 25 fi
71 updateme ${addon_features} ${ARCH} ${WORKDIR} 26 updateme ${addon_features} ${ARCH} ${MACHINE} ${WORKDIR}
72 if [ $? -ne 0 ]; then 27 if [ $? -ne 0 ]; then
73 echo "ERROR. Could not update ${kbranch}" 28 echo "ERROR. Could not update ${kbranch}"
74 exit 1 29 exit 1
@@ -83,11 +38,11 @@ do_patch() {
83} 38}
84 39
85do_kernel_checkout() { 40do_kernel_checkout() {
86 if [ -d ${WORKDIR}/.git/refs/remotes/origin ]; then 41 if [ -d ${WORKDIR}/git/.git/refs/remotes/origin ]; then
87 echo "Fixing up git directory for ${LINUX_KERNEL_TYPE}/${KMACHINE}" 42 echo "Fixing up git directory for ${LINUX_KERNEL_TYPE}/${KMACHINE}"
88 rm -rf ${S} 43 rm -rf ${S}
89 mkdir ${S} 44 mkdir ${S}
90 mv ${WORKDIR}/.git ${S} 45 mv ${WORKDIR}/git/.git ${S}
91 46
92 if [ -e ${S}/.git/packed-refs ]; then 47 if [ -e ${S}/.git/packed-refs ]; then
93 cd ${S} 48 cd ${S}
@@ -119,23 +74,34 @@ addtask kernel_checkout before do_patch after do_unpack
119do_kernel_configme() { 74do_kernel_configme() {
120 echo "[INFO] doing kernel configme" 75 echo "[INFO] doing kernel configme"
121 76
77 kbranch=${KBRANCH}
78 if [ -n "${YOCTO_KERNEL_EXTERNAL_BRANCH}" ]; then
79 # switch from a generic to a specific branch
80 kbranch=${YOCTO_KERNEL_EXTERNAL_BRANCH}
81 fi
82
122 cd ${S} 83 cd ${S}
123 configme --reconfig 84 configme --reconfig --output ${B} ${kbranch} ${MACHINE}
124 if [ $? -ne 0 ]; then 85 if [ $? -ne 0 ]; then
125 echo "ERROR. Could not configure ${KMACHINE}-${LINUX_KERNEL_TYPE}" 86 echo "ERROR. Could not configure ${KMACHINE}-${LINUX_KERNEL_TYPE}"
126 exit 1 87 exit 1
127 fi 88 fi
128 89
129 echo "# Global settings from linux recipe" >> ${B}/.config 90 echo "# Global settings from linux recipe" >> ${B}/.config
130 echo "CONFIG_LOCALVERSION="\"${LINUX_VERSION_EXTENSION}\" >> ${B}/.config 91 echo "CONFIG_LOCALVERSION="\"${LINUX_VERSION_EXTENSION}\" >> ${B}/.config
131} 92}
132 93
133do_kernel_configcheck() { 94python do_kernel_configcheck() {
134 echo "[INFO] validating kernel configuration" 95 import bb, re, string, sys, commands
135 cd ${B}/..
136 kconf_check ${B}/.config ${B} ${S} ${B} ${LINUX_VERSION} ${KMACHINE}-${LINUX_KERNEL_TYPE}
137}
138 96
97 bb.plain("NOTE: validating kernel configuration")
98
99 pathprefix = "export PATH=%s; " % bb.data.getVar('PATH', d, True)
100 cmd = bb.data.expand("cd ${B}/..; kconf_check -${LINUX_KERNEL_TYPE}-config-${LINUX_VERSION} ${B} ${S} ${B} ${KBRANCH}",d )
101 ret, result = commands.getstatusoutput("%s%s" % (pathprefix, cmd))
102
103 bb.plain( "%s" % result )
104}
139 105
140# Ensure that the branches (BSP and meta) are on the locatios specified by 106# Ensure that the branches (BSP and meta) are on the locatios specified by
141# their SRCREV values. If they are NOT on the right commits, the branches 107# their SRCREV values. If they are NOT on the right commits, the branches
@@ -148,37 +114,37 @@ do_validate_branches() {
148 target_meta_head="${SRCREV_meta}" 114 target_meta_head="${SRCREV_meta}"
149 115
150 # nothing to do if bootstrapping 116 # nothing to do if bootstrapping
151 if [ -n "${BOOTSTRAP}" ]; then 117 if [ -n "${YOCTO_KERNEL_EXTERNAL_BRANCH}" ]; then
152 return 118 return
153 fi 119 fi
154 120
155 current=`git branch |grep \*|sed 's/^\* //'` 121 current=`git branch |grep \*|sed 's/^\* //'`
156 if [ -n "$target_branch_head" ] && [ "$branch_head" != "$target_branch_head" ]; then 122 if [ -n "$target_branch_head" ] && [ "$branch_head" != "$target_branch_head" ]; then
157 if [ -n "${KERNEL_REVISION_CHECKING}" ]; then 123 if [ -n "${KERNEL_REVISION_CHECKING}" ]; then
158 git show ${target_branch_head} > /dev/null 2>&1 124 ref=`git show ${target_meta_head} 2>&1 | head -n1 || true`
159 if [ $? -eq 0 ]; then 125 if [ "$ref" = "fatal: bad object ${target_meta_head}" ]; then
160 echo "Forcing branch $current to ${target_branch_head}"
161 git branch -m $current $current-orig
162 git checkout -b $current ${target_branch_head}
163 else
164 echo "ERROR ${target_branch_head} is not a valid commit ID." 126 echo "ERROR ${target_branch_head} is not a valid commit ID."
165 echo "The kernel source tree may be out of sync" 127 echo "The kernel source tree may be out of sync"
166 exit 1 128 exit 1
167 fi 129 else
130 echo "Forcing branch $current to ${target_branch_head}"
131 git branch -m $current $current-orig
132 git checkout -b $current ${target_branch_head}
133 fi
168 fi 134 fi
169 fi 135 fi
170 136
171 if [ "$meta_head" != "$target_meta_head" ]; then 137 if [ "$meta_head" != "$target_meta_head" ]; then
172 if [ -n "${KERNEL_REVISION_CHECKING}" ]; then 138 if [ -n "${KERNEL_REVISION_CHECKING}" ]; then
173 git show ${target_meta_head} > /dev/null 2>&1 139 ref=`git show ${target_meta_head} 2>&1 | head -n1 || true`
174 if [ $? -eq 0 ]; then 140 if [ "$ref" = "fatal: bad object ${target_meta_head}" ]; then
175 echo "Forcing branch meta to ${target_meta_head}"
176 git branch -m ${KMETA} ${KMETA}-orig
177 git checkout -b ${KMETA} ${target_meta_head}
178 else
179 echo "ERROR ${target_meta_head} is not a valid commit ID" 141 echo "ERROR ${target_meta_head} is not a valid commit ID"
180 echo "The kernel source tree may be out of sync" 142 echo "The kernel source tree may be out of sync"
181 exit 1 143 exit 1
144 else
145 echo "Forcing branch meta to ${target_meta_head}"
146 git branch -m ${KMETA} ${KMETA}-orig
147 git checkout -b ${KMETA} ${target_meta_head}
182 fi 148 fi
183 fi 149 fi
184 fi 150 fi
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index b2f8132abf..59de148cc8 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -40,8 +40,8 @@ HOST_CC_KERNEL_ARCH ?= "${TARGET_CC_KERNEL_ARCH}"
40TARGET_LD_KERNEL_ARCH ?= "" 40TARGET_LD_KERNEL_ARCH ?= ""
41HOST_LD_KERNEL_ARCH ?= "${TARGET_LD_KERNEL_ARCH}" 41HOST_LD_KERNEL_ARCH ?= "${TARGET_LD_KERNEL_ARCH}"
42 42
43KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_KERNEL_ARCH}" 43KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_KERNEL_ARCH}${TOOLCHAIN_OPTIONS}"
44KERNEL_LD = "${LD}${KERNEL_LDSUFFIX} ${HOST_LD_KERNEL_ARCH}" 44KERNEL_LD = "${LD}${KERNEL_LDSUFFIX} ${HOST_LD_KERNEL_ARCH}${TOOLCHAIN_OPTIONS}"
45 45
46# Where built kernel lies in the kernel tree 46# Where built kernel lies in the kernel tree
47KERNEL_OUTPUT ?= "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}" 47KERNEL_OUTPUT ?= "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}"
@@ -173,7 +173,7 @@ kernel_do_install() {
173 scripts/ihex2fw scripts/kallsyms scripts/pnmtologo scripts/basic/docproc \ 173 scripts/ihex2fw scripts/kallsyms scripts/pnmtologo scripts/basic/docproc \
174 scripts/basic/fixdep scripts/basic/hash scripts/dtc/dtc \ 174 scripts/basic/fixdep scripts/basic/hash scripts/dtc/dtc \
175 scripts/genksyms/genksyms scripts/kconfig/conf scripts/mod/mk_elfconfig \ 175 scripts/genksyms/genksyms scripts/kconfig/conf scripts/mod/mk_elfconfig \
176 scripts/mod/modpost" 176 scripts/mod/modpost scripts/recordmcount"
177 rm -rf $kerneldir/scripts/*.o 177 rm -rf $kerneldir/scripts/*.o
178 rm -rf $kerneldir/scripts/basic/*.o 178 rm -rf $kerneldir/scripts/basic/*.o
179 rm -rf $kerneldir/scripts/kconfig/*.o 179 rm -rf $kerneldir/scripts/kconfig/*.o
@@ -185,7 +185,7 @@ kernel_do_install() {
185} 185}
186 186
187sysroot_stage_all_append() { 187sysroot_stage_all_append() {
188 sysroot_stage_dir ${D}/kernel ${SYSROOT_DESTDIR}${STAGING_KERNEL_DIR} 188 sysroot_stage_dir ${D}/kernel ${SYSROOT_DESTDIR}/kernel
189} 189}
190 190
191 191
@@ -292,13 +292,16 @@ module_conf_rfcomm = "alias bt-proto-3 rfcomm"
292 292
293python populate_packages_prepend () { 293python populate_packages_prepend () {
294 def extract_modinfo(file): 294 def extract_modinfo(file):
295 import re 295 import tempfile, re
296 tmpfile = os.tmpnam() 296 tempfile.tempdir = bb.data.getVar("WORKDIR", d, 1)
297 tf = tempfile.mkstemp()
298 tmpfile = tf[1]
297 cmd = "PATH=\"%s\" %sobjcopy -j .modinfo -O binary %s %s" % (bb.data.getVar("PATH", d, 1), bb.data.getVar("HOST_PREFIX", d, 1) or "", file, tmpfile) 299 cmd = "PATH=\"%s\" %sobjcopy -j .modinfo -O binary %s %s" % (bb.data.getVar("PATH", d, 1), bb.data.getVar("HOST_PREFIX", d, 1) or "", file, tmpfile)
298 os.system(cmd) 300 os.system(cmd)
299 f = open(tmpfile) 301 f = open(tmpfile)
300 l = f.read().split("\000") 302 l = f.read().split("\000")
301 f.close() 303 f.close()
304 os.close(tf[0])
302 os.unlink(tmpfile) 305 os.unlink(tmpfile)
303 exp = re.compile("([^=]+)=(.*)") 306 exp = re.compile("([^=]+)=(.*)")
304 vals = {} 307 vals = {}
@@ -441,7 +444,7 @@ python populate_packages_prepend () {
441 metapkg = "kernel-modules" 444 metapkg = "kernel-modules"
442 bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d) 445 bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d)
443 bb.data.setVar('FILES_' + metapkg, "", d) 446 bb.data.setVar('FILES_' + metapkg, "", d)
444 blacklist = [ 'kernel-dev', 'kernel-image', 'kernel-base', 'kernel-vmlinux' ] 447 blacklist = [ 'kernel-dev', 'kernel-image', 'kernel-base', 'kernel-vmlinux', 'perf' ]
445 for l in module_deps.values(): 448 for l in module_deps.values():
446 for i in l: 449 for i in l:
447 pkg = module_pattern % legitimize_package_name(re.match(module_regex, os.path.basename(i)).group(1)) 450 pkg = module_pattern % legitimize_package_name(re.match(module_regex, os.path.basename(i)).group(1))
@@ -484,16 +487,16 @@ kernel_do_deploy() {
484 487
485 if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then 488 if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then
486 if test -e arch/${ARCH}/boot/uImage ; then 489 if test -e arch/${ARCH}/boot/uImage ; then
487 cp arch/${ARCH}/boot/uImage ${DEPLOYDIR}/uImage-${PV}-${PR}-${MACHINE}-${DATETIME}.bin 490 cp arch/${ARCH}/boot/uImage ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin
488 elif test -e arch/${ARCH}/boot/compressed/vmlinux ; then 491 elif test -e arch/${ARCH}/boot/compressed/vmlinux ; then
489 ${OBJCOPY} -O binary -R .note -R .comment -S arch/${ARCH}/boot/compressed/vmlinux linux.bin 492 ${OBJCOPY} -O binary -R .note -R .comment -S arch/${ARCH}/boot/compressed/vmlinux linux.bin
490 uboot-mkimage -A ${ARCH} -O linux -T kernel -C none -a ${UBOOT_ENTRYPOINT} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin ${DEPLOYDIR}/uImage-${PV}-${PR}-${MACHINE}-${DATETIME}.bin 493 uboot-mkimage -A ${ARCH} -O linux -T kernel -C none -a ${UBOOT_ENTRYPOINT} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin
491 rm -f linux.bin 494 rm -f linux.bin
492 else 495 else
493 ${OBJCOPY} -O binary -R .note -R .comment -S vmlinux linux.bin 496 ${OBJCOPY} -O binary -R .note -R .comment -S vmlinux linux.bin
494 rm -f linux.bin.gz 497 rm -f linux.bin.gz
495 gzip -9 linux.bin 498 gzip -9 linux.bin
496 uboot-mkimage -A ${ARCH} -O linux -T kernel -C gzip -a ${UBOOT_ENTRYPOINT} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin.gz ${DEPLOYDIR}/uImage-${PV}-${PR}-${MACHINE}-${DATETIME}.bin 499 uboot-mkimage -A ${ARCH} -O linux -T kernel -C gzip -a ${UBOOT_ENTRYPOINT} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin.gz ${DEPLOYDIR}/${KERNEL_IMAGE_BASE_NAME}.bin
497 rm -f linux.bin.gz 500 rm -f linux.bin.gz
498 fi 501 fi
499 fi 502 fi
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass
index 4709b33c0e..733f26b85e 100644
--- a/meta/classes/libc-package.bbclass
+++ b/meta/classes/libc-package.bbclass
@@ -95,9 +95,6 @@ do_install() {
95 mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED 95 mv ${WORKDIR}/SUPPORTED.tmp ${WORKDIR}/SUPPORTED
96 done 96 done
97 rm -f ${D}{sysconfdir}/rpc 97 rm -f ${D}{sysconfdir}/rpc
98 rm -f ${D}${includedir}/scsi/sg.h
99 rm -f ${D}${includedir}/scsi/scsi_ioctl.h
100 rm -f ${D}${includedir}/scsi/scsi.h
101 rm -rf ${D}${datadir}/zoneinfo 98 rm -rf ${D}${datadir}/zoneinfo
102 rm -rf ${D}${libexecdir}/getconf 99 rm -rf ${D}${libexecdir}/getconf
103} 100}
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
new file mode 100644
index 0000000000..97d4e4e41e
--- /dev/null
+++ b/meta/classes/license.bbclass
@@ -0,0 +1,103 @@
1# Populates LICENSE_DIRECTORY as set in poky.conf with the license files as set by
2# LIC_FILES_CHKSUM.
3# TODO:
4# - We should also enable the ability to put the generated license directory onto the
5# rootfs
6# - Gather up more generic licenses
7# - There is a real issue revolving around license naming standards. See license names
8# licenses.conf and compare them to the license names in the recipes. You'll see some
9# differences and that should be corrected.
10
11LICENSE_DIRECTORY ??= "${DEPLOY_DIR_IMAGE}/licenses"
12LICSSTATEDIR = "${WORKDIR}/license-destdir/"
13
14addtask populate_lic after do_patch before do_package
15do_populate_lic[dirs] = "${LICSSTATEDIR}/${PN}"
16do_populate_lic[cleandirs] = "${LICSSTATEDIR}"
17python do_populate_lic() {
18 """
19 Populate LICENSE_DIRECTORY with licenses.
20 """
21 import os
22 import bb
23 import shutil
24
25 # All the license types for the package
26 license_types = bb.data.getVar('LICENSE', d, True)
27 # All the license files for the package
28 lic_files = bb.data.getVar('LIC_FILES_CHKSUM', d, True)
29 pn = bb.data.getVar('PN', d, True)
30 # The base directory we wrangle licenses to
31 destdir = os.path.join(bb.data.getVar('LICSSTATEDIR', d, True), pn)
32 # The license files are located in S/LIC_FILE_CHECKSUM.
33 srcdir = bb.data.getVar('S', d, True)
34 # Directory we store the generic licenses as set in poky.conf
35 generic_directory = bb.data.getVar('COMMON_LICENSE_DIR', d, True)
36 if not generic_directory:
37 raise bb.build.FuncFailed("COMMON_LICENSE_DIR is unset. Please set this in your distro config")
38
39 if not lic_files:
40 # No recipe should have an invalid license file. This is checked else
41 # where, but let's be pedantic
42 bb.note(pn + ": Recipe file does not have license file information.")
43 return True
44
45 for url in lic_files.split():
46 (type, host, path, user, pswd, parm) = bb.decodeurl(url)
47 # We want the license file to be copied into the destination
48 srclicfile = os.path.join(srcdir, path)
49 ret = bb.copyfile(srclicfile, os.path.join(destdir, os.path.basename(path)))
50 # If the copy didn't occur, something horrible went wrong and we fail out
51 if ret is False or ret == 0:
52 bb.warn("%s could not be copied for some reason. It may not exist. WARN for now." % srclicfile)
53
54 # This takes some explaining.... we now are going to go an try to symlink
55 # to a generic file. But, with the way LICENSE works, a package can have multiple
56 # licenses. Some of them are, for example, GPLv2+, which means it can use that version
57 # of GPLv2 specified in it's license, or a later version of GPLv2. For the purposes of
58 # what we're doing here, we really don't track license revisions (although we may want to)
59 # So, we strip out the + and link to a generic GPLv2
60 #
61 # That said, there are some entries into LICENSE that either have no generic (bzip, zlib, ICS)
62 # or the LICENSE is messy (Apache 2.0 .... when they mean Apache-2.0). This should be corrected
63 # but it's outside of scope for this.
64 #
65 # Also, you get some clever license fields with logic in the field.
66 # I'm sure someone has written a logic parser for these fields, but if so, I don't know where it is.
67 # So what I do is just link to every license mentioned in the license field.
68
69 for license_type in license_types.replace('&', '').replace('+', '').replace('&', '').replace('|', '').replace('(', '').replace(')', '').split():
70 if os.path.isfile(os.path.join(generic_directory, license_type)):
71 gen_lic_dest = os.path.join(bb.data.getVar('LICENSE_DIRECTORY', d, True), "common-licenses")
72 try:
73 bb.mkdirhier(gen_lic_dest)
74 except:
75 pass
76
77 try:
78 bb.copyfile(os.path.join(generic_directory, license_type), os.path.join(gen_lic_dest, license_type))
79 except:
80 bb.warn("%s: No generic license file exists for: %s at %s" % (pn, license_type, generic_directory))
81 pass
82 try:
83 os.symlink(os.path.join(gen_lic_dest, license_type), os.path.join(destdir, "generic_" + license_type))
84 except:
85 bb.warn("%s: No generic license file exists for: %s at %s" % (pn, license_type, generic_directory))
86 pass
87 else:
88 bb.warn("%s: Something went wrong with copying: %s to %s" % (pn, license_type, generic_directory))
89 bb.warn("This could be either because we do not have a generic for this license or the LICENSE field is incorrect")
90 pass
91}
92
93SSTATETASKS += "do_populate_lic"
94do_populate_lic[sstate-name] = "populate-lic"
95do_populate_lic[sstate-inputdirs] = "${LICSSTATEDIR}"
96do_populate_lic[sstate-outputdirs] = "${LICENSE_DIRECTORY}/"
97
98python do_populate_lic_setscene () {
99 sstate_setscene(d)
100}
101addtask do_populate_lic_setscene
102
103
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 3ca9d62845..545a73eb8b 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -60,6 +60,9 @@ base_prefix = "${STAGING_DIR_NATIVE}"
60prefix = "${STAGING_DIR_NATIVE}${prefix_native}" 60prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
61exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" 61exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
62 62
63do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}"
64do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_NATIVE}"
65
63# Since we actually install these into situ there is no staging prefix 66# Since we actually install these into situ there is no staging prefix
64STAGING_DIR_HOST = "" 67STAGING_DIR_HOST = ""
65STAGING_DIR_TARGET = "" 68STAGING_DIR_TARGET = ""
@@ -117,3 +120,5 @@ do_package_write_ipk[noexec] = "1"
117do_package_write_deb[noexec] = "1" 120do_package_write_deb[noexec] = "1"
118do_package_write_rpm[noexec] = "1" 121do_package_write_rpm[noexec] = "1"
119 122
123do_populate_sysroot[stamp-extra-info] = ""
124do_package[stamp-extra-info] = ""
diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass
index 154bd827b6..587a907c44 100644
--- a/meta/classes/nativesdk.bbclass
+++ b/meta/classes/nativesdk.bbclass
@@ -19,6 +19,8 @@ python () {
19 19
20#STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-nativesdk" 20#STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}-nativesdk"
21#STAGING_DIR_TARGET = "${STAGING_DIR}/${BASEPKG_TARGET_SYS}-nativesdk" 21#STAGING_DIR_TARGET = "${STAGING_DIR}/${BASEPKG_TARGET_SYS}-nativesdk"
22STAGING_DIR_HOST = "${STAGING_DIR}/${BASEPKG_HOST_SYS}"
23STAGING_DIR_TARGET = "${STAGING_DIR}/${BASEPKG_TARGET_SYS}"
22 24
23HOST_ARCH = "${SDK_ARCH}" 25HOST_ARCH = "${SDK_ARCH}"
24HOST_VENDOR = "${SDK_VENDOR}" 26HOST_VENDOR = "${SDK_VENDOR}"
@@ -79,4 +81,5 @@ python __anonymous () {
79 bb.data.setVar("OVERRIDES", bb.data.getVar("OVERRIDES", d, False) + ":virtclass-nativesdk", d) 81 bb.data.setVar("OVERRIDES", bb.data.getVar("OVERRIDES", d, False) + ":virtclass-nativesdk", d)
80} 82}
81 83
82 84do_populate_sysroot[stamp-extra-info] = ""
85do_package[stamp-extra-info] = ""
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index d39c694de5..8f58ad03f1 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -289,6 +289,8 @@ python package_do_split_locales() {
289 if mainpkg.find('-dev'): 289 if mainpkg.find('-dev'):
290 mainpkg = mainpkg.replace('-dev', '') 290 mainpkg = mainpkg.replace('-dev', '')
291 291
292 summary = bb.data.getVar('SUMMARY', d, True) or pn
293 description = bb.data.getVar('DESCRIPTION', d, True) or ""
292 for l in locales: 294 for l in locales:
293 ln = legitimize_package_name(l) 295 ln = legitimize_package_name(l)
294 pkg = pn + '-locale-' + ln 296 pkg = pn + '-locale-' + ln
@@ -296,7 +298,8 @@ python package_do_split_locales() {
296 bb.data.setVar('FILES_' + pkg, os.path.join(datadir, 'locale', l), d) 298 bb.data.setVar('FILES_' + pkg, os.path.join(datadir, 'locale', l), d)
297 bb.data.setVar('RDEPENDS_' + pkg, '%s virtual-locale-%s' % (mainpkg, ln), d) 299 bb.data.setVar('RDEPENDS_' + pkg, '%s virtual-locale-%s' % (mainpkg, ln), d)
298 bb.data.setVar('RPROVIDES_' + pkg, '%s-locale %s-translation' % (pn, ln), d) 300 bb.data.setVar('RPROVIDES_' + pkg, '%s-locale %s-translation' % (pn, ln), d)
299 bb.data.setVar('DESCRIPTION_' + pkg, '%s translation for %s' % (l, pn), d) 301 bb.data.setVar('SUMMARY_' + pkg, '%s - %s translations' % (summary, l), d)
302 bb.data.setVar('DESCRIPTION_' + pkg, '%s This package contains language translation files for the %s locale.' % (description, l), d)
300 303
301 bb.data.setVar('PACKAGES', ' '.join(packages), d) 304 bb.data.setVar('PACKAGES', ' '.join(packages), d)
302 305
@@ -497,7 +500,8 @@ python emit_pkgdata() {
497 pkgdest = bb.data.getVar('PKGDEST', d, 1) 500 pkgdest = bb.data.getVar('PKGDEST', d, 1)
498 pkgdatadir = bb.data.getVar('PKGDESTWORK', d, True) 501 pkgdatadir = bb.data.getVar('PKGDESTWORK', d, True)
499 502
500 lf = bb.utils.lockfile(bb.data.expand("${PACKAGELOCK}", d)) 503 # Take shared lock since we're only reading, not writing
504 lf = bb.utils.lockfile(bb.data.expand("${PACKAGELOCK}", d), True)
501 505
502 data_file = pkgdatadir + bb.data.expand("/${PN}" , d) 506 data_file = pkgdatadir + bb.data.expand("/${PN}" , d)
503 f = open(data_file, 'w') 507 f = open(data_file, 'w')
@@ -514,6 +518,7 @@ python emit_pkgdata() {
514 write_if_exists(sf, pkg, 'PV') 518 write_if_exists(sf, pkg, 'PV')
515 write_if_exists(sf, pkg, 'PR') 519 write_if_exists(sf, pkg, 'PR')
516 write_if_exists(sf, pkg, 'DESCRIPTION') 520 write_if_exists(sf, pkg, 'DESCRIPTION')
521 write_if_exists(sf, pkg, 'SUMMARY')
517 write_if_exists(sf, pkg, 'RDEPENDS') 522 write_if_exists(sf, pkg, 'RDEPENDS')
518 write_if_exists(sf, pkg, 'RPROVIDES') 523 write_if_exists(sf, pkg, 'RPROVIDES')
519 write_if_exists(sf, pkg, 'RRECOMMENDS') 524 write_if_exists(sf, pkg, 'RRECOMMENDS')
@@ -558,7 +563,7 @@ if [ x"$D" = "x" ]; then
558fi 563fi
559} 564}
560 565
561RPMDEPS = "${STAGING_LIBDIR_NATIVE}/rpm/rpmdeps" 566RPMDEPS = "${STAGING_LIBDIR_NATIVE}/rpm/bin/rpmdeps"
562 567
563# Collect perfile run-time dependency metadata 568# Collect perfile run-time dependency metadata
564# Output: 569# Output:
@@ -606,7 +611,7 @@ python package_do_filedeps() {
606 611
607 # Determine dependencies 612 # Determine dependencies
608 for pkg in packages.split(): 613 for pkg in packages.split():
609 if pkg.endswith('-dbg'): 614 if pkg.endswith('-dbg') or pkg.find('-locale-') != -1 or pkg.find('-localedata-') != -1 or pkg.find('-gconv-') != -1 or pkg.find('-charmap-') != -1 or pkg.startswith('kernel-module-') != -1:
610 continue 615 continue
611 616
612 # Process provides 617 # Process provides
@@ -649,6 +654,7 @@ python package_do_shlibs() {
649 shlibs_dir = bb.data.getVar('SHLIBSDIR', d, True) 654 shlibs_dir = bb.data.getVar('SHLIBSDIR', d, True)
650 shlibswork_dir = bb.data.getVar('SHLIBSWORKDIR', d, True) 655 shlibswork_dir = bb.data.getVar('SHLIBSWORKDIR', d, True)
651 656
657 # Take shared lock since we're only reading, not writing
652 lf = bb.utils.lockfile(bb.data.expand("${PACKAGELOCK}", d)) 658 lf = bb.utils.lockfile(bb.data.expand("${PACKAGELOCK}", d))
653 659
654 def linux_so(root, path, file): 660 def linux_so(root, path, file):
@@ -878,6 +884,7 @@ python package_do_pkgconfig () {
878 if hdr == 'Requires': 884 if hdr == 'Requires':
879 pkgconfig_needed[pkg] += exp.replace(',', ' ').split() 885 pkgconfig_needed[pkg] += exp.replace(',', ' ').split()
880 886
887 # Take shared lock since we're only reading, not writing
881 lf = bb.utils.lockfile(bb.data.expand("${PACKAGELOCK}", d)) 888 lf = bb.utils.lockfile(bb.data.expand("${PACKAGELOCK}", d))
882 889
883 for pkg in packages.split(): 890 for pkg in packages.split():
@@ -1038,6 +1045,8 @@ python package_depchains() {
1038 1045
1039 for suffix in pkgs: 1046 for suffix in pkgs:
1040 for pkg in pkgs[suffix]: 1047 for pkg in pkgs[suffix]:
1048 if bb.data.getVarFlag('RRECOMMENDS_' + pkg, 'nodeprrecs', d):
1049 continue
1041 (base, func) = pkgs[suffix][pkg] 1050 (base, func) = pkgs[suffix][pkg]
1042 if suffix == "-dev": 1051 if suffix == "-dev":
1043 pkg_adddeprrecs(pkg, base, suffix, func, depends, d) 1052 pkg_adddeprrecs(pkg, base, suffix, func, depends, d)
@@ -1062,7 +1071,7 @@ PACKAGEFUNCS ?= "perform_packagecopy \
1062 package_depchains \ 1071 package_depchains \
1063 emit_pkgdata" 1072 emit_pkgdata"
1064 1073
1065python package_do_package () { 1074python do_package () {
1066 packages = (bb.data.getVar('PACKAGES', d, True) or "").split() 1075 packages = (bb.data.getVar('PACKAGES', d, True) or "").split()
1067 if len(packages) < 1: 1076 if len(packages) < 1:
1068 bb.debug(1, "No packages to build, skipping do_package") 1077 bb.debug(1, "No packages to build, skipping do_package")
@@ -1091,6 +1100,7 @@ do_package[sstate-plaindirs] = "${PKGD} ${PKGDEST}"
1091do_package[sstate-inputdirs] = "${PKGDESTWORK} ${SHLIBSWORKDIR}" 1100do_package[sstate-inputdirs] = "${PKGDESTWORK} ${SHLIBSWORKDIR}"
1092do_package[sstate-outputdirs] = "${PKGDATA_DIR} ${SHLIBSDIR}" 1101do_package[sstate-outputdirs] = "${PKGDATA_DIR} ${SHLIBSDIR}"
1093do_package[sstate-lockfile] = "${PACKAGELOCK}" 1102do_package[sstate-lockfile] = "${PACKAGELOCK}"
1103do_package[stamp-extra-info] = "${MACHINE}"
1094do_package_setscene[dirs] = "${STAGING_DIR}" 1104do_package_setscene[dirs] = "${STAGING_DIR}"
1095 1105
1096python do_package_setscene () { 1106python do_package_setscene () {
@@ -1106,8 +1116,6 @@ do_package_write[noexec] = "1"
1106do_build[recrdeptask] += "do_package_write" 1116do_build[recrdeptask] += "do_package_write"
1107addtask package_write before do_build after do_package 1117addtask package_write before do_build after do_package
1108 1118
1109EXPORT_FUNCTIONS do_package do_package_write
1110
1111# 1119#
1112# Helper functions for the package writing classes 1120# Helper functions for the package writing classes
1113# 1121#
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 792a2b3aef..52bd264ead 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -67,6 +67,151 @@ python do_package_deb_install () {
67 os.putenv('PATH', path) 67 os.putenv('PATH', path)
68} 68}
69 69
70#
71# Update the Packages index files in ${DEPLOY_DIR_DEB}
72#
73package_update_index_deb () {
74
75 local debarchs=""
76
77 if [ ! -z "${DEPLOY_KEEP_PACKAGES}" ]; then
78 return
79 fi
80
81 for arch in ${PACKAGE_ARCHS}; do
82 sdkarch=`echo $arch | sed -e 's/${HOST_ARCH}/${SDK_ARCH}/'`
83 if [ -e ${DEPLOY_DIR_DEB}/$arch ]; then
84 debarchs="$debarchs $arch"
85 fi
86 if [ -e ${DEPLOY_DIR_DEB}/$sdkarch-nativesdk ]; then
87 debarchs="$debarchs $sdkarch-nativesdk"
88 fi
89 done
90
91 for arch in $debarchs; do
92 if [ ! -d ${DEPLOY_DIR_DEB}/$arch ]; then
93 continue;
94 fi
95 cd ${DEPLOY_DIR_DEB}/$arch
96 dpkg-scanpackages . | bzip2 > Packages.bz2
97 echo "Label: $arch" > Release
98 done
99}
100
101#
102# install a bunch of packages using apt
103# the following shell variables needs to be set before calling this func:
104# INSTALL_ROOTFS_DEB - install root dir
105# INSTALL_BASEARCH_DEB - install base architecutre
106# INSTALL_ARCHS_DEB - list of available archs
107# INSTALL_PACKAGES_NORMAL_DEB - packages to be installed
108# INSTALL_PACKAGES_ATTEMPTONLY_DEB - packages attemped to be installed only
109# INSTALL_PACKAGES_LINGUAS_DEB - additional packages for uclibc
110# INSTALL_TASK_DEB - task name
111
112package_install_internal_deb () {
113
114 local target_rootfs="${INSTALL_ROOTFS_DEB}"
115 local dpkg_arch="${INSTALL_BASEARCH_DEB}"
116 local archs="${INSTALL_ARCHS_DEB}"
117 local package_to_install="${INSTALL_PACKAGES_NORMAL_DEB}"
118 local package_attemptonly="${INSTALL_PACKAGES_ATTEMPTONLY_DEB}"
119 local package_lingusa="${INSTALL_PACKAGES_LINGUAS_DEB}"
120 local task="${INSTALL_TASK_DEB}"
121
122 rm -f ${STAGING_ETCDIR_NATIVE}/apt/sources.list.rev
123 rm -f ${STAGING_ETCDIR_NATIVE}/apt/preferences
124
125 priority=1
126 for arch in $archs; do
127 if [ ! -d ${DEPLOY_DIR_DEB}/$arch ]; then
128 continue;
129 fi
130
131 echo "deb file:${DEPLOY_DIR_DEB}/$arch/ ./" >> ${STAGING_ETCDIR_NATIVE}/apt/sources.list.rev
132 (echo "Package: *"
133 echo "Pin: release l=$arch"
134 echo "Pin-Priority: $(expr 800 + $priority)"
135 echo) >> ${STAGING_ETCDIR_NATIVE}/apt/preferences
136 priority=$(expr $priority + 5)
137 done
138
139 tac ${STAGING_ETCDIR_NATIVE}/apt/sources.list.rev > ${STAGING_ETCDIR_NATIVE}/apt/sources.list
140
141 cat "${STAGING_ETCDIR_NATIVE}/apt/apt.conf.sample" \
142 | sed -e "s#Architecture \".*\";#Architecture \"${dpkg_arch}\";#" \
143 | sed -e "s:#ROOTFS#:${target_rootfs}:g" \
144 > "${STAGING_ETCDIR_NATIVE}/apt/apt-${task}.conf"
145
146 export APT_CONFIG="${STAGING_ETCDIR_NATIVE}/apt/apt-${task}.conf"
147
148 mkdir -p ${target_rootfs}/var/dpkg/info
149 mkdir -p ${target_rootfs}/var/dpkg/updates
150
151 > ${target_rootfs}/var/dpkg/status
152 > ${target_rootfs}/var/dpkg/available
153
154 apt-get update
155
156 # Uclibc builds don't provide this stuff..
157 if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then
158 if [ ! -z "${package_lingusa}" ]; then
159 apt-get install glibc-localedata-i18n --force-yes --allow-unauthenticated
160 if [ $? -ne 0 ]; then
161 exit 1
162 fi
163 for i in ${package_lingusa}; do
164 apt-get install $i --force-yes --allow-unauthenticated
165 if [ $? -ne 0 ]; then
166 exit 1
167 fi
168 done
169 fi
170 fi
171
172 # normal install
173 for i in ${package_to_install}; do
174 apt-get install $i --force-yes --allow-unauthenticated
175 if [ $? -ne 0 ]; then
176 exit 1
177 fi
178 done
179
180 rm -f ${WORKDIR}/temp/log.do_${task}-attemptonly.${PID}
181 if [ ! -z "${package_attemptonly}" ]; then
182 for i in ${package_attemptonly}; do
183 apt-get install $i --force-yes --allow-unauthenticated >> ${WORKDIR}/temp/log.do_${task}-attemptonly.${PID} || true
184 done
185 fi
186
187 find ${target_rootfs} -name \*.dpkg-new | for i in `cat`; do
188 mv $i `echo $i | sed -e's,\.dpkg-new$,,'`
189 done
190
191 # Mark all packages installed
192 sed -i -e "s/Status: install ok unpacked/Status: install ok installed/;" ${target_rootfs}/var/dpkg/status
193}
194
195deb_log_check() {
196 target="$1"
197 lf_path="$2"
198
199 lf_txt="`cat $lf_path`"
200 for keyword_die in "E:"
201 do
202 if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1
203 then
204 echo "log_check: There were error messages in the logfile"
205 echo -e "log_check: Matched keyword: [$keyword_die]\n"
206 echo "$lf_txt" | grep -v log_check | grep -C 5 -i "$keyword_die"
207 echo ""
208 do_exit=1
209 fi
210 done
211 test "$do_exit" = 1 && exit 1
212 true
213}
214
70python do_package_deb () { 215python do_package_deb () {
71 import re, copy 216 import re, copy
72 import textwrap 217 import textwrap
@@ -81,12 +226,6 @@ python do_package_deb () {
81 bb.error("PKGWRITEDIRDEB not defined, unable to package") 226 bb.error("PKGWRITEDIRDEB not defined, unable to package")
82 return 227 return
83 228
84 dvar = bb.data.getVar('D', d, True)
85 if not dvar:
86 bb.error("D not defined, unable to package")
87 return
88 bb.mkdirhier(dvar)
89
90 packages = bb.data.getVar('PACKAGES', d, True) 229 packages = bb.data.getVar('PACKAGES', d, True)
91 if not packages: 230 if not packages:
92 bb.debug(1, "PACKAGES not defined, nothing to package") 231 bb.debug(1, "PACKAGES not defined, nothing to package")
@@ -101,9 +240,10 @@ python do_package_deb () {
101 bb.debug(1, "No packages; nothing to do") 240 bb.debug(1, "No packages; nothing to do")
102 return 241 return
103 242
243 pkgdest = bb.data.getVar('PKGDEST', d, True)
244
104 for pkg in packages.split(): 245 for pkg in packages.split():
105 localdata = bb.data.createCopy(d) 246 localdata = bb.data.createCopy(d)
106 pkgdest = bb.data.getVar('PKGDEST', d, True)
107 root = "%s/%s" % (pkgdest, pkg) 247 root = "%s/%s" % (pkgdest, pkg)
108 248
109 lf = bb.utils.lockfile(root + ".lock") 249 lf = bb.utils.lockfile(root + ".lock")
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 5ddd6c66ea..3c2472bc10 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -62,6 +62,69 @@ python package_ipk_install () {
62} 62}
63 63
64# 64#
65# install a bunch of packages using opkg
66# the following shell variables needs to be set before calling this func:
67# INSTALL_ROOTFS_IPK - install root dir
68# INSTALL_CONF_IPK - configuration file
69# INSTALL_PACKAGES_NORMAL_IPK - packages to be installed
70# INSTALL_PACKAGES_ATTEMPTONLY_IPK - packages attemped to be installed only
71# INSTALL_PACKAGES_LINGUAS_IPK - additional packages for uclibc
72# INSTALL_TASK_IPK - task name
73
74package_install_internal_ipk() {
75
76 local target_rootfs="${INSTALL_ROOTFS_IPK}"
77 local conffile="${INSTALL_CONF_IPK}"
78 local package_to_install="${INSTALL_PACKAGES_NORMAL_IPK}"
79 local package_attemptonly="${INSTALL_PACKAGES_ATTEMPTONLY_IPK}"
80 local package_lingusa="${INSTALL_PACKAGES_LINGUAS_IPK}"
81 local task="${INSTALL_TASK_IPK}"
82
83 mkdir -p ${target_rootfs}${localstatedir}/lib/opkg/
84
85 local ipkg_args="-f ${conffile} -o ${target_rootfs} --force-overwrite"
86
87 opkg-cl ${ipkg_args} update
88
89 # Uclibc builds don't provide this stuff...
90 if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then
91 if [ ! -z "${package_lingusa}" ]; then
92 for i in ${package_lingusa}; do
93 opkg-cl ${ipkg_args} install $i
94 done
95 fi
96 fi
97
98 if [ ! -z "${package_to_install}" ]; then
99 opkg-cl ${ipkg_args} install ${package_to_install}
100 fi
101
102 if [ ! -z "${package_attemptonly}" ]; then
103 opkg-cl ${ipkg_args} install ${package_attemptonly} > "${WORKDIR}/temp/log.do_${task}_attemptonly.${PID}" || true
104 fi
105}
106
107ipk_log_check() {
108 target="$1"
109 lf_path="$2"
110
111 lf_txt="`cat $lf_path`"
112 for keyword_die in "exit 1" "Collected errors" ERR Fail
113 do
114 if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1
115 then
116 echo "log_check: There were error messages in the logfile"
117 echo -e "log_check: Matched keyword: [$keyword_die]\n"
118 echo "$lf_txt" | grep -v log_check | grep -C 5 -i "$keyword_die"
119 echo ""
120 do_exit=1
121 fi
122 done
123 test "$do_exit" = 1 && exit 1
124 true
125}
126
127#
65# Update the Packages index files in ${DEPLOY_DIR_IPK} 128# Update the Packages index files in ${DEPLOY_DIR_IPK}
66# 129#
67package_update_index_ipk () { 130package_update_index_ipk () {
@@ -133,17 +196,12 @@ python do_package_ipk () {
133 196
134 workdir = bb.data.getVar('WORKDIR', d, True) 197 workdir = bb.data.getVar('WORKDIR', d, True)
135 outdir = bb.data.getVar('PKGWRITEDIRIPK', d, True) 198 outdir = bb.data.getVar('PKGWRITEDIRIPK', d, True)
136 dvar = bb.data.getVar('D', d, True)
137 tmpdir = bb.data.getVar('TMPDIR', d, True) 199 tmpdir = bb.data.getVar('TMPDIR', d, True)
138 pkgdest = bb.data.getVar('PKGDEST', d, True) 200 pkgdest = bb.data.getVar('PKGDEST', d, True)
139 if not workdir or not outdir or not dvar or not tmpdir: 201 if not workdir or not outdir or not tmpdir:
140 bb.error("Variables incorrectly set, unable to package") 202 bb.error("Variables incorrectly set, unable to package")
141 return 203 return
142 204
143 if not os.path.exists(dvar):
144 bb.debug(1, "Nothing installed, nothing to do")
145 return
146
147 packages = bb.data.getVar('PACKAGES', d, True) 205 packages = bb.data.getVar('PACKAGES', d, True)
148 if not packages or packages == '': 206 if not packages or packages == '':
149 bb.debug(1, "No packages; nothing to do") 207 bb.debug(1, "No packages; nothing to do")
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index fbe0626d6e..cc262dc831 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -15,6 +15,8 @@ python package_rpm_install () {
15 bb.fatal("package_rpm_install not implemented!") 15 bb.fatal("package_rpm_install not implemented!")
16} 16}
17 17
18RPMCONF_TARGET_BASE = "${DEPLOY_DIR_RPM}/solvedb"
19RPMCONF_HOST_BASE = "${DEPLOY_DIR_RPM}/solvedb-sdk"
18# 20#
19# Update the Packages depsolver db in ${DEPLOY_DIR_RPM} 21# Update the Packages depsolver db in ${DEPLOY_DIR_RPM}
20# 22#
@@ -26,15 +28,18 @@ package_update_index_rpm () {
26 fi 28 fi
27 29
28 packagedirs="" 30 packagedirs=""
31 packagedirs_sdk=""
29 for arch in $rpmarchs ; do 32 for arch in $rpmarchs ; do
30 sdkarch=`echo $arch | sed -e 's/${HOST_ARCH}/${SDK_ARCH}/'` 33 sdkarch=`echo $arch | sed -e 's/${HOST_ARCH}/${SDK_ARCH}/'`
34 extension="-nativesdk"
35 if [ "$sdkarch" = "all" -o "$sdkarch" = "any" -o "$sdkarch" = "noarch" ]; then
36 extension=""
37 fi
31 packagedirs="$packagedirs ${DEPLOY_DIR_RPM}/$arch" 38 packagedirs="$packagedirs ${DEPLOY_DIR_RPM}/$arch"
32 #packagedirs="$packagedirs ${DEPLOY_DIR_RPM}/$sdkarch-nativesdk" 39 packagedirs_sdk="$packagedirs_sdk ${DEPLOY_DIR_RPM}/$sdkarch$extension"
33 done 40 done
34 41
35 #packagedirs="$packagedirs ${DEPLOY_DIR_RPM}/${SDK_ARCH}-${TARGET_ARCH}-canadian" 42 cat /dev/null > ${RPMCONF_TARGET_BASE}.conf
36
37 cat /dev/null > ${DEPLOY_DIR_RPM}/solvedb.conf
38 for pkgdir in $packagedirs; do 43 for pkgdir in $packagedirs; do
39 if [ -e $pkgdir/ ]; then 44 if [ -e $pkgdir/ ]; then
40 echo "Generating solve db for $pkgdir..." 45 echo "Generating solve db for $pkgdir..."
@@ -46,10 +51,27 @@ package_update_index_rpm () {
46 -D "_dbpath $pkgdir/solvedb" --justdb \ 51 -D "_dbpath $pkgdir/solvedb" --justdb \
47 --noaid --nodeps --noorder --noscripts --notriggers --noparentdirs --nolinktos --stats \ 52 --noaid --nodeps --noorder --noscripts --notriggers --noparentdirs --nolinktos --stats \
48 --ignoresize --nosignature --nodigest \ 53 --ignoresize --nosignature --nodigest \
49 -D "_dbi_tags_3 Packages:Name:Basenames:Providename:Nvra" \ 54 -D "__dbi_txn create nofsync" \
50 -D "__dbi_cdb create mp_mmapsize=128Mb mp_size=1Mb nofsync" \ 55 $pkgdir/solvedb/manifest
56 echo $pkgdir/solvedb >> ${RPMCONF_TARGET_BASE}.conf
57 fi
58 done
59
60 cat /dev/null > ${RPMCONF_HOST_BASE}.conf
61 for pkgdir in $packagedirs_sdk; do
62 if [ -e $pkgdir/ ]; then
63 echo "Generating solve db for $pkgdir..."
64 rm -rf $pkgdir/solvedb
65 mkdir -p $pkgdir/solvedb
66 echo "# Dynamically generated solve manifest" >> $pkgdir/solvedb/manifest
67 find $pkgdir -maxdepth 1 -type f >> $pkgdir/solvedb/manifest
68 ${RPM} -i --replacepkgs --replacefiles --oldpackage \
69 -D "_dbpath $pkgdir/solvedb" --justdb \
70 --noaid --nodeps --noorder --noscripts --notriggers --noparentdirs --nolinktos --stats \
71 --ignoresize --nosignature --nodigest \
72 -D "__dbi_txn create nofsync" \
51 $pkgdir/solvedb/manifest 73 $pkgdir/solvedb/manifest
52 echo $pkgdir/solvedb >> ${DEPLOY_DIR_RPM}/solvedb.conf 74 echo $pkgdir/solvedb >> ${RPMCONF_HOST_BASE}.conf
53 fi 75 fi
54 done 76 done
55} 77}
@@ -59,16 +81,223 @@ package_update_index_rpm () {
59# generated depsolver db's... 81# generated depsolver db's...
60# 82#
61package_generate_rpm_conf () { 83package_generate_rpm_conf () {
62 printf "_solve_dbpath " > ${DEPLOY_DIR_RPM}/solvedb.macro 84 printf "_solve_dbpath " > ${RPMCONF_TARGET_BASE}.macro
85 colon=false
86 for each in `cat ${RPMCONF_TARGET_BASE}.conf` ; do
87 if [ "$colon" == true ]; then
88 printf ":" >> ${RPMCONF_TARGET_BASE}.macro
89 fi
90 printf "%s" $each >> ${RPMCONF_TARGET_BASE}.macro
91 colon=true
92 done
93 printf "\n" >> ${RPMCONF_TARGET_BASE}.macro
94
95 printf "_solve_dbpath " > ${RPMCONF_HOST_BASE}.macro
63 colon=false 96 colon=false
64 for each in `cat ${DEPLOY_DIR_RPM}/solvedb.conf` ; do 97 for each in `cat ${RPMCONF_HOST_BASE}.conf` ; do
65 if [ "$colon" == true ]; then 98 if [ "$colon" == true ]; then
66 printf ":" >> ${DEPLOY_DIR_RPM}/solvedb.macro 99 printf ":" >> ${RPMCONF_HOST_BASE}.macro
67 fi 100 fi
68 printf "%s" $each >> ${DEPLOY_DIR_RPM}/solvedb.macro 101 printf "%s" $each >> ${RPMCONF_HOST_BASE}.macro
69 colon=true 102 colon=true
70 done 103 done
71 printf "\n" >> ${DEPLOY_DIR_RPM}/solvedb.macro 104 printf "\n" >> ${RPMCONF_HOST_BASE}.macro
105}
106
107rpm_log_check() {
108 target="$1"
109 lf_path="$2"
110
111 lf_txt="`cat $lf_path`"
112 for keyword_die in "Cannot find package" "exit 1" ERR Fail
113 do
114 if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1
115 then
116 echo "log_check: There were error messages in the logfile"
117 echo -e "log_check: Matched keyword: [$keyword_die]\n"
118 echo "$lf_txt" | grep -v log_check | grep -C 5 -i "$keyword_die"
119 echo ""
120 do_exit=1
121 fi
122 done
123 test "$do_exit" = 1 && exit 1
124 true
125}
126
127
128#
129# Resolve package names to filepaths
130# resolve_pacakge <pkgname> <solvdb conffile>
131#
132resolve_package_rpm () {
133 local pkg="$1"
134 local conffile="$2"
135 local pkg_name=""
136 for solve in `cat ${conffile}`; do
137 pkg_name=$(${RPM} -D "_dbpath $solve" -D "__dbi_txn create nofsync" -q --yaml $pkg | grep -i 'Packageorigin' | cut -d : -f 2)
138 if [ -n "$pkg_name" ]; then
139 break;
140 fi
141 done
142 echo $pkg_name
143}
144
145#
146# install a bunch of packages using rpm
147# the following shell variables needs to be set before calling this func:
148# INSTALL_ROOTFS_RPM - install root dir
149# INSTALL_PLATFORM_RPM - main platform
150# INSTALL_PLATFORM_EXTRA_RPM - extra platform
151# INSTALL_CONFBASE_RPM - configuration file base name
152# INSTALL_PACKAGES_NORMAL_RPM - packages to be installed
153# INSTALL_PACKAGES_ATTEMPTONLY_RPM - packages attemped to be installed only
154# INSTALL_PACKAGES_LINGUAS_RPM - additional packages for uclibc
155# INSTALL_PROVIDENAME_RPM - content for provide name
156# INSTALL_TASK_RPM - task name
157
158package_install_internal_rpm () {
159
160 local target_rootfs="${INSTALL_ROOTFS_RPM}"
161 local platform="${INSTALL_PLATFORM_RPM}"
162 local platform_extra="${INSTALL_PLATFORM_EXTRA_RPM}"
163 local confbase="${INSTALL_CONFBASE_RPM}"
164 local package_to_install="${INSTALL_PACKAGES_NORMAL_RPM}"
165 local package_attemptonly="${INSTALL_PACKAGES_ATTEMPTONLY_RPM}"
166 local package_lingusa="${INSTALL_PACKAGES_LINGUAS_RPM}"
167 local providename="${INSTALL_PROVIDENAME_RPM}"
168 local task="${INSTALL_TASK_RPM}"
169
170 # Setup base system configuration
171 mkdir -p ${target_rootfs}/etc/rpm/
172 echo "${platform}-unknown-linux" >${target_rootfs}/etc/rpm/platform
173 if [ ! -z "$platform_extra" ]; then
174 for pt in $platform_extra ; do
175 echo "$pt-unknown-linux" >> ${target_rootfs}/etc/rpm/platform
176 done
177 fi
178
179 # Tell RPM that the "/" directory exist and is available
180 mkdir -p ${target_rootfs}/etc/rpm/sysinfo
181 echo "/" >${target_rootfs}/etc/rpm/sysinfo/Dirnames
182 if [ ! -z "$providename" ]; then
183 >>${target_rootfs}/etc/rpm/sysinfo/Providename
184 for provide in $providename ; do
185 echo $provide >> ${target_rootfs}/etc/rpm/sysinfo/Providename
186 done
187 fi
188
189 # Setup manifest of packages to install...
190 mkdir -p ${target_rootfs}/install
191 echo "# Install manifest" > ${target_rootfs}/install/install.manifest
192
193 # Uclibc builds don't provide this stuff...
194 if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then
195 if [ ! -z "${package_lingusa}" ]; then
196 for pkg in ${package_lingusa}; do
197 echo "Processing $pkg..."
198 pkg_name=$(resolve_package_rpm $pkg ${confbase}.conf)
199 if [ -z "$pkg_name" ]; then
200 echo "Unable to find package $pkg!"
201 exit 1
202 fi
203 echo $pkg_name >> ${IMAGE_ROOTFS}/install/install.manifest
204 done
205 fi
206 fi
207
208 if [ ! -z "${package_to_install}" ]; then
209 for pkg in ${package_to_install} ; do
210 echo "Processing $pkg..."
211 pkg_name=$(resolve_package_rpm $pkg ${confbase}.conf)
212 if [ -z "$pkg_name" ]; then
213 echo "Unable to find package $pkg!"
214 exit 1
215 fi
216 echo $pkg_name >> ${target_rootfs}/install/install.manifest
217 done
218 fi
219
220 # Generate an install solution by doing a --justdb install, then recreate it with
221 # an actual package install!
222 ${RPM} -D "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" \
223 -D "_dbpath ${target_rootfs}/install" -D "`cat ${confbase}.macro`" \
224 -D "__dbi_txn create nofsync" \
225 -U --justdb --noscripts --notriggers --noparentdirs --nolinktos --ignoresize \
226 ${target_rootfs}/install/install.manifest
227
228 if [ ! -z "${package_attemptonly}" ]; then
229 echo "Adding attempt only packages..."
230 for pkg in ${package_attemptonly} ; do
231 echo "Processing $pkg..."
232 pkg_name=$(resolve_package_rpm $pkg ${confbase}.conf)
233 if [ -z "$pkg_name" ]; then
234 echo "Unable to find package $pkg!"
235 exit 1
236 fi
237 echo "Attempting $pkg_name..." >> "${WORKDIR}/temp/log.do_${task}_attemptonly.${PID}"
238 ${RPM} -D "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" \
239 -D "_dbpath ${target_rootfs}/install" -D "`cat ${confbase}.macro`" \
240 -D "__dbi_txn create nofsync private" \
241 -U --justdb --noscripts --notriggers --noparentdirs --nolinktos --ignoresize \
242 $pkg_name >> "${WORKDIR}/temp/log.do_${task}_attemptonly.${PID}" || true
243 done
244 fi
245
246 #### Note: 'Recommends' is an arbitrary tag that means _SUGGESTS_ in Poky..
247 # Add any recommended packages to the image
248 # RPM does not solve for recommended packages because they are optional...
249 # So we query them and tree them like the ATTEMPTONLY packages above...
250 # Change the loop to "1" to run this code...
251 loop=0
252 if [ $loop -eq 1 ]; then
253 echo "Processing recommended packages..."
254 cat /dev/null > ${target_rootfs}/install/recommend.list
255 while [ $loop -eq 1 ]; do
256 # Dump the full set of recommends...
257 ${RPM} -D "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" \
258 -D "_dbpath ${IMAGE_ROOTFS}/install" -D "`cat ${confbase}.macro`" \
259 -D "__dbi_txn create nofsync private" \
260 -qa --qf "[%{RECOMMENDS}\n]" | sort -u > ${target_rootfs}/install/recommend
261 # Did we add more to the list?
262 grep -v -x -F -f ${target_rootfs}/install/recommend.list ${target_rootfs}/install/recommend > ${target_rootfs}/install/recommend.new || true
263 # We don't want to loop unless there is a change to the list!
264 loop=0
265 cat ${target_rootfs}/install/recommend.new | \
266 while read pkg ; do
267 # Ohh there was a new one, we'll need to loop again...
268 loop=1
269 echo "Processing $pkg..."
270 pkg_name=$(resolve_package $pkg ${confbase}.conf)
271 if [ -z "$pkg_name" ]; then
272 echo "Unable to find package $pkg." >> "${WORKDIR}/temp/log.do_${task}_recommend.${PID}"
273 continue
274 fi
275 echo "Attempting $pkg_name..." >> "${WORKDIR}/temp/log.do_{task}_recommend.${PID}"
276 ${RPM} -D "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" \
277 -D "_dbpath ${target_rootfs}/install" -D "`cat ${confbase}.macro`" \
278 -D "__dbi_txn create nofsync private" \
279 -U --justdb --noscripts --notriggers --noparentdirs --nolinktos --ignoresize \
280 $pkg_name >> "${WORKDIR}/temp/log.do_${task}_recommend.${PID}" 2>&1 || true
281 done
282 cat ${target_rootfs}/install/recommend.list ${target_rootfs}/install/recommend.new | sort -u > ${target_rootfs}/install/recommend.new.list
283 mv -f ${target_rootfs}/install/recommend.new.list ${target_rootfs}/install/recommend.list
284 rm ${target_rootfs}/install/recommend ${target_rootfs}/install/recommend.new
285 done
286 fi
287
288 # Now that we have a solution, pull out a list of what to install...
289 echo "Manifest: ${target_rootfs}/install/install.manifest"
290 ${RPM} -D "_dbpath ${target_rootfs}/install" -qa --yaml \
291 -D "__dbi_txn create nofsync private" \
292 | grep -i 'Packageorigin' | cut -d : -f 2 > ${target_rootfs}/install/install_solution.manifest
293
294 # Attempt install
295 ${RPM} --root ${target_rootfs} \
296 -D "_rpmds_sysinfo_path ${target_rootfs}/etc/rpm/sysinfo" \
297 -D "_dbpath ${rpmlibdir}" \
298 --noscripts --notriggers --noparentdirs --nolinktos \
299 -D "__dbi_txn create nofsync private" \
300 -Uhv ${target_rootfs}/install/install_solution.manifest
72} 301}
73 302
74python write_specfile () { 303python write_specfile () {
@@ -193,7 +422,7 @@ python write_specfile () {
193 422
194 splitname = pkgname 423 splitname = pkgname
195 424
196 splitsummary = (bb.data.getVar('SUMMARY', d, True) or bb.data.getVar('DESCRIPTION', d, True) or ".") 425 splitsummary = (bb.data.getVar('SUMMARY', localdata, True) or bb.data.getVar('DESCRIPTION', localdata, True) or ".")
197 splitversion = (bb.data.getVar('PV', localdata, True) or "").replace('-', '+') 426 splitversion = (bb.data.getVar('PV', localdata, True) or "").replace('-', '+')
198 splitrelease = (bb.data.getVar('PR', localdata, True) or "") 427 splitrelease = (bb.data.getVar('PR', localdata, True) or "")
199 splitepoch = (bb.data.getVar('PE', localdata, True) or "") 428 splitepoch = (bb.data.getVar('PE', localdata, True) or "")
@@ -530,6 +759,8 @@ python do_package_rpm () {
530 cmd = cmd + " --define '_use_internal_dependency_generator 0'" 759 cmd = cmd + " --define '_use_internal_dependency_generator 0'"
531 cmd = cmd + " --define '__find_requires " + outdepends + "'" 760 cmd = cmd + " --define '__find_requires " + outdepends + "'"
532 cmd = cmd + " --define '__find_provides " + outprovides + "'" 761 cmd = cmd + " --define '__find_provides " + outprovides + "'"
762 cmd = cmd + " --define '_unpackaged_files_terminate_build 0'"
763 cmd = cmd + " --define 'debug_package %{nil}'"
533 cmd = cmd + " -bb " + outspecfile 764 cmd = cmd + " -bb " + outspecfile
534 765
535 # Build the spec file! 766 # Build the spec file!
diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass
index 7ba8abb72c..80fd45f0e3 100644
--- a/meta/classes/patch.bbclass
+++ b/meta/classes/patch.bbclass
@@ -58,9 +58,8 @@ python patch_do_patch() {
58 continue 58 continue
59 59
60 if not local: 60 if not local:
61 bb.fetch.init([url],d)
62 url = bb.encodeurl((type, host, path, user, pswd, [])) 61 url = bb.encodeurl((type, host, path, user, pswd, []))
63 local = os.path.join('/', bb.fetch.localpath(url, d)) 62 local = os.path.join('/', bb.fetch2.localpath(url, d))
64 local = bb.data.expand(local, d) 63 local = bb.data.expand(local, d)
65 64
66 if "striplevel" in parm: 65 if "striplevel" in parm:
@@ -126,6 +125,7 @@ python patch_do_patch() {
126 raise bb.build.FuncFailed(str(sys.exc_value)) 125 raise bb.build.FuncFailed(str(sys.exc_value))
127 resolver.Resolve() 126 resolver.Resolve()
128} 127}
128patch_do_patch[vardepsexclude] = "DATE SRCDATE"
129 129
130addtask patch after do_unpack 130addtask patch after do_unpack
131do_patch[dirs] = "${WORKDIR}" 131do_patch[dirs] = "${WORKDIR}"
diff --git a/meta/classes/poky-autobuild-notifier.bbclass b/meta/classes/poky-autobuild-notifier.bbclass
index 24b85c4612..9ab3d064ed 100644
--- a/meta/classes/poky-autobuild-notifier.bbclass
+++ b/meta/classes/poky-autobuild-notifier.bbclass
@@ -48,15 +48,15 @@ def do_autobuilder_failure_report(event):
48addhandler poky_autobuilder_notifier_eventhandler 48addhandler poky_autobuilder_notifier_eventhandler
49python poky_autobuilder_notifier_eventhandler() { 49python poky_autobuilder_notifier_eventhandler() {
50 from bb import note, error, data 50 from bb import note, error, data
51 from bb.event import NotHandled, getName 51 from bb.event import getName
52 52
53 if e.data is None: 53 if e.data is None:
54 return NotHandled 54 return
55 55
56 name = getName(e) 56 name = getName(e)
57 57
58 if name == "TaskFailed": 58 if name == "TaskFailed":
59 do_autobuilder_failure_report(e) 59 do_autobuilder_failure_report(e)
60 60
61 return NotHandled 61 return
62} 62}
diff --git a/meta/classes/poky-image.bbclass b/meta/classes/poky-image.bbclass
index 5f34ad11d2..225584bcda 100644
--- a/meta/classes/poky-image.bbclass
+++ b/meta/classes/poky-image.bbclass
@@ -2,6 +2,9 @@
2# 2#
3# Copyright (C) 2007 OpenedHand LTD 3# Copyright (C) 2007 OpenedHand LTD
4 4
5LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
6 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
7
5# IMAGE_FEATURES control content of images built with Poky. 8# IMAGE_FEATURES control content of images built with Poky.
6# 9#
7# By default we install task-poky-boot and task-base packages - this gives us 10# By default we install task-poky-boot and task-base packages - this gives us
@@ -79,7 +82,7 @@ POKY_BASE_INSTALL = '\
79 \ 82 \
80 ${@base_contains("IMAGE_FEATURES", ["nfs-server", "dev-pkgs"], "task-poky-nfs-server-dev", "",d)} \ 83 ${@base_contains("IMAGE_FEATURES", ["nfs-server", "dev-pkgs"], "task-poky-nfs-server-dev", "",d)} \
81 \ 84 \
82 ${@base_contains("IMAGE_FEATURES", "package-management", "${ROOTFS_PKGMANAGE}", "",d)} \ 85 ${@base_contains("IMAGE_FEATURES", "package-management", "${ROOTFS_PKGMANAGE}", "${ROOTFS_PKGMANAGE_BOOTSTRAP}",d)} \
83 ${@base_contains("IMAGE_FEATURES", "qt4-pkgs", "task-poky-qt-demos", "",d)} \ 86 ${@base_contains("IMAGE_FEATURES", "qt4-pkgs", "task-poky-qt-demos", "",d)} \
84 ${POKY_EXTRA_INSTALL} \ 87 ${POKY_EXTRA_INSTALL} \
85 ' 88 '
diff --git a/meta/classes/poky.bbclass b/meta/classes/poky.bbclass
deleted file mode 100644
index 7d3c28ffe2..0000000000
--- a/meta/classes/poky.bbclass
+++ /dev/null
@@ -1,29 +0,0 @@
1PREMIRRORS_append () {
2bzr://.*/.* http://pokylinux.org/sources/
3cvs://.*/.* http://pokylinux.org/sources/
4git://.*/.* http://pokylinux.org/sources/
5hg://.*/.* http://pokylinux.org/sources/
6osc://.*/.* http://pokylinux.org/sources/
7p4://.*/.* http://pokylinux.org/sources/
8svk://.*/.* http://pokylinux.org/sources/
9svn://.*/.* http://pokylinux.org/sources/
10
11bzr://.*/.* http://autobuilder.pokylinux.org/sources/
12cvs://.*/.* http://autobuilder.pokylinux.org/sources/
13git://.*/.* http://autobuilder.pokylinux.org/sources/
14hg://.*/.* http://autobuilder.pokylinux.org/sources/
15osc://.*/.* http://autobuilder.pokylinux.org/sources/
16p4://.*/.* http://autobuilder.pokylinux.org/sources/
17svk://.*/.* http://autobuilder.pokylinux.org/sources/
18svn://.*/.* http://autobuilder.pokylinux.org/sources/
19}
20
21MIRRORS_append () {
22ftp://.*/.* http://pokylinux.org/sources/
23http://.*/.* http://pokylinux.org/sources/
24https://.*/.* http://pokylinux.org/sources/
25
26ftp://.*/.* http://autobuilder.pokylinux.org/sources/
27http://.*/.* http://autobuilder.pokylinux.org/sources/
28https://.*/.* http://autobuilder.pokylinux.org/sources/
29}
diff --git a/meta/classes/populate_sdk.bbclass b/meta/classes/populate_sdk.bbclass
new file mode 100644
index 0000000000..7e260ef38d
--- /dev/null
+++ b/meta/classes/populate_sdk.bbclass
@@ -0,0 +1,82 @@
1inherit meta toolchain-scripts
2inherit populate_sdk_${IMAGE_PKGTYPE}
3
4SDK_DIR = "${WORKDIR}/sdk"
5SDK_OUTPUT = "${SDK_DIR}/image"
6SDK_DEPLOY = "${TMPDIR}/deploy/sdk"
7
8SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${TARGET_SYS}"
9
10TOOLCHAIN_HOST_TASK ?= "task-sdk-host task-cross-canadian-${TRANSLATED_TARGET_ARCH}"
11TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target task-poky-standalone-sdk-target-dbg"
12TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${DISTRO_VERSION}"
13
14RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
15DEPENDS = "virtual/fakeroot-native sed-native"
16
17PID = "${@os.getpid()}"
18
19EXCLUDE_FROM_WORLD = "1"
20
21fakeroot do_populate_sdk() {
22 rm -rf ${SDK_OUTPUT}
23 mkdir -p ${SDK_OUTPUT}
24
25 populate_sdk_${IMAGE_PKGTYPE}
26
27 # Don't ship any libGL in the SDK
28 rm -rf ${SDK_OUTPUT}/${SDKPATHNATIVE}${libdir_nativesdk}/libGL*
29
30 # Can copy pstage files here
31 # target_pkgs=`cat ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/var/lib/opkg/status | grep Package: | cut -f 2 -d ' '`
32
33 # Fix or remove broken .la files
34 #rm -f ${SDK_OUTPUT}/${SDKPATHNATIVE}/lib/*.la
35 rm -f ${SDK_OUTPUT}/${SDKPATHNATIVE}${libdir_nativesdk}/*.la
36
37 # Link the ld.so.cache file into the hosts filesystem
38 ln -s /etc/ld.so.cache ${SDK_OUTPUT}/${SDKPATHNATIVE}/etc/ld.so.cache
39
40 # Setup site file for external use
41 siteconfig=${SDK_OUTPUT}/${SDKPATH}/site-config-${MULTIMACH_TARGET_SYS}
42 touch $siteconfig
43 for sitefile in ${CONFIG_SITE} ; do
44 cat $sitefile >> $siteconfig
45 done
46
47 toolchain_create_sdk_env_script
48
49 # Add version information
50 versionfile=${SDK_OUTPUT}/${SDKPATH}/version-${MULTIMACH_TARGET_SYS}
51 touch $versionfile
52 echo 'Distro: ${DISTRO}' >> $versionfile
53 echo 'Distro Version: ${DISTRO_VERSION}' >> $versionfile
54 echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile
55 echo 'Timestamp: ${DATETIME}' >> $versionfile
56
57 # Package it up
58 mkdir -p ${SDK_DEPLOY}
59 cd ${SDK_OUTPUT}
60 tar --owner=root --group=root -cj --file=${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 .
61}
62
63populate_sdk_log_check() {
64 for target in $*
65 do
66 lf_path="${WORKDIR}/temp/log.do_$target.${PID}"
67
68 echo "log_check: Using $lf_path as logfile"
69
70 if test -e "$lf_path"
71 then
72 ${IMAGE_PKGTYPE}_log_check $target $lf_path
73 else
74 echo "Cannot find logfile [$lf_path]"
75 fi
76 echo "Logfile is clean"
77 done
78}
79
80do_populate_sdk[nostamp] = "1"
81do_populate_sdk[recrdeptask] = "do_package_write"
82addtask populate_sdk before do_build after do_install
diff --git a/meta/classes/populate_sdk_deb.bbclass b/meta/classes/populate_sdk_deb.bbclass
new file mode 100644
index 0000000000..d563c28674
--- /dev/null
+++ b/meta/classes/populate_sdk_deb.bbclass
@@ -0,0 +1,60 @@
1do_populate_sdk[depends] += "dpkg-native:do_populate_sysroot apt-native:do_populate_sysroot bzip2-native:do_populate_sysroot"
2do_populate_sdk[recrdeptask] += "do_package_write_deb"
3
4
5populate_sdk_post_deb () {
6
7 local target_rootfs=$1
8
9 cp -r ${STAGING_ETCDIR_NATIVE}/apt ${target_rootfs}/etc
10}
11
12fakeroot populate_sdk_deb () {
13
14 package_update_index_deb
15
16 export INSTALL_TASK_DEB="populate_sdk"
17 export INSTALL_PACKAGES_LINGUAS_DEB=""
18 export INSTALL_PACKAGES_ATTEMPTONLY_DEB=""
19
20 #install target
21 echo "Installing TARGET packages"
22 export INSTALL_ROOTFS_DEB="${SDK_OUTPUT}/${SDKTARGETSYSROOT}"
23 export INSTALL_BASEARCH_DEB="${DPKG_ARCH}"
24 export INSTALL_ARCHS_DEB="${PACKAGE_ARCHS}"
25 export INSTALL_PACKAGES_NORMAL_DEB="${TOOLCHAIN_TARGET_TASK}"
26
27 package_install_internal_deb
28 populate_sdk_post_deb ${INSTALL_ROOTFS_DEB}
29
30 populate_sdk_log_check populate_sdk
31
32 #install host
33 echo "Installing HOST packages"
34 export INSTALL_ROOTFS_DEB="${SDK_OUTPUT}"
35 export INSTALL_BASEARCH_DEB="${SDK_ARCH}"
36 export INSTALL_PACKAGES_NORMAL_DEB="${TOOLCHAIN_HOST_TASK}"
37 INSTALL_ARCHS_DEB=""
38 for arch in ${PACKAGE_ARCHS}; do
39 sdkarch=`echo $arch | sed -e 's/${HOST_ARCH}/${SDK_ARCH}/'`
40 extension="-nativesdk"
41 if [ "$sdkarch" = "all" -o "$sdkarch" = "any" -o "$sdkarch" = "noarch" ]; then
42 extension=""
43 fi
44 if [ -e ${DEPLOY_DIR_DEB}/$sdkarch$extension ]; then
45 INSTALL_ARCHS_DEB="$INSTALL_ARCHS_DEB $sdkarch$extension"
46 fi
47 done
48 export INSTALL_ARCHS_DEB
49
50 package_install_internal_deb
51 populate_sdk_post_deb ${SDK_OUTPUT}/${SDKPATHNATIVE}
52
53 #move remainings
54 install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}/var/dpkg
55 mv ${SDK_OUTPUT}/var/dpkg/* ${SDK_OUTPUT}/${SDKPATHNATIVE}/var/dpkg
56 rm -rf ${SDK_OUTPUT}/var
57
58 populate_sdk_log_check populate_sdk
59}
60
diff --git a/meta/classes/populate_sdk_ipk.bbclass b/meta/classes/populate_sdk_ipk.bbclass
new file mode 100644
index 0000000000..79259f80d6
--- /dev/null
+++ b/meta/classes/populate_sdk_ipk.bbclass
@@ -0,0 +1,44 @@
1do_populate_sdk[depends] += "opkg-native:do_populate_sysroot opkg-utils-native:do_populate_sysroot"
2do_populate_sdk[recrdeptask] += "do_package_write_ipk"
3
4fakeroot populate_sdk_ipk() {
5
6 rm -f ${IPKGCONF_TARGET}
7 touch ${IPKGCONF_TARGET}
8 rm -f ${IPKGCONF_SDK}
9 touch ${IPKGCONF_SDK}
10
11 package_update_index_ipk
12 package_generate_ipkg_conf
13
14 export INSTALL_PACKAGES_ATTEMPTONLY_IPK=""
15 export INSTALL_PACKAGES_LINGUAS_IPK=""
16 export INSTALL_TASK_IPK="populate_sdk"
17
18 #install target
19 export INSTALL_ROOTFS_IPK="${SDK_OUTPUT}/${SDKTARGETSYSROOT}"
20 export INSTALL_CONF_IPK="${IPKGCONF_TARGET}"
21 export INSTALL_PACKAGES_NORMAL_IPK="${TOOLCHAIN_TARGET_TASK}"
22
23 package_install_internal_ipk
24
25 #install host
26 export INSTALL_ROOTFS_IPK="${SDK_OUTPUT}"
27 export INSTALL_CONF_IPK="${IPKGCONF_SDK}"
28 export INSTALL_PACKAGES_NORMAL_IPK="${TOOLCHAIN_HOST_TASK}"
29
30 package_install_internal_ipk
31
32 #post clean up
33 install -d ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/${sysconfdir}
34 install -m 0644 ${IPKGCONF_TARGET} ${IPKGCONF_SDK} ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/${sysconfdir}/
35
36 install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}/${sysconfdir}
37 install -m 0644 ${IPKGCONF_SDK} ${SDK_OUTPUT}/${SDKPATHNATIVE}/${sysconfdir}/
38
39 install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}${localstatedir_nativesdk}/lib/opkg
40 mv ${SDK_OUTPUT}/var/lib/opkg/* ${SDK_OUTPUT}/${SDKPATHNATIVE}${localstatedir_nativesdk}/lib/opkg/
41 rm -Rf ${SDK_OUTPUT}/var
42
43 populate_sdk_log_check populate_sdk
44}
diff --git a/meta/classes/populate_sdk_rpm.bbclass b/meta/classes/populate_sdk_rpm.bbclass
new file mode 100644
index 0000000000..e1abbad17b
--- /dev/null
+++ b/meta/classes/populate_sdk_rpm.bbclass
@@ -0,0 +1,80 @@
1do_populate_sdk[depends] += "rpm-native:do_populate_sysroot"
2do_populate_sdk[recrdeptask] += "do_package_write_rpm"
3
4rpmlibdir = "/var/lib/rpm"
5RPMOPTS="--dbpath ${rpmlibdir} --define='_openall_before_chroot 1'"
6RPM="rpm ${RPMOPTS}"
7
8
9populate_sdk_post_rpm () {
10
11 local target_rootfs=$1
12
13 # remove lock files
14 rm -f ${target_rootfs}/__db.*
15
16 # Move manifests into the directory with the logs
17 mv ${target_rootfs}/install/*.manifest ${T}/
18
19 # Remove all remaining resolver files
20 rm -rf ${target_rootfs}/install
21}
22
23fakeroot populate_sdk_rpm () {
24
25 package_update_index_rpm
26 package_generate_rpm_conf
27
28 export INSTALL_PACKAGES_ATTEMPTONLY_RPM=""
29 export INSTALL_PACKAGES_LINGUAS_RPM=""
30 export INSTALL_PROVIDENAME_RPM="/bin/sh"
31 export INSTALL_TASK_RPM="populate_sdk"
32
33
34 #install target
35 export INSTALL_ROOTFS_RPM="${SDK_OUTPUT}/${SDKTARGETSYSROOT}"
36 export INSTALL_PLATFORM_RPM="${TARGET_ARCH}"
37 export INSTALL_PLATFORM_EXTRA_RPM="${PACKAGE_ARCHS}"
38 export INSTALL_CONFBASE_RPM="${RPMCONF_TARGET_BASE}"
39 export INSTALL_PACKAGES_NORMAL_RPM="${TOOLCHAIN_TARGET_TASK}"
40
41 package_install_internal_rpm
42 populate_sdk_post_rpm ${INSTALL_ROOTFS_RPM}
43
44 #install host
45 export INSTALL_ROOTFS_RPM="${SDK_OUTPUT}"
46 export INSTALL_PLATFORM_RPM="${SDK_ARCH}"
47 export INSTALL_CONFBASE_RPM="${RPMCONF_HOST_BASE}"
48 export INSTALL_PACKAGES_NORMAL_RPM="${TOOLCHAIN_HOST_TASK}"
49 INSTALL_PLATFORM_EXTRA_RPM=""
50 for arch in ${PACKAGE_ARCHS}; do
51 sdkarch=`echo $arch | sed -e 's/${HOST_ARCH}/${SDK_ARCH}/'`
52 extension="-nativesdk"
53 if [ "$sdkarch" = "all" -o "$sdkarch" = "any" -o "$sdkarch" = "noarch" ]; then
54 extension=""
55 fi
56 if [ -e ${DEPLOY_DIR_RPM}/$sdkarch$extension ]; then
57 INSTALL_PLATFORM_EXTRA_RPM="$INSTALL_PLATFORM_EXTRA_RPM $sdkarch"
58 fi
59 done
60 export INSTALL_PLATFORM_EXTRA_RPM
61
62 package_install_internal_rpm
63 populate_sdk_post_rpm ${INSTALL_ROOTFS_RPM}
64
65 # move host RPM library data
66 install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}${localstatedir_nativesdk}/lib/rpm
67 mv ${SDK_OUTPUT}${rpmlibdir}/* ${SDK_OUTPUT}/${SDKPATHNATIVE}${localstatedir_nativesdk}/lib/rpm/
68 rm -Rf ${SDK_OUTPUT}/var
69
70 install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}/${sysconfdir}
71 mv ${SDK_OUTPUT}/etc/* ${SDK_OUTPUT}/${SDKPATHNATIVE}/${sysconfdir}/
72 rm -rf ${SDK_OUTPUT}/etc
73
74 populate_sdk_log_check populate_sdk
75
76 # Workaround so the parser knows we need the resolve_package function!
77 if false ; then
78 resolve_package_rpm foo ${RPMCONF_TARGET_BASE}.conf || true
79 fi
80}
diff --git a/meta/classes/python-dir.bbclass b/meta/classes/python-dir.bbclass
new file mode 100644
index 0000000000..a072a93877
--- /dev/null
+++ b/meta/classes/python-dir.bbclass
@@ -0,0 +1,2 @@
1PYTHON_DIR = "python${PYTHON_BASEVERSION}"
2PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"
diff --git a/meta/classes/qmake2.bbclass b/meta/classes/qmake2.bbclass
index e6810260f0..5eebd8ec42 100644
--- a/meta/classes/qmake2.bbclass
+++ b/meta/classes/qmake2.bbclass
@@ -3,7 +3,7 @@
3# 3#
4inherit qmake_base 4inherit qmake_base
5 5
6DEPENDS_prepend = "qt4-tools-native" 6DEPENDS_prepend = "qt4-tools-native "
7 7
8export QMAKESPEC = "${STAGING_DATADIR}/qt4/mkspecs/${TARGET_OS}-oe-g++" 8export QMAKESPEC = "${STAGING_DATADIR}/qt4/mkspecs/${TARGET_OS}-oe-g++"
9export OE_QMAKE_UIC = "${STAGING_BINDIR_NATIVE}/uic4" 9export OE_QMAKE_UIC = "${STAGING_BINDIR_NATIVE}/uic4"
@@ -19,5 +19,6 @@ export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/qt4"
19export OE_QMAKE_LIBDIR_QT = "${STAGING_LIBDIR}" 19export OE_QMAKE_LIBDIR_QT = "${STAGING_LIBDIR}"
20export OE_QMAKE_LIBS_QT = "qt" 20export OE_QMAKE_LIBS_QT = "qt"
21export OE_QMAKE_LIBS_X11 = "-lXext -lX11 -lm" 21export OE_QMAKE_LIBS_X11 = "-lXext -lX11 -lm"
22export OE_QMAKE_LIBS_X11SM = "-lSM -lICE"
22export OE_QMAKE_LRELEASE = "${STAGING_BINDIR_NATIVE}/lrelease4" 23export OE_QMAKE_LRELEASE = "${STAGING_BINDIR_NATIVE}/lrelease4"
23export OE_QMAKE_LUPDATE = "${STAGING_BINDIR_NATIVE}/lupdate4" 24export OE_QMAKE_LUPDATE = "${STAGING_BINDIR_NATIVE}/lupdate4"
diff --git a/meta/classes/qt4e.bbclass b/meta/classes/qt4e.bbclass
new file mode 100644
index 0000000000..670605ba4b
--- /dev/null
+++ b/meta/classes/qt4e.bbclass
@@ -0,0 +1,18 @@
1DEPENDS_prepend = "${@["qt4-embedded ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-embedded')]}"
2
3inherit qmake2
4
5QT_DIR_NAME = "qtopia"
6QT_LIBINFIX = "E"
7# override variables set by qmake-base to compile Qt/Embedded apps
8#
9export QMAKESPEC = "${STAGING_DATADIR}/${QT_DIR_NAME}/mkspecs/${TARGET_OS}-oe-g++"
10export OE_QMAKE_INCDIR_QT = "${STAGING_INCDIR}/${QT_DIR_NAME}"
11export OE_QMAKE_LIBDIR_QT = "${STAGING_LIBDIR}"
12export OE_QMAKE_LIBS_QT = "qt"
13export OE_QMAKE_LIBS_X11 = ""
14export OE_QMAKE_EXTRA_MODULES = "network"
15EXTRA_QMAKEVARS_PRE += " QT_LIBINFIX=${QT_LIBINFIX} "
16
17# Qt4 uses atomic instructions not supported in thumb mode
18ARM_INSTRUCTION_SET = "arm"
diff --git a/meta/classes/qt4x11.bbclass b/meta/classes/qt4x11.bbclass
new file mode 100644
index 0000000000..abb1d9d2e4
--- /dev/null
+++ b/meta/classes/qt4x11.bbclass
@@ -0,0 +1,9 @@
1DEPENDS_prepend = "${@["qt4-x11-free ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-x11-free')]}"
2
3inherit qmake2
4
5QT_DIR_NAME = "qt4"
6QT_LIBINFIX = ""
7
8# Qt4 uses atomic instructions not supported in thumb mode
9ARM_INSTRUCTION_SET = "arm"
diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass
index 53fcda23a9..7cbdb17623 100644
--- a/meta/classes/rm_work.bbclass
+++ b/meta/classes/rm_work.bbclass
@@ -14,22 +14,46 @@ RMWORK_ORIG_TASK := "${BB_DEFAULT_TASK}"
14BB_DEFAULT_TASK = "rm_work_all" 14BB_DEFAULT_TASK = "rm_work_all"
15 15
16do_rm_work () { 16do_rm_work () {
17 # Ensure pseudo is no longer active
18 if [ -d ${WORKDIR}/pseudo ]; then
19 ${FAKEROOT} -S
20 fi
21 cd ${WORKDIR} 17 cd ${WORKDIR}
22 for dir in * 18 for dir in *
23 do 19 do
24 if [ `basename ${S}` = $dir ]; then 20 if [ `basename ${S}` = $dir ]; then
25 rm -rf $dir 21 rm -rf $dir
26 elif [ $dir != 'temp' ]; then 22 # The package and package-split directories are retained by sstate for
23 # do_package so we retain them here too. Anything in sstate 'plaindirs'
24 # should be retained. Also retain logs and other files in temp.
25 elif [ $dir != 'temp' ] && [ $dir != 'package' ] && [ $dir != 'package-split' ]; then
27 rm -rf $dir 26 rm -rf $dir
28 fi 27 fi
29 done 28 done
30 # Need to add pseudo back or subsqeuent work in this workdir 29 # Need to add pseudo back or subsqeuent work in this workdir
31 # might fail since setscene may not rerun to recreate it 30 # might fail since setscene may not rerun to recreate it
32 mkdir ${WORKDIR}/pseudo/ 31 mkdir ${WORKDIR}/pseudo/
32
33 # Change normal stamps into setscene stamps as they better reflect the
34 # fact WORKDIR is now empty
35 cd `dirname ${STAMP}`
36 for i in `basename ${STAMP}`*
37 do
38 for j in ${SSTATETASKS}
39 do
40 case $i in
41 *do_setscene*)
42 break
43 ;;
44 *_setscene*)
45 i=dummy
46 break
47 ;;
48 *$j|*$j.*)
49 mv $i `echo $i | sed -e "s#${j}#${j}_setscene#"`
50 i=dummy
51 break
52 ;;
53 esac
54 done
55 rm -f $i
56 done
33} 57}
34addtask rm_work after do_${RMWORK_ORIG_TASK} 58addtask rm_work after do_${RMWORK_ORIG_TASK}
35 59
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass
index f579b53a82..e03e80bdb0 100644
--- a/meta/classes/rootfs_deb.bbclass
+++ b/meta/classes/rootfs_deb.bbclass
@@ -12,50 +12,29 @@ opkglibdir = "${localstatedir}/lib/opkg"
12 12
13fakeroot rootfs_deb_do_rootfs () { 13fakeroot rootfs_deb_do_rootfs () {
14 set +e 14 set +e
15 mkdir -p ${IMAGE_ROOTFS}/var/dpkg/info
16 mkdir -p ${IMAGE_ROOTFS}/var/dpkg/updates
17 15
18 rm -f ${STAGING_ETCDIR_NATIVE}/apt/sources.list.rev
19 rm -f ${STAGING_ETCDIR_NATIVE}/apt/preferences
20 > ${IMAGE_ROOTFS}/var/dpkg/status
21 > ${IMAGE_ROOTFS}/var/dpkg/available
22 mkdir -p ${IMAGE_ROOTFS}/var/dpkg/alternatives 16 mkdir -p ${IMAGE_ROOTFS}/var/dpkg/alternatives
23 17
24 priority=1 18 # update index
25 for arch in ${PACKAGE_ARCHS}; do 19 package_update_index_deb
26 if [ ! -d ${DEPLOY_DIR_DEB}/$arch ]; then 20
27 continue; 21 #install packages
28 fi 22 export INSTALL_ROOTFS_DEB="${IMAGE_ROOTFS}"
29 cd ${DEPLOY_DIR_DEB}/$arch 23 export INSTALL_BASEARCH_DEB="${DPKG_ARCH}"
30 # if [ -z "${DEPLOY_KEEP_PACKAGES}" ]; then 24 export INSTALL_ARCHS_DEB="${PACKAGE_ARCHS}"
31 rm -f Packages.gz Packages Packages.bz2 25 export INSTALL_PACKAGES_NORMAL_DEB="${PACKAGE_INSTALL}"
32 # fi 26 export INSTALL_PACKAGES_ATTEMPTONLY_DEB="${PACKAGE_INSTALL_ATTEMPTONLY}"
33 dpkg-scanpackages . | bzip2 > Packages.bz2 27 export INSTALL_PACKAGES_LINGUAS_DEB="${LINGUAS_INSTALL}"
34 echo "Label: $arch" > Release 28 export INSTALL_TASK_DEB="rootfs"
35
36 echo "deb file:${DEPLOY_DIR_DEB}/$arch/ ./" >> ${STAGING_ETCDIR_NATIVE}/apt/sources.list.rev
37 (echo "Package: *"
38 echo "Pin: release l=$arch"
39 echo "Pin-Priority: $(expr 800 + $priority)"
40 echo) >> ${STAGING_ETCDIR_NATIVE}/apt/preferences
41 priority=$(expr $priority + 5)
42 done
43 29
44 tac ${STAGING_ETCDIR_NATIVE}/apt/sources.list.rev > ${STAGING_ETCDIR_NATIVE}/apt/sources.list 30 package_install_internal_deb
45 31
46 cat "${STAGING_ETCDIR_NATIVE}/apt/apt.conf.sample" \
47 | sed -e 's#Architecture ".*";#Architecture "${DPKG_ARCH}";#' \
48 | sed -e 's:#ROOTFS#:${IMAGE_ROOTFS}:g' \
49 > "${STAGING_ETCDIR_NATIVE}/apt/apt-rootfs.conf"
50 32
51 export APT_CONFIG="${STAGING_ETCDIR_NATIVE}/apt/apt-rootfs.conf"
52 export D=${IMAGE_ROOTFS} 33 export D=${IMAGE_ROOTFS}
53 export OFFLINE_ROOT=${IMAGE_ROOTFS} 34 export OFFLINE_ROOT=${IMAGE_ROOTFS}
54 export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS} 35 export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS}
55 export OPKG_OFFLINE_ROOT=${IMAGE_ROOTFS} 36 export OPKG_OFFLINE_ROOT=${IMAGE_ROOTFS}
56 37
57 apt-get update
58
59 _flag () { 38 _flag () {
60 sed -i -e "/^Package: $2\$/{n; s/Status: install ok .*/Status: install ok $1/;}" ${IMAGE_ROOTFS}/var/dpkg/status 39 sed -i -e "/^Package: $2\$/{n; s/Status: install ok .*/Status: install ok $1/;}" ${IMAGE_ROOTFS}/var/dpkg/status
61 } 40 }
@@ -63,47 +42,6 @@ fakeroot rootfs_deb_do_rootfs () {
63 cat ${IMAGE_ROOTFS}/var/dpkg/status | sed -n -e "/^Package: $2\$/{n; s/Status: install ok .*/$1/; p}" 42 cat ${IMAGE_ROOTFS}/var/dpkg/status | sed -n -e "/^Package: $2\$/{n; s/Status: install ok .*/$1/; p}"
64 } 43 }
65 44
66 if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then
67 if [ ! -z "${LINGUAS_INSTALL}" ]; then
68 apt-get install glibc-localedata-i18n --force-yes --allow-unauthenticated
69 if [ $? -ne 0 ]; then
70 exit 1
71 fi
72 for i in ${LINGUAS_INSTALL}; do
73 apt-get install $i --force-yes --allow-unauthenticated
74 if [ $? -ne 0 ]; then
75 exit 1
76 fi
77 done
78 fi
79 fi
80
81 if [ ! -z "${PACKAGE_INSTALL}" ]; then
82 for i in ${PACKAGE_INSTALL}; do
83 apt-get install $i --force-yes --allow-unauthenticated
84 if [ $? -ne 0 ]; then
85 exit 1
86 fi
87 done
88 fi
89
90 rm ${WORKDIR}/temp/log.do_$target-attemptonly.${PID}
91 if [ ! -z "${PACKAGE_INSTALL_ATTEMPTONLY}" ]; then
92 for i in ${PACKAGE_INSTALL_ATTEMPTONLY}; do
93 apt-get install $i --force-yes --allow-unauthenticated >> ${WORKDIR}/temp/log.do_rootfs-attemptonly.${PID} || true
94 done
95 fi
96
97 find ${IMAGE_ROOTFS} -name \*.dpkg-new | for i in `cat`; do
98 mv $i `echo $i | sed -e's,\.dpkg-new$,,'`
99 done
100
101 install -d ${IMAGE_ROOTFS}/${sysconfdir}
102 echo ${BUILDNAME} > ${IMAGE_ROOTFS}/${sysconfdir}/version
103
104 # Mark all packages installed
105 sed -i -e "s/Status: install ok unpacked/Status: install ok installed/;" ${IMAGE_ROOTFS}/var/dpkg/status
106
107 # Attempt to run preinsts 45 # Attempt to run preinsts
108 # Mark packages with preinst failures as unpacked 46 # Mark packages with preinst failures as unpacked
109 for i in ${IMAGE_ROOTFS}/var/dpkg/info/*.preinst; do 47 for i in ${IMAGE_ROOTFS}/var/dpkg/info/*.preinst; do
@@ -122,6 +60,9 @@ fakeroot rootfs_deb_do_rootfs () {
122 60
123 set -e 61 set -e
124 62
63 install -d ${IMAGE_ROOTFS}/${sysconfdir}
64 echo ${BUILDNAME} > ${IMAGE_ROOTFS}/${sysconfdir}/version
65
125 # Hacks to allow opkg's update-alternatives and opkg to coexist for now 66 # Hacks to allow opkg's update-alternatives and opkg to coexist for now
126 mkdir -p ${IMAGE_ROOTFS}${opkglibdir} 67 mkdir -p ${IMAGE_ROOTFS}${opkglibdir}
127 if [ -e ${IMAGE_ROOTFS}/var/dpkg/alternatives ]; then 68 if [ -e ${IMAGE_ROOTFS}/var/dpkg/alternatives ]; then
@@ -133,27 +74,7 @@ fakeroot rootfs_deb_do_rootfs () {
133 74
134 ${ROOTFS_POSTPROCESS_COMMAND} 75 ${ROOTFS_POSTPROCESS_COMMAND}
135 76
136 log_check rootfs 77 log_check rootfs
137}
138
139rootfs_deb_log_check() {
140 target="$1"
141 lf_path="$2"
142
143 lf_txt="`cat $lf_path`"
144 for keyword_die in "E:"
145 do
146 if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1
147 then
148 echo "log_check: There were error messages in the logfile"
149 echo -e "log_check: Matched keyword: [$keyword_die]\n"
150 echo "$lf_txt" | grep -v log_check | grep -C 5 -i "$keyword_die"
151 echo ""
152 do_exit=1
153 fi
154 done
155 test "$do_exit" = 1 && exit 1
156 true
157} 78}
158 79
159remove_packaging_data_files() { 80remove_packaging_data_files() {
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index c9edec2b52..5727d1502b 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -12,7 +12,7 @@ ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts"
12do_rootfs[depends] += "opkg-native:do_populate_sysroot opkg-utils-native:do_populate_sysroot" 12do_rootfs[depends] += "opkg-native:do_populate_sysroot opkg-utils-native:do_populate_sysroot"
13do_rootfs[recrdeptask] += "do_package_write_ipk" 13do_rootfs[recrdeptask] += "do_package_write_ipk"
14 14
15IPKG_ARGS = "-f ${IPKGCONF_TARGET} -o ${IMAGE_ROOTFS}" 15IPKG_ARGS = "-f ${IPKGCONF_TARGET} -o ${IMAGE_ROOTFS} --force-overwrite"
16 16
17OPKG_PREPROCESS_COMMANDS = "package_update_index_ipk; package_generate_ipkg_conf" 17OPKG_PREPROCESS_COMMANDS = "package_update_index_ipk; package_generate_ipkg_conf"
18 18
@@ -29,26 +29,19 @@ fakeroot rootfs_ipk_do_rootfs () {
29 ${OPKG_PREPROCESS_COMMANDS} 29 ${OPKG_PREPROCESS_COMMANDS}
30 30
31 mkdir -p ${T}/ 31 mkdir -p ${T}/
32 mkdir -p ${IMAGE_ROOTFS}${opkglibdir}
33 32
34 opkg-cl ${IPKG_ARGS} update 33 #install
34 export INSTALL_PACKAGES_ATTEMPTONLY_IPK="${PACKAGE_INSTALL_ATTEMPTONLY}"
35 export INSTALL_PACKAGES_LINGUAS_IPK="${LINGUAS_INSTALL}"
36 export INSTALL_TASK_IPK="rootfs"
35 37
36 # Uclibc builds don't provide this stuff... 38 export INSTALL_ROOTFS_IPK="${IMAGE_ROOTFS}"
37 if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then 39 export INSTALL_CONF_IPK="${IPKGCONF_TARGET}"
38 if [ ! -z "${LINGUAS_INSTALL}" ]; then 40 export INSTALL_PACKAGES_NORMAL_IPK="${PACKAGE_INSTALL}"
39 for i in ${LINGUAS_INSTALL}; do
40 opkg-cl ${IPKG_ARGS} install $i
41 done
42 fi
43 fi
44 if [ ! -z "${PACKAGE_INSTALL}" ]; then
45 opkg-cl ${IPKG_ARGS} install ${PACKAGE_INSTALL}
46 fi
47 41
48 if [ ! -z "${PACKAGE_INSTALL_ATTEMPTONLY}" ]; then 42 package_install_internal_ipk
49 opkg-cl ${IPKG_ARGS} install ${PACKAGE_INSTALL_ATTEMPTONLY} > "${WORKDIR}/temp/log.do_rootfs_attemptonly.${PID}" || true
50 fi
51 43
44 #post install
52 export D=${IMAGE_ROOTFS} 45 export D=${IMAGE_ROOTFS}
53 export OFFLINE_ROOT=${IMAGE_ROOTFS} 46 export OFFLINE_ROOT=${IMAGE_ROOTFS}
54 export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS} 47 export IPKG_OFFLINE_ROOT=${IMAGE_ROOTFS}
@@ -82,26 +75,6 @@ fakeroot rootfs_ipk_do_rootfs () {
82 log_check rootfs 75 log_check rootfs
83} 76}
84 77
85rootfs_ipk_log_check() {
86 target="$1"
87 lf_path="$2"
88
89 lf_txt="`cat $lf_path`"
90 for keyword_die in "exit 1" "Collected errors" ERR Fail
91 do
92 if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1
93 then
94 echo "log_check: There were error messages in the logfile"
95 echo -e "log_check: Matched keyword: [$keyword_die]\n"
96 echo "$lf_txt" | grep -v log_check | grep -C 5 -i "$keyword_die"
97 echo ""
98 do_exit=1
99 fi
100 done
101 test "$do_exit" = 1 && exit 1
102 true
103}
104
105rootfs_ipk_write_manifest() { 78rootfs_ipk_write_manifest() {
106 manifest=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.manifest 79 manifest=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.manifest
107 cp ${IMAGE_ROOTFS}${opkglibdir}/status $manifest 80 cp ${IMAGE_ROOTFS}${opkglibdir}/status $manifest
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 33abe96df9..6fe11f77e4 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -2,14 +2,18 @@
2# Creates a root filesystem out of rpm packages 2# Creates a root filesystem out of rpm packages
3# 3#
4 4
5ROOTFS_PKGMANAGE = "rpm zypper" 5ROOTFS_PKGMANAGE = "rpm zypper"
6ROOTFS_PKGMANAGE_BOOTSTRAP = "run-postinsts" 6# Postinstalls on device are handled within this class at present
7ROOTFS_PKGMANAGE_BOOTSTRAP = ""
7 8
8do_rootfs[depends] += "rpm-native:do_populate_sysroot" 9do_rootfs[depends] += "rpm-native:do_populate_sysroot"
9 10
10# Needed for update-alternatives 11# Needed for update-alternatives
11do_rootfs[depends] += "opkg-native:do_populate_sysroot" 12do_rootfs[depends] += "opkg-native:do_populate_sysroot"
12 13
14# Creating the repo info in do_rootfs
15#do_rootfs[depends] += "createrepo-native:do_populate_sysroot"
16
13do_rootfs[recrdeptask] += "do_package_write_rpm" 17do_rootfs[recrdeptask] += "do_package_write_rpm"
14 18
15AWKPOSTINSTSCRIPT = "${POKYBASE}/scripts/rootfs_rpm-extract-postinst.awk" 19AWKPOSTINSTSCRIPT = "${POKYBASE}/scripts/rootfs_rpm-extract-postinst.awk"
@@ -33,122 +37,27 @@ RPM="rpm ${RPMOPTS}"
33do_rootfs[lockfiles] += "${DEPLOY_DIR_RPM}/rpm.lock" 37do_rootfs[lockfiles] += "${DEPLOY_DIR_RPM}/rpm.lock"
34 38
35fakeroot rootfs_rpm_do_rootfs () { 39fakeroot rootfs_rpm_do_rootfs () {
36 set +x 40 #set +x
37 41
38 ${RPM_PREPROCESS_COMMANDS} 42 ${RPM_PREPROCESS_COMMANDS}
39 43
44 #createrepo "${DEPLOY_DIR_RPM}"
45
40 # Setup base system configuration 46 # Setup base system configuration
41 mkdir -p ${IMAGE_ROOTFS}/etc/rpm/ 47 mkdir -p ${IMAGE_ROOTFS}/etc/rpm/
42 echo "${TARGET_ARCH}-linux" >${IMAGE_ROOTFS}/etc/rpm/platform
43
44 # Tell RPM that the "/" directory exist and is available
45 mkdir -p ${IMAGE_ROOTFS}/etc/rpm/sysinfo
46 echo "/" >${IMAGE_ROOTFS}/etc/rpm/sysinfo/Dirnames
47
48 # Setup manifest of packages to install...
49 mkdir -p ${IMAGE_ROOTFS}/install
50 echo "# Install manifest" > ${IMAGE_ROOTFS}/install/install.manifest
51
52 # Uclibc builds don't provide this stuff...
53 if [ x${TARGET_OS} = "xlinux" ] || [ x${TARGET_OS} = "xlinux-gnueabi" ] ; then
54 if [ ! -z "${LINGUAS_INSTALL}" ]; then
55 for pkg in ${LINGUAS_INSTALL}; do
56 echo "Processing $pkg..."
57 pkg_name=$(resolve_package $pkg)
58 if [ -z "$pkg_name" ]; then
59 echo "Unable to find package $pkg!"
60 exit 1
61 fi
62 echo $pkg_name >> ${IMAGE_ROOTFS}/install/install.manifest
63 done
64 fi
65 fi
66 48
67 if [ ! -z "${PACKAGE_INSTALL}" ]; then 49 #install pacakges
68 for pkg in ${PACKAGE_INSTALL} ; do 50 export INSTALL_ROOTFS_RPM="${IMAGE_ROOTFS}"
69 echo "Processing $pkg..." 51 export INSTALL_PLATFORM_RPM="${TARGET_ARCH}"
70 pkg_name=$(resolve_package $pkg) 52 export INSTALL_PLATFORM_EXTRA_RPM="${PACKAGE_ARCHS}"
71 if [ -z "$pkg_name" ]; then 53 export INSTALL_CONFBASE_RPM="${RPMCONF_TARGET_BASE}"
72 echo "Unable to find package $pkg!" 54 export INSTALL_PACKAGES_NORMAL_RPM="${PACKAGE_INSTALL}"
73 exit 1 55 export INSTALL_PACKAGES_ATTEMPTONLY_RPM="${PACKAGE_INSTALL_ATTEMPTONLY}"
74 fi 56 export INSTALL_PACKAGES_LINGUAS_RPM="${LINGUAS_INSTALL}"
75 echo $pkg_name >> ${IMAGE_ROOTFS}/install/install.manifest 57 export INSTALL_PROVIDENAME_RPM=""
76 done 58 export INSTALL_TASK_RPM="populate_sdk"
77 fi
78 59
79 # Generate an install solution by doing a --justdb install, then recreate it with 60 package_install_internal_rpm
80 # an actual package install!
81 ${RPM} -D "_dbpath ${IMAGE_ROOTFS}/install" -D "`cat ${DEPLOY_DIR_RPM}/solvedb.macro`" \
82 -D "__dbi_cdb create mp_mmapsize=128Mb mp_size=1Mb nofsync" \
83 -U --justdb --noscripts --notriggers --noparentdirs --nolinktos --ignoresize \
84 ${IMAGE_ROOTFS}/install/install.manifest
85
86 if [ ! -z "${PACKAGE_INSTALL_ATTEMPTONLY}" ]; then
87 echo "Adding attempt only packages..."
88 for pkg in ${PACKAGE_INSTALL_ATTEMPTONLY} ; do
89 echo "Processing $pkg..."
90 pkg_name=$(resolve_package $pkg)
91 if [ -z "$pkg_name" ]; then
92 echo "Unable to find package $pkg!"
93 exit 1
94 fi
95 echo "Attempting $pkg_name..." >> "${WORKDIR}/temp/log.do_rootfs_attemptonly.${PID}"
96 ${RPM} -D "_dbpath ${IMAGE_ROOTFS}/install" -D "`cat ${DEPLOY_DIR_RPM}/solvedb.macro`" \
97 -D "__dbi_cdb create mp_mmapsize=128Mb mp_size=1Mb nofsync private" \
98 -U --justdb --noscripts --notriggers --noparentdirs --nolinktos --ignoresize \
99 $pkg_name >> "${WORKDIR}/temp/log.do_rootfs_attemptonly.${PID}" || true
100 done
101 fi
102
103#### Note: 'Recommends' is an arbitrary tag that means _SUGGESTS_ in Poky..
104 # Add any recommended packages to the image
105 # RPM does not solve for recommended packages because they are optional...
106 # So we query them and tree them like the ATTEMPTONLY packages above...
107 # Change the loop to "1" to run this code...
108 loop=0
109 if [ $loop -eq 1 ]; then
110 echo "Processing recommended packages..."
111 cat /dev/null > ${IMAGE_ROOTFS}/install/recommend.list
112 while [ $loop -eq 1 ]; do
113 # Dump the full set of recommends...
114 ${RPM} -D "_dbpath ${IMAGE_ROOTFS}/install" -D "`cat ${DEPLOY_DIR_RPM}/solvedb.macro`" \
115 -qa --qf "[%{RECOMMENDS}\n]" | sort -u > ${IMAGE_ROOTFS}/install/recommend
116 # Did we add more to the list?
117 grep -v -x -F -f ${IMAGE_ROOTFS}/install/recommend.list ${IMAGE_ROOTFS}/install/recommend > ${IMAGE_ROOTFS}/install/recommend.new || true
118 # We don't want to loop unless there is a change to the list!
119 loop=0
120 cat ${IMAGE_ROOTFS}/install/recommend.new | \
121 while read pkg ; do
122 # Ohh there was a new one, we'll need to loop again...
123 loop=1
124 echo "Processing $pkg..."
125 pkg_name=$(resolve_package $pkg)
126 if [ -z "$pkg_name" ]; then
127 echo "Unable to find package $pkg." >> "${WORKDIR}/temp/log.do_rootfs_recommend.${PID}"
128 continue
129 fi
130 echo "Attempting $pkg_name..." >> "${WORKDIR}/temp/log.do_rootfs_recommend.${PID}"
131 ${RPM} -D "_dbpath ${IMAGE_ROOTFS}/install" -D "`cat ${DEPLOY_DIR_RPM}/solvedb.macro`" \
132 -D "__dbi_cdb create mp_mmapsize=128Mb mp_size=1Mb nofsync private" \
133 -U --justdb --noscripts --notriggers --noparentdirs --nolinktos --ignoresize \
134 $pkg_name >> "${WORKDIR}/temp/log.do_rootfs_recommend.${PID}" 2>&1 || true
135 done
136 cat ${IMAGE_ROOTFS}/install/recommend.list ${IMAGE_ROOTFS}/install/recommend.new | sort -u > ${IMAGE_ROOTFS}/install/recommend.new.list
137 mv ${IMAGE_ROOTFS}/install/recommend.new.list ${IMAGE_ROOTFS}/install/recommend.list
138 rm ${IMAGE_ROOTFS}/install/recommend ${IMAGE_ROOTFS}/install/recommend.new
139 done
140 fi
141
142 # Now that we have a solution, pull out a list of what to install...
143 echo "Manifest: ${IMAGE_ROOTFS}/install/install.manifest"
144 ${RPM} -D "_dbpath ${IMAGE_ROOTFS}/install" -qa --yaml \
145 | grep -i 'Packageorigin' | cut -d : -f 2 > ${IMAGE_ROOTFS}/install/install_solution.manifest
146
147 # Attempt install
148 ${RPM} --root ${IMAGE_ROOTFS} -D "_dbpath ${rpmlibdir}" \
149 --noscripts --notriggers --noparentdirs --nolinktos \
150 -D "__dbi_cdb create mp_mmapsize=128Mb mp_size=1Mb nofsync private" \
151 -Uhv ${IMAGE_ROOTFS}/install/install_solution.manifest
152 61
153 export D=${IMAGE_ROOTFS} 62 export D=${IMAGE_ROOTFS}
154 export OFFLINE_ROOT=${IMAGE_ROOTFS} 63 export OFFLINE_ROOT=${IMAGE_ROOTFS}
@@ -159,6 +68,7 @@ fakeroot rootfs_rpm_do_rootfs () {
159 68
160 mkdir -p ${IMAGE_ROOTFS}/etc/rpm-postinsts/ 69 mkdir -p ${IMAGE_ROOTFS}/etc/rpm-postinsts/
161 ${RPM} --root ${IMAGE_ROOTFS} -D '_dbpath ${rpmlibdir}' -qa \ 70 ${RPM} --root ${IMAGE_ROOTFS} -D '_dbpath ${rpmlibdir}' -qa \
71 -D "__dbi_txn create nofsync private" \
162 --qf 'Name: %{NAME}\n%|POSTIN?{postinstall scriptlet%|POSTINPROG?{ (using %{POSTINPROG})}|:\n%{POSTIN}\n}:{%|POSTINPROG?{postinstall program: %{POSTINPROG}\n}|}|' \ 72 --qf 'Name: %{NAME}\n%|POSTIN?{postinstall scriptlet%|POSTINPROG?{ (using %{POSTINPROG})}|:\n%{POSTIN}\n}:{%|POSTINPROG?{postinstall program: %{POSTINPROG}\n}|}|' \
163 > ${IMAGE_ROOTFS}/etc/rpm-postinsts/combined 73 > ${IMAGE_ROOTFS}/etc/rpm-postinsts/combined
164 awk -f ${AWKPOSTINSTSCRIPT} < ${IMAGE_ROOTFS}/etc/rpm-postinsts/combined 74 awk -f ${AWKPOSTINSTSCRIPT} < ${IMAGE_ROOTFS}/etc/rpm-postinsts/combined
@@ -202,54 +112,25 @@ EOF
202 # remove lock files 112 # remove lock files
203 rm -f ${IMAGE_ROOTFS}${rpmlibdir}/__db.* 113 rm -f ${IMAGE_ROOTFS}${rpmlibdir}/__db.*
204 114
205 # remove resolver files and manifests 115 # Move manifests into the directory with the logs
206 rm -f ${IMAGE_ROOTFS}/install/install.manifest 116 mv ${IMAGE_ROOTFS}/install/*.manifest ${T}/
117
118 # Remove all remaining resolver files
119 rm -rf ${IMAGE_ROOTFS}/install
207 120
208 log_check rootfs 121 log_check rootfs
209 122
210 # Workaround so the parser knows we need the resolve_package function! 123 # Workaround so the parser knows we need the resolve_package function!
211 if false ; then 124 if false ; then
212 resolve_package foo || true 125 resolve_package_rpm foo ${RPMCONF_TARGET_BASE}.conf || true
213 fi 126 fi
214} 127}
215 128
216rootfs_rpm_log_check() {
217 target="$1"
218 lf_path="$2"
219
220 lf_txt="`cat $lf_path`"
221 for keyword_die in "Cannot find package" "exit 1" ERR Fail
222 do
223 if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1
224 then
225 echo "log_check: There were error messages in the logfile"
226 echo -e "log_check: Matched keyword: [$keyword_die]\n"
227 echo "$lf_txt" | grep -v log_check | grep -C 5 -i "$keyword_die"
228 echo ""
229 do_exit=1
230 fi
231 done
232 test "$do_exit" = 1 && exit 1
233 true
234}
235
236remove_packaging_data_files() { 129remove_packaging_data_files() {
237 rm -rf ${IMAGE_ROOTFS}${rpmlibdir} 130 rm -rf ${IMAGE_ROOTFS}${rpmlibdir}
238 rm -rf ${IMAGE_ROOTFS}${opkglibdir} 131 rm -rf ${IMAGE_ROOTFS}${opkglibdir}
239} 132}
240 133
241# Resolve package names to filepaths
242resolve_package() {
243 pkg="$1"
244 pkg_name=""
245 for solve in `cat ${DEPLOY_DIR_RPM}/solvedb.conf`; do
246 pkg_name=$(${RPM} -D "_dbpath $solve" -D "_dbi_tags_3 Packages:Name:Basenames:Providename:Nvra" -D "__dbi_cdb create mp_mmapsize=128Mb mp_size=1Mb nofsync" -q --yaml $pkg | grep -i 'Packageorigin' | cut -d : -f 2)
247 if [ -n "$pkg_name" ]; then
248 break;
249 fi
250 done
251 echo $pkg_name
252}
253 134
254install_all_locales() { 135install_all_locales() {
255 PACKAGES_TO_INSTALL="" 136 PACKAGES_TO_INSTALL=""
@@ -257,7 +138,7 @@ install_all_locales() {
257 # Generate list of installed packages... 138 # Generate list of installed packages...
258 INSTALLED_PACKAGES=$( \ 139 INSTALLED_PACKAGES=$( \
259 ${RPM} --root ${IMAGE_ROOTFS} -D "_dbpath ${rpmlibdir}" \ 140 ${RPM} --root ${IMAGE_ROOTFS} -D "_dbpath ${rpmlibdir}" \
260 -D "__dbi_cdb create mp_mmapsize=128Mb mp_size=1Mb nofsync private" \ 141 -D "__dbi_txn create nofsync private" \
261 -qa --qf "[%{NAME}\n]" | egrep -v -- "(-locale-|-dev$|-doc$|^kernel|^glibc|^ttf|^task|^perl|^python)" \ 142 -qa --qf "[%{NAME}\n]" | egrep -v -- "(-locale-|-dev$|-doc$|^kernel|^glibc|^ttf|^task|^perl|^python)" \
262 ) 143 )
263 144
@@ -265,11 +146,11 @@ install_all_locales() {
265 # but this should be good enough for the few users of this function... 146 # but this should be good enough for the few users of this function...
266 for pkg in $INSTALLED_PACKAGES; do 147 for pkg in $INSTALLED_PACKAGES; do
267 for lang in ${IMAGE_LOCALES}; do 148 for lang in ${IMAGE_LOCALES}; do
268 pkg_name=$(resolve_package $pkg-locale-$lang) 149 pkg_name=$(resolve_package_rpm $pkg-locale-$lang ${RPMCONF_TARGET_BASE}.conf)
269 if [ -n "$pkg_name" ]; then 150 if [ -n "$pkg_name" ]; then
270 ${RPM} --root ${IMAGE_ROOTFS} -D "_dbpath ${rpmlibdir}" \ 151 ${RPM} --root ${IMAGE_ROOTFS} -D "_dbpath ${rpmlibdir}" \
152 -D "__dbi_txn create nofsync private" \
271 --noscripts --notriggers --noparentdirs --nolinktos \ 153 --noscripts --notriggers --noparentdirs --nolinktos \
272 -D "__dbi_cdb create mp_mmapsize=128Mb mp_size=1Mb nofsync private" \
273 -Uhv $pkg_name || true 154 -Uhv $pkg_name || true
274 fi 155 fi
275 done 156 done
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 9d183e352f..13940f81db 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -124,6 +124,14 @@ def check_sanity(e):
124 if data.getVar('MACHINE', e.data, True): 124 if data.getVar('MACHINE', e.data, True):
125 if not check_conf_exists("conf/machine/${MACHINE}.conf", e.data): 125 if not check_conf_exists("conf/machine/${MACHINE}.conf", e.data):
126 messages = messages + 'Please set a valid MACHINE in your local.conf\n' 126 messages = messages + 'Please set a valid MACHINE in your local.conf\n'
127
128 # Check that DL_DIR is set, exists and is writable. In theory, we should never even hit the check if DL_DIR isn't
129 # set, since so much relies on it being set.
130 dldir = data.getVar('DL_DIR', e.data, True)
131 if not dldir:
132 messages = messages + "DL_DIR is not set. Your environment is misconfigured, check that DL_DIR is set, and if the directory exists, that it is writable. \n"
133 if os.path.exists(dldir) and not os.access(dldir, os.W_OK):
134 messages = messages + "DL_DIR: %s exists but you do not appear to have write access to it. \n" % dldir
127 135
128 # Check that the DISTRO is valid 136 # Check that the DISTRO is valid
129 # need to take into account DISTRO renaming DISTRO 137 # need to take into account DISTRO renaming DISTRO
@@ -155,6 +163,9 @@ def check_sanity(e):
155 if not check_app_exists("qemu-arm", e.data): 163 if not check_app_exists("qemu-arm", e.data):
156 messages = messages + "qemu-native was in ASSUME_PROVIDED but the QEMU binaries (qemu-arm) can't be found in PATH" 164 messages = messages + "qemu-native was in ASSUME_PROVIDED but the QEMU binaries (qemu-arm) can't be found in PATH"
157 165
166 if "." in data.getVar('PATH', e.data, True).split(":"):
167 messages = messages + "PATH contains '.' which will break the build, please remove this"
168
158 if data.getVar('TARGET_ARCH', e.data, True) == "arm": 169 if data.getVar('TARGET_ARCH', e.data, True) == "arm":
159 # This path is no longer user-readable in modern (very recent) Linux 170 # This path is no longer user-readable in modern (very recent) Linux
160 try: 171 try:
@@ -178,11 +189,12 @@ def check_sanity(e):
178 if not data.getVar( 'DISPLAY', e.data, True ) and data.getVar( 'IMAGETEST', e.data, True ) == 'qemu': 189 if not data.getVar( 'DISPLAY', e.data, True ) and data.getVar( 'IMAGETEST', e.data, True ) == 'qemu':
179 messages = messages + 'qemuimagetest needs a X desktop to start qemu, please set DISPLAY correctly (e.g. DISPLAY=:1.0)\n' 190 messages = messages + 'qemuimagetest needs a X desktop to start qemu, please set DISPLAY correctly (e.g. DISPLAY=:1.0)\n'
180 191
181 # Ensure we have the binary for TERMCMD, as when patch application fails the error is fairly intimidating 192 if data.getVar('PATCHRESOLVE', e.data, True) != 'noop':
182 termcmd = data.getVar("TERMCMD", e.data, True) 193 # Ensure we have the binary for TERMCMD, as when patch application fails the error is fairly intimidating
183 term = termcmd.split()[0] 194 termcmd = data.getVar("TERMCMD", e.data, True)
184 if not check_app_exists(term, e.data): 195 term = termcmd.split()[0]
185 messages = messages + "The console for use in patch error resolution is not available, please install %s or set TERMCMD and TERMCMDRUN (as documented in local.conf).\n" % term 196 if not check_app_exists(term, e.data):
197 messages = messages + "The console for use in patch error resolution is not available, please install %s or set TERMCMD and TERMCMDRUN (as documented in local.conf).\n" % term
186 198
187 if os.path.basename(os.readlink('/bin/sh')) == 'dash': 199 if os.path.basename(os.readlink('/bin/sh')) == 'dash':
188 messages = messages + "Using dash as /bin/sh causes various subtle build problems, please use bash instead (e.g. 'dpkg-reconfigure dash' on an Ubuntu system.\n" 200 messages = messages + "Using dash as /bin/sh causes various subtle build problems, please use bash instead (e.g. 'dpkg-reconfigure dash' on an Ubuntu system.\n"
@@ -196,9 +208,6 @@ def check_sanity(e):
196 if not oes_bb_conf: 208 if not oes_bb_conf:
197 messages = messages + 'You do not include OpenEmbeddeds version of conf/bitbake.conf. This means your environment is misconfigured, in particular check BBPATH.\n' 209 messages = messages + 'You do not include OpenEmbeddeds version of conf/bitbake.conf. This means your environment is misconfigured, in particular check BBPATH.\n'
198 210
199 if data.getVar('SDK_ARCH', e.data, True) == 'i686':
200 messages = messages + '"Please set SDKMACHINE to i586. It is currently defaulting to the build machine architecture of i686 and this is known to have issues (see local.conf).\n'
201
202 nolibs = data.getVar('NO32LIBS', e.data, True) 211 nolibs = data.getVar('NO32LIBS', e.data, True)
203 if not nolibs: 212 if not nolibs:
204 lib32path = '/lib' 213 lib32path = '/lib'
@@ -292,7 +301,7 @@ def check_sanity(e):
292 f.write(current_abi) 301 f.write(current_abi)
293 elif (abi != current_abi): 302 elif (abi != current_abi):
294 # Code to convert from one ABI to another could go here if possible. 303 # Code to convert from one ABI to another could go here if possible.
295 messages = messages + "Error, TMPDIR has changed ABI (%s to %s) and you need to either rebuild, revert or adjust it at your own risk.\n" % (abi, current_abi) 304 messages = messages + "Error, TMPDIR has changed its layout version number (%s to %s) and you need to either rebuild, revert or adjust it at your own risk.\n" % (abi, current_abi)
296 else: 305 else:
297 f = file(abifile, "w") 306 f = file(abifile, "w")
298 f.write(current_abi) 307 f.write(current_abi)
@@ -300,7 +309,7 @@ def check_sanity(e):
300 309
301 oeroot = data.getVar('POKYBASE', e.data) 310 oeroot = data.getVar('POKYBASE', e.data)
302 if oeroot.find ('+') != -1: 311 if oeroot.find ('+') != -1:
303 messages = messages + "Error, you have an invalid character (+) in your POKYBASE directory path. Please more Poky to a directory which doesn't include a +." 312 messages = messages + "Error, you have an invalid character (+) in your POKYBASE directory path. Please move Poky to a directory which doesn't include a +."
304 elif oeroot.find (' ') != -1: 313 elif oeroot.find (' ') != -1:
305 messages = messages + "Error, you have a space in your POKYBASE directory path. Please move Poky to a directory which doesn't include a space." 314 messages = messages + "Error, you have a space in your POKYBASE directory path. Please move Poky to a directory which doesn't include a space."
306 315
@@ -309,9 +318,8 @@ def check_sanity(e):
309 318
310addhandler check_sanity_eventhandler 319addhandler check_sanity_eventhandler
311python check_sanity_eventhandler() { 320python check_sanity_eventhandler() {
312 from bb.event import Handled, NotHandled
313 if bb.event.getName(e) == "ConfigParsed" and bb.data.getVar("BB_WORKERCONTEXT", e.data, True) != "1": 321 if bb.event.getName(e) == "ConfigParsed" and bb.data.getVar("BB_WORKERCONTEXT", e.data, True) != "1":
314 check_sanity(e) 322 check_sanity(e)
315 323
316 return NotHandled 324 return
317} 325}
diff --git a/meta/classes/setuptools.bbclass b/meta/classes/setuptools.bbclass
new file mode 100644
index 0000000000..ced9509df2
--- /dev/null
+++ b/meta/classes/setuptools.bbclass
@@ -0,0 +1,8 @@
1inherit distutils
2
3DEPENDS += "python-setuptools-native"
4
5DISTUTILS_INSTALL_ARGS = "--root=${D} \
6 --single-version-externally-managed \
7 --prefix=${prefix} \
8 --install-data=${datadir}"
diff --git a/meta/classes/siteconfig.bbclass b/meta/classes/siteconfig.bbclass
index 37d910e1da..0813c2543e 100644
--- a/meta/classes/siteconfig.bbclass
+++ b/meta/classes/siteconfig.bbclass
@@ -10,18 +10,21 @@ python siteconfig_do_siteconfig () {
10 sstate_install(shared_state, d) 10 sstate_install(shared_state, d)
11} 11}
12 12
13EXTRASITECONFIG ?= ""
14
13siteconfig_do_siteconfig_gencache () { 15siteconfig_do_siteconfig_gencache () {
14 mkdir -p ${WORKDIR}/site_config 16 mkdir -p ${WORKDIR}/site_config_${MACHINE}
15 gen-site-config ${FILE_DIRNAME}/site_config \ 17 gen-site-config ${FILE_DIRNAME}/site_config \
16 >${WORKDIR}/site_config/configure.ac 18 >${WORKDIR}/site_config_${MACHINE}/configure.ac
17 cd ${WORKDIR}/site_config 19 cd ${WORKDIR}/site_config_${MACHINE}
18 autoconf 20 autoconf
19 CONFIG_SITE="" ./configure ${CONFIGUREOPTS} --cache-file ${PN}_cache 21 CONFIG_SITE="" ${EXTRASITECONFIG} ./configure ${CONFIGUREOPTS} --cache-file ${PN}_cache
20 sed -n -e "/ac_cv_c_bigendian/p" -e "/ac_cv_sizeof_/p" \ 22 sed -n -e "/ac_cv_c_bigendian/p" -e "/ac_cv_sizeof_/p" \
21 -e "/ac_cv_type_/p" -e "/ac_cv_header_/p" -e "/ac_cv_func_/p" \ 23 -e "/ac_cv_type_/p" -e "/ac_cv_header_/p" -e "/ac_cv_func_/p" \
22 < ${PN}_cache > ${PN}_config 24 < ${PN}_cache > ${PN}_config
23 mkdir -p ${SYSROOT_DESTDIR}${SITECONFIG_SYSROOTCACHE} 25 mkdir -p ${SYSROOT_DESTDIR}${datadir}/${TARGET_SYS}_config_site.d
24 cp ${PN}_config ${SYSROOT_DESTDIR}${SITECONFIG_SYSROOTCACHE} 26 cp ${PN}_config ${SYSROOT_DESTDIR}${datadir}/${TARGET_SYS}_config_site.d
27
25} 28}
26 29
27do_populate_sysroot[sstate-interceptfuncs] += "do_siteconfig " 30do_populate_sysroot[sstate-interceptfuncs] += "do_siteconfig "
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 0ba130c886..e4564e4b07 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -1,11 +1,11 @@
1SSTATE_VERSION = "1" 1SSTATE_VERSION = "2"
2 2
3SSTATE_MANIFESTS = "${TMPDIR}/sstate-control" 3SSTATE_MANIFESTS = "${TMPDIR}/sstate-control"
4SSTATE_MANFILEBASE = "${SSTATE_MANIFESTS}/manifest-${SSTATE_PKGARCH}-" 4SSTATE_MANFILEBASE = "${SSTATE_MANIFESTS}/manifest-${SSTATE_MANMACH}-"
5SSTATE_MANFILEPREFIX = "${SSTATE_MANFILEBASE}${PN}" 5SSTATE_MANFILEPREFIX = "${SSTATE_MANFILEBASE}${PN}"
6 6
7 7
8SSTATE_PKGARCH = "${BASE_PACKAGE_ARCH}" 8SSTATE_PKGARCH = "${MULTIMACH_ARCH}"
9SSTATE_PKGSPEC = "sstate-${PN}-${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}-${PV}-${PR}-${SSTATE_PKGARCH}-${SSTATE_VERSION}-" 9SSTATE_PKGSPEC = "sstate-${PN}-${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}-${PV}-${PR}-${SSTATE_PKGARCH}-${SSTATE_VERSION}-"
10SSTATE_PKGNAME = "${SSTATE_PKGSPEC}${BB_TASKHASH}" 10SSTATE_PKGNAME = "${SSTATE_PKGSPEC}${BB_TASKHASH}"
11SSTATE_PKG = "${SSTATE_DIR}/${SSTATE_PKGNAME}" 11SSTATE_PKG = "${SSTATE_DIR}/${SSTATE_PKGNAME}"
@@ -14,15 +14,22 @@ SSTATE_SCAN_CMD ?= "find ${SSTATE_BUILDDIR} \( -name "*.la" -o -name "*-config"
14 14
15BB_HASHFILENAME = "${SSTATE_PKGNAME}" 15BB_HASHFILENAME = "${SSTATE_PKGNAME}"
16 16
17SSTATE_MANMACH ?= "${SSTATE_PKGARCH}"
18
17python () { 19python () {
18 if bb.data.inherits_class('native', d): 20 if bb.data.inherits_class('native', d):
19 bb.data.setVar('SSTATE_PKGARCH', bb.data.getVar('BUILD_ARCH', d), d) 21 bb.data.setVar('SSTATE_PKGARCH', bb.data.getVar('BUILD_ARCH', d), d)
20 elif bb.data.inherits_class('cross', d) or bb.data.inherits_class('crosssdk', d): 22 elif bb.data.inherits_class('cross', d):
23 bb.data.setVar('SSTATE_PKGARCH', bb.data.expand("${BUILD_ARCH}_${BASE_PACKAGE_ARCH}", d), d)
24 bb.data.setVar('SSTATE_MANMACH', bb.data.expand("${BUILD_ARCH}_${MACHINE}", d), d)
25 elif bb.data.inherits_class('crosssdk', d):
21 bb.data.setVar('SSTATE_PKGARCH', bb.data.expand("${BUILD_ARCH}_${BASE_PACKAGE_ARCH}", d), d) 26 bb.data.setVar('SSTATE_PKGARCH', bb.data.expand("${BUILD_ARCH}_${BASE_PACKAGE_ARCH}", d), d)
22 elif bb.data.inherits_class('nativesdk', d): 27 elif bb.data.inherits_class('nativesdk', d):
23 bb.data.setVar('SSTATE_PKGARCH', bb.data.expand("${SDK_ARCH}", d), d) 28 bb.data.setVar('SSTATE_PKGARCH', bb.data.expand("${SDK_ARCH}", d), d)
24 elif bb.data.inherits_class('cross-canadian', d): 29 elif bb.data.inherits_class('cross-canadian', d):
25 bb.data.setVar('SSTATE_PKGARCH', bb.data.expand("${SDK_ARCH}_${BASE_PACKAGE_ARCH}", d), d) 30 bb.data.setVar('SSTATE_PKGARCH', bb.data.expand("${SDK_ARCH}_${BASE_PACKAGE_ARCH}", d), d)
31 else:
32 bb.data.setVar('SSTATE_MANMACH', bb.data.expand("${MACHINE}", d), d)
26 33
27 # These classes encode staging paths into their scripts data so can only be 34 # These classes encode staging paths into their scripts data so can only be
28 # reused if we manipulate the paths 35 # reused if we manipulate the paths
@@ -30,17 +37,21 @@ python () {
30 scan_cmd = "grep -Irl ${STAGING_DIR} ${SSTATE_BUILDDIR}" 37 scan_cmd = "grep -Irl ${STAGING_DIR} ${SSTATE_BUILDDIR}"
31 bb.data.setVar('SSTATE_SCAN_CMD', scan_cmd, d) 38 bb.data.setVar('SSTATE_SCAN_CMD', scan_cmd, d)
32 39
40 namemap = []
33 for task in (bb.data.getVar('SSTATETASKS', d, True) or "").split(): 41 for task in (bb.data.getVar('SSTATETASKS', d, True) or "").split():
42 namemap.append(bb.data.getVarFlag(task, 'sstate-name', d))
34 funcs = bb.data.getVarFlag(task, 'prefuncs', d) or "" 43 funcs = bb.data.getVarFlag(task, 'prefuncs', d) or ""
35 funcs = "sstate_task_prefunc " + funcs 44 funcs = "sstate_task_prefunc " + funcs
36 bb.data.setVarFlag(task, 'prefuncs', funcs, d) 45 bb.data.setVarFlag(task, 'prefuncs', funcs, d)
37 funcs = bb.data.getVarFlag(task, 'postfuncs', d) or "" 46 funcs = bb.data.getVarFlag(task, 'postfuncs', d) or ""
38 funcs = funcs + " sstate_task_postfunc" 47 funcs = funcs + " sstate_task_postfunc"
39 bb.data.setVarFlag(task, 'postfuncs', funcs, d) 48 bb.data.setVarFlag(task, 'postfuncs', funcs, d)
49 d.setVar('SSTATETASKNAMES', " ".join(namemap))
40} 50}
41 51
42def sstate_init(name, d): 52def sstate_init(name, task, d):
43 ss = {} 53 ss = {}
54 ss['task'] = task
44 ss['name'] = name 55 ss['name'] = name
45 ss['dirs'] = [] 56 ss['dirs'] = []
46 ss['plaindirs'] = [] 57 ss['plaindirs'] = []
@@ -63,7 +74,7 @@ def sstate_state_fromvars(d, task = None):
63 if not name or len(inputs) != len(outputs): 74 if not name or len(inputs) != len(outputs):
64 bb.fatal("sstate variables not setup correctly?!") 75 bb.fatal("sstate variables not setup correctly?!")
65 76
66 ss = sstate_init(name, d) 77 ss = sstate_init(name, task, d)
67 for i in range(len(inputs)): 78 for i in range(len(inputs)):
68 sstate_add(ss, inputs[i], outputs[i], d) 79 sstate_add(ss, inputs[i], outputs[i], d)
69 ss['lockfiles'] = lockfiles 80 ss['lockfiles'] = lockfiles
@@ -87,30 +98,6 @@ def sstate_install(ss, d):
87 if os.access(manifest, os.R_OK): 98 if os.access(manifest, os.R_OK):
88 bb.fatal("Package already staged (%s)?!" % manifest) 99 bb.fatal("Package already staged (%s)?!" % manifest)
89 100
90 def checkmanifest(pn, task):
91 return os.access(bb.data.expand("${SSTATE_MANFILEBASE}%s.%s" % (pn, task), d), os.R_OK)
92
93 skipinst = False
94 pn = d.getVar("PN", True)
95 if pn == "gcc-cross-initial":
96 if checkmanifest("gcc-cross", "populate-sysroot"):
97 skipinst = True
98 if checkmanifest("gcc-cross-intermediate", "populate-sysroot"):
99 skipinst = True
100 elif pn == "gcc-cross-intermediate":
101 if checkmanifest("gcc-cross", "populate-sysroot"):
102 skipinst = True
103 elif pn == "glibc-initial":
104 if checkmanifest("glibc", "populate-sysroot"):
105 skipinst = True
106 elif pn == "eglibc-initial":
107 if checkmanifest("eglibc", "populate-sysroot"):
108 skipinst = True
109
110 if skipinst:
111 bb.note("Not staging %s.%s as sysroot already contains better functionality" % (pn, ss['name']))
112 return
113
114 locks = [] 101 locks = []
115 for lock in ss['lockfiles']: 102 for lock in ss['lockfiles']:
116 locks.append(bb.utils.lockfile(lock)) 103 locks.append(bb.utils.lockfile(lock))
@@ -168,10 +155,14 @@ def sstate_installpkg(ss, d):
168 fixmefn = sstateinst + "fixmepath" 155 fixmefn = sstateinst + "fixmepath"
169 if os.path.isfile(fixmefn): 156 if os.path.isfile(fixmefn):
170 staging = bb.data.getVar('STAGING_DIR', d, True) 157 staging = bb.data.getVar('STAGING_DIR', d, True)
158 staging_target = bb.data.getVar('STAGING_DIR_TARGET', d, True)
159 staging_host = bb.data.getVar('STAGING_DIR_HOST', d, True)
171 fixmefd = open(fixmefn, "r") 160 fixmefd = open(fixmefn, "r")
172 fixmefiles = fixmefd.readlines() 161 fixmefiles = fixmefd.readlines()
173 fixmefd.close() 162 fixmefd.close()
174 for file in fixmefiles: 163 for file in fixmefiles:
164 os.system("sed -i -e s:FIXMESTAGINGDIRTARGET:%s:g %s" % (staging_target, sstateinst + file))
165 os.system("sed -i -e s:FIXMESTAGINGDIRHOST:%s:g %s" % (staging_host, sstateinst + file))
175 os.system("sed -i -e s:FIXMESTAGINGDIR:%s:g %s" % (staging, sstateinst + file)) 166 os.system("sed -i -e s:FIXMESTAGINGDIR:%s:g %s" % (staging, sstateinst + file))
176 167
177 for state in ss['dirs']: 168 for state in ss['dirs']:
@@ -206,9 +197,6 @@ def sstate_clean_cachefiles(d):
206def sstate_clean_manifest(manifest, d): 197def sstate_clean_manifest(manifest, d):
207 import oe.path 198 import oe.path
208 199
209 if not os.path.exists(manifest):
210 return
211
212 mfile = open(manifest) 200 mfile = open(manifest)
213 entries = mfile.readlines() 201 entries = mfile.readlines()
214 mfile.close() 202 mfile.close()
@@ -232,9 +220,13 @@ def sstate_clean_manifest(manifest, d):
232 oe.path.remove(manifest) 220 oe.path.remove(manifest)
233 221
234def sstate_clean(ss, d): 222def sstate_clean(ss, d):
223 import oe.path
235 224
236 manifest = bb.data.expand("${SSTATE_MANFILEPREFIX}.%s" % ss['name'], d) 225 manifest = bb.data.expand("${SSTATE_MANFILEPREFIX}.%s" % ss['name'], d)
237 226
227 if not os.path.exists(manifest):
228 return
229
238 locks = [] 230 locks = []
239 for lock in ss['lockfiles']: 231 for lock in ss['lockfiles']:
240 locks.append(bb.utils.lockfile(lock)) 232 locks.append(bb.utils.lockfile(lock))
@@ -244,7 +236,8 @@ def sstate_clean(ss, d):
244 for lock in locks: 236 for lock in locks:
245 bb.utils.unlockfile(lock) 237 bb.utils.unlockfile(lock)
246 238
247SCENEFUNCS += "sstate_cleanall" 239 oe.path.remove(d.getVar("STAMP", True) + ".do_" + ss['task'] + "*")
240
248CLEANFUNCS += "sstate_cleanall" 241CLEANFUNCS += "sstate_cleanall"
249 242
250python sstate_cleanall() { 243python sstate_cleanall() {
@@ -261,9 +254,45 @@ python sstate_cleanall() {
261 254
262 for manifest in (os.listdir(manifest_dir)): 255 for manifest in (os.listdir(manifest_dir)):
263 if fnmatch.fnmatch(manifest, manifest_pattern): 256 if fnmatch.fnmatch(manifest, manifest_pattern):
264 sstate_clean_manifest(manifest_dir + "/" + manifest, d) 257 name = manifest.replace(manifest_pattern[:-1], "")
258 namemap = d.getVar('SSTATETASKNAMES', True).split()
259 tasks = d.getVar('SSTATETASKS', True).split()
260 taskname = tasks[namemap.index(name)]
261 shared_state = sstate_state_fromvars(d, taskname[3:])
262 sstate_clean(shared_state, d)
265} 263}
266 264
265def sstate_hardcode_path(d):
266 # Need to remove hardcoded paths and fix these when we install the
267 # staging packages.
268 sstate_scan_cmd = bb.data.getVar('SSTATE_SCAN_CMD', d, True)
269 p = os.popen("%s" % sstate_scan_cmd)
270 file_list = p.read()
271
272 if file_list == "":
273 p.close()
274 return
275
276 staging = bb.data.getVar('STAGING_DIR', d, True)
277 staging_target = bb.data.getVar('STAGING_DIR_TARGET', d, True)
278 staging_host = bb.data.getVar('STAGING_DIR_HOST', d, True)
279 sstate_builddir = bb.data.getVar('SSTATE_BUILDDIR', d, True)
280
281 for i in file_list.split('\n'):
282 if not i:
283 continue
284 if bb.data.inherits_class('native', d) or bb.data.inherits_class('nativesdk', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherits_class('cross-canadian', d):
285 cmd = "sed -i -e s:%s:FIXMESTAGINGDIR:g %s" % (staging, i)
286 elif bb.data.inherits_class('cross', d):
287 cmd = "sed -i -e s:%s:FIXMESTAGINGDIRTARGET:g %s \
288 sed -i -e s:%s:FIXMESTAGINGDIR:g %s" % (staging_target, i, staging, i)
289 else:
290 cmd = "sed -i -e s:%s:FIXMESTAGINGDIRHOST:g %s" % (staging_host, i)
291
292 os.system(cmd)
293 os.system("echo %s | sed -e 's:%s::' >> %sfixmepath" % (i, sstate_builddir, sstate_builddir))
294 p.close()
295
267def sstate_package(ss, d): 296def sstate_package(ss, d):
268 import oe.path 297 import oe.path
269 298
@@ -289,6 +318,7 @@ def sstate_package(ss, d):
289 318
290 bb.data.setVar('SSTATE_BUILDDIR', sstatebuild, d) 319 bb.data.setVar('SSTATE_BUILDDIR', sstatebuild, d)
291 bb.data.setVar('SSTATE_PKG', sstatepkg, d) 320 bb.data.setVar('SSTATE_PKG', sstatepkg, d)
321 sstate_hardcode_path(d)
292 bb.build.exec_func('sstate_create_package', d) 322 bb.build.exec_func('sstate_create_package', d)
293 323
294 bb.siggen.dump_this_task(sstatepkg + ".siginfo", d) 324 bb.siggen.dump_this_task(sstatepkg + ".siginfo", d)
@@ -296,37 +326,40 @@ def sstate_package(ss, d):
296 return 326 return
297 327
298def pstaging_fetch(sstatepkg, d): 328def pstaging_fetch(sstatepkg, d):
299 import bb.fetch
300
301 # only try and fetch if the user has configured a mirror
302 329
330 # Only try and fetch if the user has configured a mirror
303 mirrors = bb.data.getVar('SSTATE_MIRRORS', d, True) 331 mirrors = bb.data.getVar('SSTATE_MIRRORS', d, True)
304 if mirrors: 332 if not mirrors:
305 # Copy the data object and override DL_DIR and SRC_URI 333 return
306 localdata = bb.data.createCopy(d)
307 bb.data.update_data(localdata)
308 334
309 dldir = bb.data.expand("${SSTATE_DIR}", localdata) 335 import bb.fetch2
310 srcuri = "file://" + os.path.basename(sstatepkg) 336 # Copy the data object and override DL_DIR and SRC_URI
337 localdata = bb.data.createCopy(d)
338 bb.data.update_data(localdata)
311 339
312 bb.mkdirhier(dldir) 340 dldir = bb.data.expand("${SSTATE_DIR}", localdata)
341 srcuri = "file://" + os.path.basename(sstatepkg)
313 342
314 bb.data.setVar('DL_DIR', dldir, localdata) 343 bb.mkdirhier(dldir)
315 bb.data.setVar('PREMIRRORS', mirrors, localdata)
316 bb.data.setVar('SRC_URI', srcuri, localdata)
317 344
318 # Try a fetch from the sstate mirror, if it fails just return and 345 bb.data.setVar('DL_DIR', dldir, localdata)
319 # we will build the package 346 bb.data.setVar('PREMIRRORS', mirrors, localdata)
320 try: 347 bb.data.setVar('SRC_URI', srcuri, localdata)
321 bb.fetch.init([srcuri], localdata) 348
322 bb.fetch.go(localdata, [srcuri]) 349 # Try a fetch from the sstate mirror, if it fails just return and
323 # Need to optimise this, if using file:// urls, the fetcher just changes the local path 350 # we will build the package
324 # For now work around by symlinking 351 try:
325 localpath = bb.data.expand(bb.fetch.localpath(srcuri, localdata), localdata) 352 fetcher = bb.fetch2.Fetch([srcuri], localdata)
326 if localpath != sstatepkg and os.path.exists(localpath): 353 fetcher.download()
327 os.symlink(localpath, sstatepkg) 354
328 except: 355 # Need to optimise this, if using file:// urls, the fetcher just changes the local path
329 pass 356 # For now work around by symlinking
357 localpath = bb.data.expand(fetcher.localpath(srcuri), localdata)
358 if localpath != sstatepkg and os.path.exists(localpath) and not os.path.exists(sstatepkg):
359 os.symlink(localpath, sstatepkg)
360
361 except bb.fetch2.BBFetchException:
362 pass
330 363
331def sstate_setscene(d): 364def sstate_setscene(d):
332 shared_state = sstate_state_fromvars(d) 365 shared_state = sstate_state_fromvars(d)
@@ -353,15 +386,13 @@ python sstate_task_postfunc () {
353# set as SSTATE_BUILDDIR 386# set as SSTATE_BUILDDIR
354# 387#
355sstate_create_package () { 388sstate_create_package () {
356 # Need to remove hardcoded paths and fix these when we install the
357 # staging packages.
358 for i in `${SSTATE_SCAN_CMD}` ; do \
359 sed -i -e s:${STAGING_DIR}:FIXMESTAGINGDIR:g $i
360 echo $i | sed -e 's:${SSTATE_BUILDDIR}::' >> ${SSTATE_BUILDDIR}fixmepath
361 done
362
363 cd ${SSTATE_BUILDDIR} 389 cd ${SSTATE_BUILDDIR}
364 tar -cvzf ${SSTATE_PKG} * 390 # Need to handle empty directories
391 if [ "$(ls -A)" ]; then
392 tar -czf ${SSTATE_PKG} *
393 else
394 tar -cz --file=${SSTATE_PKG} --files-from=/dev/null
395 fi
365 396
366 cd ${WORKDIR} 397 cd ${WORKDIR}
367 rm -rf ${SSTATE_BUILDDIR} 398 rm -rf ${SSTATE_BUILDDIR}
@@ -384,6 +415,7 @@ def sstate_checkhashes(sq_fn, sq_task, sq_hash, sq_hashfn, d):
384 # This needs to go away, FIXME 415 # This needs to go away, FIXME
385 mapping = { 416 mapping = {
386 "do_populate_sysroot" : "populate-sysroot", 417 "do_populate_sysroot" : "populate-sysroot",
418 "do_populate_lic" : "populate-lic",
387 "do_package_write_ipk" : "deploy-ipk", 419 "do_package_write_ipk" : "deploy-ipk",
388 "do_package_write_deb" : "deploy-deb", 420 "do_package_write_deb" : "deploy-deb",
389 "do_package_write_rpm" : "deploy-rpm", 421 "do_package_write_rpm" : "deploy-rpm",
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 843256545f..a713734c3f 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -25,19 +25,6 @@ sysroot_stage_libdir() {
25 src="$1" 25 src="$1"
26 dest="$2" 26 dest="$2"
27 27
28 olddir=`pwd`
29 cd $src
30 las=$(find . -name \*.la -type f)
31 cd $olddir
32 echo "Found la files: $las"
33 for i in $las
34 do
35 sed -e 's/^installed=yes$/installed=no/' \
36 -e '/^dependency_libs=/s,${WORKDIR}[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),${STAGING_LIBDIR}/\1,g' \
37 -e "/^dependency_libs=/s,\([[:space:]']\)${libdir},\1${STAGING_LIBDIR},g" \
38 -e "/^dependency_libs=/s,\([[:space:]']\)${base_libdir},\1${STAGING_DIR_HOST}${base_libdir},g" \
39 -i $src/$i
40 done
41 sysroot_stage_dir $src $dest 28 sysroot_stage_dir $src $dest
42} 29}
43 30
@@ -45,46 +32,45 @@ sysroot_stage_dirs() {
45 from="$1" 32 from="$1"
46 to="$2" 33 to="$2"
47 34
48 sysroot_stage_dir $from${includedir} $to${STAGING_INCDIR} 35 sysroot_stage_dir $from${includedir} $to${includedir}
49 if [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then 36 if [ "${BUILD_SYS}" = "${HOST_SYS}" ]; then
50 sysroot_stage_dir $from${bindir} $to${STAGING_DIR_HOST}${bindir} 37 sysroot_stage_dir $from${bindir} $to${bindir}
51 sysroot_stage_dir $from${sbindir} $to${STAGING_DIR_HOST}${sbindir} 38 sysroot_stage_dir $from${sbindir} $to${sbindir}
52 sysroot_stage_dir $from${base_bindir} $to${STAGING_DIR_HOST}${base_bindir} 39 sysroot_stage_dir $from${base_bindir} $to${base_bindir}
53 sysroot_stage_dir $from${base_sbindir} $to${STAGING_DIR_HOST}${base_sbindir} 40 sysroot_stage_dir $from${base_sbindir} $to${base_sbindir}
54 sysroot_stage_dir $from${libexecdir} $to${STAGING_DIR_HOST}${libexecdir} 41 sysroot_stage_dir $from${libexecdir} $to${libexecdir}
55 sysroot_stage_dir $from${sysconfdir} $to${STAGING_DIR_HOST}${sysconfdir} 42 sysroot_stage_dir $from${sysconfdir} $to${sysconfdir}
56 sysroot_stage_dir $from${localstatedir} $to${STAGING_DIR_HOST}${localstatedir} 43 sysroot_stage_dir $from${localstatedir} $to${localstatedir}
57 fi 44 fi
58 if [ -d $from${libdir} ] 45 if [ -d $from${libdir} ]
59 then 46 then
60 sysroot_stage_libdir $from/${libdir} $to${STAGING_LIBDIR} 47 sysroot_stage_libdir $from/${libdir} $to${libdir}
61 fi 48 fi
62 if [ -d $from${base_libdir} ] 49 if [ -d $from${base_libdir} ]
63 then 50 then
64 sysroot_stage_libdir $from${base_libdir} $to${STAGING_DIR_HOST}${base_libdir} 51 sysroot_stage_libdir $from${base_libdir} $to${base_libdir}
65 fi 52 fi
66 sysroot_stage_dir $from${datadir} $to${STAGING_DATADIR} 53 sysroot_stage_dir $from${datadir} $to${datadir}
67} 54}
68 55
69sysroot_stage_all() { 56sysroot_stage_all() {
70 sysroot_stage_dirs ${D} ${SYSROOT_DESTDIR} 57 sysroot_stage_dirs ${D} ${SYSROOT_DESTDIR}
71} 58}
72 59
73do_populate_sysroot[dirs] = "${STAGING_DIR_TARGET}/${bindir} ${STAGING_DIR_TARGET}/${libdir} \ 60do_populate_sysroot[dirs] = "${SYSROOT_DESTDIR}"
74 ${STAGING_DIR_TARGET}/${includedir} \
75 ${STAGING_BINDIR_NATIVE} ${STAGING_LIBDIR_NATIVE} \
76 ${STAGING_INCDIR_NATIVE} \
77 ${STAGING_DATADIR} \
78 ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET} \
79 ${S} ${B}"
80 61
81# Could be compile but populate_sysroot and do_install shouldn't run at the same time
82addtask populate_sysroot after do_install 62addtask populate_sysroot after do_install
83 63
84SYSROOT_PREPROCESS_FUNCS ?= "" 64SYSROOT_PREPROCESS_FUNCS ?= ""
85SYSROOT_DESTDIR = "${WORKDIR}/sysroot-destdir/" 65SYSROOT_DESTDIR = "${WORKDIR}/sysroot-destdir/"
86SYSROOT_LOCK = "${STAGING_DIR}/staging.lock" 66SYSROOT_LOCK = "${STAGING_DIR}/staging.lock"
87 67
68# We clean out any existing sstate from the sysroot if we rerun configure
69python sysroot_cleansstate () {
70 ss = sstate_state_fromvars(d, "populate_sysroot")
71 sstate_clean(ss, d)
72}
73do_configure[prefuncs] += "sysroot_cleansstate"
88 74
89python do_populate_sysroot () { 75python do_populate_sysroot () {
90 # 76 #
@@ -103,15 +89,15 @@ python do_populate_sysroot () {
103 89
104SSTATETASKS += "do_populate_sysroot" 90SSTATETASKS += "do_populate_sysroot"
105do_populate_sysroot[sstate-name] = "populate-sysroot" 91do_populate_sysroot[sstate-name] = "populate-sysroot"
106do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR}" 92do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}"
107do_populate_sysroot[sstate-outputdirs] = "${TMPDIR}/sysroots" 93do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_HOST}/"
94do_populate_sysroot[stamp-extra-info] = "${MACHINE}"
108 95
109python do_populate_sysroot_setscene () { 96python do_populate_sysroot_setscene () {
110 sstate_setscene(d) 97 sstate_setscene(d)
111} 98}
112addtask do_populate_sysroot_setscene 99addtask do_populate_sysroot_setscene
113 100
114
115python () { 101python () {
116 if bb.data.getVar('do_stage', d, True) is not None: 102 if bb.data.getVar('do_stage', d, True) is not None:
117 bb.fatal("Legacy staging found for %s as it has a do_stage function. This will need conversion to a do_install or often simply removal to work with Poky" % bb.data.getVar("FILE", d, True)) 103 bb.fatal("Legacy staging found for %s as it has a do_stage function. This will need conversion to a do_install or often simply removal to work with Poky" % bb.data.getVar("FILE", d, True))
diff --git a/meta/classes/tinderclient.bbclass b/meta/classes/tinderclient.bbclass
index 28df0f9505..1027c7cef4 100644
--- a/meta/classes/tinderclient.bbclass
+++ b/meta/classes/tinderclient.bbclass
@@ -367,14 +367,14 @@ def tinder_do_tinder_report(event):
367addhandler tinderclient_eventhandler 367addhandler tinderclient_eventhandler
368python tinderclient_eventhandler() { 368python tinderclient_eventhandler() {
369 from bb import note, error, data 369 from bb import note, error, data
370 from bb.event import NotHandled, getName 370 from bb.event import getName
371 371
372 if e.data is None or getName(e) == "MsgNote": 372 if e.data is None or getName(e) == "MsgNote":
373 return NotHandled 373 return
374 374
375 do_tinder_report = data.getVar('TINDER_REPORT', e.data, True) 375 do_tinder_report = data.getVar('TINDER_REPORT', e.data, True)
376 if do_tinder_report and do_tinder_report == "1": 376 if do_tinder_report and do_tinder_report == "1":
377 tinder_do_tinder_report(e) 377 tinder_do_tinder_report(e)
378 378
379 return NotHandled 379 return
380} 380}
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
index c393d99644..b2165bc275 100644
--- a/meta/classes/toolchain-scripts.bbclass
+++ b/meta/classes/toolchain-scripts.bbclass
@@ -49,8 +49,8 @@ toolchain_create_tree_env_script () {
49 echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script 49 echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script
50 echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS}"' >> $script 50 echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${BUILD_SYS}"' >> $script
51 if [ "${TARGET_OS}" = "darwin8" ]; then 51 if [ "${TARGET_OS}" = "darwin8" ]; then
52 echo 'export TARGET_CFLAGS="-I${STAGING_DIR}${TARGET_SYS}${includedir}"' >> $script 52 echo 'export TARGET_CFLAGS="-I${STAGING_DIR}${MACHINE}${includedir}"' >> $script
53 echo 'export TARGET_LDFLAGS="-L${STAGING_DIR}${TARGET_SYS}${libdir}"' >> $script 53 echo 'export TARGET_LDFLAGS="-L${STAGING_DIR}${MACHINE}${libdir}"' >> $script
54 # Workaround darwin toolchain sysroot path problems 54 # Workaround darwin toolchain sysroot path problems
55 cd ${SDK_OUTPUT}${SDKTARGETSYSROOT}/usr 55 cd ${SDK_OUTPUT}${SDKTARGETSYSROOT}/usr
56 ln -s /usr/local local 56 ln -s /usr/local local
@@ -60,3 +60,33 @@ toolchain_create_tree_env_script () {
60 echo 'export POKY_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script 60 echo 'export POKY_NATIVE_SYSROOT="${STAGING_DIR_NATIVE}"' >> $script
61 echo 'export POKY_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script 61 echo 'export POKY_TARGET_SYSROOT="${STAGING_DIR_TARGET}"' >> $script
62} 62}
63
64# This function creates an environment-setup-script for use by the ADT installer
65toolchain_create_sdk_env_script_for_installer () {
66 # Create environment setup script
67 script=${SDK_OUTPUT}/${SDKPATH}/environment-setup-${OLD_MULTIMACH_TARGET_SYS}
68 rm -f $script
69 touch $script
70 echo 'export PATH=${SDKPATHNATIVE}${bindir_nativesdk}:${SDKPATHNATIVE}${bindir_nativesdk}/${OLD_MULTIMACH_TARGET_SYS}:$PATH' >> $script
71 echo 'export PKG_CONFIG_SYSROOT_DIR=##SDKTARGETSYSROOT##' >> $script
72 echo 'export PKG_CONFIG_PATH=##SDKTARGETSYSROOT##${target_libdir}/pkgconfig' >> $script
73 echo 'export CONFIG_SITE=${SDKPATH}/site-config-${OLD_MULTIMACH_TARGET_SYS}' >> $script
74 echo 'export CC=${TARGET_PREFIX}gcc' >> $script
75 echo 'export CXX=${TARGET_PREFIX}g++' >> $script
76 echo 'export GDB=${TARGET_PREFIX}gdb' >> $script
77 echo 'export TARGET_PREFIX=${TARGET_PREFIX}' >> $script
78 echo 'export CONFIGURE_FLAGS="--target=${TARGET_SYS} --host=${TARGET_SYS} --build=${SDK_ARCH}-linux"' >> $script
79 if [ "${TARGET_OS}" = "darwin8" ]; then
80 echo 'export TARGET_CFLAGS="-I##SDKTARGETSYSROOT##${target_includedir}"' >> $script
81 echo 'export TARGET_LDFLAGS="-L##SDKTARGETSYSROOT##{target_libdir}"' >> $script
82 # Workaround darwin toolchain sysroot path problems
83 cd ${SDK_OUTPUT}${SDKTARGETSYSROOT}/usr
84 ln -s /usr/local local
85 fi
86 echo 'export CFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script
87 echo 'export CXXFLAGS="${TARGET_CC_ARCH} --sysroot=##SDKTARGETSYSROOT##"' >> $script
88 echo 'export POKY_NATIVE_SYSROOT="${SDKPATHNATIVE}"' >> $script
89 echo 'export POKY_TARGET_SYSROOT="##SDKTARGETSYSROOT##"' >> $script
90 echo 'export POKY_DISTRO_VERSION="${DISTRO_VERSION}"' >> $script
91 echo 'export POKY_SDK_VERSION="${SDK_VERSION}"' >> $script
92}
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index 57137c60b4..7e4dda7cbb 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -1,5 +1,9 @@
1UPDATERCPN ?= "${PN}"
2
1DEPENDS_append = " update-rc.d-native" 3DEPENDS_append = " update-rc.d-native"
2RDEPENDS_${PN}_append = " update-rc.d" 4UPDATERCD = "update-rc.d"
5UPDATERCD_virtclass-native = ""
6RDEPENDS_${UPDATERCPN}_append = " ${UPDATERCD}"
3 7
4INITSCRIPT_PARAMS ?= "defaults" 8INITSCRIPT_PARAMS ?= "defaults"
5 9
@@ -69,7 +73,7 @@ python populate_packages_prepend () {
69 73
70 pkgs = bb.data.getVar('INITSCRIPT_PACKAGES', d, 1) 74 pkgs = bb.data.getVar('INITSCRIPT_PACKAGES', d, 1)
71 if pkgs == None: 75 if pkgs == None:
72 pkgs = bb.data.getVar('PN', d, 1) 76 pkgs = bb.data.getVar('UPDATERCPN', d, 1)
73 packages = (bb.data.getVar('PACKAGES', d, 1) or "").split() 77 packages = (bb.data.getVar('PACKAGES', d, 1) or "").split()
74 if not pkgs in packages and packages != []: 78 if not pkgs in packages and packages != []:
75 pkgs = packages[0] 79 pkgs = packages[0]
diff --git a/meta/classes/utility-tasks.bbclass b/meta/classes/utility-tasks.bbclass
index db22973402..aeac2bce40 100644
--- a/meta/classes/utility-tasks.bbclass
+++ b/meta/classes/utility-tasks.bbclass
@@ -50,33 +50,18 @@ python do_rebuild() {
50addtask checkuri 50addtask checkuri
51do_checkuri[nostamp] = "1" 51do_checkuri[nostamp] = "1"
52python do_checkuri() { 52python do_checkuri() {
53 import sys 53 src_uri = (bb.data.getVar('SRC_URI', d, True) or "").split()
54 if len(src_uri) == 0:
55 return
54 56
55 localdata = bb.data.createCopy(d) 57 localdata = bb.data.createCopy(d)
56 bb.data.update_data(localdata) 58 bb.data.update_data(localdata)
57 59
58 src_uri = bb.data.getVar('SRC_URI', localdata, 1) 60 try:
59 61 fetcher = bb.fetch2.Fetch(src_uri, localdata)
60 try: 62 fetcher.checkstatus()
61 bb.fetch.init(src_uri.split(),d) 63 except bb.fetch2.BBFetchException, e:
62 except bb.fetch.NoMethodError: 64 raise bb.build.FuncFailed(e)
63 (type, value, traceback) = sys.exc_info()
64 raise bb.build.FuncFailed("No method: %s" % value)
65
66 try:
67 bb.fetch.checkstatus(localdata)
68 except bb.fetch.MissingParameterError:
69 (type, value, traceback) = sys.exc_info()
70 raise bb.build.FuncFailed("Missing parameters: %s" % value)
71 except bb.fetch.FetchError:
72 (type, value, traceback) = sys.exc_info()
73 raise bb.build.FuncFailed("Fetch failed: %s" % value)
74 except bb.fetch.MD5SumError:
75 (type, value, traceback) = sys.exc_info()
76 raise bb.build.FuncFailed("MD5 failed: %s" % value)
77 except:
78 (type, value, traceback) = sys.exc_info()
79 raise bb.build.FuncFailed("Unknown fetch Error: %s" % value)
80} 65}
81 66
82addtask checkuriall after do_checkuri 67addtask checkuriall after do_checkuri
diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass
index 746f46ce52..455b49d54a 100644
--- a/meta/classes/utils.bbclass
+++ b/meta/classes/utils.bbclass
@@ -51,11 +51,12 @@ def machine_paths(d):
51def is_machine_specific(d): 51def is_machine_specific(d):
52 """Determine whether the current recipe is machine specific""" 52 """Determine whether the current recipe is machine specific"""
53 machinepaths = set(machine_paths(d)) 53 machinepaths = set(machine_paths(d))
54 urldatadict = bb.fetch.init(d.getVar("SRC_URI", True).split(), d, True) 54 srcuri = d.getVar("SRC_URI", True).split()
55 for urldata in (urldata for urldata in urldatadict.itervalues() 55 for url in srcuri:
56 if urldata.type == "file"): 56 fetcher = bb.fetch2.Fetch([srcuri], d)
57 if any(urldata.localpath.startswith(mp + "/") for mp in machinepaths): 57 if url.startswith("file://"):
58 return True 58 if any(fetcher.localpath(url).startswith(mp + "/") for mp in machinepaths):
59 return True
59 60
60def oe_popen_env(d): 61def oe_popen_env(d):
61 env = d.getVar("__oe_popen_env", False) 62 env = d.getVar("__oe_popen_env", False)
@@ -199,19 +200,8 @@ oe_libinstall() {
199 __runcmd install -m 0644 $dota $destpath/ 200 __runcmd install -m 0644 $dota $destpath/
200 fi 201 fi
201 if [ -f "$dotlai" -a -n "$libtool" ]; then 202 if [ -f "$dotlai" -a -n "$libtool" ]; then
202 if test -n "$staging_install" 203 rm -f $destpath/$libname.la
203 then 204 __runcmd install -m 0644 $dotlai $destpath/$libname.la
204 # stop libtool using the final directory name for libraries
205 # in staging:
206 __runcmd rm -f $destpath/$libname.la
207 __runcmd sed -e 's/^installed=yes$/installed=no/' \
208 -e '/^dependency_libs=/s,${WORKDIR}[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),${STAGING_LIBDIR}/\1,g' \
209 -e "/^dependency_libs=/s,\([[:space:]']\)${libdir},\1${STAGING_LIBDIR},g" \
210 $dotlai >$destpath/$libname.la
211 else
212 rm -f $destpath/$libname.la
213 __runcmd install -m 0644 $dotlai $destpath/$libname.la
214 fi
215 fi 205 fi
216 206
217 for name in $library_names; do 207 for name in $library_names; do
diff --git a/meta/conf/abi_version.conf b/meta/conf/abi_version.conf
index 3920766a47..f2919e5b60 100644
--- a/meta/conf/abi_version.conf
+++ b/meta/conf/abi_version.conf
@@ -4,4 +4,4 @@
4# that breaks the format and have been previously discussed on the mailing list 4# that breaks the format and have been previously discussed on the mailing list
5# with general agreement from the core team. 5# with general agreement from the core team.
6# 6#
7OELAYOUT_ABI = "6" 7OELAYOUT_ABI = "7"
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index c26beea959..da50fe5c4b 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -43,6 +43,7 @@ includedir_native = "${prefix_native}/include"
43libdir_native = "${prefix_native}/lib" 43libdir_native = "${prefix_native}/lib"
44datadir_native = "${prefix_native}/share" 44datadir_native = "${prefix_native}/share"
45bindir_cross = "/bin" 45bindir_cross = "/bin"
46bindir_crossscripts = "${bindir}/crossscripts"
46prefix_nativesdk = "/usr" 47prefix_nativesdk = "/usr"
47bindir_nativesdk = "${prefix_nativesdk}/bin" 48bindir_nativesdk = "${prefix_nativesdk}/bin"
48libdir_nativesdk = "${prefix_nativesdk}/lib" 49libdir_nativesdk = "${prefix_nativesdk}/lib"
@@ -93,6 +94,9 @@ BASE_PACKAGE_ARCH = "${HOST_ARCH}"
93PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}" 94PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
94MACHINE_ARCH = "${@[bb.data.getVar('BASE_PACKAGE_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}" 95MACHINE_ARCH = "${@[bb.data.getVar('BASE_PACKAGE_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}"
95PACKAGE_ARCHS = "all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE}" 96PACKAGE_ARCHS = "all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE}"
97# MACHINE shouldn't be included here as a variable dependency since machine specific
98# packages are handled using multimachine
99PACKAGE_ARCHS[vardepsexclude] = "MACHINE"
96 100
97MULTIMACH_ARCH = "${PACKAGE_ARCH}" 101MULTIMACH_ARCH = "${PACKAGE_ARCH}"
98MULTIMACH_TARGET_SYS = "${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}" 102MULTIMACH_TARGET_SYS = "${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}"
@@ -162,14 +166,28 @@ BP = "${BPN}-${PV}"
162 166
163SECTION = "base" 167SECTION = "base"
164PRIORITY = "optional" 168PRIORITY = "optional"
165SUMMARY_${PN} ?= "${PN} version ${PV}-${PR}" 169SUMMARY ?= "${PN} version ${PV}-${PR}"
166SUMMARY_${PN}-dbg ?= "Debugging files for ${PN}" 170DESCRIPTION ?= "${SUMMARY}"
167SUMMARY_${PN}-dev ?= "Development files for ${PN}" 171
168SUMMARY_${PN}-doc ?= "Documentation files for ${PN}" 172# The following two are commented out because they result in a recursive
169DESCRIPTION_${PN} ?= "${SUMMARY_${PN}}" 173# definition of the variable in some corner cases. These are left in
170DESCRIPTION_${PN}-dbg ?= "${SUMMARY_${PN}-dbg}" 174# to illustrate the intended behavior.
171DESCRIPTION_${PN}-dev ?= "${SUMMARY_${PN}-dev}" 175#SUMMARY_${PN} ?= "${SUMMARY}"
172DESCRIPTION_${PN}-doc ?= "${SUMMARY_${PN}-doc}" 176#DESCRIPTION_${PN} ?= "${DESCRIPTION}"
177
178SUMMARY_${PN}-dbg ?= "${SUMMARY} - Debugging files"
179DESCRIPTION_${PN}-dbg ?= "${DESCRIPTION} \
180This package contains ELF symbols and related sources for debugging purposes."
181
182SUMMARY_${PN}-dev ?= "${SUMMARY} - Development files"
183DESCRIPTION_${PN}-dev ?= "${DESCRIPTION} \
184This package contains symbolic links, static binaries, header files, and \
185related items necessary for software development."
186
187SUMMARY_${PN}-doc ?= "${SUMMARY} - Documentation files"
188DESCRIPTION_${PN}-doc ?= "${DESCRIPTION} \
189This package contains documentation."
190
173LICENSE = "INVALID" 191LICENSE = "INVALID"
174MAINTAINER = "Yocto Project Team <poky@yoctoproject.org>" 192MAINTAINER = "Yocto Project Team <poky@yoctoproject.org>"
175HOMEPAGE = "unknown" 193HOMEPAGE = "unknown"
@@ -252,7 +270,7 @@ LOG_DIR = "${TMPDIR}/log"
252CO_DIR = "${DL_DIR}" 270CO_DIR = "${DL_DIR}"
253CVSDIR = "${CO_DIR}/cvs" 271CVSDIR = "${CO_DIR}/cvs"
254SVNDIR = "${CO_DIR}/svn" 272SVNDIR = "${CO_DIR}/svn"
255GITDIR = "${CO_DIR}/git" 273GITDIR = "${CO_DIR}/git2"
256BZRDIR = "${CO_DIR}/bzr" 274BZRDIR = "${CO_DIR}/bzr"
257HGDIR = "${CO_DIR}/hg" 275HGDIR = "${CO_DIR}/hg"
258 276
@@ -276,7 +294,7 @@ STAGING_DATADIR_NATIVE = "${STAGING_DIR_NATIVE}${datadir_native}"
276 294
277# This should really be MULTIMACH_HOST_SYS but that breaks "all" and machine 295# This should really be MULTIMACH_HOST_SYS but that breaks "all" and machine
278# specific packages - hack around it for now. 296# specific packages - hack around it for now.
279STAGING_DIR_HOST = "${STAGING_DIR}/${BASEPKG_HOST_SYS}" 297STAGING_DIR_HOST = "${STAGING_DIR}/${MACHINE}"
280STAGING_BINDIR = "${STAGING_DIR_HOST}${bindir}" 298STAGING_BINDIR = "${STAGING_DIR_HOST}${bindir}"
281STAGING_LIBDIR = "${STAGING_DIR_HOST}${libdir}" 299STAGING_LIBDIR = "${STAGING_DIR_HOST}${libdir}"
282STAGING_INCDIR = "${STAGING_DIR_HOST}${includedir}" 300STAGING_INCDIR = "${STAGING_DIR_HOST}${includedir}"
@@ -288,7 +306,8 @@ STAGING_PYDIR = "${STAGING_DIR}/lib/python2.4"
288 306
289# This should really be MULTIMACH_TARGET_SYS but that breaks "all" and machine 307# This should really be MULTIMACH_TARGET_SYS but that breaks "all" and machine
290# specific packages - hack around it for now. 308# specific packages - hack around it for now.
291STAGING_DIR_TARGET = "${STAGING_DIR}/${BASEPKG_TARGET_SYS}" 309STAGING_DIR_TARGET = "${STAGING_DIR}/${MACHINE}"
310STAGING_DIR_TCBOOTSTRAP = "${STAGING_DIR_TARGET}-tcbootstrap"
292 311
293# Setting DEPLOY_DIR outside of TMPDIR is helpful, when you are using 312# Setting DEPLOY_DIR outside of TMPDIR is helpful, when you are using
294# packaged staging and/or multimachine. 313# packaged staging and/or multimachine.
@@ -302,7 +321,7 @@ DEPLOY_DIR_TOOLS = "${DEPLOY_DIR}/tools"
302 321
303PKGDATA_DIR = "${TMPDIR}/pkgdata/${MULTIMACH_TARGET_SYS}" 322PKGDATA_DIR = "${TMPDIR}/pkgdata/${MULTIMACH_TARGET_SYS}"
304 323
305SDK_NAME = "${DISTRO}/${TARGET_ARCH}" 324SDK_NAME = "${DISTRO}-${SDK_ARCH}-${TARGET_ARCH}"
306SDKPATH = "/usr/local/${SDK_NAME}" 325SDKPATH = "/usr/local/${SDK_NAME}"
307SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}" 326SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
308 327
@@ -311,7 +330,7 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
311################################################################## 330##################################################################
312 331
313OLDEST_KERNEL = "2.4.0" 332OLDEST_KERNEL = "2.4.0"
314STAGING_KERNEL_DIR = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/kernel" 333STAGING_KERNEL_DIR = "${STAGING_DIR_HOST}/kernel"
315 334
316################################################################## 335##################################################################
317# Specific image creation and rootfs population info. 336# Specific image creation and rootfs population info.
@@ -398,6 +417,7 @@ export RANLIB = "${HOST_PREFIX}ranlib"
398export STRIP = "${HOST_PREFIX}strip" 417export STRIP = "${HOST_PREFIX}strip"
399export OBJCOPY = "${HOST_PREFIX}objcopy" 418export OBJCOPY = "${HOST_PREFIX}objcopy"
400export OBJDUMP = "${HOST_PREFIX}objdump" 419export OBJDUMP = "${HOST_PREFIX}objdump"
420export NM = "${HOST_PREFIX}nm"
401PYTHON = "${@sys.executable}" 421PYTHON = "${@sys.executable}"
402 422
403export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" 423export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}"
@@ -409,10 +429,13 @@ export BUILD_CCLD = "${BUILD_PREFIX}gcc"
409export BUILD_AR = "${BUILD_PREFIX}ar" 429export BUILD_AR = "${BUILD_PREFIX}ar"
410export BUILD_RANLIB = "${BUILD_PREFIX}ranlib" 430export BUILD_RANLIB = "${BUILD_PREFIX}ranlib"
411export BUILD_STRIP = "${BUILD_PREFIX}strip" 431export BUILD_STRIP = "${BUILD_PREFIX}strip"
432export BUILD_NM = "${BUILD_PREFIX}nm"
412 433
413export MAKE = "make" 434export MAKE = "make"
414EXTRA_OEMAKE = "-e MAKEFLAGS=" 435EXTRA_OEMAKE = "-e MAKEFLAGS="
415 436
437export LC_ALL = "C"
438
416################################################################## 439##################################################################
417# Patch handling. 440# Patch handling.
418################################################################## 441##################################################################
@@ -449,8 +472,9 @@ BUILDSDK_LDFLAGS = "-L${STAGING_LIBDIR} \
449 -Wl,-rpath-link,${STAGING_DIR_HOST}${base_libdir} \ 472 -Wl,-rpath-link,${STAGING_DIR_HOST}${base_libdir} \
450 -Wl,-rpath,${base_libdir} -Wl,-O1" 473 -Wl,-rpath,${base_libdir} -Wl,-O1"
451 474
475TARGET_LINK_HASH_STYLE ??= ""
452export LDFLAGS = "${TARGET_LDFLAGS}" 476export LDFLAGS = "${TARGET_LDFLAGS}"
453export TARGET_LDFLAGS = "-Wl,-O1" 477export TARGET_LDFLAGS = "-Wl,-O1 ${TARGET_LINK_HASH_STYLE}"
454#export TARGET_LDFLAGS = "-L${STAGING_DIR_TARGET}${libdir} \ 478#export TARGET_LDFLAGS = "-L${STAGING_DIR_TARGET}${libdir} \
455# -Wl,-rpath-link,${STAGING_DIR_TARGET}${libdir} \ 479# -Wl,-rpath-link,${STAGING_DIR_TARGET}${libdir} \
456# -Wl,-O1" 480# -Wl,-O1"
@@ -536,7 +560,7 @@ UPDATECOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} update -d -P ${CVSCOOPTS}"
536UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}" 560UPDATECOMMAND_svn = "/usr/bin/env svn update ${SVNCOOPTS}"
537SRCDATE = "${DATE}" 561SRCDATE = "${DATE}"
538SRCREV = "INVALID" 562SRCREV = "INVALID"
539AUTOREV = "${SRCPV}" 563AUTOREV = "${@bb.fetch.get_autorev(d)}"
540SRCPV = "${@bb.fetch.get_srcrev(d)}" 564SRCPV = "${@bb.fetch.get_srcrev(d)}"
541 565
542SRC_URI = "file://${FILE}" 566SRC_URI = "file://${FILE}"
@@ -595,10 +619,10 @@ SLOT = "0"
595 619
596# Other 620# Other
597 621
598export PKG_CONFIG_DIR = "${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}${libdir}/pkgconfig" 622export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}/${libdir}/pkgconfig"
599export PKG_CONFIG_PATH = "${PKG_CONFIG_DIR}:${STAGING_DATADIR}/pkgconfig" 623export PKG_CONFIG_PATH = "${PKG_CONFIG_DIR}:${STAGING_DATADIR}/pkgconfig"
600export PKG_CONFIG_LIBDIR = "${PKG_CONFIG_DIR}" 624export PKG_CONFIG_LIBDIR = "${PKG_CONFIG_DIR}"
601export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}" 625export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"
602export PKG_CONFIG_DISABLE_UNINSTALLED = "yes" 626export PKG_CONFIG_DISABLE_UNINSTALLED = "yes"
603 627
604export QMAKE_MKSPEC_PATH = "${STAGING_DATADIR_NATIVE}/qmake" 628export QMAKE_MKSPEC_PATH = "${STAGING_DATADIR_NATIVE}/qmake"
@@ -725,3 +749,9 @@ DISTRO[unexport] = "1"
725 749
726# Used by canadian-cross to handle string conversions on TARGET_ARCH where needed 750# Used by canadian-cross to handle string conversions on TARGET_ARCH where needed
727TRANSLATED_TARGET_ARCH ??= ${TARGET_ARCH} 751TRANSLATED_TARGET_ARCH ??= ${TARGET_ARCH}
752
753# Setup our default hash policy
754BB_SIGNATURE_HANDLER ?= "basic"
755BB_HASHTASK_WHITELIST ?= "(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$|^virtual:native:.*|^virtual:nativesdk:.*)"
756BB_HASHBASE_WHITELIST ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL TERM USER FILESPATH USERNAME STAGING_DIR_HOST STAGING_DIR_TARGET"
757
diff --git a/meta/conf/distro/include/as-needed.inc b/meta/conf/distro/include/as-needed.inc
index e962619c91..9d2056e17a 100644
--- a/meta/conf/distro/include/as-needed.inc
+++ b/meta/conf/distro/include/as-needed.inc
@@ -11,5 +11,6 @@ ASNEEDED_pn-pciutils = ""
11ASNEEDED_pn-puzzles = "" 11ASNEEDED_pn-puzzles = ""
12ASNEEDED_pn-dialer = "" 12ASNEEDED_pn-dialer = ""
13ASNEEDED_pn-pulseaudio = "" 13ASNEEDED_pn-pulseaudio = ""
14ASNEEDED_pn-rpm = ""
14 15
15TARGET_LDFLAGS += "${ASNEEDED}" \ No newline at end of file 16TARGET_LDFLAGS += "${ASNEEDED}"
diff --git a/meta/conf/distro/include/distro_tracking_fields.inc b/meta/conf/distro/include/distro_tracking_fields.inc
index 7867b70bb0..3ac5452972 100644
--- a/meta/conf/distro/include/distro_tracking_fields.inc
+++ b/meta/conf/distro/include/distro_tracking_fields.inc
@@ -1,22 +1,27 @@
1RECIPE_STATUS_pn-diffutils = "red" 1RECIPE_STATUS_pn-diffutils = "green"
2RECIPE_LATEST_VERSION_pn-diffutils = "3.0" 2RECIPE_LATEST_VERSION_pn-diffutils = "3.0"
3RECIPE_LAST_UPDATE_pn-diffutils = "Dec 10, 2010"
3RECIPE_MAINTAINER_pn-diffutils = "Qing He <qing.he@intel.com>" 4RECIPE_MAINTAINER_pn-diffutils = "Qing He <qing.he@intel.com>"
4 5
5RECIPE_STATUS_pn-epdfview = "red" 6RECIPE_STATUS_pn-epdfview = "red"
6RECIPE_LATEST_VERSION_pn-epdfview = "check" 7RECIPE_LATEST_VERSION_pn-epdfview = "check"
8RECIPE_LAST_UPDATE_pn-epdfview = "Jul 13, 2010"
7RECIPE_MAINTAINER_pn-epdfview = "Edwin Zhai <edwin.zhai@intel.com>" 9RECIPE_MAINTAINER_pn-epdfview = "Edwin Zhai <edwin.zhai@intel.com>"
8 10
9RECIPE_STATUS_pn-fakechroot = "red" 11RECIPE_STATUS_pn-gccmakedep = "green"
10RECIPE_LATEST_VERSION_pn-fakechroot = "check"
11RECIPE_MAINTAINER_pn-fakechroot = "Qing He <qing.he@intel.com>"
12
13RECIPE_STATUS_pn-gccmakedep = "red"
14RECIPE_LATEST_VERSION_pn-gccmakedep = "check"
15RECIPE_MAINTAINER_pn-gccmakedep = "Dexuan Cui <dexuan.cui@intel.com>"
16DISTRO_PN_ALIAS_pn-gccmakedep = "Mandriva=gccmakedep Ubuntu=xutils-dev" 12DISTRO_PN_ALIAS_pn-gccmakedep = "Mandriva=gccmakedep Ubuntu=xutils-dev"
13RECIPE_DEPENDENCY_CHECK_pn-gccmakedep = "not done"
14RECIPE_LATEST_VERSION_pn-gccmakedep = "1.0.2"
15RECIPE_NO_OF_PATCHES_pn-gccmakedep = "0"
16RECIPE_INTEL_SECTION_pn-gccmakedep = "x11/utils"
17RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gccmakedep = "4 months"
18RECIPE_LATEST_RELEASE_DATE_pn-gccmakedep = "May 19, 2006"
19RECIPE_COMMENTS_pn-gccmakedep = ""
20RECIPE_LAST_UPDATE_pn-gccmakedep = "Jul 3, 2007"
21RECIPE_MAINTAINER_pn-gccmakedep = "Dexuan Cui <dexuan.cui@intel.com>"
17 22
18RECIPE_STATUS_pn-git = "green" 23RECIPE_STATUS_pn-git = "green"
19RECIPE_LATEST_VERSION_pn-git = "1.7.3.2" 24RECIPE_LATEST_VERIONS_pn-git = "1.7.3.4"
20RECIPE_MAINTAINER_pn-git = "Nitin A Kamble <nitin.a.kamble@intel.com>" 25RECIPE_MAINTAINER_pn-git = "Nitin A Kamble <nitin.a.kamble@intel.com>"
21 26
22RECIPE_STATUS_pn-gtk-theme-torturer = "red" 27RECIPE_STATUS_pn-gtk-theme-torturer = "red"
@@ -26,24 +31,32 @@ DISTRO_PN_ALIAS_pn-gtk-theme-torturer = "OSPDT upstream=http://wiki.laptop.org/g
26 31
27RECIPE_STATUS_pn-libpcre = "green" 32RECIPE_STATUS_pn-libpcre = "green"
28RECIPE_LATEST_VERSION_pn-libpcre = "8.10" 33RECIPE_LATEST_VERSION_pn-libpcre = "8.10"
34RECIPE_LAST_UPDATE_pn-libpcre = "Jul 13, 2010"
29RECIPE_MAINTAINER_pn-libpcre = "Nitin A Kamble <nitin.a.kamble@intel.com>" 35RECIPE_MAINTAINER_pn-libpcre = "Nitin A Kamble <nitin.a.kamble@intel.com>"
30DISTRO_PN_ALIAS_pn-libpcre = "Mandriva=libpcre0 Fedora=pcre" 36DISTRO_PN_ALIAS_pn-libpcre = "Mandriva=libpcre0 Fedora=pcre"
31 37
32RECIPE_STATUS_pn-libsoup = "red" 38RECIPE_STATUS_pn-libsoup = "red"
33RECIPE_LATEST_VERSION_pn-libsoup = "check" 39RECIPE_LATEST_VERSION_pn-libsoup = "check"
40RECIPE_LAST_UPDATE_pn-libsoup = "Sep 22, 2008"
34RECIPE_MAINTAINER_pn-libsoup = "Edwin Zhai <edwin.zhai@intel.com>" 41RECIPE_MAINTAINER_pn-libsoup = "Edwin Zhai <edwin.zhai@intel.com>"
35 42
36RECIPE_STATUS_pn-libtimedate-perl = "green" 43RECIPE_STATUS_pn-libtimedate-perl = "green"
37RECIPE_LATEST_VERSION_pn-libtimedate-perl = "1.20" 44RECIPE_LATEST_VERSION_pn-libtimedate-perl = "1.20"
45RECIPE_LAST_UPDATE_pn-libtimedate-perl = "Aug 13, 2010"
38RECIPE_MAINTAINER_pn-libtimedate-perl = "Nitin A Kamble <nitin.a.kamble@intel.com>" 46RECIPE_MAINTAINER_pn-libtimedate-perl = "Nitin A Kamble <nitin.a.kamble@intel.com>"
39DISTRO_PN_ALIAS_pn-libtimedate-perl = "Debian=libtimedate-perl Ubuntu=libtimedate-perl" 47DISTRO_PN_ALIAS_pn-libtimedate-perl = "Debian=libtimedate-perl Ubuntu=libtimedate-perl"
40 48
41RECIPE_STATUS_pn-linux-firmware = "red" 49RECIPE_STATUS_pn-linux-firmware = "green"
42RECIPE_LATEST_VERSION_pn-linux-firmware = "check" 50RECIPE_LATEST_VERSION_pn-linux-firmware = "40c0f950"
43RECIPE_MAINTAINER_pn-linux-firmware = "Dongxiao Xu <dongxiao.xu@intel.com" 51RECIPE_LATEST_RELEASE_DATE_pn-linux-firmware = "2010/12/01"
52RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-linux-firmware = "n/a"
53RECIPE_NO_OF_PATCHES_pn-linux-firmware = "0"
54RECIPE_LAST_UPDATE_pn-linux-firmware = "Dec 30, 2010"
55RECIPE_MAINTAINER_pn-linux-firmware = "Dongxiao Xu <dongxiao.xu@intel.com>"
44 56
45RECIPE_STATUS_pn-logrotate = "red" 57RECIPE_STATUS_pn-logrotate = "red"
46RECIPE_LATEST_VERSION_pn-logrotate = "check" 58RECIPE_LATEST_VERSION_pn-logrotate = "check"
59RECIPE_LAST_UPDATE_pn-logrotate = "Sep 1, 2010"
47RECIPE_MAINTAINER_pn-logrotate = "Xiaofeng.Yan <xiaofeng@windriver.com>" 60RECIPE_MAINTAINER_pn-logrotate = "Xiaofeng.Yan <xiaofeng@windriver.com>"
48 61
49RECIPE_STATUS_pn-loudmouth = "red" 62RECIPE_STATUS_pn-loudmouth = "red"
@@ -52,13 +65,10 @@ RECIPE_MAINTAINER_pn-loudmouth = "Dongxiao Xu <dongxiao.xu@intel.com"
52 65
53RECIPE_STATUS_pn-makedepend = "green" 66RECIPE_STATUS_pn-makedepend = "green"
54RECIPE_LATEST_VERSION_pn-makedepend = "1.0.3" 67RECIPE_LATEST_VERSION_pn-makedepend = "1.0.3"
68RECIPE_LAST_UPDATE_pn-makedepend = "Nov 29, 2010"
55RECIPE_MAINTAINER_pn-makedepend = "Nitin A Kamble <nitin.a.kamble@intel.com>" 69RECIPE_MAINTAINER_pn-makedepend = "Nitin A Kamble <nitin.a.kamble@intel.com>"
56DISTRO_PN_ALIAS_pn-makedepend = "Mandriva=makedepend Ubuntu=xutils-dev" 70DISTRO_PN_ALIAS_pn-makedepend = "Mandriva=makedepend Ubuntu=xutils-dev"
57 71
58RECIPE_STATUS_pn-mdadm = "red"
59RECIPE_LATEST_VERSION_pn-mdadm = "check"
60RECIPE_MAINTAINER_pn-mdadm = "Xiaofeng.Yan <xiaofeng@windriver.com>"
61
62RECIPE_STATUS_pn-meta-ide-support = "red" 72RECIPE_STATUS_pn-meta-ide-support = "red"
63RECIPE_LATEST_VERSION_pn-meta-ide-support = "check" 73RECIPE_LATEST_VERSION_pn-meta-ide-support = "check"
64DISTRO_PN_ALIAS_pn-meta-ide-support = 'Poky' 74DISTRO_PN_ALIAS_pn-meta-ide-support = 'Poky'
@@ -66,55 +76,57 @@ RECIPE_MAINTAINER_pn-meta-ide-support = "Joshua Lock <joshua.lock@intel.com>"
66 76
67RECIPE_STATUS_pn-mingetty = "red" 77RECIPE_STATUS_pn-mingetty = "red"
68RECIPE_LATEST_VERSION_pn-mingetty = "1.08" 78RECIPE_LATEST_VERSION_pn-mingetty = "1.08"
79RECIPE_LAST_UPDATE_pn-mingetty = "Sep 1, 2010"
69RECIPE_MAINTAINER_pn-mingetty = "Xiaofeng.Yan <xiaofeng@windriver.com>" 80RECIPE_MAINTAINER_pn-mingetty = "Xiaofeng.Yan <xiaofeng@windriver.com>"
70 81
71RECIPE_STATUS_pn-minicom="green" 82RECIPE_STATUS_pn-minicom="green"
72RECIPE_LATEST_VERSION_pn-minicom="2.4" 83RECIPE_LATEST_VERSION_pn-minicom="2.5"
73RECIPE_NO_OF_PATCHES_pn-minicom="1" 84RECIPE_NO_OF_PATCHES_pn-minicom="1"
74RECIPE_LATEST_RELEASE_DATE_pn-minicom="2010/12/20" 85RECIPE_LATEST_RELEASE_DATE_pn-minicom="2010/12/20"
75RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-minicom="22 months" 86RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-minicom="22 months"
87RECIPE_LAST_UPDATE_pn-minicom = "Nov 24, 2010"
88RECIPE_MANUAL_CHECK_DATE_pn-minicom = "Jan 30, 2011"
76RECIPE_MAINTAINER_pn-minicom = "Dongxiao Xu <dongxiao.xu@intel.com>" 89RECIPE_MAINTAINER_pn-minicom = "Dongxiao Xu <dongxiao.xu@intel.com>"
77 90
78RECIPE_STATUS_pn-moblin-proto = "red"
79RECIPE_LATEST_VERSION_pn-moblin-proto = "check"
80RECIPE_MAINTAINER_pn-moblin-proto = "Dexuan Cui <dexuan.cui@intel.com>"
81
82RECIPE_STATUS_pn-patch = "green" 91RECIPE_STATUS_pn-patch = "green"
83RECIPE_LATEST_VERIONS_pn-patch = "2.6.1" 92RECIPE_LATEST_VERIONS_pn-patch = "2.6.1"
93RECIPE_LAST_UPDATE_pn-patch = "Dec 7, 2010"
84RECIPE_MAINTAINER_pn-patch = "Nitin A Kamble <nitin.a.kamble@intel.com>" 94RECIPE_MAINTAINER_pn-patch = "Nitin A Kamble <nitin.a.kamble@intel.com>"
85 95
86RECIPE_STATUS_pn-python-imaging = "green" 96RECIPE_STATUS_pn-python-imaging = "green"
87RECIPE_LATEST_VERSION_pn-python-imaging = "1.1.7" 97RECIPE_LATEST_VERSION_pn-python-imaging = "1.1.7"
98RECIPE_LAST_UPDATE_pn-python-imaging = "Jul 7, 2010"
88RECIPE_MAINTAINER_pn-python-imaging = "Nitin A Kamble <nitin.a.kamble@intel.com>" 99RECIPE_MAINTAINER_pn-python-imaging = "Nitin A Kamble <nitin.a.kamble@intel.com>"
89 100
90RECIPE_STATUS_pn-run-postinsts = "red" 101RECIPE_STATUS_pn-run-postinsts = "red"
91RECIPE_LATEST_VERSION_pn-run-postinsts = "check" 102RECIPE_LATEST_VERSION_pn-run-postinsts = "check"
103RECIPE_LAST_UPDATE_pn-run-postinsts = "Nov 22, 2010"
92RECIPE_MAINTAINER_pn-run-postinsts = "Dongxiao Xu <dongxiao.xu@intel.com" 104RECIPE_MAINTAINER_pn-run-postinsts = "Dongxiao Xu <dongxiao.xu@intel.com"
93 105
94RECIPE_STATUS_pn-screen = "red" 106RECIPE_STATUS_pn-screen = "red"
95RECIPE_LATEST_VERSION_pn-screen = "check" 107RECIPE_LATEST_VERSION_pn-screen = "check"
108RECIPE_LAST_UPDATE_pn-screen = "Aug 31, 2010"
96RECIPE_MAINTAINER_pn-screen = "Qing He <qing.he@intel.com>" 109RECIPE_MAINTAINER_pn-screen = "Qing He <qing.he@intel.com>"
97 110
98RECIPE_STATUS_pn-subversion = "green" 111RECIPE_STATUS_pn-subversion = "green"
99RECIPE_LATEST_VERSION_pn-subversion = "1.6.13" 112RECIPE_LATEST_VERSION_pn-subversion = "1.6.15"
113RECIPE_MANUAL_CHECK_DATE_pn-subversion = "Jan 25, 2011"
100RECIPE_MAINTAINER_pn-subversion = "Nitin A Kamble <nitin.a.kamble@intel.com>" 114RECIPE_MAINTAINER_pn-subversion = "Nitin A Kamble <nitin.a.kamble@intel.com>"
101 115
102RECIPE_STATUS_pn-trace-cmd = "red" 116RECIPE_STATUS_pn-trace-cmd = "red"
103RECIPE_LATEST_VERSION_pn-trace-cmd = "check" 117RECIPE_LATEST_VERSION_pn-trace-cmd = "check"
104DISTRO_PN_ALIAS_pn-trace-cmd = "Mandriva=trace-cmd Ubuntu=trace-cmd" 118DISTRO_PN_ALIAS_pn-trace-cmd = "Mandriva=trace-cmd Ubuntu=trace-cmd"
119RECIPE_LAST_UPDATE_pn-trace-cmd = "Aug 20, 2010"
105RECIPE_MAINTAINER_pn-trace-cmd = "Bruce" 120RECIPE_MAINTAINER_pn-trace-cmd = "Bruce"
106 121
107RECIPE_STATUS_pn-web = "red" 122RECIPE_STATUS_pn-web = "green"
108RECIPE_LATEST_VERSION_pn-web = "check" 123RECIPE_LATEST_VERSION_pn-web = "0.0+svnr129"
109DISTRO_PN_ALIAS_pn-web = "OpenedHand" 124DISTRO_PN_ALIAS_pn-web = "OpenedHand"
125RECIPE_LAST_UPDATE_pn-web = "Nov 30, 2010"
110RECIPE_MAINTAINER_pn-web = "Edwin Zhai <edwin.zhai@intel.com>" 126RECIPE_MAINTAINER_pn-web = "Edwin Zhai <edwin.zhai@intel.com>"
111 127
112RECIPE_STATUS_pn-zile = "red"
113RECIPE_LATEST_VERSION_pn-zile = "check"
114RECIPE_MAINTAINER_pn-zile = "Qing He <qing.he@intel.com>"
115
116RECIPE_STATUS_pn-icu = "yellow" #do_configure for autotool;icu-3.6.inc 128RECIPE_STATUS_pn-icu = "yellow" #do_configure for autotool;icu-3.6.inc
117DEPENDENCY_CHECK_pn-icu = "not done" 129RECIPE_DEPENDENCY_CHECK_pn-icu = "not done"
118RECIPE_LATEST_VERSION_pn-icu = "3.6" 130RECIPE_LATEST_VERSION_pn-icu = "3.6"
119RECIPE_PATCH_pn-icu+gccfix = "to be pushed upstream" 131RECIPE_PATCH_pn-icu+gccfix = "to be pushed upstream"
120RECIPE_PATCH_pn-icu+use-g++-for-linking = "Unclear" 132RECIPE_PATCH_pn-icu+use-g++-for-linking = "Unclear"
@@ -122,10 +134,11 @@ RECIPE_INTEL_SECTION_pn-icu = "base libs"
122RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-icu = "n/a" 134RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-icu = "n/a"
123RECIPE_LATEST_RELEASE_DATE_pn-icu = "08/2006" 135RECIPE_LATEST_RELEASE_DATE_pn-icu = "08/2006"
124RECIPE_COMMENTS_pn-icu = "arm optimizations; license similar to MIT, however sub-license is not allowed; autoreconf is not used and current style is not clean. need enhancement in the future" 136RECIPE_COMMENTS_pn-icu = "arm optimizations; license similar to MIT, however sub-license is not allowed; autoreconf is not used and current style is not clean. need enhancement in the future"
137RECIPE_LAST_UPDATE_pn-icu = "Dec 6, 2007"
125RECIPE_MAINTAINER_pn-icu = "Scott Garman <scott.a.garman@intel.com>" 138RECIPE_MAINTAINER_pn-icu = "Scott Garman <scott.a.garman@intel.com>"
126 139
127RECIPE_STATUS_pn-eggdbus = "yellow" # patch comment 140RECIPE_STATUS_pn-eggdbus = "yellow" # patch comment
128DEPENDENCY_CHECK_pn-eggdbus = "not done" 141RECIPE_DEPENDENCY_CHECK_pn-eggdbus = "not done"
129RECIPE_LATEST_VERSION_pn-eggdbus = "0.6" 142RECIPE_LATEST_VERSION_pn-eggdbus = "0.6"
130RECIPE_PATCH_pn-eggdbus+gtk-doc = "local; no comment; poky doesn't have full gtk-doc support, and eggdbus itself references AM_CONDITIONAL in Makefile.am earlier before configure script is run" 143RECIPE_PATCH_pn-eggdbus+gtk-doc = "local; no comment; poky doesn't have full gtk-doc support, and eggdbus itself references AM_CONDITIONAL in Makefile.am earlier before configure script is run"
131RECIPE_PATCH_pn-eggdbus+marshal = "local; no comment; one binary generated in eggdbus build needs to be invoked. So point to native version" 144RECIPE_PATCH_pn-eggdbus+marshal = "local; no comment; one binary generated in eggdbus build needs to be invoked. So point to native version"
@@ -133,103 +146,108 @@ RECIPE_INTEL_SECTION_pn-eggdbus = "base libs"
133RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-eggdbus = "4 months" 146RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-eggdbus = "4 months"
134RECIPE_LATEST_RELEASE_DATE_pn-eggdbus = "11/2009" 147RECIPE_LATEST_RELEASE_DATE_pn-eggdbus = "11/2009"
135RECIPE_COMMENTS_pn-eggdbus = "http://mail.gnome.org/archives/gtk-devel-list/2008-December/msg00059.html contains more detail introduction" 148RECIPE_COMMENTS_pn-eggdbus = "http://mail.gnome.org/archives/gtk-devel-list/2008-December/msg00059.html contains more detail introduction"
149RECIPE_LAST_UPDATE_pn-eggdbus = "Jan 29, 2010"
136RECIPE_MAINTAINER_pn-eggdbus = "Kevin Tian <kevin.tian@intel.com>" 150RECIPE_MAINTAINER_pn-eggdbus = "Kevin Tian <kevin.tian@intel.com>"
137 151
138RECIPE_STATUS_pn-libdaemon = "green" 152RECIPE_STATUS_pn-libdaemon = "green"
139DEPENDENCY_CHECK_pn-libdaemon = "not done" 153RECIPE_DEPENDENCY_CHECK_pn-libdaemon = "not done"
140RECIPE_LATEST_VERSION_pn-libdaemon = "0.14" 154RECIPE_LATEST_VERSION_pn-libdaemon = "0.14"
141RECIPE_INTEL_SECTION_pn-libdaemon = "base libs" 155RECIPE_INTEL_SECTION_pn-libdaemon = "base libs"
142RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libdaemon = "15 months" 156RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libdaemon = "15 months"
143RECIPE_LATEST_RELEASE_DATE_pn-libdaemon = "11/2009" 157RECIPE_LATEST_RELEASE_DATE_pn-libdaemon = "11/2009"
144RECIPE_COMMENTS_pn-libdaemon = "" 158RECIPE_COMMENTS_pn-libdaemon = ""
159RECIPE_LAST_UPDATE_pn-libdaemon = "Jun 23, 2010"
145RECIPE_MAINTAINER_pn-libdaemon = "Kevin Tian <kevin.tian@intel.com>" 160RECIPE_MAINTAINER_pn-libdaemon = "Kevin Tian <kevin.tian@intel.com>"
146 161
147RECIPE_STATUS_pn-glib-2.0 = "green" 162RECIPE_STATUS_pn-glib-2.0 = "green"
148DISTRO_PN_ALIAS_pn-glib-2.0 = "Meego=glib2 Fedora=glib2 OpenSuSE=glib2 Ubuntu=glib2.0 Mandriva=glib2.0 Debian=glib2.0" 163DISTRO_PN_ALIAS_pn-glib-2.0 = "Meego=glib2 Fedora=glib2 OpenSuSE=glib2 Ubuntu=glib2.0 Mandriva=glib2.0 Debian=glib2.0"
149DEPENDENCY_CHECK_pn-glib-2.0 = "not done" 164RECIPE_DEPENDENCY_CHECK_pn-glib-2.0 = "not done"
150RECIPE_LATEST_VERSION_pn-glib-2.0 = "2.27.3" 165RECIPE_LATEST_VERSION_pn-glib-2.0 = "2.27.5"
151RECIPE_PATCH_pn-glib-2.0+60_wait-longer-for-threads-to-die = "to be pushed upstream" 166RECIPE_PATCH_pn-glib-2.0+60_wait-longer-for-threads-to-die = "to be pushed upstream"
152RECIPE_PATCH_pn-glib-2.0+configure-libtool = "local" 167RECIPE_PATCH_pn-glib-2.0+configure-libtool = "local"
153RECIPE_PATCH_pn-glib-2.0+glib-gettextize-dir = "marked as REMOVAL" 168RECIPE_PATCH_pn-glib-2.0+glib-gettextize-dir = "marked as REMOVAL"
154RECIPE_INTEL_SECTION_pn-glib-2.0 = "base libs" 169RECIPE_INTEL_SECTION_pn-glib-2.0 = "base libs"
155RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-glib-2.0 = "8 days" 170RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-glib-2.0 = "1 month"
156RECIPE_LATEST_RELEASE_DATE_pn-glib-2.0 = "2010/11/09" 171RECIPE_LATEST_RELEASE_DATE_pn-glib-2.0 = "2010/12/20"
157RECIPE_COMMENTS_pn-glib-2.0 = "" 172RECIPE_COMMENTS_pn-glib-2.0 = ""
173RECIPE_LAST_UPDATE_pn-glib-2.0 = "Dec 30, 2010"
174RECIPE_NO_UPDATE_REASON_pn-glib-2.0 ="do not upgrade to 2.27.5 because it is unstable version"
158RECIPE_MAINTAINER_pn-glib-2.0 = "Dongxiao Xu <dongxiao.xu@intel.com>" 175RECIPE_MAINTAINER_pn-glib-2.0 = "Dongxiao Xu <dongxiao.xu@intel.com>"
159 176
160RECIPE_STATUS_pn-libpam = "green" 177RECIPE_STATUS_pn-libpam = "green"
161DISTRO_PN_ALIAS_pn-libpam = "Meego=pam Fedora=pam OpenSuSE=pam Ubuntu=pam Mandriva=pam Debian=pam" 178DISTRO_PN_ALIAS_pn-libpam = "Meego=pam Fedora=pam OpenSuSE=pam Ubuntu=pam Mandriva=pam Debian=pam"
162DEPENDENCY_CHECK_pn-libpam = "not done" 179RECIPE_DEPENDENCY_CHECK_pn-libpam = "not done"
163RECIPE_LATEST_VERSION_pn-libpam = "1.1.3" 180RECIPE_LATEST_VERSION_pn-libpam = "1.1.3"
164RECIPE_INTEL_SECTION_pn-libpam = "base libs" 181RECIPE_INTEL_SECTION_pn-libpam = "base libs"
165RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libpam = "2 months" 182RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libpam = "2 months"
166RECIPE_LATEST_RELEASE_DATE_pn-libpam = "2010/10/28" 183RECIPE_LATEST_RELEASE_DATE_pn-libpam = "2010/10/28"
167RECIPE_COMMENTS_pn-libpam = "" 184RECIPE_COMMENTS_pn-libpam = ""
185RECIPE_LAST_UPDATE_pn-libpam = "Nov 23, 2010"
168RECIPE_MAINTAINER_pn-libpam = "Scott Garman <scott.a.garman@intel.com>" 186RECIPE_MAINTAINER_pn-libpam = "Scott Garman <scott.a.garman@intel.com>"
169 187
170RECIPE_STATUS_pn-libgpg-error = "yellow" # specific .pc handle 188RECIPE_STATUS_pn-libgpg-error = "yellow" # specific .pc handle
171DEPENDENCY_CHECK_pn-libgpg-error = "not done" 189RECIPE_DEPENDENCY_CHECK_pn-libgpg-error = "not done"
172RECIPE_LATEST_VERSION_pn-libgpg-error = "1.9" 190RECIPE_LATEST_VERSION_pn-libgpg-error = "1.9"
173RECIPE_PATCH_pn-libgpg-error+pkgconfig = "long existing since 0.7; no exact commit; it's to add a .pc.in. perhaps we don't require it now?" 191RECIPE_PATCH_pn-libgpg-error+pkgconfig = "long existing since 0.7; no exact commit; it's to add a .pc.in. perhaps we don't require it now?"
174RECIPE_INTEL_SECTION_pn-libgpg-error = "base libs" 192RECIPE_INTEL_SECTION_pn-libgpg-error = "base libs"
175RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libgpg-error = "2 months" 193RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libgpg-error = "2 months"
176RECIPE_LATEST_RELEASE_DATE_pn-libgpg-error = "07/2010" 194RECIPE_LATEST_RELEASE_DATE_pn-libgpg-error = "07/2010"
177RECIPE_COMMENTS_pn-libgpg-error = "" 195RECIPE_COMMENTS_pn-libgpg-error = ""
196RECIPE_LAST_UPDATE_pn-libgpg-error = "Nov 18, 2010"
178RECIPE_MAINTAINER_pn-libgpg-error = "Edwin Zhai <edwin.zhai@intel.com>" 197RECIPE_MAINTAINER_pn-libgpg-error = "Edwin Zhai <edwin.zhai@intel.com>"
179 198
180RECIPE_STATUS_pn-gpgme = "green" 199RECIPE_STATUS_pn-gpgme = "green"
181DEPENDENCY_CHECK_pn-gpgme = "not done" 200RECIPE_DEPENDENCY_CHECK_pn-gpgme = "not done"
182RECIPE_LATEST_VERSION_pn-gpgme = "1.3.0" 201RECIPE_LATEST_VERSION_pn-gpgme = "1.3.0"
183RECIPE_INTEL_SECTION_pn-gpgme = "base libs" 202RECIPE_INTEL_SECTION_pn-gpgme = "base libs"
184RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gpgme = "6 months" 203RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gpgme = "6 months"
185RECIPE_LATEST_RELEASE_DATE_pn-gpgme = "01/2010" 204RECIPE_LATEST_RELEASE_DATE_pn-gpgme = "01/2010"
186RECIPE_COMMENTS_pn-gpgme = "" 205RECIPE_COMMENTS_pn-gpgme = ""
206RECIPE_LAST_UPDATE_pn-gpgme = "Jul 21, 2010"
187RECIPE_MAINTAINER_pn-gpgme = "Edwin Zhai <edwin.zhai@intel.com>" 207RECIPE_MAINTAINER_pn-gpgme = "Edwin Zhai <edwin.zhai@intel.com>"
188 208
189RECIPE_STATUS_pn-expat = "green" 209RECIPE_STATUS_pn-expat = "green"
190DEPENDENCY_CHECK_pn-expat = "not done" 210RECIPE_DEPENDENCY_CHECK_pn-expat = "not done"
191RECIPE_LATEST_VERSION_pn-expat = "2.0.1" 211RECIPE_LATEST_VERSION_pn-expat = "2.0.1"
192RECIPE_PATCH_pn-expat+autotools = "added in 2.0.0; 70774a74; 2006; don't include its own version of m4" 212RECIPE_PATCH_pn-expat+autotools = "added in 2.0.0; 70774a74; 2006; don't include its own version of m4"
193RECIPE_INTEL_SECTION_pn-expat = "base libs" 213RECIPE_INTEL_SECTION_pn-expat = "base libs"
194RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-expat = "17 months" 214RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-expat = "17 months"
195RECIPE_LATEST_RELEASE_DATE_pn-expat = "06/2007" 215RECIPE_LATEST_RELEASE_DATE_pn-expat = "06/2007"
196RECIPE_COMMENTS_pn-expat = "" 216RECIPE_COMMENTS_pn-expat = ""
217RECIPE_LAST_UPDATE_pn-expat = "Jul 7, 2010"
197RECIPE_MAINTAINER_pn-expat = "Kevin Tian <kevin.tian@intel.com>" 218RECIPE_MAINTAINER_pn-expat = "Kevin Tian <kevin.tian@intel.com>"
198 219
199RECIPE_STATUS_pn-dbus = "green" 220RECIPE_STATUS_pn-dbus = "green"
200DEPENDENCY_CHECK_pn-dbus = "not done" 221RECIPE_LATEST_VERSION_pn-dbus = "1.4.1"
201RECIPE_LATEST_VERSION_pn-dbus = "1.2.24"
202RECIPE_PATCH_pn-dbus+tmpdir = "an old patch dated to 2005; no exact commit; seems to handle tmp dir check at build time. need test whether valid now"
203RECIPE_PATCH_pn-dbus+fix-install-daemon = "by RP; 2009; 8e39848b; handle dbus-daemon install; need more study later"
204RECIPE_INTEL_SECTION_pn-dbus = "base libs" 222RECIPE_INTEL_SECTION_pn-dbus = "base libs"
205RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dbus = "1 months" 223RECIPE_LATEST_RELEASE_DATE_pn-dbus = "12/2010"
206RECIPE_LATEST_RELEASE_DATE_pn-dbus = "03/2010" 224RECIPE_LAST_UPDATE_pn-dbus = "Jan 20, 2011"
207RECIPE_COMMENTS_pn-dbus = "unstable version at 1.3.1; though current latest version in poky is 1.2.14, it's 1.2.4 preferred"
208RECIPE_MAINTAINER_pn-dbus = "Qing He <qing.he@intel.com>" 225RECIPE_MAINTAINER_pn-dbus = "Qing He <qing.he@intel.com>"
209 226
210RECIPE_STATUS_pn-dbus-glib = "green" 227RECIPE_STATUS_pn-dbus-glib = "green"
211DEPENDENCY_CHECK_pn-dbus-glib = "not done" 228RECIPE_DEPENDENCY_CHECK_pn-dbus-glib = "not done"
212RECIPE_LATEST_VERSION_pn-dbus-glib = "0.86" 229RECIPE_LATEST_VERSION_pn-dbus-glib = "0.92"
213RECIPE_PATCH_pn-dbus-glib+fix_asneeded = "added in 2009; adjust link order of expat. not sure the reason yet. disable for now" 230RECIPE_NO_OF_PATCHES_pn-dbus-glib = "1"
214RECIPE_PATCH_pn-dbus-glib+no-examples = "no need to build example. local patch" 231RECIPE_PATCH_pn-dbus-glib+no-examples = "no need to build example. local patch"
215RECIPE_INTEL_SECTION_pn-dbus-glib = "base libs" 232RECIPE_INTEL_SECTION_pn-dbus-glib = "base libs"
216RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dbus-glib = "6 months" 233RECIPE_LATEST_RELEASE_DATE_pn-dbus-glib = "11/2010"
217RECIPE_LATEST_RELEASE_DATE_pn-dbus-glib = "03/2010" 234RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dbus-glib = "3 days"
218RECIPE_COMMENTS_pn-dbus-glib = "" 235RECIPE_LAST_UPDATE_pn-dbus-glib = "Jan 4, 2011"
219RECIPE_MAINTAINER_pn-dbus-glib = "Scott Garman <scott.a.garman@intel.com>" 236RECIPE_MAINTAINER_pn-dbus-glib = "Scott Garman <scott.a.garman@intel.com>"
220 237
221RECIPE_STATUS_pn-neon="green" 238RECIPE_STATUS_pn-neon="green"
222DEPENDENCY_CHECK_pn-neon = "not done" 239RECIPE_DEPENDENCY_CHECK_pn-neon = "not done"
223RECIPE_LATEST_VERSION_pn-neon="0.29.5" 240RECIPE_LATEST_VERSION_pn-neon="0.29.5"
224RECIPE_NO_OF_PATCHES_pn-neon="0" 241RECIPE_NO_OF_PATCHES_pn-neon="0"
225RECIPE_INTEL_SECTION_pn-neon = "base libs" 242RECIPE_INTEL_SECTION_pn-neon = "base libs"
226RECIPE_LATEST_RELEASE_DATE_pn-neon="2010/10/14" 243RECIPE_LATEST_RELEASE_DATE_pn-neon="2010/10/14"
227RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-neon="10 days" 244RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-neon="10 days"
228RECIPE_COMMENTS_pn-neon = "" 245RECIPE_COMMENTS_pn-neon = ""
246RECIPE_LAST_UPDATE_pn-neon = "Nov 15, 2010"
229RECIPE_MAINTAINER_pn-neon = "Dongxiao Xu <dongxiao.xu@intel.com>" 247RECIPE_MAINTAINER_pn-neon = "Dongxiao Xu <dongxiao.xu@intel.com>"
230 248
231RECIPE_STATUS_pn-libpng = "green" 249RECIPE_STATUS_pn-libpng = "green"
232DEPENDENCY_CHECK_pn-libpng = "not done" 250RECIPE_DEPENDENCY_CHECK_pn-libpng = "not done"
233RECIPE_LATEST_VERSION_pn-libpng = "1.4.5" 251RECIPE_LATEST_VERSION_pn-libpng = "1.4.5"
234RECIPE_NO_UPDATE_REASON_pn-libpng = "1.4.3 has API compatibility issue, e.g. break libmatchbox. choose 1.2.44 instead" 252RECIPE_NO_UPDATE_REASON_pn-libpng = "1.4.3 has API compatibility issue, e.g. break libmatchbox. choose 1.2.44 instead"
235RECIPE_PATCH_pn-libpng+makefile = "by RP; 2008; to define ECHO explicitly for lbitool 2.2.2. need check whether it's still valide for new libtool. candidate for upstream" 253RECIPE_PATCH_pn-libpng+makefile = "by RP; 2008; to define ECHO explicitly for lbitool 2.2.2. need check whether it's still valide for new libtool. candidate for upstream"
@@ -237,88 +255,91 @@ RECIPE_INTEL_SECTION_pn-libpng = "base libs"
237RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libpng = "1 month" 255RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libpng = "1 month"
238RECIPE_LATEST_RELEASE_DATE_pn-libpng = "06/2010" 256RECIPE_LATEST_RELEASE_DATE_pn-libpng = "06/2010"
239RECIPE_COMMENTS_pn-libpng = "" 257RECIPE_COMMENTS_pn-libpng = ""
258RECIPE_LAST_UPDATE_pn-libpng = "Jul 20, 2010"
240RECIPE_MAINTAINER_pn-libpng = "Kevin Tian <kevin.tian@intel.com>" 259RECIPE_MAINTAINER_pn-libpng = "Kevin Tian <kevin.tian@intel.com>"
241 260
242RECIPE_STATUS_pn-libidn = "green" 261RECIPE_STATUS_pn-libidn = "green"
243DEPENDENCY_CHECK_pn-libidn = "not done" 262RECIPE_DEPENDENCY_CHECK_pn-libidn = "not done"
244RECIPE_LATEST_VERSION_pn-libidn = "1.19" 263RECIPE_LATEST_VERSION_pn-libidn = "1.19"
245RECIPE_INTEL_SECTION_pn-libidn = "base libs" 264RECIPE_INTEL_SECTION_pn-libidn = "base libs"
246RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libidn = "3 months" 265RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libidn = "3 months"
247RECIPE_LATEST_RELEASE_DATE_pn-libidn = "05/2010" 266RECIPE_LATEST_RELEASE_DATE_pn-libidn = "05/2010"
248RECIPE_COMMENTS_pn-libidn = "" 267RECIPE_COMMENTS_pn-libidn = ""
268RECIPE_LAST_UPDATE_pn-libidn = "Jul 20, 2010"
249RECIPE_MAINTAINER_pn-libidn = "Kevin Tian <kevin.tian@intel.com>" 269RECIPE_MAINTAINER_pn-libidn = "Kevin Tian <kevin.tian@intel.com>"
250 270
251RECIPE_STATUS_pn-glibc = "green" 271RECIPE_STATUS_pn-glibc = "green"
252DEPENDENCY_CHECK_pn-glibc = "not done" 272RECIPE_DEPENDENCY_CHECK_pn-glibc = "not done"
253RECIPE_LATEST_VERSION_pn-glibc = "2.11.2" 273RECIPE_LATEST_VERSION_pn-glibc = "2.11.2"
254RECIPE_NO_UPDATE_REASON_pn-glibc = "two glibc plugins are based on 2.10.1" 274RECIPE_NO_UPDATE_REASON_pn-glibc = "two glibc plugins are based on 2.10.1"
255RECIPE_INTEL_SECTION_pn-glibc = "base libs" 275RECIPE_INTEL_SECTION_pn-glibc = "base libs"
256RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-glibc = "5 months" 276RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-glibc = "5 months"
257RECIPE_LATEST_RELEASE_DATE_pn-glibc = "05/2010" 277RECIPE_LATEST_RELEASE_DATE_pn-glibc = "05/2010"
258RECIPE_COMMENTS_pn-glibc = "" 278RECIPE_COMMENTS_pn-glibc = ""
279RECIPE_LAST_UPDATE_pn-glibc = "Jul 8, 2010"
259RECIPE_MAINTAINER_pn-glibc = "Dongxiao Xu <dongxiao.xu@intel.com>" 280RECIPE_MAINTAINER_pn-glibc = "Dongxiao Xu <dongxiao.xu@intel.com>"
260 281
261RECIPE_STATUS_pn-liboil = "green" 282RECIPE_STATUS_pn-liboil = "green"
262DEPENDENCY_CHECK_pn-liboil = "not done" 283RECIPE_DEPENDENCY_CHECK_pn-liboil = "not done"
263RECIPE_LATEST_VERSION_pn-liboil = "0.3.17" 284RECIPE_LATEST_VERSION_pn-liboil = "0.3.17"
264RECIPE_NO_OF_PATCHES_pn-liboil = "1" 285RECIPE_NO_OF_PATCHES_pn-liboil = "1"
265RECIPE_INTEL_SECTION_pn-liboil = "base libs" 286RECIPE_INTEL_SECTION_pn-liboil = "base libs"
266RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-liboil = "11 months" 287RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-liboil = "11 months"
267RECIPE_LATEST_RELEASE_DATE_pn-liboil = "02/2010" 288RECIPE_LATEST_RELEASE_DATE_pn-liboil = "02/2010"
268RECIPE_COMMENTS_pn-liboil = "" 289RECIPE_COMMENTS_pn-liboil = ""
290RECIPE_LAST_UPDATE_pn-liboil = "Mar 3, 2010"
269RECIPE_MAINTAINER_pn-liboil = "Edwin Zhai <edwin.zhai@intel.com>" 291RECIPE_MAINTAINER_pn-liboil = "Edwin Zhai <edwin.zhai@intel.com>"
270 292
271RECIPE_STATUS_pn-libassuan = "green" 293RECIPE_STATUS_pn-libassuan = "green"
272DEPENDENCY_CHECK_pn-libassuan = "not done" 294RECIPE_DEPENDENCY_CHECK_pn-libassuan = "not done"
273RECIPE_LATEST_VERSION_pn-libassuan = "2.0.1" 295RECIPE_LATEST_VERSION_pn-libassuan = "2.0.1"
274RECIPE_NO_OF_PATCHES_pn-libassuan = "0" 296RECIPE_NO_OF_PATCHES_pn-libassuan = "0"
275RECIPE_INTEL_SECTION_pn-libassuan = "base libs" 297RECIPE_INTEL_SECTION_pn-libassuan = "base libs"
276RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libassuan = "7 months" 298RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libassuan = "7 months"
277RECIPE_LATEST_RELEASE_DATE_pn-libassuan = "08/2010" 299RECIPE_LATEST_RELEASE_DATE_pn-libassuan = "08/2010"
278RECIPE_COMMENTS_pn-libassuan = "" 300RECIPE_COMMENTS_pn-libassuan = ""
301RECIPE_LAST_UPDATE_pn-libassuan = "Nov 19, 2010"
279RECIPE_MAINTAINER_pn-libassuan = "Edwin Zhai <edwin.zhai@intel.com>" 302RECIPE_MAINTAINER_pn-libassuan = "Edwin Zhai <edwin.zhai@intel.com>"
280 303
281RECIPE_STATUS_pn-db = "green" 304RECIPE_STATUS_pn-db = "green"
282DEPENDENCY_CHECK_pn-db = "not done" 305RECIPE_DEPENDENCY_CHECK_pn-db = "not done"
283RECIPE_LATEST_VERSION_pn-db = "5.0.26" 306RECIPE_LATEST_VERSION_pn-db = "5.0.26"
284RECIPE_NO_UPDATE_REASON_pn-db= "API compatibility issue" 307RECIPE_NO_UPDATE_REASON_pn-db= "API compatibility issue"
285RECIPE_INTEL_SECTION_pn-db = "base libs" 308RECIPE_INTEL_SECTION_pn-db = "base libs"
286RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-db = "n/a" 309RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-db = "n/a"
287RECIPE_LATEST_RELEASE_DATE_pn-db = "n/a" 310RECIPE_LATEST_RELEASE_DATE_pn-db = "n/a"
288RECIPE_COMMENTS_pn-db = "" 311RECIPE_COMMENTS_pn-db = ""
312RECIPE_LAST_UPDATE_pn-db = "Jul 21, 2006"
289RECIPE_MAINTAINER_pn-db = "Dongxiao Xu <dongxiao.xu@intel.com>" 313RECIPE_MAINTAINER_pn-db = "Dongxiao Xu <dongxiao.xu@intel.com>"
290 314
291RECIPE_STATUS_pn-libtirpc = "green" 315RECIPE_STATUS_pn-libtirpc = "green"
292DEPENDENCY_CHECK_pn-libtirpc = "not done" 316RECIPE_DEPENDENCY_CHECK_pn-libtirpc = "not done"
293RECIPE_LATEST_VERSION_pn-libtirpc = "0.2.1" 317RECIPE_LATEST_VERSION_pn-libtirpc = "0.2.1"
294RECIPE_INTEL_SECTION_pn-libtirpc = "base libs" 318RECIPE_INTEL_SECTION_pn-libtirpc = "base libs"
295RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libtirpc = "6 months" 319RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libtirpc = "6 months"
296RECIPE_LATEST_RELEASE_DATE_pn-libtirpc = "11/2009" 320RECIPE_LATEST_RELEASE_DATE_pn-libtirpc = "11/2009"
297RECIPE_COMMENTS_pn-libtirpc = "" 321RECIPE_COMMENTS_pn-libtirpc = ""
322RECIPE_LAST_UPDATE_pn-libtirpc = "Sep 1, 2010"
298RECIPE_MAINTAINER_pn-libtirpc = "Dongxiao Xu <dongxiao.xu@intel.com>" 323RECIPE_MAINTAINER_pn-libtirpc = "Dongxiao Xu <dongxiao.xu@intel.com>"
324
299RECIPE_STATUS_pn-gdbm = "green" 325RECIPE_STATUS_pn-gdbm = "green"
326RECIPE_LAST_UPDATE_pn-gdbm = "Jul 21, 2006"
300RECIPE_MAINTAINER_pn-gdbm = "Qing He <qing.he@intel.com>" 327RECIPE_MAINTAINER_pn-gdbm = "Qing He <qing.he@intel.com>"
301DEPENDENCY_CHECK_pn-gdbm = "not done"
302RECIPE_LATEST_VERSION_pn-gdbm = "1.8.3" 328RECIPE_LATEST_VERSION_pn-gdbm = "1.8.3"
303RECIPE_PATCH_pn-gdbm+makefile = "use oe generic DESTDIR instead of package specific INSTALL_ROOT"
304RECIPE_PATCH_pn-gdbm+libtool-mode = "explict specify install mode in libtool"
305RECIPE_INTEL_SECTION_pn-gdbm = "base libs" 329RECIPE_INTEL_SECTION_pn-gdbm = "base libs"
306RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gdbm = "n/a"
307RECIPE_LATEST_RELEASE_DATE_pn-gdbm = "10/2002" 330RECIPE_LATEST_RELEASE_DATE_pn-gdbm = "10/2002"
308RECIPE_COMMENTS_pn-gdbm = ""
309 331
310RECIPE_STATUS_pn-pth = "yellow" # custom do_configure 332RECIPE_STATUS_pn-pth = "yellow" # custom do_configure
333RECIPE_LAST_UPDATE_pn-pth = "Mar 14, 2008"
311RECIPE_MAINTAINER_pn-pth = "Qing He <qing.he@intel.com>" 334RECIPE_MAINTAINER_pn-pth = "Qing He <qing.he@intel.com>"
312DEPENDENCY_CHECK_pn-pth = "not done"
313RECIPE_LATEST_VERSION_pn-pth = "2.0.7" 335RECIPE_LATEST_VERSION_pn-pth = "2.0.7"
314RECIPE_INTEL_SECTION_pn-pth = "base libs" 336RECIPE_INTEL_SECTION_pn-pth = "base libs"
315RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pth = "n/a"
316RECIPE_LATEST_RELEASE_DATE_pn-pth = "06/2006" 337RECIPE_LATEST_RELEASE_DATE_pn-pth = "06/2006"
317RECIPE_COMMENTS_pn-pth = ""
318 338
319RECIPE_STATUS_pn-python-pycurl = "yellow" # several exports to work with python 339RECIPE_STATUS_pn-python-pycurl = "yellow" # several exports to work with python
340RECIPE_LAST_UPDATE_pn-python-pycurl = "Mar 25, 2010"
320RECIPE_MAINTAINER_pn-python-pycurl = "Qing He <qing.he@intel.com>" 341RECIPE_MAINTAINER_pn-python-pycurl = "Qing He <qing.he@intel.com>"
321DEPENDENCY_CHECK_pn-python-pycurl = "not done" 342RECIPE_DEPENDENCY_CHECK_pn-python-pycurl = "not done"
322RECIPE_LATEST_VERSION_pn-python-pycurl = "7.19.0" 343RECIPE_LATEST_VERSION_pn-python-pycurl = "7.19.0"
323RECIPE_PATCH_pn-python-pycurl+no-static-link = "no static libraries" 344RECIPE_PATCH_pn-python-pycurl+no-static-link = "no static libraries"
324RECIPE_INTEL_SECTION_pn-python-pycurl = "base libs" 345RECIPE_INTEL_SECTION_pn-python-pycurl = "base libs"
@@ -327,8 +348,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-python-pycurl = "09/2008"
327RECIPE_COMMENTS_pn-python-pycurl = "the so called MIT/X here is actually ISC license, depends on libcurl (> 7.19.0)" 348RECIPE_COMMENTS_pn-python-pycurl = "the so called MIT/X here is actually ISC license, depends on libcurl (> 7.19.0)"
328 349
329RECIPE_STATUS_pn-libusb1 = "green" 350RECIPE_STATUS_pn-libusb1 = "green"
351RECIPE_LAST_UPDATE_pn-libusb1 = "Jul 15, 2010"
330RECIPE_MAINTAINER_pn-libusb1 = "Qing He <qing.he@intel.com>" 352RECIPE_MAINTAINER_pn-libusb1 = "Qing He <qing.he@intel.com>"
331DEPENDENCY_CHECK_pn-libusb1 = "not done" 353RECIPE_DEPENDENCY_CHECK_pn-libusb1 = "not done"
332RECIPE_LATEST_VERSION_pn-libusb1 = "1.0.8" 354RECIPE_LATEST_VERSION_pn-libusb1 = "1.0.8"
333RECIPE_INTEL_SECTION_pn-libusb1 = "base libs" 355RECIPE_INTEL_SECTION_pn-libusb1 = "base libs"
334RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libusb1 = "n/a" 356RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libusb1 = "n/a"
@@ -336,8 +358,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-libusb = "05/2010"
336RECIPE_COMMENTS_pn-libusb1 = "" 358RECIPE_COMMENTS_pn-libusb1 = ""
337 359
338RECIPE_STATUS_pn-libusb-compat = "green" 360RECIPE_STATUS_pn-libusb-compat = "green"
361RECIPE_LAST_UPDATE_pn-libusb-compat = "Jul 16, 2010"
339RECIPE_MAINTAINER_pn-libusb-compat = "Qing He <qing.he@intel.com>" 362RECIPE_MAINTAINER_pn-libusb-compat = "Qing He <qing.he@intel.com>"
340DEPENDENCY_CHECK_pn-libusb-compat = "done" 363RECIPE_DEPENDENCY_CHECK_pn-libusb-compat = "done"
341RECIPE_LATEST_VERSION_pn-libusb-compat = "0.1.3" 364RECIPE_LATEST_VERSION_pn-libusb-compat = "0.1.3"
342RECIPE_INTEL_SECTION_pn-libusb-compat = "base utils" 365RECIPE_INTEL_SECTION_pn-libusb-compat = "base utils"
343RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libusb-compat = "1 month" 366RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libusb-compat = "1 month"
@@ -345,20 +368,17 @@ RECIPE_LATEST_RELEASE_DATE_pn-libusb-compat = "07/2009"
345RECIPE_COMMENTS_pn-libusb-compat = "replaces libusb, but doesn't provides libusbpp" 368RECIPE_COMMENTS_pn-libusb-compat = "replaces libusb, but doesn't provides libusbpp"
346DISTRO_PN_ALIAS_pn-libusb-compat = "OSPDT" 369DISTRO_PN_ALIAS_pn-libusb-compat = "OSPDT"
347 370
348RECIPE_STATUS_pn-libnl = "yellow" # still need to update to git 371RECIPE_STATUS_pn-libnl = "green"
372RECIPE_LAST_UPDATE_pn-libnl = "Nov 15, 2010"
349RECIPE_MAINTAINER_pn-libnl = "Qing He <qing.he@intel.com>" 373RECIPE_MAINTAINER_pn-libnl = "Qing He <qing.he@intel.com>"
350DEPENDENCY_CHECK_pn-libnl = "not done"
351RECIPE_LATEST_VERSION_pn-libnl = "2.0" 374RECIPE_LATEST_VERSION_pn-libnl = "2.0"
352RECIPE_PATCH_pn-libnl+local-includes = "fix compilation in Makefile"
353RECIPE_PATCH_pn-libnl+compilefix = "fix compilation"
354RECIPE_INTEL_SECTION_pn-libnl = "base libs" 375RECIPE_INTEL_SECTION_pn-libnl = "base libs"
355RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libnl = "n/a" 376RECIPE_LATEST_RELEASE_DATE_pn-libnl = "10/2010"
356RECIPE_LATEST_RELEASE_DATE_pn-libnl = "01/2008"
357RECIPE_COMMENTS_pn-libnl = "git is active and ~150 commits ahead of 1.1"
358 377
359RECIPE_STATUS_pn-zlib = "yellow" # local config scripts 378RECIPE_STATUS_pn-zlib = "yellow" # local config scripts
379RECIPE_LAST_UPDATE_pn-zlib = "Jun 11, 2010"
360RECIPE_MAINTAINER_pn-zlib = "Qing He <qing.he@intel.com>" 380RECIPE_MAINTAINER_pn-zlib = "Qing He <qing.he@intel.com>"
361DEPENDENCY_CHECK_pn-zlib = "not done" 381RECIPE_DEPENDENCY_CHECK_pn-zlib = "not done"
362RECIPE_LATEST_VERSION_pn-zlib = "1.2.5" 382RECIPE_LATEST_VERSION_pn-zlib = "1.2.5"
363RECIPE_PATCH_pn-zlib+configure.ac = "override default build method" 383RECIPE_PATCH_pn-zlib+configure.ac = "override default build method"
364RECIPE_PATCH_pn-zlib+Makefile.am = "override default build method" 384RECIPE_PATCH_pn-zlib+Makefile.am = "override default build method"
@@ -368,8 +388,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-zlib = "03/2010"
368RECIPE_COMMENTS_pn-zlib = "rconflicts: libxml2 (< 2.7.7) (rbreaks)" 388RECIPE_COMMENTS_pn-zlib = "rconflicts: libxml2 (< 2.7.7) (rbreaks)"
369 389
370RECIPE_STATUS_pn-libxml2 = "yellow" 390RECIPE_STATUS_pn-libxml2 = "yellow"
391RECIPE_LAST_UPDATE_pn-libxml2 = "Jun 18, 2010"
371RECIPE_MAINTAINER_pn-libxml2 = "Qing He <qing.he@intel.com>" 392RECIPE_MAINTAINER_pn-libxml2 = "Qing He <qing.he@intel.com>"
372DEPENDENCY_CHECK_pn-libxml2 = "done" 393RECIPE_DEPENDENCY_CHECK_pn-libxml2 = "done"
373RECIPE_LATEST_VERSION_pn-libxml2 = "2.7.7" 394RECIPE_LATEST_VERSION_pn-libxml2 = "2.7.7"
374RECIPE_PATCH_pn-libxml2+install = "use poky environment variables" 395RECIPE_PATCH_pn-libxml2+install = "use poky environment variables"
375RECIPE_INTEL_SECTION_pn-libxml2 = "base libs" 396RECIPE_INTEL_SECTION_pn-libxml2 = "base libs"
@@ -378,8 +399,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-libxml2 = "03/2010"
378RECIPE_COMMENTS_pn-libxml2 = "" 399RECIPE_COMMENTS_pn-libxml2 = ""
379 400
380RECIPE_STATUS_pn-readline = "green" 401RECIPE_STATUS_pn-readline = "green"
402RECIPE_LAST_UPDATE_pn-readline = "Jun 17, 2010"
381RECIPE_MAINTAINER_pn-readline = "Qing He <qing.he@intel.com>" 403RECIPE_MAINTAINER_pn-readline = "Qing He <qing.he@intel.com>"
382DEPENDENCY_CHECK_pn-readline = "not done" 404RECIPE_DEPENDENCY_CHECK_pn-readline = "not done"
383RECIPE_LATEST_VERSION_pn-readline = "6.1" 405RECIPE_LATEST_VERSION_pn-readline = "6.1"
384RECIPE_PATCH_pn-readline+configure-fix = "fix configure for build" 406RECIPE_PATCH_pn-readline+configure-fix = "fix configure for build"
385RECIPE_PATCH_pn-readline+acinclude.m4 = "local include file for autotools" 407RECIPE_PATCH_pn-readline+acinclude.m4 = "local include file for autotools"
@@ -389,8 +411,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-readline = "01/2010"
389RECIPE_COMMENTS_pn-readline = "" 411RECIPE_COMMENTS_pn-readline = ""
390 412
391RECIPE_STATUS_pn-libgcrypt = "green" 413RECIPE_STATUS_pn-libgcrypt = "green"
414RECIPE_LAST_UPDATE_pn-libgcrypt = "Jul 29, 2010"
392RECIPE_MAINTAINER_pn-libgcrypt = "Qing He <qing.he@intel.com>" 415RECIPE_MAINTAINER_pn-libgcrypt = "Qing He <qing.he@intel.com>"
393DEPENDENCY_CHECK_pn-libgcrypt = "not done" 416RECIPE_DEPENDENCY_CHECK_pn-libgcrypt = "not done"
394RECIPE_LATEST_VERSION_pn-libgcrypt = "1.4.5" 417RECIPE_LATEST_VERSION_pn-libgcrypt = "1.4.5"
395RECIPE_PATCH_pn-libgcrypt+add-pkgconfig-support = "add .pc file" 418RECIPE_PATCH_pn-libgcrypt+add-pkgconfig-support = "add .pc file"
396RECIPE_INTEL_SECTION_pn-libgcrypt = "base libs" 419RECIPE_INTEL_SECTION_pn-libgcrypt = "base libs"
@@ -399,8 +422,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-libgcrypt = "12/2009"
399RECIPE_COMMENTS_pn-libgcrypt = "" 422RECIPE_COMMENTS_pn-libgcrypt = ""
400 423
401RECIPE_STATUS_pn-gnutls = "yellow" # need explict pre configure 424RECIPE_STATUS_pn-gnutls = "yellow" # need explict pre configure
425RECIPE_LAST_UPDATE_pn-gnutls = "Jun 23, 2010"
402RECIPE_MAINTAINER_pn-gnutls = "Qing He <qing.he@intel.com>" 426RECIPE_MAINTAINER_pn-gnutls = "Qing He <qing.he@intel.com>"
403DEPENDENCY_CHECK_pn-gnutls = "done" 427RECIPE_DEPENDENCY_CHECK_pn-gnutls = "done"
404RECIPE_LATEST_VERSION_pn-gnutls = "2.8.6" 428RECIPE_LATEST_VERSION_pn-gnutls = "2.8.6"
405RECIPE_PATCH_pn-gnutls+gnutls-openssl = "unkown" 429RECIPE_PATCH_pn-gnutls+gnutls-openssl = "unkown"
406RECIPE_PATCH_pn-gnutls+gnutls-texinfo-euro = "fix if @euro is missing in texinfo" 430RECIPE_PATCH_pn-gnutls+gnutls-texinfo-euro = "fix if @euro is missing in texinfo"
@@ -411,19 +435,16 @@ RECIPE_LATEST_RELEASE_DATE_pn-gnutls = "03/2010"
411RECIPE_COMMENTS_pn-gnutls = "requires libtasn1, but has an internal copy" 435RECIPE_COMMENTS_pn-gnutls = "requires libtasn1, but has an internal copy"
412 436
413RECIPE_STATUS_pn-lzo = "green" 437RECIPE_STATUS_pn-lzo = "green"
438RECIPE_LAST_UPDATE_pn-lzo = "Dec 31, 2010"
414RECIPE_MAINTAINER_pn-lzo = "Qing He <qing.he@intel.com>" 439RECIPE_MAINTAINER_pn-lzo = "Qing He <qing.he@intel.com>"
415DEPENDENCY_CHECK_pn-lzo = "not done" 440RECIPE_LATEST_VERSION_pn-lzo = "2.04"
416RECIPE_LATEST_VERSION_pn-lzo = "2.03"
417RECIPE_PATCH_pn-lzo+autofoo = "minor configure.ac fix"
418RECIPE_PATCH_pn-lzo+acinclude.m4 = "lzo specific m4 macros"
419RECIPE_INTEL_SECTION_pn-lzo = "base libs" 441RECIPE_INTEL_SECTION_pn-lzo = "base libs"
420RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lzo = "30 months" 442RECIPE_LATEST_RELEASE_DATE_pn-lzo = "10/2010"
421RECIPE_LATEST_RELEASE_DATE_pn-lzo = "04/2008"
422RECIPE_COMMENTS_pn-lzo = ""
423 443
424RECIPE_STATUS_pn-libtasn1 = "green" 444RECIPE_STATUS_pn-libtasn1 = "green"
445RECIPE_LAST_UPDATE_pn-libtasn1 = "Nov 16, 2010"
425RECIPE_MAINTAINER_pn-libtasn1 = "Qing He <qing.he@intel.com>" 446RECIPE_MAINTAINER_pn-libtasn1 = "Qing He <qing.he@intel.com>"
426DEPENDENCY_CHECK_pn-libtasn1 = "not done" 447RECIPE_DEPENDENCY_CHECK_pn-libtasn1 = "not done"
427RECIPE_LATEST_VERSION_pn-libtasn1 = "2.7" 448RECIPE_LATEST_VERSION_pn-libtasn1 = "2.7"
428RECIPE_INTEL_SECTION_pn-libtasn1 = "base libs" 449RECIPE_INTEL_SECTION_pn-libtasn1 = "base libs"
429RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libtasn1 = "1 month" 450RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libtasn1 = "1 month"
@@ -431,67 +452,39 @@ RECIPE_LATEST_RELEASE_DATE_pn-libtasn1 = "05/2010"
431RECIPE_COMMENTS_pn-libtasn1 = "" 452RECIPE_COMMENTS_pn-libtasn1 = ""
432 453
433RECIPE_STATUS_pn-openssl = "green" 454RECIPE_STATUS_pn-openssl = "green"
455RECIPE_LAST_UPDATE_pn-openssl = "Nov 17, 2010"
434RECIPE_MAINTAINER_pn-openssl = "Qing He <qing.he@intel.com>" 456RECIPE_MAINTAINER_pn-openssl = "Qing He <qing.he@intel.com>"
435DEPENDENCY_CHECK_pn-openssl = "not done" 457RECIPE_LATEST_VERSION_pn-openssl = "1.0.0c"
436RECIPE_LATEST_VERSION_pn-openssl = "1.0.0a"
437RECIPE_NO_UPDATE_REASON_pn-openssl = "compatibility and stability concerns on new major release" 458RECIPE_NO_UPDATE_REASON_pn-openssl = "compatibility and stability concerns on new major release"
438RECIPE_PATCH_pn-openssl+debian-ca = "unknown"
439RECIPE_PATCH_pn-openssl+debian-debian-targets = "unknown"
440RECIPE_PATCH_pn-openssl+debian-engines-path = "unknown"
441RECIPE_PATCH_pn-openssl+debian-make-targets = "unknown"
442RECIPE_PATCH_pn-openssl+debian-man-dir = "unknown"
443RECIPE_PATCH_pn-openssl+debian-man-section = "unknown"
444RECIPE_PATCH_pn-openssl+debian-no-rpath = "unknown"
445RECIPE_PATCH_pn-openssl+debian-no-symbolic = "unknown"
446RECIPE_PATCH_pn-openssl+debian-pic = "PIC code generation fix for perl based asm"
447RECIPE_PATCH_pn-openssl+debian-pkg-config = "unknown"
448RECIPE_PATCH_pn-openssl+debian-valgrind = "fix valgrind errors"
449RECIPE_PATCH_pn-openssl+debian-rc4-amd64 = "unknown"
450RECIPE_PATCH_pn-openssl+debian-rehash-crt = "unknown"
451RECIPE_PATCH_pn-openssl+debian-rehash_pod = "unknown"
452RECIPE_PATCH_pn-openssl+debian-shared-lib-ext = "add shared library extension in Configure"
453RECIPE_PATCH_pn-openssl+debian-stddef = "add missing header"
454RECIPE_PATCH_pn-openssl+debian-version-script = "add 0.9.8 version info into shared library"
455RECIPE_PATCH_pn-openssl+debian-perl-path = "fix shebang lines of many perl scripts"
456RECIPE_PATCH_pn-openssl+configure-targets = "add poky target to Configure (not autoconf based)"
457RECIPE_PATCH_pn-openssl+shared-libs = "use make -e to export poky environment to child makefiles"
458RECIPE_INTEL_SECTION_pn-openssl = "base libs" 459RECIPE_INTEL_SECTION_pn-openssl = "base libs"
459RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-openssl = "3 months" 460RECIPE_LATEST_RELEASE_DATE_pn-openssl = "12/2010"
460RECIPE_LATEST_RELEASE_DATE_pn-openssl = "06/2010"
461RECIPE_COMMENTS_pn-openssl = "0.9.8o is actually used for stability concerns"
462 461
463RECIPE_STATUS_pn-libnss-mdns = "green" 462RECIPE_STATUS_pn-libnss-mdns = "green"
464DISTRO_PN_ALIAS_pn-libnss-mdns = "Meego=nss-mdns OpenSuSE=nss-mdns Ubuntu=nss-mdns Mandriva=nss_mdns Debian=nss-mdns" 463DISTRO_PN_ALIAS_pn-libnss-mdns = "Meego=nss-mdns OpenSuSE=nss-mdns Ubuntu=nss-mdns Mandriva=nss_mdns Debian=nss-mdns"
464RECIPE_LAST_UPDATE_pn-libnss-mdns = "Jul 8, 2010"
465RECIPE_MAINTAINER_pn-libnss-mdns = "Qing He <qing.he@intel.com>" 465RECIPE_MAINTAINER_pn-libnss-mdns = "Qing He <qing.he@intel.com>"
466DEPENDENCY_CHECK_pn-libnss-mdns = "done"
467RECIPE_LATEST_VERSION_pn-libnss-mdns = "0.10" 466RECIPE_LATEST_VERSION_pn-libnss-mdns = "0.10"
468RECIPE_PATCH_pn-libnss-mdns+alignment-fix = "fix alignment"
469RECIPE_INTEL_SECTION_pn-libnss-mdns = "base libs" 467RECIPE_INTEL_SECTION_pn-libnss-mdns = "base libs"
470RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libnss-mdns = "n/a"
471RECIPE_LATEST_RELEASE_DATE_pn-libnss-mdns = "05/2007" 468RECIPE_LATEST_RELEASE_DATE_pn-libnss-mdns = "05/2007"
472RECIPE_COMMENTS_pn-libnss-mdns = ""
473 469
474RECIPE_STATUS_pn-ncurses = "red" # need upgrade 470RECIPE_STATUS_pn-ncurses = "green"
471RECIPE_LAST_UPDATE_pn-ncurses = "Dec 30, 2010"
475RECIPE_MAINTAINER_pn-ncurses = "Qing He <qing.he@intel.com>" 472RECIPE_MAINTAINER_pn-ncurses = "Qing He <qing.he@intel.com>"
476DEPENDENCY_CHECK_pn-ncurses = "not done"
477RECIPE_LATEST_VERSION_pn-ncurses = "5.7" 473RECIPE_LATEST_VERSION_pn-ncurses = "5.7"
478RECIPE_INTEL_SECTION_pn-ncurses = "base libs" 474RECIPE_INTEL_SECTION_pn-ncurses = "base libs"
479RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-ncurses = "23 months"
480RECIPE_LATEST_RELEASE_DATE_pn-ncurses = "11/2008" 475RECIPE_LATEST_RELEASE_DATE_pn-ncurses = "11/2008"
481RECIPE_COMMENTS_pn-ncurses = ""
482 476
483RECIPE_STATUS_pn-popt = "green" 477RECIPE_STATUS_pn-popt = "green"
478RECIPE_LAST_UPDATE_pn-popt = "Jul 5, 2010"
484RECIPE_MAINTAINER_pn-popt = "Qing He <qing.he@intel.com>" 479RECIPE_MAINTAINER_pn-popt = "Qing He <qing.he@intel.com>"
485DEPENDENCY_CHECK_pn-popt = "done"
486RECIPE_LATEST_VERSION_pn-popt = "1.16" 480RECIPE_LATEST_VERSION_pn-popt = "1.16"
487RECIPE_INTEL_SECTION_pn-popt = "base libs" 481RECIPE_INTEL_SECTION_pn-popt = "base libs"
488RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-popt = "13 months"
489RECIPE_LATEST_RELEASE_DATE_pn-popt = "05/2010" 482RECIPE_LATEST_RELEASE_DATE_pn-popt = "05/2010"
490RECIPE_COMMENTS_pn-popt = ""
491 483
492RECIPE_STATUS_pn-sqlite3 = "green" # need upgrade 484RECIPE_STATUS_pn-sqlite3 = "green" # need upgrade
485RECIPE_LAST_UPDATE_pn-sqlite3 = "Nov 24, 2010"
493RECIPE_MAINTAINER_pn-sqlite3 = "Yu Ke <ke.yu@intel.com>" 486RECIPE_MAINTAINER_pn-sqlite3 = "Yu Ke <ke.yu@intel.com>"
494DEPENDENCY_CHECK_pn-sqlite3 = "not done" 487RECIPE_DEPENDENCY_CHECK_pn-sqlite3 = "not done"
495RECIPE_LATEST_VERSION_pn-sqlite3 = "3.7.3" 488RECIPE_LATEST_VERSION_pn-sqlite3 = "3.7.3"
496RECIPE_INTEL_SECTION_pn-sqlite3 = "base libs" 489RECIPE_INTEL_SECTION_pn-sqlite3 = "base libs"
497RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sqlite3 = "1 month" 490RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sqlite3 = "1 month"
@@ -499,8 +492,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-sqlite3 = "10/2010"
499RECIPE_COMMENTS_pn-sqlite3 = "" 492RECIPE_COMMENTS_pn-sqlite3 = ""
500 493
501RECIPE_STATUS_pn-libpthread-stubs = "green" 494RECIPE_STATUS_pn-libpthread-stubs = "green"
495RECIPE_LAST_UPDATE_pn-libpthread-stubs = "Jul 6, 2010"
502RECIPE_MAINTAINER_pn-libpthread-stubs = "Qing He <qing.he@intel.com>" 496RECIPE_MAINTAINER_pn-libpthread-stubs = "Qing He <qing.he@intel.com>"
503DEPENDENCY_CHECK_pn-libpthread-stubs = "done" 497RECIPE_DEPENDENCY_CHECK_pn-libpthread-stubs = "done"
504RECIPE_LATEST_VERSION_pn-libpthread-stubs = "0.3" 498RECIPE_LATEST_VERSION_pn-libpthread-stubs = "0.3"
505RECIPE_INTEL_SECTION_pn-libpthread-stubs = "base libs" 499RECIPE_INTEL_SECTION_pn-libpthread-stubs = "base libs"
506RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libpthread-stubs = "n/a" 500RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libpthread-stubs = "n/a"
@@ -508,22 +502,16 @@ RECIPE_LATEST_RELEASE_DATE_pn-libpthread-stubs = "10/2009"
508RECIPE_COMMENTS_pn-libpthread-stubs = "0.1: 11/2006, 0.2: 09/2009, 0.3: 10/2009" 502RECIPE_COMMENTS_pn-libpthread-stubs = "0.1: 11/2006, 0.2: 09/2009, 0.3: 10/2009"
509 503
510RECIPE_STATUS_pn-attr = "yellow" # the recipe is quite hacky 504RECIPE_STATUS_pn-attr = "yellow" # the recipe is quite hacky
505RECIPE_LAST_UPDATE_pn-attr = "Jul 7, 2010"
511RECIPE_MAINTAINER_pn-attr = "Qing He <qing.he@intel.com>" 506RECIPE_MAINTAINER_pn-attr = "Qing He <qing.he@intel.com>"
512DEPENDENCY_CHECK_pn-attr = "done"
513RECIPE_LATEST_VERSION_pn-attr = "2.4.44" 507RECIPE_LATEST_VERSION_pn-attr = "2.4.44"
514RECIPE_PATCH_pn-attr+double-free = ""
515RECIPE_PATCH_pn-attr+memory-leak2 = ""
516RECIPE_PATCH_pn-attr+memory-leak-in-copy = ""
517RECIPE_PATCH_pn-attr+pull-in-string.h = ""
518RECIPE_PATCH_pn-attr+thinko-in-restore = "stdin mishandling"
519RECIPE_INTEL_SECTION_pn-attr = "base libs" 508RECIPE_INTEL_SECTION_pn-attr = "base libs"
520RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-attr = "13 months"
521RECIPE_LATEST_RELEASE_DATE_pn-attr = "08/2009" 509RECIPE_LATEST_RELEASE_DATE_pn-attr = "08/2009"
522RECIPE_COMMENTS_pn-attr = ""
523 510
524RECIPE_STATUS_pn-libcap = "yellow" # hand crafted Makefiles 511RECIPE_STATUS_pn-libcap = "yellow" # hand crafted Makefiles
512RECIPE_LAST_UPDATE_pn-libcap = "Jul 7, 2010"
525RECIPE_MAINTAINER_pn-libcap = "Qing He <qing.he@intel.com>" 513RECIPE_MAINTAINER_pn-libcap = "Qing He <qing.he@intel.com>"
526DEPENDENCY_CHECK_pn-libcap = "done" 514RECIPE_DEPENDENCY_CHECK_pn-libcap = "done"
527RECIPE_LATEST_VERSION_pn-libcap = "2.19" 515RECIPE_LATEST_VERSION_pn-libcap = "2.19"
528RECIPE_INTEL_SECTION_pn-libcap = "base libs" 516RECIPE_INTEL_SECTION_pn-libcap = "base libs"
529RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libcap = "1 month" 517RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libcap = "1 month"
@@ -531,26 +519,24 @@ RECIPE_LATEST_RELEASE_DATE_pn-libcap = "01/2010"
531RECIPE_COMMENTS_pn-libcap = "" 519RECIPE_COMMENTS_pn-libcap = ""
532 520
533RECIPE_STATUS_pn-libevent = "green" 521RECIPE_STATUS_pn-libevent = "green"
522RECIPE_LAST_UPDATE_pn-libevent = "Jul 7, 2010"
534RECIPE_MAINTAINER_pn-libevent = "Qing He <qing.he@intel.com>" 523RECIPE_MAINTAINER_pn-libevent = "Qing He <qing.he@intel.com>"
535DEPENDENCY_CHECK_pn-libevent = "done" 524RECIPE_NO_UPDATE_REASON_pn-libevent="libevent 2 is incompatible"
536RECIPE_LATEST_VERSION_pn-libevent = "1.4.14b" 525RECIPE_LATEST_VERSION_pn-libevent = "1.4.14b"
537RECIPE_INTEL_SECTION_pn-libevent = "base libs" 526RECIPE_INTEL_SECTION_pn-libevent = "base libs"
538RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libevent = "7 months"
539RECIPE_LATEST_RELEASE_DATE_pn-libevent = "06/2010" 527RECIPE_LATEST_RELEASE_DATE_pn-libevent = "06/2010"
540RECIPE_COMMENTS_pn-libevent = ""
541 528
542RECIPE_STATUS_pn-libnfsidmap = "green" 529RECIPE_STATUS_pn-libnfsidmap = "green"
530RECIPE_LAST_UPDATE_pn-libnfsidmap = "Jan 20, 2011"
543RECIPE_MAINTAINER_pn-libnfsidmap = "Qing He <qing.he@intel.com>" 531RECIPE_MAINTAINER_pn-libnfsidmap = "Qing He <qing.he@intel.com>"
544DEPENDENCY_CHECK_pn-libnfsidmap = "done" 532RECIPE_LATEST_VERSION_pn-libnfsidmap = "0.24"
545RECIPE_LATEST_VERSION_pn-libnfsidmap = "0.23"
546RECIPE_INTEL_SECTION_pn-libnfsidmap = "base libs" 533RECIPE_INTEL_SECTION_pn-libnfsidmap = "base libs"
547RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libnfsidmap = "4 months" 534RECIPE_LATEST_RELEASE_DATE_pn-libnfsidmap = "12/2010"
548RECIPE_LATEST_RELEASE_DATE_pn-libnfsidmap = "12/2009"
549RECIPE_COMMENTS_pn-libnfsidmap = ""
550 535
551RECIPE_STATUS_pn-acl = "yellow" # hacky as attr 536RECIPE_STATUS_pn-acl = "yellow" # hacky as attr
537RECIPE_LAST_UPDATE_pn-acl = "Jul 29, 2010"
552RECIPE_MAINTAINER_pn-acl = "Qing He <qing.he@intel.com>" 538RECIPE_MAINTAINER_pn-acl = "Qing He <qing.he@intel.com>"
553DEPENDENCY_CHECK_pn-acl = "done" 539RECIPE_DEPENDENCY_CHECK_pn-acl = "done"
554RECIPE_LATEST_VERSION_pn-acl = "2.2.49" 540RECIPE_LATEST_VERSION_pn-acl = "2.2.49"
555RECIPE_INTEL_SECTION_pn-acl = "base libs" 541RECIPE_INTEL_SECTION_pn-acl = "base libs"
556RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-acl = "4 months" 542RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-acl = "4 months"
@@ -558,7 +544,8 @@ RECIPE_LATEST_RELEASE_DATE_pn-acl = "11/2009"
558RECIPE_COMMENTS_pn-acl = "" 544RECIPE_COMMENTS_pn-acl = ""
559 545
560RECIPE_STATUS_pn-tcp-wrappers = "yellow" # custom build system 546RECIPE_STATUS_pn-tcp-wrappers = "yellow" # custom build system
561DEPENDENCY_CHECK_pn-tcp-wrappers = "done" 547RECIPE_DEPENDENCY_CHECK_pn-tcp-wrappers = "done"
548RECIPE_LAST_UPDATE_pn-tcp-wrappers = "Aug 11, 2010"
562RECIPE_MAINTAINER_pn-tcp-wrappers = "Qing He <qing.he@intel.com>" 549RECIPE_MAINTAINER_pn-tcp-wrappers = "Qing He <qing.he@intel.com>"
563RECIPE_LATEST_VERSION_pn-tcp-wrappers = "7.6" 550RECIPE_LATEST_VERSION_pn-tcp-wrappers = "7.6"
564RECIPE_INTEL_SECTION_pn-tcp-wrappers = "base libs" 551RECIPE_INTEL_SECTION_pn-tcp-wrappers = "base libs"
@@ -567,11 +554,13 @@ RECIPE_LATEST_RELEASE_DATE_pn-tcp-wrappers = "n/a"
567RECIPE_COMMENTS_pn-tcp-wrappers = "" 554RECIPE_COMMENTS_pn-tcp-wrappers = ""
568 555
569RECIPE_STATUS_pn-libaio = "green" 556RECIPE_STATUS_pn-libaio = "green"
557RECIPE_LAST_UPDATE_pn-libaio = "Aug 27, 2010"
570RECIPE_MAINTAINER_pn-libaio = "Qing He <qing.he@intel.com>" 558RECIPE_MAINTAINER_pn-libaio = "Qing He <qing.he@intel.com>"
571RECIPE_LATEST_VERSION_pn-libaio = "0.3.107" 559RECIPE_LATEST_VERSION_pn-libaio = "0.3.107"
572 560
573RECIPE_STATUS_pn-libcheck = "green" 561RECIPE_STATUS_pn-libcheck = "green"
574DEPENDENCY_CHECK_pn-libcheck = "done" 562RECIPE_DEPENDENCY_CHECK_pn-libcheck = "done"
563RECIPE_LAST_UPDATE_pn-libcheck = "Aug 20, 2010"
575RECIPE_MAINTAINER_pn-libcheck = "Qing He <qing.he@intel.com>" 564RECIPE_MAINTAINER_pn-libcheck = "Qing He <qing.he@intel.com>"
576RECIPE_LATEST_VERSION_pn-libcheck = "0.9.8" 565RECIPE_LATEST_VERSION_pn-libcheck = "0.9.8"
577RECIPE_INTEL_SECTION_pn-libcheck = "base libs" 566RECIPE_INTEL_SECTION_pn-libcheck = "base libs"
@@ -581,7 +570,8 @@ RECIPE_COMMENTS_pn-libcheck = ""
581DISTRO_PN_ALIAS_pn-libcheck = "Ubuntu=check Fedora=check OpenSuSE=check" 570DISTRO_PN_ALIAS_pn-libcheck = "Ubuntu=check Fedora=check OpenSuSE=check"
582 571
583RECIPE_STATUS_pn-augeas = "green" 572RECIPE_STATUS_pn-augeas = "green"
584DEPENDENCY_CHECK_pn-augeas = "done" 573RECIPE_DEPENDENCY_CHECK_pn-augeas = "done"
574RECIPE_LAST_UPDATE_pn-augeas = "Aug 20, 2010"
585RECIPE_MAINTAINER_pn-augeas = "Qing He <qing.he@intel.com>" 575RECIPE_MAINTAINER_pn-augeas = "Qing He <qing.he@intel.com>"
586RECIPE_LATEST_VERSION_pn-augeas = "0.7.3" 576RECIPE_LATEST_VERSION_pn-augeas = "0.7.3"
587RECIPE_INTEL_SECTION_pn-augeas = "base libs" 577RECIPE_INTEL_SECTION_pn-augeas = "base libs"
@@ -591,30 +581,34 @@ RECIPE_COMMENTS_pn-augeas = ""
591DISTRO_PN_ALIAS_pn-augeas = "Ubuntu=libaugeas0 Debian=libaugeas0" 581DISTRO_PN_ALIAS_pn-augeas = "Ubuntu=libaugeas0 Debian=libaugeas0"
592 582
593RECIPE_STATUS_pn-sat-solver = "green" 583RECIPE_STATUS_pn-sat-solver = "green"
594DEPENDENCY_CHECK_pn-sat-solver = "done" 584RECIPE_DEPENDENCY_CHECK_pn-sat-solver = "done"
595RECIPE_LATEST_VERSION_pn-sat-solver = "git" 585RECIPE_LATEST_VERSION_pn-sat-solver = "git"
596RECIPE_INTEL_SECTION_pn-sat-solver = "base libs" 586RECIPE_INTEL_SECTION_pn-sat-solver = "base libs"
597DISTRO_PN_ALIAS_pn-sat-solver = "OSPDT OpenSuSE=satsolver-tools" 587DISTRO_PN_ALIAS_pn-sat-solver = "OSPDT OpenSuSE=satsolver-tools"
598RECIPE_COMMENTS_pn-sat-solver = "" 588RECIPE_COMMENTS_pn-sat-solver = ""
589RECIPE_LAST_UPDATE_pn-sat-solver = "Aug 20, 2010"
599RECIPE_MAINTAINER_pn-sat-solver = "Qing He <qing.he@intel.com>" 590RECIPE_MAINTAINER_pn-sat-solver = "Qing He <qing.he@intel.com>"
600 591
601RECIPE_STATUS_pn-libzypp = "green" 592RECIPE_STATUS_pn-libzypp = "green"
602DEPENDENCY_CHECK_pn-libzypp = "not done" 593RECIPE_DEPENDENCY_CHECK_pn-libzypp = "not done"
594RECIPE_LAST_UPDATE_pn-libzypp = "Aug 20, 2010"
603RECIPE_MAINTAINER_pn-libzypp = "Qing He <qing.he@intel.com>" 595RECIPE_MAINTAINER_pn-libzypp = "Qing He <qing.he@intel.com>"
604RECIPE_LATEST_VERSION_pn-libzypp = "git" 596RECIPE_LATEST_VERSION_pn-libzypp = "git"
605RECIPE_INTEL_SECTION_pn-libzypp = "base libs" 597RECIPE_INTEL_SECTION_pn-libzypp = "base libs"
606RECIPE_COMMENTS_pn-libzypp = "" 598RECIPE_COMMENTS_pn-libzypp = ""
599
607RECIPE_STATUS_pn-dbus-wait = "green" 600RECIPE_STATUS_pn-dbus-wait = "green"
608DEPENDENCY_CHECK_pn-dbus-wait = "not done" 601RECIPE_DEPENDENCY_CHECK_pn-dbus-wait = "not done"
609RECIPE_LATEST_VERSION_pn-dbus-wait = "0.0+svnr402" 602RECIPE_LATEST_VERSION_pn-dbus-wait = "0.0+svnr402"
610RECIPE_INTEL_SECTION_pn-dbus-wait = "base utils" 603RECIPE_INTEL_SECTION_pn-dbus-wait = "base utils"
611RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dbus-wait = "n/a" 604RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dbus-wait = "n/a"
612RECIPE_LATEST_RELEASE_DATE_pn-dbus-wait = "08/2008" 605RECIPE_LATEST_RELEASE_DATE_pn-dbus-wait = "08/2008"
613RECIPE_COMMENTS_pn-dbus-wait = "o-hand project" 606RECIPE_COMMENTS_pn-dbus-wait = "o-hand project"
607RECIPE_LAST_UPDATE_pn-dbus-wait = "Aug 12, 2010"
614RECIPE_MAINTAINER_pn-dbus-wait= "Kevin Tian <kevin.tian@intel.com>" 608RECIPE_MAINTAINER_pn-dbus-wait= "Kevin Tian <kevin.tian@intel.com>"
615 609
616RECIPE_STATUS_pn-e2fsprogs = "yellow" # patch comment 610RECIPE_STATUS_pn-e2fsprogs = "yellow" # patch comment
617DEPENDENCY_CHECK_pn-e2fsprogs = "not done" 611RECIPE_DEPENDENCY_CHECK_pn-e2fsprogs = "not done"
618RECIPE_LATEST_VERSION_pn-e2fsprogs = "1.41.12" 612RECIPE_LATEST_VERSION_pn-e2fsprogs = "1.41.12"
619RECIPE_PATCH_pn-e2fsprogs+quotefix = "to be pushed upstream" 613RECIPE_PATCH_pn-e2fsprogs+quotefix = "to be pushed upstream"
620RECIPE_PATCH_pn-e2fsprogs+mkdir = "to be pushed upstream; no comment; MKINSTALLDIRS is not supported in new version autotool" 614RECIPE_PATCH_pn-e2fsprogs+mkdir = "to be pushed upstream; no comment; MKINSTALLDIRS is not supported in new version autotool"
@@ -623,66 +617,73 @@ RECIPE_INTEL_SECTION_pn-e2fsprogs = "base utils"
623RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-e2fsprogs = "2 months" 617RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-e2fsprogs = "2 months"
624RECIPE_LATEST_RELEASE_DATE_pn-e2fsprogs = "05/2010" 618RECIPE_LATEST_RELEASE_DATE_pn-e2fsprogs = "05/2010"
625RECIPE_COMMENTS_pn-e2fsprogs = "" 619RECIPE_COMMENTS_pn-e2fsprogs = ""
620RECIPE_LAST_UPDATE_pn-e2fsprogs = "Jun 1, 2010"
626RECIPE_MAINTAINER_pn-e2fsprogs = "Kevin Tian <kevin.tian@intel.com>" 621RECIPE_MAINTAINER_pn-e2fsprogs = "Kevin Tian <kevin.tian@intel.com>"
627 622
628RECIPE_STATUS_pn-initramfs-boot = "green" 623RECIPE_STATUS_pn-initramfs-boot = "green"
629DEPENDENCY_CHECK_pn-initramfs-boot = "not done" 624RECIPE_DEPENDENCY_CHECK_pn-initramfs-boot = "not done"
630RECIPE_LATEST_VERSION_pn-initramfs-boot = "1.0" 625RECIPE_LATEST_VERSION_pn-initramfs-boot = "1.0"
631RECIPE_PATCH_pn-initramfs-boot+init-boot = "local" 626RECIPE_PATCH_pn-initramfs-boot+init-boot = "local"
632RECIPE_INTEL_SECTION_pn-initramfs-boot = "base utils" 627RECIPE_INTEL_SECTION_pn-initramfs-boot = "base utils"
633RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-initramfs-boot = "n/a" 628RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-initramfs-boot = "n/a"
634RECIPE_LATEST_RELEASE_DATE_pn-initramfs-boot = "n/a" 629RECIPE_LATEST_RELEASE_DATE_pn-initramfs-boot = "n/a"
635RECIPE_COMMENTS_pn-initramfs-boot = "local scripts follow Poky's MIT license" 630RECIPE_COMMENTS_pn-initramfs-boot = "local scripts follow Poky's MIT license"
631RECIPE_LAST_UPDATE_pn-initramfs-boot = "Nov 5, 2008"
636RECIPE_MAINTAINER_pn-initramfs-boot = "Kevin Tian <kevin.tian@intel.com>" 632RECIPE_MAINTAINER_pn-initramfs-boot = "Kevin Tian <kevin.tian@intel.com>"
637 633
638RECIPE_STATUS_pn-initramfs-live-boot = "green" 634RECIPE_STATUS_pn-initramfs-live-boot = "green"
639DEPENDENCY_CHECK_pn-initramfs-live-boot = "not done" 635RECIPE_DEPENDENCY_CHECK_pn-initramfs-live-boot = "not done"
640RECIPE_LATEST_VERSION_pn-initramfs-live-boot = "1.0" 636RECIPE_LATEST_VERSION_pn-initramfs-live-boot = "1.0"
641RECIPE_PATCH_pn-initramfs-live-boot+init-live = "local" 637RECIPE_PATCH_pn-initramfs-live-boot+init-live = "local"
642RECIPE_INTEL_SECTION_pn-initramfs-live-boot = "base utils" 638RECIPE_INTEL_SECTION_pn-initramfs-live-boot = "base utils"
643RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-initramfs-live-boot = "n/a" 639RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-initramfs-live-boot = "n/a"
644RECIPE_LATEST_RELEASE_DATE_pn-initramfs-live-boot = "n/a" 640RECIPE_LATEST_RELEASE_DATE_pn-initramfs-live-boot = "n/a"
645RECIPE_COMMENTS_pn-initramfs-live-boot = "local scripts follow Poky's MIT license" 641RECIPE_COMMENTS_pn-initramfs-live-boot = "local scripts follow Poky's MIT license"
642RECIPE_LAST_UPDATE_pn-initramfs-live-boot = "Sep 10, 2008"
646RECIPE_MAINTAINER_pn-initramfs-live-boot = "Kevin Tian <kevin.tian@intel.com>" 643RECIPE_MAINTAINER_pn-initramfs-live-boot = "Kevin Tian <kevin.tian@intel.com>"
647 644
648RECIPE_STATUS_pn-initramfs-live-install = "green" 645RECIPE_STATUS_pn-initramfs-live-install = "green"
649DEPENDENCY_CHECK_pn-initramfs-live-install = "not done" 646RECIPE_DEPENDENCY_CHECK_pn-initramfs-live-install = "not done"
650RECIPE_LATEST_VERSION_pn-initramfs-live-install = "1.0" 647RECIPE_LATEST_VERSION_pn-initramfs-live-install = "1.0"
651RECIPE_PATCH_pn-initramfs-live-install+init-install = "local" 648RECIPE_PATCH_pn-initramfs-live-install+init-install = "local"
652RECIPE_INTEL_SECTION_pn-initramfs-live-install = "base utils" 649RECIPE_INTEL_SECTION_pn-initramfs-live-install = "base utils"
653RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-initramfs-live-install = "n/a" 650RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-initramfs-live-install = "n/a"
654RECIPE_LATEST_RELEASE_DATE_pn-initramfs-live-install = "n/a" 651RECIPE_LATEST_RELEASE_DATE_pn-initramfs-live-install = "n/a"
655RECIPE_COMMENTS_pn-initramfs-live-install = "local scripts follow Poky's MIT license" 652RECIPE_COMMENTS_pn-initramfs-live-install = "local scripts follow Poky's MIT license"
653RECIPE_LAST_UPDATE_pn-initramfs-live-install = "Oct 8, 2008"
656RECIPE_MAINTAINER_pn-initramfs-live-install = "Kevin Tian <kevin.tian@intel.com>" 654RECIPE_MAINTAINER_pn-initramfs-live-install = "Kevin Tian <kevin.tian@intel.com>"
657 655
658RECIPE_STATUS_pn-initscripts = "green" 656RECIPE_STATUS_pn-initscripts = "green"
659DEPENDENCY_CHECK_pn-initscripts = "not done" 657RECIPE_DEPENDENCY_CHECK_pn-initscripts = "not done"
660RECIPE_LATEST_VERSION_pn-initscripts = "1.0" 658RECIPE_LATEST_VERSION_pn-initscripts = "1.0"
661RECIPE_PATCH_pn-initscripts = "many local scripts" 659RECIPE_PATCH_pn-initscripts = "many local scripts"
662RECIPE_INTEL_SECTION_pn-initscripts = "base utils" 660RECIPE_INTEL_SECTION_pn-initscripts = "base utils"
663RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-initscripts = "n/a" 661RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-initscripts = "n/a"
664RECIPE_LATEST_RELEASE_DATE_pn-initscripts = "n/a" 662RECIPE_LATEST_RELEASE_DATE_pn-initscripts = "n/a"
665RECIPE_COMMENTS_pn-initscripts = "local scripts follow Poky's MIT license" 663RECIPE_COMMENTS_pn-initscripts = "local scripts follow Poky's MIT license"
664RECIPE_LAST_UPDATE_pn-initscripts = "Jul 21, 2006"
666RECIPE_MAINTAINER_pn-initscripts = "Kevin Tian <kevin.tian@intel.com>" 665RECIPE_MAINTAINER_pn-initscripts = "Kevin Tian <kevin.tian@intel.com>"
667 666
668RECIPE_STATUS_pn-keymaps = "green" 667RECIPE_STATUS_pn-keymaps = "green"
669DEPENDENCY_CHECK_pn-keymaps = "not done" 668RECIPE_DEPENDENCY_CHECK_pn-keymaps = "not done"
670RECIPE_LATEST_VERSION_pn-keymaps = "1.0" 669RECIPE_LATEST_VERSION_pn-keymaps = "1.0"
671RECIPE_PATCH_pn-keymaps = "many local keymap files" 670RECIPE_PATCH_pn-keymaps = "many local keymap files"
672RECIPE_INTEL_SECTION_pn-keymaps = "base utils" 671RECIPE_INTEL_SECTION_pn-keymaps = "base utils"
673RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-keymaps = "n/a" 672RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-keymaps = "n/a"
674RECIPE_LATEST_RELEASE_DATE_pn-keymaps = "n/a" 673RECIPE_LATEST_RELEASE_DATE_pn-keymaps = "n/a"
675RECIPE_COMMENTS_pn-keymaps = "local scripts follow Poky's MIT license, however it contains a GPL notation" 674RECIPE_COMMENTS_pn-keymaps = "local scripts follow Poky's MIT license, however it contains a GPL notation"
675RECIPE_LAST_UPDATE_pn-keymaps = "Jul 21, 2006"
676RECIPE_MAINTAINER_pn-keymaps = "Kevin Tian <kevin.tian@intel.com>" 676RECIPE_MAINTAINER_pn-keymaps = "Kevin Tian <kevin.tian@intel.com>"
677 677
678RECIPE_STATUS_pn-modutils = "red" 678RECIPE_STATUS_pn-modutils = "red"
679DEPENDENCY_CHECK_pn-modutils-initscripts = "not done" 679RECIPE_DEPENDENCY_CHECK_pn-modutils-initscripts = "not done"
680RECIPE_LATEST_VERSION_pn-modutils = "2.4.27" 680RECIPE_LATEST_VERSION_pn-modutils = "2.4.27"
681RECIPE_LAST_UPDATE_pn-modutils = "Jul 21, 2006"
681RECIPE_MAINTAINER_pn-modutils = "Kevin Tian <kevin.tian@intel.com>" 682RECIPE_MAINTAINER_pn-modutils = "Kevin Tian <kevin.tian@intel.com>"
682DISTRO_PN_ALIAS_pn-modutils = "Ubuntu=module-init-tools Fedora=module-init-tools" 683DISTRO_PN_ALIAS_pn-modutils = "Ubuntu=module-init-tools Fedora=module-init-tools"
683 684
684RECIPE_STATUS_pn-modutils-initscripts = "green" 685RECIPE_STATUS_pn-modutils-initscripts = "green"
685DEPENDENCY_CHECK_pn-modutils-initscripts = "not done" 686RECIPE_DEPENDENCY_CHECK_pn-modutils-initscripts = "not done"
686RECIPE_LATEST_VERSION_pn-modutils-initscripts = "1.0" 687RECIPE_LATEST_VERSION_pn-modutils-initscripts = "1.0"
687RECIPE_PATCH_pn-modutils-initscripts+modutils = "local" 688RECIPE_PATCH_pn-modutils-initscripts+modutils = "local"
688RECIPE_INTEL_SECTION_pn-modutils-initscripts = "base utils" 689RECIPE_INTEL_SECTION_pn-modutils-initscripts = "base utils"
@@ -691,116 +692,120 @@ RECIPE_LATEST_RELEASE_DATE_pn-modutils-initscripts = "n/a"
691RECIPE_COMMENTS_pn-modutils-initscripts = "local scripts follow Poky's MIT license" 692RECIPE_COMMENTS_pn-modutils-initscripts = "local scripts follow Poky's MIT license"
692RECIPE_MAINTAINER_pn-modutils-initscripts = "Kevin Tian <kevin.tian@intel.com>" 693RECIPE_MAINTAINER_pn-modutils-initscripts = "Kevin Tian <kevin.tian@intel.com>"
693 694
694RECIPE_STATUS_pn-network-suspend-scripts = "yellow" # no PV
695DEPENDENCY_CHECK_pn-network-suspend-scripts = "not done"
696RECIPE_LATEST_VERSION_pn-network-suspend-scripts = "1.0"
697RECIPE_PATCH_pn-network-suspend-scripts = "local scripts"
698RECIPE_INTEL_SECTION_pn-network-suspend-scripts = "base utils"
699RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-network-suspend-scripts = "n/a"
700RECIPE_LATEST_RELEASE_DATE_pn-network-suspend-scripts = "n/a"
701RECIPE_COMMENTS_pn-network-suspend-scripts = "local scripts follow Poky's MIT license"
702RECIPE_MAINTAINER_pn-network-suspend-scripts = "Kevin Tian <kevin.tian@intel.com>"
703
704RECIPE_STATUS_pn-opkg-collateral = "green" 695RECIPE_STATUS_pn-opkg-collateral = "green"
705DEPENDENCY_CHECK_pn-opkg-collateral = "not done" 696RECIPE_DEPENDENCY_CHECK_pn-opkg-collateral = "not done"
706RECIPE_LATEST_VERSION_pn-opkg-collateral = "1.0" 697RECIPE_LATEST_VERSION_pn-opkg-collateral = "1.0"
707RECIPE_PATCH_pn-opkg-collateral = "local" 698RECIPE_PATCH_pn-opkg-collateral = "local"
708RECIPE_INTEL_SECTION_pn-opkg-collateral = "base utils" 699RECIPE_INTEL_SECTION_pn-opkg-collateral = "base utils"
709RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-opkg-collateral = "n/a" 700RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-opkg-collateral = "n/a"
710RECIPE_LATEST_RELEASE_DATE_pn-opkg-collateral = "n/a" 701RECIPE_LATEST_RELEASE_DATE_pn-opkg-collateral = "n/a"
711RECIPE_COMMENTS_pn-opkg-collateral = "local scripts follow Poky's MIT license, no need to have its own" 702RECIPE_COMMENTS_pn-opkg-collateral = "local scripts follow Poky's MIT license, no need to have its own"
703RECIPE_LAST_UPDATE_pn-opkg-collateral = "Mar 17, 2008"
712RECIPE_MAINTAINER_pn-opkg-collateral = "Kevin Tian <kevin.tian@intel.com>" 704RECIPE_MAINTAINER_pn-opkg-collateral = "Kevin Tian <kevin.tian@intel.com>"
713 705
714RECIPE_STATUS_pn-opkg-config-base = "green" 706RECIPE_STATUS_pn-opkg-config-base = "green"
715DEPENDENCY_CHECK_pn-opkg-config-base = "not done" 707RECIPE_DEPENDENCY_CHECK_pn-opkg-config-base = "not done"
716RECIPE_LATEST_VERSION_pn-opkg-config-base = "1.0" 708RECIPE_LATEST_VERSION_pn-opkg-config-base = "1.0"
717RECIPE_INTEL_SECTION_pn-opkg-config-base = "base utils" 709RECIPE_INTEL_SECTION_pn-opkg-config-base = "base utils"
718RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-opkg-config-base = "n/a" 710RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-opkg-config-base = "n/a"
719RECIPE_LATEST_RELEASE_DATE_pn-opkg-config-base = "n/a" 711RECIPE_LATEST_RELEASE_DATE_pn-opkg-config-base = "n/a"
720RECIPE_COMMENTS_pn-opkg-config-base = "local scripts follow Poky's MIT license" 712RECIPE_COMMENTS_pn-opkg-config-base = "local scripts follow Poky's MIT license"
713RECIPE_LAST_UPDATE_pn-opkg-config-base = "Jan 29, 2010"
721RECIPE_MAINTAINER_pn-opkg-config-base = "Kevin Tian <kevin.tian@intel.com>" 714RECIPE_MAINTAINER_pn-opkg-config-base = "Kevin Tian <kevin.tian@intel.com>"
722 715
723RECIPE_STATUS_pn-poky-feed-config-opkg = "green" 716RECIPE_STATUS_pn-poky-feed-config-opkg = "green"
724DEPENDENCY_CHECK_pn-poky-feed-config-opkg = "not done" 717RECIPE_DEPENDENCY_CHECK_pn-poky-feed-config-opkg = "not done"
725RECIPE_LATEST_VERSION_pn-poky-feed-config-opkg = "1.0" 718RECIPE_LATEST_VERSION_pn-poky-feed-config-opkg = "1.0"
726RECIPE_INTEL_SECTION_pn-poky-feed-config-opkg = "base utils" 719RECIPE_INTEL_SECTION_pn-poky-feed-config-opkg = "base utils"
727RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-poky-feed-config-opkg = "n/a" 720RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-poky-feed-config-opkg = "n/a"
728RECIPE_LATEST_RELEASE_DATE_pn-poky-feed-config-opkg = "n/a" 721RECIPE_LATEST_RELEASE_DATE_pn-poky-feed-config-opkg = "n/a"
729RECIPE_COMMENTS_pn-poky-feed-config-opkg = "local scripts follow Poky's MIT license" 722RECIPE_COMMENTS_pn-poky-feed-config-opkg = "local scripts follow Poky's MIT license"
723RECIPE_LAST_UPDATE_pn-poky-feed-config-opkg = "Sep 20, 2010"
730RECIPE_MAINTAINER_pn-poky-feed-config-opkg = "Kevin Tian <kevin.tian@intel.com>" 724RECIPE_MAINTAINER_pn-poky-feed-config-opkg = "Kevin Tian <kevin.tian@intel.com>"
731 725
732RECIPE_STATUS_pn-opkg = "green" 726RECIPE_STATUS_pn-opkg = "green"
733DEPENDENCY_CHECK_pn-opkg = "not done" 727RECIPE_DEPENDENCY_CHECK_pn-opkg = "not done"
734RECIPE_LATEST_VERSION_pn-opkg = "0.1.8" 728RECIPE_LATEST_VERSION_pn-opkg = "0.1.8"
735RECIPE_INTEL_SECTION_pn-opkg = "base utils" 729RECIPE_INTEL_SECTION_pn-opkg = "base utils"
736RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-opkg = "2 months" 730RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-opkg = "2 months"
737RECIPE_LATEST_RELEASE_DATE_pn-opkg = "02/2010" 731RECIPE_LATEST_RELEASE_DATE_pn-opkg = "02/2010"
738RECIPE_COMMENTS_pn-opkg = "" 732RECIPE_COMMENTS_pn-opkg = ""
733RECIPE_LAST_UPDATE_pn-opkg = "Jul 21, 2010"
739RECIPE_MAINTAINER_pn-opkg = "Dongxiao Xu <dongxiao.xu@intel.com" 734RECIPE_MAINTAINER_pn-opkg = "Dongxiao Xu <dongxiao.xu@intel.com"
740 735
741RECIPE_STATUS_pn-dpkg = "red" 736RECIPE_STATUS_pn-dpkg = "green"
742RECIPE_LATEST_VERSION_pn-dpkg = "check: 1.15.8.5" 737RECIPE_LATEST_VERSION_pn-dpkg = "1.15.8.7"
738RECIPE_INTEL_SECTION_pn-dpkg = "base utils"
739RECIPE_LATEST_RELEASE_DATE_pn-dpkg = "2010/12/20"
740RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dpkg = "3 months"
741RECIPE_LAST_UPDATE_pn-dpkg = "Dec 30, 2010"
743RECIPE_MAINTAINER_pn-dpkg = "Dongxiao Xu <dongxiao.xu@intel.com" 742RECIPE_MAINTAINER_pn-dpkg = "Dongxiao Xu <dongxiao.xu@intel.com"
744 743
745RECIPE_STATUS_pn-opkg-utils = "green" 744RECIPE_STATUS_pn-opkg-utils = "green"
746DEPENDENCY_CHECK_pn-opkg-utils = "not done" 745RECIPE_DEPENDENCY_CHECK_pn-opkg-utils = "not done"
747RECIPE_LATEST_VERSION_pn-opkg-utils = "0.1.8+svnr4747" 746RECIPE_LATEST_VERSION_pn-opkg-utils = "0.1.8+svnr4747"
748RECIPE_INTEL_SECTION_pn-opkg-utils = "base utils" 747RECIPE_INTEL_SECTION_pn-opkg-utils = "base utils"
749RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-opkg-utils = "3 months" 748RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-opkg-utils = "3 months"
750RECIPE_LATEST_RELEASE_DATE_pn-opkg-utils = "11/2008" 749RECIPE_LATEST_RELEASE_DATE_pn-opkg-utils = "11/2008"
751RECIPE_COMMENTS_pn-opkg-utils = "" 750RECIPE_COMMENTS_pn-opkg-utils = ""
751RECIPE_LAST_UPDATE_pn-opkg-utils = "Jul 21, 2010"
752RECIPE_MAINTAINER_pn-opkg-utils = "Dongxiao Xu <dongxiao.xu@intel.com" 752RECIPE_MAINTAINER_pn-opkg-utils = "Dongxiao Xu <dongxiao.xu@intel.com"
753DISTRO_PN_ALIAS_pn-opkg-utils = "OSPDT upstream=http://svn.openmoko.org/trunk/src/target/opkg/" 753DISTRO_PN_ALIAS_pn-opkg-utils = "OSPDT upstream=http://svn.openmoko.org/trunk/src/target/opkg/"
754 754
755RECIPE_STATUS_pn-polkit = "green" 755RECIPE_STATUS_pn-polkit = "green"
756DEPENDENCY_CHECK_pn-polkit = "not done" 756RECIPE_DEPENDENCY_CHECK_pn-polkit = "not done"
757RECIPE_LATEST_VERSION_pn-polkit = "0.99" 757RECIPE_LATEST_VERSION_pn-polkit = "0.99"
758RECIPE_INTEL_SECTION_pn-polkit = "base utils" 758RECIPE_INTEL_SECTION_pn-polkit = "base utils"
759RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-polkit = "1 months" 759RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-polkit = "1 months"
760RECIPE_LATEST_RELEASE_DATE_pn-polkit = "2010/09/15" 760RECIPE_LATEST_RELEASE_DATE_pn-polkit = "2010/09/15"
761RECIPE_COMMENTS_pn-polkit = "" 761RECIPE_COMMENTS_pn-polkit = ""
762RECIPE_LAST_UPDATE_pn-polkit = "Nov 18, 2010"
762RECIPE_MAINTAINER_pn-polkit = "Dongxiao Xu <dongxiao.xu@intel.com>" 763RECIPE_MAINTAINER_pn-polkit = "Dongxiao Xu <dongxiao.xu@intel.com>"
763 764
764RECIPE_STATUS_pn-psplash = "not done" 765RECIPE_STATUS_pn-psplash = "not done"
765DEPENDENCY_CHECK_pn-psplash = "not done" 766RECIPE_DEPENDENCY_CHECK_pn-psplash = "not done"
766RECIPE_LATEST_VERSION_pn-psplash = "0.0+svnr424" 767RECIPE_LATEST_VERSION_pn-psplash = "0.0+svnr424"
767RECIPE_PATCH_pn-psplash+psplash-init = "local scripts" 768RECIPE_PATCH_pn-psplash+psplash-init = "local scripts"
768RECIPE_INTEL_SECTION_pn-psplash = "base utils" 769RECIPE_INTEL_SECTION_pn-psplash = "base utils"
769RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-psplash = "6 months" 770RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-psplash = "6 months"
770RECIPE_LATEST_RELEASE_DATE_pn-psplash = "05/2009" 771RECIPE_LATEST_RELEASE_DATE_pn-psplash = "05/2009"
771RECIPE_COMMENTS_pn-psplash = "" 772RECIPE_COMMENTS_pn-psplash = ""
773RECIPE_LAST_UPDATE_pn-psplash = "Jul 13, 2010"
772RECIPE_MAINTAINER_pn-psplash = "Kevin Tian <kevin.tian@intel.com>" 774RECIPE_MAINTAINER_pn-psplash = "Kevin Tian <kevin.tian@intel.com>"
773 775
774RECIPE_STATUS_pn-pax-utils = "green" 776RECIPE_STATUS_pn-pax-utils = "green"
775DEPENDENCY_CHECK_pn-pax-utils = "not done" 777RECIPE_DEPENDENCY_CHECK_pn-pax-utils = "not done"
776RECIPE_LATEST_VERSION_pn-pax-utils = "0.2.1" 778RECIPE_LATEST_VERSION_pn-pax-utils = "0.2.2"
779RECIPE_NO_OF_PATCHES_pn-pax-utils = "0"
777RECIPE_INTEL_SECTION_pn-pax-utils = "base utils" 780RECIPE_INTEL_SECTION_pn-pax-utils = "base utils"
778RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pax-utils = "15 months" 781RECIPE_LATEST_RELEASE_DATE_pn-pax-utils = "12/2010"
779RECIPE_LATEST_RELEASE_DATE_pn-pax-utils = "02/2010" 782RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pax-utils = "10 months"
780RECIPE_COMMENTS_pn-pax-utils = "" 783RECIPE_LAST_UPDATE_pn-pax-utils = "Jan 4, 2011"
781RECIPE_MAINTAINER_pn-pax-utils = "Scott Garman <scott.a.garman@intel.com>" 784RECIPE_MAINTAINER_pn-pax-utils = "Scott Garman <scott.a.garman@intel.com>"
782 785
783RECIPE_STATUS_pn-sudo = "green" 786RECIPE_STATUS_pn-sudo = "green"
784DEPENDENCY_CHECK_pn-sudo = "not done" 787RECIPE_DEPENDENCY_CHECK_pn-sudo = "not done"
785RECIPE_LATEST_VERSION_pn-sudo = "1.7.4p4" 788RECIPE_LATEST_VERSION_pn-sudo = "1.7.4p6"
786RECIPE_INTEL_SECTION_pn-sudo = "base utils" 789RECIPE_INTEL_SECTION_pn-sudo = "base utils"
787RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sudo = "1 month" 790RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sudo = "1 week"
788RECIPE_LATEST_RELEASE_DATE_pn-sudo = "2010/09/07" 791RECIPE_LATEST_RELEASE_DATE_pn-sudo = "2011/01/19"
789RECIPE_COMMENTS_pn-sudo = "" 792RECIPE_COMMENTS_pn-sudo = ""
793RECIPE_LAST_UPDATE_pn-sudo = "Jan 23, 2011"
790RECIPE_MAINTAINER_pn-sudo = "Scott Garman <scott.a.garman@intel.com>" 794RECIPE_MAINTAINER_pn-sudo = "Scott Garman <scott.a.garman@intel.com>"
791 795
792RECIPE_STATUS_pn-blktool = "green" 796RECIPE_STATUS_pn-blktool = "green"
793DEPENDENCY_CHECK_pn-blktool = "not done" 797RECIPE_DEPENDENCY_CHECK_pn-blktool = "not done"
794RECIPE_LATEST_VERSION_pn-blktool = "4-6" 798RECIPE_LATEST_VERSION_pn-blktool = "4-6"
799RECIPE_NO_OF_PATCHES_pn-blktool = "0"
795RECIPE_INTEL_SECTION_pn-blktool = "base utils" 800RECIPE_INTEL_SECTION_pn-blktool = "base utils"
796RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-blktool = "3 years"
797RECIPE_LATEST_RELEASE_DATE_pn-blktool = "02/2010" 801RECIPE_LATEST_RELEASE_DATE_pn-blktool = "02/2010"
798RECIPE_COMMENTS_pn-blktool = "" 802RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-blktool = "3 years"
803RECIPE_LAST_UPDATE_pn-blktool = "Jan 4, 2011"
799RECIPE_MAINTAINER_pn-blktool = "Scott Garman <scott.a.garman@intel.com>" 804RECIPE_MAINTAINER_pn-blktool = "Scott Garman <scott.a.garman@intel.com>"
800DISTRO_PN_ALIAS_pn-blktool = "Debian=blktool Mandriva=blktool" 805DISTRO_PN_ALIAS_pn-blktool = "Debian=blktool Mandriva=blktool"
801 806
802RECIPE_STATUS_pn-iproute2 = "green" 807RECIPE_STATUS_pn-iproute2 = "green"
803DEPENDENCY_CHECK_pn-iproute2 = "not done" 808RECIPE_DEPENDENCY_CHECK_pn-iproute2 = "not done"
804RECIPE_LATEST_VERSION_pn-iproute2 = "2.6.34" 809RECIPE_LATEST_VERSION_pn-iproute2 = "2.6.34"
805RECIPE_PATCH_pn-iproute2+configure-cross = "to be pushed upstream" 810RECIPE_PATCH_pn-iproute2+configure-cross = "to be pushed upstream"
806RECIPE_INTEL_SECTION_pn-iproute2 = "base utils" 811RECIPE_INTEL_SECTION_pn-iproute2 = "base utils"
@@ -808,21 +813,23 @@ RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-iproute2 = "3 months"
808RECIPE_LATEST_RELEASE_DATE_pn-iproute2 = "05/2010" 813RECIPE_LATEST_RELEASE_DATE_pn-iproute2 = "05/2010"
809RECIPE_COMMENTS_pn-iproute2 = "" 814RECIPE_COMMENTS_pn-iproute2 = ""
810DISTRO_PN_ALIAS_pn-iproute2 = "OSPDT" 815DISTRO_PN_ALIAS_pn-iproute2 = "OSPDT"
816RECIPE_LAST_UPDATE_pn-iproute2 = "Nov 10, 2010"
811RECIPE_MAINTAINER_pn-iproute2 = "Qing He <qing.he@intel.com>" 817RECIPE_MAINTAINER_pn-iproute2 = "Qing He <qing.he@intel.com>"
812 818
813RECIPE_STATUS_pn-netbase = "green" 819RECIPE_STATUS_pn-netbase = "green"
814DEPENDENCY_CHECK_pn-netbase = "not done" 820RECIPE_DEPENDENCY_CHECK_pn-netbase = "not done"
815RECIPE_LATEST_VERSION_pn-netbase = "4.43" 821RECIPE_LATEST_VERSION_pn-netbase = "4.44"
816RECIPE_PATCH_pn-netbase+busybox = "marked as REMOVAL" 822RECIPE_PATCH_pn-netbase+busybox = "marked as REMOVAL"
817RECIPE_PATCH_pn-many = "local scripts" 823RECIPE_PATCH_pn-many = "local scripts"
818RECIPE_INTEL_SECTION_pn-netbase = "base utils" 824RECIPE_INTEL_SECTION_pn-netbase = "base utils"
819RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-netbase = "2 years" 825RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-netbase = "2 months"
820RECIPE_LATEST_RELEASE_DATE_pn-netbase = "2010/10/23" 826RECIPE_LATEST_RELEASE_DATE_pn-netbase = "2010/12/13"
821RECIPE_COMMENTS_pn-netbase = "" 827RECIPE_COMMENTS_pn-netbase = ""
828RECIPE_LAST_UPDATE_pn-netbase = "Dec 30, 2010"
822RECIPE_MAINTAINER_pn-netbase = "Dongxiao Xu <dongxiao.xu@intel.com>" 829RECIPE_MAINTAINER_pn-netbase = "Dongxiao Xu <dongxiao.xu@intel.com>"
823 830
824RECIPE_STATUS_pn-busybox = "green" 831RECIPE_STATUS_pn-busybox = "green"
825DEPENDENCY_CHECK_pn-busybox = "not done" 832RECIPE_DEPENDENCY_CHECK_pn-busybox = "not done"
826RECIPE_LATEST_VERSION_pn-busybox = "1.16.2" 833RECIPE_LATEST_VERSION_pn-busybox = "1.16.2"
827RECIPE_PATCH_pn-busybox+udhcpscript = "added in 1.00-rc3; c9bb6478;2004;fix the deleting routers error message in case of no existing default routes;" 834RECIPE_PATCH_pn-busybox+udhcpscript = "added in 1.00-rc3; c9bb6478;2004;fix the deleting routers error message in case of no existing default routes;"
828RECIPE_PATCH_pn-busybox+udhcpc-fix-nfsroot = "added in 1.13.2; ec4da6df;2009;fix nfsroot issues with resetting IP and deleting routes;to be pushed upstream" 835RECIPE_PATCH_pn-busybox+udhcpc-fix-nfsroot = "added in 1.13.2; ec4da6df;2009;fix nfsroot issues with resetting IP and deleting routes;to be pushed upstream"
@@ -834,10 +841,11 @@ RECIPE_INTEL_SECTION_pn-busybox = "base utils"
834RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-busybox = "3 months" 841RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-busybox = "3 months"
835RECIPE_LATEST_RELEASE_DATE_pn-busybox = "0i6/2010" 842RECIPE_LATEST_RELEASE_DATE_pn-busybox = "0i6/2010"
836RECIPE_COMMENTS_pn-busybox = "some special overrides/unsets for CFLAGS, etc. need to understand the tricks behind" 843RECIPE_COMMENTS_pn-busybox = "some special overrides/unsets for CFLAGS, etc. need to understand the tricks behind"
844RECIPE_LAST_UPDATE_pn-busybox = "Nov 17, 2010"
837RECIPE_MAINTAINER_pn-busybox = "Qing He <qing.he@intel.com>" 845RECIPE_MAINTAINER_pn-busybox = "Qing He <qing.he@intel.com>"
838 846
839RECIPE_STATUS_pn-module-init-tools = "green" 847RECIPE_STATUS_pn-module-init-tools = "green"
840DEPENDENCY_CHECK_pn-module-init-tools = "not done" 848RECIPE_DEPENDENCY_CHECK_pn-module-init-tools = "not done"
841RECIPE_LATEST_VERSION_pn-module-init-tools = "3.12" 849RECIPE_LATEST_VERSION_pn-module-init-tools = "3.12"
842RECIPE_PATCH_pn-module-init-tools+ignore_arch_directory = "added as 1st set of patches from bk to git in 2005; no exact commit; aim to ignore all files in /etc/modprobe.d/arch; not sure why" 850RECIPE_PATCH_pn-module-init-tools+ignore_arch_directory = "added as 1st set of patches from bk to git in 2005; no exact commit; aim to ignore all files in /etc/modprobe.d/arch; not sure why"
843RECIPE_PATCH_pn-module-init-tools+modutils_extension = "added as 1st set of patches from bk to git in 2005; no exact commit; aim to handle renaming of modutils; local patch" 851RECIPE_PATCH_pn-module-init-tools+modutils_extension = "added as 1st set of patches from bk to git in 2005; no exact commit; aim to handle renaming of modutils; local patch"
@@ -849,30 +857,21 @@ RECIPE_INTEL_SECTION_pn-module-init-tools = "base utils"
849RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-module-init-tools = "3 months" 857RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-module-init-tools = "3 months"
850RECIPE_LATEST_RELEASE_DATE_pn-module-init-tools = "10/2009" 858RECIPE_LATEST_RELEASE_DATE_pn-module-init-tools = "10/2009"
851RECIPE_COMMENTS_pn-module-init-tools = "most tweaks about alternative handle and rename" 859RECIPE_COMMENTS_pn-module-init-tools = "most tweaks about alternative handle and rename"
860RECIPE_LAST_UPDATE_pn-module-init-tools = "Jul 21, 2010"
852RECIPE_MAINTAINER_pn-module-init-tools = "Kevin Tian <kevin.tian@intel.com>" 861RECIPE_MAINTAINER_pn-module-init-tools = "Kevin Tian <kevin.tian@intel.com>"
853 862
854RECIPE_STATUS_pn-fakeroot = "green"
855DEPENDENCY_CHECK_pn-fakeroot = "not done"
856RECIPE_LATEST_VERSION_pn-fakeroot = "1.14.4"
857RECIPE_PATCH_pn-fakeroot+configure-libtool = "mark for REMOVAL"
858RECIPE_PATCH_pn-fakeroot+absolutepaths = "added by RP in 2010; to avoid build system python linking to staging library; to be pushed upstream"
859RECIPE_INTEL_SECTION_pn-fakeroot = "base utils"
860RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-fakeroot = "6 months"
861RECIPE_LATEST_RELEASE_DATE_pn-fakeroot = "11/2009"
862RECIPE_COMMENTS_pn-fakeroot = ""
863RECIPE_MAINTAINER_pn-fakeroot = "Qing He <qing.he@intel.com>"
864
865RECIPE_STATUS_pn-base-files = "green" 863RECIPE_STATUS_pn-base-files = "green"
866DEPENDENCY_CHECK_pn-base-files = "not done" 864RECIPE_DEPENDENCY_CHECK_pn-base-files = "not done"
867RECIPE_LATEST_VERSION_pn-base-files = "3.0.14" 865RECIPE_LATEST_VERSION_pn-base-files = "3.0.14"
868RECIPE_INTEL_SECTION_pn-base-files = "base utils" 866RECIPE_INTEL_SECTION_pn-base-files = "base utils"
869RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-base-files = "n/a" 867RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-base-files = "n/a"
870RECIPE_LATEST_RELEASE_DATE_pn-base-files = "n/a" 868RECIPE_LATEST_RELEASE_DATE_pn-base-files = "n/a"
871RECIPE_COMMENTS_pn-base-files = "licenses are pacakges here; all local files. RP said that the version 3.0.14 may come from debian. no need to upgrade it now" 869RECIPE_COMMENTS_pn-base-files = "licenses are pacakges here; all local files. RP said that the version 3.0.14 may come from debian. no need to upgrade it now"
870RECIPE_LAST_UPDATE_pn-base-files = "Jul 21, 2006"
872RECIPE_MAINTAINER_pn-base-files = "Kevin Tian <kevin.tian@intel.com>" 871RECIPE_MAINTAINER_pn-base-files = "Kevin Tian <kevin.tian@intel.com>"
873 872
874RECIPE_STATUS_pn-base-passwd = "green" 873RECIPE_STATUS_pn-base-passwd = "green"
875DEPENDENCY_CHECK_pn-base-passwd = "not done" 874RECIPE_DEPENDENCY_CHECK_pn-base-passwd = "not done"
876RECIPE_LATEST_VERSION_pn-base-passwd = "3.5.22" 875RECIPE_LATEST_VERSION_pn-base-passwd = "3.5.22"
877RECIPE_PATCH_pn-base-passwd+nobash = "change /bin/bash to /bin/sh in passwd.master; another specific poky tweak" 876RECIPE_PATCH_pn-base-passwd+nobash = "change /bin/bash to /bin/sh in passwd.master; another specific poky tweak"
878RECIPE_PATCH_pn-base-passwd+root-home = "change home for root user in passwd.master; perhaps a poky specific tweak; oe even has other root-home patch for different configurations" 877RECIPE_PATCH_pn-base-passwd+root-home = "change home for root user in passwd.master; perhaps a poky specific tweak; oe even has other root-home patch for different configurations"
@@ -880,98 +879,108 @@ RECIPE_INTEL_SECTION_pn-base-passwd = "base utils"
880RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-base-passwd = "1 year" 879RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-base-passwd = "1 year"
881RECIPE_LATEST_RELEASE_DATE_pn-base-passwd = "09/2009" 880RECIPE_LATEST_RELEASE_DATE_pn-base-passwd = "09/2009"
882RECIPE_COMMENTS_pn-base-passwd = "" 881RECIPE_COMMENTS_pn-base-passwd = ""
882RECIPE_LAST_UPDATE_pn-base-passwd = "Jul 6, 2010"
883RECIPE_MAINTAINER_pn-base-passwd = "Kevin Tian <kevin.tian@intel.com>" 883RECIPE_MAINTAINER_pn-base-passwd = "Kevin Tian <kevin.tian@intel.com>"
884 884
885RECIPE_STATUS_pn-apmd = "green" 885RECIPE_STATUS_pn-apmd = "green"
886DEPENDENCY_CHECK_pn-apmd = "not done" 886RECIPE_DEPENDENCY_CHECK_pn-apmd = "not done"
887RECIPE_LATEST_VERSION_pn-apmd = "3.2.2-14" 887RECIPE_LATEST_VERSION_pn-apmd = "3.2.2-14"
888RECIPE_NO_OF_PATCHES_pn-apmd = "3"
888RECIPE_PATCH_pn-apmd+debian = "in upstream" 889RECIPE_PATCH_pn-apmd+debian = "in upstream"
889RECIPE_PATCH_pn-apmd+workaround = "unclear"
890RECIPE_PATCH_pn-apmd+unlinux = "added in 3.2.2; 9456cdc1; 2007; to prevent build from interfering with host kernel headers. curious whether it's still required or any better way?" 890RECIPE_PATCH_pn-apmd+unlinux = "added in 3.2.2; 9456cdc1; 2007; to prevent build from interfering with host kernel headers. curious whether it's still required or any better way?"
891RECIPE_PATCH_pn-apmd+libtool = "added in 3.2.2; 35de05e6; 2008; by RP; to solve compability with libtool 2.2.4. perhaps for upstream" 891RECIPE_PATCH_pn-apmd+libtool = "added in 3.2.2; 35de05e6; 2008; by RP; to solve compability with libtool 2.2.4. perhaps for upstream"
892RECIPE_INTEL_SECTION_pn-apmd = "base utils" 892RECIPE_INTEL_SECTION_pn-apmd = "base utils"
893RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-apmd = "1 year"
894RECIPE_LATEST_RELEASE_DATE_pn-apmd = "07/2009" 893RECIPE_LATEST_RELEASE_DATE_pn-apmd = "07/2009"
894RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-apmd = "1 year"
895RECIPE_COMMENTS_pn-apmd = "" 895RECIPE_COMMENTS_pn-apmd = ""
896RECIPE_LAST_UPDATE_pn-apmd = "Jan 4, 2011"
896RECIPE_MAINTAINER_pn-apmd = "Scott Garman <scott.a.garman@intel.com>" 897RECIPE_MAINTAINER_pn-apmd = "Scott Garman <scott.a.garman@intel.com>"
897 898
898RECIPE_STATUS_pn-gperf = "green" 899RECIPE_STATUS_pn-gperf = "green"
899DEPENDENCY_CHECK_pn-gperf = "not done" 900RECIPE_DEPENDENCY_CHECK_pn-gperf = "not done"
900RECIPE_LATEST_VERSION_pn-gperf = "3.0.4" 901RECIPE_LATEST_VERSION_pn-gperf = "3.0.4"
901RECIPE_PATCH_pn-gperf+autoreconf = "added in 2007; e02b1a6c; perhaps it's required if only purpose is to downgraded AC_PREREQ from 2.60 to 2.59; acinclude.m4 perhaps could be generated automatically" 902RECIPE_PATCH_pn-gperf+autoreconf = "added in 2007; e02b1a6c; perhaps it's required if only purpose is to downgraded AC_PREREQ from 2.60 to 2.59; acinclude.m4 perhaps could be generated automatically"
902RECIPE_INTEL_SECTION_pn-gperf = "base utils" 903RECIPE_INTEL_SECTION_pn-gperf = "base utils"
903RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gperf = "2 years" 904RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gperf = "2 years"
904RECIPE_LATEST_RELEASE_DATE_pn-gperf = "02/2009" 905RECIPE_LATEST_RELEASE_DATE_pn-gperf = "02/2009"
905RECIPE_COMMENTS_pn-gperf = "3.0.4 is GPLv3, however we only require native version so far" 906RECIPE_COMMENTS_pn-gperf = "3.0.4 is GPLv3, however we only require native version so far"
907RECIPE_LAST_UPDATE_pn-gperf = "Jul 19, 2010"
906RECIPE_MAINTAINER_pn-gperf = "Kevin Tian <kevin.tian@intel.com>" 908RECIPE_MAINTAINER_pn-gperf = "Kevin Tian <kevin.tian@intel.com>"
907 909
908RECIPE_STATUS_pn-valgrind = "green" 910RECIPE_STATUS_pn-valgrind = "green"
909DEPENDENCY_CHECK_pn-valgrind = "not done" 911RECIPE_DEPENDENCY_CHECK_pn-valgrind = "not done"
910RECIPE_LATEST_VERSION_pn-valgrind = "3.6.0" 912RECIPE_LATEST_VERSION_pn-valgrind = "3.6.0"
911RECIPE_INTEL_SECTION_pn-valgrind = "base utils" 913RECIPE_INTEL_SECTION_pn-valgrind = "base utils"
912RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-valgrind = "6 months" 914RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-valgrind = "6 months"
913RECIPE_LATEST_RELEASE_DATE_pn-valgrind = "2010/10/21" 915RECIPE_LATEST_RELEASE_DATE_pn-valgrind = "2010/10/21"
914RECIPE_COMMENTS_pn-valgrind = "" 916RECIPE_COMMENTS_pn-valgrind = ""
917RECIPE_LAST_UPDATE_pn-valgrind = "Nov 16, 2010"
915RECIPE_MAINTAINER_pn-valgrind = "Dongxiao Xu <dongxiao.xu@intel.com>" 918RECIPE_MAINTAINER_pn-valgrind = "Dongxiao Xu <dongxiao.xu@intel.com>"
916 919
917RECIPE_STATUS_pn-formfactor = "green" 920RECIPE_STATUS_pn-formfactor = "green"
918DEPENDENCY_CHECK_pn-formfactor = "not done" 921RECIPE_DEPENDENCY_CHECK_pn-formfactor = "not done"
919RECIPE_LATEST_VERSION_pn-formfactor = "0.0" 922RECIPE_LATEST_VERSION_pn-formfactor = "0.0"
920RECIPE_INTEL_SECTION_pn-formfactor = "base utils" 923RECIPE_INTEL_SECTION_pn-formfactor = "base utils"
921RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-formfactor = "n/a" 924RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-formfactor = "n/a"
922RECIPE_LATEST_RELEASE_DATE_pn-formfactor = "n/a" 925RECIPE_LATEST_RELEASE_DATE_pn-formfactor = "n/a"
923RECIPE_COMMENTS_pn-formfactor = "" 926RECIPE_COMMENTS_pn-formfactor = ""
927RECIPE_LAST_UPDATE_pn-formfactor = "May 23, 2007"
924RECIPE_MAINTAINER_pn-formfactor = "Dongxiao Xu <dongxiao.xu@intel.com>" 928RECIPE_MAINTAINER_pn-formfactor = "Dongxiao Xu <dongxiao.xu@intel.com>"
925 929
926RECIPE_STATUS_pn-makedevs = "green" 930RECIPE_STATUS_pn-makedevs = "green"
927DEPENDENCY_CHECK_pn-makedevs = "not done" 931RECIPE_DEPENDENCY_CHECK_pn-makedevs = "not done"
928RECIPE_LATEST_VERSION_pn-makedevs = "1.0.0" 932RECIPE_LATEST_VERSION_pn-makedevs = "1.0.0"
929RECIPE_INTEL_SECTION_pn-makedevs = "base utils" 933RECIPE_INTEL_SECTION_pn-makedevs = "base utils"
930RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-makedevs = "n/a" 934RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-makedevs = "n/a"
931RECIPE_LATEST_RELEASE_DATE_pn-makedevs = "n/a" 935RECIPE_LATEST_RELEASE_DATE_pn-makedevs = "n/a"
932RECIPE_COMMENTS_pn-makedevs = "" 936RECIPE_COMMENTS_pn-makedevs = ""
937RECIPE_LAST_UPDATE_pn-makedevs = "Jul 21, 2006"
933RECIPE_MAINTAINER_pn-makedevs = "Dongxiao Xu <dongxiao.xu@intel.com>" 938RECIPE_MAINTAINER_pn-makedevs = "Dongxiao Xu <dongxiao.xu@intel.com>"
934 939
935RECIPE_STATUS_pn-cwautomacros = "green" 940RECIPE_STATUS_pn-cwautomacros = "green"
936DEPENDENCY_CHECK_pn-cwautomacros = "not done" 941RECIPE_DEPENDENCY_CHECK_pn-cwautomacros = "not done"
937RECIPE_LATEST_VERSION_pn-cwautomacros = "20090610" 942RECIPE_LATEST_VERSION_pn-cwautomacros = "20090610"
938RECIPE_INTEL_SECTION_pn-cwautomacros = "base utils" 943RECIPE_INTEL_SECTION_pn-cwautomacros = "base utils"
939RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cwautomacros = "6 months" 944RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cwautomacros = "6 months"
940RECIPE_LATEST_RELEASE_DATE_pn-cwautomacros = "06/2009" 945RECIPE_LATEST_RELEASE_DATE_pn-cwautomacros = "06/2009"
941RECIPE_COMMENTS_pn-cwautomacros = "" 946RECIPE_COMMENTS_pn-cwautomacros = ""
947RECIPE_LAST_UPDATE_pn-cwautomacros = "Aug 6, 2010"
942RECIPE_MAINTAINER_pn-cwautomacros = "Dongxiao Xu <dongxiao.xu@intel.com>" 948RECIPE_MAINTAINER_pn-cwautomacros = "Dongxiao Xu <dongxiao.xu@intel.com>"
943DISTRO_PN_ALIAS_pn-cwautomacros= "OSPDT upstream=http://cwautomacros.berlios.de/" 949DISTRO_PN_ALIAS_pn-cwautomacros= "OSPDT upstream=http://cwautomacros.berlios.de/"
944 950
945RECIPE_STATUS_pn-which = "green" 951RECIPE_STATUS_pn-which = "green"
946DEPENDENCY_CHECK_pn-which = "not done" 952RECIPE_DEPENDENCY_CHECK_pn-which = "not done"
947RECIPE_LATEST_VERSION_pn-which = "2.20" 953RECIPE_LATEST_VERSION_pn-which = "2.20"
948RECIPE_INTEL_SECTION_pn-which = "base utils" 954RECIPE_INTEL_SECTION_pn-which = "base utils"
949RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-which = "7 months" 955RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-which = "7 months"
950RECIPE_LATEST_RELEASE_DATE_pn-which = "08/2008" 956RECIPE_LATEST_RELEASE_DATE_pn-which = "08/2008"
951RECIPE_COMMENTS_pn-which = "" 957RECIPE_COMMENTS_pn-which = ""
958RECIPE_LAST_UPDATE_pn-which = "Aug 13, 2010"
952RECIPE_MAINTAINER_pn-which = "Dongxiao Xu <dongxiao.xu@intel.com>" 959RECIPE_MAINTAINER_pn-which = "Dongxiao Xu <dongxiao.xu@intel.com>"
953 960
954RECIPE_STATUS_pn-quota = "green" 961RECIPE_STATUS_pn-quota = "green"
955DEPENDENCY_CHECK_pn-quota = "not done" 962RECIPE_DEPENDENCY_CHECK_pn-quota = "not done"
956RECIPE_LATEST_VERSION_pn-quota = "4.00-pre1" 963RECIPE_LATEST_VERSION_pn-quota = "4.00-pre1"
957RECIPE_INTEL_SECTION_pn-quota = "base utils" 964RECIPE_INTEL_SECTION_pn-quota = "base utils"
958RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-quota = "13 months" 965RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-quota = "13 months"
959RECIPE_LATEST_RELEASE_DATE_pn-quota = "2010/02/17" 966RECIPE_LATEST_RELEASE_DATE_pn-quota = "2010/02/17"
960RECIPE_COMMENTS_pn-quota = "" 967RECIPE_COMMENTS_pn-quota = ""
968RECIPE_LAST_UPDATE_pn-quota = "Nov 15, 2010"
961RECIPE_MAINTAINER_pn-quota = "Dongxiao Xu <dongxiao.xu@intel.com>" 969RECIPE_MAINTAINER_pn-quota = "Dongxiao Xu <dongxiao.xu@intel.com>"
962 970
963RECIPE_STATUS_pn-mdadm = "green" 971RECIPE_STATUS_pn-mdadm = "green"
964DEPENDENCY_CHECK_pn-mdadm = "not done" 972RECIPE_DEPENDENCY_CHECK_pn-mdadm = "not done"
965RECIPE_LATEST_VERSION_pn-mdadm = "3.1.4" 973RECIPE_LATEST_VERSION_pn-mdadm = "3.1.4"
966RECIPE_NO_OF_PATCHES_pn-mdadm = "0" 974RECIPE_NO_OF_PATCHES_pn-mdadm = "0"
967RECIPE_INTEL_SECTION_pn-mdadm = "base utils" 975RECIPE_INTEL_SECTION_pn-mdadm = "base utils"
968RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mdadm = "25 days" 976RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mdadm = "25 days"
969RECIPE_LATEST_RELEASE_DATE_pn-mdadm = "Aug 31, 2010" 977RECIPE_LATEST_RELEASE_DATE_pn-mdadm = "Aug 31, 2010"
970RECIPE_COMMENTS_pn-mdadm = "" 978RECIPE_COMMENTS_pn-mdadm = ""
979RECIPE_LAST_UPDATE_pn-mdadm = "Aug 31, 2010"
971RECIPE_MAINTAINER_pn-mdadm = "Dexuan Cui <dexuan.cui@intel.com>" 980RECIPE_MAINTAINER_pn-mdadm = "Dexuan Cui <dexuan.cui@intel.com>"
972 981
973RECIPE_STATUS_pn-screen = "green" 982RECIPE_STATUS_pn-screen = "green"
974DEPENDENCY_CHECK_pn-screen = "not done" 983RECIPE_DEPENDENCY_CHECK_pn-screen = "not done"
975RECIPE_LATEST_VERSION_pn-screen = "4.0.3" 984RECIPE_LATEST_VERSION_pn-screen = "4.0.3"
976RECIPE_NO_OF_PATCHES_pn-screen = "2" 985RECIPE_NO_OF_PATCHES_pn-screen = "2"
977RECIPE_PATCH_pn-screen+screen_4.0.3-11+lenny1.diff.gz = "Debian's enhancement" 986RECIPE_PATCH_pn-screen+screen_4.0.3-11+lenny1.diff.gz = "Debian's enhancement"
@@ -980,26 +989,33 @@ RECIPE_INTEL_SECTION_pn-screen = "base utils"
980RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-screen = "4 years" 989RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-screen = "4 years"
981RECIPE_LATEST_RELEASE_DATE_pn-screen = "Aug 7, 2008" 990RECIPE_LATEST_RELEASE_DATE_pn-screen = "Aug 7, 2008"
982RECIPE_COMMENTS_pn-screen = "" 991RECIPE_COMMENTS_pn-screen = ""
992RECIPE_LAST_UPDATE_pn-screen = "Aug 31, 2010"
983RECIPE_MAINTAINER_pn-screen = "Dexuan Cui <dexuan.cui@intel.com>" 993RECIPE_MAINTAINER_pn-screen = "Dexuan Cui <dexuan.cui@intel.com>"
984 994
985RECIPE_STATUS_pn-gzip = "green" 995RECIPE_STATUS_pn-gzip = "green"
996RECIPE_LAST_UPDATE_pn-gzip = "Jul 23, 2010"
986RECIPE_MAINTAINER_pn-gzip = "Kevin Tian <kevin.tian@intel.com>" 997RECIPE_MAINTAINER_pn-gzip = "Kevin Tian <kevin.tian@intel.com>"
987RECIPE_LATEST_VERSION_pn-gzip = "1.4" 998RECIPE_LATEST_VERSION_pn-gzip = "1.4"
988 999
989RECIPE_STATUS_pn-iptables = "green" 1000RECIPE_STATUS_pn-iptables = "green"
1001RECIPE_LAST_UPDATE_pn-iptables = "Nov 10, 2010"
990RECIPE_MAINTAINER_pn-iptables = "Qing He <qing.he@intel.com>" 1002RECIPE_MAINTAINER_pn-iptables = "Qing He <qing.he@intel.com>"
991RECIPE_LATEST_VERSION_pn-iptables = "1.4.8" 1003RECIPE_LATEST_VERSION_pn-iptables = "1.4.8"
992 1004
993RECIPE_STATUS_pn-ethtool = "red" 1005RECIPE_STATUS_pn-ethtool = "green"
994RECIPE_MAINTAINER_pn-ethtool = "Edwin Zhai <edwin.zhai@intel.com>"
995RECIPE_LATEST_VERSION_pn-ethtool = "2.6.36" 1006RECIPE_LATEST_VERSION_pn-ethtool = "2.6.36"
1007RECIPE_LAST_UPDATE_pn-ethtool = "Nov 28, 2010"
1008RECIPE_MAINTAINER_pn-ethtool = "Edwin Zhai <edwin.zhai@intel.com>"
996 1009
997RECIPE_STATUS_pn-net-tools = "red" 1010RECIPE_STATUS_pn-net-tools = "green"
1011RECIPE_LAST_UPDATE_pn-net-tools = "Aug 16, 2010"
1012RECIPE_LATEST_VERSION_pn-net-tools = "1.60-23"
998RECIPE_MAINTAINER_pn-net-tools = "Dongxiao Xu <dongxiao.xu@intel.com>" 1013RECIPE_MAINTAINER_pn-net-tools = "Dongxiao Xu <dongxiao.xu@intel.com>"
999RECIPE_LATEST_VERSION_pn-net-tools = "1.60-23" 1014RECIPE_LATEST_VERSION_pn-net-tools = "1.60-23"
1000 1015
1001RECIPE_STATUS_pn-shadow = "green" 1016RECIPE_STATUS_pn-shadow = "green"
1002DEPENDENCY_CHECK_pn-shadow = "not done" 1017RECIPE_DEPENDENCY_CHECK_pn-shadow = "not done"
1018RECIPE_LAST_UPDATE_pn-shadow = "Aug 6, 2010"
1003RECIPE_MAINTAINER_pn-shadow = "Kevin Tian <kevin.tian@intel.com>" 1019RECIPE_MAINTAINER_pn-shadow = "Kevin Tian <kevin.tian@intel.com>"
1004RECIPE_LATEST_VERSION_pn-shadow = "4.1.4.2" 1020RECIPE_LATEST_VERSION_pn-shadow = "4.1.4.2"
1005RECIPE_INTEL_SECTION_pn-shadow = "base utils" 1021RECIPE_INTEL_SECTION_pn-shadow = "base utils"
@@ -1007,23 +1023,29 @@ RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-shadow = "2 months"
1007RECIPE_LATEST_RELEASE_DATE_pn-shadow = "07/2009" 1023RECIPE_LATEST_RELEASE_DATE_pn-shadow = "07/2009"
1008RECIPE_COMMENTS_pn-formfactor = "" 1024RECIPE_COMMENTS_pn-formfactor = ""
1009 1025
1010RECIPE_STATUS_pn-coreutils = "red" 1026RECIPE_STATUS_pn-coreutils = "green"
1027RECIPE_LAST_UPDATE_pn-coreutils = "Jan 20, 2011"
1011RECIPE_MAINTAINER_pn-coreutils = "Qing He <qing.he@intel.com>" 1028RECIPE_MAINTAINER_pn-coreutils = "Qing He <qing.he@intel.com>"
1012RECIPE_LATEST_VERSION_pn-coreutils = "8.5" 1029RECIPE_INTEL_SECTION_pn-coreutils = "base utils"
1030RECIPE_LATEST_VERSION_pn-coreutils = "8.9"
1031RECIPE_LATEST_RELEASE_DATE_pn-coreutils = "01/2011"
1013 1032
1014RECIPE_STATUS_pn-libuser = "green" 1033RECIPE_STATUS_pn-libuser = "green"
1034RECIPE_LAST_UPDATE_pn-libuser = "Jan 26, 2011"
1015RECIPE_MAINTAINER_pn-libuser = "Edwin Zhai <edwin.zhai@intel.com>" 1035RECIPE_MAINTAINER_pn-libuser = "Edwin Zhai <edwin.zhai@intel.com>"
1016DEPENDENCY_CHECK_pn-libuser = "not done" 1036RECIPE_DEPENDENCY_CHECK_pn-libuser = "not done"
1017RECIPE_LATEST_VERSION_pn-libuser = "0.56.18" 1037RECIPE_LATEST_VERSION_pn-libuser = "0.57.1"
1038RECIPE_MANUAL_CHECK_DATE_pn-libuser = "Jan 26, 2011"
1018RECIPE_NO_OF_PATCHES_pn-libuser = "1" 1039RECIPE_NO_OF_PATCHES_pn-libuser = "1"
1019RECIPE_INTEL_SECTION_pn-libuser = "base utils" 1040RECIPE_INTEL_SECTION_pn-libuser = "base utils"
1020RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libuser = "1 month" 1041RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libuser = "1 month"
1021RECIPE_LATEST_RELEASE_DATE_pn-libuser = "09/2010" 1042RECIPE_LATEST_RELEASE_DATE_pn-libuser = "01/2011"
1022RECIPE_COMMENTS_pn-libuser = "" 1043RECIPE_COMMENTS_pn-libuser = ""
1023 1044
1024RECIPE_STATUS_pn-xz = "green" 1045RECIPE_STATUS_pn-xz = "green"
1046RECIPE_LAST_UPDATE_pn-xz = "Nov 19, 2010"
1025RECIPE_MAINTAINER_pn-xz = "Edwin Zhai <edwin.zhai@intel.com>" 1047RECIPE_MAINTAINER_pn-xz = "Edwin Zhai <edwin.zhai@intel.com>"
1026DEPENDENCY_CHECK_pn-xz = "not done" 1048RECIPE_DEPENDENCY_CHECK_pn-xz = "not done"
1027RECIPE_LATEST_VERSION_pn-xz = "5.0.0" 1049RECIPE_LATEST_VERSION_pn-xz = "5.0.0"
1028RECIPE_NO_OF_PATCHES_pn-xz = "0" 1050RECIPE_NO_OF_PATCHES_pn-xz = "0"
1029RECIPE_INTEL_SECTION_pn-xz = "base utils" 1051RECIPE_INTEL_SECTION_pn-xz = "base utils"
@@ -1032,8 +1054,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-xz = "10/2010"
1032RECIPE_COMMENTS_pn-xz = "" 1054RECIPE_COMMENTS_pn-xz = ""
1033 1055
1034RECIPE_STATUS_pn-bc = "green" 1056RECIPE_STATUS_pn-bc = "green"
1057RECIPE_LAST_UPDATE_pn-bc = "Aug 6, 2010"
1035RECIPE_MAINTAINER_pn-bc = "Edwin Zhai <edwin.zhai@intel.com>" 1058RECIPE_MAINTAINER_pn-bc = "Edwin Zhai <edwin.zhai@intel.com>"
1036DEPENDENCY_CHECK_pn-bc = "not done" 1059RECIPE_DEPENDENCY_CHECK_pn-bc = "not done"
1037RECIPE_LATEST_VERSION_pn-bc = "1.06" 1060RECIPE_LATEST_VERSION_pn-bc = "1.06"
1038RECIPE_NO_OF_PATCHES_pn-bc = "0" 1061RECIPE_NO_OF_PATCHES_pn-bc = "0"
1039RECIPE_INTEL_SECTION_pn-bc = "base utils" 1062RECIPE_INTEL_SECTION_pn-bc = "base utils"
@@ -1042,8 +1065,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-bc = "11/2000"
1042RECIPE_COMMENTS_pn-bc = "" 1065RECIPE_COMMENTS_pn-bc = ""
1043 1066
1044RECIPE_STATUS_pn-ed = "green" 1067RECIPE_STATUS_pn-ed = "green"
1068RECIPE_LAST_UPDATE_pn-ed = "Nov 19, 2010"
1045RECIPE_MAINTAINER_pn-ed = "Edwin Zhai <edwin.zhai@intel.com>" 1069RECIPE_MAINTAINER_pn-ed = "Edwin Zhai <edwin.zhai@intel.com>"
1046DEPENDENCY_CHECK_pn-ed = "not done" 1070RECIPE_DEPENDENCY_CHECK_pn-ed = "not done"
1047RECIPE_LATEST_VERSION_pn-ed = "1.5" 1071RECIPE_LATEST_VERSION_pn-ed = "1.5"
1048RECIPE_NO_OF_PATCHES_pn-ed = "1" 1072RECIPE_NO_OF_PATCHES_pn-ed = "1"
1049RECIPE_INTEL_SECTION_pn-ed = "base utils" 1073RECIPE_INTEL_SECTION_pn-ed = "base utils"
@@ -1052,8 +1076,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-ed = "07/2010"
1052RECIPE_COMMENTS_pn-ed = "GPLv3 was used since ed 0.6" 1076RECIPE_COMMENTS_pn-ed = "GPLv3 was used since ed 0.6"
1053 1077
1054RECIPE_STATUS_pn-pax = "green" 1078RECIPE_STATUS_pn-pax = "green"
1079RECIPE_LAST_UPDATE_pn-pax = "Aug 16, 2010"
1055RECIPE_MAINTAINER_pn-pax = "Edwin Zhai <edwin.zhai@intel.com>" 1080RECIPE_MAINTAINER_pn-pax = "Edwin Zhai <edwin.zhai@intel.com>"
1056DEPENDENCY_CHECK_pn-pax = "not done" 1081RECIPE_DEPENDENCY_CHECK_pn-pax = "not done"
1057RECIPE_LATEST_VERSION_pn-pax = "3.4" 1082RECIPE_LATEST_VERSION_pn-pax = "3.4"
1058RECIPE_NO_OF_PATCHES_pn-pax = "0" 1083RECIPE_NO_OF_PATCHES_pn-pax = "0"
1059RECIPE_INTEL_SECTION_pn-pax = "base utils" 1084RECIPE_INTEL_SECTION_pn-pax = "base utils"
@@ -1062,8 +1087,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-pax = "08/2005"
1062RECIPE_COMMENTS_pn-pax = "" 1087RECIPE_COMMENTS_pn-pax = ""
1063 1088
1064RECIPE_STATUS_pn-watchdog = "green" 1089RECIPE_STATUS_pn-watchdog = "green"
1090RECIPE_LAST_UPDATE_pn-watchdog = "Aug 20, 2010"
1065RECIPE_MAINTAINER_pn-watchdog = "Dexuan Cui <dexuan.cui@intel.com>" 1091RECIPE_MAINTAINER_pn-watchdog = "Dexuan Cui <dexuan.cui@intel.com>"
1066DEPENDENCY_CHECK_pn-watchdog = "not done" 1092RECIPE_DEPENDENCY_CHECK_pn-watchdog = "not done"
1067RECIPE_LATEST_VERSION_pn-watchdog = "5.9" 1093RECIPE_LATEST_VERSION_pn-watchdog = "5.9"
1068RECIPE_NO_OF_PATCHES_pn-watchdog = "0" 1094RECIPE_NO_OF_PATCHES_pn-watchdog = "0"
1069RECIPE_INTEL_SECTION_pn-watchdog = "base utils" 1095RECIPE_INTEL_SECTION_pn-watchdog = "base utils"
@@ -1073,61 +1099,78 @@ RECIPE_COMMENTS_pn-watchdog = ""
1073DISTRO_PN_ALIAS_pn-watchdog = "Debian=watchdog Ubuntu=watchdog Mandriva=watchdog" 1099DISTRO_PN_ALIAS_pn-watchdog = "Debian=watchdog Ubuntu=watchdog Mandriva=watchdog"
1074 1100
1075RECIPE_STATUS_pn-libatomics-ops = "green" 1101RECIPE_STATUS_pn-libatomics-ops = "green"
1076DEPENDENCY_CHECK_pn-libatomics-ops = "not done" 1102RECIPE_DEPENDENCY_CHECK_pn-libatomics-ops = "not done"
1077RECIPE_LATEST_VERSION_pn-libatomics-ops = "1.2" 1103RECIPE_LATEST_VERSION_pn-libatomics-ops = "1.2"
1078RECIPE_NO_OF_PATCHES_pn-libatomics-ops = "3" 1104RECIPE_NO_OF_PATCHES_pn-libatomics-ops = "3"
1079RECIPE_INTEL_SECTION_pn-libatomics-ops = "optional" 1105RECIPE_INTEL_SECTION_pn-libatomics-ops = "optional"
1080RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libatomics-ops = "unknown" 1106RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libatomics-ops = "unknown"
1081RECIPE_LATEST_RELEASE_DATE_pn-libatomics-ops = "unknown" 1107RECIPE_LATEST_RELEASE_DATE_pn-libatomics-ops = "unknown"
1082DISTRO_PN_ALIAS_pn-libatomics-ops = "Meego=libatomic-ops Debian=libatomic-ops Ubuntu=libatomic-ops OpenSuSE=libatomic-ops Mandriva=libatomic-ops" 1108DISTRO_PN_ALIAS_pn-libatomics-ops = "Meego=libatomic-ops Debian=libatomic-ops Ubuntu=libatomic-ops OpenSuSE=libatomic-ops Mandriva=libatomic-ops"
1109RECIPE_LAST_UPDATE_pn-libatomics-ops = "Nov 22, 2010"
1083RECIPE_MAINTAINER_pn-libatomics-ops = "Scott Garman <scott.a.garman@intel.com>" 1110RECIPE_MAINTAINER_pn-libatomics-ops = "Scott Garman <scott.a.garman@intel.com>"
1084 1111
1085RECIPE_STATUS_pn-libffi = "red" 1112RECIPE_STATUS_pn-libffi = "red"
1086RECIPE_LATEST_VERSION_pn-libffi = "3.0.9" 1113RECIPE_LATEST_VERSION_pn-libffi = "3.0.9"
1114RECIPE_LAST_UPDATE_pn-libffi = "Oct 15, 2010"
1087RECIPE_MAINTAINER_pn-libffi = "Kevin Tian <kevin.tian@intel.com>" 1115RECIPE_MAINTAINER_pn-libffi = "Kevin Tian <kevin.tian@intel.com>"
1088 1116
1089RECIPE_STATUS_pn-libgdbus = "red" 1117RECIPE_STATUS_pn-libgdbus = "green"
1090RECIPE_LATEST_VERSION_pn-libgdbus = "Release-0.2" 1118RECIPE_DEPENDENCY_CHECK_pn-libgdbus = "not done"
1091RECIPE_MAINTAINER_pn-libgdbus = "Kevin Tian <kevin.tian@intel.com>" 1119RECIPE_LATEST_VERSION_pn-libgdbus = "0.2"
1120RECIPE_NO_OF_PATCHES_pn-libgdbus = "0"
1121RECIPE_LATEST_RELEASE_DATE_pn-libgdbus = "09/2008"
1122RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libgdbus = "unknown"
1123RECIPE_LAST_UPDATE_pn-libgdbus = "Jan 4, 2011"
1124RECIPE_MAINTAINER_pn-libgdbus = "Scott Garman <scott.a.garman@intel.com>"
1092 1125
1093RECIPE_STATUS_pn-apr = "red" 1126RECIPE_STATUS_pn-apr = "green"
1094RECIPE_LATEST_VERSION_pn-apr = "1.4.2" 1127RECIPE_LATEST_VERSION_pn-apr = "1.4.2"
1128RECIPE_LAST_UPDATE_pn-apr = "Dec 17, 2010"
1095RECIPE_MAINTAINER_pn-apr = "Edwin Zhai <edwin.zhai@intel.com>" 1129RECIPE_MAINTAINER_pn-apr = "Edwin Zhai <edwin.zhai@intel.com>"
1096 1130
1097RECIPE_STATUS_pn-apr-util = "red" 1131RECIPE_STATUS_pn-apr-util = "green"
1098RECIPE_LATEST_VERSION_pn-apr-util = "1.3.9" 1132RECIPE_LATEST_VERSION_pn-apr-util = "1.3.10"
1133RECIPE_LAST_UPDATE_pn-apr-util = "Dec 29, 2010"
1099RECIPE_MAINTAINER_pn-apr-util = "Edwin Zhai <edwin.zhai@intel.com>" 1134RECIPE_MAINTAINER_pn-apr-util = "Edwin Zhai <edwin.zhai@intel.com>"
1100 1135
1101RECIPE_STATUS_pn-apt = "red" 1136RECIPE_STATUS_pn-apt = "red"
1102RECIPE_LATEST_VERSION_pn-apt = "0.7.25.3" 1137RECIPE_LATEST_VERSION_pn-apt = "0.7.25.3"
1138RECIPE_LAST_UPDATE_pn-apt = "Jun 19, 2008"
1103RECIPE_MAINTAINER_pn-apt = "Qing He <qing.he@intel.com>" 1139RECIPE_MAINTAINER_pn-apt = "Qing He <qing.he@intel.com>"
1140RECIPE_NO_UPDATE_REASON_pn-apt="similar to zypper, defer the upgrading"
1104 1141
1105RECIPE_STATUS_pn-chrpath = "red" 1142RECIPE_STATUS_pn-chrpath = "red"
1106RECIPE_LATEST_VERSION_pn-chrpath = "0.13-2" 1143RECIPE_LATEST_VERSION_pn-chrpath = "0.13-2"
1144RECIPE_LAST_UPDATE_pn-chrpath = "Dec 15, 2009"
1107RECIPE_MAINTAINER_pn-chrpath = "Kevin Tian <kevin.tian@intel.com>" 1145RECIPE_MAINTAINER_pn-chrpath = "Kevin Tian <kevin.tian@intel.com>"
1108 1146
1109RECIPE_STATUS_pn-dosfstools = "red" 1147RECIPE_STATUS_pn-dosfstools = "red"
1110RECIPE_LATEST_VERSION_pn-dosfstools = "2.11" 1148RECIPE_LATEST_VERSION_pn-dosfstools = "2.11"
1149RECIPE_LAST_UPDATE_pn-dosfstools = "Oct 11, 2007"
1111RECIPE_MAINTAINER_pn-dosfstools = "Kevin Tian <kevin.tian@intel.com>" 1150RECIPE_MAINTAINER_pn-dosfstools = "Kevin Tian <kevin.tian@intel.com>"
1112 1151
1113RECIPE_STATUS_pn-eee-acpi-scripts = "red" 1152RECIPE_STATUS_pn-eee-acpi-scripts = "green"
1114RECIPE_LATEST_VERSION_pn-eee-acpi-scripts = "1.1.10+eaaa266e8c3b91b19d8ac861334b41ce7530e8c5" 1153RECIPE_LATEST_VERSION_pn-eee-acpi-scripts = "1.1.11+e224937ba51165e2a52252f9a113c8a82c01bb36"
1154RECIPE_LAST_UPDATE_pn-eee-acpi-scripts = "Nov 28, 2010"
1115RECIPE_MAINTAINER_pn-eee-acpi-scripts = "Edwin Zhai <edwin.zhai@intel.com>" 1155RECIPE_MAINTAINER_pn-eee-acpi-scripts = "Edwin Zhai <edwin.zhai@intel.com>"
1116DISTRO_PN_ALIAS_pn-eee-acpi-scripts = "Debian=eeepc-acpi-scripts Ubuntu=eeepc-acpi-scripts" 1156DISTRO_PN_ALIAS_pn-eee-acpi-scripts = "Debian=eeepc-acpi-scripts Ubuntu=eeepc-acpi-scripts"
1117 1157
1118RECIPE_STATUS_pn-gssdp = "green" 1158RECIPE_STATUS_pn-gssdp = "green"
1119RECIPE_LATEST_VERSION_pn-gssdp = "0.9.0" 1159RECIPE_LATEST_VERSION_pn-gssdp = "0.9.2"
1120RECIPE_NO_OF_PATCHES_pn-gssdp="0" 1160RECIPE_NO_OF_PATCHES_pn-gssdp="0"
1121RECIPE_LATEST_RELEASE_DATE_pn-gssdp="2010/11/12" 1161RECIPE_LATEST_RELEASE_DATE_pn-gssdp="2010/11/12"
1122RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gssdp="2 month" 1162RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gssdp="2 month"
1163RECIPE_LAST_UPDATE_pn-gssdp = "Nov 25, 2010"
1164RECIPE_MANUAL_CHECK_DATE_pn-gssdp = "Jan 30, 2011"
1123RECIPE_MAINTAINER_pn-gssdp = "Dongxiao Xu <dongxiao.xu@intel.com>" 1165RECIPE_MAINTAINER_pn-gssdp = "Dongxiao Xu <dongxiao.xu@intel.com>"
1124 1166
1125RECIPE_STATUS_pn-insserv = "green" 1167RECIPE_STATUS_pn-insserv = "green"
1126DEPENDENCY_CHECK_pn-insserv = "not done" 1168RECIPE_DEPENDENCY_CHECK_pn-insserv = "not done"
1127RECIPE_LATEST_VERSION_pn-insserv = "1.14.0" 1169RECIPE_LATEST_VERSION_pn-insserv = "1.14.0"
1128RECIPE_INTEL_SECTION_pn-insserv = "base" 1170RECIPE_INTEL_SECTION_pn-insserv = "base"
1129RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-insserv = "unknown" 1171RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-insserv = "unknown"
1130RECIPE_LATEST_RELEASE_DATE_pn-insserv = "unknown" 1172RECIPE_LATEST_RELEASE_DATE_pn-insserv = "unknown"
1173RECIPE_LAST_UPDATE_pn-insserv = "Nov 28, 2010"
1131RECIPE_MAINTAINER_pn-insserv = "Scott Garman <scott.a.garman@intel.com>" 1174RECIPE_MAINTAINER_pn-insserv = "Scott Garman <scott.a.garman@intel.com>"
1132 1175
1133RECIPE_STATUS_pn-modutils-collateral = "red" 1176RECIPE_STATUS_pn-modutils-collateral = "red"
@@ -1135,130 +1178,130 @@ RECIPE_LATEST_VERSION_pn-modutils-collateral = "1.0"
1135RECIPE_MAINTAINER_pn-modutils-collateral = "Kevin Tian <kevin.tian@intel.com>" 1178RECIPE_MAINTAINER_pn-modutils-collateral = "Kevin Tian <kevin.tian@intel.com>"
1136 1179
1137RECIPE_STATUS_pn-mtd-utils = "green" 1180RECIPE_STATUS_pn-mtd-utils = "green"
1138DEPENDENCY_CHECK_pn-mtd-utils = "not done" 1181RECIPE_DEPENDENCY_CHECK_pn-mtd-utils = "not done"
1139RECIPE_LATEST_VERSION_pn-mtd-utils = "1.4.1" 1182RECIPE_LATEST_VERSION_pn-mtd-utils = "1.4.1"
1140RECIPE_INTEL_SECTION_pn-mtd-utils = "base utils" 1183RECIPE_INTEL_SECTION_pn-mtd-utils = "base utils"
1141RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mtd-utils = "1 months" 1184RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mtd-utils = "1 months"
1142RECIPE_LATEST_RELEASE_DATE_pn-mtd-utils = "2010/10/15" 1185RECIPE_LATEST_RELEASE_DATE_pn-mtd-utils = "2010/10/15"
1143RECIPE_COMMENTS_pn-mtd-utils = "" 1186RECIPE_COMMENTS_pn-mtd-utils = ""
1187RECIPE_LAST_UPDATE_pn-mtd-utils = "Nov 18, 2010"
1144RECIPE_MAINTAINER_pn-mtd-utils = "Dongxiao Xu <dongxiao.xu@intel.com>" 1188RECIPE_MAINTAINER_pn-mtd-utils = "Dongxiao Xu <dongxiao.xu@intel.com>"
1145 1189
1146RECIPE_STATUS_pn-ohm = "red"
1147RECIPE_LATEST_VERSION_pn-ohm = "3cb3496846508929b9f2d05683ec93523de7947c"
1148RECIPE_MAINTAINER_pn-ohm = "Kevin Tian <kevin.tian@intel.com>"
1149
1150RECIPE_STATUS_pn-procps = "red" 1190RECIPE_STATUS_pn-procps = "red"
1151RECIPE_LATEST_VERSION_pn-procps = "3.2.8" 1191RECIPE_LATEST_VERSION_pn-procps = "3.2.8"
1192RECIPE_LAST_UPDATE_pn-procps = "Nov 10, 2010"
1152RECIPE_MAINTAINER_pn-procps = "Qing He <qing.he@intel.com>" 1193RECIPE_MAINTAINER_pn-procps = "Qing He <qing.he@intel.com>"
1153 1194
1154RECIPE_STATUS_pn-iso-codes = "red" 1195RECIPE_STATUS_pn-iso-codes = "red"
1155RECIPE_LATEST_VERSION_pn-iso-codes = "3.16" 1196RECIPE_LATEST_VERSION_pn-iso-codes = "3.16"
1197RECIPE_LAST_UPDATE_pn-iso-codes = "Sep 23, 2008"
1156RECIPE_MAINTAINER_pn-iso-codes = "Dexuan Cui <dexuan.cui@intel.com>" 1198RECIPE_MAINTAINER_pn-iso-codes = "Dexuan Cui <dexuan.cui@intel.com>"
1157 1199
1158RECIPE_STATUS_pn-libgsf = "red" 1200RECIPE_STATUS_pn-libgsf = "red"
1159RECIPE_LATEST_VERSION_pn-libgsf = "1.14.18" 1201RECIPE_LATEST_VERSION_pn-libgsf = "1.14.18"
1202RECIPE_LAST_UPDATE_pn-libgsf = "Aug 20, 2007"
1160RECIPE_MAINTAINER_pn-libgsf = "Dexuan Cui <dexuan.cui@intel.com>" 1203RECIPE_MAINTAINER_pn-libgsf = "Dexuan Cui <dexuan.cui@intel.com>"
1161 1204
1162RECIPE_STATUS_pn-beecrypt = "red" 1205RECIPE_STATUS_pn-beecrypt = "green"
1163RECIPE_LATEST_VERSION_pn-beecrypt = "4.1.2" 1206RECIPE_LATEST_VERSION_pn-beecrypt = "4.2.1"
1207RECIPE_LAST_UPDATE_pn-beecrypt = "Nov 26, 2010"
1164RECIPE_MAINTAINER_pn-beecrypt = "Edwin Zhai <edwin.zhai@intel.com>" 1208RECIPE_MAINTAINER_pn-beecrypt = "Edwin Zhai <edwin.zhai@intel.com>"
1165 1209
1166RECIPE_STATUS_pn-libacpi = "red" 1210RECIPE_STATUS_pn-libacpi = "red"
1167RECIPE_LATEST_VERSION_pn-libacpi = "0.2" 1211RECIPE_LATEST_VERSION_pn-libacpi = "0.2"
1212RECIPE_LAST_UPDATE_pn-libacpi = "Sep 30, 2008"
1168RECIPE_MAINTAINER_pn-libacpi = "Kevin Tian <kevin.tian@intel.com>" 1213RECIPE_MAINTAINER_pn-libacpi = "Kevin Tian <kevin.tian@intel.com>"
1169DISTRO_PN_ALIAS_pn-libacpi="Ubuntu=libacpi Mandriva=libacpi" 1214DISTRO_PN_ALIAS_pn-libacpi="Ubuntu=libacpi Mandriva=libacpi"
1170 1215
1171RECIPE_STATUS_pn-acpid = "red" 1216RECIPE_STATUS_pn-acpid = "green"
1172RECIPE_LATEST_VERSION_pn-acpid = "1.0.10" 1217RECIPE_LATEST_VERSION_pn-acpid = "1.0.10"
1218RECIPE_LAST_UPDATE_pn-acpid = "Nov 26, 2010"
1173RECIPE_MAINTAINER_pn-acpid = "Edwin Zhai <edwin.zhai@intel.com>" 1219RECIPE_MAINTAINER_pn-acpid = "Edwin Zhai <edwin.zhai@intel.com>"
1174 1220
1175RECIPE_STATUS_pn-consolekit = "red" 1221RECIPE_STATUS_pn-consolekit = "green"
1176RECIPE_LATEST_VERSION_pn-consolekit = "0.4.1" 1222RECIPE_LATEST_VERSION_pn-consolekit = "0.4.3"
1223RECIPE_LAST_UPDATE_pn-consolekit = "Nov 28, 2010"
1177RECIPE_MAINTAINER_pn-consolekit = "Edwin Zhai <edwin.zhai@intel.com>" 1224RECIPE_MAINTAINER_pn-consolekit = "Edwin Zhai <edwin.zhai@intel.com>"
1178 1225
1179RECIPE_STATUS_pn-console-tools = "red" 1226RECIPE_STATUS_pn-console-tools = "red"
1180RECIPE_LATEST_VERSION_pn-console-tools = "0.3.2" 1227RECIPE_LATEST_VERSION_pn-console-tools = "0.3.2"
1228RECIPE_LAST_UPDATE_pn-console-tools = "Jul 21, 2006"
1181RECIPE_MAINTAINER_pn-console-tools = "Kevin Tian <kevin.tian@intel.com>" 1229RECIPE_MAINTAINER_pn-console-tools = "Kevin Tian <kevin.tian@intel.com>"
1182DISTRO_PN_ALIAS_pn-console-tools = "Debian=console-tools Ubuntu=console-tools" 1230DISTRO_PN_ALIAS_pn-console-tools = "Debian=console-tools Ubuntu=console-tools"
1183 1231
1184RECIPE_STATUS_pn-devicekit = "red"
1185DISTRO_PN_ALIAS_pn-devicekit = "Fedora=DeviceKit Mandriva=devicekit"
1186RECIPE_LATEST_VERSION_pn-devicekit = "3"
1187RECIPE_MAINTAINER_pn-devicekit = "Kevin Tian <kevin.tian@intel.com>"
1188
1189RECIPE_STATUS_pn-devicekit-power = "red"
1190RECIPE_LATEST_VERSION_pn-devicekit-power = "n/a"
1191RECIPE_MAINTAINER_pn-devicekit-power = "Kevin Tian <kevin.tian@intel.com>"
1192DISTRO_PN_ALIAS_pn-deviceKit-power = "Mandriva=devicekit-power Fedora=DeviceKit-power"
1193
1194RECIPE_STATUS_pn-fuse = "red" 1232RECIPE_STATUS_pn-fuse = "red"
1195RECIPE_LATEST_VERSION_pn-fuse = "2.8.4" 1233RECIPE_LATEST_VERSION_pn-fuse = "2.8.4"
1234RECIPE_LAST_UPDATE_pn-fuse = "Nov 6, 2008"
1196RECIPE_MAINTAINER_pn-fuse = "Kevin Tian <kevin.tian@intel.com>" 1235RECIPE_MAINTAINER_pn-fuse = "Kevin Tian <kevin.tian@intel.com>"
1197 1236
1198RECIPE_STATUS_pn-msynctool = "green" 1237RECIPE_STATUS_pn-msynctool = "green"
1199DEPENDENCY_CHECK_pn-msynctool = "not done" 1238RECIPE_DEPENDENCY_CHECK_pn-msynctool = "not done"
1200RECIPE_LATEST_VERSION_pn-msynctool = "0.38" 1239RECIPE_LATEST_VERSION_pn-msynctool = "0.38"
1201RECIPE_INTEL_SECTION_pn-msynctool = "base utils" 1240RECIPE_INTEL_SECTION_pn-msynctool = "base utils"
1202RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-msynctool = "3 months" 1241RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-msynctool = "3 months"
1203RECIPE_LATEST_RELEASE_DATE_pn-msynctool = "2008/11/11" 1242RECIPE_LATEST_RELEASE_DATE_pn-msynctool = "2008/11/11"
1204RECIPE_COMMENTS_pn-msynctool = "" 1243RECIPE_COMMENTS_pn-msynctool = ""
1244RECIPE_LAST_UPDATE_pn-msynctool = "Nov 18, 2010"
1205RECIPE_MAINTAINER_pn-msynctool = "Dongxiao Xu <dongxiao.xu@intel.com>" 1245RECIPE_MAINTAINER_pn-msynctool = "Dongxiao Xu <dongxiao.xu@intel.com>"
1206DISTRO_PN_ALIAS_pn-msynctool = "OpenSuse=msynctool Mandriva=msynctool" 1246DISTRO_PN_ALIAS_pn-msynctool = "OpenSuse=msynctool Mandriva=msynctool"
1207 1247
1208RECIPE_STATUS_pn-mtools = "green" 1248RECIPE_STATUS_pn-mtools = "green"
1209DEPENDENCY_CHECK_pn-mtools = "not done" 1249RECIPE_DEPENDENCY_CHECK_pn-mtools = "not done"
1210RECIPE_LATEST_VERSION_pn-mtools = "4.0.15" 1250RECIPE_LATEST_VERSION_pn-mtools = "4.0.15"
1211RECIPE_INTEL_SECTION_pn-mtools = "optional" 1251RECIPE_INTEL_SECTION_pn-mtools = "optional"
1212RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mtools = "1 day" 1252RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mtools = "1 day"
1213RECIPE_LATEST_RELEASE_DATE_pn-mtools = "2010/10/17" 1253RECIPE_LATEST_RELEASE_DATE_pn-mtools = "2010/10/17"
1214RECIPE_COMMENTS_pn-mtools = "" 1254RECIPE_COMMENTS_pn-mtools = ""
1215RECIPE_LATEST_VERSION_pn-mtools = "4.0.15" 1255RECIPE_LATEST_VERSION_pn-mtools = "4.0.15"
1256RECIPE_LAST_UPDATE_pn-mtools = "Nov 23, 2010"
1216RECIPE_MAINTAINER_pn-mtools = "Scott Garman <scott.a.garman@intel.com>" 1257RECIPE_MAINTAINER_pn-mtools = "Scott Garman <scott.a.garman@intel.com>"
1217 1258
1218RECIPE_STATUS_pn-pm-utils = "green" 1259RECIPE_STATUS_pn-pm-utils = "green"
1219DEPENDENCY_CHECK_pn-pm-utils = "not done" 1260RECIPE_DEPENDENCY_CHECK_pn-pm-utils = "not done"
1220RECIPE_LATEST_VERSION_pn-pm-utils = "1.4.1" 1261RECIPE_LATEST_VERSION_pn-pm-utils = "1.4.1"
1221RECIPE_INTEL_SECTION_pn-pm-utils = "base utils" 1262RECIPE_INTEL_SECTION_pn-pm-utils = "base utils"
1222RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pm-utils = "15 days" 1263RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pm-utils = "15 days"
1223RECIPE_LATEST_RELEASE_DATE_pn-pm-utils = "2010o/07/04" 1264RECIPE_LATEST_RELEASE_DATE_pn-pm-utils = "2010o/07/04"
1224RECIPE_COMMENTS_pn-pm-utils = "" 1265RECIPE_COMMENTS_pn-pm-utils = ""
1266RECIPE_LAST_UPDATE_pn-pm-utils = "Nov 18, 2010"
1225RECIPE_MAINTAINER_pn-pm-utils = "Dongxiao Xu <dongxiao.xu@intel.com>" 1267RECIPE_MAINTAINER_pn-pm-utils = "Dongxiao Xu <dongxiao.xu@intel.com>"
1226 1268
1227RECIPE_STATUS_pn-psmisc = "red" 1269RECIPE_STATUS_pn-psmisc = "red"
1228RECIPE_LATEST_VERSION_pn-psmisc = "22.13" 1270RECIPE_LATEST_VERSION_pn-psmisc = "22.13"
1271RECIPE_LAST_UPDATE_pn-psmisc = "Jan 18, 2008"
1229RECIPE_MAINTAINER_pn-psmisc = "Kevin Tian <kevin.tian@intel.com>" 1272RECIPE_MAINTAINER_pn-psmisc = "Kevin Tian <kevin.tian@intel.com>"
1230 1273
1231RECIPE_STATUS_pn-boost = "red" 1274RECIPE_STATUS_pn-boost = "red"
1232RECIPE_LATEST_VERSION_pn-boost = "1.44.0" 1275RECIPE_LATEST_VERSION_pn-boost = "1.44.0"
1276RECIPE_LAST_UPDATE_pn-boost = "Aug 19, 2010"
1233RECIPE_MAINTAINER_pn-boost = "Qing He <qing.he@intel.com>" 1277RECIPE_MAINTAINER_pn-boost = "Qing He <qing.he@intel.com>"
1234 1278
1235RECIPE_STATUS_pn-boost-jam-native = "red" 1279RECIPE_STATUS_pn-boost-jam-native = "red"
1236RECIPE_LATEST_VERSION_pn-boost-jam-native = "3.1.18" 1280RECIPE_LATEST_VERSION_pn-boost-jam-native = "3.1.18"
1281RECIPE_LAST_UPDATE_pn-boost-jam-native = "Aug 19, 2010"
1237RECIPE_MAINTAINER_pn-boost-jam-native = "Qing He <qing.he@intel.com>" 1282RECIPE_MAINTAINER_pn-boost-jam-native = "Qing He <qing.he@intel.com>"
1238 1283
1239RECIPE_STATUS_pn-libfribidi = "red" 1284RECIPE_STATUS_pn-libfribidi = "red"
1240DISTRO_PN_ALIAS_pn-libfribidi = "OpenSuSE=fribidi Ubuntu=fribidi Mandriva=fribidi Debian=fribidi" 1285DISTRO_PN_ALIAS_pn-libfribidi = "OpenSuSE=fribidi Ubuntu=fribidi Mandriva=fribidi Debian=fribidi"
1241RECIPE_LATEST_VERSION_pn-libfribidi = "0.19.2" 1286RECIPE_LATEST_VERSION_pn-libfribidi = "0.19.2"
1287RECIPE_LAST_UPDATE_pn-libfribidi = "Jan 12, 2007"
1242RECIPE_MAINTAINER_pn-libfribidi = "Kevin Tian <kevin.tian@intel.com>" 1288RECIPE_MAINTAINER_pn-libfribidi = "Kevin Tian <kevin.tian@intel.com>"
1243 1289
1244RECIPE_STATUS_pn-shasum-native = "red"
1245RECIPE_LATEST_VERSION_pn-shasum-native = "1.0"
1246DISTRO_PN_ALIAS_pn-cdrtools-native = "Poky"
1247RECIPE_MAINTAINER_pn-shasum-native = "Kevin Tian <kevin.tian@intel.com>"
1248
1249RECIPE_STATUS_pn-rpcbind = "green" 1290RECIPE_STATUS_pn-rpcbind = "green"
1250DEPENDENCY_CHECK_pn-rpcbind = "not done" 1291RECIPE_DEPENDENCY_CHECK_pn-rpcbind = "not done"
1251RECIPE_LATEST_VERSION_pn-rpcbind = "0.2.0" 1292RECIPE_LATEST_VERSION_pn-rpcbind = "0.2.0"
1252RECIPE_NO_OF_PATCHES_pn-rpcbind = "0" 1293RECIPE_NO_OF_PATCHES_pn-rpcbind = "0"
1253RECIPE_INTEL_SECTION_pn-rpcbind = "base utils" 1294RECIPE_INTEL_SECTION_pn-rpcbind = "base utils"
1254RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-rpcbind = "6 months" 1295RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-rpcbind = "6 months"
1255RECIPE_LATEST_RELEASE_DATE_pn-rpcbind = "05/2009" 1296RECIPE_LATEST_RELEASE_DATE_pn-rpcbind = "05/2009"
1256RECIPE_COMMENTS_pn-rpcbind = "" 1297RECIPE_COMMENTS_pn-rpcbind = ""
1298RECIPE_LAST_UPDATE_pn-rpcbind = "Sep 1, 2010"
1257RECIPE_MAINTAINER_pn-rpcbind = "Dongxiao Xu <dongxiao.xu@intel.com>" 1299RECIPE_MAINTAINER_pn-rpcbind = "Dongxiao Xu <dongxiao.xu@intel.com>"
1258 1300
1259RECIPE_STATUS_pn-time = "green" 1301RECIPE_STATUS_pn-time = "green"
1302RECIPE_LAST_UPDATE_pn-time = "Dec 14, 2006"
1260RECIPE_MAINTAINER_pn-time = "Qing He <qing.he@intel.com>" 1303RECIPE_MAINTAINER_pn-time = "Qing He <qing.he@intel.com>"
1261DEPENDENCY_CHECK_pn-time = "not done" 1304RECIPE_DEPENDENCY_CHECK_pn-time = "not done"
1262RECIPE_LATEST_VERSION_pn-time = "1.7" 1305RECIPE_LATEST_VERSION_pn-time = "1.7"
1263RECIPE_INTEL_SECTION_pn-time = "base utils" 1306RECIPE_INTEL_SECTION_pn-time = "base utils"
1264RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-time = "n/a" 1307RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-time = "n/a"
@@ -1266,8 +1309,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-time = "07/1996"
1266RECIPE_COMMENTS_pn-time = "" 1309RECIPE_COMMENTS_pn-time = ""
1267 1310
1268RECIPE_STATUS_pn-bzip2 = "yellow" # local config scripts 1311RECIPE_STATUS_pn-bzip2 = "yellow" # local config scripts
1312RECIPE_LAST_UPDATE_pn-bzip2 = "Nov 3, 2010"
1269RECIPE_MAINTAINER_pn-bzip2 = "Qing He <qing.he@intel.com>" 1313RECIPE_MAINTAINER_pn-bzip2 = "Qing He <qing.he@intel.com>"
1270DEPENDENCY_CHECK_pn-bzip2 = "not done" 1314RECIPE_DEPENDENCY_CHECK_pn-bzip2 = "not done"
1271RECIPE_LATEST_VERSION_pn-bzip2 = "1.0.6" 1315RECIPE_LATEST_VERSION_pn-bzip2 = "1.0.6"
1272RECIPE_PATCH_pn-bzip2+configure.ac = "override default build method" 1316RECIPE_PATCH_pn-bzip2+configure.ac = "override default build method"
1273RECIPE_PATCH_pn-bzip2+Makefile.am = "override default build method" 1317RECIPE_PATCH_pn-bzip2+Makefile.am = "override default build method"
@@ -1277,8 +1321,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-bzip2 = "03/2008"
1277RECIPE_COMMENTS_pn-bzip2 = "bzip2 license is 3-clause BSD plus an renaming clause" 1321RECIPE_COMMENTS_pn-bzip2 = "bzip2 license is 3-clause BSD plus an renaming clause"
1278 1322
1279RECIPE_STATUS_pn-portmap = "yellow" 1323RECIPE_STATUS_pn-portmap = "yellow"
1324RECIPE_LAST_UPDATE_pn-portmap = "Aug 27, 2007"
1280RECIPE_MAINTAINER_pn-portmap = "Qing He <qing.he@intel.com>" 1325RECIPE_MAINTAINER_pn-portmap = "Qing He <qing.he@intel.com>"
1281DEPENDENCY_CHECK_pn-portmap = "not done" 1326RECIPE_DEPENDENCY_CHECK_pn-portmap = "not done"
1282RECIPE_LATEST_VERSION_pn-portmap = "6.0" 1327RECIPE_LATEST_VERSION_pn-portmap = "6.0"
1283RECIPE_PATCH_pn-portmap+dest-dir-no-strip = "override default build method" 1328RECIPE_PATCH_pn-portmap+dest-dir-no-strip = "override default build method"
1284RECIPE_PATCH_pn-portmap+no-libwrap = "override default build method" 1329RECIPE_PATCH_pn-portmap+no-libwrap = "override default build method"
@@ -1290,18 +1335,17 @@ RECIPE_COMMENTS_pn-portmap = "most part is under 4-clause BSD, Sun RPC code is u
1290however debian portmap package licenses RPC code under 3-clause BSD. This needs further investigation" 1335however debian portmap package licenses RPC code under 3-clause BSD. This needs further investigation"
1291 1336
1292RECIPE_STATUS_pn-grub = "green" 1337RECIPE_STATUS_pn-grub = "green"
1338RECIPE_LAST_UPDATE_pn-grub = "Oct 8, 2008"
1293RECIPE_MAINTAINER_pn-grub = "Qing He <qing.he@intel.com>" 1339RECIPE_MAINTAINER_pn-grub = "Qing He <qing.he@intel.com>"
1294DEPENDENCY_CHECK_pn-grub = "not done" 1340RECIPE_NO_UPDATE_REASON_pn-grub="grub2 is a different thing"
1295RECIPE_LATEST_VERSION_pn-grub = "0.97" 1341RECIPE_LATEST_VERSION_pn-grub = "0.97"
1296RECIPE_PATCH_pn-grub+autohell = "fix configure"
1297RECIPE_INTEL_SECTION_pn-grub = "base utils" 1342RECIPE_INTEL_SECTION_pn-grub = "base utils"
1298RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-grub = "n/a"
1299RECIPE_LATEST_RELEASE_DATE_pn-grub = "12/2005" 1343RECIPE_LATEST_RELEASE_DATE_pn-grub = "12/2005"
1300RECIPE_COMMENTS_pn-grub = ""
1301 1344
1302RECIPE_STATUS_pn-update-rc.d = "green" 1345RECIPE_STATUS_pn-update-rc.d = "green"
1346RECIPE_LAST_UPDATE_pn-update-rc.d = "Jul 21, 2006"
1303RECIPE_MAINTAINER_pn-update-rc.d = "Qing He <qing.he@intel.com>" 1347RECIPE_MAINTAINER_pn-update-rc.d = "Qing He <qing.he@intel.com>"
1304DEPENDENCY_CHECK_pn-update-rc.d = "not done" 1348RECIPE_DEPENDENCY_CHECK_pn-update-rc.d = "not done"
1305RECIPE_LATEST_VERSION_pn-update-rc.d = "0.7" 1349RECIPE_LATEST_VERSION_pn-update-rc.d = "0.7"
1306RECIPE_PATCH_pn-update-rc.d+add-verbose = "add verbosity" 1350RECIPE_PATCH_pn-update-rc.d+add-verbose = "add verbosity"
1307RECIPE_INTEL_SECTION_pn-update-rc.d = "base utils" 1351RECIPE_INTEL_SECTION_pn-update-rc.d = "base utils"
@@ -1310,8 +1354,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-update-rc.d = "unknown"
1310RECIPE_COMMENTS_pn-update-rc.d = "" 1354RECIPE_COMMENTS_pn-update-rc.d = ""
1311 1355
1312RECIPE_STATUS_pn-update-modules = "green" 1356RECIPE_STATUS_pn-update-modules = "green"
1357RECIPE_LAST_UPDATE_pn-update-modules = "Jul 21, 2006"
1313RECIPE_MAINTAINER_pn-update-modules = "Qing He <qing.he@intel.com>" 1358RECIPE_MAINTAINER_pn-update-modules = "Qing He <qing.he@intel.com>"
1314DEPENDENCY_CHECK_pn-update-modules = "not done" 1359RECIPE_DEPENDENCY_CHECK_pn-update-modules = "not done"
1315RECIPE_LATEST_VERSION_pn-update-modules = "1.0" 1360RECIPE_LATEST_VERSION_pn-update-modules = "1.0"
1316RECIPE_PATCH_pn-update-modules+update-modules = "local file" 1361RECIPE_PATCH_pn-update-modules+update-modules = "local file"
1317RECIPE_INTEL_SECTION_pn-update-modules = "base utils" 1362RECIPE_INTEL_SECTION_pn-update-modules = "base utils"
@@ -1321,8 +1366,9 @@ DISTRO_PN_ALIAS_pn-update-modules = "Poky"
1321RECIPE_COMMENTS_pn-update-modules = "" 1366RECIPE_COMMENTS_pn-update-modules = ""
1322 1367
1323RECIPE_STATUS_pn-udev-extraconf = "green" 1368RECIPE_STATUS_pn-udev-extraconf = "green"
1369RECIPE_LAST_UPDATE_pn-udev-extraconf = "Jul 19, 2008"
1324RECIPE_MAINTAINER_pn-udev-extraconf = "Qing He <qing.he@intel.com>" 1370RECIPE_MAINTAINER_pn-udev-extraconf = "Qing He <qing.he@intel.com>"
1325DEPENDENCY_CHECK_pn-udev-extraconf = "not done" 1371RECIPE_DEPENDENCY_CHECK_pn-udev-extraconf = "not done"
1326RECIPE_LATEST_VERSION_pn-udev-extraconf = "0.0" 1372RECIPE_LATEST_VERSION_pn-udev-extraconf = "0.0"
1327RECIPE_PATCH_pn-udev-extraconf+mount.blacklist = "add mount blacklist" 1373RECIPE_PATCH_pn-udev-extraconf+mount.blacklist = "add mount blacklist"
1328RECIPE_INTEL_SECTION_pn-udev-extraconf = "base utils" 1374RECIPE_INTEL_SECTION_pn-udev-extraconf = "base utils"
@@ -1332,8 +1378,9 @@ DISTRO_PN_ALIAS_pn-udev-extraconf = "Poky"
1332RECIPE_COMMENTS_pn-udev-extraconf = "" 1378RECIPE_COMMENTS_pn-udev-extraconf = ""
1333 1379
1334RECIPE_STATUS_pn-bash = "green" 1380RECIPE_STATUS_pn-bash = "green"
1381RECIPE_LAST_UPDATE_pn-bash = "Jun 17, 2010"
1335RECIPE_MAINTAINER_pn-bash = "Qing He <qing.he@intel.com>" 1382RECIPE_MAINTAINER_pn-bash = "Qing He <qing.he@intel.com>"
1336DEPENDENCY_CHECK_pn-bash = "not done" 1383RECIPE_DEPENDENCY_CHECK_pn-bash = "not done"
1337RECIPE_LATEST_VERSION_pn-bash = "4.1" 1384RECIPE_LATEST_VERSION_pn-bash = "4.1"
1338RECIPE_PATCH_pn-bash+upstream-patches = "upstream patches on source mirrors" 1385RECIPE_PATCH_pn-bash+upstream-patches = "upstream patches on source mirrors"
1339RECIPE_INTEL_SECTION_pn-bash = "base utils" 1386RECIPE_INTEL_SECTION_pn-bash = "base utils"
@@ -1342,8 +1389,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-bash = "12/2009"
1342RECIPE_COMMENTS_pn-bash = "" 1389RECIPE_COMMENTS_pn-bash = ""
1343 1390
1344RECIPE_STATUS_pn-syslinux = "yellow" # need mangling on LDFLAGS 1391RECIPE_STATUS_pn-syslinux = "yellow" # need mangling on LDFLAGS
1392RECIPE_LAST_UPDATE_pn-syslinux = "Nov 16, 2010"
1345RECIPE_MAINTAINER_pn-syslinux = "Qing He <qing.he@intel.com>" 1393RECIPE_MAINTAINER_pn-syslinux = "Qing He <qing.he@intel.com>"
1346DEPENDENCY_CHECK_pn-syslinux = "not done" 1394RECIPE_DEPENDENCY_CHECK_pn-syslinux = "not done"
1347RECIPE_LATEST_VERSION_pn-syslinux = "3.86" 1395RECIPE_LATEST_VERSION_pn-syslinux = "3.86"
1348RECIPE_PATCH_pn-syslinux+cross-build = "use poky toolchain instead of host" 1396RECIPE_PATCH_pn-syslinux+cross-build = "use poky toolchain instead of host"
1349RECIPE_INTEL_SECTION_pn-syslinux = "base utils" 1397RECIPE_INTEL_SECTION_pn-syslinux = "base utils"
@@ -1352,8 +1400,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-syslinux = "04/2010"
1352RECIPE_COMMENTS_pn-syslinux = "" 1400RECIPE_COMMENTS_pn-syslinux = ""
1353 1401
1354RECIPE_STATUS_pn-sysvinit = "green" 1402RECIPE_STATUS_pn-sysvinit = "green"
1403RECIPE_LAST_UPDATE_pn-sysvinit = "Jun 18, 2010"
1355RECIPE_MAINTAINER_pn-sysvinit = "Qing He <qing.he@intel.com>" 1404RECIPE_MAINTAINER_pn-sysvinit = "Qing He <qing.he@intel.com>"
1356DEPENDENCY_CHECK_pn-sysvinit = "not done" 1405RECIPE_DEPENDENCY_CHECK_pn-sysvinit = "not done"
1357RECIPE_LATEST_VERSION_pn-sysvinit = "2.88dsf" 1406RECIPE_LATEST_VERSION_pn-sysvinit = "2.88dsf"
1358RECIPE_PATCH_pn-sysvinit+install = "use poky environment variables" 1407RECIPE_PATCH_pn-sysvinit+install = "use poky environment variables"
1359RECIPE_INTEL_SECTION_pn-sysvinit = "base utils" 1408RECIPE_INTEL_SECTION_pn-sysvinit = "base utils"
@@ -1362,8 +1411,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-sysvinit = "04/2010"
1362RECIPE_COMMENTS_pn-sysvinit = "" 1411RECIPE_COMMENTS_pn-sysvinit = ""
1363 1412
1364RECIPE_STATUS_pn-sysfsutils = "green" 1413RECIPE_STATUS_pn-sysfsutils = "green"
1414RECIPE_LAST_UPDATE_pn-sysfsutils = "Jun 18, 2010"
1365RECIPE_MAINTAINER_pn-sysfsutils = "Qing He <qing.he@intel.com>" 1415RECIPE_MAINTAINER_pn-sysfsutils = "Qing He <qing.he@intel.com>"
1366DEPENDENCY_CHECK_pn-sysfsutils = "not done" 1416RECIPE_DEPENDENCY_CHECK_pn-sysfsutils = "not done"
1367RECIPE_LATEST_VERSION_pn-sysfsutils = "2.1.0" 1417RECIPE_LATEST_VERSION_pn-sysfsutils = "2.1.0"
1368RECIPE_INTEL_SECTION_pn-sysfsutils = "base utils" 1418RECIPE_INTEL_SECTION_pn-sysfsutils = "base utils"
1369RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sysfsutils = "n/a" 1419RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sysfsutils = "n/a"
@@ -1371,8 +1421,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-sysfsutils = "08/2006"
1371RECIPE_COMMENTS_pn-sysfsutils = "" 1421RECIPE_COMMENTS_pn-sysfsutils = ""
1372 1422
1373RECIPE_STATUS_pn-curl = "green" 1423RECIPE_STATUS_pn-curl = "green"
1424RECIPE_LAST_UPDATE_pn-curl = "Nov 9, 2010"
1374RECIPE_MAINTAINER_pn-curl = "Qing He <qing.he@intel.com>" 1425RECIPE_MAINTAINER_pn-curl = "Qing He <qing.he@intel.com>"
1375DEPENDENCY_CHECK_pn-curl = "not done" 1426RECIPE_DEPENDENCY_CHECK_pn-curl = "not done"
1376RECIPE_LATEST_VERSION_pn-curl = "7.21.0" 1427RECIPE_LATEST_VERSION_pn-curl = "7.21.0"
1377RECIPE_PATCH_pn-curl+noldlibpath = "no bother set LD_LIBRARY_PATH since we are cross compiling" 1428RECIPE_PATCH_pn-curl+noldlibpath = "no bother set LD_LIBRARY_PATH since we are cross compiling"
1378RECIPE_PATCH_pn-curl+pkgconfig-fix = "fix libcurl.pc" 1429RECIPE_PATCH_pn-curl+pkgconfig-fix = "fix libcurl.pc"
@@ -1383,8 +1434,9 @@ RECIPE_COMMENTS_pn-curl = ""
1383 1434
1384RECIPE_STATUS_pn-gconf-dbus = "green" 1435RECIPE_STATUS_pn-gconf-dbus = "green"
1385DISTRO_PN_ALIAS_pn-gconf-dbus = "Meego=GConf-dbus" 1436DISTRO_PN_ALIAS_pn-gconf-dbus = "Meego=GConf-dbus"
1437RECIPE_LAST_UPDATE_pn-gconf-dbus = "Jul 16, 2010"
1386RECIPE_MAINTAINER_pn-gconf-dbus = "Yu Ke <ke.yu@intel.com>" 1438RECIPE_MAINTAINER_pn-gconf-dbus = "Yu Ke <ke.yu@intel.com>"
1387DEPENDENCY_CHECK_pn-gconf-dbus = "not done" 1439RECIPE_DEPENDENCY_CHECK_pn-gconf-dbus = "not done"
1388RECIPE_LATEST_VERSION_pn-gconf-dbus = "2.16.0+svnr705" 1440RECIPE_LATEST_VERSION_pn-gconf-dbus = "2.16.0+svnr705"
1389RECIPE_INTEL_SECTION_pn-gconf-dbus = "base utils" 1441RECIPE_INTEL_SECTION_pn-gconf-dbus = "base utils"
1390RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gconf-dbus = "n/a" 1442RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gconf-dbus = "n/a"
@@ -1392,8 +1444,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-gconf-dbus = "n/a"
1392RECIPE_COMMENTS_pn-gconf-dbus = "difficult to identify official site and current status" 1444RECIPE_COMMENTS_pn-gconf-dbus = "difficult to identify official site and current status"
1393 1445
1394RECIPE_STATUS_pn-elfutils ="green" # no update needed 1446RECIPE_STATUS_pn-elfutils ="green" # no update needed
1447RECIPE_LAST_UPDATE_pn-elfutils = "Jul 16, 2010"
1395RECIPE_MAINTAINER_pn-elfutils = "Qing He <qing.he@intel.com>" 1448RECIPE_MAINTAINER_pn-elfutils = "Qing He <qing.he@intel.com>"
1396DEPENDENCY_CHECK_pn-gconf-dbus = "not done" 1449RECIPE_DEPENDENCY_CHECK_pn-gconf-dbus = "not done"
1397RECIPE_LATEST_VERSION_pn-elfutils="0.148" 1450RECIPE_LATEST_VERSION_pn-elfutils="0.148"
1398RECIPE_INTEL_SECTION_pn-gconf-dbus = "base utils" 1451RECIPE_INTEL_SECTION_pn-gconf-dbus = "base utils"
1399RECIPE_NO_OF_PATCHES_pn-elfutils="9" 1452RECIPE_NO_OF_PATCHES_pn-elfutils="9"
@@ -1401,8 +1454,9 @@ RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-elfutils="1 month"
1401RECIPE_LATEST_RELEASE_DATE_pn-elfutils="06/2010" 1454RECIPE_LATEST_RELEASE_DATE_pn-elfutils="06/2010"
1402 1455
1403RECIPE_STATUS_pn-pkgconfig = "green" 1456RECIPE_STATUS_pn-pkgconfig = "green"
1457RECIPE_LAST_UPDATE_pn-pkgconfig = "Jul 13, 2010"
1404RECIPE_MAINTAINER_pn-pkgconfig = "Qing He <qing.he@intel.com>" 1458RECIPE_MAINTAINER_pn-pkgconfig = "Qing He <qing.he@intel.com>"
1405DEPENDENCY_CHECK_pn-pkgconfig = "not done" 1459RECIPE_DEPENDENCY_CHECK_pn-pkgconfig = "not done"
1406RECIPE_LATEST_VERSION_pn-pkgconfig = "0.25" 1460RECIPE_LATEST_VERSION_pn-pkgconfig = "0.25"
1407RECIPE_INTEL_SECTION_pn-pkgconfig = "base utils" 1461RECIPE_INTEL_SECTION_pn-pkgconfig = "base utils"
1408RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pkgconfig = "n/a" 1462RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pkgconfig = "n/a"
@@ -1410,8 +1464,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-pkgconfig = "05/2010"
1410RECIPE_COMMENTS_pn-pkgconfig = "git as candidate, 0.23: 01/2008, 0.24: 05/2010, 0.25: 05/2010" 1464RECIPE_COMMENTS_pn-pkgconfig = "git as candidate, 0.23: 01/2008, 0.24: 05/2010, 0.25: 05/2010"
1411 1465
1412RECIPE_STATUS_pn-less = "green" 1466RECIPE_STATUS_pn-less = "green"
1467RECIPE_LAST_UPDATE_pn-less = "Jul 6, 2010"
1413RECIPE_MAINTAINER_pn-less = "Qing He <qing.he@intel.com>" 1468RECIPE_MAINTAINER_pn-less = "Qing He <qing.he@intel.com>"
1414DEPENDENCY_CHECK_pn-less = "done" 1469RECIPE_DEPENDENCY_CHECK_pn-less = "done"
1415RECIPE_LATEST_VERSION_pn-less = "436" 1470RECIPE_LATEST_VERSION_pn-less = "436"
1416RECIPE_INTEL_SECTION_pn-less = "base utils" 1471RECIPE_INTEL_SECTION_pn-less = "base utils"
1417RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-less = "1 month" 1472RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-less = "1 month"
@@ -1419,8 +1474,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-less = "07/2009"
1419RECIPE_COMMENTS_pn-less = "also licensed under less, which is a 2-clause BSD-like permissive license" 1474RECIPE_COMMENTS_pn-less = "also licensed under less, which is a 2-clause BSD-like permissive license"
1420 1475
1421RECIPE_STATUS_pn-genext2fs = "green" 1476RECIPE_STATUS_pn-genext2fs = "green"
1477RECIPE_LAST_UPDATE_pn-genext2fs = "Jul 12, 2010"
1422RECIPE_MAINTAINER_pn-genext2fs = "Qing He <qing.he@intel.com>" 1478RECIPE_MAINTAINER_pn-genext2fs = "Qing He <qing.he@intel.com>"
1423DEPENDENCY_CHECK_pn-genext2fs = "not done" 1479RECIPE_DEPENDENCY_CHECK_pn-genext2fs = "not done"
1424RECIPE_LATEST_VERSION_pn-genext2fs = "1.4.1" 1480RECIPE_LATEST_VERSION_pn-genext2fs = "1.4.1"
1425RECIPE_INTEL_SECTION_pn-genext2fs = "base utils" 1481RECIPE_INTEL_SECTION_pn-genext2fs = "base utils"
1426RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-genext2fs = "3 months" 1482RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-genext2fs = "3 months"
@@ -1428,8 +1484,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-genext2fs = "04/2007"
1428RECIPE_COMMENTS_pn-genext2fs = "" 1484RECIPE_COMMENTS_pn-genext2fs = ""
1429 1485
1430RECIPE_STATUS_pn-findutils = "green" 1486RECIPE_STATUS_pn-findutils = "green"
1487RECIPE_LAST_UPDATE_pn-findutils = "Jul 8, 2010"
1431RECIPE_MAINTAINER_pn-findutils = "Qing He <qing.he@intel.com>" 1488RECIPE_MAINTAINER_pn-findutils = "Qing He <qing.he@intel.com>"
1432DEPENDENCY_CHECK_pn-findutils = "not done" 1489RECIPE_DEPENDENCY_CHECK_pn-findutils = "not done"
1433RECIPE_PATCH_pn-findutils_01-27017 = "upstream patch" 1490RECIPE_PATCH_pn-findutils_01-27017 = "upstream patch"
1434RECIPE_PATCH_pn-findutils_01-28824 = "upstream patch" 1491RECIPE_PATCH_pn-findutils_01-28824 = "upstream patch"
1435RECIPE_PATCH_pn-findutils_01-28872 = "upstream patch" 1492RECIPE_PATCH_pn-findutils_01-28872 = "upstream patch"
@@ -1440,8 +1497,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-findutils = "06/2009"
1440RECIPE_COMMENTS_pn-findutils = "" 1497RECIPE_COMMENTS_pn-findutils = ""
1441 1498
1442RECIPE_STATUS_pn-file = "green" 1499RECIPE_STATUS_pn-file = "green"
1500RECIPE_LAST_UPDATE_pn-file = "Jul 6, 2010"
1443RECIPE_MAINTAINER_pn-file = "Qing He <qing.he@intel.com>" 1501RECIPE_MAINTAINER_pn-file = "Qing He <qing.he@intel.com>"
1444DEPENDENCY_CHECK_pn-file = "done" 1502RECIPE_DEPENDENCY_CHECK_pn-file = "done"
1445RECIPE_LATEST_VERSION_pn-file = "5.04" 1503RECIPE_LATEST_VERSION_pn-file = "5.04"
1446RECIPE_PATCH_pn-file+dump = "some new magic data" 1504RECIPE_PATCH_pn-file+dump = "some new magic data"
1447RECIPE_PATCH_pn-file+filesystems = "some other new magic data" 1505RECIPE_PATCH_pn-file+filesystems = "some other new magic data"
@@ -1451,8 +1509,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-file = "01/2010"
1451RECIPE_COMMENTS_pn-file = "2-clause BSD" 1509RECIPE_COMMENTS_pn-file = "2-clause BSD"
1452 1510
1453RECIPE_STATUS_pn-rsync = "green" 1511RECIPE_STATUS_pn-rsync = "green"
1512RECIPE_LAST_UPDATE_pn-rsync = "Jul 6, 2010"
1454RECIPE_MAINTAINER_pn-rsync = "Qing He <qing.he@intel.com>" 1513RECIPE_MAINTAINER_pn-rsync = "Qing He <qing.he@intel.com>"
1455DEPENDENCY_CHECK_pn-rsync = "done" 1514RECIPE_DEPENDENCY_CHECK_pn-rsync = "done"
1456RECIPE_LATEST_VERSION_pn-rsync = "3.0.7" 1515RECIPE_LATEST_VERSION_pn-rsync = "3.0.7"
1457RECIPE_PATCH_pn-rsync+rsyncd.conf = "init script" 1516RECIPE_PATCH_pn-rsync+rsyncd.conf = "init script"
1458RECIPE_PATCH_pn-rsync+acinclude.m4 = "custom m4 macros" 1517RECIPE_PATCH_pn-rsync+acinclude.m4 = "custom m4 macros"
@@ -1462,8 +1521,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-rsync = "12/2009"
1462RECIPE_COMMENTS_pn-rsync = "" 1521RECIPE_COMMENTS_pn-rsync = ""
1463 1522
1464RECIPE_STATUS_pn-nfs-utils = "yellow" # no auto stage 1523RECIPE_STATUS_pn-nfs-utils = "yellow" # no auto stage
1524RECIPE_LAST_UPDATE_pn-nfs-utils = "Nov 9, 2010"
1465RECIPE_MAINTAINER_pn-nfs-utils = "Qing He <qing.he@intel.com>" 1525RECIPE_MAINTAINER_pn-nfs-utils = "Qing He <qing.he@intel.com>"
1466DEPENDENCY_CHECK_pn-nfs-utils = "done" # still missing libwrap, libgss, libtirpc 1526RECIPE_DEPENDENCY_CHECK_pn-nfs-utils = "done" # still missing libwrap, libgss, libtirpc
1467RECIPE_LATEST_VERSION_pn-nfs-utils = "1.2.3" 1527RECIPE_LATEST_VERSION_pn-nfs-utils = "1.2.3"
1468RECIPE_PATCH_pn-nfs-utils+nfs-utils-1.0.6-uclibc.patch = "uclibc missing some functions" 1528RECIPE_PATCH_pn-nfs-utils+nfs-utils-1.0.6-uclibc.patch = "uclibc missing some functions"
1469RECIPE_PATCH_pn-nfs-utils+nfsserver = "init script" 1529RECIPE_PATCH_pn-nfs-utils+nfsserver = "init script"
@@ -1473,8 +1533,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-nfs-utils = "02/2010"
1473RECIPE_COMMENTS_pn-nfs-utils = "" 1533RECIPE_COMMENTS_pn-nfs-utils = ""
1474 1534
1475RECIPE_STATUS_pn-dropbear = "green" 1535RECIPE_STATUS_pn-dropbear = "green"
1536RECIPE_LAST_UPDATE_pn-dropbear = "Jul 5, 2010"
1476RECIPE_MAINTAINER_pn-dropbear = "Qing He <qing.he@intel.com>" 1537RECIPE_MAINTAINER_pn-dropbear = "Qing He <qing.he@intel.com>"
1477DEPENDENCY_CHECK_pn-dropbear = "not done" 1538RECIPE_DEPENDENCY_CHECK_pn-dropbear = "not done"
1478RECIPE_LATEST_VERSION_pn-dropbear = "0.52" 1539RECIPE_LATEST_VERSION_pn-dropbear = "0.52"
1479RECIPE_PATCH_pn-dropbear+urandom-xauth-changes-to-options.h = "xauth path change" 1540RECIPE_PATCH_pn-dropbear+urandom-xauth-changes-to-options.h = "xauth path change"
1480RECIPE_PATCH_pn-dropbear+configure = "use configure cache value for cross compiling" 1541RECIPE_PATCH_pn-dropbear+configure = "use configure cache value for cross compiling"
@@ -1487,8 +1548,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-dropbear = "11/2008"
1487RECIPE_COMMENTS_pn-dropbear = "" 1548RECIPE_COMMENTS_pn-dropbear = ""
1488 1549
1489RECIPE_STATUS_pn-hal = "green" 1550RECIPE_STATUS_pn-hal = "green"
1551RECIPE_LAST_UPDATE_pn-hal = "Jul 20, 2010"
1490RECIPE_MAINTAINER_pn-hal = "Qing He <qing.he@intel.com>" 1552RECIPE_MAINTAINER_pn-hal = "Qing He <qing.he@intel.com>"
1491DEPENDENCY_CHECK_pn-hal = "not done" 1553RECIPE_DEPENDENCY_CHECK_pn-hal = "not done"
1492RECIPE_LATEST_VERSION_pn-hal = "0.5.14" 1554RECIPE_LATEST_VERSION_pn-hal = "0.5.14"
1493RECIPE_INTEL_SECTION_pn-hal = "base utils" 1555RECIPE_INTEL_SECTION_pn-hal = "base utils"
1494RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-hal = "4 months" 1556RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-hal = "4 months"
@@ -1497,8 +1559,9 @@ RECIPE_COMMENTS_pn-hal = "The licensing is very complicated, Most files are GPLv
1497with some borrowed code under LGPLv2.1, AFL itself is incompatible with GPL/LGPL" 1559with some borrowed code under LGPLv2.1, AFL itself is incompatible with GPL/LGPL"
1498 1560
1499RECIPE_STATUS_pn-hal-info = "green" 1561RECIPE_STATUS_pn-hal-info = "green"
1562RECIPE_LAST_UPDATE_pn-hal-info = "Jul 20, 2010"
1500RECIPE_MAINTAINER_pn-hal-info = "Qing He <qing.he@intel.com>" 1563RECIPE_MAINTAINER_pn-hal-info = "Qing He <qing.he@intel.com>"
1501DEPENDENCY_CHECK_pn-hal-info = "not done" 1564RECIPE_DEPENDENCY_CHECK_pn-hal-info = "not done"
1502RECIPE_LATEST_VERSION_pn-hal-info = "20091130" 1565RECIPE_LATEST_VERSION_pn-hal-info = "20091130"
1503RECIPE_INTEL_SECTION_pn-hal-info = "base utils" 1566RECIPE_INTEL_SECTION_pn-hal-info = "base utils"
1504RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-hal-info = "4 months" 1567RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-hal-info = "4 months"
@@ -1506,8 +1569,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-hal-info = "11/2009"
1506RECIPE_COMMENTS_pn-hal-info = "" 1569RECIPE_COMMENTS_pn-hal-info = ""
1507 1570
1508RECIPE_STATUS_pn-avahi = "green" 1571RECIPE_STATUS_pn-avahi = "green"
1572RECIPE_LAST_UPDATE_pn-avahi = "Nov 19, 2010"
1509RECIPE_MAINTAINER_pn-avahi = "Edwin Zhai <edwin.zhai@intel.com>" 1573RECIPE_MAINTAINER_pn-avahi = "Edwin Zhai <edwin.zhai@intel.com>"
1510DEPENDENCY_CHECK_pn-avahi = "not done" 1574RECIPE_DEPENDENCY_CHECK_pn-avahi = "not done"
1511RECIPE_LATEST_VERSION_pn-avahi = "0.6.28" 1575RECIPE_LATEST_VERSION_pn-avahi = "0.6.28"
1512RECIPE_INTEL_SECTION_pn-avahi = "base utils" 1576RECIPE_INTEL_SECTION_pn-avahi = "base utils"
1513RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-avahi = "3 month" 1577RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-avahi = "3 month"
@@ -1515,8 +1579,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-avahi = "10/2010"
1515RECIPE_COMMENTS_pn-avahi = "" 1579RECIPE_COMMENTS_pn-avahi = ""
1516 1580
1517RECIPE_STATUS_pn-js = "yellow" # may not work for platforms other than 32bit x86 1581RECIPE_STATUS_pn-js = "yellow" # may not work for platforms other than 32bit x86
1582RECIPE_LAST_UPDATE_pn-js = "Jul 5, 2010"
1518RECIPE_MAINTAINER_pn-js = "Qing He <qing.he@intel.com>" 1583RECIPE_MAINTAINER_pn-js = "Qing He <qing.he@intel.com>"
1519DEPENDENCY_CHECK_pn-js = "not done" 1584RECIPE_DEPENDENCY_CHECK_pn-js = "not done"
1520RECIPE_LATEST_VERSION_pn-js = "1.7.0+1.8.0rc1" 1585RECIPE_LATEST_VERSION_pn-js = "1.7.0+1.8.0rc1"
1521RECIPE_PATCH_pn-js+usepic = "get around broken PIC test for cross compiling" 1586RECIPE_PATCH_pn-js+usepic = "get around broken PIC test for cross compiling"
1522RECIPE_PATCH_pn-js+link-with-gcc = "use $(CC) instead of $(LD) to link" 1587RECIPE_PATCH_pn-js+link-with-gcc = "use $(CC) instead of $(LD) to link"
@@ -1527,8 +1592,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-js = "03/2009"
1527RECIPE_COMMENTS_pn-js = "1.7.0 is 10/2007, alternative java based packaged called Rhino" 1592RECIPE_COMMENTS_pn-js = "1.7.0 is 10/2007, alternative java based packaged called Rhino"
1528 1593
1529RECIPE_STATUS_pn-pcmciautils = "green" 1594RECIPE_STATUS_pn-pcmciautils = "green"
1595RECIPE_LAST_UPDATE_pn-pcmciautils = "Jul 14, 2010"
1530RECIPE_MAINTAINER_pn-pcmciautils = "Qing He <qing.he@intel.com>" 1596RECIPE_MAINTAINER_pn-pcmciautils = "Qing He <qing.he@intel.com>"
1531DEPENDENCY_CHECK_pn-pcmciautils = "not done" 1597RECIPE_DEPENDENCY_CHECK_pn-pcmciautils = "not done"
1532RECIPE_LATEST_VERSION_pn-pcmciautils = "017" 1598RECIPE_LATEST_VERSION_pn-pcmciautils = "017"
1533RECIPE_PATCH_pn-pcmciautils+makefile-fix = "fix absolute path" 1599RECIPE_PATCH_pn-pcmciautils+makefile-fix = "fix absolute path"
1534RECIPE_PATCH_pn-pcmciautils+version-workaround = "avoid a macro" 1600RECIPE_PATCH_pn-pcmciautils+version-workaround = "avoid a macro"
@@ -1538,8 +1604,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-pcmciautils = "01/2010"
1538RECIPE_COMMENTS_pn-pcmciautils = "" 1604RECIPE_COMMENTS_pn-pcmciautils = ""
1539 1605
1540RECIPE_STATUS_pn-unzip = "green" 1606RECIPE_STATUS_pn-unzip = "green"
1607RECIPE_LAST_UPDATE_pn-unzip = "Jul 5, 2010"
1541RECIPE_MAINTAINER_pn-unzip = "Qing He <qing.he@intel.com>" 1608RECIPE_MAINTAINER_pn-unzip = "Qing He <qing.he@intel.com>"
1542DEPENDENCY_CHECK_pn-unzip = "not done" 1609RECIPE_DEPENDENCY_CHECK_pn-unzip = "not done"
1543RECIPE_LATEST_VERSION_pn-unzip = "6.0" 1610RECIPE_LATEST_VERSION_pn-unzip = "6.0"
1544RECIPE_INTEL_SECTION_pn-unzip = "base utils" 1611RECIPE_INTEL_SECTION_pn-unzip = "base utils"
1545RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-unzip = "49 months" 1612RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-unzip = "49 months"
@@ -1547,8 +1614,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-unzip = "04/2009"
1547RECIPE_COMMENTS_pn-unzip = "5.52 has a race condition vulnerability for Unix version" 1614RECIPE_COMMENTS_pn-unzip = "5.52 has a race condition vulnerability for Unix version"
1548 1615
1549RECIPE_STATUS_pn-zip = "green" 1616RECIPE_STATUS_pn-zip = "green"
1617RECIPE_LAST_UPDATE_pn-zip = "Jul 6, 2010"
1550RECIPE_MAINTAINER_pn-zip = "Qing He <qing.he@intel.com>" 1618RECIPE_MAINTAINER_pn-zip = "Qing He <qing.he@intel.com>"
1551DEPENDENCY_CHECK_pn-zip = "not done" 1619RECIPE_DEPENDENCY_CHECK_pn-zip = "not done"
1552RECIPE_LATEST_VERSION_pn-zip = "3.0" 1620RECIPE_LATEST_VERSION_pn-zip = "3.0"
1553RECIPE_INTEL_SECTION_pn-zip = "base utils" 1621RECIPE_INTEL_SECTION_pn-zip = "base utils"
1554RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-zip = "21 months" 1622RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-zip = "21 months"
@@ -1556,8 +1624,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-zip = "09/2009"
1556RECIPE_COMMENTS_pn-zip = "" 1624RECIPE_COMMENTS_pn-zip = ""
1557 1625
1558RECIPE_STATUS_pn-strace = "green" 1626RECIPE_STATUS_pn-strace = "green"
1627RECIPE_LAST_UPDATE_pn-strace = "May 25, 2010"
1559RECIPE_MAINTAINER_pn-strace = "Qing He <qing.he@intel.com>" 1628RECIPE_MAINTAINER_pn-strace = "Qing He <qing.he@intel.com>"
1560DEPENDENCY_CHECK_pn-strace = "not done" 1629RECIPE_DEPENDENCY_CHECK_pn-strace = "not done"
1561RECIPE_LATEST_VERSION_pn-strace = "4.5.20" 1630RECIPE_LATEST_VERSION_pn-strace = "4.5.20"
1562RECIPE_INTEL_SECTION_pn-strace = "base utils" 1631RECIPE_INTEL_SECTION_pn-strace = "base utils"
1563RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-strace = "6 months" 1632RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-strace = "6 months"
@@ -1565,17 +1634,17 @@ RECIPE_LATEST_RELEASE_DATE_pn-strace = "04/2010"
1565RECIPE_COMMENTS_pn-strace = "3-clause BSD" 1634RECIPE_COMMENTS_pn-strace = "3-clause BSD"
1566 1635
1567RECIPE_STATUS_pn-dhcp = "green" 1636RECIPE_STATUS_pn-dhcp = "green"
1637RECIPE_LAST_UPDATE_pn-dhcp = "Nov 17, 2010"
1568RECIPE_MAINTAINER_pn-dhcp = "Qing He <qing.he@intel.com>" 1638RECIPE_MAINTAINER_pn-dhcp = "Qing He <qing.he@intel.com>"
1569DEPENDENCY_CHECK_pn-dhcp = "not done" 1639RECIPE_LATEST_VERSION_pn-dhcp = "4.2.0-P2"
1570RECIPE_LATEST_VERSION_pn-dhcp = "4.1.1-P1"
1571RECIPE_INTEL_SECTION_pn-dhcp = "base utils" 1640RECIPE_INTEL_SECTION_pn-dhcp = "base utils"
1572RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dhcp = "n/a" 1641RECIPE_LATEST_RELEASE_DATE_pn-dhcp = "12/2010"
1573RECIPE_LATEST_RELEASE_DATE_pn-dhcp = "06/2010"
1574RECIPE_COMMENTS_pn-dhcp = "several major release, others are 3.1.3, 4.0.2-P1, need to identify" 1642RECIPE_COMMENTS_pn-dhcp = "several major release, others are 3.1.3, 4.0.2-P1, need to identify"
1575 1643
1576RECIPE_STATUS_pn-v86d = "yellow" # self written configure 1644RECIPE_STATUS_pn-v86d = "yellow" # self written configure
1645RECIPE_LAST_UPDATE_pn-udev = "Jul 6, 2010"
1577RECIPE_MAINTAINER_pn-v86d = "Qing He <qing.he@intel.com>" 1646RECIPE_MAINTAINER_pn-v86d = "Qing He <qing.he@intel.com>"
1578DEPENDENCY_CHECK_pn-v86d = "not done" 1647RECIPE_DEPENDENCY_CHECK_pn-v86d = "not done"
1579RECIPE_LATEST_VERSION_pn-v86d = "0.1.9" 1648RECIPE_LATEST_VERSION_pn-v86d = "0.1.9"
1580RECIPE_PATCH_pn-v86d+fbsetup = "init script" 1649RECIPE_PATCH_pn-v86d+fbsetup = "init script"
1581RECIPE_INTEL_SECTION_pn-v86d = "base utils" 1650RECIPE_INTEL_SECTION_pn-v86d = "base utils"
@@ -1585,8 +1654,9 @@ RECIPE_COMMENTS_pn-v86d = "contains code under other licenses"
1585DISTRO_PN_ALIAS_pn-v86d = "Debian=v86d Ubuntu=v86d" 1654DISTRO_PN_ALIAS_pn-v86d = "Debian=v86d Ubuntu=v86d"
1586 1655
1587RECIPE_STATUS_pn-udev = "yellow" # needs to delete old versions 1656RECIPE_STATUS_pn-udev = "yellow" # needs to delete old versions
1657RECIPE_LAST_UPDATE_pn-udev = "Dec 7, 2010"
1588RECIPE_MAINTAINER_pn-udev = "Qing He <qing.he@intel.com>" 1658RECIPE_MAINTAINER_pn-udev = "Qing He <qing.he@intel.com>"
1589DEPENDENCY_CHECK_pn-udev = "not done" 1659RECIPE_DEPENDENCY_CHECK_pn-udev = "not done"
1590RECIPE_LATEST_VERSION_pn-udev = "158" 1660RECIPE_LATEST_VERSION_pn-udev = "158"
1591RECIPE_INTEL_SECTION_pn-udev = "base utils" 1661RECIPE_INTEL_SECTION_pn-udev = "base utils"
1592RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-udev = "<1 month" 1662RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-udev = "<1 month"
@@ -1594,8 +1664,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-udev = "06/2010"
1594RECIPE_COMMENTS_pn-udev = "may need different versions for different kernels" 1664RECIPE_COMMENTS_pn-udev = "may need different versions for different kernels"
1595 1665
1596RECIPE_STATUS_pn-tzdata = "green" 1666RECIPE_STATUS_pn-tzdata = "green"
1667RECIPE_LAST_UPDATE_pn-tzdata = "Nov 9, 2010"
1597RECIPE_MAINTAINER_pn-tzdata = "Qing He <qing.he@intel.com>" 1668RECIPE_MAINTAINER_pn-tzdata = "Qing He <qing.he@intel.com>"
1598DEPENDENCY_CHECK_pn-tzdata = "not done" 1669RECIPE_DEPENDENCY_CHECK_pn-tzdata = "not done"
1599RECIPE_LATEST_VERSION_pn-tzdata = "2010o" 1670RECIPE_LATEST_VERSION_pn-tzdata = "2010o"
1600RECIPE_INTEL_SECTION_pn-tzdata = "base utils" 1671RECIPE_INTEL_SECTION_pn-tzdata = "base utils"
1601RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tzdata = "1 month" 1672RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tzdata = "1 month"
@@ -1603,8 +1674,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-tzdata = "05/2010"
1603RECIPE_COMMENTS_pn-tzdata = "" 1674RECIPE_COMMENTS_pn-tzdata = ""
1604 1675
1605RECIPE_STATUS_pn-tinylogin = "yellow" # replaced, place holder for tracking 1676RECIPE_STATUS_pn-tinylogin = "yellow" # replaced, place holder for tracking
1677RECIPE_LAST_UPDATE_pn-tinylogin = "Jul 21, 2006"
1606RECIPE_MAINTAINER_pn-tinylogin = "Qing He <qing.he@intel.com>" 1678RECIPE_MAINTAINER_pn-tinylogin = "Qing He <qing.he@intel.com>"
1607DEPENDENCY_CHECK_pn-tinylogin = "not done" 1679RECIPE_DEPENDENCY_CHECK_pn-tinylogin = "not done"
1608RECIPE_LATEST_VERSION_pn-tinylogin = "1.4" 1680RECIPE_LATEST_VERSION_pn-tinylogin = "1.4"
1609RECIPE_INTEL_SECTION_pn-tinylogin = "base utils" 1681RECIPE_INTEL_SECTION_pn-tinylogin = "base utils"
1610RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tinylogin = "n/a" 1682RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tinylogin = "n/a"
@@ -1613,8 +1685,9 @@ RECIPE_COMMENTS_pn-tinylogin = "merged into busybox"
1613DISTRO_PN_ALIAS_pn-tinylogin = "Debian=busybox Ubuntu=busybox Mandriva=busybox" 1685DISTRO_PN_ALIAS_pn-tinylogin = "Debian=busybox Ubuntu=busybox Mandriva=busybox"
1614 1686
1615RECIPE_STATUS_pn-rpm = "red" # need upgrade 1687RECIPE_STATUS_pn-rpm = "red" # need upgrade
1688RECIPE_LAST_UPDATE_pn-rpm = "Aug 20, 2010"
1616RECIPE_MAINTAINER_pn-rpm = "Joshua Lock <joshua.lock@intel.com>" 1689RECIPE_MAINTAINER_pn-rpm = "Joshua Lock <joshua.lock@intel.com>"
1617DEPENDENCY_CHECK_pn-rpm = "not done" 1690RECIPE_DEPENDENCY_CHECK_pn-rpm = "not done"
1618RECIPE_LATEST_VERSION_pn-rpm = "5.1.10" 1691RECIPE_LATEST_VERSION_pn-rpm = "5.1.10"
1619RECIPE_INTEL_SECTION_pn-rpm = "base utils" 1692RECIPE_INTEL_SECTION_pn-rpm = "base utils"
1620RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-rpm = "2 months" 1693RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-rpm = "2 months"
@@ -1622,26 +1695,23 @@ RECIPE_LATEST_RELEASE_DATE_pn-rpm = "01/2010"
1622RECIPE_COMMENTS_pn-rpm = "the library alone is under dual license" 1695RECIPE_COMMENTS_pn-rpm = "the library alone is under dual license"
1623 1696
1624RECIPE_STATUS_pn-shared-mime-info = "green" 1697RECIPE_STATUS_pn-shared-mime-info = "green"
1698RECIPE_LAST_UPDATE_pn-shared-mime-info = "Nov 9, 2010"
1625RECIPE_MAINTAINER_pn-shared-mime-info = "Qing He <qing.he@intel.com>" 1699RECIPE_MAINTAINER_pn-shared-mime-info = "Qing He <qing.he@intel.com>"
1626DEPENDENCY_CHECK_pn-shared-mime-info = "not done" 1700RECIPE_LATEST_VERSION_pn-shared-mime-info = "0.90"
1627RECIPE_LATEST_VERSION_pn-shared-mime-info = "0.71"
1628RECIPE_INTEL_SECTION_pn-shared-mime-info = "base utils" 1701RECIPE_INTEL_SECTION_pn-shared-mime-info = "base utils"
1629RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-shared-mime-info = "5 months"
1630RECIPE_LATEST_RELEASE_DATE_pn-shared-mime-info = "02/2010" 1702RECIPE_LATEST_RELEASE_DATE_pn-shared-mime-info = "02/2010"
1631RECIPE_COMMENTS_pn-shared-mime-info = ""
1632 1703
1633RECIPE_STATUS_pn-util-linux = "green" 1704RECIPE_STATUS_pn-util-linux = "green"
1705RECIPE_LAST_UPDATE_pn-util-linux = "Jul 21, 2010"
1634RECIPE_MAINTAINER_pn-util-linux = "Qing He <qing.he@intel.com>" 1706RECIPE_MAINTAINER_pn-util-linux = "Qing He <qing.he@intel.com>"
1635DEPENDENCY_CHECK_pn-util-linux = "note done" 1707RECIPE_LATEST_VERSION_pn-util-linux = "2.18"
1636RECIPE_LATEST_VERSION_pn-util-linux = "2.17.2"
1637RECIPE_INTEL_SECTION_pn-util-linux = "base utils" 1708RECIPE_INTEL_SECTION_pn-util-linux = "base utils"
1638RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-util-linux = "2 months" 1709RECIPE_LATEST_RELEASE_DATE_pn-util-linux = "06/2010"
1639RECIPE_LATEST_RELEASE_DATE_pn-util-linux = "03/2010"
1640RECIPE_COMMENTS_pn-util-linux = ""
1641 1710
1642RECIPE_STATUS_pn-usbutils = "green" 1711RECIPE_STATUS_pn-usbutils = "green"
1712RECIPE_LAST_UPDATE_pn-usbutils = "Jul 30, 2010"
1643RECIPE_MAINTAINER_pn-usbutils = "Qing He <qing.he@intel.com>" 1713RECIPE_MAINTAINER_pn-usbutils = "Qing He <qing.he@intel.com>"
1644DEPENDENCY_CHECK_pn-usbutils = "done" 1714RECIPE_DEPENDENCY_CHECK_pn-usbutils = "done"
1645RECIPE_LATEST_VERSION_pn-usbutils = "0.86" 1715RECIPE_LATEST_VERSION_pn-usbutils = "0.86"
1646RECIPE_INTEL_SECTION_pn-usbutils = "base utils" 1716RECIPE_INTEL_SECTION_pn-usbutils = "base utils"
1647RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-usbutils = "2 months" 1717RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-usbutils = "2 months"
@@ -1649,8 +1719,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-usbutils = "08/2009"
1649RECIPE_COMMENTS_pn-usbutils = "" 1719RECIPE_COMMENTS_pn-usbutils = ""
1650 1720
1651RECIPE_STATUS_pn-pciutils = "yellow" # custom build system, several hacks 1721RECIPE_STATUS_pn-pciutils = "yellow" # custom build system, several hacks
1722RECIPE_LAST_UPDATE_pn-pciutils = "Nov 10, 2010"
1652RECIPE_MAINTAINER_pn-pciutils = "Qing He <qing.he@intel.com>" 1723RECIPE_MAINTAINER_pn-pciutils = "Qing He <qing.he@intel.com>"
1653DEPENDENCY_CHECK_pn-pciutils = "done" 1724RECIPE_DEPENDENCY_CHECK_pn-pciutils = "done"
1654RECIPE_LATEST_VERSION_pn-pciutils = "3.1.7" 1725RECIPE_LATEST_VERSION_pn-pciutils = "3.1.7"
1655RECIPE_PATCH_pn-pciutils+configure = "fix for a handwritten config" 1726RECIPE_PATCH_pn-pciutils+configure = "fix for a handwritten config"
1656RECIPE_PATCH_pn-pciutils+guess-fix = "fix arch guess algorithm" 1727RECIPE_PATCH_pn-pciutils+guess-fix = "fix arch guess algorithm"
@@ -1662,8 +1733,9 @@ RECIPE_LATEST_RELEASE_DATE_pn-pciutils = "01/2010"
1662RECIPE_COMMENTS_pn-pciutils = "" 1733RECIPE_COMMENTS_pn-pciutils = ""
1663 1734
1664RECIPE_STATUS_pn-gamin = "green" 1735RECIPE_STATUS_pn-gamin = "green"
1736RECIPE_LAST_UPDATE_pn-gamin = "Aug 12, 2010"
1665RECIPE_MAINTAINER_pn-gamin = "Qing He <qing.he@intel.com>" 1737RECIPE_MAINTAINER_pn-gamin = "Qing He <qing.he@intel.com>"
1666DEPENDENCY_CHECK_pn-gamin = "done" 1738RECIPE_DEPENDENCY_CHECK_pn-gamin = "done"
1667RECIPE_LATEST_VERSION_pn-gamin = "0.1.10" 1739RECIPE_LATEST_VERSION_pn-gamin = "0.1.10"
1668RECIPE_PATCH_pn-gamin+no-abstract-socket = "disable abstract socket support" 1740RECIPE_PATCH_pn-gamin+no-abstract-socket = "disable abstract socket support"
1669RECIPE_INTEL_SECTION_pn-gamin = "base utils" 1741RECIPE_INTEL_SECTION_pn-gamin = "base utils"
@@ -1672,47 +1744,57 @@ RECIPE_LATEST_RELEASE_DATE_pn-gamin = "11/2008"
1672RECIPE_COMMENTS_pn-gamin = "" 1744RECIPE_COMMENTS_pn-gamin = ""
1673 1745
1674RECIPE_STATUS_pn-zypper = "green" 1746RECIPE_STATUS_pn-zypper = "green"
1675DEPENDENCY_CHECK_pn-zypper = "not done" 1747RECIPE_DEPENDENCY_CHECK_pn-zypper = "not done"
1748RECIPE_LAST_UPDATE_pn-zypper = "Aug 20, 2010"
1676RECIPE_MAINTAINER_pn-zypper = "Qing He <qing.he@intel.com>" 1749RECIPE_MAINTAINER_pn-zypper = "Qing He <qing.he@intel.com>"
1677RECIPE_LATEST_VERSION_pn-zypper = "git" 1750RECIPE_LATEST_VERSION_pn-zypper = "git"
1678RECIPE_INTEL_SECTION_pn-zypper = "base utils" 1751RECIPE_INTEL_SECTION_pn-zypper = "base utils"
1679RECIPE_COMMENTS_pn-zypper = "" 1752RECIPE_COMMENTS_pn-zypper = ""
1680 1753
1681RECIPE_STATUS_pn-sysstat = "red" # need upgrade 1754RECIPE_STATUS_pn-sysstat = "green"
1755RECIPE_LAST_UPDATE_pn-sysstat = "Nov 17, 2010"
1682RECIPE_MAINTAINER_pn-sysstat = "Qing He <qing.he@intel.com>" 1756RECIPE_MAINTAINER_pn-sysstat = "Qing He <qing.he@intel.com>"
1683RECIPE_LATEST_VERSION_pn-sysstat = "9.1.6" 1757RECIPE_LATEST_VERSION_pn-sysstat = "9.1.6"
1684 1758
1685RECIPE_STATUS_pn-sysklogd = "red" # need upgrade 1759RECIPE_STATUS_pn-sysklogd = "red" # need upgrade
1760RECIPE_LAST_UPDATE_pn-sysklogd = "Aug 27, 2010"
1686RECIPE_MAINTAINER_pn-sysklogd = "Qing He <qing.he@intel.com>" 1761RECIPE_MAINTAINER_pn-sysklogd = "Qing He <qing.he@intel.com>"
1687RECIPE_LATEST_VERSION_pn-sysklogd = "1.5" 1762RECIPE_LATEST_VERSION_pn-sysklogd = "1.5"
1688 1763
1689RECIPE_STATUS_pn-gawk = "red" # need upgrade 1764RECIPE_STATUS_pn-gawk = "red" # need upgrade
1765RECIPE_LAST_UPDATE_pn-gawk = "Aug 27, 2010"
1690RECIPE_MAINTAINER_pn-gawk = "Qing He <qing.he@intel.com>" 1766RECIPE_MAINTAINER_pn-gawk = "Qing He <qing.he@intel.com>"
1691RECIPE_LATEST_VERSION_pn-gawk = "3.1.7" 1767RECIPE_LATEST_VERSION_pn-gawk = "3.1.7"
1692 1768
1693RECIPE_STATUS_pn-mktemp="red" 1769RECIPE_STATUS_pn-mktemp="red"
1770RECIPE_LAST_UPDATE_pn-mktemp = "Jul 29, 2010"
1694RECIPE_MAINTAINER_pn-mktemp="Yu Ke <ke.yu@intel.com>" 1771RECIPE_MAINTAINER_pn-mktemp="Yu Ke <ke.yu@intel.com>"
1695RECIPE_LATEST_VERSION_pn-mktemp="1.7" 1772RECIPE_LATEST_VERSION_pn-mktemp="1.7"
1696 1773
1697RECIPE_STATUS_pn-iputils="red" 1774RECIPE_STATUS_pn-iputils="red"
1775RECIPE_LAST_UPDATE_pn-iputils = "Jul 29, 2010"
1698RECIPE_MAINTAINER_pn-iputils="Yu Ke <ke.yu@intel.com>" 1776RECIPE_MAINTAINER_pn-iputils="Yu Ke <ke.yu@intel.com>"
1699RECIPE_LATEST_VERSION_pn-iputils="s20100418" 1777RECIPE_LATEST_VERSION_pn-iputils="s20100418"
1700 1778
1701RECIPE_STATUS_pn-xinetd="red" 1779RECIPE_STATUS_pn-xinetd="red"
1780RECIPE_LAST_UPDATE_pn-xinetd = "Jul 28, 2010"
1702RECIPE_MAINTAINER_pn-xinetd="Yu Ke <ke.yu@intel.com>" 1781RECIPE_MAINTAINER_pn-xinetd="Yu Ke <ke.yu@intel.com>"
1703RECIPE_LATEST_VERSION_pn-xinetd="2.3.14" 1782RECIPE_LATEST_VERSION_pn-xinetd="2.3.14"
1704 1783
1705RECIPE_STATUS_pn-cracklib="green" 1784RECIPE_STATUS_pn-cracklib="green"
1785RECIPE_LAST_UPDATE_pn-cracklib = "Nov 13, 2010"
1706RECIPE_MAINTAINER_pn-cracklib="Yu Ke <ke.yu@intel.com>" 1786RECIPE_MAINTAINER_pn-cracklib="Yu Ke <ke.yu@intel.com>"
1707RECIPE_LATEST_VERSION_pn-cracklib="2.8.18" 1787RECIPE_LATEST_VERSION_pn-cracklib="2.8.18"
1708 1788
1709RECIPE_STATUS_pn-openobex = "red" 1789RECIPE_STATUS_pn-openobex = "red"
1710RECIPE_LATEST_VERSION_pn-openobex = "1.5" 1790RECIPE_LATEST_VERSION_pn-openobex = "1.5"
1791RECIPE_LAST_UPDATE_pn-openobex = "Jul 31, 2009"
1711RECIPE_MAINTAINER_pn-openobex = "Qing He <qing.he@intel.com>" 1792RECIPE_MAINTAINER_pn-openobex = "Qing He <qing.he@intel.com>"
1712 1793
1713RECIPE_STATUS_pn-sed = "green" 1794RECIPE_STATUS_pn-sed = "green"
1795RECIPE_LAST_UPDATE_pn-sed = "Sep 1, 2010"
1714RECIPE_MAINTAINER_pn-sed = "Qing He <qing.he@intel.com>" 1796RECIPE_MAINTAINER_pn-sed = "Qing He <qing.he@intel.com>"
1715DEPENDENCY_CHECK_pn-sed = "not done" 1797RECIPE_DEPENDENCY_CHECK_pn-sed = "not done"
1716RECIPE_LATEST_VERSION_pn-sed = "4.2.1" 1798RECIPE_LATEST_VERSION_pn-sed = "4.2.1"
1717RECIPE_INTEL_SECTION_pn-sed = "base utils" 1799RECIPE_INTEL_SECTION_pn-sed = "base utils"
1718RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sed = "2 months" 1800RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sed = "2 months"
@@ -1721,32 +1803,40 @@ RECIPE_COMMENTS_pn-sed = "Qing maintains GPLv2 sed, while Dongxiao maintains GPL
1721 1803
1722RECIPE_STATUS_pn-aspell = "red" 1804RECIPE_STATUS_pn-aspell = "red"
1723RECIPE_LATEST_VERSION_pn-aspell = "0.60.6" 1805RECIPE_LATEST_VERSION_pn-aspell = "0.60.6"
1806RECIPE_LAST_UPDATE_pn-aspell = "Aug 16, 2010"
1724RECIPE_MAINTAINER_pn-aspell = "Qing He <qing.he@intel.com>" 1807RECIPE_MAINTAINER_pn-aspell = "Qing He <qing.he@intel.com>"
1725 1808
1726RECIPE_STATUS_pn-parted = "red" 1809RECIPE_STATUS_pn-parted = "green"
1727RECIPE_LATEST_VERSION_pn-parted = "2.3" 1810RECIPE_LATEST_VERSION_pn-parted = "2.3"
1811RECIPE_LAST_UPDATE_pn-parted = "Dec 30, 2010"
1728RECIPE_MAINTAINER_pn-parted = "Qing He <qing.he@intel.com>" 1812RECIPE_MAINTAINER_pn-parted = "Qing He <qing.he@intel.com>"
1729 1813
1730RECIPE_STATUS_pn-resolvconf = "red" 1814RECIPE_STATUS_pn-resolvconf = "green"
1731RECIPE_LATEST_VERSION_pn-resolvconf = "1.45" 1815RECIPE_LATEST_VERSION_pn-resolvconf = "1.48"
1816RECIPE_LAST_UPDATE_pn-resolvconf = "Jan 20, 2011"
1732RECIPE_MAINTAINER_pn-resolvconf = "Qing He <qing.he@intel.com>" 1817RECIPE_MAINTAINER_pn-resolvconf = "Qing He <qing.he@intel.com>"
1733 1818
1734RECIPE_STATUS_pn-openswan = "red" 1819RECIPE_STATUS_pn-openswan = "red"
1735RECIPE_LATEST_VERSION_pn-openswan = "2.6.26" 1820RECIPE_LATEST_VERSION_pn-openswan = "2.6.26"
1821RECIPE_LAST_UPDATE_pn-openswan = "Apr 13, 2007"
1736RECIPE_MAINTAINER_pn-openswan = "Qing He <qing.he@intel.com>" 1822RECIPE_MAINTAINER_pn-openswan = "Qing He <qing.he@intel.com>"
1737 1823
1738RECIPE_STATUS_pn-u-boot-mkimage = "red" 1824RECIPE_STATUS_pn-u-boot-mkimage = "red"
1739DISTRO_PN_ALIAS_pn-u-boot-mkimage = "Ubuntu=uboot-mkimage Debian=uboot-mkimage" 1825DISTRO_PN_ALIAS_pn-u-boot-mkimage = "Ubuntu=uboot-mkimage Debian=uboot-mkimage"
1826RECIPE_NO_UPDATE_REASON_pn-u-boot-mkimage ="target version is not used"
1740RECIPE_LATEST_VERSION_pn-u-boot-mkimage = "2010.03" 1827RECIPE_LATEST_VERSION_pn-u-boot-mkimage = "2010.03"
1828RECIPE_LAST_UPDATE_pn-u-boot-mkimage = "Dec 15, 2009"
1741RECIPE_MAINTAINER_pn-u-boot-mkimage = "Qing He <qing.he@intel.com>" 1829RECIPE_MAINTAINER_pn-u-boot-mkimage = "Qing He <qing.he@intel.com>"
1742 1830
1743RECIPE_STATUS_pn-zaurusd = "red" 1831RECIPE_STATUS_pn-zaurusd = "green"
1744RECIPE_LATEST_VERSION_pn-zaurusd = "n/a" 1832RECIPE_LATEST_VERSION_pn-zaurusd = "0.0+svnr426"
1745DISTRO_PN_ALIAS_pn-zaurusd = "OpenedHand" 1833DISTRO_PN_ALIAS_pn-zaurusd = "OpenedHand"
1834RECIPE_LAST_UPDATE_pn-zaurusd = "Jan 20, 2011"
1746RECIPE_MAINTAINER_pn-zaurusd = "Qing He <qing.he@intel.com>" 1835RECIPE_MAINTAINER_pn-zaurusd = "Qing He <qing.he@intel.com>"
1747 1836
1748RECIPE_STATUS_pn-yaffs2-utils = "red" 1837RECIPE_STATUS_pn-yaffs2-utils = "red"
1749RECIPE_LATEST_VERSION_pn-yaffs2-utils = "" 1838RECIPE_LATEST_VERSION_pn-yaffs2-utils = ""
1839RECIPE_LAST_UPDATE_pn-yaffs2-utils = "Nov 7, 2007"
1750RECIPE_MAINTAINER_pn-yaffs2-utils = "Qing He <qing.he@intel.com>" 1840RECIPE_MAINTAINER_pn-yaffs2-utils = "Qing He <qing.he@intel.com>"
1751DISTRO_PN_ALIAS_pn-yaffs2-utils = "OSPDT upstream=http://www.yaffs.net" 1841DISTRO_PN_ALIAS_pn-yaffs2-utils = "OSPDT upstream=http://www.yaffs.net"
1752 1842
@@ -1757,27 +1847,33 @@ RECIPE_MAINTAINER_pn-usbinit = "Qing He <qing.he@intel.com>"
1757 1847
1758RECIPE_STATUS_pn-ubootchart = "red" 1848RECIPE_STATUS_pn-ubootchart = "red"
1759RECIPE_LATEST_VERSION_pn-ubootchart = "0.0+r12" 1849RECIPE_LATEST_VERSION_pn-ubootchart = "0.0+r12"
1850RECIPE_LAST_UPDATE_pn-ubootchart = "Nov 6, 2007"
1760RECIPE_MAINTAINER_pn-ubootchart = "Qing He <qing.he@intel.com>" 1851RECIPE_MAINTAINER_pn-ubootchart = "Qing He <qing.he@intel.com>"
1761DISTRO_PN_ALIAS_pn-ubootchart = "OSPDT upstream=http://code.google.com/p/ubootchart" 1852DISTRO_PN_ALIAS_pn-ubootchart = "OSPDT upstream=http://code.google.com/p/ubootchart"
1762 1853
1763RECIPE_STATUS_pn-tiff = "red" 1854RECIPE_STATUS_pn-tiff = "red"
1764RECIPE_LATEST_VERSION_pn-tiff = "3.9.4" 1855RECIPE_LATEST_VERSION_pn-tiff = "3.9.4"
1856RECIPE_LAST_UPDATE_pn-tiff = "Aug 25, 2008"
1765RECIPE_MAINTAINER_pn-tiff = "Qing He <qing.he@intel.com>" 1857RECIPE_MAINTAINER_pn-tiff = "Qing He <qing.he@intel.com>"
1766 1858
1767RECIPE_STATUS_pn-libexif = "red" 1859RECIPE_STATUS_pn-libexif = "red"
1768RECIPE_LATEST_VERSION_pn-libexif = "0.6.19" 1860RECIPE_LATEST_VERSION_pn-libexif = "0.6.19"
1861RECIPE_LAST_UPDATE_pn-libexif = "Nov 22, 2010"
1769RECIPE_MAINTAINER_pn-libexif = "Qing He <qing.he@intel.com>" 1862RECIPE_MAINTAINER_pn-libexif = "Qing He <qing.he@intel.com>"
1770 1863
1771RECIPE_STATUS_pn-setserial = "red" 1864RECIPE_STATUS_pn-setserial = "red"
1772RECIPE_LATEST_VERSION_pn-setserial = "2.17" 1865RECIPE_LATEST_VERSION_pn-setserial = "2.17"
1866RECIPE_LAST_UPDATE_pn-setserial = "Jul 21, 2006"
1773RECIPE_MAINTAINER_pn-setserial = "Qing He <qing.he@intel.com>" 1867RECIPE_MAINTAINER_pn-setserial = "Qing He <qing.he@intel.com>"
1774 1868
1775RECIPE_STATUS_pn-hdparm = "red" 1869RECIPE_STATUS_pn-hdparm = "red"
1776RECIPE_LATEST_VERSION_pn-hdparm = "6.3" 1870RECIPE_LATEST_VERSION_pn-hdparm = "6.3"
1871RECIPE_LAST_UPDATE_pn-hdparm = "Jul 21, 2006"
1777RECIPE_MAINTAINER_pn-hdparm = "Qing He <qing.he@intel.com>" 1872RECIPE_MAINTAINER_pn-hdparm = "Qing He <qing.he@intel.com>"
1778 1873
1779RECIPE_STATUS_pn-wbxml2 = "red" 1874RECIPE_STATUS_pn-wbxml2 = "red"
1780RECIPE_LATEST_VERSION_pn-wbxml2 = "0.10.8" 1875RECIPE_LATEST_VERSION_pn-wbxml2 = "0.10.8"
1876RECIPE_LAST_UPDATE_pn-wbxml2 = "Jan 3, 2007"
1781RECIPE_MAINTAINER_pn-wbxml2 = "Qing He <qing.he@intel.com>" 1877RECIPE_MAINTAINER_pn-wbxml2 = "Qing He <qing.he@intel.com>"
1782 1878
1783RECIPE_STATUS_pn-qemu-config = "red" 1879RECIPE_STATUS_pn-qemu-config = "red"
@@ -1786,7 +1882,7 @@ DISTRO_PN_ALIAS_pn-qemu-config = "OpenedHand"
1786RECIPE_MAINTAINER_pn-qemu-config = "Qing He <qing.he@intel.com>" 1882RECIPE_MAINTAINER_pn-qemu-config = "Qing He <qing.he@intel.com>"
1787 1883
1788RECIPE_STATUS_pn-qemu-helper-native = "green" 1884RECIPE_STATUS_pn-qemu-helper-native = "green"
1789DEPENDENCY_CHECK_pn-qemu-helper-native = "not done" 1885RECIPE_DEPENDENCY_CHECK_pn-qemu-helper-native = "not done"
1790RECIPE_LATEST_VERSION_pn-qemu-helper-native = "r0" 1886RECIPE_LATEST_VERSION_pn-qemu-helper-native = "r0"
1791RECIPE_NO_OF_PATCHES_pn-qemu-helper-native = "0" 1887RECIPE_NO_OF_PATCHES_pn-qemu-helper-native = "0"
1792RECIPE_INTEL_SECTION_pn-qemu-helper-native = "base utils" 1888RECIPE_INTEL_SECTION_pn-qemu-helper-native = "base utils"
@@ -1794,20 +1890,22 @@ RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qemu-helper-native = "n/a"
1794RECIPE_LATEST_RELEASE_DATE_pn-qemu-helper-native = "n/a" 1890RECIPE_LATEST_RELEASE_DATE_pn-qemu-helper-native = "n/a"
1795RECIPE_COMMENTS_pn-qemu-helper-native = "" 1891RECIPE_COMMENTS_pn-qemu-helper-native = ""
1796DISTRO_PN_ALIAS_pn-qemu-helper-native = "OpenedHand" 1892DISTRO_PN_ALIAS_pn-qemu-helper-native = "OpenedHand"
1893RECIPE_LAST_UPDATE_pn-qemu-helper-native = "Aug 5, 2010"
1797RECIPE_MAINTAINER_pn-qemu-helper-native = "Zhai Edwin <edwin.zhai@intel.com>" 1894RECIPE_MAINTAINER_pn-qemu-helper-native = "Zhai Edwin <edwin.zhai@intel.com>"
1798 1895
1799RECIPE_STATUS_pn-qemu = "green" 1896RECIPE_STATUS_pn-qemu = "green"
1800DEPENDENCY_CHECK_pn-qemu = "not done" 1897RECIPE_DEPENDENCY_CHECK_pn-qemu = "not done"
1801RECIPE_LATEST_VERSION_pn-qemu = "0.12.4" 1898RECIPE_LATEST_VERSION_pn-qemu = "0.13.0"
1802RECIPE_NO_OF_PATCHES_pn-qemu = "12" 1899RECIPE_NO_OF_PATCHES_pn-qemu = "12"
1803RECIPE_INTEL_SECTION_pn-qemu = "base utils" 1900RECIPE_INTEL_SECTION_pn-qemu = "base utils"
1804RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qemu = "3 months" 1901RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qemu = "3 months"
1805RECIPE_LATEST_RELEASE_DATE_pn-qemu = "05/2010" 1902RECIPE_LATEST_RELEASE_DATE_pn-qemu = "10/2010"
1806RECIPE_COMMENTS_pn-qemu = "" 1903RECIPE_COMMENTS_pn-qemu = ""
1904RECIPE_LAST_UPDATE_pn-qemu = "Jan 15, 2011"
1807RECIPE_MAINTAINER_pn-qemu = "Zhai Edwin <edwin.zhai@intel.com>" 1905RECIPE_MAINTAINER_pn-qemu = "Zhai Edwin <edwin.zhai@intel.com>"
1808 1906
1809RECIPE_STATUS_pn-qemu-helper-nativesdk = "green" 1907RECIPE_STATUS_pn-qemu-helper-nativesdk = "green"
1810DEPENDENCY_CHECK_pn-qemu-helper-nativesdk = "not done" 1908RECIPE_DEPENDENCY_CHECK_pn-qemu-helper-nativesdk = "not done"
1811RECIPE_LATEST_VERSION_pn-qemu-helper-nativesdk = "r7" 1909RECIPE_LATEST_VERSION_pn-qemu-helper-nativesdk = "r7"
1812RECIPE_NO_OF_PATCHES_pn-qemu-helper-nativesdk = "0" 1910RECIPE_NO_OF_PATCHES_pn-qemu-helper-nativesdk = "0"
1813RECIPE_INTEL_SECTION_pn-qemu-helper-nativesdk = "base utils" 1911RECIPE_INTEL_SECTION_pn-qemu-helper-nativesdk = "base utils"
@@ -1815,60 +1913,68 @@ RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qemu-helper-nativesdk = "n/a"
1815RECIPE_LATEST_RELEASE_DATE_pn-qemu-helper-nativesdk = "n/a" 1913RECIPE_LATEST_RELEASE_DATE_pn-qemu-helper-nativesdk = "n/a"
1816RECIPE_COMMENTS_pn-qemu-helper-nativesdk = "" 1914RECIPE_COMMENTS_pn-qemu-helper-nativesdk = ""
1817DISTRO_PN_ALIAS_pn-qemu-helper-nativesdk = "OpenedHand" 1915DISTRO_PN_ALIAS_pn-qemu-helper-nativesdk = "OpenedHand"
1916RECIPE_LAST_UPDATE_pn-qemu-helper-nativesdk = "Sep 17, 2009"
1818RECIPE_MAINTAINER_pn-qemu-helper-nativesdk = "Scott Garman <scott.a.garman@intel.com>" 1917RECIPE_MAINTAINER_pn-qemu-helper-nativesdk = "Scott Garman <scott.a.garman@intel.com>"
1819 1918
1820RECIPE_STATUS_pn-at = "green" 1919RECIPE_STATUS_pn-at = "green"
1821DEPENDENCY_CHECK_pn-at = "not done" 1920RECIPE_DEPENDENCY_CHECK_pn-at = "not done"
1822RECIPE_LATEST_VERSION_pn-at = "3.1.12" 1921RECIPE_LATEST_VERSION_pn-at = "3.1.12"
1823RECIPE_INTEL_SECTION_pn-at = "base" 1922RECIPE_INTEL_SECTION_pn-at = "base"
1824RECIPE_NO_OF_PATCHES_pn-at = "3" 1923RECIPE_NO_OF_PATCHES_pn-at = "3"
1825RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-at = "13 months" 1924RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-at = "13 months"
1826RECIPE_LATEST_RELEASE_DATE_pn-at = "11/2009" 1925RECIPE_LATEST_RELEASE_DATE_pn-at = "11/2009"
1926RECIPE_LAST_UPDATE_pn-at = "Jul 23, 2010"
1827RECIPE_MAINTAINER_pn-at = "Scott Garman <scott.a.garman@intel.com>" 1927RECIPE_MAINTAINER_pn-at = "Scott Garman <scott.a.garman@intel.com>"
1828 1928
1829RECIPE_STATUS_pn-cpio = "green" 1929RECIPE_STATUS_pn-cpio = "green"
1830DEPENDENCY_CHECK_pn-cpio = "not done" 1930RECIPE_DEPENDENCY_CHECK_pn-cpio = "not done"
1831RECIPE_LATEST_VERSION_pn-cpio = "2.11" 1931RECIPE_LATEST_VERSION_pn-cpio = "2.11"
1832RECIPE_INTEL_SECTION_pn-cpio = "base" 1932RECIPE_INTEL_SECTION_pn-cpio = "base"
1833RECIPE_NO_OF_PATCHES_pn-cpio = "0" 1933RECIPE_NO_OF_PATCHES_pn-cpio = "0"
1834RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cpio = "9 months" 1934RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cpio = "9 months"
1835RECIPE_LATEST_RELEASE_DATE_pn-cpio = "03/2010" 1935RECIPE_LATEST_RELEASE_DATE_pn-cpio = "03/2010"
1936RECIPE_LAST_UPDATE_pn-cpio = "Sep 25, 2010"
1836RECIPE_MAINTAINER_pn-cpio = "Scott Garman <scott.a.garman@intel.com>" 1937RECIPE_MAINTAINER_pn-cpio = "Scott Garman <scott.a.garman@intel.com>"
1837 1938
1838RECIPE_STATUS_pn-cronie = "green" 1939RECIPE_STATUS_pn-cronie = "green"
1839DEPENDENCY_CHECK_pn-cronie = "not done" 1940RECIPE_DEPENDENCY_CHECK_pn-cronie = "not done"
1840RECIPE_LATEST_VERSION_pn-cronie = "1.4.4" 1941RECIPE_LATEST_VERSION_pn-cronie = "1.4.4"
1942RECIPE_MANUAL_CHECK_DATE_pn-cronie = "Jan 28, 2011"
1841RECIPE_INTEL_SECTION_pn-cronie = "base" 1943RECIPE_INTEL_SECTION_pn-cronie = "base"
1842RECIPE_NO_OF_PATCHES_pn-cronie = "0" 1944RECIPE_NO_OF_PATCHES_pn-cronie = "0"
1843RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cronie = "3 months" 1945RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cronie = "3 months"
1844RECIPE_LATEST_RELEASE_DATE_pn-cronie = "02/2010" 1946RECIPE_LATEST_RELEASE_DATE_pn-cronie = "02/2010"
1947RECIPE_LAST_UPDATE_pn-cronie = "Nov 24, 2010"
1845RECIPE_MAINTAINER_pn-cronie = "Dexuan Cui <dexuan.cui@intel.com>" 1948RECIPE_MAINTAINER_pn-cronie = "Dexuan Cui <dexuan.cui@intel.com>"
1846 1949
1847RECIPE_STATUS_pn-grep = "green" 1950RECIPE_STATUS_pn-grep = "green"
1848DEPENDENCY_CHECK_pn-grep = "not done" 1951RECIPE_DEPENDENCY_CHECK_pn-grep = "not done"
1849RECIPE_LATEST_VERSION_pn-grep = "2.7" 1952RECIPE_LATEST_VERSION_pn-grep = "2.7"
1850RECIPE_INTEL_SECTION_pn-grep = "base" 1953RECIPE_INTEL_SECTION_pn-grep = "base"
1851RECIPE_NO_OF_PATCHES_pn-grep = "0" 1954RECIPE_NO_OF_PATCHES_pn-grep = "0"
1852RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-grep = "5 months" 1955RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-grep = "5 months"
1853RECIPE_LATEST_RELEASE_DATE_pn-grep = "09/2010" 1956RECIPE_LATEST_RELEASE_DATE_pn-grep = "09/2010"
1957RECIPE_LAST_UPDATE_pn-grep = "Sep 24, 2010"
1854RECIPE_MAINTAINER_pn-grep = "Scott Garman <scott.a.garman@intel.com>" 1958RECIPE_MAINTAINER_pn-grep = "Scott Garman <scott.a.garman@intel.com>"
1855 1959
1856RECIPE_STATUS_pn-openssh = "red" 1960RECIPE_STATUS_pn-openssh = "red"
1857DEPENDENCY_CHECK_pn-openssh = "not done" 1961RECIPE_DEPENDENCY_CHECK_pn-openssh = "not done"
1858RECIPE_LATEST_VERSION_pn-openssh = "5.6p1" 1962RECIPE_LATEST_VERSION_pn-openssh = "5.6p1"
1859RECIPE_INTEL_SECTION_pn-openssh = "base" 1963RECIPE_INTEL_SECTION_pn-openssh = "base"
1860RECIPE_NO_OF_PATCHES_pn-openssh = "1" 1964RECIPE_NO_OF_PATCHES_pn-openssh = "1"
1861RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-openssh = "4 months" 1965RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-openssh = "4 months"
1862RECIPE_LATEST_RELEASE_DATE_pn-openssh = "08/2010" 1966RECIPE_LATEST_RELEASE_DATE_pn-openssh = "08/2010"
1967RECIPE_LAST_UPDATE_pn-openssh = "Aug 31, 2010"
1863RECIPE_MAINTAINER_pn-openssh = "Scott Garman <scott.a.garman@intel.com>" 1968RECIPE_MAINTAINER_pn-openssh = "Scott Garman <scott.a.garman@intel.com>"
1864 1969
1865RECIPE_STATUS_pn-tar = "green" 1970RECIPE_STATUS_pn-tar = "green"
1866DEPENDENCY_CHECK_pn-tar = "not done" 1971RECIPE_DEPENDENCY_CHECK_pn-tar = "not done"
1867RECIPE_LATEST_VERSION_pn-tar = "1.25" 1972RECIPE_LATEST_VERSION_pn-tar = "1.25"
1868RECIPE_INTEL_SECTION_pn-tar = "base" 1973RECIPE_INTEL_SECTION_pn-tar = "base"
1869RECIPE_NO_OF_PATCHES_pn-tar = "2" 1974RECIPE_NO_OF_PATCHES_pn-tar = "2"
1870RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tar = "2 weeks" 1975RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tar = "2 weeks"
1871RECIPE_LATEST_RELEASE_DATE_pn-tar = "11/2010" 1976RECIPE_LATEST_RELEASE_DATE_pn-tar = "11/2010"
1977RECIPE_LAST_UPDATE_pn-tar = "Nov 17, 2010"
1872RECIPE_MAINTAINER_pn-tar = "Scott Garman <scott.a.garman@intel.com>" 1978RECIPE_MAINTAINER_pn-tar = "Scott Garman <scott.a.garman@intel.com>"
1873 1979
1874RECIPE_STATUS_pn-lrzsz="yellow" # patch investigation needed. 1980RECIPE_STATUS_pn-lrzsz="yellow" # patch investigation needed.
@@ -1876,6 +1982,8 @@ RECIPE_LATEST_VERSION_pn-lrzsz="0.12.20"
1876RECIPE_NO_OF_PATCHES_pn-lrzsz="3" 1982RECIPE_NO_OF_PATCHES_pn-lrzsz="3"
1877RECIPE_LATEST_RELEASE_DATE_pn-lrzsz="1998/12/31" 1983RECIPE_LATEST_RELEASE_DATE_pn-lrzsz="1998/12/31"
1878RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lrzsz="12 months" 1984RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lrzsz="12 months"
1985RECIPE_LAST_UPDATE_pn-lrzsz = "Jul 21, 2006"
1986RECIPE_MANUAL_CHECK_DATE_pn-lrzsz = "Jan 30, 2011"
1879RECIPE_MAINTAINER_pn-lrzsz = "Dongxiao Xu <dongxiao.xu@intel.com>" 1987RECIPE_MAINTAINER_pn-lrzsz = "Dongxiao Xu <dongxiao.xu@intel.com>"
1880 1988
1881RECIPE_STATUS_pn-wireless-tools="yellow" # patch investigation needed 1989RECIPE_STATUS_pn-wireless-tools="yellow" # patch investigation needed
@@ -1883,6 +1991,8 @@ RECIPE_LATEST_VERSION_pn-wireless-tools="29"
1883RECIPE_NO_OF_PATCHES_pn-wireless-tools="3" 1991RECIPE_NO_OF_PATCHES_pn-wireless-tools="3"
1884RECIPE_LATEST_RELEASE_DATE_pn-wireless-tools="2007/09/18" 1992RECIPE_LATEST_RELEASE_DATE_pn-wireless-tools="2007/09/18"
1885RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-wireless-tools="18 months" 1993RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-wireless-tools="18 months"
1994RECIPE_LAST_UPDATE_pn-wireless-tools = "Oct 19, 2007"
1995RECIPE_MANUAL_CHECK_DATE_pn-wireless-tools = "Jan 30, 2011"
1886RECIPE_MAINTAINER_pn-wireless-tools = "Dongxiao Xu <dongxiao.xu@intel.com>" 1996RECIPE_MAINTAINER_pn-wireless-tools = "Dongxiao Xu <dongxiao.xu@intel.com>"
1887 1997
1888RECIPE_STATUS_pn-bluez-dtl1-workaround="yellow" # LICENSE double check 1998RECIPE_STATUS_pn-bluez-dtl1-workaround="yellow" # LICENSE double check
@@ -1890,6 +2000,7 @@ RECIPE_LATEST_VERSION_pn-bluez-dtl1-workaround="1.0"
1890RECIPE_NO_OF_PATCHES_pn-bluez-dtl1-workaround="0" 2000RECIPE_NO_OF_PATCHES_pn-bluez-dtl1-workaround="0"
1891RECIPE_LATEST_RELEASE_DATE_pn-bluez-dtl1-workaround="n/a" 2001RECIPE_LATEST_RELEASE_DATE_pn-bluez-dtl1-workaround="n/a"
1892RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-bluez-dtl1-workaround="n/a" 2002RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-bluez-dtl1-workaround="n/a"
2003RECIPE_LAST_UPDATE_pn-bluez-dtl1-workaround = "Aug 29, 2007"
1893RECIPE_MAINTAINER_pn-bluez-dtl1-workaround = "Dongxiao Xu <dongxiao.xu@intel.com>" 2004RECIPE_MAINTAINER_pn-bluez-dtl1-workaround = "Dongxiao Xu <dongxiao.xu@intel.com>"
1894 2005
1895RECIPE_STATUS_pn-irda-utils="green" 2006RECIPE_STATUS_pn-irda-utils="green"
@@ -1897,15 +2008,17 @@ RECIPE_LATEST_VERSION_pn-irda-utils="0.9.18"
1897RECIPE_NO_OF_PATCHES_pn-irda-utils="0" 2008RECIPE_NO_OF_PATCHES_pn-irda-utils="0"
1898RECIPE_LATEST_RELEASE_DATE_pn-irda-utils="2006/07/10" 2009RECIPE_LATEST_RELEASE_DATE_pn-irda-utils="2006/07/10"
1899RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-irda-utils="4 months" 2010RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-irda-utils="4 months"
2011RECIPE_LAST_UPDATE_pn-irda-utils = "Jun 25, 2010"
1900RECIPE_MAINTAINER_pn-irda-utils = "Dongxiao Xu <dongxiao.xu@intel.com>" 2012RECIPE_MAINTAINER_pn-irda-utils = "Dongxiao Xu <dongxiao.xu@intel.com>"
1901 2013
1902RECIPE_STATUS_pn-bluez4="green" 2014RECIPE_STATUS_pn-bluez4="green"
1903DISTRO_PN_ALIAS_pn-bluez4="Meego=bluz Fedora=bluz Ubuntu=bluz OpenSuSE=bluz Mandriva=bluz" 2015DISTRO_PN_ALIAS_pn-bluez4="Meego=bluz Fedora=bluz Ubuntu=bluz OpenSuSE=bluz Mandriva=bluz"
1904RECIPE_LATEST_VERSION_pn-bluez4="4.79" 2016RECIPE_LATEST_VERSION_pn-bluez4="4.82"
1905RECIPE_NO_OF_PATCHES_pn-bluez4="2" 2017RECIPE_NO_OF_PATCHES_pn-bluez4="2"
1906RECIPE_LATEST_RELEASE_DATE_pn-bluez4="2010/11/08" 2018RECIPE_LATEST_RELEASE_DATE_pn-bluez4="2010/12/18"
1907RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-bluez4="2 days" 2019RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-bluez4="20 days"
1908DISTRO_PN_ALIAS_pn-bluez4= "Fedora=bluez Ubuntu=bluez Debian=bluez-utils Opensuse=bluez" 2020DISTRO_PN_ALIAS_pn-bluez4= "Fedora=bluez Ubuntu=bluez Debian=bluez-utils Opensuse=bluez"
2021RECIPE_LAST_UPDATE_pn-bluez4 = "Dec 30, 2010"
1909RECIPE_MAINTAINER_pn-bluez4 = "Dongxiao Xu <dongxiao.xu@intel.com>" 2022RECIPE_MAINTAINER_pn-bluez4 = "Dongxiao Xu <dongxiao.xu@intel.com>"
1910 2023
1911RECIPE_STATUS_pn-libpcap="green" 2024RECIPE_STATUS_pn-libpcap="green"
@@ -1913,6 +2026,7 @@ RECIPE_LATEST_VERSION_pn-libpcap="1.1.1"
1913RECIPE_NO_OF_PATCHES_pn-libpcap="2" 2026RECIPE_NO_OF_PATCHES_pn-libpcap="2"
1914RECIPE_LATEST_RELEASE_DATE_pn-libpcap="2010/04/05" 2027RECIPE_LATEST_RELEASE_DATE_pn-libpcap="2010/04/05"
1915RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libpcap="2 months" 2028RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libpcap="2 months"
2029RECIPE_LAST_UPDATE_pn-libpcap = "Jun 30, 2010"
1916RECIPE_MAINTAINER_pn-libpcap = "Dongxiao Xu <dongxiao.xu@intel.com>" 2030RECIPE_MAINTAINER_pn-libpcap = "Dongxiao Xu <dongxiao.xu@intel.com>"
1917 2031
1918RECIPE_STATUS_pn-wpa-supplicant="green" 2032RECIPE_STATUS_pn-wpa-supplicant="green"
@@ -1921,6 +2035,7 @@ RECIPE_LATEST_VERSION_pn-wpa-supplicant="0.7.3"
1921RECIPE_NO_OF_PATCHES_pn-wpa-supplicant="0" 2035RECIPE_NO_OF_PATCHES_pn-wpa-supplicant="0"
1922RECIPE_LATEST_RELEASE_DATE_pn-wpa-supplicant="2010/09/07" 2036RECIPE_LATEST_RELEASE_DATE_pn-wpa-supplicant="2010/09/07"
1923RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-wpa-supplicant="5 months" 2037RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-wpa-supplicant="5 months"
2038RECIPE_LAST_UPDATE_pn-wpa-supplicant = "Aug 26, 2010"
1924RECIPE_MAINTAINER_pn-wpa-supplicant = "Dongxiao Xu <dongxiao.xu@intel.com>" 2039RECIPE_MAINTAINER_pn-wpa-supplicant = "Dongxiao Xu <dongxiao.xu@intel.com>"
1925 2040
1926RECIPE_STATUS_pn-ppp="green" 2041RECIPE_STATUS_pn-ppp="green"
@@ -1928,6 +2043,7 @@ RECIPE_LATEST_VERSION_pn-ppp="2.4.5"
1928RECIPE_NO_OF_PATCHES_pn-ppp="5" 2043RECIPE_NO_OF_PATCHES_pn-ppp="5"
1929RECIPE_LATEST_RELEASE_DATE_pn-ppp="2009/11/17" 2044RECIPE_LATEST_RELEASE_DATE_pn-ppp="2009/11/17"
1930RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-ppp="4 years" 2045RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-ppp="4 years"
2046RECIPE_LAST_UPDATE_pn-ppp = "Jul 1, 2010"
1931RECIPE_MAINTAINER_pn-ppp = "Dongxiao Xu <dongxiao.xu@intel.com>" 2047RECIPE_MAINTAINER_pn-ppp = "Dongxiao Xu <dongxiao.xu@intel.com>"
1932 2048
1933RECIPE_STATUS_pn-libproxy="green" 2049RECIPE_STATUS_pn-libproxy="green"
@@ -1935,40 +2051,49 @@ RECIPE_LATEST_VERSION_pn-libproxy="0.4.6"
1935RECIPE_NO_OF_PATCHES_pn-libproxy="1" 2051RECIPE_NO_OF_PATCHES_pn-libproxy="1"
1936RECIPE_LATEST_RELEASE_DATE_pn-libproxy="2010/09/01" 2052RECIPE_LATEST_RELEASE_DATE_pn-libproxy="2010/09/01"
1937RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libproxy="10 days" 2053RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libproxy="10 days"
2054RECIPE_LAST_UPDATE_pn-libproxy = "Nov 16, 2010"
2055RECIPE_MANUAL_CHECK_DATE_pn-libproxy = "Jan 30, 2011"
1938RECIPE_MAINTAINER_pn-libproxy = "Dongxiao Xu <dongxiao.xu@intel.com>" 2056RECIPE_MAINTAINER_pn-libproxy = "Dongxiao Xu <dongxiao.xu@intel.com>"
1939 2057
1940RECIPE_STATUS_pn-connman = "green" 2058RECIPE_STATUS_pn-connman = "green"
1941DISTRO_PN_ALIAS_pn-connman = "Meego=connman" 2059DISTRO_PN_ALIAS_pn-connman = "Meego=connman"
1942RECIPE_LATEST_VERSION_pn-connman = "0.63" 2060RECIPE_LATEST_VERSION_pn-connman = "0.65"
1943RECIPE_NO_OF_PATCHES_pn-connman="2" 2061RECIPE_NO_OF_PATCHES_pn-connman="2"
1944RECIPE_LATEST_RELEASE_DATE_pn-connman="2010/11/04" 2062RECIPE_LATEST_RELEASE_DATE_pn-connman="2010/12/24"
1945RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-connman="1 month" 2063RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-connman="1 month"
2064RECIPE_LAST_UPDATE_pn-connman = "Dec 30, 2010"
1946RECIPE_MAINTAINER_pn-connman = "Dongxiao Xu <dongxiao.xu@intel.com>" 2065RECIPE_MAINTAINER_pn-connman = "Dongxiao Xu <dongxiao.xu@intel.com>"
1947 2066
1948RECIPE_STATUS_pn-connman-gnome = "green" 2067RECIPE_STATUS_pn-connman-gnome = "green"
1949RECIPE_LATEST_VERSION_pn-connman-gnome = "0.5" 2068RECIPE_LATEST_VERSION_pn-connman-gnome = "0.5"
1950RECIPE_NO_OF_PATCHES_pn-connman-gnome="1" 2069RECIPE_NO_OF_PATCHES_pn-connman-gnome="3"
1951RECIPE_LATEST_RELEASE_DATE_pn-connman-gnome="n/a" 2070RECIPE_LATEST_RELEASE_DATE_pn-connman-gnome="n/a"
1952RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-connman-gnome="n/a" 2071RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-connman-gnome="n/a"
2072RECIPE_LAST_UPDATE_pn-connman-gnome = "Dec 30, 2010"
1953RECIPE_MAINTAINER_pn-connman-gnome = "Dongxiao Xu <dongxiao.xu@intel.com>" 2073RECIPE_MAINTAINER_pn-connman-gnome = "Dongxiao Xu <dongxiao.xu@intel.com>"
1954DISTRO_PN_ALIAS_pn-connman-gnome = "Intel" 2074DISTRO_PN_ALIAS_pn-connman-gnome = "Intel"
1955 2075
1956RECIPE_STATUS_pn-empathy = "red" 2076RECIPE_STATUS_pn-empathy = "red"
1957RECIPE_LATEST_VERSION_pn-empathy = "2.31.2" 2077RECIPE_LATEST_VERSION_pn-empathy = "2.31.2"
2078RECIPE_LAST_UPDATE_pn-empathy = "Aug 19, 2009"
1958RECIPE_MAINTAINER_pn-empathy = "Dongxiao Xu <dongxiao.xu@intel.com>" 2079RECIPE_MAINTAINER_pn-empathy = "Dongxiao Xu <dongxiao.xu@intel.com>"
1959 2080
1960RECIPE_STATUS_pn-gupnp = "green" 2081RECIPE_STATUS_pn-gupnp = "green"
1961RECIPE_LATEST_VERSION_pn-gupnp = "0.14.0" 2082RECIPE_LATEST_VERSION_pn-gupnp = "0.15.1"
1962RECIPE_NO_OF_PATCHES_pn-gupnp= "1" 2083RECIPE_NO_OF_PATCHES_pn-gupnp= "1"
1963RECIPE_LATEST_RELEASE_DATE_pn-gupnp= "2010/09/16" 2084RECIPE_LATEST_RELEASE_DATE_pn-gupnp= "2010/09/16"
1964RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gupnp= "1 month" 2085RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gupnp= "1 month"
2086RECIPE_LAST_UPDATE_pn-gupnp = "Dec 7, 2010"
2087RECIPE_MANUAL_CHECK_DATE_pn-gupnp = "Jan 30, 2011"
1965RECIPE_MAINTAINER_pn-gupnp= "Dongxiao Xu <dongxiao.xu@intel.com>" 2088RECIPE_MAINTAINER_pn-gupnp= "Dongxiao Xu <dongxiao.xu@intel.com>"
1966 2089
1967RECIPE_STATUS_pn-gupnp-av = "green" 2090RECIPE_STATUS_pn-gupnp-av = "green"
1968RECIPE_LATEST_VERSION_pn-gupnp-av = "0.7.0" 2091RECIPE_LATEST_VERSION_pn-gupnp-av = "0.7.1"
1969RECIPE_NO_OF_PATCHES_pn-gupnp-av= "0" 2092RECIPE_NO_OF_PATCHES_pn-gupnp-av= "0"
1970RECIPE_LATEST_RELEASE_DATE_pn-gupnp-av= "2010/11/08" 2093RECIPE_LATEST_RELEASE_DATE_pn-gupnp-av= "2010/11/08"
1971RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gupnp-av= "15 days" 2094RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gupnp-av= "15 days"
2095RECIPE_LAST_UPDATE_pn-gupnp-av = "Nov 25, 2010"
2096RECIPE_MANUAL_CHECK_DATE_pn-gupnp-av = "Jan 30, 2011"
1972RECIPE_MAINTAINER_pn-gupnp-av = "Dongxiao Xu <dongxiao.xu@intel.com>" 2097RECIPE_MAINTAINER_pn-gupnp-av = "Dongxiao Xu <dongxiao.xu@intel.com>"
1973 2098
1974RECIPE_STATUS_pn-gupnp-tools = "green" 2099RECIPE_STATUS_pn-gupnp-tools = "green"
@@ -1976,68 +2101,90 @@ RECIPE_LATEST_VERSION_pn-gupnp-tools = "0.8.1"
1976RECIPE_NO_OF_PATCHES_pn-gupnp-tools = "0" 2101RECIPE_NO_OF_PATCHES_pn-gupnp-tools = "0"
1977RECIPE_LATEST_RELEASE_DATE_pn-gupnp-tools = "2010/09/16" 2102RECIPE_LATEST_RELEASE_DATE_pn-gupnp-tools = "2010/09/16"
1978RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gupnp-tools = "3 month" 2103RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gupnp-tools = "3 month"
2104RECIPE_LAST_UPDATE_pn-gupnp-tools = "Nov 25, 2010"
2105RECIPE_MANUAL_CHECK_DATE_pn-gupnp-tools = "Jan 30, 2011"
1979RECIPE_MAINTAINER_pn-gupnp-tools = "Dongxiao Xu <dongxiao.xu@intel.com>" 2106RECIPE_MAINTAINER_pn-gupnp-tools = "Dongxiao Xu <dongxiao.xu@intel.com>"
1980 2107
1981RECIPE_STATUS_pn-libopensync = "red" 2108RECIPE_STATUS_pn-libopensync = "red"
1982RECIPE_LATEST_VERSION_pn-libopensync = "0.39" 2109RECIPE_LATEST_VERSION_pn-libopensync = "0.39"
2110RECIPE_LAST_UPDATE_pn-libopensync = "Oct 17, 2008"
1983RECIPE_MAINTAINER_pn-libopensync = "Dongxiao Xu <dongxiao.xu@intel.com>" 2111RECIPE_MAINTAINER_pn-libopensync = "Dongxiao Xu <dongxiao.xu@intel.com>"
1984 2112
1985RECIPE_STATUS_pn-libopensync-plugin-evolution2 = "red" 2113RECIPE_STATUS_pn-libopensync-plugin-evolution2 = "red"
1986RECIPE_LATEST_VERSION_pn-libopensync-plugin-evolution2 = "0.39" 2114RECIPE_LATEST_VERSION_pn-libopensync-plugin-evolution2 = "0.39"
2115RECIPE_LAST_UPDATE_pn-libopensync-plugin-evolution2 = "Jun 18, 2008"
1987RECIPE_MAINTAINER_pn-libopensync-plugin-evolution2 = "Dongxiao Xu <dongxiao.xu@intel.com>" 2116RECIPE_MAINTAINER_pn-libopensync-plugin-evolution2 = "Dongxiao Xu <dongxiao.xu@intel.com>"
1988 2117
1989RECIPE_STATUS_pn-libopensync-plugin-google-calendar = "red" 2118RECIPE_STATUS_pn-libopensync-plugin-google-calendar = "red"
1990RECIPE_LATEST_VERSION_pn-libopensync-plugin-google-calendar = "0.39" 2119RECIPE_LATEST_VERSION_pn-libopensync-plugin-google-calendar = "0.39"
2120RECIPE_LAST_UPDATE_pn-libopensync-plugin-google-calendar = "Jun 18, 2008"
1991RECIPE_MAINTAINER_pn-libopensync-plugin-google-calendar = "Dongxiao Xu <dongxiao.xu@intel.com>" 2121RECIPE_MAINTAINER_pn-libopensync-plugin-google-calendar = "Dongxiao Xu <dongxiao.xu@intel.com>"
1992 2122
1993RECIPE_STATUS_pn-libopensync-plugin-irmc = "red" 2123RECIPE_STATUS_pn-libopensync-plugin-irmc = "red"
1994RECIPE_LATEST_VERSION_pn-libopensync-plugin-irmc = "0.39" 2124RECIPE_LATEST_VERSION_pn-libopensync-plugin-irmc = "0.39"
2125RECIPE_LAST_UPDATE_pn-libopensync-plugin-irmc = "Jun 18, 2008"
1995RECIPE_MAINTAINER_pn-libopensync-plugin-irmc = "Dongxiao Xu <dongxiao.xu@intel.com>" 2126RECIPE_MAINTAINER_pn-libopensync-plugin-irmc = "Dongxiao Xu <dongxiao.xu@intel.com>"
1996 2127
1997RECIPE_STATUS_pn-libopensync-plugin-syncml = "red" 2128RECIPE_STATUS_pn-libopensync-plugin-syncml = "red"
1998RECIPE_LATEST_VERSION_pn-libopensync-plugin-syncml = "0.39" 2129RECIPE_LATEST_VERSION_pn-libopensync-plugin-syncml = "0.39"
2130RECIPE_LAST_UPDATE_pn-libopensync-plugin-syncml = "Jul 31, 2009"
1999RECIPE_MAINTAINER_pn-libopensync-plugin-syncml = "Dongxiao Xu <dongxiao.xu@intel.com>" 2131RECIPE_MAINTAINER_pn-libopensync-plugin-syncml = "Dongxiao Xu <dongxiao.xu@intel.com>"
2000 2132
2001RECIPE_STATUS_pn-ofono = "green" 2133RECIPE_STATUS_pn-ofono = "green"
2002RECIPE_LATEST_VERSION_pn-ofono = "0.33" 2134RECIPE_LATEST_VERSION_pn-ofono = "0.37"
2003RECIPE_NO_OF_PATCHES_pn-ofono="0" 2135RECIPE_NO_OF_PATCHES_pn-ofono="0"
2004RECIPE_LATEST_RELEASE_DATE_pn-ofono="2010/10/25" 2136RECIPE_LATEST_RELEASE_DATE_pn-ofono="2010/12/24"
2005RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-ofono="5 days" 2137RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-ofono="1 month"
2138RECIPE_LAST_UPDATE_pn-ofono = "Dec 30, 2010"
2006RECIPE_MAINTAINER_pn-ofono = "Dongxiao Xu <dongxiao.xu@intel.com>" 2139RECIPE_MAINTAINER_pn-ofono = "Dongxiao Xu <dongxiao.xu@intel.com>"
2007 2140
2008RECIPE_STATUS_pn-libtelepathy = "red" 2141RECIPE_STATUS_pn-libtelepathy = "red"
2009RECIPE_LATEST_VERSION_pn-libtelepathy = "0.3.3" 2142RECIPE_LATEST_VERSION_pn-libtelepathy = "0.3.3"
2143RECIPE_LAST_UPDATE_pn-libtelepathy = "Jul 21, 2008"
2010RECIPE_MAINTAINER_pn-libtelepathy = "Dongxiao Xu <dongxiao.xu@intel.com>" 2144RECIPE_MAINTAINER_pn-libtelepathy = "Dongxiao Xu <dongxiao.xu@intel.com>"
2011 2145
2012RECIPE_STATUS_pn-telepathy-farsight = "red" 2146RECIPE_STATUS_pn-telepathy-farsight = "red"
2013RECIPE_LATEST_VERSION_pn-telepathy-farsight = "0.0.14" 2147RECIPE_LATEST_VERSION_pn-telepathy-farsight = "0.0.14"
2148RECIPE_LAST_UPDATE_pn-telepathy-farsight = "Aug 18, 2009"
2014RECIPE_MAINTAINER_pn-telepathy-farsight = "Dongxiao Xu <dongxiao.xu@intel.com>" 2149RECIPE_MAINTAINER_pn-telepathy-farsight = "Dongxiao Xu <dongxiao.xu@intel.com>"
2015 2150
2016RECIPE_STATUS_pn-telepathy-gabble = "red" 2151RECIPE_STATUS_pn-telepathy-gabble = "red"
2017RECIPE_LATEST_VERSION_pn-telepathy-gabble = "0.9.11" 2152RECIPE_LATEST_VERSION_pn-telepathy-gabble = "0.9.11"
2153RECIPE_LAST_UPDATE_pn-telepathy-gabble = "Aug 19, 2009"
2018RECIPE_MAINTAINER_pn-telepathy-gabble = "Dongxiao Xu <dongxiao.xu@intel.com>" 2154RECIPE_MAINTAINER_pn-telepathy-gabble = "Dongxiao Xu <dongxiao.xu@intel.com>"
2019 2155
2020RECIPE_STATUS_pn-telepathy-glib = "red" 2156RECIPE_STATUS_pn-telepathy-glib = "green"
2021RECIPE_LATEST_VERSION_pn-telepathy-glib = "0.11.6" 2157RECIPE_NO_OF_PATCHES_pn-telepathy-glib ="0"
2158RECIPE_LATEST_RELEASE_DATE_pn-telepathy-glib = "2010/11/17"
2159RECIPE_LATEST_VERSION_pn-telepathy-glib = "0.13.6"
2160RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-telepathy-glib = "12 days"
2161RECIPE_LAST_UPDATE_pn-telepathy-glib = "Dec 30, 2010"
2022RECIPE_MAINTAINER_pn-telepathy-glib = "Dongxiao Xu <dongxiao.xu@intel.com>" 2162RECIPE_MAINTAINER_pn-telepathy-glib = "Dongxiao Xu <dongxiao.xu@intel.com>"
2023 2163
2024RECIPE_STATUS_pn-telepathy-idle = "red" 2164RECIPE_STATUS_pn-telepathy-idle = "green"
2025RECIPE_LATEST_VERSION_pn-telepathy-idle = "0.1.6" 2165RECIPE_NO_OF_PATCHES_pn-telepathy-idle ="0"
2166RECIPE_LATEST_RELEASE_DATE_pn-telepathy-glib ="2010/12/07"
2167RECIPE_LATEST_VERSION_pn-telepathy-idle = "0.1.7"
2168RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-telepathy-idle = "10 months"
2169RECIPE_LAST_UPDATE_pn-telepathy-idle = "Dec 30, 2010"
2026RECIPE_MAINTAINER_pn-telepathy-idle = "Dongxiao Xu <dongxiao.xu@intel.com>" 2170RECIPE_MAINTAINER_pn-telepathy-idle = "Dongxiao Xu <dongxiao.xu@intel.com>"
2027 2171
2028RECIPE_STATUS_pn-telepathy-python = "green" 2172RECIPE_STATUS_pn-telepathy-python = "green"
2029RECIPE_LATEST_VERSION_pn-telepathy-python = "0.15.18" 2173RECIPE_LATEST_VERSION_pn-telepathy-python = "0.15.19"
2030RECIPE_NO_OF_PATCHES_pn-telepathy-python="0" 2174RECIPE_NO_OF_PATCHES_pn-telepathy-python="0"
2031RECIPE_LATEST_RELEASE_DATE_pn-telepathy-python="2010/08/05" 2175RECIPE_LATEST_RELEASE_DATE_pn-telepathy-python="2010/12/03"
2032RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-telepathy-python="5 months" 2176RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-telepathy-python="4 months"
2177RECIPE_LAST_UPDATE_pn-telepathy-python = "Dec 30, 2010"
2033RECIPE_MAINTAINER_pn-telepathy-python = "Dongxiao Xu <dongxiao.xu@intel.com>" 2178RECIPE_MAINTAINER_pn-telepathy-python = "Dongxiao Xu <dongxiao.xu@intel.com>"
2034 2179
2035RECIPE_STATUS_pn-bluez-hcidump = "red" 2180RECIPE_STATUS_pn-bluez-hcidump = "red"
2036RECIPE_LATEST_VERSION_pn-bluez-hcidump = "1.42" 2181RECIPE_LATEST_VERSION_pn-bluez-hcidump = "1.42"
2182RECIPE_LAST_UPDATE_pn-bluez-hcidump = "Nov 7, 2008"
2037RECIPE_MAINTAINER_pn-bluez-hcidump = "Dongxiao Xu <dongxiao.xu@intel.com>" 2183RECIPE_MAINTAINER_pn-bluez-hcidump = "Dongxiao Xu <dongxiao.xu@intel.com>"
2038 2184
2039RECIPE_STATUS_pn-ppp-dialin = "red" 2185RECIPE_STATUS_pn-ppp-dialin = "red"
2040RECIPE_LATEST_VERSION_pn-ppp-dialin = "check" 2186RECIPE_LATEST_VERSION_pn-ppp-dialin = "check"
2187RECIPE_LAST_UPDATE_pn-ppp-dialin = "Jul 21, 2006"
2041RECIPE_MAINTAINER_pn-ppp-dialin = "Dongxiao Xu <dongxiao.xu@intel.com>" 2188RECIPE_MAINTAINER_pn-ppp-dialin = "Dongxiao Xu <dongxiao.xu@intel.com>"
2042 2189
2043RECIPE_STATUS_pn-libgsmd = "green" 2190RECIPE_STATUS_pn-libgsmd = "green"
@@ -2045,11 +2192,13 @@ RECIPE_LATEST_VERSION_pn-libgsmd = "5394"
2045RECIPE_LATEST_RELEASE_DATE_pn-libgsmd ="2009/08/06" 2192RECIPE_LATEST_RELEASE_DATE_pn-libgsmd ="2009/08/06"
2046RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libgsmd="n/a" 2193RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libgsmd="n/a"
2047DISTRO_PN_ALIAS_pn-libgsmd = "Fedora=gsm Ubuntu=libgsm Debian=libgsm Opensuse=libgsm" 2194DISTRO_PN_ALIAS_pn-libgsmd = "Fedora=gsm Ubuntu=libgsm Debian=libgsm Opensuse=libgsm"
2195RECIPE_LAST_UPDATE_pn-libgsmd = "Nov 26, 2010"
2048RECIPE_MAINTAINER_pn-libgsmd = "Dongxiao Xu <dongxiao.xu@intel.com>" 2196RECIPE_MAINTAINER_pn-libgsmd = "Dongxiao Xu <dongxiao.xu@intel.com>"
2049 2197
2050RECIPE_STATUS_pn-zeroconf = "red" 2198RECIPE_STATUS_pn-zeroconf = "red"
2051RECIPE_LATEST_VERSION_pn-zeroconf = "0.9" 2199RECIPE_LATEST_VERSION_pn-zeroconf = "0.9"
2052DISTRO_PN_ALIAS_pn-zeroconf = "OSPDT upstream=http://www.progsoc.org/~wildfire/zeroconf/" 2200DISTRO_PN_ALIAS_pn-zeroconf = "OSPDT upstream=http://www.progsoc.org/~wildfire/zeroconf/"
2201RECIPE_LAST_UPDATE_pn-zeroconf = "Jul 21, 2006"
2053RECIPE_MAINTAINER_pn-zeroconf = "Dongxiao Xu <dongxiao.xu@intel.com>" 2202RECIPE_MAINTAINER_pn-zeroconf = "Dongxiao Xu <dongxiao.xu@intel.com>"
2054 2203
2055RECIPE_STATUS_pn-gypsy="green" 2204RECIPE_STATUS_pn-gypsy="green"
@@ -2057,30 +2206,36 @@ RECIPE_LATEST_VERSION_pn-gypsy="0.8"
2057RECIPE_NO_OF_PATCHES_pn-gypsy="0" 2206RECIPE_NO_OF_PATCHES_pn-gypsy="0"
2058RECIPE_LATEST_RELEASE_DATE_pn-gypsy="2010/06/09" 2207RECIPE_LATEST_RELEASE_DATE_pn-gypsy="2010/06/09"
2059RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gypsy="10 months" 2208RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gypsy="10 months"
2209RECIPE_LAST_UPDATE_pn-gypsy = "Nov 23, 2010"
2060RECIPE_MAINTAINER_pn-gypsy= "Dongxiao Xu <dongxiao.xu@intel.com>" 2210RECIPE_MAINTAINER_pn-gypsy= "Dongxiao Xu <dongxiao.xu@intel.com>"
2061 2211
2062 2212
2063RECIPE_STATUS_pn-libopensync-plugin-file = "red" 2213RECIPE_STATUS_pn-libopensync-plugin-file = "red"
2064RECIPE_LATEST_VERSION_pn-libopensync-plugin-file = "0.39" 2214RECIPE_LATEST_VERSION_pn-libopensync-plugin-file = "0.39"
2215RECIPE_LAST_UPDATE_pn-libopensync-plugin-file = "Oct 20, 2008"
2065RECIPE_MAINTAINER_pn-libopensync-plugin-file = "Dongxiao Xu <dongxiao.xu@intel.com>" 2216RECIPE_MAINTAINER_pn-libopensync-plugin-file = "Dongxiao Xu <dongxiao.xu@intel.com>"
2066 2217
2067RECIPE_STATUS_pn-libopensync-plugin-vformat = "red" 2218RECIPE_STATUS_pn-libopensync-plugin-vformat = "red"
2068RECIPE_LATEST_VERSION_pn-libopensync-plugin-vformat = "0.39" 2219RECIPE_LATEST_VERSION_pn-libopensync-plugin-vformat = "0.39"
2220RECIPE_LAST_UPDATE_pn-libopensync-plugin-vformat = "Oct 20, 2008"
2069RECIPE_MAINTAINER_pn-libopensync-plugin-vformat = "Dongxiao Xu <dongxiao.xu@intel.com>" 2221RECIPE_MAINTAINER_pn-libopensync-plugin-vformat = "Dongxiao Xu <dongxiao.xu@intel.com>"
2070 2222
2071RECIPE_STATUS_pn-libsyncml = "red" 2223RECIPE_STATUS_pn-libsyncml = "red"
2072RECIPE_LATEST_VERSION_pn-libsyncml = "0.5.4" 2224RECIPE_LATEST_VERSION_pn-libsyncml = "0.5.4"
2225RECIPE_LAST_UPDATE_pn-libsyncml = "Jul 31, 2009"
2073RECIPE_MAINTAINER_pn-libsyncml = "Dongxiao Xu <dongxiao.xu@intel.com>" 2226RECIPE_MAINTAINER_pn-libsyncml = "Dongxiao Xu <dongxiao.xu@intel.com>"
2074 2227
2075RECIPE_STATUS_pn-telepathy-mission-control = "green" 2228RECIPE_STATUS_pn-telepathy-mission-control = "green"
2076RECIPE_LATEST_VERSION_pn-telepathy-mission-control = "5.7.0" 2229RECIPE_LATEST_VERSION_pn-telepathy-mission-control = "5.7.1"
2077RECIPE_NO_OF_PATCHES_pn-telepathy-mission-control ="0" 2230RECIPE_NO_OF_PATCHES_pn-telepathy-mission-control ="0"
2078RECIPE_LATEST_RELEASE_DATE_pn-telepathy-mission-control ="2010/11/18" 2231RECIPE_LATEST_RELEASE_DATE_pn-telepathy-mission-control ="2010/12/07"
2079RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-telepathy-mission-control ="2 months" 2232RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-telepathy-mission-control ="20 days"
2233RECIPE_LAST_UPDATE_pn-telepathy-mission-control = "Dec 30, 2010"
2080RECIPE_MAINTAINER_pn-telepathy-mission-control = "Dongxiao Xu <dongxiao.xu@intel.com>" 2234RECIPE_MAINTAINER_pn-telepathy-mission-control = "Dongxiao Xu <dongxiao.xu@intel.com>"
2081 2235
2082RECIPE_STATUS_pn-libetpan = "red" 2236RECIPE_STATUS_pn-libetpan = "red"
2083RECIPE_LATEST_VERSION_pn-libetpan = "1.0" 2237RECIPE_LATEST_VERSION_pn-libetpan = "1.0"
2238RECIPE_LAST_UPDATE_pn-libetpan = "May 13, 2008"
2084RECIPE_MAINTAINER_pn-libetpan = "Dongxiao Xu <dongxiao.xu@intel.com>" 2239RECIPE_MAINTAINER_pn-libetpan = "Dongxiao Xu <dongxiao.xu@intel.com>"
2085 2240
2086RECIPE_STATUS_pn-hostap-utils="yellow" # patch investigation needed; hostap-utils.inc is only included by one bb file. 2241RECIPE_STATUS_pn-hostap-utils="yellow" # patch investigation needed; hostap-utils.inc is only included by one bb file.
@@ -2088,6 +2243,7 @@ RECIPE_LATEST_VERSION_pn-hostap-utils="0.4.7"
2088RECIPE_NO_OF_PATCHES_pn-hostap-utils="1" 2243RECIPE_NO_OF_PATCHES_pn-hostap-utils="1"
2089RECIPE_LATEST_RELEASE_DATE_pn-hostap-utils="2008/12/03" 2244RECIPE_LATEST_RELEASE_DATE_pn-hostap-utils="2008/12/03"
2090RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-hostap-utils="7 months" 2245RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-hostap-utils="7 months"
2246RECIPE_LAST_UPDATE_pn-hostap-utils = "Jun 28, 2007"
2091RECIPE_MAINTAINER_pn-hostap-utils = "Dongxiao Xu <dongxiao.xu@intel.com>" 2247RECIPE_MAINTAINER_pn-hostap-utils = "Dongxiao Xu <dongxiao.xu@intel.com>"
2092 2248
2093RECIPE_STATUS_pn-kexec-tools="green" 2249RECIPE_STATUS_pn-kexec-tools="green"
@@ -2095,14 +2251,17 @@ RECIPE_LATEST_VERSION_pn-kexec-tools="2.0.2"
2095RECIPE_NO_OF_PATCHES_pn-kexec-tools="1" 2251RECIPE_NO_OF_PATCHES_pn-kexec-tools="1"
2096RECIPE_LATEST_RELEASE_DATE_pn-kexec-tools="2010/07/29" 2252RECIPE_LATEST_RELEASE_DATE_pn-kexec-tools="2010/07/29"
2097RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-kexec-tools="1 year" 2253RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-kexec-tools="1 year"
2254RECIPE_LAST_UPDATE_pn-kexec-tools = "Nov 16, 2010"
2098RECIPE_MAINTAINER_pn-kexec-tools = "Dongxiao Xu <dongxiao.xu@intel.com>" 2255RECIPE_MAINTAINER_pn-kexec-tools = "Dongxiao Xu <dongxiao.xu@intel.com>"
2099 2256
2100RECIPE_STATUS_pn-hostap-conf = "red" 2257RECIPE_STATUS_pn-hostap-conf = "red"
2101RECIPE_LATEST_VERSION_pn-hostap-conf = "1.0" 2258RECIPE_LATEST_VERSION_pn-hostap-conf = "1.0"
2259RECIPE_LAST_UPDATE_pn-hostap-conf = "Jul 21, 2006"
2102RECIPE_MAINTAINER_pn-hostap-conf = "Dongxiao Xu <dongxiao.xu@intel.com>" 2260RECIPE_MAINTAINER_pn-hostap-conf = "Dongxiao Xu <dongxiao.xu@intel.com>"
2103 2261
2104RECIPE_STATUS_pn-orinoco-conf = "red" 2262RECIPE_STATUS_pn-orinoco-conf = "red"
2105RECIPE_LATEST_VERSION_pn-orinoco-conf = "1.0" 2263RECIPE_LATEST_VERSION_pn-orinoco-conf = "1.0"
2264RECIPE_LAST_UPDATE_pn-orinoco-conf = "Jul 21, 2006"
2106RECIPE_MAINTAINER_pn-orinoco-conf = "Dongxiao Xu <dongxiao.xu@intel.com>" 2265RECIPE_MAINTAINER_pn-orinoco-conf = "Dongxiao Xu <dongxiao.xu@intel.com>"
2107 2266
2108RECIPE_STATUS_pn-libical="green" 2267RECIPE_STATUS_pn-libical="green"
@@ -2110,6 +2269,7 @@ RECIPE_LATEST_VERSION_pn-libical="0.46"
2110RECIPE_NO_OF_PATCHES_pn-libical="0" 2269RECIPE_NO_OF_PATCHES_pn-libical="0"
2111RECIPE_LATEST_RELEASE_DATE_pn-libical="2010/08/30" 2270RECIPE_LATEST_RELEASE_DATE_pn-libical="2010/08/30"
2112RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libical="11 months" 2271RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libical="11 months"
2272RECIPE_LAST_UPDATE_pn-libical = "Nov 16, 2010"
2113RECIPE_MAINTAINER_pn-libical = "Dongxiao Xu <dongxiao.xu@intel.com>" 2273RECIPE_MAINTAINER_pn-libical = "Dongxiao Xu <dongxiao.xu@intel.com>"
2114 2274
2115RECIPE_STATUS_pn-task-base="green" 2275RECIPE_STATUS_pn-task-base="green"
@@ -2175,6 +2335,7 @@ RECIPE_LATEST_VERSION_pn-enchant="1.6.0"
2175RECIPE_NO_OF_PATCHES_pn-enchant="0" 2335RECIPE_NO_OF_PATCHES_pn-enchant="0"
2176RECIPE_LATEST_RELEASE_DATE_pn-enchant="2010/04/01" 2336RECIPE_LATEST_RELEASE_DATE_pn-enchant="2010/04/01"
2177RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-enchant="10 months" 2337RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-enchant="10 months"
2338RECIPE_LAST_UPDATE_pn-enchant = "Aug 4, 2010"
2178RECIPE_MAINTAINER_pn-enchant = "Dongxiao Xu <dongxiao.xu@intel.com>" 2339RECIPE_MAINTAINER_pn-enchant = "Dongxiao Xu <dongxiao.xu@intel.com>"
2179 2340
2180RECIPE_STATUS_pn-task-poky-sdk = "red" 2341RECIPE_STATUS_pn-task-poky-sdk = "red"
@@ -2195,10 +2356,12 @@ RECIPE_MAINTAINER_pn-task-poky-standalone-sdk-target = "Dongxiao Xu <dongxiao.xu
2195 2356
2196RECIPE_STATUS_pn-xournal = "red" 2357RECIPE_STATUS_pn-xournal = "red"
2197RECIPE_LATEST_VERSION_pn-xournal = "0.4.5" 2358RECIPE_LATEST_VERSION_pn-xournal = "0.4.5"
2359RECIPE_LAST_UPDATE_pn-xournal = "May 27, 2006"
2198RECIPE_MAINTAINER_pn-xournal = "Dongxiao Xu <dongxiao.xu@intel.com>" 2360RECIPE_MAINTAINER_pn-xournal = "Dongxiao Xu <dongxiao.xu@intel.com>"
2199 2361
2200RECIPE_STATUS_pn-wv = "red" 2362RECIPE_STATUS_pn-wv = "red"
2201RECIPE_LATEST_VERSION_pn-wv = "1.2.1" 2363RECIPE_LATEST_VERSION_pn-wv = "1.2.1"
2364RECIPE_LAST_UPDATE_pn-wv = "Jan 12, 2007"
2202RECIPE_MAINTAINER_pn-wv = "Dongxiao Xu <dongxiao.xu@intel.com>" 2365RECIPE_MAINTAINER_pn-wv = "Dongxiao Xu <dongxiao.xu@intel.com>"
2203 2366
2204RECIPE_STATUS_pn-poky-image-minimal = "green" 2367RECIPE_STATUS_pn-poky-image-minimal = "green"
@@ -2241,9 +2404,10 @@ RECIPE_STATUS_pn-poky-image-lsb = "green"
2241RECIPE_LATEST_VERSION_pn-poky-image-lsb = "1.0" 2404RECIPE_LATEST_VERSION_pn-poky-image-lsb = "1.0"
2242RECIPE_MAINTAINER_pn-poky-image-lsb = "Dongxiao Xu <dongxiao.xu@intel.com>" 2405RECIPE_MAINTAINER_pn-poky-image-lsb = "Dongxiao Xu <dongxiao.xu@intel.com>"
2243 2406
2244RECIPE_STATUS_pn-poky-image-sdk = "green" 2407RECIPE_STATUS_pn-poky-sato-image-sdk = "green"
2245RECIPE_LATEST_VERSION_pn-poky-image-sdk = "1.0" 2408RECIPE_LATEST_VERSION_pn-poky-image-sato-sdk = "1.0"
2246RECIPE_MAINTAINER_pn-poky-image-sdk = "Dongxiao Xu <dongxiao.xu@intel.com>" 2409RECIPE_MAINTAINER_pn-poky-image-sato-sdk = "Dongxiao Xu <dongxiao.xu@intel.com>"
2410DISTRO_PN_ALIAS_pn-poky-image-sdk = "Poky"
2247 2411
2248RECIPE_STATUS_pn-task-poky = "green" 2412RECIPE_STATUS_pn-task-poky = "green"
2249RECIPE_LATEST_VERSION_pn-task-poky = "1.0" 2413RECIPE_LATEST_VERSION_pn-task-poky = "1.0"
@@ -2273,13 +2437,15 @@ RECIPE_STATUS_pn-poky-image-core = "green"
2273RECIPE_LATEST_VERSION_pn-poky-image-core = "1.0" 2437RECIPE_LATEST_VERSION_pn-poky-image-core = "1.0"
2274RECIPE_MAINTAINER_pn-poky-image-core = "Dongxiao Xu <dongxiao.xu@intel.com>" 2438RECIPE_MAINTAINER_pn-poky-image-core = "Dongxiao Xu <dongxiao.xu@intel.com>"
2275 2439
2276RECIPE_STATUS_pn-poky-image-sdk-live = "green" 2440RECIPE_STATUS_pn-poky-image-sato-sdk-live = "green"
2277RECIPE_LATEST_VERSION_pn-poky-image-sdk-live = "1.0" 2441RECIPE_LATEST_VERSION_pn-poky-image-sato-sdk-live = "1.0"
2278RECIPE_MAINTAINER_pn-poky-image-sdk-live = "Dongxiao Xu <dongxiao.xu@intel.com>" 2442RECIPE_MAINTAINER_pn-poky-image-sato-sdk-live = "Dongxiao Xu <dongxiao.xu@intel.com>"
2443DISTRO_PN_ALIAS_pn-poky-image-sato-sdk-live = "Poky"
2279 2444
2280RECIPE_STATUS_pn-poky-image-sdk-directdisk = "green" 2445RECIPE_STATUS_pn-poky-image-sato-sdk-directdisk = "green"
2281RECIPE_LATEST_VERSION_pn-poky-image-sdk-directdisk = "1.0" 2446RECIPE_LATEST_VERSION_pn-poky-image-sato-sdk-directdisk = "1.0"
2282RECIPE_MAINTAINER_pn-poky-image-sdk-directdisk = "Dongxiao Xu <dongxiao.xu@intel.com>" 2447RECIPE_MAINTAINER_pn-poky-image-sato-sdk-directdisk = "Dongxiao Xu <dongxiao.xu@intel.com>"
2448DISTRO_PN_ALIAS_pn-poky-image-sato-sdk-directdisk = "Poky"
2283 2449
2284RECIPE_STATUS_pn-liba52="yellow" # patch investigation needed 2450RECIPE_STATUS_pn-liba52="yellow" # patch investigation needed
2285DISTRO_PN_ALIAS_pn-liba52 = "Mandriva=a52dec Debian=a52dec" 2451DISTRO_PN_ALIAS_pn-liba52 = "Mandriva=a52dec Debian=a52dec"
@@ -2287,6 +2453,8 @@ RECIPE_LATEST_VERSION_pn-liba52="0.7.4"
2287RECIPE_NO_OF_PATCHES_pn-liba52="1" 2453RECIPE_NO_OF_PATCHES_pn-liba52="1"
2288RECIPE_LATEST_RELEASE_DATE_pn-liba52="2002/07/27" 2454RECIPE_LATEST_RELEASE_DATE_pn-liba52="2002/07/27"
2289RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-liba52="5 months" 2455RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-liba52="5 months"
2456RECIPE_LAST_UPDATE_pn-liba52 = "Sep 1, 2006"
2457RECIPE_MANUAL_CHECK_DATE_pn-liba52 = "Jan 30, 2011"
2290RECIPE_MAINTAINER_pn-liba52 = "Dongxiao Xu <dongxiao.xu@intel.com>" 2458RECIPE_MAINTAINER_pn-liba52 = "Dongxiao Xu <dongxiao.xu@intel.com>"
2291 2459
2292RECIPE_STATUS_pn-libid3tag="yellow" # patch investigation needed 2460RECIPE_STATUS_pn-libid3tag="yellow" # patch investigation needed
@@ -2294,6 +2462,7 @@ RECIPE_LATEST_VERSION_pn-libid3tag="0.15.1b"
2294RECIPE_NO_OF_PATCHES_pn-libid3tag="1" 2462RECIPE_NO_OF_PATCHES_pn-libid3tag="1"
2295RECIPE_LATEST_RELEASE_DATE_pn-libid3tag="2004/02/18" 2463RECIPE_LATEST_RELEASE_DATE_pn-libid3tag="2004/02/18"
2296RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libid3tag="8 months" 2464RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libid3tag="8 months"
2465RECIPE_LAST_UPDATE_pn-libid3tag = "Oct 19, 2007"
2297RECIPE_MAINTAINER_pn-libid3tag = "Dongxiao Xu <dongxiao.xu@intel.com>" 2466RECIPE_MAINTAINER_pn-libid3tag = "Dongxiao Xu <dongxiao.xu@intel.com>"
2298 2467
2299RECIPE_STATUS_pn-flac="green" 2468RECIPE_STATUS_pn-flac="green"
@@ -2301,6 +2470,7 @@ RECIPE_LATEST_VERSION_pn-flac="1.2.1"
2301RECIPE_NO_OF_PATCHES_pn-flac="3" 2470RECIPE_NO_OF_PATCHES_pn-flac="3"
2302RECIPE_LATEST_RELEASE_DATE_pn-flac="2007/09/16" 2471RECIPE_LATEST_RELEASE_DATE_pn-flac="2007/09/16"
2303RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-flac="2 months" 2472RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-flac="2 months"
2473RECIPE_LAST_UPDATE_pn-flac = "Jun 26, 2010"
2304RECIPE_MAINTAINER_pn-flac = "Dongxiao Xu <dongxiao.xu@intel.com>" 2474RECIPE_MAINTAINER_pn-flac = "Dongxiao Xu <dongxiao.xu@intel.com>"
2305 2475
2306RECIPE_STATUS_pn-libvorbis="green" 2476RECIPE_STATUS_pn-libvorbis="green"
@@ -2308,36 +2478,41 @@ RECIPE_LATEST_VERSION_pn-libvorbis="1.3.2"
2308RECIPE_NO_OF_PATCHES_pn-libvorbis="0" 2478RECIPE_NO_OF_PATCHES_pn-libvorbis="0"
2309RECIPE_LATEST_RELEASE_DATE_pn-libvorbis="2010/11/01" 2479RECIPE_LATEST_RELEASE_DATE_pn-libvorbis="2010/11/01"
2310RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libvorbis="7 months" 2480RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libvorbis="7 months"
2481RECIPE_LAST_UPDATE_pn-libvorbis = "Nov 15, 2010"
2311RECIPE_MAINTAINER_pn-libvorbis = "Dongxiao Xu <dongxiao.xu@intel.com>" 2482RECIPE_MAINTAINER_pn-libvorbis = "Dongxiao Xu <dongxiao.xu@intel.com>"
2312 2483
2313RECIPE_STATUS_pn-libogg="green" 2484RECIPE_STATUS_pn-libogg="green"
2314RECIPE_LATEST_VERSION_pn-libogg="1.2.1" 2485RECIPE_LATEST_VERSION_pn-libogg="1.2.2"
2315RECIPE_NO_OF_PATCHES_pn-libogg="0" 2486RECIPE_NO_OF_PATCHES_pn-libogg="0"
2316RECIPE_LATEST_RELEASE_DATE_pn-libogg="2010/11/02" 2487RECIPE_LATEST_RELEASE_DATE_pn-libogg="2010/12/07"
2317RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libogg="7 months" 2488RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libogg="1 months"
2489RECIPE_LAST_UPDATE_pn-libogg = "Dec 30, 2010"
2318RECIPE_MAINTAINER_pn-libogg = "Dongxiao Xu <dongxiao.xu@intel.com>" 2490RECIPE_MAINTAINER_pn-libogg = "Dongxiao Xu <dongxiao.xu@intel.com>"
2319 2491
2320RECIPE_STATUS_pn-gstreamer="green" 2492RECIPE_STATUS_pn-gstreamer="green"
2321RECIPE_LATEST_VERSION_pn-gstreamer="0.10.30" 2493RECIPE_LATEST_VERSION_pn-gstreamer="0.10.31"
2322RECIPE_NO_OF_PATCHES_pn-gstreamer="2" 2494RECIPE_NO_OF_PATCHES_pn-gstreamer="2"
2323RECIPE_LATEST_RELEASE_DATE_pn-gstreamer="2010/07/15" 2495RECIPE_LATEST_RELEASE_DATE_pn-gstreamer="2010/11/30"
2324RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gstreamer="3 month" 2496RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gstreamer="4 month"
2497RECIPE_LAST_UPDATE_pn-gstreamer = "Dec 30, 2010"
2325RECIPE_MAINTAINER_pn-gstreamer = "Dongxiao Xu <dongxiao.xu@intel.com>" 2498RECIPE_MAINTAINER_pn-gstreamer = "Dongxiao Xu <dongxiao.xu@intel.com>"
2326 2499
2327RECIPE_STATUS_pn-gst-plugins-base="green" 2500RECIPE_STATUS_pn-gst-plugins-base="green"
2328DISTRO_PN_ALIAS_pn-gst-plugins-base = "Meego=gst-plugins-base Fedora=gstreamer-plugins-base OpenSuSE=gstreamer-plugins-base Ubuntu=gst-plugins-base0.10 Mandriva=gstreamer0.10-plugins-base Debian=gst-plugins-base0.10" 2501DISTRO_PN_ALIAS_pn-gst-plugins-base = "Meego=gst-plugins-base Fedora=gstreamer-plugins-base OpenSuSE=gstreamer-plugins-base Ubuntu=gst-plugins-base0.10 Mandriva=gstreamer0.10-plugins-base Debian=gst-plugins-base0.10"
2329RECIPE_LATEST_VERSION_pn-gst-plugins-base="0.10.30" 2502RECIPE_LATEST_VERSION_pn-gst-plugins-base="0.10.31"
2330RECIPE_NO_OF_PATCHES_pn-gst-plugins-base="0" 2503RECIPE_NO_OF_PATCHES_pn-gst-plugins-base="0"
2331RECIPE_LATEST_RELEASE_DATE_pn-gst-plugins-base="2010/07/15" 2504RECIPE_LATEST_RELEASE_DATE_pn-gst-plugins-base="2010/11/30"
2332RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-plugins-base="3 months" 2505RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-plugins-base="4 months"
2506RECIPE_LAST_UPDATE_pn-gst-plugins-base = "Dec 30, 2010"
2333RECIPE_MAINTAINER_pn-gst-plugins-base = "Dongxiao Xu <dongxiao.xu@intel.com>" 2507RECIPE_MAINTAINER_pn-gst-plugins-base = "Dongxiao Xu <dongxiao.xu@intel.com>"
2334 2508
2335RECIPE_STATUS_pn-gst-plugins-good="green" 2509RECIPE_STATUS_pn-gst-plugins-good="green"
2336DISTRO_PN_ALIAS_pn-gst-plugins-good = "Meego=gst-plugins-good Fedora=gstreamer-plugins-good OpenSuSE=gstreamer-plugins-good Ubuntu=gst-plugins-good0.10 Mandriva=gstreamer0.10-plugins-good Debian=gst-plugins-good0.10" 2510DISTRO_PN_ALIAS_pn-gst-plugins-good = "Meego=gst-plugins-good Fedora=gstreamer-plugins-good OpenSuSE=gstreamer-plugins-good Ubuntu=gst-plugins-good0.10 Mandriva=gstreamer0.10-plugins-good Debian=gst-plugins-good0.10"
2337RECIPE_LATEST_VERSION_pn-gst-plugins-good="0.10.25" 2511RECIPE_LATEST_VERSION_pn-gst-plugins-good="0.10.26"
2338RECIPE_NO_OF_PATCHES_pn-gst-plugins-good="0" 2512RECIPE_NO_OF_PATCHES_pn-gst-plugins-good="0"
2339RECIPE_LATEST_RELEASE_DATE_pn-gst-plugins-good="2010/09/02" 2513RECIPE_LATEST_RELEASE_DATE_pn-gst-plugins-good="2010/12/01"
2340RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-plugins-good="2 month" 2514RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-plugins-good="3 month"
2515RECIPE_LAST_UPDATE_pn-gst-plugins-good = "Dec 30, 2010"
2341RECIPE_MAINTAINER_pn-gst-plugins-good = "Dongxiao Xu <dongxiao.xu@intel.com>" 2516RECIPE_MAINTAINER_pn-gst-plugins-good = "Dongxiao Xu <dongxiao.xu@intel.com>"
2342 2517
2343RECIPE_STATUS_pn-gst-plugins-ugly="green" 2518RECIPE_STATUS_pn-gst-plugins-ugly="green"
@@ -2346,6 +2521,7 @@ RECIPE_LATEST_VERSION_pn-gst-plugins-ugly="0.10.16"
2346RECIPE_NO_OF_PATCHES_pn-gst-plugins-ugly="0" 2521RECIPE_NO_OF_PATCHES_pn-gst-plugins-ugly="0"
2347RECIPE_LATEST_RELEASE_DATE_pn-gst-plugins-ugly="2010/09/02" 2522RECIPE_LATEST_RELEASE_DATE_pn-gst-plugins-ugly="2010/09/02"
2348RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-plugins-ugly="3 months" 2523RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-plugins-ugly="3 months"
2524RECIPE_LAST_UPDATE_pn-gst-plugins-ugly = "Nov 12, 2010"
2349RECIPE_MAINTAINER_pn-gst-plugins-ugly = "Dongxiao Xu <dongxiao.xu@intel.com>" 2525RECIPE_MAINTAINER_pn-gst-plugins-ugly = "Dongxiao Xu <dongxiao.xu@intel.com>"
2350 2526
2351RECIPE_STATUS_pn-gst-plugins-bad="green" 2527RECIPE_STATUS_pn-gst-plugins-bad="green"
@@ -2354,6 +2530,7 @@ RECIPE_LATEST_VERSION_pn-gst-plugins-bad="0.10.20"
2354RECIPE_NO_OF_PATCHES_pn-gst-plugins-bad="0" 2530RECIPE_NO_OF_PATCHES_pn-gst-plugins-bad="0"
2355RECIPE_LATEST_RELEASE_DATE_pn-gst-plugins-bad="2010/09/02" 2531RECIPE_LATEST_RELEASE_DATE_pn-gst-plugins-bad="2010/09/02"
2356RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-plugins-bad="3 months" 2532RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-plugins-bad="3 months"
2533RECIPE_LAST_UPDATE_pn-gst-plugins-bad = "Nov 12, 2010"
2357RECIPE_MAINTAINER_pn-gst-plugins-bad = "Dongxiao Xu <dongxiao.xu@intel.com>" 2534RECIPE_MAINTAINER_pn-gst-plugins-bad = "Dongxiao Xu <dongxiao.xu@intel.com>"
2358 2535
2359RECIPE_STATUS_pn-alsa-utils="green" 2536RECIPE_STATUS_pn-alsa-utils="green"
@@ -2361,6 +2538,7 @@ RECIPE_LATEST_VERSION_pn-alsa-utils="1.0.23"
2361RECIPE_NO_OF_PATCHES_pn-alsa-utils="1" 2538RECIPE_NO_OF_PATCHES_pn-alsa-utils="1"
2362RECIPE_LATEST_RELEASE_DATE_pn-alsa-utils="2010/04/16" 2539RECIPE_LATEST_RELEASE_DATE_pn-alsa-utils="2010/04/16"
2363RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-alsa-utils="4 months" 2540RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-alsa-utils="4 months"
2541RECIPE_LAST_UPDATE_pn-alsa-utils = "Jun 26, 2010"
2364RECIPE_MAINTAINER_pn-alsa-utils = "Dongxiao Xu <dongxiao.xu@intel.com>" 2542RECIPE_MAINTAINER_pn-alsa-utils = "Dongxiao Xu <dongxiao.xu@intel.com>"
2365 2543
2366RECIPE_STATUS_pn-alsa-lib="green" 2544RECIPE_STATUS_pn-alsa-lib="green"
@@ -2368,13 +2546,15 @@ RECIPE_LATEST_VERSION_pn-alsa-lib="1.0.23"
2368RECIPE_NO_OF_PATCHES_pn-alsa-lib="1" 2546RECIPE_NO_OF_PATCHES_pn-alsa-lib="1"
2369RECIPE_LATEST_RELEASE_DATE_pn-alsa-lib="2010/04/16" 2547RECIPE_LATEST_RELEASE_DATE_pn-alsa-lib="2010/04/16"
2370RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-alsa-lib="4 months" 2548RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-alsa-lib="4 months"
2549RECIPE_LAST_UPDATE_pn-alsa-lib = "Jun 26, 2010"
2371RECIPE_MAINTAINER_pn-alsa-lib = "Dongxiao Xu <dongxiao.xu@intel.com>" 2550RECIPE_MAINTAINER_pn-alsa-lib = "Dongxiao Xu <dongxiao.xu@intel.com>"
2372 2551
2373RECIPE_STATUS_pn-tremor="green" 2552RECIPE_STATUS_pn-tremor="green"
2374RECIPE_LATEST_VERSION_pn-tremor="20101027" 2553RECIPE_LATEST_VERSION_pn-tremor="20101121"
2375RECIPE_NO_OF_PATCHES_pn-tremor="0" 2554RECIPE_NO_OF_PATCHES_pn-tremor="0"
2376RECIPE_LATEST_RELEASE_DATE_pn-tremor="2010/10/27" 2555RECIPE_LATEST_RELEASE_DATE_pn-tremor="2010/11/21"
2377RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tremor="n/a" 2556RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tremor="n/a"
2557RECIPE_LAST_UPDATE_pn-tremor = "Dec 30, 2010"
2378RECIPE_MAINTAINER_pn-tremor = "Dongxiao Xu <dongxiao.xu@intel.com>" 2558RECIPE_MAINTAINER_pn-tremor = "Dongxiao Xu <dongxiao.xu@intel.com>"
2379DISTRO_PN_ALIAS_pn-tremor = "OSPDT upstream=http://www.xiph.org/vorbis/" 2559DISTRO_PN_ALIAS_pn-tremor = "OSPDT upstream=http://www.xiph.org/vorbis/"
2380 2560
@@ -2383,6 +2563,7 @@ RECIPE_LATEST_VERSION_pn-gaku="0.0+svnr399"
2383RECIPE_NO_OF_PATCHES_pn-gaku="0" 2563RECIPE_NO_OF_PATCHES_pn-gaku="0"
2384RECIPE_LATEST_RELEASE_DATE_pn-gaku="2008/07/03" 2564RECIPE_LATEST_RELEASE_DATE_pn-gaku="2008/07/03"
2385RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gaku="n/a" 2565RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gaku="n/a"
2566RECIPE_LAST_UPDATE_pn-gaku = "Jun 26, 2010"
2386RECIPE_MAINTAINER_pn-gaku = "Dongxiao Xu <dongxiao.xu@intel.com>" 2567RECIPE_MAINTAINER_pn-gaku = "Dongxiao Xu <dongxiao.xu@intel.com>"
2387 2568
2388RECIPE_STATUS_pn-xvideo-tests="green" 2569RECIPE_STATUS_pn-xvideo-tests="green"
@@ -2390,6 +2571,7 @@ RECIPE_LATEST_VERSION_pn-xvideo-tests="0.0+svnr270"
2390RECIPE_NO_OF_PATCHES_pn-xvideo-tests="0" 2571RECIPE_NO_OF_PATCHES_pn-xvideo-tests="0"
2391RECIPE_LATEST_RELEASE_DATE_pn-xvideo-tests="2007/06/22" 2572RECIPE_LATEST_RELEASE_DATE_pn-xvideo-tests="2007/06/22"
2392RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xvideo-tests="n/a" 2573RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xvideo-tests="n/a"
2574RECIPE_LAST_UPDATE_pn-xvideo-tests = "Jun 26, 2010"
2393RECIPE_MAINTAINER_pn-xvideo-tests = "Dongxiao Xu <dongxiao.xu@intel.com>" 2575RECIPE_MAINTAINER_pn-xvideo-tests = "Dongxiao Xu <dongxiao.xu@intel.com>"
2394 2576
2395RECIPE_STATUS_pn-speex="green" 2577RECIPE_STATUS_pn-speex="green"
@@ -2397,6 +2579,7 @@ RECIPE_LATEST_VERSION_pn-speex="1.2rc1"
2397RECIPE_NO_OF_PATCHES_pn-speex="0" 2579RECIPE_NO_OF_PATCHES_pn-speex="0"
2398RECIPE_LATEST_RELEASE_DATE_pn-speex="2008/07/24" 2580RECIPE_LATEST_RELEASE_DATE_pn-speex="2008/07/24"
2399RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-speex="8 months" 2581RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-speex="8 months"
2582RECIPE_LAST_UPDATE_pn-speex = "Jun 29, 2010"
2400RECIPE_MAINTAINER_pn-speex = "Dongxiao Xu <dongxiao.xu@intel.com>" 2583RECIPE_MAINTAINER_pn-speex = "Dongxiao Xu <dongxiao.xu@intel.com>"
2401 2584
2402RECIPE_STATUS_pn-libmusicbrainz="green" 2585RECIPE_STATUS_pn-libmusicbrainz="green"
@@ -2404,30 +2587,18 @@ RECIPE_LATEST_VERSION_pn-libmusicbrainz="3.0.3"
2404RECIPE_NO_OF_PATCHES_pn-libmusicbrainz="0" 2587RECIPE_NO_OF_PATCHES_pn-libmusicbrainz="0"
2405RECIPE_LATEST_RELEASE_DATE_pn-libmusicbrainz="2010/09/27" 2588RECIPE_LATEST_RELEASE_DATE_pn-libmusicbrainz="2010/09/27"
2406RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libmusicbrainz="2 years" 2589RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libmusicbrainz="2 years"
2590RECIPE_LAST_UPDATE_pn-libmusicbrainz = "Nov 16, 2010"
2407RECIPE_MAINTAINER_pn-libmusicbrainz = "Dongxiao Xu <dongxiao.xu@intel.com>" 2591RECIPE_MAINTAINER_pn-libmusicbrainz = "Dongxiao Xu <dongxiao.xu@intel.com>"
2408 2592
2409RECIPE_STATUS_pn-clutter-gst-0.10 = "red"
2410DISTRO_PN_ALIAS_pn-clutter-gst-0.10 = "OpenSuSE=clutter-gst Debian=clutter-gst"
2411RECIPE_LATEST_VERSION_pn-clutter-gst-0.10 = "0.10.0+git0+8a087fabc888a6a4a939760c392109dbb610adbf"
2412RECIPE_MAINTAINER_pn-clutter-gst-0.10 = "Dongxiao Xu <dongxiao.xu@intel.com>"
2413
2414RECIPE_STATUS_pn-clutter-gst-0.6 = "red"
2415DISTRO_PN_ALIAS_pn-clutter-gst-0.6 = "OpenSuSE=clutter-gst Debian=clutter-gst"
2416RECIPE_LATEST_VERSION_pn-clutter-gst-0.6 = "0.6.0+git0+1c3dc539057dbcd6dd75f2cb5b4ba39b741892bd"
2417RECIPE_MAINTAINER_pn-clutter-gst-0.6 = "Dongxiao Xu <dongxiao.xu@intel.com>"
2418
2419RECIPE_STATUS_pn-clutter-gst-0.8 = "red"
2420DISTRO_PN_ALIAS_pn-clutter-gst-0.8 = "OpenSuSE=clutter-gst Debian=clutter-gst"
2421RECIPE_LATEST_VERSION_pn-clutter-gst-0.8 = "0.8.0+git0+7a60a435fb0930d911e26158928ab53bda090f3e"
2422RECIPE_MAINTAINER_pn-clutter-gst-0.8 = "Dongxiao Xu <dongxiao.xu@intel.com>"
2423
2424RECIPE_STATUS_pn-clutter-gst-1.0 = "red" 2593RECIPE_STATUS_pn-clutter-gst-1.0 = "red"
2425DISTRO_PN_ALIAS_pn-clutter-gst-1.0 = "OpenSuSE=clutter-gst Debian=clutter-gst" 2594DISTRO_PN_ALIAS_pn-clutter-gst-1.0 = "OpenSuSE=clutter-gst Debian=clutter-gst"
2426RECIPE_LATEST_VERSION_pn-clutter-gst-1.0 = "0.11.0+git0+d48c6fc67b48304f90e51b520631c1ecc10410af" 2595RECIPE_LATEST_VERSION_pn-clutter-gst-1.0 = "0.11.0+git0+d48c6fc67b48304f90e51b520631c1ecc10410af"
2596RECIPE_LAST_UPDATE_pn-clutter-gst = "Feb 4, 2010"
2427RECIPE_MAINTAINER_pn-clutter-gst-1.0 = "Dongxiao Xu <dongxiao.xu@intel.com>" 2597RECIPE_MAINTAINER_pn-clutter-gst-1.0 = "Dongxiao Xu <dongxiao.xu@intel.com>"
2428 2598
2429RECIPE_STATUS_pn-farsight2 = "red" 2599RECIPE_STATUS_pn-farsight2 = "red"
2430RECIPE_LATEST_VERSION_pn-farsight2 = "0.0.20" 2600RECIPE_LATEST_VERSION_pn-farsight2 = "0.0.20"
2601RECIPE_LAST_UPDATE_pn-farsight2 = "Aug 19, 2009"
2431RECIPE_MAINTAINER_pn-farsight2 = "Dongxiao Xu <dongxiao.xu@intel.com>" 2602RECIPE_MAINTAINER_pn-farsight2 = "Dongxiao Xu <dongxiao.xu@intel.com>"
2432 2603
2433RECIPE_STATUS_pn-gst-openmax = "green" 2604RECIPE_STATUS_pn-gst-openmax = "green"
@@ -2435,6 +2606,7 @@ RECIPE_LATEST_VERSION_pn-gst-openmax = "0.10.1"
2435RECIPE_NO_OF_PATCHES_pn-gst-openmax = "0" 2606RECIPE_NO_OF_PATCHES_pn-gst-openmax = "0"
2436RECIPE_LATEST_RELEASE_DATE_pn-gst-openmax = "2010/10/01" 2607RECIPE_LATEST_RELEASE_DATE_pn-gst-openmax = "2010/10/01"
2437RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-openmax= "18 months" 2608RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-openmax= "18 months"
2609RECIPE_LAST_UPDATE_pn-gst-openmax = "Nov 25, 2010"
2438RECIPE_MAINTAINER_pn-gst-openmax = "Dongxiao Xu <dongxiao.xu@intel.com>" 2610RECIPE_MAINTAINER_pn-gst-openmax = "Dongxiao Xu <dongxiao.xu@intel.com>"
2439DISTRO_PN_ALIAS_pn-gst-openmax="OSPDT upstream=http://cgit.freedesktop.org/gstreamer/gst-openmax" 2611DISTRO_PN_ALIAS_pn-gst-openmax="OSPDT upstream=http://cgit.freedesktop.org/gstreamer/gst-openmax"
2440 2612
@@ -2444,22 +2616,21 @@ RECIPE_LATEST_VERSION_pn-gst-ffmpeg = "0.10.11"
2444RECIPE_NO_OF_PATCHES_pn-gst-ffmpeg = "1" 2616RECIPE_NO_OF_PATCHES_pn-gst-ffmpeg = "1"
2445RECIPE_LATEST_RELEASE_DATE_pn-gst-ffmpeg = "2010/07/15" 2617RECIPE_LATEST_RELEASE_DATE_pn-gst-ffmpeg = "2010/07/15"
2446RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-ffmpeg = "4 months" 2618RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-ffmpeg = "4 months"
2619RECIPE_LAST_UPDATE_pn-gst-ffmpeg = "Dec 14, 2010"
2447RECIPE_MAINTAINER_pn-gst-ffmpeg = "Dongxiao Xu <dongxiao.xu@intel.com>" 2620RECIPE_MAINTAINER_pn-gst-ffmpeg = "Dongxiao Xu <dongxiao.xu@intel.com>"
2448 2621
2449RECIPE_STATUS_pn-alsa-oss = "red"
2450RECIPE_LATEST_VERSION_pn-alsa-oss = "1.0.17"
2451RECIPE_MAINTAINER_pn-alsa-oss = "Dongxiao Xu <dongxiao.xu@intel.com>"
2452
2453RECIPE_STATUS_pn-libsndfile1 = "red" 2622RECIPE_STATUS_pn-libsndfile1 = "red"
2454DISTRO_PN_ALIAS_pn-libsndfile1 = "Meego=libsndfile Fedora=libsndfile OpenSuSE=libsndfile Ubuntu=libsndfile Mandriva=libsndfile Debian=libsndfile" 2623DISTRO_PN_ALIAS_pn-libsndfile1 = "Meego=libsndfile Fedora=libsndfile OpenSuSE=libsndfile Ubuntu=libsndfile Mandriva=libsndfile Debian=libsndfile"
2455RECIPE_LATEST_VERSION_pn-libsndfile1 = "1.0.21 " 2624RECIPE_LATEST_VERSION_pn-libsndfile1 = "1.0.21 "
2625RECIPE_LAST_UPDATE_pn-libsndfile1 = "Nov 11, 2010"
2456RECIPE_MAINTAINER_pn-libsndfile1 = "Dongxiao Xu <dongxiao.xu@intel.com>" 2626RECIPE_MAINTAINER_pn-libsndfile1 = "Dongxiao Xu <dongxiao.xu@intel.com>"
2457 2627
2458RECIPE_STATUS_pn-pulseaudio = "green" 2628RECIPE_STATUS_pn-pulseaudio = "green"
2459RECIPE_LATEST_VERSION_pn-pulseaudio = "0.9.21" 2629RECIPE_LATEST_VERSION_pn-pulseaudio = "0.9.22"
2460RECIPE_NO_OF_PATCHES_pn-pulseaudio = "5" 2630RECIPE_NO_OF_PATCHES_pn-pulseaudio = "5"
2461RECIPE_LATEST_RELEASE_DATE_pn-pulseaudio = "2009/10/23" 2631RECIPE_LATEST_RELEASE_DATE_pn-pulseaudio = "2010/11/26"
2462RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pulseaudio = "12 days" 2632RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pulseaudio = "1 year"
2633RECIPE_LAST_UPDATE_pn-pulseaudio = "Dec 30, 2010"
2463RECIPE_MAINTAINER_pn-pulseaudio = "Dongxiao Xu <dongxiao.xu@intel.com>" 2634RECIPE_MAINTAINER_pn-pulseaudio = "Dongxiao Xu <dongxiao.xu@intel.com>"
2464 2635
2465RECIPE_STATUS_pn-taglib = "green" 2636RECIPE_STATUS_pn-taglib = "green"
@@ -2467,10 +2638,13 @@ RECIPE_LATEST_VERSION_pn-taglib = "1.6.3"
2467RECIPE_NO_OF_PATCHES_pn-taglib = "2" 2638RECIPE_NO_OF_PATCHES_pn-taglib = "2"
2468RECIPE_LATEST_RELEASE_DATE_pn-taglib = "2010/04/19" 2639RECIPE_LATEST_RELEASE_DATE_pn-taglib = "2010/04/19"
2469RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-taglib = "10 days" 2640RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-taglib = "10 days"
2641RECIPE_LAST_UPDATE_pn-taglib = "Nov 16, 2010"
2642RECIPE_MANUAL_CHECK_DATE_pn-taglib = "Jan 30, 2011"
2470RECIPE_MAINTAINER_pn-taglib = "Dongxiao Xu <dongxiao.xu@intel.com>" 2643RECIPE_MAINTAINER_pn-taglib = "Dongxiao Xu <dongxiao.xu@intel.com>"
2471 2644
2472RECIPE_STATUS_pn-libnice = "red" 2645RECIPE_STATUS_pn-libnice = "red"
2473RECIPE_LATEST_VERSION_pn-libnice = "0.0.12" 2646RECIPE_LATEST_VERSION_pn-libnice = "0.0.12"
2647RECIPE_LAST_UPDATE_pn-libnice = "Aug 19, 2009"
2474RECIPE_MAINTAINER_pn-libnice = "Dongxiao Xu <dongxiao.xu@intel.com>" 2648RECIPE_MAINTAINER_pn-libnice = "Dongxiao Xu <dongxiao.xu@intel.com>"
2475 2649
2476RECIPE_STATUS_pn-gst-fluendo-mp3 = "green" 2650RECIPE_STATUS_pn-gst-fluendo-mp3 = "green"
@@ -2478,6 +2652,7 @@ RECIPE_LATEST_VERSION_pn-gst-fluendo-mp3 = "0.10.15"
2478RECIPE_NO_OF_PATCHES_pn-gst-fluendo-mp3 = "1" 2652RECIPE_NO_OF_PATCHES_pn-gst-fluendo-mp3 = "1"
2479RECIPE_LATEST_RELEASE_DATE_pn-gst-fluendo-mp3 = "2010/10/21" 2653RECIPE_LATEST_RELEASE_DATE_pn-gst-fluendo-mp3 = "2010/10/21"
2480RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-fluendo-mp3 = "3 months" 2654RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-fluendo-mp3 = "3 months"
2655RECIPE_LAST_UPDATE_pn-gst-fluendo-mp3 = "Dec 7, 2010"
2481RECIPE_MAINTAINER_pn-gst-fluendo-mp3 = "Dongxiao Xu <dongxiao.xu@intel.com>" 2656RECIPE_MAINTAINER_pn-gst-fluendo-mp3 = "Dongxiao Xu <dongxiao.xu@intel.com>"
2482DISTRO_PN_ALIAS_pn-gst-fluendo-mp3 = "Debian=gstreamer0.10-fluendo-mp3 Ubuntu=gstreamer0.10-fluendo-mp3" 2657DISTRO_PN_ALIAS_pn-gst-fluendo-mp3 = "Debian=gstreamer0.10-fluendo-mp3 Ubuntu=gstreamer0.10-fluendo-mp3"
2483 2658
@@ -2486,32 +2661,37 @@ RECIPE_LATEST_VERSION_pn-gst-fluendo-mpegdemux = "0.10.20"
2486RECIPE_NO_OF_PATCHES_pn-gst-fluendo-mpegdemux = "0" 2661RECIPE_NO_OF_PATCHES_pn-gst-fluendo-mpegdemux = "0"
2487RECIPE_LATEST_RELEASE_DATE_pn-gst-fluendo-mpegdemux = "2010/10/20" 2662RECIPE_LATEST_RELEASE_DATE_pn-gst-fluendo-mpegdemux = "2010/10/20"
2488RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-fluendo-mpegdemux = "1 months" 2663RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-fluendo-mpegdemux = "1 months"
2664RECIPE_LAST_UPDATE_pn-gst-fluendo-mpegdemux = "Dec 7, 2010"
2489RECIPE_MAINTAINER_pn-gst-fluendo-mpegdemux = "Dongxiao Xu <dongxiao.xu@intel.com>" 2665RECIPE_MAINTAINER_pn-gst-fluendo-mpegdemux = "Dongxiao Xu <dongxiao.xu@intel.com>"
2490DISTRO_PN_ALIAS_pn-gst-fluendo-mpegdemux = "Ubuntu=gstreamer0.10-fluendo-mpegdemux Debian=gstreamer0.10-fluendo-mpegdemux" 2666DISTRO_PN_ALIAS_pn-gst-fluendo-mpegdemux = "Ubuntu=gstreamer0.10-fluendo-mpegdemux Debian=gstreamer0.10-fluendo-mpegdemux"
2491 2667
2492RECIPE_STATUS_pn-libomxil = "red" 2668RECIPE_STATUS_pn-libomxil = "red"
2493RECIPE_LATEST_VERSION_pn-libomxil = "0.9.2.1" 2669RECIPE_LATEST_VERSION_pn-libomxil = "0.9.2.1"
2670RECIPE_LAST_UPDATE_pn-libomxil = "Jan 11, 2008"
2494RECIPE_MAINTAINER_pn-libomxil = "Dongxiao Xu <dongxiao.xu@intel.com>" 2671RECIPE_MAINTAINER_pn-libomxil = "Dongxiao Xu <dongxiao.xu@intel.com>"
2495DISTRO_PN_ALIAS_pn-libomxil = "OSPDT upstream=http://omxil.sourceforge.net/" 2672DISTRO_PN_ALIAS_pn-libomxil = "OSPDT upstream=http://omxil.sourceforge.net/"
2496 2673
2497RECIPE_STATUS_pn-libsamplerate0 = "red" 2674RECIPE_STATUS_pn-libsamplerate0 = "red"
2498DISTRO_PN_ALIAS_pn-libsamplerate0 = "Meego=libsamplerate Fedora=libsamplerate OpenSuSE=libsamplerate Ubuntu=libsamplerate Mandriva=libsamplerate Debian=libsamplerate" 2675DISTRO_PN_ALIAS_pn-libsamplerate0 = "Meego=libsamplerate Fedora=libsamplerate OpenSuSE=libsamplerate Ubuntu=libsamplerate Mandriva=libsamplerate Debian=libsamplerate"
2499RECIPE_LATEST_VERSION_pn-libsamplerate0 = "0.1.7" 2676RECIPE_LATEST_VERSION_pn-libsamplerate0 = "0.1.7"
2677RECIPE_LAST_UPDATE_pn-libsamplerate0 = "Nov 22, 2010"
2678RECIPE_MANUAL_CHECK_DATE_pn-libsamplerate0 = "Jan 30, 2011"
2500RECIPE_MAINTAINER_pn-libsamplerate0 = "Dongxiao Xu <dongxiao.xu@intel.com>" 2679RECIPE_MAINTAINER_pn-libsamplerate0 = "Dongxiao Xu <dongxiao.xu@intel.com>"
2501 2680
2502RECIPE_STATUS_pn-oprofileui = "green" 2681RECIPE_STATUS_pn-oprofileui = "green"
2503DISTRO_PN_ALIAS_pn-oprofileui = "Fedora=oprofileui Ubuntu=oprofile-gui Debian=oprofile-gui" 2682DISTRO_PN_ALIAS_pn-oprofileui = "Fedora=oprofileui Ubuntu=oprofile-gui Debian=oprofile-gui"
2504DEPENDENCY_CHECK_pn-oprofileui = "not done" 2683RECIPE_DEPENDENCY_CHECK_pn-oprofileui = "not done"
2505RECIPE_LATEST_VERSION_pn-oprofileui = "0.0+svnr197" 2684RECIPE_LATEST_VERSION_pn-oprofileui = "0.0+svnr197"
2506RECIPE_NO_OF_PATCHES_pn-oprofileui = "0" 2685RECIPE_NO_OF_PATCHES_pn-oprofileui = "0"
2507RECIPE_INTEL_SECTION_pn-oprofileui = "sdk-tools" 2686RECIPE_INTEL_SECTION_pn-oprofileui = "sdk-tools"
2508RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-oprofileui = "13 days" 2687RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-oprofileui = "13 days"
2509RECIPE_LATEST_RELEASE_DATE_pn-oprofileui = "07/2008" 2688RECIPE_LATEST_RELEASE_DATE_pn-oprofileui = "07/2008"
2510RECIPE_COMMENTS_pn-oprofileui = "" 2689RECIPE_COMMENTS_pn-oprofileui = ""
2690RECIPE_LAST_UPDATE_pn-oprofileui = "Jul 20, 2010"
2511RECIPE_MAINTAINER_pn-oprofileui = "Dexuan Cui <dexuan.cui@intel.com>" 2691RECIPE_MAINTAINER_pn-oprofileui = "Dexuan Cui <dexuan.cui@intel.com>"
2512 2692
2513RECIPE_STATUS_pn-oprofile = "green" 2693RECIPE_STATUS_pn-oprofile = "green"
2514DEPENDENCY_CHECK_pn-oprofile = "not done" 2694RECIPE_DEPENDENCY_CHECK_pn-oprofile = "not done"
2515RECIPE_LATEST_VERSION_pn-oprofile = "0.9.6" 2695RECIPE_LATEST_VERSION_pn-oprofile = "0.9.6"
2516RECIPE_NO_OF_PATCHES_pn-oprofile = "1" 2696RECIPE_NO_OF_PATCHES_pn-oprofile = "1"
2517RECIPE_PATCH_pn-oprofile+opstart = "The opstart/opstop programs" 2697RECIPE_PATCH_pn-oprofile+opstart = "The opstart/opstop programs"
@@ -2519,35 +2699,40 @@ RECIPE_INTEL_SECTION_pn-oprofile = "sdk-tools"
2519RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-oprofile = "4 months" 2699RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-oprofile = "4 months"
2520RECIPE_LATEST_RELEASE_DATE_pn-oprofile = "Nov 24, 2009" 2700RECIPE_LATEST_RELEASE_DATE_pn-oprofile = "Nov 24, 2009"
2521RECIPE_COMMENTS_pn-oprofile = "" 2701RECIPE_COMMENTS_pn-oprofile = ""
2702RECIPE_LAST_UPDATE_pn-oprofile = "Jun 22, 2010"
2522RECIPE_MAINTAINER_pn-oprofile = "Dexuan Cui <dexuan.cui@intel.com>" 2703RECIPE_MAINTAINER_pn-oprofile = "Dexuan Cui <dexuan.cui@intel.com>"
2523 2704
2524RECIPE_STATUS_pn-powertop = "green" 2705RECIPE_STATUS_pn-powertop = "green"
2525DISTRO_PN_ALIAS_pn-powertop ="Meego=powertop Fedora=powertop Debian=powertop OpenSuSE=powertop Mandriva=powertop" 2706DISTRO_PN_ALIAS_pn-powertop ="Meego=powertop Fedora=powertop Debian=powertop OpenSuSE=powertop Mandriva=powertop"
2526DEPENDENCY_CHECK_pn-powertop = "not done" 2707RECIPE_DEPENDENCY_CHECK_pn-powertop = "not done"
2527RECIPE_LATEST_VERSION_pn-powertop = "1.13" 2708RECIPE_LATEST_VERSION_pn-powertop = "1.13"
2709RECIPE_MANUAL_CHECK_DATE_pn-powertop = "Jan 28, 2011"
2528RECIPE_NO_OF_PATCHES_pn-powertop = "1" 2710RECIPE_NO_OF_PATCHES_pn-powertop = "1"
2529RECIPE_PATCH_pn-powertop+stub_out_the_ncurses_calls_in_dump_mode = "stub out the ncurses calls in dump mode; this fixes a segfault" 2711RECIPE_PATCH_pn-powertop+stub_out_the_ncurses_calls_in_dump_mode = "stub out the ncurses calls in dump mode; this fixes a segfault"
2530RECIPE_INTEL_SECTION_pn-powertop = "sdk-tools" 2712RECIPE_INTEL_SECTION_pn-powertop = "sdk-tools"
2531RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-powertop = "11 months" 2713RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-powertop = "11 months"
2532RECIPE_LATEST_RELEASE_DATE_pn-powertop = "07/2010" 2714RECIPE_LATEST_RELEASE_DATE_pn-powertop = "07/2010"
2533RECIPE_COMMENTS_pn-powertop = "" 2715RECIPE_COMMENTS_pn-powertop = ""
2716RECIPE_LAST_UPDATE_pn-powertop = "Aug 27, 2010"
2534RECIPE_MAINTAINER_pn-powertop = "Dexuan Cui <dexuan.cui@intel.com>" 2717RECIPE_MAINTAINER_pn-powertop = "Dexuan Cui <dexuan.cui@intel.com>"
2535 2718
2536RECIPE_STATUS_pn-latencytop = "green" 2719RECIPE_STATUS_pn-latencytop = "green"
2537DISTRO_PN_ALIAS_pn-latencytop = "Meego=latencytop Fedora=latencytop Debian=latencytop OpenSuSE=latencytop" 2720DISTRO_PN_ALIAS_pn-latencytop = "Meego=latencytop Fedora=latencytop Debian=latencytop OpenSuSE=latencytop"
2538DEPENDENCY_CHECK_pn-latencytop = "not done" 2721RECIPE_DEPENDENCY_CHECK_pn-latencytop = "not done"
2539RECIPE_LATEST_VERSION_pn-latencytop = "0.5" 2722RECIPE_LATEST_VERSION_pn-latencytop = "0.5"
2723RECIPE_MANUAL_CHECK_DATE_pn-latencytop = "Jan 28, 2011"
2540RECIPE_NO_OF_PATCHES_pn-latencytop = "1" 2724RECIPE_NO_OF_PATCHES_pn-latencytop = "1"
2541RECIPE_PATCH_pn-latencytop+latencytop-makefile = "-lncursesw ==> -lncurses; gcc ==> CC ?= gcc, and use $(CC); install:mkdir -p $(DESTDIR)/$(SBINDIR)" 2725RECIPE_PATCH_pn-latencytop+latencytop-makefile = "-lncursesw ==> -lncurses; gcc ==> CC ?= gcc, and use $(CC); install:mkdir -p $(DESTDIR)/$(SBINDIR)"
2542RECIPE_INTEL_SECTION_pn-latencytop = "sdk-tools" 2726RECIPE_INTEL_SECTION_pn-latencytop = "sdk-tools"
2543RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-latencytop = "1 year" 2727RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-latencytop = "1 year"
2544RECIPE_LATEST_RELEASE_DATE_pn-latencytop = "04/2009" 2728RECIPE_LATEST_RELEASE_DATE_pn-latencytop = "04/2009"
2545RECIPE_COMMENTS_pn-latencytop = "" 2729RECIPE_COMMENTS_pn-latencytop = ""
2730RECIPE_LAST_UPDATE_pn-latencytop = "Jul 22, 2010"
2546RECIPE_MAINTAINER_pn-latencytop = "Dexuan Cui <dexuan.cui@intel.com>" 2731RECIPE_MAINTAINER_pn-latencytop = "Dexuan Cui <dexuan.cui@intel.com>"
2547 2732
2548RECIPE_STATUS_pn-tcf-agent = "green" 2733RECIPE_STATUS_pn-tcf-agent = "green"
2549DISTRO_PN_ALIAS_pn-tcf-agent = "WindRiver upstream=http://www.eclipse.org/dsdp/tm/" 2734DISTRO_PN_ALIAS_pn-tcf-agent = "WindRiver upstream=http://www.eclipse.org/dsdp/tm/"
2550DEPENDENCY_CHECK_pn-tcf-agent = "not done" 2735RECIPE_DEPENDENCY_CHECK_pn-tcf-agent = "not done"
2551RECIPE_LATEST_VERSION_pn-tcf-agent = "0.3.0+svnr1078" 2736RECIPE_LATEST_VERSION_pn-tcf-agent = "0.3.0+svnr1078"
2552RECIPE_NO_OF_PATCHES_pn-tcf-agent = "2" 2737RECIPE_NO_OF_PATCHES_pn-tcf-agent = "2"
2553RECIPE_PATCH_pn-tcf-agent+terminals_agent = "we might get the patch from git://git.pokylinux.org/eclipse-poky.git in future" 2738RECIPE_PATCH_pn-tcf-agent+terminals_agent = "we might get the patch from git://git.pokylinux.org/eclipse-poky.git in future"
@@ -2556,122 +2741,161 @@ RECIPE_INTEL_SECTION_pn-tcf-agent = "sdk-tools"
2556RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tcf-agent = "1+ years" 2741RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tcf-agent = "1+ years"
2557RECIPE_LATEST_RELEASE_DATE_pn-tcf-agent = "07/2010" 2742RECIPE_LATEST_RELEASE_DATE_pn-tcf-agent = "07/2010"
2558RECIPE_COMMENTS_pn-tcf-agent = "" 2743RECIPE_COMMENTS_pn-tcf-agent = ""
2744RECIPE_LAST_UPDATE_pn-tcf-agent = "Jul 23, 2010"
2559RECIPE_MAINTAINER_pn-tcf-agent = "Dexuan Cui <dexuan.cui@intel.com>" 2745RECIPE_MAINTAINER_pn-tcf-agent = "Dexuan Cui <dexuan.cui@intel.com>"
2560 2746
2561RECIPE_STATUS_pn-liburcu = "green" 2747RECIPE_STATUS_pn-liburcu = "green"
2562DISTRO_PN_ALIAS_pn-liburcu = "Fedora=userspace-rcu Ubuntu=liburcu0" 2748DISTRO_PN_ALIAS_pn-liburcu = "Fedora=userspace-rcu Ubuntu=liburcu0"
2563DEPENDENCY_CHECK_pn-liburcu = "not done" 2749RECIPE_DEPENDENCY_CHECK_pn-liburcu = "not done"
2564RECIPE_LATEST_VERSION_pn-liburcu = "0.4.6" 2750RECIPE_LATEST_VERSION_pn-liburcu = "0.5.2"
2565RECIPE_NO_OF_PATCHES_pn-liburcu = "0" 2751RECIPE_NO_OF_PATCHES_pn-liburcu = "0"
2566RECIPE_INTEL_SECTION_pn-liburcu = "libs" 2752RECIPE_INTEL_SECTION_pn-liburcu = "libs"
2567RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-liburcu = "10 minutes" 2753RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-liburcu = "29 minutes"
2568RECIPE_LATEST_RELEASE_DATE_pn-liburcu = "06/2010" 2754RECIPE_LATEST_RELEASE_DATE_pn-liburcu = "Nov 18, 2010"
2569RECIPE_COMMENTS_pn-liburcu = "" 2755RECIPE_COMMENTS_pn-liburcu = ""
2756RECIPE_LAST_UPDATE_pn-liburcu = "Jan 28, 2011"
2570RECIPE_MAINTAINER_pn-liburcu = "Dexuan Cui <dexuan.cui@intel.com>" 2757RECIPE_MAINTAINER_pn-liburcu = "Dexuan Cui <dexuan.cui@intel.com>"
2571 2758
2572RECIPE_STATUS_pn-lttng-ust = "green" 2759RECIPE_STATUS_pn-lttng-ust = "green"
2573DISTRO_PN_ALIAS_pn-lttng-ust = "OSPDT upstream=http://lttng.org/" 2760DISTRO_PN_ALIAS_pn-lttng-ust = "OSPDT upstream=http://lttng.org/"
2574DEPENDENCY_CHECK_pn-lttng-ust = "not done" 2761RECIPE_DEPENDENCY_CHECK_pn-lttng-ust = "not done"
2575RECIPE_LATEST_VERSION_pn-lttng-ust = "0.7" 2762RECIPE_LATEST_VERSION_pn-lttng-ust = "0.11"
2576RECIPE_NO_OF_PATCHES_pn-lttng-ust = "0" 2763RECIPE_NO_OF_PATCHES_pn-lttng-ust = "0"
2577RECIPE_INTEL_SECTION_pn-lttng-ust = "sdk-tools" 2764RECIPE_INTEL_SECTION_pn-lttng-ust = "sdk-tools"
2578RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lttng-ust = "4 days" 2765RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lttng-ust = "12+ hours"
2579RECIPE_LATEST_RELEASE_DATE_pn-lttng-ust = "Aug 20, 2010" 2766RECIPE_LATEST_RELEASE_DATE_pn-lttng-ust = "Jan 14, 2011"
2580RECIPE_COMMENTS_pn-lttng-ust = "" 2767RECIPE_COMMENTS_pn-lttng-ust = ""
2768RECIPE_LAST_UPDATE_pn-lttng-ust = "Jan 28, 2011"
2581RECIPE_MAINTAINER_pn-lttng-ust = "Dexuan Cui <dexuan.cui@intel.com>" 2769RECIPE_MAINTAINER_pn-lttng-ust = "Dexuan Cui <dexuan.cui@intel.com>"
2582 2770
2583RECIPE_STATUS_pn-lttng-control = "green" 2771RECIPE_STATUS_pn-lttng-control = "green"
2584DISTRO_PN_ALIAS_pn-lttng-control = "OSPDT upstream=http://lttng.org/" 2772DISTRO_PN_ALIAS_pn-lttng-control = "OSPDT upstream=http://lttng.org/"
2585DEPENDENCY_CHECK_pn-lttng-control = "not done" 2773RECIPE_DEPENDENCY_CHECK_pn-lttng-control = "not done"
2586RECIPE_LATEST_VERSION_pn-lttng-control = "0.87" 2774RECIPE_LATEST_VERSION_pn-lttng-control = "0.88-09242010"
2587RECIPE_NO_OF_PATCHES_pn-lttng-control = "0" 2775RECIPE_NO_OF_PATCHES_pn-lttng-control = "0"
2588RECIPE_INTEL_SECTION_pn-lttng-control = "sdk-tools" 2776RECIPE_INTEL_SECTION_pn-lttng-control = "sdk-tools"
2589RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lttng-control = "1 month" 2777RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lttng-control = "3 months"
2590RECIPE_LATEST_RELEASE_DATE_pn-lttng-control = "06/2010" 2778RECIPE_LATEST_RELEASE_DATE_pn-lttng-control = "Sep 24, 2010"
2591RECIPE_COMMENTS_pn-lttng-control = "" 2779RECIPE_COMMENTS_pn-lttng-control = ""
2780RECIPE_LAST_UPDATE_pn-lttng-control = "Nov 24, 2010"
2592RECIPE_MAINTAINER_pn-lttng-control = "Dexuan Cui <dexuan.cui@intel.com>" 2781RECIPE_MAINTAINER_pn-lttng-control = "Dexuan Cui <dexuan.cui@intel.com>"
2593 2782
2594RECIPE_STATUS_pn-lttng-viewer = "green" 2783RECIPE_STATUS_pn-lttng-viewer = "green"
2595DISTRO_PN_ALIAS_pn-lttng-viewer = "OSPDT upstream=http://lttng.org/" 2784DISTRO_PN_ALIAS_pn-lttng-viewer = "OSPDT upstream=http://lttng.org/"
2596DEPENDENCY_CHECK_pn-lttng-viewer = "not done" 2785RECIPE_DEPENDENCY_CHECK_pn-lttng-viewer = "not done"
2597RECIPE_LATEST_VERSION_pn-lttng-viewer = "0.12.35" 2786RECIPE_LATEST_VERSION_pn-lttng-viewer = "0.12.36-18112010"
2598RECIPE_NO_OF_PATCHES_pn-lttng-viewer = "0" 2787RECIPE_NO_OF_PATCHES_pn-lttng-viewer = "0"
2599RECIPE_INTEL_SECTION_pn-lttng-viewer = "sdk-tools" 2788RECIPE_INTEL_SECTION_pn-lttng-viewer = "sdk-tools"
2600RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lttng-viewer = "6 days" 2789RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lttng-viewer = "3 months"
2601RECIPE_LATEST_RELEASE_DATE_pn-lttng-viewer = "Aug 20, 2010" 2790RECIPE_LATEST_RELEASE_DATE_pn-lttng-viewer = "Nov 18, 2010"
2602RECIPE_COMMENTS_pn-lttng-viewer = "" 2791RECIPE_COMMENTS_pn-lttng-viewer = ""
2792RECIPE_LAST_UPDATE_pn-lttng-viewer = "Jan 28, 2011"
2603RECIPE_MAINTAINER_pn-lttng-viewer = "Dexuan Cui <dexuan.cui@intel.com>" 2793RECIPE_MAINTAINER_pn-lttng-viewer = "Dexuan Cui <dexuan.cui@intel.com>"
2604 2794
2795RECIPE_STATUS_pn-blktrace = "red"
2796RECIPE_LATEST_VERSION_pn-blktrace = "1.0.1"
2797RECIPE_NO_OF_PATCHES_pn-blktrace = "1"
2798RECIPE_PATCH_pn-blktrace+compile-fixes = "to be pushed upstream"
2799RECIPE_INTEL_SECTION_pn-blktrace = "sdk-tools"
2800RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-blktrace = "n/a"
2801RECIPE_LATEST_RELEASE_DATE_pn-blktrace = "12/2010"
2802RECIPE_COMMENTS_pn-blktrace = ""
2803RECIPE_LAST_UPDATE_pn-blktrace = "Dec 29, 2010"
2804RECIPE_MAINTAINER_pn-blktrace = "Tom Zanussi <tom.zanussi@intel.com>"
2805
2806RECIPE_STATUS_pn-sysprof = "red"
2807RECIPE_LATEST_VERSION_pn-sysprof = "1.1.6"
2808RECIPE_NO_OF_PATCHES_pn-sysprof = "3"
2809RECIPE_PATCH_pn-sysprof+ppc-macro-fix = "to be pushed upstream (from perf)"
2810RECIPE_PATCH_pn-sysprof+rmb-arm = "to be pushed upstream (from perf)"
2811RECIPE_PATCH_pn-sysprof+rmb-mips = "to be pushed upstream (from perf)"
2812RECIPE_INTEL_SECTION_pn-sysprof = "sdk-tools"
2813RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sysprof = "n/a"
2814RECIPE_LATEST_RELEASE_DATE_pn-sysprof = "12/2010"
2815RECIPE_COMMENTS_pn-sysprof = ""
2816RECIPE_LAST_UPDATE_pn-sysprof = "Dec 8, 2010"
2817RECIPE_MAINTAINER_pn-sysprof = "Tom Zanussi <tom.zanussi@intel.com>"
2818
2605RECIPE_STATUS_pn-binutils="green" 2819RECIPE_STATUS_pn-binutils="green"
2606RECIPE_LATEST_VERSION_pn-binutils="2.20.1" 2820RECIPE_LATEST_VERSION_pn-binutils="2.20.1"
2821RECIPE_LAST_UPDATE_pn-binutils = "Jun 3, 2010"
2607RECIPE_MAINTAINER_pn-binutils = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2822RECIPE_MAINTAINER_pn-binutils = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2608 2823
2609RECIPE_STATUS_pn-ldconfig-native = "red" 2824RECIPE_STATUS_pn-ldconfig-native = "red"
2825RECIPE_LAST_UPDATE_pn-ldconfig-native = "Nov 23, 2007"
2610DISTRO_PN_ALIAS_pn-ldconfig-native = "Ubuntu=libc-bin Fedora=glibc" 2826DISTRO_PN_ALIAS_pn-ldconfig-native = "Ubuntu=libc-bin Fedora=glibc"
2611 2827
2612RECIPE_STATUS_pn-gcc="green" 2828RECIPE_STATUS_pn-gcc="red"
2613RECIPE_LATEST_VERSION_pn-gcc="4.5.1" 2829RECIPE_LATEST_VERSION_pn-gcc="4.5.2"
2614RECIPE_NO_OF_PATCHES_pn-gcc="8"
2615RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gcc="5 months"
2616RECIPE_LATEST_RELEASE_DATE_pn-gcc="2010/03/03" 2830RECIPE_LATEST_RELEASE_DATE_pn-gcc="2010/03/03"
2831RECIPE_LAST_UPDATE_pn-gcc = "Nov 8, 2010"
2617RECIPE_MAINTAINER_pn-gcc = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2832RECIPE_MAINTAINER_pn-gcc = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2618 2833
2619RECIPE_STATUS_pn-autoconf="green" 2834RECIPE_STATUS_pn-autoconf="red"
2620RECIPE_LATEST_VERSION_pn-autoconf="2.68" 2835RECIPE_LATEST_VERSION_pn-autoconf="2.68"
2836RECIPE_LAST_UPDATE_pn-autoconf = "Jan 29, 2010"
2837RECIPE_NO_UPDATE_REASON_autoconf="seeing rpm issue with the 2.68 version, a bug is open"
2621RECIPE_MAINTAINER_pn-autoconf = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2838RECIPE_MAINTAINER_pn-autoconf = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2622 2839
2623RECIPE_STATUS_pn-automake="green" 2840RECIPE_STATUS_pn-automake="green"
2624RECIPE_LATEST_VERSION_pn-automake="1.11.1" 2841RECIPE_LATEST_VERSION_pn-automake="1.11.1"
2842RECIPE_LAST_UPDATE_pn-automake = "Jan 29, 2010"
2625RECIPE_MAINTAINER_pn-automake = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2843RECIPE_MAINTAINER_pn-automake = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2626 2844
2627RECIPE_STATUS_pn-bison="green" 2845RECIPE_STATUS_pn-bison="green"
2628RECIPE_LATEST_VERSION_pn-bison="2.4.3" 2846RECIPE_LATEST_VERSION_pn-bison="2.4.3"
2847RECIPE_LAST_UPDATE_pn-bison = "Nov 8, 2010"
2629RECIPE_MAINTAINER_pn-bison = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2848RECIPE_MAINTAINER_pn-bison = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2630 2849
2631RECIPE_STATUS_pn-diffstat="green" 2850RECIPE_STATUS_pn-diffstat="green"
2632RECIPE_LATEST_VERSION_pn-diffstat="1.54" 2851RECIPE_LATEST_VERSION_pn-diffstat="1.54"
2852RECIPE_LAST_UPDATE_pn-diffstat = "Nov 8, 2010"
2633RECIPE_MAINTAINER_pn-diffstat = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2853RECIPE_MAINTAINER_pn-diffstat = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2634 2854
2635RECIPE_STATUS_pn-distcc="green" 2855RECIPE_STATUS_pn-distcc="green"
2636RECIPE_LATEST_VERSION_pn-distcc="2.18.3" 2856RECIPE_LATEST_VERSION_pn-distcc="2.18.3"
2857RECIPE_LAST_UPDATE_pn-distcc = "Oct 28, 2006"
2637RECIPE_MAINTAINER_pn-distcc = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2858RECIPE_MAINTAINER_pn-distcc = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2638 2859
2639RECIPE_STATUS_pn-exmap-console="green" # o-hand code, website does not show any information
2640RECIPE_LATEST_VERSION_pn-exmap-console="0.4.1"
2641RECIPE_MAINTAINER_pn-exmap-console = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2642DISTRO_PN_ALIAS_pn-exmap-console = "OpenedHand"
2643
2644RECIPE_STATUS_pn-flex="green" 2860RECIPE_STATUS_pn-flex="green"
2645RECIPE_LATEST_VERSION_pn-flex="2.5.35" 2861RECIPE_LATEST_VERSION_pn-flex="2.5.35"
2862RECIPE_LAST_UPDATE_pn-flex = "Jun 20, 2010"
2646RECIPE_MAINTAINER_pn-flex = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2863RECIPE_MAINTAINER_pn-flex = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2647 2864
2648RECIPE_STATUS_pn-fstests="green" 2865RECIPE_STATUS_pn-fstests="green"
2649RECIPE_LATEST_VERSION_pn-fstests="0.0+svnr426" 2866RECIPE_LATEST_VERSION_pn-fstests="0.0+svnr426"
2650DISTRO_PN_ALIAS_pn-fstests = "OpenedHand" 2867DISTRO_PN_ALIAS_pn-fstests = "OpenedHand"
2868RECIPE_LAST_UPDATE_pn-fstests = "Dec 7, 2010"
2651RECIPE_MAINTAINER_pn-fstests = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2869RECIPE_MAINTAINER_pn-fstests = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2652 2870
2653RECIPE_STATUS_pn-gdb="green" 2871RECIPE_STATUS_pn-gdb="green"
2654RECIPE_LATEST_VERSION_pn-gdb="7.2" 2872RECIPE_LATEST_VERSION_pn-gdb="7.2"
2873RECIPE_LAST_UPDATE_pn-gdb = "Nov 8, 2010"
2655RECIPE_MAINTAINER_pn-gdb = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2874RECIPE_MAINTAINER_pn-gdb = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2656 2875
2657RECIPE_STATUS_pn-intltool="green" 2876RECIPE_STATUS_pn-intltool="green"
2658RECIPE_LATEST_VERSION_pn-intltool="0.40.6" 2877RECIPE_LATEST_VERSION_pn-intltool="0.40.6"
2878RECIPE_LAST_UPDATE_pn-intltool = "Jun 21, 2010"
2659RECIPE_MAINTAINER_pn-intltool = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2879RECIPE_MAINTAINER_pn-intltool = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2660 2880
2661RECIPE_STATUS_pn-libtool="green" 2881RECIPE_STATUS_pn-libtool="green"
2662RECIPE_LATEST_VERSION_pn-libtool="2.4" 2882RECIPE_LATEST_VERSION_pn-libtool="2.4"
2883RECIPE_LAST_UPDATE_pn-libtool = "Nov 8, 2010"
2663RECIPE_MAINTAINER_pn-libtool = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2884RECIPE_MAINTAINER_pn-libtool = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2664 2885
2665RECIPE_STATUS_pn-linux-libc-headers="green" 2886RECIPE_STATUS_pn-linux-libc-headers="green"
2666RECIPE_LATEST_VERSION_pn-linux-libc-headers="2.6.36" 2887RECIPE_LATEST_VERSION_pn-linux-libc-headers="2.6.36"
2888RECIPE_LAST_UPDATE_pn-linux-libc-headers = "Nov 8, 2010"
2667RECIPE_MAINTAINER_pn-linux-libc-headers = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2889RECIPE_MAINTAINER_pn-linux-libc-headers = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2668 2890
2669RECIPE_STATUS_pn-lsof="green" 2891RECIPE_STATUS_pn-lsof="green"
2670RECIPE_LATEST_VERSION_pn-lsof="4.84" 2892RECIPE_LATEST_VERSION_pn-lsof="4.84"
2893RECIPE_LAST_UPDATE_pn-lsof = "Nov 8, 2010"
2671RECIPE_MAINTAINER_pn-lsof = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2894RECIPE_MAINTAINER_pn-lsof = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2672 2895
2673RECIPE_STATUS_pn-make="green" 2896RECIPE_STATUS_pn-make="green"
2674RECIPE_LATEST_VERSION_pn-make="3.82" 2897RECIPE_LATEST_VERSION_pn-make="3.82"
2898RECIPE_LAST_UPDATE_pn-make = "Nov 8, 2010"
2675RECIPE_MAINTAINER_pn-make = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2899RECIPE_MAINTAINER_pn-make = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2676 2900
2677RECIPE_STATUS_pn-run-postinsts="green" # all local code 2901RECIPE_STATUS_pn-run-postinsts="green" # all local code
@@ -2680,67 +2904,78 @@ RECIPE_MAINTAINER_pn-postinsts = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2680 2904
2681RECIPE_STATUS_pn-nasm="green" 2905RECIPE_STATUS_pn-nasm="green"
2682RECIPE_LATEST_VERSION_pn-nasm="2.07" 2906RECIPE_LATEST_VERSION_pn-nasm="2.07"
2907RECIPE_MANUAL_CHECK_DATE_pn-nasm = "Jan 25, 2011"
2683RECIPE_MAINTAINER_pn-nasm = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2908RECIPE_MAINTAINER_pn-nasm = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2684 2909
2685RECIPE_STATUS_pn-perl="red" # upgrade needed 2910RECIPE_STATUS_pn-perl="red" # upgrade needed
2686RECIPE_LATEST_VERSION_pn-perl="5.12.1" 2911RECIPE_LATEST_VERSION_pn-perl="5.12.1"
2912RECIPE_LAST_UPDATE_pn-perl = "May 27, 2007"
2687RECIPE_MAINTAINER_pn-perl = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2913RECIPE_MAINTAINER_pn-perl = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2688 2914
2689RECIPE_STATUS_pn-prelink="red" 2915RECIPE_STATUS_pn-prelink="red"
2690RECIPE_LATEST_VERSION_pn-prelink="1.0+git0+0x909470ee441237563d6236c505cb2d02ddc48704" 2916RECIPE_LATEST_VERSION_pn-prelink="1.0+git0+0x909470ee441237563d6236c505cb2d02ddc48704"
2691RECIPE_MAINTAINER_pn-prelink = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2917RECIPE_LAST_UPDATE_pn-perl = "Jul 23, 2010"
2918RECIPE_MAINTAINER_pn-prelink = "Mark Hatle <mark.hatle@windriver.com>"
2692 2919
2693RECIPE_STATUS_pn-python-dbus="green" 2920RECIPE_STATUS_pn-python-dbus="red"
2694RECIPE_LATEST_VERSION_pn-python-dbus="0.83.1" 2921RECIPE_LATEST_VERSION_pn-python-dbus="0.83.1"
2922RECIPE_LAST_UPDATE_pn-python-dbus = "Jul 7, 2010"
2695RECIPE_MAINTAINER_pn-python-dbus = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2923RECIPE_MAINTAINER_pn-python-dbus = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2696DISTRO_PN_ALIAS_pn-python-dbus = "Ubuntu=python-dbus Debian=python-dbus Mandriva=python-dbus" 2924DISTRO_PN_ALIAS_pn-python-dbus = "Ubuntu=python-dbus Debian=python-dbus Mandriva=python-dbus"
2697 2925
2698RECIPE_STATUS_pn-python-gst="green" 2926RECIPE_STATUS_pn-python-gst="red"
2699RECIPE_LATEST_VERSION_pn-python-gst="0.10.19" 2927RECIPE_LATEST_VERSION_pn-python-gst="0.10.21"
2700DISTRO_PN_ALIAS_pn-python-gst = "OpenSuSE=python-gstreamer Ubuntu=gst0.10-python Debian=gst0.10-python" 2928DISTRO_PN_ALIAS_pn-python-gst = "OpenSuSE=python-gstreamer Ubuntu=gst0.10-python Debian=gst0.10-python"
2929RECIPE_LAST_UPDATE_pn-python-gst = "Nov 8, 2010"
2701RECIPE_MAINTAINER_pn-python-gst = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2930RECIPE_MAINTAINER_pn-python-gst = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2702 2931
2703RECIPE_STATUS_pn-python-imaging="green" 2932RECIPE_STATUS_pn-python-imaging="green"
2704RECIPE_LATEST_VERSION_pn-python-imaging="1.1.7" 2933RECIPE_LATEST_VERSION_pn-python-imaging="1.1.7"
2705RECIPE_MAINTAINER_pnpython--imaging = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2934RECIPE_LAST_UPDATE_pn-python-imaging = "Jul 7, 2010"
2935RECIPE_MAINTAINER_pnpython-imaging = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2706 2936
2707RECIPE_STATUS_pn-python-pycurl="green" 2937RECIPE_STATUS_pn-python-pycurl="green"
2708RECIPE_LATEST_VERSION_pn-python-pycurl="7.19.0" 2938RECIPE_LATEST_VERSION_pn-python-pycurl="7.19.0"
2939RECIPE_LAST_UPDATE_pn-python-pycurl = "Mar 25, 2010"
2709RECIPE_MAINTAINER_pn-python-pycurl = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2940RECIPE_MAINTAINER_pn-python-pycurl = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2710 2941
2711RECIPE_STATUS_pn-python-pygobject="green" 2942RECIPE_STATUS_pn-python-pygobject="green"
2712DISTRO_PN_ALIAS_pn-python-pygobject = "Meego=pygobject2 Fedora=pygobject2 Ubuntu=pygobject Debian=pygobject" 2943DISTRO_PN_ALIAS_pn-python-pygobject = "Meego=pygobject2 Fedora=pygobject2 Ubuntu=pygobject Debian=pygobject"
2713RECIPE_LATEST_VERSION_pn-python-pygobject="2.27.0" 2944RECIPE_LATEST_VERSION_pn-python-pygobject="2.27.0"
2945RECIPE_LAST_UPDATE_pn-python-pygobject = "Dec 9, 2010"
2714RECIPE_MAINTAINER_pn-python-pygobject = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2946RECIPE_MAINTAINER_pn-python-pygobject = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2715 2947
2716RECIPE_STATUS_pn-python-pygtk="red" 2948RECIPE_STATUS_pn-python-pygtk="red"
2717DISTRO_PN_ALIAS_pn-python-pygtk = "Debian=python-gtk2 Fedora=pygtk2 OpenSuSE=python-gtk" 2949DISTRO_PN_ALIAS_pn-python-pygtk = "Debian=python-gtk2 Fedora=pygtk2 OpenSuSE=python-gtk"
2718RECIPE_LATEST_VERSION_pn-python-pygtk="2.17.0" 2950RECIPE_LATEST_VERSION_pn-python-pygtk="2.17.0"
2951RECIPE_LAST_UPDATE_pn-python-pygtk = "Jul 7, 2010"
2719RECIPE_MAINTAINER_pn-python-pygtk = "Zhai Edwin <edwin.zhai@intel.com>" 2952RECIPE_MAINTAINER_pn-python-pygtk = "Zhai Edwin <edwin.zhai@intel.com>"
2720 2953
2721RECIPE_STATUS_pn-python-pyrex="green" 2954RECIPE_STATUS_pn-python-pyrex="green"
2722RECIPE_LATEST_VERSION_pn-python-pyrex="0.9.9" 2955RECIPE_LATEST_VERSION_pn-python-pyrex="0.9.9"
2956RECIPE_LAST_UPDATE_pn-python-pyrex = "Jul 7, 2010"
2723RECIPE_MAINTAINER_pn-python-pyrex = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2957RECIPE_MAINTAINER_pn-python-pyrex = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2724DISTRO_PN_ALIAS_pn-python-pyrex = "Mandriva=python-pyrex Ubuntu=python-pyrex" 2958DISTRO_PN_ALIAS_pn-python-pyrex = "Mandriva=python-pyrex Ubuntu=python-pyrex"
2725 2959
2726RECIPE_STATUS_pn-python-scons="green" 2960RECIPE_STATUS_pn-python-scons="green"
2727RECIPE_LATEST_VERSION_pn-python-scons="2.0.1" 2961RECIPE_LATEST_VERSION_pn-python-scons="2.0.1"
2728DISTRO_PN_ALIAS_pn-python-scons = "Fedora=scons OpenSuSE=scons Ubuntu=scons Mandriva=scons Debian=scons" 2962DISTRO_PN_ALIAS_pn-python-scons = "Fedora=scons OpenSuSE=scons Ubuntu=scons Mandriva=scons Debian=scons"
2963RECIPE_LAST_UPDATE_pn-python-scons = "Nov 8, 2010"
2729RECIPE_MAINTAINER_pn-python-scons = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2964RECIPE_MAINTAINER_pn-python-scons = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2730 2965
2731RECIPE_STATUS_pn-python="green" 2966RECIPE_STATUS_pn-python="red"
2732RECIPE_LATEST_VERSION_pn-python="2.6.6" 2967RECIPE_LATEST_VERSION_pn-python="2.7.1"
2733RECIPE_NO_OF_PATCHES_pn-python="8" 2968RECIPE_LAST_UPDATE_pn-python = "Nov 8, 2010"
2734RECIPE_LATEST_RELEASE_DATE_pn-python="2010/03/18"
2735RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-python="5 months"
2736RECIPE_MAINTAINER_pn-python = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2969RECIPE_MAINTAINER_pn-python = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2737 2970
2738RECIPE_STATUS_pn-quilt="green" 2971RECIPE_STATUS_pn-quilt="green"
2739RECIPE_LATEST_VERSION_pn-quilt="0.48" 2972RECIPE_LATEST_VERSION_pn-quilt="0.48"
2973RECIPE_LAST_UPDATE_pn-quilt = "Jun 22, 2010"
2740RECIPE_MAINTAINER_pn-quilt = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2974RECIPE_MAINTAINER_pn-quilt = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2741 2975
2742RECIPE_STATUS_pn-tcl="green" 2976RECIPE_STATUS_pn-tcl="green"
2743RECIPE_LATEST_VERSION_pn-tcl="8.5.9" 2977RECIPE_LATEST_VERSION_pn-tcl="8.5.9"
2978RECIPE_LAST_UPDATE_pn-tcl = "Dec 1, 2010"
2744RECIPE_MAINTAINER_pn-tcl = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2979RECIPE_MAINTAINER_pn-tcl = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2745 2980
2746RECIPE_STATUS_pn-unifdef="green" # poky local source files 2981RECIPE_STATUS_pn-unifdef="green" # poky local source files
@@ -2750,46 +2985,56 @@ RECIPE_MAINTAINER_pn-unifdef = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2750RECIPE_STATUS_pn-gnu-config="green" 2985RECIPE_STATUS_pn-gnu-config="green"
2751RECIPE_LATEST_VERSION_pn-gnu-config="0.0+git3155524" 2986RECIPE_LATEST_VERSION_pn-gnu-config="0.0+git3155524"
2752DISTRO_PN_ALIAS_pn-gnu-config = "OpenedHand" 2987DISTRO_PN_ALIAS_pn-gnu-config = "OpenedHand"
2988RECIPE_LAST_UPDATE_pn-gnu-config = "Jun 21, 2010"
2753RECIPE_MAINTAINER_pn-gnu-config = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2989RECIPE_MAINTAINER_pn-gnu-config = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2754 2990
2755RECIPE_STATUS_pn-mpfr="green" 2991RECIPE_STATUS_pn-mpfr="green"
2756RECIPE_LATEST_VERSION_pn-mpfr="3.0.0" 2992RECIPE_LATEST_VERSION_pn-mpfr="3.0.0"
2993RECIPE_MANUAL_CHECK_DATE_pn-mpfr = "Jan 25, 2011"
2757RECIPE_MAINTAINER_pn-mpfr = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2994RECIPE_MAINTAINER_pn-mpfr = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2758 2995
2759RECIPE_STATUS_pn-gmp="green" 2996RECIPE_STATUS_pn-gmp="green"
2760RECIPE_LATEST_VERSION_pn-gmp="5.0.1" 2997RECIPE_LATEST_VERSION_pn-gmp="5.0.1"
2998RECIPE_LAST_UPDATE_pn-gmp = "Aug 27, 2010"
2761RECIPE_MAINTAINER_pn-gmp = "Nitin A Kamble <nitin.a.kamble@intel.com>" 2999RECIPE_MAINTAINER_pn-gmp = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2762 3000
2763RECIPE_STATUS_pn-libmpc="green" 3001RECIPE_STATUS_pn-libmpc="green"
2764RECIPE_LATEST_VERSION_pn-libmpc="0.8.2" 3002RECIPE_LATEST_VERSION_pn-libmpc="0.8.2"
3003RECIPE_MANUAL_CHECK_DATE_pn-libmpc = "Jan 25, 2011"
2765RECIPE_MAINTAINER_pn-libmpc = "Nitin A Kamble <nitin.a.kamble@intel.com>" 3004RECIPE_MAINTAINER_pn-libmpc = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2766DISTRO_PN_ALIAS_pn-libmpc = "Fedora=libmpc OpenSuse=libmpc2" 3005DISTRO_PN_ALIAS_pn-libmpc = "Fedora=libmpc OpenSuse=libmpc2"
2767 3006
2768RECIPE_STATUS_pn-byacc="green" 3007RECIPE_STATUS_pn-byacc="red"
2769RECIPE_LATEST_VERSION_pn-byacc="20100610" 3008RECIPE_LATEST_VERSION_pn-byacc="20101229"
2770RECIPE_MAINTAINER_pn-byacc = "Nitin A Kamble <nitin.a.kamble@intel.com>" 3009RECIPE_MAINTAINER_pn-byacc = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2771 3010
2772RECIPE_STATUS_pn-libconvert-asn1-perl="green" # 0.22 version does not build, so created a recipe for version 0.21 3011RECIPE_STATUS_pn-libconvert-asn1-perl="green"
3012# 0.22 version does not build, so created a recipe for version 0.21
2773RECIPE_LATEST_VERSION_pn-libconvert-asn1-perl="0.22" 3013RECIPE_LATEST_VERSION_pn-libconvert-asn1-perl="0.22"
3014RECIPE_NO_UPDATE_REASON_pn-libconvert-asn1-perl = "0.22 version does not build, so created a recipe for version 0.21"
3015RECIPE_LAST_UPDATE_pn-libconvert-asn1-perl = "Aug 13, 2010"
2774RECIPE_MAINTAINER_pn-libconvert-asn1-perl = "Nitin A Kamble <nitin.a.kamble@intel.com>" 3016RECIPE_MAINTAINER_pn-libconvert-asn1-perl = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2775 3017
2776RECIPE_STATUS_pn-libxml-parser-perl="green" 3018RECIPE_STATUS_pn-libxml-parser-perl="green"
2777RECIPE_LATEST_VERSION_pn-libxml-parser-perl="2.36" 3019RECIPE_LATEST_VERSION_pn-libxml-parser-perl="2.36"
3020RECIPE_LAST_UPDATE_pn-libxml-parser-perl = "Nov 18, 2009"
2778RECIPE_MAINTAINER_pn-libxml-parser-perl = "Nitin A Kamble <nitin.a.kamble@intel.com>" 3021RECIPE_MAINTAINER_pn-libxml-parser-perl = "Nitin A Kamble <nitin.a.kamble@intel.com>"
2779 3022
2780RECIPE_STATUS_pn-cmake-native="green" 3023RECIPE_STATUS_pn-cmake-native="green"
2781RECIPE_LATEST_VERSION_pn-cmake-native="2.8.3" 3024RECIPE_LATEST_VERSION_pn-cmake-native="2.8.3"
2782RECIPE_LATEST_RELEASE_DATE_pn-cmake-native="2010/11/03" 3025RECIPE_LATEST_RELEASE_DATE_pn-cmake-native="2010/11/03"
2783RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cmake-native="4 month" 3026RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cmake-native="4 month"
3027RECIPE_LAST_UPDATE_pn-cmake-native = "Nov 23, 2010"
2784RECIPE_MAINTAINER_pn-cmake-native = "Dongxiao Xu <dongxiao.xu@intel.com>" 3028RECIPE_MAINTAINER_pn-cmake-native = "Dongxiao Xu <dongxiao.xu@intel.com>"
2785 3029
2786RECIPE_STATUS_pn-m4="green" 3030RECIPE_STATUS_pn-m4="green"
2787RECIPE_LATEST_VERSION_pn-m4="1.4.15" 3031RECIPE_LATEST_VERSION_pn-m4="1.4.15"
3032RECIPE_LAST_UPDATE_pn-m4 = "Nov 23, 2010"
2788RECIPE_MAINTAINER_pn-m4="Nitin A Kamble <nitin.a.kamble@intel.com>" 3033RECIPE_MAINTAINER_pn-m4="Nitin A Kamble <nitin.a.kamble@intel.com>"
2789RECIPE_COMMENTS_pn-m4= "Dongxiao Xu <dongxiao.xu@intel.com> will own GPLv2 m4" 3034RECIPE_COMMENTS_pn-m4= "Dongxiao Xu <dongxiao.xu@intel.com> will own GPLv2 m4"
2790 3035
2791RECIPE_STATUS_pn-owl-video = "green" # no update needed 3036RECIPE_STATUS_pn-owl-video = "green" # no update needed
2792DEPENDENCY_CHECK_pn-owl-video = "not done" 3037RECIPE_DEPENDENCY_CHECK_pn-owl-video = "not done"
2793RECIPE_LATEST_VERSION_pn-owl-video = "0.0+svnr394" 3038RECIPE_LATEST_VERSION_pn-owl-video = "0.0+svnr394"
2794RECIPE_NO_OF_PATCHES_pn-owl-video = "0" 3039RECIPE_NO_OF_PATCHES_pn-owl-video = "0"
2795RECIPE_INTEL_SECTION_pn-owl-video = "graphic apps" 3040RECIPE_INTEL_SECTION_pn-owl-video = "graphic apps"
@@ -2800,43 +3045,48 @@ RECIPE_MAINTAINER_pn-owl-video = "Zhai Edwin <edwin.zhai@intel.com>"
2800 3045
2801RECIPE_STATUS_pn-xtscal = "green" # no update needed 3046RECIPE_STATUS_pn-xtscal = "green" # no update needed
2802DISTRO_PN_ALIAS_pn-xtscal = "OSPDT upstream=http://gpe.linuxtogo.org/download/source/" 3047DISTRO_PN_ALIAS_pn-xtscal = "OSPDT upstream=http://gpe.linuxtogo.org/download/source/"
2803DEPENDENCY_CHECK_pn-xtscal = "not done" 3048RECIPE_DEPENDENCY_CHECK_pn-xtscal = "not done"
2804RECIPE_LATEST_VERSION_pn-xtscal = "0.6.3" 3049RECIPE_LATEST_VERSION_pn-xtscal = "0.6.3"
2805RECIPE_NO_OF_PATCHES_pn-xtscal = "2" 3050RECIPE_NO_OF_PATCHES_pn-xtscal = "2"
2806RECIPE_INTEL_SECTION_pn-xtscal = "graphic apps" 3051RECIPE_INTEL_SECTION_pn-xtscal = "graphic apps"
2807RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xtscal = "n/a" 3052RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xtscal = "n/a"
2808RECIPE_LATEST_RELEASE_DATE_pn-xtscal = "06/2006" 3053RECIPE_LATEST_RELEASE_DATE_pn-xtscal = "06/2006"
2809RECIPE_COMMENTS_pn-xtscal = "" 3054RECIPE_COMMENTS_pn-xtscal = ""
3055RECIPE_LAST_UPDATE_pn-xtscal = "Jul 21, 2006"
2810RECIPE_MAINTAINER_pn-xtscal = "Zhai Edwin <edwin.zhai@intel.com>" 3056RECIPE_MAINTAINER_pn-xtscal = "Zhai Edwin <edwin.zhai@intel.com>"
2811 3057
2812RECIPE_STATUS_pn-xrestop = "green" # no update needed 3058RECIPE_STATUS_pn-xrestop = "green" # no update needed
2813DEPENDENCY_CHECK_pn-xrestop = "not done" 3059RECIPE_DEPENDENCY_CHECK_pn-xrestop = "not done"
2814RECIPE_LATEST_VERSION_pn-xrestop = "0.4" 3060RECIPE_LATEST_VERSION_pn-xrestop = "0.4"
3061RECIPE_MANUAL_CHECK_DATE_pn-xrestop = "Nov 18, 2010"
2815RECIPE_NO_OF_PATCHES_pn-xrestop = "0" 3062RECIPE_NO_OF_PATCHES_pn-xrestop = "0"
2816RECIPE_INTEL_SECTION_pn-xrestop = "graphic apps" 3063RECIPE_INTEL_SECTION_pn-xrestop = "graphic apps"
2817RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xrestop = "18 months" 3064RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xrestop = "18 months"
2818RECIPE_LATEST_RELEASE_DATE_pn-xrestop = "03/2006" 3065RECIPE_LATEST_RELEASE_DATE_pn-xrestop = "03/2006"
2819RECIPE_COMMENTS_pn-xrestop = "" 3066RECIPE_COMMENTS_pn-xrestop = ""
3067RECIPE_LAST_UPDATE_pn-xrestop = "Dec 21, 2007"
2820RECIPE_MAINTAINER_pn-xrestop = "Zhai Edwin <edwin.zhai@intel.com>" 3068RECIPE_MAINTAINER_pn-xrestop = "Zhai Edwin <edwin.zhai@intel.com>"
2821 3069
2822RECIPE_STATUS_pn-pcmanfm = "green" 3070RECIPE_STATUS_pn-pcmanfm = "green"
2823DEPENDENCY_CHECK_pn-pcmanfm = "not done" 3071RECIPE_DEPENDENCY_CHECK_pn-pcmanfm = "not done"
2824RECIPE_LATEST_VERSION_pn-pcmanfm = "0.9.8" 3072RECIPE_LATEST_VERSION_pn-pcmanfm = "0.9.8"
2825RECIPE_NO_OF_PATCHES_pn-pcmanfm = "4" 3073RECIPE_NO_OF_PATCHES_pn-pcmanfm = "4"
2826RECIPE_INTEL_SECTION_pn-pcmanfm = "graphic apps" 3074RECIPE_INTEL_SECTION_pn-pcmanfm = "graphic apps"
2827RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pcmanfm = "5 months" 3075RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pcmanfm = "5 months"
2828RECIPE_LATEST_RELEASE_DATE_pn-pcmanfm = "10/2010" 3076RECIPE_LATEST_RELEASE_DATE_pn-pcmanfm = "10/2010"
2829RECIPE_COMMENTS_pn-pcmanfm = "" 3077RECIPE_COMMENTS_pn-pcmanfm = ""
3078RECIPE_LAST_UPDATE_pn-pcmanfm = "Nov 19, 2010"
2830RECIPE_MAINTAINER_pn-pcmanfm = "Zhai Edwin <edwin.zhai@intel.com>" 3079RECIPE_MAINTAINER_pn-pcmanfm = "Zhai Edwin <edwin.zhai@intel.com>"
2831 3080
2832RECIPE_STATUS_pn-oh-puzzles = "green" # no update needed 3081RECIPE_STATUS_pn-oh-puzzles = "green" # no update needed
2833DEPENDENCY_CHECK_pn-oh-puzzles = "not done" 3082RECIPE_DEPENDENCY_CHECK_pn-oh-puzzles = "not done"
2834RECIPE_LATEST_VERSION_pn-oh-puzzles = "0.1+svnr23" 3083RECIPE_LATEST_VERSION_pn-oh-puzzles = "0.1+svnr23"
2835RECIPE_NO_OF_PATCHES_pn-oh-puzzles = "1" 3084RECIPE_NO_OF_PATCHES_pn-oh-puzzles = "1"
2836RECIPE_INTEL_SECTION_pn-oh-puzzles = "graphic apps" 3085RECIPE_INTEL_SECTION_pn-oh-puzzles = "graphic apps"
2837RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-oh-puzzles = "n/a" 3086RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-oh-puzzles = "n/a"
2838RECIPE_LATEST_RELEASE_DATE_pn-oh-puzzles = "04/2008" 3087RECIPE_LATEST_RELEASE_DATE_pn-oh-puzzles = "04/2008"
2839RECIPE_COMMENTS_pn-oh-puzzles = "" 3088RECIPE_COMMENTS_pn-oh-puzzles = ""
3089RECIPE_LAST_UPDATE_pn-oh-puzzles = "Apr 8, 2008"
2840RECIPE_MAINTAINER_pn-oh-puzzles = "Zhai Edwin <edwin.zhai@intel.com>" 3090RECIPE_MAINTAINER_pn-oh-puzzles = "Zhai Edwin <edwin.zhai@intel.com>"
2841 3091
2842RECIPE_STATUS_pn-gnome-terminal = "red" 3092RECIPE_STATUS_pn-gnome-terminal = "red"
@@ -2845,75 +3095,85 @@ RECIPE_MAINTAINER_pn-gnome-terminal = "Edwin Zhai <edwin.zhai@intel.com>"
2845 3095
2846RECIPE_STATUS_pn-puzzles = "red" 3096RECIPE_STATUS_pn-puzzles = "red"
2847DISTRO_PN_ALIAS_pn-puzzles = "Debian=sgt-puzzles" 3097DISTRO_PN_ALIAS_pn-puzzles = "Debian=sgt-puzzles"
2848RECIPE_LATEST_VERSION_pn-puzzles = "r9034" 3098RECIPE_LATEST_VERSION_pn-puzzles = "r9076"
3099RECIPE_MANUAL_CHECK_DATE_pn-puzzles = "Jan 06, 2011"
3100RECIPE_LAST_UPDATE_pn-puzzles = "Jan 06, 2011"
2849RECIPE_MAINTAINER_pn-puzzles = "Edwin Zhai <edwin.zhai@intel.com>" 3101RECIPE_MAINTAINER_pn-puzzles = "Edwin Zhai <edwin.zhai@intel.com>"
2850DISTRO_PN_ALIAS_pn-puzzles = "Debian=sgt-puzzles Fedora=puzzles" 3102DISTRO_PN_ALIAS_pn-puzzles = "Debian=sgt-puzzles Fedora=puzzles"
2851 3103
2852RECIPE_STATUS_pn-x11perf = "red" 3104RECIPE_STATUS_pn-x11perf = "green"
2853RECIPE_LATEST_VERSION_pn-x11perf = "1.5.1" 3105RECIPE_LATEST_VERSION_pn-x11perf = "1.5.2"
3106RECIPE_LAST_UPDATE_pn-x11perf = "Nov 30, 2010"
2854RECIPE_MAINTAINER_pn-x11perf = "Edwin Zhai <edwin.zhai@intel.com>" 3107RECIPE_MAINTAINER_pn-x11perf = "Edwin Zhai <edwin.zhai@intel.com>"
2855DISTRO_PN_ALIAS_pn-x11perf = "Fedora=xorg-x11-apps Ubuntu=x11-apps" 3108DISTRO_PN_ALIAS_pn-x11perf = "Fedora=xorg-x11-apps Ubuntu=x11-apps"
2856 3109
2857RECIPE_STATUS_pn-xbacklight = "red" 3110RECIPE_STATUS_pn-xbacklight = "red"
2858RECIPE_LATEST_VERSION_pn-xbacklight = "1.1.1" 3111RECIPE_LATEST_VERSION_pn-xbacklight = "1.1.1"
3112RECIPE_LAST_UPDATE_pn-xbacklight = "Aug 24, 2009"
2859RECIPE_MAINTAINER_pn-xbacklight = "Edwin Zhai <edwin.zhai@intel.com>" 3113RECIPE_MAINTAINER_pn-xbacklight = "Edwin Zhai <edwin.zhai@intel.com>"
2860 3114
2861RECIPE_STATUS_pn-xev = "red" 3115RECIPE_STATUS_pn-xev = "red"
2862RECIPE_LATEST_VERSION_pn-xev = "1.0.4" 3116RECIPE_LATEST_VERSION_pn-xev = "1.0.4"
3117RECIPE_LAST_UPDATE_pn-xev = "Mar 28, 2008"
2863RECIPE_MAINTAINER_pn-xev = "Edwin Zhai <edwin.zhai@intel.com>" 3118RECIPE_MAINTAINER_pn-xev = "Edwin Zhai <edwin.zhai@intel.com>"
2864DISTRO_PN_ALIAS_pn-xev = "Fedora=xorg-x11-utils Ubuntu=x11-utils" 3119DISTRO_PN_ALIAS_pn-xev = "Fedora=xorg-x11-utils Ubuntu=x11-utils"
2865 3120
2866RECIPE_STATUS_pn-xeyes = "red" 3121RECIPE_STATUS_pn-xeyes = "red"
2867RECIPE_LATEST_VERSION_pn-xeyes = "1.1.0" 3122RECIPE_LATEST_VERSION_pn-xeyes = "1.1.0"
3123RECIPE_LAST_UPDATE_pn-xeyes = "Nov 5, 2008"
2868RECIPE_MAINTAINER_pn-xeyes = "Edwin Zhai <edwin.zhai@intel.com>" 3124RECIPE_MAINTAINER_pn-xeyes = "Edwin Zhai <edwin.zhai@intel.com>"
2869DISTRO_PN_ALIAS_pn-xeyes = "Ubuntu=x11-apps Fedora=xorg-x11-apps" 3125DISTRO_PN_ALIAS_pn-xeyes = "Ubuntu=x11-apps Fedora=xorg-x11-apps"
2870 3126
2871RECIPE_STATUS_pn-xrdb = "red" 3127RECIPE_STATUS_pn-xrdb = "red"
2872RECIPE_LATEST_VERSION_pn-xrdb = "1.0.6" 3128RECIPE_LATEST_VERSION_pn-xrdb = "1.0.6"
3129RECIPE_LAST_UPDATE_pn-xrdb = "Mar 28, 2008"
2873RECIPE_MAINTAINER_pn-xrdb = "Edwin Zhai <edwin.zhai@intel.com>" 3130RECIPE_MAINTAINER_pn-xrdb = "Edwin Zhai <edwin.zhai@intel.com>"
2874DISTRO_PN_ALIAS_pn-xrdb = "Ubuntu=x11-xserver-utils Fedora=xorg-x11-server-utils" 3131DISTRO_PN_ALIAS_pn-xrdb = "Ubuntu=x11-xserver-utils Fedora=xorg-x11-server-utils"
2875 3132
2876RECIPE_STATUS_pn-xvinfo = "red" 3133RECIPE_STATUS_pn-xvinfo = "green"
2877RECIPE_LATEST_VERSION_pn-xvinfo = "1.1.0" 3134RECIPE_LATEST_VERSION_pn-xvinfo = "1.1.1"
3135RECIPE_LAST_UPDATE_pn-xvinfo = "Dec 31, 2010"
2878RECIPE_MAINTAINER_pn-xvinfo = "Edwin Zhai <edwin.zhai@intel.com>" 3136RECIPE_MAINTAINER_pn-xvinfo = "Edwin Zhai <edwin.zhai@intel.com>"
2879DISTRO_PN_ALIAS_pn-xvinfo = "Fedora=xorg-x11-utils Ubuntu=x11-utils" 3137DISTRO_PN_ALIAS_pn-xvinfo = "Fedora=xorg-x11-utils Ubuntu=x11-utils"
2880 3138
2881RECIPE_STATUS_pn-claws-plugin-gtkhtml2-viewer = "red" 3139RECIPE_STATUS_pn-claws-plugin-gtkhtml2-viewer = "red"
2882DISTRO_PN_ALIAS_pn-claws-plugin-gtkhtml2-viewer = "Fedora=claws-mail-plugins OpenSuSE=claws-mail-extra-plugins Debian=claws-mail-extra-plugins" 3140DISTRO_PN_ALIAS_pn-claws-plugin-gtkhtml2-viewer = "Fedora=claws-mail-plugins OpenSuSE=claws-mail-extra-plugins Debian=claws-mail-extra-plugins"
2883RECIPE_LATEST_VERSION_pn-claws-plugin-gtkhtml2-viewer = "0.27" 3141RECIPE_LATEST_VERSION_pn-claws-plugin-gtkhtml2-viewer = "0.27"
3142RECIPE_LAST_UPDATE_pn-claws-plugin-gtkhtml2-viewer = "May 9, 2007"
2884RECIPE_MAINTAINER_pn-claws-plugin-gtkhtml2-viewer = "Edwin Zhai <edwin.zhai@intel.com>" 3143RECIPE_MAINTAINER_pn-claws-plugin-gtkhtml2-viewer = "Edwin Zhai <edwin.zhai@intel.com>"
2885 3144
2886RECIPE_STATUS_pn-claws-plugin-maildir = "red" 3145RECIPE_STATUS_pn-claws-plugin-maildir = "red"
2887DISTRO_PN_ALIAS_pn-claws-plugin-maildir = "Fedora=claws-mail-plugins OpenSuSE=claws-mail-extra-plugins Debian=claws-mail-extra-plugins" 3146DISTRO_PN_ALIAS_pn-claws-plugin-maildir = "Fedora=claws-mail-plugins OpenSuSE=claws-mail-extra-plugins Debian=claws-mail-extra-plugins"
2888RECIPE_LATEST_VERSION_pn-claws-plugin-maildir = "0.24.4" 3147RECIPE_LATEST_VERSION_pn-claws-plugin-maildir = "0.24.4"
3148RECIPE_LAST_UPDATE_pn-claws-plugin-maildir = "Apr 25, 2007"
2889RECIPE_MAINTAINER_pn-claws-plugin-maildir = "Edwin Zhai <edwin.zhai@intel.com>" 3149RECIPE_MAINTAINER_pn-claws-plugin-maildir = "Edwin Zhai <edwin.zhai@intel.com>"
2890 3150
2891RECIPE_STATUS_pn-claws-plugin-mailmbox = "red" 3151RECIPE_STATUS_pn-claws-plugin-mailmbox = "red"
2892DISTRO_PN_ALIAS_pn-claws-plugin-mailmbox = "Fedora=claws-mail-plugins OpenSuSE=claws-mail-extra-plugins Debian=claws-mail-extra-plugins" 3152DISTRO_PN_ALIAS_pn-claws-plugin-mailmbox = "Fedora=claws-mail-plugins OpenSuSE=claws-mail-extra-plugins Debian=claws-mail-extra-plugins"
2893RECIPE_LATEST_VERSION_pn-claws-plugin-mailmbox = "1.14.4" 3153RECIPE_LATEST_VERSION_pn-claws-plugin-mailmbox = "1.14.4"
3154RECIPE_LAST_UPDATE_pn-claws-plugin-mailmbox = "May 10, 2007"
2894RECIPE_MAINTAINER_pn-claws-plugin-mailmbox = "Edwin Zhai <edwin.zhai@intel.com>" 3155RECIPE_MAINTAINER_pn-claws-plugin-mailmbox = "Edwin Zhai <edwin.zhai@intel.com>"
2895 3156
2896RECIPE_STATUS_pn-claws-plugin-rssyl = "red" 3157RECIPE_STATUS_pn-claws-plugin-rssyl = "red"
2897DISTRO_PN_ALIAS_pn-claws-plugin-rssyl = "Fedora=claws-mail-plugins OpenSuSE=claws-mail-extra-plugins Debian=claws-mail-extra-plugins" 3158DISTRO_PN_ALIAS_pn-claws-plugin-rssyl = "Fedora=claws-mail-plugins OpenSuSE=claws-mail-extra-plugins Debian=claws-mail-extra-plugins"
2898RECIPE_LATEST_VERSION_pn-claws-plugin-rssyl = "0.27" 3159RECIPE_LATEST_VERSION_pn-claws-plugin-rssyl = "0.27"
3160RECIPE_LAST_UPDATE_pn-claws-plugin-rssyl = "May 10, 2007"
2899RECIPE_MAINTAINER_pn-claws-plugin-rssyl = "Edwin Zhai <edwin.zhai@intel.com>" 3161RECIPE_MAINTAINER_pn-claws-plugin-rssyl = "Edwin Zhai <edwin.zhai@intel.com>"
2900 3162
2901RECIPE_STATUS_pn-lndir = "red"
2902RECIPE_LATEST_VERSION_pn-lndir = "n/a"
2903RECIPE_MAINTAINER_pn-lndir = "Edwin Zhai <edwin.zhai@intel.com>"
2904DISTRO_PN_ALIAS_pn-lndir = "Mandriva=lndir Ubuntu=xutils-dev Fedora=imake"
2905
2906RECIPE_STATUS_pn-kf = "red" 3163RECIPE_STATUS_pn-kf = "red"
2907RECIPE_LATEST_VERSION_pn-kf = "n/a" 3164RECIPE_LATEST_VERSION_pn-kf = "n/a"
3165RECIPE_LAST_UPDATE_pn-kf = "Sep 29, 2005"
2908RECIPE_MAINTAINER_pn-kf = "Edwin Zhai <edwin.zhai@intel.com>" 3166RECIPE_MAINTAINER_pn-kf = "Edwin Zhai <edwin.zhai@intel.com>"
2909DISTRO_PN_ALIAS_pn-kf = "OSPDT" 3167DISTRO_PN_ALIAS_pn-kf = "OSPDT"
2910 3168
2911RECIPE_STATUS_pn-claws-mail = "red" 3169RECIPE_STATUS_pn-claws-mail = "red"
2912RECIPE_LATEST_VERSION_pn-claws-mail = "3.7.6" 3170RECIPE_LATEST_VERSION_pn-claws-mail = "3.7.6"
3171RECIPE_LAST_UPDATE_pn-kf = "Apr 25, 2007"
2913RECIPE_MAINTAINER_pn-claws-mail = "Edwin Zhai <edwin.zhai@intel.com>" 3172RECIPE_MAINTAINER_pn-claws-mail = "Edwin Zhai <edwin.zhai@intel.com>"
2914 3173
2915RECIPE_STATUS_pn-x11vnc = "red" 3174RECIPE_STATUS_pn-x11vnc = "green"
2916RECIPE_LATEST_VERSION_pn-x11vnc = "0.9.12" 3175RECIPE_LATEST_VERSION_pn-x11vnc = "0.9.12"
3176RECIPE_LAST_UPDATE_pn-x11vnc = "Nov 30, 2010"
2917RECIPE_MAINTAINER_pn-x11vnc = "Edwin Zhai <edwin.zhai@intel.com>" 3177RECIPE_MAINTAINER_pn-x11vnc = "Edwin Zhai <edwin.zhai@intel.com>"
2918DISTRO_PN_ALIAS_pn-x11vnc = "Fedora=x11vnc Ubuntu=x11vnc" 3178DISTRO_PN_ALIAS_pn-x11vnc = "Fedora=x11vnc Ubuntu=x11vnc"
2919 3179
@@ -2923,6 +3183,7 @@ RECIPE_NO_OF_PATCHES_pn-mkfontdir="0"
2923RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mkfontdir="2009/10/11" 3183RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mkfontdir="2009/10/11"
2924RECIPE_LATEST_RELEASE_DATE_pn-mkfontdir="16 monthes" 3184RECIPE_LATEST_RELEASE_DATE_pn-mkfontdir="16 monthes"
2925RECIPE_INTEL_SECTION_pn-mkfontdir="graphic apps" 3185RECIPE_INTEL_SECTION_pn-mkfontdir="graphic apps"
3186RECIPE_LAST_UPDATE_pn-mkfontdir = "Jan 18, 2011"
2926RECIPE_MAINTAINER_pn-mkfontdir="Yu Ke <ke.yu@intel.com>" 3187RECIPE_MAINTAINER_pn-mkfontdir="Yu Ke <ke.yu@intel.com>"
2927DISTRO_PN_ALIAS_pn-mkfontdir = "Mandriva=mkfontdir Ubuntu=xfonts-utils Fedora=xorg-x11-font-utils" 3188DISTRO_PN_ALIAS_pn-mkfontdir = "Mandriva=mkfontdir Ubuntu=xfonts-utils Fedora=xorg-x11-font-utils"
2928 3189
@@ -2932,6 +3193,7 @@ RECIPE_NO_OF_PATCHES_pn-mkfontscale="0"
2932RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mkfontscale="10 monthes" 3193RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mkfontscale="10 monthes"
2933RECIPE_LATEST_RELEASE_DATE_pn-mkfontscale="2009/10/11" 3194RECIPE_LATEST_RELEASE_DATE_pn-mkfontscale="2009/10/11"
2934RECIPE_INTEL_SECTION_pn-mkfontscale="graphic apps" 3195RECIPE_INTEL_SECTION_pn-mkfontscale="graphic apps"
3196RECIPE_LAST_UPDATE_pn-mkfontscale = "Jan 18, 2011"
2935RECIPE_MAINTAINER_pn-mkfontscale="Yu Ke <ke.yu@intel.com>" 3197RECIPE_MAINTAINER_pn-mkfontscale="Yu Ke <ke.yu@intel.com>"
2936DISTRO_PN_ALIAS_pn-mkfontscale = "Mandriva=mkfontscale Ubuntu=xfonts-utils Fedora=xorg-x11-font-utils" 3198DISTRO_PN_ALIAS_pn-mkfontscale = "Mandriva=mkfontscale Ubuntu=xfonts-utils Fedora=xorg-x11-font-utils"
2937 3199
@@ -2941,6 +3203,7 @@ RECIPE_NO_OF_PATCHES_pn-xauth="0"
2941RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xauth="1 year" 3203RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xauth="1 year"
2942RECIPE_LATEST_RELEASE_DATE_pn-xauth="2010/09/24" 3204RECIPE_LATEST_RELEASE_DATE_pn-xauth="2010/09/24"
2943RECIPE_INTEL_SECTION_pn-xauth="graphic app" 3205RECIPE_INTEL_SECTION_pn-xauth="graphic app"
3206RECIPE_LAST_UPDATE_pn-xauth = "Nov 12, 2010"
2944RECIPE_MAINTAINER_pn-xauth="Yu Ke <ke.yu@intel.com>" 3207RECIPE_MAINTAINER_pn-xauth="Yu Ke <ke.yu@intel.com>"
2945 3208
2946RECIPE_STATUS_pn-xdpyinfo="green" # no update needed 3209RECIPE_STATUS_pn-xdpyinfo="green" # no update needed
@@ -2949,6 +3212,7 @@ RECIPE_NO_OF_PATCHES_pn-xdpyinfo="1"
2949RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xdpyinfo="1 year" 3212RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xdpyinfo="1 year"
2950RECIPE_LATEST_RELEASE_DATE_pn-xdpyinfo="2009/10/16" 3213RECIPE_LATEST_RELEASE_DATE_pn-xdpyinfo="2009/10/16"
2951RECIPE_INTEL_SECTION_pn-xdpyinfo="graphic app" 3214RECIPE_INTEL_SECTION_pn-xdpyinfo="graphic app"
3215RECIPE_LAST_UPDATE_pn-xdpyinfo = "Jan 18, 2011"
2952RECIPE_MAINTAINER_pn-xdpyinfo="Yu Ke <ke.yu@intel.com>" 3216RECIPE_MAINTAINER_pn-xdpyinfo="Yu Ke <ke.yu@intel.com>"
2953DISTRO_PN_ALIAS_pn-xdpyinfo = "Fedora=xorg-x11-utils Ubuntu=x11-utils" 3217DISTRO_PN_ALIAS_pn-xdpyinfo = "Fedora=xorg-x11-utils Ubuntu=x11-utils"
2954 3218
@@ -2958,6 +3222,7 @@ RECIPE_NO_OF_PATCHES_pn-xhost="0"
2958RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xhost="2 years" 3222RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xhost="2 years"
2959RECIPE_LATEST_RELEASE_DATE_pn-xhost="2009/10/14" 3223RECIPE_LATEST_RELEASE_DATE_pn-xhost="2009/10/14"
2960RECIPE_INTEL_SECTION_pn-xhost="graphic app" 3224RECIPE_INTEL_SECTION_pn-xhost="graphic app"
3225RECIPE_LAST_UPDATE_pn-xhost = "Jan 18, 2011"
2961RECIPE_MAINTAINER_pn-xhost="Yu Ke <ke.yu@intel.com>" 3226RECIPE_MAINTAINER_pn-xhost="Yu Ke <ke.yu@intel.com>"
2962DISTRO_PN_ALIAS_pn-xhost = "Ubuntu=x11-xserver-utils Fedora=xorg-x11-server-utils" 3227DISTRO_PN_ALIAS_pn-xhost = "Ubuntu=x11-xserver-utils Fedora=xorg-x11-server-utils"
2963 3228
@@ -2967,6 +3232,7 @@ RECIPE_NO_OF_PATCHES_pn-xinit="0"
2967RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xinit="4 monthes" 3232RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xinit="4 monthes"
2968RECIPE_LATEST_RELEASE_DATE_pn-xinit="2010/03/16" 3233RECIPE_LATEST_RELEASE_DATE_pn-xinit="2010/03/16"
2969RECIPE_INTEL_SECTION_pn-xinit="graphic app" 3234RECIPE_INTEL_SECTION_pn-xinit="graphic app"
3235RECIPE_LAST_UPDATE_pn-xinit = "Jan 18, 2011"
2970RECIPE_MAINTAINER_pn-xinit="Yu Ke <ke.yu@intel.com>" 3236RECIPE_MAINTAINER_pn-xinit="Yu Ke <ke.yu@intel.com>"
2971 3237
2972RECIPE_STATUS_pn-xkbcomp="green" # no update needed 3238RECIPE_STATUS_pn-xkbcomp="green" # no update needed
@@ -2975,6 +3241,7 @@ RECIPE_NO_OF_PATCHES_pn-xkbcomp="0"
2975RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xkbcomp="2 monthes" 3241RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xkbcomp="2 monthes"
2976RECIPE_LATEST_RELEASE_DATE_pn-xkbcomp="2009/10/03" 3242RECIPE_LATEST_RELEASE_DATE_pn-xkbcomp="2009/10/03"
2977RECIPE_INTEL_SECTION_pn-xkbcomp="graphic app" 3243RECIPE_INTEL_SECTION_pn-xkbcomp="graphic app"
3244RECIPE_LAST_UPDATE_pn-xkbcomp = "Jan 18, 2011"
2978RECIPE_MAINTAINER_pn-xkbcomp="Yu Ke <ke.yu@intel.com>" 3245RECIPE_MAINTAINER_pn-xkbcomp="Yu Ke <ke.yu@intel.com>"
2979DISTRO_PN_ALIAS_pn-xkbcomp = "Ubuntu=x11-xkb-utils Fedora=xorg-x11-xkb-utils" 3246DISTRO_PN_ALIAS_pn-xkbcomp = "Ubuntu=x11-xkb-utils Fedora=xorg-x11-xkb-utils"
2980 3247
@@ -2984,6 +3251,7 @@ RECIPE_NO_OF_PATCHES_pn-xmodmap="0"
2984RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xmodmap="2 years" 3251RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xmodmap="2 years"
2985RECIPE_LATEST_RELEASE_DATE_pn-xmodmap="2010/09/24" 3252RECIPE_LATEST_RELEASE_DATE_pn-xmodmap="2010/09/24"
2986RECIPE_INTEL_SECTION_pn-xmodmap="graphic app" 3253RECIPE_INTEL_SECTION_pn-xmodmap="graphic app"
3254RECIPE_LAST_UPDATE_pn-xmodmap = "Nov 12, 2010"
2987RECIPE_MAINTAINER_pn-xmodmap="Yu Ke <ke.yu@intel.com>" 3255RECIPE_MAINTAINER_pn-xmodmap="Yu Ke <ke.yu@intel.com>"
2988DISTRO_PN_ALIAS_pn-xmodmap = "Meego=xorg-x11-utils-xmodmap Fedora=xorg-x11-server-utils Ubuntu=x11-xserver-utils" 3256DISTRO_PN_ALIAS_pn-xmodmap = "Meego=xorg-x11-utils-xmodmap Fedora=xorg-x11-server-utils Ubuntu=x11-xserver-utils"
2989 3257
@@ -2993,6 +3261,7 @@ RECIPE_NO_OF_PATCHES_pn-xprop="0"
2993RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xprop="1 year" 3261RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xprop="1 year"
2994RECIPE_LATEST_RELEASE_DATE_pn-xprop="2009/10/12" 3262RECIPE_LATEST_RELEASE_DATE_pn-xprop="2009/10/12"
2995RECIPE_INTEL_SECTION_pn-xprop="graphic app" 3263RECIPE_INTEL_SECTION_pn-xprop="graphic app"
3264RECIPE_LAST_UPDATE_pn-xprop = "Jan 18, 2011"
2996RECIPE_MAINTAINER_pn-xprop="Yu Ke <ke.yu@intel.com>" 3265RECIPE_MAINTAINER_pn-xprop="Yu Ke <ke.yu@intel.com>"
2997DISTRO_PN_ALIAS_pn-xprop = "Meego=xorg-x11-utils-xprop Fedora=xorg-x11-utils Ubuntu=x11-utils" 3266DISTRO_PN_ALIAS_pn-xprop = "Meego=xorg-x11-utils-xprop Fedora=xorg-x11-utils Ubuntu=x11-utils"
2998 3267
@@ -3003,6 +3272,7 @@ RECIPE_NO_OF_PATCHES_pn-xset="1"
3003RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xset="1 year" 3272RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xset="1 year"
3004RECIPE_LATEST_RELEASE_DATE_pn-xset="2010/11/11" 3273RECIPE_LATEST_RELEASE_DATE_pn-xset="2010/11/11"
3005RECIPE_INTEL_SECTION_pn-xset="graphic app" 3274RECIPE_INTEL_SECTION_pn-xset="graphic app"
3275RECIPE_LAST_UPDATE_pn-xset = "Nov 12, 2010"
3006RECIPE_MAINTAINER_pn-xset="Yu Ke <ke.yu@intel.com>" 3276RECIPE_MAINTAINER_pn-xset="Yu Ke <ke.yu@intel.com>"
3007 3277
3008RECIPE_STATUS_pn-xwininfo="green" # no update needed 3278RECIPE_STATUS_pn-xwininfo="green" # no update needed
@@ -3011,6 +3281,7 @@ RECIPE_NO_OF_PATCHES_pn-xwininfo="0"
3011RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xwininfo="1 year" 3281RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xwininfo="1 year"
3012RECIPE_LATEST_RELEASE_DATE_pn-xwininfo="2010/10/30" 3282RECIPE_LATEST_RELEASE_DATE_pn-xwininfo="2010/10/30"
3013RECIPE_INTEL_SECTION_pn-xwininfo="graphic app" 3283RECIPE_INTEL_SECTION_pn-xwininfo="graphic app"
3284RECIPE_LAST_UPDATE_pn-xwininfo = "Jan 18, 2011"
3014RECIPE_MAINTAINER_pn-xwininfo="Yu Ke <ke.yu@intel.com>" 3285RECIPE_MAINTAINER_pn-xwininfo="Yu Ke <ke.yu@intel.com>"
3015DISTRO_PN_ALIAS_pn-xwininfo = "Fedora=xorg-x11-utils Ubuntu=x11-utils" 3286DISTRO_PN_ALIAS_pn-xwininfo = "Fedora=xorg-x11-utils Ubuntu=x11-utils"
3016 3287
@@ -3020,6 +3291,7 @@ RECIPE_NO_OF_PATCHES_pn-xrandr="0"
3020RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xrandr="1 month" 3291RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xrandr="1 month"
3021RECIPE_LATEST_RELEASE_DATE_pn-xrandr="2009/09/10" 3292RECIPE_LATEST_RELEASE_DATE_pn-xrandr="2009/09/10"
3022RECIPE_INTEL_SECTION_pn-xrandr="graphic app" 3293RECIPE_INTEL_SECTION_pn-xrandr="graphic app"
3294RECIPE_LAST_UPDATE_pn-xrandr = "Nov 16, 2010"
3023RECIPE_MAINTAINER_pn-xrandr="Yu Ke <ke.yu@intel.com>" 3295RECIPE_MAINTAINER_pn-xrandr="Yu Ke <ke.yu@intel.com>"
3024DISTRO_PN_ALIAS_pn-xrandr = "Ubuntu=x11-xserver-utils Fedora=xorg-x11-server-utils" 3296DISTRO_PN_ALIAS_pn-xrandr = "Ubuntu=x11-xserver-utils Fedora=xorg-x11-server-utils"
3025 3297
@@ -3029,6 +3301,7 @@ RECIPE_NO_OF_PATCHES_pn-vte="0"
3029RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-vte="3 monthes" 3301RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-vte="3 monthes"
3030RECIPE_LATEST_RELEASE_DATE_pn-vte="2010/07/12" 3302RECIPE_LATEST_RELEASE_DATE_pn-vte="2010/07/12"
3031RECIPE_INTEL_SECTION_pn-vte="graphic app" 3303RECIPE_INTEL_SECTION_pn-vte="graphic app"
3304RECIPE_LAST_UPDATE_pn-vte = "Jul 19, 2010"
3032RECIPE_MAINTAINER_pn-vte="Yu Ke <ke.yu@intel.com>" 3305RECIPE_MAINTAINER_pn-vte="Yu Ke <ke.yu@intel.com>"
3033 3306
3034RECIPE_STATUS_pn-qemugl="green" # no update needed 3307RECIPE_STATUS_pn-qemugl="green" # no update needed
@@ -3037,6 +3310,8 @@ RECIPE_NO_OF_PATCHES_pn-qemugl="1"
3037RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qemugl="n/a" 3310RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qemugl="n/a"
3038RECIPE_LATEST_RELEASE_DATE_pn-qemugl="2009/05/30" 3311RECIPE_LATEST_RELEASE_DATE_pn-qemugl="2009/05/30"
3039RECIPE_INTEL_SECTION_pn-qemugl="graphic app" 3312RECIPE_INTEL_SECTION_pn-qemugl="graphic app"
3313RECIPE_LAST_UPDATE_pn-qemugl = "Nov 28, 2010"
3314RECIPE_NO_UPDATE_REASON_pn-qemugl = "Do not upgrade to version: 33466cd8 because the upstream is broken in x86_64 build"
3040RECIPE_MAINTAINER_pn-qemugl="Yu Ke <ke.yu@intel.com>" 3315RECIPE_MAINTAINER_pn-qemugl="Yu Ke <ke.yu@intel.com>"
3041 3316
3042RECIPE_STATUS_pn-fotowall="green" # no update needed 3317RECIPE_STATUS_pn-fotowall="green" # no update needed
@@ -3046,6 +3321,7 @@ RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-fotowall="2 monthes"
3046RECIPE_LATEST_RELEASE_DATE_pn-fotowall="2009/12/08" 3321RECIPE_LATEST_RELEASE_DATE_pn-fotowall="2009/12/08"
3047RECIPE_INTEL_SECTION_pn-fotowall="graphic app" 3322RECIPE_INTEL_SECTION_pn-fotowall="graphic app"
3048RECIPE_LATEST_VERSION_pn-fotowall="" 3323RECIPE_LATEST_VERSION_pn-fotowall=""
3324RECIPE_LAST_UPDATE_pn-fotowall = "Aug 25, 2010"
3049RECIPE_MAINTAINER_pn-fotowall="Yu Ke <ke.yu@intel.com>" 3325RECIPE_MAINTAINER_pn-fotowall="Yu Ke <ke.yu@intel.com>"
3050DISTRO_PN_ALIAS_pn-fotowall = "Fedora=fotowall Ubuntu=fotowall" 3326DISTRO_PN_ALIAS_pn-fotowall = "Fedora=fotowall Ubuntu=fotowall"
3051 3327
@@ -3055,6 +3331,7 @@ RECIPE_NO_OF_PATCHES_pn-imake = "0"
3055RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-imake = "1 month" 3331RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-imake = "1 month"
3056RECIPE_LATEST_RELEASE_DATE_pn-imake = "2010/04/16" 3332RECIPE_LATEST_RELEASE_DATE_pn-imake = "2010/04/16"
3057RECIPE_INTEL_SECTION_pn-imake = "graphic app" 3333RECIPE_INTEL_SECTION_pn-imake = "graphic app"
3334RECIPE_LAST_UPDATE_pn-imake = "Nov 21, 2010"
3058RECIPE_MAINTAINER_pn-imake = "Yu Ke <ke.yu@intel.com>" 3335RECIPE_MAINTAINER_pn-imake = "Yu Ke <ke.yu@intel.com>"
3059 3336
3060RECIPE_STATUS_pn-qt4-tools-native = "green" # no update needed 3337RECIPE_STATUS_pn-qt4-tools-native = "green" # no update needed
@@ -3063,6 +3340,7 @@ RECIPE_NO_OF_PATCHES_pn-qt4-tools-native = "3"
3063RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qt4-tools-native = "4 monthes" 3340RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-qt4-tools-native = "4 monthes"
3064RECIPE_LATEST_RELEASE_DATE_pn-qt4-tools-native = "2010/06/02" 3341RECIPE_LATEST_RELEASE_DATE_pn-qt4-tools-native = "2010/06/02"
3065RECIPE_INTEL_SECTION_pn-qt4-tools-native = "graphic app" 3342RECIPE_INTEL_SECTION_pn-qt4-tools-native = "graphic app"
3343RECIPE_LAST_UPDATE_pn-qt4-tools-native = "Aug 25, 2010"
3066RECIPE_MAINTAINER_pn-qt4-tools-native = "Yu Ke <ke.yu@intel.com>" 3344RECIPE_MAINTAINER_pn-qt4-tools-native = "Yu Ke <ke.yu@intel.com>"
3067DISTRO_PN_ALIAS_pn-qt4-tools-native = "Mandriva=libqt4-devel Ubuntu=libqt4-dev" 3345DISTRO_PN_ALIAS_pn-qt4-tools-native = "Mandriva=libqt4-devel Ubuntu=libqt4-dev"
3068 3346
@@ -3072,6 +3350,7 @@ RECIPE_NO_OF_PATCHES_pn-quicky = "0"
3072RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-quicky = "n/a" 3350RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-quicky = "n/a"
3073RECIPE_LATEST_RELEASE_DATE_pn-quicky = "2008/06/18" 3351RECIPE_LATEST_RELEASE_DATE_pn-quicky = "2008/06/18"
3074RECIPE_INTEL_SECTION_pn-quicky = "graphic app" 3352RECIPE_INTEL_SECTION_pn-quicky = "graphic app"
3353RECIPE_LAST_UPDATE_pn-quicky = "Aug 25, 2010"
3075RECIPE_MAINTAINER_pn-quicky = "Yu Ke <ke.yu@intel.com>" 3354RECIPE_MAINTAINER_pn-quicky = "Yu Ke <ke.yu@intel.com>"
3076DISTRO_PN_ALIAS_pn-quicky = "OSPDT" 3355DISTRO_PN_ALIAS_pn-quicky = "OSPDT"
3077# 3356#
@@ -3085,6 +3364,7 @@ RECIPE_NO_OF_PATCHES_pn-bigreqsproto="0"
3085RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-bigreqsproto="3 years" 3364RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-bigreqsproto="3 years"
3086RECIPE_LATEST_RELEASE_DATE_pn-bigreqsproto="2009/08/26" 3365RECIPE_LATEST_RELEASE_DATE_pn-bigreqsproto="2009/08/26"
3087RECIPE_INTEL_SECTION_pn-bigreqsproto="graphic core" 3366RECIPE_INTEL_SECTION_pn-bigreqsproto="graphic core"
3367RECIPE_LAST_UPDATE_pn-bigreqsproto = "Jan 18, 2011"
3088RECIPE_MAINTAINER_pn-bigreqsproto="Yu Ke <ke.yu@intel.com>" 3368RECIPE_MAINTAINER_pn-bigreqsproto="Yu Ke <ke.yu@intel.com>"
3089 3369
3090RECIPE_STATUS_pn-evieext="green" # no update needed 3370RECIPE_STATUS_pn-evieext="green" # no update needed
@@ -3094,6 +3374,7 @@ RECIPE_NO_OF_PATCHES_pn-evieext="0"
3094RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-evieext="3 years" 3374RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-evieext="3 years"
3095RECIPE_LATEST_RELEASE_DATE_pn-evieext="2009/08/26" 3375RECIPE_LATEST_RELEASE_DATE_pn-evieext="2009/08/26"
3096RECIPE_INTEL_SECTION_pn-evieext="graphic core" 3376RECIPE_INTEL_SECTION_pn-evieext="graphic core"
3377RECIPE_LAST_UPDATE_pn-evieext = "Feb 3, 2010"
3097RECIPE_MAINTAINER_pn-evieext="Yu Ke <ke.yu@intel.com>" 3378RECIPE_MAINTAINER_pn-evieext="Yu Ke <ke.yu@intel.com>"
3098 3379
3099RECIPE_STATUS_pn-libxxf86dga="green" # no update needed 3380RECIPE_STATUS_pn-libxxf86dga="green" # no update needed
@@ -3102,6 +3383,7 @@ RECIPE_NO_OF_PATCHES_pn-libxxf86dga="0"
3102RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxxf86dga="1 month" 3383RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxxf86dga="1 month"
3103RECIPE_LATEST_RELEASE_DATE_pn-libxxf86dga="2009/10/06" 3384RECIPE_LATEST_RELEASE_DATE_pn-libxxf86dga="2009/10/06"
3104RECIPE_INTEL_SECTION_pn-libxxf86dga="graphic core" 3385RECIPE_INTEL_SECTION_pn-libxxf86dga="graphic core"
3386RECIPE_LAST_UPDATE_pn-libxxf86dga = "Nov 24, 2010"
3105RECIPE_MAINTAINER_pn-libxxf86dga="Yu Ke <ke.yu@intel.com>" 3387RECIPE_MAINTAINER_pn-libxxf86dga="Yu Ke <ke.yu@intel.com>"
3106 3388
3107RECIPE_STATUS_pn-x11-common="green" # no update needed 3389RECIPE_STATUS_pn-x11-common="green" # no update needed
@@ -3110,6 +3392,7 @@ RECIPE_NO_OF_PATCHES_pn-x11-common="0"
3110RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-x11-common="n/a" # local file without release 3392RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-x11-common="n/a" # local file without release
3111RECIPE_LATEST_RELEASE_DATE_pn-x11-common="2008/09/22" # per poky git log 3393RECIPE_LATEST_RELEASE_DATE_pn-x11-common="2008/09/22" # per poky git log
3112RECIPE_INTEL_SECTION_pn-x11-common="graphic core" 3394RECIPE_INTEL_SECTION_pn-x11-common="graphic core"
3395RECIPE_LAST_UPDATE_pn-x11-common = "Sep 22, 2008"
3113RECIPE_MAINTAINER_pn-x11-common="Yu Ke <ke.yu@intel.com>" 3396RECIPE_MAINTAINER_pn-x11-common="Yu Ke <ke.yu@intel.com>"
3114 3397
3115RECIPE_STATUS_pn-xf86-input-keyboard="green" # no update needed 3398RECIPE_STATUS_pn-xf86-input-keyboard="green" # no update needed
@@ -3119,6 +3402,7 @@ RECIPE_NO_OF_PATCHES_pn-xf86-input-keyboard="0"
3119RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86-input-keyboard="9 monthes" 3402RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86-input-keyboard="9 monthes"
3120RECIPE_LATEST_RELEASE_DATE_pn-xf86-input-keyboard="2009/10/07" 3403RECIPE_LATEST_RELEASE_DATE_pn-xf86-input-keyboard="2009/10/07"
3121RECIPE_INTEL_SECTION_pn-xf86-input-keyboard="graphic core" 3404RECIPE_INTEL_SECTION_pn-xf86-input-keyboard="graphic core"
3405RECIPE_LAST_UPDATE_pn-xf86-input-keyboard = "Jan 18, 2011"
3122RECIPE_MAINTAINER_pn-xf86-input-keyboard="Yu Ke <ke.yu@intel.com>" 3406RECIPE_MAINTAINER_pn-xf86-input-keyboard="Yu Ke <ke.yu@intel.com>"
3123 3407
3124RECIPE_STATUS_pn-xf86-input-mouse="green" # no update needed 3408RECIPE_STATUS_pn-xf86-input-mouse="green" # no update needed
@@ -3128,6 +3412,7 @@ RECIPE_NO_OF_PATCHES_pn-xf86-input-mouse="0"
3128RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86-input-mouse="9 monthes" 3412RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86-input-mouse="9 monthes"
3129RECIPE_LATEST_RELEASE_DATE_pn-xf86-input-mouse="2010/09/09" 3413RECIPE_LATEST_RELEASE_DATE_pn-xf86-input-mouse="2010/09/09"
3130RECIPE_INTEL_SECTION_pn-xf86-input-mouse="graphic core" 3414RECIPE_INTEL_SECTION_pn-xf86-input-mouse="graphic core"
3415RECIPE_LAST_UPDATE_pn-xf86-input-mouse = "Nov 12, 2010"
3131RECIPE_MAINTAINER_pn-xf86-input-mouse="Yu Ke <ke.yu@intel.com>" 3416RECIPE_MAINTAINER_pn-xf86-input-mouse="Yu Ke <ke.yu@intel.com>"
3132 3417
3133RECIPE_STATUS_pn-xf86-input-vmmouse="green" # update needed 3418RECIPE_STATUS_pn-xf86-input-vmmouse="green" # update needed
@@ -3137,6 +3422,7 @@ RECIPE_NO_OF_PATCHES_pn-xf86-input-vmmouse="0"
3137RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86-input-vmmouse="1 month" 3422RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86-input-vmmouse="1 month"
3138RECIPE_LATEST_RELEASE_DATE_pn-xf86-input-vmmouse="2010/08/10" 3423RECIPE_LATEST_RELEASE_DATE_pn-xf86-input-vmmouse="2010/08/10"
3139RECIPE_INTEL_SECTION_pn-xf86-input-vmmouse="graphic core" 3424RECIPE_INTEL_SECTION_pn-xf86-input-vmmouse="graphic core"
3425RECIPE_LAST_UPDATE_pn-xf86-input-vmmouse = "Nov 12, 2010"
3140RECIPE_MAINTAINER_pn-xf86-input-vmmouse="Yu Ke <ke.yu@intel.com>" 3426RECIPE_MAINTAINER_pn-xf86-input-vmmouse="Yu Ke <ke.yu@intel.com>"
3141 3427
3142RECIPE_STATUS_pn-libdrm="green" # no update needed 3428RECIPE_STATUS_pn-libdrm="green" # no update needed
@@ -3145,6 +3431,7 @@ RECIPE_NO_OF_PATCHES_pn-libdrm="1"
3145RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libdrm="1 month" 3431RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libdrm="1 month"
3146RECIPE_LATEST_RELEASE_DATE_pn-libdrm="2010/06/10" 3432RECIPE_LATEST_RELEASE_DATE_pn-libdrm="2010/06/10"
3147RECIPE_INTEL_SECTION_pn-libdrm="graphic core" 3433RECIPE_INTEL_SECTION_pn-libdrm="graphic core"
3434RECIPE_LAST_UPDATE_pn-libdrm = "Jan 18, 2011"
3148RECIPE_MAINTAINER_pn-libdrm="Yu Ke <ke.yu@intel.com>" 3435RECIPE_MAINTAINER_pn-libdrm="Yu Ke <ke.yu@intel.com>"
3149 3436
3150RECIPE_STATUS_pn-python-pycairo="green" # no upgrade needed 3437RECIPE_STATUS_pn-python-pycairo="green" # no upgrade needed
@@ -3154,6 +3441,7 @@ RECIPE_NO_OF_PATCHES_pn-python-pycairo="0"
3154RECIPE_LATEST_RELEASE_DATE_pn-python-pycairo="2010/05/20" 3441RECIPE_LATEST_RELEASE_DATE_pn-python-pycairo="2010/05/20"
3155RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-python-pycairo="9 months" 3442RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-python-pycairo="9 months"
3156RECIPE_INTEL_SECTION_pn-python-pycairo="graphic core" 3443RECIPE_INTEL_SECTION_pn-python-pycairo="graphic core"
3444RECIPE_LAST_UPDATE_pn-python-pycairo = "Aug 16, 2010"
3157RECIPE_MAINTAINER_pn-python-pycairo="Yu Ke <ke.yu@intel.com>" 3445RECIPE_MAINTAINER_pn-python-pycairo="Yu Ke <ke.yu@intel.com>"
3158 3446
3159RECIPE_STATUS_pn-libxfontcache="green" # no update neededd 3447RECIPE_STATUS_pn-libxfontcache="green" # no update neededd
@@ -3162,6 +3450,7 @@ RECIPE_NO_OF_PATCHES_pn-libxfontcache="0"
3162RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxfontcache="3 years" 3450RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxfontcache="3 years"
3163RECIPE_LATEST_RELEASE_DATE_pn-libxfontcache="2009/10/08" 3451RECIPE_LATEST_RELEASE_DATE_pn-libxfontcache="2009/10/08"
3164RECIPE_INTEL_SECTION_pn-libxfontcache="graphic core" 3452RECIPE_INTEL_SECTION_pn-libxfontcache="graphic core"
3453RECIPE_LAST_UPDATE_pn-libxfontcache = "Jun 23, 2010"
3165RECIPE_MAINTAINER_pn-libxfontcache="Yu Ke <ke.yu@intel.com>" 3454RECIPE_MAINTAINER_pn-libxfontcache="Yu Ke <ke.yu@intel.com>"
3166 3455
3167RECIPE_STATUS_pn-xf86-input-evdev="green" # no update needed 3456RECIPE_STATUS_pn-xf86-input-evdev="green" # no update needed
@@ -3171,6 +3460,7 @@ RECIPE_NO_OF_PATCHES_pn-xf86-input-evdev="0"
3171RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86-input-evdev="1 monthes" 3460RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86-input-evdev="1 monthes"
3172RECIPE_LATEST_RELEASE_DATE_pn-xf86-input-evdev="2010/08/23" 3461RECIPE_LATEST_RELEASE_DATE_pn-xf86-input-evdev="2010/08/23"
3173RECIPE_INTEL_SECTION_pn-xf86-input-evdev="graphic core" 3462RECIPE_INTEL_SECTION_pn-xf86-input-evdev="graphic core"
3463RECIPE_LAST_UPDATE_pn-xf86-input-evdev = "Jan 18, 2011"
3174RECIPE_MAINTAINER_pn-xf86-input-evdev="Yu Ke <ke.yu@intel.com>" 3464RECIPE_MAINTAINER_pn-xf86-input-evdev="Yu Ke <ke.yu@intel.com>"
3175 3465
3176RECIPE_STATUS_pn-xf86-video-vmware="green" # no update needed 3466RECIPE_STATUS_pn-xf86-video-vmware="green" # no update needed
@@ -3180,6 +3470,7 @@ RECIPE_NO_OF_PATCHES_pn-xf86-video-vmware="0"
3180RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86-video-vmware="2 monthes" 3470RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86-video-vmware="2 monthes"
3181RECIPE_LATEST_RELEASE_DATE_pn-xf86-video-vmware="2010/11/09" 3471RECIPE_LATEST_RELEASE_DATE_pn-xf86-video-vmware="2010/11/09"
3182RECIPE_INTEL_SECTION_pn-xf86-video-vmware="graphic core" 3472RECIPE_INTEL_SECTION_pn-xf86-video-vmware="graphic core"
3473RECIPE_LAST_UPDATE_pn-xf86-video-vmware = "Nov 12, 2010"
3183RECIPE_MAINTAINER_pn-xf86-video-vmware="Yu Ke <ke.yu@intel.com>" 3474RECIPE_MAINTAINER_pn-xf86-video-vmware="Yu Ke <ke.yu@intel.com>"
3184 3475
3185RECIPE_STATUS_pn-xf86-video-vesa = "green" # no update needed 3476RECIPE_STATUS_pn-xf86-video-vesa = "green" # no update needed
@@ -3188,6 +3479,7 @@ RECIPE_NO_OF_PATCHES_pn-xf86-video-vesa = "0"
3188RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86-video-vesa = "6 monthes" 3479RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86-video-vesa = "6 monthes"
3189RECIPE_LATEST_RELEASE_DATE_pn-xf86-video-vesa = "2010/01/04" 3480RECIPE_LATEST_RELEASE_DATE_pn-xf86-video-vesa = "2010/01/04"
3190RECIPE_INTEL_SECTION_pn-xf86-video-vesa = "graphic core" 3481RECIPE_INTEL_SECTION_pn-xf86-video-vesa = "graphic core"
3482RECIPE_LAST_UPDATE_pn-xf86-video-vesa = "May 17, 2010"
3191RECIPE_MAINTAINER_pn-xf86-video-vesa = "Yu Ke <ke.yu@intel.com>" 3483RECIPE_MAINTAINER_pn-xf86-video-vesa = "Yu Ke <ke.yu@intel.com>"
3192DISTRO_PN_ALIAS_pn-xf86-video-vesa = "Debian=xserver-xorg-video-vesa Fedora=xorg-x11-drv-vesa Mandriva=x11-driver-video-vesa Ubuntu=xserver-xorg-video-vesa" 3484DISTRO_PN_ALIAS_pn-xf86-video-vesa = "Debian=xserver-xorg-video-vesa Fedora=xorg-x11-drv-vesa Mandriva=x11-driver-video-vesa Ubuntu=xserver-xorg-video-vesa"
3193 3485
@@ -3198,6 +3490,7 @@ RECIPE_NO_OF_PATCHES_pn-cairo="1"
3198RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cairo="1 monthes" 3490RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cairo="1 monthes"
3199RECIPE_LATEST_RELEASE_DATE_pn-cairo="2010/02/20" 3491RECIPE_LATEST_RELEASE_DATE_pn-cairo="2010/02/20"
3200RECIPE_INTEL_SECTION_pn-cairo="graphic core" 3492RECIPE_INTEL_SECTION_pn-cairo="graphic core"
3493RECIPE_LAST_UPDATE_pn-cairo = "Jan 18, 2011"
3201RECIPE_MAINTAINER_pn-cairo="Yu Ke <ke.yu@intel.com>" 3494RECIPE_MAINTAINER_pn-cairo="Yu Ke <ke.yu@intel.com>"
3202 3495
3203RECIPE_STATUS_pn-xserver-nodm-init="green" # no update needed 3496RECIPE_STATUS_pn-xserver-nodm-init="green" # no update needed
@@ -3214,6 +3507,7 @@ RECIPE_NO_OF_PATCHES_pn-xserver-xf86-config="0"
3214#RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xserver-xf86-config="" 3507#RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xserver-xf86-config=""
3215#RECIPE_LATEST_RELEASE_DATE_pn-xserver-xf86-config="" 3508#RECIPE_LATEST_RELEASE_DATE_pn-xserver-xf86-config=""
3216RECIPE_INTEL_SECTION_pn-xserver-xf86-config="graphic core" 3509RECIPE_INTEL_SECTION_pn-xserver-xf86-config="graphic core"
3510RECIPE_LAST_UPDATE_pn-xserver-xf86-config = "May 31, 2009"
3217RECIPE_MAINTAINER_pn-xserver-xf86-config="Yu Ke <ke.yu@intel.com>" 3511RECIPE_MAINTAINER_pn-xserver-xf86-config="Yu Ke <ke.yu@intel.com>"
3218 3512
3219RECIPE_STATUS_pn-pango="green" # no update needed 3513RECIPE_STATUS_pn-pango="green" # no update needed
@@ -3222,6 +3516,7 @@ RECIPE_NO_OF_PATCHES_pn-pango="1"
3222RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pango="1 month" 3516RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pango="1 month"
3223RECIPE_LATEST_RELEASE_DATE_pn-pango="2010/03/10" 3517RECIPE_LATEST_RELEASE_DATE_pn-pango="2010/03/10"
3224RECIPE_INTEL_SECTION_pn-pango="graphic core" 3518RECIPE_INTEL_SECTION_pn-pango="graphic core"
3519RECIPE_LAST_UPDATE_pn-pango = "Nov 21, 2010"
3225RECIPE_MAINTAINER_pn-pango="Yu Ke <ke.yu@intel.com>" 3520RECIPE_MAINTAINER_pn-pango="Yu Ke <ke.yu@intel.com>"
3226 3521
3227RECIPE_STATUS_pn-mesa-dri="green" # no update needed 3522RECIPE_STATUS_pn-mesa-dri="green" # no update needed
@@ -3230,6 +3525,7 @@ RECIPE_NO_OF_PATCHES_pn-mesa-dri="1"
3230RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mesa-dri="2 monthes" 3525RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mesa-dri="2 monthes"
3231RECIPE_LATEST_RELEASE_DATE_pn-mesa-dri="2010/06/17" 3526RECIPE_LATEST_RELEASE_DATE_pn-mesa-dri="2010/06/17"
3232RECIPE_INTEL_SECTION_pn-mesa-dri="graphic core" 3527RECIPE_INTEL_SECTION_pn-mesa-dri="graphic core"
3528RECIPE_LAST_UPDATE_pn-mesa-dri = "Jan 18, 2011"
3233RECIPE_MAINTAINER_pn-mesa-dri="Yu Ke <ke.yu@intel.com>" 3529RECIPE_MAINTAINER_pn-mesa-dri="Yu Ke <ke.yu@intel.com>"
3234 3530
3235RECIPE_STATUS_pn-mesa-dri-glsl-native="green" # no update needed 3531RECIPE_STATUS_pn-mesa-dri-glsl-native="green" # no update needed
@@ -3238,6 +3534,7 @@ RECIPE_NO_OF_PATCHES_pn-mesa-dri-glsl-native="0"
3238RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mesa-dri-glsl-native="2 monthes" 3534RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mesa-dri-glsl-native="2 monthes"
3239RECIPE_LATEST_RELEASE_DATE_pn-mesa-dri-glsl-native="2010/06/17" 3535RECIPE_LATEST_RELEASE_DATE_pn-mesa-dri-glsl-native="2010/06/17"
3240RECIPE_INTEL_SECTION_pn-mesa-dri-glsl-native="graphic core" 3536RECIPE_INTEL_SECTION_pn-mesa-dri-glsl-native="graphic core"
3537RECIPE_LAST_UPDATE_pn-mesa-dri-glsl-native = "Jan 18, 2011"
3241RECIPE_MAINTAINER_pn-mesa-dri-glsl-native = "Yu Ke <ke.yu@intel.com>" 3538RECIPE_MAINTAINER_pn-mesa-dri-glsl-native = "Yu Ke <ke.yu@intel.com>"
3242DISTRO_PN_ALIAS_pn-mesa-dri-glsl-native = "Fedora=mesa Ubuntu=libgl1-mesa-dri" 3539DISTRO_PN_ALIAS_pn-mesa-dri-glsl-native = "Fedora=mesa Ubuntu=libgl1-mesa-dri"
3243 3540
@@ -3247,6 +3544,7 @@ RECIPE_NO_OF_PATCHES_pn-mesa-xlib="0"
3247RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mesa-xlib="2 monthes" 3544RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-mesa-xlib="2 monthes"
3248RECIPE_LATEST_RELEASE_DATE_pn-mesa-xlib="2010/06/17" 3545RECIPE_LATEST_RELEASE_DATE_pn-mesa-xlib="2010/06/17"
3249RECIPE_INTEL_SECTION_pn-mesa-xlib="graphic core" 3546RECIPE_INTEL_SECTION_pn-mesa-xlib="graphic core"
3547RECIPE_LAST_UPDATE_pn-mesa-xlib = "Nov 27, 2010"
3250RECIPE_MAINTAINER_pn-mesa-xlib="Yu Ke <ke.yu@intel.com>" 3548RECIPE_MAINTAINER_pn-mesa-xlib="Yu Ke <ke.yu@intel.com>"
3251 3549
3252RECIPE_STATUS_pn-xserver-xf86-dri-lite="green" # no update needed 3550RECIPE_STATUS_pn-xserver-xf86-dri-lite="green" # no update needed
@@ -3255,39 +3553,39 @@ RECIPE_NO_OF_PATCHES_pn-xserver-xf86-dri-lite="2"
3255RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xserver-xf86-dri-lite="2 monthes" 3553RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xserver-xf86-dri-lite="2 monthes"
3256RECIPE_LATEST_RELEASE_DATE_pn-xserver-xf86-dri-lite="2010/07/01" 3554RECIPE_LATEST_RELEASE_DATE_pn-xserver-xf86-dri-lite="2010/07/01"
3257RECIPE_INTEL_SECTION_pn-xserver-xf86-dri-lite="graphic core" 3555RECIPE_INTEL_SECTION_pn-xserver-xf86-dri-lite="graphic core"
3556RECIPE_LAST_UPDATE_pn-xserver-xf86-dri-lite = "Jan 18, 2011"
3258RECIPE_MAINTAINER_pn-xserver-xf86-dri-lite="Yu Ke <ke.yu@intel.com>" 3557RECIPE_MAINTAINER_pn-xserver-xf86-dri-lite="Yu Ke <ke.yu@intel.com>"
3259 3558
3260RECIPE_STATUS_pn-xf86-input-synaptics = "red" 3559RECIPE_STATUS_pn-xf86-input-synaptics = "red"
3261DISTRO_PN_ALIAS_pn-xf86-input-synaptics = "Meego=xorg-x11-drv-synaptics Fedora=xorg-x11-drv-synaptics Ubuntu=xserver-xorg-input-synaptics Mandriva=x11-driver-input-synaptics Debian=xfree86-driver-synaptics" 3560DISTRO_PN_ALIAS_pn-xf86-input-synaptics = "Meego=xorg-x11-drv-synaptics Fedora=xorg-x11-drv-synaptics Ubuntu=xserver-xorg-input-synaptics Mandriva=x11-driver-input-synaptics Debian=xfree86-driver-synaptics"
3262RECIPE_LATEST_VERSION_pn-xf86-input-synaptics = "1.2.2" 3561RECIPE_LATEST_VERSION_pn-xf86-input-synaptics = "1.2.2"
3562RECIPE_LAST_UPDATE_pn-xf86-input-synaptics = "Jan 18, 2011"
3263RECIPE_MAINTAINER_pn-xf86-input-synaptics = "Yu Ke <ke.yu@intel.com>" 3563RECIPE_MAINTAINER_pn-xf86-input-synaptics = "Yu Ke <ke.yu@intel.com>"
3264 3564
3265RECIPE_STATUS_pn-xf86-video-intel = "red" 3565RECIPE_STATUS_pn-xf86-video-intel = "red"
3266DISTRO_PN_ALIAS_pn-xf86-video-intel = "Debian=xserver-xorg-video-intel Fedora=xorg-x11-drv-intel Mandriva=x11-driver-video-intel Meego=xorg-x11-drv-intel Ubuntu=xserver-xorg-video-intel" 3566DISTRO_PN_ALIAS_pn-xf86-video-intel = "Debian=xserver-xorg-video-intel Fedora=xorg-x11-drv-intel Mandriva=x11-driver-video-intel Meego=xorg-x11-drv-intel Ubuntu=xserver-xorg-video-intel"
3267RECIPE_LATEST_VERSION_pn-xf86-video-intel = "2.11.0" 3567RECIPE_LATEST_VERSION_pn-xf86-video-intel = "2.11.0"
3568RECIPE_LAST_UPDATE_pn-xf86-video-intel = "Jan 18, 2011"
3268RECIPE_MAINTAINER_pn-xf86-video-intel = "Yu Ke <ke.yu@intel.com>" 3569RECIPE_MAINTAINER_pn-xf86-video-intel = "Yu Ke <ke.yu@intel.com>"
3269 3570
3270RECIPE_STATUS_pn-xf86-video-omapfb = "red" 3571RECIPE_STATUS_pn-xf86-video-omapfb = "red"
3271DISTRO_PN_ALIAS_pn-xf86-video-omapfb = "OSPDT" 3572DISTRO_PN_ALIAS_pn-xf86-video-omapfb = "OSPDT"
3272RECIPE_LATEST_VERSION_pn-xf86-video-omapfb = "0.1.1+git_db636c8436265c3d86" 3573RECIPE_LATEST_VERSION_pn-xf86-video-omapfb = "0.1.1+git_db636c8436265c3d86"
3574RECIPE_LAST_UPDATE_pn-xf86-video-omapfb = "Mar 1, 2010"
3273RECIPE_MAINTAINER_pn-xf86-video-omapfb = "Yu Ke <ke.yu@intel.com>" 3575RECIPE_MAINTAINER_pn-xf86-video-omapfb = "Yu Ke <ke.yu@intel.com>"
3274 3576
3275RECIPE_STATUS_pn-xorg-cf-files = "red"
3276RECIPE_LATEST_VERSION_pn-xorg-cf-files = "1.0.3"
3277RECIPE_MAINTAINER_pn-xorg-cf-files = "Yu Ke <ke.yu@intel.com>"
3278DISTRO_PN_ALIAS_pn-xorg-cf-files = "Fedora=imake Ubuntu=xutils-dev"
3279
3280RECIPE_STATUS_pn-libdrm-poulsbo = "green" # no update needed 3577RECIPE_STATUS_pn-libdrm-poulsbo = "green" # no update needed
3281RECIPE_LATEST_VERSION_pn-libdrm-poulsbo = "2.3.0" 3578RECIPE_LATEST_VERSION_pn-libdrm-poulsbo = "2.3.0"
3282RECIPE_NO_OF_PATCHES_pn-libdrm-poulsbo = "1" 3579RECIPE_NO_OF_PATCHES_pn-libdrm-poulsbo = "1"
3283RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libdrm-poulsbo = "n/a" 3580RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libdrm-poulsbo = "n/a"
3284RECIPE_LATEST_RELEASE_DATE_pn-libdrm-poulsbo = "n/a" 3581RECIPE_LATEST_RELEASE_DATE_pn-libdrm-poulsbo = "n/a"
3285RECIPE_INTEL_SECTION_pn-libdrm-poulsbo = "graphic core" 3582RECIPE_INTEL_SECTION_pn-libdrm-poulsbo = "graphic core"
3583RECIPE_LAST_UPDATE_pn-libdrm-poulsbo = "Dec 20, 2010"
3286RECIPE_MAINTAINER_pn-libdrm-poulsbo = "Yu Ke <ke.yu@intel.com>" 3584RECIPE_MAINTAINER_pn-libdrm-poulsbo = "Yu Ke <ke.yu@intel.com>"
3287DISTRO_PN_ALIAS_pn-libdrm-poulsbo = "Debian=libdrm-intel1 Ubuntu=libdrm-intel1" 3585DISTRO_PN_ALIAS_pn-libdrm-poulsbo = "Debian=libdrm-intel1 Ubuntu=libdrm-intel1"
3288 3586
3289RECIPE_STATUS_pn-libxsettings-client = "green" 3587RECIPE_STATUS_pn-libxsettings-client = "green"
3290DEPENDENCY_CHECK_pn-libxsettings-client = "not done" 3588RECIPE_DEPENDENCY_CHECK_pn-libxsettings-client = "not done"
3291RECIPE_LATEST_VERSION_pn-libxsettings-client = "0.10" 3589RECIPE_LATEST_VERSION_pn-libxsettings-client = "0.10"
3292RECIPE_NO_OF_PATCHES_pn-libxsettings-client = "1" 3590RECIPE_NO_OF_PATCHES_pn-libxsettings-client = "1"
3293RECIPE_PATCH_pn-libxsettings-client+link-x11 = "add the linkage to X11" 3591RECIPE_PATCH_pn-libxsettings-client+link-x11 = "add the linkage to X11"
@@ -3295,12 +3593,13 @@ RECIPE_INTEL_SECTION_pn-libxsettings-client = "x11/libs"
3295RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxsettings-client = "stable" 3593RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxsettings-client = "stable"
3296RECIPE_LATEST_RELEASE_DATE_pn-libxsettings-client = "03/2007" 3594RECIPE_LATEST_RELEASE_DATE_pn-libxsettings-client = "03/2007"
3297RECIPE_COMMENTS_pn-libxsettings-client = "" 3595RECIPE_COMMENTS_pn-libxsettings-client = ""
3596RECIPE_LAST_UPDATE_pn-libxsettings-client = "Sep 21, 2006"
3298RECIPE_MAINTAINER_pn-libxsettings-client = "Dexuan Cui <dexuan.cui@intel.com>" 3597RECIPE_MAINTAINER_pn-libxsettings-client = "Dexuan Cui <dexuan.cui@intel.com>"
3299DISTRO_PN_ALIAS_pn-libxsettings-client = "Debian=libxsettings-client0 Ubuntu=libxsettings-client0 Mandriva=libXsettings-client0" 3598DISTRO_PN_ALIAS_pn-libxsettings-client = "Debian=libxsettings-client0 Ubuntu=libxsettings-client0 Mandriva=libXsettings-client0"
3300 3599
3301RECIPE_STATUS_pn-settings-daemon = "green" 3600RECIPE_STATUS_pn-settings-daemon = "green"
3302DISTRO_PN_ALIAS_pn-settings-daemon = "OpenedHand" 3601DISTRO_PN_ALIAS_pn-settings-daemon = "OpenedHand"
3303DEPENDENCY_CHECK_pn-settings-daemon = "not done" 3602RECIPE_DEPENDENCY_CHECK_pn-settings-daemon = "not done"
3304RECIPE_LATEST_VERSION_pn-settings-daemon = "0.0+svnr2059" 3603RECIPE_LATEST_VERSION_pn-settings-daemon = "0.0+svnr2059"
3305RECIPE_NO_OF_PATCHES_pn-settings-daemon = "1" 3604RECIPE_NO_OF_PATCHES_pn-settings-daemon = "1"
3306RECIPE_PATCH_pn-settings-daemon+addsoundkeys = "add extra gnome/gconf schemas" 3605RECIPE_PATCH_pn-settings-daemon+addsoundkeys = "add extra gnome/gconf schemas"
@@ -3308,21 +3607,23 @@ RECIPE_INTEL_SECTION_pn-settings-daemon = "x11"
3308RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-settings-daemon = "2 months" 3607RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-settings-daemon = "2 months"
3309RECIPE_LATEST_RELEASE_DATE_pn-settings-daemon = "06/2008" 3608RECIPE_LATEST_RELEASE_DATE_pn-settings-daemon = "06/2008"
3310RECIPE_COMMENTS_pn-settings-daemon = "" 3609RECIPE_COMMENTS_pn-settings-daemon = ""
3610RECIPE_LAST_UPDATE_pn-settings-daemon = "Jan 18, 2008"
3311RECIPE_MAINTAINER_pn-settings-daemon = "Dexuan Cui <dexuan.cui@intel.com>" 3611RECIPE_MAINTAINER_pn-settings-daemon = "Dexuan Cui <dexuan.cui@intel.com>"
3312 3612
3313RECIPE_STATUS_pn-encodings = "green" 3613RECIPE_STATUS_pn-encodings = "green"
3314DISTRO_PN_ALIAS_pn-encodings = "Ubuntu=xfonts-encodings Mandriva=x11-font-encodings Debian=xfonts-encodings" 3614DISTRO_PN_ALIAS_pn-encodings = "Ubuntu=xfonts-encodings Mandriva=x11-font-encodings Debian=xfonts-encodings"
3315DEPENDENCY_CHECK_pn-encodings = "not done" 3615RECIPE_DEPENDENCY_CHECK_pn-encodings = "not done"
3316RECIPE_LATEST_VERSION_pn-encodings = "1.0.3" 3616RECIPE_LATEST_VERSION_pn-encodings = "1.0.3"
3317RECIPE_NO_OF_PATCHES_pn-encodings = "0" 3617RECIPE_NO_OF_PATCHES_pn-encodings = "0"
3318RECIPE_INTEL_SECTION_pn-encodings = "x11/fonts" 3618RECIPE_INTEL_SECTION_pn-encodings = "x11/fonts"
3319RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-encodings = "3 years" 3619RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-encodings = "3 years"
3320RECIPE_LATEST_RELEASE_DATE_pn-encodings = "10/2009" 3620RECIPE_LATEST_RELEASE_DATE_pn-encodings = "10/2009"
3321RECIPE_COMMENTS_pn-encodings = "" 3621RECIPE_COMMENTS_pn-encodings = ""
3622RECIPE_LAST_UPDATE_pn-encodings = "Nov 24, 2010"
3322RECIPE_MAINTAINER_pn-encodings = "Dexuan Cui <dexuan.cui@intel.com>" 3623RECIPE_MAINTAINER_pn-encodings = "Dexuan Cui <dexuan.cui@intel.com>"
3323 3624
3324RECIPE_STATUS_pn-font-alias = "green" 3625RECIPE_STATUS_pn-font-alias = "green"
3325DEPENDENCY_CHECK_pn-font-alias = "not done" 3626RECIPE_DEPENDENCY_CHECK_pn-font-alias = "not done"
3326RECIPE_LATEST_VERSION_pn-font-alias = "1.0.2" 3627RECIPE_LATEST_VERSION_pn-font-alias = "1.0.2"
3327RECIPE_NO_OF_PATCHES_pn-font-alias = "1" 3628RECIPE_NO_OF_PATCHES_pn-font-alias = "1"
3328RECIPE_PATCH_pn-font-alias+fix_COPYING_1f8141a5e3b585dfccc748400b05c9c24b41e767 = "update the COPYING file" 3629RECIPE_PATCH_pn-font-alias+fix_COPYING_1f8141a5e3b585dfccc748400b05c9c24b41e767 = "update the COPYING file"
@@ -3330,24 +3631,27 @@ RECIPE_INTEL_SECTION_pn-font-alias = "x11/fonts"
3330RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-font-alias = "3 years" 3631RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-font-alias = "3 years"
3331RECIPE_LATEST_RELEASE_DATE_pn-font-alias = "10/2009" 3632RECIPE_LATEST_RELEASE_DATE_pn-font-alias = "10/2009"
3332RECIPE_COMMENTS_pn-font-alias = "" 3633RECIPE_COMMENTS_pn-font-alias = ""
3634RECIPE_LAST_UPDATE_pn-font-alias = "Nov 24, 2010"
3333RECIPE_MAINTAINER_pn-font-alias = "Dexuan Cui <dexuan.cui@intel.com>" 3635RECIPE_MAINTAINER_pn-font-alias = "Dexuan Cui <dexuan.cui@intel.com>"
3334DISTRO_PN_ALIAS_pn-font-alias = "Fedora=xorg-x11-fonts-base Mandriva=x11-font-alias Meego=xorg-x11-fonts" 3636DISTRO_PN_ALIAS_pn-font-alias = "Fedora=xorg-x11-fonts-base Mandriva=x11-font-alias Meego=xorg-x11-fonts"
3335 3637
3336RECIPE_STATUS_pn-font-util = "green" 3638RECIPE_STATUS_pn-font-util = "green"
3337DISTRO_PN_ALIAS_pn-font-util = "Meego=xorg-x11-font-utils Fedora=xorg-x11-font-utils Ubuntu=xfonts-utils Mandriva=x11-font-util Debian=xfonts-utils" 3639DISTRO_PN_ALIAS_pn-font-util = "Meego=xorg-x11-font-utils Fedora=xorg-x11-font-utils Ubuntu=xfonts-utils Mandriva=x11-font-util Debian=xfonts-utils"
3338DEPENDENCY_CHECK_pn-font-util = "not done" 3640RECIPE_DEPENDENCY_CHECK_pn-font-util = "not done"
3339RECIPE_LATEST_VERSION_pn-font-util = "1.1.1" 3641RECIPE_LATEST_VERSION_pn-font-util = "1.1.1"
3340RECIPE_NO_OF_PATCHES_pn-font-util = "0" 3642RECIPE_NO_OF_PATCHES_pn-font-util = "0"
3341RECIPE_INTEL_SECTION_pn-font-util = "x11/fonts" 3643RECIPE_INTEL_SECTION_pn-font-util = "x11/fonts"
3342RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-font-util = "relatively stable" 3644RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-font-util = "relatively stable"
3343RECIPE_LATEST_RELEASE_DATE_pn-font-util = "10/12/2009" 3645RECIPE_LATEST_RELEASE_DATE_pn-font-util = "10/12/2009"
3344RECIPE_COMMENTS_pn-font-util = "the 4th license in COPYING is Unicode License?" 3646RECIPE_COMMENTS_pn-font-util = "the 4th license in COPYING is Unicode License?"
3647RECIPE_LAST_UPDATE_pn-font-util = "Nov 24, 2010"
3345RECIPE_MAINTAINER_pn-font-util = "Dexuan Cui <dexuan.cui@intel.com>" 3648RECIPE_MAINTAINER_pn-font-util = "Dexuan Cui <dexuan.cui@intel.com>"
3346 3649
3347RECIPE_STATUS_pn-xorg-minimal-fonts = "green" 3650RECIPE_STATUS_pn-xorg-minimal-fonts = "green"
3348DISTRO_PN_ALIAS_pn-xorg-minimal-fonts = "Ubuntu=xfonts-base Fedora=xorg-x11-fonts-base" 3651DISTRO_PN_ALIAS_pn-xorg-minimal-fonts = "Ubuntu=xfonts-base Fedora=xorg-x11-fonts-base"
3349DEPENDENCY_CHECK_pn-xorg-minimal-fonts = "not done" 3652RECIPE_DEPENDENCY_CHECK_pn-xorg-minimal-fonts = "not done"
3350RECIPE_LATEST_VERSION_pn-xorg-minimal-fonts = "1.0" 3653RECIPE_LATEST_VERSION_pn-xorg-minimal-fonts = "1.0"
3654RECIPE_MANUAL_CHECK_DATE_pn-xorg-minimal-fonts = "Jan 28, 2011"
3351RECIPE_NO_OF_PATCHES_pn-xorg-minimal-fonts = "0" 3655RECIPE_NO_OF_PATCHES_pn-xorg-minimal-fonts = "0"
3352RECIPE_INTEL_SECTION_pn-xorg-minimal-fonts = "x11/fonts" 3656RECIPE_INTEL_SECTION_pn-xorg-minimal-fonts = "x11/fonts"
3353RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xorg-minimal-fonts = "" 3657RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xorg-minimal-fonts = ""
@@ -3357,7 +3661,7 @@ RECIPE_MAINTAINER_pn-xorg-minimal-fonts = "Dexuan Cui <dexuan.cui@intel.com>"
3357 3661
3358RECIPE_STATUS_pn-calibrateproto = "green" 3662RECIPE_STATUS_pn-calibrateproto = "green"
3359DISTRO_PN_ALIAS_pn-calibrateproto = "OSPDT upstream=http://cgit.freedesktop.org/xorg/proto/calibrateproto" 3663DISTRO_PN_ALIAS_pn-calibrateproto = "OSPDT upstream=http://cgit.freedesktop.org/xorg/proto/calibrateproto"
3360DEPENDENCY_CHECK_pn-calibrateproto = "not done" 3664RECIPE_DEPENDENCY_CHECK_pn-calibrateproto = "not done"
3361RECIPE_LATEST_VERSION_pn-calibrateproto = "0.0+git0+1da6fd1e2c7a49648245c98481fabea8b9690a8c" 3665RECIPE_LATEST_VERSION_pn-calibrateproto = "0.0+git0+1da6fd1e2c7a49648245c98481fabea8b9690a8c"
3362RECIPE_NO_OF_PATCHES_pn-calibrateproto = "1" 3666RECIPE_NO_OF_PATCHES_pn-calibrateproto = "1"
3363RECIPE_PATCH_pn-calibrateproto+fix = "Add missing length fields to the replies. Without these, sanity checking in recent X breaks things. RP 11/2/10" 3667RECIPE_PATCH_pn-calibrateproto+fix = "Add missing length fields to the replies. Without these, sanity checking in recent X breaks things. RP 11/2/10"
@@ -3366,440 +3670,482 @@ RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-calibrateproto = "1 month"
3366RECIPE_LATEST_RELEASE_DATE_pn-calibrateproto = "01/2008" 3670RECIPE_LATEST_RELEASE_DATE_pn-calibrateproto = "01/2008"
3367RECIPE_COMMENTS_pn-calibrateproto = "" 3671RECIPE_COMMENTS_pn-calibrateproto = ""
3368DISTRO_PN_ALIAS_pn-calibrateproto = "OSPDT upstream=http://cgit.freedesktop.org/xorg/lib/libXCalibrate/" 3672DISTRO_PN_ALIAS_pn-calibrateproto = "OSPDT upstream=http://cgit.freedesktop.org/xorg/lib/libXCalibrate/"
3673RECIPE_LAST_UPDATE_pn-calibrateproto = "Feb 11, 2008"
3369RECIPE_MAINTAINER_pn-calibrateproto = "Dexuan Cui <dexuan.cui@intel.com>" 3674RECIPE_MAINTAINER_pn-calibrateproto = "Dexuan Cui <dexuan.cui@intel.com>"
3370 3675
3371RECIPE_STATUS_pn-compositeproto = "green" 3676RECIPE_STATUS_pn-compositeproto = "green"
3372DISTRO_PN_ALIAS_pn-compositeproto = "Meego=xorg-x11-proto-compositeproto" 3677DISTRO_PN_ALIAS_pn-compositeproto = "Meego=xorg-x11-proto-compositeproto"
3373DEPENDENCY_CHECK_pn-compositeproto = "not done" 3678RECIPE_DEPENDENCY_CHECK_pn-compositeproto = "not done"
3374RECIPE_LATEST_VERSION_pn-compositeproto = "0.4" 3679RECIPE_LATEST_VERSION_pn-compositeproto = "0.4.2"
3375RECIPE_NO_OF_PATCHES_pn-compositeproto = "0" 3680RECIPE_NO_OF_PATCHES_pn-compositeproto = "0"
3376RECIPE_INTEL_SECTION_pn-compositeproto = "x11/libs" 3681RECIPE_INTEL_SECTION_pn-compositeproto = "x11/libs"
3377RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-compositeproto = "1 year" 3682RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-compositeproto = "1 year"
3378RECIPE_LATEST_RELEASE_DATE_pn-compositeproto = "07/2007" 3683RECIPE_LATEST_RELEASE_DATE_pn-compositeproto = "Oct 29, 2010"
3379RECIPE_COMMENTS_pn-compositeproto = "" 3684RECIPE_COMMENTS_pn-compositeproto = ""
3685RECIPE_LAST_UPDATE_pn-compositeproto = "Jan 5, 2011"
3380RECIPE_MAINTAINER_pn-compositeproto = "Dexuan Cui <dexuan.cui@intel.com>" 3686RECIPE_MAINTAINER_pn-compositeproto = "Dexuan Cui <dexuan.cui@intel.com>"
3381 3687
3382RECIPE_STATUS_pn-damageproto = "green" 3688RECIPE_STATUS_pn-damageproto = "green"
3383DISTRO_PN_ALIAS_pn-damageproto = "Meego=xorg-x11-proto-damageproto" 3689DISTRO_PN_ALIAS_pn-damageproto = "Meego=xorg-x11-proto-damageproto"
3384DEPENDENCY_CHECK_pn-damageproto = "not done" 3690RECIPE_DEPENDENCY_CHECK_pn-damageproto = "not done"
3385RECIPE_LATEST_VERSION_pn-damageproto = "1.2.1" 3691RECIPE_LATEST_VERSION_pn-damageproto = "1.2.1"
3386RECIPE_NO_OF_PATCHES_pn-damageproto = "0" 3692RECIPE_NO_OF_PATCHES_pn-damageproto = "0"
3387RECIPE_INTEL_SECTION_pn-damageproto = "x11/libs" 3693RECIPE_INTEL_SECTION_pn-damageproto = "x11/libs"
3388RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-damageproto = "1+ years" 3694RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-damageproto = "1+ years"
3389RECIPE_LATEST_RELEASE_DATE_pn-damageproto = "Oct 29, 2010" 3695RECIPE_LATEST_RELEASE_DATE_pn-damageproto = "Oct 29, 2010"
3390RECIPE_COMMENTS_pn-damageproto = "" 3696RECIPE_COMMENTS_pn-damageproto = ""
3697RECIPE_LAST_UPDATE_pn-damageproto = "Nov 16, 2010"
3391RECIPE_MAINTAINER_pn-damageproto = "Dexuan Cui <dexuan.cui@intel.com>" 3698RECIPE_MAINTAINER_pn-damageproto = "Dexuan Cui <dexuan.cui@intel.com>"
3392 3699
3393RECIPE_STATUS_pn-dmxproto = "green" 3700RECIPE_STATUS_pn-dmxproto = "green"
3394DISTRO_PN_ALIAS_pn-dmxproto = "Meego=xorg-x11-proto-dmxproto Ubuntu=x11proto-dmx Debian=x11proto-dmx" 3701DISTRO_PN_ALIAS_pn-dmxproto = "Meego=xorg-x11-proto-dmxproto Ubuntu=x11proto-dmx Debian=x11proto-dmx"
3395DEPENDENCY_CHECK_pn-dmxproto = "not done" 3702RECIPE_DEPENDENCY_CHECK_pn-dmxproto = "not done"
3396RECIPE_LATEST_VERSION_pn-dmxproto = "2.3" 3703RECIPE_LATEST_VERSION_pn-dmxproto = "2.3.1"
3397RECIPE_NO_OF_PATCHES_pn-dmxproto = "0" 3704RECIPE_NO_OF_PATCHES_pn-dmxproto = "0"
3398RECIPE_INTEL_SECTION_pn-dmxproto = "x11/libs" 3705RECIPE_INTEL_SECTION_pn-dmxproto = "x11/libs"
3399RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dmxproto = "2 months" 3706RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dmxproto = "1+ years"
3400RECIPE_LATEST_RELEASE_DATE_pn-dmxproto = "10/2009" 3707RECIPE_LATEST_RELEASE_DATE_pn-dmxproto = "Jan 5, 2011"
3401RECIPE_COMMENTS_pn-dmxproto = "" 3708RECIPE_COMMENTS_pn-dmxproto = ""
3709RECIPE_LAST_UPDATE_pn-dmxproto = "Jan 28, 2011"
3402RECIPE_MAINTAINER_pn-dmxproto = "Dexuan Cui <dexuan.cui@intel.com>" 3710RECIPE_MAINTAINER_pn-dmxproto = "Dexuan Cui <dexuan.cui@intel.com>"
3403 3711
3404RECIPE_STATUS_pn-fixesproto = "green" 3712RECIPE_STATUS_pn-fixesproto = "green"
3405DISTRO_PN_ALIAS_pn-fixesproto = "Meego=xorg-x11-proto-fixesproto" 3713DISTRO_PN_ALIAS_pn-fixesproto = "Meego=xorg-x11-proto-fixesproto"
3406DEPENDENCY_CHECK_pn-fixesproto = "not done" 3714RECIPE_DEPENDENCY_CHECK_pn-fixesproto = "not done"
3407RECIPE_LATEST_VERSION_pn-fixesproto = "4.1.2" 3715RECIPE_LATEST_VERSION_pn-fixesproto = "4.1.2"
3408RECIPE_NO_OF_PATCHES_pn-fixesproto = "0" 3716RECIPE_NO_OF_PATCHES_pn-fixesproto = "0"
3409RECIPE_INTEL_SECTION_pn-fixesproto = "x11/libs" 3717RECIPE_INTEL_SECTION_pn-fixesproto = "x11/libs"
3410RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-fixesproto = "1 year" 3718RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-fixesproto = "1 year"
3411RECIPE_LATEST_RELEASE_DATE_pn-fixesproto = "Oct 29, 2010" 3719RECIPE_LATEST_RELEASE_DATE_pn-fixesproto = "Oct 29, 2010"
3412RECIPE_COMMENTS_pn-fixesproto = "" 3720RECIPE_COMMENTS_pn-fixesproto = ""
3721RECIPE_LAST_UPDATE_pn-fixesproto = "Nov 16, 2010"
3413RECIPE_MAINTAINER_pn-fixesproto = "Dexuan Cui <dexuan.cui@intel.com>" 3722RECIPE_MAINTAINER_pn-fixesproto = "Dexuan Cui <dexuan.cui@intel.com>"
3414 3723
3415RECIPE_STATUS_pn-fontcacheproto = "green" 3724RECIPE_STATUS_pn-fontcacheproto = "green"
3416DISTRO_PN_ALIAS_pn-fontcacheproto = "Meego=xorg-x11-proto-fontcacheproto" 3725DISTRO_PN_ALIAS_pn-fontcacheproto = "Meego=xorg-x11-proto-fontcacheproto"
3417DEPENDENCY_CHECK_pn-fontcacheproto = "not done" 3726RECIPE_DEPENDENCY_CHECK_pn-fontcacheproto = "not done"
3418RECIPE_LATEST_VERSION_pn-fontcacheproto = "0.1.3" 3727RECIPE_LATEST_VERSION_pn-fontcacheproto = "0.1.3"
3419RECIPE_NO_OF_PATCHES_pn-fontcacheproto = "0" 3728RECIPE_NO_OF_PATCHES_pn-fontcacheproto = "0"
3420RECIPE_INTEL_SECTION_pn-fontcacheproto = "x11/libs" 3729RECIPE_INTEL_SECTION_pn-fontcacheproto = "x11/libs"
3421RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-fontcacheproto = "3 years" 3730RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-fontcacheproto = "3 years"
3422RECIPE_LATEST_RELEASE_DATE_pn-fontcacheproto = "10/2009" 3731RECIPE_LATEST_RELEASE_DATE_pn-fontcacheproto = "10/2009"
3423RECIPE_COMMENTS_pn-fontcacheproto = "" 3732RECIPE_COMMENTS_pn-fontcacheproto = ""
3733RECIPE_LAST_UPDATE_pn-fontcacheproto = "Feb 3, 2010"
3424RECIPE_MAINTAINER_pn-fontcacheproto = "Dexuan Cui <dexuan.cui@intel.com>" 3734RECIPE_MAINTAINER_pn-fontcacheproto = "Dexuan Cui <dexuan.cui@intel.com>"
3425 3735
3426RECIPE_STATUS_pn-fontsproto = "green" 3736RECIPE_STATUS_pn-fontsproto = "green"
3427DISTRO_PN_ALIAS_pn-fontsproto = "Meego=xorg-x11-proto-fontsproto" 3737DISTRO_PN_ALIAS_pn-fontsproto = "Meego=xorg-x11-proto-fontsproto"
3428DEPENDENCY_CHECK_pn-fontsproto = "not done" 3738RECIPE_DEPENDENCY_CHECK_pn-fontsproto = "not done"
3429RECIPE_LATEST_VERSION_pn-fontsproto = "2.1.1" 3739RECIPE_LATEST_VERSION_pn-fontsproto = "2.1.1"
3430RECIPE_NO_OF_PATCHES_pn-fontsproto = "0" 3740RECIPE_NO_OF_PATCHES_pn-fontsproto = "0"
3431RECIPE_INTEL_SECTION_pn-fontsproto = "x11/libs" 3741RECIPE_INTEL_SECTION_pn-fontsproto = "x11/libs"
3432RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-fontsproto = "1+ years" 3742RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-fontsproto = "1+ years"
3433RECIPE_LATEST_RELEASE_DATE_pn-fontsproto = "Oct 29, 2010" 3743RECIPE_LATEST_RELEASE_DATE_pn-fontsproto = "Oct 29, 2010"
3434RECIPE_COMMENTS_pn-fontsproto = "" 3744RECIPE_COMMENTS_pn-fontsproto = ""
3745RECIPE_LAST_UPDATE_pn-fontsproto = "Nov 16, 2010"
3435RECIPE_MAINTAINER_pn-fontsproto = "Dexuan Cui <dexuan.cui@intel.com>" 3746RECIPE_MAINTAINER_pn-fontsproto = "Dexuan Cui <dexuan.cui@intel.com>"
3436 3747
3437RECIPE_STATUS_pn-glproto = "green" 3748RECIPE_STATUS_pn-glproto = "green"
3438DISTRO_PN_ALIAS_pn-glproto = "Meego=xorg-x11-proto-glproto" 3749DISTRO_PN_ALIAS_pn-glproto = "Meego=xorg-x11-proto-glproto"
3439DEPENDENCY_CHECK_pn-glproto = "not done" 3750RECIPE_DEPENDENCY_CHECK_pn-glproto = "not done"
3440RECIPE_LATEST_VERSION_pn-glproto = "1.4.12" 3751RECIPE_LATEST_VERSION_pn-glproto = "1.4.12"
3441RECIPE_NO_OF_PATCHES_pn-glproto = "0" 3752RECIPE_NO_OF_PATCHES_pn-glproto = "0"
3442RECIPE_INTEL_SECTION_pn-glproto = "x11/libs" 3753RECIPE_INTEL_SECTION_pn-glproto = "x11/libs"
3443RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-glproto = "7 months" 3754RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-glproto = "7 months"
3444RECIPE_LATEST_RELEASE_DATE_pn-glproto = "Aug 10, 2010" 3755RECIPE_LATEST_RELEASE_DATE_pn-glproto = "Aug 10, 2010"
3445RECIPE_COMMENTS_pn-glproto = "" 3756RECIPE_COMMENTS_pn-glproto = ""
3757RECIPE_LAST_UPDATE_pn-glproto = "Nov 16, 2010"
3446RECIPE_MAINTAINER_pn-glproto = "Dexuan Cui <dexuan.cui@intel.com>" 3758RECIPE_MAINTAINER_pn-glproto = "Dexuan Cui <dexuan.cui@intel.com>"
3447 3759
3448RECIPE_STATUS_pn-inputproto = "green" 3760RECIPE_STATUS_pn-inputproto = "green"
3449DISTRO_PN_ALIAS_pn-inputproto = "Meego=xorg-x11-proto-inputproto" 3761DISTRO_PN_ALIAS_pn-inputproto = "Meego=xorg-x11-proto-inputproto"
3450DEPENDENCY_CHECK_pn-inputproto = "not done" 3762RECIPE_DEPENDENCY_CHECK_pn-inputproto = "not done"
3451RECIPE_LATEST_VERSION_pn-inputproto = "2.0" 3763RECIPE_LATEST_VERSION_pn-inputproto = "2.0.1"
3452RECIPE_NO_OF_PATCHES_pn-inputproto = "0" 3764RECIPE_NO_OF_PATCHES_pn-inputproto = "0"
3453RECIPE_INTEL_SECTION_pn-inputproto = "x11/libs" 3765RECIPE_INTEL_SECTION_pn-inputproto = "x11/libs"
3454RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-inputproto = "2 months" 3766RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-inputproto = "1 year"
3455RECIPE_LATEST_RELEASE_DATE_pn-inputproto = "10/2009" 3767RECIPE_LATEST_RELEASE_DATE_pn-inputproto = "Nov 10, 2010"
3456RECIPE_COMMENTS_pn-inputproto = "" 3768RECIPE_COMMENTS_pn-inputproto = ""
3769RECIPE_LAST_UPDATE_pn-inputproto = "Jan 5, 2011"
3457RECIPE_MAINTAINER_pn-inputproto = "Dexuan Cui <dexuan.cui@intel.com>" 3770RECIPE_MAINTAINER_pn-inputproto = "Dexuan Cui <dexuan.cui@intel.com>"
3458 3771
3459RECIPE_STATUS_pn-kbproto = "green" 3772RECIPE_STATUS_pn-kbproto = "green"
3460DISTRO_PN_ALIAS_pn-kbproto = "Meego=xorg-x11-proto-kbproto Ubuntu=x11proto-kb-dev Debian=x11proto-kb-dev" 3773DISTRO_PN_ALIAS_pn-kbproto = "Meego=xorg-x11-proto-kbproto Ubuntu=x11proto-kb-dev Debian=x11proto-kb-dev"
3461DEPENDENCY_CHECK_pn-kbproto = "not done" 3774RECIPE_DEPENDENCY_CHECK_pn-kbproto = "not done"
3462RECIPE_LATEST_VERSION_pn-kbproto = "1.0.5" 3775RECIPE_LATEST_VERSION_pn-kbproto = "1.0.5"
3463RECIPE_NO_OF_PATCHES_pn-kbproto = "0" 3776RECIPE_NO_OF_PATCHES_pn-kbproto = "0"
3464RECIPE_INTEL_SECTION_pn-kbproto = "x11/libs" 3777RECIPE_INTEL_SECTION_pn-kbproto = "x11/libs"
3465RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-kbproto = "10 months" 3778RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-kbproto = "10 months"
3466RECIPE_LATEST_RELEASE_DATE_pn-kbproto = "Aug 10, 2010" 3779RECIPE_LATEST_RELEASE_DATE_pn-kbproto = "Aug 10, 2010"
3467RECIPE_COMMENTS_pn-kbproto = "" 3780RECIPE_COMMENTS_pn-kbproto = ""
3781RECIPE_LAST_UPDATE_pn-kbproto = "Nov 16, 2010"
3468RECIPE_MAINTAINER_pn-kbproto = "Dexuan Cui <dexuan.cui@intel.com>" 3782RECIPE_MAINTAINER_pn-kbproto = "Dexuan Cui <dexuan.cui@intel.com>"
3469 3783
3470RECIPE_STATUS_pn-libdmx = "green" 3784RECIPE_STATUS_pn-libdmx = "green"
3471DEPENDENCY_CHECK_pn-libdmx = "not done" 3785RECIPE_DEPENDENCY_CHECK_pn-libdmx = "not done"
3472RECIPE_LATEST_VERSION_pn-libdmx = "1.1.0" 3786RECIPE_LATEST_VERSION_pn-libdmx = "1.1.1"
3473RECIPE_NO_OF_PATCHES_pn-libdmx = "0" 3787RECIPE_NO_OF_PATCHES_pn-libdmx = "0"
3474RECIPE_INTEL_SECTION_pn-libdmx = "x11/libs" 3788RECIPE_INTEL_SECTION_pn-libdmx = "x11/libs"
3475RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libdmx = "2 months" 3789RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libdmx = "1 year"
3476RECIPE_LATEST_RELEASE_DATE_pn-libdmx = "10/2009" 3790RECIPE_LATEST_RELEASE_DATE_pn-libdmx = "Oct 28, 2010"
3477RECIPE_COMMENTS_pn-libdmx = "" 3791RECIPE_COMMENTS_pn-libdmx = ""
3792RECIPE_LAST_UPDATE_pn-libdmx = "Jan 5, 2011"
3478RECIPE_MAINTAINER_pn-libdmx = "Dexuan Cui <dexuan.cui@intel.com>" 3793RECIPE_MAINTAINER_pn-libdmx = "Dexuan Cui <dexuan.cui@intel.com>"
3479 3794
3480RECIPE_STATUS_pn-libxi = "green" 3795RECIPE_STATUS_pn-libxi = "green"
3481DEPENDENCY_CHECK_pn-libxi = "not done" 3796RECIPE_DEPENDENCY_CHECK_pn-libxi = "not done"
3482RECIPE_LATEST_VERSION_pn-libxi = "1.3" 3797RECIPE_LATEST_VERSION_pn-libxi = "1.3"
3483RECIPE_NO_OF_PATCHES_pn-libxi = "0" 3798RECIPE_NO_OF_PATCHES_pn-libxi = "0"
3484RECIPE_INTEL_SECTION_pn-libxi = "x11/libs" 3799RECIPE_INTEL_SECTION_pn-libxi = "x11/libs"
3485RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxi = "2 months" 3800RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxi = "2 months"
3486RECIPE_LATEST_RELEASE_DATE_pn-libxi = "10/2009" 3801RECIPE_LATEST_RELEASE_DATE_pn-libxi = "10/2009"
3487RECIPE_COMMENTS_pn-libxi = "" 3802RECIPE_COMMENTS_pn-libxi = ""
3803RECIPE_LAST_UPDATE_pn-libxi = "Nov 24, 2010"
3488RECIPE_MAINTAINER_pn-libxi = "Dexuan Cui <dexuan.cui@intel.com>" 3804RECIPE_MAINTAINER_pn-libxi = "Dexuan Cui <dexuan.cui@intel.com>"
3489 3805
3490RECIPE_STATUS_pn-libxinerama = "green" 3806RECIPE_STATUS_pn-libxinerama = "green"
3491DEPENDENCY_CHECK_pn-libxinerama = "not done" 3807RECIPE_DEPENDENCY_CHECK_pn-libxinerama = "not done"
3492RECIPE_LATEST_VERSION_pn-libxinerama = "1.1" 3808RECIPE_LATEST_VERSION_pn-libxinerama = "1.1"
3493RECIPE_NO_OF_PATCHES_pn-libxinerama = "0" 3809RECIPE_NO_OF_PATCHES_pn-libxinerama = "0"
3494RECIPE_INTEL_SECTION_pn-libxinerama = "x11/libs" 3810RECIPE_INTEL_SECTION_pn-libxinerama = "x11/libs"
3495RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxinerama = "2 months" 3811RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxinerama = "2 months"
3496RECIPE_LATEST_RELEASE_DATE_pn-libxinerama = "10/2009" 3812RECIPE_LATEST_RELEASE_DATE_pn-libxinerama = "10/2009"
3497RECIPE_COMMENTS_pn-libxinerama = "" 3813RECIPE_COMMENTS_pn-libxinerama = ""
3814RECIPE_LAST_UPDATE_pn-libxinerama = "Nov 24, 2010"
3498RECIPE_MAINTAINER_pn-libxinerama = "Dexuan Cui <dexuan.cui@intel.com>" 3815RECIPE_MAINTAINER_pn-libxinerama = "Dexuan Cui <dexuan.cui@intel.com>"
3499 3816
3500RECIPE_STATUS_pn-libxp = "green" 3817RECIPE_STATUS_pn-libxp = "green"
3501DEPENDENCY_CHECK_pn-libxp = "not done" 3818RECIPE_DEPENDENCY_CHECK_pn-libxp = "not done"
3502RECIPE_LATEST_VERSION_pn-libxp = "1.0.0" 3819RECIPE_LATEST_VERSION_pn-libxp = "1.0.1"
3503RECIPE_NO_OF_PATCHES_pn-libxp = "0" 3820RECIPE_NO_OF_PATCHES_pn-libxp = "0"
3504RECIPE_INTEL_SECTION_pn-libxp = "x11/libs" 3821RECIPE_INTEL_SECTION_pn-libxp = "x11/libs"
3505RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxp = "stable" 3822RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxp = "5 years"
3506RECIPE_LATEST_RELEASE_DATE_pn-libxp = "01/2006" 3823RECIPE_LATEST_RELEASE_DATE_pn-libxp = "Jan 13, 2011"
3507RECIPE_COMMENTS_pn-libxp = "" 3824RECIPE_COMMENTS_pn-libxp = ""
3825RECIPE_LAST_UPDATE_pn-libxp = "Jan 28, 2011"
3508RECIPE_MAINTAINER_pn-libxp = "Dexuan Cui <dexuan.cui@intel.com>" 3826RECIPE_MAINTAINER_pn-libxp = "Dexuan Cui <dexuan.cui@intel.com>"
3509 3827
3510RECIPE_STATUS_pn-libxtst = "green" 3828RECIPE_STATUS_pn-libxtst = "green"
3511DEPENDENCY_CHECK_pn-libxtst = "not done" 3829RECIPE_DEPENDENCY_CHECK_pn-libxtst = "not done"
3512RECIPE_LATEST_VERSION_pn-libxtst = "1.1.0" 3830RECIPE_LATEST_VERSION_pn-libxtst = "1.1.0"
3513RECIPE_NO_OF_PATCHES_pn-libxtst = "0" 3831RECIPE_NO_OF_PATCHES_pn-libxtst = "0"
3514RECIPE_INTEL_SECTION_pn-libxtst = "x11/libs" 3832RECIPE_INTEL_SECTION_pn-libxtst = "x11/libs"
3515RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxtst = "2 months" 3833RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxtst = "2 months"
3516RECIPE_LATEST_RELEASE_DATE_pn-libxtst = "10/2009" 3834RECIPE_LATEST_RELEASE_DATE_pn-libxtst = "10/2009"
3517RECIPE_COMMENTS_pn-libxtst = "" 3835RECIPE_COMMENTS_pn-libxtst = ""
3836RECIPE_LAST_UPDATE_pn-libxtst = "Nov 24, 2010"
3518RECIPE_MAINTAINER_pn-libxtst = "Dexuan Cui <dexuan.cui@intel.com>" 3837RECIPE_MAINTAINER_pn-libxtst = "Dexuan Cui <dexuan.cui@intel.com>"
3519 3838
3520RECIPE_STATUS_pn-printproto = "green" 3839RECIPE_STATUS_pn-printproto = "green"
3521DISTRO_PN_ALIAS_pn-printproto = "Debian=x11proto-print-dev Ubuntu=x11proto-print-dev Mandriva=x11-proto-devel" 3840DISTRO_PN_ALIAS_pn-printproto = "Debian=x11proto-print-dev Ubuntu=x11proto-print-dev Mandriva=x11-proto-devel"
3522DEPENDENCY_CHECK_pn-printproto = "not done" 3841RECIPE_DEPENDENCY_CHECK_pn-printproto = "not done"
3523RECIPE_LATEST_VERSION_pn-printproto = "1.0.4" 3842RECIPE_LATEST_VERSION_pn-printproto = "1.0.5"
3524RECIPE_NO_OF_PATCHES_pn-printproto = "0" 3843RECIPE_NO_OF_PATCHES_pn-printproto = "0"
3525RECIPE_INTEL_SECTION_pn-printproto = "x11/libs" 3844RECIPE_INTEL_SECTION_pn-printproto = "x11/libs"
3526RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-printproto = "2 years" 3845RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-printproto = "2+ years"
3527RECIPE_LATEST_RELEASE_DATE_pn-printproto = "03/2008" 3846RECIPE_LATEST_RELEASE_DATE_pn-printproto = "Jan 5, 2011"
3528RECIPE_COMMENTS_pn-printproto = "" 3847RECIPE_COMMENTS_pn-printproto = ""
3848RECIPE_LAST_UPDATE_pn-printproto = "Jan 28, 2011"
3529RECIPE_MAINTAINER_pn-printproto = "Dexuan Cui <dexuan.cui@intel.com>" 3849RECIPE_MAINTAINER_pn-printproto = "Dexuan Cui <dexuan.cui@intel.com>"
3530 3850
3531RECIPE_STATUS_pn-randrproto = "green" 3851RECIPE_STATUS_pn-randrproto = "green"
3532DISTRO_PN_ALIAS_pn-randrproto = "Meego=xorg-x11-proto-randrproto" 3852DISTRO_PN_ALIAS_pn-randrproto = "Meego=xorg-x11-proto-randrproto"
3533DEPENDENCY_CHECK_pn-randrproto = "not done" 3853RECIPE_DEPENDENCY_CHECK_pn-randrproto = "not done"
3534RECIPE_LATEST_VERSION_pn-randrproto = "1.3.2" 3854RECIPE_LATEST_VERSION_pn-randrproto = "1.3.2"
3535RECIPE_NO_OF_PATCHES_pn-randrproto = "0" 3855RECIPE_NO_OF_PATCHES_pn-randrproto = "0"
3536RECIPE_INTEL_SECTION_pn-randrproto = "x11/libs" 3856RECIPE_INTEL_SECTION_pn-randrproto = "x11/libs"
3537RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-randrproto = "1 year" 3857RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-randrproto = "1 year"
3538RECIPE_LATEST_RELEASE_DATE_pn-randrproto = "Oct 29, 2010" 3858RECIPE_LATEST_RELEASE_DATE_pn-randrproto = "Oct 29, 2010"
3539RECIPE_COMMENTS_pn-randrproto = "" 3859RECIPE_COMMENTS_pn-randrproto = ""
3860RECIPE_LAST_UPDATE_pn-randrproto = "Nov 16, 2010"
3540RECIPE_MAINTAINER_pn-randrproto = "Dexuan Cui <dexuan.cui@intel.com>" 3861RECIPE_MAINTAINER_pn-randrproto = "Dexuan Cui <dexuan.cui@intel.com>"
3541 3862
3542RECIPE_STATUS_pn-recordproto = "green" 3863RECIPE_STATUS_pn-recordproto = "green"
3543DISTRO_PN_ALIAS_pn-recordproto = "Meego=xorg-x11-proto-recordproto" 3864DISTRO_PN_ALIAS_pn-recordproto = "Meego=xorg-x11-proto-recordproto"
3544DEPENDENCY_CHECK_pn-recordproto = "not done" 3865RECIPE_DEPENDENCY_CHECK_pn-recordproto = "not done"
3545RECIPE_LATEST_VERSION_pn-recordproto = "1.14.1" 3866RECIPE_LATEST_VERSION_pn-recordproto = "1.14.1"
3546RECIPE_NO_OF_PATCHES_pn-recordproto = "0" 3867RECIPE_NO_OF_PATCHES_pn-recordproto = "0"
3547RECIPE_INTEL_SECTION_pn-recordproto = "x11/libs" 3868RECIPE_INTEL_SECTION_pn-recordproto = "x11/libs"
3548RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-recordproto = "1 year" 3869RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-recordproto = "1 year"
3549RECIPE_LATEST_RELEASE_DATE_pn-recordproto = "Oct 29, 2010" 3870RECIPE_LATEST_RELEASE_DATE_pn-recordproto = "Oct 29, 2010"
3550RECIPE_COMMENTS_pn-recordproto = "" 3871RECIPE_COMMENTS_pn-recordproto = ""
3872RECIPE_LAST_UPDATE_pn-recordproto = "Nov 16, 2010"
3551RECIPE_MAINTAINER_pn-recordproto = "Dexuan Cui <dexuan.cui@intel.com>" 3873RECIPE_MAINTAINER_pn-recordproto = "Dexuan Cui <dexuan.cui@intel.com>"
3552 3874
3553RECIPE_STATUS_pn-renderproto = "green" 3875RECIPE_STATUS_pn-renderproto = "green"
3554DISTRO_PN_ALIAS_pn-renderproto = "Meego=xorg-x11-proto-renderproto" 3876DISTRO_PN_ALIAS_pn-renderproto = "Meego=xorg-x11-proto-renderproto"
3555DEPENDENCY_CHECK_pn-renderproto = "not done" 3877RECIPE_DEPENDENCY_CHECK_pn-renderproto = "not done"
3556RECIPE_LATEST_VERSION_pn-renderproto = "0.11" 3878RECIPE_LATEST_VERSION_pn-renderproto = "0.11.1"
3557RECIPE_NO_OF_PATCHES_pn-renderproto = "0" 3879RECIPE_NO_OF_PATCHES_pn-renderproto = "0"
3558RECIPE_INTEL_SECTION_pn-renderproto = "x11/libs" 3880RECIPE_INTEL_SECTION_pn-renderproto = "x11/libs"
3559RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-renderproto = "2 years" 3881RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-renderproto = "1 year"
3560RECIPE_LATEST_RELEASE_DATE_pn-renderproto = "07/2009" 3882RECIPE_LATEST_RELEASE_DATE_pn-renderproto = "Aug 10, 2010"
3561RECIPE_COMMENTS_pn-renderproto = "" 3883RECIPE_COMMENTS_pn-renderproto = ""
3884RECIPE_LAST_UPDATE_pn-renderproto = "Jan 5, 2011"
3562RECIPE_MAINTAINER_pn-renderproto = "Dexuan Cui <dexuan.cui@intel.com>" 3885RECIPE_MAINTAINER_pn-renderproto = "Dexuan Cui <dexuan.cui@intel.com>"
3563 3886
3564RECIPE_STATUS_pn-resourceproto = "green" 3887RECIPE_STATUS_pn-resourceproto = "green"
3565DISTRO_PN_ALIAS_pn-resourceproto = "Meego=xorg-x11-proto-resourceproto" 3888DISTRO_PN_ALIAS_pn-resourceproto = "Meego=xorg-x11-proto-resourceproto"
3566DEPENDENCY_CHECK_pn-resourceproto = "not done" 3889RECIPE_DEPENDENCY_CHECK_pn-resourceproto = "not done"
3567RECIPE_LATEST_VERSION_pn-resourceproto = "1.1.0" 3890RECIPE_LATEST_VERSION_pn-resourceproto = "1.1.1"
3568RECIPE_NO_OF_PATCHES_pn-resourceproto = "0" 3891RECIPE_NO_OF_PATCHES_pn-resourceproto = "0"
3569RECIPE_INTEL_SECTION_pn-resourceproto = "x11/libs" 3892RECIPE_INTEL_SECTION_pn-resourceproto = "x11/libs"
3570RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-resourceproto = "3 years" 3893RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-resourceproto = "1+ years"
3571RECIPE_LATEST_RELEASE_DATE_pn-resourceproto = "08/2009" 3894RECIPE_LATEST_RELEASE_DATE_pn-resourceproto = "Dec 8, 2010"
3572RECIPE_COMMENTS_pn-resourceproto = "" 3895RECIPE_COMMENTS_pn-resourceproto = ""
3896RECIPE_LAST_UPDATE_pn-resourceproto = "Jan 5, 2011"
3573RECIPE_MAINTAINER_pn-resourceproto = "Dexuan Cui <dexuan.cui@intel.com>" 3897RECIPE_MAINTAINER_pn-resourceproto = "Dexuan Cui <dexuan.cui@intel.com>"
3574 3898
3575RECIPE_STATUS_pn-scrnsaverproto = "green" 3899RECIPE_STATUS_pn-scrnsaverproto = "green"
3576DISTRO_PN_ALIAS_pn-scrnsaverproto = "Meego=xorg-x11-proto-scrnsaverproto Ubuntu=x11proto-scrnsaver-dev Debian=x11proto-scrnsaver-dev" 3900DISTRO_PN_ALIAS_pn-scrnsaverproto = "Meego=xorg-x11-proto-scrnsaverproto Ubuntu=x11proto-scrnsaver-dev Debian=x11proto-scrnsaver-dev"
3577DEPENDENCY_CHECK_pn-scrnsaverproto = "not done" 3901RECIPE_DEPENDENCY_CHECK_pn-scrnsaverproto = "not done"
3578RECIPE_LATEST_VERSION_pn-scrnsaverproto = "1.2.1" 3902RECIPE_LATEST_VERSION_pn-scrnsaverproto = "1.2.1"
3579RECIPE_NO_OF_PATCHES_pn-scrnsaverproto = "0" 3903RECIPE_NO_OF_PATCHES_pn-scrnsaverproto = "0"
3580RECIPE_INTEL_SECTION_pn-scrnsaverproto = "x11/libs" 3904RECIPE_INTEL_SECTION_pn-scrnsaverproto = "x11/libs"
3581RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-scrnsaverproto = "1+ years" 3905RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-scrnsaverproto = "1+ years"
3582RECIPE_LATEST_RELEASE_DATE_pn-scrnsaverproto = "Oct 29, 2010" 3906RECIPE_LATEST_RELEASE_DATE_pn-scrnsaverproto = "Oct 29, 2010"
3583RECIPE_COMMENTS_pn-scrnsaverproto = "" 3907RECIPE_COMMENTS_pn-scrnsaverproto = ""
3908RECIPE_LAST_UPDATE_pn-scrnsaverproto = "Jan 5, 2011"
3584RECIPE_MAINTAINER_pn-scrnsaverproto = "Dexuan Cui <dexuan.cui@intel.com>" 3909RECIPE_MAINTAINER_pn-scrnsaverproto = "Dexuan Cui <dexuan.cui@intel.com>"
3585 3910
3586RECIPE_STATUS_pn-trapproto = "green" 3911RECIPE_STATUS_pn-trapproto = "green"
3587DISTRO_PN_ALIAS_pn-trapproto = "Meego=xorg-x11-proto-trapproto" 3912DISTRO_PN_ALIAS_pn-trapproto = "Meego=xorg-x11-proto-trapproto"
3588DEPENDENCY_CHECK_pn-trapproto = "not done" 3913RECIPE_DEPENDENCY_CHECK_pn-trapproto = "not done"
3589RECIPE_LATEST_VERSION_pn-trapproto = "3.4.3" 3914RECIPE_LATEST_VERSION_pn-trapproto = "3.4.3"
3590RECIPE_NO_OF_PATCHES_pn-trapproto = "0" 3915RECIPE_NO_OF_PATCHES_pn-trapproto = "0"
3591RECIPE_INTEL_SECTION_pn-trapproto = "x11/libs" 3916RECIPE_INTEL_SECTION_pn-trapproto = "x11/libs"
3592RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-trapproto = "stable" 3917RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-trapproto = "stable"
3593RECIPE_LATEST_RELEASE_DATE_pn-trapproto = "01/2006" 3918RECIPE_LATEST_RELEASE_DATE_pn-trapproto = "01/2006"
3594RECIPE_COMMENTS_pn-trapproto = "" 3919RECIPE_COMMENTS_pn-trapproto = ""
3920RECIPE_LAST_UPDATE_pn-trapproto = "Jul 3, 2007"
3595RECIPE_MAINTAINER_pn-trapproto = "Dexuan Cui <dexuan.cui@intel.com>" 3921RECIPE_MAINTAINER_pn-trapproto = "Dexuan Cui <dexuan.cui@intel.com>"
3596 3922
3597RECIPE_STATUS_pn-videoproto = "green" 3923RECIPE_STATUS_pn-videoproto = "green"
3598DISTRO_PN_ALIAS_pn-videoproto = "Meego=xorg-x11-proto-videoproto" 3924DISTRO_PN_ALIAS_pn-videoproto = "Meego=xorg-x11-proto-videoproto"
3599DEPENDENCY_CHECK_pn-videoproto = "not done" 3925RECIPE_DEPENDENCY_CHECK_pn-videoproto = "not done"
3600RECIPE_LATEST_VERSION_pn-videoproto = "2.3.1" 3926RECIPE_LATEST_VERSION_pn-videoproto = "2.3.1"
3601RECIPE_NO_OF_PATCHES_pn-videoproto = "0" 3927RECIPE_NO_OF_PATCHES_pn-videoproto = "0"
3602RECIPE_INTEL_SECTION_pn-videoproto = "x11/libs" 3928RECIPE_INTEL_SECTION_pn-videoproto = "x11/libs"
3603RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-videoproto = "1 year" 3929RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-videoproto = "1 year"
3604RECIPE_LATEST_RELEASE_DATE_pn-videoproto = "Aug 10, 2010" 3930RECIPE_LATEST_RELEASE_DATE_pn-videoproto = "Aug 10, 2010"
3605RECIPE_COMMENTS_pn-videoproto = "" 3931RECIPE_COMMENTS_pn-videoproto = ""
3932RECIPE_LAST_UPDATE_pn-videoproto = "Nov 16, 2010"
3606RECIPE_MAINTAINER_pn-videoproto = "Dexuan Cui <dexuan.cui@intel.com>" 3933RECIPE_MAINTAINER_pn-videoproto = "Dexuan Cui <dexuan.cui@intel.com>"
3607 3934
3608RECIPE_STATUS_pn-xcmiscproto = "green" 3935RECIPE_STATUS_pn-xcmiscproto = "green"
3609DISTRO_PN_ALIAS_pn-xcmiscproto = "Meego=xorg-x11-proto-xcmiscproto" 3936DISTRO_PN_ALIAS_pn-xcmiscproto = "Meego=xorg-x11-proto-xcmiscproto"
3610DEPENDENCY_CHECK_pn-xcmiscproto = "not done" 3937RECIPE_DEPENDENCY_CHECK_pn-xcmiscproto = "not done"
3611RECIPE_LATEST_VERSION_pn-xcmiscproto = "1.2.1" 3938RECIPE_LATEST_VERSION_pn-xcmiscproto = "1.2.1"
3612RECIPE_NO_OF_PATCHES_pn-xcmiscproto = "0" 3939RECIPE_NO_OF_PATCHES_pn-xcmiscproto = "0"
3613RECIPE_INTEL_SECTION_pn-xcmiscproto = "x11/libs" 3940RECIPE_INTEL_SECTION_pn-xcmiscproto = "x11/libs"
3614RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xcmiscproto = "1+ years" 3941RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xcmiscproto = "1+ years"
3615RECIPE_LATEST_RELEASE_DATE_pn-xcmiscproto = "Oct 30, 2010" 3942RECIPE_LATEST_RELEASE_DATE_pn-xcmiscproto = "Oct 30, 2010"
3616RECIPE_COMMENTS_pn-xcmiscproto = "" 3943RECIPE_COMMENTS_pn-xcmiscproto = ""
3944RECIPE_LAST_UPDATE_pn-xcmiscproto = "Nov 16, 2010"
3617RECIPE_MAINTAINER_pn-xcmiscproto = "Dexuan Cui <dexuan.cui@intel.com>" 3945RECIPE_MAINTAINER_pn-xcmiscproto = "Dexuan Cui <dexuan.cui@intel.com>"
3618 3946
3619RECIPE_STATUS_pn-xf86bigfontproto = "green" 3947RECIPE_STATUS_pn-xf86bigfontproto = "green"
3620DISTRO_PN_ALIAS_pn-xf86bigfontproto = "Meego=xorg-x11-proto-xf86bigfontproto" 3948DISTRO_PN_ALIAS_pn-xf86bigfontproto = "Meego=xorg-x11-proto-xf86bigfontproto"
3621DEPENDENCY_CHECK_pn-xf86bigfontproto = "not done" 3949RECIPE_DEPENDENCY_CHECK_pn-xf86bigfontproto = "not done"
3622RECIPE_LATEST_VERSION_pn-xf86bigfontproto = "1.2.0" 3950RECIPE_LATEST_VERSION_pn-xf86bigfontproto = "1.2.0"
3623RECIPE_NO_OF_PATCHES_pn-xf86bigfontproto = "0" 3951RECIPE_NO_OF_PATCHES_pn-xf86bigfontproto = "0"
3624RECIPE_INTEL_SECTION_pn-xf86bigfontproto = "x11/libs" 3952RECIPE_INTEL_SECTION_pn-xf86bigfontproto = "x11/libs"
3625RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86bigfontproto = "3 years" 3953RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86bigfontproto = "3 years"
3626RECIPE_LATEST_RELEASE_DATE_pn-xf86bigfontproto = "08/2009" 3954RECIPE_LATEST_RELEASE_DATE_pn-xf86bigfontproto = "08/2009"
3627RECIPE_COMMENTS_pn-xf86bigfontproto = "" 3955RECIPE_COMMENTS_pn-xf86bigfontproto = ""
3956RECIPE_LAST_UPDATE_pn-xf86bigfontproto = "Feb 3, 2010"
3628RECIPE_MAINTAINER_pn-xf86bigfontproto = "Dexuan Cui <dexuan.cui@intel.com>" 3957RECIPE_MAINTAINER_pn-xf86bigfontproto = "Dexuan Cui <dexuan.cui@intel.com>"
3629 3958
3630RECIPE_STATUS_pn-xf86dgaproto = "green" 3959RECIPE_STATUS_pn-xf86dgaproto = "green"
3631DISTRO_PN_ALIAS_pn-xf86dgaproto = "Meego=xorg-x11-proto-xf86dgaproto" 3960DISTRO_PN_ALIAS_pn-xf86dgaproto = "Meego=xorg-x11-proto-xf86dgaproto"
3632DEPENDENCY_CHECK_pn-xf86dgaproto = "not done" 3961RECIPE_DEPENDENCY_CHECK_pn-xf86dgaproto = "not done"
3633RECIPE_LATEST_VERSION_pn-xf86dgaproto = "2.1" 3962RECIPE_LATEST_VERSION_pn-xf86dgaproto = "2.1"
3634RECIPE_NO_OF_PATCHES_pn-xf86dgaproto = "0" 3963RECIPE_NO_OF_PATCHES_pn-xf86dgaproto = "0"
3635RECIPE_INTEL_SECTION_pn-xf86dgaproto = "x11/libs" 3964RECIPE_INTEL_SECTION_pn-xf86dgaproto = "x11/libs"
3636RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86dgaproto = "1 month" 3965RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86dgaproto = "1 month"
3637RECIPE_LATEST_RELEASE_DATE_pn-xf86dgaproto = "10/2009" 3966RECIPE_LATEST_RELEASE_DATE_pn-xf86dgaproto = "10/2009"
3638RECIPE_COMMENTS_pn-xf86dgaproto = "" 3967RECIPE_COMMENTS_pn-xf86dgaproto = ""
3968RECIPE_LAST_UPDATE_pn-xf86dgaproto = "Feb 3, 2010"
3639RECIPE_MAINTAINER_pn-xf86dgaproto = "Dexuan Cui <dexuan.cui@intel.com>" 3969RECIPE_MAINTAINER_pn-xf86dgaproto = "Dexuan Cui <dexuan.cui@intel.com>"
3640 3970
3641RECIPE_STATUS_pn-xf86driproto = "green" 3971RECIPE_STATUS_pn-xf86driproto = "green"
3642DISTRO_PN_ALIAS_pn-xf86driproto = "Meego=xorg-x11-proto-xf86driproto" 3972DISTRO_PN_ALIAS_pn-xf86driproto = "Meego=xorg-x11-proto-xf86driproto"
3643DEPENDENCY_CHECK_pn-xf86driproto = "not done" 3973RECIPE_DEPENDENCY_CHECK_pn-xf86driproto = "not done"
3644RECIPE_LATEST_VERSION_pn-xf86driproto = "2.1.0" 3974RECIPE_LATEST_VERSION_pn-xf86driproto = "2.1.1"
3645RECIPE_NO_OF_PATCHES_pn-xf86driproto = "0" 3975RECIPE_NO_OF_PATCHES_pn-xf86driproto = "0"
3646RECIPE_INTEL_SECTION_pn-xf86driproto = "x11/libs" 3976RECIPE_INTEL_SECTION_pn-xf86driproto = "x11/libs"
3647RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86driproto = "1 year" 3977RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86driproto = "1+ year"
3648RECIPE_LATEST_RELEASE_DATE_pn-xf86driproto = "08/2009" 3978RECIPE_LATEST_RELEASE_DATE_pn-xf86driproto = "Jan 5, 2011"
3649RECIPE_COMMENTS_pn-xf86driproto = "" 3979RECIPE_COMMENTS_pn-xf86driproto = ""
3980RECIPE_LAST_UPDATE_pn-xf86driproto = "Jan 28, 2011"
3650RECIPE_MAINTAINER_pn-xf86driproto = "Dexuan Cui <dexuan.cui@intel.com>" 3981RECIPE_MAINTAINER_pn-xf86driproto = "Dexuan Cui <dexuan.cui@intel.com>"
3651 3982
3652RECIPE_STATUS_pn-xf86miscproto = "green" 3983RECIPE_STATUS_pn-xf86miscproto = "green"
3653DISTRO_PN_ALIAS_pn-xf86miscproto = "Meego=xorg-x11-proto-xf86miscproto" 3984DISTRO_PN_ALIAS_pn-xf86miscproto = "Meego=xorg-x11-proto-xf86miscproto"
3654DEPENDENCY_CHECK_pn-xf86miscproto = "not done" 3985RECIPE_DEPENDENCY_CHECK_pn-xf86miscproto = "not done"
3655RECIPE_LATEST_VERSION_pn-xf86miscproto = "0.9.3" 3986RECIPE_LATEST_VERSION_pn-xf86miscproto = "0.9.3"
3656RECIPE_NO_OF_PATCHES_pn-xf86miscproto = "0" 3987RECIPE_NO_OF_PATCHES_pn-xf86miscproto = "0"
3657RECIPE_INTEL_SECTION_pn-xf86miscproto = "x11/libs" 3988RECIPE_INTEL_SECTION_pn-xf86miscproto = "x11/libs"
3658RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86miscproto = "3 years" 3989RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86miscproto = "3 years"
3659RECIPE_LATEST_RELEASE_DATE_pn-xf86miscproto = "10/2009" 3990RECIPE_LATEST_RELEASE_DATE_pn-xf86miscproto = "10/2009"
3660RECIPE_COMMENTS_pn-xf86miscproto = "" 3991RECIPE_COMMENTS_pn-xf86miscproto = ""
3992RECIPE_LAST_UPDATE_pn-xf86miscproto = "Feb 3, 2010"
3661RECIPE_MAINTAINER_pn-xf86miscproto = "Dexuan Cui <dexuan.cui@intel.com>" 3993RECIPE_MAINTAINER_pn-xf86miscproto = "Dexuan Cui <dexuan.cui@intel.com>"
3662 3994
3663RECIPE_STATUS_pn-xf86rushproto = "green" 3995RECIPE_STATUS_pn-xf86rushproto = "green"
3664DISTRO_PN_ALIAS_pn-xf86rushproto = "Meego=xorg-x11-proto-xf86rushproto" 3996DISTRO_PN_ALIAS_pn-xf86rushproto = "Meego=xorg-x11-proto-xf86rushproto"
3665DEPENDENCY_CHECK_pn-xf86rushproto = "not done" 3997RECIPE_DEPENDENCY_CHECK_pn-xf86rushproto = "not done"
3666RECIPE_LATEST_VERSION_pn-xf86rushproto = "1.1.2" 3998RECIPE_LATEST_VERSION_pn-xf86rushproto = "1.1.2"
3667RECIPE_NO_OF_PATCHES_pn-xf86rushproto = "0" 3999RECIPE_NO_OF_PATCHES_pn-xf86rushproto = "0"
3668RECIPE_INTEL_SECTION_pn-xf86rushproto = "x11/libs" 4000RECIPE_INTEL_SECTION_pn-xf86rushproto = "x11/libs"
3669RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86rushproto = "stable" 4001RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86rushproto = "stable"
3670RECIPE_LATEST_RELEASE_DATE_pn-xf86rushproto = "01/2006" 4002RECIPE_LATEST_RELEASE_DATE_pn-xf86rushproto = "01/2006"
3671RECIPE_COMMENTS_pn-xf86rushproto = "" 4003RECIPE_COMMENTS_pn-xf86rushproto = ""
4004RECIPE_LAST_UPDATE_pn-xf86rushproto = "Jul 3, 2007"
3672RECIPE_MAINTAINER_pn-xf86rushproto = "Dexuan Cui <dexuan.cui@intel.com>" 4005RECIPE_MAINTAINER_pn-xf86rushproto = "Dexuan Cui <dexuan.cui@intel.com>"
3673 4006
3674RECIPE_STATUS_pn-xineramaproto = "green" 4007RECIPE_STATUS_pn-xineramaproto = "green"
3675DISTRO_PN_ALIAS_pn-xineramaproto = "Meego=xorg-x11-proto-xineramaproto Ubuntu=x11proto-xinerama Debian=x11proto-xinerama" 4008DISTRO_PN_ALIAS_pn-xineramaproto = "Meego=xorg-x11-proto-xineramaproto Ubuntu=x11proto-xinerama Debian=x11proto-xinerama"
3676DEPENDENCY_CHECK_pn-xineramaproto = "not done" 4009RECIPE_DEPENDENCY_CHECK_pn-xineramaproto = "not done"
3677RECIPE_LATEST_VERSION_pn-xineramaproto = "1.2" 4010RECIPE_LATEST_VERSION_pn-xineramaproto = "1.2.1"
3678RECIPE_NO_OF_PATCHES_pn-xineramaproto = "0" 4011RECIPE_NO_OF_PATCHES_pn-xineramaproto = "0"
3679RECIPE_INTEL_SECTION_pn-xineramaproto = "x11/libs" 4012RECIPE_INTEL_SECTION_pn-xineramaproto = "x11/libs"
3680RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xineramaproto = "2 months" 4013RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xineramaproto = "1+ years"
3681RECIPE_LATEST_RELEASE_DATE_pn-xineramaproto = "10/2009" 4014RECIPE_LATEST_RELEASE_DATE_pn-xineramaproto = "Jan 5, 2011"
3682RECIPE_COMMENTS_pn-xineramaproto = "" 4015RECIPE_COMMENTS_pn-xineramaproto = ""
4016RECIPE_LAST_UPDATE_pn-xineramaproto = "Jan 28, 2011"
3683RECIPE_MAINTAINER_pn-xineramaproto = "Dexuan Cui <dexuan.cui@intel.com>" 4017RECIPE_MAINTAINER_pn-xineramaproto = "Dexuan Cui <dexuan.cui@intel.com>"
3684 4018
3685RECIPE_STATUS_pn-dri2proto = "green" 4019RECIPE_STATUS_pn-dri2proto = "green"
3686DISTRO_PN_ALIAS_pn-dri2proto = "Meego=xorg-x11-proto-dri2proto" 4020DISTRO_PN_ALIAS_pn-dri2proto = "Meego=xorg-x11-proto-dri2proto"
3687DEPENDENCY_CHECK_pn-dri2proto = "not done" 4021RECIPE_DEPENDENCY_CHECK_pn-dri2proto = "not done"
3688RECIPE_LATEST_VERSION_pn-dri2proto = "2.3" 4022RECIPE_LATEST_VERSION_pn-dri2proto = "2.3"
3689RECIPE_NO_OF_PATCHES_pn-dri2proto = "0" 4023RECIPE_NO_OF_PATCHES_pn-dri2proto = "0"
3690RECIPE_INTEL_SECTION_pn-dri2proto = "x11/libs" 4024RECIPE_INTEL_SECTION_pn-dri2proto = "x11/libs"
3691RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dri2proto = "1 month" 4025RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dri2proto = "1 month"
3692RECIPE_LATEST_RELEASE_DATE_pn-dri2proto = "02/2010" 4026RECIPE_LATEST_RELEASE_DATE_pn-dri2proto = "02/2010"
3693RECIPE_COMMENTS_pn-dri2proto = "" 4027RECIPE_COMMENTS_pn-dri2proto = ""
4028RECIPE_LAST_UPDATE_pn-dri2proto = "Jun 29, 2010"
3694RECIPE_MAINTAINER_pn-dri2proto = "Dexuan Cui <dexuan.cui@intel.com>" 4029RECIPE_MAINTAINER_pn-dri2proto = "Dexuan Cui <dexuan.cui@intel.com>"
3695 4030
3696RECIPE_STATUS_pn-xcb-proto = "green" 4031RECIPE_STATUS_pn-xcb-proto = "green"
3697DEPENDENCY_CHECK_pn-xcb-proto = "not done" 4032RECIPE_DEPENDENCY_CHECK_pn-xcb-proto = "not done"
3698RECIPE_LATEST_VERSION_pn-xcb-proto = "1.6" 4033RECIPE_LATEST_VERSION_pn-xcb-proto = "1.6"
3699RECIPE_NO_OF_PATCHES_pn-xcb-proto = "0" 4034RECIPE_NO_OF_PATCHES_pn-xcb-proto = "0"
3700RECIPE_INTEL_SECTION_pn-xcb-proto = "x11/libs" 4035RECIPE_INTEL_SECTION_pn-xcb-proto = "x11/libs"
3701RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xcb-proto = "5 months" 4036RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xcb-proto = "5 months"
3702RECIPE_LATEST_RELEASE_DATE_pn-xcb-proto = "12/2009" 4037RECIPE_LATEST_RELEASE_DATE_pn-xcb-proto = "12/2009"
3703RECIPE_COMMENTS_pn-xcb-proto = "" 4038RECIPE_COMMENTS_pn-xcb-proto = ""
4039RECIPE_LAST_UPDATE_pn-xcb-proto = "Jun 29, 2010"
3704RECIPE_MAINTAINER_pn-xcb-proto = "Dexuan Cui <dexuan.cui@intel.com>" 4040RECIPE_MAINTAINER_pn-xcb-proto = "Dexuan Cui <dexuan.cui@intel.com>"
3705 4041
3706RECIPE_STATUS_pn-xextproto = "green" 4042RECIPE_STATUS_pn-xextproto = "green"
3707DISTRO_PN_ALIAS_pn-xextproto = "Meego=xorg-x11-proto-xextproto" 4043DISTRO_PN_ALIAS_pn-xextproto = "Meego=xorg-x11-proto-xextproto"
3708DEPENDENCY_CHECK_pn-xextproto = "not done" 4044RECIPE_DEPENDENCY_CHECK_pn-xextproto = "not done"
3709RECIPE_LATEST_VERSION_pn-xextproto = "7.1.2" 4045RECIPE_LATEST_VERSION_pn-xextproto = "7.1.2"
3710RECIPE_NO_OF_PATCHES_pn-xextproto = "0" 4046RECIPE_NO_OF_PATCHES_pn-xextproto = "0"
3711RECIPE_INTEL_SECTION_pn-xextproto = "x11/libs" 4047RECIPE_INTEL_SECTION_pn-xextproto = "x11/libs"
3712RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xextproto = "1 year" 4048RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xextproto = "1 year"
3713RECIPE_LATEST_RELEASE_DATE_pn-xextproto = "Aug 10, 2010" 4049RECIPE_LATEST_RELEASE_DATE_pn-xextproto = "Aug 10, 2010"
3714RECIPE_COMMENTS_pn-xextproto = "" 4050RECIPE_COMMENTS_pn-xextproto = ""
4051RECIPE_LAST_UPDATE_pn-xextproto = "Nov 16, 2010"
3715RECIPE_MAINTAINER_pn-xextproto = "Dexuan Cui <dexuan.cui@intel.com>" 4052RECIPE_MAINTAINER_pn-xextproto = "Dexuan Cui <dexuan.cui@intel.com>"
3716 4053
3717RECIPE_STATUS_pn-xf86vidmodeproto = "green" 4054RECIPE_STATUS_pn-xf86vidmodeproto = "green"
3718DISTRO_PN_ALIAS_pn-xf86vidmodeproto = "Meego=xorg-x11-proto-xf86vidmodeproto Ubuntu=x11proto-xf86vidmode Debian=x11proto-xf86vidmode" 4055DISTRO_PN_ALIAS_pn-xf86vidmodeproto = "Meego=xorg-x11-proto-xf86vidmodeproto Ubuntu=x11proto-xf86vidmode Debian=x11proto-xf86vidmode"
3719DEPENDENCY_CHECK_pn-xf86vidmodeproto = "not done" 4056RECIPE_DEPENDENCY_CHECK_pn-xf86vidmodeproto = "not done"
3720RECIPE_LATEST_VERSION_pn-xf86vidmodeproto = "2.3" 4057RECIPE_LATEST_VERSION_pn-xf86vidmodeproto = "2.3.1"
3721RECIPE_NO_OF_PATCHES_pn-xf86vidmodeproto = "0" 4058RECIPE_NO_OF_PATCHES_pn-xf86vidmodeproto = "0"
3722RECIPE_INTEL_SECTION_pn-xf86vidmodeproto = "x11/libs" 4059RECIPE_INTEL_SECTION_pn-xf86vidmodeproto = "x11/libs"
3723RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86vidmodeproto = "2 months" 4060RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xf86vidmodeproto = "1+ years"
3724RECIPE_LATEST_RELEASE_DATE_pn-xf86vidmodeproto = "10/2009" 4061RECIPE_LATEST_RELEASE_DATE_pn-xf86vidmodeproto = "Jan 5, 2011"
3725RECIPE_COMMENTS_pn-xf86vidmodeproto = "" 4062RECIPE_COMMENTS_pn-xf86vidmodeproto = ""
4063RECIPE_LAST_UPDATE_pn-xf86vidmodeproto = "Jan 28, 2011"
3726RECIPE_MAINTAINER_pn-xf86vidmodeproto = "Dexuan Cui <dexuan.cui@intel.com>" 4064RECIPE_MAINTAINER_pn-xf86vidmodeproto = "Dexuan Cui <dexuan.cui@intel.com>"
3727 4065
3728RECIPE_STATUS_pn-xproto = "green" 4066RECIPE_STATUS_pn-xproto = "green"
3729DISTRO_PN_ALIAS_pn-xproto = "Meego=xorg-x11-proto-xproto Fedora=xorg-x11-proto-devel Ubuntu=x11proto-core-dev Debian=x11proto-core-dev Opensuse=xorg-x11-proto-devel Mandriva=x11-proto-devel" 4067DISTRO_PN_ALIAS_pn-xproto = "Meego=xorg-x11-proto-xproto Fedora=xorg-x11-proto-devel Ubuntu=x11proto-core-dev Debian=x11proto-core-dev Opensuse=xorg-x11-proto-devel Mandriva=x11-proto-devel"
3730DEPENDENCY_CHECK_pn-xproto = "not done" 4068RECIPE_DEPENDENCY_CHECK_pn-xproto = "not done"
3731RECIPE_LATEST_VERSION_pn-xproto = "7.0.17" 4069RECIPE_LATEST_VERSION_pn-xproto = "7.0.20"
3732RECIPE_NO_OF_PATCHES_pn-xproto = "0" 4070RECIPE_NO_OF_PATCHES_pn-xproto = "0"
3733RECIPE_INTEL_SECTION_pn-xproto = "x11/libs" 4071RECIPE_INTEL_SECTION_pn-xproto = "x11/libs"
3734RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xproto = "8 months" 4072RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xproto = "1 month"
3735RECIPE_LATEST_RELEASE_DATE_pn-xproto = "05/2010" 4073RECIPE_LATEST_RELEASE_DATE_pn-xproto = "Dec 7, 2010"
3736RECIPE_COMMENTS_pn-xproto = "" 4074RECIPE_COMMENTS_pn-xproto = ""
4075RECIPE_LAST_UPDATE_pn-xproto = "Jan 5, 2011"
3737RECIPE_MAINTAINER_pn-xproto = "Dexuan Cui <dexuan.cui@intel.com>" 4076RECIPE_MAINTAINER_pn-xproto = "Dexuan Cui <dexuan.cui@intel.com>"
3738 4077
3739RECIPE_STATUS_pn-liberation-fonts = "green" 4078RECIPE_STATUS_pn-liberation-fonts = "green"
3740DEPENDENCY_CHECK_pn-liberation-fonts = "not done" 4079RECIPE_DEPENDENCY_CHECK_pn-liberation-fonts = "not done"
3741RECIPE_LATEST_VERSION_pn-liberation-fonts = "1.05.2.20091019" 4080RECIPE_LATEST_VERSION_pn-liberation-fonts = "1.06.0.20100721"
3742RECIPE_NO_UPDATE_REASON_pn-liberation-fonts = "1.05.2.20091019 doesn't have big differences from current version 1.04; 1.05.2.20091019 needs adding new native packages like libungif_4.1.3, libspiro and fontforge that have stability concerns" 4081RECIPE_MANUAL_CHECK_DATE_pn-liberation-fonts = "Jan 28, 2011"
4082RECIPE_NO_UPDATE_REASON_pn-liberation-fonts = "Do not upgrade to version: 1.06.0.20100721 because before doing that, we need adding new native packages like libungif_4.1.3, libspiro and fontforge first"
3743RECIPE_NO_OF_PATCHES_pn-liberation-fonts = "0" 4083RECIPE_NO_OF_PATCHES_pn-liberation-fonts = "0"
3744RECIPE_INTEL_SECTION_pn-liberation-fonts = "x11/fonts" 4084RECIPE_INTEL_SECTION_pn-liberation-fonts = "x11/fonts"
3745RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-liberation-fonts = "5 months" 4085RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-liberation-fonts = "1 month"
3746RECIPE_LATEST_RELEASE_DATE_pn-liberation-fonts = "12/26/2009" 4086RECIPE_LATEST_RELEASE_DATE_pn-liberation-fonts = "Jul 21, 2010"
3747RECIPE_COMMENTS_pn-liberation-fonts = "current version 1.04 released open source under GPLv2 with exceptions" 4087RECIPE_COMMENTS_pn-liberation-fonts = "current version 1.04 released open source under GPLv2 with exceptions"
4088RECIPE_LAST_UPDATE_pn-liberation-fonts = "Nov 24, 2010"
3748RECIPE_MAINTAINER_pn-liberation-fonts = "Dexuan Cui <dexuan.cui@intel.com>" 4089RECIPE_MAINTAINER_pn-liberation-fonts = "Dexuan Cui <dexuan.cui@intel.com>"
3749 4090
3750RECIPE_STATUS_pn-libfontenc = "green" 4091RECIPE_STATUS_pn-libfontenc = "green"
3751DEPENDENCY_CHECK_pn-libfontenc = "not done" 4092RECIPE_DEPENDENCY_CHECK_pn-libfontenc = "not done"
3752RECIPE_LATEST_VERSION_pn-libfontenc = "1.0.5" 4093RECIPE_LATEST_VERSION_pn-libfontenc = "1.0.5"
3753RECIPE_NO_OF_PATCHES_pn-libfontenc = "0" 4094RECIPE_NO_OF_PATCHES_pn-libfontenc = "0"
3754RECIPE_INTEL_SECTION_pn-libfontenc = "x11/libs" 4095RECIPE_INTEL_SECTION_pn-libfontenc = "x11/libs"
3755RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libfontenc = "3 years" 4096RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libfontenc = "3 years"
3756RECIPE_LATEST_RELEASE_DATE_pn-libfontenc = "08/2009" 4097RECIPE_LATEST_RELEASE_DATE_pn-libfontenc = "08/2009"
3757RECIPE_COMMENTS_pn-libfontenc = "" 4098RECIPE_COMMENTS_pn-libfontenc = ""
4099RECIPE_LAST_UPDATE_pn-libfontenc = "Nov 24, 2010"
3758RECIPE_MAINTAINER_pn-libfontenc = "Dexuan Cui <dexuan.cui@intel.com>" 4100RECIPE_MAINTAINER_pn-libfontenc = "Dexuan Cui <dexuan.cui@intel.com>"
3759 4101
3760RECIPE_STATUS_pn-libxfont = "green" 4102RECIPE_STATUS_pn-libxfont = "green"
3761DEPENDENCY_CHECK_pn-libxfont = "not done" 4103RECIPE_DEPENDENCY_CHECK_pn-libxfont = "not done"
3762RECIPE_LATEST_VERSION_pn-libxfont = "1.4.2" 4104RECIPE_LATEST_VERSION_pn-libxfont = "1.4.2"
3763RECIPE_NO_OF_PATCHES_pn-libxfont = "0" 4105RECIPE_NO_OF_PATCHES_pn-libxfont = "0"
3764RECIPE_INTEL_SECTION_pn-libxfont = "x11/libs" 4106RECIPE_INTEL_SECTION_pn-libxfont = "x11/libs"
3765RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxfont = "8 months" 4107RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxfont = "8 months"
3766RECIPE_LATEST_RELEASE_DATE_pn-libxfont = "10/2009" 4108RECIPE_LATEST_RELEASE_DATE_pn-libxfont = "10/2009"
3767RECIPE_COMMENTS_pn-libxfont = "the recipe file has a commented-out no-scalable-crash.patch" 4109RECIPE_COMMENTS_pn-libxfont = "the recipe file has a commented-out no-scalable-crash.patch"
4110RECIPE_LAST_UPDATE_pn-libxfont = "Nov 24, 2010"
3768RECIPE_MAINTAINER_pn-libxfont = "Dexuan Cui <dexuan.cui@intel.com>" 4111RECIPE_MAINTAINER_pn-libxfont = "Dexuan Cui <dexuan.cui@intel.com>"
3769 4112
3770RECIPE_STATUS_pn-libice = "green" 4113RECIPE_STATUS_pn-libice = "green"
3771DEPENDENCY_CHECK_pn-libice = "not done" 4114RECIPE_DEPENDENCY_CHECK_pn-libice = "not done"
3772RECIPE_LATEST_VERSION_pn-libice = "1.0.6" 4115RECIPE_LATEST_VERSION_pn-libice = "1.0.6"
3773RECIPE_NO_OF_PATCHES_pn-libice = "0" 4116RECIPE_NO_OF_PATCHES_pn-libice = "0"
3774RECIPE_INTEL_SECTION_pn-libice = "x11/libs" 4117RECIPE_INTEL_SECTION_pn-libice = "x11/libs"
3775RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libice = "7 months" 4118RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libice = "7 months"
3776RECIPE_LATEST_RELEASE_DATE_pn-libice = "08/2009" 4119RECIPE_LATEST_RELEASE_DATE_pn-libice = "08/2009"
3777RECIPE_COMMENTS_pn-libice = "" 4120RECIPE_COMMENTS_pn-libice = ""
4121RECIPE_LAST_UPDATE_pn-libice = "Nov 24, 2010"
3778RECIPE_MAINTAINER_pn-libice = "Dexuan Cui <dexuan.cui@intel.com>" 4122RECIPE_MAINTAINER_pn-libice = "Dexuan Cui <dexuan.cui@intel.com>"
3779 4123
3780RECIPE_STATUS_pn-libsm = "green" 4124RECIPE_STATUS_pn-libsm = "green"
3781DEPENDENCY_CHECK_pn-libsm = "not done" 4125RECIPE_DEPENDENCY_CHECK_pn-libsm = "not done"
3782RECIPE_LATEST_VERSION_pn-libsm = "1.1.1" 4126RECIPE_LATEST_VERSION_pn-libsm = "1.1.1"
3783RECIPE_NO_OF_PATCHES_pn-libsm = "0" 4127RECIPE_NO_OF_PATCHES_pn-libsm = "0"
3784RECIPE_INTEL_SECTION_pn-libsm = "x11/libs" 4128RECIPE_INTEL_SECTION_pn-libsm = "x11/libs"
3785RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libsm = "1 year" 4129RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libsm = "1 year"
3786RECIPE_LATEST_RELEASE_DATE_pn-libsm = "08/2009" 4130RECIPE_LATEST_RELEASE_DATE_pn-libsm = "08/2009"
3787RECIPE_COMMENTS_pn-libsm = "" 4131RECIPE_COMMENTS_pn-libsm = ""
4132RECIPE_LAST_UPDATE_pn-libsm = "Nov 24, 2010"
3788RECIPE_MAINTAINER_pn-libsm = "Dexuan Cui <dexuan.cui@intel.com>" 4133RECIPE_MAINTAINER_pn-libsm = "Dexuan Cui <dexuan.cui@intel.com>"
3789 4134
3790RECIPE_STATUS_pn-libxau = "green" 4135RECIPE_STATUS_pn-libxau = "green"
3791DEPENDENCY_CHECK_pn-libxau = "not done" 4136RECIPE_DEPENDENCY_CHECK_pn-libxau = "not done"
3792RECIPE_LATEST_VERSION_pn-libxau = "1.0.5" 4137RECIPE_LATEST_VERSION_pn-libxau = "1.0.5"
3793RECIPE_NO_OF_PATCHES_pn-libxau = "0" 4138RECIPE_NO_OF_PATCHES_pn-libxau = "0"
3794RECIPE_INTEL_SECTION_pn-libxau = "x11/libs" 4139RECIPE_INTEL_SECTION_pn-libxau = "x11/libs"
3795RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxau = "1 year" 4140RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxau = "1 year"
3796RECIPE_LATEST_RELEASE_DATE_pn-libxau = "08/2009" 4141RECIPE_LATEST_RELEASE_DATE_pn-libxau = "08/2009"
3797RECIPE_COMMENTS_pn-libxau = "" 4142RECIPE_COMMENTS_pn-libxau = ""
4143RECIPE_LAST_UPDATE_pn-libxau = "Nov 24, 2010"
3798RECIPE_MAINTAINER_pn-libxau = "Dexuan Cui <dexuan.cui@intel.com>" 4144RECIPE_MAINTAINER_pn-libxau = "Dexuan Cui <dexuan.cui@intel.com>"
3799 4145
3800RECIPE_STATUS_pn-libxcalibrate = "green" 4146RECIPE_STATUS_pn-libxcalibrate = "green"
3801DISTRO_PN_ALIAS_pn-libxcalibrate = "OSPDT upstream=http://cgit.freedesktop.org/xorg/lib/libXCalibrate/" 4147DISTRO_PN_ALIAS_pn-libxcalibrate = "OSPDT upstream=http://cgit.freedesktop.org/xorg/lib/libXCalibrate/"
3802DEPENDENCY_CHECK_pn-libxcalibrate = "not done" 4148RECIPE_DEPENDENCY_CHECK_pn-libxcalibrate = "not done"
3803RECIPE_LATEST_VERSION_pn-libxcalibrate = "0.0+git0+209d83af61ed38a002c8096377deac292b3e396c" 4149RECIPE_LATEST_VERSION_pn-libxcalibrate = "0.0+git0+209d83af61ed38a002c8096377deac292b3e396c"
3804RECIPE_NO_OF_PATCHES_pn-libxcalibrate = "1" 4150RECIPE_NO_OF_PATCHES_pn-libxcalibrate = "1"
3805RECIPE_PATCH_pn-libxcalibrate+fix-xcb = "There is no extra reply data and if we say not to disgard it, xcb throws fatal asserts. RP - 26/11/09" 4151RECIPE_PATCH_pn-libxcalibrate+fix-xcb = "There is no extra reply data and if we say not to disgard it, xcb throws fatal asserts. RP - 26/11/09"
@@ -3807,20 +4153,22 @@ RECIPE_INTEL_SECTION_pn-libxcalibrate = "x11/libs"
3807RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxcalibrate = "1 month" 4153RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxcalibrate = "1 month"
3808RECIPE_LATEST_RELEASE_DATE_pn-libxcalibrate = "03/2008" 4154RECIPE_LATEST_RELEASE_DATE_pn-libxcalibrate = "03/2008"
3809RECIPE_COMMENTS_pn-libxcalibrate = "" 4155RECIPE_COMMENTS_pn-libxcalibrate = ""
4156RECIPE_LAST_UPDATE_pn-libxcalibrate = "Jun 29, 2010"
3810RECIPE_MAINTAINER_pn-libxcalibrate = "Dexuan Cui <dexuan.cui@intel.com>" 4157RECIPE_MAINTAINER_pn-libxcalibrate = "Dexuan Cui <dexuan.cui@intel.com>"
3811 4158
3812RECIPE_STATUS_pn-libxcb = "green" 4159RECIPE_STATUS_pn-libxcb = "green"
3813DEPENDENCY_CHECK_pn-libxcb = "not done" 4160RECIPE_DEPENDENCY_CHECK_pn-libxcb = "not done"
3814RECIPE_LATEST_VERSION_pn-libxcb = "1.6" 4161RECIPE_LATEST_VERSION_pn-libxcb = "1.6"
3815RECIPE_NO_OF_PATCHES_pn-libxcb = "0" 4162RECIPE_NO_OF_PATCHES_pn-libxcb = "0"
3816RECIPE_INTEL_SECTION_pn-libxcb = "x11/libs" 4163RECIPE_INTEL_SECTION_pn-libxcb = "x11/libs"
3817RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxcb = "5 months" 4164RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxcb = "5 months"
3818RECIPE_LATEST_RELEASE_DATE_pn-libxcb = "04/2010" 4165RECIPE_LATEST_RELEASE_DATE_pn-libxcb = "04/2010"
3819RECIPE_COMMENTS_pn-libxcb = "" 4166RECIPE_COMMENTS_pn-libxcb = ""
4167RECIPE_LAST_UPDATE_pn-libxcb = "Nov 24, 2010"
3820RECIPE_MAINTAINER_pn-libxcb = "Dexuan Cui <dexuan.cui@intel.com>" 4168RECIPE_MAINTAINER_pn-libxcb = "Dexuan Cui <dexuan.cui@intel.com>"
3821 4169
3822RECIPE_STATUS_pn-libxcomposite = "green" 4170RECIPE_STATUS_pn-libxcomposite = "green"
3823DEPENDENCY_CHECK_pn-libxcomposite = "not done" 4171RECIPE_DEPENDENCY_CHECK_pn-libxcomposite = "not done"
3824RECIPE_LATEST_VERSION_pn-libxcomposite = "0.4.1" 4172RECIPE_LATEST_VERSION_pn-libxcomposite = "0.4.1"
3825RECIPE_NO_OF_PATCHES_pn-libxcomposite = "1" 4173RECIPE_NO_OF_PATCHES_pn-libxcomposite = "1"
3826RECIPE_PATCH_pn-libxcomposite+change-include-order = "This patch makes the build use its own Xcomposite.h over rather than an older Xcomposite.h that might already be installed in the staging dir." 4174RECIPE_PATCH_pn-libxcomposite+change-include-order = "This patch makes the build use its own Xcomposite.h over rather than an older Xcomposite.h that might already be installed in the staging dir."
@@ -3828,212 +4176,234 @@ RECIPE_INTEL_SECTION_pn-libxcomposite = "x11/libs"
3828RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxcomposite = "2 years" 4176RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxcomposite = "2 years"
3829RECIPE_LATEST_RELEASE_DATE_pn-libxcomposite = "10/2009" 4177RECIPE_LATEST_RELEASE_DATE_pn-libxcomposite = "10/2009"
3830RECIPE_COMMENTS_pn-libxcomposite = "" 4178RECIPE_COMMENTS_pn-libxcomposite = ""
4179RECIPE_LAST_UPDATE_pn-libxcomposite = "Nov 24, 2010"
3831RECIPE_MAINTAINER_pn-libxcomposite = "Dexuan Cui <dexuan.cui@intel.com>" 4180RECIPE_MAINTAINER_pn-libxcomposite = "Dexuan Cui <dexuan.cui@intel.com>"
3832 4181
3833RECIPE_STATUS_pn-libxrandr = "green" 4182RECIPE_STATUS_pn-libxrandr = "green"
3834DEPENDENCY_CHECK_pn-libxrandr = "not done" 4183RECIPE_DEPENDENCY_CHECK_pn-libxrandr = "not done"
3835RECIPE_LATEST_VERSION_pn-libxrandr = "1.3.0" 4184RECIPE_LATEST_VERSION_pn-libxrandr = "1.3.0"
3836RECIPE_NO_OF_PATCHES_pn-libxrandr = "0" 4185RECIPE_NO_OF_PATCHES_pn-libxrandr = "0"
3837RECIPE_INTEL_SECTION_pn-libxrandr = "x11/libs" 4186RECIPE_INTEL_SECTION_pn-libxrandr = "x11/libs"
3838RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxrandr = "4 months" 4187RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxrandr = "4 months"
3839RECIPE_LATEST_RELEASE_DATE_pn-libxrandr = "03/2009" 4188RECIPE_LATEST_RELEASE_DATE_pn-libxrandr = "03/2009"
3840RECIPE_COMMENTS_pn-libxrandr = "" 4189RECIPE_COMMENTS_pn-libxrandr = ""
4190RECIPE_LAST_UPDATE_pn-libxrandr = "Nov 24, 2010"
3841RECIPE_MAINTAINER_pn-libxrandr = "Dexuan Cui <dexuan.cui@intel.com>" 4191RECIPE_MAINTAINER_pn-libxrandr = "Dexuan Cui <dexuan.cui@intel.com>"
3842 4192
3843RECIPE_STATUS_pn-libxrender = "green" 4193RECIPE_STATUS_pn-libxrender = "green"
3844DEPENDENCY_CHECK_pn-libxrender = "not done" 4194RECIPE_DEPENDENCY_CHECK_pn-libxrender = "not done"
3845RECIPE_LATEST_VERSION_pn-libxrender = "0.9.5" 4195RECIPE_LATEST_VERSION_pn-libxrender = "0.9.5"
3846RECIPE_NO_OF_PATCHES_pn-libxrender = "0" 4196RECIPE_NO_OF_PATCHES_pn-libxrender = "0"
3847RECIPE_INTEL_SECTION_pn-libxrender = "x11/libs" 4197RECIPE_INTEL_SECTION_pn-libxrender = "x11/libs"
3848RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxrender = "2 years" 4198RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxrender = "2 years"
3849RECIPE_LATEST_RELEASE_DATE_pn-libxrender = "10/2009" 4199RECIPE_LATEST_RELEASE_DATE_pn-libxrender = "10/2009"
3850RECIPE_COMMENTS_pn-libxrender = "" 4200RECIPE_COMMENTS_pn-libxrender = ""
4201RECIPE_LAST_UPDATE_pn-libxrender = "Nov 24, 2010"
3851RECIPE_MAINTAINER_pn-libxrender = "Dexuan Cui <dexuan.cui@intel.com>" 4202RECIPE_MAINTAINER_pn-libxrender = "Dexuan Cui <dexuan.cui@intel.com>"
3852 4203
3853RECIPE_STATUS_pn-libxres = "green" 4204RECIPE_STATUS_pn-libxres = "green"
3854DEPENDENCY_CHECK_pn-libxres = "not done" 4205RECIPE_DEPENDENCY_CHECK_pn-libxres = "not done"
3855RECIPE_LATEST_VERSION_pn-libxres = "1.0.4" 4206RECIPE_LATEST_VERSION_pn-libxres = "1.0.4"
3856RECIPE_NO_OF_PATCHES_pn-libxres = "0" 4207RECIPE_NO_OF_PATCHES_pn-libxres = "0"
3857RECIPE_INTEL_SECTION_pn-libxres = "x11/libs" 4208RECIPE_INTEL_SECTION_pn-libxres = "x11/libs"
3858RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxres = "3 years" 4209RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxres = "3 years"
3859RECIPE_LATEST_RELEASE_DATE_pn-libxres = "10/2009" 4210RECIPE_LATEST_RELEASE_DATE_pn-libxres = "10/2009"
3860RECIPE_COMMENTS_pn-libxres = "" 4211RECIPE_COMMENTS_pn-libxres = ""
4212RECIPE_LAST_UPDATE_pn-libxres = "Nov 24, 2010"
3861RECIPE_MAINTAINER_pn-libxres = "Dexuan Cui <dexuan.cui@intel.com>" 4213RECIPE_MAINTAINER_pn-libxres = "Dexuan Cui <dexuan.cui@intel.com>"
3862 4214
3863RECIPE_STATUS_pn-libxt = "green" 4215RECIPE_STATUS_pn-libxt = "green"
3864DEPENDENCY_CHECK_pn-libxt = "not done" 4216RECIPE_DEPENDENCY_CHECK_pn-libxt = "not done"
3865RECIPE_LATEST_VERSION_pn-libxt = "1.0.8" 4217RECIPE_LATEST_VERSION_pn-libxt = "1.0.8"
3866RECIPE_NO_OF_PATCHES_pn-libxt = "0" 4218RECIPE_NO_OF_PATCHES_pn-libxt = "0"
3867RECIPE_INTEL_SECTION_pn-libxt = "x11/libs" 4219RECIPE_INTEL_SECTION_pn-libxt = "x11/libs"
3868RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxt = "5 months" 4220RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxt = "5 months"
3869RECIPE_LATEST_RELEASE_DATE_pn-libxt = "03/2010" 4221RECIPE_LATEST_RELEASE_DATE_pn-libxt = "03/2010"
3870RECIPE_COMMENTS_pn-libxt = "" 4222RECIPE_COMMENTS_pn-libxt = ""
4223RECIPE_LAST_UPDATE_pn-libxt = "Nov 24, 2010"
3871RECIPE_MAINTAINER_pn-libxt = "Dexuan Cui <dexuan.cui@intel.com>" 4224RECIPE_MAINTAINER_pn-libxt = "Dexuan Cui <dexuan.cui@intel.com>"
3872 4225
3873RECIPE_STATUS_pn-libxv = "green" 4226RECIPE_STATUS_pn-libxv = "green"
3874DEPENDENCY_CHECK_pn-libxv = "not done" 4227RECIPE_DEPENDENCY_CHECK_pn-libxv = "not done"
3875RECIPE_LATEST_VERSION_pn-libxv = "1.0.5" 4228RECIPE_LATEST_VERSION_pn-libxv = "1.0.5"
3876RECIPE_NO_OF_PATCHES_pn-libxv = "0" 4229RECIPE_NO_OF_PATCHES_pn-libxv = "0"
3877RECIPE_INTEL_SECTION_pn-libxv = "x11/libs" 4230RECIPE_INTEL_SECTION_pn-libxv = "x11/libs"
3878RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxv = "1+ years" 4231RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxv = "1+ years"
3879RECIPE_LATEST_RELEASE_DATE_pn-libxv = "10/2009" 4232RECIPE_LATEST_RELEASE_DATE_pn-libxv = "10/2009"
3880RECIPE_COMMENTS_pn-libxv = "" 4233RECIPE_COMMENTS_pn-libxv = ""
4234RECIPE_LAST_UPDATE_pn-libxv = "Nov 24, 2010"
3881RECIPE_MAINTAINER_pn-libxv = "Dexuan Cui <dexuan.cui@intel.com>" 4235RECIPE_MAINTAINER_pn-libxv = "Dexuan Cui <dexuan.cui@intel.com>"
3882 4236
3883RECIPE_STATUS_pn-libxvmc = "green" 4237RECIPE_STATUS_pn-libxvmc = "green"
3884DEPENDENCY_CHECK_pn-libxvmc = "not done" 4238RECIPE_DEPENDENCY_CHECK_pn-libxvmc = "not done"
3885RECIPE_LATEST_VERSION_pn-libxvmc = "1.0.5" 4239RECIPE_LATEST_VERSION_pn-libxvmc = "1.0.5"
3886RECIPE_NO_OF_PATCHES_pn-libxvmc = "0" 4240RECIPE_NO_OF_PATCHES_pn-libxvmc = "0"
3887RECIPE_INTEL_SECTION_pn-libxvmc = "x11/libs" 4241RECIPE_INTEL_SECTION_pn-libxvmc = "x11/libs"
3888RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxvmc = "3 years" 4242RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxvmc = "3 years"
3889RECIPE_LATEST_RELEASE_DATE_pn-libxvmc = "10/2009" 4243RECIPE_LATEST_RELEASE_DATE_pn-libxvmc = "10/2009"
3890RECIPE_COMMENTS_pn-libxvmc = "" 4244RECIPE_COMMENTS_pn-libxvmc = ""
4245RECIPE_LAST_UPDATE_pn-libxvmc = "Nov 17, 2010"
3891RECIPE_MAINTAINER_pn-libxvmc = "Dexuan Cui <dexuan.cui@intel.com>" 4246RECIPE_MAINTAINER_pn-libxvmc = "Dexuan Cui <dexuan.cui@intel.com>"
3892 4247
3893RECIPE_STATUS_pn-libxxf86misc = "green" 4248RECIPE_STATUS_pn-libxxf86misc = "green"
3894DEPENDENCY_CHECK_pn-libxxf86misc = "not done" 4249RECIPE_DEPENDENCY_CHECK_pn-libxxf86misc = "not done"
3895RECIPE_LATEST_VERSION_pn-libxxf86misc = "1.0.2" 4250RECIPE_LATEST_VERSION_pn-libxxf86misc = "1.0.3"
3896RECIPE_NO_OF_PATCHES_pn-libxxf86misc = "0" 4251RECIPE_NO_OF_PATCHES_pn-libxxf86misc = "0"
3897RECIPE_INTEL_SECTION_pn-libxxf86misc = "x11/libs" 4252RECIPE_INTEL_SECTION_pn-libxxf86misc = "x11/libs"
3898RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxxf86misc = "3 years" 4253RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxxf86misc = "1+ years"
3899RECIPE_LATEST_RELEASE_DATE_pn-libxxf86misc = "10/2009" 4254RECIPE_LATEST_RELEASE_DATE_pn-libxxf86misc = "Nov 21, 2010"
3900RECIPE_COMMENTS_pn-libxxf86misc = "" 4255RECIPE_COMMENTS_pn-libxxf86misc = ""
4256RECIPE_LAST_UPDATE_pn-libxxf86misc = "Jan 5, 2011"
3901RECIPE_MAINTAINER_pn-libxxf86misc = "Dexuan Cui <dexuan.cui@intel.com>" 4257RECIPE_MAINTAINER_pn-libxxf86misc = "Dexuan Cui <dexuan.cui@intel.com>"
3902 4258
3903RECIPE_STATUS_pn-libxxf86vm = "green" 4259RECIPE_STATUS_pn-libxxf86vm = "green"
3904DEPENDENCY_CHECK_pn-libxxf86vm = "not done" 4260RECIPE_DEPENDENCY_CHECK_pn-libxxf86vm = "not done"
3905RECIPE_LATEST_VERSION_pn-libxxf86vm = "1.1.0" 4261RECIPE_LATEST_VERSION_pn-libxxf86vm = "1.1.0"
3906RECIPE_NO_OF_PATCHES_pn-libxxf86vm = "0" 4262RECIPE_NO_OF_PATCHES_pn-libxxf86vm = "0"
3907RECIPE_INTEL_SECTION_pn-libxxf86vm = "x11/libs" 4263RECIPE_INTEL_SECTION_pn-libxxf86vm = "x11/libs"
3908RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxxf86vm = "2 months" 4264RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxxf86vm = "2 months"
3909RECIPE_LATEST_RELEASE_DATE_pn-libxxf86vm = "10/2009" 4265RECIPE_LATEST_RELEASE_DATE_pn-libxxf86vm = "10/2009"
3910RECIPE_COMMENTS_pn-libxxf86vm = "" 4266RECIPE_COMMENTS_pn-libxxf86vm = ""
4267RECIPE_LAST_UPDATE_pn-libxxf86vm = "Nov 24, 2010"
3911RECIPE_MAINTAINER_pn-libxxf86vm = "Dexuan Cui <dexuan.cui@intel.com>" 4268RECIPE_MAINTAINER_pn-libxxf86vm = "Dexuan Cui <dexuan.cui@intel.com>"
3912 4269
3913RECIPE_STATUS_pn-libxcursor = "green" 4270RECIPE_STATUS_pn-libxcursor = "green"
3914DEPENDENCY_CHECK_pn-libxcursor = "not done" 4271RECIPE_DEPENDENCY_CHECK_pn-libxcursor = "not done"
3915RECIPE_LATEST_VERSION_pn-libxcursor = "1.1.10" 4272RECIPE_LATEST_VERSION_pn-libxcursor = "1.1.10"
3916RECIPE_NO_OF_PATCHES_pn-libxcursor = "0" 4273RECIPE_NO_OF_PATCHES_pn-libxcursor = "0"
3917RECIPE_INTEL_SECTION_pn-libxcursor = "x11/libs" 4274RECIPE_INTEL_SECTION_pn-libxcursor = "x11/libs"
3918RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxcursor = "2 years" 4275RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxcursor = "2 years"
3919RECIPE_LATEST_RELEASE_DATE_pn-libxcursor = "08/2009" 4276RECIPE_LATEST_RELEASE_DATE_pn-libxcursor = "08/2009"
3920RECIPE_COMMENTS_pn-libxcursor = "" 4277RECIPE_COMMENTS_pn-libxcursor = ""
4278RECIPE_LAST_UPDATE_pn-libxcursor = "Nov 24, 2010"
3921RECIPE_MAINTAINER_pn-libxcursor = "Dexuan Cui <dexuan.cui@intel.com>" 4279RECIPE_MAINTAINER_pn-libxcursor = "Dexuan Cui <dexuan.cui@intel.com>"
3922 4280
3923RECIPE_STATUS_pn-libxdamage = "green" 4281RECIPE_STATUS_pn-libxdamage = "green"
3924DEPENDENCY_CHECK_pn-libxdamage = "not done" 4282RECIPE_DEPENDENCY_CHECK_pn-libxdamage = "not done"
3925RECIPE_LATEST_VERSION_pn-libxdamage = "1.1.2" 4283RECIPE_LATEST_VERSION_pn-libxdamage = "1.1.2"
3926RECIPE_NO_OF_PATCHES_pn-libxdamage = "0" 4284RECIPE_NO_OF_PATCHES_pn-libxdamage = "0"
3927RECIPE_INTEL_SECTION_pn-libxdamage = "x11/libs" 4285RECIPE_INTEL_SECTION_pn-libxdamage = "x11/libs"
3928RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxdamage = "2 years" 4286RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxdamage = "2 years"
3929RECIPE_LATEST_RELEASE_DATE_pn-libxdamage = "10/2009" 4287RECIPE_LATEST_RELEASE_DATE_pn-libxdamage = "10/2009"
3930RECIPE_COMMENTS_pn-libxdamage = "" 4288RECIPE_COMMENTS_pn-libxdamage = ""
4289RECIPE_LAST_UPDATE_pn-libxdamage = "Nov 24, 2010"
3931RECIPE_MAINTAINER_pn-libxdamage = "Dexuan Cui <dexuan.cui@intel.com>" 4290RECIPE_MAINTAINER_pn-libxdamage = "Dexuan Cui <dexuan.cui@intel.com>"
3932 4291
3933RECIPE_STATUS_pn-libxdmcp = "green" 4292RECIPE_STATUS_pn-libxdmcp = "green"
3934DEPENDENCY_CHECK_pn-libxdmcp = "not done" 4293RECIPE_DEPENDENCY_CHECK_pn-libxdmcp = "not done"
3935RECIPE_LATEST_VERSION_pn-libxdmcp = "1.0.3" 4294RECIPE_LATEST_VERSION_pn-libxdmcp = "1.0.3"
3936RECIPE_NO_OF_PATCHES_pn-libxdmcp = "0" 4295RECIPE_NO_OF_PATCHES_pn-libxdmcp = "0"
3937RECIPE_INTEL_SECTION_pn-libxdmcp = "x11/libs" 4296RECIPE_INTEL_SECTION_pn-libxdmcp = "x11/libs"
3938RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxdmcp = "3 years" 4297RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxdmcp = "3 years"
3939RECIPE_LATEST_RELEASE_DATE_pn-libxdmcp = "09/2009" 4298RECIPE_LATEST_RELEASE_DATE_pn-libxdmcp = "09/2009"
3940RECIPE_COMMENTS_pn-libxdmcp = "" 4299RECIPE_COMMENTS_pn-libxdmcp = ""
4300RECIPE_LAST_UPDATE_pn-libxdmcp = "Nov 24, 2010"
3941RECIPE_MAINTAINER_pn-libxdmcp = "Dexuan Cui <dexuan.cui@intel.com>" 4301RECIPE_MAINTAINER_pn-libxdmcp = "Dexuan Cui <dexuan.cui@intel.com>"
3942 4302
3943RECIPE_STATUS_pn-libxext = "green" 4303RECIPE_STATUS_pn-libxext = "green"
3944DEPENDENCY_CHECK_pn-libxext = "not done" 4304RECIPE_DEPENDENCY_CHECK_pn-libxext = "not done"
3945RECIPE_LATEST_VERSION_pn-libxext = "1.1.2" 4305RECIPE_LATEST_VERSION_pn-libxext = "1.1.2"
3946RECIPE_NO_OF_PATCHES_pn-libxext = "0" 4306RECIPE_NO_OF_PATCHES_pn-libxext = "0"
3947RECIPE_INTEL_SECTION_pn-libxext = "x11/libs" 4307RECIPE_INTEL_SECTION_pn-libxext = "x11/libs"
3948RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxext = "1 year" 4308RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxext = "1 year"
3949RECIPE_LATEST_RELEASE_DATE_pn-libxext = "06/2009" 4309RECIPE_LATEST_RELEASE_DATE_pn-libxext = "06/2009"
3950RECIPE_COMMENTS_pn-libxext = "" 4310RECIPE_COMMENTS_pn-libxext = ""
4311RECIPE_LAST_UPDATE_pn-libxext = "Nov 24, 2010"
3951RECIPE_MAINTAINER_pn-libxext = "Dexuan Cui <dexuan.cui@intel.com>" 4312RECIPE_MAINTAINER_pn-libxext = "Dexuan Cui <dexuan.cui@intel.com>"
3952 4313
3953RECIPE_STATUS_pn-libxfixes = "green" 4314RECIPE_STATUS_pn-libxfixes = "green"
3954DEPENDENCY_CHECK_pn-libxfixes = "not done" 4315RECIPE_DEPENDENCY_CHECK_pn-libxfixes = "not done"
3955RECIPE_LATEST_VERSION_pn-libxfixes = "4.0.4" 4316RECIPE_LATEST_VERSION_pn-libxfixes = "4.0.4"
3956RECIPE_NO_OF_PATCHES_pn-libxfixes = "0" 4317RECIPE_NO_OF_PATCHES_pn-libxfixes = "0"
3957RECIPE_INTEL_SECTION_pn-libxfixes = "x11/libs" 4318RECIPE_INTEL_SECTION_pn-libxfixes = "x11/libs"
3958RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxfixes = "3 years" 4319RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxfixes = "3 years"
3959RECIPE_LATEST_RELEASE_DATE_pn-libxfixes = "10/2009" 4320RECIPE_LATEST_RELEASE_DATE_pn-libxfixes = "10/2009"
3960RECIPE_COMMENTS_pn-libxfixes = "" 4321RECIPE_COMMENTS_pn-libxfixes = ""
4322RECIPE_LAST_UPDATE_pn-libxfixes = "Nov 24, 2010"
3961RECIPE_MAINTAINER_pn-libxfixes = "Dexuan Cui <dexuan.cui@intel.com>" 4323RECIPE_MAINTAINER_pn-libxfixes = "Dexuan Cui <dexuan.cui@intel.com>"
3962 4324
3963RECIPE_STATUS_pn-libxft = "green" 4325RECIPE_STATUS_pn-libxft = "green"
3964DEPENDENCY_CHECK_pn-libxft = "not done" 4326RECIPE_DEPENDENCY_CHECK_pn-libxft = "not done"
3965RECIPE_LATEST_VERSION_pn-libxft = "2.1.14" 4327RECIPE_LATEST_VERSION_pn-libxft = "2.1.14"
3966RECIPE_NO_OF_PATCHES_pn-libxft = "0" 4328RECIPE_NO_OF_PATCHES_pn-libxft = "0"
3967RECIPE_INTEL_SECTION_pn-libxft = "x11/libs" 4329RECIPE_INTEL_SECTION_pn-libxft = "x11/libs"
3968RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxft = "1 year" 4330RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxft = "1 year"
3969RECIPE_LATEST_RELEASE_DATE_pn-libxft = "10/2009" 4331RECIPE_LATEST_RELEASE_DATE_pn-libxft = "10/2009"
3970RECIPE_COMMENTS_pn-libxft = "" 4332RECIPE_COMMENTS_pn-libxft = ""
4333RECIPE_LAST_UPDATE_pn-libxft = "Nov 24, 2010"
3971RECIPE_MAINTAINER_pn-libxft = "Dexuan Cui <dexuan.cui@intel.com>" 4334RECIPE_MAINTAINER_pn-libxft = "Dexuan Cui <dexuan.cui@intel.com>"
3972DISTRO_PN_ALIAS_pn-libxft = "Mandriva=libxft Debian=libxft2 Ubuntu=libxft2" 4335DISTRO_PN_ALIAS_pn-libxft = "Mandriva=libxft Debian=libxft2 Ubuntu=libxft2"
3973 4336
3974RECIPE_STATUS_pn-libxkbfile = "green" 4337RECIPE_STATUS_pn-libxkbfile = "green"
3975DEPENDENCY_CHECK_pn-libxkbfile = "not done" 4338RECIPE_DEPENDENCY_CHECK_pn-libxkbfile = "not done"
3976RECIPE_LATEST_VERSION_pn-libxkbfile = "1.0.6" 4339RECIPE_LATEST_VERSION_pn-libxkbfile = "1.0.6"
3977RECIPE_NO_OF_PATCHES_pn-libxkbfile = "0" 4340RECIPE_NO_OF_PATCHES_pn-libxkbfile = "0"
3978RECIPE_INTEL_SECTION_pn-libxkbfile = "x11/libs" 4341RECIPE_INTEL_SECTION_pn-libxkbfile = "x11/libs"
3979RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxkbfile = "1+ years" 4342RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxkbfile = "1+ years"
3980RECIPE_LATEST_RELEASE_DATE_pn-libxkbfile = "10/2009" 4343RECIPE_LATEST_RELEASE_DATE_pn-libxkbfile = "10/2009"
3981RECIPE_COMMENTS_pn-libxkbfile = "" 4344RECIPE_COMMENTS_pn-libxkbfile = ""
4345RECIPE_LAST_UPDATE_pn-libxkbfile = "Nov 24, 2010"
3982RECIPE_MAINTAINER_pn-libxkbfile = "Dexuan Cui <dexuan.cui@intel.com>" 4346RECIPE_MAINTAINER_pn-libxkbfile = "Dexuan Cui <dexuan.cui@intel.com>"
3983 4347
3984RECIPE_STATUS_pn-pixman = "green" 4348RECIPE_STATUS_pn-pixman = "green"
3985DEPENDENCY_CHECK_pn-pixman = "not done" 4349RECIPE_DEPENDENCY_CHECK_pn-pixman = "not done"
3986RECIPE_LATEST_VERSION_pn-pixman = "0.18.2" 4350RECIPE_LATEST_VERSION_pn-pixman = "0.21.4"
4351RECIPE_NO_UPDATE_REASON_pn-pixman = "Do not upgrade to version: 0.21.4 because it's a development snapshot. pixman's stable releases have even minor version numbers."
3987RECIPE_NO_OF_PATCHES_pn-pixman = "0" 4352RECIPE_NO_OF_PATCHES_pn-pixman = "0"
3988RECIPE_INTEL_SECTION_pn-pixman = "x11/libs" 4353RECIPE_INTEL_SECTION_pn-pixman = "x11/libs"
3989RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pixman = "1 month" 4354RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pixman = "2 months"
3990RECIPE_LATEST_RELEASE_DATE_pn-pixman = "05/2010" 4355RECIPE_LATEST_RELEASE_DATE_pn-pixman = "Jan 19, 2011"
3991RECIPE_COMMENTS_pn-pixman = "" 4356RECIPE_COMMENTS_pn-pixman = ""
4357RECIPE_LAST_UPDATE_pn-pixman = "Jan 31, 2011"
3992RECIPE_MAINTAINER_pn-pixman = "Dexuan Cui <dexuan.cui@intel.com>" 4358RECIPE_MAINTAINER_pn-pixman = "Dexuan Cui <dexuan.cui@intel.com>"
3993 4359
3994RECIPE_STATUS_pn-xtrans = "green" 4360RECIPE_STATUS_pn-xtrans = "green"
3995DEPENDENCY_CHECK_pn-xtrans = "not done" 4361RECIPE_DEPENDENCY_CHECK_pn-xtrans = "not done"
3996RECIPE_LATEST_VERSION_pn-xtrans = "1.2.5" 4362RECIPE_LATEST_VERSION_pn-xtrans = "1.2.5"
3997RECIPE_NO_OF_PATCHES_pn-xtrans = "0" 4363RECIPE_NO_OF_PATCHES_pn-xtrans = "0"
3998RECIPE_INTEL_SECTION_pn-xtrans = "x11/libs" 4364RECIPE_INTEL_SECTION_pn-xtrans = "x11/libs"
3999RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xtrans = "3 months" 4365RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xtrans = "3 months"
4000RECIPE_LATEST_RELEASE_DATE_pn-xtrans = "10/2009" 4366RECIPE_LATEST_RELEASE_DATE_pn-xtrans = "10/2009"
4001RECIPE_COMMENTS_pn-xtrans = "" 4367RECIPE_COMMENTS_pn-xtrans = ""
4368RECIPE_LAST_UPDATE_pn-xtrans = "Nov 24, 2010"
4002RECIPE_MAINTAINER_pn-xtrans = "Dexuan Cui <dexuan.cui@intel.com>" 4369RECIPE_MAINTAINER_pn-xtrans = "Dexuan Cui <dexuan.cui@intel.com>"
4003 4370
4004RECIPE_STATUS_pn-libxmu = "green" 4371RECIPE_STATUS_pn-libxmu = "green"
4005DEPENDENCY_CHECK_pn-libxmu = "not done" 4372RECIPE_DEPENDENCY_CHECK_pn-libxmu = "not done"
4006RECIPE_LATEST_VERSION_pn-libxmu = "1.0.5" 4373RECIPE_LATEST_VERSION_pn-libxmu = "1.0.5"
4007RECIPE_NO_OF_PATCHES_pn-libxmu = "0" 4374RECIPE_NO_OF_PATCHES_pn-libxmu = "0"
4008RECIPE_INTEL_SECTION_pn-libxmu = "x11/libs" 4375RECIPE_INTEL_SECTION_pn-libxmu = "x11/libs"
4009RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxmu = "1+ years" 4376RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxmu = "1+ years"
4010RECIPE_LATEST_RELEASE_DATE_pn-libxmu = "09/2009" 4377RECIPE_LATEST_RELEASE_DATE_pn-libxmu = "09/2009"
4011RECIPE_COMMENTS_pn-libxmu = "" 4378RECIPE_COMMENTS_pn-libxmu = ""
4379RECIPE_LAST_UPDATE_pn-libxmu = "Nov 24, 2010"
4012RECIPE_MAINTAINER_pn-libxmu = "Dexuan Cui <dexuan.cui@intel.com>" 4380RECIPE_MAINTAINER_pn-libxmu = "Dexuan Cui <dexuan.cui@intel.com>"
4013 4381
4014RECIPE_STATUS_pn-libpciaccess = "green" 4382RECIPE_STATUS_pn-libpciaccess = "green"
4015DEPENDENCY_CHECK_pn-libpciaccess = "not done" 4383RECIPE_DEPENDENCY_CHECK_pn-libpciaccess = "not done"
4016RECIPE_LATEST_VERSION_pn-libpciaccess = "0.11.0" 4384RECIPE_LATEST_VERSION_pn-libpciaccess = "0.11.0"
4017RECIPE_NO_OF_PATCHES_pn-libpciaccess = "0" 4385RECIPE_NO_OF_PATCHES_pn-libpciaccess = "0"
4018RECIPE_INTEL_SECTION_pn-libpciaccess = "x11/libs" 4386RECIPE_INTEL_SECTION_pn-libpciaccess = "x11/libs"
4019RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libpciaccess = "1+ years" 4387RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libpciaccess = "1+ years"
4020RECIPE_LATEST_RELEASE_DATE_pn-libpciaccess = "12/2009" 4388RECIPE_LATEST_RELEASE_DATE_pn-libpciaccess = "12/2009"
4021RECIPE_COMMENTS_pn-libpciaccess = "" 4389RECIPE_COMMENTS_pn-libpciaccess = ""
4390RECIPE_LAST_UPDATE_pn-libpciaccess = "Nov 24, 2010"
4022RECIPE_MAINTAINER_pn-libpciaccess = "Dexuan Cui <dexuan.cui@intel.com>" 4391RECIPE_MAINTAINER_pn-libpciaccess = "Dexuan Cui <dexuan.cui@intel.com>"
4023 4392
4024RECIPE_STATUS_pn-xkeyboard-config = "green" 4393RECIPE_STATUS_pn-xkeyboard-config = "green"
4025DEPENDENCY_CHECK_pn-xkeyboard-config = "not done" 4394RECIPE_DEPENDENCY_CHECK_pn-xkeyboard-config = "not done"
4026RECIPE_LATEST_VERSION_pn-xkeyboard-config = "1.9" 4395RECIPE_LATEST_VERSION_pn-xkeyboard-config = "2.1"
4027RECIPE_NO_OF_PATCHES_pn-xkeyboard-config = "0" 4396RECIPE_NO_OF_PATCHES_pn-xkeyboard-config = "0"
4028RECIPE_INTEL_SECTION_pn-xkeyboard-config = "x11/libs" 4397RECIPE_INTEL_SECTION_pn-xkeyboard-config = "x11/libs"
4029RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xkeyboard-config = "4 months" 4398RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xkeyboard-config = "3+ months"
4030RECIPE_LATEST_RELEASE_DATE_pn-xkeyboard-config = "05/2010" 4399RECIPE_LATEST_RELEASE_DATE_pn-xkeyboard-config = "Jan 11, 2011"
4031RECIPE_COMMENTS_pn-xkeyboard-config = "" 4400RECIPE_COMMENTS_pn-xkeyboard-config = ""
4401RECIPE_LAST_UPDATE_pn-xkeyboard-config = "Jan 28, 2011"
4032RECIPE_MAINTAINER_pn-xkeyboard-config = "Dexuan Cui <dexuan.cui@intel.com>" 4402RECIPE_MAINTAINER_pn-xkeyboard-config = "Dexuan Cui <dexuan.cui@intel.com>"
4033 4403
4034RECIPE_STATUS_pn-util-macros = "green" 4404RECIPE_STATUS_pn-util-macros = "green"
4035DISTRO_PN_ALIAS_pn-util-macros = "Meego=xorg-x11-util-macros Fedora=xorg-x11-util-macros Mandriva=x11-util-macros" 4405DISTRO_PN_ALIAS_pn-util-macros = "Meego=xorg-x11-util-macros Fedora=xorg-x11-util-macros Mandriva=x11-util-macros"
4036DEPENDENCY_CHECK_pn-util-macros = "not done" 4406RECIPE_DEPENDENCY_CHECK_pn-util-macros = "not done"
4037RECIPE_LATEST_VERSION_pn-util-macros = "1.10.0" 4407RECIPE_LATEST_VERSION_pn-util-macros = "1.10.0"
4038RECIPE_NO_OF_PATCHES_pn-util-macros = "1" 4408RECIPE_NO_OF_PATCHES_pn-util-macros = "1"
4039RECIPE_PATCH_pn-util-macros+unbreak_cross_compile = "the patch isn't needed any longer since the upstream has fixed the cross-compile issue, so is removed from the recipe file" 4409RECIPE_PATCH_pn-util-macros+unbreak_cross_compile = "the patch isn't needed any longer since the upstream has fixed the cross-compile issue, so is removed from the recipe file"
@@ -4041,10 +4411,11 @@ RECIPE_INTEL_SECTION_pn-util-macros = "x11/utils"
4041RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-util-macros = "2 days" 4411RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-util-macros = "2 days"
4042RECIPE_LATEST_RELEASE_DATE_pn-util-macros = "06/2010" 4412RECIPE_LATEST_RELEASE_DATE_pn-util-macros = "06/2010"
4043RECIPE_COMMENTS_pn-util-macros = "" 4413RECIPE_COMMENTS_pn-util-macros = ""
4414RECIPE_LAST_UPDATE_pn-util-macros = "Nov 24, 2010"
4044RECIPE_MAINTAINER_pn-util-macros = "Dexuan Cui <dexuan.cui@intel.com>" 4415RECIPE_MAINTAINER_pn-util-macros = "Dexuan Cui <dexuan.cui@intel.com>"
4045 4416
4046RECIPE_STATUS_pn-fontconfig = "green" 4417RECIPE_STATUS_pn-fontconfig = "green"
4047DEPENDENCY_CHECK_pn-fontconfig = "not done" 4418RECIPE_DEPENDENCY_CHECK_pn-fontconfig = "not done"
4048RECIPE_LATEST_VERSION_pn-fontconfig = "2.8.0" 4419RECIPE_LATEST_VERSION_pn-fontconfig = "2.8.0"
4049RECIPE_NO_OF_PATCHES_pn-fontconfig = "1" 4420RECIPE_NO_OF_PATCHES_pn-fontconfig = "1"
4050RECIPE_PATCH_pn-fontconfig+fix-pkgconfig = "an one-line patch; fix the linkage to freetype in fontconfig.pc.in" 4421RECIPE_PATCH_pn-fontconfig+fix-pkgconfig = "an one-line patch; fix the linkage to freetype in fontconfig.pc.in"
@@ -4052,32 +4423,34 @@ RECIPE_INTEL_SECTION_pn-fontconfig = "x11/libs"
4052RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-fontconfig = "2 months" 4423RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-fontconfig = "2 months"
4053RECIPE_LATEST_RELEASE_DATE_pn-fontconfig = "11/2009" 4424RECIPE_LATEST_RELEASE_DATE_pn-fontconfig = "11/2009"
4054RECIPE_COMMENTS_pn-fontconfig = "" 4425RECIPE_COMMENTS_pn-fontconfig = ""
4426RECIPE_LAST_UPDATE_pn-fontconfig = "Jul 2, 2010"
4055RECIPE_MAINTAINER_pn-fontconfig = "Dexuan Cui <dexuan.cui@intel.com>" 4427RECIPE_MAINTAINER_pn-fontconfig = "Dexuan Cui <dexuan.cui@intel.com>"
4056 4428
4057RECIPE_STATUS_pn-freetype = "green" 4429RECIPE_STATUS_pn-freetype = "green"
4058DEPENDENCY_CHECK_pn-freetype = "not done" 4430RECIPE_DEPENDENCY_CHECK_pn-freetype = "not done"
4059RECIPE_LATEST_VERSION_pn-freetype = "2.4.3" 4431RECIPE_LATEST_VERSION_pn-freetype = "2.4.4"
4060RECIPE_NO_OF_PATCHES_pn-freetype = "2" 4432RECIPE_NO_OF_PATCHES_pn-freetype = "1"
4061RECIPE_PATCH_pn-freetype+fix-x86_64-build = "a two-line simple fix to builds/unix/configure.{raw,ac}; 2.3.12 has integrated it; so removed the patch in the new recipe file" 4433RECIPE_PATCH_pn-freetype+no-hardcode = "fix freetype-config.in"
4062RECIPE_PATCH_pn-freetype+fix-x86_64-build = "a two-line simple fix to builds/unix/freetype-config.in; 2.3.12 has integrated it; so removed the patch in the new recipe file"
4063RECIPE_INTEL_SECTION_pn-freetype = "libs" 4434RECIPE_INTEL_SECTION_pn-freetype = "libs"
4064RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-freetype = "4 months" 4435RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-freetype = "1+ months"
4065RECIPE_LATEST_RELEASE_DATE_pn-freetype = "02/2010" 4436RECIPE_LATEST_RELEASE_DATE_pn-freetype = "Nov 28, 2010"
4066RECIPE_COMMENTS_pn-freetype = "" 4437RECIPE_COMMENTS_pn-freetype = ""
4438RECIPE_LAST_UPDATE_pn-freetype = "Jan 28, 2011"
4067RECIPE_MAINTAINER_pn-freetype = "Dexuan Cui <dexuan.cui@intel.com>" 4439RECIPE_MAINTAINER_pn-freetype = "Dexuan Cui <dexuan.cui@intel.com>"
4068 4440
4069RECIPE_STATUS_pn-librsvg = "green" 4441RECIPE_STATUS_pn-librsvg = "green"
4070DEPENDENCY_CHECK_pn-librsvg = "not done" 4442RECIPE_DEPENDENCY_CHECK_pn-librsvg = "not done"
4071RECIPE_LATEST_VERSION_pn-librsvg = "2.26.3" 4443RECIPE_LATEST_VERSION_pn-librsvg = "2.32.1"
4072RECIPE_NO_OF_PATCHES_pn-librsvg = "0" 4444RECIPE_NO_OF_PATCHES_pn-librsvg = "0"
4073RECIPE_INTEL_SECTION_pn-librsvg = "x11/utils" 4445RECIPE_INTEL_SECTION_pn-librsvg = "x11/utils"
4074RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-librsvg = "10 months" 4446RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-librsvg = "1+ months"
4075RECIPE_LATEST_RELEASE_DATE_pn-librsvg = "05/2010" 4447RECIPE_LATEST_RELEASE_DATE_pn-librsvg = "Nov 13, 2010"
4076RECIPE_COMMENTS_pn-librsvg = "" 4448RECIPE_COMMENTS_pn-librsvg = ""
4449RECIPE_LAST_UPDATE_pn-librsvg = "Jan 5, 2011"
4077RECIPE_MAINTAINER_pn-librsvg = "Dexuan Cui <dexuan.cui@intel.com>" 4450RECIPE_MAINTAINER_pn-librsvg = "Dexuan Cui <dexuan.cui@intel.com>"
4078 4451
4079RECIPE_STATUS_pn-libx11 = "green" 4452RECIPE_STATUS_pn-libx11 = "green"
4080DEPENDENCY_CHECK_pn-libx11 = "not done" 4453RECIPE_DEPENDENCY_CHECK_pn-libx11 = "not done"
4081RECIPE_LATEST_VERSION_pn-libx11 = "1.3.4" 4454RECIPE_LATEST_VERSION_pn-libx11 = "1.3.4"
4082RECIPE_NO_OF_PATCHES_pn-libx11 = "3" 4455RECIPE_NO_OF_PATCHES_pn-libx11 = "3"
4083RECIPE_PATCH_pn-libx11+x11_disable_makekeys = "fix to src/util/Makefile.am" 4456RECIPE_PATCH_pn-libx11+x11_disable_makekeys = "fix to src/util/Makefile.am"
@@ -4087,10 +4460,11 @@ RECIPE_INTEL_SECTION_pn-libx11 = "x11/libs"
4087RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libx11 = "5 months" 4460RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libx11 = "5 months"
4088RECIPE_LATEST_RELEASE_DATE_pn-libx11 = "06/2010" 4461RECIPE_LATEST_RELEASE_DATE_pn-libx11 = "06/2010"
4089RECIPE_COMMENTS_pn-libx11 = "" 4462RECIPE_COMMENTS_pn-libx11 = ""
4463RECIPE_LAST_UPDATE_pn-libx11 = "Jul 9, 2010"
4090RECIPE_MAINTAINER_pn-libx11 = "Dexuan Cui <dexuan.cui@intel.com>" 4464RECIPE_MAINTAINER_pn-libx11 = "Dexuan Cui <dexuan.cui@intel.com>"
4091 4465
4092RECIPE_STATUS_pn-libx11-trim = "green" 4466RECIPE_STATUS_pn-libx11-trim = "green"
4093DEPENDENCY_CHECK_pn-libx11-trim = "not done" 4467RECIPE_DEPENDENCY_CHECK_pn-libx11-trim = "not done"
4094RECIPE_LATEST_VERSION_pn-libx11-trim = "1.3.4" 4468RECIPE_LATEST_VERSION_pn-libx11-trim = "1.3.4"
4095RECIPE_NO_OF_PATCHES_pn-libx11-trim = "3" 4469RECIPE_NO_OF_PATCHES_pn-libx11-trim = "3"
4096RECIPE_PATCH_pn-libx11-trim+x11_disable_makekeys = "fix to src/util/Makefile.am" 4470RECIPE_PATCH_pn-libx11-trim+x11_disable_makekeys = "fix to src/util/Makefile.am"
@@ -4100,185 +4474,252 @@ RECIPE_INTEL_SECTION_pn-libx11-trim = "x11/libs"
4100RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libx11-trim = "5 months" 4474RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libx11-trim = "5 months"
4101RECIPE_LATEST_RELEASE_DATE_pn-libx11-trim = "06/2010" 4475RECIPE_LATEST_RELEASE_DATE_pn-libx11-trim = "06/2010"
4102RECIPE_COMMENTS_pn-libx11-trim = "" 4476RECIPE_COMMENTS_pn-libx11-trim = ""
4477RECIPE_LAST_UPDATE_pn-libx11-trim = "Jul 9, 2010"
4103RECIPE_MAINTAINER_pn-libx11-trim = "Dexuan Cui <dexuan.cui@intel.com>" 4478RECIPE_MAINTAINER_pn-libx11-trim = "Dexuan Cui <dexuan.cui@intel.com>"
4104 4479
4105RECIPE_STATUS_pn-gnome-vfs = "green" 4480RECIPE_STATUS_pn-gnome-vfs = "green"
4106DEPENDENCY_CHECK_pn-gnome-vfs = "not done" 4481RECIPE_DEPENDENCY_CHECK_pn-gnome-vfs = "not done"
4107RECIPE_LATEST_VERSION_pn-gnome-vfs = "2.24.3" 4482RECIPE_LATEST_VERSION_pn-gnome-vfs = "2.24.4"
4108RECIPE_NO_OF_PATCHES_pn-gnome-vfs = "2" 4483RECIPE_NO_OF_PATCHES_pn-gnome-vfs = "2"
4109RECIPE_INTEL_SECTION_pn-gnome-vfs = "graphic lib" 4484RECIPE_INTEL_SECTION_pn-gnome-vfs = "gnome/lib"
4110RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gnome-vfs = "5 months" 4485RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gnome-vfs = "6 months"
4111RECIPE_LATEST_RELEASE_DATE_pn-gnome-vfs = "03/2010" 4486RECIPE_LATEST_RELEASE_DATE_pn-gnome-vfs = "Sep 28, 2010"
4112RECIPE_COMMENTS_pn-gnome-vfs = "" 4487RECIPE_COMMENTS_pn-gnome-vfs = ""
4488RECIPE_LAST_UPDATE_pn-gnome-vfs = "Nov 24, 2010"
4113RECIPE_MAINTAINER_pn-gnome-vfs = "Dexuan Cui <dexuan.cui@intel.com>" 4489RECIPE_MAINTAINER_pn-gnome-vfs = "Dexuan Cui <dexuan.cui@intel.com>"
4114 4490
4115RECIPE_STATUS_pn-xcb-util = "green" 4491RECIPE_STATUS_pn-xcb-util = "green"
4116DEPENDENCY_CHECK_pn-xcb-util = "not done" 4492RECIPE_DEPENDENCY_CHECK_pn-xcb-util = "not done"
4117RECIPE_LATEST_VERSION_pn-xcb-util = "0.3.6" 4493RECIPE_LATEST_VERSION_pn-xcb-util = "0.3.6"
4118RECIPE_NO_OF_PATCHES_pn-xcb-util = "0" 4494RECIPE_NO_OF_PATCHES_pn-xcb-util = "0"
4119RECIPE_INTEL_SECTION_pn-xcb-util = "x11/libs" 4495RECIPE_INTEL_SECTION_pn-xcb-util = "x11/libs"
4120RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xcb-util = "3 months" 4496RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xcb-util = "3 months"
4121RECIPE_LATEST_RELEASE_DATE_pn-xcb-util = "08/24/2009" 4497RECIPE_LATEST_RELEASE_DATE_pn-xcb-util = "08/24/2009"
4122RECIPE_COMMENTS_pn-xcb-util = "" 4498RECIPE_COMMENTS_pn-xcb-util = ""
4499RECIPE_LAST_UPDATE_pn-xcb-util = "Jul 22, 2010"
4123RECIPE_MAINTAINER_pn-xcb-util = "Dexuan Cui <dexuan.cui@intel.com>" 4500RECIPE_MAINTAINER_pn-xcb-util = "Dexuan Cui <dexuan.cui@intel.com>"
4124 4501
4125RECIPE_STATUS_pn-startup-notification = "green" 4502RECIPE_STATUS_pn-startup-notification = "green"
4126DEPENDENCY_CHECK_pn-startup-notification = "not done" 4503RECIPE_DEPENDENCY_CHECK_pn-startup-notification = "not done"
4127RECIPE_LATEST_VERSION_pn-startup-notification = "0.10" 4504RECIPE_LATEST_VERSION_pn-startup-notification = "0.10"
4128RECIPE_NO_OF_PATCHES_pn-startup-notification = "0" 4505RECIPE_NO_OF_PATCHES_pn-startup-notification = "0"
4129RECIPE_INTEL_SECTION_pn-startup-notification = "x11/libs" 4506RECIPE_INTEL_SECTION_pn-startup-notification = "x11/libs"
4130RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-startup-notification = "2 years" 4507RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-startup-notification = "2 years"
4131RECIPE_LATEST_RELEASE_DATE_pn-startup-notification = "04/13/2009" 4508RECIPE_LATEST_RELEASE_DATE_pn-startup-notification = "04/13/2009"
4132RECIPE_COMMENTS_pn-startup-notification = "in recipe, SECTION is libs but to be more accurate it should be x11/libs" 4509RECIPE_COMMENTS_pn-startup-notification = "in recipe, SECTION is libs but to be more accurate it should be x11/libs"
4510RECIPE_LAST_UPDATE_pn-startup-notification = "Jul 22, 2010"
4133RECIPE_MAINTAINER_pn-startup-notification = "Dexuan Cui <dexuan.cui@intel.com>" 4511RECIPE_MAINTAINER_pn-startup-notification = "Dexuan Cui <dexuan.cui@intel.com>"
4134 4512
4135RECIPE_STATUS_pn-galago-daemon = "red" 4513RECIPE_STATUS_pn-galago-daemon = "green"
4514RECIPE_DEPENDENCY_CHECK_pn-galago-daemon = "not done"
4136RECIPE_LATEST_VERSION_pn-galago-daemon = "0.5.1" 4515RECIPE_LATEST_VERSION_pn-galago-daemon = "0.5.1"
4516RECIPE_NO_OF_PATCHES_pn-galago-daemon = "0"
4517RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-galago-daemon = "5+ months"
4518RECIPE_LATEST_RELEASE_DATE_pn-galago-daemon = "Oct 7, 2006"
4519RECIPE_COMMENTS_pn-galago-daemon = ""
4520RECIPE_LAST_UPDATE_pn-galago-daemon = "Apr 11, 2007"
4137RECIPE_MAINTAINER_pn-galago-daemon = "Dexuan Cui <dexuan.cui@intel.com>" 4521RECIPE_MAINTAINER_pn-galago-daemon = "Dexuan Cui <dexuan.cui@intel.com>"
4138 4522
4139RECIPE_STATUS_pn-gnome-doc-utils = "red" 4523RECIPE_STATUS_pn-gnome-doc-utils = "green"
4140RECIPE_LATEST_VERSION_pn-gnome-doc-utils = "0.20.1" 4524RECIPE_DEPENDENCY_CHECK_pn-gnome-doc-utils = "not done"
4525RECIPE_LATEST_VERSION_pn-gnome-doc-utils = "0.20.4"
4526RECIPE_NO_OF_PATCHES_pn-gnome-doc-utils = "0"
4527RECIPE_INTEL_SECTION_pn-gnome-doc-utils = "utils"
4528RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gnome-doc-utils = "less than 1 month"
4529RECIPE_LATEST_RELEASE_DATE_pn-gnome-doc-utils = "Jan 10, 2011"
4530RECIPE_COMMENTS_pn-gnome-doc-utils = ""
4531RECIPE_LAST_UPDATE_pn-gnome-doc-utils = "Jan 28, 2011"
4141RECIPE_MAINTAINER_pn-gnome-doc-utils = "Dexuan Cui <dexuan.cui@intel.com>" 4532RECIPE_MAINTAINER_pn-gnome-doc-utils = "Dexuan Cui <dexuan.cui@intel.com>"
4142 4533
4143RECIPE_STATUS_pn-gnome-settings-daemon = "red" 4534RECIPE_STATUS_pn-gnome-settings-daemon = "red"
4144RECIPE_LATEST_VERSION_pn-gnome-settings-daemon = "2.31.2" 4535RECIPE_LATEST_VERSION_pn-gnome-settings-daemon = "2.31.2"
4145RECIPE_MAINTAINER_pn-gnome-settings-daemon = "Dexuan Cui <dexuan.cui@intel.com>" 4536RECIPE_MAINTAINER_pn-gnome-settings-daemon = "Dexuan Cui <dexuan.cui@intel.com>"
4146 4537
4147RECIPE_STATUS_pn-libunique = "red" 4538RECIPE_STATUS_pn-libunique = "green"
4148RECIPE_LATEST_VERSION_pn-libunique = "1.1.6" 4539RECIPE_DEPENDENCY_CHECK_pn-libunique = "not done"
4540RECIPE_LATEST_VERSION_pn-libunique = "2.91.4"
4541RECIPE_NO_OF_PATCHES_pn-libunique = "0"
4542RECIPE_INTEL_SECTION_pn-libunique = "x11/libs"
4543RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libunique = "6 months"
4544RECIPE_LATEST_RELEASE_DATE_pn-libunique = "Dec 7, 2010"
4545RECIPE_COMMENTS_pn-libunique = ""
4546RECIPE_LAST_UPDATE_pn-libunique = "Jan 28, 2011"
4547RECIPE_NO_UPDATE_REASON_pn-libunique = "Do not upgrade to version: 2.91.4 because it requires gtk+ >= 2.90.0 and the stable version of gtk+ used by poky is 2.20.1"
4149RECIPE_MAINTAINER_pn-libunique = "Dexuan Cui <dexuan.cui@intel.com>" 4548RECIPE_MAINTAINER_pn-libunique = "Dexuan Cui <dexuan.cui@intel.com>"
4150 4549
4151RECIPE_STATUS_pn-ttf-bitstream-vera = "red" 4550RECIPE_STATUS_pn-ttf-bitstream-vera = "green"
4551DISTRO_PN_ALIAS_pn-ttf-bitstream-vera = "Debian=ttf-bitstream-vera Ubuntu=ttf-bitstream-vera"
4552RECIPE_DEPENDENCY_CHECK_pn-ttf-bitstream-vera = "not done"
4152RECIPE_LATEST_VERSION_pn-ttf-bitstream-vera = "1.10" 4553RECIPE_LATEST_VERSION_pn-ttf-bitstream-vera = "1.10"
4554RECIPE_NO_OF_PATCHES_pn-ttf-bitstream-vera = "0"
4555RECIPE_INTEL_SECTION_pn-ttf-bitstream-vera = "x11/fonts"
4556RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-ttf-bitstream-vera = "n/a"
4557RECIPE_LATEST_RELEASE_DATE_pn-ttf-bitstream-vera = "Apr 16, 2003"
4558RECIPE_COMMENTS_pn-ttf-bitstream-vera = "can't find the release date of any older version in the SRC_URI link"
4559RECIPE_LAST_UPDATE_pn-ttf-bitstream-vera = "Jun 26, 2007"
4153RECIPE_MAINTAINER_pn-ttf-bitstream-vera = "Dexuan Cui <dexuan.cui@intel.com>" 4560RECIPE_MAINTAINER_pn-ttf-bitstream-vera = "Dexuan Cui <dexuan.cui@intel.com>"
4154DISTRO_PN_ALIAS_pn-ttf-bitstream-vera = "Debian=ttf-bitstream-vera Ubuntu=ttf-bitstream-vera"
4155 4561
4156RECIPE_STATUS_pn-libart-lgpl = "red" 4562RECIPE_STATUS_pn-libart-lgpl = "green"
4563RECIPE_DEPENDENCY_CHECK_pn-libart-lgpl = "not done"
4157RECIPE_LATEST_VERSION_pn-libart-lgpl = "2.3.21" 4564RECIPE_LATEST_VERSION_pn-libart-lgpl = "2.3.21"
4565RECIPE_NO_OF_PATCHES_pn-libart-lgpl = "0"
4566RECIPE_INTEL_SECTION_pn-libart-lgpl = "x11/libs"
4567RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libart-lgpl = "2+ years"
4568RECIPE_LATEST_RELEASE_DATE_pn-libart-lgpl = "Apr 1, 2010"
4569RECIPE_COMMENTS_pn-libart-lgpl = ""
4570RECIPE_LAST_UPDATE_pn-libart-lgpl = "Nov 24, 2010"
4158RECIPE_MAINTAINER_pn-libart-lgpl = "Dexuan Cui <dexuan.cui@intel.com>" 4571RECIPE_MAINTAINER_pn-libart-lgpl = "Dexuan Cui <dexuan.cui@intel.com>"
4159 4572
4160RECIPE_STATUS_pn-applewmproto = "red"
4161DISTRO_PN_ALIAS_pn-applewmproto = ""
4162RECIPE_LATEST_VERSION_pn-applewmproto = "1.4.1"
4163RECIPE_MAINTAINER_pn-applewmproto = "Dexuan Cui <dexuan.cui@intel.com>"
4164DISTRO_PN_ALIAS_pn-applewmproto = "Mandriva=x11-proto-devel OpenSuSE=xorg-x11-proto-devel"
4165
4166RECIPE_STATUS_pn-libapplewm = "red"
4167RECIPE_LATEST_VERSION_pn-libapplewm = "1.4.0"
4168RECIPE_MAINTAINER_pn-libapplewm = "Dexuan Cui <dexuan.cui@intel.com>"
4169DISTRO_PN_ALIAS_pn-libapplewm = "upstream=http://cgit.freedesktop.org/xorg/lib/libAppleWM/ Mandriva=libapplewm"
4170
4171RECIPE_STATUS_pn-libfs = "red"
4172RECIPE_LATEST_VERSION_pn-libfs = "1.0.2"
4173RECIPE_MAINTAINER_pn-libfs = "Dexuan Cui <dexuan.cui@intel.com>"
4174
4175RECIPE_STATUS_pn-poppler = "red" 4573RECIPE_STATUS_pn-poppler = "red"
4176RECIPE_LATEST_VERSION_pn-poppler = "0.12.4" 4574RECIPE_LATEST_VERSION_pn-poppler = "0.12.4"
4575RECIPE_LAST_UPDATE_pn-poppler = "Dec 31, 2008"
4177RECIPE_MAINTAINER_pn-poppler = "Dexuan Cui <dexuan.cui@intel.com>" 4576RECIPE_MAINTAINER_pn-poppler = "Dexuan Cui <dexuan.cui@intel.com>"
4178 4577
4179RECIPE_STATUS_pn-poppler-data = "red" 4578RECIPE_STATUS_pn-poppler-data = "red"
4180RECIPE_LATEST_VERSION_pn-poppler-data = "0.4.2" 4579RECIPE_LATEST_VERSION_pn-poppler-data = "0.4.2"
4580RECIPE_LAST_UPDATE_pn-poppler-data = "May 4, 2007"
4181RECIPE_MAINTAINER_pn-poppler-data = "Dexuan Cui <dexuan.cui@intel.com>" 4581RECIPE_MAINTAINER_pn-poppler-data = "Dexuan Cui <dexuan.cui@intel.com>"
4182 4582
4183RECIPE_STATUS_pn-liblbxutil = "red" 4583RECIPE_STATUS_pn-liblbxutil = "green"
4584DISTRO_PN_ALIAS_pn-liblbxutil = "Mandriva=liblbxutil OpenSuse=xorg-x11-devel"
4585RECIPE_DEPENDENCY_CHECK_pn-liblbxutil = "not done"
4184RECIPE_LATEST_VERSION_pn-liblbxutil = "1.1.0" 4586RECIPE_LATEST_VERSION_pn-liblbxutil = "1.1.0"
4587RECIPE_NO_OF_PATCHES_pn-liblbxutil = "0"
4588RECIPE_INTEL_SECTION_pn-liblbxutil = "x11/libs"
4589RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-liblbxutil = "3+ years"
4590RECIPE_LATEST_RELEASE_DATE_pn-liblbxutil = "Dec 4, 2009"
4591RECIPE_COMMENTS_pn-liblbxutil = ""
4592RECIPE_LAST_UPDATE_pn-liblbxutil = "Jul 6, 2010"
4185RECIPE_MAINTAINER_pn-liblbxutil = "Dexuan Cui <dexuan.cui@intel.com>" 4593RECIPE_MAINTAINER_pn-liblbxutil = "Dexuan Cui <dexuan.cui@intel.com>"
4186DISTRO_PN_ALIAS_pn-liblbxutil = "Mandriva=liblbxutil OpenSuse=xorg-x11-devel"
4187
4188RECIPE_STATUS_pn-liboldx = "red"
4189RECIPE_LATEST_VERSION_pn-liboldx = "1.0.1"
4190RECIPE_MAINTAINER_pn-liboldx = "Dexuan Cui <dexuan.cui@intel.com>"
4191DISTRO_PN_ALIAS_pn-liboldX = "OSPDT Mandriva=liboldx"
4192
4193RECIPE_STATUS_pn-libwindowswm = "red"
4194RECIPE_LATEST_VERSION_pn-libwindowswm = "1.0.1"
4195RECIPE_MAINTAINER_pn-libwindowswm = "Dexuan Cui <dexuan.cui@intel.com>"
4196DISTRO_PN_ALIAS_pn-libwindowswm = "Mandriva=libwindowswm OpenSuse=xorg-x11-devel"
4197 4594
4198RECIPE_STATUS_pn-libxaw = "red" 4595RECIPE_STATUS_pn-libxaw = "red"
4199RECIPE_LATEST_VERSION_pn-libxaw = "1.0.7" 4596RECIPE_LATEST_VERSION_pn-libxaw = "1.0.7"
4597RECIPE_LAST_UPDATE_pn-libxaw = "Dec 31, 2008"
4200RECIPE_MAINTAINER_pn-libxaw = "Dexuan Cui <dexuan.cui@intel.com>" 4598RECIPE_MAINTAINER_pn-libxaw = "Dexuan Cui <dexuan.cui@intel.com>"
4201 4599
4202RECIPE_STATUS_pn-libxevie = "red" 4600RECIPE_STATUS_pn-libxevie = "red"
4203RECIPE_LATEST_VERSION_pn-libxevie = "1.0.2" 4601RECIPE_LATEST_VERSION_pn-libxevie = "1.0.2"
4602RECIPE_LAST_UPDATE_pn-libxevie = "May 9, 2007"
4204RECIPE_MAINTAINER_pn-libxevie = "Dexuan Cui <dexuan.cui@intel.com>" 4603RECIPE_MAINTAINER_pn-libxevie = "Dexuan Cui <dexuan.cui@intel.com>"
4205 4604
4206RECIPE_STATUS_pn-libxkbui = "red" 4605RECIPE_STATUS_pn-libxkbui = "red"
4207RECIPE_LATEST_VERSION_pn-libxkbui = "1.0.2" 4606RECIPE_LATEST_VERSION_pn-libxkbui = "1.0.2"
4607RECIPE_LAST_UPDATE_pn-libxkbui = "Jul 3, 2007"
4208RECIPE_MAINTAINER_pn-libxkbui = "Dexuan Cui <dexuan.cui@intel.com>" 4608RECIPE_MAINTAINER_pn-libxkbui = "Dexuan Cui <dexuan.cui@intel.com>"
4209 4609
4210RECIPE_STATUS_pn-libxpm = "red" 4610RECIPE_STATUS_pn-libxpm = "green"
4211RECIPE_LATEST_VERSION_pn-libxpm = "3.5.8" 4611RECIPE_DEPENDENCY_CHECK_pn-libxpm = "not done"
4612RECIPE_LATEST_VERSION_pn-libxpm = "3.5.9"
4613RECIPE_NO_OF_PATCHES_pn-libxpm = "0"
4614RECIPE_INTEL_SECTION_pn-libxpm = "x11/libs"
4615RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxpm = "1 year"
4616RECIPE_LATEST_RELEASE_DATE_pn-libxpm = "Oct 29, 2010"
4617RECIPE_COMMENTS_pn-libxpm = ""
4618RECIPE_LAST_UPDATE_pn-libxpm = "Nov 24, 2010"
4212RECIPE_MAINTAINER_pn-libxpm = "Dexuan Cui <dexuan.cui@intel.com>" 4619RECIPE_MAINTAINER_pn-libxpm = "Dexuan Cui <dexuan.cui@intel.com>"
4213 4620
4214RECIPE_STATUS_pn-libxprintapputil = "red" 4621RECIPE_STATUS_pn-libxprintapputil = "green"
4622DISTRO_PN_ALIAS_pn-libxprintapputil1 = "Debian=libxprintapputil1 Ubuntu=libxprintapputil1 Mandriva=libxprintapputil"
4623RECIPE_DEPENDENCY_CHECK_pn-libxprintapputil = "not done"
4215RECIPE_LATEST_VERSION_pn-libxprintapputil = "1.0.1" 4624RECIPE_LATEST_VERSION_pn-libxprintapputil = "1.0.1"
4625RECIPE_NO_OF_PATCHES_pn-libxprintapputil = "0"
4626RECIPE_INTEL_SECTION_pn-libxprintapputil = "x11/libs"
4627RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxprintapputil = "n/a"
4628RECIPE_LATEST_RELEASE_DATE_pn-libxprintapputil = "Jan 18, 2006"
4629RECIPE_COMMENTS_pn-libxprintapputil = "can't find the release date of any older version in the SRC_URI link"
4630RECIPE_LAST_UPDATE_pn-libxprintapputil = ""Jul 3, 2007"
4216RECIPE_MAINTAINER_pn-libxprintapputil = "Dexuan Cui <dexuan.cui@intel.com>" 4631RECIPE_MAINTAINER_pn-libxprintapputil = "Dexuan Cui <dexuan.cui@intel.com>"
4217DISTRO_PN_ALIAS_pn-libxprintapputil1 = "Debian=libxprintapputil1 Ubuntu=libxprintapputil1 Mandriva=libxprintapputil"
4218 4632
4219RECIPE_STATUS_pn-libxprintutil = "red" 4633RECIPE_STATUS_pn-libxprintutil = "green"
4634RECIPE_DEPENDENCY_CHECK_pn-libxprintutil = "not done"
4220RECIPE_LATEST_VERSION_pn-libxprintutil = "1.0.1" 4635RECIPE_LATEST_VERSION_pn-libxprintutil = "1.0.1"
4636RECIPE_NO_OF_PATCHES_pn-libxprintutil = "0"
4637RECIPE_INTEL_SECTION_pn-libxprintutil = "x11/libs"
4638RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxprintutil = "n/a"
4639RECIPE_LATEST_RELEASE_DATE_pn-libxprintutil = "Jan 18, 2006"
4640RECIPE_COMMENTS_pn-libxprintutil = "can't find the release date of any older version in the SRC_URI link"
4641RECIPE_LAST_UPDATE_pn-libxprintutil = ""Jul 3, 2007"
4221RECIPE_MAINTAINER_pn-libxprintutil = "Dexuan Cui <dexuan.cui@intel.com>" 4642RECIPE_MAINTAINER_pn-libxprintutil = "Dexuan Cui <dexuan.cui@intel.com>"
4222 4643
4223RECIPE_STATUS_pn-libxscrnsaver = "red" 4644RECIPE_STATUS_pn-libxscrnsaver = "green"
4224RECIPE_LATEST_VERSION_pn-libxscrnsaver = "1.2.0"
4225RECIPE_MAINTAINER_pn-libxscrnsaver = "Dexuan Cui <dexuan.cui@intel.com>"
4226DISTRO_PN_ALIAS_pn-libxscrnsaver = "Fedora=libXScrnSaver Ubuntu=libxss1 Mandriva=libxscrnsaver" 4645DISTRO_PN_ALIAS_pn-libxscrnsaver = "Fedora=libXScrnSaver Ubuntu=libxss1 Mandriva=libxscrnsaver"
4646DEPENDENCY_CHECK_pn-libxscrnsaver = "not done"
4647RECIPE_LATEST_VERSION_pn-libxscrnsaver = "1.2.1"
4648RECIPE_NO_OF_PATCHES_pn-libxscrnsaver = "0"
4649RECIPE_INTEL_SECTION_pn-libxscrnsaver = "x11/libs"
4650RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxscrnsaver = "1+ years"
4651RECIPE_LATEST_RELEASE_DATE_pn-libxscrnsaver = "Oct 29, 2010"
4652RECIPE_COMMENTS_pn-libxscrnsaver = ""
4653RECIPE_LAST_UPDATE_pn-libxscrnsaver = "Nov 16, 2010"
4654RECIPE_MAINTAINER_pn-libxscrnsaver = "Dexuan Cui <dexuan.cui@intel.com>"
4227 4655
4228RECIPE_STATUS_pn-libxtrap = "red" 4656RECIPE_STATUS_pn-libxtrap = "green"
4657RECIPE_DEPENDENCY_CHECK_pn-libxtrap = "not done"
4229RECIPE_LATEST_VERSION_pn-libxtrap = "1.0.0" 4658RECIPE_LATEST_VERSION_pn-libxtrap = "1.0.0"
4659RECIPE_NO_OF_PATCHES_pn-libxtrap = "0"
4660RECIPE_INTEL_SECTION_pn-libxtrap = "x11/libs"
4661RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxtrap = "n/a"
4662RECIPE_LATEST_RELEASE_DATE_pn-libxtrap = "Jan 18, 2006"
4663RECIPE_COMMENTS_pn-libxtrap = "can't find the release date of any older version in the SRC_URI link"
4664RECIPE_LAST_UPDATE_pn-libxtrap = ""Jul 3, 2007"
4230RECIPE_MAINTAINER_pn-libxtrap = "Dexuan Cui <dexuan.cui@intel.com>" 4665RECIPE_MAINTAINER_pn-libxtrap = "Dexuan Cui <dexuan.cui@intel.com>"
4231 4666
4232RECIPE_STATUS_pn-windowswmproto = "red" 4667RECIPE_STATUS_pn-xproxymanagementprotocol = "green"
4233RECIPE_LATEST_VERSION_pn-windowswmproto = "1.0.4"
4234RECIPE_MAINTAINER_pn-windowswmproto = "Dexuan Cui <dexuan.cui@intel.com>"
4235DISTRO_PN_ALIAS_pn-windowswmproto = "Mandriva=x11-proto-devel OpenSuSE=xorg-x11-proto-devel"
4236
4237RECIPE_STATUS_pn-xproxymanagementprotocol = "red"
4238DISTRO_PN_ALIAS_pn-xproxymanagementprotocol = "Meego=xorg-x11-proto-xproxymanagementprotocol" 4668DISTRO_PN_ALIAS_pn-xproxymanagementprotocol = "Meego=xorg-x11-proto-xproxymanagementprotocol"
4669DEPENDENCY_CHECK_pn-xproxymanagementprotocol = "not done"
4239RECIPE_LATEST_VERSION_pn-xproxymanagementprotocol = "1.0.3" 4670RECIPE_LATEST_VERSION_pn-xproxymanagementprotocol = "1.0.3"
4671RECIPE_NO_OF_PATCHES_pn-xproxymanagementprotocol = "0"
4672RECIPE_INTEL_SECTION_pn-xproxymanagementprotocol = "x11/libs"
4673RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xproxymanagementprotocol = "3+ years"
4674RECIPE_LATEST_RELEASE_DATE_pn-xproxymanagementprotocol = "Oct 12, 2009"
4675RECIPE_COMMENTS_pn-xproxymanagementprotocol = ""
4676RECIPE_LAST_UPDATE_pn-xproxymanagementprotocol = "Feb 3, 2010"
4240RECIPE_MAINTAINER_pn-xproxymanagementprotocol = "Dexuan Cui <dexuan.cui@intel.com>" 4677RECIPE_MAINTAINER_pn-xproxymanagementprotocol = "Dexuan Cui <dexuan.cui@intel.com>"
4241 4678
4242RECIPE_STATUS_pn-libxklavier = "red" 4679RECIPE_STATUS_pn-libxklavier = "red"
4243RECIPE_LATEST_VERSION_pn-libxklavier = "5.0" 4680RECIPE_LATEST_VERSION_pn-libxklavier = "5.0"
4681RECIPE_LAST_UPDATE_pn-libxklavier = "Jun 10, 2009"
4244RECIPE_MAINTAINER_pn-libxklavier = "Dexuan Cui <dexuan.cui@intel.com>" 4682RECIPE_MAINTAINER_pn-libxklavier = "Dexuan Cui <dexuan.cui@intel.com>"
4245# 4683#
4246# distro tracking fields for X11 UX 4684# distro tracking fields for X11 UX
4247# 4685#
4248 4686
4249RECIPE_STATUS_pn-gnome-mime-data = "green" # no update needed 4687RECIPE_STATUS_pn-gnome-mime-data = "green" # no update needed
4250DEPENDENCY_CHECK_pn-gnome-mime-data = "not done" 4688RECIPE_DEPENDENCY_CHECK_pn-gnome-mime-data = "not done"
4251RECIPE_LATEST_VERSION_pn-gnome-mime-data = "2.18.0" 4689RECIPE_LATEST_VERSION_pn-gnome-mime-data = "2.18.0"
4252RECIPE_NO_OF_PATCHES_pn-gnome-mime-data = "1" 4690RECIPE_NO_OF_PATCHES_pn-gnome-mime-data = "1"
4253RECIPE_INTEL_SECTION_pn-gnome-mime-data = "graphic UX" 4691RECIPE_INTEL_SECTION_pn-gnome-mime-data = "graphic UX"
4254RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gnome-mime-data = "5 months" 4692RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gnome-mime-data = "5 months"
4255RECIPE_LATEST_RELEASE_DATE_pn-gnome-mime-data = "04/2007" 4693RECIPE_LATEST_RELEASE_DATE_pn-gnome-mime-data = "04/2007"
4256RECIPE_COMMENTS_pn-gnome-mime-data = "" 4694RECIPE_COMMENTS_pn-gnome-mime-data = ""
4695RECIPE_LAST_UPDATE_pn-gnome-mime-data = "Aug 2, 2007"
4257RECIPE_MAINTAINER_pn-gnome-mime-data = "Zhai Edwin <edwin.zhai@intel.com>" 4696RECIPE_MAINTAINER_pn-gnome-mime-data = "Zhai Edwin <edwin.zhai@intel.com>"
4258 4697
4259RECIPE_STATUS_pn-libmatchbox = "green" # no update needed 4698RECIPE_STATUS_pn-libmatchbox = "green" # no update needed
4260DEPENDENCY_CHECK_pn-libmatchbox = "not done" 4699RECIPE_DEPENDENCY_CHECK_pn-libmatchbox = "not done"
4261RECIPE_LATEST_VERSION_pn-libmatchbox = "1.9" 4700RECIPE_LATEST_VERSION_pn-libmatchbox = "1.9"
4262RECIPE_NO_OF_PATCHES_pn-libmatchbox = "2" 4701RECIPE_NO_OF_PATCHES_pn-libmatchbox = "2"
4263RECIPE_INTEL_SECTION_pn-libmatchbox = "graphic UX" 4702RECIPE_INTEL_SECTION_pn-libmatchbox = "graphic UX"
4264RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libmatchbox = "5 months" 4703RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libmatchbox = "5 months"
4265RECIPE_LATEST_RELEASE_DATE_pn-libmatchbox = "08/2006" 4704RECIPE_LATEST_RELEASE_DATE_pn-libmatchbox = "08/2006"
4266RECIPE_COMMENTS_pn-libmatchbox = "" 4705RECIPE_COMMENTS_pn-libmatchbox = ""
4706RECIPE_LAST_UPDATE_pn-libmatchbox = "Aug 7, 2006"
4267RECIPE_MAINTAINER_pn-libmatchbox = "Zhai Edwin <edwin.zhai@intel.com>" 4707RECIPE_MAINTAINER_pn-libmatchbox = "Zhai Edwin <edwin.zhai@intel.com>"
4268 4708
4269RECIPE_STATUS_pn-libowl = "green" # no update needed 4709RECIPE_STATUS_pn-libowl = "green" # no update needed
4270DISTRO_PN_ALIAS_pn-libowl = "Debian=owl OpenedHand" 4710DISTRO_PN_ALIAS_pn-libowl = "Debian=owl OpenedHand"
4271DEPENDENCY_CHECK_pn-libowl = "not done" 4711RECIPE_DEPENDENCY_CHECK_pn-libowl = "not done"
4272RECIPE_LATEST_VERSION_pn-libowl = "0.0+svnr408" 4712RECIPE_LATEST_VERSION_pn-libowl = "0.0+svnr408"
4273RECIPE_NO_OF_PATCHES_pn-libowl = "0" 4713RECIPE_NO_OF_PATCHES_pn-libowl = "0"
4274RECIPE_INTEL_SECTION_pn-libowl = "graphic UX" 4714RECIPE_INTEL_SECTION_pn-libowl = "graphic UX"
4275RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libowl = "n/a" 4715RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libowl = "n/a"
4276RECIPE_LATEST_RELEASE_DATE_pn-libowl = "09/2008" 4716RECIPE_LATEST_RELEASE_DATE_pn-libowl = "09/2008"
4277RECIPE_COMMENTS_pn-libowl = "" 4717RECIPE_COMMENTS_pn-libowl = ""
4718RECIPE_LAST_UPDATE_pn-libowl= "Sep 16, 2008"
4278RECIPE_MAINTAINER_pn-libowl = "Zhai Edwin <edwin.zhai@intel.com>" 4719RECIPE_MAINTAINER_pn-libowl = "Zhai Edwin <edwin.zhai@intel.com>"
4279 4720
4280RECIPE_STATUS_pn-libowl-av = "green" # no update needed 4721RECIPE_STATUS_pn-libowl-av = "green" # no update needed
4281DEPENDENCY_CHECK_pn-libowl-av = "not done" 4722RECIPE_DEPENDENCY_CHECK_pn-libowl-av = "not done"
4282RECIPE_LATEST_VERSION_pn-libowl-av = "0.0+svnr416" 4723RECIPE_LATEST_VERSION_pn-libowl-av = "0.0+svnr416"
4283RECIPE_NO_OF_PATCHES_pn-libowl-av = "0" 4724RECIPE_NO_OF_PATCHES_pn-libowl-av = "0"
4284RECIPE_INTEL_SECTION_pn-libowl-av = "graphic UX" 4725RECIPE_INTEL_SECTION_pn-libowl-av = "graphic UX"
@@ -4286,226 +4727,266 @@ RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libowl-av = "n/a"
4286RECIPE_LATEST_RELEASE_DATE_pn-libowl-av = "12/2008" 4727RECIPE_LATEST_RELEASE_DATE_pn-libowl-av = "12/2008"
4287RECIPE_COMMENTS_pn-libowl-av = "" 4728RECIPE_COMMENTS_pn-libowl-av = ""
4288RECIPE_MAINTAINER_pn-libowl-av = "Zhai Edwin <edwin.zhai@intel.com>" 4729RECIPE_MAINTAINER_pn-libowl-av = "Zhai Edwin <edwin.zhai@intel.com>"
4730RECIPE_LAST_UPDATE_pn-libowl-av = "Nov 19, 2010"
4289DISTRO_PN_ALIAS_pn-libowl-av = "OpenedHand" 4731DISTRO_PN_ALIAS_pn-libowl-av = "OpenedHand"
4290 4732
4291RECIPE_STATUS_pn-matchbox-desktop = "green" # no update needed 4733RECIPE_STATUS_pn-matchbox-desktop = "green" # no update needed
4292DEPENDENCY_CHECK_pn-matchbox-desktop = "not done" 4734RECIPE_DEPENDENCY_CHECK_pn-matchbox-desktop = "not done"
4293RECIPE_LATEST_VERSION_pn-matchbox-desktop = "2.0+svnr2096" 4735RECIPE_LATEST_VERSION_pn-matchbox-desktop = "2.0+svnr2096"
4294RECIPE_NO_OF_PATCHES_pn-matchbox-desktop = "0" 4736RECIPE_NO_OF_PATCHES_pn-matchbox-desktop = "0"
4295RECIPE_INTEL_SECTION_pn-matchbox-desktop = "graphic UX" 4737RECIPE_INTEL_SECTION_pn-matchbox-desktop = "graphic UX"
4296RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-desktop = "n/a" 4738RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-desktop = "n/a"
4297RECIPE_LATEST_RELEASE_DATE_pn-matchbox-desktop = "12/2008" 4739RECIPE_LATEST_RELEASE_DATE_pn-matchbox-desktop = "12/2008"
4298RECIPE_COMMENTS_pn-matchbox-desktop = "" 4740RECIPE_COMMENTS_pn-matchbox-desktop = ""
4741RECIPE_LAST_UPDATE_pn-matchbox-desktop = "Dec 4, 2008"
4299RECIPE_MAINTAINER_pn-matchbox-desktop = "Zhai Edwin <edwin.zhai@intel.com>" 4742RECIPE_MAINTAINER_pn-matchbox-desktop = "Zhai Edwin <edwin.zhai@intel.com>"
4300DISTRO_PN_ALIAS_pn-matchbox-desktop = "Mandriva=matchbox-desktop Ubuntu=matchbox-desktop" 4743DISTRO_PN_ALIAS_pn-matchbox-desktop = "Mandriva=matchbox-desktop Ubuntu=matchbox-desktop"
4301 4744
4302RECIPE_STATUS_pn-matchbox-desktop-sato = "green" # no update needed 4745RECIPE_STATUS_pn-matchbox-desktop-sato = "green" # no update needed
4303DEPENDENCY_CHECK_pn-matchbox-desktop-sato = "not done" 4746RECIPE_DEPENDENCY_CHECK_pn-matchbox-desktop-sato = "not done"
4304RECIPE_LATEST_VERSION_pn-matchbox-desktop-sato = "0.0+svnr76" 4747RECIPE_LATEST_VERSION_pn-matchbox-desktop-sato = "0.0+svnr76"
4305RECIPE_NO_OF_PATCHES_pn-matchbox-desktop-sato = "0" 4748RECIPE_NO_OF_PATCHES_pn-matchbox-desktop-sato = "0"
4306RECIPE_INTEL_SECTION_pn-matchbox-desktop-sato = "graphic UX" 4749RECIPE_INTEL_SECTION_pn-matchbox-desktop-sato = "graphic UX"
4307RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-desktop-sato = "n/a" 4750RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-desktop-sato = "n/a"
4308RECIPE_LATEST_RELEASE_DATE_pn-matchbox-desktop-sato = "07/2007" 4751RECIPE_LATEST_RELEASE_DATE_pn-matchbox-desktop-sato = "07/2007"
4309RECIPE_COMMENTS_pn-matchbox-desktop-sato = "" 4752RECIPE_COMMENTS_pn-matchbox-desktop-sato = ""
4753RECIPE_LAST_UPDATE_pn-matchbox-desktop-sato = "Jul 5, 2007"
4310RECIPE_MAINTAINER_pn-matchbox-desktop-sato = "Zhai Edwin <edwin.zhai@intel.com>" 4754RECIPE_MAINTAINER_pn-matchbox-desktop-sato = "Zhai Edwin <edwin.zhai@intel.com>"
4311 4755
4312RECIPE_STATUS_pn-matchbox-session = "green" # no update needed 4756RECIPE_STATUS_pn-matchbox-session = "green" # no update needed
4313DEPENDENCY_CHECK_pn-matchbox-session = "not done" 4757RECIPE_DEPENDENCY_CHECK_pn-matchbox-session = "not done"
4314RECIPE_LATEST_VERSION_pn-matchbox-session = "0.1" 4758RECIPE_LATEST_VERSION_pn-matchbox-session = "0.1"
4315RECIPE_NO_OF_PATCHES_pn-matchbox-session = "0" 4759RECIPE_NO_OF_PATCHES_pn-matchbox-session = "0"
4316RECIPE_INTEL_SECTION_pn-matchbox-session = "graphic UX" 4760RECIPE_INTEL_SECTION_pn-matchbox-session = "graphic UX"
4317RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-session = "n/a" 4761RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-session = "n/a"
4318RECIPE_LATEST_RELEASE_DATE_pn-matchbox-session = "02/2004" 4762RECIPE_LATEST_RELEASE_DATE_pn-matchbox-session = "02/2004"
4319RECIPE_COMMENTS_pn-matchbox-session = "" 4763RECIPE_COMMENTS_pn-matchbox-session = ""
4764RECIPE_LAST_UPDATE_pn-matchbox-session = "Apr 9, 2008"
4320RECIPE_MAINTAINER_pn-matchbox-session = "Zhai Edwin <edwin.zhai@intel.com>" 4765RECIPE_MAINTAINER_pn-matchbox-session = "Zhai Edwin <edwin.zhai@intel.com>"
4321 4766
4322RECIPE_STATUS_pn-matchbox-session-sato = "green" # no update needed 4767RECIPE_STATUS_pn-matchbox-session-sato = "green" # no update needed
4323DEPENDENCY_CHECK_pn-matchbox-session-sato = "not done" 4768RECIPE_DEPENDENCY_CHECK_pn-matchbox-session-sato = "not done"
4324RECIPE_LATEST_VERSION_pn-matchbox-session-sato = "0.1" 4769RECIPE_LATEST_VERSION_pn-matchbox-session-sato = "0.1"
4325RECIPE_NO_OF_PATCHES_pn-matchbox-session-sato = "0" 4770RECIPE_NO_OF_PATCHES_pn-matchbox-session-sato = "0"
4326RECIPE_INTEL_SECTION_pn-matchbox-session-sato = "graphic UX" 4771RECIPE_INTEL_SECTION_pn-matchbox-session-sato = "graphic UX"
4327RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-session-sato = "n/a" 4772RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-session-sato = "n/a"
4328RECIPE_LATEST_RELEASE_DATE_pn-matchbox-session-sato = "06/2007" 4773RECIPE_LATEST_RELEASE_DATE_pn-matchbox-session-sato = "06/2007"
4329RECIPE_COMMENTS_pn-matchbox-session-sato = "" 4774RECIPE_COMMENTS_pn-matchbox-session-sato = ""
4775RECIPE_LAST_UPDATE_pn-matchbox-session-sato = "Apr 9, 2008"
4330RECIPE_MAINTAINER_pn-matchbox-session-sato = "Zhai Edwin <edwin.zhai@intel.com>" 4776RECIPE_MAINTAINER_pn-matchbox-session-sato = "Zhai Edwin <edwin.zhai@intel.com>"
4331 4777
4332RECIPE_STATUS_pn-matchbox-terminal = "green" # no update needed 4778RECIPE_STATUS_pn-matchbox-terminal = "green" # no update needed
4333DEPENDENCY_CHECK_pn-matchbox-terminal = "not done" 4779RECIPE_DEPENDENCY_CHECK_pn-matchbox-terminal = "not done"
4334RECIPE_LATEST_VERSION_pn-matchbox-terminal = "0.0+svnr1816" 4780RECIPE_LATEST_VERSION_pn-matchbox-terminal = "0.0+svnr1816"
4335RECIPE_NO_OF_PATCHES_pn-matchbox-terminal = "0" 4781RECIPE_NO_OF_PATCHES_pn-matchbox-terminal = "0"
4336RECIPE_INTEL_SECTION_pn-matchbox-terminal = "graphic UX" 4782RECIPE_INTEL_SECTION_pn-matchbox-terminal = "graphic UX"
4337RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-terminal = "n/a" 4783RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-terminal = "n/a"
4338RECIPE_LATEST_RELEASE_DATE_pn-matchbox-terminal = "11/2007" 4784RECIPE_LATEST_RELEASE_DATE_pn-matchbox-terminal = "11/2007"
4339RECIPE_COMMENTS_pn-matchbox-terminal = "" 4785RECIPE_COMMENTS_pn-matchbox-terminal = ""
4786RECIPE_LAST_UPDATE_pn-matchbox-terminal = "Aug 18, 2009"
4340RECIPE_MAINTAINER_pn-matchbox-terminal = "Zhai Edwin <edwin.zhai@intel.com>" 4787RECIPE_MAINTAINER_pn-matchbox-terminal = "Zhai Edwin <edwin.zhai@intel.com>"
4341 4788
4342RECIPE_STATUS_pn-matchbox-theme-sato = "green" # no update needed 4789RECIPE_STATUS_pn-matchbox-theme-sato = "green" # no update needed
4343DEPENDENCY_CHECK_pn-matchbox-theme-sato = "not done" 4790RECIPE_DEPENDENCY_CHECK_pn-matchbox-theme-sato = "not done"
4344RECIPE_LATEST_VERSION_pn-matchbox-theme-sato = "0.1" 4791RECIPE_LATEST_VERSION_pn-matchbox-theme-sato = "0.1"
4345RECIPE_NO_OF_PATCHES_pn-matchbox-theme-sato = "0" 4792RECIPE_NO_OF_PATCHES_pn-matchbox-theme-sato = "0"
4346RECIPE_INTEL_SECTION_pn-matchbox-theme-sato = "graphic UX" 4793RECIPE_INTEL_SECTION_pn-matchbox-theme-sato = "graphic UX"
4347RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-theme-sato = "n/a" 4794RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-theme-sato = "n/a"
4348RECIPE_LATEST_RELEASE_DATE_pn-matchbox-theme-sato = "07/2007" 4795RECIPE_LATEST_RELEASE_DATE_pn-matchbox-theme-sato = "07/2007"
4349RECIPE_COMMENTS_pn-matchbox-theme-sato = "" 4796RECIPE_COMMENTS_pn-matchbox-theme-sato = ""
4797RECIPE_LAST_UPDATE_pn-matchbox-theme-sato = "Jul 31, 2007"
4350RECIPE_MAINTAINER_pn-matchbox-theme-sato = "Zhai Edwin <edwin.zhai@intel.com>" 4798RECIPE_MAINTAINER_pn-matchbox-theme-sato = "Zhai Edwin <edwin.zhai@intel.com>"
4351 4799
4800RECIPE_STATUS_pn-matchbox-theme-sato-2 = "green" # no update needed
4801RECIPE_DEPENDENCY_CHECK_pn-matchbox-theme-sato-2 = "not done"
4802RECIPE_LATEST_VERSION_pn-matchbox-theme-sato-2 = "0.1"
4803RECIPE_NO_OF_PATCHES_pn-matchbox-theme-sato-2 = "0"
4804RECIPE_INTEL_SECTION_pn-matchbox-theme-sato-2 = "graphic UX"
4805RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-theme-sato-2 = "n/a"
4806RECIPE_LATEST_RELEASE_DATE_pn-matchbox-theme-sato-2 = "07/2007"
4807RECIPE_COMMENTS_pn-matchbox-theme-sato-2 = ""
4808RECIPE_LAST_UPDATE_pn-matchbox-theme-sato-2 = "Jul 31, 2007"
4809RECIPE_MAINTAINER_pn-matchbox-theme-sato-2 = "Zhai Edwin <edwin.zhai@intel.com>"
4810
4352RECIPE_STATUS_pn-sato-icon-theme = "green" # no update needed 4811RECIPE_STATUS_pn-sato-icon-theme = "green" # no update needed
4353DEPENDENCY_CHECK_pn-sato-icon-theme = "not done" 4812RECIPE_DEPENDENCY_CHECK_pn-sato-icon-theme = "not done"
4354RECIPE_LATEST_VERSION_pn-sato-icon-theme = "0.4.1" 4813RECIPE_LATEST_VERSION_pn-sato-icon-theme = "0.4.1"
4355RECIPE_NO_OF_PATCHES_pn-sato-icon-theme = "0" 4814RECIPE_NO_OF_PATCHES_pn-sato-icon-theme = "0"
4356RECIPE_INTEL_SECTION_pn-sato-icon-theme = "graphic UX" 4815RECIPE_INTEL_SECTION_pn-sato-icon-theme = "graphic UX"
4357RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sato-icon-theme = "n/a" 4816RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sato-icon-theme = "n/a"
4358RECIPE_LATEST_RELEASE_DATE_pn-sato-icon-theme = "02/2008" 4817RECIPE_LATEST_RELEASE_DATE_pn-sato-icon-theme = "02/2008"
4359RECIPE_COMMENTS_pn-sato-icon-theme = "" 4818RECIPE_COMMENTS_pn-sato-icon-theme = ""
4819RECIPE_LAST_UPDATE_pn-sato-icon-theme = "Feb 25, 2008"
4360RECIPE_MAINTAINER_pn-sato-icon-theme = "Zhai Edwin <edwin.zhai@intel.com>" 4820RECIPE_MAINTAINER_pn-sato-icon-theme = "Zhai Edwin <edwin.zhai@intel.com>"
4361 4821
4362RECIPE_STATUS_pn-tslib = "green" # no update needed 4822RECIPE_STATUS_pn-tslib = "green" # no update needed
4363DEPENDENCY_CHECK_pn-tslib = "not done" 4823RECIPE_DEPENDENCY_CHECK_pn-tslib = "not done"
4364RECIPE_LATEST_VERSION_pn-tslib = "1.0" 4824RECIPE_LATEST_VERSION_pn-tslib = "1.0"
4365RECIPE_NO_OF_PATCHES_pn-tslib = "3" 4825RECIPE_NO_OF_PATCHES_pn-tslib = "3"
4366RECIPE_INTEL_SECTION_pn-tslib = "graphic UX" 4826RECIPE_INTEL_SECTION_pn-tslib = "graphic UX"
4367RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tslib = "n/a" 4827RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tslib = "n/a"
4368RECIPE_LATEST_RELEASE_DATE_pn-tslib = "08/2006" 4828RECIPE_LATEST_RELEASE_DATE_pn-tslib = "08/2006"
4369RECIPE_COMMENTS_pn-tslib = "" 4829RECIPE_COMMENTS_pn-tslib = ""
4830RECIPE_LAST_UPDATE_pn-tslib = "Aug 17, 2006"
4370RECIPE_MAINTAINER_pn-tslib = "Zhai Edwin <edwin.zhai@intel.com>" 4831RECIPE_MAINTAINER_pn-tslib = "Zhai Edwin <edwin.zhai@intel.com>"
4371 4832
4372RECIPE_STATUS_pn-xcursor-transparent-theme = "green" # no update needed 4833RECIPE_STATUS_pn-xcursor-transparent-theme = "green" # no update needed
4373DEPENDENCY_CHECK_pn-xcursor-transparent-theme = "not done" 4834RECIPE_DEPENDENCY_CHECK_pn-xcursor-transparent-theme = "not done"
4374RECIPE_LATEST_VERSION_pn-xcursor-transparent-theme = "0.1.1" 4835RECIPE_LATEST_VERSION_pn-xcursor-transparent-theme = "0.1.1"
4375RECIPE_NO_OF_PATCHES_pn-xcursor-transparent-theme = "2" 4836RECIPE_NO_OF_PATCHES_pn-xcursor-transparent-theme = "2"
4376RECIPE_INTEL_SECTION_pn-xcursor-transparent-theme = "graphic UX" 4837RECIPE_INTEL_SECTION_pn-xcursor-transparent-theme = "graphic UX"
4377RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xcursor-transparent-theme = "n/a" 4838RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-xcursor-transparent-theme = "n/a"
4378RECIPE_LATEST_RELEASE_DATE_pn-xcursor-transparent-theme = "12/2004" 4839RECIPE_LATEST_RELEASE_DATE_pn-xcursor-transparent-theme = "12/2004"
4379RECIPE_COMMENTS_pn-xcursor-transparent-theme = "" 4840RECIPE_COMMENTS_pn-xcursor-transparent-theme = ""
4841RECIPE_LAST_UPDATE_pn-xcursor-transparent-theme = "Jul 21, 2006"
4380RECIPE_MAINTAINER_pn-xcursor-transparent-theme = "Zhai Edwin <edwin.zhai@intel.com>" 4842RECIPE_MAINTAINER_pn-xcursor-transparent-theme = "Zhai Edwin <edwin.zhai@intel.com>"
4381 4843
4382RECIPE_STATUS_pn-screenshot = "green" 4844RECIPE_STATUS_pn-screenshot = "green"
4383DEPENDENCY_CHECK_pn-screenshot = "not done" 4845RECIPE_DEPENDENCY_CHECK_pn-screenshot = "not done"
4384RECIPE_LATEST_VERSION_pn-screenshot = "0.0+svnr292" 4846RECIPE_LATEST_VERSION_pn-screenshot = "0.0+svnr292"
4385RECIPE_NO_OF_PATCHES_pn-screenshot = "0" 4847RECIPE_NO_OF_PATCHES_pn-screenshot = "0"
4386RECIPE_INTEL_SECTION_pn-screenshot = "graphic UX" 4848RECIPE_INTEL_SECTION_pn-screenshot = "graphic UX"
4387RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-screenshot = "n/a" 4849RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-screenshot = "n/a"
4388RECIPE_LATEST_RELEASE_DATE_pn-screenshot = "09/2007" 4850RECIPE_LATEST_RELEASE_DATE_pn-screenshot = "09/2007"
4389RECIPE_COMMENTS_pn-screenshot = "" 4851RECIPE_COMMENTS_pn-screenshot = ""
4852RECIPE_LAST_UPDATE_pn-screenshot = "Jun 25, 2010"
4390RECIPE_MAINTAINER_pn-screenshot = "Zhai Edwin <edwin.zhai@intel.com>" 4853RECIPE_MAINTAINER_pn-screenshot = "Zhai Edwin <edwin.zhai@intel.com>"
4391 4854
4392RECIPE_STATUS_pn-tasks = "green" 4855RECIPE_STATUS_pn-tasks = "green"
4393DEPENDENCY_CHECK_pn-tasks = "not done" 4856RECIPE_DEPENDENCY_CHECK_pn-tasks = "not done"
4394RECIPE_LATEST_VERSION_pn-tasks = "0.18" 4857RECIPE_LATEST_VERSION_pn-tasks = "0.18"
4395RECIPE_NO_OF_PATCHES_pn-tasks = "1" 4858RECIPE_NO_OF_PATCHES_pn-tasks = "1"
4396RECIPE_INTEL_SECTION_pn-tasks = "graphic UX" 4859RECIPE_INTEL_SECTION_pn-tasks = "graphic UX"
4397RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tasks = "12 months" 4860RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-tasks = "12 months"
4398RECIPE_LATEST_RELEASE_DATE_pn-tasks = "07/2010" 4861RECIPE_LATEST_RELEASE_DATE_pn-tasks = "07/2010"
4399RECIPE_COMMENTS_pn-tasks = "" 4862RECIPE_COMMENTS_pn-tasks = ""
4863RECIPE_LAST_UPDATE_pn-tasks = "Nov 19, 2010"
4400RECIPE_MAINTAINER_pn-tasks = "Zhai Edwin <edwin.zhai@intel.com>" 4864RECIPE_MAINTAINER_pn-tasks = "Zhai Edwin <edwin.zhai@intel.com>"
4401 4865
4402RECIPE_STATUS_pn-contacts = "green" 4866RECIPE_STATUS_pn-contacts = "green"
4403DEPENDENCY_CHECK_pn-contacts = "not done" 4867RECIPE_DEPENDENCY_CHECK_pn-contacts = "not done"
4404RECIPE_LATEST_VERSION_pn-contacts = "0.12+git0+19853893fdb595de6aa59db0d9dc2f9451ed2933" 4868RECIPE_LATEST_VERSION_pn-contacts = "0.12+git0+19853893fdb595de6aa59db0d9dc2f9451ed2933"
4405RECIPE_NO_OF_PATCHES_pn-contacts = "1" 4869RECIPE_NO_OF_PATCHES_pn-contacts = "1"
4406RECIPE_INTEL_SECTION_pn-contacts = "graphic UX" 4870RECIPE_INTEL_SECTION_pn-contacts = "graphic UX"
4407RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-contacts = "n/a" 4871RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-contacts = "n/a"
4408RECIPE_LATEST_RELEASE_DATE_pn-contacts = "11/2009" 4872RECIPE_LATEST_RELEASE_DATE_pn-contacts = "11/2009"
4409RECIPE_COMMENTS_pn-contacts = "" 4873RECIPE_COMMENTS_pn-contacts = ""
4874RECIPE_LAST_UPDATE_pn-contacts = "Jun 25, 2010"
4410RECIPE_MAINTAINER_pn-contacts = "Zhai Edwin <edwin.zhai@intel.com>" 4875RECIPE_MAINTAINER_pn-contacts = "Zhai Edwin <edwin.zhai@intel.com>"
4411 4876
4412RECIPE_STATUS_pn-dates = "green" 4877RECIPE_STATUS_pn-dates = "green"
4413DEPENDENCY_CHECK_pn-dates = "not done" 4878RECIPE_DEPENDENCY_CHECK_pn-dates = "not done"
4414RECIPE_LATEST_VERSION_pn-dates = "0.4.11+git0+514185dc1f6588085fda41eb59898b93d0487dd4" 4879RECIPE_LATEST_VERSION_pn-dates = "0.4.11+git0+514185dc1f6588085fda41eb59898b93d0487dd4"
4415RECIPE_NO_OF_PATCHES_pn-dates = "1" 4880RECIPE_NO_OF_PATCHES_pn-dates = "1"
4416RECIPE_INTEL_SECTION_pn-dates = "graphic UX" 4881RECIPE_INTEL_SECTION_pn-dates = "graphic UX"
4417RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dates = "1 month" 4882RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-dates = "1 month"
4418RECIPE_LATEST_RELEASE_DATE_pn-dates = "10/2009" 4883RECIPE_LATEST_RELEASE_DATE_pn-dates = "10/2009"
4419RECIPE_COMMENTS_pn-dates = "" 4884RECIPE_COMMENTS_pn-dates = ""
4885RECIPE_LAST_UPDATE_pn-dates = "Jun 25, 2010"
4420RECIPE_MAINTAINER_pn-dates = "Zhai Edwin <edwin.zhai@intel.com>" 4886RECIPE_MAINTAINER_pn-dates = "Zhai Edwin <edwin.zhai@intel.com>"
4421 4887
4422RECIPE_STATUS_pn-libcroco = "green" 4888RECIPE_STATUS_pn-libcroco = "green"
4423DEPENDENCY_CHECK_pn-libcroco = "not done" 4889RECIPE_DEPENDENCY_CHECK_pn-libcroco = "not done"
4424RECIPE_LATEST_VERSION_pn-libcroco = "0.6.2" 4890RECIPE_LATEST_VERSION_pn-libcroco = "0.6.2"
4425RECIPE_NO_OF_PATCHES_pn-libcroco = "1" 4891RECIPE_NO_OF_PATCHES_pn-libcroco = "1"
4426RECIPE_INTEL_SECTION_pn-libcroco = "graphic UX" 4892RECIPE_INTEL_SECTION_pn-libcroco = "graphic UX"
4427RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libcroco = "35 months" 4893RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libcroco = "35 months"
4428RECIPE_LATEST_RELEASE_DATE_pn-libcroco = "02/2009" 4894RECIPE_LATEST_RELEASE_DATE_pn-libcroco = "02/2009"
4429RECIPE_COMMENTS_pn-libcroco = "" 4895RECIPE_COMMENTS_pn-libcroco = ""
4896RECIPE_LAST_UPDATE_pn-libcroco = "Jun 25, 2010"
4430RECIPE_MAINTAINER_pn-libcroco = "Zhai Edwin <edwin.zhai@intel.com>" 4897RECIPE_MAINTAINER_pn-libcroco = "Zhai Edwin <edwin.zhai@intel.com>"
4431 4898
4432RECIPE_STATUS_pn-leafpad = "green" 4899RECIPE_STATUS_pn-leafpad = "green"
4433DEPENDENCY_CHECK_pn-leafpad = "not done" 4900RECIPE_DEPENDENCY_CHECK_pn-leafpad = "not done"
4434RECIPE_LATEST_VERSION_pn-leafpad = "0.8.17" 4901RECIPE_LATEST_VERSION_pn-leafpad = "0.8.18.1"
4435RECIPE_NO_OF_PATCHES_pn-leafpad = "1" 4902RECIPE_NO_OF_PATCHES_pn-leafpad = "1"
4436RECIPE_INTEL_SECTION_pn-leafpad = "graphic UX" 4903RECIPE_INTEL_SECTION_pn-leafpad = "graphic UX"
4437RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-leafpad = "10 months" 4904RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-leafpad = "10 months"
4438RECIPE_LATEST_RELEASE_DATE_pn-leafpad = "10/2009" 4905RECIPE_LATEST_RELEASE_DATE_pn-leafpad = "12/2010"
4439RECIPE_COMMENTS_pn-leafpad = "" 4906RECIPE_COMMENTS_pn-leafpad = ""
4907RECIPE_LAST_UPDATE_pn-leafpad = "Jan 26, 2011"
4440RECIPE_MAINTAINER_pn-leafpad = "Zhai Edwin <edwin.zhai@intel.com>" 4908RECIPE_MAINTAINER_pn-leafpad = "Zhai Edwin <edwin.zhai@intel.com>"
4441 4909
4442RECIPE_STATUS_pn-atk = "green" 4910RECIPE_STATUS_pn-atk = "green"
4443DEPENDENCY_CHECK_pn-atk = "not done" 4911RECIPE_DEPENDENCY_CHECK_pn-atk = "not done"
4444RECIPE_LATEST_VERSION_pn-atk = "1.32.0" 4912RECIPE_LATEST_VERSION_pn-atk = "1.32.0"
4445RECIPE_NO_OF_PATCHES_pn-atk = "0" 4913RECIPE_NO_OF_PATCHES_pn-atk = "0"
4446RECIPE_INTEL_SECTION_pn-atk = "graphic UX" 4914RECIPE_INTEL_SECTION_pn-atk = "graphic UX"
4447RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-atk = "6 month" 4915RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-atk = "6 month"
4448RECIPE_LATEST_RELEASE_DATE_pn-atk = "09/2010" 4916RECIPE_LATEST_RELEASE_DATE_pn-atk = "09/2010"
4449RECIPE_COMMENTS_pn-atk = "" 4917RECIPE_COMMENTS_pn-atk = ""
4918RECIPE_LAST_UPDATE_pn-atk = "Nov 19, 2010"
4450RECIPE_MAINTAINER_pn-atk = "Zhai Edwin <edwin.zhai@intel.com>" 4919RECIPE_MAINTAINER_pn-atk = "Zhai Edwin <edwin.zhai@intel.com>"
4451 4920
4452RECIPE_STATUS_pn-gtk+ = "green" 4921RECIPE_STATUS_pn-gtk+ = "green"
4453DISTRO_PN_ALIAS_pn-gtk+ = "Meego=gtk2 Fedora=gtk2 OpenSuSE=gtk2 Ubuntu=gtk+2.0 Mandriva=gtk+2.0 Debian=gtk+2.0" 4922DISTRO_PN_ALIAS_pn-gtk+ = "Meego=gtk2 Fedora=gtk2 OpenSuSE=gtk2 Ubuntu=gtk+2.0 Mandriva=gtk+2.0 Debian=gtk+2.0"
4454DEPENDENCY_CHECK_pn-gtk+ = "not done" 4923RECIPE_DEPENDENCY_CHECK_pn-gtk+ = "not done"
4455RECIPE_LATEST_VERSION_pn-gtk+ = "2.20.1" 4924RECIPE_LATEST_VERSION_pn-gtk+ = "2.22.1"
4456RECIPE_NO_OF_PATCHES_pn-gtk+ = "0" 4925RECIPE_NO_OF_PATCHES_pn-gtk+ = "0"
4457RECIPE_INTEL_SECTION_pn-gtk+ = "graphic UX" 4926RECIPE_INTEL_SECTION_pn-gtk+ = "graphic UX"
4458RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gtk+ = "2 months" 4927RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gtk+ = "2 months"
4459RECIPE_LATEST_RELEASE_DATE_pn-gtk+ = "05/2010" 4928RECIPE_LATEST_RELEASE_DATE_pn-gtk+ = "11/2010"
4460RECIPE_COMMENTS_pn-gtk+ = "" 4929RECIPE_COMMENTS_pn-gtk+ = ""
4930RECIPE_LAST_UPDATE_pn-gtk+ = "Jan 24, 2011"
4931RECIPE_NO_UPDATE_REASON_pn-gtk+ = "Do not upgrade to version: 2.99.2 because prefer stable tree"
4461RECIPE_MAINTAINER_pn-gtk+ = "Zhai Edwin <edwin.zhai@intel.com>" 4932RECIPE_MAINTAINER_pn-gtk+ = "Zhai Edwin <edwin.zhai@intel.com>"
4462 4933
4934RECIPE_STATUS_pn-gdk-pixbuf = "green"
4935RECIPE_LATEST_VERSION_pn-gdk-pixbuf = "2.22.1"
4936RECIPE_LAST_UPDATE_pn-gdk-pixbuf = "Nov 25, 2010"
4937RECIPE_MAINTAINER_pn-gdk-pixbuf = "Edwin Zhai <edwin.zhai@intel.com>"
4938
4463RECIPE_STATUS_pn-gdk-pixbuf-csource-native = "red" # update needed 4939RECIPE_STATUS_pn-gdk-pixbuf-csource-native = "red" # update needed
4464DEPENDENCY_CHECK_pn-gdk-pixbuf-csource-native = "not done" 4940RECIPE_DEPENDENCY_CHECK_pn-gdk-pixbuf-csource-native = "not done"
4465RECIPE_LATEST_VERSION_pn-gdk-pixbuf-csource-native = "2.20.1" 4941RECIPE_LATEST_VERSION_pn-gdk-pixbuf-csource-native = "2.20.1"
4466RECIPE_NO_OF_PATCHES_pn-gdk-pixbuf-csource-native = "1" 4942RECIPE_NO_OF_PATCHES_pn-gdk-pixbuf-csource-native = "1"
4467RECIPE_INTEL_SECTION_pn-gdk-pixbuf-csource-native = "graphic UX" 4943RECIPE_INTEL_SECTION_pn-gdk-pixbuf-csource-native = "graphic UX"
4468RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gdk-pixbuf-csource-native = "2 months" 4944RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gdk-pixbuf-csource-native = "2 months"
4469RECIPE_LATEST_RELEASE_DATE_pn-gdk-pixbuf-csource-native = "05/2010" 4945RECIPE_LATEST_RELEASE_DATE_pn-gdk-pixbuf-csource-native = "05/2010"
4470RECIPE_COMMENTS_pn-gdk-pixbuf-csource-native = "It is sub-package of gtk+" 4946RECIPE_COMMENTS_pn-gdk-pixbuf-csource-native = "It is sub-package of gtk+"
4947RECIPE_LAST_UPDATE_pn-gdk-pixbuf-csource-native = "Sep 24, 2008"
4471RECIPE_MAINTAINER_pn-gdk-pixbuf-csource-native = "Zhai Edwin <edwin.zhai@intel.com>" 4948RECIPE_MAINTAINER_pn-gdk-pixbuf-csource-native = "Zhai Edwin <edwin.zhai@intel.com>"
4472DISTRO_PN_ALIAS_pn-gdk-pixbuf-csource-native = "Debian=libgdk-pixbuf2.0-0 Fedora=gdk-pixbuf2" 4949DISTRO_PN_ALIAS_pn-gdk-pixbuf-csource-native = "Debian=libgdk-pixbuf2.0-0 Fedora=gdk-pixbuf2"
4473 4950
4474RECIPE_STATUS_pn-gobject-introspection = "red" # update needed 4951RECIPE_STATUS_pn-gobject-introspection = "red" # update needed
4475DEPENDENCY_CHECK_pn-gobject-introspection = "not done" 4952RECIPE_DEPENDENCY_CHECK_pn-gobject-introspection = "not done"
4476RECIPE_LATEST_VERSION_pn-gobject-introspection = "0.9.5" 4953RECIPE_LATEST_VERSION_pn-gobject-introspection = "0.9.5"
4477RECIPE_NO_OF_PATCHES_pn-gobject-introspection = "3" 4954RECIPE_NO_OF_PATCHES_pn-gobject-introspection = "3"
4478RECIPE_INTEL_SECTION_pn-gobject-introspection = "graphic UX" 4955RECIPE_INTEL_SECTION_pn-gobject-introspection = "graphic UX"
4479RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gobject-introspection = "1 months" 4956RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gobject-introspection = "1 months"
4480RECIPE_LATEST_RELEASE_DATE_pn-gobject-introspection = "09/2010" 4957RECIPE_LATEST_RELEASE_DATE_pn-gobject-introspection = "09/2010"
4481RECIPE_COMMENTS_pn-gobject-introspection = "" 4958RECIPE_COMMENTS_pn-gobject-introspection = ""
4959RECIPE_LAST_UPDATE_pn-gnome-common = "Jul 7, 2010"
4482RECIPE_MAINTAINER_pn-gnome-common = "Zhai Edwin <edwin.zhai@intel.com>" 4960RECIPE_MAINTAINER_pn-gnome-common = "Zhai Edwin <edwin.zhai@intel.com>"
4483 4961
4484RECIPE_STATUS_pn-gnome-common = "green" 4962RECIPE_STATUS_pn-gnome-common = "green"
4485DEPENDENCY_CHECK_pn-gnome-common = "not done" 4963RECIPE_DEPENDENCY_CHECK_pn-gnome-common = "not done"
4486RECIPE_LATEST_VERSION_pn-gnome-common = "2.28.0" 4964RECIPE_LATEST_VERSION_pn-gnome-common = "2.28.0"
4487RECIPE_NO_OF_PATCHES_pn-gnome-common = "0" 4965RECIPE_NO_OF_PATCHES_pn-gnome-common = "0"
4488RECIPE_INTEL_SECTION_pn-gnome-common = "graphic UX" 4966RECIPE_INTEL_SECTION_pn-gnome-common = "graphic UX"
4489RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gnome-common = "6 months" 4967RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gnome-common = "6 months"
4490RECIPE_LATEST_RELEASE_DATE_pn-gnome-common = "09/2009" 4968RECIPE_LATEST_RELEASE_DATE_pn-gnome-common = "09/2009"
4491RECIPE_COMMENTS_pn-gnome-common = "" 4969RECIPE_COMMENTS_pn-gnome-common = ""
4970RECIPE_LAST_UPDATE_pn-gnome-common = "Jul 7, 2010"
4492RECIPE_MAINTAINER_pn-gnome-common = "Zhai Edwin <edwin.zhai@intel.com>" 4971RECIPE_MAINTAINER_pn-gnome-common = "Zhai Edwin <edwin.zhai@intel.com>"
4493 4972
4494RECIPE_STATUS_pn-webkit-gtk = "green" 4973RECIPE_STATUS_pn-webkit-gtk = "green"
4495DISTRO_PN_ALIAS_pn-webkit-gtk = "Fedora=webkitgtk" 4974DISTRO_PN_ALIAS_pn-webkit-gtk = "Fedora=webkitgtk"
4496DEPENDENCY_CHECK_pn-webkit-gtk = "not done" 4975RECIPE_DEPENDENCY_CHECK_pn-webkit-gtk = "not done"
4497RECIPE_LATEST_VERSION_pn-webkit-gtk = "1.3.2+svnr62027" 4976RECIPE_LATEST_VERSION_pn-webkit-gtk = "1.3.7+svnr72836"
4498RECIPE_NO_OF_PATCHES_pn-webkit-gtk = "0" 4977RECIPE_MANUAL_CHECK_DATE_pn-webkit-gtk = "Nov 19, 2010"
4978RECIPE_NO_OF_PATCHES_pn-webkit-gtk = "1"
4499RECIPE_INTEL_SECTION_pn-webkit-gtk = "graphic UX" 4979RECIPE_INTEL_SECTION_pn-webkit-gtk = "graphic UX"
4500RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-webkit-gtk = "1 month" 4980RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-webkit-gtk = "1 month"
4501RECIPE_LATEST_RELEASE_DATE_pn-webkit-gtk = "06/2010" 4981RECIPE_LATEST_RELEASE_DATE_pn-webkit-gtk = "11/2011"
4502RECIPE_COMMENTS_pn-webkit-gtk = "" 4982RECIPE_COMMENTS_pn-webkit-gtk = ""
4983RECIPE_LAST_UPDATE_pn-webkit-gtk = "Nov 30, 2011"
4503RECIPE_MAINTAINER_pn-webkit-gtk = "Zhai Edwin <edwin.zhai@intel.com>" 4984RECIPE_MAINTAINER_pn-webkit-gtk = "Zhai Edwin <edwin.zhai@intel.com>"
4504DISTRO_PN_ALIAS_pn-webkit-gtk = "Fedora=webkitgtk Ubuntu=libwebkit" 4985DISTRO_PN_ALIAS_pn-webkit-gtk = "Fedora=webkitgtk Ubuntu=libwebkit"
4505 4986
4506RECIPE_STATUS_pn-eds-dbus = "green" 4987RECIPE_STATUS_pn-eds-dbus = "green"
4507DISTRO_PN_ALIAS_pn-eds-dbus = "Debian=evolution-data-server Fedora=evolution-data-server Mandriva=evolution-data-server OpenSuSE=evolution-data-server Ubuntu=evolution-data-server" 4988DISTRO_PN_ALIAS_pn-eds-dbus = "Debian=evolution-data-server Fedora=evolution-data-server Mandriva=evolution-data-server OpenSuSE=evolution-data-server Ubuntu=evolution-data-server"
4508DEPENDENCY_CHECK_pn-eds-dbus = "not done" 4989RECIPE_DEPENDENCY_CHECK_pn-eds-dbus = "not done"
4509RECIPE_LATEST_VERSION_pn-eds-dbus = "2.31.4" 4990RECIPE_LATEST_VERSION_pn-eds-dbus = "2.31.4"
4510RECIPE_NO_UPDATE_REASON_pn-eds-dbus = "2.30.2 is latest stable release, while 2.31 branch acts as development branch." 4991RECIPE_NO_UPDATE_REASON_pn-eds-dbus = "2.30.2 is latest stable release, while 2.31 branch acts as development branch."
4511RECIPE_NO_OF_PATCHES_pn-eds-dbus = "0" 4992RECIPE_NO_OF_PATCHES_pn-eds-dbus = "0"
@@ -4513,208 +4994,228 @@ RECIPE_INTEL_SECTION_pn-eds-dbus = "graphic UX"
4513RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-eds-dbus = "1 month" 4994RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-eds-dbus = "1 month"
4514RECIPE_LATEST_RELEASE_DATE_pn-eds-dbus = "06/2010" 4995RECIPE_LATEST_RELEASE_DATE_pn-eds-dbus = "06/2010"
4515RECIPE_COMMENTS_pn-eds-dbus = "Update to 2.30.2 because of stability and dependency" 4996RECIPE_COMMENTS_pn-eds-dbus = "Update to 2.30.2 because of stability and dependency"
4997RECIPE_LAST_UPDATE_pn-eds-dbus = "Jul 16, 2010"
4516RECIPE_MAINTAINER_pn-eds-dbus = "Zhai Edwin <edwin.zhai@intel.com>" 4998RECIPE_MAINTAINER_pn-eds-dbus = "Zhai Edwin <edwin.zhai@intel.com>"
4517 4999
4518RECIPE_STATUS_pn-gnome-keyring = "green" 5000RECIPE_STATUS_pn-gnome-keyring = "green"
4519DEPENDENCY_CHECK_pn-gnome-keyring = "not done" 5001RECIPE_DEPENDENCY_CHECK_pn-gnome-keyring = "not done"
4520RECIPE_LATEST_VERSION_pn-gnome-keyring = "2.32.1" 5002RECIPE_LATEST_VERSION_pn-gnome-keyring = "2.32.1"
4521RECIPE_NO_OF_PATCHES_pn-gnome-keyring = "0" 5003RECIPE_NO_OF_PATCHES_pn-gnome-keyring = "0"
4522RECIPE_INTEL_SECTION_pn-gnome-keyring = "graphic UX" 5004RECIPE_INTEL_SECTION_pn-gnome-keyring = "graphic UX"
4523RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gnome-keyring = "1 month" 5005RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gnome-keyring = "1 month"
4524RECIPE_LATEST_RELEASE_DATE_pn-gnome-keyring = "10/2010" 5006RECIPE_LATEST_RELEASE_DATE_pn-gnome-keyring = "10/2010"
4525RECIPE_COMMENTS_pn-gnome-keyring = "" 5007RECIPE_COMMENTS_pn-gnome-keyring = ""
5008RECIPE_LAST_UPDATE_pn-gnome-keyring = "Nov 19, 2010"
5009RECIPE_NO_UPDATE_REASON_pn-gnome-keyring = "Do not upgrade to version: 2.91.4 because prefer stable tree"
4526RECIPE_MAINTAINER_pn-gnome-keyring = "Zhai Edwin <edwin.zhai@intel.com>" 5010RECIPE_MAINTAINER_pn-gnome-keyring = "Zhai Edwin <edwin.zhai@intel.com>"
4527 5011
4528RECIPE_STATUS_pn-gtk-sato-engine = "green" 5012RECIPE_STATUS_pn-gtk-sato-engine = "green"
4529DEPENDENCY_CHECK_pn-gtk-sato-engine = "not done" 5013RECIPE_DEPENDENCY_CHECK_pn-gtk-sato-engine = "not done"
4530RECIPE_LATEST_VERSION_pn-gtk-sato-engine = "0.3.2+svnr163" 5014RECIPE_LATEST_VERSION_pn-gtk-sato-engine = "0.3.2+svnr163"
4531RECIPE_NO_OF_PATCHES_pn-gtk-sato-engine = "0" 5015RECIPE_NO_OF_PATCHES_pn-gtk-sato-engine = "0"
4532RECIPE_INTEL_SECTION_pn-gtk-sato-engine = "graphic UX" 5016RECIPE_INTEL_SECTION_pn-gtk-sato-engine = "graphic UX"
4533RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gtk-sato-engine = "n/a" 5017RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gtk-sato-engine = "n/a"
4534RECIPE_LATEST_RELEASE_DATE_pn-gtk-sato-engine = "02/2008" 5018RECIPE_LATEST_RELEASE_DATE_pn-gtk-sato-engine = "02/2008"
4535RECIPE_COMMENTS_pn-gtk-sato-engine = "" 5019RECIPE_COMMENTS_pn-gtk-sato-engine = ""
5020RECIPE_LAST_UPDATE_pn-gtk-sato-engine = "Jul 6, 2010"
4536RECIPE_MAINTAINER_pn-gtk-sato-engine = "Zhai Edwin <edwin.zhai@intel.com>" 5021RECIPE_MAINTAINER_pn-gtk-sato-engine = "Zhai Edwin <edwin.zhai@intel.com>"
4537 5022
4538RECIPE_STATUS_pn-hicolor-icon-theme = "green" 5023RECIPE_STATUS_pn-hicolor-icon-theme = "green"
4539DEPENDENCY_CHECK_pn-hicolor-icon-theme = "not done" 5024RECIPE_DEPENDENCY_CHECK_pn-hicolor-icon-theme = "not done"
4540RECIPE_LATEST_VERSION_pn-hicolor-icon-theme = "0.12" 5025RECIPE_LATEST_VERSION_pn-hicolor-icon-theme = "0.12"
4541RECIPE_NO_OF_PATCHES_pn-hicolor-icon-theme = "0" 5026RECIPE_NO_OF_PATCHES_pn-hicolor-icon-theme = "0"
4542RECIPE_INTEL_SECTION_pn-hicolor-icon-theme = "graphic UX" 5027RECIPE_INTEL_SECTION_pn-hicolor-icon-theme = "graphic UX"
4543RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-hicolor-icon-theme = "4 months" 5028RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-hicolor-icon-theme = "4 months"
4544RECIPE_LATEST_RELEASE_DATE_pn-hicolor-icon-theme = "09/2009" 5029RECIPE_LATEST_RELEASE_DATE_pn-hicolor-icon-theme = "09/2009"
4545RECIPE_COMMENTS_pn-hicolor-icon-theme = "" 5030RECIPE_COMMENTS_pn-hicolor-icon-theme = ""
5031RECIPE_LAST_UPDATE_pn-hicolor-icon-theme = "Jul 7, 2010"
4546RECIPE_MAINTAINER_pn-hicolor-icon-theme = "Zhai Edwin <edwin.zhai@intel.com>" 5032RECIPE_MAINTAINER_pn-hicolor-icon-theme = "Zhai Edwin <edwin.zhai@intel.com>"
4547 5033
4548RECIPE_STATUS_pn-jpeg = "green" 5034RECIPE_STATUS_pn-jpeg = "green"
4549DEPENDENCY_CHECK_pn-jpeg = "not done" 5035RECIPE_DEPENDENCY_CHECK_pn-jpeg = "not done"
4550RECIPE_LATEST_VERSION_pn-jpeg = "8b" 5036RECIPE_LATEST_VERSION_pn-jpeg = "8b"
5037RECIPE_MANUAL_CHECK_DATE_pn-jpeg = "Dec 30, 2010"
4551RECIPE_NO_OF_PATCHES_pn-jpeg = "0" 5038RECIPE_NO_OF_PATCHES_pn-jpeg = "0"
4552RECIPE_INTEL_SECTION_pn-jpeg = "graphic UX" 5039RECIPE_INTEL_SECTION_pn-jpeg = "graphic UX"
4553RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-jpeg = "12 months" 5040RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-jpeg = "12 months"
4554RECIPE_LATEST_RELEASE_DATE_pn-jpeg = "05/2010" 5041RECIPE_LATEST_RELEASE_DATE_pn-jpeg = "05/2010"
4555RECIPE_COMMENTS_pn-jpeg = "" 5042RECIPE_COMMENTS_pn-jpeg = ""
5043RECIPE_LAST_UPDATE_pn-jpeg = "Jul 15, 2010"
4556RECIPE_MAINTAINER_pn-jpeg = "Zhai Edwin <edwin.zhai@intel.com>" 5044RECIPE_MAINTAINER_pn-jpeg = "Zhai Edwin <edwin.zhai@intel.com>"
4557DISTRO_PN_ALIAS_pn-jpeg="OpenSuSE=libjpeg Ubuntu=libjpeg62" 5045DISTRO_PN_ALIAS_pn-jpeg="OpenSuSE=libjpeg Ubuntu=libjpeg62"
4558 5046
4559RECIPE_STATUS_pn-libfakekey = "green" # no update needed 5047RECIPE_STATUS_pn-libfakekey = "green" # no update needed
4560DEPENDENCY_CHECK_pn-libfakekey = "not done" 5048RECIPE_DEPENDENCY_CHECK_pn-libfakekey = "not done"
4561RECIPE_LATEST_VERSION_pn-libfakekey = "0.0+svnr2031" 5049RECIPE_LATEST_VERSION_pn-libfakekey = "0.0+svnr2031"
4562RECIPE_NO_OF_PATCHES_pn-libfakekey = "0" 5050RECIPE_NO_OF_PATCHES_pn-libfakekey = "0"
4563RECIPE_INTEL_SECTION_pn-libfakekey = "graphic UX" 5051RECIPE_INTEL_SECTION_pn-libfakekey = "graphic UX"
4564RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libfakekey = "n/a" 5052RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libfakekey = "n/a"
4565RECIPE_LATEST_RELEASE_DATE_pn-libfakekey = "07/2006" 5053RECIPE_LATEST_RELEASE_DATE_pn-libfakekey = "07/2006"
4566RECIPE_COMMENTS_pn-libfakekey = "" 5054RECIPE_COMMENTS_pn-libfakekey = ""
5055RECIPE_LAST_UPDATE_pn-libfakekey = "Apr 15, 2008"
4567RECIPE_MAINTAINER_pn-libfakekey = "Zhai Edwin <edwin.zhai@intel.com>" 5056RECIPE_MAINTAINER_pn-libfakekey = "Zhai Edwin <edwin.zhai@intel.com>"
4568 5057
4569RECIPE_STATUS_pn-libglade = "green" 5058RECIPE_STATUS_pn-libglade = "green"
4570DISTRO_PN_ALIAS_pn-libglade = "Meego=libglade2 Fedora=libglade2 OpenSuSE=libglade2 Ubuntu=libglade2 Mandriva=libglade2.0 Debian=libglade2" 5059DISTRO_PN_ALIAS_pn-libglade = "Meego=libglade2 Fedora=libglade2 OpenSuSE=libglade2 Ubuntu=libglade2 Mandriva=libglade2.0 Debian=libglade2"
4571DEPENDENCY_CHECK_pn-libglade = "not done" 5060RECIPE_DEPENDENCY_CHECK_pn-libglade = "not done"
4572RECIPE_LATEST_VERSION_pn-libglade = "2.6.4" 5061RECIPE_LATEST_VERSION_pn-libglade = "2.6.4"
4573RECIPE_NO_OF_PATCHES_pn-libglade = "0" 5062RECIPE_NO_OF_PATCHES_pn-libglade = "0"
4574RECIPE_INTEL_SECTION_pn-libglade = "graphic UX" 5063RECIPE_INTEL_SECTION_pn-libglade = "graphic UX"
4575RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libglade = "7 months" 5064RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libglade = "7 months"
4576RECIPE_LATEST_RELEASE_DATE_pn-libglade = "03/2009" 5065RECIPE_LATEST_RELEASE_DATE_pn-libglade = "03/2009"
4577RECIPE_COMMENTS_pn-libglade = "" 5066RECIPE_COMMENTS_pn-libglade = ""
5067RECIPE_LAST_UPDATE_pn-libglade = "Jul 7, 2010"
4578RECIPE_MAINTAINER_pn-libglade = "Zhai Edwin <edwin.zhai@intel.com>" 5068RECIPE_MAINTAINER_pn-libglade = "Zhai Edwin <edwin.zhai@intel.com>"
4579 5069
4580RECIPE_STATUS_pn-libsoup-2.4 = "green" 5070RECIPE_STATUS_pn-libsoup-2.4 = "green"
4581DISTRO_PN_ALIAS_pn-libsoup-2.4 = "Meego=libsoup Fedora=libsoup OpenSuSE=libsoup Ubuntu=libsoup2.4 Mandriva=libsoup Debian=libsoup2.4" 5071DISTRO_PN_ALIAS_pn-libsoup-2.4 = "Meego=libsoup Fedora=libsoup OpenSuSE=libsoup Ubuntu=libsoup2.4 Mandriva=libsoup Debian=libsoup2.4"
4582DEPENDENCY_CHECK_pn-libsoup-2.4 = "not done" 5072RECIPE_DEPENDENCY_CHECK_pn-libsoup-2.4 = "not done"
4583RECIPE_LATEST_VERSION_pn-libsoup-2.4 = "2.32.1" 5073RECIPE_LATEST_VERSION_pn-libsoup-2.4 = "2.32.1"
4584RECIPE_NO_OF_PATCHES_pn-libsoup-2.4 = "0" 5074RECIPE_NO_OF_PATCHES_pn-libsoup-2.4 = "0"
4585RECIPE_INTEL_SECTION_pn-libsoup-2.4 = "graphic UX" 5075RECIPE_INTEL_SECTION_pn-libsoup-2.4 = "graphic UX"
4586RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libsoup-2.4 = "2 month" 5076RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libsoup-2.4 = "2 month"
4587RECIPE_LATEST_RELEASE_DATE_pn-libsoup-2.4 = "11/2010" 5077RECIPE_LATEST_RELEASE_DATE_pn-libsoup-2.4 = "11/2010"
4588RECIPE_COMMENTS_pn-libsoup-2.4 = "" 5078RECIPE_COMMENTS_pn-libsoup-2.4 = ""
5079RECIPE_LAST_UPDATE_pn-libsoup-2.4 = "Nov 19, 2010"
4589RECIPE_MAINTAINER_pn-libsoup-2.4 = "Zhai Edwin <edwin.zhai@intel.com>" 5080RECIPE_MAINTAINER_pn-libsoup-2.4 = "Zhai Edwin <edwin.zhai@intel.com>"
4590 5081
4591RECIPE_STATUS_pn-libxslt = "green" 5082RECIPE_STATUS_pn-libxslt = "green"
4592DEPENDENCY_CHECK_pn-libxslt = "not done" 5083RECIPE_DEPENDENCY_CHECK_pn-libxslt = "not done"
4593RECIPE_LATEST_VERSION_pn-libxslt = "1.1.26" 5084RECIPE_LATEST_VERSION_pn-libxslt = "1.1.26"
4594RECIPE_NO_OF_PATCHES_pn-libxslt = "0" 5085RECIPE_NO_OF_PATCHES_pn-libxslt = "0"
4595RECIPE_INTEL_SECTION_pn-libxslt = "graphic UX" 5086RECIPE_INTEL_SECTION_pn-libxslt = "graphic UX"
4596RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxslt = "1 month" 5087RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libxslt = "1 month"
4597RECIPE_LATEST_RELEASE_DATE_pn-libxslt = "09/2009" 5088RECIPE_LATEST_RELEASE_DATE_pn-libxslt = "09/2009"
4598RECIPE_COMMENTS_pn-libxslt = "" 5089RECIPE_COMMENTS_pn-libxslt = ""
5090RECIPE_LAST_UPDATE_pn-libxslt = "Jul 8, 2010"
4599RECIPE_MAINTAINER_pn-libxslt = "Zhai Edwin <edwin.zhai@intel.com>" 5091RECIPE_MAINTAINER_pn-libxslt = "Zhai Edwin <edwin.zhai@intel.com>"
4600 5092
4601RECIPE_STATUS_pn-matchbox-config-gtk = "green" 5093RECIPE_STATUS_pn-matchbox-config-gtk = "green"
4602DEPENDENCY_CHECK_pn-matchbox-config-gtk = "not done" 5094RECIPE_DEPENDENCY_CHECK_pn-matchbox-config-gtk = "not done"
4603RECIPE_LATEST_VERSION_pn-matchbox-config-gtk = "0.0+svnr2081" 5095RECIPE_LATEST_VERSION_pn-matchbox-config-gtk = "0.0+svnr2081"
4604RECIPE_NO_OF_PATCHES_pn-matchbox-config-gtk = "0" 5096RECIPE_NO_OF_PATCHES_pn-matchbox-config-gtk = "0"
4605RECIPE_INTEL_SECTION_pn-matchbox-config-gtk = "graphic UX" 5097RECIPE_INTEL_SECTION_pn-matchbox-config-gtk = "graphic UX"
4606RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-config-gtk = "n/a" 5098RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-config-gtk = "n/a"
4607RECIPE_LATEST_RELEASE_DATE_pn-matchbox-config-gtk = "09/2008" 5099RECIPE_LATEST_RELEASE_DATE_pn-matchbox-config-gtk = "09/2008"
4608RECIPE_COMMENTS_pn-matchbox-config-gtk = "" 5100RECIPE_COMMENTS_pn-matchbox-config-gtk = ""
5101RECIPE_LAST_UPDATE_pn-matchbox-config-gtk = "Jul 6, 2010"
4609RECIPE_MAINTAINER_pn-matchbox-config-gtk = "Zhai Edwin <edwin.zhai@intel.com>" 5102RECIPE_MAINTAINER_pn-matchbox-config-gtk = "Zhai Edwin <edwin.zhai@intel.com>"
4610 5103
4611RECIPE_STATUS_pn-matchbox-keyboard = "green" 5104RECIPE_STATUS_pn-matchbox-keyboard = "green"
4612DEPENDENCY_CHECK_pn-matchbox-keyboard = "not done" 5105RECIPE_DEPENDENCY_CHECK_pn-matchbox-keyboard = "not done"
4613RECIPE_LATEST_VERSION_pn-matchbox-keyboard = "0.0+svnr2075" 5106RECIPE_LATEST_VERSION_pn-matchbox-keyboard = "0.0+svnr2075"
4614RECIPE_NO_OF_PATCHES_pn-matchbox-keyboard = "0" 5107RECIPE_NO_OF_PATCHES_pn-matchbox-keyboard = "0"
4615RECIPE_INTEL_SECTION_pn-matchbox-keyboard = "graphic UX" 5108RECIPE_INTEL_SECTION_pn-matchbox-keyboard = "graphic UX"
4616RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-keyboard = "n/a" 5109RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-keyboard = "n/a"
4617RECIPE_LATEST_RELEASE_DATE_pn-matchbox-keyboard = "09/2008" 5110RECIPE_LATEST_RELEASE_DATE_pn-matchbox-keyboard = "09/2008"
4618RECIPE_COMMENTS_pn-matchbox-keyboard = "" 5111RECIPE_COMMENTS_pn-matchbox-keyboard = ""
5112RECIPE_LAST_UPDATE_pn-matchbox-keyboard = "Jul 6, 2010"
4619RECIPE_MAINTAINER_pn-matchbox-keyboard = "Zhai Edwin <edwin.zhai@intel.com>" 5113RECIPE_MAINTAINER_pn-matchbox-keyboard = "Zhai Edwin <edwin.zhai@intel.com>"
4620 5114
4621RECIPE_STATUS_pn-matchbox-panel-2 = "green" 5115RECIPE_STATUS_pn-matchbox-panel-2 = "green"
4622DISTRO_PN_ALIAS_pn-matchbox-panel-2 = "Debian=matchbox-panel Mandriva=matchbox-panel Ubuntu=matchbox-panel" 5116DISTRO_PN_ALIAS_pn-matchbox-panel-2 = "Debian=matchbox-panel Mandriva=matchbox-panel Ubuntu=matchbox-panel"
4623DEPENDENCY_CHECK_pn-matchbox-panel-2 = "not done" 5117RECIPE_DEPENDENCY_CHECK_pn-matchbox-panel-2 = "not done"
4624RECIPE_LATEST_VERSION_pn-matchbox-panel-2 = "0.0+svnr2111" 5118RECIPE_LATEST_VERSION_pn-matchbox-panel-2 = "0.0+svnr2111"
4625RECIPE_NO_OF_PATCHES_pn-matchbox-panel-2 = "1" 5119RECIPE_NO_OF_PATCHES_pn-matchbox-panel-2 = "1"
4626RECIPE_INTEL_SECTION_pn-matchbox-panel-2 = "graphic UX" 5120RECIPE_INTEL_SECTION_pn-matchbox-panel-2 = "graphic UX"
4627RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-panel-2 = "n/a" 5121RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-panel-2 = "n/a"
4628RECIPE_LATEST_RELEASE_DATE_pn-matchbox-panel-2 = "08/2010" 5122RECIPE_LATEST_RELEASE_DATE_pn-matchbox-panel-2 = "08/2010"
4629RECIPE_COMMENTS_pn-matchbox-panel-2 = "" 5123RECIPE_COMMENTS_pn-matchbox-panel-2 = ""
5124RECIPE_LAST_UPDATE_pn-matchbox-panel = "Nov 19, 2010"
4630RECIPE_MAINTAINER_pn-matchbox-panel-2 = "Zhai Edwin <edwin.zhai@intel.com>" 5125RECIPE_MAINTAINER_pn-matchbox-panel-2 = "Zhai Edwin <edwin.zhai@intel.com>"
4631 5126
4632RECIPE_STATUS_pn-matchbox-stroke = "green" 5127RECIPE_STATUS_pn-matchbox-stroke = "green"
4633DEPENDENCY_CHECK_pn-matchbox-stroke = "not done" 5128RECIPE_DEPENDENCY_CHECK_pn-matchbox-stroke = "not done"
4634RECIPE_LATEST_VERSION_pn-matchbox-stroke = "0.0+svnr1820" 5129RECIPE_LATEST_VERSION_pn-matchbox-stroke = "0.0+svnr1820"
4635RECIPE_NO_OF_PATCHES_pn-matchbox-stroke = "0" 5130RECIPE_NO_OF_PATCHES_pn-matchbox-stroke = "0"
4636RECIPE_INTEL_SECTION_pn-matchbox-stroke = "graphic UX" 5131RECIPE_INTEL_SECTION_pn-matchbox-stroke = "graphic UX"
4637RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-stroke = "n/a" 5132RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-stroke = "n/a"
4638RECIPE_LATEST_RELEASE_DATE_pn-matchbox-stroke = "11/2007" 5133RECIPE_LATEST_RELEASE_DATE_pn-matchbox-stroke = "11/2007"
4639RECIPE_COMMENTS_pn-matchbox-stroke = "" 5134RECIPE_COMMENTS_pn-matchbox-stroke = ""
5135RECIPE_LAST_UPDATE_pn-matchbox-stroke = "Jul 6, 2010"
4640RECIPE_MAINTAINER_pn-matchbox-stroke = "Zhai Edwin <edwin.zhai@intel.com>" 5136RECIPE_MAINTAINER_pn-matchbox-stroke = "Zhai Edwin <edwin.zhai@intel.com>"
4641 5137
4642RECIPE_STATUS_pn-matchbox-wm = "green" 5138RECIPE_STATUS_pn-matchbox-wm = "green"
4643DISTRO_PN_ALIAS_pn-matchbox-wm-2 = "Mandriva=matchbox-window-manager Debian=matchbox-window-manager" 5139DISTRO_PN_ALIAS_pn-matchbox-wm-2 = "Mandriva=matchbox-window-manager Debian=matchbox-window-manager"
4644DEPENDENCY_CHECK_pn-matchbox-wm = "not done" 5140RECIPE_DEPENDENCY_CHECK_pn-matchbox-wm = "not done"
4645RECIPE_LATEST_VERSION_pn-matchbox-wm = "1.2+svnr1819" 5141RECIPE_LATEST_VERSION_pn-matchbox-wm = "1.2+svnr1819"
4646RECIPE_NO_OF_PATCHES_pn-matchbox-wm = "0" 5142RECIPE_NO_OF_PATCHES_pn-matchbox-wm = "0"
4647RECIPE_INTEL_SECTION_pn-matchbox-wm = "graphic UX" 5143RECIPE_INTEL_SECTION_pn-matchbox-wm = "graphic UX"
4648RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-wm = "n/a" 5144RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-matchbox-wm = "n/a"
4649RECIPE_LATEST_RELEASE_DATE_pn-matchbox-wm = "11/2007" 5145RECIPE_LATEST_RELEASE_DATE_pn-matchbox-wm = "11/2007"
4650RECIPE_COMMENTS_pn-matchbox-wm = "" 5146RECIPE_COMMENTS_pn-matchbox-wm = ""
5147RECIPE_LAST_UPDATE_pn-matchbox-wm = "Jul 6, 2010"
4651RECIPE_MAINTAINER_pn-matchbox-wm = "Zhai Edwin <edwin.zhai@intel.com>" 5148RECIPE_MAINTAINER_pn-matchbox-wm = "Zhai Edwin <edwin.zhai@intel.com>"
4652 5149
4653RECIPE_STATUS_pn-pointercal = "green" 5150RECIPE_STATUS_pn-pointercal = "green"
4654DEPENDENCY_CHECK_pn-pointercal = "not done" 5151RECIPE_DEPENDENCY_CHECK_pn-pointercal = "not done"
4655RECIPE_LATEST_VERSION_pn-pointercal = "0.0" 5152RECIPE_LATEST_VERSION_pn-pointercal = "0.0"
4656RECIPE_NO_OF_PATCHES_pn-pointercal = "0" 5153RECIPE_NO_OF_PATCHES_pn-pointercal = "0"
4657RECIPE_INTEL_SECTION_pn-pointercal = "graphic UX" 5154RECIPE_INTEL_SECTION_pn-pointercal = "graphic UX"
4658RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pointercal = "n/a" 5155RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-pointercal = "n/a"
4659RECIPE_LATEST_RELEASE_DATE_pn-pointercal = "n/a" 5156RECIPE_LATEST_RELEASE_DATE_pn-pointercal = "n/a"
4660RECIPE_COMMENTS_pn-pointercal = "Just a data file" 5157RECIPE_COMMENTS_pn-pointercal = "Just a data file"
5158RECIPE_LAST_UPDATE_pn-pointercal = "Jan 30, 2007"
4661RECIPE_MAINTAINER_pn-pointercal = "Zhai Edwin <edwin.zhai@intel.com>" 5159RECIPE_MAINTAINER_pn-pointercal = "Zhai Edwin <edwin.zhai@intel.com>"
4662 5160
4663RECIPE_STATUS_pn-libgnome-keyring = "green" 5161RECIPE_STATUS_pn-libgnome-keyring = "green"
4664DEPENDENCY_CHECK_pn-libgnome-keyring = "not done" 5162RECIPE_DEPENDENCY_CHECK_pn-libgnome-keyring = "not done"
4665RECIPE_LATEST_VERSION_pn-libgnome-keyring = "2.32.0" 5163RECIPE_LATEST_VERSION_pn-libgnome-keyring = "2.32.0"
4666RECIPE_NO_OF_PATCHES_pn-libgnome-keyring = "0" 5164RECIPE_NO_OF_PATCHES_pn-libgnome-keyring = "0"
4667RECIPE_INTEL_SECTION_pn-libgnome-keyring = "graphic UX" 5165RECIPE_INTEL_SECTION_pn-libgnome-keyring = "graphic UX"
4668RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libgnome-keyring = "1 month" 5166RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libgnome-keyring = "1 month"
4669RECIPE_LATEST_RELEASE_DATE_pn-libgnome-keyring = "09/2010" 5167RECIPE_LATEST_RELEASE_DATE_pn-libgnome-keyring = "09/2010"
4670RECIPE_COMMENTS_pn-libgnome-keyring = "New recipe separated from gnome-keyring" 5168RECIPE_COMMENTS_pn-libgnome-keyring = "New recipe separated from gnome-keyring"
5169RECIPE_LAST_UPDATE_pn-libgnome-keyring = "Nov 19, 2010"
4671RECIPE_MAINTAINER_pn-libgnome-keyring = "Zhai Edwin <edwin.zhai@intel.com>" 5170RECIPE_MAINTAINER_pn-libgnome-keyring = "Zhai Edwin <edwin.zhai@intel.com>"
4672 5171
4673RECIPE_STATUS_pn-web-webkit = "green" 5172RECIPE_STATUS_pn-web-webkit = "green"
4674DEPENDENCY_CHECK_pn-web-webkit = "not done" 5173RECIPE_DEPENDENCY_CHECK_pn-web-webkit = "not done"
4675RECIPE_LATEST_VERSION_pn-web-webkit = "0.0+svnr110" 5174RECIPE_LATEST_VERSION_pn-web-webkit = "0.0+svnr110"
4676RECIPE_NO_OF_PATCHES_pn-web-webkit = "1" 5175RECIPE_NO_OF_PATCHES_pn-web-webkit = "1"
4677RECIPE_INTEL_SECTION_pn-web-webkit = "graphic UX" 5176RECIPE_INTEL_SECTION_pn-web-webkit = "graphic UX"
4678RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-web-webkit = "n/a" 5177RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-web-webkit = "n/a"
4679RECIPE_LATEST_RELEASE_DATE_pn-web-webkit = "08/2008" 5178RECIPE_LATEST_RELEASE_DATE_pn-web-webkit = "08/2008"
4680RECIPE_COMMENTS_pn-web-webkit = "" 5179RECIPE_COMMENTS_pn-web-webkit = ""
5180RECIPE_LAST_UPDATE_pn-web-webkit = "Dec 20, 2010"
4681RECIPE_MAINTAINER_pn-web-webkit = "Zhai Edwin <edwin.zhai@intel.com>" 5181RECIPE_MAINTAINER_pn-web-webkit = "Zhai Edwin <edwin.zhai@intel.com>"
4682 5182
4683RECIPE_STATUS_pn-libfm = "green" 5183RECIPE_STATUS_pn-libfm = "green"
4684DEPENDENCY_CHECK_pn-libfm = "not done" 5184RECIPE_DEPENDENCY_CHECK_pn-libfm = "not done"
4685RECIPE_LATEST_VERSION_pn-libfm = "0.1.14" 5185RECIPE_LATEST_VERSION_pn-libfm = "0.1.14"
5186RECIPE_MANUAL_CHECK_DATE_pn-libfm = "Nov 19, 2010"
4686RECIPE_NO_OF_PATCHES_pn-libfm = "0" 5187RECIPE_NO_OF_PATCHES_pn-libfm = "0"
4687RECIPE_INTEL_SECTION_pn-libfm = "graphic UX" 5188RECIPE_INTEL_SECTION_pn-libfm = "graphic UX"
4688RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libfm = "5 months" 5189RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libfm = "5 months"
4689RECIPE_LATEST_RELEASE_DATE_pn-libfm = "10/2010" 5190RECIPE_LATEST_RELEASE_DATE_pn-libfm = "10/2010"
4690RECIPE_COMMENTS_pn-libfm = "Add as required when updating pcmanfm" 5191RECIPE_COMMENTS_pn-libfm = "Add as required when updating pcmanfm"
5192RECIPE_LAST_UPDATE_pn-libfm = "Nov 19, 2010"
4691RECIPE_MAINTAINER_pn-libfm = "Zhai Edwin <edwin.zhai@intel.com>" 5193RECIPE_MAINTAINER_pn-libfm = "Zhai Edwin <edwin.zhai@intel.com>"
4692 5194
4693RECIPE_STATUS_pn-menu-cache = "green" 5195RECIPE_STATUS_pn-menu-cache = "green"
4694DEPENDENCY_CHECK_pn-menu-cache = "not done" 5196RECIPE_DEPENDENCY_CHECK_pn-menu-cache = "not done"
4695RECIPE_LATEST_VERSION_pn-menu-cache = "0.3.2" 5197RECIPE_LATEST_VERSION_pn-menu-cache = "0.3.2"
5198RECIPE_MANUAL_CHECK_DATE_pn-menu-cache = "Nov 22, 2010"
4696RECIPE_NO_OF_PATCHES_pn-menu-cache = "0" 5199RECIPE_NO_OF_PATCHES_pn-menu-cache = "0"
4697RECIPE_INTEL_SECTION_pn-menu-cache = "graphic UX" 5200RECIPE_INTEL_SECTION_pn-menu-cache = "graphic UX"
4698RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-menu-cache = "1 month" 5201RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-menu-cache = "1 month"
4699RECIPE_LATEST_RELEASE_DATE_pn-menu-cache = "02/2010" 5202RECIPE_LATEST_RELEASE_DATE_pn-menu-cache = "02/2010"
4700RECIPE_COMMENTS_pn-menu-cache = "Add as required when adding libfm" 5203RECIPE_COMMENTS_pn-menu-cache = "Add as required when adding libfm"
4701DISTRO_PN_ALIAS_pn-menu-cache = "OSPDT" 5204DISTRO_PN_ALIAS_pn-menu-cache = "OSPDT"
5205RECIPE_LAST_UPDATE_pn-menu-cache = "Jul 22, 2010"
4702RECIPE_MAINTAINER_pn-menu-cache = "Zhai Edwin <edwin.zhai@intel.com>" 5206RECIPE_MAINTAINER_pn-menu-cache = "Zhai Edwin <edwin.zhai@intel.com>"
4703 5207
4704RECIPE_STATUS_pn-gtk-engines = "red" 5208RECIPE_STATUS_pn-gtk-engines = "green"
4705DISTRO_PN_ALIAS_pn-gtk-engines = "Fedora=gtk2-engines OpenSuSE=gtk2-engines Ubuntu=gtk2-engines Mandriva=gtk-engines2 Debian=gtk2-engines" 5209DISTRO_PN_ALIAS_pn-gtk-engines = "Fedora=gtk2-engines OpenSuSE=gtk2-engines Ubuntu=gtk2-engines Mandriva=gtk-engines2 Debian=gtk2-engines"
4706RECIPE_LATEST_VERSION_pn-gtk-engines = "2.18" 5210RECIPE_LATEST_VERSION_pn-gtk-engines = "2.20.2"
5211RECIPE_LAST_UPDATE_pn-gtk-engines = "Dec 1, 2010"
5212RECIPE_NO_UPDATE_REASON_pn-gtk-engines = "Do not upgrade to version: 2.91.1 because prefer stable tree"
4707RECIPE_MAINTAINER_pn-gtk-engines = "Edwin Zhai <edwin.zhai@intel.com>" 5213RECIPE_MAINTAINER_pn-gtk-engines = "Edwin Zhai <edwin.zhai@intel.com>"
4708 5214
4709RECIPE_STATUS_pn-clutter-box2d = "red" 5215RECIPE_STATUS_pn-clutter-box2d = "red"
4710RECIPE_LATEST_VERSION_pn-clutter-box2d = "0.10.0" 5216RECIPE_LATEST_VERSION_pn-clutter-box2d = "0.10.0"
4711RECIPE_MAINTAINER_pn-clutter-box2d = "Edwin Zhai <edwin.zhai@intel.com>" 5217RECIPE_MAINTAINER_pn-clutter-box2d = "Edwin Zhai <edwin.zhai@intel.com>"
4712 5218
4713RECIPE_STATUS_pn-clutter-gtk-0.10 = "red"
4714DISTRO_PN_ALIAS_pn-clutter-gtk-0.10 = "Fedora=clutter-gtk OpenSuSE=clutter-gtk Ubuntu=clutter-gtk-0.10 Mandriva=clutter-gtk Debian=clutter-gtk"
4715RECIPE_LATEST_VERSION_pn-clutter-gtk-0.10 = "0.10.3+git0+b92329c4c1288019e2dea6567e2b5e98eb0a9992"
4716RECIPE_MAINTAINER_pn-clutter-gtk-0.10 = "Edwin Zhai <edwin.zhai@intel.com>"
4717
4718RECIPE_STATUS_pn-clutter-gtk-1.0 = "red" 5219RECIPE_STATUS_pn-clutter-gtk-1.0 = "red"
4719DISTRO_PN_ALIAS_pn-clutter-gtk-1.0 = "Fedora=clutter-gtk OpenSuSE=clutter-gtk Ubuntu=clutter-gtk-0.10 Mandriva=clutter-gtk Debian=clutter-gtk" 5220DISTRO_PN_ALIAS_pn-clutter-gtk-1.0 = "Fedora=clutter-gtk OpenSuSE=clutter-gtk Ubuntu=clutter-gtk-0.10 Mandriva=clutter-gtk Debian=clutter-gtk"
4720RECIPE_LATEST_VERSION_pn-clutter-gtk-1.0 = "0.90.0+git0+e8d828ba1d87937baa571e68fdff22f3e2d79ca8" 5221RECIPE_LATEST_VERSION_pn-clutter-gtk-1.0 = "0.90.0+git0+e8d828ba1d87937baa571e68fdff22f3e2d79ca8"
@@ -4722,49 +5223,23 @@ RECIPE_MAINTAINER_pn-clutter-gtk-1.0 = "Edwin Zhai <edwin.zhai@intel.com>"
4722 5223
4723RECIPE_STATUS_pn-tidy = "red" 5224RECIPE_STATUS_pn-tidy = "red"
4724RECIPE_LATEST_VERSION_pn-tidy = "0.1.0+git0+e25416e1293e1074bfa6727c80527dcff5b1f3cb" 5225RECIPE_LATEST_VERSION_pn-tidy = "0.1.0+git0+e25416e1293e1074bfa6727c80527dcff5b1f3cb"
5226RECIPE_LAST_UPDATE_pn-tidy = "Dec 18, 2008"
4725RECIPE_MAINTAINER_pn-tidy = "Edwin Zhai <edwin.zhai@intel.com>" 5227RECIPE_MAINTAINER_pn-tidy = "Edwin Zhai <edwin.zhai@intel.com>"
4726 5228
4727RECIPE_STATUS_pn-libcanberra = "red" 5229RECIPE_STATUS_pn-libcanberra = "green"
4728RECIPE_LATEST_VERSION_pn-libcanberra = "0.24" 5230RECIPE_LATEST_VERSION_pn-libcanberra = "0.26"
5231RECIPE_LAST_UPDATE_pn-libcanberra = "Dec 31, 2010"
4729RECIPE_MAINTAINER_pn-libcanberra = "Edwin Zhai <edwin.zhai@intel.com>" 5232RECIPE_MAINTAINER_pn-libcanberra = "Edwin Zhai <edwin.zhai@intel.com>"
4730 5233
4731RECIPE_STATUS_pn-libgalago = "red" 5234RECIPE_STATUS_pn-libgalago = "red"
4732RECIPE_LATEST_VERSION_pn-libgalago = "0.5.2" 5235RECIPE_LATEST_VERSION_pn-libgalago = "0.5.2"
5236RECIPE_LAST_UPDATE_pn-libgalago = "Apr 11, 2007"
4733RECIPE_MAINTAINER_pn-libgalago = "Edwin Zhai <edwin.zhai@intel.com>" 5237RECIPE_MAINTAINER_pn-libgalago = "Edwin Zhai <edwin.zhai@intel.com>"
4734 5238
4735RECIPE_STATUS_pn-clutter-cairo-0.6 = "red"
4736DISTRO_PN_ALIAS_pn-clutter-cairo-0.6 = "Debian=clutter-cairo Ubuntu=clutter-cairo Fedora=clutter-cairo"
4737RECIPE_LATEST_VERSION_pn-clutter-cairo-0.6 = "0.6"
4738RECIPE_MAINTAINER_pn-clutter-cairo-0.6 = "Edwin Zhai <edwin.zhai@intel.com>"
4739
4740RECIPE_STATUS_pn-clutter-0.6 = "red"
4741DISTRO_PN_ALIAS_pn-clutter-0.6 = "Debian=clutter Fedora=clutter Mandriva=clutter Meego=clutter-0.6 OpenSuSE=clutter Ubuntu=clutter"
4742RECIPE_LATEST_VERSION_pn-clutter-0.6 = "0.6.0+gitr0+62e852a51e29dd42c84d6b34fe23b80b2542be59"
4743RECIPE_MAINTAINER_pn-clutter-0.6 = "Edwin Zhai <edwin.zhai@intel.com>"
4744
4745RECIPE_STATUS_pn-clutter-gtk-0.6 = "red"
4746DISTRO_PN_ALIAS_pn-clutter-gtk-0.6 = "Fedora=clutter-gtk OpenSuSE=clutter-gtk Ubuntu=clutter-gtk-0.10 Mandriva=clutter-gtk Debian=clutter-gtk"
4747RECIPE_LATEST_VERSION_pn-clutter-gtk-0.6 = "0.6.0+git0+2ba362a1a223c2b28541030a80aa11191615340a"
4748RECIPE_MAINTAINER_pn-clutter-gtk-0.6 = "Edwin Zhai <edwin.zhai@intel.com>"
4749
4750RECIPE_STATUS_pn-clutter-cairo-0.8 = "red"
4751DISTRO_PN_ALIAS_pn-clutter-cairo-0.8 = "Debian=clutter-cairo Ubuntu=clutter-cairo Fedora=clutter-cairo"
4752RECIPE_LATEST_VERSION_pn-clutter-cairo-0.8 = "0.8.2"
4753RECIPE_MAINTAINER_pn-clutter-cairo-0.8 = "Edwin Zhai <edwin.zhai@intel.com>"
4754
4755RECIPE_STATUS_pn-clutter-gtk-0.8 = "red"
4756DISTRO_PN_ALIAS_pn-clutter-gtk-0.8 = "Fedora=clutter-gtk OpenSuSE=clutter-gtk Ubuntu=clutter-gtk-0.10 Mandriva=clutter-gtk Debian=clutter-gtk"
4757RECIPE_LATEST_VERSION_pn-clutter-gtk-0.8 = "0.8.0+git0+7d3c3230376e731c06c21afa9d8c1d44dbea27cd"
4758RECIPE_MAINTAINER_pn-clutter-gtk-0.8 = "Edwin Zhai <edwin.zhai@intel.com>"
4759
4760RECIPE_STATUS_pn-clutter-0.8 = "red"
4761DISTRO_PN_ALIAS_pn-clutter-0.8 = "Fedora=clutter OpenSuSE=clutter Ubuntu=clutter-1.0 Mandriva=clutter Debian=clutter"
4762RECIPE_LATEST_VERSION_pn-clutter-0.8 = "0.8.0+gitr3ba37ff115ed3fbe6c94195775941091a3ac2b30"
4763RECIPE_MAINTAINER_pn-clutter-0.8 = "Edwin Zhai <edwin.zhai@intel.com>"
4764
4765RECIPE_STATUS_pn-clutter-1.0 = "red" 5239RECIPE_STATUS_pn-clutter-1.0 = "red"
4766DISTRO_PN_ALIAS_pn-clutter-1.0 = "Fedora=clutter OpenSuse=clutter Ubuntu=clutter-1.0 Mandriva=clutter Debian=clutter" 5240DISTRO_PN_ALIAS_pn-clutter-1.0 = "Fedora=clutter OpenSuse=clutter Ubuntu=clutter-1.0 Mandriva=clutter Debian=clutter"
4767RECIPE_LATEST_VERSION_pn-clutter-1.0 = "1.0+git0+ce5025d0a2b701541ca9343686f9dac858905da4" 5241RECIPE_LATEST_VERSION_pn-clutter-1.0 = "1.0+git0+ce5025d0a2b701541ca9343686f9dac858905da4"
5242RECIPE_LAST_UPDATE_pn-clutter-1.0 = "Jan 29, 2010"
4768RECIPE_MAINTAINER_pn-clutter-1.0 = "Edwin Zhai <edwin.zhai@intel.com>" 5243RECIPE_MAINTAINER_pn-clutter-1.0 = "Edwin Zhai <edwin.zhai@intel.com>"
4769 5244
4770RECIPE_STATUS_pn-clutter = "red" 5245RECIPE_STATUS_pn-clutter = "red"
@@ -4774,49 +5249,51 @@ RECIPE_MAINTAINER_pn-clutter = "Edwin Zhai <edwin.zhai@intel.com>"
4774 5249
4775RECIPE_STATUS_pn-libgnomekbd = "red" 5250RECIPE_STATUS_pn-libgnomekbd = "red"
4776RECIPE_LATEST_VERSION_pn-libgnomekbd = "2.31.1" 5251RECIPE_LATEST_VERSION_pn-libgnomekbd = "2.31.1"
5252RECIPE_LAST_UPDATE_pn-libgnomekbd = "Jun 10, 2009"
4777RECIPE_MAINTAINER_pn-libgnomekbd = "Edwin Zhai <edwin.zhai@intel.com>" 5253RECIPE_MAINTAINER_pn-libgnomekbd = "Edwin Zhai <edwin.zhai@intel.com>"
4778 5254
4779RECIPE_STATUS_pn-clipboard-manager = "red" 5255RECIPE_STATUS_pn-clipboard-manager = "red"
4780DISTRO_PN_ALIAS_pn-clipboard-manager = "OpenedHand" 5256DISTRO_PN_ALIAS_pn-clipboard-manager = "OpenedHand"
4781RECIPE_LATEST_VERSION_pn-clipboard-manager = "0.6.8" 5257RECIPE_LATEST_VERSION_pn-clipboard-manager = "0.6.8"
5258RECIPE_LAST_UPDATE_pn-clipboard-manager = "Dec 24, 2007"
4782RECIPE_MAINTAINER_pn-clipboard-manager = "Edwin Zhai <edwin.zhai@intel.com>" 5259RECIPE_MAINTAINER_pn-clipboard-manager = "Edwin Zhai <edwin.zhai@intel.com>"
4783 5260
4784RECIPE_STATUS_pn-gnome-desktop = "red" 5261RECIPE_STATUS_pn-gnome-desktop = "green"
4785RECIPE_LATEST_VERSION_pn-gnome-desktop = "2.31.2" 5262RECIPE_LATEST_VERSION_pn-gnome-desktop = "2.32.1"
5263RECIPE_LAST_UPDATE_pn-gnome-desktop = "Dec 1, 2010"
5264RECIPE_NO_UPDATE_REASON_pn-gnome-desktop = "Do not upgrade to version: 2.91.6 because prefer stable tree"
4786RECIPE_MAINTAINER_pn-gnome-desktop = "Edwin Zhai <edwin.zhai@intel.com>" 5265RECIPE_MAINTAINER_pn-gnome-desktop = "Edwin Zhai <edwin.zhai@intel.com>"
4787 5266
4788RECIPE_STATUS_pn-gnome-icon-theme = "red" 5267RECIPE_STATUS_pn-gnome-icon-theme = "green"
4789RECIPE_LATEST_VERSION_pn-gnome-icon-theme = "2.30.2" 5268RECIPE_LATEST_VERSION_pn-gnome-icon-theme = "2.31.0"
5269RECIPE_LAST_UPDATE_pn-gnome-icon-theme = "Dec 1, 2010"
5270RECIPE_NO_UPDATE_REASON_pn-gnome-icon-theme = "Do not upgrade to version: 2.91.0 because prefer stable tree"
4790RECIPE_MAINTAINER_pn-gnome-icon-theme = "Edwin Zhai <edwin.zhai@intel.com>" 5271RECIPE_MAINTAINER_pn-gnome-icon-theme = "Edwin Zhai <edwin.zhai@intel.com>"
4791 5272
4792RECIPE_STATUS_pn-gtk-doc = "red" 5273RECIPE_STATUS_pn-gtk-doc = "red"
4793RECIPE_LATEST_VERSION_pn-gtk-doc = "1.15" 5274RECIPE_LATEST_VERSION_pn-gtk-doc = "1.15"
5275RECIPE_LAST_UPDATE_pn-gtk-doc = "Jun 10, 2009"
4794RECIPE_MAINTAINER_pn-gtk-doc = "Edwin Zhai <edwin.zhai@intel.com>" 5276RECIPE_MAINTAINER_pn-gtk-doc = "Edwin Zhai <edwin.zhai@intel.com>"
4795 5277
4796RECIPE_STATUS_pn-gtkhtml2 = "red" 5278RECIPE_STATUS_pn-gtkhtml2 = "red"
4797RECIPE_LATEST_VERSION_pn-gtkhtml2 = "2.11.1" 5279RECIPE_LATEST_VERSION_pn-gtkhtml2 = "2.11.1"
5280RECIPE_LAST_UPDATE_pn-gtkhtml2 = "Aug 9, 2007"
4798RECIPE_MAINTAINER_pn-gtkhtml2 = "Edwin Zhai <edwin.zhai@intel.com>" 5281RECIPE_MAINTAINER_pn-gtkhtml2 = "Edwin Zhai <edwin.zhai@intel.com>"
4799 5282
4800RECIPE_STATUS_pn-gtk-theme-darkilouche = "red"
4801DISTRO_PN_ALIAS_pn-gtk-theme-darkilouche = "OSPDT upstream=git://people.freedesktop.org/~jimmac/Darkilouche.git"
4802RECIPE_LATEST_VERSION_pn-gtk-theme-darkilouche = "1.0"
4803RECIPE_MAINTAINER_pn-gtk-theme-darkilouche = "Edwin Zhai <edwin.zhai@intel.com>"
4804
4805RECIPE_STATUS_pn-libgnomecanvas = "red" 5283RECIPE_STATUS_pn-libgnomecanvas = "red"
4806RECIPE_LATEST_VERSION_pn-libgnomecanvas = "2.30.1" 5284RECIPE_LATEST_VERSION_pn-libgnomecanvas = "2.30.1"
5285RECIPE_LAST_UPDATE_pn-libgnomecanvas = "Jun 10, 2009"
4807RECIPE_MAINTAINER_pn-libgnomecanvas = "Edwin Zhai <edwin.zhai@intel.com>" 5286RECIPE_MAINTAINER_pn-libgnomecanvas = "Edwin Zhai <edwin.zhai@intel.com>"
4808 5287
4809RECIPE_STATUS_pn-libgtkstylus = "red" 5288RECIPE_STATUS_pn-libgtkstylus = "red"
4810RECIPE_LATEST_VERSION_pn-libgtkstylus = "0.5" 5289RECIPE_LATEST_VERSION_pn-libgtkstylus = "0.5"
5290RECIPE_LAST_UPDATE_pn-libgtkstylus = "Jul 21, 2006"
4811RECIPE_MAINTAINER_pn-libgtkstylus = "Edwin Zhai <edwin.zhai@intel.com>" 5291RECIPE_MAINTAINER_pn-libgtkstylus = "Edwin Zhai <edwin.zhai@intel.com>"
4812DISTRO_PN_ALIAS_pn-libgtkstylus = "Debian=libgtkstylus Ubuntu=libgtkstylus" 5292DISTRO_PN_ALIAS_pn-libgtkstylus = "Debian=libgtkstylus Ubuntu=libgtkstylus"
4813 5293
4814RECIPE_STATUS_pn-matchbox-theme-sato-2 = "red"
4815RECIPE_LATEST_VERSION_pn-matchbox-theme-sato-2 = "0.1+svnr164"
4816RECIPE_MAINTAINER_pn-matchbox-theme-sato-2 = "Edwin Zhai <edwin.zhai@intel.com>"
4817
4818RECIPE_STATUS_pn-matchbox-themes-extra = "red" 5294RECIPE_STATUS_pn-matchbox-themes-extra = "red"
4819RECIPE_LATEST_VERSION_pn-matchbox-themes-extra = "0.3+svnr1247" 5295RECIPE_LATEST_VERSION_pn-matchbox-themes-extra = "0.3+svnr1247"
5296RECIPE_LAST_UPDATE_pn-matchbox-themes-extra = "Aug 9, 2007"
4820RECIPE_MAINTAINER_pn-matchbox-themes-extra = "Edwin Zhai <edwin.zhai@intel.com>" 5297RECIPE_MAINTAINER_pn-matchbox-themes-extra = "Edwin Zhai <edwin.zhai@intel.com>"
4821DISTRO_PN_ALIAS_pn-matchbox-themes-extra = "Ubuntu=matchbox-themes-extra Mandriva=matchbox-themes-extra" 5298DISTRO_PN_ALIAS_pn-matchbox-themes-extra = "Ubuntu=matchbox-themes-extra Mandriva=matchbox-themes-extra"
4822 5299
@@ -4824,36 +5301,42 @@ RECIPE_STATUS_pn-matchbox-themes-gtk = "red"
4824RECIPE_LATEST_VERSION_pn-matchbox-themes-gtk = "1.0" 5301RECIPE_LATEST_VERSION_pn-matchbox-themes-gtk = "1.0"
4825RECIPE_MAINTAINER_pn-matchbox-themes-gtk = "Edwin Zhai <edwin.zhai@intel.com>" 5302RECIPE_MAINTAINER_pn-matchbox-themes-gtk = "Edwin Zhai <edwin.zhai@intel.com>"
4826 5303
4827RECIPE_STATUS_pn-matchbox-wm-2 = "red" 5304RECIPE_STATUS_pn-matchbox-wm-2 = "green"
4828DISTRO_PN_ALIAS_pn-matchbox-wm-2 = "Mandriva=matchbox-window-manager Debian=matchbox-window-manager" 5305DISTRO_PN_ALIAS_pn-matchbox-wm-2 = "Mandriva=matchbox-window-manager Debian=matchbox-window-manager"
4829RECIPE_LATEST_VERSION_pn-matchbox-wm-2 = "0.0+svnr2106" 5306RECIPE_LATEST_VERSION_pn-matchbox-wm-2 = "0.0+svnr2106"
5307RECIPE_LAST_UPDATE_pn-matchbox-wm-2= "Dec 31, 2010"
4830RECIPE_MAINTAINER_pn-matchbox-wm-2 = "Edwin Zhai <edwin.zhai@intel.com>" 5308RECIPE_MAINTAINER_pn-matchbox-wm-2 = "Edwin Zhai <edwin.zhai@intel.com>"
4831 5309
4832RECIPE_STATUS_pn-metacity = "red" 5310RECIPE_STATUS_pn-metacity = "green"
4833RECIPE_LATEST_VERSION_pn-metacity = "2.30.1" 5311RECIPE_LATEST_VERSION_pn-metacity = "2.30.3"
5312RECIPE_LAST_UPDATE_pn-metacity = "Dec 30, 2010"
4834RECIPE_MAINTAINER_pn-metacity = "Edwin Zhai <edwin.zhai@intel.com>" 5313RECIPE_MAINTAINER_pn-metacity = "Edwin Zhai <edwin.zhai@intel.com>"
4835 5314
4836RECIPE_STATUS_pn-polkit-gnome = "green" 5315RECIPE_STATUS_pn-polkit-gnome = "green"
4837DEPENDENCY_CHECK_pn-polkit-gnome = "not done" 5316RECIPE_DEPENDENCY_CHECK_pn-polkit-gnome = "not done"
4838RECIPE_LATEST_VERSION_pn-polkit-gnome = "0.99" 5317RECIPE_LATEST_VERSION_pn-polkit-gnome = "0.99"
4839RECIPE_INTEL_SECTION_pn-polkit-gnome = "base utils" 5318RECIPE_INTEL_SECTION_pn-polkit-gnome = "base utils"
4840RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-polkit-gnome = "1 months" 5319RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-polkit-gnome = "1 months"
4841RECIPE_LATEST_RELEASE_DATE_pn-polkit-gnome = "2010/09/15" 5320RECIPE_LATEST_RELEASE_DATE_pn-polkit-gnome = "2010/09/15"
4842RECIPE_COMMENTS_pn-polkit-gnome = "" 5321RECIPE_COMMENTS_pn-polkit-gnome = ""
5322RECIPE_LAST_UPDATE_pn-polkit-gnome = "Nov 18, 2010"
4843RECIPE_MAINTAINER_pn-polkit-gnome = "Edwin Zhai <edwin.zhai@intel.com>" 5323RECIPE_MAINTAINER_pn-polkit-gnome = "Edwin Zhai <edwin.zhai@intel.com>"
4844 5324
4845RECIPE_STATUS_pn-pong-clock = "red" 5325RECIPE_STATUS_pn-pong-clock = "red"
4846DISTRO_PN_ALIAS_pn-pong-clock = "OpenedHand" 5326DISTRO_PN_ALIAS_pn-pong-clock = "OpenedHand"
4847RECIPE_LATEST_VERSION_pn-pong-clock = "1.0" 5327RECIPE_LATEST_VERSION_pn-pong-clock = "1.0"
5328RECIPE_LAST_UPDATE_pn-pong-clock = "Jul 5, 2007"
4848RECIPE_MAINTAINER_pn-pong-clock = "Edwin Zhai <edwin.zhai@intel.com>" 5329RECIPE_MAINTAINER_pn-pong-clock = "Edwin Zhai <edwin.zhai@intel.com>"
4849 5330
4850RECIPE_STATUS_pn-mutter = "red" 5331RECIPE_STATUS_pn-mutter = "red"
4851RECIPE_LATEST_VERSION_pn-mutter = "2.29.1_0.4" 5332RECIPE_LATEST_VERSION_pn-mutter = "2.29.1_0.4"
5333RECIPE_LAST_UPDATE_pn-mutter = "Jan 13, 2010"
4852RECIPE_MAINTAINER_pn-mutter = "Edwin Zhai <edwin.zhai@intel.com>" 5334RECIPE_MAINTAINER_pn-mutter = "Edwin Zhai <edwin.zhai@intel.com>"
4853 5335
4854RECIPE_STATUS_pn-qt4-x11-free = "green" 5336RECIPE_STATUS_pn-qt4-x11-free = "green"
4855DISTRO_PN_ALIAS_pn-qt4-x11-free = "Ubuntu=qt-x11-free Debian=qt-x11-free" 5337DISTRO_PN_ALIAS_pn-qt4-x11-free = "Ubuntu=qt-x11-free Debian=qt-x11-free"
4856RECIPE_LATEST_VERSION_pn-qt4-x11-free = "4.6.3" 5338RECIPE_LATEST_VERSION_pn-qt4-x11-free = "4.6.3"
5339RECIPE_LAST_UPDATE_pn-qt4-x11-free = "Aug 25, 2010"
4857RECIPE_MAINTAINER_pn-qt4-x11-free = "Yu Ke <ke.yu@intel.com>" 5340RECIPE_MAINTAINER_pn-qt4-x11-free = "Yu Ke <ke.yu@intel.com>"
4858DISTRO_PN_ALIAS_pn-poky-feed-config-opkg = "Poky" 5341DISTRO_PN_ALIAS_pn-poky-feed-config-opkg = "Poky"
4859DISTRO_PN_ALIAS_pn-poky-image-base = "Poky" 5342DISTRO_PN_ALIAS_pn-poky-image-base = "Poky"
@@ -4868,9 +5351,6 @@ DISTRO_PN_ALIAS_pn-poky-image-minimal-mtdutils = "Poky"
4868DISTRO_PN_ALIAS_pn-poky-image-sato = "Poky" 5351DISTRO_PN_ALIAS_pn-poky-image-sato = "Poky"
4869DISTRO_PN_ALIAS_pn-poky-image-sato-directdisk = "Poky" 5352DISTRO_PN_ALIAS_pn-poky-image-sato-directdisk = "Poky"
4870DISTRO_PN_ALIAS_pn-poky-image-sato-live = "Poky" 5353DISTRO_PN_ALIAS_pn-poky-image-sato-live = "Poky"
4871DISTRO_PN_ALIAS_pn-poky-image-sdk = "Poky"
4872DISTRO_PN_ALIAS_pn-poky-image-sdk-live = "Poky"
4873DISTRO_PN_ALIAS_pn-poky-image-sdk-directdisk = "Poky"
4874DISTRO_PN_ALIAS_pn-task-poky = "Poky" 5354DISTRO_PN_ALIAS_pn-task-poky = "Poky"
4875DISTRO_PN_ALIAS_pn-task-poky-apps-x11-pimlico = "Poky" 5355DISTRO_PN_ALIAS_pn-task-poky-apps-x11-pimlico = "Poky"
4876DISTRO_PN_ALIAS_pn-task-poky-basic = "Poky" 5356DISTRO_PN_ALIAS_pn-task-poky-basic = "Poky"
@@ -4930,11 +5410,13 @@ DISTRO_PN_ALIAS_pn-xvideo-tests = "OpenedHand"
4930RECIPE_STATUS_pn-kern-tools-native = "red" 5410RECIPE_STATUS_pn-kern-tools-native = "red"
4931RECIPE_LATEST_VERSION_pn-kern-tools-native = "check" 5411RECIPE_LATEST_VERSION_pn-kern-tools-native = "check"
4932DISTRO_PN_ALIAS_pn-kern-tools-native = "WindRiver" 5412DISTRO_PN_ALIAS_pn-kern-tools-native = "WindRiver"
5413RECIPE_LAST_UPDATE_pn-kern-tools-native = "Nov 11, 2010"
4933RECIPE_MAINTAINER_pn-kern-tools-native = "Bruce Ashfield <bruce.ashfield@windriver.com>" 5414RECIPE_MAINTAINER_pn-kern-tools-native = "Bruce Ashfield <bruce.ashfield@windriver.com>"
4934 5415
4935RECIPE_STATUS_pn-kern-tools-native = "red" 5416RECIPE_STATUS_pn-kern-tools-native = "red"
4936RECIPE_LATEST_VERSION_pn-kern-tools-native = "check" 5417RECIPE_LATEST_VERSION_pn-kern-tools-native = "check"
4937DISTRO_PN_ALIAS_pn-kern-tools-native = "OpenedHand" 5418DISTRO_PN_ALIAS_pn-kern-tools-native = "OpenedHand"
5419RECIPE_LAST_UPDATE_pn-kern-tools-native = "Nov 11, 2010"
4938RECIPE_MAINTAINER_pn-kern-tools-native = "Bruce Ashfield <bruce.ashfield@windriver.com>" 5420RECIPE_MAINTAINER_pn-kern-tools-native = "Bruce Ashfield <bruce.ashfield@windriver.com>"
4939 5421
4940RECIPE_STATUS_pn-signgp-native = "red" 5422RECIPE_STATUS_pn-signgp-native = "red"
@@ -4990,11 +5472,15 @@ RECIPE_STATUS_pn-gthumb = "red"
4990RECIPE_STATUS_pn-guilt-native = "red" 5472RECIPE_STATUS_pn-guilt-native = "red"
4991RECIPE_STATUS_pn-icon-naming-utils = "red" 5473RECIPE_STATUS_pn-icon-naming-utils = "red"
4992RECIPE_STATUS_pn-groff = "red" 5474RECIPE_STATUS_pn-groff = "red"
5475RECIPE_LATEST_VERSION_pn-groff = "1.21"
5476RECIPE_NO_UPDATE_REASON_pn-texinfo = "1.18.1.4 is latest GPLv2 Version no 1.21"
5477
4993RECIPE_STATUS_pn-eglibc = "red" 5478RECIPE_STATUS_pn-eglibc = "red"
4994 5479
4995RECIPE_STATUS_pn-lighttpd = "red" 5480RECIPE_STATUS_pn-lighttpd = "red"
5481RECIPE_LAST_UPDATE_pn-lighttpd = "Sep 28, 2010"
4996RECIPE_MAINTAINER_pn-lighttpd = "Edwin Zhai <edwin.zhai@intel.com>" 5482RECIPE_MAINTAINER_pn-lighttpd = "Edwin Zhai <edwin.zhai@intel.com>"
4997DEPENDENCY_CHECK_pn-lighttpd = "not done" 5483RECIPE_DEPENDENCY_CHECK_pn-lighttpd = "not done"
4998RECIPE_LATEST_VERSION_pn-lighttpd = "1.4.28" 5484RECIPE_LATEST_VERSION_pn-lighttpd = "1.4.28"
4999RECIPE_NO_OF_PATCHES_pn-lighttpd = "0" 5485RECIPE_NO_OF_PATCHES_pn-lighttpd = "0"
5000RECIPE_INTEL_SECTION_pn-lighttpd = "base utils" 5486RECIPE_INTEL_SECTION_pn-lighttpd = "base utils"
@@ -5002,30 +5488,113 @@ RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-lighttpd = "10 days"
5002RECIPE_LATEST_RELEASE_DATE_pn-lighttpd = "08/2010" 5488RECIPE_LATEST_RELEASE_DATE_pn-lighttpd = "08/2010"
5003RECIPE_COMMENTS_pn-lighttpd = "" 5489RECIPE_COMMENTS_pn-lighttpd = ""
5004 5490
5491RECIPE_LATEST_VERSION_pn-adt-installer = "1.0"
5492RECIPE_MANUAL_CHECK_DATE_adt-installer-mpeg2dec = "Jan 17, 2011"
5493RECIPE_LATEST_VERSION_pn-glew = "1.5.7"
5005RECIPE_LATEST_VERSION_pn-mpeg2dec = "0.4.1" 5494RECIPE_LATEST_VERSION_pn-mpeg2dec = "0.4.1"
5495RECIPE_MANUAL_CHECK_DATE_pn-mpeg2dec = "Jan 17, 2011"
5006RECIPE_LATEST_VERSION_pn-lame = "3.98.4" 5496RECIPE_LATEST_VERSION_pn-lame = "3.98.4"
5007RECIPE_LATEST_VERSION_pn-libmad = "0.15.1b" 5497RECIPE_LATEST_VERSION_pn-libmad = "0.15.1b"
5008RECIPE_LATEST_VERSION_pn-glew = "1.5.7" 5498RECIPE_MANUAL_CHECK_DATE_pn-libmad = "Jan 17, 2011"
5009RECIPE_LATEST_VERSION_pn-lsb = "1.4"
5010RECIPE_LATEST_VERSION_pn-libxml-perl = "0.08" 5499RECIPE_LATEST_VERSION_pn-libxml-perl = "0.08"
5011RECIPE_LATEST_VERSION_pn-lsbsetup = "INVALID" 5500RECIPE_LATEST_VERSION_pn-lsb = "1.4"
5501RECIPE_MANUAL_CHECK_DATE_pn-lsb = "Jan 17, 2011"
5502RECIPE_LATEST_VERSION_pn-lsbsetup = "0.9"
5503RECIPE_MANUAL_CHECK_DATE_pn-lsbsetup = "Jan 17, 2011"
5012RECIPE_LATEST_VERSION_pn-libxml-simple-perl = "2.18" 5504RECIPE_LATEST_VERSION_pn-libxml-simple-perl = "2.18"
5013RECIPE_LATEST_VERSION_pn-talloc = "2.0.1" 5505RECIPE_LATEST_VERSION_pn-talloc = "2.0.5"
5014RECIPE_LATEST_VERSION_pn-mesa-demos = "8.0.1" 5506RECIPE_LATEST_VERSION_pn-mesa-demos = "8.0.1"
5015RECIPE_LATEST_VERSION_pn-libtool-cross = "2.4" 5507RECIPE_LATEST_VERSION_pn-libtool-cross = "2.4"
5016RECIPE_LATEST_VERSION_pn-gthumb = "2.12.1" 5508RECIPE_LATEST_VERSION_pn-gthumb = "2.12.2"
5017RECIPE_LATEST_VERSION_pn-groff = "1.20.1"
5018RECIPE_LATEST_VERSION_pn-libtheora = "1.2.0" 5509RECIPE_LATEST_VERSION_pn-libtheora = "1.2.0"
5019RECIPE_LATEST_VERSION_pn-libgdata = "0.7.1" 5510RECIPE_NO_UPDATE_REASON_pn-libtheora = "1.1.1 is latest stable release not 1.2.0alpha1"
5511
5512RECIPE_STATUS_pn-libgdata = "red"
5513RECIPE_LATEST_VERSION_pn-libgdata = "0.8.0"
5514RECIPE_LAST_UPDATE_pn-libgdata = "Dec 29, 2010"
5515RECIPE_MAINTAINER_pn-libgdata = "Edwin Zhai <edwin.zhai@intel.com>"
5516
5020RECIPE_LATEST_VERSION_pn-man-pages = "3.32" 5517RECIPE_LATEST_VERSION_pn-man-pages = "3.32"
5021RECIPE_LATEST_VERSION_pn-qmmp = "0.4.3" 5518RECIPE_LATEST_VERSION_pn-qmmp = "0.4.3"
5022RECIPE_LATEST_VERSION_pn-texinfo = "4.13"
5023RECIPE_LATEST_VERSION_pn-sysprof = "6b5b8432711ef5c747f8375073cd9af88922d3c6" 5519RECIPE_LATEST_VERSION_pn-sysprof = "6b5b8432711ef5c747f8375073cd9af88922d3c6"
5024RECIPE_LATEST_VERSION_pn-table = "d42a44938699ee30a998fc42bc149aebf69389db" 5520RECIPE_LATEST_VERSION_pn-table = "d42a44938699ee30a998fc42bc149aebf69389db"
5521RECIPE_LATEST_VERSION_pn-texinfo = "4.13a"
5522RECIPE_NO_UPDATE_REASON_pn-texinfo = "Checking script parse directory wrong"
5025RECIPE_LATEST_VERSION_pn-yaffs2-utils = "HEAD" 5523RECIPE_LATEST_VERSION_pn-yaffs2-utils = "HEAD"
5026RECIPE_LATEST_VERSION_pn-blktrace = "a788dfde86dfaff8f1c277a233f92c1822e06b76" 5524RECIPE_LATEST_VERSION_pn-blktrace = "a788dfde86dfaff8f1c277a233f92c1822e06b76"
5027RECIPE_LATEST_VERSION_pn-dtc = "37c0b6a0916c31a5eae0a9ddfcc5d0b8fb4569c6" 5525RECIPE_LATEST_VERSION_pn-dtc = "37c0b6a0916c31a5eae0a9ddfcc5d0b8fb4569c6"
5028RECIPE_LATEST_VERSION_pn-bind = "9.7.2" 5526RECIPE_LATEST_VERSION_pn-bind = "9.7.2-P3"
5029RECIPE_LATEST_VERSION_pn-man = "1.6" 5527RECIPE_NO_UPDATE_REASON_pn-bind = "Latest Stable version, newer versions are Alpha/Beta"
5030RECIPE_LATEST_VERSION_pn-mc = "4.7.5" 5528RECIPE_LATEST_VERSION_pn-man = "1.6f"
5031 5529RECIPE_LATEST_VERSION_pn-mc = "4.7.5pre1"
5530RECIPE_NO_UPDATE_REASON_pn-bind = "Latest Stable version, 4.7.5pre1 is Alpha/Beta"
5531
5532RECIPE_STATUS_pn-sgml-common = "green"
5533RECIPE_DEPENDENCY_CHECK_pn-sgml-common = "not done"
5534RECIPE_LATEST_VERSION_pn-sgml-common = "0.6.3"
5535RECIPE_NO_OF_PATCHES_pn-sgml-common = "2"
5536RECIPE_LATEST_RELEASE_DATE_pn-sgml-common = "2001/05/25"
5537RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sgml-common = "unknown"
5538RECIPE_COMMENTS_pn-sgml-common = ""
5539RECIPE_LAST_UPDATE_pn-sgml-common = "Jan 28, 2011"
5540RECIPE_MAINTAINER_pn-sgml-common = "Scott Garman <scott.a.garman@intel.com>"
5541
5542RECIPE_STATUS_pn-docbook-sgml-dtd = "green"
5543RECIPE_DEPENDENCY_CHECK_pn-docbook-sgml-dtd = "not done"
5544RECIPE_LATEST_VERSION_pn-docbook-sgml-dtd = "4.5"
5545RECIPE_NO_OF_PATCHES_pn-docbook-sgml-dtd = "1"
5546RECIPE_LATEST_RELEASE_DATE_pn-docbook-sgml-dtd = "2010/05/21"
5547RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-docbook-sgml-dtd = "unknown"
5548RECIPE_COMMENTS_pn-docbook-sgml-dtd = ""
5549RECIPE_LAST_UPDATE_pn-docbook-sgml-dtd = "Jan 28, 2011"
5550RECIPE_MAINTAINER_pn-docbook-sgml-dtd = "Scott Garman <scott.a.garman@intel.com>"
5551
5552RECIPE_STATUS_pn-docbook-dsssl-stylesheet = "green"
5553RECIPE_DEPENDENCY_CHECK_pn-docbook-dsssl-stylesheet = "not done"
5554RECIPE_LATEST_VERSION_pn-docbook-dsssl-stylesheet = "1.79"
5555RECIPE_NO_OF_PATCHES_pn-docbook-dsssl-stylesheet = "0"
5556RECIPE_LATEST_RELEASE_DATE_pn-docbook-dsssl-stylesheet = "2008/08/12"
5557RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-docbook-dsssl-stylesheet = "unknown"
5558RECIPE_COMMENTS_pn-docbook-dsssl-stylesheet = ""
5559RECIPE_LAST_UPDATE_pn-docbook-dsssl-stylesheet = "Jan 26, 2011"
5560RECIPE_MAINTAINER_pn-docbook-dsssl-stylesheet = "Scott Garman <scott.a.garman@intel.com>"
5561
5562RECIPE_STATUS_pn-sgmlspl = "green"
5563RECIPE_DEPENDENCY_CHECK_pn-sgmlspl = "not done"
5564RECIPE_LATEST_VERSION_pn-sgmlspl = "1.03ii"
5565RECIPE_NO_OF_PATCHES_pn-sgmlspl = "1"
5566RECIPE_LATEST_RELEASE_DATE_pn-sgmlspl = "1995/12/07"
5567RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sgmlspl = "5 days"
5568RECIPE_COMMENTS_pn-sgmlspl = ""
5569RECIPE_LAST_UPDATE_pn-sgmlspl = "Jan 26, 2011"
5570RECIPE_MAINTAINER_pn-sgmlspl = "Scott Garman <scott.a.garman@intel.com>"
5571
5572RECIPE_STATUS_pn-opensp = "green"
5573RECIPE_DEPENDENCY_CHECK_pn-opensp = "not done"
5574RECIPE_LATEST_VERSION_pn-opensp = ""
5575RECIPE_NO_OF_PATCHES_pn-opensp = "4"
5576RECIPE_LATEST_RELEASE_DATE_pn-opensp = "2002/11/24"
5577RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-opensp = "2 years"
5578RECIPE_COMMENTS_pn-opensp = ""
5579RECIPE_LAST_UPDATE_pn-opensp = "Jan 26, 2011"
5580RECIPE_MAINTAINER_pn-opensp = "Scott Garman <scott.a.garman@intel.com>"
5581
5582RECIPE_STATUS_pn-openjade = "green"
5583RECIPE_DEPENDENCY_CHECK_pn-openjade = "not done"
5584RECIPE_LATEST_VERSION_pn-openjade = "1.3.2"
5585RECIPE_NO_OF_PATCHES_pn-openjade = "3"
5586RECIPE_LATEST_RELEASE_DATE_pn-openjade = "2002/12/01"
5587RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-openjade = "8 months"
5588RECIPE_COMMENTS_pn-openjade = ""
5589RECIPE_LAST_UPDATE_pn-openjade = "Jan 26, 2011"
5590RECIPE_MAINTAINER_pn-openjade = "Scott Garman <scott.a.garman@intel.com>"
5591
5592RECIPE_STATUS_pn-docbook-utils = "green"
5593RECIPE_DEPENDENCY_CHECK_pn-docbook-utils = "not done"
5594RECIPE_LATEST_VERSION_pn-docbook-utils = "0.6.14"
5595RECIPE_NO_OF_PATCHES_pn-docbook-utils = "0"
5596RECIPE_LATEST_RELEASE_DATE_pn-docbook-utils = "2004/02/11"
5597RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-docbook-utils = "1 month"
5598RECIPE_COMMENTS_pn-docbook-utils = ""
5599RECIPE_LAST_UPDATE_pn-docbook-utils = "Jan 26, 2011"
5600RECIPE_MAINTAINER_pn-docbook-utils = "Scott Garman <scott.a.garman@intel.com>"
diff --git a/meta/conf/distro/include/poky-default-revisions.inc b/meta/conf/distro/include/poky-default-revisions.inc
index 957f873718..a04fa9e047 100644
--- a/meta/conf/distro/include/poky-default-revisions.inc
+++ b/meta/conf/distro/include/poky-default-revisions.inc
@@ -7,7 +7,7 @@ SRCREV_pn-clutter ??= "e957e277b8a4893ce8c99e94402036d42a8b3748"
7SRCREV_pn-clutter-0.6 ??= "62e852a51e29dd42c84d6b34fe23b80b2542be59" 7SRCREV_pn-clutter-0.6 ??= "62e852a51e29dd42c84d6b34fe23b80b2542be59"
8SRCREV_pn-clutter-0.8 ??= "3ba37ff115ed3fbe6c94195775941091a3ac2b30" 8SRCREV_pn-clutter-0.8 ??= "3ba37ff115ed3fbe6c94195775941091a3ac2b30"
9SRCREV_pn-clutter-1.0 ??= "ce5025d0a2b701541ca9343686f9dac858905da4" 9SRCREV_pn-clutter-1.0 ??= "ce5025d0a2b701541ca9343686f9dac858905da4"
10SRCREV_pn-clutter-box2d ??= "2bcf5b836548dc4909e13b8ae7f60dc64c93d559" 10SRCREV_pn-clutter-box2d ??= "92b44f79a8667a31b46b861236392bdf32b7d6c2"
11SRCREV_pn-clutter-gst-0.10 ??= "8a087fabc888a6a4a939760c392109dbb610adbf" 11SRCREV_pn-clutter-gst-0.10 ??= "8a087fabc888a6a4a939760c392109dbb610adbf"
12SRCREV_pn-clutter-gtk-0.10 ??= "b92329c4c1288019e2dea6567e2b5e98eb0a9992" 12SRCREV_pn-clutter-gtk-0.10 ??= "b92329c4c1288019e2dea6567e2b5e98eb0a9992"
13SRCREV_pn-clutter-imcontext ??= "2cb6f0ff153db639a489e58e36802e0e928b1968" 13SRCREV_pn-clutter-imcontext ??= "2cb6f0ff153db639a489e58e36802e0e928b1968"
@@ -19,11 +19,13 @@ SRCREV_pn-clutter-gst-0.6 ??= "1c3dc539057dbcd6dd75f2cb5b4ba39b741892bd"
19SRCREV_pn-clutter-gst-0.8 ??= "7a60a435fb0930d911e26158928ab53bda090f3e" 19SRCREV_pn-clutter-gst-0.8 ??= "7a60a435fb0930d911e26158928ab53bda090f3e"
20SRCREV_pn-clutter-gst-0.10 ??= "8a087fabc888a6a4a939760c392109dbb610adbf" 20SRCREV_pn-clutter-gst-0.10 ??= "8a087fabc888a6a4a939760c392109dbb610adbf"
21SRCREV_pn-clutter-gst-1.0 ??= "d48c6fc67b48304f90e51b520631c1ecc10410af" 21SRCREV_pn-clutter-gst-1.0 ??= "d48c6fc67b48304f90e51b520631c1ecc10410af"
22SRCREV_pn-clutter-gst-1.4 ??= "855826ce1111d9a2439b14b61abdbfae72c47132"
22SRCREV_pn-clutter-helix ??= "b4514a7bae2a059f4e63de64245238a246ed10bd" 23SRCREV_pn-clutter-helix ??= "b4514a7bae2a059f4e63de64245238a246ed10bd"
23SRCREV_pn-clutter-gtk-0.6 ??= "2ba362a1a223c2b28541030a80aa11191615340a" 24SRCREV_pn-clutter-gtk-0.6 ??= "2ba362a1a223c2b28541030a80aa11191615340a"
24SRCREV_pn-clutter-gtk-0.8 ??= "7d3c3230376e731c06c21afa9d8c1d44dbea27cd" 25SRCREV_pn-clutter-gtk-0.8 ??= "7d3c3230376e731c06c21afa9d8c1d44dbea27cd"
25SRCREV_pn-clutter-gtk-0.10 ??= "b92329c4c1288019e2dea6567e2b5e98eb0a9992" 26SRCREV_pn-clutter-gtk-0.10 ??= "b92329c4c1288019e2dea6567e2b5e98eb0a9992"
26SRCREV_pn-clutter-gtk-1.0 ??= "e8d828ba1d87937baa571e68fdff22f3e2d79ca8" 27SRCREV_pn-clutter-gtk-1.0 ??= "e8d828ba1d87937baa571e68fdff22f3e2d79ca8"
28SRCREV_pn-clutter-gtk-1.4 ??= "1d19fc17674175f4338c8e2526e911157801e754"
27SRCREV_pn-clutter-mozembed ??= "738d017beb5579b2ff6e4d992d4889b61c974751" 29SRCREV_pn-clutter-mozembed ??= "738d017beb5579b2ff6e4d992d4889b61c974751"
28SRCREV_pn-connman ??= "36e877dece72577a3ae6197eafd505d0e6e0c1d2" 30SRCREV_pn-connman ??= "36e877dece72577a3ae6197eafd505d0e6e0c1d2"
29SRCREV_pn-connman-gnome ??= "b589f4f89bff20d54682cc6b49efa86feac8adb4" 31SRCREV_pn-connman-gnome ??= "b589f4f89bff20d54682cc6b49efa86feac8adb4"
@@ -57,12 +59,12 @@ SRCREV_pn-gypsy ??= "147"
57SRCREV_pn-inputproto ??= "7203036522ba9d4b224d282d6afc2d0b947711ee" 59SRCREV_pn-inputproto ??= "7203036522ba9d4b224d282d6afc2d0b947711ee"
58SRCREV_pn-inputproto-native ??= "7203036522ba9d4b224d282d6afc2d0b947711ee" 60SRCREV_pn-inputproto-native ??= "7203036522ba9d4b224d282d6afc2d0b947711ee"
59SRCREV_pn-inputproto-nativesdk ??= "7203036522ba9d4b224d282d6afc2d0b947711ee" 61SRCREV_pn-inputproto-nativesdk ??= "7203036522ba9d4b224d282d6afc2d0b947711ee"
60SRCREV_pn-kern-tools-native ??= "c85dcdd2dc50d71476a11c2960bf14c2b144b3c7" 62SRCREV_pn-kern-tools-native ??= "4f13a46499261ea181fdc13db5459067df08aca7"
61SRCREV_pn-libdrm ??= "3f3c5be6f908272199ccf53f108b1124bfe0a00e" 63SRCREV_pn-libdrm ??= "3f3c5be6f908272199ccf53f108b1124bfe0a00e"
62SRCREV_pn-libfakekey ??= "2031" 64SRCREV_pn-libfakekey ??= "e8c2e412ea4a417afc1f30e32cb7bdc508b1dccc"
63SRCREV_pn-libgdbus ??= "aeab6e3c0185b271ca343b439470491b99cc587f" 65SRCREV_pn-libgdbus ??= "aeab6e3c0185b271ca343b439470491b99cc587f"
64SRCREV_pn-libgsmd ??= "5394" 66SRCREV_pn-libgsmd ??= "5394"
65SRCREV_pn-libmatchbox ??= "1531" 67SRCREV_pn-libmatchbox ??= "c81f8f444b83b187727f046432b186d67a42c732"
66SRCREV_pn-libowl ??= "408" 68SRCREV_pn-libowl ??= "408"
67SRCREV_pn-libowl-av ??= "416" 69SRCREV_pn-libowl-av ??= "416"
68SRCREV_pn-libx11 ??= "d23aad31338e7d869d878d5aa1b6b91d20287005" 70SRCREV_pn-libx11 ??= "d23aad31338e7d869d878d5aa1b6b91d20287005"
@@ -76,64 +78,66 @@ SRCREV_pn-libxcb-nativesdk ??= "625ed596cae6dd8175aeb6cb6f26784928042f22"
76SRCREV_pn-libxext ??= "d1f3bc77a48c8e42771579e3fdf3370b35d3209d" 78SRCREV_pn-libxext ??= "d1f3bc77a48c8e42771579e3fdf3370b35d3209d"
77SRCREV_pn-libxext-nativesdk ??= "d1f3bc77a48c8e42771579e3fdf3370b35d3209d" 79SRCREV_pn-libxext-nativesdk ??= "d1f3bc77a48c8e42771579e3fdf3370b35d3209d"
78SRCREV_pn-libxi ??= "d0326fe8cdbb08d4f52d79fd3fd4e1b2a0951d5e" 80SRCREV_pn-libxi ??= "d0326fe8cdbb08d4f52d79fd3fd4e1b2a0951d5e"
79SRCREV_pn-libzypp = "4494797d5b0369365b1af63921de45b197ead64f" 81SRCREV_pn-libzypp = "15b6c52260bbc52b3d8e585e271b67e10cc7c433"
80SRCREV_pn-linux-firmware ??= "85212bf6501da865e570f6b2f6fbd6f212850609" 82SRCREV_pn-linux-firmware ??= "40c0f950be7040614dc45df54e25e54d00e3b73b"
81SRCREV_pn-linux-openmoko ??= "5ccaca2adb1c37b5955a4733f68ae08a755e3d78" 83SRCREV_pn-linux-openmoko ??= "5ccaca2adb1c37b5955a4733f68ae08a755e3d78"
82SRCREV_pn-linux-omap ??= "58cf2f1425abfd3a449f9fe985e48be2d2555022" 84SRCREV_pn-linux-omap ??= "58cf2f1425abfd3a449f9fe985e48be2d2555022"
83SRCREV_pn-linux-omap-zoomsync ??= "015cbaf1035cd9a61d33a27de2a22902555db3c5" 85SRCREV_pn-linux-omap-zoomsync ??= "015cbaf1035cd9a61d33a27de2a22902555db3c5"
84SRCREV_pn-linux-omap2 ??= "d3b3ae0fe6c71641da19c8de466ec366d39847e3" 86SRCREV_pn-linux-omap2 ??= "d3b3ae0fe6c71641da19c8de466ec366d39847e3"
85SRCREV_pn-linux-omap3 ??= "de1121fdb899f762b9e717f44eaf3fae7c00cd3e" 87SRCREV_pn-linux-omap3 ??= "de1121fdb899f762b9e717f44eaf3fae7c00cd3e"
86SRCREV_pn-linux-omap3-pm ??= "totallybroken" 88SRCREV_pn-linux-omap3-pm ??= "totallybroken"
87SRCREV_machine_pn-linux-yocto-stable_qemuarm ?= "4f4177b4bea5b8858acc1eeb788d80b7af0df962" 89SRCREV_machine_pn-linux-yocto-stable_qemuarm ?= "a2fb081b44d6368eff8d28e2fdb991c61b1f428e"
88SRCREV_machine_pn-linux-yocto-stable_qemumips ?= "81f3cd467b9d51fa1dfa2d5939337cc756ae8061" 90SRCREV_machine_pn-linux-yocto-stable_qemumips ?= "c32d40f960e3c89d07f079bec4c96dcbfc749f0b"
89SRCREV_machine_pn-linux-yocto-stable_qemuppc ?= "9ac0daee43dd19d8bea828cf79450c9748ae0daa" 91SRCREV_machine_pn-linux-yocto-stable_qemuppc ?= "96d6bc31d3caaf62a966255479cc5cee0e76b1e9"
90SRCREV_machine_pn-linux-yocto-stable_qemux86 ?= "0431115c9d720fee5bb105f6a7411efb4f851d26" 92SRCREV_machine_pn-linux-yocto-stable_qemux86 ?= "72ca49ab08b8eb475cec82a10049503602325791"
91SRCREV_machine_pn-linux-yocto-stable_qemux86-64 ?= "0431115c9d720fee5bb105f6a7411efb4f851d26" 93SRCREV_machine_pn-linux-yocto-stable_qemux86-64 ?= "72ca49ab08b8eb475cec82a10049503602325791"
92SRCREV_machine_pn-linux-yocto-stable_emenlow ?= "aae69fdf104b0a9d7b3710f808aac6ab303490f7" 94SRCREV_machine_pn-linux-yocto-stable_atom-pc ?= "72ca49ab08b8eb475cec82a10049503602325791"
93SRCREV_machine_pn-linux-yocto-stable_atom-pc ?= "0431115c9d720fee5bb105f6a7411efb4f851d26" 95SRCREV_machine_pn-linux-yocto-stable_routerstationpro ?= "49745cd45c92a89e70c6e2334caa80818c134562"
94SRCREV_machine_pn-linux-yocto-stable_routerstationpro ?= "2ec2edaf256dd8500ee3d4763fee6ca3ecd6da4b" 96SRCREV_machine_pn-linux-yocto-stable_mpc8315e-rdb ?= "a1c0ed6bf4060c10874b2a8547d81b3169dcf16a"
95SRCREV_machine_pn-linux-yocto-stable_mpc8315e-rdb ?= "986e6eb66c26007cee7916d5d12f4756e6b5436f" 97SRCREV_machine_pn-linux-yocto-stable_beagleboard ?= "ef7f944e773950d4016b7643f9ecf052bbe250cd"
96SRCREV_machine_pn-linux-yocto-stable_beagleboard ?= "0431115c9d720fee5bb105f6a7411efb4f851d26" 98SRCREV_machine_pn-linux-yocto-stable ?= "72ca49ab08b8eb475cec82a10049503602325791"
97SRCREV_meta_pn-linux-yocto-stable ?= "50ccd2b3213b6a1bacb3f898c035119802dac420" 99SRCREV_meta_pn-linux-yocto-stable ?= "e1f85a470934a0cf6abde5d95533e74501822c6b"
98# development SRCREVs 100# development SRCREVs
99SRCREV_machine_pn-linux-yocto_qemuarm = "87e00a2d47ba80b4ad1f9170cb3f6cf81f21d739" 101SRCREV_machine_pn-linux-yocto_qemuarm ?= "c6d1949b479118d027a6c0f0841247cc0ea697b2"
100SRCREV_machine_pn-linux-yocto_qemumips = "7231e473dd981a28e3cea9f677ed60583e731550" 102SRCREV_machine_pn-linux-yocto_qemumips ?= "cab9f6666b9913136549cee2f5db07134f4d9780"
101SRCREV_machine_pn-linux-yocto_qemuppc = "e2b529d7d74a9b21e1d1715f0c4062a4fd92a3ed" 103SRCREV_machine_pn-linux-yocto_qemuppc ?= "4ab4b22d4768f65cfadccae6d749e4f3769b0afa"
102SRCREV_machine_pn-linux-yocto_qemux86 = "87aacc373557f8849dde8618fbe1f7f8f2af6038" 104SRCREV_machine_pn-linux-yocto_qemux86 ?= "cb4faf3af527e25feee584f39c3956ca0c9448c8"
103SRCREV_machine_pn-linux-yocto_qemux86-64 = "87aacc373557f8849dde8618fbe1f7f8f2af6038" 105SRCREV_machine_pn-linux-yocto_qemux86-64 ?= "343c06b25b221aa7f7019aee83b2d976041fddce"
104SRCREV_machine_pn-linux-yocto_emenlow = "87aacc373557f8849dde8618fbe1f7f8f2af6038" 106SRCREV_machine_pn-linux-yocto_emenlow ?= "30a8b903be9cb18ba1fc11242159fa5d7bfdb1cc"
105SRCREV_machine_pn-linux-yocto_atom-pc = "87aacc373557f8849dde8618fbe1f7f8f2af6038" 107SRCREV_machine_pn-linux-yocto_atom-pc ?= "343c06b25b221aa7f7019aee83b2d976041fddce"
106SRCREV_machine_pn-linux-yocto_routerstationpro = "773d3a1c8eba563ffcdbf61057ef6e39cee0c88b" 108SRCREV_machine_pn-linux-yocto_routerstationpro ?= "4f1adb92fd08001ec76185c7febea7504c84f082"
107SRCREV_machine_pn-linux-yocto_mpc8315e-rdb = "5ff609967ffe87c49d534d7861a7e0b150517726" 109SRCREV_machine_pn-linux-yocto_mpc8315e-rdb ?= "68fb0b8d73bbb336ffa4a47bc70ec1eab021b7f6"
108SRCREV_machine_pn-linux-yocto_beagleboard = "87aacc373557f8849dde8618fbe1f7f8f2af6038" 110SRCREV_machine_pn-linux-yocto_beagleboard ?= "343c06b25b221aa7f7019aee83b2d976041fddce"
109SRCREV_meta_pn-linux-yocto ?= "ee0a10ab687b29c4d22d47e5b28bc8b3ebb7a8d9" 111SRCREV_machine_pn-linux-yocto ?= "cb4faf3af527e25feee584f39c3956ca0c9448c8"
110SRCREV_pn-linux-libc-headers-yocto ??= "09a39c638dd65dc27c549c119abe1af2631b2ae0" 112SRCREV_meta_pn-linux-yocto ?= "5a32d7fe3b817868ebb697d2d883d743903685ae"
111SRCREV_pn-matchbox-config-gtk ??= "2081" 113SRCREV_machine_pn-linux-yocto ?= "cb4faf3af527e25feee584f39c3956ca0c9448c8"
114SRCREV_pn-linux-libc-headers-yocto ??= "343c06b25b221aa7f7019aee83b2d976041fddce"
115SRCREV_pn-matchbox-config-gtk ??= "3ed74dfb7c57be088a5ab36e446c0ccde9fa1028"
112SRCREV_pn-matchbox-desktop-sato ??= "76" 116SRCREV_pn-matchbox-desktop-sato ??= "76"
113SRCREV_pn-matchbox-desktop ??= "2096" 117SRCREV_pn-matchbox-desktop ??= "af7ed6775487380be73160aa0298bf6019765fad"
114SRCREV_pn-matchbox-keyboard ??= "2075" 118SRCREV_pn-matchbox-keyboard ??= "b38f24036cff3be6c2fbcf9ca9881803e69003ac"
115SRCREV_pn-matchbox-panel-2 ??= "2111" 119SRCREV_pn-matchbox-panel-2 ??= "982d9ea173dc87a84db2303d1a6a12607fc4d539"
116SRCREV_pn-matchbox-panel ??= "1364" 120SRCREV_pn-matchbox-panel ??= "1364"
117SRCREV_pn-matchbox-stroke ??= "1820" 121SRCREV_pn-matchbox-stroke ??= "8edfd9a2bf1f0d6b28d4afee4bda9d3635f26a0b"
118SRCREV_pn-matchbox-terminal ??= "1816" 122SRCREV_pn-matchbox-terminal ??= "3fc25cb811a8ed306de897edf9b930f4402f3852"
119SRCREV_pn-matchbox-theme-sato-2 ??= "94" 123SRCREV_pn-matchbox-theme-sato-2 ??= "164"
120SRCREV_pn-matchbox-theme-sato ??= "90" 124SRCREV_pn-matchbox-theme-sato ??= "90"
121SRCREV_pn-matchbox-themes-extra ??= "1524" 125SRCREV_pn-matchbox-themes-extra ??= "f848f9e4e577d5b9719f05b5152df1ce59399f5c"
122SRCREV_pn-matchbox-wm-2 ??= "2083" 126SRCREV_pn-matchbox-wm-2 ??= "2106"
123SRCREV_pn-matchbox-wm ??= "1819" 127SRCREV_pn-matchbox-wm ??= "e8236c9ab44a8af8137cac2a35fb87f9146a9656"
124SRCREV_pn-mesa-dri ??= "1bf94d419805538ac23a4d0b04d31ac5e4487aca" 128SRCREV_pn-mesa-dri ??= "1bf94d419805538ac23a4d0b04d31ac5e4487aca"
125SRCREV_pn-mesa-xlib ??= "1bf94d419805538ac23a4d0b04d31ac5e4487aca" 129SRCREV_pn-mesa-xlib ??= "1bf94d419805538ac23a4d0b04d31ac5e4487aca"
126SRCDATE_minimo ??= "20070510" 130SRCDATE_minimo ??= "20070510"
127SRCREV_pn-moblin-proto ??= "8f2cb524fe06555182c25b4ba3202d7b368ac0ce" 131SRCREV_pn-moblin-proto ??= "8f2cb524fe06555182c25b4ba3202d7b368ac0ce"
128SRCREV_pn-mozilla-headless ??= "177d8b8bda61" 132SRCREV_pn-mozilla-headless ??= "177d8b8bda61"
129SRCREV_pn-mozilla-headless-services ??= "c679b95dd8c2807b70186d233b3833861a499315" 133SRCREV_pn-mozilla-headless-services ??= "c679b95dd8c2807b70186d233b3833861a499315"
130SRCREV_pn-mutter ??= "c96345dd81176f171c2d15dd9d5c5b20f334f842" 134SRCREV_pn-mutter ??= "01d3bebe24d2a56bdf2d82c4a71923e1573f7b7c"
131SRCREV_pn-networkmanager-applet ??= "263" 135SRCREV_pn-networkmanager-applet ??= "263"
132SRCREV_pn-networkmanager ??= "2984" 136SRCREV_pn-networkmanager ??= "2984"
133SRCREV_pn-ofono ??= "14544d5996836f628613c2ce544380ee6fc8f514" 137SRCREV_pn-ofono ??= "14544d5996836f628613c2ce544380ee6fc8f514"
134SRCREV_pn-oh-puzzles ??= "23" 138SRCREV_pn-oh-puzzles ??= "23"
135SRCREV_pn-ohm ??= "edfe25d49d67884bf004de7ae0724c162bb5e65e" 139SRCREV_pn-ohm ??= "edfe25d49d67884bf004de7ae0724c162bb5e65e"
136OPKGSRCREV = "524" 140OPKGSRCREV = "596"
137SRCREV_pn-opkg ??= "${OPKGSRCREV}" 141SRCREV_pn-opkg ??= "${OPKGSRCREV}"
138SRCREV_pn-opkg-native ??= "${OPKGSRCREV}" 142SRCREV_pn-opkg-native ??= "${OPKGSRCREV}"
139SRCREV_pn-opkg-nativesdk ??= "${OPKGSRCREV}" 143SRCREV_pn-opkg-nativesdk ??= "${OPKGSRCREV}"
@@ -151,7 +155,7 @@ PRELINKSRCREV ??= "909470ee441237563d6236c505cb2d02ddc48704"
151SRCREV_pn-prelink ??= "${PRELINKSRCREV}" 155SRCREV_pn-prelink ??= "${PRELINKSRCREV}"
152SRCREV_pn-prelink-native ??= "${PRELINKSRCREV}" 156SRCREV_pn-prelink-native ??= "${PRELINKSRCREV}"
153SRCREV_pn-psplash ??= "424" 157SRCREV_pn-psplash ??= "424"
154PSEUDOSRCREV ??= "c9792c7acdb1cac90549ff08db12a8bf0c53cdcf" 158PSEUDOSRCREV ??= "5434325fc887817ebb2bad36313d8277992cef1d"
155SRCREV_pn-pseudo ??= "${PSEUDOSRCREV}" 159SRCREV_pn-pseudo ??= "${PSEUDOSRCREV}"
156SRCREV_pn-pseudo-native ??= "${PSEUDOSRCREV}" 160SRCREV_pn-pseudo-native ??= "${PSEUDOSRCREV}"
157SRCREV_pn-pseudo-nativesdk ??= "${PSEUDOSRCREV}" 161SRCREV_pn-pseudo-nativesdk ??= "${PSEUDOSRCREV}"
@@ -161,25 +165,29 @@ SRCREV_pn-qemu-nativesdk ??= "${QEMUSRCREV}"
161SRCREV_pn-qemu ??= "${QEMUSRCREV}" 165SRCREV_pn-qemu ??= "${QEMUSRCREV}"
162SRCREV_pn-qemugl ??= "d888bbc723c00d197d34a39b5b7448660ec1b1c0" 166SRCREV_pn-qemugl ??= "d888bbc723c00d197d34a39b5b7448660ec1b1c0"
163SRCREV_pn-qemugl-nativesdk ??= "d888bbc723c00d197d34a39b5b7448660ec1b1c0" 167SRCREV_pn-qemugl-nativesdk ??= "d888bbc723c00d197d34a39b5b7448660ec1b1c0"
164SRCREV_pn-sat-solver = "aa799f7bae0ec055e0e527203635001bb7346dbc" 168SRCREV_pn-sat-solver = "9e1f2a097965debebc69cebf8ed73c6ff31a5220"
165SRCREV_pn-screenshot ??= "292" 169SRCREV_pn-screenshot ??= "292"
166SRCREV_pn-settings-daemon ??= "2059" 170SRCREV_pn-settings-daemon ??= "0f174f463dfed500b65533e249cd22942e439c77"
167SRCREV_pn-swabber-native ??= "a0792390c5d6d5a5bade7ab155c80eef3f30fa52" 171SRCREV_pn-swabber-native ??= "a0792390c5d6d5a5bade7ab155c80eef3f30fa52"
168SRCREV_pn-sysprof ??= "38a6af1f0a45e528fd2842983da71e0f23c70d6a" 172SRCREV_pn-sysprof ??= "38a6af1f0a45e528fd2842983da71e0f23c70d6a"
173SRCREV_pn-systemtap ??= "4ab3a1863bf4f472acae7a809bf2b38d91658aa8"
169SRCREV_pn-table ??= "4b267533ce16656cba4104fc39dc12709c1bdddf" 174SRCREV_pn-table ??= "4b267533ce16656cba4104fc39dc12709c1bdddf"
170SRCREV_pn-tasks ??= "ea52d46d691c5fce4473ea4e24a35411381f3a65" 175SRCREV_pn-tasks ??= "ea52d46d691c5fce4473ea4e24a35411381f3a65"
171SRCREV_pn-trace-cmd ??= "0d252224626bd6926324f023a65f20c165232891" 176TRACECMDREV ?= "6c696cec3f264a9399241b6e648f58bc97117d49"
177SRCREV_pn-trace-cmd ??= ${TRACECMDREV}
178SRCREV_pn-kernelshark ??= ${TRACECMDREV}
172SRCREV_pn-tidy ??= "e25416e1293e1074bfa6727c80527dcff5b1f3cb" 179SRCREV_pn-tidy ??= "e25416e1293e1074bfa6727c80527dcff5b1f3cb"
173SRCREV_pn-u-boot-omap3 ??= "f40f6db278f602b55820693634a7256b0b4e4b80" 180SRCREV_pn-u-boot-omap3 ??= "f40f6db278f602b55820693634a7256b0b4e4b80"
181SRCREV_pn-u-boot ??= "v2010.12"
174SRCREV_pn-ubootchart ??= "10" 182SRCREV_pn-ubootchart ??= "10"
175SRCREV_pn-webkit-gtk ??= "62027" 183SRCREV_pn-webkit-gtk ??= "72836"
176SRCREV_pn-web-webkit ??= "110" 184SRCREV_pn-web-webkit ??= "130"
177SRCREV_pn-web ??= "129" 185SRCREV_pn-web ??= "129"
178SRCREV_pn-xcb-proto ??= "d81ca233e98be8fa59e8c90d262c0516944c5a66" 186SRCREV_pn-xcb-proto ??= "d81ca233e98be8fa59e8c90d262c0516944c5a66"
179SRCREV_pn-xcb-proto-native ??= "d81ca233e98be8fa59e8c90d262c0516944c5a66" 187SRCREV_pn-xcb-proto-native ??= "d81ca233e98be8fa59e8c90d262c0516944c5a66"
180SRCREV_pn-xf86-video-intel ??= "87ea531c5dc5b39809395b277c330854aaaaf019" 188SRCREV_pn-xf86-video-intel ??= "87ea531c5dc5b39809395b277c330854aaaaf019"
181SRCREV_pn-xf86-video-intel-dri2 ??= "3dd7f0f9423bb891bc99cd3b77dc3d57e057a7ef" 189SRCREV_pn-xf86-video-intel-dri2 ??= "3dd7f0f9423bb891bc99cd3b77dc3d57e057a7ef"
182SRCREV_pn-xf86-video-omapfb ??= "6cff996abcb305460e9fa2c75569b776f099c9d5" 190SRCREV_pn-xf86-video-omapfb ??= "044617665d6737f4909aab96f91b06261dff05d2"
183SRCREV_pn-xf86-input-keyboard ??= "3e28d68b50d291938734e9684b8296ca864f3892" 191SRCREV_pn-xf86-input-keyboard ??= "3e28d68b50d291938734e9684b8296ca864f3892"
184SRCREV_pn-xf86-input-mouse ??= "ea5cfe804e112f320f14ad896c7802d53551d3e6" 192SRCREV_pn-xf86-input-mouse ??= "ea5cfe804e112f320f14ad896c7802d53551d3e6"
185SRCREV_pn-xf86-input-synaptics ??= "934bc0012f948c52aadc8eda912f7728fb7394a2" 193SRCREV_pn-xf86-input-synaptics ??= "934bc0012f948c52aadc8eda912f7728fb7394a2"
@@ -187,9 +195,9 @@ SRCREV_pn-xserver-kdrive-glamo ??= "a51364e2f23d4b6331c5ed613ce3f7e15f8e540f"
187SRCREV_pn-xserver-xf86-dri-lite ??= "251d0d8090322b2c9dc0c8b7bef001f338d19433" 195SRCREV_pn-xserver-xf86-dri-lite ??= "251d0d8090322b2c9dc0c8b7bef001f338d19433"
188SRCREV_pn-xserver-xf86-dri2-lite ??= "251d0d8090322b2c9dc0c8b7bef001f338d19433" 196SRCREV_pn-xserver-xf86-dri2-lite ??= "251d0d8090322b2c9dc0c8b7bef001f338d19433"
189SRCREV_pn-xvideo-tests ??= "270" 197SRCREV_pn-xvideo-tests ??= "270"
190SRCREV_pn-x-load ??= "65ed00323f3807197a83abc75d62ed2a8d3f60de" 198SRCREV_pn-x-load ??= "6f3a26101303051e0f91b6213735b68ce804e94e"
191SRCDATE_yaffs2-utils-native ??= "20071107" 199SRCDATE_yaffs2-utils-native ??= "20071107"
192SRCDATE_yaffs2-utils ??= "20071107" 200SRCDATE_yaffs2-utils ??= "20071107"
193SRCREV_pn-zaurusd ??= "358" 201SRCREV_pn-zaurusd ??= "426"
194SRCREV_pn-zypper ??= "9eb0e248e06c8d20ad054be2439149d9ede37531" 202SRCREV_pn-zypper ??= "2c5bb6ceb99ecd950ef993e43d77bf0569ea0582"
195 203
diff --git a/meta/conf/distro/include/poky-default.inc b/meta/conf/distro/include/poky-default.inc
index e5dd647ed7..ef9f5cffa4 100644
--- a/meta/conf/distro/include/poky-default.inc
+++ b/meta/conf/distro/include/poky-default.inc
@@ -17,7 +17,7 @@ PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-for-gcc-nativesdk ?= "${POKYLIBC}-n
17 17
18GCCVERSION ?= "4.5.1" 18GCCVERSION ?= "4.5.1"
19SDKGCCVERSION ?= "4.5.1" 19SDKGCCVERSION ?= "4.5.1"
20BINUVERSION ?= "2.20.1" 20BINUVERSION ?= "2.21"
21GLIBCVERSION ?= "2.10.1" 21GLIBCVERSION ?= "2.10.1"
22LINUXLIBCVERSION ?= "2.6.36" 22LINUXLIBCVERSION ?= "2.6.36"
23 23
diff --git a/meta/conf/distro/include/poky-fixed-revisions.inc b/meta/conf/distro/include/poky-fixed-revisions.inc
index cc47610a3e..b7bd6f9fbb 100644
--- a/meta/conf/distro/include/poky-fixed-revisions.inc
+++ b/meta/conf/distro/include/poky-fixed-revisions.inc
@@ -8,7 +8,7 @@ PREFERRED_VERSION_hal-info ?= "20091130"
8PREFERRED_VERSION_udev ?= "164" 8PREFERRED_VERSION_udev ?= "164"
9PREFERRED_VERSION_wpa-supplicant ?= "0.7.3" 9PREFERRED_VERSION_wpa-supplicant ?= "0.7.3"
10 10
11PULSEAUDIOVERSION ?= "0.9.21" 11PULSEAUDIOVERSION ?= "0.9.22"
12PULSEAUDIOVERSION_arm ?= "0.9.15" 12PULSEAUDIOVERSION_arm ?= "0.9.15"
13PREFERRED_VERSION_pulseaudio ?= "${PULSEAUDIOVERSION}" 13PREFERRED_VERSION_pulseaudio ?= "${PULSEAUDIOVERSION}"
14 14
diff --git a/meta/conf/distro/include/poky-glibc.inc b/meta/conf/distro/include/poky-glibc.inc
index 35c6fc1627..4be712271a 100644
--- a/meta/conf/distro/include/poky-glibc.inc
+++ b/meta/conf/distro/include/poky-glibc.inc
@@ -2,6 +2,9 @@
2# glibc specific configuration 2# glibc specific configuration
3# 3#
4 4
5# Add glibc to the overrides.
6OVERRIDES =. "libc-glibc:"
7
5#glibc 8#glibc
6PREFERRED_PROVIDER_virtual/libiconv ?= "glibc" 9PREFERRED_PROVIDER_virtual/libiconv ?= "glibc"
7PREFERRED_PROVIDER_virtual/libintl ?= "glibc" 10PREFERRED_PROVIDER_virtual/libintl ?= "glibc"
diff --git a/meta/conf/distro/include/poky-uclibc.inc b/meta/conf/distro/include/poky-uclibc.inc
index edbcc4aa6d..def9dfe447 100644
--- a/meta/conf/distro/include/poky-uclibc.inc
+++ b/meta/conf/distro/include/poky-uclibc.inc
@@ -2,6 +2,9 @@
2# uclibc specific configuration 2# uclibc specific configuration
3# 3#
4 4
5# Add uclibc overrides to the overrides.
6OVERRIDES =. "libc-uclibc:"
7
5PREFERRED_PROVIDER_virtual/libc = "uclibc" 8PREFERRED_PROVIDER_virtual/libc = "uclibc"
6PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "uclibc" 9PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "uclibc"
7PREFERRED_PROVIDER_virtual/libiconv ?= "libiconv" 10PREFERRED_PROVIDER_virtual/libiconv ?= "libiconv"
diff --git a/meta/conf/distro/include/preferred-xorg-versions.inc b/meta/conf/distro/include/preferred-xorg-versions.inc
index a47b08fc0b..3a4bd335f7 100644
--- a/meta/conf/distro/include/preferred-xorg-versions.inc
+++ b/meta/conf/distro/include/preferred-xorg-versions.inc
@@ -3,12 +3,12 @@
3# 3#
4 4
5PREFERRED_VERSION_applewmproto ?= "1.4.1" 5PREFERRED_VERSION_applewmproto ?= "1.4.1"
6PREFERRED_VERSION_bigreqsproto ?= "1.1.0" 6PREFERRED_VERSION_bigreqsproto ?= "1.1.1"
7PREFERRED_VERSION_bigreqsproto-native ?= "1.1.0" 7PREFERRED_VERSION_bigreqsproto-native ?= "1.1.1"
8PREFERRED_VERSION_bigreqsproto-nativesdk ?= "1.1.0" 8PREFERRED_VERSION_bigreqsproto-nativesdk ?= "1.1.1"
9PREFERRED_VERSION_compositeproto ?= "0.4" 9PREFERRED_VERSION_compositeproto ?= "0.4.2"
10PREFERRED_VERSION_damageproto ?= "1.2.1" 10PREFERRED_VERSION_damageproto ?= "1.2.1"
11PREFERRED_VERSION_dmxproto ?= "2.3" 11PREFERRED_VERSION_dmxproto ?= "2.3.1"
12PREFERRED_VERSION_evieext ?= "1.1.0" 12PREFERRED_VERSION_evieext ?= "1.1.0"
13PREFERRED_VERSION_fixesproto ?= "4.1.2" 13PREFERRED_VERSION_fixesproto ?= "4.1.2"
14PREFERRED_VERSION_fontcacheproto ?= "0.1.3" 14PREFERRED_VERSION_fontcacheproto ?= "0.1.3"
@@ -18,17 +18,16 @@ PREFERRED_VERSION_fontsproto-native ?= "2.1.1"
18PREFERRED_VERSION_gccmakedep ?= "1.0.2" 18PREFERRED_VERSION_gccmakedep ?= "1.0.2"
19PREFERRED_VERSION_glproto ?= "1.4.12" 19PREFERRED_VERSION_glproto ?= "1.4.12"
20PREFERRED_VERSION_imake ?= "1.0.4" 20PREFERRED_VERSION_imake ?= "1.0.4"
21#PREFERRED_VERSION_inputproto ?= "2.0" 21PREFERRED_VERSION_inputproto ?= "2.0.1"
22#PREFERRED_VERSION_inputproto-native ?= "2.0" 22PREFERRED_VERSION_inputproto-native ?= "2.0.1"
23#PREFERRED_VERSION_inputproto-nativesdk ?= "2.0" 23PREFERRED_VERSION_inputproto-nativesdk ?= "2.0.1"
24PREFERRED_VERSION_kbproto ?= "1.0.5" 24PREFERRED_VERSION_kbproto ?= "1.0.5"
25PREFERRED_VERSION_kbproto-native ?= "1.0.5" 25PREFERRED_VERSION_kbproto-native ?= "1.0.5"
26PREFERRED_VERSION_kbproto-nativesdk ?= "1.0.5" 26PREFERRED_VERSION_kbproto-nativesdk ?= "1.0.5"
27PREFERRED_VERSION_libapplewm ?= "1.0.0" 27PREFERRED_VERSION_libapplewm ?= "1.0.0"
28PREFERRED_VERSION_libdmx ?= "1.1.0" 28PREFERRED_VERSION_libdmx ?= "1.1.1"
29PREFERRED_VERSION_libfontenc ?= "1.1.0" 29PREFERRED_VERSION_libfontenc ?= "1.1.0"
30PREFERRED_VERSION_libfontenc-native ?= "1.1.0" 30PREFERRED_VERSION_libfontenc-native ?= "1.1.0"
31PREFERRED_VERSION_libfs ?= "1.0.1"
32PREFERRED_VERSION_libice ?= "1.0.7" 31PREFERRED_VERSION_libice ?= "1.0.7"
33PREFERRED_VERSION_liblbxutil ?= "1.1.0" 32PREFERRED_VERSION_liblbxutil ?= "1.1.0"
34PREFERRED_VERSION_liboldx ?= "1.0.1" 33PREFERRED_VERSION_liboldx ?= "1.0.1"
@@ -62,7 +61,7 @@ PREFERRED_VERSION_libxinerama ?= "1.1.1"
62PREFERRED_VERSION_libxkbfile ?= "1.0.7" 61PREFERRED_VERSION_libxkbfile ?= "1.0.7"
63PREFERRED_VERSION_libxkbui ?= "1.0.2" 62PREFERRED_VERSION_libxkbui ?= "1.0.2"
64PREFERRED_VERSION_libxmu ?= "1.1.0" 63PREFERRED_VERSION_libxmu ?= "1.1.0"
65PREFERRED_VERSION_libxp ?= "1.0.0" 64PREFERRED_VERSION_libxp ?= "1.0.1"
66PREFERRED_VERSION_libxpm ?= "3.5.9" 65PREFERRED_VERSION_libxpm ?= "3.5.9"
67PREFERRED_VERSION_libxprintapputil ?= "1.0.1" 66PREFERRED_VERSION_libxprintapputil ?= "1.0.1"
68PREFERRED_VERSION_libxprintutil ?= "1.0.1" 67PREFERRED_VERSION_libxprintutil ?= "1.0.1"
@@ -78,20 +77,20 @@ PREFERRED_VERSION_libxtst ?= "1.2.0"
78PREFERRED_VERSION_libxv ?= "1.0.6" 77PREFERRED_VERSION_libxv ?= "1.0.6"
79PREFERRED_VERSION_libxvmc ?= "1.0.6" 78PREFERRED_VERSION_libxvmc ?= "1.0.6"
80PREFERRED_VERSION_libxxf86dga ?= "1.1.2" 79PREFERRED_VERSION_libxxf86dga ?= "1.1.2"
81PREFERRED_VERSION_libxxf86misc ?= "1.0.2" 80PREFERRED_VERSION_libxxf86misc ?= "1.0.3"
82PREFERRED_VERSION_libxxf86vm ?= "1.1.1" 81PREFERRED_VERSION_libxxf86vm ?= "1.1.1"
83PREFERRED_VERSION_lndir ?= "1.0.1" 82PREFERRED_VERSION_lndir ?= "1.0.1"
84PREFERRED_VERSION_makedepend ?= "1.0.3" 83PREFERRED_VERSION_makedepend ?= "1.0.3"
85PREFERRED_VERSION_makedepend-native ?= "1.0.3" 84PREFERRED_VERSION_makedepend-native ?= "1.0.3"
86PREFERRED_VERSION_pixman ?= "0.20.0" 85PREFERRED_VERSION_pixman ?= "0.20.2"
87PREFERRED_VERSION_printproto ?= "1.0.4" 86PREFERRED_VERSION_printproto ?= "1.0.5"
88PREFERRED_VERSION_randrproto ?= "1.3.2" 87PREFERRED_VERSION_randrproto ?= "1.3.2"
89PREFERRED_VERSION_randrproto-nativesdk ?= "1.3.2" 88PREFERRED_VERSION_randrproto-nativesdk ?= "1.3.2"
90PREFERRED_VERSION_recordproto ?= "1.14.1" 89PREFERRED_VERSION_recordproto ?= "1.14.1"
91PREFERRED_VERSION_renderproto ?= "0.11" 90PREFERRED_VERSION_renderproto ?= "0.11.1"
92PREFERRED_VERSION_renderproto-nativesdk ?= "0.11" 91PREFERRED_VERSION_renderproto-nativesdk ?= "0.11.1"
93PREFERRED_VERSION_resourceproto ?= "1.1.0" 92PREFERRED_VERSION_resourceproto ?= "1.1.1"
94PREFERRED_VERSION_scrnsaverproto ?= "1.2.0" 93PREFERRED_VERSION_scrnsaverproto ?= "1.2.1"
95PREFERRED_VERSION_trapproto ?= "3.4.3" 94PREFERRED_VERSION_trapproto ?= "3.4.3"
96PREFERRED_VERSION_util-macros ?= "1.11.0" 95PREFERRED_VERSION_util-macros ?= "1.11.0"
97PREFERRED_VERSION_util-macros-native ?= "1.11.0" 96PREFERRED_VERSION_util-macros-native ?= "1.11.0"
@@ -102,7 +101,7 @@ PREFERRED_VERSION_xauth ?= "1.0.5"
102PREFERRED_VERSION_xcmiscproto ?= "1.2.1" 101PREFERRED_VERSION_xcmiscproto ?= "1.2.1"
103PREFERRED_VERSION_xcmiscproto-native ?= "1.2.1" 102PREFERRED_VERSION_xcmiscproto-native ?= "1.2.1"
104PREFERRED_VERSION_xcmiscproto-nativesdk ?= "1.2.1" 103PREFERRED_VERSION_xcmiscproto-nativesdk ?= "1.2.1"
105PREFERRED_VERSION_xdpyinfo ?= "1.1.0" 104PREFERRED_VERSION_xdpyinfo ?= "1.2.0"
106PREFERRED_VERSION_xev ?= "1.0.3" 105PREFERRED_VERSION_xev ?= "1.0.3"
107PREFERRED_VERSION_xextproto ?= "7.1.2" 106PREFERRED_VERSION_xextproto ?= "7.1.2"
108PREFERRED_VERSION_xextproto-native ?= "7.1.2" 107PREFERRED_VERSION_xextproto-native ?= "7.1.2"
@@ -111,41 +110,41 @@ PREFERRED_VERSION_xf86bigfontproto ?= "1.2.0"
111PREFERRED_VERSION_xf86bigfontproto-native ?= "1.2.0" 110PREFERRED_VERSION_xf86bigfontproto-native ?= "1.2.0"
112PREFERRED_VERSION_xf86bigfontproto-nativesdk ?= "1.2.0" 111PREFERRED_VERSION_xf86bigfontproto-nativesdk ?= "1.2.0"
113PREFERRED_VERSION_xf86dgaproto ?= "2.1" 112PREFERRED_VERSION_xf86dgaproto ?= "2.1"
114PREFERRED_VERSION_xf86driproto ?= "2.1.0" 113PREFERRED_VERSION_xf86driproto ?= "2.1.1"
115PREFERRED_VERSION_dri2proto ?= "2.3" 114PREFERRED_VERSION_dri2proto ?= "2.3"
116PREFERRED_VERSION_xf86miscproto ?= "0.9.3" 115PREFERRED_VERSION_xf86miscproto ?= "0.9.3"
117PREFERRED_VERSION_xf86rushproto ?= "1.1.2" 116PREFERRED_VERSION_xf86rushproto ?= "1.1.2"
118PREFERRED_VERSION_xf86vidmodeproto ?= "2.3" 117PREFERRED_VERSION_xf86vidmodeproto ?= "2.3.1"
119PREFERRED_VERSION_xhost ?= "1.0.3" 118PREFERRED_VERSION_xhost ?= "1.0.4"
120PREFERRED_VERSION_xinit ?= "1.2.1" 119PREFERRED_VERSION_xinit ?= "1.3.0"
121PREFERRED_VERSION_xineramaproto ?= "1.2" 120PREFERRED_VERSION_xineramaproto ?= "1.2.1"
122PREFERRED_VERSION_xmodmap ?= "1.0.5" 121PREFERRED_VERSION_xmodmap ?= "1.0.5"
123PREFERRED_VERSION_xorg-cf-files ?= "1.0.3" 122PREFERRED_VERSION_xorg-cf-files ?= "1.0.3"
124PREFERRED_VERSION_xprop ?= "1.1.0" 123PREFERRED_VERSION_xprop ?= "1.2.0"
125PREFERRED_VERSION_xproto ?= "7.0.19" 124PREFERRED_VERSION_xproto ?= "7.0.20"
126PREFERRED_VERSION_xproto-native ?= "7.0.19" 125PREFERRED_VERSION_xproto-native ?= "7.0.20"
127PREFERRED_VERSION_xproto-nativesdk ?= "7.0.19" 126PREFERRED_VERSION_xproto-nativesdk ?= "7.0.20"
128PREFERRED_VERSION_xproxymanagementprotocol ?= "1.0.3" 127PREFERRED_VERSION_xproxymanagementprotocol ?= "1.0.3"
129PREFERRED_VERSION_xrandr ?= "1.3.4" 128PREFERRED_VERSION_xrandr ?= "1.3.4"
130PREFERRED_VERSION_xrdb ?= "1.0.5" 129PREFERRED_VERSION_xrdb ?= "1.0.5"
131PREFERRED_VERSION_xserver-kdrive ?= "1.7.99.2" 130PREFERRED_VERSION_xserver-kdrive ?= "1.7.99.2"
132PREFERRED_VERSION_xserver-xf86-dri-lite ?= "1.9.2" 131PREFERRED_VERSION_xserver-xf86-dri-lite ?= "1.9.3"
133PREFERRED_VERSION_xset ?= "1.2.1" 132PREFERRED_VERSION_xset ?= "1.2.1"
134PREFERRED_VERSION_xtrans ?= "1.2.6" 133PREFERRED_VERSION_xtrans ?= "1.2.6"
135PREFERRED_VERSION_xtrans-native ?= "1.2.6" 134PREFERRED_VERSION_xtrans-native ?= "1.2.6"
136PREFERRED_VERSION_xtrans-nativesdk ?= "1.2.6" 135PREFERRED_VERSION_xtrans-nativesdk ?= "1.2.6"
137PREFERRED_VERSION_xvinfo ?= "1.0.2" 136PREFERRED_VERSION_xvinfo ?= "1.1.1"
138PREFERRED_VERSION_xwininfo ?= "1.1.0" 137PREFERRED_VERSION_xwininfo ?= "1.1.1"
139PREFERRED_VERSION_mesa-dri ?= "7.9" 138PREFERRED_VERSION_mesa-dri ?= "7.8.2"
140PREFERRED_VERSION_libdrm ?= "2.4.22" 139PREFERRED_VERSION_libdrm ?= "2.4.23"
141PREFERRED_VERSION_xcb-proto ?= "1.6" 140PREFERRED_VERSION_xcb-proto ?= "1.6"
142PREFERRED_VERSION_libxcb ?= "1.7" 141PREFERRED_VERSION_libxcb ?= "1.7"
143PREFERRED_VERSION_libxcb-nativesdk ?= "1.7" 142PREFERRED_VERSION_libxcb-nativesdk ?= "1.7"
144PREFERRED_VERSION_libpciaccess ?= "0.12.0" 143PREFERRED_VERSION_libpciaccess ?= "0.12.0"
145PREFERRED_VERSION_xf86-input-evdev ?= "2.5.0" 144PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0"
146PREFERRED_VERSION_xf86-input-mouse ?= "1.6.0" 145PREFERRED_VERSION_xf86-input-mouse ?= "1.6.0"
147PREFERRED_VERSION_xf86-input-keyboard ?= "1.4.0" 146PREFERRED_VERSION_xf86-input-keyboard ?= "1.5.0"
148PREFERRED_VERSION_xf86-input-synaptics ?= "1.2.1" 147PREFERRED_VERSION_xf86-input-synaptics ?= "1.3.0"
149PREFERRED_VERSION_xf86-video-intel ?= "2.13.0" 148PREFERRED_VERSION_xf86-video-intel ?= "2.14.0"
150 149
151 150
diff --git a/meta/conf/distro/poky-lsb.conf b/meta/conf/distro/poky-lsb.conf
new file mode 100644
index 0000000000..86514d3ae6
--- /dev/null
+++ b/meta/conf/distro/poky-lsb.conf
@@ -0,0 +1,6 @@
1require conf/distro/poky.conf
2
3DISTRO = "poky-lsb"
4
5DISTRO_FEATURES += "pam"
6PREFERRED_PROVIDER_virtual/libx11 = "libx11"
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
index ee390dca85..5e560fa5e1 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -12,7 +12,7 @@ USER_CLASSES ?= ""
12 12
13PACKAGE_CLASSES ?= "package_ipk" 13PACKAGE_CLASSES ?= "package_ipk"
14INHERIT_INSANE ?= "insane" 14INHERIT_INSANE ?= "insane"
15INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} debian poky devshell ${INHERIT_INSANE} sstate" 15INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} debian devshell ${INHERIT_INSANE} sstate license"
16# For some reason, this doesn't work 16# For some reason, this doesn't work
17# TARGET_OS ?= "linux" 17# TARGET_OS ?= "linux"
18# TARGET_VENDOR ?= "-poky" 18# TARGET_VENDOR ?= "-poky"
@@ -22,6 +22,8 @@ TARGET_FPU_arm ?= "soft"
22TARGET_FPU_armeb ?= "soft" 22TARGET_FPU_armeb ?= "soft"
23TARGET_FPU_nokia800 = "hard" 23TARGET_FPU_nokia800 = "hard"
24 24
25TARGET_LINK_HASH_STYLE ?= "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH', d, True) in ['mips', 'mipsel', 'mips64', 'mips64el']]}"
26
25QA_LOGFILE = "${TMPDIR}/qa.log" 27QA_LOGFILE = "${TMPDIR}/qa.log"
26 28
27IMAGE_ROOTFS_SIZE_ext2 ?= "131072" 29IMAGE_ROOTFS_SIZE_ext2 ?= "131072"
@@ -85,6 +87,8 @@ VIRTUAL-RUNTIME_update-alternatives ?= "update-alternatives-cworth"
85# Others: 87# Others:
86PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers" 88PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers"
87PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-libc-headers-nativesdk" 89PREFERRED_PROVIDER_linux-libc-headers-nativesdk ?= "linux-libc-headers-nativesdk"
90PREFERRED_PROVIDER_libgcc ?= "libgcc"
91PREFERRED_PROVIDER_libgcc-nativesdk ?= "libgcc-nativesdk"
88PREFERRED_PROVIDER_dbus-glib ?= "dbus-glib" 92PREFERRED_PROVIDER_dbus-glib ?= "dbus-glib"
89PREFERRED_PROVIDER_dbus-glib-native ?= "dbus-glib-native" 93PREFERRED_PROVIDER_dbus-glib-native ?= "dbus-glib-native"
90PREFERRED_PROVIDER_gconf ?= "gconf-dbus" 94PREFERRED_PROVIDER_gconf ?= "gconf-dbus"
@@ -93,6 +97,8 @@ PREFERRED_PROVIDER_opkg ?= "opkg"
93PREFERRED_PROVIDER_opkg-native ?= "opkg-native" 97PREFERRED_PROVIDER_opkg-native ?= "opkg-native"
94PREFERRED_PROVIDER_opkg-nativesdk ?= "opkg-nativesdk" 98PREFERRED_PROVIDER_opkg-nativesdk ?= "opkg-nativesdk"
95 99
100PREFERRED_PROVIDER_gdk-pixbuf ?= "gdk-pixbuf"
101
96require conf/distro/include/poky-fixed-revisions.inc 102require conf/distro/include/poky-fixed-revisions.inc
97require conf/distro/include/preferred-xorg-versions.inc 103require conf/distro/include/preferred-xorg-versions.inc
98 104
@@ -137,12 +143,36 @@ COMMERCIAL_VIDEO_PLUGINS ?= ""
137# COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse" 143# COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse"
138COMMERCIAL_QT ?= "" 144COMMERCIAL_QT ?= ""
139# COMMERCIAL_QT ?= "qmmp" 145# COMMERCIAL_QT ?= "qmmp"
146# Set of common licenses used for license.bbclass
147COMMON_LICENSE_DIR ??= "${POKYBASE}/meta/files/common-licenses"
140 148
149BB_GENERATE_MIRROR_TARBALLS ??= "0"
141 150
142require conf/distro/include/world-broken.inc 151require conf/distro/include/world-broken.inc
143 152
144# Setup our hash policy 153PREMIRRORS_append = "\
145BB_SIGNATURE_HANDLER = "basic" 154bzr://.*/.* http://pokylinux.org/sources/ \n \
146BB_HASHTASK_WHITELIST = "(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$|^virtual:native:.*|^virtual:nativesdk:.*)" 155cvs://.*/.* http://pokylinux.org/sources/ \n \
147BB_HASHBASE_WHITELIST = "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL TERM USER" 156git://.*/.* http://pokylinux.org/sources/ \n \
148patch_do_patch[vardepsexclude] = "DATE SRCDATE" 157hg://.*/.* http://pokylinux.org/sources/ \n \
158osc://.*/.* http://pokylinux.org/sources/ \n \
159p4://.*/.* http://pokylinux.org/sources/ \n \
160svk://.*/.* http://pokylinux.org/sources/ \n \
161svn://.*/.* http://pokylinux.org/sources/ \n \
162bzr://.*/.* http://autobuilder.pokylinux.org/sources/ \n \
163cvs://.*/.* http://autobuilder.pokylinux.org/sources/ \n \
164git://.*/.* http://autobuilder.pokylinux.org/sources/ \n \
165hg://.*/.* http://autobuilder.pokylinux.org/sources/ \n \
166osc://.*/.* http://autobuilder.pokylinux.org/sources/ \n \
167p4://.*/.* http://autobuilder.pokylinux.org/sources/ \n \
168svk://.*/.* http://autobuilder.pokylinux.org/sources/ \n \
169svn://.*/.* http://autobuilder.pokylinux.org/sources/ \n"
170
171MIRRORS_append = "\
172ftp://.*/.* http://pokylinux.org/sources/ \n \
173http://.*/.* http://pokylinux.org/sources/ \n \
174https://.*/.* http://pokylinux.org/sources/ \n \
175ftp://.*/.* http://autobuilder.pokylinux.org/sources/ \n \
176http://.*/.* http://autobuilder.pokylinux.org/sources/ \n \
177https://.*/.* http://autobuilder.pokylinux.org/sources/ \n"
178
diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample
index 43f6f34f47..d9f7098f0c 100644
--- a/meta/conf/local.conf.sample
+++ b/meta/conf/local.conf.sample
@@ -25,10 +25,6 @@ MACHINE ?= "qemux86"
25#MACHINE ?= "c7x0" 25#MACHINE ?= "c7x0"
26#MACHINE ?= "akita" 26#MACHINE ?= "akita"
27#MACHINE ?= "spitz" 27#MACHINE ?= "spitz"
28#MACHINE ?= "nokia770"
29#MACHINE ?= "nokia800"
30#MACHINE ?= "fic-gta01"
31#MACHINE ?= "bootcdx86"
32#MACHINE ?= "cm-x270" 28#MACHINE ?= "cm-x270"
33#MACHINE ?= "em-x270" 29#MACHINE ?= "em-x270"
34#MACHINE ?= "htcuniversal" 30#MACHINE ?= "htcuniversal"
@@ -156,6 +152,14 @@ ENABLE_BINARY_LOCALE_GENERATION = "1"
156# list them like following. 152# list them like following.
157#TEST_SCEN = "sanity bat sanity:boot" 153#TEST_SCEN = "sanity bat sanity:boot"
158 154
155#Because of the QEMU booting slowness issue(see bug #646 and #618), autobuilder
156#may suffer a timeout issue when running sanity test. We introduce variable
157#TEST_SERIALIZE here to reduce the time on sanity test. It is by default set
158#to 1. Poky will start image and run cases in the same image without reboot
159#or kill. If it is set to 0, the image will be copied and tested for each
160#case, which will take much time.
161#TEST_SERIALIZE = "1"
162
159# Set GLIBC_GENERATE_LOCALES to the locales you wish to generate should you not 163# Set GLIBC_GENERATE_LOCALES to the locales you wish to generate should you not
160# wish to perform the time-consuming step of generating all LIBC locales. 164# wish to perform the time-consuming step of generating all LIBC locales.
161# NOTE: If removing en_US.UTF-8 you will also need to uncomment, and set 165# NOTE: If removing en_US.UTF-8 you will also need to uncomment, and set
@@ -166,6 +170,15 @@ ENABLE_BINARY_LOCALE_GENERATION = "1"
166#IMAGE_LINGUAS ?= "en-gb" 170#IMAGE_LINGUAS ?= "en-gb"
167#LIMIT_BUILT_LOCALES ?= "POSIX en_GB" 171#LIMIT_BUILT_LOCALES ?= "POSIX en_GB"
168 172
173# This value is currently used by PSEUDO to determine if the recipe should
174# build both the 32-bit and 64-bit wrapper libraries on a 64-bit build system.
175#
176# PSEUDO will attempt to determine if a 32-bit wrapper is necessary, but
177# it doesn't always guess properly. If you have 32-bit executables on
178# your 64-bit build system, you likely want to set this to "0",
179# otherwise you could end up with incorrect file attributes on the
180# target filesystem.
181#
169# Default to not build 32 bit libs on 64 bit systems, comment this 182# Default to not build 32 bit libs on 64 bit systems, comment this
170# out if that is desired 183# out if that is desired
171NO32LIBS = "1" 184NO32LIBS = "1"
diff --git a/meta/conf/machine/akita.conf b/meta/conf/machine/akita.conf
index 0f5eaca9cc..cdd465200c 100644
--- a/meta/conf/machine/akita.conf
+++ b/meta/conf/machine/akita.conf
@@ -5,7 +5,6 @@
5require conf/machine/include/zaurus-2.6.inc 5require conf/machine/include/zaurus-2.6.inc
6require conf/machine/include/zaurus-clamshell.inc 6require conf/machine/include/zaurus-clamshell.inc
7 7
8PACKAGE_EXTRA_ARCHS += "iwmmxt"
9MACHINE_FEATURES += "iwmmxt" 8MACHINE_FEATURES += "iwmmxt"
10 9
11IMAGE_FSTYPES ?= "jffs2" 10IMAGE_FSTYPES ?= "jffs2"
diff --git a/meta/conf/machine/atom-pc.conf b/meta/conf/machine/atom-pc.conf
index 8cf09b811e..58c9b0da65 100644
--- a/meta/conf/machine/atom-pc.conf
+++ b/meta/conf/machine/atom-pc.conf
@@ -4,7 +4,6 @@
4#@DESCRIPTION: Machine configuration for Intel Atom based PCs. Currently supported machines are the Asus eee901, Acer Aspire One, Toshiba NB305, and Intel BlackSand development board. 4#@DESCRIPTION: Machine configuration for Intel Atom based PCs. Currently supported machines are the Asus eee901, Acer Aspire One, Toshiba NB305, and Intel BlackSand development board.
5 5
6TARGET_ARCH = "i586" 6TARGET_ARCH = "i586"
7PACKAGE_EXTRA_ARCHS = "x86 core2"
8 7
9include conf/machine/include/tune-atom.inc 8include conf/machine/include/tune-atom.inc
10 9
diff --git a/meta/conf/machine/beagleboard.conf b/meta/conf/machine/beagleboard.conf
index 1b73250c24..41351e7bf4 100644
--- a/meta/conf/machine/beagleboard.conf
+++ b/meta/conf/machine/beagleboard.conf
@@ -2,7 +2,6 @@
2#@NAME: Beagleboard machine 2#@NAME: Beagleboard machine
3#@DESCRIPTION: Machine configuration for the http://beagleboard.org/ board 3#@DESCRIPTION: Machine configuration for the http://beagleboard.org/ board
4TARGET_ARCH = "arm" 4TARGET_ARCH = "arm"
5PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te armv6 armv7 armv7a"
6 5
7PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive" 6PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
8XSERVER = "xserver-kdrive-fbdev" 7XSERVER = "xserver-kdrive-fbdev"
@@ -13,6 +12,9 @@ GUI_MACHINE_CLASS = "bigscreen"
13#Ship all kernel modules till the board support has matured enough 12#Ship all kernel modules till the board support has matured enough
14MACHINE_EXTRA_RRECOMMENDS = " kernel-modules" 13MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
15 14
15# Allow for MMC booting (required by the NAND-less Beagleboard XM)
16EXTRA_IMAGEDEPENDS += "u-boot x-load"
17
16#include conf/machine/include/tune-arm1136jf-s.inc 18#include conf/machine/include/tune-arm1136jf-s.inc
17include conf/machine/include/tune-cortexa8.inc 19include conf/machine/include/tune-cortexa8.inc
18 20
@@ -20,10 +22,10 @@ IMAGE_FSTYPES += "tar.bz2 jffs2"
20EXTRA_IMAGECMD_jffs2 = "-lnp " 22EXTRA_IMAGECMD_jffs2 = "-lnp "
21 23
22# Guesswork 24# Guesswork
23SERIAL_CONSOLE = "115200 ttyS2" 25SERIAL_CONSOLE = "115200 ttyO2"
24 26
25PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-stable" 27PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
26#PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto" 28PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
27 29
28KERNEL_IMAGETYPE = "uImage" 30KERNEL_IMAGETYPE = "uImage"
29 31
diff --git a/meta/conf/machine/cm-x270.conf b/meta/conf/machine/cm-x270.conf
index 226942de73..9bf7d8f6ae 100644
--- a/meta/conf/machine/cm-x270.conf
+++ b/meta/conf/machine/cm-x270.conf
@@ -8,9 +8,9 @@ GUI_MACHINE_CLASS ?= "bigscreen"
8PREFERRED_PROVIDER_virtual/kernel = "linux" 8PREFERRED_PROVIDER_virtual/kernel = "linux"
9PREFERRED_VERSION_linux ?= "2.6.23" 9PREFERRED_VERSION_linux ?= "2.6.23"
10 10
11PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te iwmmxt"
12 11
13require conf/machine/include/tune-xscale.inc 12require conf/machine/include/tune-xscale.inc
13PACKAGE_EXTRA_ARCHS += "iwmmxt"
14 14
15# Console serial port. 15# Console serial port.
16# If you have a W module, add the following line to your local.conf: 16# If you have a W module, add the following line to your local.conf:
diff --git a/meta/conf/machine/depicture.conf b/meta/conf/machine/depicture.conf
index 333af4f2f2..f72ab2939e 100644
--- a/meta/conf/machine/depicture.conf
+++ b/meta/conf/machine/depicture.conf
@@ -3,7 +3,6 @@
3#@DESCRIPTION: Machine configuration for running an ARM 920t in the BBD20EUROU board. 3#@DESCRIPTION: Machine configuration for running an ARM 920t in the BBD20EUROU board.
4 4
5TARGET_ARCH = "arm" 5TARGET_ARCH = "arm"
6PACKAGE_EXTRA_ARCHS = "armv4 armv4t"
7 6
8require conf/machine/include/qemu.inc 7require conf/machine/include/qemu.inc
9require conf/machine/include/tune-arm920t.inc 8require conf/machine/include/tune-arm920t.inc
diff --git a/meta/conf/machine/em-x270.conf b/meta/conf/machine/em-x270.conf
index 47fb8ca533..9bcec5b742 100644
--- a/meta/conf/machine/em-x270.conf
+++ b/meta/conf/machine/em-x270.conf
@@ -8,7 +8,6 @@
8TARGET_ARCH = "arm" 8TARGET_ARCH = "arm"
9GUI_MACHINE_CLASS ?= "bigscreen" 9GUI_MACHINE_CLASS ?= "bigscreen"
10 10
11PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te iwmmxt "
12PREFERRED_PROVIDER_virtual/kernel = "linux" 11PREFERRED_PROVIDER_virtual/kernel = "linux"
13 12
14require conf/machine/include/tune-xscale.inc 13require conf/machine/include/tune-xscale.inc
diff --git a/meta/conf/machine/htcuniversal.conf b/meta/conf/machine/htcuniversal.conf
index 2f5b798bff..72f3bc4aad 100644
--- a/meta/conf/machine/htcuniversal.conf
+++ b/meta/conf/machine/htcuniversal.conf
@@ -4,9 +4,9 @@
4 4
5#include conf/machine/include/tune-iwmmxt.inc 5#include conf/machine/include/tune-iwmmxt.inc
6include conf/machine/include/tune-xscale.inc 6include conf/machine/include/tune-xscale.inc
7PACKAGE_EXTRA_ARCHS += "iwmmxt"
7 8
8TARGET_ARCH = "arm" 9TARGET_ARCH = "arm"
9PACKAGE_EXTRA_ARCHS = "armv4t armv5te iwmmxt"
10 10
11PREFERRED_PROVIDER_virtual/kernel = "linux-rp" 11PREFERRED_PROVIDER_virtual/kernel = "linux-rp"
12 12
diff --git a/meta/conf/machine/hx2000.conf b/meta/conf/machine/hx2000.conf
index 8b4c39f805..a6775f2c3a 100644
--- a/meta/conf/machine/hx2000.conf
+++ b/meta/conf/machine/hx2000.conf
@@ -3,7 +3,7 @@
3#@DESCRIPTION: Machine configuration for the hx2000 iPAQs with a pxa27x CPU 3#@DESCRIPTION: Machine configuration for the hx2000 iPAQs with a pxa27x CPU
4 4
5TARGET_ARCH = "arm" 5TARGET_ARCH = "arm"
6PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te iwmmxt " 6PACKAGE_EXTRA_ARCHS += "iwmmxt"
7 7
8PREFERRED_PROVIDER_virtual/kernel = "linux-rp" 8PREFERRED_PROVIDER_virtual/kernel = "linux-rp"
9 9
diff --git a/meta/conf/machine/igep0020.conf b/meta/conf/machine/igep0020.conf
index 9ddbad65b3..86adfcf1a0 100644
--- a/meta/conf/machine/igep0020.conf
+++ b/meta/conf/machine/igep0020.conf
@@ -2,7 +2,6 @@
2#@NAME: IGEP v2 machine 2#@NAME: IGEP v2 machine
3#@DESCRIPTION: Machine configuration for the IGEP v2 board (http://www.myigep.com) 3#@DESCRIPTION: Machine configuration for the IGEP v2 board (http://www.myigep.com)
4TARGET_ARCH = "arm" 4TARGET_ARCH = "arm"
5PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te armv6 armv7 armv7a"
6 5
7# Floating point option 6# Floating point option
8TARGET_FPU_arm = "hard" 7TARGET_FPU_arm = "hard"
diff --git a/meta/conf/machine/igep0030.conf b/meta/conf/machine/igep0030.conf
index 7ebfaa0ca5..af36982a6a 100644
--- a/meta/conf/machine/igep0030.conf
+++ b/meta/conf/machine/igep0030.conf
@@ -2,7 +2,6 @@
2#@NAME: OMAP3 IGEP module 2#@NAME: OMAP3 IGEP module
3#@DESCRIPTION: Machine configuration for the OMAP3 IGEP module (http://www.myigep.com) 3#@DESCRIPTION: Machine configuration for the OMAP3 IGEP module (http://www.myigep.com)
4TARGET_ARCH = "arm" 4TARGET_ARCH = "arm"
5PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te armv6 armv7 armv7a"
6 5
7# Floating point option 6# Floating point option
8TARGET_FPU_arm = "hard" 7TARGET_FPU_arm = "hard"
diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc
index 502e24f770..225906b471 100644
--- a/meta/conf/machine/include/qemu.inc
+++ b/meta/conf/machine/include/qemu.inc
@@ -15,7 +15,7 @@ IMAGE_ROOTFS_SIZE_ext3 ?= "280000"
15RDEPENDS_kernel-base = "" 15RDEPENDS_kernel-base = ""
16 16
17# Use a common kernel recipe for all QEMU machines 17# Use a common kernel recipe for all QEMU machines
18PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" 18PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
19#PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto" 19PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
20 20
21EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native" 21EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
diff --git a/meta/conf/machine/include/tune-arm1136jf-s.inc b/meta/conf/machine/include/tune-arm1136jf-s.inc
index be5aedc509..a7717510e6 100644
--- a/meta/conf/machine/include/tune-arm1136jf-s.inc
+++ b/meta/conf/machine/include/tune-arm1136jf-s.inc
@@ -4,5 +4,6 @@ FEED_ARCH = "armv6"
4BASE_PACKAGE_ARCH = "armv6" 4BASE_PACKAGE_ARCH = "armv6"
5 5
6ARM_INSTRUCTION_SET = "${@['thumb','arm'][bb.data.getVar('CPU_FEATURES', d, 1).find('thumb') == -1]}" 6ARM_INSTRUCTION_SET = "${@['thumb','arm'][bb.data.getVar('CPU_FEATURES', d, 1).find('thumb') == -1]}"
7PACKAGE_EXTRA_ARCHS += "armv4 armv4t armv5te armv6"
7 8
8require conf/machine/include/tune-thumb.inc 9require conf/machine/include/tune-thumb.inc
diff --git a/meta/conf/machine/include/tune-arm920t.inc b/meta/conf/machine/include/tune-arm920t.inc
index 1f7a04bb3b..fee5c586c9 100644
--- a/meta/conf/machine/include/tune-arm920t.inc
+++ b/meta/conf/machine/include/tune-arm920t.inc
@@ -1,4 +1,4 @@
1FEED_ARCH = "armv4t" 1FEED_ARCH = "armv4t"
2BASE_PACKAGE_ARCH = "armv4t" 2BASE_PACKAGE_ARCH = "armv4t"
3TARGET_CC_ARCH = "-march=armv4t -mtune=arm920t" 3TARGET_CC_ARCH = "-march=armv4t -mtune=arm920t"
4 4PACKAGE_EXTRA_ARCHS += "armv4 armv4t"
diff --git a/meta/conf/machine/include/tune-arm926ejs.inc b/meta/conf/machine/include/tune-arm926ejs.inc
index e80ef10490..f41e460999 100644
--- a/meta/conf/machine/include/tune-arm926ejs.inc
+++ b/meta/conf/machine/include/tune-arm926ejs.inc
@@ -1,5 +1,5 @@
1FEED_ARCH = "armv5te" 1FEED_ARCH = "armv5te"
2 2PACKAGE_EXTRA_ARCHS += "armv4 armv4t armv5te"
3# For gcc 3.x you need: 3# For gcc 3.x you need:
4#TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ejs" 4#TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ejs"
5# For gcc 4.x you need: 5# For gcc 4.x you need:
diff --git a/meta/conf/machine/include/tune-arm9tdmi.inc b/meta/conf/machine/include/tune-arm9tdmi.inc
index 39e4493014..d788b5304f 100644
--- a/meta/conf/machine/include/tune-arm9tdmi.inc
+++ b/meta/conf/machine/include/tune-arm9tdmi.inc
@@ -1,2 +1,4 @@
1FEED_ARCH = "armv4t"
1BASE_PACKAGE_ARCH = "armv4t" 2BASE_PACKAGE_ARCH = "armv4t"
3PACKAGE_EXTRA_ARCHS += "armv4 armv4t"
2TARGET_CC_ARCH = "-mcpu=arm9tdmi -mtune=arm9tdmi" 4TARGET_CC_ARCH = "-mcpu=arm9tdmi -mtune=arm9tdmi"
diff --git a/meta/conf/machine/include/tune-armv7.inc b/meta/conf/machine/include/tune-armv7.inc
index 96c8c64904..379a3eb011 100644
--- a/meta/conf/machine/include/tune-armv7.inc
+++ b/meta/conf/machine/include/tune-armv7.inc
@@ -3,4 +3,5 @@
3# This will NOT compile programs in 'ARM' mode, which is what you really want 3# This will NOT compile programs in 'ARM' mode, which is what you really want
4TARGET_CC_ARCH = "-march=armv7 -mfpu=vfp -mfloat-abi=softfp" 4TARGET_CC_ARCH = "-march=armv7 -mfpu=vfp -mfloat-abi=softfp"
5FEED_ARCH = "armv7" 5FEED_ARCH = "armv7"
6PACKAGE_EXTRA_ARCHS += "armv4 armv4t armv5te armv6 armv7"
6BASE_PACKAGE_ARCH = "armv7" 7BASE_PACKAGE_ARCH = "armv7"
diff --git a/meta/conf/machine/include/tune-atom.inc b/meta/conf/machine/include/tune-atom.inc
index 0f09e8d56f..a401856c8b 100644
--- a/meta/conf/machine/include/tune-atom.inc
+++ b/meta/conf/machine/include/tune-atom.inc
@@ -2,3 +2,4 @@ BASE_PACKAGE_ARCH = "core2"
2TARGET_CC_ARCH = "-m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse" 2TARGET_CC_ARCH = "-m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse"
3#MOBLIN_CFLAGS = "-Os -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables" 3#MOBLIN_CFLAGS = "-Os -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables"
4 4
5PACKAGE_EXTRA_ARCHS += "x86 i386 i486 i586 core2"
diff --git a/meta/conf/machine/include/tune-c3.inc b/meta/conf/machine/include/tune-c3.inc
index 107341eb62..1d636e89c6 100644
--- a/meta/conf/machine/include/tune-c3.inc
+++ b/meta/conf/machine/include/tune-c3.inc
@@ -1,3 +1,4 @@
1TARGET_CC_ARCH = "-march=c3 -mtune=c3" 1TARGET_CC_ARCH = "-march=c3 -mtune=c3"
2PACKAGE_EXTRA_ARCHS += "i386 i486 i586"
2BASE_PACKAGE_ARCH = "i586" 3BASE_PACKAGE_ARCH = "i586"
3 4FEED_ARCH = "i586"
diff --git a/meta/conf/machine/include/tune-cortexa8.inc b/meta/conf/machine/include/tune-cortexa8.inc
index 2c40b70560..3ec1c03500 100644
--- a/meta/conf/machine/include/tune-cortexa8.inc
+++ b/meta/conf/machine/include/tune-cortexa8.inc
@@ -10,3 +10,4 @@ TARGET_CC_ARCH = "-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
10 10
11FEED_ARCH = "armv7a" 11FEED_ARCH = "armv7a"
12BASE_PACKAGE_ARCH = "armv7a" 12BASE_PACKAGE_ARCH = "armv7a"
13PACKAGE_EXTRA_ARCHS += "armv4 armv4t armv5te armv6 armv7 armv7a"
diff --git a/meta/conf/machine/include/tune-ep9312.inc b/meta/conf/machine/include/tune-ep9312.inc
index 2cfdf5270f..d0c5bb2e98 100644
--- a/meta/conf/machine/include/tune-ep9312.inc
+++ b/meta/conf/machine/include/tune-ep9312.inc
@@ -2,5 +2,7 @@ TARGET_CC_ARCH = "-march=ep9312 -mtune=ep9312 -mcpu=ep9312"
2# add "-mfp=maverick" for newer gcc versions > 4.0 2# add "-mfp=maverick" for newer gcc versions > 4.0
3 3
4#set arch to ep9312 for all generated packages 4#set arch to ep9312 for all generated packages
5PACKAGE_EXTRA_ARCHS += "armv4t ep9312"
5BASE_PACKAGE_ARCH = "ep9312" 6BASE_PACKAGE_ARCH = "ep9312"
7FEED_ARCH = "ep9312"
6 8
diff --git a/meta/conf/machine/include/tune-iwmmxt.inc b/meta/conf/machine/include/tune-iwmmxt.inc
index 49e560ea1a..f7291be805 100644
--- a/meta/conf/machine/include/tune-iwmmxt.inc
+++ b/meta/conf/machine/include/tune-iwmmxt.inc
@@ -2,5 +2,6 @@
2# Please use tune-xscale for PXA255/PXA26x based processors. 2# Please use tune-xscale for PXA255/PXA26x based processors.
3TARGET_CC_ARCH = "-march=iwmmxt -mcpu=iwmmxt -mtune=iwmmxt" 3TARGET_CC_ARCH = "-march=iwmmxt -mcpu=iwmmxt -mtune=iwmmxt"
4BASE_PACKAGE_ARCH = "iwmmxt" 4BASE_PACKAGE_ARCH = "iwmmxt"
5PACKAGE_EXTRA_ARCHS += "iwmmxt" 5PACKAGE_EXTRA_ARCHS += "armv4 armv4t armv5te iwmmxt"
6FEED_ARCH = "iwmmxt"
6 7
diff --git a/meta/conf/machine/include/tune-mips32.inc b/meta/conf/machine/include/tune-mips32.inc
index 93da66b158..67edca2530 100644
--- a/meta/conf/machine/include/tune-mips32.inc
+++ b/meta/conf/machine/include/tune-mips32.inc
@@ -1 +1,3 @@
1TARGET_CC_ARCH = "-march=mips32" 1TARGET_CC_ARCH = "-march=mips32"
2FEED_ARCH = "${TARGET_ARCH}"
3BASE_PACKAGE_ARCH = "${TARGET_ARCH}"
diff --git a/meta/conf/machine/include/tune-ppc603e.inc b/meta/conf/machine/include/tune-ppc603e.inc
index a4a68d60e3..15a72d10a1 100644
--- a/meta/conf/machine/include/tune-ppc603e.inc
+++ b/meta/conf/machine/include/tune-ppc603e.inc
@@ -1,2 +1,4 @@
1TARGET_CC_ARCH = "-mcpu=603e -mhard-float" 1TARGET_CC_ARCH = "-mcpu=603e -mhard-float"
2BASE_PACKAGE_ARCH = "ppc603e" 2BASE_PACKAGE_ARCH = "ppc603e"
3FEED_ARCH = "ppc603e"
4PACKAGE_EXTRA_ARCHS += "ppc603e"
diff --git a/meta/conf/machine/include/tune-ppce300c2.inc b/meta/conf/machine/include/tune-ppce300c2.inc
index 067a7b100c..2956875186 100644
--- a/meta/conf/machine/include/tune-ppce300c2.inc
+++ b/meta/conf/machine/include/tune-ppce300c2.inc
@@ -1,2 +1,3 @@
1TARGET_CC_ARCH = "-mcpu=e300c2 -msoft-float" 1TARGET_CC_ARCH = "-mcpu=e300c2 -msoft-float"
2BASE_PACKAGE_ARCH = "ppce300" 2BASE_PACKAGE_ARCH = "ppce300"
3PACKAGE_EXTRA_ARCHS += "ppce300"
diff --git a/meta/conf/machine/include/tune-ppce500.inc b/meta/conf/machine/include/tune-ppce500.inc
index 2482196424..44f8742f9f 100644
--- a/meta/conf/machine/include/tune-ppce500.inc
+++ b/meta/conf/machine/include/tune-ppce500.inc
@@ -1,2 +1,4 @@
1TARGET_CC_ARCH = "-mcpu=8540" 1TARGET_CC_ARCH = "-mcpu=8540"
2BASE_PACKAGE_ARCH = "ppce500" 2BASE_PACKAGE_ARCH = "ppce500"
3FEED_ARCH = "ppce500"
4PACKAGE_EXTRA_ARCHS += "ppce500"
diff --git a/meta/conf/machine/include/tune-sh3.inc b/meta/conf/machine/include/tune-sh3.inc
index 192dd8fd22..32801a61c3 100644
--- a/meta/conf/machine/include/tune-sh3.inc
+++ b/meta/conf/machine/include/tune-sh3.inc
@@ -1 +1,3 @@
1TARGET_CC_ARCH = "-ml -m3" 1TARGET_CC_ARCH = "-ml -m3"
2FEED_ARCH = "sh3"
3BASE_PACKAGE_ARCH = "sh3"
diff --git a/meta/conf/machine/include/tune-sh4.inc b/meta/conf/machine/include/tune-sh4.inc
index 866f7f89d5..51b40691bc 100644
--- a/meta/conf/machine/include/tune-sh4.inc
+++ b/meta/conf/machine/include/tune-sh4.inc
@@ -1 +1,7 @@
1# NOTE: If you want to optimize to sh4a, conf/machine/include/tune-sh4a.inc.
2# But it is not compatible for sh4.
3# The binary optimized by m4a doesn't operate on sh4. It works on sh4a only.
4
1TARGET_CC_ARCH = "-ml -m4" 5TARGET_CC_ARCH = "-ml -m4"
6FEED_ARCH = "sh4"
7BASE_PACKAGE_ARCH = "sh4"
diff --git a/meta/conf/machine/include/tune-supersparc.inc b/meta/conf/machine/include/tune-supersparc.inc
index 10133c6c21..a402e7cd2b 100644
--- a/meta/conf/machine/include/tune-supersparc.inc
+++ b/meta/conf/machine/include/tune-supersparc.inc
@@ -1,2 +1,3 @@
1TARGET_CC_ARCH = "-mcpu=supersparc" 1TARGET_CC_ARCH = "-mcpu=supersparc"
2BASE_PACKAGE_ARCH = "supersparc" 2BASE_PACKAGE_ARCH = "supersparc"
3FEED_ARCH = "supersparc"
diff --git a/meta/conf/machine/include/tune-xscale.inc b/meta/conf/machine/include/tune-xscale.inc
index 4f96814a72..f1ef3d46af 100644
--- a/meta/conf/machine/include/tune-xscale.inc
+++ b/meta/conf/machine/include/tune-xscale.inc
@@ -5,6 +5,7 @@ INHERIT += "siteinfo"
5TARGET_CC_ARCH = "-march=armv5te -mtune=xscale" 5TARGET_CC_ARCH = "-march=armv5te -mtune=xscale"
6TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale" 6TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale"
7BASE_PACKAGE_ARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}" 7BASE_PACKAGE_ARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
8PACKAGE_EXTRA_ARCHS += "${@['armv4b armv4tb armv5teb', 'armv4 armv4t armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
8 9
9# webkit-gtk has alignment issues with double instructions on armv5 so 10# webkit-gtk has alignment issues with double instructions on armv5 so
10# disable them here 11# disable them here
diff --git a/meta/conf/machine/mpc8315e-rdb.conf b/meta/conf/machine/mpc8315e-rdb.conf
index 1b7982a5dd..578751c57f 100644
--- a/meta/conf/machine/mpc8315e-rdb.conf
+++ b/meta/conf/machine/mpc8315e-rdb.conf
@@ -2,7 +2,6 @@
2#@DESCRIPTION: Machine configuration for running 2#@DESCRIPTION: Machine configuration for running
3 3
4TARGET_ARCH = "powerpc" 4TARGET_ARCH = "powerpc"
5PACKAGE_EXTRA_ARCHS = "ppc603e"
6TARGET_FPU = "spe" 5TARGET_FPU = "spe"
7 6
8require conf/machine/include/tune-ppc603e.inc 7require conf/machine/include/tune-ppc603e.inc
@@ -13,5 +12,9 @@ SERIAL_CONSOLE = "115200 ttyS0"
13 12
14MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial" 13MACHINE_FEATURES = "kernel26 keyboard pci ext2 ext3 serial"
15 14
16PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-stable" 15PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
17#PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto" 16PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
17
18UBOOT_ENTRYPOINT = "0x00000000"
19
20KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/mpc8315erdb.dts"
diff --git a/meta/conf/machine/mx31ads.conf b/meta/conf/machine/mx31ads.conf
index 04a238d600..8b3e3dbc1a 100644
--- a/meta/conf/machine/mx31ads.conf
+++ b/meta/conf/machine/mx31ads.conf
@@ -2,7 +2,6 @@
2#@NAME: Freescale imx31 ADS Board 2#@NAME: Freescale imx31 ADS Board
3#@DESCRIPTION: Machine configuration for the imx31 based Freescale ADS Board 3#@DESCRIPTION: Machine configuration for the imx31 based Freescale ADS Board
4TARGET_ARCH = "arm" 4TARGET_ARCH = "arm"
5PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te armv6"
6 5
7PREFERRED_PROVIDER_virtual/kernel = "linux-mx31" 6PREFERRED_PROVIDER_virtual/kernel = "linux-mx31"
8 7
diff --git a/meta/conf/machine/mx31phy.conf b/meta/conf/machine/mx31phy.conf
index 28b255ccec..eea673ab16 100644
--- a/meta/conf/machine/mx31phy.conf
+++ b/meta/conf/machine/mx31phy.conf
@@ -2,7 +2,6 @@
2#@NAME: Phytec phyCORE-iMX31 Board 2#@NAME: Phytec phyCORE-iMX31 Board
3#@DESCRIPTION: Machine configuration for the imx31 based Phytec phyCORE-iMX31 3#@DESCRIPTION: Machine configuration for the imx31 based Phytec phyCORE-iMX31
4TARGET_ARCH = "arm" 4TARGET_ARCH = "arm"
5PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te armv6"
6 5
7PREFERRED_PROVIDER_virtual/kernel = "linux-mx31" 6PREFERRED_PROVIDER_virtual/kernel = "linux-mx31"
8 7
diff --git a/meta/conf/machine/omap-3430ldp.conf b/meta/conf/machine/omap-3430ldp.conf
index 0be0546b80..759d58f015 100644
--- a/meta/conf/machine/omap-3430ldp.conf
+++ b/meta/conf/machine/omap-3430ldp.conf
@@ -2,7 +2,6 @@
2#@NAME: TI OMAP 3430 LDP 2#@NAME: TI OMAP 3430 LDP
3#@DESCRIPTION: Machine configuration for the TI OMAP 3430 LDP (aka OMAP Zoom) 3#@DESCRIPTION: Machine configuration for the TI OMAP 3430 LDP (aka OMAP Zoom)
4TARGET_ARCH = "arm" 4TARGET_ARCH = "arm"
5PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te armv6 armv7a"
6 5
7PREFERRED_PROVIDER_virtual/kernel = "linux-omap" 6PREFERRED_PROVIDER_virtual/kernel = "linux-omap"
8 7
diff --git a/meta/conf/machine/omap-3430sdp.conf b/meta/conf/machine/omap-3430sdp.conf
index 5d87bd1483..651d6a9968 100644
--- a/meta/conf/machine/omap-3430sdp.conf
+++ b/meta/conf/machine/omap-3430sdp.conf
@@ -2,7 +2,6 @@
2#@NAME: TI OMAP 3430 SDP 2#@NAME: TI OMAP 3430 SDP
3#@DESCRIPTION: Machine configuration for the TI OMAP 3430 SDP 3#@DESCRIPTION: Machine configuration for the TI OMAP 3430 SDP
4TARGET_ARCH = "arm" 4TARGET_ARCH = "arm"
5PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te armv6 armv7a"
6 5
7PREFERRED_PROVIDER_virtual/kernel = "linux-omap" 6PREFERRED_PROVIDER_virtual/kernel = "linux-omap"
8 7
diff --git a/meta/conf/machine/overo.conf b/meta/conf/machine/overo.conf
index dde4bff476..5271db627b 100644
--- a/meta/conf/machine/overo.conf
+++ b/meta/conf/machine/overo.conf
@@ -5,7 +5,6 @@
5include conf/machine/include/tune-cortexa8.inc 5include conf/machine/include/tune-cortexa8.inc
6 6
7TARGET_ARCH = "arm" 7TARGET_ARCH = "arm"
8PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te armv6 armv7 armv7a"
9MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat alsa" 8MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat alsa"
10 9
11PREFERRED_VERSION_u-boot = "git" 10PREFERRED_VERSION_u-boot = "git"
@@ -19,7 +18,7 @@ SERIAL_CONSOLE = "115200 ttyS2"
19 18
20IMAGE_FSTYPES += "tar.bz2 jffs2" 19IMAGE_FSTYPES += "tar.bz2 jffs2"
21EXTRA_IMAGECMD_jffs2 = "-lnp " 20EXTRA_IMAGECMD_jffs2 = "-lnp "
22EXTRA_IMAGEDEPENDS += "u-boot-omap3 x-load" 21EXTRA_IMAGEDEPENDS += "u-boot x-load"
23 22
24PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive" 23PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
25#XSERVER = "xserver-xorg \ 24#XSERVER = "xserver-xorg \
diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf
index 400ecc8245..9fb18932ca 100644
--- a/meta/conf/machine/qemuarm.conf
+++ b/meta/conf/machine/qemuarm.conf
@@ -3,7 +3,6 @@
3#@DESCRIPTION: arm_versaile_926ejs 3#@DESCRIPTION: arm_versaile_926ejs
4 4
5TARGET_ARCH = "arm" 5TARGET_ARCH = "arm"
6PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te"
7 6
8require conf/machine/include/qemu.inc 7require conf/machine/include/qemu.inc
9require conf/machine/include/tune-arm926ejs.inc 8require conf/machine/include/tune-arm926ejs.inc
diff --git a/meta/conf/machine/qemuppc.conf b/meta/conf/machine/qemuppc.conf
index 0bbeac7da6..83d0841159 100644
--- a/meta/conf/machine/qemuppc.conf
+++ b/meta/conf/machine/qemuppc.conf
@@ -3,7 +3,6 @@
3#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation 3#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation
4 4
5TARGET_ARCH = "powerpc" 5TARGET_ARCH = "powerpc"
6PACKAGE_EXTRA_ARCHS = "ppc603e"
7 6
8require conf/machine/include/qemu.inc 7require conf/machine/include/qemu.inc
9require conf/machine/include/tune-ppc603e.inc 8require conf/machine/include/tune-ppc603e.inc
diff --git a/meta/conf/machine/qemux86-64.conf b/meta/conf/machine/qemux86-64.conf
index fd34709b78..182759adfe 100644
--- a/meta/conf/machine/qemux86-64.conf
+++ b/meta/conf/machine/qemux86-64.conf
@@ -4,7 +4,6 @@
4 4
5TARGET_ARCH = "x86_64" 5TARGET_ARCH = "x86_64"
6TRANSLATED_TARGET_ARCH = "x86-64" 6TRANSLATED_TARGET_ARCH = "x86-64"
7PACKAGE_EXTRA_ARCHS = "x86"
8 7
9PREFERRED_PROVIDER_virtual/libgl = "mesa-dri" 8PREFERRED_PROVIDER_virtual/libgl = "mesa-dri"
10PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim" 9PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
diff --git a/meta/conf/machine/qemux86.conf b/meta/conf/machine/qemux86.conf
index cb2a32d7bd..f1a0939ebc 100644
--- a/meta/conf/machine/qemux86.conf
+++ b/meta/conf/machine/qemux86.conf
@@ -3,7 +3,6 @@
3#@DESCRIPTION: Machine configuration for running a common x86 3#@DESCRIPTION: Machine configuration for running a common x86
4 4
5TARGET_ARCH = "i586" 5TARGET_ARCH = "i586"
6PACKAGE_EXTRA_ARCHS = "x86"
7 6
8PREFERRED_PROVIDER_virtual/libgl = "mesa-dri" 7PREFERRED_PROVIDER_virtual/libgl = "mesa-dri"
9PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim" 8PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim"
diff --git a/meta/conf/machine/routerstationpro.conf b/meta/conf/machine/routerstationpro.conf
index 4f1bbbb2c7..9e5036d86c 100644
--- a/meta/conf/machine/routerstationpro.conf
+++ b/meta/conf/machine/routerstationpro.conf
@@ -12,8 +12,8 @@ MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost ext2 ext3 \
12KERNEL_IMAGETYPE = "vmlinux" 12KERNEL_IMAGETYPE = "vmlinux"
13KERNEL_ALT_IMAGETYPE = "vmlinux.bin" 13KERNEL_ALT_IMAGETYPE = "vmlinux.bin"
14 14
15PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-stable" 15PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
16#PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto" 16PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto"
17 17
18SERIAL_CONSOLE = "115200 ttyS0" 18SERIAL_CONSOLE = "115200 ttyS0"
19 19
diff --git a/meta/conf/machine/spitz.conf b/meta/conf/machine/spitz.conf
index 4a794331e8..faa00e991f 100644
--- a/meta/conf/machine/spitz.conf
+++ b/meta/conf/machine/spitz.conf
@@ -9,7 +9,6 @@ MACHINE_FEATURES += "iwmmxt"
9 9
10PIVOTBOOT_EXTRA_RDEPENDS += "pivotinit ${PCMCIA_MANAGER}" 10PIVOTBOOT_EXTRA_RDEPENDS += "pivotinit ${PCMCIA_MANAGER}"
11 11
12PACKAGE_EXTRA_ARCHS += "iwmmxt"
13IMAGE_FSTYPES ?= "tar.gz ext3" 12IMAGE_FSTYPES ?= "tar.gz ext3"
14IMAGE_ROOTFS_SIZE_ext3 = "250000" 13IMAGE_ROOTFS_SIZE_ext3 = "250000"
15 14
diff --git a/meta/conf/machine/zoom2.conf b/meta/conf/machine/zoom2.conf
index 142a40c5a1..dec90c2c7b 100644
--- a/meta/conf/machine/zoom2.conf
+++ b/meta/conf/machine/zoom2.conf
@@ -2,7 +2,6 @@
2#@NAME: Logic PD Zoom2 2#@NAME: Logic PD Zoom2
3#@DESCRIPTION: Machine configuration for the OMAP3-powered Logic PD Zoom2 3#@DESCRIPTION: Machine configuration for the OMAP3-powered Logic PD Zoom2
4TARGET_ARCH = "arm" 4TARGET_ARCH = "arm"
5PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te armv6 armv7a"
6 5
7PREFERRED_PROVIDER_virtual/kernel = "linux-omap-zoomsync" 6PREFERRED_PROVIDER_virtual/kernel = "linux-omap-zoomsync"
8 7
diff --git a/meta/conf/machine/zylonite.conf b/meta/conf/machine/zylonite.conf
index 644675e849..e82f041ff2 100644
--- a/meta/conf/machine/zylonite.conf
+++ b/meta/conf/machine/zylonite.conf
@@ -4,8 +4,9 @@
4 4
5require conf/machine/include/tune-xscale.inc 5require conf/machine/include/tune-xscale.inc
6 6
7PACKAGE_EXTRA_ARCHS += "iwmmxt"
8
7TARGET_ARCH = "arm" 9TARGET_ARCH = "arm"
8PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te iwmmxt"
9 10
10EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 -n -x lzo -p" 11EXTRA_IMAGECMD_jffs2 = "--little-endian --eraseblock=0x20000 -n -x lzo -p"
11 12
diff --git a/meta/files/common-licenses/Apache-2.0 b/meta/files/common-licenses/Apache-2.0
new file mode 100644
index 0000000000..d645695673
--- /dev/null
+++ b/meta/files/common-licenses/Apache-2.0
@@ -0,0 +1,202 @@
1
2 Apache License
3 Version 2.0, January 2004
4 http://www.apache.org/licenses/
5
6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
8 1. Definitions.
9
10 "License" shall mean the terms and conditions for use, reproduction,
11 and distribution as defined by Sections 1 through 9 of this document.
12
13 "Licensor" shall mean the copyright owner or entity authorized by
14 the copyright owner that is granting the License.
15
16 "Legal Entity" shall mean the union of the acting entity and all
17 other entities that control, are controlled by, or are under common
18 control with that entity. For the purposes of this definition,
19 "control" means (i) the power, direct or indirect, to cause the
20 direction or management of such entity, whether by contract or
21 otherwise, or (ii) ownership of fifty percent (50%) or more of the
22 outstanding shares, or (iii) beneficial ownership of such entity.
23
24 "You" (or "Your") shall mean an individual or Legal Entity
25 exercising permissions granted by this License.
26
27 "Source" form shall mean the preferred form for making modifications,
28 including but not limited to software source code, documentation
29 source, and configuration files.
30
31 "Object" form shall mean any form resulting from mechanical
32 transformation or translation of a Source form, including but
33 not limited to compiled object code, generated documentation,
34 and conversions to other media types.
35
36 "Work" shall mean the work of authorship, whether in Source or
37 Object form, made available under the License, as indicated by a
38 copyright notice that is included in or attached to the work
39 (an example is provided in the Appendix below).
40
41 "Derivative Works" shall mean any work, whether in Source or Object
42 form, that is based on (or derived from) the Work and for which the
43 editorial revisions, annotations, elaborations, or other modifications
44 represent, as a whole, an original work of authorship. For the purposes
45 of this License, Derivative Works shall not include works that remain
46 separable from, or merely link (or bind by name) to the interfaces of,
47 the Work and Derivative Works thereof.
48
49 "Contribution" shall mean any work of authorship, including
50 the original version of the Work and any modifications or additions
51 to that Work or Derivative Works thereof, that is intentionally
52 submitted to Licensor for inclusion in the Work by the copyright owner
53 or by an individual or Legal Entity authorized to submit on behalf of
54 the copyright owner. For the purposes of this definition, "submitted"
55 means any form of electronic, verbal, or written communication sent
56 to the Licensor or its representatives, including but not limited to
57 communication on electronic mailing lists, source code control systems,
58 and issue tracking systems that are managed by, or on behalf of, the
59 Licensor for the purpose of discussing and improving the Work, but
60 excluding communication that is conspicuously marked or otherwise
61 designated in writing by the copyright owner as "Not a Contribution."
62
63 "Contributor" shall mean Licensor and any individual or Legal Entity
64 on behalf of whom a Contribution has been received by Licensor and
65 subsequently incorporated within the Work.
66
67 2. Grant of Copyright License. Subject to the terms and conditions of
68 this License, each Contributor hereby grants to You a perpetual,
69 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70 copyright license to reproduce, prepare Derivative Works of,
71 publicly display, publicly perform, sublicense, and distribute the
72 Work and such Derivative Works in Source or Object form.
73
74 3. Grant of Patent License. Subject to the terms and conditions of
75 this License, each Contributor hereby grants to You a perpetual,
76 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77 (except as stated in this section) patent license to make, have made,
78 use, offer to sell, sell, import, and otherwise transfer the Work,
79 where such license applies only to those patent claims licensable
80 by such Contributor that are necessarily infringed by their
81 Contribution(s) alone or by combination of their Contribution(s)
82 with the Work to which such Contribution(s) was submitted. If You
83 institute patent litigation against any entity (including a
84 cross-claim or counterclaim in a lawsuit) alleging that the Work
85 or a Contribution incorporated within the Work constitutes direct
86 or contributory patent infringement, then any patent licenses
87 granted to You under this License for that Work shall terminate
88 as of the date such litigation is filed.
89
90 4. Redistribution. You may reproduce and distribute copies of the
91 Work or Derivative Works thereof in any medium, with or without
92 modifications, and in Source or Object form, provided that You
93 meet the following conditions:
94
95 (a) You must give any other recipients of the Work or
96 Derivative Works a copy of this License; and
97
98 (b) You must cause any modified files to carry prominent notices
99 stating that You changed the files; and
100
101 (c) You must retain, in the Source form of any Derivative Works
102 that You distribute, all copyright, patent, trademark, and
103 attribution notices from the Source form of the Work,
104 excluding those notices that do not pertain to any part of
105 the Derivative Works; and
106
107 (d) If the Work includes a "NOTICE" text file as part of its
108 distribution, then any Derivative Works that You distribute must
109 include a readable copy of the attribution notices contained
110 within such NOTICE file, excluding those notices that do not
111 pertain to any part of the Derivative Works, in at least one
112 of the following places: within a NOTICE text file distributed
113 as part of the Derivative Works; within the Source form or
114 documentation, if provided along with the Derivative Works; or,
115 within a display generated by the Derivative Works, if and
116 wherever such third-party notices normally appear. The contents
117 of the NOTICE file are for informational purposes only and
118 do not modify the License. You may add Your own attribution
119 notices within Derivative Works that You distribute, alongside
120 or as an addendum to the NOTICE text from the Work, provided
121 that such additional attribution notices cannot be construed
122 as modifying the License.
123
124 You may add Your own copyright statement to Your modifications and
125 may provide additional or different license terms and conditions
126 for use, reproduction, or distribution of Your modifications, or
127 for any such Derivative Works as a whole, provided Your use,
128 reproduction, and distribution of the Work otherwise complies with
129 the conditions stated in this License.
130
131 5. Submission of Contributions. Unless You explicitly state otherwise,
132 any Contribution intentionally submitted for inclusion in the Work
133 by You to the Licensor shall be under the terms and conditions of
134 this License, without any additional terms or conditions.
135 Notwithstanding the above, nothing herein shall supersede or modify
136 the terms of any separate license agreement you may have executed
137 with Licensor regarding such Contributions.
138
139 6. Trademarks. This License does not grant permission to use the trade
140 names, trademarks, service marks, or product names of the Licensor,
141 except as required for reasonable and customary use in describing the
142 origin of the Work and reproducing the content of the NOTICE file.
143
144 7. Disclaimer of Warranty. Unless required by applicable law or
145 agreed to in writing, Licensor provides the Work (and each
146 Contributor provides its Contributions) on an "AS IS" BASIS,
147 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148 implied, including, without limitation, any warranties or conditions
149 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150 PARTICULAR PURPOSE. You are solely responsible for determining the
151 appropriateness of using or redistributing the Work and assume any
152 risks associated with Your exercise of permissions under this License.
153
154 8. Limitation of Liability. In no event and under no legal theory,
155 whether in tort (including negligence), contract, or otherwise,
156 unless required by applicable law (such as deliberate and grossly
157 negligent acts) or agreed to in writing, shall any Contributor be
158 liable to You for damages, including any direct, indirect, special,
159 incidental, or consequential damages of any character arising as a
160 result of this License or out of the use or inability to use the
161 Work (including but not limited to damages for loss of goodwill,
162 work stoppage, computer failure or malfunction, or any and all
163 other commercial damages or losses), even if such Contributor
164 has been advised of the possibility of such damages.
165
166 9. Accepting Warranty or Additional Liability. While redistributing
167 the Work or Derivative Works thereof, You may choose to offer,
168 and charge a fee for, acceptance of support, warranty, indemnity,
169 or other liability obligations and/or rights consistent with this
170 License. However, in accepting such obligations, You may act only
171 on Your own behalf and on Your sole responsibility, not on behalf
172 of any other Contributor, and only if You agree to indemnify,
173 defend, and hold each Contributor harmless for any liability
174 incurred by, or claims asserted against, such Contributor by reason
175 of your accepting any such warranty or additional liability.
176
177 END OF TERMS AND CONDITIONS
178
179 APPENDIX: How to apply the Apache License to your work.
180
181 To apply the Apache License to your work, attach the following
182 boilerplate notice, with the fields enclosed by brackets "[]"
183 replaced with your own identifying information. (Don't include
184 the brackets!) The text should be enclosed in the appropriate
185 comment syntax for the file format. We also recommend that a
186 file or class name and description of purpose be included on the
187 same "printed page" as the copyright notice for easier
188 identification within third-party archives.
189
190 Copyright [yyyy] [name of copyright owner]
191
192 Licensed under the Apache License, Version 2.0 (the "License");
193 you may not use this file except in compliance with the License.
194 You may obtain a copy of the License at
195
196 http://www.apache.org/licenses/LICENSE-2.0
197
198 Unless required by applicable law or agreed to in writing, software
199 distributed under the License is distributed on an "AS IS" BASIS,
200 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201 See the License for the specific language governing permissions and
202 limitations under the License.
diff --git a/meta/files/common-licenses/Artistic b/meta/files/common-licenses/Artistic
new file mode 100644
index 0000000000..5f221241e8
--- /dev/null
+++ b/meta/files/common-licenses/Artistic
@@ -0,0 +1,131 @@
1
2
3
4
5 The "Artistic License"
6
7 Preamble
8
9The intent of this document is to state the conditions under which a
10Package may be copied, such that the Copyright Holder maintains some
11semblance of artistic control over the development of the package,
12while giving the users of the package the right to use and distribute
13the Package in a more-or-less customary fashion, plus the right to make
14reasonable modifications.
15
16Definitions:
17
18 "Package" refers to the collection of files distributed by the
19 Copyright Holder, and derivatives of that collection of files
20 created through textual modification.
21
22 "Standard Version" refers to such a Package if it has not been
23 modified, or has been modified in accordance with the wishes
24 of the Copyright Holder as specified below.
25
26 "Copyright Holder" is whoever is named in the copyright or
27 copyrights for the package.
28
29 "You" is you, if you're thinking about copying or distributing
30 this Package.
31
32 "Reasonable copying fee" is whatever you can justify on the
33 basis of media cost, duplication charges, time of people involved,
34 and so on. (You will not be required to justify it to the
35 Copyright Holder, but only to the computing community at large
36 as a market that must bear the fee.)
37
38 "Freely Available" means that no fee is charged for the item
39 itself, though there may be fees involved in handling the item.
40 It also means that recipients of the item may redistribute it
41 under the same conditions they received it.
42
431. You may make and give away verbatim copies of the source form of the
44Standard Version of this Package without restriction, provided that you
45duplicate all of the original copyright notices and associated disclaimers.
46
472. You may apply bug fixes, portability fixes and other modifications
48derived from the Public Domain or from the Copyright Holder. A Package
49modified in such a way shall still be considered the Standard Version.
50
513. You may otherwise modify your copy of this Package in any way, provided
52that you insert a prominent notice in each changed file stating how and
53when you changed that file, and provided that you do at least ONE of the
54following:
55
56 a) place your modifications in the Public Domain or otherwise make them
57 Freely Available, such as by posting said modifications to Usenet or
58 an equivalent medium, or placing the modifications on a major archive
59 site such as uunet.uu.net, or by allowing the Copyright Holder to include
60 your modifications in the Standard Version of the Package.
61
62 b) use the modified Package only within your corporation or organization.
63
64 c) rename any non-standard executables so the names do not conflict
65 with standard executables, which must also be provided, and provide
66 a separate manual page for each non-standard executable that clearly
67 documents how it differs from the Standard Version.
68
69 d) make other distribution arrangements with the Copyright Holder.
70
714. You may distribute the programs of this Package in object code or
72executable form, provided that you do at least ONE of the following:
73
74 a) distribute a Standard Version of the executables and library files,
75 together with instructions (in the manual page or equivalent) on where
76 to get the Standard Version.
77
78 b) accompany the distribution with the machine-readable source of
79 the Package with your modifications.
80
81 c) give non-standard executables non-standard names, and clearly
82 document the differences in manual pages (or equivalent), together
83 with instructions on where to get the Standard Version.
84
85 d) make other distribution arrangements with the Copyright Holder.
86
875. You may charge a reasonable copying fee for any distribution of this
88Package. You may charge any fee you choose for support of this
89Package. You may not charge a fee for this Package itself. However,
90you may distribute this Package in aggregate with other (possibly
91commercial) programs as part of a larger (possibly commercial) software
92distribution provided that you do not advertise this Package as a
93product of your own. You may embed this Package's interpreter within
94an executable of yours (by linking); this shall be construed as a mere
95form of aggregation, provided that the complete Standard Version of the
96interpreter is so embedded.
97
986. The scripts and library files supplied as input to or produced as
99output from the programs of this Package do not automatically fall
100under the copyright of this Package, but belong to whoever generated
101them, and may be sold commercially, and may be aggregated with this
102Package. If such scripts or library files are aggregated with this
103Package via the so-called "undump" or "unexec" methods of producing a
104binary executable image, then distribution of such an image shall
105neither be construed as a distribution of this Package nor shall it
106fall under the restrictions of Paragraphs 3 and 4, provided that you do
107not represent such an executable image as a Standard Version of this
108Package.
109
1107. C subroutines (or comparably compiled subroutines in other
111languages) supplied by you and linked into this Package in order to
112emulate subroutines and variables of the language defined by this
113Package shall not be considered part of this Package, but are the
114equivalent of input as in Paragraph 6, provided these subroutines do
115not change the language in any way that would cause it to fail the
116regression tests for the language.
117
1188. Aggregation of this Package with a commercial distribution is always
119permitted provided that the use of this Package is embedded; that is,
120when no overt attempt is made to make this Package's interfaces visible
121to the end user of the commercial distribution. Such use shall not be
122construed as a distribution of this Package.
123
1249. The name of the Copyright Holder may not be used to endorse or promote
125products derived from this software without specific prior written permission.
126
12710. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
128IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
129WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
130
131 The End
diff --git a/meta/files/common-licenses/BSD b/meta/files/common-licenses/BSD
new file mode 100644
index 0000000000..c7a0aa4f94
--- /dev/null
+++ b/meta/files/common-licenses/BSD
@@ -0,0 +1,26 @@
1Copyright (c) The Regents of the University of California.
2All rights reserved.
3
4Redistribution and use in source and binary forms, with or without
5modification, are permitted provided that the following conditions
6are met:
71. Redistributions of source code must retain the above copyright
8 notice, this list of conditions and the following disclaimer.
92. Redistributions in binary form must reproduce the above copyright
10 notice, this list of conditions and the following disclaimer in the
11 documentation and/or other materials provided with the distribution.
123. Neither the name of the University nor the names of its contributors
13 may be used to endorse or promote products derived from this software
14 without specific prior written permission.
15
16THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26SUCH DAMAGE.
diff --git a/meta/files/common-licenses/GFDL b/meta/files/common-licenses/GFDL
new file mode 100644
index 0000000000..2f7e03ca51
--- /dev/null
+++ b/meta/files/common-licenses/GFDL
@@ -0,0 +1,451 @@
1
2 GNU Free Documentation License
3 Version 1.3, 3 November 2008
4
5
6 Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
7 <http://fsf.org/>
8 Everyone is permitted to copy and distribute verbatim copies
9 of this license document, but changing it is not allowed.
10
110. PREAMBLE
12
13The purpose of this License is to make a manual, textbook, or other
14functional and useful document "free" in the sense of freedom: to
15assure everyone the effective freedom to copy and redistribute it,
16with or without modifying it, either commercially or noncommercially.
17Secondarily, this License preserves for the author and publisher a way
18to get credit for their work, while not being considered responsible
19for modifications made by others.
20
21This License is a kind of "copyleft", which means that derivative
22works of the document must themselves be free in the same sense. It
23complements the GNU General Public License, which is a copyleft
24license designed for free software.
25
26We have designed this License in order to use it for manuals for free
27software, because free software needs free documentation: a free
28program should come with manuals providing the same freedoms that the
29software does. But this License is not limited to software manuals;
30it can be used for any textual work, regardless of subject matter or
31whether it is published as a printed book. We recommend this License
32principally for works whose purpose is instruction or reference.
33
34
351. APPLICABILITY AND DEFINITIONS
36
37This License applies to any manual or other work, in any medium, that
38contains a notice placed by the copyright holder saying it can be
39distributed under the terms of this License. Such a notice grants a
40world-wide, royalty-free license, unlimited in duration, to use that
41work under the conditions stated herein. The "Document", below,
42refers to any such manual or work. Any member of the public is a
43licensee, and is addressed as "you". You accept the license if you
44copy, modify or distribute the work in a way requiring permission
45under copyright law.
46
47A "Modified Version" of the Document means any work containing the
48Document or a portion of it, either copied verbatim, or with
49modifications and/or translated into another language.
50
51A "Secondary Section" is a named appendix or a front-matter section of
52the Document that deals exclusively with the relationship of the
53publishers or authors of the Document to the Document's overall
54subject (or to related matters) and contains nothing that could fall
55directly within that overall subject. (Thus, if the Document is in
56part a textbook of mathematics, a Secondary Section may not explain
57any mathematics.) The relationship could be a matter of historical
58connection with the subject or with related matters, or of legal,
59commercial, philosophical, ethical or political position regarding
60them.
61
62The "Invariant Sections" are certain Secondary Sections whose titles
63are designated, as being those of Invariant Sections, in the notice
64that says that the Document is released under this License. If a
65section does not fit the above definition of Secondary then it is not
66allowed to be designated as Invariant. The Document may contain zero
67Invariant Sections. If the Document does not identify any Invariant
68Sections then there are none.
69
70The "Cover Texts" are certain short passages of text that are listed,
71as Front-Cover Texts or Back-Cover Texts, in the notice that says that
72the Document is released under this License. A Front-Cover Text may
73be at most 5 words, and a Back-Cover Text may be at most 25 words.
74
75A "Transparent" copy of the Document means a machine-readable copy,
76represented in a format whose specification is available to the
77general public, that is suitable for revising the document
78straightforwardly with generic text editors or (for images composed of
79pixels) generic paint programs or (for drawings) some widely available
80drawing editor, and that is suitable for input to text formatters or
81for automatic translation to a variety of formats suitable for input
82to text formatters. A copy made in an otherwise Transparent file
83format whose markup, or absence of markup, has been arranged to thwart
84or discourage subsequent modification by readers is not Transparent.
85An image format is not Transparent if used for any substantial amount
86of text. A copy that is not "Transparent" is called "Opaque".
87
88Examples of suitable formats for Transparent copies include plain
89ASCII without markup, Texinfo input format, LaTeX input format, SGML
90or XML using a publicly available DTD, and standard-conforming simple
91HTML, PostScript or PDF designed for human modification. Examples of
92transparent image formats include PNG, XCF and JPG. Opaque formats
93include proprietary formats that can be read and edited only by
94proprietary word processors, SGML or XML for which the DTD and/or
95processing tools are not generally available, and the
96machine-generated HTML, PostScript or PDF produced by some word
97processors for output purposes only.
98
99The "Title Page" means, for a printed book, the title page itself,
100plus such following pages as are needed to hold, legibly, the material
101this License requires to appear in the title page. For works in
102formats which do not have any title page as such, "Title Page" means
103the text near the most prominent appearance of the work's title,
104preceding the beginning of the body of the text.
105
106The "publisher" means any person or entity that distributes copies of
107the Document to the public.
108
109A section "Entitled XYZ" means a named subunit of the Document whose
110title either is precisely XYZ or contains XYZ in parentheses following
111text that translates XYZ in another language. (Here XYZ stands for a
112specific section name mentioned below, such as "Acknowledgements",
113"Dedications", "Endorsements", or "History".) To "Preserve the Title"
114of such a section when you modify the Document means that it remains a
115section "Entitled XYZ" according to this definition.
116
117The Document may include Warranty Disclaimers next to the notice which
118states that this License applies to the Document. These Warranty
119Disclaimers are considered to be included by reference in this
120License, but only as regards disclaiming warranties: any other
121implication that these Warranty Disclaimers may have is void and has
122no effect on the meaning of this License.
123
1242. VERBATIM COPYING
125
126You may copy and distribute the Document in any medium, either
127commercially or noncommercially, provided that this License, the
128copyright notices, and the license notice saying this License applies
129to the Document are reproduced in all copies, and that you add no
130other conditions whatsoever to those of this License. You may not use
131technical measures to obstruct or control the reading or further
132copying of the copies you make or distribute. However, you may accept
133compensation in exchange for copies. If you distribute a large enough
134number of copies you must also follow the conditions in section 3.
135
136You may also lend copies, under the same conditions stated above, and
137you may publicly display copies.
138
139
1403. COPYING IN QUANTITY
141
142If you publish printed copies (or copies in media that commonly have
143printed covers) of the Document, numbering more than 100, and the
144Document's license notice requires Cover Texts, you must enclose the
145copies in covers that carry, clearly and legibly, all these Cover
146Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
147the back cover. Both covers must also clearly and legibly identify
148you as the publisher of these copies. The front cover must present
149the full title with all words of the title equally prominent and
150visible. You may add other material on the covers in addition.
151Copying with changes limited to the covers, as long as they preserve
152the title of the Document and satisfy these conditions, can be treated
153as verbatim copying in other respects.
154
155If the required texts for either cover are too voluminous to fit
156legibly, you should put the first ones listed (as many as fit
157reasonably) on the actual cover, and continue the rest onto adjacent
158pages.
159
160If you publish or distribute Opaque copies of the Document numbering
161more than 100, you must either include a machine-readable Transparent
162copy along with each Opaque copy, or state in or with each Opaque copy
163a computer-network location from which the general network-using
164public has access to download using public-standard network protocols
165a complete Transparent copy of the Document, free of added material.
166If you use the latter option, you must take reasonably prudent steps,
167when you begin distribution of Opaque copies in quantity, to ensure
168that this Transparent copy will remain thus accessible at the stated
169location until at least one year after the last time you distribute an
170Opaque copy (directly or through your agents or retailers) of that
171edition to the public.
172
173It is requested, but not required, that you contact the authors of the
174Document well before redistributing any large number of copies, to
175give them a chance to provide you with an updated version of the
176Document.
177
178
1794. MODIFICATIONS
180
181You may copy and distribute a Modified Version of the Document under
182the conditions of sections 2 and 3 above, provided that you release
183the Modified Version under precisely this License, with the Modified
184Version filling the role of the Document, thus licensing distribution
185and modification of the Modified Version to whoever possesses a copy
186of it. In addition, you must do these things in the Modified Version:
187
188A. Use in the Title Page (and on the covers, if any) a title distinct
189 from that of the Document, and from those of previous versions
190 (which should, if there were any, be listed in the History section
191 of the Document). You may use the same title as a previous version
192 if the original publisher of that version gives permission.
193B. List on the Title Page, as authors, one or more persons or entities
194 responsible for authorship of the modifications in the Modified
195 Version, together with at least five of the principal authors of the
196 Document (all of its principal authors, if it has fewer than five),
197 unless they release you from this requirement.
198C. State on the Title page the name of the publisher of the
199 Modified Version, as the publisher.
200D. Preserve all the copyright notices of the Document.
201E. Add an appropriate copyright notice for your modifications
202 adjacent to the other copyright notices.
203F. Include, immediately after the copyright notices, a license notice
204 giving the public permission to use the Modified Version under the
205 terms of this License, in the form shown in the Addendum below.
206G. Preserve in that license notice the full lists of Invariant Sections
207 and required Cover Texts given in the Document's license notice.
208H. Include an unaltered copy of this License.
209I. Preserve the section Entitled "History", Preserve its Title, and add
210 to it an item stating at least the title, year, new authors, and
211 publisher of the Modified Version as given on the Title Page. If
212 there is no section Entitled "History" in the Document, create one
213 stating the title, year, authors, and publisher of the Document as
214 given on its Title Page, then add an item describing the Modified
215 Version as stated in the previous sentence.
216J. Preserve the network location, if any, given in the Document for
217 public access to a Transparent copy of the Document, and likewise
218 the network locations given in the Document for previous versions
219 it was based on. These may be placed in the "History" section.
220 You may omit a network location for a work that was published at
221 least four years before the Document itself, or if the original
222 publisher of the version it refers to gives permission.
223K. For any section Entitled "Acknowledgements" or "Dedications",
224 Preserve the Title of the section, and preserve in the section all
225 the substance and tone of each of the contributor acknowledgements
226 and/or dedications given therein.
227L. Preserve all the Invariant Sections of the Document,
228 unaltered in their text and in their titles. Section numbers
229 or the equivalent are not considered part of the section titles.
230M. Delete any section Entitled "Endorsements". Such a section
231 may not be included in the Modified Version.
232N. Do not retitle any existing section to be Entitled "Endorsements"
233 or to conflict in title with any Invariant Section.
234O. Preserve any Warranty Disclaimers.
235
236If the Modified Version includes new front-matter sections or
237appendices that qualify as Secondary Sections and contain no material
238copied from the Document, you may at your option designate some or all
239of these sections as invariant. To do this, add their titles to the
240list of Invariant Sections in the Modified Version's license notice.
241These titles must be distinct from any other section titles.
242
243You may add a section Entitled "Endorsements", provided it contains
244nothing but endorsements of your Modified Version by various
245parties--for example, statements of peer review or that the text has
246been approved by an organization as the authoritative definition of a
247standard.
248
249You may add a passage of up to five words as a Front-Cover Text, and a
250passage of up to 25 words as a Back-Cover Text, to the end of the list
251of Cover Texts in the Modified Version. Only one passage of
252Front-Cover Text and one of Back-Cover Text may be added by (or
253through arrangements made by) any one entity. If the Document already
254includes a cover text for the same cover, previously added by you or
255by arrangement made by the same entity you are acting on behalf of,
256you may not add another; but you may replace the old one, on explicit
257permission from the previous publisher that added the old one.
258
259The author(s) and publisher(s) of the Document do not by this License
260give permission to use their names for publicity for or to assert or
261imply endorsement of any Modified Version.
262
263
2645. COMBINING DOCUMENTS
265
266You may combine the Document with other documents released under this
267License, under the terms defined in section 4 above for modified
268versions, provided that you include in the combination all of the
269Invariant Sections of all of the original documents, unmodified, and
270list them all as Invariant Sections of your combined work in its
271license notice, and that you preserve all their Warranty Disclaimers.
272
273The combined work need only contain one copy of this License, and
274multiple identical Invariant Sections may be replaced with a single
275copy. If there are multiple Invariant Sections with the same name but
276different contents, make the title of each such section unique by
277adding at the end of it, in parentheses, the name of the original
278author or publisher of that section if known, or else a unique number.
279Make the same adjustment to the section titles in the list of
280Invariant Sections in the license notice of the combined work.
281
282In the combination, you must combine any sections Entitled "History"
283in the various original documents, forming one section Entitled
284"History"; likewise combine any sections Entitled "Acknowledgements",
285and any sections Entitled "Dedications". You must delete all sections
286Entitled "Endorsements".
287
288
2896. COLLECTIONS OF DOCUMENTS
290
291You may make a collection consisting of the Document and other
292documents released under this License, and replace the individual
293copies of this License in the various documents with a single copy
294that is included in the collection, provided that you follow the rules
295of this License for verbatim copying of each of the documents in all
296other respects.
297
298You may extract a single document from such a collection, and
299distribute it individually under this License, provided you insert a
300copy of this License into the extracted document, and follow this
301License in all other respects regarding verbatim copying of that
302document.
303
304
3057. AGGREGATION WITH INDEPENDENT WORKS
306
307A compilation of the Document or its derivatives with other separate
308and independent documents or works, in or on a volume of a storage or
309distribution medium, is called an "aggregate" if the copyright
310resulting from the compilation is not used to limit the legal rights
311of the compilation's users beyond what the individual works permit.
312When the Document is included in an aggregate, this License does not
313apply to the other works in the aggregate which are not themselves
314derivative works of the Document.
315
316If the Cover Text requirement of section 3 is applicable to these
317copies of the Document, then if the Document is less than one half of
318the entire aggregate, the Document's Cover Texts may be placed on
319covers that bracket the Document within the aggregate, or the
320electronic equivalent of covers if the Document is in electronic form.
321Otherwise they must appear on printed covers that bracket the whole
322aggregate.
323
324
3258. TRANSLATION
326
327Translation is considered a kind of modification, so you may
328distribute translations of the Document under the terms of section 4.
329Replacing Invariant Sections with translations requires special
330permission from their copyright holders, but you may include
331translations of some or all Invariant Sections in addition to the
332original versions of these Invariant Sections. You may include a
333translation of this License, and all the license notices in the
334Document, and any Warranty Disclaimers, provided that you also include
335the original English version of this License and the original versions
336of those notices and disclaimers. In case of a disagreement between
337the translation and the original version of this License or a notice
338or disclaimer, the original version will prevail.
339
340If a section in the Document is Entitled "Acknowledgements",
341"Dedications", or "History", the requirement (section 4) to Preserve
342its Title (section 1) will typically require changing the actual
343title.
344
345
3469. TERMINATION
347
348You may not copy, modify, sublicense, or distribute the Document
349except as expressly provided under this License. Any attempt
350otherwise to copy, modify, sublicense, or distribute it is void, and
351will automatically terminate your rights under this License.
352
353However, if you cease all violation of this License, then your license
354from a particular copyright holder is reinstated (a) provisionally,
355unless and until the copyright holder explicitly and finally
356terminates your license, and (b) permanently, if the copyright holder
357fails to notify you of the violation by some reasonable means prior to
35860 days after the cessation.
359
360Moreover, your license from a particular copyright holder is
361reinstated permanently if the copyright holder notifies you of the
362violation by some reasonable means, this is the first time you have
363received notice of violation of this License (for any work) from that
364copyright holder, and you cure the violation prior to 30 days after
365your receipt of the notice.
366
367Termination of your rights under this section does not terminate the
368licenses of parties who have received copies or rights from you under
369this License. If your rights have been terminated and not permanently
370reinstated, receipt of a copy of some or all of the same material does
371not give you any rights to use it.
372
373
37410. FUTURE REVISIONS OF THIS LICENSE
375
376The Free Software Foundation may publish new, revised versions of the
377GNU Free Documentation License from time to time. Such new versions
378will be similar in spirit to the present version, but may differ in
379detail to address new problems or concerns. See
380http://www.gnu.org/copyleft/.
381
382Each version of the License is given a distinguishing version number.
383If the Document specifies that a particular numbered version of this
384License "or any later version" applies to it, you have the option of
385following the terms and conditions either of that specified version or
386of any later version that has been published (not as a draft) by the
387Free Software Foundation. If the Document does not specify a version
388number of this License, you may choose any version ever published (not
389as a draft) by the Free Software Foundation. If the Document
390specifies that a proxy can decide which future versions of this
391License can be used, that proxy's public statement of acceptance of a
392version permanently authorizes you to choose that version for the
393Document.
394
39511. RELICENSING
396
397"Massive Multiauthor Collaboration Site" (or "MMC Site") means any
398World Wide Web server that publishes copyrightable works and also
399provides prominent facilities for anybody to edit those works. A
400public wiki that anybody can edit is an example of such a server. A
401"Massive Multiauthor Collaboration" (or "MMC") contained in the site
402means any set of copyrightable works thus published on the MMC site.
403
404"CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
405license published by Creative Commons Corporation, a not-for-profit
406corporation with a principal place of business in San Francisco,
407California, as well as future copyleft versions of that license
408published by that same organization.
409
410"Incorporate" means to publish or republish a Document, in whole or in
411part, as part of another Document.
412
413An MMC is "eligible for relicensing" if it is licensed under this
414License, and if all works that were first published under this License
415somewhere other than this MMC, and subsequently incorporated in whole or
416in part into the MMC, (1) had no cover texts or invariant sections, and
417(2) were thus incorporated prior to November 1, 2008.
418
419The operator of an MMC Site may republish an MMC contained in the site
420under CC-BY-SA on the same site at any time before August 1, 2009,
421provided the MMC is eligible for relicensing.
422
423
424ADDENDUM: How to use this License for your documents
425
426To use this License in a document you have written, include a copy of
427the License in the document and put the following copyright and
428license notices just after the title page:
429
430 Copyright (c) YEAR YOUR NAME.
431 Permission is granted to copy, distribute and/or modify this document
432 under the terms of the GNU Free Documentation License, Version 1.3
433 or any later version published by the Free Software Foundation;
434 with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
435 A copy of the license is included in the section entitled "GNU
436 Free Documentation License".
437
438If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
439replace the "with...Texts." line with this:
440
441 with the Invariant Sections being LIST THEIR TITLES, with the
442 Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
443
444If you have Invariant Sections without Cover Texts, or some other
445combination of the three, merge those two alternatives to suit the
446situation.
447
448If your document contains nontrivial examples of program code, we
449recommend releasing these examples in parallel under your choice of
450free software license, such as the GNU General Public License,
451to permit their use in free software.
diff --git a/meta/files/common-licenses/GFDL-1.2 b/meta/files/common-licenses/GFDL-1.2
new file mode 100644
index 0000000000..4a0fe1c8de
--- /dev/null
+++ b/meta/files/common-licenses/GFDL-1.2
@@ -0,0 +1,397 @@
1 GNU Free Documentation License
2 Version 1.2, November 2002
3
4
5 Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
6 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
7 Everyone is permitted to copy and distribute verbatim copies
8 of this license document, but changing it is not allowed.
9
10
110. PREAMBLE
12
13The purpose of this License is to make a manual, textbook, or other
14functional and useful document "free" in the sense of freedom: to
15assure everyone the effective freedom to copy and redistribute it,
16with or without modifying it, either commercially or noncommercially.
17Secondarily, this License preserves for the author and publisher a way
18to get credit for their work, while not being considered responsible
19for modifications made by others.
20
21This License is a kind of "copyleft", which means that derivative
22works of the document must themselves be free in the same sense. It
23complements the GNU General Public License, which is a copyleft
24license designed for free software.
25
26We have designed this License in order to use it for manuals for free
27software, because free software needs free documentation: a free
28program should come with manuals providing the same freedoms that the
29software does. But this License is not limited to software manuals;
30it can be used for any textual work, regardless of subject matter or
31whether it is published as a printed book. We recommend this License
32principally for works whose purpose is instruction or reference.
33
34
351. APPLICABILITY AND DEFINITIONS
36
37This License applies to any manual or other work, in any medium, that
38contains a notice placed by the copyright holder saying it can be
39distributed under the terms of this License. Such a notice grants a
40world-wide, royalty-free license, unlimited in duration, to use that
41work under the conditions stated herein. The "Document", below,
42refers to any such manual or work. Any member of the public is a
43licensee, and is addressed as "you". You accept the license if you
44copy, modify or distribute the work in a way requiring permission
45under copyright law.
46
47A "Modified Version" of the Document means any work containing the
48Document or a portion of it, either copied verbatim, or with
49modifications and/or translated into another language.
50
51A "Secondary Section" is a named appendix or a front-matter section of
52the Document that deals exclusively with the relationship of the
53publishers or authors of the Document to the Document's overall subject
54(or to related matters) and contains nothing that could fall directly
55within that overall subject. (Thus, if the Document is in part a
56textbook of mathematics, a Secondary Section may not explain any
57mathematics.) The relationship could be a matter of historical
58connection with the subject or with related matters, or of legal,
59commercial, philosophical, ethical or political position regarding
60them.
61
62The "Invariant Sections" are certain Secondary Sections whose titles
63are designated, as being those of Invariant Sections, in the notice
64that says that the Document is released under this License. If a
65section does not fit the above definition of Secondary then it is not
66allowed to be designated as Invariant. The Document may contain zero
67Invariant Sections. If the Document does not identify any Invariant
68Sections then there are none.
69
70The "Cover Texts" are certain short passages of text that are listed,
71as Front-Cover Texts or Back-Cover Texts, in the notice that says that
72the Document is released under this License. A Front-Cover Text may
73be at most 5 words, and a Back-Cover Text may be at most 25 words.
74
75A "Transparent" copy of the Document means a machine-readable copy,
76represented in a format whose specification is available to the
77general public, that is suitable for revising the document
78straightforwardly with generic text editors or (for images composed of
79pixels) generic paint programs or (for drawings) some widely available
80drawing editor, and that is suitable for input to text formatters or
81for automatic translation to a variety of formats suitable for input
82to text formatters. A copy made in an otherwise Transparent file
83format whose markup, or absence of markup, has been arranged to thwart
84or discourage subsequent modification by readers is not Transparent.
85An image format is not Transparent if used for any substantial amount
86of text. A copy that is not "Transparent" is called "Opaque".
87
88Examples of suitable formats for Transparent copies include plain
89ASCII without markup, Texinfo input format, LaTeX input format, SGML
90or XML using a publicly available DTD, and standard-conforming simple
91HTML, PostScript or PDF designed for human modification. Examples of
92transparent image formats include PNG, XCF and JPG. Opaque formats
93include proprietary formats that can be read and edited only by
94proprietary word processors, SGML or XML for which the DTD and/or
95processing tools are not generally available, and the
96machine-generated HTML, PostScript or PDF produced by some word
97processors for output purposes only.
98
99The "Title Page" means, for a printed book, the title page itself,
100plus such following pages as are needed to hold, legibly, the material
101this License requires to appear in the title page. For works in
102formats which do not have any title page as such, "Title Page" means
103the text near the most prominent appearance of the work's title,
104preceding the beginning of the body of the text.
105
106A section "Entitled XYZ" means a named subunit of the Document whose
107title either is precisely XYZ or contains XYZ in parentheses following
108text that translates XYZ in another language. (Here XYZ stands for a
109specific section name mentioned below, such as "Acknowledgements",
110"Dedications", "Endorsements", or "History".) To "Preserve the Title"
111of such a section when you modify the Document means that it remains a
112section "Entitled XYZ" according to this definition.
113
114The Document may include Warranty Disclaimers next to the notice which
115states that this License applies to the Document. These Warranty
116Disclaimers are considered to be included by reference in this
117License, but only as regards disclaiming warranties: any other
118implication that these Warranty Disclaimers may have is void and has
119no effect on the meaning of this License.
120
121
1222. VERBATIM COPYING
123
124You may copy and distribute the Document in any medium, either
125commercially or noncommercially, provided that this License, the
126copyright notices, and the license notice saying this License applies
127to the Document are reproduced in all copies, and that you add no other
128conditions whatsoever to those of this License. You may not use
129technical measures to obstruct or control the reading or further
130copying of the copies you make or distribute. However, you may accept
131compensation in exchange for copies. If you distribute a large enough
132number of copies you must also follow the conditions in section 3.
133
134You may also lend copies, under the same conditions stated above, and
135you may publicly display copies.
136
137
1383. COPYING IN QUANTITY
139
140If you publish printed copies (or copies in media that commonly have
141printed covers) of the Document, numbering more than 100, and the
142Document's license notice requires Cover Texts, you must enclose the
143copies in covers that carry, clearly and legibly, all these Cover
144Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
145the back cover. Both covers must also clearly and legibly identify
146you as the publisher of these copies. The front cover must present
147the full title with all words of the title equally prominent and
148visible. You may add other material on the covers in addition.
149Copying with changes limited to the covers, as long as they preserve
150the title of the Document and satisfy these conditions, can be treated
151as verbatim copying in other respects.
152
153If the required texts for either cover are too voluminous to fit
154legibly, you should put the first ones listed (as many as fit
155reasonably) on the actual cover, and continue the rest onto adjacent
156pages.
157
158If you publish or distribute Opaque copies of the Document numbering
159more than 100, you must either include a machine-readable Transparent
160copy along with each Opaque copy, or state in or with each Opaque copy
161a computer-network location from which the general network-using
162public has access to download using public-standard network protocols
163a complete Transparent copy of the Document, free of added material.
164If you use the latter option, you must take reasonably prudent steps,
165when you begin distribution of Opaque copies in quantity, to ensure
166that this Transparent copy will remain thus accessible at the stated
167location until at least one year after the last time you distribute an
168Opaque copy (directly or through your agents or retailers) of that
169edition to the public.
170
171It is requested, but not required, that you contact the authors of the
172Document well before redistributing any large number of copies, to give
173them a chance to provide you with an updated version of the Document.
174
175
1764. MODIFICATIONS
177
178You may copy and distribute a Modified Version of the Document under
179the conditions of sections 2 and 3 above, provided that you release
180the Modified Version under precisely this License, with the Modified
181Version filling the role of the Document, thus licensing distribution
182and modification of the Modified Version to whoever possesses a copy
183of it. In addition, you must do these things in the Modified Version:
184
185A. Use in the Title Page (and on the covers, if any) a title distinct
186 from that of the Document, and from those of previous versions
187 (which should, if there were any, be listed in the History section
188 of the Document). You may use the same title as a previous version
189 if the original publisher of that version gives permission.
190B. List on the Title Page, as authors, one or more persons or entities
191 responsible for authorship of the modifications in the Modified
192 Version, together with at least five of the principal authors of the
193 Document (all of its principal authors, if it has fewer than five),
194 unless they release you from this requirement.
195C. State on the Title page the name of the publisher of the
196 Modified Version, as the publisher.
197D. Preserve all the copyright notices of the Document.
198E. Add an appropriate copyright notice for your modifications
199 adjacent to the other copyright notices.
200F. Include, immediately after the copyright notices, a license notice
201 giving the public permission to use the Modified Version under the
202 terms of this License, in the form shown in the Addendum below.
203G. Preserve in that license notice the full lists of Invariant Sections
204 and required Cover Texts given in the Document's license notice.
205H. Include an unaltered copy of this License.
206I. Preserve the section Entitled "History", Preserve its Title, and add
207 to it an item stating at least the title, year, new authors, and
208 publisher of the Modified Version as given on the Title Page. If
209 there is no section Entitled "History" in the Document, create one
210 stating the title, year, authors, and publisher of the Document as
211 given on its Title Page, then add an item describing the Modified
212 Version as stated in the previous sentence.
213J. Preserve the network location, if any, given in the Document for
214 public access to a Transparent copy of the Document, and likewise
215 the network locations given in the Document for previous versions
216 it was based on. These may be placed in the "History" section.
217 You may omit a network location for a work that was published at
218 least four years before the Document itself, or if the original
219 publisher of the version it refers to gives permission.
220K. For any section Entitled "Acknowledgements" or "Dedications",
221 Preserve the Title of the section, and preserve in the section all
222 the substance and tone of each of the contributor acknowledgements
223 and/or dedications given therein.
224L. Preserve all the Invariant Sections of the Document,
225 unaltered in their text and in their titles. Section numbers
226 or the equivalent are not considered part of the section titles.
227M. Delete any section Entitled "Endorsements". Such a section
228 may not be included in the Modified Version.
229N. Do not retitle any existing section to be Entitled "Endorsements"
230 or to conflict in title with any Invariant Section.
231O. Preserve any Warranty Disclaimers.
232
233If the Modified Version includes new front-matter sections or
234appendices that qualify as Secondary Sections and contain no material
235copied from the Document, you may at your option designate some or all
236of these sections as invariant. To do this, add their titles to the
237list of Invariant Sections in the Modified Version's license notice.
238These titles must be distinct from any other section titles.
239
240You may add a section Entitled "Endorsements", provided it contains
241nothing but endorsements of your Modified Version by various
242parties--for example, statements of peer review or that the text has
243been approved by an organization as the authoritative definition of a
244standard.
245
246You may add a passage of up to five words as a Front-Cover Text, and a
247passage of up to 25 words as a Back-Cover Text, to the end of the list
248of Cover Texts in the Modified Version. Only one passage of
249Front-Cover Text and one of Back-Cover Text may be added by (or
250through arrangements made by) any one entity. If the Document already
251includes a cover text for the same cover, previously added by you or
252by arrangement made by the same entity you are acting on behalf of,
253you may not add another; but you may replace the old one, on explicit
254permission from the previous publisher that added the old one.
255
256The author(s) and publisher(s) of the Document do not by this License
257give permission to use their names for publicity for or to assert or
258imply endorsement of any Modified Version.
259
260
2615. COMBINING DOCUMENTS
262
263You may combine the Document with other documents released under this
264License, under the terms defined in section 4 above for modified
265versions, provided that you include in the combination all of the
266Invariant Sections of all of the original documents, unmodified, and
267list them all as Invariant Sections of your combined work in its
268license notice, and that you preserve all their Warranty Disclaimers.
269
270The combined work need only contain one copy of this License, and
271multiple identical Invariant Sections may be replaced with a single
272copy. If there are multiple Invariant Sections with the same name but
273different contents, make the title of each such section unique by
274adding at the end of it, in parentheses, the name of the original
275author or publisher of that section if known, or else a unique number.
276Make the same adjustment to the section titles in the list of
277Invariant Sections in the license notice of the combined work.
278
279In the combination, you must combine any sections Entitled "History"
280in the various original documents, forming one section Entitled
281"History"; likewise combine any sections Entitled "Acknowledgements",
282and any sections Entitled "Dedications". You must delete all sections
283Entitled "Endorsements".
284
285
2866. COLLECTIONS OF DOCUMENTS
287
288You may make a collection consisting of the Document and other documents
289released under this License, and replace the individual copies of this
290License in the various documents with a single copy that is included in
291the collection, provided that you follow the rules of this License for
292verbatim copying of each of the documents in all other respects.
293
294You may extract a single document from such a collection, and distribute
295it individually under this License, provided you insert a copy of this
296License into the extracted document, and follow this License in all
297other respects regarding verbatim copying of that document.
298
299
3007. AGGREGATION WITH INDEPENDENT WORKS
301
302A compilation of the Document or its derivatives with other separate
303and independent documents or works, in or on a volume of a storage or
304distribution medium, is called an "aggregate" if the copyright
305resulting from the compilation is not used to limit the legal rights
306of the compilation's users beyond what the individual works permit.
307When the Document is included in an aggregate, this License does not
308apply to the other works in the aggregate which are not themselves
309derivative works of the Document.
310
311If the Cover Text requirement of section 3 is applicable to these
312copies of the Document, then if the Document is less than one half of
313the entire aggregate, the Document's Cover Texts may be placed on
314covers that bracket the Document within the aggregate, or the
315electronic equivalent of covers if the Document is in electronic form.
316Otherwise they must appear on printed covers that bracket the whole
317aggregate.
318
319
3208. TRANSLATION
321
322Translation is considered a kind of modification, so you may
323distribute translations of the Document under the terms of section 4.
324Replacing Invariant Sections with translations requires special
325permission from their copyright holders, but you may include
326translations of some or all Invariant Sections in addition to the
327original versions of these Invariant Sections. You may include a
328translation of this License, and all the license notices in the
329Document, and any Warranty Disclaimers, provided that you also include
330the original English version of this License and the original versions
331of those notices and disclaimers. In case of a disagreement between
332the translation and the original version of this License or a notice
333or disclaimer, the original version will prevail.
334
335If a section in the Document is Entitled "Acknowledgements",
336"Dedications", or "History", the requirement (section 4) to Preserve
337its Title (section 1) will typically require changing the actual
338title.
339
340
3419. TERMINATION
342
343You may not copy, modify, sublicense, or distribute the Document except
344as expressly provided for under this License. Any other attempt to
345copy, modify, sublicense or distribute the Document is void, and will
346automatically terminate your rights under this License. However,
347parties who have received copies, or rights, from you under this
348License will not have their licenses terminated so long as such
349parties remain in full compliance.
350
351
35210. FUTURE REVISIONS OF THIS LICENSE
353
354The Free Software Foundation may publish new, revised versions
355of the GNU Free Documentation License from time to time. Such new
356versions will be similar in spirit to the present version, but may
357differ in detail to address new problems or concerns. See
358http://www.gnu.org/copyleft/.
359
360Each version of the License is given a distinguishing version number.
361If the Document specifies that a particular numbered version of this
362License "or any later version" applies to it, you have the option of
363following the terms and conditions either of that specified version or
364of any later version that has been published (not as a draft) by the
365Free Software Foundation. If the Document does not specify a version
366number of this License, you may choose any version ever published (not
367as a draft) by the Free Software Foundation.
368
369
370ADDENDUM: How to use this License for your documents
371
372To use this License in a document you have written, include a copy of
373the License in the document and put the following copyright and
374license notices just after the title page:
375
376 Copyright (c) YEAR YOUR NAME.
377 Permission is granted to copy, distribute and/or modify this document
378 under the terms of the GNU Free Documentation License, Version 1.2
379 or any later version published by the Free Software Foundation;
380 with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
381 A copy of the license is included in the section entitled "GNU
382 Free Documentation License".
383
384If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
385replace the "with...Texts." line with this:
386
387 with the Invariant Sections being LIST THEIR TITLES, with the
388 Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
389
390If you have Invariant Sections without Cover Texts, or some other
391combination of the three, merge those two alternatives to suit the
392situation.
393
394If your document contains nontrivial examples of program code, we
395recommend releasing these examples in parallel under your choice of
396free software license, such as the GNU General Public License,
397to permit their use in free software.
diff --git a/meta/files/common-licenses/GFDL-1.3 b/meta/files/common-licenses/GFDL-1.3
new file mode 100644
index 0000000000..2f7e03ca51
--- /dev/null
+++ b/meta/files/common-licenses/GFDL-1.3
@@ -0,0 +1,451 @@
1
2 GNU Free Documentation License
3 Version 1.3, 3 November 2008
4
5
6 Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
7 <http://fsf.org/>
8 Everyone is permitted to copy and distribute verbatim copies
9 of this license document, but changing it is not allowed.
10
110. PREAMBLE
12
13The purpose of this License is to make a manual, textbook, or other
14functional and useful document "free" in the sense of freedom: to
15assure everyone the effective freedom to copy and redistribute it,
16with or without modifying it, either commercially or noncommercially.
17Secondarily, this License preserves for the author and publisher a way
18to get credit for their work, while not being considered responsible
19for modifications made by others.
20
21This License is a kind of "copyleft", which means that derivative
22works of the document must themselves be free in the same sense. It
23complements the GNU General Public License, which is a copyleft
24license designed for free software.
25
26We have designed this License in order to use it for manuals for free
27software, because free software needs free documentation: a free
28program should come with manuals providing the same freedoms that the
29software does. But this License is not limited to software manuals;
30it can be used for any textual work, regardless of subject matter or
31whether it is published as a printed book. We recommend this License
32principally for works whose purpose is instruction or reference.
33
34
351. APPLICABILITY AND DEFINITIONS
36
37This License applies to any manual or other work, in any medium, that
38contains a notice placed by the copyright holder saying it can be
39distributed under the terms of this License. Such a notice grants a
40world-wide, royalty-free license, unlimited in duration, to use that
41work under the conditions stated herein. The "Document", below,
42refers to any such manual or work. Any member of the public is a
43licensee, and is addressed as "you". You accept the license if you
44copy, modify or distribute the work in a way requiring permission
45under copyright law.
46
47A "Modified Version" of the Document means any work containing the
48Document or a portion of it, either copied verbatim, or with
49modifications and/or translated into another language.
50
51A "Secondary Section" is a named appendix or a front-matter section of
52the Document that deals exclusively with the relationship of the
53publishers or authors of the Document to the Document's overall
54subject (or to related matters) and contains nothing that could fall
55directly within that overall subject. (Thus, if the Document is in
56part a textbook of mathematics, a Secondary Section may not explain
57any mathematics.) The relationship could be a matter of historical
58connection with the subject or with related matters, or of legal,
59commercial, philosophical, ethical or political position regarding
60them.
61
62The "Invariant Sections" are certain Secondary Sections whose titles
63are designated, as being those of Invariant Sections, in the notice
64that says that the Document is released under this License. If a
65section does not fit the above definition of Secondary then it is not
66allowed to be designated as Invariant. The Document may contain zero
67Invariant Sections. If the Document does not identify any Invariant
68Sections then there are none.
69
70The "Cover Texts" are certain short passages of text that are listed,
71as Front-Cover Texts or Back-Cover Texts, in the notice that says that
72the Document is released under this License. A Front-Cover Text may
73be at most 5 words, and a Back-Cover Text may be at most 25 words.
74
75A "Transparent" copy of the Document means a machine-readable copy,
76represented in a format whose specification is available to the
77general public, that is suitable for revising the document
78straightforwardly with generic text editors or (for images composed of
79pixels) generic paint programs or (for drawings) some widely available
80drawing editor, and that is suitable for input to text formatters or
81for automatic translation to a variety of formats suitable for input
82to text formatters. A copy made in an otherwise Transparent file
83format whose markup, or absence of markup, has been arranged to thwart
84or discourage subsequent modification by readers is not Transparent.
85An image format is not Transparent if used for any substantial amount
86of text. A copy that is not "Transparent" is called "Opaque".
87
88Examples of suitable formats for Transparent copies include plain
89ASCII without markup, Texinfo input format, LaTeX input format, SGML
90or XML using a publicly available DTD, and standard-conforming simple
91HTML, PostScript or PDF designed for human modification. Examples of
92transparent image formats include PNG, XCF and JPG. Opaque formats
93include proprietary formats that can be read and edited only by
94proprietary word processors, SGML or XML for which the DTD and/or
95processing tools are not generally available, and the
96machine-generated HTML, PostScript or PDF produced by some word
97processors for output purposes only.
98
99The "Title Page" means, for a printed book, the title page itself,
100plus such following pages as are needed to hold, legibly, the material
101this License requires to appear in the title page. For works in
102formats which do not have any title page as such, "Title Page" means
103the text near the most prominent appearance of the work's title,
104preceding the beginning of the body of the text.
105
106The "publisher" means any person or entity that distributes copies of
107the Document to the public.
108
109A section "Entitled XYZ" means a named subunit of the Document whose
110title either is precisely XYZ or contains XYZ in parentheses following
111text that translates XYZ in another language. (Here XYZ stands for a
112specific section name mentioned below, such as "Acknowledgements",
113"Dedications", "Endorsements", or "History".) To "Preserve the Title"
114of such a section when you modify the Document means that it remains a
115section "Entitled XYZ" according to this definition.
116
117The Document may include Warranty Disclaimers next to the notice which
118states that this License applies to the Document. These Warranty
119Disclaimers are considered to be included by reference in this
120License, but only as regards disclaiming warranties: any other
121implication that these Warranty Disclaimers may have is void and has
122no effect on the meaning of this License.
123
1242. VERBATIM COPYING
125
126You may copy and distribute the Document in any medium, either
127commercially or noncommercially, provided that this License, the
128copyright notices, and the license notice saying this License applies
129to the Document are reproduced in all copies, and that you add no
130other conditions whatsoever to those of this License. You may not use
131technical measures to obstruct or control the reading or further
132copying of the copies you make or distribute. However, you may accept
133compensation in exchange for copies. If you distribute a large enough
134number of copies you must also follow the conditions in section 3.
135
136You may also lend copies, under the same conditions stated above, and
137you may publicly display copies.
138
139
1403. COPYING IN QUANTITY
141
142If you publish printed copies (or copies in media that commonly have
143printed covers) of the Document, numbering more than 100, and the
144Document's license notice requires Cover Texts, you must enclose the
145copies in covers that carry, clearly and legibly, all these Cover
146Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
147the back cover. Both covers must also clearly and legibly identify
148you as the publisher of these copies. The front cover must present
149the full title with all words of the title equally prominent and
150visible. You may add other material on the covers in addition.
151Copying with changes limited to the covers, as long as they preserve
152the title of the Document and satisfy these conditions, can be treated
153as verbatim copying in other respects.
154
155If the required texts for either cover are too voluminous to fit
156legibly, you should put the first ones listed (as many as fit
157reasonably) on the actual cover, and continue the rest onto adjacent
158pages.
159
160If you publish or distribute Opaque copies of the Document numbering
161more than 100, you must either include a machine-readable Transparent
162copy along with each Opaque copy, or state in or with each Opaque copy
163a computer-network location from which the general network-using
164public has access to download using public-standard network protocols
165a complete Transparent copy of the Document, free of added material.
166If you use the latter option, you must take reasonably prudent steps,
167when you begin distribution of Opaque copies in quantity, to ensure
168that this Transparent copy will remain thus accessible at the stated
169location until at least one year after the last time you distribute an
170Opaque copy (directly or through your agents or retailers) of that
171edition to the public.
172
173It is requested, but not required, that you contact the authors of the
174Document well before redistributing any large number of copies, to
175give them a chance to provide you with an updated version of the
176Document.
177
178
1794. MODIFICATIONS
180
181You may copy and distribute a Modified Version of the Document under
182the conditions of sections 2 and 3 above, provided that you release
183the Modified Version under precisely this License, with the Modified
184Version filling the role of the Document, thus licensing distribution
185and modification of the Modified Version to whoever possesses a copy
186of it. In addition, you must do these things in the Modified Version:
187
188A. Use in the Title Page (and on the covers, if any) a title distinct
189 from that of the Document, and from those of previous versions
190 (which should, if there were any, be listed in the History section
191 of the Document). You may use the same title as a previous version
192 if the original publisher of that version gives permission.
193B. List on the Title Page, as authors, one or more persons or entities
194 responsible for authorship of the modifications in the Modified
195 Version, together with at least five of the principal authors of the
196 Document (all of its principal authors, if it has fewer than five),
197 unless they release you from this requirement.
198C. State on the Title page the name of the publisher of the
199 Modified Version, as the publisher.
200D. Preserve all the copyright notices of the Document.
201E. Add an appropriate copyright notice for your modifications
202 adjacent to the other copyright notices.
203F. Include, immediately after the copyright notices, a license notice
204 giving the public permission to use the Modified Version under the
205 terms of this License, in the form shown in the Addendum below.
206G. Preserve in that license notice the full lists of Invariant Sections
207 and required Cover Texts given in the Document's license notice.
208H. Include an unaltered copy of this License.
209I. Preserve the section Entitled "History", Preserve its Title, and add
210 to it an item stating at least the title, year, new authors, and
211 publisher of the Modified Version as given on the Title Page. If
212 there is no section Entitled "History" in the Document, create one
213 stating the title, year, authors, and publisher of the Document as
214 given on its Title Page, then add an item describing the Modified
215 Version as stated in the previous sentence.
216J. Preserve the network location, if any, given in the Document for
217 public access to a Transparent copy of the Document, and likewise
218 the network locations given in the Document for previous versions
219 it was based on. These may be placed in the "History" section.
220 You may omit a network location for a work that was published at
221 least four years before the Document itself, or if the original
222 publisher of the version it refers to gives permission.
223K. For any section Entitled "Acknowledgements" or "Dedications",
224 Preserve the Title of the section, and preserve in the section all
225 the substance and tone of each of the contributor acknowledgements
226 and/or dedications given therein.
227L. Preserve all the Invariant Sections of the Document,
228 unaltered in their text and in their titles. Section numbers
229 or the equivalent are not considered part of the section titles.
230M. Delete any section Entitled "Endorsements". Such a section
231 may not be included in the Modified Version.
232N. Do not retitle any existing section to be Entitled "Endorsements"
233 or to conflict in title with any Invariant Section.
234O. Preserve any Warranty Disclaimers.
235
236If the Modified Version includes new front-matter sections or
237appendices that qualify as Secondary Sections and contain no material
238copied from the Document, you may at your option designate some or all
239of these sections as invariant. To do this, add their titles to the
240list of Invariant Sections in the Modified Version's license notice.
241These titles must be distinct from any other section titles.
242
243You may add a section Entitled "Endorsements", provided it contains
244nothing but endorsements of your Modified Version by various
245parties--for example, statements of peer review or that the text has
246been approved by an organization as the authoritative definition of a
247standard.
248
249You may add a passage of up to five words as a Front-Cover Text, and a
250passage of up to 25 words as a Back-Cover Text, to the end of the list
251of Cover Texts in the Modified Version. Only one passage of
252Front-Cover Text and one of Back-Cover Text may be added by (or
253through arrangements made by) any one entity. If the Document already
254includes a cover text for the same cover, previously added by you or
255by arrangement made by the same entity you are acting on behalf of,
256you may not add another; but you may replace the old one, on explicit
257permission from the previous publisher that added the old one.
258
259The author(s) and publisher(s) of the Document do not by this License
260give permission to use their names for publicity for or to assert or
261imply endorsement of any Modified Version.
262
263
2645. COMBINING DOCUMENTS
265
266You may combine the Document with other documents released under this
267License, under the terms defined in section 4 above for modified
268versions, provided that you include in the combination all of the
269Invariant Sections of all of the original documents, unmodified, and
270list them all as Invariant Sections of your combined work in its
271license notice, and that you preserve all their Warranty Disclaimers.
272
273The combined work need only contain one copy of this License, and
274multiple identical Invariant Sections may be replaced with a single
275copy. If there are multiple Invariant Sections with the same name but
276different contents, make the title of each such section unique by
277adding at the end of it, in parentheses, the name of the original
278author or publisher of that section if known, or else a unique number.
279Make the same adjustment to the section titles in the list of
280Invariant Sections in the license notice of the combined work.
281
282In the combination, you must combine any sections Entitled "History"
283in the various original documents, forming one section Entitled
284"History"; likewise combine any sections Entitled "Acknowledgements",
285and any sections Entitled "Dedications". You must delete all sections
286Entitled "Endorsements".
287
288
2896. COLLECTIONS OF DOCUMENTS
290
291You may make a collection consisting of the Document and other
292documents released under this License, and replace the individual
293copies of this License in the various documents with a single copy
294that is included in the collection, provided that you follow the rules
295of this License for verbatim copying of each of the documents in all
296other respects.
297
298You may extract a single document from such a collection, and
299distribute it individually under this License, provided you insert a
300copy of this License into the extracted document, and follow this
301License in all other respects regarding verbatim copying of that
302document.
303
304
3057. AGGREGATION WITH INDEPENDENT WORKS
306
307A compilation of the Document or its derivatives with other separate
308and independent documents or works, in or on a volume of a storage or
309distribution medium, is called an "aggregate" if the copyright
310resulting from the compilation is not used to limit the legal rights
311of the compilation's users beyond what the individual works permit.
312When the Document is included in an aggregate, this License does not
313apply to the other works in the aggregate which are not themselves
314derivative works of the Document.
315
316If the Cover Text requirement of section 3 is applicable to these
317copies of the Document, then if the Document is less than one half of
318the entire aggregate, the Document's Cover Texts may be placed on
319covers that bracket the Document within the aggregate, or the
320electronic equivalent of covers if the Document is in electronic form.
321Otherwise they must appear on printed covers that bracket the whole
322aggregate.
323
324
3258. TRANSLATION
326
327Translation is considered a kind of modification, so you may
328distribute translations of the Document under the terms of section 4.
329Replacing Invariant Sections with translations requires special
330permission from their copyright holders, but you may include
331translations of some or all Invariant Sections in addition to the
332original versions of these Invariant Sections. You may include a
333translation of this License, and all the license notices in the
334Document, and any Warranty Disclaimers, provided that you also include
335the original English version of this License and the original versions
336of those notices and disclaimers. In case of a disagreement between
337the translation and the original version of this License or a notice
338or disclaimer, the original version will prevail.
339
340If a section in the Document is Entitled "Acknowledgements",
341"Dedications", or "History", the requirement (section 4) to Preserve
342its Title (section 1) will typically require changing the actual
343title.
344
345
3469. TERMINATION
347
348You may not copy, modify, sublicense, or distribute the Document
349except as expressly provided under this License. Any attempt
350otherwise to copy, modify, sublicense, or distribute it is void, and
351will automatically terminate your rights under this License.
352
353However, if you cease all violation of this License, then your license
354from a particular copyright holder is reinstated (a) provisionally,
355unless and until the copyright holder explicitly and finally
356terminates your license, and (b) permanently, if the copyright holder
357fails to notify you of the violation by some reasonable means prior to
35860 days after the cessation.
359
360Moreover, your license from a particular copyright holder is
361reinstated permanently if the copyright holder notifies you of the
362violation by some reasonable means, this is the first time you have
363received notice of violation of this License (for any work) from that
364copyright holder, and you cure the violation prior to 30 days after
365your receipt of the notice.
366
367Termination of your rights under this section does not terminate the
368licenses of parties who have received copies or rights from you under
369this License. If your rights have been terminated and not permanently
370reinstated, receipt of a copy of some or all of the same material does
371not give you any rights to use it.
372
373
37410. FUTURE REVISIONS OF THIS LICENSE
375
376The Free Software Foundation may publish new, revised versions of the
377GNU Free Documentation License from time to time. Such new versions
378will be similar in spirit to the present version, but may differ in
379detail to address new problems or concerns. See
380http://www.gnu.org/copyleft/.
381
382Each version of the License is given a distinguishing version number.
383If the Document specifies that a particular numbered version of this
384License "or any later version" applies to it, you have the option of
385following the terms and conditions either of that specified version or
386of any later version that has been published (not as a draft) by the
387Free Software Foundation. If the Document does not specify a version
388number of this License, you may choose any version ever published (not
389as a draft) by the Free Software Foundation. If the Document
390specifies that a proxy can decide which future versions of this
391License can be used, that proxy's public statement of acceptance of a
392version permanently authorizes you to choose that version for the
393Document.
394
39511. RELICENSING
396
397"Massive Multiauthor Collaboration Site" (or "MMC Site") means any
398World Wide Web server that publishes copyrightable works and also
399provides prominent facilities for anybody to edit those works. A
400public wiki that anybody can edit is an example of such a server. A
401"Massive Multiauthor Collaboration" (or "MMC") contained in the site
402means any set of copyrightable works thus published on the MMC site.
403
404"CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
405license published by Creative Commons Corporation, a not-for-profit
406corporation with a principal place of business in San Francisco,
407California, as well as future copyleft versions of that license
408published by that same organization.
409
410"Incorporate" means to publish or republish a Document, in whole or in
411part, as part of another Document.
412
413An MMC is "eligible for relicensing" if it is licensed under this
414License, and if all works that were first published under this License
415somewhere other than this MMC, and subsequently incorporated in whole or
416in part into the MMC, (1) had no cover texts or invariant sections, and
417(2) were thus incorporated prior to November 1, 2008.
418
419The operator of an MMC Site may republish an MMC contained in the site
420under CC-BY-SA on the same site at any time before August 1, 2009,
421provided the MMC is eligible for relicensing.
422
423
424ADDENDUM: How to use this License for your documents
425
426To use this License in a document you have written, include a copy of
427the License in the document and put the following copyright and
428license notices just after the title page:
429
430 Copyright (c) YEAR YOUR NAME.
431 Permission is granted to copy, distribute and/or modify this document
432 under the terms of the GNU Free Documentation License, Version 1.3
433 or any later version published by the Free Software Foundation;
434 with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
435 A copy of the license is included in the section entitled "GNU
436 Free Documentation License".
437
438If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
439replace the "with...Texts." line with this:
440
441 with the Invariant Sections being LIST THEIR TITLES, with the
442 Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
443
444If you have Invariant Sections without Cover Texts, or some other
445combination of the three, merge those two alternatives to suit the
446situation.
447
448If your document contains nontrivial examples of program code, we
449recommend releasing these examples in parallel under your choice of
450free software license, such as the GNU General Public License,
451to permit their use in free software.
diff --git a/meta/files/common-licenses/GPL b/meta/files/common-licenses/GPL
new file mode 100644
index 0000000000..4432540474
--- /dev/null
+++ b/meta/files/common-licenses/GPL
@@ -0,0 +1,676 @@
1
2 GNU GENERAL PUBLIC LICENSE
3 Version 3, 29 June 2007
4
5 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
6 Everyone is permitted to copy and distribute verbatim copies
7 of this license document, but changing it is not allowed.
8
9 Preamble
10
11 The GNU General Public License is a free, copyleft license for
12software and other kinds of works.
13
14 The licenses for most software and other practical works are designed
15to take away your freedom to share and change the works. By contrast,
16the GNU General Public License is intended to guarantee your freedom to
17share and change all versions of a program--to make sure it remains free
18software for all its users. We, the Free Software Foundation, use the
19GNU General Public License for most of our software; it applies also to
20any other work released this way by its authors. You can apply it to
21your programs, too.
22
23 When we speak of free software, we are referring to freedom, not
24price. Our General Public Licenses are designed to make sure that you
25have the freedom to distribute copies of free software (and charge for
26them if you wish), that you receive source code or can get it if you
27want it, that you can change the software or use pieces of it in new
28free programs, and that you know you can do these things.
29
30 To protect your rights, we need to prevent others from denying you
31these rights or asking you to surrender the rights. Therefore, you have
32certain responsibilities if you distribute copies of the software, or if
33you modify it: responsibilities to respect the freedom of others.
34
35 For example, if you distribute copies of such a program, whether
36gratis or for a fee, you must pass on to the recipients the same
37freedoms that you received. You must make sure that they, too, receive
38or can get the source code. And you must show them these terms so they
39know their rights.
40
41 Developers that use the GNU GPL protect your rights with two steps:
42(1) assert copyright on the software, and (2) offer you this License
43giving you legal permission to copy, distribute and/or modify it.
44
45 For the developers' and authors' protection, the GPL clearly explains
46that there is no warranty for this free software. For both users' and
47authors' sake, the GPL requires that modified versions be marked as
48changed, so that their problems will not be attributed erroneously to
49authors of previous versions.
50
51 Some devices are designed to deny users access to install or run
52modified versions of the software inside them, although the manufacturer
53can do so. This is fundamentally incompatible with the aim of
54protecting users' freedom to change the software. The systematic
55pattern of such abuse occurs in the area of products for individuals to
56use, which is precisely where it is most unacceptable. Therefore, we
57have designed this version of the GPL to prohibit the practice for those
58products. If such problems arise substantially in other domains, we
59stand ready to extend this provision to those domains in future versions
60of the GPL, as needed to protect the freedom of users.
61
62 Finally, every program is threatened constantly by software patents.
63States should not allow patents to restrict development and use of
64software on general-purpose computers, but in those that do, we wish to
65avoid the special danger that patents applied to a free program could
66make it effectively proprietary. To prevent this, the GPL assures that
67patents cannot be used to render the program non-free.
68
69 The precise terms and conditions for copying, distribution and
70modification follow.
71
72 TERMS AND CONDITIONS
73
74 0. Definitions.
75
76 "This License" refers to version 3 of the GNU General Public License.
77
78 "Copyright" also means copyright-like laws that apply to other kinds of
79works, such as semiconductor masks.
80
81 "The Program" refers to any copyrightable work licensed under this
82License. Each licensee is addressed as "you". "Licensees" and
83"recipients" may be individuals or organizations.
84
85 To "modify" a work means to copy from or adapt all or part of the work
86in a fashion requiring copyright permission, other than the making of an
87exact copy. The resulting work is called a "modified version" of the
88earlier work or a work "based on" the earlier work.
89
90 A "covered work" means either the unmodified Program or a work based
91on the Program.
92
93 To "propagate" a work means to do anything with it that, without
94permission, would make you directly or secondarily liable for
95infringement under applicable copyright law, except executing it on a
96computer or modifying a private copy. Propagation includes copying,
97distribution (with or without modification), making available to the
98public, and in some countries other activities as well.
99
100 To "convey" a work means any kind of propagation that enables other
101parties to make or receive copies. Mere interaction with a user through
102a computer network, with no transfer of a copy, is not conveying.
103
104 An interactive user interface displays "Appropriate Legal Notices"
105to the extent that it includes a convenient and prominently visible
106feature that (1) displays an appropriate copyright notice, and (2)
107tells the user that there is no warranty for the work (except to the
108extent that warranties are provided), that licensees may convey the
109work under this License, and how to view a copy of this License. If
110the interface presents a list of user commands or options, such as a
111menu, a prominent item in the list meets this criterion.
112
113 1. Source Code.
114
115 The "source code" for a work means the preferred form of the work
116for making modifications to it. "Object code" means any non-source
117form of a work.
118
119 A "Standard Interface" means an interface that either is an official
120standard defined by a recognized standards body, or, in the case of
121interfaces specified for a particular programming language, one that
122is widely used among developers working in that language.
123
124 The "System Libraries" of an executable work include anything, other
125than the work as a whole, that (a) is included in the normal form of
126packaging a Major Component, but which is not part of that Major
127Component, and (b) serves only to enable use of the work with that
128Major Component, or to implement a Standard Interface for which an
129implementation is available to the public in source code form. A
130"Major Component", in this context, means a major essential component
131(kernel, window system, and so on) of the specific operating system
132(if any) on which the executable work runs, or a compiler used to
133produce the work, or an object code interpreter used to run it.
134
135 The "Corresponding Source" for a work in object code form means all
136the source code needed to generate, install, and (for an executable
137work) run the object code and to modify the work, including scripts to
138control those activities. However, it does not include the work's
139System Libraries, or general-purpose tools or generally available free
140programs which are used unmodified in performing those activities but
141which are not part of the work. For example, Corresponding Source
142includes interface definition files associated with source files for
143the work, and the source code for shared libraries and dynamically
144linked subprograms that the work is specifically designed to require,
145such as by intimate data communication or control flow between those
146subprograms and other parts of the work.
147
148 The Corresponding Source need not include anything that users
149can regenerate automatically from other parts of the Corresponding
150Source.
151
152 The Corresponding Source for a work in source code form is that
153same work.
154
155 2. Basic Permissions.
156
157 All rights granted under this License are granted for the term of
158copyright on the Program, and are irrevocable provided the stated
159conditions are met. This License explicitly affirms your unlimited
160permission to run the unmodified Program. The output from running a
161covered work is covered by this License only if the output, given its
162content, constitutes a covered work. This License acknowledges your
163rights of fair use or other equivalent, as provided by copyright law.
164
165 You may make, run and propagate covered works that you do not
166convey, without conditions so long as your license otherwise remains
167in force. You may convey covered works to others for the sole purpose
168of having them make modifications exclusively for you, or provide you
169with facilities for running those works, provided that you comply with
170the terms of this License in conveying all material for which you do
171not control copyright. Those thus making or running the covered works
172for you must do so exclusively on your behalf, under your direction
173and control, on terms that prohibit them from making any copies of
174your copyrighted material outside their relationship with you.
175
176 Conveying under any other circumstances is permitted solely under
177the conditions stated below. Sublicensing is not allowed; section 10
178makes it unnecessary.
179
180 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
181
182 No covered work shall be deemed part of an effective technological
183measure under any applicable law fulfilling obligations under article
18411 of the WIPO copyright treaty adopted on 20 December 1996, or
185similar laws prohibiting or restricting circumvention of such
186measures.
187
188 When you convey a covered work, you waive any legal power to forbid
189circumvention of technological measures to the extent such circumvention
190is effected by exercising rights under this License with respect to
191the covered work, and you disclaim any intention to limit operation or
192modification of the work as a means of enforcing, against the work's
193users, your or third parties' legal rights to forbid circumvention of
194technological measures.
195
196 4. Conveying Verbatim Copies.
197
198 You may convey verbatim copies of the Program's source code as you
199receive it, in any medium, provided that you conspicuously and
200appropriately publish on each copy an appropriate copyright notice;
201keep intact all notices stating that this License and any
202non-permissive terms added in accord with section 7 apply to the code;
203keep intact all notices of the absence of any warranty; and give all
204recipients a copy of this License along with the Program.
205
206 You may charge any price or no price for each copy that you convey,
207and you may offer support or warranty protection for a fee.
208
209 5. Conveying Modified Source Versions.
210
211 You may convey a work based on the Program, or the modifications to
212produce it from the Program, in the form of source code under the
213terms of section 4, provided that you also meet all of these conditions:
214
215 a) The work must carry prominent notices stating that you modified
216 it, and giving a relevant date.
217
218 b) The work must carry prominent notices stating that it is
219 released under this License and any conditions added under section
220 7. This requirement modifies the requirement in section 4 to
221 "keep intact all notices".
222
223 c) You must license the entire work, as a whole, under this
224 License to anyone who comes into possession of a copy. This
225 License will therefore apply, along with any applicable section 7
226 additional terms, to the whole of the work, and all its parts,
227 regardless of how they are packaged. This License gives no
228 permission to license the work in any other way, but it does not
229 invalidate such permission if you have separately received it.
230
231 d) If the work has interactive user interfaces, each must display
232 Appropriate Legal Notices; however, if the Program has interactive
233 interfaces that do not display Appropriate Legal Notices, your
234 work need not make them do so.
235
236 A compilation of a covered work with other separate and independent
237works, which are not by their nature extensions of the covered work,
238and which are not combined with it such as to form a larger program,
239in or on a volume of a storage or distribution medium, is called an
240"aggregate" if the compilation and its resulting copyright are not
241used to limit the access or legal rights of the compilation's users
242beyond what the individual works permit. Inclusion of a covered work
243in an aggregate does not cause this License to apply to the other
244parts of the aggregate.
245
246 6. Conveying Non-Source Forms.
247
248 You may convey a covered work in object code form under the terms
249of sections 4 and 5, provided that you also convey the
250machine-readable Corresponding Source under the terms of this License,
251in one of these ways:
252
253 a) Convey the object code in, or embodied in, a physical product
254 (including a physical distribution medium), accompanied by the
255 Corresponding Source fixed on a durable physical medium
256 customarily used for software interchange.
257
258 b) Convey the object code in, or embodied in, a physical product
259 (including a physical distribution medium), accompanied by a
260 written offer, valid for at least three years and valid for as
261 long as you offer spare parts or customer support for that product
262 model, to give anyone who possesses the object code either (1) a
263 copy of the Corresponding Source for all the software in the
264 product that is covered by this License, on a durable physical
265 medium customarily used for software interchange, for a price no
266 more than your reasonable cost of physically performing this
267 conveying of source, or (2) access to copy the
268 Corresponding Source from a network server at no charge.
269
270 c) Convey individual copies of the object code with a copy of the
271 written offer to provide the Corresponding Source. This
272 alternative is allowed only occasionally and noncommercially, and
273 only if you received the object code with such an offer, in accord
274 with subsection 6b.
275
276 d) Convey the object code by offering access from a designated
277 place (gratis or for a charge), and offer equivalent access to the
278 Corresponding Source in the same way through the same place at no
279 further charge. You need not require recipients to copy the
280 Corresponding Source along with the object code. If the place to
281 copy the object code is a network server, the Corresponding Source
282 may be on a different server (operated by you or a third party)
283 that supports equivalent copying facilities, provided you maintain
284 clear directions next to the object code saying where to find the
285 Corresponding Source. Regardless of what server hosts the
286 Corresponding Source, you remain obligated to ensure that it is
287 available for as long as needed to satisfy these requirements.
288
289 e) Convey the object code using peer-to-peer transmission, provided
290 you inform other peers where the object code and Corresponding
291 Source of the work are being offered to the general public at no
292 charge under subsection 6d.
293
294 A separable portion of the object code, whose source code is excluded
295from the Corresponding Source as a System Library, need not be
296included in conveying the object code work.
297
298 A "User Product" is either (1) a "consumer product", which means any
299tangible personal property which is normally used for personal, family,
300or household purposes, or (2) anything designed or sold for incorporation
301into a dwelling. In determining whether a product is a consumer product,
302doubtful cases shall be resolved in favor of coverage. For a particular
303product received by a particular user, "normally used" refers to a
304typical or common use of that class of product, regardless of the status
305of the particular user or of the way in which the particular user
306actually uses, or expects or is expected to use, the product. A product
307is a consumer product regardless of whether the product has substantial
308commercial, industrial or non-consumer uses, unless such uses represent
309the only significant mode of use of the product.
310
311 "Installation Information" for a User Product means any methods,
312procedures, authorization keys, or other information required to install
313and execute modified versions of a covered work in that User Product from
314a modified version of its Corresponding Source. The information must
315suffice to ensure that the continued functioning of the modified object
316code is in no case prevented or interfered with solely because
317modification has been made.
318
319 If you convey an object code work under this section in, or with, or
320specifically for use in, a User Product, and the conveying occurs as
321part of a transaction in which the right of possession and use of the
322User Product is transferred to the recipient in perpetuity or for a
323fixed term (regardless of how the transaction is characterized), the
324Corresponding Source conveyed under this section must be accompanied
325by the Installation Information. But this requirement does not apply
326if neither you nor any third party retains the ability to install
327modified object code on the User Product (for example, the work has
328been installed in ROM).
329
330 The requirement to provide Installation Information does not include a
331requirement to continue to provide support service, warranty, or updates
332for a work that has been modified or installed by the recipient, or for
333the User Product in which it has been modified or installed. Access to a
334network may be denied when the modification itself materially and
335adversely affects the operation of the network or violates the rules and
336protocols for communication across the network.
337
338 Corresponding Source conveyed, and Installation Information provided,
339in accord with this section must be in a format that is publicly
340documented (and with an implementation available to the public in
341source code form), and must require no special password or key for
342unpacking, reading or copying.
343
344 7. Additional Terms.
345
346 "Additional permissions" are terms that supplement the terms of this
347License by making exceptions from one or more of its conditions.
348Additional permissions that are applicable to the entire Program shall
349be treated as though they were included in this License, to the extent
350that they are valid under applicable law. If additional permissions
351apply only to part of the Program, that part may be used separately
352under those permissions, but the entire Program remains governed by
353this License without regard to the additional permissions.
354
355 When you convey a copy of a covered work, you may at your option
356remove any additional permissions from that copy, or from any part of
357it. (Additional permissions may be written to require their own
358removal in certain cases when you modify the work.) You may place
359additional permissions on material, added by you to a covered work,
360for which you have or can give appropriate copyright permission.
361
362 Notwithstanding any other provision of this License, for material you
363add to a covered work, you may (if authorized by the copyright holders of
364that material) supplement the terms of this License with terms:
365
366 a) Disclaiming warranty or limiting liability differently from the
367 terms of sections 15 and 16 of this License; or
368
369 b) Requiring preservation of specified reasonable legal notices or
370 author attributions in that material or in the Appropriate Legal
371 Notices displayed by works containing it; or
372
373 c) Prohibiting misrepresentation of the origin of that material, or
374 requiring that modified versions of such material be marked in
375 reasonable ways as different from the original version; or
376
377 d) Limiting the use for publicity purposes of names of licensors or
378 authors of the material; or
379
380 e) Declining to grant rights under trademark law for use of some
381 trade names, trademarks, or service marks; or
382
383 f) Requiring indemnification of licensors and authors of that
384 material by anyone who conveys the material (or modified versions of
385 it) with contractual assumptions of liability to the recipient, for
386 any liability that these contractual assumptions directly impose on
387 those licensors and authors.
388
389 All other non-permissive additional terms are considered "further
390restrictions" within the meaning of section 10. If the Program as you
391received it, or any part of it, contains a notice stating that it is
392governed by this License along with a term that is a further
393restriction, you may remove that term. If a license document contains
394a further restriction but permits relicensing or conveying under this
395License, you may add to a covered work material governed by the terms
396of that license document, provided that the further restriction does
397not survive such relicensing or conveying.
398
399 If you add terms to a covered work in accord with this section, you
400must place, in the relevant source files, a statement of the
401additional terms that apply to those files, or a notice indicating
402where to find the applicable terms.
403
404 Additional terms, permissive or non-permissive, may be stated in the
405form of a separately written license, or stated as exceptions;
406the above requirements apply either way.
407
408 8. Termination.
409
410 You may not propagate or modify a covered work except as expressly
411provided under this License. Any attempt otherwise to propagate or
412modify it is void, and will automatically terminate your rights under
413this License (including any patent licenses granted under the third
414paragraph of section 11).
415
416 However, if you cease all violation of this License, then your
417license from a particular copyright holder is reinstated (a)
418provisionally, unless and until the copyright holder explicitly and
419finally terminates your license, and (b) permanently, if the copyright
420holder fails to notify you of the violation by some reasonable means
421prior to 60 days after the cessation.
422
423 Moreover, your license from a particular copyright holder is
424reinstated permanently if the copyright holder notifies you of the
425violation by some reasonable means, this is the first time you have
426received notice of violation of this License (for any work) from that
427copyright holder, and you cure the violation prior to 30 days after
428your receipt of the notice.
429
430 Termination of your rights under this section does not terminate the
431licenses of parties who have received copies or rights from you under
432this License. If your rights have been terminated and not permanently
433reinstated, you do not qualify to receive new licenses for the same
434material under section 10.
435
436 9. Acceptance Not Required for Having Copies.
437
438 You are not required to accept this License in order to receive or
439run a copy of the Program. Ancillary propagation of a covered work
440occurring solely as a consequence of using peer-to-peer transmission
441to receive a copy likewise does not require acceptance. However,
442nothing other than this License grants you permission to propagate or
443modify any covered work. These actions infringe copyright if you do
444not accept this License. Therefore, by modifying or propagating a
445covered work, you indicate your acceptance of this License to do so.
446
447 10. Automatic Licensing of Downstream Recipients.
448
449 Each time you convey a covered work, the recipient automatically
450receives a license from the original licensors, to run, modify and
451propagate that work, subject to this License. You are not responsible
452for enforcing compliance by third parties with this License.
453
454 An "entity transaction" is a transaction transferring control of an
455organization, or substantially all assets of one, or subdividing an
456organization, or merging organizations. If propagation of a covered
457work results from an entity transaction, each party to that
458transaction who receives a copy of the work also receives whatever
459licenses to the work the party's predecessor in interest had or could
460give under the previous paragraph, plus a right to possession of the
461Corresponding Source of the work from the predecessor in interest, if
462the predecessor has it or can get it with reasonable efforts.
463
464 You may not impose any further restrictions on the exercise of the
465rights granted or affirmed under this License. For example, you may
466not impose a license fee, royalty, or other charge for exercise of
467rights granted under this License, and you may not initiate litigation
468(including a cross-claim or counterclaim in a lawsuit) alleging that
469any patent claim is infringed by making, using, selling, offering for
470sale, or importing the Program or any portion of it.
471
472 11. Patents.
473
474 A "contributor" is a copyright holder who authorizes use under this
475License of the Program or a work on which the Program is based. The
476work thus licensed is called the contributor's "contributor version".
477
478 A contributor's "essential patent claims" are all patent claims
479owned or controlled by the contributor, whether already acquired or
480hereafter acquired, that would be infringed by some manner, permitted
481by this License, of making, using, or selling its contributor version,
482but do not include claims that would be infringed only as a
483consequence of further modification of the contributor version. For
484purposes of this definition, "control" includes the right to grant
485patent sublicenses in a manner consistent with the requirements of
486this License.
487
488 Each contributor grants you a non-exclusive, worldwide, royalty-free
489patent license under the contributor's essential patent claims, to
490make, use, sell, offer for sale, import and otherwise run, modify and
491propagate the contents of its contributor version.
492
493 In the following three paragraphs, a "patent license" is any express
494agreement or commitment, however denominated, not to enforce a patent
495(such as an express permission to practice a patent or covenant not to
496sue for patent infringement). To "grant" such a patent license to a
497party means to make such an agreement or commitment not to enforce a
498patent against the party.
499
500 If you convey a covered work, knowingly relying on a patent license,
501and the Corresponding Source of the work is not available for anyone
502to copy, free of charge and under the terms of this License, through a
503publicly available network server or other readily accessible means,
504then you must either (1) cause the Corresponding Source to be so
505available, or (2) arrange to deprive yourself of the benefit of the
506patent license for this particular work, or (3) arrange, in a manner
507consistent with the requirements of this License, to extend the patent
508license to downstream recipients. "Knowingly relying" means you have
509actual knowledge that, but for the patent license, your conveying the
510covered work in a country, or your recipient's use of the covered work
511in a country, would infringe one or more identifiable patents in that
512country that you have reason to believe are valid.
513
514 If, pursuant to or in connection with a single transaction or
515arrangement, you convey, or propagate by procuring conveyance of, a
516covered work, and grant a patent license to some of the parties
517receiving the covered work authorizing them to use, propagate, modify
518or convey a specific copy of the covered work, then the patent license
519you grant is automatically extended to all recipients of the covered
520work and works based on it.
521
522 A patent license is "discriminatory" if it does not include within
523the scope of its coverage, prohibits the exercise of, or is
524conditioned on the non-exercise of one or more of the rights that are
525specifically granted under this License. You may not convey a covered
526work if you are a party to an arrangement with a third party that is
527in the business of distributing software, under which you make payment
528to the third party based on the extent of your activity of conveying
529the work, and under which the third party grants, to any of the
530parties who would receive the covered work from you, a discriminatory
531patent license (a) in connection with copies of the covered work
532conveyed by you (or copies made from those copies), or (b) primarily
533for and in connection with specific products or compilations that
534contain the covered work, unless you entered into that arrangement,
535or that patent license was granted, prior to 28 March 2007.
536
537 Nothing in this License shall be construed as excluding or limiting
538any implied license or other defenses to infringement that may
539otherwise be available to you under applicable patent law.
540
541 12. No Surrender of Others' Freedom.
542
543 If conditions are imposed on you (whether by court order, agreement or
544otherwise) that contradict the conditions of this License, they do not
545excuse you from the conditions of this License. If you cannot convey a
546covered work so as to satisfy simultaneously your obligations under this
547License and any other pertinent obligations, then as a consequence you may
548not convey it at all. For example, if you agree to terms that obligate you
549to collect a royalty for further conveying from those to whom you convey
550the Program, the only way you could satisfy both those terms and this
551License would be to refrain entirely from conveying the Program.
552
553 13. Use with the GNU Affero General Public License.
554
555 Notwithstanding any other provision of this License, you have
556permission to link or combine any covered work with a work licensed
557under version 3 of the GNU Affero General Public License into a single
558combined work, and to convey the resulting work. The terms of this
559License will continue to apply to the part which is the covered work,
560but the special requirements of the GNU Affero General Public License,
561section 13, concerning interaction through a network will apply to the
562combination as such.
563
564 14. Revised Versions of this License.
565
566 The Free Software Foundation may publish revised and/or new versions of
567the GNU General Public License from time to time. Such new versions will
568be similar in spirit to the present version, but may differ in detail to
569address new problems or concerns.
570
571 Each version is given a distinguishing version number. If the
572Program specifies that a certain numbered version of the GNU General
573Public License "or any later version" applies to it, you have the
574option of following the terms and conditions either of that numbered
575version or of any later version published by the Free Software
576Foundation. If the Program does not specify a version number of the
577GNU General Public License, you may choose any version ever published
578by the Free Software Foundation.
579
580 If the Program specifies that a proxy can decide which future
581versions of the GNU General Public License can be used, that proxy's
582public statement of acceptance of a version permanently authorizes you
583to choose that version for the Program.
584
585 Later license versions may give you additional or different
586permissions. However, no additional obligations are imposed on any
587author or copyright holder as a result of your choosing to follow a
588later version.
589
590 15. Disclaimer of Warranty.
591
592 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
593APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
594HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
595OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
596THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
597PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
598IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
599ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
600
601 16. Limitation of Liability.
602
603 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
604WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
605THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
606GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
607USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
608DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
609PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
610EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
611SUCH DAMAGES.
612
613 17. Interpretation of Sections 15 and 16.
614
615 If the disclaimer of warranty and limitation of liability provided
616above cannot be given local legal effect according to their terms,
617reviewing courts shall apply local law that most closely approximates
618an absolute waiver of all civil liability in connection with the
619Program, unless a warranty or assumption of liability accompanies a
620copy of the Program in return for a fee.
621
622 END OF TERMS AND CONDITIONS
623
624 How to Apply These Terms to Your New Programs
625
626 If you develop a new program, and you want it to be of the greatest
627possible use to the public, the best way to achieve this is to make it
628free software which everyone can redistribute and change under these terms.
629
630 To do so, attach the following notices to the program. It is safest
631to attach them to the start of each source file to most effectively
632state the exclusion of warranty; and each file should have at least
633the "copyright" line and a pointer to where the full notice is found.
634
635 <one line to give the program's name and a brief idea of what it does.>
636 Copyright (C) <year> <name of author>
637
638 This program is free software: you can redistribute it and/or modify
639 it under the terms of the GNU General Public License as published by
640 the Free Software Foundation, either version 3 of the License, or
641 (at your option) any later version.
642
643 This program is distributed in the hope that it will be useful,
644 but WITHOUT ANY WARRANTY; without even the implied warranty of
645 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
646 GNU General Public License for more details.
647
648 You should have received a copy of the GNU General Public License
649 along with this program. If not, see <http://www.gnu.org/licenses/>.
650
651Also add information on how to contact you by electronic and paper mail.
652
653 If the program does terminal interaction, make it output a short
654notice like this when it starts in an interactive mode:
655
656 <program> Copyright (C) <year> <name of author>
657 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
658 This is free software, and you are welcome to redistribute it
659 under certain conditions; type `show c' for details.
660
661The hypothetical commands `show w' and `show c' should show the appropriate
662parts of the General Public License. Of course, your program's commands
663might be different; for a GUI interface, you would use an "about box".
664
665 You should also get your employer (if you work as a programmer) or school,
666if any, to sign a "copyright disclaimer" for the program, if necessary.
667For more information on this, and how to apply and follow the GNU GPL, see
668<http://www.gnu.org/licenses/>.
669
670 The GNU General Public License does not permit incorporating your program
671into proprietary programs. If your program is a subroutine library, you
672may consider it more useful to permit linking proprietary applications with
673the library. If this is what you want to do, use the GNU Lesser General
674Public License instead of this License. But first, please read
675<http://www.gnu.org/philosophy/why-not-lgpl.html>.
676
diff --git a/meta/files/common-licenses/GPLv2 b/meta/files/common-licenses/GPLv2
new file mode 100644
index 0000000000..d511905c16
--- /dev/null
+++ b/meta/files/common-licenses/GPLv2
@@ -0,0 +1,339 @@
1 GNU GENERAL PUBLIC LICENSE
2 Version 2, June 1991
3
4 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6 Everyone is permitted to copy and distribute verbatim copies
7 of this license document, but changing it is not allowed.
8
9 Preamble
10
11 The licenses for most software are designed to take away your
12freedom to share and change it. By contrast, the GNU General Public
13License is intended to guarantee your freedom to share and change free
14software--to make sure the software is free for all its users. This
15General Public License applies to most of the Free Software
16Foundation's software and to any other program whose authors commit to
17using it. (Some other Free Software Foundation software is covered by
18the GNU Lesser General Public License instead.) You can apply it to
19your programs, too.
20
21 When we speak of free software, we are referring to freedom, not
22price. Our General Public Licenses are designed to make sure that you
23have the freedom to distribute copies of free software (and charge for
24this service if you wish), that you receive source code or can get it
25if you want it, that you can change the software or use pieces of it
26in new free programs; and that you know you can do these things.
27
28 To protect your rights, we need to make restrictions that forbid
29anyone to deny you these rights or to ask you to surrender the rights.
30These restrictions translate to certain responsibilities for you if you
31distribute copies of the software, or if you modify it.
32
33 For example, if you distribute copies of such a program, whether
34gratis or for a fee, you must give the recipients all the rights that
35you have. You must make sure that they, too, receive or can get the
36source code. And you must show them these terms so they know their
37rights.
38
39 We protect your rights with two steps: (1) copyright the software, and
40(2) offer you this license which gives you legal permission to copy,
41distribute and/or modify the software.
42
43 Also, for each author's protection and ours, we want to make certain
44that everyone understands that there is no warranty for this free
45software. If the software is modified by someone else and passed on, we
46want its recipients to know that what they have is not the original, so
47that any problems introduced by others will not reflect on the original
48authors' reputations.
49
50 Finally, any free program is threatened constantly by software
51patents. We wish to avoid the danger that redistributors of a free
52program will individually obtain patent licenses, in effect making the
53program proprietary. To prevent this, we have made it clear that any
54patent must be licensed for everyone's free use or not licensed at all.
55
56 The precise terms and conditions for copying, distribution and
57modification follow.
58
59 GNU GENERAL PUBLIC LICENSE
60 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
62 0. This License applies to any program or other work which contains
63a notice placed by the copyright holder saying it may be distributed
64under the terms of this General Public License. The "Program", below,
65refers to any such program or work, and a "work based on the Program"
66means either the Program or any derivative work under copyright law:
67that is to say, a work containing the Program or a portion of it,
68either verbatim or with modifications and/or translated into another
69language. (Hereinafter, translation is included without limitation in
70the term "modification".) Each licensee is addressed as "you".
71
72Activities other than copying, distribution and modification are not
73covered by this License; they are outside its scope. The act of
74running the Program is not restricted, and the output from the Program
75is covered only if its contents constitute a work based on the
76Program (independent of having been made by running the Program).
77Whether that is true depends on what the Program does.
78
79 1. You may copy and distribute verbatim copies of the Program's
80source code as you receive it, in any medium, provided that you
81conspicuously and appropriately publish on each copy an appropriate
82copyright notice and disclaimer of warranty; keep intact all the
83notices that refer to this License and to the absence of any warranty;
84and give any other recipients of the Program a copy of this License
85along with the Program.
86
87You may charge a fee for the physical act of transferring a copy, and
88you may at your option offer warranty protection in exchange for a fee.
89
90 2. You may modify your copy or copies of the Program or any portion
91of it, thus forming a work based on the Program, and copy and
92distribute such modifications or work under the terms of Section 1
93above, provided that you also meet all of these conditions:
94
95 a) You must cause the modified files to carry prominent notices
96 stating that you changed the files and the date of any change.
97
98 b) You must cause any work that you distribute or publish, that in
99 whole or in part contains or is derived from the Program or any
100 part thereof, to be licensed as a whole at no charge to all third
101 parties under the terms of this License.
102
103 c) If the modified program normally reads commands interactively
104 when run, you must cause it, when started running for such
105 interactive use in the most ordinary way, to print or display an
106 announcement including an appropriate copyright notice and a
107 notice that there is no warranty (or else, saying that you provide
108 a warranty) and that users may redistribute the program under
109 these conditions, and telling the user how to view a copy of this
110 License. (Exception: if the Program itself is interactive but
111 does not normally print such an announcement, your work based on
112 the Program is not required to print an announcement.)
113
114These requirements apply to the modified work as a whole. If
115identifiable sections of that work are not derived from the Program,
116and can be reasonably considered independent and separate works in
117themselves, then this License, and its terms, do not apply to those
118sections when you distribute them as separate works. But when you
119distribute the same sections as part of a whole which is a work based
120on the Program, the distribution of the whole must be on the terms of
121this License, whose permissions for other licensees extend to the
122entire whole, and thus to each and every part regardless of who wrote it.
123
124Thus, it is not the intent of this section to claim rights or contest
125your rights to work written entirely by you; rather, the intent is to
126exercise the right to control the distribution of derivative or
127collective works based on the Program.
128
129In addition, mere aggregation of another work not based on the Program
130with the Program (or with a work based on the Program) on a volume of
131a storage or distribution medium does not bring the other work under
132the scope of this License.
133
134 3. You may copy and distribute the Program (or a work based on it,
135under Section 2) in object code or executable form under the terms of
136Sections 1 and 2 above provided that you also do one of the following:
137
138 a) Accompany it with the complete corresponding machine-readable
139 source code, which must be distributed under the terms of Sections
140 1 and 2 above on a medium customarily used for software interchange; or,
141
142 b) Accompany it with a written offer, valid for at least three
143 years, to give any third party, for a charge no more than your
144 cost of physically performing source distribution, a complete
145 machine-readable copy of the corresponding source code, to be
146 distributed under the terms of Sections 1 and 2 above on a medium
147 customarily used for software interchange; or,
148
149 c) Accompany it with the information you received as to the offer
150 to distribute corresponding source code. (This alternative is
151 allowed only for noncommercial distribution and only if you
152 received the program in object code or executable form with such
153 an offer, in accord with Subsection b above.)
154
155The source code for a work means the preferred form of the work for
156making modifications to it. For an executable work, complete source
157code means all the source code for all modules it contains, plus any
158associated interface definition files, plus the scripts used to
159control compilation and installation of the executable. However, as a
160special exception, the source code distributed need not include
161anything that is normally distributed (in either source or binary
162form) with the major components (compiler, kernel, and so on) of the
163operating system on which the executable runs, unless that component
164itself accompanies the executable.
165
166If distribution of executable or object code is made by offering
167access to copy from a designated place, then offering equivalent
168access to copy the source code from the same place counts as
169distribution of the source code, even though third parties are not
170compelled to copy the source along with the object code.
171
172 4. You may not copy, modify, sublicense, or distribute the Program
173except as expressly provided under this License. Any attempt
174otherwise to copy, modify, sublicense or distribute the Program is
175void, and will automatically terminate your rights under this License.
176However, parties who have received copies, or rights, from you under
177this License will not have their licenses terminated so long as such
178parties remain in full compliance.
179
180 5. You are not required to accept this License, since you have not
181signed it. However, nothing else grants you permission to modify or
182distribute the Program or its derivative works. These actions are
183prohibited by law if you do not accept this License. Therefore, by
184modifying or distributing the Program (or any work based on the
185Program), you indicate your acceptance of this License to do so, and
186all its terms and conditions for copying, distributing or modifying
187the Program or works based on it.
188
189 6. Each time you redistribute the Program (or any work based on the
190Program), the recipient automatically receives a license from the
191original licensor to copy, distribute or modify the Program subject to
192these terms and conditions. You may not impose any further
193restrictions on the recipients' exercise of the rights granted herein.
194You are not responsible for enforcing compliance by third parties to
195this License.
196
197 7. If, as a consequence of a court judgment or allegation of patent
198infringement or for any other reason (not limited to patent issues),
199conditions are imposed on you (whether by court order, agreement or
200otherwise) that contradict the conditions of this License, they do not
201excuse you from the conditions of this License. If you cannot
202distribute so as to satisfy simultaneously your obligations under this
203License and any other pertinent obligations, then as a consequence you
204may not distribute the Program at all. For example, if a patent
205license would not permit royalty-free redistribution of the Program by
206all those who receive copies directly or indirectly through you, then
207the only way you could satisfy both it and this License would be to
208refrain entirely from distribution of the Program.
209
210If any portion of this section is held invalid or unenforceable under
211any particular circumstance, the balance of the section is intended to
212apply and the section as a whole is intended to apply in other
213circumstances.
214
215It is not the purpose of this section to induce you to infringe any
216patents or other property right claims or to contest validity of any
217such claims; this section has the sole purpose of protecting the
218integrity of the free software distribution system, which is
219implemented by public license practices. Many people have made
220generous contributions to the wide range of software distributed
221through that system in reliance on consistent application of that
222system; it is up to the author/donor to decide if he or she is willing
223to distribute software through any other system and a licensee cannot
224impose that choice.
225
226This section is intended to make thoroughly clear what is believed to
227be a consequence of the rest of this License.
228
229 8. If the distribution and/or use of the Program is restricted in
230certain countries either by patents or by copyrighted interfaces, the
231original copyright holder who places the Program under this License
232may add an explicit geographical distribution limitation excluding
233those countries, so that distribution is permitted only in or among
234countries not thus excluded. In such case, this License incorporates
235the limitation as if written in the body of this License.
236
237 9. The Free Software Foundation may publish revised and/or new versions
238of the General Public License from time to time. Such new versions will
239be similar in spirit to the present version, but may differ in detail to
240address new problems or concerns.
241
242Each version is given a distinguishing version number. If the Program
243specifies a version number of this License which applies to it and "any
244later version", you have the option of following the terms and conditions
245either of that version or of any later version published by the Free
246Software Foundation. If the Program does not specify a version number of
247this License, you may choose any version ever published by the Free Software
248Foundation.
249
250 10. If you wish to incorporate parts of the Program into other free
251programs whose distribution conditions are different, write to the author
252to ask for permission. For software which is copyrighted by the Free
253Software Foundation, write to the Free Software Foundation; we sometimes
254make exceptions for this. Our decision will be guided by the two goals
255of preserving the free status of all derivatives of our free software and
256of promoting the sharing and reuse of software generally.
257
258 NO WARRANTY
259
260 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268REPAIR OR CORRECTION.
269
270 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278POSSIBILITY OF SUCH DAMAGES.
279
280 END OF TERMS AND CONDITIONS
281
282 How to Apply These Terms to Your New Programs
283
284 If you develop a new program, and you want it to be of the greatest
285possible use to the public, the best way to achieve this is to make it
286free software which everyone can redistribute and change under these terms.
287
288 To do so, attach the following notices to the program. It is safest
289to attach them to the start of each source file to most effectively
290convey the exclusion of warranty; and each file should have at least
291the "copyright" line and a pointer to where the full notice is found.
292
293 <one line to give the program's name and a brief idea of what it does.>
294 Copyright (C) <year> <name of author>
295
296 This program is free software; you can redistribute it and/or modify
297 it under the terms of the GNU General Public License as published by
298 the Free Software Foundation; either version 2 of the License, or
299 (at your option) any later version.
300
301 This program is distributed in the hope that it will be useful,
302 but WITHOUT ANY WARRANTY; without even the implied warranty of
303 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304 GNU General Public License for more details.
305
306 You should have received a copy of the GNU General Public License along
307 with this program; if not, write to the Free Software Foundation, Inc.,
308 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
310Also add information on how to contact you by electronic and paper mail.
311
312If the program is interactive, make it output a short notice like this
313when it starts in an interactive mode:
314
315 Gnomovision version 69, Copyright (C) year name of author
316 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317 This is free software, and you are welcome to redistribute it
318 under certain conditions; type `show c' for details.
319
320The hypothetical commands `show w' and `show c' should show the appropriate
321parts of the General Public License. Of course, the commands you use may
322be called something other than `show w' and `show c'; they could even be
323mouse-clicks or menu items--whatever suits your program.
324
325You should also get your employer (if you work as a programmer) or your
326school, if any, to sign a "copyright disclaimer" for the program, if
327necessary. Here is a sample; alter the names:
328
329 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330 `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
332 <signature of Ty Coon>, 1 April 1989
333 Ty Coon, President of Vice
334
335This General Public License does not permit incorporating your program into
336proprietary programs. If your program is a subroutine library, you may
337consider it more useful to permit linking proprietary applications with the
338library. If this is what you want to do, use the GNU Lesser General
339Public License instead of this License.
diff --git a/meta/files/common-licenses/GPLv3 b/meta/files/common-licenses/GPLv3
new file mode 100644
index 0000000000..4432540474
--- /dev/null
+++ b/meta/files/common-licenses/GPLv3
@@ -0,0 +1,676 @@
1
2 GNU GENERAL PUBLIC LICENSE
3 Version 3, 29 June 2007
4
5 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
6 Everyone is permitted to copy and distribute verbatim copies
7 of this license document, but changing it is not allowed.
8
9 Preamble
10
11 The GNU General Public License is a free, copyleft license for
12software and other kinds of works.
13
14 The licenses for most software and other practical works are designed
15to take away your freedom to share and change the works. By contrast,
16the GNU General Public License is intended to guarantee your freedom to
17share and change all versions of a program--to make sure it remains free
18software for all its users. We, the Free Software Foundation, use the
19GNU General Public License for most of our software; it applies also to
20any other work released this way by its authors. You can apply it to
21your programs, too.
22
23 When we speak of free software, we are referring to freedom, not
24price. Our General Public Licenses are designed to make sure that you
25have the freedom to distribute copies of free software (and charge for
26them if you wish), that you receive source code or can get it if you
27want it, that you can change the software or use pieces of it in new
28free programs, and that you know you can do these things.
29
30 To protect your rights, we need to prevent others from denying you
31these rights or asking you to surrender the rights. Therefore, you have
32certain responsibilities if you distribute copies of the software, or if
33you modify it: responsibilities to respect the freedom of others.
34
35 For example, if you distribute copies of such a program, whether
36gratis or for a fee, you must pass on to the recipients the same
37freedoms that you received. You must make sure that they, too, receive
38or can get the source code. And you must show them these terms so they
39know their rights.
40
41 Developers that use the GNU GPL protect your rights with two steps:
42(1) assert copyright on the software, and (2) offer you this License
43giving you legal permission to copy, distribute and/or modify it.
44
45 For the developers' and authors' protection, the GPL clearly explains
46that there is no warranty for this free software. For both users' and
47authors' sake, the GPL requires that modified versions be marked as
48changed, so that their problems will not be attributed erroneously to
49authors of previous versions.
50
51 Some devices are designed to deny users access to install or run
52modified versions of the software inside them, although the manufacturer
53can do so. This is fundamentally incompatible with the aim of
54protecting users' freedom to change the software. The systematic
55pattern of such abuse occurs in the area of products for individuals to
56use, which is precisely where it is most unacceptable. Therefore, we
57have designed this version of the GPL to prohibit the practice for those
58products. If such problems arise substantially in other domains, we
59stand ready to extend this provision to those domains in future versions
60of the GPL, as needed to protect the freedom of users.
61
62 Finally, every program is threatened constantly by software patents.
63States should not allow patents to restrict development and use of
64software on general-purpose computers, but in those that do, we wish to
65avoid the special danger that patents applied to a free program could
66make it effectively proprietary. To prevent this, the GPL assures that
67patents cannot be used to render the program non-free.
68
69 The precise terms and conditions for copying, distribution and
70modification follow.
71
72 TERMS AND CONDITIONS
73
74 0. Definitions.
75
76 "This License" refers to version 3 of the GNU General Public License.
77
78 "Copyright" also means copyright-like laws that apply to other kinds of
79works, such as semiconductor masks.
80
81 "The Program" refers to any copyrightable work licensed under this
82License. Each licensee is addressed as "you". "Licensees" and
83"recipients" may be individuals or organizations.
84
85 To "modify" a work means to copy from or adapt all or part of the work
86in a fashion requiring copyright permission, other than the making of an
87exact copy. The resulting work is called a "modified version" of the
88earlier work or a work "based on" the earlier work.
89
90 A "covered work" means either the unmodified Program or a work based
91on the Program.
92
93 To "propagate" a work means to do anything with it that, without
94permission, would make you directly or secondarily liable for
95infringement under applicable copyright law, except executing it on a
96computer or modifying a private copy. Propagation includes copying,
97distribution (with or without modification), making available to the
98public, and in some countries other activities as well.
99
100 To "convey" a work means any kind of propagation that enables other
101parties to make or receive copies. Mere interaction with a user through
102a computer network, with no transfer of a copy, is not conveying.
103
104 An interactive user interface displays "Appropriate Legal Notices"
105to the extent that it includes a convenient and prominently visible
106feature that (1) displays an appropriate copyright notice, and (2)
107tells the user that there is no warranty for the work (except to the
108extent that warranties are provided), that licensees may convey the
109work under this License, and how to view a copy of this License. If
110the interface presents a list of user commands or options, such as a
111menu, a prominent item in the list meets this criterion.
112
113 1. Source Code.
114
115 The "source code" for a work means the preferred form of the work
116for making modifications to it. "Object code" means any non-source
117form of a work.
118
119 A "Standard Interface" means an interface that either is an official
120standard defined by a recognized standards body, or, in the case of
121interfaces specified for a particular programming language, one that
122is widely used among developers working in that language.
123
124 The "System Libraries" of an executable work include anything, other
125than the work as a whole, that (a) is included in the normal form of
126packaging a Major Component, but which is not part of that Major
127Component, and (b) serves only to enable use of the work with that
128Major Component, or to implement a Standard Interface for which an
129implementation is available to the public in source code form. A
130"Major Component", in this context, means a major essential component
131(kernel, window system, and so on) of the specific operating system
132(if any) on which the executable work runs, or a compiler used to
133produce the work, or an object code interpreter used to run it.
134
135 The "Corresponding Source" for a work in object code form means all
136the source code needed to generate, install, and (for an executable
137work) run the object code and to modify the work, including scripts to
138control those activities. However, it does not include the work's
139System Libraries, or general-purpose tools or generally available free
140programs which are used unmodified in performing those activities but
141which are not part of the work. For example, Corresponding Source
142includes interface definition files associated with source files for
143the work, and the source code for shared libraries and dynamically
144linked subprograms that the work is specifically designed to require,
145such as by intimate data communication or control flow between those
146subprograms and other parts of the work.
147
148 The Corresponding Source need not include anything that users
149can regenerate automatically from other parts of the Corresponding
150Source.
151
152 The Corresponding Source for a work in source code form is that
153same work.
154
155 2. Basic Permissions.
156
157 All rights granted under this License are granted for the term of
158copyright on the Program, and are irrevocable provided the stated
159conditions are met. This License explicitly affirms your unlimited
160permission to run the unmodified Program. The output from running a
161covered work is covered by this License only if the output, given its
162content, constitutes a covered work. This License acknowledges your
163rights of fair use or other equivalent, as provided by copyright law.
164
165 You may make, run and propagate covered works that you do not
166convey, without conditions so long as your license otherwise remains
167in force. You may convey covered works to others for the sole purpose
168of having them make modifications exclusively for you, or provide you
169with facilities for running those works, provided that you comply with
170the terms of this License in conveying all material for which you do
171not control copyright. Those thus making or running the covered works
172for you must do so exclusively on your behalf, under your direction
173and control, on terms that prohibit them from making any copies of
174your copyrighted material outside their relationship with you.
175
176 Conveying under any other circumstances is permitted solely under
177the conditions stated below. Sublicensing is not allowed; section 10
178makes it unnecessary.
179
180 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
181
182 No covered work shall be deemed part of an effective technological
183measure under any applicable law fulfilling obligations under article
18411 of the WIPO copyright treaty adopted on 20 December 1996, or
185similar laws prohibiting or restricting circumvention of such
186measures.
187
188 When you convey a covered work, you waive any legal power to forbid
189circumvention of technological measures to the extent such circumvention
190is effected by exercising rights under this License with respect to
191the covered work, and you disclaim any intention to limit operation or
192modification of the work as a means of enforcing, against the work's
193users, your or third parties' legal rights to forbid circumvention of
194technological measures.
195
196 4. Conveying Verbatim Copies.
197
198 You may convey verbatim copies of the Program's source code as you
199receive it, in any medium, provided that you conspicuously and
200appropriately publish on each copy an appropriate copyright notice;
201keep intact all notices stating that this License and any
202non-permissive terms added in accord with section 7 apply to the code;
203keep intact all notices of the absence of any warranty; and give all
204recipients a copy of this License along with the Program.
205
206 You may charge any price or no price for each copy that you convey,
207and you may offer support or warranty protection for a fee.
208
209 5. Conveying Modified Source Versions.
210
211 You may convey a work based on the Program, or the modifications to
212produce it from the Program, in the form of source code under the
213terms of section 4, provided that you also meet all of these conditions:
214
215 a) The work must carry prominent notices stating that you modified
216 it, and giving a relevant date.
217
218 b) The work must carry prominent notices stating that it is
219 released under this License and any conditions added under section
220 7. This requirement modifies the requirement in section 4 to
221 "keep intact all notices".
222
223 c) You must license the entire work, as a whole, under this
224 License to anyone who comes into possession of a copy. This
225 License will therefore apply, along with any applicable section 7
226 additional terms, to the whole of the work, and all its parts,
227 regardless of how they are packaged. This License gives no
228 permission to license the work in any other way, but it does not
229 invalidate such permission if you have separately received it.
230
231 d) If the work has interactive user interfaces, each must display
232 Appropriate Legal Notices; however, if the Program has interactive
233 interfaces that do not display Appropriate Legal Notices, your
234 work need not make them do so.
235
236 A compilation of a covered work with other separate and independent
237works, which are not by their nature extensions of the covered work,
238and which are not combined with it such as to form a larger program,
239in or on a volume of a storage or distribution medium, is called an
240"aggregate" if the compilation and its resulting copyright are not
241used to limit the access or legal rights of the compilation's users
242beyond what the individual works permit. Inclusion of a covered work
243in an aggregate does not cause this License to apply to the other
244parts of the aggregate.
245
246 6. Conveying Non-Source Forms.
247
248 You may convey a covered work in object code form under the terms
249of sections 4 and 5, provided that you also convey the
250machine-readable Corresponding Source under the terms of this License,
251in one of these ways:
252
253 a) Convey the object code in, or embodied in, a physical product
254 (including a physical distribution medium), accompanied by the
255 Corresponding Source fixed on a durable physical medium
256 customarily used for software interchange.
257
258 b) Convey the object code in, or embodied in, a physical product
259 (including a physical distribution medium), accompanied by a
260 written offer, valid for at least three years and valid for as
261 long as you offer spare parts or customer support for that product
262 model, to give anyone who possesses the object code either (1) a
263 copy of the Corresponding Source for all the software in the
264 product that is covered by this License, on a durable physical
265 medium customarily used for software interchange, for a price no
266 more than your reasonable cost of physically performing this
267 conveying of source, or (2) access to copy the
268 Corresponding Source from a network server at no charge.
269
270 c) Convey individual copies of the object code with a copy of the
271 written offer to provide the Corresponding Source. This
272 alternative is allowed only occasionally and noncommercially, and
273 only if you received the object code with such an offer, in accord
274 with subsection 6b.
275
276 d) Convey the object code by offering access from a designated
277 place (gratis or for a charge), and offer equivalent access to the
278 Corresponding Source in the same way through the same place at no
279 further charge. You need not require recipients to copy the
280 Corresponding Source along with the object code. If the place to
281 copy the object code is a network server, the Corresponding Source
282 may be on a different server (operated by you or a third party)
283 that supports equivalent copying facilities, provided you maintain
284 clear directions next to the object code saying where to find the
285 Corresponding Source. Regardless of what server hosts the
286 Corresponding Source, you remain obligated to ensure that it is
287 available for as long as needed to satisfy these requirements.
288
289 e) Convey the object code using peer-to-peer transmission, provided
290 you inform other peers where the object code and Corresponding
291 Source of the work are being offered to the general public at no
292 charge under subsection 6d.
293
294 A separable portion of the object code, whose source code is excluded
295from the Corresponding Source as a System Library, need not be
296included in conveying the object code work.
297
298 A "User Product" is either (1) a "consumer product", which means any
299tangible personal property which is normally used for personal, family,
300or household purposes, or (2) anything designed or sold for incorporation
301into a dwelling. In determining whether a product is a consumer product,
302doubtful cases shall be resolved in favor of coverage. For a particular
303product received by a particular user, "normally used" refers to a
304typical or common use of that class of product, regardless of the status
305of the particular user or of the way in which the particular user
306actually uses, or expects or is expected to use, the product. A product
307is a consumer product regardless of whether the product has substantial
308commercial, industrial or non-consumer uses, unless such uses represent
309the only significant mode of use of the product.
310
311 "Installation Information" for a User Product means any methods,
312procedures, authorization keys, or other information required to install
313and execute modified versions of a covered work in that User Product from
314a modified version of its Corresponding Source. The information must
315suffice to ensure that the continued functioning of the modified object
316code is in no case prevented or interfered with solely because
317modification has been made.
318
319 If you convey an object code work under this section in, or with, or
320specifically for use in, a User Product, and the conveying occurs as
321part of a transaction in which the right of possession and use of the
322User Product is transferred to the recipient in perpetuity or for a
323fixed term (regardless of how the transaction is characterized), the
324Corresponding Source conveyed under this section must be accompanied
325by the Installation Information. But this requirement does not apply
326if neither you nor any third party retains the ability to install
327modified object code on the User Product (for example, the work has
328been installed in ROM).
329
330 The requirement to provide Installation Information does not include a
331requirement to continue to provide support service, warranty, or updates
332for a work that has been modified or installed by the recipient, or for
333the User Product in which it has been modified or installed. Access to a
334network may be denied when the modification itself materially and
335adversely affects the operation of the network or violates the rules and
336protocols for communication across the network.
337
338 Corresponding Source conveyed, and Installation Information provided,
339in accord with this section must be in a format that is publicly
340documented (and with an implementation available to the public in
341source code form), and must require no special password or key for
342unpacking, reading or copying.
343
344 7. Additional Terms.
345
346 "Additional permissions" are terms that supplement the terms of this
347License by making exceptions from one or more of its conditions.
348Additional permissions that are applicable to the entire Program shall
349be treated as though they were included in this License, to the extent
350that they are valid under applicable law. If additional permissions
351apply only to part of the Program, that part may be used separately
352under those permissions, but the entire Program remains governed by
353this License without regard to the additional permissions.
354
355 When you convey a copy of a covered work, you may at your option
356remove any additional permissions from that copy, or from any part of
357it. (Additional permissions may be written to require their own
358removal in certain cases when you modify the work.) You may place
359additional permissions on material, added by you to a covered work,
360for which you have or can give appropriate copyright permission.
361
362 Notwithstanding any other provision of this License, for material you
363add to a covered work, you may (if authorized by the copyright holders of
364that material) supplement the terms of this License with terms:
365
366 a) Disclaiming warranty or limiting liability differently from the
367 terms of sections 15 and 16 of this License; or
368
369 b) Requiring preservation of specified reasonable legal notices or
370 author attributions in that material or in the Appropriate Legal
371 Notices displayed by works containing it; or
372
373 c) Prohibiting misrepresentation of the origin of that material, or
374 requiring that modified versions of such material be marked in
375 reasonable ways as different from the original version; or
376
377 d) Limiting the use for publicity purposes of names of licensors or
378 authors of the material; or
379
380 e) Declining to grant rights under trademark law for use of some
381 trade names, trademarks, or service marks; or
382
383 f) Requiring indemnification of licensors and authors of that
384 material by anyone who conveys the material (or modified versions of
385 it) with contractual assumptions of liability to the recipient, for
386 any liability that these contractual assumptions directly impose on
387 those licensors and authors.
388
389 All other non-permissive additional terms are considered "further
390restrictions" within the meaning of section 10. If the Program as you
391received it, or any part of it, contains a notice stating that it is
392governed by this License along with a term that is a further
393restriction, you may remove that term. If a license document contains
394a further restriction but permits relicensing or conveying under this
395License, you may add to a covered work material governed by the terms
396of that license document, provided that the further restriction does
397not survive such relicensing or conveying.
398
399 If you add terms to a covered work in accord with this section, you
400must place, in the relevant source files, a statement of the
401additional terms that apply to those files, or a notice indicating
402where to find the applicable terms.
403
404 Additional terms, permissive or non-permissive, may be stated in the
405form of a separately written license, or stated as exceptions;
406the above requirements apply either way.
407
408 8. Termination.
409
410 You may not propagate or modify a covered work except as expressly
411provided under this License. Any attempt otherwise to propagate or
412modify it is void, and will automatically terminate your rights under
413this License (including any patent licenses granted under the third
414paragraph of section 11).
415
416 However, if you cease all violation of this License, then your
417license from a particular copyright holder is reinstated (a)
418provisionally, unless and until the copyright holder explicitly and
419finally terminates your license, and (b) permanently, if the copyright
420holder fails to notify you of the violation by some reasonable means
421prior to 60 days after the cessation.
422
423 Moreover, your license from a particular copyright holder is
424reinstated permanently if the copyright holder notifies you of the
425violation by some reasonable means, this is the first time you have
426received notice of violation of this License (for any work) from that
427copyright holder, and you cure the violation prior to 30 days after
428your receipt of the notice.
429
430 Termination of your rights under this section does not terminate the
431licenses of parties who have received copies or rights from you under
432this License. If your rights have been terminated and not permanently
433reinstated, you do not qualify to receive new licenses for the same
434material under section 10.
435
436 9. Acceptance Not Required for Having Copies.
437
438 You are not required to accept this License in order to receive or
439run a copy of the Program. Ancillary propagation of a covered work
440occurring solely as a consequence of using peer-to-peer transmission
441to receive a copy likewise does not require acceptance. However,
442nothing other than this License grants you permission to propagate or
443modify any covered work. These actions infringe copyright if you do
444not accept this License. Therefore, by modifying or propagating a
445covered work, you indicate your acceptance of this License to do so.
446
447 10. Automatic Licensing of Downstream Recipients.
448
449 Each time you convey a covered work, the recipient automatically
450receives a license from the original licensors, to run, modify and
451propagate that work, subject to this License. You are not responsible
452for enforcing compliance by third parties with this License.
453
454 An "entity transaction" is a transaction transferring control of an
455organization, or substantially all assets of one, or subdividing an
456organization, or merging organizations. If propagation of a covered
457work results from an entity transaction, each party to that
458transaction who receives a copy of the work also receives whatever
459licenses to the work the party's predecessor in interest had or could
460give under the previous paragraph, plus a right to possession of the
461Corresponding Source of the work from the predecessor in interest, if
462the predecessor has it or can get it with reasonable efforts.
463
464 You may not impose any further restrictions on the exercise of the
465rights granted or affirmed under this License. For example, you may
466not impose a license fee, royalty, or other charge for exercise of
467rights granted under this License, and you may not initiate litigation
468(including a cross-claim or counterclaim in a lawsuit) alleging that
469any patent claim is infringed by making, using, selling, offering for
470sale, or importing the Program or any portion of it.
471
472 11. Patents.
473
474 A "contributor" is a copyright holder who authorizes use under this
475License of the Program or a work on which the Program is based. The
476work thus licensed is called the contributor's "contributor version".
477
478 A contributor's "essential patent claims" are all patent claims
479owned or controlled by the contributor, whether already acquired or
480hereafter acquired, that would be infringed by some manner, permitted
481by this License, of making, using, or selling its contributor version,
482but do not include claims that would be infringed only as a
483consequence of further modification of the contributor version. For
484purposes of this definition, "control" includes the right to grant
485patent sublicenses in a manner consistent with the requirements of
486this License.
487
488 Each contributor grants you a non-exclusive, worldwide, royalty-free
489patent license under the contributor's essential patent claims, to
490make, use, sell, offer for sale, import and otherwise run, modify and
491propagate the contents of its contributor version.
492
493 In the following three paragraphs, a "patent license" is any express
494agreement or commitment, however denominated, not to enforce a patent
495(such as an express permission to practice a patent or covenant not to
496sue for patent infringement). To "grant" such a patent license to a
497party means to make such an agreement or commitment not to enforce a
498patent against the party.
499
500 If you convey a covered work, knowingly relying on a patent license,
501and the Corresponding Source of the work is not available for anyone
502to copy, free of charge and under the terms of this License, through a
503publicly available network server or other readily accessible means,
504then you must either (1) cause the Corresponding Source to be so
505available, or (2) arrange to deprive yourself of the benefit of the
506patent license for this particular work, or (3) arrange, in a manner
507consistent with the requirements of this License, to extend the patent
508license to downstream recipients. "Knowingly relying" means you have
509actual knowledge that, but for the patent license, your conveying the
510covered work in a country, or your recipient's use of the covered work
511in a country, would infringe one or more identifiable patents in that
512country that you have reason to believe are valid.
513
514 If, pursuant to or in connection with a single transaction or
515arrangement, you convey, or propagate by procuring conveyance of, a
516covered work, and grant a patent license to some of the parties
517receiving the covered work authorizing them to use, propagate, modify
518or convey a specific copy of the covered work, then the patent license
519you grant is automatically extended to all recipients of the covered
520work and works based on it.
521
522 A patent license is "discriminatory" if it does not include within
523the scope of its coverage, prohibits the exercise of, or is
524conditioned on the non-exercise of one or more of the rights that are
525specifically granted under this License. You may not convey a covered
526work if you are a party to an arrangement with a third party that is
527in the business of distributing software, under which you make payment
528to the third party based on the extent of your activity of conveying
529the work, and under which the third party grants, to any of the
530parties who would receive the covered work from you, a discriminatory
531patent license (a) in connection with copies of the covered work
532conveyed by you (or copies made from those copies), or (b) primarily
533for and in connection with specific products or compilations that
534contain the covered work, unless you entered into that arrangement,
535or that patent license was granted, prior to 28 March 2007.
536
537 Nothing in this License shall be construed as excluding or limiting
538any implied license or other defenses to infringement that may
539otherwise be available to you under applicable patent law.
540
541 12. No Surrender of Others' Freedom.
542
543 If conditions are imposed on you (whether by court order, agreement or
544otherwise) that contradict the conditions of this License, they do not
545excuse you from the conditions of this License. If you cannot convey a
546covered work so as to satisfy simultaneously your obligations under this
547License and any other pertinent obligations, then as a consequence you may
548not convey it at all. For example, if you agree to terms that obligate you
549to collect a royalty for further conveying from those to whom you convey
550the Program, the only way you could satisfy both those terms and this
551License would be to refrain entirely from conveying the Program.
552
553 13. Use with the GNU Affero General Public License.
554
555 Notwithstanding any other provision of this License, you have
556permission to link or combine any covered work with a work licensed
557under version 3 of the GNU Affero General Public License into a single
558combined work, and to convey the resulting work. The terms of this
559License will continue to apply to the part which is the covered work,
560but the special requirements of the GNU Affero General Public License,
561section 13, concerning interaction through a network will apply to the
562combination as such.
563
564 14. Revised Versions of this License.
565
566 The Free Software Foundation may publish revised and/or new versions of
567the GNU General Public License from time to time. Such new versions will
568be similar in spirit to the present version, but may differ in detail to
569address new problems or concerns.
570
571 Each version is given a distinguishing version number. If the
572Program specifies that a certain numbered version of the GNU General
573Public License "or any later version" applies to it, you have the
574option of following the terms and conditions either of that numbered
575version or of any later version published by the Free Software
576Foundation. If the Program does not specify a version number of the
577GNU General Public License, you may choose any version ever published
578by the Free Software Foundation.
579
580 If the Program specifies that a proxy can decide which future
581versions of the GNU General Public License can be used, that proxy's
582public statement of acceptance of a version permanently authorizes you
583to choose that version for the Program.
584
585 Later license versions may give you additional or different
586permissions. However, no additional obligations are imposed on any
587author or copyright holder as a result of your choosing to follow a
588later version.
589
590 15. Disclaimer of Warranty.
591
592 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
593APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
594HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
595OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
596THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
597PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
598IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
599ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
600
601 16. Limitation of Liability.
602
603 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
604WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
605THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
606GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
607USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
608DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
609PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
610EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
611SUCH DAMAGES.
612
613 17. Interpretation of Sections 15 and 16.
614
615 If the disclaimer of warranty and limitation of liability provided
616above cannot be given local legal effect according to their terms,
617reviewing courts shall apply local law that most closely approximates
618an absolute waiver of all civil liability in connection with the
619Program, unless a warranty or assumption of liability accompanies a
620copy of the Program in return for a fee.
621
622 END OF TERMS AND CONDITIONS
623
624 How to Apply These Terms to Your New Programs
625
626 If you develop a new program, and you want it to be of the greatest
627possible use to the public, the best way to achieve this is to make it
628free software which everyone can redistribute and change under these terms.
629
630 To do so, attach the following notices to the program. It is safest
631to attach them to the start of each source file to most effectively
632state the exclusion of warranty; and each file should have at least
633the "copyright" line and a pointer to where the full notice is found.
634
635 <one line to give the program's name and a brief idea of what it does.>
636 Copyright (C) <year> <name of author>
637
638 This program is free software: you can redistribute it and/or modify
639 it under the terms of the GNU General Public License as published by
640 the Free Software Foundation, either version 3 of the License, or
641 (at your option) any later version.
642
643 This program is distributed in the hope that it will be useful,
644 but WITHOUT ANY WARRANTY; without even the implied warranty of
645 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
646 GNU General Public License for more details.
647
648 You should have received a copy of the GNU General Public License
649 along with this program. If not, see <http://www.gnu.org/licenses/>.
650
651Also add information on how to contact you by electronic and paper mail.
652
653 If the program does terminal interaction, make it output a short
654notice like this when it starts in an interactive mode:
655
656 <program> Copyright (C) <year> <name of author>
657 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
658 This is free software, and you are welcome to redistribute it
659 under certain conditions; type `show c' for details.
660
661The hypothetical commands `show w' and `show c' should show the appropriate
662parts of the General Public License. Of course, your program's commands
663might be different; for a GUI interface, you would use an "about box".
664
665 You should also get your employer (if you work as a programmer) or school,
666if any, to sign a "copyright disclaimer" for the program, if necessary.
667For more information on this, and how to apply and follow the GNU GPL, see
668<http://www.gnu.org/licenses/>.
669
670 The GNU General Public License does not permit incorporating your program
671into proprietary programs. If your program is a subroutine library, you
672may consider it more useful to permit linking proprietary applications with
673the library. If this is what you want to do, use the GNU Lesser General
674Public License instead of this License. But first, please read
675<http://www.gnu.org/philosophy/why-not-lgpl.html>.
676
diff --git a/meta/files/common-licenses/LGPL b/meta/files/common-licenses/LGPL
new file mode 100644
index 0000000000..fc8a5de7ed
--- /dev/null
+++ b/meta/files/common-licenses/LGPL
@@ -0,0 +1,165 @@
1 GNU LESSER GENERAL PUBLIC LICENSE
2 Version 3, 29 June 2007
3
4 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5 Everyone is permitted to copy and distribute verbatim copies
6 of this license document, but changing it is not allowed.
7
8
9 This version of the GNU Lesser General Public License incorporates
10the terms and conditions of version 3 of the GNU General Public
11License, supplemented by the additional permissions listed below.
12
13 0. Additional Definitions.
14
15 As used herein, "this License" refers to version 3 of the GNU Lesser
16General Public License, and the "GNU GPL" refers to version 3 of the GNU
17General Public License.
18
19 "The Library" refers to a covered work governed by this License,
20other than an Application or a Combined Work as defined below.
21
22 An "Application" is any work that makes use of an interface provided
23by the Library, but which is not otherwise based on the Library.
24Defining a subclass of a class defined by the Library is deemed a mode
25of using an interface provided by the Library.
26
27 A "Combined Work" is a work produced by combining or linking an
28Application with the Library. The particular version of the Library
29with which the Combined Work was made is also called the "Linked
30Version".
31
32 The "Minimal Corresponding Source" for a Combined Work means the
33Corresponding Source for the Combined Work, excluding any source code
34for portions of the Combined Work that, considered in isolation, are
35based on the Application, and not on the Linked Version.
36
37 The "Corresponding Application Code" for a Combined Work means the
38object code and/or source code for the Application, including any data
39and utility programs needed for reproducing the Combined Work from the
40Application, but excluding the System Libraries of the Combined Work.
41
42 1. Exception to Section 3 of the GNU GPL.
43
44 You may convey a covered work under sections 3 and 4 of this License
45without being bound by section 3 of the GNU GPL.
46
47 2. Conveying Modified Versions.
48
49 If you modify a copy of the Library, and, in your modifications, a
50facility refers to a function or data to be supplied by an Application
51that uses the facility (other than as an argument passed when the
52facility is invoked), then you may convey a copy of the modified
53version:
54
55 a) under this License, provided that you make a good faith effort to
56 ensure that, in the event an Application does not supply the
57 function or data, the facility still operates, and performs
58 whatever part of its purpose remains meaningful, or
59
60 b) under the GNU GPL, with none of the additional permissions of
61 this License applicable to that copy.
62
63 3. Object Code Incorporating Material from Library Header Files.
64
65 The object code form of an Application may incorporate material from
66a header file that is part of the Library. You may convey such object
67code under terms of your choice, provided that, if the incorporated
68material is not limited to numerical parameters, data structure
69layouts and accessors, or small macros, inline functions and templates
70(ten or fewer lines in length), you do both of the following:
71
72 a) Give prominent notice with each copy of the object code that the
73 Library is used in it and that the Library and its use are
74 covered by this License.
75
76 b) Accompany the object code with a copy of the GNU GPL and this license
77 document.
78
79 4. Combined Works.
80
81 You may convey a Combined Work under terms of your choice that,
82taken together, effectively do not restrict modification of the
83portions of the Library contained in the Combined Work and reverse
84engineering for debugging such modifications, if you also do each of
85the following:
86
87 a) Give prominent notice with each copy of the Combined Work that
88 the Library is used in it and that the Library and its use are
89 covered by this License.
90
91 b) Accompany the Combined Work with a copy of the GNU GPL and this license
92 document.
93
94 c) For a Combined Work that displays copyright notices during
95 execution, include the copyright notice for the Library among
96 these notices, as well as a reference directing the user to the
97 copies of the GNU GPL and this license document.
98
99 d) Do one of the following:
100
101 0) Convey the Minimal Corresponding Source under the terms of this
102 License, and the Corresponding Application Code in a form
103 suitable for, and under terms that permit, the user to
104 recombine or relink the Application with a modified version of
105 the Linked Version to produce a modified Combined Work, in the
106 manner specified by section 6 of the GNU GPL for conveying
107 Corresponding Source.
108
109 1) Use a suitable shared library mechanism for linking with the
110 Library. A suitable mechanism is one that (a) uses at run time
111 a copy of the Library already present on the user's computer
112 system, and (b) will operate properly with a modified version
113 of the Library that is interface-compatible with the Linked
114 Version.
115
116 e) Provide Installation Information, but only if you would otherwise
117 be required to provide such information under section 6 of the
118 GNU GPL, and only to the extent that such information is
119 necessary to install and execute a modified version of the
120 Combined Work produced by recombining or relinking the
121 Application with a modified version of the Linked Version. (If
122 you use option 4d0, the Installation Information must accompany
123 the Minimal Corresponding Source and Corresponding Application
124 Code. If you use option 4d1, you must provide the Installation
125 Information in the manner specified by section 6 of the GNU GPL
126 for conveying Corresponding Source.)
127
128 5. Combined Libraries.
129
130 You may place library facilities that are a work based on the
131Library side by side in a single library together with other library
132facilities that are not Applications and are not covered by this
133License, and convey such a combined library under terms of your
134choice, if you do both of the following:
135
136 a) Accompany the combined library with a copy of the same work based
137 on the Library, uncombined with any other library facilities,
138 conveyed under the terms of this License.
139
140 b) Give prominent notice with the combined library that part of it
141 is a work based on the Library, and explaining where to find the
142 accompanying uncombined form of the same work.
143
144 6. Revised Versions of the GNU Lesser General Public License.
145
146 The Free Software Foundation may publish revised and/or new versions
147of the GNU Lesser General Public License from time to time. Such new
148versions will be similar in spirit to the present version, but may
149differ in detail to address new problems or concerns.
150
151 Each version is given a distinguishing version number. If the
152Library as you received it specifies that a certain numbered version
153of the GNU Lesser General Public License "or any later version"
154applies to it, you have the option of following the terms and
155conditions either of that published version or of any later version
156published by the Free Software Foundation. If the Library as you
157received it does not specify a version number of the GNU Lesser
158General Public License, you may choose any version of the GNU Lesser
159General Public License ever published by the Free Software Foundation.
160
161 If the Library as you received it specifies that a proxy can decide
162whether future versions of the GNU Lesser General Public License shall
163apply, that proxy's public statement of acceptance of any version is
164permanent authorization for you to choose that version for the
165Library.
diff --git a/meta/files/common-licenses/LGPLv2 b/meta/files/common-licenses/LGPLv2
new file mode 100644
index 0000000000..2676d08aec
--- /dev/null
+++ b/meta/files/common-licenses/LGPLv2
@@ -0,0 +1,481 @@
1 GNU LIBRARY GENERAL PUBLIC LICENSE
2 Version 2, June 1991
3
4 Copyright (C) 1991 Free Software Foundation, Inc.
5 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
6 Everyone is permitted to copy and distribute verbatim copies
7 of this license document, but changing it is not allowed.
8
9[This is the first released version of the library GPL. It is
10 numbered 2 because it goes with version 2 of the ordinary GPL.]
11
12 Preamble
13
14 The licenses for most software are designed to take away your
15freedom to share and change it. By contrast, the GNU General Public
16Licenses are intended to guarantee your freedom to share and change
17free software--to make sure the software is free for all its users.
18
19 This license, the Library General Public License, applies to some
20specially designated Free Software Foundation software, and to any
21other libraries whose authors decide to use it. You can use it for
22your libraries, too.
23
24 When we speak of free software, we are referring to freedom, not
25price. Our General Public Licenses are designed to make sure that you
26have the freedom to distribute copies of free software (and charge for
27this service if you wish), that you receive source code or can get it
28if you want it, that you can change the software or use pieces of it
29in new free programs; and that you know you can do these things.
30
31 To protect your rights, we need to make restrictions that forbid
32anyone to deny you these rights or to ask you to surrender the rights.
33These restrictions translate to certain responsibilities for you if
34you distribute copies of the library, or if you modify it.
35
36 For example, if you distribute copies of the library, whether gratis
37or for a fee, you must give the recipients all the rights that we gave
38you. You must make sure that they, too, receive or can get the source
39code. If you link a program with the library, you must provide
40complete object files to the recipients so that they can relink them
41with the library, after making changes to the library and recompiling
42it. And you must show them these terms so they know their rights.
43
44 Our method of protecting your rights has two steps: (1) copyright
45the library, and (2) offer you this license which gives you legal
46permission to copy, distribute and/or modify the library.
47
48 Also, for each distributor's protection, we want to make certain
49that everyone understands that there is no warranty for this free
50library. If the library is modified by someone else and passed on, we
51want its recipients to know that what they have is not the original
52version, so that any problems introduced by others will not reflect on
53the original authors' reputations.
54
55 Finally, any free program is threatened constantly by software
56patents. We wish to avoid the danger that companies distributing free
57software will individually obtain patent licenses, thus in effect
58transforming the program into proprietary software. To prevent this,
59we have made it clear that any patent must be licensed for everyone's
60free use or not licensed at all.
61
62 Most GNU software, including some libraries, is covered by the ordinary
63GNU General Public License, which was designed for utility programs. This
64license, the GNU Library General Public License, applies to certain
65designated libraries. This license is quite different from the ordinary
66one; be sure to read it in full, and don't assume that anything in it is
67the same as in the ordinary license.
68
69 The reason we have a separate public license for some libraries is that
70they blur the distinction we usually make between modifying or adding to a
71program and simply using it. Linking a program with a library, without
72changing the library, is in some sense simply using the library, and is
73analogous to running a utility program or application program. However, in
74a textual and legal sense, the linked executable is a combined work, a
75derivative of the original library, and the ordinary General Public License
76treats it as such.
77
78 Because of this blurred distinction, using the ordinary General
79Public License for libraries did not effectively promote software
80sharing, because most developers did not use the libraries. We
81concluded that weaker conditions might promote sharing better.
82
83 However, unrestricted linking of non-free programs would deprive the
84users of those programs of all benefit from the free status of the
85libraries themselves. This Library General Public License is intended to
86permit developers of non-free programs to use free libraries, while
87preserving your freedom as a user of such programs to change the free
88libraries that are incorporated in them. (We have not seen how to achieve
89this as regards changes in header files, but we have achieved it as regards
90changes in the actual functions of the Library.) The hope is that this
91will lead to faster development of free libraries.
92
93 The precise terms and conditions for copying, distribution and
94modification follow. Pay close attention to the difference between a
95"work based on the library" and a "work that uses the library". The
96former contains code derived from the library, while the latter only
97works together with the library.
98
99 Note that it is possible for a library to be covered by the ordinary
100General Public License rather than by this special one.
101
102 GNU LIBRARY GENERAL PUBLIC LICENSE
103 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
104
105 0. This License Agreement applies to any software library which
106contains a notice placed by the copyright holder or other authorized
107party saying it may be distributed under the terms of this Library
108General Public License (also called "this License"). Each licensee is
109addressed as "you".
110
111 A "library" means a collection of software functions and/or data
112prepared so as to be conveniently linked with application programs
113(which use some of those functions and data) to form executables.
114
115 The "Library", below, refers to any such software library or work
116which has been distributed under these terms. A "work based on the
117Library" means either the Library or any derivative work under
118copyright law: that is to say, a work containing the Library or a
119portion of it, either verbatim or with modifications and/or translated
120straightforwardly into another language. (Hereinafter, translation is
121included without limitation in the term "modification".)
122
123 "Source code" for a work means the preferred form of the work for
124making modifications to it. For a library, complete source code means
125all the source code for all modules it contains, plus any associated
126interface definition files, plus the scripts used to control compilation
127and installation of the library.
128
129 Activities other than copying, distribution and modification are not
130covered by this License; they are outside its scope. The act of
131running a program using the Library is not restricted, and output from
132such a program is covered only if its contents constitute a work based
133on the Library (independent of the use of the Library in a tool for
134writing it). Whether that is true depends on what the Library does
135and what the program that uses the Library does.
136
137 1. You may copy and distribute verbatim copies of the Library's
138complete source code as you receive it, in any medium, provided that
139you conspicuously and appropriately publish on each copy an
140appropriate copyright notice and disclaimer of warranty; keep intact
141all the notices that refer to this License and to the absence of any
142warranty; and distribute a copy of this License along with the
143Library.
144
145 You may charge a fee for the physical act of transferring a copy,
146and you may at your option offer warranty protection in exchange for a
147fee.
148
149 2. You may modify your copy or copies of the Library or any portion
150of it, thus forming a work based on the Library, and copy and
151distribute such modifications or work under the terms of Section 1
152above, provided that you also meet all of these conditions:
153
154 a) The modified work must itself be a software library.
155
156 b) You must cause the files modified to carry prominent notices
157 stating that you changed the files and the date of any change.
158
159 c) You must cause the whole of the work to be licensed at no
160 charge to all third parties under the terms of this License.
161
162 d) If a facility in the modified Library refers to a function or a
163 table of data to be supplied by an application program that uses
164 the facility, other than as an argument passed when the facility
165 is invoked, then you must make a good faith effort to ensure that,
166 in the event an application does not supply such function or
167 table, the facility still operates, and performs whatever part of
168 its purpose remains meaningful.
169
170 (For example, a function in a library to compute square roots has
171 a purpose that is entirely well-defined independent of the
172 application. Therefore, Subsection 2d requires that any
173 application-supplied function or table used by this function must
174 be optional: if the application does not supply it, the square
175 root function must still compute square roots.)
176
177These requirements apply to the modified work as a whole. If
178identifiable sections of that work are not derived from the Library,
179and can be reasonably considered independent and separate works in
180themselves, then this License, and its terms, do not apply to those
181sections when you distribute them as separate works. But when you
182distribute the same sections as part of a whole which is a work based
183on the Library, the distribution of the whole must be on the terms of
184this License, whose permissions for other licensees extend to the
185entire whole, and thus to each and every part regardless of who wrote
186it.
187
188Thus, it is not the intent of this section to claim rights or contest
189your rights to work written entirely by you; rather, the intent is to
190exercise the right to control the distribution of derivative or
191collective works based on the Library.
192
193In addition, mere aggregation of another work not based on the Library
194with the Library (or with a work based on the Library) on a volume of
195a storage or distribution medium does not bring the other work under
196the scope of this License.
197
198 3. You may opt to apply the terms of the ordinary GNU General Public
199License instead of this License to a given copy of the Library. To do
200this, you must alter all the notices that refer to this License, so
201that they refer to the ordinary GNU General Public License, version 2,
202instead of to this License. (If a newer version than version 2 of the
203ordinary GNU General Public License has appeared, then you can specify
204that version instead if you wish.) Do not make any other change in
205these notices.
206
207 Once this change is made in a given copy, it is irreversible for
208that copy, so the ordinary GNU General Public License applies to all
209subsequent copies and derivative works made from that copy.
210
211 This option is useful when you wish to copy part of the code of
212the Library into a program that is not a library.
213
214 4. You may copy and distribute the Library (or a portion or
215derivative of it, under Section 2) in object code or executable form
216under the terms of Sections 1 and 2 above provided that you accompany
217it with the complete corresponding machine-readable source code, which
218must be distributed under the terms of Sections 1 and 2 above on a
219medium customarily used for software interchange.
220
221 If distribution of object code is made by offering access to copy
222from a designated place, then offering equivalent access to copy the
223source code from the same place satisfies the requirement to
224distribute the source code, even though third parties are not
225compelled to copy the source along with the object code.
226
227 5. A program that contains no derivative of any portion of the
228Library, but is designed to work with the Library by being compiled or
229linked with it, is called a "work that uses the Library". Such a
230work, in isolation, is not a derivative work of the Library, and
231therefore falls outside the scope of this License.
232
233 However, linking a "work that uses the Library" with the Library
234creates an executable that is a derivative of the Library (because it
235contains portions of the Library), rather than a "work that uses the
236library". The executable is therefore covered by this License.
237Section 6 states terms for distribution of such executables.
238
239 When a "work that uses the Library" uses material from a header file
240that is part of the Library, the object code for the work may be a
241derivative work of the Library even though the source code is not.
242Whether this is true is especially significant if the work can be
243linked without the Library, or if the work is itself a library. The
244threshold for this to be true is not precisely defined by law.
245
246 If such an object file uses only numerical parameters, data
247structure layouts and accessors, and small macros and small inline
248functions (ten lines or less in length), then the use of the object
249file is unrestricted, regardless of whether it is legally a derivative
250work. (Executables containing this object code plus portions of the
251Library will still fall under Section 6.)
252
253 Otherwise, if the work is a derivative of the Library, you may
254distribute the object code for the work under the terms of Section 6.
255Any executables containing that work also fall under Section 6,
256whether or not they are linked directly with the Library itself.
257
258 6. As an exception to the Sections above, you may also compile or
259link a "work that uses the Library" with the Library to produce a
260work containing portions of the Library, and distribute that work
261under terms of your choice, provided that the terms permit
262modification of the work for the customer's own use and reverse
263engineering for debugging such modifications.
264
265 You must give prominent notice with each copy of the work that the
266Library is used in it and that the Library and its use are covered by
267this License. You must supply a copy of this License. If the work
268during execution displays copyright notices, you must include the
269copyright notice for the Library among them, as well as a reference
270directing the user to the copy of this License. Also, you must do one
271of these things:
272
273 a) Accompany the work with the complete corresponding
274 machine-readable source code for the Library including whatever
275 changes were used in the work (which must be distributed under
276 Sections 1 and 2 above); and, if the work is an executable linked
277 with the Library, with the complete machine-readable "work that
278 uses the Library", as object code and/or source code, so that the
279 user can modify the Library and then relink to produce a modified
280 executable containing the modified Library. (It is understood
281 that the user who changes the contents of definitions files in the
282 Library will not necessarily be able to recompile the application
283 to use the modified definitions.)
284
285 b) Accompany the work with a written offer, valid for at
286 least three years, to give the same user the materials
287 specified in Subsection 6a, above, for a charge no more
288 than the cost of performing this distribution.
289
290 c) If distribution of the work is made by offering access to copy
291 from a designated place, offer equivalent access to copy the above
292 specified materials from the same place.
293
294 d) Verify that the user has already received a copy of these
295 materials or that you have already sent this user a copy.
296
297 For an executable, the required form of the "work that uses the
298Library" must include any data and utility programs needed for
299reproducing the executable from it. However, as a special exception,
300the source code distributed need not include anything that is normally
301distributed (in either source or binary form) with the major
302components (compiler, kernel, and so on) of the operating system on
303which the executable runs, unless that component itself accompanies
304the executable.
305
306 It may happen that this requirement contradicts the license
307restrictions of other proprietary libraries that do not normally
308accompany the operating system. Such a contradiction means you cannot
309use both them and the Library together in an executable that you
310distribute.
311
312 7. You may place library facilities that are a work based on the
313Library side-by-side in a single library together with other library
314facilities not covered by this License, and distribute such a combined
315library, provided that the separate distribution of the work based on
316the Library and of the other library facilities is otherwise
317permitted, and provided that you do these two things:
318
319 a) Accompany the combined library with a copy of the same work
320 based on the Library, uncombined with any other library
321 facilities. This must be distributed under the terms of the
322 Sections above.
323
324 b) Give prominent notice with the combined library of the fact
325 that part of it is a work based on the Library, and explaining
326 where to find the accompanying uncombined form of the same work.
327
328 8. You may not copy, modify, sublicense, link with, or distribute
329the Library except as expressly provided under this License. Any
330attempt otherwise to copy, modify, sublicense, link with, or
331distribute the Library is void, and will automatically terminate your
332rights under this License. However, parties who have received copies,
333or rights, from you under this License will not have their licenses
334terminated so long as such parties remain in full compliance.
335
336 9. You are not required to accept this License, since you have not
337signed it. However, nothing else grants you permission to modify or
338distribute the Library or its derivative works. These actions are
339prohibited by law if you do not accept this License. Therefore, by
340modifying or distributing the Library (or any work based on the
341Library), you indicate your acceptance of this License to do so, and
342all its terms and conditions for copying, distributing or modifying
343the Library or works based on it.
344
345 10. Each time you redistribute the Library (or any work based on the
346Library), the recipient automatically receives a license from the
347original licensor to copy, distribute, link with or modify the Library
348subject to these terms and conditions. You may not impose any further
349restrictions on the recipients' exercise of the rights granted herein.
350You are not responsible for enforcing compliance by third parties to
351this License.
352
353 11. If, as a consequence of a court judgment or allegation of patent
354infringement or for any other reason (not limited to patent issues),
355conditions are imposed on you (whether by court order, agreement or
356otherwise) that contradict the conditions of this License, they do not
357excuse you from the conditions of this License. If you cannot
358distribute so as to satisfy simultaneously your obligations under this
359License and any other pertinent obligations, then as a consequence you
360may not distribute the Library at all. For example, if a patent
361license would not permit royalty-free redistribution of the Library by
362all those who receive copies directly or indirectly through you, then
363the only way you could satisfy both it and this License would be to
364refrain entirely from distribution of the Library.
365
366If any portion of this section is held invalid or unenforceable under any
367particular circumstance, the balance of the section is intended to apply,
368and the section as a whole is intended to apply in other circumstances.
369
370It is not the purpose of this section to induce you to infringe any
371patents or other property right claims or to contest validity of any
372such claims; this section has the sole purpose of protecting the
373integrity of the free software distribution system which is
374implemented by public license practices. Many people have made
375generous contributions to the wide range of software distributed
376through that system in reliance on consistent application of that
377system; it is up to the author/donor to decide if he or she is willing
378to distribute software through any other system and a licensee cannot
379impose that choice.
380
381This section is intended to make thoroughly clear what is believed to
382be a consequence of the rest of this License.
383
384 12. If the distribution and/or use of the Library is restricted in
385certain countries either by patents or by copyrighted interfaces, the
386original copyright holder who places the Library under this License may add
387an explicit geographical distribution limitation excluding those countries,
388so that distribution is permitted only in or among countries not thus
389excluded. In such case, this License incorporates the limitation as if
390written in the body of this License.
391
392 13. The Free Software Foundation may publish revised and/or new
393versions of the Library General Public License from time to time.
394Such new versions will be similar in spirit to the present version,
395but may differ in detail to address new problems or concerns.
396
397Each version is given a distinguishing version number. If the Library
398specifies a version number of this License which applies to it and
399"any later version", you have the option of following the terms and
400conditions either of that version or of any later version published by
401the Free Software Foundation. If the Library does not specify a
402license version number, you may choose any version ever published by
403the Free Software Foundation.
404
405 14. If you wish to incorporate parts of the Library into other free
406programs whose distribution conditions are incompatible with these,
407write to the author to ask for permission. For software which is
408copyrighted by the Free Software Foundation, write to the Free
409Software Foundation; we sometimes make exceptions for this. Our
410decision will be guided by the two goals of preserving the free status
411of all derivatives of our free software and of promoting the sharing
412and reuse of software generally.
413
414 NO WARRANTY
415
416 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
417WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
418EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
419OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
420KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
421IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
422PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
423LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
424THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
425
426 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
427WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
428AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
429FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
430CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
431LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
432RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
433FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
434SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
435DAMAGES.
436
437 END OF TERMS AND CONDITIONS
438
439 How to Apply These Terms to Your New Libraries
440
441 If you develop a new library, and you want it to be of the greatest
442possible use to the public, we recommend making it free software that
443everyone can redistribute and change. You can do so by permitting
444redistribution under these terms (or, alternatively, under the terms of the
445ordinary General Public License).
446
447 To apply these terms, attach the following notices to the library. It is
448safest to attach them to the start of each source file to most effectively
449convey the exclusion of warranty; and each file should have at least the
450"copyright" line and a pointer to where the full notice is found.
451
452 <one line to give the library's name and a brief idea of what it does.>
453 Copyright (C) <year> <name of author>
454
455 This library is free software; you can redistribute it and/or
456 modify it under the terms of the GNU Library General Public
457 License as published by the Free Software Foundation; either
458 version 2 of the License, or (at your option) any later version.
459
460 This library is distributed in the hope that it will be useful,
461 but WITHOUT ANY WARRANTY; without even the implied warranty of
462 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
463 Library General Public License for more details.
464
465 You should have received a copy of the GNU Library General Public
466 License along with this library; if not, write to the Free Software
467 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
468
469Also add information on how to contact you by electronic and paper mail.
470
471You should also get your employer (if you work as a programmer) or your
472school, if any, to sign a "copyright disclaimer" for the library, if
473necessary. Here is a sample; alter the names:
474
475 Yoyodyne, Inc., hereby disclaims all copyright interest in the
476 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
477
478 <signature of Ty Coon>, 1 April 1990
479 Ty Coon, President of Vice
480
481That's all there is to it!
diff --git a/meta/files/common-licenses/LGPLv2.1 b/meta/files/common-licenses/LGPLv2.1
new file mode 100644
index 0000000000..2d2d780e60
--- /dev/null
+++ b/meta/files/common-licenses/LGPLv2.1
@@ -0,0 +1,510 @@
1
2 GNU LESSER GENERAL PUBLIC LICENSE
3 Version 2.1, February 1999
4
5 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
6 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
7 Everyone is permitted to copy and distribute verbatim copies
8 of this license document, but changing it is not allowed.
9
10[This is the first released version of the Lesser GPL. It also counts
11 as the successor of the GNU Library Public License, version 2, hence
12 the version number 2.1.]
13
14 Preamble
15
16 The licenses for most software are designed to take away your
17freedom to share and change it. By contrast, the GNU General Public
18Licenses are intended to guarantee your freedom to share and change
19free software--to make sure the software is free for all its users.
20
21 This license, the Lesser General Public License, applies to some
22specially designated software packages--typically libraries--of the
23Free Software Foundation and other authors who decide to use it. You
24can use it too, but we suggest you first think carefully about whether
25this license or the ordinary General Public License is the better
26strategy to use in any particular case, based on the explanations
27below.
28
29 When we speak of free software, we are referring to freedom of use,
30not price. Our General Public Licenses are designed to make sure that
31you have the freedom to distribute copies of free software (and charge
32for this service if you wish); that you receive source code or can get
33it if you want it; that you can change the software and use pieces of
34it in new free programs; and that you are informed that you can do
35these things.
36
37 To protect your rights, we need to make restrictions that forbid
38distributors to deny you these rights or to ask you to surrender these
39rights. These restrictions translate to certain responsibilities for
40you if you distribute copies of the library or if you modify it.
41
42 For example, if you distribute copies of the library, whether gratis
43or for a fee, you must give the recipients all the rights that we gave
44you. You must make sure that they, too, receive or can get the source
45code. If you link other code with the library, you must provide
46complete object files to the recipients, so that they can relink them
47with the library after making changes to the library and recompiling
48it. And you must show them these terms so they know their rights.
49
50 We protect your rights with a two-step method: (1) we copyright the
51library, and (2) we offer you this license, which gives you legal
52permission to copy, distribute and/or modify the library.
53
54 To protect each distributor, we want to make it very clear that
55there is no warranty for the free library. Also, if the library is
56modified by someone else and passed on, the recipients should know
57that what they have is not the original version, so that the original
58author's reputation will not be affected by problems that might be
59introduced by others.
60
61 Finally, software patents pose a constant threat to the existence of
62any free program. We wish to make sure that a company cannot
63effectively restrict the users of a free program by obtaining a
64restrictive license from a patent holder. Therefore, we insist that
65any patent license obtained for a version of the library must be
66consistent with the full freedom of use specified in this license.
67
68 Most GNU software, including some libraries, is covered by the
69ordinary GNU General Public License. This license, the GNU Lesser
70General Public License, applies to certain designated libraries, and
71is quite different from the ordinary General Public License. We use
72this license for certain libraries in order to permit linking those
73libraries into non-free programs.
74
75 When a program is linked with a library, whether statically or using
76a shared library, the combination of the two is legally speaking a
77combined work, a derivative of the original library. The ordinary
78General Public License therefore permits such linking only if the
79entire combination fits its criteria of freedom. The Lesser General
80Public License permits more lax criteria for linking other code with
81the library.
82
83 We call this license the "Lesser" General Public License because it
84does Less to protect the user's freedom than the ordinary General
85Public License. It also provides other free software developers Less
86of an advantage over competing non-free programs. These disadvantages
87are the reason we use the ordinary General Public License for many
88libraries. However, the Lesser license provides advantages in certain
89special circumstances.
90
91 For example, on rare occasions, there may be a special need to
92encourage the widest possible use of a certain library, so that it
93becomes a de-facto standard. To achieve this, non-free programs must
94be allowed to use the library. A more frequent case is that a free
95library does the same job as widely used non-free libraries. In this
96case, there is little to gain by limiting the free library to free
97software only, so we use the Lesser General Public License.
98
99 In other cases, permission to use a particular library in non-free
100programs enables a greater number of people to use a large body of
101free software. For example, permission to use the GNU C Library in
102non-free programs enables many more people to use the whole GNU
103operating system, as well as its variant, the GNU/Linux operating
104system.
105
106 Although the Lesser General Public License is Less protective of the
107users' freedom, it does ensure that the user of a program that is
108linked with the Library has the freedom and the wherewithal to run
109that program using a modified version of the Library.
110
111 The precise terms and conditions for copying, distribution and
112modification follow. Pay close attention to the difference between a
113"work based on the library" and a "work that uses the library". The
114former contains code derived from the library, whereas the latter must
115be combined with the library in order to run.
116
117 GNU LESSER GENERAL PUBLIC LICENSE
118 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
119
120 0. This License Agreement applies to any software library or other
121program which contains a notice placed by the copyright holder or
122other authorized party saying it may be distributed under the terms of
123this Lesser General Public License (also called "this License").
124Each licensee is addressed as "you".
125
126 A "library" means a collection of software functions and/or data
127prepared so as to be conveniently linked with application programs
128(which use some of those functions and data) to form executables.
129
130 The "Library", below, refers to any such software library or work
131which has been distributed under these terms. A "work based on the
132Library" means either the Library or any derivative work under
133copyright law: that is to say, a work containing the Library or a
134portion of it, either verbatim or with modifications and/or translated
135straightforwardly into another language. (Hereinafter, translation is
136included without limitation in the term "modification".)
137
138 "Source code" for a work means the preferred form of the work for
139making modifications to it. For a library, complete source code means
140all the source code for all modules it contains, plus any associated
141interface definition files, plus the scripts used to control
142compilation and installation of the library.
143
144 Activities other than copying, distribution and modification are not
145covered by this License; they are outside its scope. The act of
146running a program using the Library is not restricted, and output from
147such a program is covered only if its contents constitute a work based
148on the Library (independent of the use of the Library in a tool for
149writing it). Whether that is true depends on what the Library does
150and what the program that uses the Library does.
151
152 1. You may copy and distribute verbatim copies of the Library's
153complete source code as you receive it, in any medium, provided that
154you conspicuously and appropriately publish on each copy an
155appropriate copyright notice and disclaimer of warranty; keep intact
156all the notices that refer to this License and to the absence of any
157warranty; and distribute a copy of this License along with the
158Library.
159
160 You may charge a fee for the physical act of transferring a copy,
161and you may at your option offer warranty protection in exchange for a
162fee.
163
164 2. You may modify your copy or copies of the Library or any portion
165of it, thus forming a work based on the Library, and copy and
166distribute such modifications or work under the terms of Section 1
167above, provided that you also meet all of these conditions:
168
169 a) The modified work must itself be a software library.
170
171 b) You must cause the files modified to carry prominent notices
172 stating that you changed the files and the date of any change.
173
174 c) You must cause the whole of the work to be licensed at no
175 charge to all third parties under the terms of this License.
176
177 d) If a facility in the modified Library refers to a function or a
178 table of data to be supplied by an application program that uses
179 the facility, other than as an argument passed when the facility
180 is invoked, then you must make a good faith effort to ensure that,
181 in the event an application does not supply such function or
182 table, the facility still operates, and performs whatever part of
183 its purpose remains meaningful.
184
185 (For example, a function in a library to compute square roots has
186 a purpose that is entirely well-defined independent of the
187 application. Therefore, Subsection 2d requires that any
188 application-supplied function or table used by this function must
189 be optional: if the application does not supply it, the square
190 root function must still compute square roots.)
191
192These requirements apply to the modified work as a whole. If
193identifiable sections of that work are not derived from the Library,
194and can be reasonably considered independent and separate works in
195themselves, then this License, and its terms, do not apply to those
196sections when you distribute them as separate works. But when you
197distribute the same sections as part of a whole which is a work based
198on the Library, the distribution of the whole must be on the terms of
199this License, whose permissions for other licensees extend to the
200entire whole, and thus to each and every part regardless of who wrote
201it.
202
203Thus, it is not the intent of this section to claim rights or contest
204your rights to work written entirely by you; rather, the intent is to
205exercise the right to control the distribution of derivative or
206collective works based on the Library.
207
208In addition, mere aggregation of another work not based on the Library
209with the Library (or with a work based on the Library) on a volume of
210a storage or distribution medium does not bring the other work under
211the scope of this License.
212
213 3. You may opt to apply the terms of the ordinary GNU General Public
214License instead of this License to a given copy of the Library. To do
215this, you must alter all the notices that refer to this License, so
216that they refer to the ordinary GNU General Public License, version 2,
217instead of to this License. (If a newer version than version 2 of the
218ordinary GNU General Public License has appeared, then you can specify
219that version instead if you wish.) Do not make any other change in
220these notices.
221
222 Once this change is made in a given copy, it is irreversible for
223that copy, so the ordinary GNU General Public License applies to all
224subsequent copies and derivative works made from that copy.
225
226 This option is useful when you wish to copy part of the code of
227the Library into a program that is not a library.
228
229 4. You may copy and distribute the Library (or a portion or
230derivative of it, under Section 2) in object code or executable form
231under the terms of Sections 1 and 2 above provided that you accompany
232it with the complete corresponding machine-readable source code, which
233must be distributed under the terms of Sections 1 and 2 above on a
234medium customarily used for software interchange.
235
236 If distribution of object code is made by offering access to copy
237from a designated place, then offering equivalent access to copy the
238source code from the same place satisfies the requirement to
239distribute the source code, even though third parties are not
240compelled to copy the source along with the object code.
241
242 5. A program that contains no derivative of any portion of the
243Library, but is designed to work with the Library by being compiled or
244linked with it, is called a "work that uses the Library". Such a
245work, in isolation, is not a derivative work of the Library, and
246therefore falls outside the scope of this License.
247
248 However, linking a "work that uses the Library" with the Library
249creates an executable that is a derivative of the Library (because it
250contains portions of the Library), rather than a "work that uses the
251library". The executable is therefore covered by this License.
252Section 6 states terms for distribution of such executables.
253
254 When a "work that uses the Library" uses material from a header file
255that is part of the Library, the object code for the work may be a
256derivative work of the Library even though the source code is not.
257Whether this is true is especially significant if the work can be
258linked without the Library, or if the work is itself a library. The
259threshold for this to be true is not precisely defined by law.
260
261 If such an object file uses only numerical parameters, data
262structure layouts and accessors, and small macros and small inline
263functions (ten lines or less in length), then the use of the object
264file is unrestricted, regardless of whether it is legally a derivative
265work. (Executables containing this object code plus portions of the
266Library will still fall under Section 6.)
267
268 Otherwise, if the work is a derivative of the Library, you may
269distribute the object code for the work under the terms of Section 6.
270Any executables containing that work also fall under Section 6,
271whether or not they are linked directly with the Library itself.
272
273 6. As an exception to the Sections above, you may also combine or
274link a "work that uses the Library" with the Library to produce a
275work containing portions of the Library, and distribute that work
276under terms of your choice, provided that the terms permit
277modification of the work for the customer's own use and reverse
278engineering for debugging such modifications.
279
280 You must give prominent notice with each copy of the work that the
281Library is used in it and that the Library and its use are covered by
282this License. You must supply a copy of this License. If the work
283during execution displays copyright notices, you must include the
284copyright notice for the Library among them, as well as a reference
285directing the user to the copy of this License. Also, you must do one
286of these things:
287
288 a) Accompany the work with the complete corresponding
289 machine-readable source code for the Library including whatever
290 changes were used in the work (which must be distributed under
291 Sections 1 and 2 above); and, if the work is an executable linked
292 with the Library, with the complete machine-readable "work that
293 uses the Library", as object code and/or source code, so that the
294 user can modify the Library and then relink to produce a modified
295 executable containing the modified Library. (It is understood
296 that the user who changes the contents of definitions files in the
297 Library will not necessarily be able to recompile the application
298 to use the modified definitions.)
299
300 b) Use a suitable shared library mechanism for linking with the
301 Library. A suitable mechanism is one that (1) uses at run time a
302 copy of the library already present on the user's computer system,
303 rather than copying library functions into the executable, and (2)
304 will operate properly with a modified version of the library, if
305 the user installs one, as long as the modified version is
306 interface-compatible with the version that the work was made with.
307
308 c) Accompany the work with a written offer, valid for at least
309 three years, to give the same user the materials specified in
310 Subsection 6a, above, for a charge no more than the cost of
311 performing this distribution.
312
313 d) If distribution of the work is made by offering access to copy
314 from a designated place, offer equivalent access to copy the above
315 specified materials from the same place.
316
317 e) Verify that the user has already received a copy of these
318 materials or that you have already sent this user a copy.
319
320 For an executable, the required form of the "work that uses the
321Library" must include any data and utility programs needed for
322reproducing the executable from it. However, as a special exception,
323the materials to be distributed need not include anything that is
324normally distributed (in either source or binary form) with the major
325components (compiler, kernel, and so on) of the operating system on
326which the executable runs, unless that component itself accompanies
327the executable.
328
329 It may happen that this requirement contradicts the license
330restrictions of other proprietary libraries that do not normally
331accompany the operating system. Such a contradiction means you cannot
332use both them and the Library together in an executable that you
333distribute.
334
335 7. You may place library facilities that are a work based on the
336Library side-by-side in a single library together with other library
337facilities not covered by this License, and distribute such a combined
338library, provided that the separate distribution of the work based on
339the Library and of the other library facilities is otherwise
340permitted, and provided that you do these two things:
341
342 a) Accompany the combined library with a copy of the same work
343 based on the Library, uncombined with any other library
344 facilities. This must be distributed under the terms of the
345 Sections above.
346
347 b) Give prominent notice with the combined library of the fact
348 that part of it is a work based on the Library, and explaining
349 where to find the accompanying uncombined form of the same work.
350
351 8. You may not copy, modify, sublicense, link with, or distribute
352the Library except as expressly provided under this License. Any
353attempt otherwise to copy, modify, sublicense, link with, or
354distribute the Library is void, and will automatically terminate your
355rights under this License. However, parties who have received copies,
356or rights, from you under this License will not have their licenses
357terminated so long as such parties remain in full compliance.
358
359 9. You are not required to accept this License, since you have not
360signed it. However, nothing else grants you permission to modify or
361distribute the Library or its derivative works. These actions are
362prohibited by law if you do not accept this License. Therefore, by
363modifying or distributing the Library (or any work based on the
364Library), you indicate your acceptance of this License to do so, and
365all its terms and conditions for copying, distributing or modifying
366the Library or works based on it.
367
368 10. Each time you redistribute the Library (or any work based on the
369Library), the recipient automatically receives a license from the
370original licensor to copy, distribute, link with or modify the Library
371subject to these terms and conditions. You may not impose any further
372restrictions on the recipients' exercise of the rights granted herein.
373You are not responsible for enforcing compliance by third parties with
374this License.
375
376 11. If, as a consequence of a court judgment or allegation of patent
377infringement or for any other reason (not limited to patent issues),
378conditions are imposed on you (whether by court order, agreement or
379otherwise) that contradict the conditions of this License, they do not
380excuse you from the conditions of this License. If you cannot
381distribute so as to satisfy simultaneously your obligations under this
382License and any other pertinent obligations, then as a consequence you
383may not distribute the Library at all. For example, if a patent
384license would not permit royalty-free redistribution of the Library by
385all those who receive copies directly or indirectly through you, then
386the only way you could satisfy both it and this License would be to
387refrain entirely from distribution of the Library.
388
389If any portion of this section is held invalid or unenforceable under
390any particular circumstance, the balance of the section is intended to
391apply, and the section as a whole is intended to apply in other
392circumstances.
393
394It is not the purpose of this section to induce you to infringe any
395patents or other property right claims or to contest validity of any
396such claims; this section has the sole purpose of protecting the
397integrity of the free software distribution system which is
398implemented by public license practices. Many people have made
399generous contributions to the wide range of software distributed
400through that system in reliance on consistent application of that
401system; it is up to the author/donor to decide if he or she is willing
402to distribute software through any other system and a licensee cannot
403impose that choice.
404
405This section is intended to make thoroughly clear what is believed to
406be a consequence of the rest of this License.
407
408 12. If the distribution and/or use of the Library is restricted in
409certain countries either by patents or by copyrighted interfaces, the
410original copyright holder who places the Library under this License
411may add an explicit geographical distribution limitation excluding those
412countries, so that distribution is permitted only in or among
413countries not thus excluded. In such case, this License incorporates
414the limitation as if written in the body of this License.
415
416 13. The Free Software Foundation may publish revised and/or new
417versions of the Lesser General Public License from time to time.
418Such new versions will be similar in spirit to the present version,
419but may differ in detail to address new problems or concerns.
420
421Each version is given a distinguishing version number. If the Library
422specifies a version number of this License which applies to it and
423"any later version", you have the option of following the terms and
424conditions either of that version or of any later version published by
425the Free Software Foundation. If the Library does not specify a
426license version number, you may choose any version ever published by
427the Free Software Foundation.
428
429 14. If you wish to incorporate parts of the Library into other free
430programs whose distribution conditions are incompatible with these,
431write to the author to ask for permission. For software which is
432copyrighted by the Free Software Foundation, write to the Free
433Software Foundation; we sometimes make exceptions for this. Our
434decision will be guided by the two goals of preserving the free status
435of all derivatives of our free software and of promoting the sharing
436and reuse of software generally.
437
438 NO WARRANTY
439
440 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
441WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
442EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
443OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
444KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
445IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
446PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
447LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
448THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
449
450 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
451WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
452AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
453FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
454CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
455LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
456RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
457FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
458SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
459DAMAGES.
460
461 END OF TERMS AND CONDITIONS
462
463 How to Apply These Terms to Your New Libraries
464
465 If you develop a new library, and you want it to be of the greatest
466possible use to the public, we recommend making it free software that
467everyone can redistribute and change. You can do so by permitting
468redistribution under these terms (or, alternatively, under the terms
469of the ordinary General Public License).
470
471 To apply these terms, attach the following notices to the library.
472It is safest to attach them to the start of each source file to most
473effectively convey the exclusion of warranty; and each file should
474have at least the "copyright" line and a pointer to where the full
475notice is found.
476
477
478 <one line to give the library's name and a brief idea of what it does.>
479 Copyright (C) <year> <name of author>
480
481 This library is free software; you can redistribute it and/or
482 modify it under the terms of the GNU Lesser General Public
483 License as published by the Free Software Foundation; either
484 version 2.1 of the License, or (at your option) any later version.
485
486 This library is distributed in the hope that it will be useful,
487 but WITHOUT ANY WARRANTY; without even the implied warranty of
488 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
489 Lesser General Public License for more details.
490
491 You should have received a copy of the GNU Lesser General Public
492 License along with this library; if not, write to the Free Software
493 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
494
495Also add information on how to contact you by electronic and paper mail.
496
497You should also get your employer (if you work as a programmer) or
498your school, if any, to sign a "copyright disclaimer" for the library,
499if necessary. Here is a sample; alter the names:
500
501 Yoyodyne, Inc., hereby disclaims all copyright interest in the
502 library `Frob' (a library for tweaking knobs) written by James
503 Random Hacker.
504
505 <signature of Ty Coon>, 1 April 1990
506 Ty Coon, President of Vice
507
508That's all there is to it!
509
510
diff --git a/meta/files/common-licenses/LGPLv3 b/meta/files/common-licenses/LGPLv3
new file mode 100644
index 0000000000..fc8a5de7ed
--- /dev/null
+++ b/meta/files/common-licenses/LGPLv3
@@ -0,0 +1,165 @@
1 GNU LESSER GENERAL PUBLIC LICENSE
2 Version 3, 29 June 2007
3
4 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5 Everyone is permitted to copy and distribute verbatim copies
6 of this license document, but changing it is not allowed.
7
8
9 This version of the GNU Lesser General Public License incorporates
10the terms and conditions of version 3 of the GNU General Public
11License, supplemented by the additional permissions listed below.
12
13 0. Additional Definitions.
14
15 As used herein, "this License" refers to version 3 of the GNU Lesser
16General Public License, and the "GNU GPL" refers to version 3 of the GNU
17General Public License.
18
19 "The Library" refers to a covered work governed by this License,
20other than an Application or a Combined Work as defined below.
21
22 An "Application" is any work that makes use of an interface provided
23by the Library, but which is not otherwise based on the Library.
24Defining a subclass of a class defined by the Library is deemed a mode
25of using an interface provided by the Library.
26
27 A "Combined Work" is a work produced by combining or linking an
28Application with the Library. The particular version of the Library
29with which the Combined Work was made is also called the "Linked
30Version".
31
32 The "Minimal Corresponding Source" for a Combined Work means the
33Corresponding Source for the Combined Work, excluding any source code
34for portions of the Combined Work that, considered in isolation, are
35based on the Application, and not on the Linked Version.
36
37 The "Corresponding Application Code" for a Combined Work means the
38object code and/or source code for the Application, including any data
39and utility programs needed for reproducing the Combined Work from the
40Application, but excluding the System Libraries of the Combined Work.
41
42 1. Exception to Section 3 of the GNU GPL.
43
44 You may convey a covered work under sections 3 and 4 of this License
45without being bound by section 3 of the GNU GPL.
46
47 2. Conveying Modified Versions.
48
49 If you modify a copy of the Library, and, in your modifications, a
50facility refers to a function or data to be supplied by an Application
51that uses the facility (other than as an argument passed when the
52facility is invoked), then you may convey a copy of the modified
53version:
54
55 a) under this License, provided that you make a good faith effort to
56 ensure that, in the event an Application does not supply the
57 function or data, the facility still operates, and performs
58 whatever part of its purpose remains meaningful, or
59
60 b) under the GNU GPL, with none of the additional permissions of
61 this License applicable to that copy.
62
63 3. Object Code Incorporating Material from Library Header Files.
64
65 The object code form of an Application may incorporate material from
66a header file that is part of the Library. You may convey such object
67code under terms of your choice, provided that, if the incorporated
68material is not limited to numerical parameters, data structure
69layouts and accessors, or small macros, inline functions and templates
70(ten or fewer lines in length), you do both of the following:
71
72 a) Give prominent notice with each copy of the object code that the
73 Library is used in it and that the Library and its use are
74 covered by this License.
75
76 b) Accompany the object code with a copy of the GNU GPL and this license
77 document.
78
79 4. Combined Works.
80
81 You may convey a Combined Work under terms of your choice that,
82taken together, effectively do not restrict modification of the
83portions of the Library contained in the Combined Work and reverse
84engineering for debugging such modifications, if you also do each of
85the following:
86
87 a) Give prominent notice with each copy of the Combined Work that
88 the Library is used in it and that the Library and its use are
89 covered by this License.
90
91 b) Accompany the Combined Work with a copy of the GNU GPL and this license
92 document.
93
94 c) For a Combined Work that displays copyright notices during
95 execution, include the copyright notice for the Library among
96 these notices, as well as a reference directing the user to the
97 copies of the GNU GPL and this license document.
98
99 d) Do one of the following:
100
101 0) Convey the Minimal Corresponding Source under the terms of this
102 License, and the Corresponding Application Code in a form
103 suitable for, and under terms that permit, the user to
104 recombine or relink the Application with a modified version of
105 the Linked Version to produce a modified Combined Work, in the
106 manner specified by section 6 of the GNU GPL for conveying
107 Corresponding Source.
108
109 1) Use a suitable shared library mechanism for linking with the
110 Library. A suitable mechanism is one that (a) uses at run time
111 a copy of the Library already present on the user's computer
112 system, and (b) will operate properly with a modified version
113 of the Library that is interface-compatible with the Linked
114 Version.
115
116 e) Provide Installation Information, but only if you would otherwise
117 be required to provide such information under section 6 of the
118 GNU GPL, and only to the extent that such information is
119 necessary to install and execute a modified version of the
120 Combined Work produced by recombining or relinking the
121 Application with a modified version of the Linked Version. (If
122 you use option 4d0, the Installation Information must accompany
123 the Minimal Corresponding Source and Corresponding Application
124 Code. If you use option 4d1, you must provide the Installation
125 Information in the manner specified by section 6 of the GNU GPL
126 for conveying Corresponding Source.)
127
128 5. Combined Libraries.
129
130 You may place library facilities that are a work based on the
131Library side by side in a single library together with other library
132facilities that are not Applications and are not covered by this
133License, and convey such a combined library under terms of your
134choice, if you do both of the following:
135
136 a) Accompany the combined library with a copy of the same work based
137 on the Library, uncombined with any other library facilities,
138 conveyed under the terms of this License.
139
140 b) Give prominent notice with the combined library that part of it
141 is a work based on the Library, and explaining where to find the
142 accompanying uncombined form of the same work.
143
144 6. Revised Versions of the GNU Lesser General Public License.
145
146 The Free Software Foundation may publish revised and/or new versions
147of the GNU Lesser General Public License from time to time. Such new
148versions will be similar in spirit to the present version, but may
149differ in detail to address new problems or concerns.
150
151 Each version is given a distinguishing version number. If the
152Library as you received it specifies that a certain numbered version
153of the GNU Lesser General Public License "or any later version"
154applies to it, you have the option of following the terms and
155conditions either of that published version or of any later version
156published by the Free Software Foundation. If the Library as you
157received it does not specify a version number of the GNU Lesser
158General Public License, you may choose any version of the GNU Lesser
159General Public License ever published by the Free Software Foundation.
160
161 If the Library as you received it specifies that a proxy can decide
162whether future versions of the GNU Lesser General Public License shall
163apply, that proxy's public statement of acceptance of any version is
164permanent authorization for you to choose that version for the
165Library.
diff --git a/meta/lib/oe/patch.py b/meta/lib/oe/patch.py
index f203d683da..c8eeb8bc4c 100644
--- a/meta/lib/oe/patch.py
+++ b/meta/lib/oe/patch.py
@@ -72,14 +72,14 @@ class PatchSet(object):
72 if not patch.get("remote"): 72 if not patch.get("remote"):
73 raise PatchError("Patch file must be specified in patch import.") 73 raise PatchError("Patch file must be specified in patch import.")
74 else: 74 else:
75 patch["file"] = bb.fetch.localpath(patch["remote"], self.d) 75 patch["file"] = bb.fetch2.localpath(patch["remote"], self.d)
76 76
77 for param in PatchSet.defaults: 77 for param in PatchSet.defaults:
78 if not patch.get(param): 78 if not patch.get(param):
79 patch[param] = PatchSet.defaults[param] 79 patch[param] = PatchSet.defaults[param]
80 80
81 if patch.get("remote"): 81 if patch.get("remote"):
82 patch["file"] = bb.data.expand(bb.fetch.localpath(patch["remote"], self.d), self.d) 82 patch["file"] = bb.data.expand(bb.fetch2.localpath(patch["remote"], self.d), self.d)
83 83
84 patch["filemd5"] = bb.utils.md5_file(patch["file"]) 84 patch["filemd5"] = bb.utils.md5_file(patch["file"])
85 85
@@ -293,7 +293,7 @@ class QuiltTree(PatchSet):
293 if type == "file": 293 if type == "file":
294 import shutil 294 import shutil
295 if not patch.get("file") and patch.get("remote"): 295 if not patch.get("file") and patch.get("remote"):
296 patch["file"] = bb.fetch.localpath(patch["remote"], self.d) 296 patch["file"] = bb.fetch2.localpath(patch["remote"], self.d)
297 297
298 shutil.copyfile(patch["quiltfile"], patch["file"]) 298 shutil.copyfile(patch["quiltfile"], patch["file"])
299 else: 299 else:
diff --git a/meta/recipes-bsp/apmd/apmd-3.2.2-14/workaround.patch b/meta/recipes-bsp/apmd/apmd-3.2.2-14/workaround.patch
deleted file mode 100644
index d37380397c..0000000000
--- a/meta/recipes-bsp/apmd/apmd-3.2.2-14/workaround.patch
+++ /dev/null
@@ -1,59 +0,0 @@
1# this workaround is there in OE since 2003. It looks to provide a workaround
2# allowing others sending SIGUSR1 to cause an apm suspend event. Disable it for
3# now.
4#
5# comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-13
6#
7# Patch managed by http://www.holgerschurig.de/patcher.html
8#
9
10--- apmd-3.2.2.orig/apmd.c~workaround.patch
11+++ apmd-3.2.2.orig/apmd.c
12@@ -158,6 +158,7 @@
13 static int quiet_bios_batlow; /* = 0 */
14 static int verbosity = DEFAULT_VERBOSITY;
15 static int warn_level = 10;
16+static int sleep_now = 0; /* ntp */
17
18 static uid_t apmd_uid = 0;
19 static int apmd_fd = -1;
20@@ -942,6 +943,12 @@
21 exit(0);
22 }
23
24+/* ntp */
25+static void sig_usr1(int sig)
26+{
27+ sleep_now = 1;
28+}
29+
30 int main(int argc, char **argv)
31 {
32 int c;
33@@ -1151,6 +1158,8 @@
34 openlog("apmd", (verbosity>=LOG_DEBUG)?LOG_PERROR:0 | LOG_PID | LOG_CONS, LOG_DAEMON);
35
36 /* Set up signal handler */
37+ if (signal(SIGUSR1, SIG_IGN) != SIG_IGN)
38+ signal(SIGUSR1, sig_usr1); /* ntp */
39 if (signal(SIGINT, SIG_IGN) != SIG_IGN)
40 signal(SIGINT, sig_handler);
41 if (signal(SIGQUIT, SIG_IGN) != SIG_IGN)
42@@ -1230,9 +1239,16 @@
43
44 for (;;)
45 {
46- int num_events = apm_get_events(apmd_fd, check_interval, events, MAX_EVENTS);
47+ int num_events;
48 int e, a;
49
50+ /* ntp */
51+ if (sleep_now) {
52+ sleep_now = 0;
53+ handle_event(APM_USER_SUSPEND, &apminfo);
54+ }
55+
56+ num_events = apm_get_events(apmd_fd, check_interval, events, MAX_EVENTS);
57 apm_read(&apminfo);
58
59 if (num_events == 0) {
diff --git a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
index 5f6fce433f..50d84ec39a 100644
--- a/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
+++ b/meta/recipes-bsp/apmd/apmd_3.2.2-14.bb
@@ -1,12 +1,13 @@
1SUMMARY = "Utilities for Advanced Power Management" 1SUMMARY = "Utilities for Advanced Power Management"
2DESCRIPTION = "The Advanced Power Management (APM) support provides access to \ 2DESCRIPTION = "The Advanced Power Management (APM) support provides \
3battery status information and a set of tools for managing notebook power \ 3access to battery status information and a set of tools for managing \
4consumption." 4notebook power consumption."
5HOMEPAGE = "http://apenwarr.ca/apmd/"
5SECTION = "base" 6SECTION = "base"
6PRIORITY = "required" 7PRIORITY = "required"
7LICENSE = "GPLv2+" 8LICENSE = "GPLv2+"
8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ 9LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
9 file://apm.h;firstline=6;endline=18;md5=c9a1f79036ab14aa157e15ed75ffd769" 10 file://apm.h;firstline=6;endline=18;md5=c9a1f79036ab14aa157e15ed75ffd769"
10DEPENDS = "libtool-cross" 11DEPENDS = "libtool-cross"
11PR = "r1" 12PR = "r1"
12 13
diff --git a/meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb b/meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb
index d186727886..855da11cea 100644
--- a/meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb
+++ b/meta/recipes-bsp/eee-acpi-scripts/eee-acpi-scripts_git.bb
@@ -5,10 +5,10 @@ SECTION = "base"
5LICENSE="GPL" 5LICENSE="GPL"
6LIC_FILES_CHKSUM = "file://debian/copyright;md5=77ef83ab5f4af938a93edb61f7b74f2c" 6LIC_FILES_CHKSUM = "file://debian/copyright;md5=77ef83ab5f4af938a93edb61f7b74f2c"
7 7
8PV = "1.1.11+git${SRCREV}" 8PV = "1.1.11+git${SRCPV}"
9PR = "r3" 9PR = "r4"
10 10
11RDEPENDS = "pm-utils" 11RDEPENDS_${PN} = "pm-utils"
12 12
13SRC_URI = "git://git.debian.org/git/debian-eeepc/eeepc-acpi-scripts.git;protocol=git \ 13SRC_URI = "git://git.debian.org/git/debian-eeepc/eeepc-acpi-scripts.git;protocol=git \
14 file://remove-doc-check.patch;patch=1 \ 14 file://remove-doc-check.patch;patch=1 \
diff --git a/meta/recipes-bsp/grub/grub_0.97.bb b/meta/recipes-bsp/grub/grub_0.97.bb
index 503dac07ea..131d942cc7 100644
--- a/meta/recipes-bsp/grub/grub_0.97.bb
+++ b/meta/recipes-bsp/grub/grub_0.97.bb
@@ -10,8 +10,8 @@ LICENSE = "GPLv2+"
10LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b \
11 file://grub/main.c;beginline=3;endline=9;md5=22a5f28d2130fff9f2a17ed54be90ed6" 11 file://grub/main.c;beginline=3;endline=9;md5=22a5f28d2130fff9f2a17ed54be90ed6"
12 12
13RDEPENDS = "diffutils" 13RDEPENDS_${PN} = "diffutils"
14PR = "r2" 14PR = "r3"
15 15
16SRC_URI = "ftp://alpha.gnu.org/gnu/grub/grub-${PV}.tar.gz; \ 16SRC_URI = "ftp://alpha.gnu.org/gnu/grub/grub-${PV}.tar.gz; \
17 file://autohell.patch;apply=yes " 17 file://autohell.patch;apply=yes "
diff --git a/meta/recipes-bsp/hostap/hostap-conf_1.0.bb b/meta/recipes-bsp/hostap/hostap-conf_1.0.bb
index ef004e60e5..fa29470485 100644
--- a/meta/recipes-bsp/hostap/hostap-conf_1.0.bb
+++ b/meta/recipes-bsp/hostap/hostap-conf_1.0.bb
@@ -3,9 +3,9 @@ SECTION = "kernel/modules"
3PRIORITY = "optional" 3PRIORITY = "optional"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" 5LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
6RDEPENDS = "update-modules" 6RDEPENDS_${PN} = "update-modules"
7PACKAGE_ARCH = "all" 7PACKAGE_ARCH = "all"
8PR = "r11" 8PR = "r12"
9 9
10SRC_URI = "file://hostap_cs.modalias \ 10SRC_URI = "file://hostap_cs.modalias \
11 file://COPYING.patch" 11 file://COPYING.patch"
diff --git a/meta/recipes-bsp/libacpi/libacpi_0.2.bb b/meta/recipes-bsp/libacpi/libacpi_0.2.bb
index 83d7cba71c..b182864516 100644
--- a/meta/recipes-bsp/libacpi/libacpi_0.2.bb
+++ b/meta/recipes-bsp/libacpi/libacpi_0.2.bb
@@ -5,7 +5,7 @@ SECTION = "base"
5HOMEPAGE = "http://www.ngolde.de/libacpi.html" 5HOMEPAGE = "http://www.ngolde.de/libacpi.html"
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=fec17f82f16630adf2dfb7d2a46f21c5" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=fec17f82f16630adf2dfb7d2a46f21c5"
8PR = "r1" 8PR = "r2"
9 9
10SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \ 10SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \
11 file://makefile-fix.patch;patch=1 " 11 file://makefile-fix.patch;patch=1 "
@@ -20,6 +20,8 @@ FILES_${PN}-bin = "${bindir}"
20 20
21COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)' 21COMPATIBLE_HOST = '(x86_64|i.86).*-(linux|freebsd.*)'
22 22
23CFLAGS += "-fPIC"
24
23do_install() { 25do_install() {
24 oe_runmake install DESTDIR=${D} PREFIX=${exec_prefix} 26 oe_runmake install DESTDIR=${D} PREFIX=${exec_prefix}
25} 27}
diff --git a/meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb b/meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb
index bc22f6f871..a24d004adb 100644
--- a/meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb
+++ b/meta/recipes-bsp/orinoco/orinoco-conf_1.0.bb
@@ -3,9 +3,9 @@ SECTION = "kernel/modules"
3PRIORITY = "optional" 3PRIORITY = "optional"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" 5LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
6RDEPENDS = "update-modules" 6RDEPENDS_${PN} = "update-modules"
7PACKAGE_ARCH = "all" 7PACKAGE_ARCH = "all"
8PR = "r5" 8PR = "r6"
9 9
10SRC_URI = "file://orinoco_cs.conf \ 10SRC_URI = "file://orinoco_cs.conf \
11 file://COPYING.patch" 11 file://COPYING.patch"
diff --git a/meta/recipes-bsp/pciutils/pciutils_3.1.7.bb b/meta/recipes-bsp/pciutils/pciutils_3.1.7.bb
index a48a29326e..6f13ada43d 100644
--- a/meta/recipes-bsp/pciutils/pciutils_3.1.7.bb
+++ b/meta/recipes-bsp/pciutils/pciutils_3.1.7.bb
@@ -9,7 +9,7 @@ LICENSE = "GPLv2+"
9LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 9LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
10DEPENDS = "zlib" 10DEPENDS = "zlib"
11RDEPENDS_${PN} = "${PN}-ids" 11RDEPENDS_${PN} = "${PN}-ids"
12PR = "r0" 12PR = "r1"
13 13
14SRC_URI = "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-${PV}.tar.bz2 \ 14SRC_URI = "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-${PV}.tar.bz2 \
15 file://configure.patch \ 15 file://configure.patch \
@@ -47,9 +47,6 @@ do_install () {
47 47
48 install -d ${D}${bindir} 48 install -d ${D}${bindir}
49 ln -s ../sbin/lspci ${D}${bindir}/lspci 49 ln -s ../sbin/lspci ${D}${bindir}/lspci
50
51 install -d ${D}${datadir}
52 install -m 644 ${S}/pci.ids ${D}${datadir}
53} 50}
54 51
55PACKAGES =+ "pciutils-ids libpci libpci-dev libpci-dbg" 52PACKAGES =+ "pciutils-ids libpci libpci-dev libpci-dbg"
diff --git a/meta/recipes-bsp/qemu-config/qemu-config.bb b/meta/recipes-bsp/qemu-config/qemu-config.bb
index dbe5d83b09..0792670463 100644
--- a/meta/recipes-bsp/qemu-config/qemu-config.bb
+++ b/meta/recipes-bsp/qemu-config/qemu-config.bb
@@ -3,8 +3,8 @@ DESCRIPTION = "Adds scripts to use distcc on the host system under qemu"
3LICENSE = "GPL" 3LICENSE = "GPL"
4LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe" 4LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
5 5
6RDEPENDS = "distcc task-poky-nfs-server oprofileui-server rsync bash" 6RDEPENDS_${PN} = "distcc task-poky-nfs-server oprofileui-server rsync bash"
7PR = "r18" 7PR = "r19"
8 8
9SRC_URI = "file://distcc.sh \ 9SRC_URI = "file://distcc.sh \
10 file://anjuta-remote-run \ 10 file://anjuta-remote-run \
diff --git a/meta/recipes-bsp/uboot/u-boot-mkimage-native_1.3.2.bb b/meta/recipes-bsp/uboot/u-boot-mkimage-native_1.3.2.bb
index fcba0d5662..eab286c272 100644
--- a/meta/recipes-bsp/uboot/u-boot-mkimage-native_1.3.2.bb
+++ b/meta/recipes-bsp/uboot/u-boot-mkimage-native_1.3.2.bb
@@ -5,6 +5,8 @@ SECTION = "bootloader"
5SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \ 5SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
6 file://fix-arm920t-eabi.patch;patch=1" 6 file://fix-arm920t-eabi.patch;patch=1"
7 7
8LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b"
9
8S = "${WORKDIR}/u-boot-${PV}" 10S = "${WORKDIR}/u-boot-${PV}"
9 11
10inherit native 12inherit native
diff --git a/meta/recipes-bsp/uboot/u-boot-omap3-git/beagleboard/name.patch b/meta/recipes-bsp/uboot/u-boot-omap3-git/beagleboard/name.patch
deleted file mode 100644
index ac03e47774..0000000000
--- a/meta/recipes-bsp/uboot/u-boot-omap3-git/beagleboard/name.patch
+++ /dev/null
@@ -1,14 +0,0 @@
1--- git/Makefile.orig 2008-07-25 16:21:22.000000000 -0700
2+++ git/Makefile 2008-07-27 06:49:08.000000000 -0700
3@@ -2582,8 +2582,8 @@ SMN42_config : unconfig
4 #########################################################################
5 ## ARM CORTEX Systems
6 #########################################################################
7-omap3530beagle_config : unconfig
8- @$(MKCONFIG) $(@:_config=) arm omap3 omap3530beagle
9+beagleboard_config : unconfig
10+ @$(MKCONFIG) omap3530beagle arm omap3 omap3530beagle
11
12 overo_config : unconfig
13 @$(MKCONFIG) $(@:_config=) arm omap3 overo
14
diff --git a/meta/recipes-bsp/uboot/u-boot-omap3_git.bb b/meta/recipes-bsp/uboot/u-boot-omap3_git.bb
deleted file mode 100644
index a083b16e95..0000000000
--- a/meta/recipes-bsp/uboot/u-boot-omap3_git.bb
+++ /dev/null
@@ -1,18 +0,0 @@
1require u-boot.inc
2
3FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-omap3-git/${MACHINE}"
4
5PV = "2008.10-rc2+${PR}+git${SRCREV}"
6PR="r2"
7
8SRC_URI = "git://gitorious.org/u-boot-omap3/mainline.git;branch=master;protocol=git"
9
10UBOOT_MACHINE_beagleboard = "omap3_beagle_config"
11UBOOT_MACHINE_omap3evm = "omap3_evm_config"
12UBOOT_MACHINE_overo = "omap3_overo_config"
13
14S = "${WORKDIR}/git"
15
16PACKAGE_ARCH = "${MACHINE_ARCH}"
17
18COMPATIBLE_MACHINE = "(beagleboard|omap3evm|overo)"
diff --git a/meta/recipes-bsp/uboot/u-boot.inc b/meta/recipes-bsp/uboot/u-boot.inc
index 889f6215ed..6363474e53 100644
--- a/meta/recipes-bsp/uboot/u-boot.inc
+++ b/meta/recipes-bsp/uboot/u-boot.inc
@@ -9,7 +9,8 @@ inherit deploy
9 9
10PARALLEL_MAKE="" 10PARALLEL_MAKE=""
11 11
12EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" 12# GCC 4.5.1 builds unusable binaries using -Os, remove it from OPTFLAGS
13EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS=''"
13 14
14UBOOT_MACHINE ?= "${MACHINE}_config" 15UBOOT_MACHINE ?= "${MACHINE}_config"
15UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin" 16UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin"
diff --git a/meta/recipes-bsp/uboot/u-boot_git.bb b/meta/recipes-bsp/uboot/u-boot_git.bb
new file mode 100644
index 0000000000..16a1dbefae
--- /dev/null
+++ b/meta/recipes-bsp/uboot/u-boot_git.bb
@@ -0,0 +1,21 @@
1require u-boot.inc
2
3LICENSE = "GPLv2+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b \
5 file://README;beginline=1;endline=22;md5=3a00ef51d3fc96e9d6c1bc4708ccd3b5"
6
7FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-git/${MACHINE}"
8
9PV = "v2010.12+${PR}+git${SRCPV}"
10PR="r0"
11
12SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
13
14UBOOT_MACHINE_beagleboard = "omap3_beagle_config"
15UBOOT_MACHINE_overo = "omap3_overo_config"
16
17S = "${WORKDIR}/git"
18
19PACKAGE_ARCH = "${MACHINE_ARCH}"
20
21COMPATIBLE_MACHINE = "(beagleboard|overo)"
diff --git a/meta/recipes-bsp/usbutils/usbutils_0.86.bb b/meta/recipes-bsp/usbutils/usbutils_0.86.bb
index 4e8d0b3d7f..239de2488b 100644
--- a/meta/recipes-bsp/usbutils/usbutils_0.86.bb
+++ b/meta/recipes-bsp/usbutils/usbutils_0.86.bb
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
9 9
10DEPENDS = "libusb zlib" 10DEPENDS = "libusb zlib"
11RDEPENDS_${PN} = "${PN}-ids" 11RDEPENDS_${PN} = "${PN}-ids"
12PR = "r0" 12PR = "r1"
13 13
14SRC_URI = "${SOURCEFORGE_MIRROR}/linux-usb/usbutils-${PV}.tar.gz" 14SRC_URI = "${SOURCEFORGE_MIRROR}/linux-usb/usbutils-${PV}.tar.gz"
15 15
@@ -20,9 +20,10 @@ inherit autotools
20 20
21do_install_append() { 21do_install_append() {
22 ln -s ../sbin/lsusb ${D}${bindir}/lsusb 22 ln -s ../sbin/lsusb ${D}${bindir}/lsusb
23 # We only need the compressed copy, remove the uncompressed version
24 rm -f ${D}${datadir}/usb.ids
23} 25}
24 26
25PACKAGES += "${PN}-ids" 27PACKAGES += "${PN}-ids"
26
27FILES_${PN} += "${datadir}/pkgconfig" 28FILES_${PN} += "${datadir}/pkgconfig"
28FILES_${PN}-ids = "${datadir}/usb*" 29FILES_${PN}-ids = "${datadir}/usb*"
diff --git a/meta/recipes-bsp/v86d/v86d_0.1.9.bb b/meta/recipes-bsp/v86d/v86d_0.1.9.bb
index 808dd4e1e2..d9925d8b1b 100644
--- a/meta/recipes-bsp/v86d/v86d_0.1.9.bb
+++ b/meta/recipes-bsp/v86d/v86d_0.1.9.bb
@@ -16,7 +16,7 @@ SRC_URI[md5sum] = "ebbbc8e7013c9544b6ba6981add43831"
16SRC_URI[sha256sum] = "8167dec4ff919cfd73f854bbd3244f05c2b867e014fa8298044ea7cfd66d18a8" 16SRC_URI[sha256sum] = "8167dec4ff919cfd73f854bbd3244f05c2b867e014fa8298044ea7cfd66d18a8"
17 17
18PACKAGE_ARCH = "${MACHINE_ARCH}" 18PACKAGE_ARCH = "${MACHINE_ARCH}"
19COMPATIBLE_MACHINE = "(qemux86|bootcdx86)" 19COMPATIBLE_MACHINE = "(qemux86)"
20 20
21INITSCRIPT_NAME = "fbsetup" 21INITSCRIPT_NAME = "fbsetup"
22INITSCRIPT_PARAMS = "start 0 S ." 22INITSCRIPT_PARAMS = "start 0 S ."
diff --git a/meta/recipes-bsp/x-load/files/signGP.c b/meta/recipes-bsp/x-load/files/signGP.c
deleted file mode 100644
index 9325064013..0000000000
--- a/meta/recipes-bsp/x-load/files/signGP.c
+++ /dev/null
@@ -1,108 +0,0 @@
1/*
2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
3 *
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 *
12 * Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the
15 * distribution.
16 *
17 * Neither the name of Texas Instruments Incorporated nor the names of
18 * its contributors may be used to endorse or promote products derived
19 * from this software without specific prior written permission.
20 *
21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 *
33*/
34
35
36//
37// signGP.c
38// Read the x-load.bin file and write out the x-load.bin.ift file.
39// The signed image is the original pre-pended with the size of the image
40// and the load address. If not entered on command line, file name is
41// assumed to be x-load.bin in current directory and load address is
42// 0x40200800.
43
44#include <stdio.h>
45#include <stdlib.h>
46#include <fcntl.h>
47#include <sys/stat.h>
48#include <string.h>
49#include <malloc.h>
50
51
52main(int argc, char *argv[])
53{
54 int i;
55 char ifname[FILENAME_MAX], ofname[FILENAME_MAX], ch;
56 FILE *ifile, *ofile;
57 unsigned long loadaddr, len;
58 struct stat sinfo;
59
60
61 // Default to x-load.bin and 0x40200800.
62 strcpy(ifname, "x-load.bin");
63 loadaddr = 0x40200800;
64
65 if ((argc == 2) || (argc == 3))
66 strcpy(ifname, argv[1]);
67
68 if (argc == 3)
69 loadaddr = strtol(argv[2], NULL, 16);
70
71 // Form the output file name.
72 strcpy(ofname, ifname);
73 strcat(ofname, ".ift");
74
75 // Open the input file.
76 ifile = fopen(ifname, "rb");
77 if (ifile == NULL) {
78 printf("Cannot open %s\n", ifname);
79 exit(0);
80 }
81
82 // Get file length.
83 stat(ifname, &sinfo);
84 len = sinfo.st_size;
85
86 // Open the output file and write it.
87 ofile = fopen(ofname, "wb");
88 if (ofile == NULL) {
89 printf("Cannot open %s\n", ofname);
90 fclose(ifile);
91 exit(0);
92 }
93
94 // Pad 1 sector of zeroes.
95 //ch = 0x00;
96 //for (i=0; i<0x200; i++)
97 // fwrite(&ch, 1, 1, ofile);
98
99 fwrite(&len, 1, 4, ofile);
100 fwrite(&loadaddr, 1, 4, ofile);
101 for (i=0; i<len; i++) {
102 fread(&ch, 1, 1, ifile);
103 fwrite(&ch, 1, 1, ofile);
104 }
105
106 fclose(ifile);
107 fclose(ofile);
108}
diff --git a/meta/recipes-bsp/x-load/signgp-native.bb b/meta/recipes-bsp/x-load/signgp-native.bb
deleted file mode 100644
index ae8c8f9dcb..0000000000
--- a/meta/recipes-bsp/x-load/signgp-native.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1LICENSE = "BSD"
2DESCRIPTION = "Tool to sign omap3 x-loader images"
3
4inherit native
5SRC_URI = "file://signGP.c"
6
7do_compile() {
8 ${CC} ${CFLAGS} ${LDFLAGS} ${WORKDIR}/signGP.c -o signGP
9}
10
11do_install() {
12 install -d ${D}${bindir}/
13 install -m 0755 signGP ${D}${bindir}/
14}
diff --git a/meta/recipes-bsp/x-load/x-load-git/beagleboard/armv7-a.patch b/meta/recipes-bsp/x-load/x-load-git/beagleboard/armv7-a.patch
deleted file mode 100644
index 3131cda6bb..0000000000
--- a/meta/recipes-bsp/x-load/x-load-git/beagleboard/armv7-a.patch
+++ /dev/null
@@ -1,11 +0,0 @@
1--- git/cpu/omap3/config.mk-orig 2008-05-27 16:46:45.000000000 -0700
2+++ git/cpu/omap3/config.mk 2008-05-29 12:50:49.000000000 -0700
3@@ -23,7 +23,7 @@
4 PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \
5 -msoft-float
6
7-PLATFORM_CPPFLAGS += -march=armv7a
8+PLATFORM_CPPFLAGS += -march=armv7-a
9 # =========================================================================
10 #
11 # Supply options according to compiler version
diff --git a/meta/recipes-bsp/x-load/x-load-git/beagleboard/name.patch b/meta/recipes-bsp/x-load/x-load-git/beagleboard/name.patch
index 98dcbae497..d0fb99699d 100644
--- a/meta/recipes-bsp/x-load/x-load-git/beagleboard/name.patch
+++ b/meta/recipes-bsp/x-load/x-load-git/beagleboard/name.patch
@@ -1,14 +1,16 @@
1--- git/Makefile-orig 2008-07-29 22:31:03.000000000 -0700 1Index: git/Makefile
2+++ git/Makefile 2008-07-29 22:34:36.000000000 -0700 2===================================================================
3@@ -152,9 +152,9 @@ omap3evm_config : unconfig 3--- git.orig/Makefile
4+++ git/Makefile
5@@ -225,8 +225,9 @@ omap3evm_config : unconfig
4 overo_config : unconfig 6 overo_config : unconfig
5 @./mkconfig $(@:_config=) arm omap3 overo 7 @$(MKCONFIG) $(@:_config=) arm omap3 overo
6 8
7-omap3530beagle_config : unconfig 9-omap3530beagle_config : unconfig
10- @$(MKCONFIG) $(@:_config=) arm omap3 omap3530beagle
8+beagleboard_config : unconfig 11+beagleboard_config : unconfig
9 12+ @$(MKCONFIG) omap3530beagle arm omap3 omap3530beagle
10- @./mkconfig $(@:_config=) arm omap3 omap3530beagle
11+ @./mkconfig omap3530beagle arm omap3 omap3530beagle 13+ @./mkconfig omap3530beagle arm omap3 omap3530beagle
12 14
13 ######################################################################### 15 #########################################################################
14 16 ## OMAP4 (ARM-CortexA9) Systems
diff --git a/meta/recipes-bsp/x-load/x-load-git/omap3evm/armv7-a.patch b/meta/recipes-bsp/x-load/x-load-git/omap3evm/armv7-a.patch
deleted file mode 100644
index 3131cda6bb..0000000000
--- a/meta/recipes-bsp/x-load/x-load-git/omap3evm/armv7-a.patch
+++ /dev/null
@@ -1,11 +0,0 @@
1--- git/cpu/omap3/config.mk-orig 2008-05-27 16:46:45.000000000 -0700
2+++ git/cpu/omap3/config.mk 2008-05-29 12:50:49.000000000 -0700
3@@ -23,7 +23,7 @@
4 PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \
5 -msoft-float
6
7-PLATFORM_CPPFLAGS += -march=armv7a
8+PLATFORM_CPPFLAGS += -march=armv7-a
9 # =========================================================================
10 #
11 # Supply options according to compiler version
diff --git a/meta/recipes-bsp/x-load/x-load-git/overo/armv7-a.patch b/meta/recipes-bsp/x-load/x-load-git/overo/armv7-a.patch
deleted file mode 100644
index 3131cda6bb..0000000000
--- a/meta/recipes-bsp/x-load/x-load-git/overo/armv7-a.patch
+++ /dev/null
@@ -1,11 +0,0 @@
1--- git/cpu/omap3/config.mk-orig 2008-05-27 16:46:45.000000000 -0700
2+++ git/cpu/omap3/config.mk 2008-05-29 12:50:49.000000000 -0700
3@@ -23,7 +23,7 @@
4 PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \
5 -msoft-float
6
7-PLATFORM_CPPFLAGS += -march=armv7a
8+PLATFORM_CPPFLAGS += -march=armv7-a
9 # =========================================================================
10 #
11 # Supply options according to compiler version
diff --git a/meta/recipes-bsp/x-load/x-load.inc b/meta/recipes-bsp/x-load/x-load.inc
index 7073b13fe7..a98ec8fb7c 100644
--- a/meta/recipes-bsp/x-load/x-load.inc
+++ b/meta/recipes-bsp/x-load/x-load.inc
@@ -5,7 +5,7 @@ LICENSE = "GPL"
5 5
6inherit deploy 6inherit deploy
7 7
8DEPENDS = "signgp-native" 8DEPENDS = ""
9 9
10PARALLEL_MAKE="" 10PARALLEL_MAKE=""
11 11
@@ -24,11 +24,10 @@ do_compile () {
24 unset CPPFLAGS 24 unset CPPFLAGS
25 oe_runmake distclean 25 oe_runmake distclean
26 oe_runmake ${XLOAD_MACHINE} 26 oe_runmake ${XLOAD_MACHINE}
27 oe_runmake 27 oe_runmake ift
28} 28}
29 29
30do_deploy () { 30do_deploy () {
31 signGP ${S}/x-load.bin
32 install ${S}/x-load.bin.ift ${DEPLOYDIR}/${XLOAD_IMAGE} 31 install ${S}/x-load.bin.ift ${DEPLOYDIR}/${XLOAD_IMAGE}
33 install ${S}/x-load.bin.ift ${DEPLOYDIR}/${MLO_IMAGE} 32 install ${S}/x-load.bin.ift ${DEPLOYDIR}/${MLO_IMAGE}
34 33
diff --git a/meta/recipes-bsp/x-load/x-load_git.bb b/meta/recipes-bsp/x-load/x-load_git.bb
index 49f867e1ba..fc2927ef02 100644
--- a/meta/recipes-bsp/x-load/x-load_git.bb
+++ b/meta/recipes-bsp/x-load/x-load_git.bb
@@ -2,24 +2,19 @@ require x-load.inc
2 2
3FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/x-load-git/${MACHINE}" 3FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/x-load-git/${MACHINE}"
4 4
5PV = "1.42+${PR}+git${SRCREV}" 5LICENSE = "GPLv2+"
6PR="r12" 6LIC_FILES_CHKSUM = "file://README;beginline=1;endline=25;md5=ef08d08cb99057bbb5b9d6d0c5a4396f"
7 7
8SRC_URI = "git://www.sakoman.net/git/x-load-omap3.git;branch=master;protocol=git" 8PV = "1.42+${PR}+git${SRCPV}"
9PR="r13"
10
11#SRC_URI = "git://www.sakoman.net/git/x-load-omap3.git;branch=master;protocol=git"
12#SRC_URI = "git://gitorious.org/x-load-omap3/mainline.git;branch=master;protocol=git"
13SRC_URI = "git://gitorious.org/x-loader/x-loader.git;branch=master;protocol=git"
9 14
10SRC_URI_append_beagleboard = " \ 15SRC_URI_append_beagleboard = " \
11 file://name.patch;patch=1 \ 16 file://name.patch;patch=1 \
12 file://armv7-a.patch;patch=1 \
13 "
14
15SRC_URI_append_omap3evm = " \
16 file://armv7-a.patch;patch=1 \
17 " 17 "
18
19SRC_URI_append_overo = " \
20 file://armv7-a.patch;patch=1 \
21 "
22
23S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
24 19
25PACKAGE_ARCH = "${MACHINE_ARCH}" 20PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/meta/recipes-bsp/zaurusd/zaurusd_svn.bb b/meta/recipes-bsp/zaurusd/zaurusd_svn.bb
index 523f72dbd4..455a29fa9e 100644
--- a/meta/recipes-bsp/zaurusd/zaurusd_svn.bb
+++ b/meta/recipes-bsp/zaurusd/zaurusd_svn.bb
@@ -3,8 +3,9 @@ SECTION = "base"
3LICENSE = "GPLv2" 3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
5DEPENDS = "tslib" 5DEPENDS = "tslib"
6RDEPENDS = "xrandr" 6RDEPENDS_${PN} = "xrandr"
7PV = "0.0+svnr${SRCREV}" 7PV = "0.0+svnr${SRCPV}"
8PR = "r2"
8 9
9SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=zaurusd;proto=http" 10SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=zaurusd;proto=http"
10 11
diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc
index b266ea4141..9f83d8dadc 100644
--- a/meta/recipes-connectivity/avahi/avahi.inc
+++ b/meta/recipes-connectivity/avahi/avahi.inc
@@ -16,7 +16,7 @@ PRIORITY = "optional"
16LICENSE = "GPLv2+ & LGPLv2.1+" 16LICENSE = "GPLv2+ & LGPLv2.1+"
17 17
18DEPENDS = "expat libcap libdaemon dbus glib-2.0 gtk+ libglade" 18DEPENDS = "expat libcap libdaemon dbus glib-2.0 gtk+ libglade"
19RRECOMMENDS = "libnss-mdns" 19RRECOMMENDS_${PN} = "libnss-mdns"
20RRECOMMENDS_avahi-daemon = "libnss-mdns" 20RRECOMMENDS_avahi-daemon = "libnss-mdns"
21 21
22SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \ 22SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \
@@ -37,11 +37,14 @@ EXTRA_OECONF = "--with-distro=debian \
37 --disable-python \ 37 --disable-python \
38 --disable-doxygen-doc" 38 --disable-doxygen-doc"
39 39
40PACKAGES =+ "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib libavahi-gobject avahi-autoipd avahi-utils libavahi-ui avahi-ui-utils" 40PACKAGES =+ "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib libavahi-gobject avahi-autoipd avahi-ui-utils avahi-utils libavahi-ui libavahi-ui-dev"
41 41
42FILES_libavahi-common = "${libdir}/libavahi-common.so.*" 42FILES_libavahi-common = "${libdir}/libavahi-common.so.*"
43FILES_libavahi-core = "${libdir}/libavahi-core.so.*" 43FILES_libavahi-core = "${libdir}/libavahi-core.so.*"
44FILES_libavahi-ui = "${libdir}/libavahi-ui.so.*" 44FILES_libavahi-ui = "${libdir}/libavahi-ui.so.*"
45FILES_libavahi-ui-dev = "${libdir}/libavahi-ui.* \
46 ${includedir}/avahi-ui/* \
47 ${libdir}/pkgconfig/avahi-ui.pc"
45FILES_avahi-daemon = "${sbindir}/avahi-daemon \ 48FILES_avahi-daemon = "${sbindir}/avahi-daemon \
46 ${sysconfdir}/avahi/avahi-daemon.conf \ 49 ${sysconfdir}/avahi/avahi-daemon.conf \
47 ${sysconfdir}/avahi/hosts \ 50 ${sysconfdir}/avahi/hosts \
@@ -59,9 +62,13 @@ FILES_libavahi-glib = "${libdir}/libavahi-glib.so.*"
59FILES_libavahi-gobject = "${libdir}/libavahi-gobject.so.*" 62FILES_libavahi-gobject = "${libdir}/libavahi-gobject.so.*"
60FILES_avahi-utils = "${bindir}/avahi-*" 63FILES_avahi-utils = "${bindir}/avahi-*"
61FILES_avahi-ui-utils = "${bindir}/bssh ${bindir}/bvnc ${bindir}/bshell \ 64FILES_avahi-ui-utils = "${bindir}/bssh ${bindir}/bvnc ${bindir}/bshell \
65 ${bindir}/avahi-discover-standalone \
62 ${datadir}/applications \ 66 ${datadir}/applications \
63 ${datadir}/avahi/interfaces" 67 ${datadir}/avahi/interfaces"
64 68
69RRECOMMENDS_avahi-dev = "gettext-dev expat-dev libcap-dev libdaemon-dev dbus-dev glib-2.0-dev update-rc.d-dev"
70RRECOMMENDS_avahi-dev[nodeprrecs] = 1
71
65CONFFILES_avahi-daemon = "${sysconfdir}/avahi/avahi-daemon.conf" 72CONFFILES_avahi-daemon = "${sysconfdir}/avahi/avahi-daemon.conf"
66 73
67INITSCRIPT_PACKAGES = "avahi-daemon avahi-dnsconfd" 74INITSCRIPT_PACKAGES = "avahi-daemon avahi-dnsconfd"
diff --git a/meta/recipes-connectivity/avahi/avahi_0.6.28.bb b/meta/recipes-connectivity/avahi/avahi_0.6.28.bb
index b2e9efb7f9..6e034b0508 100644
--- a/meta/recipes-connectivity/avahi/avahi_0.6.28.bb
+++ b/meta/recipes-connectivity/avahi/avahi_0.6.28.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1 \
7 file://avahi-client/client.h;endline=23;md5=f4ac741a25c4f434039ba3e18c8674cf" 7 file://avahi-client/client.h;endline=23;md5=f4ac741a25c4f434039ba3e18c8674cf"
8 8
9RDEPENDS_avahi-daemon = "sysvinit-pidof" 9RDEPENDS_avahi-daemon = "sysvinit-pidof"
10PR = "r0" 10PR = "r2"
11 11
12EXTRA_OECONF += "--disable-gtk3" 12EXTRA_OECONF += "--disable-gtk3"
13 13
diff --git a/meta/recipes-connectivity/bind/bind-9.7.2-P2/conf.patch b/meta/recipes-connectivity/bind/bind-9.7.2-P3/conf.patch
index deeb437290..deeb437290 100644
--- a/meta/recipes-connectivity/bind/bind-9.7.2-P2/conf.patch
+++ b/meta/recipes-connectivity/bind/bind-9.7.2-P3/conf.patch
diff --git a/meta/recipes-connectivity/bind/bind-9.7.2-P2/cross-build-fix.patch b/meta/recipes-connectivity/bind/bind-9.7.2-P3/cross-build-fix.patch
index 4978379bff..4978379bff 100644
--- a/meta/recipes-connectivity/bind/bind-9.7.2-P2/cross-build-fix.patch
+++ b/meta/recipes-connectivity/bind/bind-9.7.2-P3/cross-build-fix.patch
diff --git a/meta/recipes-connectivity/bind/bind_9.7.2-P2.bb b/meta/recipes-connectivity/bind/bind_9.7.2-P3.bb
index 6aaa6ffdca..675ab1798a 100644
--- a/meta/recipes-connectivity/bind/bind_9.7.2-P2.bb
+++ b/meta/recipes-connectivity/bind/bind_9.7.2-P3.bb
@@ -13,6 +13,9 @@ SRC_URI = "ftp://ftp.isc.org/isc/bind9/${PV}/${PN}-${PV}.tar.gz \
13 file://cross-build-fix.patch \ 13 file://cross-build-fix.patch \
14 " 14 "
15 15
16SRC_URI[md5sum] = "b4537cbae38b2daef36775bf49f33db9"
17SRC_URI[sha256sum] = "cd945f4766be664f4528ec065df626ad3624481695316ec8e13ad272f4abfb7e"
18
16# --enable-exportlib is necessary for building dhcp 19# --enable-exportlib is necessary for building dhcp
17EXTRA_OECONF = " --enable-ipv6=no --with-randomdev=/dev/random --disable-threads \ 20EXTRA_OECONF = " --enable-ipv6=no --with-randomdev=/dev/random --disable-threads \
18 --disable-devpoll --disable-epoll \ 21 --disable-devpoll --disable-epoll \
@@ -50,5 +53,3 @@ CONFFILES_${PN} = " \
50 ${sysconfdir}/bind/db.root \ 53 ${sysconfdir}/bind/db.root \
51 " 54 "
52 55
53SRC_URI[md5sum] = "e74de6ec9c2cd27576794c873bd85f4a"
54SRC_URI[sha256sum] = "e6d5938184066fc793c28ff975e09e9721116aede2a2d6d93b1be5e8654a5c8a"
diff --git a/meta/recipes-connectivity/bluez/bluez4-4.79/bluetooth.conf b/meta/recipes-connectivity/bluez/bluez4-4.82/bluetooth.conf
index ca5e9e4f2f..ca5e9e4f2f 100644
--- a/meta/recipes-connectivity/bluez/bluez4-4.79/bluetooth.conf
+++ b/meta/recipes-connectivity/bluez/bluez4-4.82/bluetooth.conf
diff --git a/meta/recipes-connectivity/bluez/bluez4-4.79/fix-dfutool-usb-declaration-mismatch.patch b/meta/recipes-connectivity/bluez/bluez4-4.82/fix-dfutool-usb-declaration-mismatch.patch
index 91c802bc41..91c802bc41 100644
--- a/meta/recipes-connectivity/bluez/bluez4-4.79/fix-dfutool-usb-declaration-mismatch.patch
+++ b/meta/recipes-connectivity/bluez/bluez4-4.82/fix-dfutool-usb-declaration-mismatch.patch
diff --git a/meta/recipes-connectivity/bluez/bluez4-4.79/hid2hci_usb_init.patch b/meta/recipes-connectivity/bluez/bluez4-4.82/hid2hci_usb_init.patch
index ed15fd5a1b..ed15fd5a1b 100644
--- a/meta/recipes-connectivity/bluez/bluez4-4.79/hid2hci_usb_init.patch
+++ b/meta/recipes-connectivity/bluez/bluez4-4.82/hid2hci_usb_init.patch
diff --git a/meta/recipes-connectivity/bluez/bluez4-4.79/sbc-thumb.patch b/meta/recipes-connectivity/bluez/bluez4-4.82/sbc-thumb.patch
index 474423670b..474423670b 100644
--- a/meta/recipes-connectivity/bluez/bluez4-4.79/sbc-thumb.patch
+++ b/meta/recipes-connectivity/bluez/bluez4-4.82/sbc-thumb.patch
diff --git a/meta/recipes-connectivity/bluez/bluez4_4.79.bb b/meta/recipes-connectivity/bluez/bluez4_4.82.bb
index 54b9fc18aa..9189a585f4 100644
--- a/meta/recipes-connectivity/bluez/bluez4_4.79.bb
+++ b/meta/recipes-connectivity/bluez/bluez4_4.82.bb
@@ -25,8 +25,8 @@ SRC_URI = "\
25 file://bluetooth.conf \ 25 file://bluetooth.conf \
26" 26"
27 27
28SRC_URI[md5sum] = "b3afea97981c1c6be04438930c57d891" 28SRC_URI[md5sum] = "b9e5de607e5e43c868c35c68fe6f189f"
29SRC_URI[sha256sum] = "1b486824e486e7a7a17ebcbce99a417e724f42ebb17f9fe574bc4737fda6b7db" 29SRC_URI[sha256sum] = "75dc506f5346e1eb803f44294ae02406e806e309d9c9bda1de7ed235ff794b6d"
30S = "${WORKDIR}/bluez-${PV}" 30S = "${WORKDIR}/bluez-${PV}"
31 31
32inherit autotools 32inherit autotools
diff --git a/meta/recipes-connectivity/connman/connman-0.63/connman b/meta/recipes-connectivity/connman/connman-0.65/connman
index f01bf371c2..f01bf371c2 100644
--- a/meta/recipes-connectivity/connman/connman-0.63/connman
+++ b/meta/recipes-connectivity/connman/connman-0.65/connman
diff --git a/meta/recipes-connectivity/connman/connman-0.63/dbusperms.patch b/meta/recipes-connectivity/connman/connman-0.65/dbusperms.patch
index 100af0367b..100af0367b 100644
--- a/meta/recipes-connectivity/connman/connman-0.63/dbusperms.patch
+++ b/meta/recipes-connectivity/connman/connman-0.65/dbusperms.patch
diff --git a/meta/recipes-connectivity/connman/connman-0.63/fix-shutdown-ap-disconnect.patch b/meta/recipes-connectivity/connman/connman-0.65/fix-shutdown-ap-disconnect.patch
index a0ad0991df..a0ad0991df 100644
--- a/meta/recipes-connectivity/connman/connman-0.63/fix-shutdown-ap-disconnect.patch
+++ b/meta/recipes-connectivity/connman/connman-0.65/fix-shutdown-ap-disconnect.patch
diff --git a/meta/recipes-connectivity/connman/connman-gnome/connman-applet.desktop b/meta/recipes-connectivity/connman/connman-gnome/connman-applet.desktop
deleted file mode 100644
index 83d96ee67d..0000000000
--- a/meta/recipes-connectivity/connman/connman-gnome/connman-applet.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
1[Desktop Entry]
2Encoding=UTF-8
3Name=Connection Manager
4Comment=Connection Manager applet
5Icon=stock_internet
6Exec=connman-applet
7Terminal=false
8Type=Application
9Categories=Network;GTK;
10
diff --git a/meta/recipes-connectivity/connman/connman-gnome/remove-connman-property-desktop-file.patch b/meta/recipes-connectivity/connman/connman-gnome/remove-connman-property-desktop-file.patch
new file mode 100644
index 0000000000..2a8cff3593
--- /dev/null
+++ b/meta/recipes-connectivity/connman/connman-gnome/remove-connman-property-desktop-file.patch
@@ -0,0 +1,42 @@
1diff -ruN connman-gnome-0.5-orig/po/POTFILES.in connman-gnome-0.5/po/POTFILES.in
2--- connman-gnome-0.5-orig/po/POTFILES.in 2010-12-16 16:03:29.000000000 +0800
3+++ connman-gnome-0.5/po/POTFILES.in 2010-12-17 10:27:17.000000000 +0800
4@@ -4,4 +4,3 @@
5 properties/advanced.c
6 properties/ethernet.c
7 properties/wifi.c
8-properties/connman-properties.desktop.in
9diff -ruN connman-gnome-0.5-orig/properties/Makefile.am connman-gnome-0.5/properties/Makefile.am
10--- connman-gnome-0.5-orig/properties/Makefile.am 2010-12-16 16:03:29.000000000 +0800
11+++ connman-gnome-0.5/properties/Makefile.am 2010-12-17 10:27:09.000000000 +0800
12@@ -17,16 +17,6 @@
13
14 INCLUDES = -I$(top_srcdir)/common
15
16-desktopdir = $(datadir)/applications
17-
18-desktop_in_files = connman-properties.desktop.in
19-
20-desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
21-
22 @INTLTOOL_DESKTOP_RULE@
23
24-CLEANFILES = $(desktop_DATA)
25-
26-EXTRA_DIST = $(desktop_in_files)
27-
28 MAINTAINERCLEANFILES = Makefile.in
29diff -ruN connman-gnome-0.5-orig/properties/connman-properties.desktop.in connman-gnome-0.5/properties/connman-properties.desktop.in
30--- connman-gnome-0.5-orig/properties/connman-properties.desktop.in 2010-12-16 16:03:29.000000000 +0800
31+++ connman-gnome-0.5/properties/connman-properties.desktop.in 1970-01-01 08:00:00.000000000 +0800
32@@ -1,10 +0,0 @@
33-[Desktop Entry]
34-Encoding=UTF-8
35-_Name=Connection Management
36-_Comment=Configure connection management
37-Icon=stock_internet
38-Exec=connman-properties
39-Terminal=false
40-Type=Application
41-Categories=Settings;
42-OnlyShowIn=GNOME;
diff --git a/meta/recipes-connectivity/connman/connman-gnome/service_name_update.patch b/meta/recipes-connectivity/connman/connman-gnome/service_name_update.patch
new file mode 100644
index 0000000000..942cfc883c
--- /dev/null
+++ b/meta/recipes-connectivity/connman/connman-gnome/service_name_update.patch
@@ -0,0 +1,36 @@
1diff -ruN connman-gnome-0.5-orig/common/connman-dbus.h connman-gnome-0.5/common/connman-dbus.h
2--- connman-gnome-0.5-orig/common/connman-dbus.h 2010-12-30 09:45:03.312043457 +0800
3+++ connman-gnome-0.5/common/connman-dbus.h 2010-12-30 09:45:33.978499439 +0800
4@@ -22,7 +22,7 @@
5 #include <dbus/dbus-glib.h>
6 #include <gtk/gtk.h>
7
8-#define CONNMAN_SERVICE "org.moblin.connman"
9+#define CONNMAN_SERVICE "net.connman"
10
11 #define CONNMAN_ERROR_INTERFACE CONNMAN_SERVICE ".Error"
12 #define CONNMAN_AGENT_INTERFACE CONNMAN_SERVICE ".Agent"
13diff -ruN connman-gnome-0.5-orig/common/instance.c connman-gnome-0.5/common/instance.c
14--- connman-gnome-0.5-orig/common/instance.c 2010-12-30 09:45:03.316085542 +0800
15+++ connman-gnome-0.5/common/instance.c 2010-12-30 09:46:01.654479049 +0800
16@@ -29,7 +29,7 @@
17
18 #include "instance.h"
19
20-#define CONNMAN_SERVICE "org.moblin.connman"
21+#define CONNMAN_SERVICE "net.connman"
22 #define CONNMAN_INSTANCE CONNMAN_SERVICE ".Instance"
23
24 static DBusGConnection *connection;
25diff -ruN connman-gnome-0.5-orig/common/instance.xml connman-gnome-0.5/common/instance.xml
26--- connman-gnome-0.5-orig/common/instance.xml 2010-12-30 09:45:03.312043457 +0800
27+++ connman-gnome-0.5/common/instance.xml 2010-12-30 09:45:49.868372780 +0800
28@@ -1,7 +1,7 @@
29 <?xml version="1.0" encoding="UTF-8" ?>
30
31 <node name="/">
32- <interface name="org.moblin.connman.Instance">
33+ <interface name="net.connman.Instance">
34 <method name="Present">
35 </method>
36 </interface>
diff --git a/meta/recipes-connectivity/connman/connman-gnome_0.5.bb b/meta/recipes-connectivity/connman/connman-gnome_0.5.bb
index 4729c5dfde..3b7d1b8f58 100644
--- a/meta/recipes-connectivity/connman/connman-gnome_0.5.bb
+++ b/meta/recipes-connectivity/connman/connman-gnome_0.5.bb
@@ -6,20 +6,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
6 file://properties/main.c;beginline=1;endline=20;md5=50c77c81871308b033ab7a1504626afb \ 6 file://properties/main.c;beginline=1;endline=20;md5=50c77c81871308b033ab7a1504626afb \
7 file://common/connman-dbus.c;beginline=1;endline=20;md5=de6b485c0e717a0236402d220187717a" 7 file://common/connman-dbus.c;beginline=1;endline=20;md5=de6b485c0e717a0236402d220187717a"
8DEPENDS = "gtk+ dbus" 8DEPENDS = "gtk+ dbus"
9PR = "r1" 9PR = "r3"
10 10
11RRECOMMENDS_${PN} = "python python-dbus connman connman-plugin-ethernet connman-plugin-loopback connman-plugin-udhcp connman-plugin-wifi connman-plugin-fake connman-plugin-bluetooth connman-plugin-dnsproxy" 11RRECOMMENDS_${PN} = "python python-dbus connman connman-plugin-ethernet connman-plugin-loopback connman-plugin-udhcp connman-plugin-wifi connman-plugin-fake connman-plugin-bluetooth connman-plugin-dnsproxy"
12 12
13SRC_URI = "http://www.kernel.org/pub/linux/network/connman/connman-gnome-${PV}.tar.gz \ 13SRC_URI = "http://www.kernel.org/pub/linux/network/connman/connman-gnome-${PV}.tar.gz \
14 file://connman-gnome.patch \ 14 file://connman-gnome.patch \
15 file://connman-applet.desktop" 15 file://remove-connman-property-desktop-file.patch \
16 file://service_name_update.patch"
16 17
17SRC_URI[md5sum] = "0e1c4c25d19cad9b08a216848a320716" 18SRC_URI[md5sum] = "0e1c4c25d19cad9b08a216848a320716"
18SRC_URI[sha256sum] = "4d5fe481b444fc3e64fd9caa149dbcd76de166a25733f18fd93da01d2abf5d1c" 19SRC_URI[sha256sum] = "4d5fe481b444fc3e64fd9caa149dbcd76de166a25733f18fd93da01d2abf5d1c"
19 20
20inherit autotools gtk-icon-cache 21inherit autotools gtk-icon-cache
21
22do_install_append() {
23 install -d ${D}${datadir}/applications/
24 install ${WORKDIR}/connman-applet.desktop ${D}${datadir}/applications/
25}
diff --git a/meta/recipes-connectivity/connman/connman_0.63.bb b/meta/recipes-connectivity/connman/connman_0.65.bb
index e99f7840af..0b077e1d98 100644
--- a/meta/recipes-connectivity/connman/connman_0.63.bb
+++ b/meta/recipes-connectivity/connman/connman_0.65.bb
@@ -24,5 +24,5 @@ SRC_URI = "\
24 file://connman \ 24 file://connman \
25" 25"
26 26
27SRC_URI[md5sum] = "11616a4fa1d03f96f0739730645f7c53" 27SRC_URI[md5sum] = "bd714da295ed2d2d91a49539f4c4fa3a"
28SRC_URI[sha256sum] = "e2a57376cdcd42b3876262da6959aa58428941e0eb2df9a4724cd3f1af934492" 28SRC_URI[sha256sum] = "a1c1d93da6bb4c2d8ae53293b06f237e02f5e796d2bba73ec639a466d05259c3"
diff --git a/meta/recipes-connectivity/gsm/gsmd.inc b/meta/recipes-connectivity/gsm/gsmd.inc
index 9818188636..b2aebb15fd 100644
--- a/meta/recipes-connectivity/gsm/gsmd.inc
+++ b/meta/recipes-connectivity/gsm/gsmd.inc
@@ -9,8 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
9SECTION = "libs/gsm" 9SECTION = "libs/gsm"
10PROVIDES += "gsmd" 10PROVIDES += "gsmd"
11RPROVIDES_${PN} = "libgsmd0 libgsmd gsmd gsmd-devel" 11RPROVIDES_${PN} = "libgsmd0 libgsmd gsmd gsmd-devel"
12PV = "0.1+svnr${SRCREV}" 12PV = "0.1+svnr${SRCPV}"
13PR = "r0" 13PR = "r2"
14 14
15SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \ 15SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \
16 file://fix_machine_init.patch;patch=1 \ 16 file://fix_machine_init.patch;patch=1 \
@@ -19,10 +19,8 @@ SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \
19S = "${WORKDIR}/gsm" 19S = "${WORKDIR}/gsm"
20 20
21inherit autotools pkgconfig update-rc.d 21inherit autotools pkgconfig update-rc.d
22# handle update-rc.d RDEPENDS manually, we don't need it on
23# anything but gsmd
24RDEPENDS_append = ""
25 22
23UPDATERCPN = "gsmd"
26INITSCRIPT_NAME = "gsmd" 24INITSCRIPT_NAME = "gsmd"
27INITSCRIPT_PARAMS = "defaults 35" 25INITSCRIPT_PARAMS = "defaults 35"
28 26
diff --git a/meta/recipes-connectivity/gupnp/gupnp_0.14.0.bb b/meta/recipes-connectivity/gupnp/gupnp_0.14.0.bb
index 9beb46ed11..9f2d717c76 100644
--- a/meta/recipes-connectivity/gupnp/gupnp_0.14.0.bb
+++ b/meta/recipes-connectivity/gupnp/gupnp_0.14.0.bb
@@ -23,7 +23,7 @@ FILES_${PN}-dev += "${bindir}/gupnp-binding-tool"
23SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess" 23SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess"
24 24
25gupnp_sysroot_preprocess () { 25gupnp_sysroot_preprocess () {
26 install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/ 26 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
27 install -m 755 ${D}${bindir}/gupnp-binding-tool ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/ 27 install -m 755 ${D}${bindir}/gupnp-binding-tool ${SYSROOT_DESTDIR}${bindir_crossscripts}/
28} 28}
29 29
diff --git a/meta/recipes-connectivity/gypsy/gypsy_svn.bb b/meta/recipes-connectivity/gypsy/gypsy_svn.bb
index ac1b6bc12f..2e9840afd3 100644
--- a/meta/recipes-connectivity/gypsy/gypsy_svn.bb
+++ b/meta/recipes-connectivity/gypsy/gypsy_svn.bb
@@ -2,7 +2,7 @@ require gypsy.inc
2 2
3DEFAULT_PREFERENCE = "-1" 3DEFAULT_PREFERENCE = "-1"
4 4
5PV = "0.0+svnr${SRCREV}" 5PV = "0.0+svnr${SRCPV}"
6S = "${WORKDIR}/${PN}" 6S = "${WORKDIR}/${PN}"
7 7
8SRC_URI = "svn://svn.o-hand.com/repos/${PN}/trunk;module=${PN};proto=http \ 8SRC_URI = "svn://svn.o-hand.com/repos/${PN}/trunk;module=${PN};proto=http \
diff --git a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
index 0cdb057521..4c94d2aeaf 100644
--- a/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
+++ b/meta/recipes-connectivity/libnss-mdns/libnss-mdns_0.10.bb
@@ -7,8 +7,8 @@ LICENSE = "LGPLv2.1+"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
8 8
9DEPENDS = "avahi" 9DEPENDS = "avahi"
10RDEPENDS = "avahi-daemon" 10RDEPENDS_${PN} = "avahi-daemon"
11PR = "r1" 11PR = "r2"
12 12
13SRC_URI = "http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-${PV}.tar.gz" 13SRC_URI = "http://0pointer.de/lennart/projects/nss-mdns/nss-mdns-${PV}.tar.gz"
14 14
diff --git a/meta/recipes-connectivity/nfs-utils/files/fix-ac-prereq.patch b/meta/recipes-connectivity/nfs-utils/files/fix-ac-prereq.patch
new file mode 100644
index 0000000000..21315206fb
--- /dev/null
+++ b/meta/recipes-connectivity/nfs-utils/files/fix-ac-prereq.patch
@@ -0,0 +1,13 @@
1diff --git a/configure.in b/configure.in
2index f5d54fb..c105988 100644
3--- a/configure.in
4+++ b/configure.in
5@@ -1,7 +1,7 @@
6 # -*- Autoconf -*-
7 # Process this file with autoconf to produce a configure script.
8
9-AC_PREREQ([2.66])
10+AC_PREREQ([2.65])
11 AC_INIT([libnfsidmap],[0.24],[linux-nfs@vger.kernel.org])
12 AC_CONFIG_SRCDIR([nfsidmap.h])
13 AC_CONFIG_MACRO_DIR([m4])
diff --git a/meta/recipes-connectivity/nfs-utils/libnfsidmap_0.23.bb b/meta/recipes-connectivity/nfs-utils/libnfsidmap_0.24.bb
index 3077ea2eef..101ecab1c2 100644
--- a/meta/recipes-connectivity/nfs-utils/libnfsidmap_0.23.bb
+++ b/meta/recipes-connectivity/nfs-utils/libnfsidmap_0.24.bb
@@ -6,10 +6,12 @@ LICENSE = "BSD"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d9c6a2a0ca6017fda7cd905ed2739b37" 6LIC_FILES_CHKSUM = "file://COPYING;md5=d9c6a2a0ca6017fda7cd905ed2739b37"
7PR = "r0" 7PR = "r0"
8 8
9SRC_URI = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${BPN}-${PV}.tar.gz" 9SRC_URI = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${BPN}-${PV}.tar.gz \
10 file://fix-ac-prereq.patch \
11 "
10 12
11SRC_URI[md5sum] = "28f3ece648c1dc5d25e8d623d55f8bd6" 13SRC_URI[md5sum] = "d71a1ee9881d5b5814ff3ec41256937d"
12SRC_URI[sha256sum] = "69d20cfc6be6bf7ede2a55da687dc6853f2db6c8ef826a0b5e3235e7d46f4051" 14SRC_URI[sha256sum] = "59501432e683336d7a290da13767e92afb5b86f42ea4254041225fe218e8dd47"
13 15
14inherit autotools 16inherit autotools
15 17
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
index d86bd0f737..b456474f9c 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.2.3.bb
@@ -10,10 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
10 10
11# util-linux for libblkid 11# util-linux for libblkid
12DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers" 12DEPENDS = "libcap libnfsidmap libevent util-linux tcp-wrappers"
13RDEPENDS = "portmap" 13RDEPENDS_${PN} = "portmap"
14RRECOMMENDS = "kernel-module-nfsd" 14RRECOMMENDS_${PN} = "kernel-module-nfsd"
15 15
16PR = "r0" 16PR = "r2"
17 17
18SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.bz2 \ 18SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.bz2 \
19 file://nfs-utils-1.0.6-uclibc.patch \ 19 file://nfs-utils-1.0.6-uclibc.patch \
diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc
index 5abc92ef52..9089670007 100644
--- a/meta/recipes-connectivity/ofono/ofono.inc
+++ b/meta/recipes-connectivity/ofono/ofono.inc
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
7 7
8inherit autotools pkgconfig update-rc.d 8inherit autotools pkgconfig update-rc.d
9 9
10DEPENDS = "dbus glib-2.0" 10DEPENDS = "dbus glib-2.0 udev"
11 11
12INITSCRIPT_NAME = "ofono" 12INITSCRIPT_NAME = "ofono"
13INITSCRIPT_PARAMS = "defaults 22" 13INITSCRIPT_PARAMS = "defaults 22"
diff --git a/meta/recipes-connectivity/ofono/ofono_0.33.bb b/meta/recipes-connectivity/ofono/ofono_0.33.bb
deleted file mode 100644
index 1d9a8afb73..0000000000
--- a/meta/recipes-connectivity/ofono/ofono_0.33.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1require ofono.inc
2
3PR = "r0"
4
5SRC_URI = "http://www.kernel.org/pub/linux/network/ofono/${P}.tar.bz2 \
6 file://ofono"
7
8SRC_URI[md5sum] = "001160996d0c00e7b8da575e1fff1bd1"
9SRC_URI[sha256sum] = "1b7ce568e32518f404231389150cea5d4abfb19e09eaa6e7a280be2e5186c82f"
diff --git a/meta/recipes-connectivity/ofono/ofono_0.37.bb b/meta/recipes-connectivity/ofono/ofono_0.37.bb
new file mode 100644
index 0000000000..1c1c50111d
--- /dev/null
+++ b/meta/recipes-connectivity/ofono/ofono_0.37.bb
@@ -0,0 +1,9 @@
1require ofono.inc
2
3PR = "r0"
4
5SRC_URI = "http://www.kernel.org/pub/linux/network/ofono/${P}.tar.bz2 \
6 file://ofono"
7
8SRC_URI[md5sum] = "fa9a6f91506db2ac5bf313ff0bde65f3"
9SRC_URI[sha256sum] = "0ac71d8a846d564ef6940c47bcc410b76df750aadf7903cb56876d991275f6db"
diff --git a/meta/recipes-connectivity/openssl/openssl-0.9.8p/debian/valgrind.patch b/meta/recipes-connectivity/openssl/openssl-0.9.8p/debian/valgrind.patch
deleted file mode 100644
index e9f86eabbf..0000000000
--- a/meta/recipes-connectivity/openssl/openssl-0.9.8p/debian/valgrind.patch
+++ /dev/null
@@ -1,15 +0,0 @@
1Index: openssl-0.9.8k/crypto/rand/md_rand.c
2===================================================================
3--- openssl-0.9.8k.orig/crypto/rand/md_rand.c 2008-09-16 13:50:05.000000000 +0200
4+++ openssl-0.9.8k/crypto/rand/md_rand.c 2009-07-19 11:36:05.000000000 +0200
5@@ -477,8 +477,10 @@
6 MD_Update(&m,local_md,MD_DIGEST_LENGTH);
7 MD_Update(&m,(unsigned char *)&(md_c[0]),sizeof(md_c));
8 #ifndef PURIFY
9+#if 0 /* Don't add uninitialised data. */
10 MD_Update(&m,buf,j); /* purify complains */
11 #endif
12+#endif
13 k=(st_idx+MD_DIGEST_LENGTH/2)-st_num;
14 if (k > 0)
15 {
diff --git a/meta/recipes-connectivity/openssl/openssl_0.9.8p.bb b/meta/recipes-connectivity/openssl/openssl_0.9.8p.bb
index 3ae6bf456e..283b82add0 100644
--- a/meta/recipes-connectivity/openssl/openssl_0.9.8p.bb
+++ b/meta/recipes-connectivity/openssl/openssl_0.9.8p.bb
@@ -13,7 +13,6 @@ SRC_URI += "file://debian/ca.patch \
13 file://debian/no-symbolic.patch \ 13 file://debian/no-symbolic.patch \
14 file://debian/pic.patch \ 14 file://debian/pic.patch \
15 file://debian/pkg-config.patch \ 15 file://debian/pkg-config.patch \
16 file://debian/valgrind.patch \
17 file://debian/rc4-amd64.patch \ 16 file://debian/rc4-amd64.patch \
18 file://debian/rehash-crt.patch \ 17 file://debian/rehash-crt.patch \
19 file://debian/rehash_pod.patch \ 18 file://debian/rehash_pod.patch \
diff --git a/meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb b/meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb
index 79805614d3..aa3684a440 100644
--- a/meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb
+++ b/meta/recipes-connectivity/ppp-dialin/ppp-dialin_0.1.bb
@@ -1,8 +1,8 @@
1SECTION = "console/network" 1SECTION = "console/network"
2DESCRIPTION = "Enables PPP dial-in through a serial connection" 2DESCRIPTION = "Enables PPP dial-in through a serial connection"
3DEPENDS = "ppp" 3DEPENDS = "ppp"
4RDEPENDS = "ppp" 4RDEPENDS_${PN} = "ppp"
5PR = "r5" 5PR = "r6"
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ 7LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
8 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 8 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
diff --git a/meta/recipes-connectivity/resolvconf/resolvconf_1.43.bb b/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb
index 16d88dc86c..cb8aaaf536 100644
--- a/meta/recipes-connectivity/resolvconf/resolvconf_1.43.bb
+++ b/meta/recipes-connectivity/resolvconf/resolvconf_1.48.bb
@@ -10,13 +10,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b"
10AUTHOR = "Thomas Hood" 10AUTHOR = "Thomas Hood"
11HOMEPAGE = "http://packages.debian.org/resolvconf" 11HOMEPAGE = "http://packages.debian.org/resolvconf"
12DEPENDS = "bash" 12DEPENDS = "bash"
13RDEPENDS = "bash" 13RDEPENDS_${PN} = "bash"
14PR = "r1" 14PR = "r0"
15 15
16SRC_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/resolvconf_${PV}.tar.gz" 16SRC_URI = "${DEBIAN_MIRROR}/main/r/resolvconf/resolvconf_${PV}.tar.gz"
17 17
18SRC_URI[md5sum] = "15faef2aba7b99782f3b0b8b5d30f80a" 18SRC_URI[md5sum] = "b226e02704a545238eac5ef70f6d3c4c"
19SRC_URI[sha256sum] = "17e1105cddd928adf7d47e050f9bb49557850687f800b3e24cbbf22933ff31ae" 19SRC_URI[sha256sum] = "4b07832680b82d401a76132cd6bbe13961231235287f2662a6604edbcac82bb1"
20
20 21
21do_compile () { 22do_compile () {
22 : 23 :
diff --git a/meta/recipes-connectivity/telepathy/telepathy-glib_0.13.5.bb b/meta/recipes-connectivity/telepathy/telepathy-glib_0.13.6.bb
index 17b6f86adb..63ada04dbe 100644
--- a/meta/recipes-connectivity/telepathy/telepathy-glib_0.13.5.bb
+++ b/meta/recipes-connectivity/telepathy/telepathy-glib_0.13.6.bb
@@ -7,8 +7,8 @@ PR = "r0"
7 7
8SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${P}.tar.gz" 8SRC_URI = "http://telepathy.freedesktop.org/releases/telepathy-glib/${P}.tar.gz"
9 9
10SRC_URI[md5sum] = "178de3965614a3a59123e33ec1b1e8a6" 10SRC_URI[md5sum] = "db997b1575e9186887caf211c0b94dd9"
11SRC_URI[sha256sum] = "ad6e12a062c8ebe1f1fd20065acc214b9395b3d766bf2a122b12c5f811007735" 11SRC_URI[sha256sum] = "76a38a64d1b7fbaa6e1aaf6a9f8b898840c551aea5d9121bdcb35fdbb66c5877"
12 12
13LIC_FILES_CHKSUM = "file://COPYING;md5=e413d83db6ee8f2c8e6055719096a48e" 13LIC_FILES_CHKSUM = "file://COPYING;md5=e413d83db6ee8f2c8e6055719096a48e"
14 14
diff --git a/meta/recipes-connectivity/telepathy/telepathy-idle_0.1.6.bb b/meta/recipes-connectivity/telepathy/telepathy-idle_0.1.7.bb
index f5222525db..cbc7234aba 100644
--- a/meta/recipes-connectivity/telepathy/telepathy-idle_0.1.6.bb
+++ b/meta/recipes-connectivity/telepathy/telepathy-idle_0.1.7.bb
@@ -9,8 +9,8 @@ PR = "r0"
9 9
10SRC_URI = "http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz" 10SRC_URI = "http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
11 11
12SRC_URI[md5sum] = "0efe17425cdc3490714947ff68003bf6" 12SRC_URI[md5sum] = "5ee3aa5c6e1112922b11711e6a209331"
13SRC_URI[sha256sum] = "fc05a1780499eab3b168b1826e2fe18dbe4bea3576ea0ff2b548b063336c61f5" 13SRC_URI[sha256sum] = "b65df4f8ebdf1039e1f1e406f53cc7b6106fab6c4d8e784e360709f8d85df0c3"
14 14
15inherit autotools pkgconfig 15inherit autotools pkgconfig
16 16
diff --git a/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.7.0.bb b/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.7.1.bb
index de28a08378..f5c27454f2 100644
--- a/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.7.0.bb
+++ b/meta/recipes-connectivity/telepathy/telepathy-mission-control_5.7.1.bb
@@ -40,5 +40,5 @@ FILES_libmissioncontrol-dbg = "${libdir}/.debug/libmissioncontrol.so.*"
40FILES_libmissioncontrol-config-dbg = "${libdir}/.debug/libmissioncontrol-config.so.*" 40FILES_libmissioncontrol-config-dbg = "${libdir}/.debug/libmissioncontrol-config.so.*"
41FILES_libmissioncontrol-server-dbg = "${libdir}/.debug/libmissioncontrol-server.so.*" 41FILES_libmissioncontrol-server-dbg = "${libdir}/.debug/libmissioncontrol-server.so.*"
42 42
43SRC_URI[md5sum] = "cf6a3f48bb493312b537c9b6b33c0a72" 43SRC_URI[md5sum] = "9688a3f75c080eaa2dbf6b4d75876dc9"
44SRC_URI[sha256sum] = "ffe0da124418fa4f8c3a9049f7e13febb1ca5e9be92229cd5ab12238f4fda824" 44SRC_URI[sha256sum] = "c58f07ee801b023bc5d5a8ec0fce49058a0372b6727e6516fb56d100dacd07fe"
diff --git a/meta/recipes-connectivity/telepathy/telepathy-python_0.15.18.bb b/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb
index 8d7c766b90..aefde8c891 100644
--- a/meta/recipes-connectivity/telepathy/telepathy-python_0.15.18.bb
+++ b/meta/recipes-connectivity/telepathy/telepathy-python_0.15.19.bb
@@ -8,12 +8,12 @@ RDEPENDS_${PN} += "python-dbus"
8 8
9SRC_URI = "http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz " 9SRC_URI = "http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz "
10 10
11PR = "r1" 11PR = "r0"
12 12
13inherit autotools 13inherit autotools
14 14
15SRC_URI[md5sum] = "51da78a77681b0652d9b4ca941da0658" 15SRC_URI[md5sum] = "f7ca25ab3c88874015b7e9728f7f3017"
16SRC_URI[sha256sum] = "f9f5c260188e9e27af9152bfc6d622cc5c0ea48d63d5fa9985abbdd69fda0e87" 16SRC_URI[sha256sum] = "244c0e1bf4bbd78ae298ea659fe10bf3a73738db550156767cc2477aedf72376"
17 17
18FILES_${PN} += "\ 18FILES_${PN} += "\
19 ${libdir}/python*/site-packages/telepathy/*.py \ 19 ${libdir}/python*/site-packages/telepathy/*.py \
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
index 78ce914c31..7865b8fdc7 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
@@ -20,8 +20,9 @@ SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \
20S = "${WORKDIR}/wpa_supplicant-${PV}/wpa_supplicant" 20S = "${WORKDIR}/wpa_supplicant-${PV}/wpa_supplicant"
21 21
22PACKAGES_prepend = "wpa-supplicant-passphrase wpa-supplicant-cli " 22PACKAGES_prepend = "wpa-supplicant-passphrase wpa-supplicant-cli "
23FILES_wpa-supplicant-passphrase = "/usr/sbin/wpa_passphrase" 23FILES_wpa-supplicant-passphrase = "${sbindir}/wpa_passphrase"
24FILES_wpa-supplicant-cli = "/usr/sbin/wpa_cli" 24FILES_wpa-supplicant-cli = "${sbindir}/wpa_cli"
25FILES_${PN} += " ${datadir}/dbus-1/system-services/*
25 26
26do_configure () { 27do_configure () {
27 install -m 0755 ${WORKDIR}/defconfig-gnutls .config 28 install -m 0755 ${WORKDIR}/defconfig-gnutls .config
@@ -29,7 +30,7 @@ do_configure () {
29 30
30export EXTRA_CFLAGS = "${CFLAGS}" 31export EXTRA_CFLAGS = "${CFLAGS}"
31do_compile () { 32do_compile () {
32 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS 33 unset CFLAGS CPPFLAGS CXXFLAGS
33 oe_runmake 34 oe_runmake
34} 35}
35 36
@@ -56,6 +57,9 @@ do_install () {
56 57
57 install -d ${D}/${sysconfdir}/dbus-1/system.d 58 install -d ${D}/${sysconfdir}/dbus-1/system.d
58 install -m 644 ${S}/dbus/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d 59 install -m 644 ${S}/dbus/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d
60 install -d ${D}/${datadir}/dbus-1/system-services
61 sed -i -e s:${base_sbindir}:${sbindir}:g ${S}/dbus/*.service
62 install -m 644 ${S}/dbus/*.service ${D}/${datadir}/dbus-1/system-services
59 63
60 install -d ${D}/etc/default/volatiles 64 install -d ${D}/etc/default/volatiles
61 install -m 0644 ${WORKDIR}/99_wpa_supplicant ${D}/etc/default/volatiles 65 install -m 0644 ${WORKDIR}/99_wpa_supplicant ${D}/etc/default/volatiles
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb
index 2d7729c8d5..87baf336d8 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb
@@ -1,6 +1,6 @@
1require wpa-supplicant-0.7.inc 1require wpa-supplicant-0.7.inc
2 2
3PR = "r0" 3PR = "r3"
4 4
5SRC_URI[md5sum] = "f516f191384a9a546e3f5145c08addda" 5SRC_URI[md5sum] = "f516f191384a9a546e3f5145c08addda"
6SRC_URI[sha256sum] = "d0cd50caa85346ccc376dcda5ed3c258eef19a93b3cade39d25760118ad59443" 6SRC_URI[sha256sum] = "d0cd50caa85346ccc376dcda5ed3c258eef19a93b3cade39d25760118ad59443"
diff --git a/meta/recipes-core/base-files/base-files/profile b/meta/recipes-core/base-files/base-files/profile
index aa1c20fdb8..e9408d17d7 100644
--- a/meta/recipes-core/base-files/base-files/profile
+++ b/meta/recipes-core/base-files/base-files/profile
@@ -12,7 +12,7 @@ if [ ! -e /etc/localtime ]; then
12fi 12fi
13 13
14if [ "$HOME" = "/home/root" ]; then 14if [ "$HOME" = "/home/root" ]; then
15 PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin: 15 PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
16fi 16fi
17if [ "$PS1" ]; then 17if [ "$PS1" ]; then
18# works for bash and ash (no other shells known to be in use here) 18# works for bash and ash (no other shells known to be in use here)
diff --git a/meta/recipes-core/base-files/base-files_3.0.14.bb b/meta/recipes-core/base-files/base-files_3.0.14.bb
index 055769695e..d2fec72913 100644
--- a/meta/recipes-core/base-files/base-files_3.0.14.bb
+++ b/meta/recipes-core/base-files/base-files_3.0.14.bb
@@ -2,7 +2,7 @@ SUMMARY = "Miscellaneous files for the base system."
2DESCRIPTION = "The base-files package creates the basic system directory structure and provides a small set of key configuration files for the system." 2DESCRIPTION = "The base-files package creates the basic system directory structure and provides a small set of key configuration files for the system."
3SECTION = "base" 3SECTION = "base"
4PRIORITY = "required" 4PRIORITY = "required"
5PR = "r65" 5PR = "r67"
6LICENSE = "GPLv2" 6LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://licenses/GPL-2;md5=94d55d512a9ba36caa9b7df079bae19f" 7LIC_FILES_CHKSUM = "file://licenses/GPL-2;md5=94d55d512a9ba36caa9b7df079bae19f"
8SRC_URI = "file://rotation \ 8SRC_URI = "file://rotation \
@@ -48,6 +48,12 @@ dirs755 = "/bin /boot /dev ${sysconfdir} ${sysconfdir}/default \
48 /mnt /media /media/card /media/cf /media/net /media/ram \ 48 /mnt /media /media/card /media/cf /media/net /media/ram \
49 /media/union /media/realroot /media/hdd \ 49 /media/union /media/realroot /media/hdd \
50 /media/mmc1" 50 /media/mmc1"
51dirs3755 = "/srv \
52 ${prefix}/local ${prefix}/local/bin ${prefix}/local/games \
53 ${prefix}/local/include ${prefix}/local/lib ${prefix}/local/sbin \
54 ${prefix}/local/share ${prefix}/local/src"
55dirs4775 = "/var/mail"
56
51volatiles = "cache run log lock tmp" 57volatiles = "cache run log lock tmp"
52conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \ 58conffiles = "${sysconfdir}/debian_version ${sysconfdir}/host.conf \
53 ${sysconfdir}/inputrc ${sysconfdir}/issue /${sysconfdir}/issue.net \ 59 ${sysconfdir}/inputrc ${sysconfdir}/issue /${sysconfdir}/issue.net \
@@ -156,6 +162,16 @@ do_install_append_netbook-pro () {
156 mkdir -p ${D}/initrd 162 mkdir -p ${D}/initrd
157} 163}
158 164
165do_install_append_poky-lsb() {
166 for d in ${dirs3755}; do
167 install -m 0755 -d ${D}$d
168 done
169
170 for d in ${dirs4775}; do
171 install -m 2755 -d ${D}$d
172 done
173}
174
159PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg" 175PACKAGES = "${PN}-doc ${PN} ${PN}-dev ${PN}-dbg"
160FILES_${PN} = "/" 176FILES_${PN} = "/"
161FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses" 177FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses"
diff --git a/meta/recipes-core/busybox/busybox-1.17.3/busybox-udhcpc-no_deconfig.patch b/meta/recipes-core/busybox/busybox-1.17.3/busybox-udhcpc-no_deconfig.patch
new file mode 100644
index 0000000000..cdf56b826c
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox-1.17.3/busybox-udhcpc-no_deconfig.patch
@@ -0,0 +1,110 @@
1Add a new option -D to the udhcpc client that allows for
2dhcp renewal to occur without having to down the interface
3in the process.
4
5Signed-off-by: Greg Moffatt <greg.moffatt@windriver.com>
6
7Updated to latest Busybox 1.17.3
8
9Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
10
11diff -ur busybox-1.17.3.orig/networking/udhcp/dhcpc.c busybox-1.17.3/networking/udhcp/dhcpc.c
12--- busybox-1.17.3.orig/networking/udhcp/dhcpc.c
13+++ busybox-1.17.3/networking/udhcp/dhcpc.c
14@@ -35,6 +35,9 @@
15 #endif
16 #include <linux/filter.h>
17
18+/* option whether to down the interface when reconfiguring */
19+static int allow_deconfig = 1;
20+
21 /* struct client_config_t client_config is in bb_common_bufsiz1 */
22
23
24@@ -709,7 +712,8 @@
25 state = RENEW_REQUESTED;
26 break;
27 case RENEW_REQUESTED: /* impatient are we? fine, square 1 */
28- udhcp_run_script(NULL, "deconfig");
29+ if (allow_deconfig)
30+ udhcp_run_script(NULL, "deconfig");
31 case REQUESTING:
32 case RELEASED:
33 change_listen_mode(LISTEN_RAW);
34@@ -733,7 +737,8 @@
35 bb_info_msg("Unicasting a release of %s to %s",
36 inet_ntoa(temp_addr), buffer);
37 send_release(server_addr, requested_ip); /* unicast */
38- udhcp_run_script(NULL, "deconfig");
39+ if (allow_deconfig)
40+ udhcp_run_script(NULL, "deconfig");
41 }
42 bb_info_msg("Entering released state");
43
44@@ -836,6 +841,7 @@
45 OPT_o = 1 << 18,
46 OPT_x = 1 << 19,
47 OPT_f = 1 << 20,
48+ OPT_D = 1 << 21,
49 /* The rest has variable bit positions, need to be clever */
50 OPTBIT_f = 20,
51 USE_FOR_MMU( OPTBIT_b,)
52@@ -861,7 +867,7 @@
53 #endif
54 ;
55 IF_LONG_OPTS(applet_long_options = udhcpc_longopts;)
56- opt = getopt32(argv, "c:CV:H:h:F:i:np:qRr:s:T:t:SA:O:ox:f"
57+ opt = getopt32(argv, "c:CV:H:h:F:i:np:qRr:s:T:t:SA:O:ox:fD"
58 USE_FOR_MMU("b")
59 IF_FEATURE_UDHCPC_ARPING("a")
60 IF_FEATURE_UDHCP_PORT("P:")
61@@ -950,6 +956,9 @@
62 logmode |= LOGMODE_SYSLOG;
63 }
64
65+ if (opt & OPT_D)
66+ allow_deconfig = 0;
67+
68 /* Make sure fd 0,1,2 are open */
69 bb_sanitize_stdio();
70 /* Equivalent of doing a fflush after every \n */
71@@ -964,7 +973,8 @@
72 srand(monotonic_us());
73
74 state = INIT_SELECTING;
75- udhcp_run_script(NULL, "deconfig");
76+ if (allow_deconfig)
77+ udhcp_run_script(NULL, "deconfig");
78 change_listen_mode(LISTEN_RAW);
79 packet_num = 0;
80 timeout = 0;
81@@ -1100,7 +1110,8 @@
82 }
83 /* Timed out, enter init state */
84 bb_info_msg("Lease lost, entering init state");
85- udhcp_run_script(NULL, "deconfig");
86+ if (allow_deconfig)
87+ udhcp_run_script(NULL, "deconfig");
88 state = INIT_SELECTING;
89 /*timeout = 0; - already is */
90 packet_num = 0;
91@@ -1246,7 +1257,8 @@
92 send_decline(xid, server_addr, packet.yiaddr);
93
94 if (state != REQUESTING)
95- udhcp_run_script(NULL, "deconfig");
96+ if (allow_deconfig)
97+ udhcp_run_script(NULL, "deconfig");
98 change_listen_mode(LISTEN_RAW);
99 state = INIT_SELECTING;
100 requested_ip = 0;
101@@ -1292,7 +1304,8 @@
102 bb_info_msg("Received DHCP NAK");
103 udhcp_run_script(&packet, "nak");
104 if (state != REQUESTING)
105- udhcp_run_script(NULL, "deconfig");
106+ if (allow_deconfig)
107+ udhcp_run_script(NULL, "deconfig");
108 change_listen_mode(LISTEN_RAW);
109 sleep(3); /* avoid excessive network traffic */
110 state = INIT_SELECTING;
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index 142c72f4e5..55f056c4c0 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -18,11 +18,12 @@ FILES_${PN}-httpd = "${sysconfdir}/init.d/busybox-httpd /srv/www"
18FILES_${PN}-udhcpd = "${sysconfdir}/init.d/busybox-udhcpd" 18FILES_${PN}-udhcpd = "${sysconfdir}/init.d/busybox-udhcpd"
19 19
20FILES_${PN} += "${datadir}/udhcpc" 20FILES_${PN} += "${datadir}/udhcpc"
21FILES_${PN} += "${sysconfdir}/init.d/busybox-udhcpc"
21 22
22INITSCRIPT_PACKAGES = "${PN} ${PN}-httpd ${PN}-udhcpd" 23INITSCRIPT_PACKAGES = "${PN} ${PN}-httpd ${PN}-udhcpd"
23INITSCRIPT_NAME_${PN}-httpd = "busybox-httpd" 24INITSCRIPT_NAME_${PN}-httpd = "busybox-httpd"
24INITSCRIPT_NAME_${PN}-udhcpd = "busybox-udhcpd" 25INITSCRIPT_NAME_${PN}-udhcpd = "busybox-udhcpd"
25INITSCRIPT_NAME_${PN} = "syslog" 26INITSCRIPT_NAME_${PN} = "syslog busybox-udhcpc"
26CONFFILES_${PN} = "${sysconfdir}/syslog.conf.${PN}" 27CONFFILES_${PN} = "${sysconfdir}/syslog.conf.${PN}"
27 28
28# This disables the syslog startup links in slugos (see slugos-init) 29# This disables the syslog startup links in slugos (see slugos-init)
@@ -97,6 +98,7 @@ do_install () {
97 install -d ${D}${datadir}/udhcpc 98 install -d ${D}${datadir}/udhcpc
98 install -m 0755 ${S}/examples/udhcp/simple.script ${D}${sysconfdir}/udhcpc.d/50default 99 install -m 0755 ${S}/examples/udhcp/simple.script ${D}${sysconfdir}/udhcpc.d/50default
99 install -m 0755 ${WORKDIR}/default.script ${D}${datadir}/udhcpc/default.script 100 install -m 0755 ${WORKDIR}/default.script ${D}${datadir}/udhcpc/default.script
101 install -m 0755 ${WORKDIR}/busybox-udhcpc ${D}${sysconfdir}/init.d/
100 fi 102 fi
101 103
102 install -m 0644 ${S}/busybox.links ${D}${sysconfdir} 104 install -m 0644 ${S}/busybox.links ${D}${sysconfdir}
diff --git a/meta/recipes-core/busybox/busybox_1.17.3.bb b/meta/recipes-core/busybox/busybox_1.17.3.bb
index 9ecb36d647..c5fbe9c7b0 100644
--- a/meta/recipes-core/busybox/busybox_1.17.3.bb
+++ b/meta/recipes-core/busybox/busybox_1.17.3.bb
@@ -1,5 +1,5 @@
1require busybox.inc 1require busybox.inc
2PR = "r0" 2PR = "r1"
3 3
4SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \ 4SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
5 file://udhcpscript.patch \ 5 file://udhcpscript.patch \
@@ -9,10 +9,12 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
9 file://busybox-appletlib-dependency.patch \ 9 file://busybox-appletlib-dependency.patch \
10 file://run-parts.in.usr-bin.patch \ 10 file://run-parts.in.usr-bin.patch \
11 file://make-382-fix.patch \ 11 file://make-382-fix.patch \
12 file://busybox-udhcpc-no_deconfig.patch \
12 file://find-touchscreen.sh \ 13 file://find-touchscreen.sh \
13 file://busybox-cron \ 14 file://busybox-cron \
14 file://busybox-httpd \ 15 file://busybox-httpd \
15 file://busybox-udhcpd \ 16 file://busybox-udhcpd \
17 file://busybox-udhcpc \
16 file://default.script \ 18 file://default.script \
17 file://simple.script \ 19 file://simple.script \
18 file://hwclock.sh \ 20 file://hwclock.sh \
diff --git a/meta/recipes-core/busybox/files/busybox-udhcpc b/meta/recipes-core/busybox/files/busybox-udhcpc
new file mode 100755
index 0000000000..2c43f8da2e
--- /dev/null
+++ b/meta/recipes-core/busybox/files/busybox-udhcpc
@@ -0,0 +1,25 @@
1#!/bin/sh
2#
3# (c) 2010-2011 Wind River Systems, Inc.
4#
5# Busybox udhcpc init script
6#
7# script to start the udpchc DHCP client on boots where
8# the parameter 'ip=dhcp' was included in the kernel parameters
9
10# ensure the required binaries are present
11[ -x /sbin/udhcpc ] || exit 1
12[ -x /bin/grep ] || exit 1
13[ -x /bin/mount ] || exit 1
14
15# ensure /proc is mounted
16if ! mount | grep -q "/proc "; then
17 exit 2
18fi
19
20rc=0
21if grep -q -E "\bip=dhcp\b" /proc/cmdline; then
22 /sbin/udhcpc -D -s /usr/share/udhcpc/default.script
23 rc=$?
24fi
25exit $rc
diff --git a/meta/recipes-core/coreutils/coreutils-6.9/coreutils-6.9-cp-i-u.patch b/meta/recipes-core/coreutils/coreutils-6.9/coreutils-6.9-cp-i-u.patch
new file mode 100644
index 0000000000..6fec683bc3
--- /dev/null
+++ b/meta/recipes-core/coreutils/coreutils-6.9/coreutils-6.9-cp-i-u.patch
@@ -0,0 +1,118 @@
1This patch was imported from the Fedora Core 8 coreutils-6.9-9 package.
2
3The package is stated as being Licensed as GPLv2+.
4
5Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
6
7----
8
9When "cp -i --update old new" would do nothing because "new" is
10newer than "old", cp would nonetheless prompt for whether it is
11ok to overwrite "new". Then, regardless of the response (because
12of the --update option), cp would do nothing.
13
14The following patch eliminates the unnecessary prompt in that case.
15
16diff --git a/src/copy.c b/src/copy.c
17index b7bf73b..0e549d2 100644
18--- a/src/copy.c
19+++ b/src/copy.c
20@@ -1210,6 +1210,30 @@ copy_internal (char const *src_name, char const *dst_name,
21 return false;
22 }
23
24+ if (!S_ISDIR (src_mode) && x->update)
25+ {
26+ /* When preserving time stamps (but not moving within a file
27+ system), don't worry if the destination time stamp is
28+ less than the source merely because of time stamp
29+ truncation. */
30+ int options = ((x->preserve_timestamps
31+ && ! (x->move_mode
32+ && dst_sb.st_dev == src_sb.st_dev))
33+ ? UTIMECMP_TRUNCATE_SOURCE
34+ : 0);
35+
36+ if (0 <= utimecmp (dst_name, &dst_sb, &src_sb, options))
37+ {
38+ /* We're using --update and the destination is not older
39+ than the source, so do not copy or move. Pretend the
40+ rename succeeded, so the caller (if it's mv) doesn't
41+ end up removing the source file. */
42+ if (rename_succeeded)
43+ *rename_succeeded = true;
44+ return true;
45+ }
46+ }
47+
48 /* When there is an existing destination file, we may end up
49 returning early, and hence not copying/moving the file.
50 This may be due to an interactive `negative' reply to the
51@@ -1302,30 +1326,6 @@ copy_internal (char const *src_name, char const *dst_name,
52 return false;
53 }
54 }
55-
56- if (x->update)
57- {
58- /* When preserving time stamps (but not moving within a file
59- system), don't worry if the destination time stamp is
60- less than the source merely because of time stamp
61- truncation. */
62- int options = ((x->preserve_timestamps
63- && ! (x->move_mode
64- && dst_sb.st_dev == src_sb.st_dev))
65- ? UTIMECMP_TRUNCATE_SOURCE
66- : 0);
67-
68- if (0 <= utimecmp (dst_name, &dst_sb, &src_sb, options))
69- {
70- /* We're using --update and the destination is not older
71- than the source, so do not copy or move. Pretend the
72- rename succeeded, so the caller (if it's mv) doesn't
73- end up removing the source file. */
74- if (rename_succeeded)
75- *rename_succeeded = true;
76- return true;
77- }
78- }
79 }
80
81 if (x->move_mode)
82diff --git a/tests/mv/update b/tests/mv/update
83index 0c06024..6c3d149 100755
84--- a/tests/mv/update
85+++ b/tests/mv/update
86@@ -1,7 +1,7 @@
87 #!/bin/sh
88 # make sure --update works as advertised
89
90-# Copyright (C) 2001, 2004, 2006 Free Software Foundation, Inc.
91+# Copyright (C) 2001, 2004, 2006-2007 Free Software Foundation, Inc.
92
93 # This program is free software; you can redistribute it and/or modify
94 # it under the terms of the GNU General Public License as published by
95@@ -46,11 +46,16 @@ fi
96
97 fail=0
98
99-for cp_or_mv in cp mv; do
100- # This is a no-op.
101- $cp_or_mv --update old new || fail=1
102- case "`cat new`" in new) ;; *) fail=1 ;; esac
103- case "`cat old`" in old) ;; *) fail=1 ;; esac
104+for interactive in '' -i; do
105+ for cp_or_mv in cp mv; do
106+ # This is a no-op, with no prompt.
107+ # With coreutils-6.9 and earlier, using --update with -i would
108+ # mistakenly elicit a prompt.
109+ $cp_or_mv $interactive --update old new < /dev/null > out 2>&1 || fail=1
110+ test -s out && fail=1
111+ case "`cat new`" in new) ;; *) fail=1 ;; esac
112+ case "`cat old`" in old) ;; *) fail=1 ;; esac
113+ done
114 done
115
116 # This will actually perform the rename.
117--
1181.5.3.rc1.16.g9d6f
diff --git a/meta/recipes-core/coreutils/coreutils-6.9/coreutils-fix-install.patch b/meta/recipes-core/coreutils/coreutils-6.9/coreutils-fix-install.patch
new file mode 100644
index 0000000000..1b989f5311
--- /dev/null
+++ b/meta/recipes-core/coreutils/coreutils-6.9/coreutils-fix-install.patch
@@ -0,0 +1,99 @@
1The install command doesn't over write the dangling symlink, for
2example:
3
4$ install fileA /tmp/fileA
5
6If /tmp/fileA is a dangling symlink, there would be an error:
7
8install: cannot create regular file '/tmp/fileA': File exists
9
10This is because of the following code in copy.c:
11
12 if (!new_dst)
13 {
14 if (XSTAT (x, dst_name, &dst_sb) != 0)
15 {
16 if (errno != ENOENT)
17 {
18 error (0, errno, _("cannot stat %s"), quote (dst_name));
19 return false;
20 }
21 else
22 {
23 new_dst = true;
24 }
25 }
26
27XSTAT() use stat() for dst_name(the dangling symlink /tmp/fileA) when
28install.c invokes it, and stat will set errno to ENOENT, and then
29new_dst will be set to true which means that /tmp/fileA doesn't exist,
30then we will create /tmp/fileA without remove it first, so the error
31comes.
32
33This is fixed in a way which adds the member cmd_install in
34struct cp_options to make sure my change only affected to the install
35command and use lstat to fix the problem.
36
37Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
38Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
39
40---
41 src/copy.c | 10 +++++++++-
42 src/copy.h | 3 +++
43 src/install.c | 1 +
44 3 files changed, 13 insertions(+), 1 deletions(-)
45
46diff --git a/src/copy.c b/src/copy.c
47--- a/src/copy.c
48+++ b/src/copy.c
49@@ -1029,6 +1029,7 @@ copy_internal (char const *src_name, char const *dst_name,
50 bool delayed_ok;
51 bool copied_as_regular = false;
52 bool preserve_metadata;
53+ int dst_stat_result;
54
55 if (x->move_mode && rename_succeeded)
56 *rename_succeeded = false;
57@@ -1069,7 +1070,14 @@ copy_internal (char const *src_name, char const *dst_name,
58
59 if (!new_dst)
60 {
61- if (XSTAT (x, dst_name, &dst_sb) != 0)
62+ if ( x->cmd_install && ( x->backup_type == no_backups))
63+ dst_stat_result = lstat (dst_name, &dst_sb);
64+ else
65+ {
66+ dst_stat_result = XSTAT (x, dst_name, &dst_sb);
67+ }
68+
69+ if (dst_stat_result != 0)
70 {
71 if (errno != ENOENT)
72 {
73diff --git a/src/copy.h b/src/copy.h
74--- a/src/copy.h
75+++ b/src/copy.h
76@@ -114,6 +114,9 @@ struct cp_options
77 If that fails, then resort to copying. */
78 bool move_mode;
79
80+ /* For the install command */
81+ bool cmd_install;
82+
83 /* Whether this process has appropriate privileges to chown a file
84 whose owner is not the effective user ID. */
85 bool chown_privileges;
86diff --git a/src/install.c b/src/install.c
87--- a/src/install.c
88+++ b/src/install.c
89@@ -149,6 +149,7 @@ cp_option_init (struct cp_options *x)
90 x->hard_link = false;
91 x->interactive = I_UNSPECIFIED;
92 x->move_mode = false;
93+ x->cmd_install = true;
94 x->chown_privileges = chown_privileges ();
95 x->one_file_system = false;
96 x->preserve_ownership = false;
97--
981.7.0.1
99
diff --git a/meta/recipes-core/coreutils/coreutils-6.9/coreutils-i18n.patch b/meta/recipes-core/coreutils/coreutils-6.9/coreutils-i18n.patch
new file mode 100644
index 0000000000..3587186af1
--- /dev/null
+++ b/meta/recipes-core/coreutils/coreutils-6.9/coreutils-i18n.patch
@@ -0,0 +1,4049 @@
1This patch was imported from the Fedora Core 8 coreutils-6.9-9 package.
2
3The package is stated as being Licensed as GPLv2+.
4
5The comment indicates that the purpose is lin18nux/lsb compliance.
6
7Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
8
9--- /dev/null 2007-03-01 09:16:39.219409909 +0000
10+++ coreutils-6.8+/tests/sort/sort-mb-tests 2007-03-01 15:08:24.000000000 +0000
11@@ -0,0 +1,58 @@
12+#! /bin/sh
13+case $# in
14+ 0) xx='../../src/sort';;
15+ *) xx="$1";;
16+esac
17+test "$VERBOSE" && echo=echo || echo=:
18+$echo testing program: $xx
19+errors=0
20+test "$srcdir" || srcdir=.
21+test "$VERBOSE" && $xx --version 2> /dev/null
22+
23+export LC_ALL=en_US.UTF-8
24+locale -k LC_CTYPE 2>&1 | grep -q charmap.*UTF-8 || exit 77
25+errors=0
26+
27+$xx -t ï¼  -k2 -n mb1.I > mb1.O
28+code=$?
29+if test $code != 0; then
30+ $echo "Test mb1 failed: $xx return code $code differs from expected value 0" 1>&2
31+ errors=`expr $errors + 1`
32+else
33+ cmp mb1.O $srcdir/mb1.X > /dev/null 2>&1
34+ case $? in
35+ 0) if test "$VERBOSE"; then $echo "passed mb1"; fi;;
36+ 1) $echo "Test mb1 failed: files mb1.O and $srcdir/mb1.X differ" 1>&2
37+ (diff -c mb1.O $srcdir/mb1.X) 2> /dev/null
38+ errors=`expr $errors + 1`;;
39+ 2) $echo "Test mb1 may have failed." 1>&2
40+ $echo The command "cmp mb1.O $srcdir/mb1.X" failed. 1>&2
41+ errors=`expr $errors + 1`;;
42+ esac
43+fi
44+
45+$xx -t ï¼  -k4 -n mb2.I > mb2.O
46+code=$?
47+if test $code != 0; then
48+ $echo "Test mb2 failed: $xx return code $code differs from expected value 0" 1>&2
49+ errors=`expr $errors + 1`
50+else
51+ cmp mb2.O $srcdir/mb2.X > /dev/null 2>&1
52+ case $? in
53+ 0) if test "$VERBOSE"; then $echo "passed mb2"; fi;;
54+ 1) $echo "Test mb2 failed: files mb2.O and $srcdir/mb2.X differ" 1>&2
55+ (diff -c mb2.O $srcdir/mb2.X) 2> /dev/null
56+ errors=`expr $errors + 1`;;
57+ 2) $echo "Test mb2 may have failed." 1>&2
58+ $echo The command "cmp mb2.O $srcdir/mb2.X" failed. 1>&2
59+ errors=`expr $errors + 1`;;
60+ esac
61+fi
62+
63+if test $errors = 0; then
64+ $echo Passed all 113 tests. 1>&2
65+else
66+ $echo Failed $errors tests. 1>&2
67+fi
68+test $errors = 0 || errors=1
69+exit $errors
70--- /dev/null 2007-03-01 09:16:39.219409909 +0000
71+++ coreutils-6.8+/tests/sort/mb2.I 2007-03-01 15:08:24.000000000 +0000
72@@ -0,0 +1,4 @@
73+Apple@AA10@@20
74+Banana@AA5@@30
75+Citrus@AA20@@5
76+Cherry@AA30@@10
77--- /dev/null 2007-03-01 09:16:39.219409909 +0000
78+++ coreutils-6.8+/tests/sort/mb2.X 2007-03-01 15:08:24.000000000 +0000
79@@ -0,0 +1,4 @@
80+Citrus@AA20@@5
81+Cherry@AA30@@10
82+Apple@AA10@@20
83+Banana@AA5@@30
84--- /dev/null 2007-03-01 09:16:39.219409909 +0000
85+++ coreutils-6.8+/tests/sort/mb1.I 2007-03-01 15:08:24.000000000 +0000
86@@ -0,0 +1,4 @@
87+Appleï¼ 10
88+Bananaï¼ 5
89+Citrusï¼ 20
90+Cherryï¼ 30
91--- /dev/null 2007-03-01 09:16:39.219409909 +0000
92+++ coreutils-6.8+/tests/sort/mb1.X 2007-03-01 15:08:24.000000000 +0000
93@@ -0,0 +1,4 @@
94+Bananaï¼ 5
95+Appleï¼ 10
96+Citrusï¼ 20
97+Cherryï¼ 30
98--- coreutils-6.8+/tests/sort/Makefile.am.i18n 2007-01-24 07:47:37.000000000 +0000
99+++ coreutils-6.8+/tests/sort/Makefile.am 2007-03-01 15:09:59.000000000 +0000
100@@ -66,15 +66,17 @@
101 bigfield.O bigfield.E
102 ##test-files-end
103
104-EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen)
105-noinst_SCRIPTS = $x-tests
106+run_gen += mb1.0 mb2.0
107+
108+EXTRA_DIST = Test.pm $x-tests $(explicit) $(maint_gen) mb1.I mb1.X mb2.I mb2.X
109+noinst_SCRIPTS = $x-tests # $x-mb-tests
110 TESTS_ENVIRONMENT = \
111 CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst \
112 PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
113
114 editpl = sed -e 's,@''PERL''@,$(PERL),g' -e 's,@''srcdir''@,$(srcdir),g'
115
116-TESTS = $x-tests
117+TESTS = $x-tests $x-mb-tests
118
119 mk_script = $(srcdir)/../mk-script
120 $(srcdir)/$x-tests: $(mk_script) Test.pm Makefile.am
121--- coreutils-6.8+/lib/linebuffer.h.i18n 2005-05-14 07:44:24.000000000 +0100
122+++ coreutils-6.8+/lib/linebuffer.h 2007-03-01 15:08:24.000000000 +0000
123@@ -22,6 +22,11 @@
124
125 # include <stdio.h>
126
127+/* Get mbstate_t. */
128+# if HAVE_WCHAR_H
129+# include <wchar.h>
130+# endif
131+
132 /* A `struct linebuffer' holds a line of text. */
133
134 struct linebuffer
135@@ -29,6 +34,9 @@
136 size_t size; /* Allocated. */
137 size_t length; /* Used. */
138 char *buffer;
139+# if HAVE_WCHAR_H
140+ mbstate_t state;
141+# endif
142 };
143
144 /* Initialize linebuffer LINEBUFFER for use. */
145--- coreutils-6.8+/src/expand.c.i18n 2007-01-14 15:41:28.000000000 +0000
146+++ coreutils-6.8+/src/expand.c 2007-03-01 15:08:24.000000000 +0000
147@@ -38,11 +38,28 @@
148 #include <stdio.h>
149 #include <getopt.h>
150 #include <sys/types.h>
151+
152+/* Get mbstate_t, mbrtowc(), wcwidth(). */
153+#if HAVE_WCHAR_H
154+# include <wchar.h>
155+#endif
156+
157 #include "system.h"
158 #include "error.h"
159 #include "quote.h"
160 #include "xstrndup.h"
161
162+/* MB_LEN_MAX is incorrectly defined to be 1 in at least one GCC
163+ installation; work around this configuration error. */
164+#if !defined MB_LEN_MAX || MB_LEN_MAX < 2
165+# define MB_LEN_MAX 16
166+#endif
167+
168+/* Some systems, like BeOS, have multibyte encodings but lack mbstate_t. */
169+#if HAVE_MBRTOWC && defined mbstate_t
170+# define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0)
171+#endif
172+
173 /* The official name of this program (e.g., no `g' prefix). */
174 #define PROGRAM_NAME "expand"
175
176@@ -183,6 +200,7 @@
177 stops = num_start + len - 1;
178 }
179 }
180+
181 else
182 {
183 error (0, 0, _("tab size contains invalid character(s): %s"),
184@@ -365,6 +383,142 @@
185 }
186 }
187
188+#if HAVE_MBRTOWC
189+static void
190+expand_multibyte (void)
191+{
192+ FILE *fp; /* Input strem. */
193+ mbstate_t i_state; /* Current shift state of the input stream. */
194+ mbstate_t i_state_bak; /* Back up the I_STATE. */
195+ mbstate_t o_state; /* Current shift state of the output stream. */
196+ char buf[MB_LEN_MAX + BUFSIZ]; /* For spooling a read byte sequence. */
197+ char *bufpos; /* Next read position of BUF. */
198+ size_t buflen = 0; /* The length of the byte sequence in buf. */
199+ wchar_t wc; /* A gotten wide character. */
200+ size_t mblength; /* The byte size of a multibyte character
201+ which shows as same character as WC. */
202+ int tab_index = 0; /* Index in `tab_list' of next tabstop. */
203+ int column = 0; /* Column on screen of the next char. */
204+ int next_tab_column; /* Column the next tab stop is on. */
205+ int convert = 1; /* If nonzero, perform translations. */
206+
207+ fp = next_file ((FILE *) NULL);
208+ if (fp == NULL)
209+ return;
210+
211+ memset (&o_state, '\0', sizeof(mbstate_t));
212+ memset (&i_state, '\0', sizeof(mbstate_t));
213+
214+ for (;;)
215+ {
216+ /* Refill the buffer BUF. */
217+ if (buflen < MB_LEN_MAX && !feof(fp) && !ferror(fp))
218+ {
219+ memmove (buf, bufpos, buflen);
220+ buflen += fread (buf + buflen, sizeof(char), BUFSIZ, fp);
221+ bufpos = buf;
222+ }
223+
224+ /* No character is left in BUF. */
225+ if (buflen < 1)
226+ {
227+ fp = next_file (fp);
228+
229+ if (fp == NULL)
230+ break; /* No more files. */
231+ else
232+ {
233+ memset (&i_state, '\0', sizeof(mbstate_t));
234+ continue;
235+ }
236+ }
237+
238+ /* Get a wide character. */
239+ i_state_bak = i_state;
240+ mblength = mbrtowc (&wc, bufpos, buflen, &i_state);
241+
242+ switch (mblength)
243+ {
244+ case (size_t)-1: /* illegal byte sequence. */
245+ case (size_t)-2:
246+ mblength = 1;
247+ i_state = i_state_bak;
248+ if (convert)
249+ {
250+ ++column;
251+ if (convert_entire_line == 0)
252+ convert = 0;
253+ }
254+ putchar (*bufpos);
255+ break;
256+
257+ case 0: /* null. */
258+ mblength = 1;
259+ if (convert && convert_entire_line == 0)
260+ convert = 0;
261+ putchar ('\0');
262+ break;
263+
264+ default:
265+ if (wc == L'\n') /* LF. */
266+ {
267+ tab_index = 0;
268+ column = 0;
269+ convert = 1;
270+ putchar ('\n');
271+ }
272+ else if (wc == L'\t' && convert) /* Tab. */
273+ {
274+ if (tab_size == 0)
275+ {
276+ /* Do not let tab_index == first_free_tab;
277+ stop when it is 1 less. */
278+ while (tab_index < first_free_tab - 1
279+ && column >= tab_list[tab_index])
280+ tab_index++;
281+ next_tab_column = tab_list[tab_index];
282+ if (tab_index < first_free_tab - 1)
283+ tab_index++;
284+ if (column >= next_tab_column)
285+ next_tab_column = column + 1;
286+ }
287+ else
288+ next_tab_column = column + tab_size - column % tab_size;
289+
290+ while (column < next_tab_column)
291+ {
292+ putchar (' ');
293+ ++column;
294+ }
295+ }
296+ else /* Others. */
297+ {
298+ if (convert)
299+ {
300+ if (wc == L'\b')
301+ {
302+ if (column > 0)
303+ --column;
304+ }
305+ else
306+ {
307+ int width; /* The width of WC. */
308+
309+ width = wcwidth (wc);
310+ column += (width > 0) ? width : 0;
311+ if (convert_entire_line == 0)
312+ convert = 0;
313+ }
314+ }
315+ fwrite (bufpos, sizeof(char), mblength, stdout);
316+ }
317+ }
318+ buflen -= mblength;
319+ bufpos += mblength;
320+ }
321+}
322+#endif
323+
324 int
325 main (int argc, char **argv)
326 {
327@@ -429,7 +583,12 @@
328
329 file_list = (optind < argc ? &argv[optind] : stdin_argv);
330
331- expand ();
332+#if HAVE_MBRTOWC
333+ if (MB_CUR_MAX > 1)
334+ expand_multibyte ();
335+ else
336+#endif
337+ expand ();
338
339 if (have_read_stdin && fclose (stdin) != 0)
340 error (EXIT_FAILURE, errno, "-");
341--- coreutils-6.8+/src/join.c.i18n 2007-01-14 15:41:28.000000000 +0000
342+++ coreutils-6.8+/src/join.c 2007-03-01 15:08:24.000000000 +0000
343@@ -23,16 +23,30 @@
344 #include <sys/types.h>
345 #include <getopt.h>
346
347+/* Get mbstate_t, mbrtowc(), mbrtowc(), wcwidth(). */
348+#if HAVE_WCHAR_H
349+# include <wchar.h>
350+#endif
351+
352+/* Get iswblank(), towupper. */
353+#if HAVE_WCTYPE_H
354+# include <wctype.h>
355+#endif
356+
357 #include "system.h"
358 #include "error.h"
359 #include "hard-locale.h"
360 #include "linebuffer.h"
361-#include "memcasecmp.h"
362 #include "quote.h"
363 #include "stdio--.h"
364 #include "xmemcoll.h"
365 #include "xstrtol.h"
366
367+/* Some systems, like BeOS, have multibyte encodings but lack mbstate_t. */
368+#if HAVE_MBRTOWC && defined mbstate_t
369+# define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0)
370+#endif
371+
372 /* The official name of this program (e.g., no `g' prefix). */
373 #define PROGRAM_NAME "join"
374
375@@ -104,10 +118,12 @@
376 /* Last element in `outlist', where a new element can be added. */
377 static struct outlist *outlist_end = &outlist_head;
378
379-/* Tab character separating fields. If negative, fields are separated
380- by any nonempty string of blanks, otherwise by exactly one
381- tab character whose value (when cast to unsigned char) equals TAB. */
382-static int tab = -1;
383+/* Tab character separating fields. If NULL, fields are separated
384+ by any nonempty string of blanks. */
385+static char *tab = NULL;
386+
387+/* The number of bytes used for tab. */
388+static size_t tablen = 0;
389
390 static struct option const longopts[] =
391 {
392@@ -190,6 +206,8 @@
393
394 /* Fill in the `fields' structure in LINE. */
395
396+/* Fill in the `fields' structure in LINE. */
397+
398 static void
399 xfields (struct line *line)
400 {
401@@ -199,10 +217,11 @@
402 if (ptr == lim)
403 return;
404
405- if (0 <= tab)
406+ if (tab != NULL)
407 {
408+ unsigned char t = tab[0];
409 char *sep;
410- for (; (sep = memchr (ptr, tab, lim - ptr)) != NULL; ptr = sep + 1)
411+ for (; (sep = memchr (ptr, t, lim - ptr)) != NULL; ptr = sep + 1)
412 extract_field (line, ptr, sep - ptr);
413 }
414 else
415@@ -229,6 +248,148 @@
416 extract_field (line, ptr, lim - ptr);
417 }
418
419+#if HAVE_MBRTOWC
420+static void
421+xfields_multibyte (struct line *line)
422+{
423+ char *ptr = line->buf.buffer;
424+ char const *lim = ptr + line->buf.length - 1;
425+ wchar_t wc = 0;
426+ size_t mblength = 1;
427+ mbstate_t state, state_bak;
428+
429+ memset (&state, 0, sizeof (mbstate_t));
430+
431+ if (ptr == lim)
432+ return;
433+
434+ if (tab != NULL)
435+ {
436+ unsigned char t = tab[0];
437+ char *sep = ptr;
438+ for (; ptr < lim; ptr = sep + mblength)
439+ {
440+ sep = ptr;
441+ while (sep < lim)
442+ {
443+ state_bak = state;
444+ mblength = mbrtowc (&wc, sep, lim - sep + 1, &state);
445+
446+ if (mblength == (size_t)-1 || mblength == (size_t)-2)
447+ {
448+ mblength = 1;
449+ state = state_bak;
450+ }
451+ mblength = (mblength < 1) ? 1 : mblength;
452+
453+ if (mblength == tablen && !memcmp (sep, tab, mblength))
454+ break;
455+ else
456+ {
457+ sep += mblength;
458+ continue;
459+ }
460+ }
461+
462+ if (sep == lim)
463+ break;
464+
465+ extract_field (line, ptr, sep - ptr);
466+ }
467+ }
468+ else
469+ {
470+ /* Skip leading blanks before the first field. */
471+ while(ptr < lim)
472+ {
473+ state_bak = state;
474+ mblength = mbrtowc (&wc, ptr, lim - ptr + 1, &state);
475+
476+ if (mblength == (size_t)-1 || mblength == (size_t)-2)
477+ {
478+ mblength = 1;
479+ state = state_bak;
480+ break;
481+ }
482+ mblength = (mblength < 1) ? 1 : mblength;
483+
484+ if (!iswblank(wc))
485+ break;
486+ ptr += mblength;
487+ }
488+
489+ do
490+ {
491+ char *sep;
492+ state_bak = state;
493+ mblength = mbrtowc (&wc, ptr, lim - ptr + 1, &state);
494+ if (mblength == (size_t)-1 || mblength == (size_t)-2)
495+ {
496+ mblength = 1;
497+ state = state_bak;
498+ break;
499+ }
500+ mblength = (mblength < 1) ? 1 : mblength;
501+
502+ sep = ptr + mblength;
503+ while (sep != lim)
504+ {
505+ state_bak = state;
506+ mblength = mbrtowc (&wc, sep, lim - sep + 1, &state);
507+ if (mblength == (size_t)-1 || mblength == (size_t)-2)
508+ {
509+ mblength = 1;
510+ state = state_bak;
511+ break;
512+ }
513+ mblength = (mblength < 1) ? 1 : mblength;
514+
515+ if (iswblank (wc))
516+ break;
517+
518+ sep += mblength;
519+ }
520+
521+ extract_field (line, ptr, sep - ptr);
522+ if (sep == lim)
523+ return;
524+
525+ state_bak = state;
526+ mblength = mbrtowc (&wc, sep, lim - sep + 1, &state);
527+ if (mblength == (size_t)-1 || mblength == (size_t)-2)
528+ {
529+ mblength = 1;
530+ state = state_bak;
531+ break;
532+ }
533+ mblength = (mblength < 1) ? 1 : mblength;
534+
535+ ptr = sep + mblength;
536+ while (ptr != lim)
537+ {
538+ state_bak = state;
539+ mblength = mbrtowc (&wc, ptr, lim - ptr + 1, &state);
540+ if (mblength == (size_t)-1 || mblength == (size_t)-2)
541+ {
542+ mblength = 1;
543+ state = state_bak;
544+ break;
545+ }
546+ mblength = (mblength < 1) ? 1 : mblength;
547+
548+ if (!iswblank (wc))
549+ break;
550+
551+ ptr += mblength;
552+ }
553+ }
554+ while (ptr != lim);
555+ }
556+
557+ extract_field (line, ptr, lim - ptr);
558+}
559+#endif
560+
561 /* Read a line from FP into LINE and split it into fields.
562 Return true if successful. */
563
564@@ -249,6 +410,11 @@
565 line->nfields_allocated = 0;
566 line->nfields = 0;
567 line->fields = NULL;
568+#if HAVE_MBRTOWC
569+ if (MB_CUR_MAX > 1)
570+ xfields_multibyte (line);
571+ else
572+#endif
573 xfields (line);
574 return true;
575 }
576@@ -303,56 +469,114 @@
577 keycmp (struct line const *line1, struct line const *line2)
578 {
579 /* Start of field to compare in each file. */
580- char *beg1;
581- char *beg2;
582-
583- size_t len1;
584- size_t len2; /* Length of fields to compare. */
585+ char *beg[2];
586+ char *copy[2];
587+ size_t len[2]; /* Length of fields to compare. */
588 int diff;
589+ int i, j;
590
591 if (join_field_1 < line1->nfields)
592 {
593- beg1 = line1->fields[join_field_1].beg;
594- len1 = line1->fields[join_field_1].len;
595+ beg[0] = line1->fields[join_field_1].beg;
596+ len[0] = line1->fields[join_field_1].len;
597 }
598 else
599 {
600- beg1 = NULL;
601- len1 = 0;
602+ beg[0] = NULL;
603+ len[0] = 0;
604 }
605
606 if (join_field_2 < line2->nfields)
607 {
608- beg2 = line2->fields[join_field_2].beg;
609- len2 = line2->fields[join_field_2].len;
610+ beg[1] = line2->fields[join_field_2].beg;
611+ len[1] = line2->fields[join_field_2].len;
612 }
613 else
614 {
615- beg2 = NULL;
616- len2 = 0;
617+ beg[1] = NULL;
618+ len[1] = 0;
619 }
620
621- if (len1 == 0)
622- return len2 == 0 ? 0 : -1;
623- if (len2 == 0)
624+ if (len[0] == 0)
625+ return len[1] == 0 ? 0 : -1;
626+ if (len[1] == 0)
627 return 1;
628
629 if (ignore_case)
630 {
631- /* FIXME: ignore_case does not work with NLS (in particular,
632- with multibyte chars). */
633- diff = memcasecmp (beg1, beg2, MIN (len1, len2));
634+#ifdef HAVE_MBRTOWC
635+ if (MB_CUR_MAX > 1)
636+ {
637+ size_t mblength;
638+ wchar_t wc, uwc;
639+ mbstate_t state, state_bak;
640+
641+ memset (&state, '\0', sizeof (mbstate_t));
642+
643+ for (i = 0; i < 2; i++)
644+ {
645+ copy[i] = alloca (len[i] + 1);
646+
647+ for (j = 0; j < MIN (len[0], len[1]);)
648+ {
649+ state_bak = state;
650+ mblength = mbrtowc (&wc, beg[i] + j, len[i] - j, &state);
651+
652+ switch (mblength)
653+ {
654+ case (size_t) -1:
655+ case (size_t) -2:
656+ state = state_bak;
657+ /* Fall through */
658+ case 0:
659+ mblength = 1;
660+ break;
661+
662+ default:
663+ uwc = towupper (wc);
664+
665+ if (uwc != wc)
666+ {
667+ mbstate_t state_wc;
668+
669+ memset (&state_wc, '\0', sizeof (mbstate_t));
670+ wcrtomb (copy[i] + j, uwc, &state_wc);
671+ }
672+ else
673+ memcpy (copy[i] + j, beg[i] + j, mblength);
674+ }
675+ j += mblength;
676+ }
677+ copy[i][j] = '\0';
678+ }
679+ }
680+ else
681+#endif
682+ {
683+ for (i = 0; i < 2; i++)
684+ {
685+ copy[i] = alloca (len[i] + 1);
686+
687+ for (j = 0; j < MIN (len[0], len[1]); j++)
688+ copy[i][j] = toupper (beg[i][j]);
689+
690+ copy[i][j] = '\0';
691+ }
692+ }
693 }
694 else
695 {
696- if (hard_LC_COLLATE)
697- return xmemcoll (beg1, len1, beg2, len2);
698- diff = memcmp (beg1, beg2, MIN (len1, len2));
699+ copy[0] = (unsigned char *) beg[0];
700+ copy[1] = (unsigned char *) beg[1];
701 }
702
703+ if (hard_LC_COLLATE)
704+ return xmemcoll ((char *) copy[0], len[0], (char *) copy[1], len[1]);
705+ diff = memcmp (copy[0], copy[1], MIN (len[0], len[1]));
706+
707 if (diff)
708 return diff;
709- return len1 < len2 ? -1 : len1 != len2;
710+ return len[0] - len[1];
711 }
712
713 /* Print field N of LINE if it exists and is nonempty, otherwise
714@@ -377,11 +601,18 @@
715
716 /* Print the join of LINE1 and LINE2. */
717
718+#define PUT_TAB_CHAR \
719+ do \
720+ { \
721+ (tab != NULL) ? \
722+ fwrite(tab, sizeof(char), tablen, stdout) : putchar (' '); \
723+ } \
724+ while (0)
725+
726 static void
727 prjoin (struct line const *line1, struct line const *line2)
728 {
729 const struct outlist *outlist;
730- char output_separator = tab < 0 ? ' ' : tab;
731
732 outlist = outlist_head.next;
733 if (outlist)
734@@ -397,12 +628,12 @@
735 if (o->file == 0)
736 {
737 if (line1 == &uni_blank)
738- {
739+ {
740 line = line2;
741 field = join_field_2;
742 }
743 else
744- {
745+ {
746 line = line1;
747 field = join_field_1;
748 }
749@@ -416,7 +647,7 @@
750 o = o->next;
751 if (o == NULL)
752 break;
753- putchar (output_separator);
754+ PUT_TAB_CHAR;
755 }
756 putchar ('\n');
757 }
758@@ -434,23 +665,23 @@
759 prfield (join_field_1, line1);
760 for (i = 0; i < join_field_1 && i < line1->nfields; ++i)
761 {
762- putchar (output_separator);
763+ PUT_TAB_CHAR;
764 prfield (i, line1);
765 }
766 for (i = join_field_1 + 1; i < line1->nfields; ++i)
767 {
768- putchar (output_separator);
769+ PUT_TAB_CHAR;
770 prfield (i, line1);
771 }
772
773 for (i = 0; i < join_field_2 && i < line2->nfields; ++i)
774 {
775- putchar (output_separator);
776+ PUT_TAB_CHAR;
777 prfield (i, line2);
778 }
779 for (i = join_field_2 + 1; i < line2->nfields; ++i)
780 {
781- putchar (output_separator);
782+ PUT_TAB_CHAR;
783 prfield (i, line2);
784 }
785 putchar ('\n');
786@@ -859,20 +1090,41 @@
787
788 case 't':
789 {
790- unsigned char newtab = optarg[0];
791- if (! newtab)
792+ char *newtab;
793+ size_t newtablen;
794+ if (! optarg[0])
795 error (EXIT_FAILURE, 0, _("empty tab"));
796- if (optarg[1])
797+ newtab = xstrdup (optarg);
798+#if HAVE_MBRTOWC
799+ if (MB_CUR_MAX > 1)
800+ {
801+ mbstate_t state;
802+
803+ memset (&state, 0, sizeof (mbstate_t));
804+ newtablen = mbrtowc (NULL, newtab,
805+ strnlen (newtab, MB_LEN_MAX),
806+ &state);
807+ if (newtablen == (size_t) 0
808+ || newtablen == (size_t) -1
809+ || newtablen == (size_t) -2)
810+ newtablen = 1;
811+ }
812+ else
813+#endif
814+ newtablen = 1;
815+
816+ if (newtablen == 1 && newtab[1])
817+ {
818+ if (STREQ (newtab, "\\0"))
819+ newtab[0] = '\0';
820+ }
821+ if (tab != NULL && strcmp (tab, newtab))
822 {
823- if (STREQ (optarg, "\\0"))
824- newtab = '\0';
825- else
826- error (EXIT_FAILURE, 0, _("multi-character tab %s"),
827- quote (optarg));
828+ free (newtab);
829+ error (EXIT_FAILURE, 0, _("incompatible tabs"));
830 }
831- if (0 <= tab && tab != newtab)
832- error (EXIT_FAILURE, 0, _("incompatible tabs"));
833 tab = newtab;
834+ tablen = newtablen;
835 }
836 break;
837
838--- coreutils-6.8+/src/uniq.c.i18n 2007-01-14 15:41:28.000000000 +0000
839+++ coreutils-6.8+/src/uniq.c 2007-03-01 15:08:24.000000000 +0000
840@@ -23,6 +23,16 @@
841 #include <getopt.h>
842 #include <sys/types.h>
843
844+/* Get mbstate_t, mbrtowc(). */
845+#if HAVE_WCHAR_H
846+# include <wchar.h>
847+#endif
848+
849+/* Get isw* functions. */
850+#if HAVE_WCTYPE_H
851+# include <wctype.h>
852+#endif
853+
854 #include "system.h"
855 #include "argmatch.h"
856 #include "linebuffer.h"
857@@ -32,7 +42,19 @@
858 #include "quote.h"
859 #include "xmemcoll.h"
860 #include "xstrtol.h"
861-#include "memcasecmp.h"
862+#include "xmemcoll.h"
863+
864+/* MB_LEN_MAX is incorrectly defined to be 1 in at least one GCC
865+ installation; work around this configuration error. */
866+#if !defined MB_LEN_MAX || MB_LEN_MAX < 2
867+# define MB_LEN_MAX 16
868+#endif
869+
870+/* Some systems, like BeOS, have multibyte encodings but lack mbstate_t. */
871+#if HAVE_MBRTOWC && defined mbstate_t
872+# define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0)
873+#endif
874+
875
876 /* The official name of this program (e.g., no `g' prefix). */
877 #define PROGRAM_NAME "uniq"
878@@ -109,6 +131,10 @@
879 /* Select whether/how to delimit groups of duplicate lines. */
880 static enum delimit_method delimit_groups;
881
882+/* Function pointers. */
883+static char *
884+(*find_field) (struct linebuffer *line);
885+
886 static struct option const longopts[] =
887 {
888 {"count", no_argument, NULL, 'c'},
889@@ -198,7 +224,7 @@
890 return a pointer to the beginning of the line's field to be compared. */
891
892 static char *
893-find_field (const struct linebuffer *line)
894+find_field_uni (struct linebuffer *line)
895 {
896 size_t count;
897 char *lp = line->buffer;
898@@ -219,6 +245,83 @@
899 return lp + i;
900 }
901
902+#if HAVE_MBRTOWC
903+
904+# define MBCHAR_TO_WCHAR(WC, MBLENGTH, LP, POS, SIZE, STATEP, CONVFAIL) \
905+ do \
906+ { \
907+ mbstate_t state_bak; \
908+ \
909+ CONVFAIL = 0; \
910+ state_bak = *STATEP; \
911+ \
912+ MBLENGTH = mbrtowc (&WC, LP + POS, SIZE - POS, STATEP); \
913+ \
914+ switch (MBLENGTH) \
915+ { \
916+ case (size_t)-2: \
917+ case (size_t)-1: \
918+ *STATEP = state_bak; \
919+ CONVFAIL++; \
920+ /* Fall through */ \
921+ case 0: \
922+ MBLENGTH = 1; \
923+ } \
924+ } \
925+ while (0)
926+
927+static char *
928+find_field_multi (struct linebuffer *line)
929+{
930+ size_t count;
931+ char *lp = line->buffer;
932+ size_t size = line->length - 1;
933+ size_t pos;
934+ size_t mblength;
935+ wchar_t wc;
936+ mbstate_t *statep;
937+ int convfail;
938+
939+ pos = 0;
940+ statep = &(line->state);
941+
942+ /* skip fields. */
943+ for (count = 0; count < skip_fields && pos < size; count++)
944+ {
945+ while (pos < size)
946+ {
947+ MBCHAR_TO_WCHAR (wc, mblength, lp, pos, size, statep, convfail);
948+
949+ if (convfail || !iswblank (wc))
950+ {
951+ pos += mblength;
952+ break;
953+ }
954+ pos += mblength;
955+ }
956+
957+ while (pos < size)
958+ {
959+ MBCHAR_TO_WCHAR (wc, mblength, lp, pos, size, statep, convfail);
960+
961+ if (!convfail && iswblank (wc))
962+ break;
963+
964+ pos += mblength;
965+ }
966+ }
967+
968+ /* skip fields. */
969+ for (count = 0; count < skip_chars && pos < size; count++)
970+ {
971+ MBCHAR_TO_WCHAR (wc, mblength, lp, pos, size, statep, convfail);
972+ pos += mblength;
973+ }
974+
975+ return lp + pos;
976+}
977+#endif
978+
979 /* Return false if two strings OLD and NEW match, true if not.
980 OLD and NEW point not to the beginnings of the lines
981 but rather to the beginnings of the fields to compare.
982@@ -227,6 +330,8 @@
983 static bool
984 different (char *old, char *new, size_t oldlen, size_t newlen)
985 {
986+ char *copy_old, *copy_new;
987+
988 if (check_chars < oldlen)
989 oldlen = check_chars;
990 if (check_chars < newlen)
991@@ -234,14 +339,92 @@
992
993 if (ignore_case)
994 {
995- /* FIXME: This should invoke strcoll somehow. */
996- return oldlen != newlen || memcasecmp (old, new, oldlen);
997+ size_t i;
998+
999+ copy_old = alloca (oldlen + 1);
1000+ copy_new = alloca (oldlen + 1);
1001+
1002+ for (i = 0; i < oldlen; i++)
1003+ {
1004+ copy_old[i] = toupper (old[i]);
1005+ copy_new[i] = toupper (new[i]);
1006+ }
1007 }
1008- else if (hard_LC_COLLATE)
1009- return xmemcoll (old, oldlen, new, newlen) != 0;
1010 else
1011- return oldlen != newlen || memcmp (old, new, oldlen);
1012+ {
1013+ copy_old = (char *)old;
1014+ copy_new = (char *)new;
1015+ }
1016+
1017+ return xmemcoll (copy_old, oldlen, copy_new, newlen);
1018+}
1019+
1020+#if HAVE_MBRTOWC
1021+static int
1022+different_multi (const char *old, const char *new, size_t oldlen, size_t newlen, mbstate_t oldstate, mbstate_t newstate)
1023+{
1024+ size_t i, j, chars;
1025+ const char *str[2];
1026+ char *copy[2];
1027+ size_t len[2];
1028+ mbstate_t state[2];
1029+ size_t mblength;
1030+ wchar_t wc, uwc;
1031+ mbstate_t state_bak;
1032+
1033+ str[0] = old;
1034+ str[1] = new;
1035+ len[0] = oldlen;
1036+ len[1] = newlen;
1037+ state[0] = oldstate;
1038+ state[1] = newstate;
1039+
1040+ for (i = 0; i < 2; i++)
1041+ {
1042+ copy[i] = alloca (len[i] + 1);
1043+
1044+ for (j = 0, chars = 0; j < len[i] && chars < check_chars; chars++)
1045+ {
1046+ state_bak = state[i];
1047+ mblength = mbrtowc (&wc, str[i] + j, len[i] - j, &(state[i]));
1048+
1049+ switch (mblength)
1050+ {
1051+ case (size_t)-1:
1052+ case (size_t)-2:
1053+ state[i] = state_bak;
1054+ /* Fall through */
1055+ case 0:
1056+ mblength = 1;
1057+ break;
1058+
1059+ default:
1060+ if (ignore_case)
1061+ {
1062+ uwc = towupper (wc);
1063+
1064+ if (uwc != wc)
1065+ {
1066+ mbstate_t state_wc;
1067+
1068+ memset (&state_wc, '\0', sizeof(mbstate_t));
1069+ wcrtomb (copy[i] + j, uwc, &state_wc);
1070+ }
1071+ else
1072+ memcpy (copy[i] + j, str[i] + j, mblength);
1073+ }
1074+ else
1075+ memcpy (copy[i] + j, str[i] + j, mblength);
1076+ }
1077+ j += mblength;
1078+ }
1079+ copy[i][j] = '\0';
1080+ len[i] = j;
1081+ }
1082+
1083+ return xmemcoll (copy[0], len[0], copy[1], len[1]);
1084 }
1085+#endif
1086
1087 /* Output the line in linebuffer LINE to standard output
1088 provided that the switches say it should be output.
1089@@ -295,15 +478,43 @@
1090 {
1091 char *prevfield IF_LINT (= NULL);
1092 size_t prevlen IF_LINT (= 0);
1093+#if HAVE_MBRTOWC
1094+ mbstate_t prevstate;
1095+
1096+ memset (&prevstate, '\0', sizeof (mbstate_t));
1097+#endif
1098
1099 while (!feof (stdin))
1100 {
1101 char *thisfield;
1102 size_t thislen;
1103+#if HAVE_MBRTOWC
1104+ mbstate_t thisstate;
1105+#endif
1106+
1107 if (readlinebuffer (thisline, stdin) == 0)
1108 break;
1109 thisfield = find_field (thisline);
1110 thislen = thisline->length - 1 - (thisfield - thisline->buffer);
1111+#if HAVE_MBRTOWC
1112+ if (MB_CUR_MAX > 1)
1113+ {
1114+ thisstate = thisline->state;
1115+
1116+ if (prevline->length == 0 || different_multi
1117+ (thisfield, prevfield, thislen, prevlen, thisstate, prevstate))
1118+ {
1119+ fwrite (thisline->buffer, sizeof (char),
1120+ thisline->length, stdout);
1121+
1122+ SWAP_LINES (prevline, thisline);
1123+ prevfield = thisfield;
1124+ prevlen = thislen;
1125+ prevstate = thisstate;
1126+ }
1127+ }
1128+ else
1129+#endif
1130 if (prevline->length == 0
1131 || different (thisfield, prevfield, thislen, prevlen))
1132 {
1133@@ -322,17 +533,26 @@
1134 size_t prevlen;
1135 uintmax_t match_count = 0;
1136 bool first_delimiter = true;
1137+#if HAVE_MBRTOWC
1138+ mbstate_t prevstate;
1139+#endif
1140
1141 if (readlinebuffer (prevline, stdin) == 0)
1142 goto closefiles;
1143 prevfield = find_field (prevline);
1144 prevlen = prevline->length - 1 - (prevfield - prevline->buffer);
1145+#if HAVE_MBRTOWC
1146+ prevstate = prevline->state;
1147+#endif
1148
1149 while (!feof (stdin))
1150 {
1151 bool match;
1152 char *thisfield;
1153 size_t thislen;
1154+#if HAVE_MBRTOWC
1155+ mbstate_t thisstate;
1156+#endif
1157 if (readlinebuffer (thisline, stdin) == 0)
1158 {
1159 if (ferror (stdin))
1160@@ -341,6 +561,15 @@
1161 }
1162 thisfield = find_field (thisline);
1163 thislen = thisline->length - 1 - (thisfield - thisline->buffer);
1164+#if HAVE_MBRTOWC
1165+ if (MB_CUR_MAX > 1)
1166+ {
1167+ thisstate = thisline->state;
1168+ match = !different_multi (thisfield, prevfield,
1169+ thislen, prevlen, thisstate, prevstate);
1170+ }
1171+ else
1172+#endif
1173 match = !different (thisfield, prevfield, thislen, prevlen);
1174 match_count += match;
1175
1176@@ -373,6 +602,9 @@
1177 SWAP_LINES (prevline, thisline);
1178 prevfield = thisfield;
1179 prevlen = thislen;
1180+#if HAVE_MBRTOWC
1181+ prevstate = thisstate;
1182+#endif
1183 if (!match)
1184 match_count = 0;
1185 }
1186@@ -417,6 +649,19 @@
1187
1188 atexit (close_stdout);
1189
1190+#if HAVE_MBRTOWC
1191+ if (MB_CUR_MAX > 1)
1192+ {
1193+ find_field = find_field_multi;
1194+ }
1195+ else
1196+#endif
1197+ {
1198+ find_field = find_field_uni;
1199+ }
1200+
1201+
1202+
1203 skip_chars = 0;
1204 skip_fields = 0;
1205 check_chars = SIZE_MAX;
1206--- coreutils-6.8+/src/fold.c.i18n 2007-02-23 12:01:47.000000000 +0000
1207+++ coreutils-6.8+/src/fold.c 2007-03-01 15:08:24.000000000 +0000
1208@@ -23,11 +23,33 @@
1209 #include <getopt.h>
1210 #include <sys/types.h>
1211
1212+/* Get mbstate_t, mbrtowc(), wcwidth(). */
1213+#if HAVE_WCHAR_H
1214+# include <wchar.h>
1215+#endif
1216+
1217+/* Get iswprint(), iswblank(), wcwidth(). */
1218+#if HAVE_WCTYPE_H
1219+# include <wctype.h>
1220+#endif
1221+
1222 #include "system.h"
1223 #include "error.h"
1224 #include "quote.h"
1225 #include "xstrtol.h"
1226
1227+/* MB_LEN_MAX is incorrectly defined to be 1 in at least one GCC
1228+ installation; work around this configuration error. */
1229+#if !defined MB_LEN_MAX || MB_LEN_MAX < 2
1230+# undef MB_LEN_MAX
1231+# define MB_LEN_MAX 16
1232+#endif
1233+
1234+/* Some systems, like BeOS, have multibyte encodings but lack mbstate_t. */
1235+#if HAVE_MBRTOWC && defined mbstate_t
1236+# define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0)
1237+#endif
1238+
1239 #define TAB_WIDTH 8
1240
1241 /* The official name of this program (e.g., no `g' prefix). */
1242@@ -35,23 +57,44 @@
1243
1244 #define AUTHORS "David MacKenzie"
1245
1246+#define FATAL_ERROR(Message) \
1247+ do \
1248+ { \
1249+ error (0, 0, (Message)); \
1250+ usage (2); \
1251+ } \
1252+ while (0)
1253+
1254+enum operating_mode
1255+{
1256+ /* Fold texts by columns that are at the given positions. */
1257+ column_mode,
1258+
1259+ /* Fold texts by bytes that are at the given positions. */
1260+ byte_mode,
1261+
1262+ /* Fold texts by characters that are at the given positions. */
1263+ character_mode,
1264+};
1265+
1266 /* The name this program was run with. */
1267 char *program_name;
1268
1269+/* The argument shows current mode. (Default: column_mode) */
1270+static enum operating_mode operating_mode;
1271+
1272 /* If nonzero, try to break on whitespace. */
1273 static bool break_spaces;
1274
1275-/* If nonzero, count bytes, not column positions. */
1276-static bool count_bytes;
1277-
1278 /* If nonzero, at least one of the files we read was standard input. */
1279 static bool have_read_stdin;
1280
1281-static char const shortopts[] = "bsw:0::1::2::3::4::5::6::7::8::9::";
1282+static char const shortopts[] = "bcsw:0::1::2::3::4::5::6::7::8::9::";
1283
1284 static struct option const longopts[] =
1285 {
1286 {"bytes", no_argument, NULL, 'b'},
1287+ {"characters", no_argument, NULL, 'c'},
1288 {"spaces", no_argument, NULL, 's'},
1289 {"width", required_argument, NULL, 'w'},
1290 {GETOPT_HELP_OPTION_DECL},
1291@@ -81,6 +124,7 @@
1292 "), stdout);
1293 fputs (_("\
1294 -b, --bytes count bytes rather than columns\n\
1295+ -c, --characters count characters rather than columns\n\
1296 -s, --spaces break at spaces\n\
1297 -w, --width=WIDTH use WIDTH columns instead of 80\n\
1298 "), stdout);
1299@@ -98,7 +142,7 @@
1300 static size_t
1301 adjust_column (size_t column, char c)
1302 {
1303- if (!count_bytes)
1304+ if (operating_mode != byte_mode)
1305 {
1306 if (c == '\b')
1307 {
1308@@ -121,30 +165,14 @@
1309 to stdout, with maximum line length WIDTH.
1310 Return true if successful. */
1311
1312-static bool
1313-fold_file (char const *filename, size_t width)
1314+static void
1315+fold_text (FILE *istream, size_t width, int *saved_errno)
1316 {
1317- FILE *istream;
1318 int c;
1319 size_t column = 0; /* Screen column where next char will go. */
1320 size_t offset_out = 0; /* Index in `line_out' for next char. */
1321 static char *line_out = NULL;
1322 static size_t allocated_out = 0;
1323- int saved_errno;
1324-
1325- if (STREQ (filename, "-"))
1326- {
1327- istream = stdin;
1328- have_read_stdin = true;
1329- }
1330- else
1331- istream = fopen (filename, "r");
1332-
1333- if (istream == NULL)
1334- {
1335- error (0, errno, "%s", filename);
1336- return false;
1337- }
1338
1339 while ((c = getc (istream)) != EOF)
1340 {
1341@@ -172,6 +200,15 @@
1342 bool found_blank = false;
1343 size_t logical_end = offset_out;
1344
1345+ /* If LINE_OUT has no wide character,
1346+ put a new wide character in LINE_OUT
1347+ if column is bigger than width. */
1348+ if (offset_out == 0)
1349+ {
1350+ line_out[offset_out++] = c;
1351+ continue;
1352+ }
1353+
1354 /* Look for the last blank. */
1355 while (logical_end)
1356 {
1357@@ -218,11 +255,225 @@
1358 line_out[offset_out++] = c;
1359 }
1360
1361- saved_errno = errno;
1362+ *saved_errno = errno;
1363+
1364+ if (offset_out)
1365+ fwrite (line_out, sizeof (char), (size_t) offset_out, stdout);
1366+
1367+ free(line_out);
1368+}
1369+
1370+#if HAVE_MBRTOWC
1371+static void
1372+fold_multibyte_text (FILE *istream, size_t width, int *saved_errno)
1373+{
1374+ char buf[MB_LEN_MAX + BUFSIZ]; /* For spooling a read byte sequence. */
1375+ size_t buflen = 0; /* The length of the byte sequence in buf. */
1376+ char *bufpos; /* Next read position of BUF. */
1377+ wint_t wc; /* A gotten wide character. */
1378+ size_t mblength; /* The byte size of a multibyte character which shows
1379+ as same character as WC. */
1380+ mbstate_t state, state_bak; /* State of the stream. */
1381+ int convfail; /* 1, when conversion is failed. Otherwise 0. */
1382+
1383+ char *line_out = NULL;
1384+ size_t offset_out = 0; /* Index in `line_out' for next char. */
1385+ size_t allocated_out = 0;
1386+
1387+ int increment;
1388+ size_t column = 0;
1389+
1390+ size_t last_blank_pos;
1391+ size_t last_blank_column;
1392+ int is_blank_seen;
1393+ int last_blank_increment;
1394+ int is_bs_following_last_blank;
1395+ size_t bs_following_last_blank_num;
1396+ int is_cr_after_last_blank;
1397+
1398+#define CLEAR_FLAGS \
1399+ do \
1400+ { \
1401+ last_blank_pos = 0; \
1402+ last_blank_column = 0; \
1403+ is_blank_seen = 0; \
1404+ is_bs_following_last_blank = 0; \
1405+ bs_following_last_blank_num = 0; \
1406+ is_cr_after_last_blank = 0; \
1407+ } \
1408+ while (0)
1409+
1410+#define START_NEW_LINE \
1411+ do \
1412+ { \
1413+ putchar ('\n'); \
1414+ column = 0; \
1415+ offset_out = 0; \
1416+ CLEAR_FLAGS; \
1417+ } \
1418+ while (0)
1419+
1420+ CLEAR_FLAGS;
1421+ memset (&state, '\0', sizeof(mbstate_t));
1422+
1423+ for (;; bufpos += mblength, buflen -= mblength)
1424+ {
1425+ if (buflen < MB_LEN_MAX && !feof (istream) && !ferror (istream))
1426+ {
1427+ memmove (buf, bufpos, buflen);
1428+ buflen += fread (buf + buflen, sizeof(char), BUFSIZ, istream);
1429+ bufpos = buf;
1430+ }
1431+
1432+ if (buflen < 1)
1433+ break;
1434+
1435+ /* Get a wide character. */
1436+ convfail = 0;
1437+ state_bak = state;
1438+ mblength = mbrtowc ((wchar_t *)&wc, bufpos, buflen, &state);
1439+
1440+ switch (mblength)
1441+ {
1442+ case (size_t)-1:
1443+ case (size_t)-2:
1444+ convfail++;
1445+ state = state_bak;
1446+ /* Fall through. */
1447+
1448+ case 0:
1449+ mblength = 1;
1450+ break;
1451+ }
1452+
1453+rescan:
1454+ if (operating_mode == byte_mode) /* byte mode */
1455+ increment = mblength;
1456+ else if (operating_mode == character_mode) /* character mode */
1457+ increment = 1;
1458+ else /* column mode */
1459+ {
1460+ if (convfail)
1461+ increment = 1;
1462+ else
1463+ {
1464+ switch (wc)
1465+ {
1466+ case L'\n':
1467+ fwrite (line_out, sizeof(char), offset_out, stdout);
1468+ START_NEW_LINE;
1469+ continue;
1470+
1471+ case L'\b':
1472+ increment = (column > 0) ? -1 : 0;
1473+ break;
1474+
1475+ case L'\r':
1476+ increment = -1 * column;
1477+ break;
1478+
1479+ case L'\t':
1480+ increment = 8 - column % 8;
1481+ break;
1482+
1483+ default:
1484+ increment = wcwidth (wc);
1485+ increment = (increment < 0) ? 0 : increment;
1486+ }
1487+ }
1488+ }
1489+
1490+ if (column + increment > width && break_spaces && last_blank_pos)
1491+ {
1492+ fwrite (line_out, sizeof(char), last_blank_pos, stdout);
1493+ putchar ('\n');
1494+
1495+ offset_out = offset_out - last_blank_pos;
1496+ column = column - last_blank_column + ((is_cr_after_last_blank)
1497+ ? last_blank_increment : bs_following_last_blank_num);
1498+ memmove (line_out, line_out + last_blank_pos, offset_out);
1499+ CLEAR_FLAGS;
1500+ goto rescan;
1501+ }
1502+
1503+ if (column + increment > width && column != 0)
1504+ {
1505+ fwrite (line_out, sizeof(char), offset_out, stdout);
1506+ START_NEW_LINE;
1507+ goto rescan;
1508+ }
1509+
1510+ if (allocated_out < offset_out + mblength)
1511+ {
1512+ allocated_out += 1024;
1513+ line_out = xrealloc (line_out, allocated_out);
1514+ }
1515+
1516+ memcpy (line_out + offset_out, bufpos, mblength);
1517+ offset_out += mblength;
1518+ column += increment;
1519+
1520+ if (is_blank_seen && !convfail && wc == L'\r')
1521+ is_cr_after_last_blank = 1;
1522+
1523+ if (is_bs_following_last_blank && !convfail && wc == L'\b')
1524+ ++bs_following_last_blank_num;
1525+ else
1526+ is_bs_following_last_blank = 0;
1527+
1528+ if (break_spaces && !convfail && iswblank (wc))
1529+ {
1530+ last_blank_pos = offset_out;
1531+ last_blank_column = column;
1532+ is_blank_seen = 1;
1533+ last_blank_increment = increment;
1534+ is_bs_following_last_blank = 1;
1535+ bs_following_last_blank_num = 0;
1536+ is_cr_after_last_blank = 0;
1537+ }
1538+ }
1539+
1540+ *saved_errno = errno;
1541
1542 if (offset_out)
1543 fwrite (line_out, sizeof (char), (size_t) offset_out, stdout);
1544
1545+ free(line_out);
1546+}
1547+#endif
1548+
1549+/* Fold file FILENAME, or standard input if FILENAME is "-",
1550+ to stdout, with maximum line length WIDTH.
1551+ Return 0 if successful, 1 if an error occurs. */
1552+
1553+static bool
1554+fold_file (char *filename, size_t width)
1555+{
1556+ FILE *istream;
1557+ int saved_errno;
1558+
1559+ if (STREQ (filename, "-"))
1560+ {
1561+ istream = stdin;
1562+ have_read_stdin = 1;
1563+ }
1564+ else
1565+ istream = fopen (filename, "r");
1566+
1567+ if (istream == NULL)
1568+ {
1569+ error (0, errno, "%s", filename);
1570+ return 1;
1571+ }
1572+
1573+ /* Define how ISTREAM is being folded. */
1574+#if HAVE_MBRTOWC
1575+ if (MB_CUR_MAX > 1)
1576+ fold_multibyte_text (istream, width, &saved_errno);
1577+ else
1578+#endif
1579+ fold_text (istream, width, &saved_errno);
1580+
1581 if (ferror (istream))
1582 {
1583 error (0, saved_errno, "%s", filename);
1584@@ -255,7 +506,8 @@
1585
1586 atexit (close_stdout);
1587
1588- break_spaces = count_bytes = have_read_stdin = false;
1589+ operating_mode = column_mode;
1590+ break_spaces = have_read_stdin = false;
1591
1592 while ((optc = getopt_long (argc, argv, shortopts, longopts, NULL)) != -1)
1593 {
1594@@ -264,7 +516,15 @@
1595 switch (optc)
1596 {
1597 case 'b': /* Count bytes rather than columns. */
1598- count_bytes = true;
1599+ if (operating_mode != column_mode)
1600+ FATAL_ERROR (_("only one way of folding may be specified"));
1601+ operating_mode = byte_mode;
1602+ break;
1603+
1604+ case 'c':
1605+ if (operating_mode != column_mode)
1606+ FATAL_ERROR (_("only one way of folding may be specified"));
1607+ operating_mode = character_mode;
1608 break;
1609
1610 case 's': /* Break at word boundaries. */
1611--- coreutils-6.8+/src/sort.c.i18n 2007-02-24 11:23:23.000000000 +0000
1612+++ coreutils-6.8+/src/sort.c 2007-03-01 15:10:57.000000000 +0000
1613@@ -23,10 +23,19 @@
1614
1615 #include <config.h>
1616
1617+#include <assert.h>
1618 #include <getopt.h>
1619 #include <sys/types.h>
1620 #include <sys/wait.h>
1621 #include <signal.h>
1622+#if HAVE_WCHAR_H
1623+# include <wchar.h>
1624+#endif
1625+/* Get isw* functions. */
1626+#if HAVE_WCTYPE_H
1627+# include <wctype.h>
1628+#endif
1629+
1630 #include "system.h"
1631 #include "argmatch.h"
1632 #include "error.h"
1633@@ -116,14 +125,38 @@
1634 /* Thousands separator; if -1, then there isn't one. */
1635 static int thousands_sep;
1636
1637+static int force_general_numcompare = 0;
1638+
1639 /* Nonzero if the corresponding locales are hard. */
1640 static bool hard_LC_COLLATE;
1641-#if HAVE_NL_LANGINFO
1642+#if HAVE_LANGINFO_CODESET
1643 static bool hard_LC_TIME;
1644 #endif
1645
1646 #define NONZERO(x) ((x) != 0)
1647
1648+/* get a multibyte character's byte length. */
1649+#define GET_BYTELEN_OF_CHAR(LIM, PTR, MBLENGTH, STATE) \
1650+ do \
1651+ { \
1652+ wchar_t wc; \
1653+ mbstate_t state_bak; \
1654+ \
1655+ state_bak = STATE; \
1656+ mblength = mbrtowc (&wc, PTR, LIM - PTR, &STATE); \
1657+ \
1658+ switch (MBLENGTH) \
1659+ { \
1660+ case (size_t)-1: \
1661+ case (size_t)-2: \
1662+ STATE = state_bak; \
1663+ /* Fall through. */ \
1664+ case 0: \
1665+ MBLENGTH = 1; \
1666+ } \
1667+ } \
1668+ while (0)
1669+
1670 /* The kind of blanks for '-b' to skip in various options. */
1671 enum blanktype { bl_start, bl_end, bl_both };
1672
1673@@ -261,13 +294,11 @@
1674 they were read if all keys compare equal. */
1675 static bool stable;
1676
1677-/* If TAB has this value, blanks separate fields. */
1678-enum { TAB_DEFAULT = CHAR_MAX + 1 };
1679-
1680-/* Tab character separating fields. If TAB_DEFAULT, then fields are
1681+/* Tab character separating fields. If tab_length is 0, then fields are
1682 separated by the empty string between a non-blank character and a blank
1683 character. */
1684-static int tab = TAB_DEFAULT;
1685+static char tab[MB_LEN_MAX + 1];
1686+static size_t tab_length = 0;
1687
1688 /* Flag to remove consecutive duplicate lines from the output.
1689 Only the last of a sequence of equal lines will be output. */
1690@@ -639,6 +670,44 @@
1691 update_proc (pid);
1692 }
1693
1694+/* Function pointers. */
1695+static void
1696+(*inittables) (void);
1697+static char *
1698+(*begfield) (const struct line*, const struct keyfield *);
1699+static char *
1700+(*limfield) (const struct line*, const struct keyfield *);
1701+static int
1702+(*getmonth) (char const *, size_t);
1703+static int
1704+(*keycompare) (const struct line *, const struct line *);
1705+static int
1706+(*numcompare) (const char *, const char *);
1707+
1708+/* Test for white space multibyte character.
1709+ Set LENGTH the byte length of investigated multibyte character. */
1710+#if HAVE_MBRTOWC
1711+static int
1712+ismbblank (const char *str, size_t len, size_t *length)
1713+{
1714+ size_t mblength;
1715+ wchar_t wc;
1716+ mbstate_t state;
1717+
1718+ memset (&state, '\0', sizeof(mbstate_t));
1719+ mblength = mbrtowc (&wc, str, len, &state);
1720+
1721+ if (mblength == (size_t)-1 || mblength == (size_t)-2)
1722+ {
1723+ *length = 1;
1724+ return 0;
1725+ }
1726+
1727+ *length = (mblength < 1) ? 1 : mblength;
1728+ return iswblank (wc);
1729+}
1730+#endif
1731+
1732 /* Clean up any remaining temporary files. */
1733
1734 static void
1735@@ -978,7 +1047,7 @@
1736 free (node);
1737 }
1738
1739-#if HAVE_NL_LANGINFO
1740+#if HAVE_LANGINFO_CODESET
1741
1742 static int
1743 struct_month_cmp (const void *m1, const void *m2)
1744@@ -993,7 +1062,7 @@
1745 /* Initialize the character class tables. */
1746
1747 static void
1748-inittables (void)
1749+inittables_uni (void)
1750 {
1751 size_t i;
1752
1753@@ -1005,7 +1074,7 @@
1754 fold_toupper[i] = toupper (i);
1755 }
1756
1757-#if HAVE_NL_LANGINFO
1758+#if HAVE_LANGINFO_CODESET
1759 /* If we're not in the "C" locale, read different names for months. */
1760 if (hard_LC_TIME)
1761 {
1762@@ -1031,6 +1100,64 @@
1763 #endif
1764 }
1765
1766+#if HAVE_MBRTOWC
1767+static void
1768+inittables_mb (void)
1769+{
1770+ int i, j, k, l;
1771+ char *name, *s;
1772+ size_t s_len, mblength;
1773+ char mbc[MB_LEN_MAX];
1774+ wchar_t wc, pwc;
1775+ mbstate_t state_mb, state_wc;
1776+
1777+ for (i = 0; i < MONTHS_PER_YEAR; i++)
1778+ {
1779+ s = (char *) nl_langinfo (ABMON_1 + i);
1780+ s_len = strlen (s);
1781+ monthtab[i].name = name = (char *) xmalloc (s_len + 1);
1782+ monthtab[i].val = i + 1;
1783+
1784+ memset (&state_mb, '\0', sizeof (mbstate_t));
1785+ memset (&state_wc, '\0', sizeof (mbstate_t));
1786+
1787+ for (j = 0; j < s_len;)
1788+ {
1789+ if (!ismbblank (s + j, s_len - j, &mblength))
1790+ break;
1791+ j += mblength;
1792+ }
1793+
1794+ for (k = 0; j < s_len;)
1795+ {
1796+ mblength = mbrtowc (&wc, (s + j), (s_len - j), &state_mb);
1797+ assert (mblength != (size_t)-1 && mblength != (size_t)-2);
1798+ if (mblength == 0)
1799+ break;
1800+
1801+ pwc = towupper (wc);
1802+ if (pwc == wc)
1803+ {
1804+ memcpy (mbc, s + j, mblength);
1805+ j += mblength;
1806+ }
1807+ else
1808+ {
1809+ j += mblength;
1810+ mblength = wcrtomb (mbc, pwc, &state_wc);
1811+ assert (mblength != (size_t)0 && mblength != (size_t)-1);
1812+ }
1813+
1814+ for (l = 0; l < mblength; l++)
1815+ name[k++] = mbc[l];
1816+ }
1817+ name[k] = '\0';
1818+ }
1819+ qsort ((void *) monthtab, MONTHS_PER_YEAR,
1820+ sizeof (struct month), struct_month_cmp);
1821+}
1822+#endif
1823+
1824 /* Specify the amount of main memory to use when sorting. */
1825 static void
1826 specify_sort_size (char const *s)
1827@@ -1241,7 +1368,7 @@
1828 by KEY in LINE. */
1829
1830 static char *
1831-begfield (const struct line *line, const struct keyfield *key)
1832+begfield_uni (const struct line *line, const struct keyfield *key)
1833 {
1834 char *ptr = line->text, *lim = ptr + line->length - 1;
1835 size_t sword = key->sword;
1836@@ -1251,10 +1378,10 @@
1837 /* The leading field separator itself is included in a field when -t
1838 is absent. */
1839
1840- if (tab != TAB_DEFAULT)
1841+ if (tab_length)
1842 while (ptr < lim && sword--)
1843 {
1844- while (ptr < lim && *ptr != tab)
1845+ while (ptr < lim && *ptr != tab[0])
1846 ++ptr;
1847 if (ptr < lim)
1848 ++ptr;
1849@@ -1282,11 +1409,70 @@
1850 return ptr;
1851 }
1852
1853+#if HAVE_MBRTOWC
1854+static char *
1855+begfield_mb (const struct line *line, const struct keyfield *key)
1856+{
1857+ int i;
1858+ char *ptr = line->text, *lim = ptr + line->length - 1;
1859+ size_t sword = key->sword;
1860+ size_t schar = key->schar;
1861+ size_t mblength;
1862+ mbstate_t state;
1863+
1864+ memset (&state, '\0', sizeof(mbstate_t));
1865+
1866+ if (tab_length)
1867+ while (ptr < lim && sword--)
1868+ {
1869+ while (ptr < lim && memcmp (ptr, tab, tab_length) != 0)
1870+ {
1871+ GET_BYTELEN_OF_CHAR (lim, ptr, mblength, state);
1872+ ptr += mblength;
1873+ }
1874+ if (ptr < lim)
1875+ {
1876+ GET_BYTELEN_OF_CHAR (lim, ptr, mblength, state);
1877+ ptr += mblength;
1878+ }
1879+ }
1880+ else
1881+ while (ptr < lim && sword--)
1882+ {
1883+ while (ptr < lim && ismbblank (ptr, lim - ptr, &mblength))
1884+ ptr += mblength;
1885+ if (ptr < lim)
1886+ {
1887+ GET_BYTELEN_OF_CHAR (lim, ptr, mblength, state);
1888+ ptr += mblength;
1889+ }
1890+ while (ptr < lim && !ismbblank (ptr, lim - ptr, &mblength))
1891+ ptr += mblength;
1892+ }
1893+
1894+ if (key->skipsblanks)
1895+ while (ptr < lim && ismbblank (ptr, lim - ptr, &mblength))
1896+ ptr += mblength;
1897+
1898+ for (i = 0; i < schar; i++)
1899+ {
1900+ GET_BYTELEN_OF_CHAR (lim, ptr, mblength, state);
1901+
1902+ if (ptr + mblength > lim)
1903+ break;
1904+ else
1905+ ptr += mblength;
1906+ }
1907+
1908+ return ptr;
1909+}
1910+#endif
1911+
1912 /* Return the limit of (a pointer to the first character after) the field
1913 in LINE specified by KEY. */
1914
1915 static char *
1916-limfield (const struct line *line, const struct keyfield *key)
1917+limfield_uni (const struct line *line, const struct keyfield *key)
1918 {
1919 char *ptr = line->text, *lim = ptr + line->length - 1;
1920 size_t eword = key->eword, echar = key->echar;
1921@@ -1299,10 +1485,10 @@
1922 `beginning' is the first character following the delimiting TAB.
1923 Otherwise, leave PTR pointing at the first `blank' character after
1924 the preceding field. */
1925- if (tab != TAB_DEFAULT)
1926+ if (tab_length)
1927 while (ptr < lim && eword--)
1928 {
1929- while (ptr < lim && *ptr != tab)
1930+ while (ptr < lim && *ptr != tab[0])
1931 ++ptr;
1932 if (ptr < lim && (eword | echar))
1933 ++ptr;
1934@@ -1348,10 +1534,10 @@
1935 */
1936
1937 /* Make LIM point to the end of (one byte past) the current field. */
1938- if (tab != TAB_DEFAULT)
1939+ if (tab_length)
1940 {
1941 char *newlim;
1942- newlim = memchr (ptr, tab, lim - ptr);
1943+ newlim = memchr (ptr, tab[0], lim - ptr);
1944 if (newlim)
1945 lim = newlim;
1946 }
1947@@ -1384,6 +1570,107 @@
1948 return ptr;
1949 }
1950
1951+#if HAVE_MBRTOWC
1952+static char *
1953+limfield_mb (const struct line *line, const struct keyfield *key)
1954+{
1955+ char *ptr = line->text, *lim = ptr + line->length - 1;
1956+ size_t eword = key->eword, echar = key->echar;
1957+ int i;
1958+ size_t mblength;
1959+ mbstate_t state;
1960+
1961+ memset (&state, '\0', sizeof(mbstate_t));
1962+
1963+ if (tab_length)
1964+ while (ptr < lim && eword--)
1965+ {
1966+ while (ptr < lim && memcmp (ptr, tab, tab_length) != 0)
1967+ {
1968+ GET_BYTELEN_OF_CHAR (lim, ptr, mblength, state);
1969+ ptr += mblength;
1970+ }
1971+ if (ptr < lim && (eword | echar))
1972+ {
1973+ GET_BYTELEN_OF_CHAR (lim, ptr, mblength, state);
1974+ ptr += mblength;
1975+ }
1976+ }
1977+ else
1978+ while (ptr < lim && eword--)
1979+ {
1980+ while (ptr < lim && ismbblank (ptr, lim - ptr, &mblength))
1981+ ptr += mblength;
1982+ if (ptr < lim)
1983+ {
1984+ GET_BYTELEN_OF_CHAR (lim, ptr, mblength, state);
1985+ ptr += mblength;
1986+ }
1987+ while (ptr < lim && !ismbblank (ptr, lim - ptr, &mblength))
1988+ ptr += mblength;
1989+ }
1990+
1991+
1992+# ifdef POSIX_UNSPECIFIED
1993+ /* Make LIM point to the end of (one byte past) the current field. */
1994+ if (tab_length)
1995+ {
1996+ char *newlim, *p;
1997+
1998+ newlim = NULL;
1999+ for (p = ptr; p < lim;)
2000+ {
2001+ if (memcmp (p, tab, tab_length) == 0)
2002+ {
2003+ newlim = p;
2004+ break;
2005+ }
2006+
2007+ GET_BYTELEN_OF_CHAR (lim, ptr, mblength, state);
2008+ p += mblength;
2009+ }
2010+ }
2011+ else
2012+ {
2013+ char *newlim;
2014+ newlim = ptr;
2015+
2016+ while (newlim < lim && ismbblank (newlim, lim - newlim, &mblength))
2017+ newlim += mblength;
2018+ if (ptr < lim)
2019+ {
2020+ GET_BYTELEN_OF_CHAR (lim, ptr, mblength, state);
2021+ ptr += mblength;
2022+ }
2023+ while (newlim < lim && !ismbblank (newlim, lim - newlim, &mblength))
2024+ newlim += mblength;
2025+ lim = newlim;
2026+ }
2027+# endif
2028+
2029+ /* If we're skipping leading blanks, don't start counting characters
2030+ * until after skipping past any leading blanks. */
2031+ if (key->skipsblanks)
2032+ while (ptr < lim && ismbblank (ptr, lim - ptr, &mblength))
2033+ ptr += mblength;
2034+
2035+ memset (&state, '\0', sizeof(mbstate_t));
2036+
2037+ /* Advance PTR by ECHAR (if possible), but no further than LIM. */
2038+ for (i = 0; i < echar; i++)
2039+ {
2040+ GET_BYTELEN_OF_CHAR (lim, ptr, mblength, state);
2041+
2042+ if (ptr + mblength > lim)
2043+ break;
2044+ else
2045+ ptr += mblength;
2046+ }
2047+
2048+ return ptr;
2049+}
2050+#endif
2051+
2052 /* Fill BUF reading from FP, moving buf->left bytes from the end
2053 of buf->buf to the beginning first. If EOF is reached and the
2054 file wasn't terminated by a newline, supply one. Set up BUF's line
2055@@ -1466,8 +1753,24 @@
2056 else
2057 {
2058 if (key->skipsblanks)
2059- while (blanks[to_uchar (*line_start)])
2060- line_start++;
2061+ {
2062+#if HAVE_MBRTOWC
2063+ if (MB_CUR_MAX > 1)
2064+ {
2065+ size_t mblength;
2066+ mbstate_t state;
2067+ memset (&state, '\0', sizeof(mbstate_t));
2068+ while (line_start < line->keylim &&
2069+ ismbblank (line_start,
2070+ line->keylim - line_start,
2071+ &mblength))
2072+ line_start += mblength;
2073+ }
2074+ else
2075+#endif
2076+ while (blanks[to_uchar (*line_start)])
2077+ line_start++;
2078+ }
2079 line->keybeg = line_start;
2080 }
2081 }
2082@@ -1500,7 +1803,7 @@
2083 hideously fast. */
2084
2085 static int
2086-numcompare (const char *a, const char *b)
2087+numcompare_uni (const char *a, const char *b)
2088 {
2089 while (blanks[to_uchar (*a)])
2090 a++;
2091@@ -1510,6 +1813,25 @@
2092 return strnumcmp (a, b, decimal_point, thousands_sep);
2093 }
2094
2095+#if HAVE_MBRTOWC
2096+static int
2097+numcompare_mb (const char *a, const char *b)
2098+{
2099+ size_t mblength, len;
2100+ len = strlen (a); /* okay for UTF-8 */
2101+ while (*a && ismbblank (a, len > MB_CUR_MAX ? MB_CUR_MAX : len, &mblength))
2102+ {
2103+ a += mblength;
2104+ len -= mblength;
2105+ }
2106+ len = strlen (b); /* okay for UTF-8 */
2107+ while (*b && ismbblank (b, len > MB_CUR_MAX ? MB_CUR_MAX : len, &mblength))
2108+ b += mblength;
2109+
2110+ return strnumcmp (a, b, decimal_point, thousands_sep);
2111+}
2112+#endif /* HAV_EMBRTOWC */
2113+
2114 static int
2115 general_numcompare (const char *sa, const char *sb)
2116 {
2117@@ -1543,7 +1865,7 @@
2118 Return 0 if the name in S is not recognized. */
2119
2120 static int
2121-getmonth (char const *month, size_t len)
2122+getmonth_uni (char const *month, size_t len)
2123 {
2124 size_t lo = 0;
2125 size_t hi = MONTHS_PER_YEAR;
2126@@ -1698,11 +2020,79 @@
2127 return diff;
2128 }
2129
2130+#if HAVE_MBRTOWC
2131+static int
2132+getmonth_mb (const char *s, size_t len)
2133+{
2134+ char *month;
2135+ register size_t i;
2136+ register int lo = 0, hi = MONTHS_PER_YEAR, result;
2137+ char *tmp;
2138+ size_t wclength, mblength;
2139+ const char **pp;
2140+ const wchar_t **wpp;
2141+ wchar_t *month_wcs;
2142+ mbstate_t state;
2143+
2144+ while (len > 0 && ismbblank (s, len, &mblength))
2145+ {
2146+ s += mblength;
2147+ len -= mblength;
2148+ }
2149+
2150+ if (len == 0)
2151+ return 0;
2152+
2153+ month = (char *) alloca (len + 1);
2154+
2155+ tmp = (char *) alloca (len + 1);
2156+ memcpy (tmp, s, len);
2157+ tmp[len] = '\0';
2158+ pp = (const char **)&tmp;
2159+ month_wcs = (wchar_t *) alloca ((len + 1) * sizeof (wchar_t));
2160+ memset (&state, '\0', sizeof(mbstate_t));
2161+
2162+ wclength = mbsrtowcs (month_wcs, pp, len + 1, &state);
2163+ assert (wclength != (size_t)-1 && *pp == NULL);
2164+
2165+ for (i = 0; i < wclength; i++)
2166+ {
2167+ month_wcs[i] = towupper(month_wcs[i]);
2168+ if (iswblank (month_wcs[i]))
2169+ {
2170+ month_wcs[i] = L'\0';
2171+ break;
2172+ }
2173+ }
2174+
2175+ wpp = (const wchar_t **)&month_wcs;
2176+
2177+ mblength = wcsrtombs (month, wpp, len + 1, &state);
2178+ assert (mblength != (-1) && *wpp == NULL);
2179+
2180+ do
2181+ {
2182+ int ix = (lo + hi) / 2;
2183+
2184+ if (strncmp (month, monthtab[ix].name, strlen (monthtab[ix].name)) < 0)
2185+ hi = ix;
2186+ else
2187+ lo = ix;
2188+ }
2189+ while (hi - lo > 1);
2190+
2191+ result = (!strncmp (month, monthtab[lo].name, strlen (monthtab[lo].name))
2192+ ? monthtab[lo].val : 0);
2193+
2194+ return result;
2195+}
2196+#endif
2197+
2198 /* Compare two lines A and B trying every key in sequence until there
2199 are no more keys or a difference is found. */
2200
2201 static int
2202-keycompare (const struct line *a, const struct line *b)
2203+keycompare_uni (const struct line *a, const struct line *b)
2204 {
2205 struct keyfield const *key = keylist;
2206
2207@@ -1875,6 +2265,179 @@
2208 return key->reverse ? -diff : diff;
2209 }
2210
2211+#if HAVE_MBRTOWC
2212+static int
2213+keycompare_mb (const struct line *a, const struct line *b)
2214+{
2215+ struct keyfield *key = keylist;
2216+
2217+ /* For the first iteration only, the key positions have been
2218+ precomputed for us. */
2219+ char *texta = a->keybeg;
2220+ char *textb = b->keybeg;
2221+ char *lima = a->keylim;
2222+ char *limb = b->keylim;
2223+
2224+ size_t mblength_a, mblength_b;
2225+ wchar_t wc_a, wc_b;
2226+ mbstate_t state_a, state_b;
2227+
2228+ int diff;
2229+
2230+ memset (&state_a, '\0', sizeof(mbstate_t));
2231+ memset (&state_b, '\0', sizeof(mbstate_t));
2232+
2233+ for (;;)
2234+ {
2235+ unsigned char *translate = (unsigned char *) key->translate;
2236+ bool const *ignore = key->ignore;
2237+
2238+ /* Find the lengths. */
2239+ size_t lena = lima <= texta ? 0 : lima - texta;
2240+ size_t lenb = limb <= textb ? 0 : limb - textb;
2241+
2242+ /* Actually compare the fields. */
2243+ if (key->random)
2244+ diff = compare_random (texta, lena, textb, lenb);
2245+ else if (key->numeric | key->general_numeric)
2246+ {
2247+ char savea = *lima, saveb = *limb;
2248+
2249+ *lima = *limb = '\0';
2250+ if (force_general_numcompare)
2251+ diff = general_numcompare (texta, textb);
2252+ else
2253+ diff = ((key->numeric ? numcompare : general_numcompare)
2254+ (texta, textb));
2255+ *lima = savea, *limb = saveb;
2256+ }
2257+ else if (key->month)
2258+ diff = getmonth (texta, lena) - getmonth (textb, lenb);
2259+ else
2260+ {
2261+ if (ignore || translate)
2262+ {
2263+ char *copy_a = (char *) alloca (lena + 1 + lenb + 1);
2264+ char *copy_b = copy_a + lena + 1;
2265+ size_t new_len_a, new_len_b;
2266+ size_t i, j;
2267+
2268+ /* Ignore and/or translate chars before comparing. */
2269+# define IGNORE_CHARS(NEW_LEN, LEN, TEXT, COPY, WC, MBLENGTH, STATE) \
2270+ do \
2271+ { \
2272+ wchar_t uwc; \
2273+ char mbc[MB_LEN_MAX]; \
2274+ mbstate_t state_wc; \
2275+ \
2276+ for (NEW_LEN = i = 0; i < LEN;) \
2277+ { \
2278+ mbstate_t state_bak; \
2279+ \
2280+ state_bak = STATE; \
2281+ MBLENGTH = mbrtowc (&WC, TEXT + i, LEN - i, &STATE); \
2282+ \
2283+ if (MBLENGTH == (size_t)-2 || MBLENGTH == (size_t)-1 \
2284+ || MBLENGTH == 0) \
2285+ { \
2286+ if (MBLENGTH == (size_t)-2 || MBLENGTH == (size_t)-1) \
2287+ STATE = state_bak; \
2288+ if (!ignore) \
2289+ COPY[NEW_LEN++] = TEXT[i++]; \
2290+ continue; \
2291+ } \
2292+ \
2293+ if (ignore) \
2294+ { \
2295+ if ((ignore == nonprinting && !iswprint (WC)) \
2296+ || (ignore == nondictionary \
2297+ && !iswalnum (WC) && !iswblank (WC))) \
2298+ { \
2299+ i += MBLENGTH; \
2300+ continue; \
2301+ } \
2302+ } \
2303+ \
2304+ if (translate) \
2305+ { \
2306+ \
2307+ uwc = towupper(WC); \
2308+ if (WC == uwc) \
2309+ { \
2310+ memcpy (mbc, TEXT + i, MBLENGTH); \
2311+ i += MBLENGTH; \
2312+ } \
2313+ else \
2314+ { \
2315+ i += MBLENGTH; \
2316+ WC = uwc; \
2317+ memset (&state_wc, '\0', sizeof (mbstate_t)); \
2318+ \
2319+ MBLENGTH = wcrtomb (mbc, WC, &state_wc); \
2320+ assert (MBLENGTH != (size_t)-1 && MBLENGTH != 0); \
2321+ } \
2322+ \
2323+ for (j = 0; j < MBLENGTH; j++) \
2324+ COPY[NEW_LEN++] = mbc[j]; \
2325+ } \
2326+ else \
2327+ for (j = 0; j < MBLENGTH; j++) \
2328+ COPY[NEW_LEN++] = TEXT[i++]; \
2329+ } \
2330+ COPY[NEW_LEN] = '\0'; \
2331+ } \
2332+ while (0)
2333+ IGNORE_CHARS (new_len_a, lena, texta, copy_a,
2334+ wc_a, mblength_a, state_a);
2335+ IGNORE_CHARS (new_len_b, lenb, textb, copy_b,
2336+ wc_b, mblength_b, state_b);
2337+ diff = xmemcoll (copy_a, new_len_a, copy_b, new_len_b);
2338+ }
2339+ else if (lena == 0)
2340+ diff = - NONZERO (lenb);
2341+ else if (lenb == 0)
2342+ goto greater;
2343+ else
2344+ diff = xmemcoll (texta, lena, textb, lenb);
2345+ }
2346+
2347+ if (diff)
2348+ goto not_equal;
2349+
2350+ key = key->next;
2351+ if (! key)
2352+ break;
2353+
2354+ /* Find the beginning and limit of the next field. */
2355+ if (key->eword != -1)
2356+ lima = limfield (a, key), limb = limfield (b, key);
2357+ else
2358+ lima = a->text + a->length - 1, limb = b->text + b->length - 1;
2359+
2360+ if (key->sword != -1)
2361+ texta = begfield (a, key), textb = begfield (b, key);
2362+ else
2363+ {
2364+ texta = a->text, textb = b->text;
2365+ if (key->skipsblanks)
2366+ {
2367+ while (texta < lima && ismbblank (texta, lima - texta, &mblength_a))
2368+ texta += mblength_a;
2369+ while (textb < limb && ismbblank (textb, limb - textb, &mblength_b))
2370+ textb += mblength_b;
2371+ }
2372+ }
2373+ }
2374+
2375+ return 0;
2376+
2377+greater:
2378+ diff = 1;
2379+not_equal:
2380+ return key->reverse ? -diff : diff;
2381+}
2382+#endif
2383+
2384 /* Compare two lines A and B, returning negative, zero, or positive
2385 depending on whether A compares less than, equal to, or greater than B. */
2386
2387@@ -2744,7 +3305,7 @@
2388 initialize_exit_failure (SORT_FAILURE);
2389
2390 hard_LC_COLLATE = hard_locale (LC_COLLATE);
2391-#if HAVE_NL_LANGINFO
2392+#if HAVE_LANGINFO_CODESET
2393 hard_LC_TIME = hard_locale (LC_TIME);
2394 #endif
2395
2396@@ -2765,6 +3326,27 @@
2397 thousands_sep = -1;
2398 }
2399
2400+#if HAVE_MBRTOWC
2401+ if (MB_CUR_MAX > 1)
2402+ {
2403+ inittables = inittables_mb;
2404+ begfield = begfield_mb;
2405+ limfield = limfield_mb;
2406+ getmonth = getmonth_mb;
2407+ keycompare = keycompare_mb;
2408+ numcompare = numcompare_mb;
2409+ }
2410+ else
2411+#endif
2412+ {
2413+ inittables = inittables_uni;
2414+ begfield = begfield_uni;
2415+ limfield = limfield_uni;
2416+ getmonth = getmonth_uni;
2417+ keycompare = keycompare_uni;
2418+ numcompare = numcompare_uni;
2419+ }
2420+
2421 have_read_stdin = false;
2422 inittables ();
2423
2424@@ -3015,13 +3597,35 @@
2425
2426 case 't':
2427 {
2428- char newtab = optarg[0];
2429- if (! newtab)
2430+ char newtab[MB_LEN_MAX + 1];
2431+ size_t newtab_length = 1;
2432+ strncpy (newtab, optarg, MB_LEN_MAX);
2433+ if (! newtab[0])
2434 error (SORT_FAILURE, 0, _("empty tab"));
2435- if (optarg[1])
2436+#if HAVE_MBRTOWC
2437+ if (MB_CUR_MAX > 1)
2438+ {
2439+ wchar_t wc;
2440+ mbstate_t state;
2441+ size_t i;
2442+
2443+ memset (&state, '\0', sizeof (mbstate_t));
2444+ newtab_length = mbrtowc (&wc, newtab, strnlen (newtab,
2445+ MB_LEN_MAX),
2446+ &state);
2447+ switch (newtab_length)
2448+ {
2449+ case (size_t) -1:
2450+ case (size_t) -2:
2451+ case 0:
2452+ newtab_length = 1;
2453+ }
2454+ }
2455+#endif
2456+ if (newtab_length == 1 && optarg[1])
2457 {
2458 if (STREQ (optarg, "\\0"))
2459- newtab = '\0';
2460+ newtab[0] = '\0';
2461 else
2462 {
2463 /* Provoke with `sort -txx'. Complain about
2464@@ -3032,9 +3636,12 @@
2465 quote (optarg));
2466 }
2467 }
2468- if (tab != TAB_DEFAULT && tab != newtab)
2469+ if (tab_length
2470+ && (tab_length != newtab_length
2471+ || memcmp (tab, newtab, tab_length) != 0))
2472 error (SORT_FAILURE, 0, _("incompatible tabs"));
2473- tab = newtab;
2474+ memcpy (tab, newtab, newtab_length);
2475+ tab_length = newtab_length;
2476 }
2477 break;
2478
2479--- coreutils-6.8+/src/unexpand.c.i18n 2007-01-14 15:41:28.000000000 +0000
2480+++ coreutils-6.8+/src/unexpand.c 2007-03-01 15:08:24.000000000 +0000
2481@@ -39,11 +39,28 @@
2482 #include <stdio.h>
2483 #include <getopt.h>
2484 #include <sys/types.h>
2485+
2486+/* Get mbstate_t, mbrtowc(), wcwidth(). */
2487+#if HAVE_WCHAR_H
2488+# include <wchar.h>
2489+#endif
2490+
2491 #include "system.h"
2492 #include "error.h"
2493 #include "quote.h"
2494 #include "xstrndup.h"
2495
2496+/* MB_LEN_MAX is incorrectly defined to be 1 in at least one GCC
2497+ installation; work around this configuration error. */
2498+#if !defined MB_LEN_MAX || MB_LEN_MAX < 2
2499+# define MB_LEN_MAX 16
2500+#endif
2501+
2502+/* Some systems, like BeOS, have multibyte encodings but lack mbstate_t. */
2503+#if HAVE_MBRTOWC && defined mbstate_t
2504+# define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0)
2505+#endif
2506+
2507 /* The official name of this program (e.g., no `g' prefix). */
2508 #define PROGRAM_NAME "unexpand"
2509
2510@@ -110,6 +127,208 @@
2511 {NULL, 0, NULL, 0}
2512 };
2513
2514+static FILE *next_file (FILE *fp);
2515+
2516+#if HAVE_MBRTOWC
2517+static void
2518+unexpand_multibyte (void)
2519+{
2520+ FILE *fp; /* Input stream. */
2521+ mbstate_t i_state; /* Current shift state of the input stream. */
2522+ mbstate_t i_state_bak; /* Back up the I_STATE. */
2523+ mbstate_t o_state; /* Current shift state of the output stream. */
2524+ char buf[MB_LEN_MAX + BUFSIZ]; /* For spooling a read byte sequence. */
2525+ char *bufpos; /* Next read position of BUF. */
2526+ size_t buflen = 0; /* The length of the byte sequence in buf. */
2527+ wint_t wc; /* A gotten wide character. */
2528+ size_t mblength; /* The byte size of a multibyte character
2529+ which shows as same character as WC. */
2530+
2531+ /* Index in `tab_list' of next tabstop: */
2532+ int tab_index = 0; /* For calculating width of pending tabs. */
2533+ int print_tab_index = 0; /* For printing as many tabs as possible. */
2534+ unsigned int column = 0; /* Column on screen of next char. */
2535+ int next_tab_column; /* Column the next tab stop is on. */
2536+ int convert = 1; /* If nonzero, perform translations. */
2537+ unsigned int pending = 0; /* Pending columns of blanks. */
2538+
2539+ fp = next_file ((FILE *) NULL);
2540+ if (fp == NULL)
2541+ return;
2542+
2543+ memset (&o_state, '\0', sizeof(mbstate_t));
2544+ memset (&i_state, '\0', sizeof(mbstate_t));
2545+
2546+ for (;;)
2547+ {
2548+ if (buflen < MB_LEN_MAX && !feof(fp) && !ferror(fp))
2549+ {
2550+ memmove (buf, bufpos, buflen);
2551+ buflen += fread (buf + buflen, sizeof(char), BUFSIZ, fp);
2552+ bufpos = buf;
2553+ }
2554+
2555+ /* Get a wide character. */
2556+ if (buflen < 1)
2557+ {
2558+ mblength = 1;
2559+ wc = WEOF;
2560+ }
2561+ else
2562+ {
2563+ i_state_bak = i_state;
2564+ mblength = mbrtowc ((wchar_t *)&wc, bufpos, buflen, &i_state);
2565+ }
2566+
2567+ if (mblength == (size_t)-1 || mblength == (size_t)-2)
2568+ {
2569+ i_state = i_state_bak;
2570+ wc = L'\0';
2571+ }
2572+
2573+ if (wc == L' ' && convert && column < INT_MAX)
2574+ {
2575+ ++pending;
2576+ ++column;
2577+ }
2578+ else if (wc == L'\t' && convert)
2579+ {
2580+ if (tab_size == 0)
2581+ {
2582+ /* Do not let tab_index == first_free_tab;
2583+ stop when it is 1 less. */
2584+ while (tab_index < first_free_tab - 1
2585+ && column >= tab_list[tab_index])
2586+ tab_index++;
2587+ next_tab_column = tab_list[tab_index];
2588+ if (tab_index < first_free_tab - 1)
2589+ tab_index++;
2590+ if (column >= next_tab_column)
2591+ {
2592+ convert = 0; /* Ran out of tab stops. */
2593+ goto flush_pend_mb;
2594+ }
2595+ }
2596+ else
2597+ {
2598+ next_tab_column = column + tab_size - column % tab_size;
2599+ }
2600+ pending += next_tab_column - column;
2601+ column = next_tab_column;
2602+ }
2603+ else
2604+ {
2605+flush_pend_mb:
2606+ /* Flush pending spaces. Print as many tabs as possible,
2607+ then print the rest as spaces. */
2608+ if (pending == 1)
2609+ {
2610+ putchar (' ');
2611+ pending = 0;
2612+ }
2613+ column -= pending;
2614+ while (pending > 0)
2615+ {
2616+ if (tab_size == 0)
2617+ {
2618+ /* Do not let print_tab_index == first_free_tab;
2619+ stop when it is 1 less. */
2620+ while (print_tab_index < first_free_tab - 1
2621+ && column >= tab_list[print_tab_index])
2622+ print_tab_index++;
2623+ next_tab_column = tab_list[print_tab_index];
2624+ if (print_tab_index < first_free_tab - 1)
2625+ print_tab_index++;
2626+ }
2627+ else
2628+ {
2629+ next_tab_column =
2630+ column + tab_size - column % tab_size;
2631+ }
2632+ if (next_tab_column - column <= pending)
2633+ {
2634+ putchar ('\t');
2635+ pending -= next_tab_column - column;
2636+ column = next_tab_column;
2637+ }
2638+ else
2639+ {
2640+ --print_tab_index;
2641+ column += pending;
2642+ while (pending != 0)
2643+ {
2644+ putchar (' ');
2645+ pending--;
2646+ }
2647+ }
2648+ }
2649+
2650+ if (wc == WEOF)
2651+ {
2652+ fp = next_file (fp);
2653+ if (fp == NULL)
2654+ break; /* No more files. */
2655+ else
2656+ {
2657+ memset (&i_state, '\0', sizeof(mbstate_t));
2658+ continue;
2659+ }
2660+ }
2661+
2662+ if (mblength == (size_t)-1 || mblength == (size_t)-2)
2663+ {
2664+ if (convert)
2665+ {
2666+ ++column;
2667+ if (convert_entire_line == 0)
2668+ convert = 0;
2669+ }
2670+ mblength = 1;
2671+ putchar (buf[0]);
2672+ }
2673+ else if (mblength == 0)
2674+ {
2675+ if (convert && convert_entire_line == 0)
2676+ convert = 0;
2677+ mblength = 1;
2678+ putchar ('\0');
2679+ }
2680+ else
2681+ {
2682+ if (convert)
2683+ {
2684+ if (wc == L'\b')
2685+ {
2686+ if (column > 0)
2687+ --column;
2688+ }
2689+ else
2690+ {
2691+ int width; /* The width of WC. */
2692+
2693+ width = wcwidth (wc);
2694+ column += (width > 0) ? width : 0;
2695+ if (convert_entire_line == 0)
2696+ convert = 0;
2697+ }
2698+ }
2699+
2700+ if (wc == L'\n')
2701+ {
2702+ tab_index = print_tab_index = 0;
2703+ column = pending = 0;
2704+ convert = 1;
2705+ }
2706+ fwrite (bufpos, sizeof(char), mblength, stdout);
2707+ }
2708+ }
2709+ buflen -= mblength;
2710+ bufpos += mblength;
2711+ }
2712+}
2713+#endif
2714+
2715+
2716 void
2717 usage (int status)
2718 {
2719@@ -531,7 +750,12 @@
2720
2721 file_list = (optind < argc ? &argv[optind] : stdin_argv);
2722
2723- unexpand ();
2724+#if HAVE_MBRTOWC
2725+ if (MB_CUR_MAX > 1)
2726+ unexpand_multibyte ();
2727+ else
2728+#endif
2729+ unexpand ();
2730
2731 if (have_read_stdin && fclose (stdin) != 0)
2732 error (EXIT_FAILURE, errno, "-");
2733--- coreutils-6.8+/src/pr.c.i18n 2007-01-14 15:41:28.000000000 +0000
2734+++ coreutils-6.8+/src/pr.c 2007-03-01 15:08:24.000000000 +0000
2735@@ -313,6 +313,32 @@
2736
2737 #include <getopt.h>
2738 #include <sys/types.h>
2739+
2740+/* Get MB_LEN_MAX. */
2741+#include <limits.h>
2742+/* MB_LEN_MAX is incorrectly defined to be 1 in at least one GCC
2743+ installation; work around this configuration error. */
2744+#if !defined MB_LEN_MAX || MB_LEN_MAX == 1
2745+# define MB_LEN_MAX 16
2746+#endif
2747+
2748+/* Get MB_CUR_MAX. */
2749+#include <stdlib.h>
2750+
2751+/* Solaris 2.5 has a bug: <wchar.h> must be included before <wctype.h>. */
2752+/* Get mbstate_t, mbrtowc(), wcwidth(). */
2753+#if HAVE_WCHAR_H
2754+# include <wchar.h>
2755+#endif
2756+
2757+/* Get iswprint(). -- for wcwidth(). */
2758+#if HAVE_WCTYPE_H
2759+# include <wctype.h>
2760+#endif
2761+#if !defined iswprint && !HAVE_ISWPRINT
2762+# define iswprint(wc) 1
2763+#endif
2764+
2765 #include "system.h"
2766 #include "error.h"
2767 #include "hard-locale.h"
2768@@ -324,6 +350,18 @@
2769 #include "strftime.h"
2770 #include "xstrtol.h"
2771
2772+/* Some systems, like BeOS, have multibyte encodings but lack mbstate_t. */
2773+#if HAVE_MBRTOWC && defined mbstate_t
2774+# define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0)
2775+#endif
2776+
2777+#ifndef HAVE_DECL_WCWIDTH
2778+"this configure-time declaration test was not run"
2779+#endif
2780+#if !HAVE_DECL_WCWIDTH
2781+extern int wcwidth ();
2782+#endif
2783+
2784 /* The official name of this program (e.g., no `g' prefix). */
2785 #define PROGRAM_NAME "pr"
2786
2787@@ -416,7 +454,20 @@
2788
2789 #define NULLCOL (COLUMN *)0
2790
2791-static int char_to_clump (char c);
2792+/* Funtion pointers to switch functions for single byte locale or for
2793+ multibyte locale. If multibyte functions do not exist in your sysytem,
2794+ these pointers always point the function for single byte locale. */
2795+static void (*print_char) (char c);
2796+static int (*char_to_clump) (char c);
2797+
2798+/* Functions for single byte locale. */
2799+static void print_char_single (char c);
2800+static int char_to_clump_single (char c);
2801+
2802+/* Functions for multibyte locale. */
2803+static void print_char_multi (char c);
2804+static int char_to_clump_multi (char c);
2805+
2806 static bool read_line (COLUMN *p);
2807 static bool print_page (void);
2808 static bool print_stored (COLUMN *p);
2809@@ -426,6 +477,7 @@
2810 static void pad_across_to (int position);
2811 static void add_line_number (COLUMN *p);
2812 static void getoptarg (char *arg, char switch_char, char *character,
2813+ int *character_length, int *character_width,
2814 int *number);
2815 void usage (int status);
2816 static void print_files (int number_of_files, char **av);
2817@@ -440,7 +492,6 @@
2818 static void pad_down (int lines);
2819 static void read_rest_of_line (COLUMN *p);
2820 static void skip_read (COLUMN *p, int column_number);
2821-static void print_char (char c);
2822 static void cleanup (void);
2823 static void print_sep_string (void);
2824 static void separator_string (const char *optarg_S);
2825@@ -455,7 +506,7 @@
2826 we store the leftmost columns contiguously in buff.
2827 To print a line from buff, get the index of the first character
2828 from line_vector[i], and print up to line_vector[i + 1]. */
2829-static char *buff;
2830+static unsigned char *buff;
2831
2832 /* Index of the position in buff where the next character
2833 will be stored. */
2834@@ -559,7 +610,7 @@
2835 static bool untabify_input = false;
2836
2837 /* (-e) The input tab character. */
2838-static char input_tab_char = '\t';
2839+static char input_tab_char[MB_LEN_MAX] = "\t";
2840
2841 /* (-e) Tabstops are at chars_per_tab, 2*chars_per_tab, 3*chars_per_tab, ...
2842 where the leftmost column is 1. */
2843@@ -569,7 +620,10 @@
2844 static bool tabify_output = false;
2845
2846 /* (-i) The output tab character. */
2847-static char output_tab_char = '\t';
2848+static char output_tab_char[MB_LEN_MAX] = "\t";
2849+
2850+/* (-i) The byte length of output tab character. */
2851+static int output_tab_char_length = 1;
2852
2853 /* (-i) The width of the output tab. */
2854 static int chars_per_output_tab = 8;
2855@@ -643,7 +697,13 @@
2856 static bool numbered_lines = false;
2857
2858 /* (-n) Character which follows each line number. */
2859-static char number_separator = '\t';
2860+static char number_separator[MB_LEN_MAX] = "\t";
2861+
2862+/* (-n) The byte length of the character which follows each line number. */
2863+static int number_separator_length = 1;
2864+
2865+/* (-n) The character width of the character which follows each line number. */
2866+static int number_separator_width = 0;
2867
2868 /* (-n) line counting starts with 1st line of input file (not with 1st
2869 line of 1st page printed). */
2870@@ -696,6 +756,7 @@
2871 -a|COLUMN|-m is a `space' and with the -J option a `tab'. */
2872 static char *col_sep_string = "";
2873 static int col_sep_length = 0;
2874+static int col_sep_width = 0;
2875 static char *column_separator = " ";
2876 static char *line_separator = "\t";
2877
2878@@ -852,6 +913,13 @@
2879 col_sep_length = (int) strlen (optarg_S);
2880 col_sep_string = xmalloc (col_sep_length + 1);
2881 strcpy (col_sep_string, optarg_S);
2882+
2883+#if HAVE_MBRTOWC
2884+ if (MB_CUR_MAX > 1)
2885+ col_sep_width = mbswidth (col_sep_string, 0);
2886+ else
2887+#endif
2888+ col_sep_width = col_sep_length;
2889 }
2890
2891 int
2892@@ -877,6 +945,21 @@
2893
2894 atexit (close_stdout);
2895
2896+/* Define which functions are used, the ones for single byte locale or the ones
2897+ for multibyte locale. */
2898+#if HAVE_MBRTOWC
2899+ if (MB_CUR_MAX > 1)
2900+ {
2901+ print_char = print_char_multi;
2902+ char_to_clump = char_to_clump_multi;
2903+ }
2904+ else
2905+#endif
2906+ {
2907+ print_char = print_char_single;
2908+ char_to_clump = char_to_clump_single;
2909+ }
2910+
2911 n_files = 0;
2912 file_names = (argc > 1
2913 ? xmalloc ((argc - 1) * sizeof (char *))
2914@@ -949,8 +1032,12 @@
2915 break;
2916 case 'e':
2917 if (optarg)
2918- getoptarg (optarg, 'e', &input_tab_char,
2919- &chars_per_input_tab);
2920+ {
2921+ int dummy_length, dummy_width;
2922+
2923+ getoptarg (optarg, 'e', input_tab_char, &dummy_length,
2924+ &dummy_width, &chars_per_input_tab);
2925+ }
2926 /* Could check tab width > 0. */
2927 untabify_input = true;
2928 break;
2929@@ -963,8 +1050,12 @@
2930 break;
2931 case 'i':
2932 if (optarg)
2933- getoptarg (optarg, 'i', &output_tab_char,
2934- &chars_per_output_tab);
2935+ {
2936+ int dummy_width;
2937+
2938+ getoptarg (optarg, 'i', output_tab_char, &output_tab_char_length,
2939+ &dummy_width, &chars_per_output_tab);
2940+ }
2941 /* Could check tab width > 0. */
2942 tabify_output = true;
2943 break;
2944@@ -991,8 +1082,8 @@
2945 case 'n':
2946 numbered_lines = true;
2947 if (optarg)
2948- getoptarg (optarg, 'n', &number_separator,
2949- &chars_per_number);
2950+ getoptarg (optarg, 'n', number_separator, &number_separator_length,
2951+ &number_separator_width, &chars_per_number);
2952 break;
2953 case 'N':
2954 skip_count = false;
2955@@ -1031,7 +1122,7 @@
2956 old_s = false;
2957 /* Reset an additional input of -s, -S dominates -s */
2958 col_sep_string = "";
2959- col_sep_length = 0;
2960+ col_sep_length = col_sep_width = 0;
2961 use_col_separator = true;
2962 if (optarg)
2963 separator_string (optarg);
2964@@ -1188,10 +1279,45 @@
2965 a number. */
2966
2967 static void
2968-getoptarg (char *arg, char switch_char, char *character, int *number)
2969+getoptarg (char *arg, char switch_char, char *character, int *character_length,
2970+ int *character_width, int *number)
2971 {
2972 if (!ISDIGIT (*arg))
2973- *character = *arg++;
2974+ {
2975+#ifdef HAVE_MBRTOWC
2976+ if (MB_CUR_MAX > 1) /* for multibyte locale. */
2977+ {
2978+ wchar_t wc;
2979+ size_t mblength;
2980+ int width;
2981+ mbstate_t state = {'\0'};
2982+
2983+ mblength = mbrtowc (&wc, arg, strnlen(arg, MB_LEN_MAX), &state);
2984+
2985+ if (mblength == (size_t)-1 || mblength == (size_t)-2)
2986+ {
2987+ *character_length = 1;
2988+ *character_width = 1;
2989+ }
2990+ else
2991+ {
2992+ *character_length = (mblength < 1) ? 1 : mblength;
2993+ width = wcwidth (wc);
2994+ *character_width = (width < 0) ? 0 : width;
2995+ }
2996+
2997+ strncpy (character, arg, *character_length);
2998+ arg += *character_length;
2999+ }
3000+ else /* for single byte locale. */
3001+#endif
3002+ {
3003+ *character = *arg++;
3004+ *character_length = 1;
3005+ *character_width = 1;
3006+ }
3007+ }
3008+
3009 if (*arg)
3010 {
3011 long int tmp_long;
3012@@ -1256,7 +1382,7 @@
3013 else
3014 col_sep_string = column_separator;
3015
3016- col_sep_length = 1;
3017+ col_sep_length = col_sep_width = 1;
3018 use_col_separator = true;
3019 }
3020 /* It's rather pointless to define a TAB separator with column
3021@@ -1288,11 +1414,11 @@
3022 TAB_WIDTH (chars_per_input_tab, chars_per_number); */
3023
3024 /* Estimate chars_per_text without any margin and keep it constant. */
3025- if (number_separator == '\t')
3026+ if (number_separator[0] == '\t')
3027 number_width = chars_per_number +
3028 TAB_WIDTH (chars_per_default_tab, chars_per_number);
3029 else
3030- number_width = chars_per_number + 1;
3031+ number_width = chars_per_number + number_separator_width;
3032
3033 /* The number is part of the column width unless we are
3034 printing files in parallel. */
3035@@ -1307,7 +1433,7 @@
3036 }
3037
3038 chars_per_column = (chars_per_line - chars_used_by_number -
3039- (columns - 1) * col_sep_length) / columns;
3040+ (columns - 1) * col_sep_width) / columns;
3041
3042 if (chars_per_column < 1)
3043 error (EXIT_FAILURE, 0, _("page width too narrow"));
3044@@ -1432,7 +1558,7 @@
3045
3046 /* Enlarge p->start_position of first column to use the same form of
3047 padding_not_printed with all columns. */
3048- h = h + col_sep_length;
3049+ h = h + col_sep_width;
3050
3051 /* This loop takes care of all but the rightmost column. */
3052
3053@@ -1466,7 +1592,7 @@
3054 }
3055 else
3056 {
3057- h = h_next + col_sep_length;
3058+ h = h_next + col_sep_width;
3059 h_next = h + chars_per_column;
3060 }
3061 }
3062@@ -1756,9 +1882,9 @@
3063 align_column (COLUMN *p)
3064 {
3065 padding_not_printed = p->start_position;
3066- if (padding_not_printed - col_sep_length > 0)
3067+ if (padding_not_printed - col_sep_width > 0)
3068 {
3069- pad_across_to (padding_not_printed - col_sep_length);
3070+ pad_across_to (padding_not_printed - col_sep_width);
3071 padding_not_printed = ANYWHERE;
3072 }
3073
3074@@ -2029,13 +2155,13 @@
3075 /* May be too generous. */
3076 buff = X2REALLOC (buff, &buff_allocated);
3077 }
3078- buff[buff_current++] = c;
3079+ buff[buff_current++] = (unsigned char) c;
3080 }
3081
3082 static void
3083 add_line_number (COLUMN *p)
3084 {
3085- int i;
3086+ int i, j;
3087 char *s;
3088 int left_cut;
3089
3090@@ -2058,22 +2184,24 @@
3091 /* Tabification is assumed for multiple columns, also for n-separators,
3092 but `default n-separator = TAB' hasn't been given priority over
3093 equal column_width also specified by POSIX. */
3094- if (number_separator == '\t')
3095+ if (number_separator[0] == '\t')
3096 {
3097 i = number_width - chars_per_number;
3098 while (i-- > 0)
3099 (p->char_func) (' ');
3100 }
3101 else
3102- (p->char_func) (number_separator);
3103+ for (j = 0; j < number_separator_length; j++)
3104+ (p->char_func) (number_separator[j]);
3105 }
3106 else
3107 /* To comply with POSIX, we avoid any expansion of default TAB
3108 separator with a single column output. No column_width requirement
3109 has to be considered. */
3110 {
3111- (p->char_func) (number_separator);
3112- if (number_separator == '\t')
3113+ for (j = 0; j < number_separator_length; j++)
3114+ (p->char_func) (number_separator[j]);
3115+ if (number_separator[0] == '\t')
3116 output_position = POS_AFTER_TAB (chars_per_output_tab,
3117 output_position);
3118 }
3119@@ -2234,7 +2362,7 @@
3120 while (goal - h_old > 1
3121 && (h_new = POS_AFTER_TAB (chars_per_output_tab, h_old)) <= goal)
3122 {
3123- putchar (output_tab_char);
3124+ fwrite (output_tab_char, sizeof(char), output_tab_char_length, stdout);
3125 h_old = h_new;
3126 }
3127 while (++h_old <= goal)
3128@@ -2254,6 +2382,7 @@
3129 {
3130 char *s;
3131 int l = col_sep_length;
3132+ int not_space_flag;
3133
3134 s = col_sep_string;
3135
3136@@ -2267,6 +2396,7 @@
3137 {
3138 for (; separators_not_printed > 0; --separators_not_printed)
3139 {
3140+ not_space_flag = 0;
3141 while (l-- > 0)
3142 {
3143 /* 3 types of sep_strings: spaces only, spaces and chars,
3144@@ -2280,12 +2410,15 @@
3145 }
3146 else
3147 {
3148+ not_space_flag = 1;
3149 if (spaces_not_printed > 0)
3150 print_white_space ();
3151 putchar (*s++);
3152- ++output_position;
3153 }
3154 }
3155+ if (not_space_flag)
3156+ output_position += col_sep_width;
3157+
3158 /* sep_string ends with some spaces */
3159 if (spaces_not_printed > 0)
3160 print_white_space ();
3161@@ -2313,7 +2446,7 @@
3162 required number of tabs and spaces. */
3163
3164 static void
3165-print_char (char c)
3166+print_char_single (char c)
3167 {
3168 if (tabify_output)
3169 {
3170@@ -2337,6 +2470,74 @@
3171 putchar (c);
3172 }
3173
3174+#ifdef HAVE_MBRTOWC
3175+static void
3176+print_char_multi (char c)
3177+{
3178+ static size_t mbc_pos = 0;
3179+ static char mbc[MB_LEN_MAX] = {'\0'};
3180+ static mbstate_t state = {'\0'};
3181+ mbstate_t state_bak;
3182+ wchar_t wc;
3183+ size_t mblength;
3184+ int width;
3185+
3186+ if (tabify_output)
3187+ {
3188+ state_bak = state;
3189+ mbc[mbc_pos++] = c;
3190+ mblength = mbrtowc (&wc, mbc, mbc_pos, &state);
3191+
3192+ while (mbc_pos > 0)
3193+ {
3194+ switch (mblength)
3195+ {
3196+ case (size_t)-2:
3197+ state = state_bak;
3198+ return;
3199+
3200+ case (size_t)-1:
3201+ state = state_bak;
3202+ ++output_position;
3203+ putchar (mbc[0]);
3204+ memmove (mbc, mbc + 1, MB_CUR_MAX - 1);
3205+ --mbc_pos;
3206+ break;
3207+
3208+ case 0:
3209+ mblength = 1;
3210+
3211+ default:
3212+ if (wc == L' ')
3213+ {
3214+ memmove (mbc, mbc + mblength, MB_CUR_MAX - mblength);
3215+ --mbc_pos;
3216+ ++spaces_not_printed;
3217+ return;
3218+ }
3219+ else if (spaces_not_printed > 0)
3220+ print_white_space ();
3221+
3222+ /* Nonprintables are assumed to have width 0, except L'\b'. */
3223+ if ((width = wcwidth (wc)) < 1)
3224+ {
3225+ if (wc == L'\b')
3226+ --output_position;
3227+ }
3228+ else
3229+ output_position += width;
3230+
3231+ fwrite (mbc, sizeof(char), mblength, stdout);
3232+ memmove (mbc, mbc + mblength, MB_CUR_MAX - mblength);
3233+ mbc_pos -= mblength;
3234+ }
3235+ }
3236+ return;
3237+ }
3238+ putchar (c);
3239+}
3240+#endif
3241+
3242 /* Skip to page PAGE before printing.
3243 PAGE may be larger than total number of pages. */
3244
3245@@ -2517,9 +2718,9 @@
3246 align_empty_cols = false;
3247 }
3248
3249- if (padding_not_printed - col_sep_length > 0)
3250+ if (padding_not_printed - col_sep_width > 0)
3251 {
3252- pad_across_to (padding_not_printed - col_sep_length);
3253+ pad_across_to (padding_not_printed - col_sep_width);
3254 padding_not_printed = ANYWHERE;
3255 }
3256
3257@@ -2620,9 +2821,9 @@
3258 }
3259 }
3260
3261- if (padding_not_printed - col_sep_length > 0)
3262+ if (padding_not_printed - col_sep_width > 0)
3263 {
3264- pad_across_to (padding_not_printed - col_sep_length);
3265+ pad_across_to (padding_not_printed - col_sep_width);
3266 padding_not_printed = ANYWHERE;
3267 }
3268
3269@@ -2635,8 +2836,8 @@
3270 if (spaces_not_printed == 0)
3271 {
3272 output_position = p->start_position + end_vector[line];
3273- if (p->start_position - col_sep_length == chars_per_margin)
3274- output_position -= col_sep_length;
3275+ if (p->start_position - col_sep_width == chars_per_margin)
3276+ output_position -= col_sep_width;
3277 }
3278
3279 return true;
3280@@ -2655,7 +2856,7 @@
3281 number of characters is 1.) */
3282
3283 static int
3284-char_to_clump (char c)
3285+char_to_clump_single (char c)
3286 {
3287 unsigned char uc = c;
3288 char *s = clump_buff;
3289@@ -2665,10 +2866,10 @@
3290 int chars;
3291 int chars_per_c = 8;
3292
3293- if (c == input_tab_char)
3294+ if (c == input_tab_char[0])
3295 chars_per_c = chars_per_input_tab;
3296
3297- if (c == input_tab_char || c == '\t')
3298+ if (c == input_tab_char[0] || c == '\t')
3299 {
3300 width = TAB_WIDTH (chars_per_c, input_position);
3301
3302@@ -2739,6 +2940,154 @@
3303 return chars;
3304 }
3305
3306+#ifdef HAVE_MBRTOWC
3307+static int
3308+char_to_clump_multi (char c)
3309+{
3310+ static size_t mbc_pos = 0;
3311+ static char mbc[MB_LEN_MAX] = {'\0'};
3312+ static mbstate_t state = {'\0'};
3313+ mbstate_t state_bak;
3314+ wchar_t wc;
3315+ size_t mblength;
3316+ int wc_width;
3317+ register char *s = clump_buff;
3318+ register int i, j;
3319+ char esc_buff[4];
3320+ int width;
3321+ int chars;
3322+ int chars_per_c = 8;
3323+
3324+ state_bak = state;
3325+ mbc[mbc_pos++] = c;
3326+ mblength = mbrtowc (&wc, mbc, mbc_pos, &state);
3327+
3328+ width = 0;
3329+ chars = 0;
3330+ while (mbc_pos > 0)
3331+ {
3332+ switch (mblength)
3333+ {
3334+ case (size_t)-2:
3335+ state = state_bak;
3336+ return 0;
3337+
3338+ case (size_t)-1:
3339+ state = state_bak;
3340+ mblength = 1;
3341+
3342+ if (use_esc_sequence || use_cntrl_prefix)
3343+ {
3344+ width = +4;
3345+ chars = +4;
3346+ *s++ = '\\';
3347+ sprintf (esc_buff, "%03o", mbc[0]);
3348+ for (i = 0; i <= 2; ++i)
3349+ *s++ = (int) esc_buff[i];
3350+ }
3351+ else
3352+ {
3353+ width += 1;
3354+ chars += 1;
3355+ *s++ = mbc[0];
3356+ }
3357+ break;
3358+
3359+ case 0:
3360+ mblength = 1;
3361+ /* Fall through */
3362+
3363+ default:
3364+ if (memcmp (mbc, input_tab_char, mblength) == 0)
3365+ chars_per_c = chars_per_input_tab;
3366+
3367+ if (memcmp (mbc, input_tab_char, mblength) == 0 || c == '\t')
3368+ {
3369+ int width_inc;
3370+
3371+ width_inc = TAB_WIDTH (chars_per_c, input_position);
3372+ width += width_inc;
3373+
3374+ if (untabify_input)
3375+ {
3376+ for (i = width_inc; i; --i)
3377+ *s++ = ' ';
3378+ chars += width_inc;
3379+ }
3380+ else
3381+ {
3382+ for (i = 0; i < mblength; i++)
3383+ *s++ = mbc[i];
3384+ chars += mblength;
3385+ }
3386+ }
3387+ else if ((wc_width = wcwidth (wc)) < 1)
3388+ {
3389+ if (use_esc_sequence)
3390+ {
3391+ for (i = 0; i < mblength; i++)
3392+ {
3393+ width += 4;
3394+ chars += 4;
3395+ *s++ = '\\';
3396+ sprintf (esc_buff, "%03o", c);
3397+ for (j = 0; j <= 2; ++j)
3398+ *s++ = (int) esc_buff[j];
3399+ }
3400+ }
3401+ else if (use_cntrl_prefix)
3402+ {
3403+ if (wc < 0200)
3404+ {
3405+ width += 2;
3406+ chars += 2;
3407+ *s++ = '^';
3408+ *s++ = wc ^ 0100;
3409+ }
3410+ else
3411+ {
3412+ for (i = 0; i < mblength; i++)
3413+ {
3414+ width += 4;
3415+ chars += 4;
3416+ *s++ = '\\';
3417+ sprintf (esc_buff, "%03o", c);
3418+ for (j = 0; j <= 2; ++j)
3419+ *s++ = (int) esc_buff[j];
3420+ }
3421+ }
3422+ }
3423+ else if (wc == L'\b')
3424+ {
3425+ width += -1;
3426+ chars += 1;
3427+ *s++ = c;
3428+ }
3429+ else
3430+ {
3431+ width += 0;
3432+ chars += mblength;
3433+ for (i = 0; i < mblength; i++)
3434+ *s++ = mbc[i];
3435+ }
3436+ }
3437+ else
3438+ {
3439+ width += wc_width;
3440+ chars += mblength;
3441+ for (i = 0; i < mblength; i++)
3442+ *s++ = mbc[i];
3443+ }
3444+ }
3445+ memmove (mbc, mbc + mblength, MB_CUR_MAX - mblength);
3446+ mbc_pos -= mblength;
3447+ }
3448+
3449+ input_position += width;
3450+ return chars;
3451+}
3452+#endif
3453+
3454 /* We've just printed some files and need to clean up things before
3455 looking for more options and printing the next batch of files.
3456
3457--- coreutils-6.8+/src/cut.c.i18n 2007-01-14 15:41:28.000000000 +0000
3458+++ coreutils-6.8+/src/cut.c 2007-03-01 15:08:24.000000000 +0000
3459@@ -29,6 +29,11 @@
3460 #include <assert.h>
3461 #include <getopt.h>
3462 #include <sys/types.h>
3463+
3464+/* Get mbstate_t, mbrtowc(). */
3465+#if HAVE_WCHAR_H
3466+# include <wchar.h>
3467+#endif
3468 #include "system.h"
3469
3470 #include "error.h"
3471@@ -37,6 +42,18 @@
3472 #include "quote.h"
3473 #include "xstrndup.h"
3474
3475+/* MB_LEN_MAX is incorrectly defined to be 1 in at least one GCC
3476+ installation; work around this configuration error. */
3477+#if !defined MB_LEN_MAX || MB_LEN_MAX < 2
3478+# undef MB_LEN_MAX
3479+# define MB_LEN_MAX 16
3480+#endif
3481+
3482+/* Some systems, like BeOS, have multibyte encodings but lack mbstate_t. */
3483+#if HAVE_MBRTOWC && defined mbstate_t
3484+# define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0)
3485+#endif
3486+
3487 /* The official name of this program (e.g., no `g' prefix). */
3488 #define PROGRAM_NAME "cut"
3489
3490@@ -67,6 +84,52 @@
3491 } \
3492 while (0)
3493
3494+/* Refill the buffer BUF to get a multibyte character. */
3495+#define REFILL_BUFFER(BUF, BUFPOS, BUFLEN, STREAM) \
3496+ do \
3497+ { \
3498+ if (BUFLEN < MB_LEN_MAX && !feof (STREAM) && !ferror (STREAM)) \
3499+ { \
3500+ memmove (BUF, BUFPOS, BUFLEN); \
3501+ BUFLEN += fread (BUF + BUFLEN, sizeof(char), BUFSIZ, STREAM); \
3502+ BUFPOS = BUF; \
3503+ } \
3504+ } \
3505+ while (0)
3506+
3507+/* Get wide character on BUFPOS. BUFPOS is not included after that.
3508+ If byte sequence is not valid as a character, CONVFAIL is 1. Otherwise 0. */
3509+#define GET_NEXT_WC_FROM_BUFFER(WC, BUFPOS, BUFLEN, MBLENGTH, STATE, CONVFAIL) \
3510+ do \
3511+ { \
3512+ mbstate_t state_bak; \
3513+ \
3514+ if (BUFLEN < 1) \
3515+ { \
3516+ WC = WEOF; \
3517+ break; \
3518+ } \
3519+ \
3520+ /* Get a wide character. */ \
3521+ CONVFAIL = 0; \
3522+ state_bak = STATE; \
3523+ MBLENGTH = mbrtowc ((wchar_t *)&WC, BUFPOS, BUFLEN, &STATE); \
3524+ \
3525+ switch (MBLENGTH) \
3526+ { \
3527+ case (size_t)-1: \
3528+ case (size_t)-2: \
3529+ CONVFAIL++; \
3530+ STATE = state_bak; \
3531+ /* Fall througn. */ \
3532+ \
3533+ case 0: \
3534+ MBLENGTH = 1; \
3535+ break; \
3536+ } \
3537+ } \
3538+ while (0)
3539+
3540 struct range_pair
3541 {
3542 size_t lo;
3543@@ -85,7 +148,7 @@
3544 /* The number of bytes allocated for FIELD_1_BUFFER. */
3545 static size_t field_1_bufsize;
3546
3547-/* The largest field or byte index used as an endpoint of a closed
3548+/* The largest byte, character or field index used as an endpoint of a closed
3549 or degenerate range specification; this doesn't include the starting
3550 index of right-open-ended ranges. For example, with either range spec
3551 `2-5,9-', `2-3,5,9-' this variable would be set to 5. */
3552@@ -97,10 +160,11 @@
3553
3554 /* This is a bit vector.
3555 In byte mode, which bytes to output.
3556+ In character mode, which characters to output.
3557 In field mode, which DELIM-separated fields to output.
3558- Both bytes and fields are numbered starting with 1,
3559+ Bytes, characters and fields are numbered starting with 1,
3560 so the zeroth bit of this array is unused.
3561- A field or byte K has been selected if
3562+ A byte, character or field K has been selected if
3563 (K <= MAX_RANGE_ENDPOINT and is_printable_field(K))
3564 || (EOL_RANGE_START > 0 && K >= EOL_RANGE_START). */
3565 static unsigned char *printable_field;
3566@@ -109,9 +173,12 @@
3567 {
3568 undefined_mode,
3569
3570- /* Output characters that are in the given bytes. */
3571+ /* Output bytes that are at the given positions. */
3572 byte_mode,
3573
3574+ /* Output characters that are at the given positions. */
3575+ character_mode,
3576+
3577 /* Output the given delimeter-separated fields. */
3578 field_mode
3579 };
3580@@ -121,6 +188,13 @@
3581
3582 static enum operating_mode operating_mode;
3583
3584+/* If nonzero, when in byte mode, don't split multibyte characters. */
3585+static int byte_mode_character_aware;
3586+
3587+/* If nonzero, the function for single byte locale is work
3588+ if this program runs on multibyte locale. */
3589+static int force_singlebyte_mode;
3590+
3591 /* If true do not output lines containing no delimeter characters.
3592 Otherwise, all such lines are printed. This option is valid only
3593 with field mode. */
3594@@ -132,6 +206,9 @@
3595
3596 /* The delimeter character for field mode. */
3597 static unsigned char delim;
3598+#if HAVE_WCHAR_H
3599+static wchar_t wcdelim;
3600+#endif
3601
3602 /* True if the --output-delimiter=STRING option was specified. */
3603 static bool output_delimiter_specified;
3604@@ -205,7 +282,7 @@
3605 -f, --fields=LIST select only these fields; also print any line\n\
3606 that contains no delimiter character, unless\n\
3607 the -s option is specified\n\
3608- -n (ignored)\n\
3609+ -n with -b: don't split multibyte characters\n\
3610 "), stdout);
3611 fputs (_("\
3612 --complement complement the set of selected bytes, characters\n\
3613@@ -362,7 +439,7 @@
3614 in_digits = false;
3615 /* Starting a range. */
3616 if (dash_found)
3617- FATAL_ERROR (_("invalid byte or field list"));
3618+ FATAL_ERROR (_("invalid byte, character or field list"));
3619 dash_found = true;
3620 fieldstr++;
3621
3622@@ -387,14 +464,16 @@
3623 if (value == 0)
3624 {
3625 /* `n-'. From `initial' to end of line. */
3626- eol_range_start = initial;
3627+ if (eol_range_start == 0 ||
3628+ (eol_range_start != 0 && eol_range_start > initial))
3629+ eol_range_start = initial;
3630 field_found = true;
3631 }
3632 else
3633 {
3634 /* `m-n' or `-n' (1-n). */
3635 if (value < initial)
3636- FATAL_ERROR (_("invalid byte or field list"));
3637+ FATAL_ERROR (_("invalid byte, character or field list"));
3638
3639 /* Is there already a range going to end of line? */
3640 if (eol_range_start != 0)
3641@@ -467,6 +546,9 @@
3642 if (operating_mode == byte_mode)
3643 error (0, 0,
3644 _("byte offset %s is too large"), quote (bad_num));
3645+ else if (operating_mode == character_mode)
3646+ error (0, 0,
3647+ _("character offset %s is too large"), quote (bad_num));
3648 else
3649 error (0, 0,
3650 _("field number %s is too large"), quote (bad_num));
3651@@ -477,7 +559,7 @@
3652 fieldstr++;
3653 }
3654 else
3655- FATAL_ERROR (_("invalid byte or field list"));
3656+ FATAL_ERROR (_("invalid byte, character or field list"));
3657 }
3658
3659 max_range_endpoint = 0;
3660@@ -570,6 +652,63 @@
3661 }
3662 }
3663
3664+#if HAVE_MBRTOWC
3665+/* This function is in use for the following case.
3666+
3667+ 1. Read from the stream STREAM, printing to standard output any selected
3668+ characters.
3669+
3670+ 2. Read from stream STREAM, printing to standard output any selected bytes,
3671+ without splitting multibyte characters. */
3672+
3673+static void
3674+cut_characters_or_cut_bytes_no_split (FILE *stream)
3675+{
3676+ int idx; /* number of bytes or characters in the line so far. */
3677+ char buf[MB_LEN_MAX + BUFSIZ]; /* For spooling a read byte sequence. */
3678+ char *bufpos; /* Next read position of BUF. */
3679+ size_t buflen; /* The length of the byte sequence in buf. */
3680+ wint_t wc; /* A gotten wide character. */
3681+ size_t mblength; /* The byte size of a multibyte character which shows
3682+ as same character as WC. */
3683+ mbstate_t state; /* State of the stream. */
3684+ int convfail; /* 1, when conversion is failed. Otherwise 0. */
3685+
3686+ idx = 0;
3687+ buflen = 0;
3688+ bufpos = buf;
3689+ memset (&state, '\0', sizeof(mbstate_t));
3690+
3691+ while (1)
3692+ {
3693+ REFILL_BUFFER (buf, bufpos, buflen, stream);
3694+
3695+ GET_NEXT_WC_FROM_BUFFER (wc, bufpos, buflen, mblength, state, convfail);
3696+
3697+ if (wc == WEOF)
3698+ {
3699+ if (idx > 0)
3700+ putchar ('\n');
3701+ break;
3702+ }
3703+ else if (wc == L'\n')
3704+ {
3705+ putchar ('\n');
3706+ idx = 0;
3707+ }
3708+ else
3709+ {
3710+ idx += (operating_mode == byte_mode) ? mblength : 1;
3711+ if (print_kth (idx, NULL))
3712+ fwrite (bufpos, mblength, sizeof(char), stdout);
3713+ }
3714+
3715+ buflen -= mblength;
3716+ bufpos += mblength;
3717+ }
3718+}
3719+#endif
3720+
3721 /* Read from stream STREAM, printing to standard output any selected fields. */
3722
3723 static void
3724@@ -692,13 +831,192 @@
3725 }
3726 }
3727
3728+#if HAVE_MBRTOWC
3729+static void
3730+cut_fields_mb (FILE *stream)
3731+{
3732+ int c;
3733+ unsigned int field_idx;
3734+ int found_any_selected_field;
3735+ int buffer_first_field;
3736+ int empty_input;
3737+ char buf[MB_LEN_MAX + BUFSIZ]; /* For spooling a read byte sequence. */
3738+ char *bufpos; /* Next read position of BUF. */
3739+ size_t buflen; /* The length of the byte sequence in buf. */
3740+ wint_t wc = 0; /* A gotten wide character. */
3741+ size_t mblength; /* The byte size of a multibyte character which shows
3742+ as same character as WC. */
3743+ mbstate_t state; /* State of the stream. */
3744+ int convfail; /* 1, when conversion is failed. Otherwise 0. */
3745+
3746+ found_any_selected_field = 0;
3747+ field_idx = 1;
3748+ bufpos = buf;
3749+ buflen = 0;
3750+ memset (&state, '\0', sizeof(mbstate_t));
3751+
3752+ c = getc (stream);
3753+ empty_input = (c == EOF);
3754+ if (c != EOF)
3755+ ungetc (c, stream);
3756+ else
3757+ wc = WEOF;
3758+
3759+ /* To support the semantics of the -s flag, we may have to buffer
3760+ all of the first field to determine whether it is `delimited.'
3761+ But that is unnecessary if all non-delimited lines must be printed
3762+ and the first field has been selected, or if non-delimited lines
3763+ must be suppressed and the first field has *not* been selected.
3764+ That is because a non-delimited line has exactly one field. */
3765+ buffer_first_field = (suppress_non_delimited ^ !print_kth (1, NULL));
3766+
3767+ while (1)
3768+ {
3769+ if (field_idx == 1 && buffer_first_field)
3770+ {
3771+ int len = 0;
3772+
3773+ while (1)
3774+ {
3775+ REFILL_BUFFER (buf, bufpos, buflen, stream);
3776+
3777+ GET_NEXT_WC_FROM_BUFFER
3778+ (wc, bufpos, buflen, mblength, state, convfail);
3779+
3780+ if (wc == WEOF)
3781+ break;
3782+
3783+ field_1_buffer = xrealloc (field_1_buffer, len + mblength);
3784+ memcpy (field_1_buffer + len, bufpos, mblength);
3785+ len += mblength;
3786+ buflen -= mblength;
3787+ bufpos += mblength;
3788+
3789+ if (!convfail && (wc == L'\n' || wc == wcdelim))
3790+ break;
3791+ }
3792+
3793+ if (wc == WEOF)
3794+ break;
3795+
3796+ /* If the first field extends to the end of line (it is not
3797+ delimited) and we are printing all non-delimited lines,
3798+ print this one. */
3799+ if (convfail || (!convfail && wc != wcdelim))
3800+ {
3801+ if (suppress_non_delimited)
3802+ {
3803+ /* Empty. */
3804+ }
3805+ else
3806+ {
3807+ fwrite (field_1_buffer, sizeof (char), len, stdout);
3808+ /* Make sure the output line is newline terminated. */
3809+ if (convfail || (!convfail && wc != L'\n'))
3810+ putchar ('\n');
3811+ }
3812+ continue;
3813+ }
3814+
3815+ if (print_kth (1, NULL))
3816+ {
3817+ /* Print the field, but not the trailing delimiter. */
3818+ fwrite (field_1_buffer, sizeof (char), len - 1, stdout);
3819+ found_any_selected_field = 1;
3820+ }
3821+ ++field_idx;
3822+ }
3823+
3824+ if (wc != WEOF)
3825+ {
3826+ if (print_kth (field_idx, NULL))
3827+ {
3828+ if (found_any_selected_field)
3829+ {
3830+ fwrite (output_delimiter_string, sizeof (char),
3831+ output_delimiter_length, stdout);
3832+ }
3833+ found_any_selected_field = 1;
3834+ }
3835+
3836+ while (1)
3837+ {
3838+ REFILL_BUFFER (buf, bufpos, buflen, stream);
3839+
3840+ GET_NEXT_WC_FROM_BUFFER
3841+ (wc, bufpos, buflen, mblength, state, convfail);
3842+
3843+ if (wc == WEOF)
3844+ break;
3845+ else if (!convfail && (wc == wcdelim || wc == L'\n'))
3846+ {
3847+ buflen -= mblength;
3848+ bufpos += mblength;
3849+ break;
3850+ }
3851+
3852+ if (print_kth (field_idx, NULL))
3853+ fwrite (bufpos, mblength, sizeof(char), stdout);
3854+
3855+ buflen -= mblength;
3856+ bufpos += mblength;
3857+ }
3858+ }
3859+
3860+ if ((!convfail || wc == L'\n') && buflen < 1)
3861+ wc = WEOF;
3862+
3863+ if (!convfail && wc == wcdelim)
3864+ ++field_idx;
3865+ else if (wc == WEOF || (!convfail && wc == L'\n'))
3866+ {
3867+ if (found_any_selected_field
3868+ || (!empty_input && !(suppress_non_delimited && field_idx == 1)))
3869+ putchar ('\n');
3870+ if (wc == WEOF)
3871+ break;
3872+ field_idx = 1;
3873+ found_any_selected_field = 0;
3874+ }
3875+ }
3876+}
3877+#endif
3878+
3879 static void
3880 cut_stream (FILE *stream)
3881 {
3882- if (operating_mode == byte_mode)
3883- cut_bytes (stream);
3884+#if HAVE_MBRTOWC
3885+ if (MB_CUR_MAX > 1 && !force_singlebyte_mode)
3886+ {
3887+ switch (operating_mode)
3888+ {
3889+ case byte_mode:
3890+ if (byte_mode_character_aware)
3891+ cut_characters_or_cut_bytes_no_split (stream);
3892+ else
3893+ cut_bytes (stream);
3894+ break;
3895+
3896+ case character_mode:
3897+ cut_characters_or_cut_bytes_no_split (stream);
3898+ break;
3899+
3900+ case field_mode:
3901+ cut_fields_mb (stream);
3902+ break;
3903+
3904+ default:
3905+ abort ();
3906+ }
3907+ }
3908 else
3909- cut_fields (stream);
3910+#endif
3911+ {
3912+ if (operating_mode == field_mode)
3913+ cut_fields (stream);
3914+ else
3915+ cut_bytes (stream);
3916+ }
3917 }
3918
3919 /* Process file FILE to standard output.
3920@@ -748,6 +1066,8 @@
3921 bool ok;
3922 bool delim_specified = false;
3923 char *spec_list_string IF_LINT(= NULL);
3924+ char mbdelim[MB_LEN_MAX + 1];
3925+ size_t delimlen = 0;
3926
3927 initialize_main (&argc, &argv);
3928 program_name = argv[0];
3929@@ -770,7 +1090,6 @@
3930 switch (optc)
3931 {
3932 case 'b':
3933- case 'c':
3934 /* Build the byte list. */
3935 if (operating_mode != undefined_mode)
3936 FATAL_ERROR (_("only one type of list may be specified"));
3937@@ -778,6 +1097,14 @@
3938 spec_list_string = optarg;
3939 break;
3940
3941+ case 'c':
3942+ /* Build the character list. */
3943+ if (operating_mode != undefined_mode)
3944+ FATAL_ERROR (_("only one type of list may be specified"));
3945+ operating_mode = character_mode;
3946+ spec_list_string = optarg;
3947+ break;
3948+
3949 case 'f':
3950 /* Build the field list. */
3951 if (operating_mode != undefined_mode)
3952@@ -789,10 +1116,35 @@
3953 case 'd':
3954 /* New delimiter. */
3955 /* Interpret -d '' to mean `use the NUL byte as the delimiter.' */
3956- if (optarg[0] != '\0' && optarg[1] != '\0')
3957- FATAL_ERROR (_("the delimiter must be a single character"));
3958- delim = optarg[0];
3959- delim_specified = true;
3960+#if HAVE_MBRTOWC
3961+ {
3962+ if(MB_CUR_MAX > 1)
3963+ {
3964+ mbstate_t state;
3965+
3966+ memset (&state, '\0', sizeof(mbstate_t));
3967+ delimlen = mbrtowc (&wcdelim, optarg, strnlen(optarg, MB_LEN_MAX), &state);
3968+
3969+ if (delimlen == (size_t)-1 || delimlen == (size_t)-2)
3970+ ++force_singlebyte_mode;
3971+ else
3972+ {
3973+ delimlen = (delimlen < 1) ? 1 : delimlen;
3974+ if (wcdelim != L'\0' && *(optarg + delimlen) != '\0')
3975+ FATAL_ERROR (_("the delimiter must be a single character"));
3976+ memcpy (mbdelim, optarg, delimlen);
3977+ }
3978+ }
3979+
3980+ if (MB_CUR_MAX <= 1 || force_singlebyte_mode)
3981+#endif
3982+ {
3983+ if (optarg[0] != '\0' && optarg[1] != '\0')
3984+ FATAL_ERROR (_("the delimiter must be a single character"));
3985+ delim = (unsigned char) optarg[0];
3986+ }
3987+ delim_specified = true;
3988+ }
3989 break;
3990
3991 case OUTPUT_DELIMITER_OPTION:
3992@@ -805,6 +1157,7 @@
3993 break;
3994
3995 case 'n':
3996+ byte_mode_character_aware = 1;
3997 break;
3998
3999 case 's':
4000@@ -827,7 +1180,7 @@
4001 if (operating_mode == undefined_mode)
4002 FATAL_ERROR (_("you must specify a list of bytes, characters, or fields"));
4003
4004- if (delim != '\0' && operating_mode != field_mode)
4005+ if (delim_specified && operating_mode != field_mode)
4006 FATAL_ERROR (_("an input delimiter may be specified only\
4007 when operating on fields"));
4008
4009@@ -854,15 +1207,34 @@
4010 }
4011
4012 if (!delim_specified)
4013- delim = '\t';
4014+ {
4015+ delim = '\t';
4016+#ifdef HAVE_MBRTOWC
4017+ wcdelim = L'\t';
4018+ mbdelim[0] = '\t';
4019+ mbdelim[1] = '\0';
4020+ delimlen = 1;
4021+#endif
4022+ }
4023
4024 if (output_delimiter_string == NULL)
4025 {
4026- static char dummy[2];
4027- dummy[0] = delim;
4028- dummy[1] = '\0';
4029- output_delimiter_string = dummy;
4030- output_delimiter_length = 1;
4031+#ifdef HAVE_MBRTOWC
4032+ if (MB_CUR_MAX > 1 && !force_singlebyte_mode)
4033+ {
4034+ output_delimiter_string = xstrdup(mbdelim);
4035+ output_delimiter_length = delimlen;
4036+ }
4037+
4038+ if (MB_CUR_MAX <= 1 || force_singlebyte_mode)
4039+#endif
4040+ {
4041+ static char dummy[2];
4042+ dummy[0] = delim;
4043+ dummy[1] = '\0';
4044+ output_delimiter_string = dummy;
4045+ output_delimiter_length = 1;
4046+ }
4047 }
4048
4049 if (optind == argc)
diff --git a/meta/recipes-core/coreutils/coreutils-6.9/coreutils-ls-x.patch b/meta/recipes-core/coreutils/coreutils-6.9/coreutils-ls-x.patch
new file mode 100644
index 0000000000..2d61438209
--- /dev/null
+++ b/meta/recipes-core/coreutils/coreutils-6.9/coreutils-ls-x.patch
@@ -0,0 +1,115 @@
1This patch was imported from the Fedora Core 8 coreutils-6.9-9 package.
2
3The package is stated as being Licensed as GPLv2+.
4
5Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
6
7--- coreutils-6.9/src/ls.c.ls-x 2007-06-13 14:27:36.000000000 +0100
8+++ coreutils-6.9/src/ls.c 2007-06-13 14:28:42.000000000 +0100
9@@ -4151,16 +4151,16 @@
10 size_t pos = 0;
11 size_t cols = calculate_columns (false);
12 struct column_info const *line_fmt = &column_info[cols - 1];
13- size_t name_length = length_of_file_name_and_frills (cwd_file);
14+ struct fileinfo const *f = sorted_file[0];
15+ size_t name_length = length_of_file_name_and_frills (f);
16 size_t max_name_length = line_fmt->col_arr[0];
17
18 /* Print first entry. */
19- print_file_name_and_frills (cwd_file);
20+ print_file_name_and_frills (f);
21
22 /* Now the rest. */
23 for (filesno = 1; filesno < cwd_n_used; ++filesno)
24 {
25- struct fileinfo const *f;
26 size_t col = filesno % cols;
27
28 if (col == 0)
29--- coreutils-6.9/tests/ls/Makefile.am.ls-x 2007-03-18 21:36:43.000000000 +0000
30+++ coreutils-6.9/tests/ls/Makefile.am 2007-06-13 14:28:42.000000000 +0100
31@@ -24,7 +24,7 @@
32 stat-dtype \
33 inode dangle file-type recursive dired infloop \
34 rt-1 time-1 symlink-slash follow-slink no-arg m-option \
35- stat-vs-dirent
36+ stat-vs-dirent x-option
37
38 EXTRA_DIST = $(TESTS)
39 TESTS_ENVIRONMENT = \
40--- /dev/null 2007-06-13 08:43:51.993263382 +0100
41+++ coreutils-6.9/tests/ls/x-option 2007-06-13 14:28:42.000000000 +0100
42@@ -0,0 +1,59 @@
43+#!/bin/sh
44+# Exercise the -x option.
45+
46+# Copyright (C) 2007 Free Software Foundation, Inc.
47+
48+# This program is free software; you can redistribute it and/or modify
49+# it under the terms of the GNU General Public License as published by
50+# the Free Software Foundation; either version 2 of the License, or
51+# (at your option) any later version.
52+
53+# This program is distributed in the hope that it will be useful,
54+# but WITHOUT ANY WARRANTY; without even the implied warranty of
55+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
56+# GNU General Public License for more details.
57+
58+# You should have received a copy of the GNU General Public License
59+# along with this program; if not, write to the Free Software
60+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
61+# 02110-1301, USA.
62+
63+if test "$VERBOSE" = yes; then
64+ set -x
65+ ls --version
66+fi
67+
68+. $srcdir/../envvar-check
69+. $srcdir/../lang-default
70+
71+pwd=`pwd`
72+t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$
73+trap 'status=$?; cd "$pwd" && chmod -R u+rwx $t0 && rm -rf $t0 && exit $status' 0
74+trap '(exit $?); exit $?' 1 2 13 15
75+
76+framework_failure=0
77+mkdir -p $tmp || framework_failure=1
78+cd $tmp || framework_failure=1
79+mkdir subdir || framework_failure=1
80+touch subdir/b || framework_failure=1
81+touch subdir/a || framework_failure=1
82+
83+if test $framework_failure = 1; then
84+ echo "$0: failure in testing framework" 1>&2
85+ (exit 1); exit 1
86+fi
87+
88+fail=0
89+
90+# Coreutils 6.8 and 6.9 would output this in the wrong order.
91+ls -x subdir > out || fail=1
92+ls -rx subdir >> out || fail=1
93+cat <<\EOF > exp || fail=1
94+a b
95+b a
96+EOF
97+
98+cmp out exp || fail=1
99+test $fail = 1 && diff out exp 2> /dev/null
100+
101+(exit $fail); exit $fail
102--- coreutils-6.9/NEWS.ls-x 2007-03-22 21:19:45.000000000 +0000
103+++ coreutils-6.9/NEWS 2007-06-13 14:28:42.000000000 +0100
104@@ -13,6 +13,11 @@
105 Using pr -m -s (i.e. merging files, with TAB as the output separator)
106 no longer inserts extraneous spaces between output columns.
107
108+** Bug fixes
109+
110+ ls -x DIR would sometimes output the wrong string in place of the
111+ first entry. [introduced in coreutils-6.8]
112+
113
114 * Noteworthy changes in release 6.8 (2007-02-24) [not-unstable]
115
diff --git a/meta/recipes-core/coreutils/coreutils-6.9/coreutils-overflow.patch b/meta/recipes-core/coreutils/coreutils-6.9/coreutils-overflow.patch
new file mode 100644
index 0000000000..d702757244
--- /dev/null
+++ b/meta/recipes-core/coreutils/coreutils-6.9/coreutils-overflow.patch
@@ -0,0 +1,17 @@
1This patch was imported from the Fedora Core 8 coreutils-6.9-9 package.
2
3The package is stated as being Licensed as GPLv2+.
4
5Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
6
7--- coreutils-5.2.1/src/who.c.overflow 2005-05-25 09:59:06.000000000 +0100
8+++ coreutils-5.2.1/src/who.c 2005-05-25 10:00:31.000000000 +0100
9@@ -75,7 +75,7 @@
10 # define NEW_TIME 0
11 #endif
12
13-#define IDLESTR_LEN 6
14+#define IDLESTR_LEN 10
15
16 #if HAVE_STRUCT_XTMP_UT_PID
17 # define PIDSTR_DECL_AND_INIT(Var, Utmp_ent) \
diff --git a/meta/recipes-core/coreutils/coreutils_6.9.bb b/meta/recipes-core/coreutils/coreutils_6.9.bb
index 89f420a40b..60ea903432 100644
--- a/meta/recipes-core/coreutils/coreutils_6.9.bb
+++ b/meta/recipes-core/coreutils/coreutils_6.9.bb
@@ -16,6 +16,11 @@ inherit autotools gettext
16SRC_URI = "http://ftp.gnu.org/gnu/coreutils/${BP}.tar.bz2 \ 16SRC_URI = "http://ftp.gnu.org/gnu/coreutils/${BP}.tar.bz2 \
17 file://gnulib_m4.patch \ 17 file://gnulib_m4.patch \
18 file://futimens.patch \ 18 file://futimens.patch \
19 file://coreutils-ls-x.patch \
20 file://coreutils-6.9-cp-i-u.patch \
21 file://coreutils-i18n.patch \
22 file://coreutils-overflow.patch \
23 file://coreutils-fix-install.patch \
19 file://man-touch.patch" 24 file://man-touch.patch"
20 25
21# [ gets a special treatment and is not included in this 26# [ gets a special treatment and is not included in this
diff --git a/meta/recipes-core/coreutils/coreutils_8.5.bb b/meta/recipes-core/coreutils/coreutils_8.9.bb
index 3944e34314..4b9a655e50 100644
--- a/meta/recipes-core/coreutils/coreutils_8.5.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.9.bb
@@ -6,16 +6,17 @@ HOMEPAGE = "http://www.gnu.org/software/coreutils/"
6BUGTRACKER = "http://debbugs.gnu.org/coreutils" 6BUGTRACKER = "http://debbugs.gnu.org/coreutils"
7LICENSE = "GPLv3+" 7LICENSE = "GPLv3+"
8LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\ 8LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
9 file://src/ls.c;startline=5;endline=16;md5=bb14ed3c4cda583abc85401304b5cd4e" 9 file://src/ls.c;startline=5;endline=16;md5=e1a509558876db58fb6667ba140137ad"
10PR = "r0" 10PR = "r0"
11DEPENDS = "perl-native" 11DEPENDS = "perl-native gmp"
12DEPENDS_virtclass-native = "perl-native gmp-native"
12 13
13inherit autotools gettext 14inherit autotools gettext
14 15
15SRC_URI = "http://ftp.gnu.org/gnu/coreutils/${BP}.tar.gz" 16SRC_URI = "http://ftp.gnu.org/gnu/coreutils/${BP}.tar.gz"
16 17
17SRC_URI[md5sum] = "c1ffe586d001e87d66cd80c4536ee823" 18SRC_URI[md5sum] = "36909ae68840d73a800120cf74af794a"
18SRC_URI[sha256sum] = "dd243e2ac7d0ed203b170ecfb8299643779e7501fec2b45ae1cea8a450fa8ca0" 19SRC_URI[sha256sum] = "aa991fa4296b22ff929a31a5cb5528bb783c84cdef4503c4ff311cfbeaebf50a"
19 20
20# [ gets a special treatment and is not included in this 21# [ gets a special treatment and is not included in this
21bindir_progs = "base64 basename chcon cksum comm csplit cut dir dircolors dirname du \ 22bindir_progs = "base64 basename chcon cksum comm csplit cut dir dircolors dirname du \
diff --git a/meta/recipes-core/dbus-wait/dbus-wait_svn.bb b/meta/recipes-core/dbus-wait/dbus-wait_svn.bb
index 10e1db8123..9fa4c552d0 100644
--- a/meta/recipes-core/dbus-wait/dbus-wait_svn.bb
+++ b/meta/recipes-core/dbus-wait/dbus-wait_svn.bb
@@ -4,7 +4,7 @@ SECTION = "base"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6DEPENDS = "dbus" 6DEPENDS = "dbus"
7PV = "0.0+svnr${SRCREV}" 7PV = "0.0+svnr${SRCPV}"
8PR = "r2" 8PR = "r2"
9 9
10SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=dbus-wait;proto=http" 10SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=dbus-wait;proto=http"
diff --git a/meta/recipes-core/dbus/dbus-1.4.0/dbus-1.init b/meta/recipes-core/dbus/dbus-1.4.1/dbus-1.init
index 4abc4cbf73..4abc4cbf73 100644
--- a/meta/recipes-core/dbus/dbus-1.4.0/dbus-1.init
+++ b/meta/recipes-core/dbus/dbus-1.4.1/dbus-1.init
diff --git a/meta/recipes-core/dbus/dbus-1.4.0/tmpdir.patch b/meta/recipes-core/dbus/dbus-1.4.1/tmpdir.patch
index f5c22af129..f5c22af129 100644
--- a/meta/recipes-core/dbus/dbus-1.4.0/tmpdir.patch
+++ b/meta/recipes-core/dbus/dbus-1.4.1/tmpdir.patch
diff --git a/meta/recipes-core/dbus/dbus-glib-0.88/fix_asneeded.patch b/meta/recipes-core/dbus/dbus-glib-0.88/fix_asneeded.patch
deleted file mode 100644
index 3065557683..0000000000
--- a/meta/recipes-core/dbus/dbus-glib-0.88/fix_asneeded.patch
+++ /dev/null
@@ -1,17 +0,0 @@
1# not sure the reason for changing link order. Disable it for now, but keep for a while
2#
3# comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-10
4
5Index: dbus-glib-0.82/dbus/Makefile.am
6===================================================================
7--- dbus-glib-0.82.orig/dbus/Makefile.am 2009-07-16 15:54:44.000000000 +0100
8+++ dbus-glib-0.82/dbus/Makefile.am 2009-12-11 09:27:20.000000000 +0000
9@@ -105,7 +105,7 @@
10
11 dbus_bash_completion_helper_SOURCES = \
12 dbus-bash-completion-helper.c
13-dbus_bash_completion_helper_LDADD=$(DBUS_LIBS) $(DBUS_GLIB_LIBS) $(builddir)/libdbus-gtool.la -lexpat $(builddir)/libdbus-glib-1.la
14+dbus_bash_completion_helper_LDADD=$(DBUS_LIBS) $(DBUS_GLIB_LIBS) $(builddir)/libdbus-gtool.la $(builddir)/libdbus-glib-1.la -lexpat
15
16
17 EXTRA_DIST=dbus-gmarshal.list make-dbus-glib-error-switch.sh make-dbus-glib-error-enum.sh dbus-bash-completion.sh.in
diff --git a/meta/recipes-core/dbus/dbus-glib-0.88/no-examples.patch b/meta/recipes-core/dbus/dbus-glib-0.92/no-examples.patch
index 32609b9b9c..32609b9b9c 100644
--- a/meta/recipes-core/dbus/dbus-glib-0.88/no-examples.patch
+++ b/meta/recipes-core/dbus/dbus-glib-0.92/no-examples.patch
diff --git a/meta/recipes-core/dbus/dbus-glib.inc b/meta/recipes-core/dbus/dbus-glib.inc
index 7dee3ffb7b..22bf6274a7 100644
--- a/meta/recipes-core/dbus/dbus-glib.inc
+++ b/meta/recipes-core/dbus/dbus-glib.inc
@@ -1,10 +1,12 @@
1SUMMARY = "High level language (GLib) binding for D-Bus" 1SUMMARY = "High level language (GLib) binding for D-Bus"
2DESCRIPTION = "GLib bindings for the D-Bus message bus that integration the D-Bus library with the GLib thread abstraction and main loop." 2DESCRIPTION = "GLib bindings for the D-Bus message bus that integrate \
3the D-Bus library with the GLib thread abstraction and main loop."
3HOMEPAGE = "http://www.freedesktop.org/Software/dbus" 4HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
4LICENSE = "AFL2.1 | GPLv2+" 5LICENSE = "AFL2.1 | GPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=cf5b3a2f7083750d504333114e738656 \ 6LIC_FILES_CHKSUM = "file://COPYING;md5=cf5b3a2f7083750d504333114e738656 \
6 file://dbus/dbus-glib.h;firstline=7;endline=21;md5=833ef01806b4c524fb3678a16300536f" 7 file://dbus/dbus-glib.h;firstline=7;endline=21;md5=833ef01806b4c524fb3678a16300536f"
7SECTION = "base" 8SECTION = "base"
9
8DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus" 10DEPENDS = "expat glib-2.0 virtual/libintl dbus-glib-native dbus"
9DEPENDS_virtclass-native = "glib-2.0-native dbus-native" 11DEPENDS_virtclass-native = "glib-2.0-native dbus-native"
10 12
@@ -13,12 +15,12 @@ SRC_URI = "http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-${PV}.tar.gz
13 15
14inherit autotools pkgconfig gettext 16inherit autotools pkgconfig gettext
15 17
16FILES_${PN} = "${libdir}/lib*.so.*"
17FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool"
18FILES_${PN}-dev += "${bindir}/dbus-binding-tool"
19
20EXTRA_OECONF = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml \ 18EXTRA_OECONF = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml \
21 --with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool" 19 --with-dbus-binding-tool=${STAGING_BINDIR_NATIVE}/dbus-binding-tool"
22EXTRA_OECONF_virtclass-native = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml" 20EXTRA_OECONF_virtclass-native = "--with-introspect-xml=${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml"
23 21
22FILES_${PN} = "${libdir}/lib*.so.*"
23FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool"
24FILES_${PN}-dev += "${bindir}/dbus-binding-tool"
25
24BBCLASSEXTEND = "native" 26BBCLASSEXTEND = "native"
diff --git a/meta/recipes-core/dbus/dbus-glib_0.88.bb b/meta/recipes-core/dbus/dbus-glib_0.88.bb
deleted file mode 100644
index 64f083047c..0000000000
--- a/meta/recipes-core/dbus/dbus-glib_0.88.bb
+++ /dev/null
@@ -1,6 +0,0 @@
1require dbus-glib.inc
2
3PR = "r0"
4
5SRC_URI[md5sum] = "7c04ba01df6130c2c4e62f73bea0d0d5"
6SRC_URI[sha256sum] = "57939e2b567940beb23a52b5f3075743bd25ab203428e1c86f8c773330565737"
diff --git a/meta/recipes-core/dbus/dbus-glib_0.92.bb b/meta/recipes-core/dbus/dbus-glib_0.92.bb
new file mode 100644
index 0000000000..72bea89825
--- /dev/null
+++ b/meta/recipes-core/dbus/dbus-glib_0.92.bb
@@ -0,0 +1,6 @@
1require dbus-glib.inc
2
3PR = "r0"
4
5SRC_URI[md5sum] = "b595b36890c4f9f8f5d5dec131c495f8"
6SRC_URI[sha256sum] = "5a7fd4cf937cdcb7f2eed61341b70ee0f2607450a50db381618598adf60dd40e"
diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index 402cf13442..da77819c3b 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -5,7 +5,8 @@ SECTION = "base"
5LICENSE = "AFL2.1 | GPLv2+" 5LICENSE = "AFL2.1 | GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \ 6LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
7 file://dbus/dbus.h;firstline=6;endline=20;md5=6eea2e0c7750dd8e620dcb1437312fa5" 7 file://dbus/dbus.h;firstline=6;endline=20;md5=6eea2e0c7750dd8e620dcb1437312fa5"
8DEPENDS = "expat glib-2.0 virtual/libintl virtual/libx11 libsm" 8DEPENDS = "expat virtual/libintl virtual/libx11 libsm"
9DEPENDS_virtclass-nativesdk = "expat virtual/libintl virtual/libx11"
9 10
10SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ 11SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
11 file://tmpdir.patch; \ 12 file://tmpdir.patch; \
@@ -88,4 +89,4 @@ do_install_virtclass-native() {
88 # dbus-glib-native and dbus-glib need this xml file 89 # dbus-glib-native and dbus-glib need this xml file
89 ./bus/dbus-daemon --introspect > ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml 90 ./bus/dbus-daemon --introspect > ${STAGING_DATADIR_NATIVE}/dbus/dbus-bus-introspect.xml
90} 91}
91BBCLASSEXTEND = "native" 92BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-core/dbus/dbus_1.4.0.bb b/meta/recipes-core/dbus/dbus_1.4.0.bb
deleted file mode 100644
index a6663362b3..0000000000
--- a/meta/recipes-core/dbus/dbus_1.4.0.bb
+++ /dev/null
@@ -1,6 +0,0 @@
1include dbus.inc
2
3PR = "r0"
4
5SRC_URI[md5sum] = "f59618b18d2fb2bd1fce9e1c5a2a3282"
6SRC_URI[sha256sum] = "c96d2f86d40e158e2bf405925a0a42cce0533a8466098e2f2238aa1614926652"
diff --git a/meta/recipes-core/dbus/dbus_1.4.1.bb b/meta/recipes-core/dbus/dbus_1.4.1.bb
new file mode 100644
index 0000000000..7c5627bc4f
--- /dev/null
+++ b/meta/recipes-core/dbus/dbus_1.4.1.bb
@@ -0,0 +1,6 @@
1include dbus.inc
2
3PR = "r0"
4
5SRC_URI[md5sum] = "99cb057700c0455fb68f8d57902f77ac"
6SRC_URI[sha256sum] = "caa1a0ded2d0f2e95c1d4ec7e3c8bd44834928c5b0ed41a7189963f3593983bd"
diff --git a/meta/recipes-core/eglibc/cross-localedef-native_2.12.bb b/meta/recipes-core/eglibc/cross-localedef-native_2.12.bb
index e2247dc535..68ef86439d 100644
--- a/meta/recipes-core/eglibc/cross-localedef-native_2.12.bb
+++ b/meta/recipes-core/eglibc/cross-localedef-native_2.12.bb
@@ -4,6 +4,13 @@ SECTION = "libs"
4PRIORITY = "required" 4PRIORITY = "required"
5LICENSE = "LGPL" 5LICENSE = "LGPL"
6 6
7LIC_DIR = "${WORKDIR}/${EGLIBC_BRANCH}/libc"
8LIC_FILES_CHKSUM = "file://${LIC_DIR}/LICENSES;md5=07a394b26e0902b9ffdec03765209770 \
9 file://${LIC_DIR}/COPYING;md5=393a5ca445f6965873eca0259a17f833 \
10 file://${LIC_DIR}/posix/rxspencer/COPYRIGHT;md5=dc5485bb394a13b2332ec1c785f5d83a \
11 file://${LIC_DIR}/COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff "
12
13
7inherit native 14inherit native
8inherit autotools 15inherit autotools
9 16
@@ -19,8 +26,8 @@ do_unpack_append() {
19 26
20do_move_ports() { 27do_move_ports() {
21 if test -d ${WORKDIR}/${EGLIBC_BRANCH}/ports ; then 28 if test -d ${WORKDIR}/${EGLIBC_BRANCH}/ports ; then
22 rm -rf ${S}../libc/ports 29 rm -rf ${WORKDIR}/libc/ports
23 mv ${WORKDIR}/${EGLIBC_BRANCH}/ports ${S}/../libc/ 30 mv ${WORKDIR}/${EGLIBC_BRANCH}/ports ${WORKDIR}/libc/
24 fi 31 fi
25} 32}
26 33
diff --git a/meta/recipes-core/eglibc/eglibc-initial.inc b/meta/recipes-core/eglibc/eglibc-initial.inc
index d49ec8a87e..ce85d99096 100644
--- a/meta/recipes-core/eglibc/eglibc-initial.inc
+++ b/meta/recipes-core/eglibc/eglibc-initial.inc
@@ -6,6 +6,9 @@ PROVIDES = "virtual/${TARGET_PREFIX}libc-initial"
6PACKAGES = "" 6PACKAGES = ""
7PACKAGES_DYNAMIC = "" 7PACKAGES_DYNAMIC = ""
8 8
9STAGINGCC = "gcc-cross-initial"
10STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-initial"
11
9do_configure () { 12do_configure () {
10 sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure 13 sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure
11 chmod +x ${S}/configure 14 chmod +x ${S}/configure
@@ -42,8 +45,15 @@ do_install () {
42 install -m 644 csu/crt[1in].o ${D}${libdir} 45 install -m 644 csu/crt[1in].o ${D}${libdir}
43 ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \ 46 ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
44 -o ${D}${libdir}/libc.so 47 -o ${D}${libdir}/libc.so
48
49 # add links to linux-libc-headers: gcc-{cross,crossdk}-intermediate need this.
50 for t in linux asm asm-generic; do
51 ln -s ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/
52 done
45} 53}
46 54
47do_siteconfig () { 55do_siteconfig () {
48 : 56 :
49} 57}
58
59do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_TCBOOTSTRAP}"
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index 87c3393d00..01275aaf1b 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -37,12 +37,12 @@ USE_LDCONFIG ?= "1"
37PKGSUFFIX = "" 37PKGSUFFIX = ""
38PKGSUFFIX_virtclass-nativesdk = "-nativesdk" 38PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
39 39
40PACKAGES = "${PN}-dbg ${PN} catchsegv${PKGSUFFIX} sln${PKGSUFFIX} nscd${PKGSUFFIX} ldd${PKGSUFFIX} localedef${PKGSUFFIX} ${PN}-utils ${PN}-pic ${PN}-dev eglibc-doc eglibc-locale libcidn libmemusage libsegfault${PKGSUFFIX} eglibc-extra-nss eglibc-thread-db eglibc-pcprofile" 40PACKAGES = "${PN}-dbg ${PN} catchsegv${PKGSUFFIX} sln${PKGSUFFIX} nscd${PKGSUFFIX} ldd${PKGSUFFIX} localedef${PKGSUFFIX} ${PN}-utils ${PN}-pic ${PN}-dev eglibc-doc eglibc-locale libcidn libmemusage libsegfault${PKGSUFFIX} eglibc-extra-nss eglibc-thread-db${PKGSUFFIX} eglibc-pcprofile"
41 41
42PACKAGES_DYNAMIC = " \ 42PACKAGES_DYNAMIC = " \
43 glibc-gconv-*${PKGSUFFIX} glibc-charmap-* glibc-localedata-* glibc-binary-localedata-* \ 43 glibc-gconv-*${PKGSUFFIX} glibc-charmap-* glibc-localedata-* glibc-binary-localedata-* \
44 eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* eglibc-binary-localedata-* \ 44 eglibc-gconv-* eglibc-charmap-* eglibc-localedata-* eglibc-binary-localedata-* \
45 locale-base-*" 45 locale-base-*${PKGSUFFIX}"
46 46
47RPROVIDES_eglibc = "glibc" 47RPROVIDES_eglibc = "glibc"
48RPROVIDES_eglibc-utils = "glibc-utils" 48RPROVIDES_eglibc-utils = "glibc-utils"
@@ -56,7 +56,7 @@ RPROVIDES_eglibc-pcprofile = "glibc-pcprofile"
56RPROVIDES_eglibc-dbg = "glibc-dbg" 56RPROVIDES_eglibc-dbg = "glibc-dbg"
57libc_baselibs = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so ${base_libdir}/libc*.so.* ${base_libdir}/libc*.so ${base_libdir}/libm*.so.* ${base_libdir}/libm-*.so ${base_libdir}/ld*.so.* ${base_libdir}/ld-*.so ${base_libdir}/libpthread*.so.* ${base_libdir}/libpthread-*.so ${base_libdir}/libresolv*.so.* ${base_libdir}/libresolv-*.so ${base_libdir}/librt*.so.* ${base_libdir}/librt-*.so ${base_libdir}/libutil*.so.* ${base_libdir}/libutil-*.so ${base_libdir}/libnsl*.so.* ${base_libdir}/libnsl-*.so ${base_libdir}/libnss_files*.so.* ${base_libdir}/libnss_files-*.so ${base_libdir}/libnss_compat*.so.* ${base_libdir}/libnss_compat-*.so ${base_libdir}/libnss_dns*.so.* ${base_libdir}/libnss_dns-*.so ${base_libdir}/libdl*.so.* ${base_libdir}/libdl-*.so ${base_libdir}/libanl*.so.* ${base_libdir}/libanl-*.so ${base_libdir}/libBrokenLocale*.so.* ${base_libdir}/libBrokenLocale-*.so" 57libc_baselibs = "${base_libdir}/libcrypt*.so.* ${base_libdir}/libcrypt-*.so ${base_libdir}/libc*.so.* ${base_libdir}/libc*.so ${base_libdir}/libm*.so.* ${base_libdir}/libm-*.so ${base_libdir}/ld*.so.* ${base_libdir}/ld-*.so ${base_libdir}/libpthread*.so.* ${base_libdir}/libpthread-*.so ${base_libdir}/libresolv*.so.* ${base_libdir}/libresolv-*.so ${base_libdir}/librt*.so.* ${base_libdir}/librt-*.so ${base_libdir}/libutil*.so.* ${base_libdir}/libutil-*.so ${base_libdir}/libnsl*.so.* ${base_libdir}/libnsl-*.so ${base_libdir}/libnss_files*.so.* ${base_libdir}/libnss_files-*.so ${base_libdir}/libnss_compat*.so.* ${base_libdir}/libnss_compat-*.so ${base_libdir}/libnss_dns*.so.* ${base_libdir}/libnss_dns-*.so ${base_libdir}/libdl*.so.* ${base_libdir}/libdl-*.so ${base_libdir}/libanl*.so.* ${base_libdir}/libanl-*.so ${base_libdir}/libBrokenLocale*.so.* ${base_libdir}/libBrokenLocale-*.so"
58 58
59FILES_${PN} = "${sysconfdir} ${libc_baselibs} ${libexecdir}/* ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig', '', d)}" 59FILES_${PN} = "${libc_baselibs} ${libexecdir}/* ${@base_conditional('USE_LDCONFIG', '1', '${base_sbindir}/ldconfig ${sysconfdir}/ld.so.conf', '', d)}"
60FILES_ldd${PKGSUFFIX} = "${bindir}/ldd" 60FILES_ldd${PKGSUFFIX} = "${bindir}/ldd"
61FILES_libsegfault${PKGSUFFIX} = "${base_libdir}/libSegFault*" 61FILES_libsegfault${PKGSUFFIX} = "${base_libdir}/libSegFault*"
62FILES_libcidn = "${base_libdir}/libcidn*.so" 62FILES_libcidn = "${base_libdir}/libcidn*.so"
@@ -73,7 +73,7 @@ FILES_${PN}-dbg += "${libexecdir}/*/.debug ${libdir}/gconv/.debug"
73FILES_catchsegv${PKGSUFFIX} = "${bindir}/catchsegv" 73FILES_catchsegv${PKGSUFFIX} = "${bindir}/catchsegv"
74RDEPENDS_catchsegv${PKGSUFFIX} = "libsegfault" 74RDEPENDS_catchsegv${PKGSUFFIX} = "libsegfault"
75FILES_eglibc-pcprofile = "${base_libdir}/libpcprofile.so" 75FILES_eglibc-pcprofile = "${base_libdir}/libpcprofile.so"
76FILES_eglibc-thread-db = "${base_libdir}/libthread_db*" 76FILES_eglibc-thread-db${PKGSUFFIX} = "${base_libdir}/libthread_db*"
77FILES_localedef${PKGSUFFIX} = "${bindir}/localedef" 77FILES_localedef${PKGSUFFIX} = "${bindir}/localedef"
78RPROVIDES_eglibc-dev += "libc-dev" 78RPROVIDES_eglibc-dev += "libc-dev"
79 79
diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc
index 4698254932..8314cb1548 100644
--- a/meta/recipes-core/eglibc/eglibc.inc
+++ b/meta/recipes-core/eglibc/eglibc.inc
@@ -1,5 +1,24 @@
1require eglibc-common.inc 1require eglibc-common.inc
2 2
3STAGINGCC = "gcc-cross-intermediate"
4STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-intermediate"
5PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:"
6
7TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}"
8
9# siteconfig.bbclass runs configure which needs a working compiler
10# For the compiler to work we need a working libc yet libc isn't
11# in the sysroots directory at this point. This means the libc.so
12# linker script won't work as the --sysroot setting isn't correct.
13# Here we create a hacked up libc linker script and pass in the right
14# flags to let configure work. Ugly.
15EXTRASITECONFIG = "CFLAGS='${CFLAGS} -Wl,-L${WORKDIR}/site_config_libc -L${WORKDIR}/site_config_libc -L${SYSROOT_DESTDIR}${libdir} -L${SYSROOT_DESTDIR}${base_libdir} -Wl,-L${SYSROOT_DESTDIR}${libdir} -Wl,-L${SYSROOT_DESTDIR}${base_libdir}'"
16siteconfig_do_siteconfig_gencache_prepend = " \
17 mkdir -p ${WORKDIR}/site_config_libc; \
18 cp ${SYSROOT_DESTDIR}${libdir}/libc.so ${WORKDIR}/site_config_libc; \
19 sed -i -e 's# ${base_libdir}# ${SYSROOT_DESTDIR}${base_libdir}#g' -e 's# ${libdir}# ${SYSROOT_DESTDIR}${libdir}#g' ${WORKDIR}/site_config_libc/libc.so; \
20"
21
3# nptl needs unwind support in gcc, which can't be built without glibc. 22# nptl needs unwind support in gcc, which can't be built without glibc.
4DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers" 23DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers"
5#this leads to circular deps, so lets not add it yet 24#this leads to circular deps, so lets not add it yet
diff --git a/meta/recipes-core/eglibc/eglibc_2.12.bb b/meta/recipes-core/eglibc/eglibc_2.12.bb
index 3d0dc7387a..c773af0efa 100644
--- a/meta/recipes-core/eglibc/eglibc_2.12.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.12.bb
@@ -2,7 +2,7 @@ require eglibc.inc
2 2
3DEPENDS += "gperf-native" 3DEPENDS += "gperf-native"
4FILESPATHPKG =. "eglibc-svn:" 4FILESPATHPKG =. "eglibc-svn:"
5PR = "r12" 5PR = "r13"
6 6
7EGLIBC_BRANCH="eglibc-2_12" 7EGLIBC_BRANCH="eglibc-2_12"
8SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http \ 8SRC_URI = "svn://www.eglibc.org/svn/branches/;module=${EGLIBC_BRANCH};proto=http \
diff --git a/meta/recipes-core/gettext/gettext_0.14.1.bb b/meta/recipes-core/gettext/gettext_0.14.1.bb
index a2de018281..ad5121736e 100644
--- a/meta/recipes-core/gettext/gettext_0.14.1.bb
+++ b/meta/recipes-core/gettext/gettext_0.14.1.bb
@@ -2,6 +2,8 @@ DESCRIPTION = "The GNU internationalization library."
2HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html" 2HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html"
3SECTION = "libs" 3SECTION = "libs"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
6
5PR = "r11" 7PR = "r11"
6DEPENDS = "virtual/libiconv" 8DEPENDS = "virtual/libiconv"
7DEPENDS_virtclass-native = "" 9DEPENDS_virtclass-native = ""
@@ -9,9 +11,9 @@ PROVIDES = "virtual/libintl"
9PROVIDES_virtclass-native = "" 11PROVIDES_virtclass-native = ""
10 12
11SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ 13SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
12 file://gettext-vpath.patch \ 14 file://gettext-vpath.patch \
13 file://fixchicken.patch \ 15 file://fixchicken.patch \
14 file://linklib_from_0.17.patch \ 16 file://linklib_from_0.17.patch \
15 file://getline.m4.patch \ 17 file://getline.m4.patch \
16 file://disable_java.patch" 18 file://disable_java.patch"
17 19
@@ -20,14 +22,17 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
20SRC_URI_append_linux-uclibc = " file://gettext-error_print_progname.patch" 22SRC_URI_append_linux-uclibc = " file://gettext-error_print_progname.patch"
21SRC_URI_append_linux-uclibceabi = " file://gettext-error_print_progname.patch" 23SRC_URI_append_linux-uclibceabi = " file://gettext-error_print_progname.patch"
22 24
25SRC_URI[md5sum] = "78f4b862510beb2e5d43223dd610e77d"
26SRC_URI[sha256sum] = "41f20c469c7759acb34cfa7e0b3cac9096d59a58ad800e471f07424a8e7adbb7"
27
23PARALLEL_MAKE = "" 28PARALLEL_MAKE = ""
24 29
25inherit autotools 30inherit autotools
26 31
27EXTRA_OECONF += "--without-lisp --disable-csharp" 32EXTRA_OECONF += "--without-lisp --disable-csharp"
28acpaths = '-I ${S}/autoconf-lib-link/m4/ \ 33acpaths = '-I ${S}/autoconf-lib-link/m4/ \
29 -I ${S}/gettext-runtime/m4 \ 34 -I ${S}/gettext-runtime/m4 \
30 -I ${S}/gettext-tools/m4' 35 -I ${S}/gettext-tools/m4'
31 36
32do_configure_prepend() { 37do_configure_prepend() {
33 rm -f ${S}/config/m4/libtool.m4 38 rm -f ${S}/config/m4/libtool.m4
@@ -46,7 +51,3 @@ do_configure_prepend() {
46PACKAGES =+ "libgettextlib libgettextsrc" 51PACKAGES =+ "libgettextlib libgettextsrc"
47FILES_libgettextlib = "${libdir}/libgettextlib-*.so*" 52FILES_libgettextlib = "${libdir}/libgettextlib-*.so*"
48FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*" 53FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*"
49
50
51SRC_URI[md5sum] = "78f4b862510beb2e5d43223dd610e77d"
52SRC_URI[sha256sum] = "41f20c469c7759acb34cfa7e0b3cac9096d59a58ad800e471f07424a8e7adbb7"
diff --git a/meta/recipes-core/gettext/gettext_0.17.bb b/meta/recipes-core/gettext/gettext_0.17.bb
index 7a936ea914..54a58377a0 100644
--- a/meta/recipes-core/gettext/gettext_0.17.bb
+++ b/meta/recipes-core/gettext/gettext_0.17.bb
@@ -3,6 +3,8 @@ DESCRIPTION = "Gettext offers to programmers, translators, and even users, a wel
3HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html" 3HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html"
4SECTION = "libs" 4SECTION = "libs"
5LICENSE = "GPLv3" 5LICENSE = "GPLv3"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
7
6PR = "r5" 8PR = "r5"
7DEPENDS = "gettext-native virtual/libiconv ncurses expat" 9DEPENDS = "gettext-native virtual/libiconv ncurses expat"
8DEPENDS_virtclass-native = "" 10DEPENDS_virtclass-native = ""
@@ -10,33 +12,36 @@ PROVIDES = "virtual/libintl"
10PROVIDES_virtclass-native = "" 12PROVIDES_virtclass-native = ""
11 13
12SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ 14SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
13 file://autotools.patch;patch=1 \ 15 file://autotools.patch;patch=1 \
14 file://wchar-uclibc.patch;patch=1 \ 16 file://wchar-uclibc.patch;patch=1 \
15 file://use_open_properly.patch;patch=1 \ 17 file://use_open_properly.patch;patch=1 \
16 file://m4fix.patch;patch=1 \ 18 file://m4fix.patch;patch=1 \
17 " 19 "
18 20
19SRC_URI_append_linux-uclibc = " file://gettext-error_print_progname.patch;patch=1" 21SRC_URI_append_linux-uclibc = " file://gettext-error_print_progname.patch;patch=1"
20SRC_URI_append_linux-uclibcgnueabi = " file://gettext-error_print_progname.patch;patch=1" 22SRC_URI_append_linux-uclibcgnueabi = " file://gettext-error_print_progname.patch;patch=1"
21 23
24SRC_URI[md5sum] = "58a2bc6d39c0ba57823034d55d65d606"
25SRC_URI[sha256sum] = "209638bb8e162f22c281145a34e220c66f1f6e9ff5e4c50c6f2ef2ded59537ba"
26
22PARALLEL_MAKE = "" 27PARALLEL_MAKE = ""
23 28
24inherit autotools 29inherit autotools
25 30
26EXTRA_OECONF += "--without-lispdir \ 31EXTRA_OECONF += "--without-lispdir \
27 --disable-csharp \ 32 --disable-csharp \
28 --disable-libasprintf \ 33 --disable-libasprintf \
29 --disable-java \ 34 --disable-java \
30 --disable-native-java \ 35 --disable-native-java \
31 --disable-openmp \ 36 --disable-openmp \
32 --with-included-glib \ 37 --with-included-glib \
33 --with-libncurses-prefix=${STAGING_LIBDIR}/.. \ 38 --with-libncurses-prefix=${STAGING_LIBDIR}/.. \
34 --without-emacs \ 39 --without-emacs \
35 " 40 "
36 41
37acpaths = '-I ${S}/autoconf-lib-link/m4/ \ 42acpaths = '-I ${S}/autoconf-lib-link/m4/ \
38 -I ${S}/gettext-runtime/m4 \ 43 -I ${S}/gettext-runtime/m4 \
39 -I ${S}/gettext-tools/m4' 44 -I ${S}/gettext-tools/m4'
40 45
41 46
42# these lack the .x behind the .so, but shouldn't be in the -dev package 47# these lack the .x behind the .so, but shouldn't be in the -dev package
diff --git a/meta/recipes-core/glib-2.0/glib-2.0-2.27.3/60_wait-longer-for-threads-to-die.patch b/meta/recipes-core/glib-2.0/glib-2.0/60_wait-longer-for-threads-to-die.patch
index 8195bd4922..8195bd4922 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0-2.27.3/60_wait-longer-for-threads-to-die.patch
+++ b/meta/recipes-core/glib-2.0/glib-2.0/60_wait-longer-for-threads-to-die.patch
diff --git a/meta/recipes-core/glib-2.0/glib-2.0-2.27.3/configure-libtool.patch b/meta/recipes-core/glib-2.0/glib-2.0/configure-libtool.patch
index a5dd4f249e..7c170be60f 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0-2.27.3/configure-libtool.patch
+++ b/meta/recipes-core/glib-2.0/glib-2.0/configure-libtool.patch
@@ -12,7 +12,7 @@ diff -ruN glib-2.27.3-orig/configure.ac glib-2.27.3/configure.ac
12 else 12 else
13 export SED 13 export SED
14- G_MODULE_LDFLAGS=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` 14- G_MODULE_LDFLAGS=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
15+ G_MODULE_LDFLAGS=`($host_alias-libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` 15+ G_MODULE_LDFLAGS=`(./$host_alias-libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
16 fi 16 fi
17 dnl G_MODULE_IMPL= don't reset, so cmd-line can override 17 dnl G_MODULE_IMPL= don't reset, so cmd-line can override
18 G_MODULE_NEED_USCORE=0 18 G_MODULE_NEED_USCORE=0
@@ -21,7 +21,7 @@ diff -ruN glib-2.27.3-orig/configure.ac glib-2.27.3/configure.ac
21 dnl *** check for OSF1/5.0 RTLD_GLOBAL brokenness 21 dnl *** check for OSF1/5.0 RTLD_GLOBAL brokenness
22 echo "void glib_plugin_test(void) { }" > plugin.c 22 echo "void glib_plugin_test(void) { }" > plugin.c
23- ${SHELL} ./libtool --mode=compile ${CC} -shared \ 23- ${SHELL} ./libtool --mode=compile ${CC} -shared \
24+ ${SHELL} $host_alias-libtool --mode=compile ${CC} -shared \ 24+ ${SHELL} ./$host_alias-libtool --mode=compile ${CC} -shared \
25 -export-dynamic -o plugin.o plugin.c 2>&1 >/dev/null 25 -export-dynamic -o plugin.o plugin.c 2>&1 >/dev/null
26 AC_CACHE_CHECK([for RTLD_GLOBAL brokenness], 26 AC_CACHE_CHECK([for RTLD_GLOBAL brokenness],
27 glib_cv_rtldglobal_broken,[ 27 glib_cv_rtldglobal_broken,[
@@ -30,7 +30,7 @@ diff -ruN glib-2.27.3-orig/configure.ac glib-2.27.3/configure.ac
30 AC_MSG_CHECKING(for the suffix of module shared libraries) 30 AC_MSG_CHECKING(for the suffix of module shared libraries)
31 export SED 31 export SED
32-shrext_cmds=`./libtool --config | grep '^shrext_cmds='` 32-shrext_cmds=`./libtool --config | grep '^shrext_cmds='`
33+shrext_cmds=`$host_alias-libtool --config | grep '^shrext_cmds='` 33+shrext_cmds=`./$host_alias-libtool --config | grep '^shrext_cmds='`
34 eval $shrext_cmds 34 eval $shrext_cmds
35 module=yes eval std_shrext=$shrext_cmds 35 module=yes eval std_shrext=$shrext_cmds
36 # chop the initial dot 36 # chop the initial dot
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/g_once_init_enter.patch b/meta/recipes-core/glib-2.0/glib-2.0/g_once_init_enter.patch
new file mode 100644
index 0000000000..a2a506c2ad
--- /dev/null
+++ b/meta/recipes-core/glib-2.0/glib-2.0/g_once_init_enter.patch
@@ -0,0 +1,22 @@
1fix g_once_init_enter compile failure
2
3Kernelshark trips over a compile bug in glib-2.0 addressed by Open Embedded
4back in the 2.22 timeframe. It appears to still be present in 2.27.
5
6http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg005
7
8Signed-off-by: Darren Hart <dvhart@linux.intel.com>
9
10Index: glib-2.27.5/glib/gthread.h
11===================================================================
12--- glib-2.27.5.orig/glib/gthread.h
13+++ glib-2.27.5/glib/gthread.h
14@@ -344,7 +344,7 @@ void g_once_init_leav
15 G_INLINE_FUNC gboolean
16 g_once_init_enter (volatile gsize *value_location)
17 {
18- if G_LIKELY ((gpointer) g_atomic_pointer_get (value_location) != NULL)
19+ if G_LIKELY ((gpointer) g_atomic_pointer_get ((volatile gpointer *)value_location) != NULL)
20 return FALSE;
21 else
22 return g_once_init_enter_impl (value_location);
diff --git a/meta/recipes-core/glib-2.0/glib-2.0-2.27.3/glib-gettextize-dir.patch b/meta/recipes-core/glib-2.0/glib-2.0/glib-gettextize-dir.patch
index e54a8e5106..e54a8e5106 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0-2.27.3/glib-gettextize-dir.patch
+++ b/meta/recipes-core/glib-2.0/glib-2.0/glib-gettextize-dir.patch
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.26.1.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.26.1.bb
new file mode 100644
index 0000000000..eace71a731
--- /dev/null
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.26.1.bb
@@ -0,0 +1,16 @@
1require glib.inc
2
3PE = "1"
4PR = "r0"
5
6SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glib/2.26/glib-${PV}.tar.bz2 \
7 file://configure-libtool.patch \
8 file://60_wait-longer-for-threads-to-die.patch \
9 file://g_once_init_enter.patch \
10 "
11
12SRC_URI[md5sum] = "17535accceef55bcb17a74d73f9c2aef"
13SRC_URI[sha256sum] = "7a74ff12b6b9dee1f2d0e520b56b68b621920c4f4250bdf23468e515625c28d5"
14
15SRC_URI_append_virtclass-native = " file://glib-gettextize-dir.patch"
16BBCLASSEXTEND = "native"
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.27.3.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.27.3.bb
deleted file mode 100644
index 30e208afce..0000000000
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.27.3.bb
+++ /dev/null
@@ -1,13 +0,0 @@
1require glib.inc
2
3PR = "r0"
4
5SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glib/2.27/glib-${PV}.tar.bz2 \
6 file://configure-libtool.patch \
7 file://60_wait-longer-for-threads-to-die.patch"
8
9SRC_URI[md5sum] = "d3e976ff92b55b6064a0eb3110f36158"
10SRC_URI[sha256sum] = "c44177b635e88639361eb1daf7aaa33315a00aaf46db5accf2f11920c7ff1919"
11
12SRC_URI_append_virtclass-native = " file://glib-gettextize-dir.patch"
13BBCLASSEXTEND = "native"
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.27.5.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.27.5.bb
new file mode 100644
index 0000000000..d3c8eee71c
--- /dev/null
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.27.5.bb
@@ -0,0 +1,18 @@
1require glib.inc
2
3PR = "r3"
4
5SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glib/2.27/glib-${PV}.tar.bz2 \
6 file://configure-libtool.patch \
7 file://60_wait-longer-for-threads-to-die.patch \
8 file://g_once_init_enter.patch \
9 "
10
11SRC_URI[md5sum] = "b7025b581bf78fcd656117bfc113f21f"
12SRC_URI[sha256sum] = "aad3038db865b762e01b1dc455ffd601b4083c069018d290e5fdfe1a61d328dc"
13
14SRC_URI_append_virtclass-native = " file://glib-gettextize-dir.patch"
15
16BBCLASSEXTEND = "native nativesdk"
17
18DEFAULT_PREFERENCE = "-1"
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index b0df84eca0..0319b9d04c 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -15,8 +15,9 @@ SECTION = "libs"
15 15
16require glib-2.0.inc 16require glib-2.0.inc
17 17
18DEPENDS = "glib-2.0-native gtk-doc-native virtual/libiconv virtual/libintl zip" 18DEPENDS = "glib-2.0-native gtk-doc-native virtual/libiconv virtual/libintl zip dbus"
19DEPENDS_virtclass-native = "gtk-doc-native pkgconfig-native gettext-native" 19DEPENDS_virtclass-native = "gtk-doc-native pkgconfig-native gettext-native dbus-native"
20DEPENDS_virtclass-nativesdk = "libtool-nativesdk"
20PACKAGES =+ "glib-2.0-utils " 21PACKAGES =+ "glib-2.0-utils "
21 22
22LEAD_SONAME = "libglib-2.0.*" 23LEAD_SONAME = "libglib-2.0.*"
@@ -28,6 +29,7 @@ S = "${WORKDIR}/glib-${PV}"
28 29
29EXTRA_OECONF = "--disable-debug --enable-included-printf=no" 30EXTRA_OECONF = "--disable-debug --enable-included-printf=no"
30EXTRA_OECONF_virtclass-native = "" 31EXTRA_OECONF_virtclass-native = ""
32EXTRA_OECONF_poky-lsb = "--enable-included-printf=no"
31 33
32FILES_${PN} = "${libdir}/lib*${SOLIBS}" 34FILES_${PN} = "${libdir}/lib*${SOLIBS}"
33FILES_${PN}-dev += "${libdir}/glib-2.0/include" 35FILES_${PN}-dev += "${libdir}/glib-2.0/include"
diff --git a/meta/recipes-core/glibc/glibc-initial.inc b/meta/recipes-core/glibc/glibc-initial.inc
index ec10699190..3745955f60 100644
--- a/meta/recipes-core/glibc/glibc-initial.inc
+++ b/meta/recipes-core/glibc/glibc-initial.inc
@@ -6,6 +6,9 @@ FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/glibc-${PV}', '${FILE_DIRN
6PACKAGES = "" 6PACKAGES = ""
7PACKAGES_DYNAMIC = "" 7PACKAGES_DYNAMIC = ""
8 8
9STAGINGCC = "gcc-cross-initial"
10STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-initial"
11
9do_configure () { 12do_configure () {
10 sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure 13 sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure
11 chmod +x ${S}/configure 14 chmod +x ${S}/configure
@@ -50,8 +53,15 @@ do_install () {
50 install -m 644 csu/crt[1in].o ${D}${libdir} 53 install -m 644 csu/crt[1in].o ${D}${libdir}
51 ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \ 54 ${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
52 -o ${D}${libdir}/libc.so 55 -o ${D}${libdir}/libc.so
56
57 # add links to linux-libc-headers: gcc-{cross,crossdk}-intermediate need this.
58 for t in linux asm asm-generic; do
59 ln -s ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/
60 done
53} 61}
54 62
55do_siteconfig () { 63do_siteconfig () {
56 : 64 :
57} 65}
66
67do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_TCBOOTSTRAP}"
diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc
index ecaf593b22..127ae231d7 100644
--- a/meta/recipes-core/glibc/glibc.inc
+++ b/meta/recipes-core/glibc/glibc.inc
@@ -13,10 +13,29 @@ DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers"
13RDEPENDS_${PN}-dev = "linux-libc-headers-dev" 13RDEPENDS_${PN}-dev = "linux-libc-headers-dev"
14#this leads to circular deps, so lets not add it yet 14#this leads to circular deps, so lets not add it yet
15#RDEPENDS_ldd += " bash" 15#RDEPENDS_ldd += " bash"
16#RDEPENDS += "${@['','libgcc']['nptl' in '${GLIBC_ADDONS}']}" 16#RDEPENDS_${PN} += "${@['','libgcc']['nptl' in '${GLIBC_ADDONS}']}"
17PROVIDES = "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" 17PROVIDES = "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc"
18PROVIDES += "virtual/libintl virtual/libiconv" 18PROVIDES += "virtual/libintl virtual/libiconv"
19 19
20STAGINGCC = "gcc-cross-intermediate"
21STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-intermediate"
22PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:"
23
24TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}"
25
26# siteconfig.bbclass runs configure which needs a working compiler
27# For the compiler to work we need a working libc yet libc isn't
28# in the sysroots directory at this point. This means the libc.so
29# linker script won't work as the --sysroot setting isn't correct.
30# Here we create a hacked up libc linker script and pass in the right
31# flags to let configure work. Ugly.
32EXTRASITECONFIG = "CFLAGS='${CFLAGS} -Wl,-L${WORKDIR}/site_config_libc -L${WORKDIR}/site_config_libc -L${SYSROOT_DESTDIR}${libdir} -L${SYSROOT_DESTDIR}${base_libdir} -Wl,-L${SYSROOT_DESTDIR}${libdir} -Wl,-L${SYSROOT_DESTDIR}${base_libdir}'"
33siteconfig_do_siteconfig_gencache_prepend = " \
34 mkdir -p ${WORKDIR}/site_config_libc; \
35 cp ${SYSROOT_DESTDIR}${libdir}/libc.so ${WORKDIR}/site_config_libc; \
36 sed -i -e 's# ${base_libdir}# ${SYSROOT_DESTDIR}${base_libdir}#g' -e 's# ${libdir}# ${SYSROOT_DESTDIR}${libdir}#g' ${WORKDIR}/site_config_libc/libc.so; \
37"
38
20inherit autotools 39inherit autotools
21 40
22GLIBC_EXTRA_OECONF ?= "" 41GLIBC_EXTRA_OECONF ?= ""
diff --git a/meta/recipes-core/glibc/ldconfig-native_2.5.bb b/meta/recipes-core/glibc/ldconfig-native_2.5.bb
index 4eb37a6e76..39c8ce35e5 100644
--- a/meta/recipes-core/glibc/ldconfig-native_2.5.bb
+++ b/meta/recipes-core/glibc/ldconfig-native_2.5.bb
@@ -2,6 +2,8 @@ DESCRIPTION = "A standalone native ldconfig build"
2 2
3LICENSE = "GPLv2" 3LICENSE = "GPLv2"
4 4
5LIC_FILES_CHKSUM = "file://${S}/ldconfig.c;endline=16;md5=8b3df71ec5b0feeeeab79025096aa92c"
6
5SRC_URI = "file://ldconfig-native-2.5.tar.bz2 \ 7SRC_URI = "file://ldconfig-native-2.5.tar.bz2 \
6 file://ldconfig.patch;patch=1 \ 8 file://ldconfig.patch;patch=1 \
7 file://32and64bit.patch;patch=1" 9 file://32and64bit.patch;patch=1"
diff --git a/meta/recipes-core/images/poky-image-live.inc b/meta/recipes-core/images/poky-image-live.inc
index 7f8dd8fba5..4743d92916 100644
--- a/meta/recipes-core/images/poky-image-live.inc
+++ b/meta/recipes-core/images/poky-image-live.inc
@@ -5,6 +5,9 @@ TIMEOUT = "10"
5 5
6EXCLUDE_FROM_WORLD = "1" 6EXCLUDE_FROM_WORLD = "1"
7 7
8LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
9 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
10
8do_bootimg[depends] += "poky-image-minimal-initramfs:do_rootfs" 11do_bootimg[depends] += "poky-image-minimal-initramfs:do_rootfs"
9 12
10inherit bootimg 13inherit bootimg
diff --git a/meta/recipes-core/images/poky-image-minimal-dev.bb b/meta/recipes-core/images/poky-image-minimal-dev.bb
new file mode 100644
index 0000000000..c64b657204
--- /dev/null
+++ b/meta/recipes-core/images/poky-image-minimal-dev.bb
@@ -0,0 +1,15 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd.
3#
4IMAGE_INSTALL = "task-poky-boot ${ROOTFS_PKGMANAGE}"
5
6IMAGE_FEATURES += "dev-pkgs"
7
8IMAGE_LINGUAS = " "
9
10LICENSE = "MIT"
11
12inherit poky-image
13
14# remove not needed ipkg informations
15ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "
diff --git a/meta/recipes-core/images/poky-image-minimal.bb b/meta/recipes-core/images/poky-image-minimal.bb
index 48136ed0f1..6a641f3b84 100644
--- a/meta/recipes-core/images/poky-image-minimal.bb
+++ b/meta/recipes-core/images/poky-image-minimal.bb
@@ -1,7 +1,7 @@
1# 1#
2# Copyright (C) 2007 OpenedHand Ltd. 2# Copyright (C) 2007 OpenedHand Ltd.
3# 3#
4IMAGE_INSTALL = "task-poky-boot ${ROOTFS_PKGMANAGE}" 4IMAGE_INSTALL = "task-poky-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP}"
5 5
6IMAGE_LINGUAS = " " 6IMAGE_LINGUAS = " "
7 7
diff --git a/meta/recipes-core/initrdscripts/files/init-live.sh b/meta/recipes-core/initrdscripts/files/init-live.sh
index c96b1f47c3..f3e514544f 100644
--- a/meta/recipes-core/initrdscripts/files/init-live.sh
+++ b/meta/recipes-core/initrdscripts/files/init-live.sh
@@ -11,6 +11,7 @@ early_setup() {
11 mount -t proc proc /proc 11 mount -t proc proc /proc
12 mount -t sysfs sysfs /sys 12 mount -t sysfs sysfs /sys
13 udevd --daemon 13 udevd --daemon
14 /sbin/udevadm trigger --action=add
14} 15}
15 16
16read_args() { 17read_args() {
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
index 758c607c8d..1d2509e68b 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -3,10 +3,10 @@ DESCRIPTION = "Initscripts provide the basic system startup initialization scrip
3SECTION = "base" 3SECTION = "base"
4PRIORITY = "required" 4PRIORITY = "required"
5DEPENDS = "makedevs" 5DEPENDS = "makedevs"
6RDEPENDS = "makedevs" 6RDEPENDS_${PN} = "makedevs"
7LICENSE = "GPLv2" 7LICENSE = "GPLv2"
8LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 8LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
9PR = "r122" 9PR = "r123"
10 10
11SRC_URI = "file://functions \ 11SRC_URI = "file://functions \
12 file://halt \ 12 file://halt \
diff --git a/meta/recipes-core/libxml/libxml2.inc b/meta/recipes-core/libxml/libxml2.inc
index 748a7fb241..ba6db8f2c0 100644
--- a/meta/recipes-core/libxml/libxml2.inc
+++ b/meta/recipes-core/libxml/libxml2.inc
@@ -21,6 +21,7 @@ inherit autotools pkgconfig binconfig
21 21
22EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n" 22EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n"
23EXTRA_OECONF_virtclass-native = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n" 23EXTRA_OECONF_virtclass-native = "--with-python=${STAGING_BINDIR}/python --without-legacy --with-catalog --without-docbook --with-c14n"
24EXTRA_OECONF_poky-lsb = "--without-python --with-debug --with-legacy --with-catalog --with-docbook --with-c14n"
24 25
25# required for pythong binding 26# required for pythong binding
26export HOST_SYS 27export HOST_SYS
diff --git a/meta/recipes-core/libxml/libxml2_2.7.7.bb b/meta/recipes-core/libxml/libxml2_2.7.7.bb
index 9615a7fb06..91f4ceb94e 100644
--- a/meta/recipes-core/libxml/libxml2_2.7.7.bb
+++ b/meta/recipes-core/libxml/libxml2_2.7.7.bb
@@ -1,6 +1,6 @@
1require libxml2.inc 1require libxml2.inc
2 2
3PR = "r2" 3PR = "r4"
4 4
5SRC_URI[md5sum] = "9abc9959823ca9ff904f1fbcf21df066" 5SRC_URI[md5sum] = "9abc9959823ca9ff904f1fbcf21df066"
6SRC_URI[sha256sum] = "af5b781418ba4fff556fa43c50086658ea8a2f31909c2b625c2ce913a1d9eb68" 6SRC_URI[sha256sum] = "af5b781418ba4fff556fa43c50086658ea8a2f31909c2b625c2ce913a1d9eb68"
diff --git a/meta/recipes-core/meta/external-python-tarball.bb b/meta/recipes-core/meta/external-python-tarball.bb
index 494b21c20e..746cb9e6fe 100644
--- a/meta/recipes-core/meta/external-python-tarball.bb
+++ b/meta/recipes-core/meta/external-python-tarball.bb
@@ -1,5 +1,8 @@
1DESCRIPTION = "Meta package for building a standalone python tarball" 1DESCRIPTION = "Meta package for building a standalone python tarball"
2LICENSE = "MIT" 2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
4 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
5
3DEPENDS = "opkg-native opkg-utils-native virtual/fakeroot-native sed-native" 6DEPENDS = "opkg-native opkg-utils-native virtual/fakeroot-native sed-native"
4 7
5inherit meta 8inherit meta
@@ -23,6 +26,7 @@ TOOLCHAIN_HOST_TASK ?= "\
23 python-nativesdk-fcntl \ 26 python-nativesdk-fcntl \
24 python-nativesdk-shell \ 27 python-nativesdk-shell \
25 python-nativesdk-misc \ 28 python-nativesdk-misc \
29 python-nativesdk-multiprocessing \
26 python-nativesdk-subprocess \ 30 python-nativesdk-subprocess \
27 python-nativesdk-xmlrpc \ 31 python-nativesdk-xmlrpc \
28 python-nativesdk-netclient \ 32 python-nativesdk-netclient \
diff --git a/meta/recipes-core/meta/meta-environment.bb b/meta/recipes-core/meta/meta-environment.bb
new file mode 100644
index 0000000000..4ba919f7fe
--- /dev/null
+++ b/meta/recipes-core/meta/meta-environment.bb
@@ -0,0 +1,61 @@
1DESCRIPTION = "Package of environment files for SDK"
2LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
3 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
4LICENSE = "MIT"
5PR = "r1"
6
7EXCLUDE_FROM_WORLD = "1"
8
9inherit toolchain-scripts
10# get target config site before inheritting cross-canadian
11TARGET_CONFIG_SITE := "${@siteinfo_get_files(d)}"
12
13SDK_DIR = "${WORKDIR}/sdk"
14SDK_OUTPUT = "${SDK_DIR}/image"
15SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${TARGET_SYS}"
16
17inherit cross-canadian
18
19do_generate_content[nostamp] = "1"
20do_generate_content() {
21
22 rm -rf ${SDK_OUTPUT}
23 mkdir -p ${SDK_OUTPUT}/${SDKPATH}
24
25 siteconfig=${SDK_OUTPUT}/${SDKPATH}/site-config-${OLD_MULTIMACH_TARGET_SYS}
26
27 touch $siteconfig
28 for sitefile in ${TARGET_CONFIG_SITE} ; do
29 cat $sitefile >> $siteconfig
30 done
31
32 toolchain_create_sdk_env_script_for_installer
33
34 # Add version information
35 versionfile=${SDK_OUTPUT}/${SDKPATH}/version-${OLD_MULTIMACH_TARGET_SYS}
36 touch $versionfile
37 echo 'Distro: ${DISTRO}' >> $versionfile
38 echo 'Distro Version: ${DISTRO_VERSION}' >> $versionfile
39 echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile
40 echo 'Timestamp: ${DATETIME}' >> $versionfile
41}
42addtask generate_content before do_install after do_compile
43
44do_install[nostamp] = "1"
45do_install() {
46 install -d ${D}/${SDKPATH}
47 install -m 0644 -t ${D}/${SDKPATH} ${SDK_OUTPUT}/${SDKPATH}/*
48}
49
50PN = "meta-environment-${TRANSLATED_TARGET_ARCH}"
51PACKAGES = "${PN}"
52FILES_${PN}= " \
53 ${SDKPATH}/* \
54 "
55
56do_fetch[noexec] = "1"
57do_unpack[noexec] = "1"
58do_patch[noexec] = "1"
59do_configure[noexec] = "1"
60do_compile[noexec] = "1"
61do_populage_sysroot[noexec] = "1"
diff --git a/meta/recipes-core/meta/meta-toolchain-gmae.bb b/meta/recipes-core/meta/meta-toolchain-gmae.bb
new file mode 100644
index 0000000000..595aba3030
--- /dev/null
+++ b/meta/recipes-core/meta/meta-toolchain-gmae.bb
@@ -0,0 +1,5 @@
1TOOLCHAIN_TARGET_GMAETASK ?= "task-poky-standalone-gmae-sdk-target task-poky-standalone-gmae-sdk-target-dbg"
2TOOLCHAIN_TARGET_TASK = "${TOOLCHAIN_TARGET_GMAETASK}"
3TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-gmae-${DISTRO_VERSION}"
4PROVIDES = "meta-toolchain-sdk"
5require meta-toolchain.bb
diff --git a/meta/recipes-core/meta/meta-toolchain-sdk.bb b/meta/recipes-core/meta/meta-toolchain-sdk.bb
deleted file mode 100644
index 8572f021d7..0000000000
--- a/meta/recipes-core/meta/meta-toolchain-sdk.bb
+++ /dev/null
@@ -1,4 +0,0 @@
1TOOLCHAIN_TARGET_SDKTASK ?= "task-poky-standalone-gmae-sdk-target task-poky-standalone-gmae-sdk-target-dbg"
2TOOLCHAIN_TARGET_TASK = "${TOOLCHAIN_TARGET_SDKTASK}"
3TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-sdk-${DISTRO_VERSION}"
4require meta-toolchain.bb
diff --git a/meta/recipes-core/meta/meta-toolchain.bb b/meta/recipes-core/meta/meta-toolchain.bb
index 40f8d7ea26..feff9ac386 100644
--- a/meta/recipes-core/meta/meta-toolchain.bb
+++ b/meta/recipes-core/meta/meta-toolchain.bb
@@ -1,103 +1,9 @@
1DESCRIPTION = "Meta package for building a installable toolchain" 1DESCRIPTION = "Meta package for building a installable toolchain"
2LICENSE = "MIT" 2LICENSE = "MIT"
3DEPENDS = "opkg-native opkg-utils-native virtual/fakeroot-native sed-native"
4 3
5inherit meta toolchain-scripts 4PR = "r1"
6 5
7SDK_DIR = "${WORKDIR}/sdk" 6LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
8SDK_OUTPUT = "${SDK_DIR}/image" 7 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
9SDK_DEPLOY = "${TMPDIR}/deploy/sdk"
10 8
11SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${TARGET_SYS}" 9inherit populate_sdk
12
13IPKG_HOST = "opkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}"
14IPKG_TARGET = "opkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}/${SDKTARGETSYSROOT}"
15
16TOOLCHAIN_HOST_TASK ?= "task-sdk-host task-cross-canadian-${TRANSLATED_TARGET_ARCH}"
17TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target task-poky-standalone-sdk-target-dbg"
18TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${DISTRO_VERSION}"
19
20RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}"
21
22EXCLUDE_FROM_WORLD = "1"
23
24do_populate_sdk() {
25 rm -rf ${SDK_OUTPUT}
26 mkdir -p ${SDK_OUTPUT}
27 mkdir -p ${SDK_OUTPUT}${localstatedir}/lib/opkg/
28 mkdir -p ${SDK_OUTPUT}/${SDKTARGETSYSROOT}${localstatedir}/lib/opkg/
29
30 rm -f ${IPKGCONF_TARGET}
31 touch ${IPKGCONF_TARGET}
32 rm -f ${IPKGCONF_SDK}
33 touch ${IPKGCONF_SDK}
34
35 package_update_index_ipk
36 package_generate_ipkg_conf
37
38 for arch in ${PACKAGE_ARCHS}; do
39 revipkgarchs="$arch $revipkgarchs"
40 done
41
42 ${IPKG_HOST} update
43 ${IPKG_HOST} install ${TOOLCHAIN_HOST_TASK}
44
45 ${IPKG_TARGET} update
46 ${IPKG_TARGET} install ${TOOLCHAIN_TARGET_TASK}
47
48 install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}${localstatedir_nativesdk}/lib/opkg
49 mv ${SDK_OUTPUT}/var/lib/opkg/* ${SDK_OUTPUT}/${SDKPATHNATIVE}${localstatedir_nativesdk}/lib/opkg/
50 rm -Rf ${SDK_OUTPUT}/var
51
52 # Don't ship any libGL in the SDK
53 rm -rf ${SDK_OUTPUT}/${SDKPATHNATIVE}${libdir_nativesdk}/libGL*
54
55 install -d ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/${sysconfdir}
56 install -m 0644 ${IPKGCONF_TARGET} ${IPKGCONF_SDK} ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/${sysconfdir}/
57
58 install -d ${SDK_OUTPUT}/${SDKPATHNATIVE}/${sysconfdir}
59 install -m 0644 ${IPKGCONF_SDK} ${SDK_OUTPUT}/${SDKPATHNATIVE}/${sysconfdir}/
60
61 # Can copy pstage files here
62 # target_pkgs=`cat ${SDK_OUTPUT}/${SDKTARGETSYSROOT}/var/lib/opkg/status | grep Package: | cut -f 2 -d ' '`
63
64 # Fix or remove broken .la files
65 for i in `find ${SDK_OUTPUT}/${SDKTARGETSYSROOT} -name \*.la`; do
66 sed -i -e "/^dependency_libs=/s,\([[:space:]']\)${base_libdir},\1${SDKTARGETSYSROOT}${base_libdir},g" \
67 -e "/^dependency_libs=/s,\([[:space:]']\)${libdir},\1${SDKTARGETSYSROOT}${libdir},g" \
68 -e "/^dependency_libs=/s,\-\([LR]\)${base_libdir},-\1${SDKTARGETSYSROOT}${base_libdir},g" \
69 -e "/^dependency_libs=/s,\-\([LR]\)${libdir},-\1${SDKTARGETSYSROOT}${libdir},g" \
70 -e 's/^installed=yes$/installed=no/' $i
71 done
72 #rm -f ${SDK_OUTPUT}/${SDKPATHNATIVE}/lib/*.la
73 rm -f ${SDK_OUTPUT}/${SDKPATHNATIVE}${libdir_nativesdk}/*.la
74
75 # Link the ld.so.cache file into the hosts filesystem
76 ln -s /etc/ld.so.cache ${SDK_OUTPUT}/${SDKPATHNATIVE}/etc/ld.so.cache
77
78 # Setup site file for external use
79 siteconfig=${SDK_OUTPUT}/${SDKPATH}/site-config-${MULTIMACH_TARGET_SYS}
80 touch $siteconfig
81 for sitefile in ${CONFIG_SITE} ; do
82 cat $sitefile >> $siteconfig
83 done
84
85 toolchain_create_sdk_env_script
86
87 # Add version information
88 versionfile=${SDK_OUTPUT}/${SDKPATH}/version-${MULTIMACH_TARGET_SYS}
89 touch $versionfile
90 echo 'Distro: ${DISTRO}' >> $versionfile
91 echo 'Distro Version: ${DISTRO_VERSION}' >> $versionfile
92 echo 'Metadata Revision: ${METADATA_REVISION}' >> $versionfile
93 echo 'Timestamp: ${DATETIME}' >> $versionfile
94
95 # Package it up
96 mkdir -p ${SDK_DEPLOY}
97 cd ${SDK_OUTPUT}
98 ${FAKEROOT} tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 .
99}
100
101do_populate_sdk[nostamp] = "1"
102do_populate_sdk[recrdeptask] = "do_package_write"
103addtask populate_sdk before do_build after do_install
diff --git a/meta/recipes-core/ncurses/ncurses-5.7/config.cache b/meta/recipes-core/ncurses/ncurses-5.7/config.cache
new file mode 100644
index 0000000000..6a9217d5bb
--- /dev/null
+++ b/meta/recipes-core/ncurses/ncurses-5.7/config.cache
@@ -0,0 +1,4 @@
1#! /bin/sh
2
3cf_cv_func_nanosleep=yes
4cf_cv_func_mkstemp=yes
diff --git a/meta/recipes-core/ncurses/ncurses-5.7/tic-hang.patch b/meta/recipes-core/ncurses/ncurses-5.7/tic-hang.patch
new file mode 100644
index 0000000000..1678b885c4
--- /dev/null
+++ b/meta/recipes-core/ncurses/ncurses-5.7/tic-hang.patch
@@ -0,0 +1,25 @@
1'tic' of some linux distributions (e.g. fedora 11) hang in an infinite
2loop when processing the original file.
3
4Index: ncurses-5.7/misc/terminfo.src
5===================================================================
6--- ncurses-5.7.orig/misc/terminfo.src
7+++ ncurses-5.7/misc/terminfo.src
8@@ -3706,12 +3706,11 @@ konsole-xf3x|KDE console window with key
9 # The value for kbs reflects local customization rather than the settings used
10 # for XFree86 xterm.
11 konsole-xf4x|KDE console window with keyboard for XFree86 4.x xterm,
12- kend=\EOF, khome=\EOH, use=konsole+pcfkeys,
13- use=konsole-vt100,
14-# Konsole does not implement shifted cursor-keys.
15-konsole+pcfkeys|konsole subset of xterm+pcfkeys,
16- kLFT@, kRIT@, kcbt=\E[Z, kind@, kri@, kDN@, kUP@, use=xterm+pcc2,
17- use=xterm+pcf0,
18+ kend=\EOF, kf1=\EOP, kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R,
19+ kf16=\EO2S, kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~,
20+ kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
21+ kf23=\E[23;2~, kf24=\E[24;2~, kf3=\EOR, kf4=\EOS,
22+ khome=\EOH, use=konsole-vt100,
23 # KDE's "vt100" keyboard has no relationship to any terminal that DEC made, but
24 # it is still useful for deriving the other entries.
25 konsole-vt100|KDE console window with vt100 (sic) keyboard,
diff --git a/meta/recipes-core/ncurses/ncurses/makefile_tweak.patch b/meta/recipes-core/ncurses/ncurses/makefile_tweak.patch
deleted file mode 100644
index 480855bcc6..0000000000
--- a/meta/recipes-core/ncurses/ncurses/makefile_tweak.patch
+++ /dev/null
@@ -1,89 +0,0 @@
1Libtool 2.2.2 needs to be able to use top_builddir. Automake usually exports
2this but ncurses doesn't use automake.
3
4RP 14/4/08
5
6Index: ncurses-5.4/ncurses/Makefile.in
7===================================================================
8--- ncurses-5.4.orig/ncurses/Makefile.in 2008-04-14 12:22:34.000000000 +0100
9+++ ncurses-5.4/ncurses/Makefile.in 2008-04-14 12:22:53.000000000 +0100
10@@ -57,6 +57,7 @@
11 MODEL = @DFT_LWR_MODEL@
12 DESTDIR = @DESTDIR@
13 top_srcdir = @top_srcdir@
14+top_builddir = @top_srcdir@
15 srcdir = @srcdir@
16 prefix = @prefix@
17 exec_prefix = @exec_prefix@
18Index: ncurses-5.4/form/Makefile.in
19===================================================================
20--- ncurses-5.4.orig/form/Makefile.in 2008-04-14 12:30:35.000000000 +0100
21+++ ncurses-5.4/form/Makefile.in 2008-04-14 12:30:59.000000000 +0100
22@@ -51,6 +51,7 @@
23 MODEL = @DFT_LWR_MODEL@
24 DESTDIR = @DESTDIR@
25 srcdir = @srcdir@
26+top_builddir = @top_srcdir@
27 prefix = @prefix@
28 exec_prefix = @exec_prefix@
29 bindir = @bindir@
30Index: ncurses-5.4/menu/Makefile.in
31===================================================================
32--- ncurses-5.4.orig/menu/Makefile.in 2008-04-14 12:29:00.000000000 +0100
33+++ ncurses-5.4/menu/Makefile.in 2008-04-14 12:29:13.000000000 +0100
34@@ -51,6 +51,7 @@
35 MODEL = @DFT_LWR_MODEL@
36 DESTDIR = @DESTDIR@
37 srcdir = @srcdir@
38+top_builddir = @top_srcdir@
39 prefix = @prefix@
40 exec_prefix = @exec_prefix@
41 bindir = @bindir@
42Index: ncurses-5.4/panel/Makefile.in
43===================================================================
44--- ncurses-5.4.orig/panel/Makefile.in 2008-04-14 12:27:40.000000000 +0100
45+++ ncurses-5.4/panel/Makefile.in 2008-04-14 12:27:59.000000000 +0100
46@@ -51,6 +51,7 @@
47 MODEL = @DFT_LWR_MODEL@
48 DESTDIR = @DESTDIR@
49 srcdir = @srcdir@
50+top_builddir = @top_srcdir@
51 prefix = @prefix@
52 exec_prefix = @exec_prefix@
53 bindir = @bindir@
54Index: ncurses-5.4/progs/Makefile.in
55===================================================================
56--- ncurses-5.4.orig/progs/Makefile.in 2008-04-14 12:24:37.000000000 +0100
57+++ ncurses-5.4/progs/Makefile.in 2008-04-14 12:25:06.000000000 +0100
58@@ -54,6 +54,7 @@
59 MODEL = ../@DFT_OBJ_SUBDIR@
60 DESTDIR = @DESTDIR@
61 srcdir = @srcdir@
62+top_builddir = @top_srcdir@
63 prefix = @prefix@
64 exec_prefix = @exec_prefix@
65 bindir = @bindir@
66Index: ncurses-5.4/tack/Makefile.in
67===================================================================
68--- ncurses-5.4.orig/tack/Makefile.in 2008-04-14 12:26:05.000000000 +0100
69+++ ncurses-5.4/tack/Makefile.in 2008-04-14 12:26:26.000000000 +0100
70@@ -22,6 +22,7 @@
71 MODEL = ../@DFT_OBJ_SUBDIR@
72 DESTDIR = @DESTDIR@
73 srcdir = @srcdir@
74+top_builddir = @top_srcdir@
75 prefix = @prefix@
76 exec_prefix = @exec_prefix@
77 bindir = @bindir@
78Index: ncurses-5.4/test/Makefile.in
79===================================================================
80--- ncurses-5.4.orig/test/Makefile.in 2008-04-14 12:32:37.000000000 +0100
81+++ ncurses-5.4/test/Makefile.in 2008-04-14 12:32:56.000000000 +0100
82@@ -43,6 +43,7 @@
83
84 MODEL = ../@DFT_OBJ_SUBDIR@
85 srcdir = @srcdir@
86+top_builddir = @top_srcdir@
87 prefix = @prefix@
88 exec_prefix = @exec_prefix@
89 libdir = @libdir@
diff --git a/meta/recipes-core/ncurses/ncurses/visibility.patch b/meta/recipes-core/ncurses/ncurses/visibility.patch
deleted file mode 100644
index 29cac5f1b8..0000000000
--- a/meta/recipes-core/ncurses/ncurses/visibility.patch
+++ /dev/null
@@ -1,4904 +0,0 @@
1
2#
3# Patch managed by http://www.holgerschurig.de/patcher.html
4#
5
6--- ncurses-5.4/ncurses/Makefile.in~visibility.patch
7+++ ncurses-5.4/ncurses/Makefile.in
8@@ -107,7 +107,7 @@
9 CFLAGS_NORMAL = $(CCFLAGS)
10 CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE
11 CFLAGS_PROFILE = $(CCFLAGS) -pg
12-CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
13+CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@ @LIBOPTS@
14
15 CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
16
17--- ncurses-5.4/panel/Makefile.in~visibility.patch
18+++ ncurses-5.4/panel/Makefile.in
19@@ -88,7 +88,7 @@
20 CFLAGS_NORMAL = $(CCFLAGS)
21 CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE
22 CFLAGS_PROFILE = $(CCFLAGS) -pg
23-CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
24+CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@ @LIBOPTS@
25
26 CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
27
28--- ncurses-5.4/menu/Makefile.in~visibility.patch
29+++ ncurses-5.4/menu/Makefile.in
30@@ -87,7 +87,7 @@
31 CFLAGS_NORMAL = $(CCFLAGS)
32 CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE
33 CFLAGS_PROFILE = $(CCFLAGS) -pg
34-CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
35+CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@ @LIBOPTS@
36
37 CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
38
39--- ncurses-5.4/c++/Makefile.in~visibility.patch
40+++ ncurses-5.4/c++/Makefile.in
41@@ -80,7 +80,7 @@
42 CFLAGS_NORMAL = $(CCFLAGS)
43 CFLAGS_DEBUG = $(CCFLAGS) @CXX_G_OPT@ -DTRACE
44 CFLAGS_PROFILE = $(CCFLAGS) -pg
45-CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
46+CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@ @LIBOPTS@
47
48 CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
49
50--- ncurses-5.4/form/Makefile.in~visibility.patch
51+++ ncurses-5.4/form/Makefile.in
52@@ -88,7 +88,7 @@
53 CFLAGS_NORMAL = $(CCFLAGS)
54 CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE
55 CFLAGS_PROFILE = $(CCFLAGS) -pg
56-CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
57+CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@ @LIBOPTS@
58
59 CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
60
61--- ncurses-5.4/configure.in~visibility.patch
62+++ ncurses-5.4/configure.in
63@@ -34,17 +34,20 @@
64 dnl See http://invisible-island.net/autoconf/ for additional information.
65 dnl
66 dnl ---------------------------------------------------------------------------
67-AC_PREREQ(2.13.20020210)
68+AC_PREREQ(2.59)
69 AC_REVISION($Revision: 1.312 $)
70-AC_INIT(ncurses/base/lib_initscr.c)
71+AC_INIT
72+AC_CONFIG_SRCDIR([ncurses/base/lib_initscr.c])
73 AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
74
75+m4_include([m4/templates.m4])
76+
77 CF_SUBST_NCURSES_VERSION
78
79 CF_WITH_REL_VERSION(NCURSES)
80 CF_WITH_ABI_VERSION
81
82-CF_CHECK_CACHE([AC_CANONICAL_SYSTEM])
83+CF_CHECK_CACHE([AC_CANONICAL_TARGET([])])
84 AC_ARG_WITH(system-type,
85 [ --with-system-type=XXX test: override derived host system-type],
86 [AC_MSG_WARN(overriding system type to $withval)
87@@ -100,7 +103,7 @@
88 CF_GXX_VERSION
89 case $GXX_VERSION in
90 1*|2.[[0-6]]*)
91- GXX=""; CXX=""; ac_cv_prog_gxx=no
92+ GXX=""; CXX=""; ac_cv_cxx_compiler_gnu=no
93 cf_cxx_library=no
94 AC_MSG_WARN(templates do not work)
95 ;;
96@@ -176,7 +179,6 @@
97 AC_SUBST(DESTDIR)
98
99 ###############################################################################
100-CF_HELP_MESSAGE(Build-Tools Needed to Compile Temporary Applications for Cross-compiling:)
101 # If we're cross-compiling, allow the user to override the tools and their
102 # options. The configure script is oriented toward identifying the host
103 # compiler, etc., but we need a build compiler to generate parts of the source.
104@@ -213,7 +215,6 @@
105 AC_SUBST(BUILD_EXEEXT)
106
107 ###############################################################################
108-CF_HELP_MESSAGE(Options to Specify the Libraries Built/Used:)
109
110 ### Options to allow the user to specify the set of libraries which are used.
111 ### Use "--without-normal --with-shared" to allow the default model to be
112@@ -343,11 +344,11 @@
113
114 AC_MSG_CHECKING(for default loader flags)
115 case $DFT_LWR_MODEL in
116-libtool) LD_MODEL='' ;;
117+libtool) LD_MODEL=''; LIBOPTS="-DNCURSES_DLL" ;;
118 normal) LD_MODEL='' ;;
119 debug) LD_MODEL=$CC_G_OPT ;;
120 profile) LD_MODEL='-pg';;
121-shared) LD_MODEL='' ;;
122+shared) LD_MODEL=''; LIBOPTS="-DNCURSES_DLL" ;;
123 esac
124 AC_SUBST(LD_MODEL)dnl the type of link (e.g., -g or -pg)
125 AC_MSG_RESULT($LD_MODEL)
126@@ -363,14 +364,14 @@
127 if test "$CC_SHARED_OPTS" = "unknown"; then
128 for model in $cf_list_models; do
129 if test "$model" = "shared"; then
130- AC_ERROR(Shared libraries are not supported in this version)
131+ AC_MSG_ERROR([Shared libraries are not supported in this version])
132 fi
133 done
134 fi
135
136-###############################################################################
137-CF_HELP_MESSAGE(Fine-Tuning Your Configuration:)
138+AC_SUBST(LIBOPTS)
139
140+###############################################################################
141 ### use option --disable-overwrite to leave out the link to -lcurses
142 AC_MSG_CHECKING(if you wish to install ncurses overwriting curses)
143 AC_ARG_ENABLE(overwrite,
144@@ -450,7 +451,7 @@
145 AC_ARG_ENABLE(big-core,
146 [ --disable-big-core assume machine has little memory],
147 [with_big_core=$enableval],
148- [AC_TRY_RUN([
149+ [AC_RUN_IFELSE([AC_LANG_SOURCE([[
150 #include <stdlib.h>
151 #include <string.h>
152 int main() {
153@@ -459,10 +460,7 @@
154 if (s != 0)
155 s[0] = s[n-1] = 0;
156 exit(s == 0);
157-}],
158- [with_big_core=yes],
159- [with_big_core=no],
160- [with_big_core=no])])
161+}]])],[with_big_core=yes],[with_big_core=no],[with_big_core=no])])
162 AC_MSG_RESULT($with_big_core)
163 test "$with_big_core" = "yes" && AC_DEFINE(HAVE_BIG_CORE)
164
165@@ -477,7 +475,7 @@
166 if test "$with_termcap" != "yes" ; then
167 if test "$use_database" = no ; then
168 if test -z "$with_fallback" ; then
169- AC_ERROR(You have disabled the database w/o specifying fallbacks)
170+ AC_MSG_ERROR([You have disabled the database w/o specifying fallbacks])
171 fi
172 fi
173 AC_DEFINE(PURE_TERMINFO)
174@@ -614,10 +612,10 @@
175 test "$with_rcs_ids" = yes && AC_DEFINE(USE_RCS_IDS)
176
177 ###############################################################################
178+
179 CF_MAN_PAGES([ captoinfo clear infocmp infotocap tic toe tput ])
180
181 ###############################################################################
182-CF_HELP_MESSAGE(Extensions:)
183
184 ### Note that some functions (such as const) are normally disabled anyway.
185 AC_MSG_CHECKING(if you want to build with function extensions)
186@@ -683,7 +681,6 @@
187
188 ###############################################################################
189 # These options are relatively safe to experiment with.
190-CF_HELP_MESSAGE(Development Code:)
191 AC_MSG_CHECKING(if you want all development code)
192 AC_ARG_WITH(develop,
193 [ --with-develop enable all development options],
194@@ -719,7 +716,6 @@
195
196 ###############################################################################
197 # These are just experimental, probably should not be in a package:
198-CF_HELP_MESSAGE(Experimental Code:)
199
200 AC_MSG_CHECKING(if you do not want to assume colors are white-on-black)
201 AC_ARG_ENABLE(assumed-color,
202@@ -828,7 +824,6 @@
203 AC_SUBST(TERMINFO_CAPS)
204
205 ###############################################################################
206-CF_HELP_MESSAGE(Testing/development Options:)
207
208 ### use option --disable-echo to suppress full display compiling commands
209 AC_MSG_CHECKING(if you want to display full commands during build)
210@@ -931,7 +926,7 @@
211 AC_SUBST(MATH_LIB)
212
213 ### Checks for header files.
214-AC_STDC_HEADERS
215+AC_HEADER_STDC([])
216 AC_HEADER_DIRENT
217 AC_HEADER_TIME
218 CF_REGEX
219@@ -965,7 +960,7 @@
220 CF_SYS_TIME_SELECT
221
222 ### checks for compiler characteristics
223-AC_LANG_C
224+AC_LANG([C])
225 AC_C_CONST
226 AC_C_INLINE
227 test "$ac_cv_c_inline" != no && AC_DEFINE(CC_HAS_INLINE_FUNCS)
228@@ -1040,7 +1035,7 @@
229
230 # Check for C++ compiler characteristics (and ensure that it's there!)
231 if test -n "$CXX" ; then
232- AC_LANG_CPLUSPLUS
233+ AC_LANG([C++])
234 CF_STDCPP_LIBRARY
235
236 case $GXX_VERSION in
237@@ -1135,7 +1130,6 @@
238 fi
239 AC_SUBST(USE_CXX_BOOL)
240
241-CF_HELP_MESSAGE(Ada95 Binding Options:)
242
243 dnl Check for availability of GNU Ada Translator (GNAT).
244 dnl At the moment we support no other Ada95 compiler.
245@@ -1309,15 +1303,16 @@
246
247 ################################################################################
248 test "$use_database" = yes && SUB_MAKEFILES="$SUB_MAKEFILES misc/run_tic.sh:misc/run_tic.in"
249-AC_OUTPUT( \
250+AC_CONFIG_FILES([\
251 include/MKterm.h.awk \
252 include/curses.head:include/curses.h.in \
253 include/termcap.h \
254 include/unctrl.h \
255 $SUB_MAKEFILES \
256- Makefile,[
257+ Makefile])
258+AC_CONFIG_COMMANDS([default],[
259 CF_LIB_RULES
260-],[
261+],[[
262 ### Special initialization commands, used to pass information from the
263 ### configuration-run into config.status
264
265@@ -1348,5 +1343,6 @@
266 host="$host"
267 target="$target"
268
269-],cat)dnl
270+]])
271+AC_OUTPUT
272 ${MAKE-make} preinstall
273--- ncurses-5.4/include/ncurses_dll.h~visibility.patch
274+++ ncurses-5.4/include/ncurses_dll.h
275@@ -7,8 +7,8 @@
276 /* but this structure may be useful at some point for an MSVC build */
277 /* so, for now unconditionally define the important flags */
278 /* "the right way" for proper static and dll+auto-import behavior */
279-#undef NCURSES_DLL
280-#define NCURSES_STATIC
281+//#undef NCURSES_DLL
282+//#define NCURSES_STATIC
283
284 #if defined(__CYGWIN__)
285 # if defined(NCURSES_DLL)
286@@ -32,12 +32,20 @@
287 # endif
288 # define NCURSES_API __cdecl
289 # define NCURSES_EXPORT(type) NCURSES_IMPEXP type NCURSES_API
290-# define NCURSES_EXPORT_VAR(type) NCURSES_IMPEXP type
291+# define NCURSES_EXPORT_VAR(var) var NCURSES_IMPEXP
292 #endif
293
294 /* Take care of non-cygwin platforms */
295 #if !defined(NCURSES_IMPEXP)
296-# define NCURSES_IMPEXP /* nothing */
297+# if defined(GCC_HASCLASSVISIBILITY)
298+# if defined(NCURSES_DLL)
299+# define NCURSES_IMPEXP __attribute__ ((visibility("default")))
300+# else
301+# define NCURSES_IMPEXP /* nothing */
302+# endif
303+# else
304+# define NCURSES_IMPEXP /* nothing */
305+# endif
306 #endif
307 #if !defined(NCURSES_API)
308 # define NCURSES_API /* nothing */
309@@ -46,7 +54,7 @@
310 # define NCURSES_EXPORT(type) NCURSES_IMPEXP type NCURSES_API
311 #endif
312 #if !defined(NCURSES_EXPORT_VAR)
313-# define NCURSES_EXPORT_VAR(type) NCURSES_IMPEXP type
314+# define NCURSES_EXPORT_VAR(var) var NCURSES_IMPEXP
315 #endif
316
317 #endif /* NCURSES_DLL_H_incl */
318--- ncurses-5.4/form/fty_alnum.c~visibility.patch
319+++ ncurses-5.4/form/fty_alnum.c
320@@ -132,6 +132,6 @@
321 NULL
322 };
323
324-NCURSES_EXPORT_VAR(FIELDTYPE*) TYPE_ALNUM = &typeALNUM;
325+FIELDTYPE* NCURSES_EXPORT_VAR(TYPE_ALNUM) = &typeALNUM;
326
327 /* fty_alnum.c ends here */
328--- ncurses-5.4/form/fty_alpha.c~visibility.patch
329+++ ncurses-5.4/form/fty_alpha.c
330@@ -133,6 +133,6 @@
331 NULL
332 };
333
334-NCURSES_EXPORT_VAR(FIELDTYPE*) TYPE_ALPHA = &typeALPHA;
335+FIELDTYPE* NCURSES_EXPORT_VAR(TYPE_ALPHA) = &typeALPHA;
336
337 /* fty_alpha.c ends here */
338--- ncurses-5.4/form/fld_newftyp.c~visibility.patch
339+++ ncurses-5.4/form/fld_newftyp.c
340@@ -48,7 +48,7 @@
341 NULL /* enumerate previous function */
342 };
343
344-NCURSES_EXPORT_VAR(const FIELDTYPE*) _nc_Default_FieldType = &default_fieldtype;
345+const FIELDTYPE* NCURSES_EXPORT_VAR(_nc_Default_FieldType) = &default_fieldtype;
346
347 /*---------------------------------------------------------------------------
348 | Facility : libnform
349--- ncurses-5.4/form/form.h~visibility.patch
350+++ ncurses-5.4/form/form.h
351@@ -248,24 +248,24 @@
352 /*************************
353 * standard field types *
354 *************************/
355-extern NCURSES_EXPORT_VAR(FIELDTYPE *) TYPE_ALPHA;
356-extern NCURSES_EXPORT_VAR(FIELDTYPE *) TYPE_ALNUM;
357-extern NCURSES_EXPORT_VAR(FIELDTYPE *) TYPE_ENUM;
358-extern NCURSES_EXPORT_VAR(FIELDTYPE *) TYPE_INTEGER;
359-extern NCURSES_EXPORT_VAR(FIELDTYPE *) TYPE_NUMERIC;
360-extern NCURSES_EXPORT_VAR(FIELDTYPE *) TYPE_REGEXP;
361+extern FIELDTYPE * NCURSES_EXPORT_VAR(TYPE_ALPHA);
362+extern FIELDTYPE * NCURSES_EXPORT_VAR(TYPE_ALNUM);
363+extern FIELDTYPE * NCURSES_EXPORT_VAR(TYPE_ENUM);
364+extern FIELDTYPE * NCURSES_EXPORT_VAR(TYPE_INTEGER);
365+extern FIELDTYPE * NCURSES_EXPORT_VAR(TYPE_NUMERIC);
366+extern FIELDTYPE * NCURSES_EXPORT_VAR(TYPE_REGEXP);
367
368 /************************************
369 * built-in additional field types *
370 * They are not defined in SVr4 *
371 ************************************/
372-extern NCURSES_EXPORT_VAR(FIELDTYPE *) TYPE_IPV4; /* Internet IP Version 4 address */
373+extern FIELDTYPE * NCURSES_EXPORT_VAR(TYPE_IPV4); /* Internet IP Version 4 address */
374
375 /***********************
376 * Default objects *
377 ***********************/
378-extern NCURSES_EXPORT_VAR(FORM *) _nc_Default_Form;
379-extern NCURSES_EXPORT_VAR(FIELD *) _nc_Default_Field;
380+extern FORM * NCURSES_EXPORT_VAR(_nc_Default_Form);
381+extern FIELD * NCURSES_EXPORT_VAR(_nc_Default_Field);
382
383
384 /***********************
385--- ncurses-5.4/form/fty_int.c~visibility.patch
386+++ ncurses-5.4/form/fty_int.c
387@@ -155,6 +155,6 @@
388 NULL
389 };
390
391-NCURSES_EXPORT_VAR(FIELDTYPE*) TYPE_INTEGER = &typeINTEGER;
392+FIELDTYPE* NCURSES_EXPORT_VAR(TYPE_INTEGER) = &typeINTEGER;
393
394 /* fty_int.c ends here */
395--- ncurses-5.4/form/fty_num.c~visibility.patch
396+++ ncurses-5.4/form/fty_num.c
397@@ -190,6 +190,6 @@
398 NULL
399 };
400
401-NCURSES_EXPORT_VAR(FIELDTYPE*) TYPE_NUMERIC = &typeNUMERIC;
402+FIELDTYPE* NCURSES_EXPORT_VAR(TYPE_NUMERIC) = &typeNUMERIC;
403
404 /* fty_num.c ends here */
405--- ncurses-5.4/form/fty_regex.c~visibility.patch
406+++ ncurses-5.4/form/fty_regex.c
407@@ -252,6 +252,6 @@
408 NULL
409 };
410
411-NCURSES_EXPORT_VAR(FIELDTYPE*) TYPE_REGEXP = &typeREGEXP;
412+FIELDTYPE* NCURSES_EXPORT_VAR(TYPE_REGEXP) = &typeREGEXP;
413
414 /* fty_regex.c ends here */
415--- ncurses-5.4/form/frm_def.c~visibility.patch
416+++ ncurses-5.4/form/frm_def.c
417@@ -60,7 +60,7 @@
418 NULL /* fieldterm */
419 };
420
421-NCURSES_EXPORT_VAR(FORM *) _nc_Default_Form = &default_form;
422+FORM * NCURSES_EXPORT_VAR(_nc_Default_Form) = &default_form;
423
424 /*---------------------------------------------------------------------------
425 | Facility : libnform
426--- ncurses-5.4/form/fld_def.c~visibility.patch
427+++ ncurses-5.4/form/fld_def.c
428@@ -63,7 +63,7 @@
429 (char *)0 /* usrptr */
430 };
431
432-NCURSES_EXPORT_VAR(FIELD *) _nc_Default_Field = &default_field;
433+FIELD * NCURSES_EXPORT_VAR(_nc_Default_Field) = &default_field;
434
435 /*---------------------------------------------------------------------------
436 | Facility : libnform
437--- ncurses-5.4/form/fty_enum.c~visibility.patch
438+++ ncurses-5.4/form/fty_enum.c
439@@ -290,6 +290,6 @@
440 Previous_Enum
441 };
442
443-NCURSES_EXPORT_VAR(FIELDTYPE*) TYPE_ENUM = &typeENUM;
444+FIELDTYPE* NCURSES_EXPORT_VAR(TYPE_ENUM) = &typeENUM;
445
446 /* fty_enum.c ends here */
447--- ncurses-5.4/form/fty_ipv4.c~visibility.patch
448+++ ncurses-5.4/form/fty_ipv4.c
449@@ -76,6 +76,6 @@
450 NULL
451 };
452
453-NCURSES_EXPORT_VAR(FIELDTYPE*) TYPE_IPV4 = &typeIPV4;
454+FIELDTYPE* NCURSES_EXPORT_VAR(TYPE_IPV4) = &typeIPV4;
455
456 /* fty_ipv4.c ends here */
457--- ncurses-5.4/form/form.priv.h~visibility.patch
458+++ ncurses-5.4/form/form.priv.h
459@@ -112,7 +112,7 @@
460 #define C_BLANK ' '
461 #define is_blank(c) ((c)==C_BLANK)
462
463-extern NCURSES_EXPORT_VAR(const FIELDTYPE *) _nc_Default_FieldType;
464+extern const FIELDTYPE * NCURSES_EXPORT_VAR(_nc_Default_FieldType);
465
466 extern NCURSES_EXPORT(TypeArgument *) _nc_Make_Argument (const FIELDTYPE*,va_list*,int*);
467 extern NCURSES_EXPORT(TypeArgument *) _nc_Copy_Argument (const FIELDTYPE*,const TypeArgument*, int*);
468--- ncurses-5.4/include/tic.h~visibility.patch
469+++ ncurses-5.4/include/tic.h
470@@ -117,7 +117,7 @@
471 #define DEBUG(n, a) /*nothing*/
472 #endif
473
474-extern NCURSES_EXPORT_VAR(unsigned) _nc_tracing;
475+extern unsigned NCURSES_EXPORT_VAR(_nc_tracing);
476 extern NCURSES_EXPORT(void) _nc_tracef (char *, ...) GCC_PRINTFLIKE(1,2);
477 extern NCURSES_EXPORT(const char *) _nc_visbuf (const char *);
478 extern NCURSES_EXPORT(const char *) _nc_visbuf2 (int, const char *);
479@@ -151,7 +151,7 @@
480 char *tk_valstring; /* value of capability (if a string) */
481 };
482
483-extern NCURSES_EXPORT_VAR(struct token) _nc_curr_token;
484+extern struct token NCURSES_EXPORT_VAR(_nc_curr_token);
485
486 /*
487 * List of keynames with their corresponding code.
488@@ -161,7 +161,7 @@
489 int code;
490 };
491
492-extern NCURSES_EXPORT_VAR(const struct kn) _nc_key_names[];
493+extern const struct kn NCURSES_EXPORT_VAR(_nc_key_names[]);
494
495 /*
496 * Offsets to string capabilities, with the corresponding functionkey
497@@ -179,7 +179,7 @@
498
499 #else
500
501-extern NCURSES_EXPORT_VAR(struct tinfo_fkeys) _nc_tinfo_fkeys[];
502+extern struct tinfo_fkeys NCURSES_EXPORT_VAR(_nc_tinfo_fkeys[]);
503
504 #endif
505
506@@ -204,11 +204,11 @@
507 const char *source;
508 };
509
510-extern NCURSES_EXPORT_VAR(const struct name_table_entry * const) _nc_info_hash_table[];
511-extern NCURSES_EXPORT_VAR(const struct name_table_entry * const) _nc_cap_hash_table[];
512+extern const struct name_table_entry * const NCURSES_EXPORT_VAR(_nc_info_hash_table[]);
513+extern const struct name_table_entry * const NCURSES_EXPORT_VAR(_nc_cap_hash_table[]);
514
515-extern NCURSES_EXPORT_VAR(const struct alias) _nc_capalias_table[];
516-extern NCURSES_EXPORT_VAR(const struct alias) _nc_infoalias_table[];
517+extern const struct alias NCURSES_EXPORT_VAR(_nc_capalias_table[]);
518+extern const struct alias NCURSES_EXPORT_VAR(_nc_infoalias_table[]);
519
520 extern NCURSES_EXPORT(const struct name_table_entry *) _nc_get_table (bool);
521 extern NCURSES_EXPORT(const struct name_table_entry * const *) _nc_get_hash_table (bool);
522@@ -255,13 +255,13 @@
523 extern NCURSES_EXPORT(void) _nc_panic_mode (char);
524 extern NCURSES_EXPORT(void) _nc_push_token (int);
525 extern NCURSES_EXPORT(void) _nc_reset_input (FILE *, char *);
526-extern NCURSES_EXPORT_VAR(int) _nc_curr_col;
527-extern NCURSES_EXPORT_VAR(int) _nc_curr_line;
528-extern NCURSES_EXPORT_VAR(int) _nc_syntax;
529-extern NCURSES_EXPORT_VAR(long) _nc_comment_end;
530-extern NCURSES_EXPORT_VAR(long) _nc_comment_start;
531-extern NCURSES_EXPORT_VAR(long) _nc_curr_file_pos;
532-extern NCURSES_EXPORT_VAR(long) _nc_start_line;
533+extern int NCURSES_EXPORT_VAR(_nc_curr_col);
534+extern int NCURSES_EXPORT_VAR(_nc_curr_line);
535+extern int NCURSES_EXPORT_VAR(_nc_syntax);
536+extern long NCURSES_EXPORT_VAR(_nc_comment_end);
537+extern long NCURSES_EXPORT_VAR(_nc_comment_start);
538+extern long NCURSES_EXPORT_VAR(_nc_curr_file_pos);
539+extern long NCURSES_EXPORT_VAR(_nc_start_line);
540 #define SYN_TERMINFO 0
541 #define SYN_TERMCAP 1
542
543@@ -272,7 +272,7 @@
544 extern NCURSES_EXPORT(void) _nc_syserr_abort (const char *const,...) GCC_PRINTFLIKE(1,2) GCC_NORETURN;
545 extern NCURSES_EXPORT(void) _nc_err_abort (const char *const,...) GCC_PRINTFLIKE(1,2) GCC_NORETURN;
546 extern NCURSES_EXPORT(void) _nc_warning (const char *const,...) GCC_PRINTFLIKE(1,2);
547-extern NCURSES_EXPORT_VAR(bool) _nc_suppress_warnings;
548+extern bool NCURSES_EXPORT_VAR(_nc_suppress_warnings);
549
550 /* comp_expand.c: expand string into readable form */
551 extern NCURSES_EXPORT(char *) _nc_tic_expand (const char *, bool, int);
552@@ -287,12 +287,12 @@
553 /* lib_tparm.c */
554 #define NUM_PARM 9
555
556-extern NCURSES_EXPORT_VAR(int) _nc_tparm_err;
557+extern int NCURSES_EXPORT_VAR(_nc_tparm_err);
558
559 extern NCURSES_EXPORT(int) _nc_tparm_analyze(const char *string, char *p_is_s[NUM_PARM], int *popcount);
560
561 /* lib_tputs.c */
562-extern NCURSES_EXPORT_VAR(int) _nc_nulls_sent; /* Add one for every null sent */
563+extern int NCURSES_EXPORT_VAR(_nc_nulls_sent); /* Add one for every null sent */
564
565 /* comp_main.c: compiler main */
566 extern const char * _nc_progname;
567--- ncurses-5.4/include/MKterm.h.awk.in~visibility.patch
568+++ ncurses-5.4/include/MKterm.h.awk.in
569@@ -228,9 +228,9 @@
570 print " char * _termname; /* used for termname() */"
571 print "} TERMINAL;"
572 print ""
573- print "extern NCURSES_EXPORT_VAR(TERMINAL *) cur_term;"
574+ print "extern TERMINAL * NCURSES_EXPORT_VAR(cur_term);"
575 print ""
576- print "#if BROKEN_LINKER"
577+ print "#if defined(BROKEN_LINKER)"
578 print "#define boolnames _nc_boolnames()"
579 print "#define boolcodes _nc_boolcodes()"
580 print "#define boolfnames _nc_boolfnames()"
581@@ -253,15 +253,15 @@
582 print ""
583 print "#else"
584 print ""
585- print "extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolnames[];"
586- print "extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[];"
587- print "extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolfnames[];"
588- print "extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) numnames[];"
589- print "extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) numcodes[];"
590- print "extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) numfnames[];"
591- print "extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) strnames[];"
592- print "extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) strcodes[];"
593- print "extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) strfnames[];"
594+ print "extern NCURSES_CONST char * const NCURSES_EXPORT_VAR(boolnames[]);"
595+ print "extern NCURSES_CONST char * const NCURSES_EXPORT_VAR(boolcodes[]);"
596+ print "extern NCURSES_CONST char * const NCURSES_EXPORT_VAR(boolfnames[]);"
597+ print "extern NCURSES_CONST char * const NCURSES_EXPORT_VAR(numnames[]);"
598+ print "extern NCURSES_CONST char * const NCURSES_EXPORT_VAR(numcodes[]);"
599+ print "extern NCURSES_CONST char * const NCURSES_EXPORT_VAR(numfnames[]);"
600+ print "extern NCURSES_CONST char * const NCURSES_EXPORT_VAR(strnames[]);"
601+ print "extern NCURSES_CONST char * const NCURSES_EXPORT_VAR(strcodes[]);"
602+ print "extern NCURSES_CONST char * const NCURSES_EXPORT_VAR(strfnames[]);"
603 print ""
604 print "#endif"
605 print ""
606@@ -287,7 +287,7 @@
607 print "#if !defined(__NCURSES_H)"
608 print "extern NCURSES_EXPORT(char *) tigetstr (NCURSES_CONST char *);"
609 print "extern NCURSES_EXPORT(char *) tparm (NCURSES_CONST char *, ...);"
610- print "extern NCURSES_EXPORT_VAR(char) ttytype[];"
611+ print "extern char NCURSES_EXPORT_VAR(ttytype[]);"
612 print "extern NCURSES_EXPORT(int) putp (const char *);"
613 print "extern NCURSES_EXPORT(int) tigetflag (NCURSES_CONST char *);"
614 print "extern NCURSES_EXPORT(int) tigetnum (NCURSES_CONST char *);"
615--- ncurses-5.4/include/termcap.h.in~visibility.patch
616+++ ncurses-5.4/include/termcap.h.in
617@@ -54,10 +54,10 @@
618 #undef NCURSES_OSPEED
619 #define NCURSES_OSPEED @NCURSES_OSPEED@
620
621-extern NCURSES_EXPORT_VAR(char) PC;
622-extern NCURSES_EXPORT_VAR(char *) UP;
623-extern NCURSES_EXPORT_VAR(char *) BC;
624-extern NCURSES_EXPORT_VAR(NCURSES_OSPEED) ospeed;
625+extern char NCURSES_EXPORT_VAR(PC);
626+extern char * NCURSES_EXPORT_VAR(UP);
627+extern char * NCURSES_EXPORT_VAR(BC);
628+extern NCURSES_OSPEED NCURSES_EXPORT_VAR(ospeed);
629
630 #if !defined(NCURSES_TERM_H_incl)
631 extern NCURSES_EXPORT(char *) tgetstr (NCURSES_CONST char *, char **);
632--- ncurses-5.4/include/term_entry.h~visibility.patch
633+++ ncurses-5.4/include/term_entry.h
634@@ -90,8 +90,8 @@
635 #define ExtNumname(tp,i,names) EXT_NAMES(tp, i, NUMCOUNT, (i - (tp->num_Numbers - tp->ext_Numbers)) + tp->ext_Booleans, names)
636 #define ExtStrname(tp,i,names) EXT_NAMES(tp, i, STRCOUNT, (i - (tp->num_Strings - tp->ext_Strings)) + (tp->ext_Numbers + tp->ext_Booleans), names)
637
638-extern NCURSES_EXPORT_VAR(ENTRY *) _nc_head;
639-extern NCURSES_EXPORT_VAR(ENTRY *) _nc_tail;
640+extern ENTRY * NCURSES_EXPORT_VAR(_nc_head);
641+extern ENTRY * NCURSES_EXPORT_VAR(_nc_tail);
642 #define for_entry_list(qp) for (qp = _nc_head; qp; qp = qp->next)
643
644 #define MAX_LINE 132
645@@ -135,8 +135,8 @@
646
647 /* parse_entry.c: entry-parsing code */
648 #if NCURSES_XNAMES
649-extern NCURSES_EXPORT_VAR(bool) _nc_user_definable;
650-extern NCURSES_EXPORT_VAR(bool) _nc_disable_period;
651+extern bool NCURSES_EXPORT_VAR(_nc_user_definable);
652+extern bool NCURSES_EXPORT_VAR(_nc_disable_period);
653 #endif
654 extern NCURSES_EXPORT(int) _nc_parse_entry (ENTRY *, int, bool);
655 extern NCURSES_EXPORT(int) _nc_capcmp (const char *, const char *);
656--- ncurses-5.4/include/curses.h.in~visibility.patch
657+++ ncurses-5.4/include/curses.h.in
658@@ -171,8 +171,8 @@
659 #define WA_VERTICAL A_VERTICAL
660
661 /* colors */
662-extern NCURSES_EXPORT_VAR(int) COLORS;
663-extern NCURSES_EXPORT_VAR(int) COLOR_PAIRS;
664+extern int NCURSES_EXPORT_VAR(COLORS);
665+extern int NCURSES_EXPORT_VAR(COLOR_PAIRS);
666
667 #define COLOR_BLACK 0
668 #define COLOR_RED 1
669@@ -186,10 +186,10 @@
670 /* line graphics */
671
672 #if @BROKEN_LINKER@
673-extern NCURSES_EXPORT_VAR(chtype*) _nc_acs_map(void);
674+extern chtype* NCURSES_EXPORT_VAR(_nc_acs_map)(void);
675 #define acs_map (_nc_acs_map())
676 #else
677-extern NCURSES_EXPORT_VAR(chtype) acs_map[];
678+extern chtype NCURSES_EXPORT_VAR(acs_map[]);
679 #endif
680
681 #define NCURSES_ACS(c) (acs_map[(unsigned char)c])
682@@ -369,20 +369,20 @@
683 #endif
684 };
685
686-extern NCURSES_EXPORT_VAR(WINDOW *) stdscr;
687-extern NCURSES_EXPORT_VAR(WINDOW *) curscr;
688-extern NCURSES_EXPORT_VAR(WINDOW *) newscr;
689+extern WINDOW * NCURSES_EXPORT_VAR(stdscr);
690+extern WINDOW * NCURSES_EXPORT_VAR(curscr);
691+extern WINDOW * NCURSES_EXPORT_VAR(newscr);
692
693-extern NCURSES_EXPORT_VAR(int) LINES;
694-extern NCURSES_EXPORT_VAR(int) COLS;
695-extern NCURSES_EXPORT_VAR(int) TABSIZE;
696+extern int NCURSES_EXPORT_VAR(LINES);
697+extern int NCURSES_EXPORT_VAR(COLS);
698+extern int NCURSES_EXPORT_VAR(TABSIZE);
699
700 /*
701 * This global was an undocumented feature under AIX curses.
702 */
703-extern NCURSES_EXPORT_VAR(int) ESCDELAY; /* ESC expire time in milliseconds */
704+extern int NCURSES_EXPORT_VAR(ESCDELAY); /* ESC expire time in milliseconds */
705
706-extern NCURSES_EXPORT_VAR(char) ttytype[]; /* needed for backward compatibility */
707+extern char NCURSES_EXPORT_VAR(ttytype[]); /* needed for backward compatibility */
708
709 /*
710 * These functions are extensions - not in XSI Curses.
711--- ncurses-5.4/include/curses.tail~visibility.patch
712+++ ncurses-5.4/include/curses.tail
713@@ -110,7 +110,7 @@
714 #define TRACE_MAXIMUM ((1 << TRACE_SHIFT) - 1) /* maximum trace level */
715
716 #if defined(TRACE) || defined(NCURSES_TEST)
717-extern NCURSES_EXPORT_VAR(int) _nc_optimize_enable; /* enable optimizations */
718+extern int NCURSES_EXPORT_VAR(_nc_optimize_enable); /* enable optimizations */
719 #ifdef _XOPEN_SOURCE_EXTENDED
720 extern NCURSES_EXPORT(const char *) _nc_viswbuf(const wchar_t *);
721 #endif
722--- ncurses-5.4/include/curses.wide~visibility.patch
723+++ ncurses-5.4/include/curses.wide
724@@ -3,7 +3,7 @@
725
726 /* $Id: curses.wide,v 1.28 2004/01/03 20:35:14 tom Exp $ */
727
728-extern NCURSES_EXPORT_VAR(cchar_t *) _nc_wacs;
729+extern cchar_t * NCURSES_EXPORT_VAR(_nc_wacs);
730
731 #define NCURSES_WACS(c) (&_nc_wacs[(unsigned char)c])
732
733--- ncurses-5.4/menu/menu.priv.h~visibility.patch
734+++ ncurses-5.4/menu/menu.priv.h
735@@ -49,8 +49,8 @@
736 /* Backspace code */
737 #define BS (8)
738
739-extern NCURSES_EXPORT_VAR(ITEM) _nc_Default_Item;
740-extern NCURSES_EXPORT_VAR(MENU) _nc_Default_Menu;
741+extern ITEM NCURSES_EXPORT_VAR(_nc_Default_Item);
742+extern MENU NCURSES_EXPORT_VAR(_nc_Default_Menu);
743
744 /* Normalize item to default if none was given */
745 #define Normalize_Item( item ) ((item)=(item)?(item):&_nc_Default_Item)
746--- ncurses-5.4/menu/m_global.c~visibility.patch
747+++ ncurses-5.4/menu/m_global.c
748@@ -41,7 +41,7 @@
749
750 static char mark[] = "-";
751
752-NCURSES_EXPORT_VAR(MENU) _nc_Default_Menu = {
753+MENU NCURSES_EXPORT_VAR(_nc_Default_Menu) = {
754 16, /* Nr. of chars high */
755 1, /* Nr. of chars wide */
756 16, /* Nr. of items high */
757@@ -80,7 +80,7 @@
758 0 /* status */
759 };
760
761-NCURSES_EXPORT_VAR(ITEM) _nc_Default_Item = {
762+ITEM NCURSES_EXPORT_VAR(_nc_Default_Item) = {
763 { (char *)0, 0 }, /* name */
764 { (char *)0, 0 }, /* description */
765 (MENU *)0, /* Pointer to parent menu */
766--- ncurses-5.4/ncurses/tty/lib_mvcur.c~visibility.patch
767+++ ncurses-5.4/ncurses/tty/lib_mvcur.c
768@@ -937,7 +937,7 @@
769 }
770
771 #if defined(TRACE) || defined(NCURSES_TEST)
772-NCURSES_EXPORT_VAR(int) _nc_optimize_enable = OPTIMIZE_ALL;
773+int NCURSES_EXPORT_VAR(_nc_optimize_enable) = OPTIMIZE_ALL;
774 #endif
775
776 #if defined(MAIN) || defined(NCURSES_TEST)
777@@ -950,7 +950,7 @@
778 #include <tic.h>
779 #include <dump_entry.h>
780
781-NCURSES_EXPORT_VAR(const char *) _nc_progname = "mvcur";
782+const char * NCURSES_EXPORT_VAR(_nc_progname) = "mvcur";
783
784 static unsigned long xmits;
785
786--- ncurses-5.4/ncurses/tty/hardscroll.c~visibility.patch
787+++ ncurses-5.4/ncurses/tty/hardscroll.c
788@@ -151,8 +151,7 @@
789
790 # undef screen_lines
791 # define screen_lines MAXLINES
792-NCURSES_EXPORT_VAR(int)
793-oldnums[MAXLINES];
794+int NCURSES_EXPORT_VAR(oldnums[MAXLINES]);
795 # define OLDNUM(n) oldnums[n]
796 # define _tracef printf
797 # undef TR
798@@ -163,8 +162,7 @@
799 /* OLDNUM(n) indicates which line will be shifted to the position n.
800 if OLDNUM(n) == _NEWINDEX, then the line n in new, not shifted from
801 somewhere. */
802-NCURSES_EXPORT_VAR(int *)
803-_nc_oldnums = 0;
804+int * NCURSES_EXPORT_VAR(_nc_oldnums) = 0;
805
806 # if USE_HASHMAP
807 static int oldnums_allocated = 0;
808--- ncurses-5.4/ncurses/base/lib_getch.c~visibility.patch
809+++ ncurses-5.4/ncurses/base/lib_getch.c
810@@ -44,8 +44,7 @@
811
812 #include <fifo_defs.h>
813
814-NCURSES_EXPORT_VAR(int)
815-ESCDELAY = 1000; /* max interval betw. chars in funkeys, in millisecs */
816+int NCURSES_EXPORT_VAR(ESCDELAY) = 1000; /* max interval betw. chars in funkeys, in millisecs */
817
818 #ifdef NCURSES_WGETCH_EVENTS
819 #define TWAIT_MASK 7
820--- ncurses-5.4/ncurses/base/lib_slk.c~visibility.patch
821+++ ncurses-5.4/ncurses/base/lib_slk.c
822@@ -47,8 +47,7 @@
823 * We'd like to move these into the screen context structure, but cannot,
824 * because slk_init() is called before initscr()/newterm().
825 */
826-NCURSES_EXPORT_VAR(int)
827-_nc_slk_format = 0; /* one more than format specified in slk_init() */
828+int NCURSES_EXPORT_VAR(_nc_slk_format) = 0; /* one more than format specified in slk_init() */
829
830 /*
831 * Paint the info line for the PC style SLK emulation.
832--- ncurses-5.4/ncurses/base/lib_color.c~visibility.patch
833+++ ncurses-5.4/ncurses/base/lib_color.c
834@@ -48,8 +48,8 @@
835 * historical reasons. So we assign them in start_color() and also in
836 * set_term()'s screen-switching logic.
837 */
838-NCURSES_EXPORT_VAR(int) COLOR_PAIRS = 0;
839-NCURSES_EXPORT_VAR(int) COLORS = 0;
840+int NCURSES_EXPORT_VAR(COLOR_PAIRS) = 0;
841+int NCURSES_EXPORT_VAR(COLORS) = 0;
842
843 #define DATA(r,g,b) {r,g,b, 0,0,0, 0}
844
845--- ncurses-5.4/ncurses/tinfo/lib_termcap.c~visibility.patch
846+++ ncurses-5.4/ncurses/tinfo/lib_termcap.c
847@@ -50,8 +50,8 @@
848 #define L_BRACK '['
849 #define SHIFT_OUT 017 /* ^N */
850
851-NCURSES_EXPORT_VAR(char *) UP = 0;
852-NCURSES_EXPORT_VAR(char *) BC = 0;
853+char * NCURSES_EXPORT_VAR(UP) = 0;
854+char * NCURSES_EXPORT_VAR(BC) = 0;
855
856 static char *fix_me = 0;
857
858--- ncurses-5.4/ncurses/tinfo/lib_cur_term.c~visibility.patch
859+++ ncurses-5.4/ncurses/tinfo/lib_cur_term.c
860@@ -42,7 +42,7 @@
861
862 MODULE_ID("$Id: lib_cur_term.c,v 1.13 2003/12/27 18:21:30 tom Exp $")
863
864-NCURSES_EXPORT_VAR(TERMINAL *) cur_term = 0;
865+TERMINAL * NCURSES_EXPORT_VAR(cur_term) = 0;
866
867 NCURSES_EXPORT(TERMINAL *)
868 set_curterm(TERMINAL * termp)
869--- ncurses-5.4/ncurses/tinfo/lib_setup.c~visibility.patch
870+++ ncurses-5.4/ncurses/tinfo/lib_setup.c
871@@ -91,10 +91,10 @@
872 # endif
873 #endif
874
875-NCURSES_EXPORT_VAR(char) ttytype[NAMESIZE] = "";
876-NCURSES_EXPORT_VAR(int) LINES = 0;
877-NCURSES_EXPORT_VAR(int) COLS = 0;
878-NCURSES_EXPORT_VAR(int) TABSIZE = 0;
879+char NCURSES_EXPORT_VAR(ttytype[NAMESIZE]) = "";
880+int NCURSES_EXPORT_VAR(LINES) = 0;
881+int NCURSES_EXPORT_VAR(COLS) = 0;
882+int NCURSES_EXPORT_VAR(TABSIZE) = 0;
883
884 static int _use_env = TRUE;
885
886--- ncurses-5.4/ncurses/tinfo/MKnames.awk~visibility.patch
887+++ ncurses-5.4/ncurses/tinfo/MKnames.awk
888@@ -10,7 +10,7 @@
889 print "#include <term.h>" > "namehdr"
890 print "#define DCL(it) static IT data##it[]" > "namehdr"
891 print "#else" > "namehdr"
892- print "#define DCL(it) NCURSES_EXPORT_VAR(IT) it[]" > "namehdr"
893+ print "#define DCL(it) IT NCURSES_EXPORT_VAR(it[])" > "namehdr"
894 print "#endif" > "namehdr"
895 print "" > "namehdr"
896 print "/*" > "boolnames"
897--- ncurses-5.4/ncurses/tinfo/lib_tparm.c~visibility.patch
898+++ ncurses-5.4/ncurses/tinfo/lib_tparm.c
899@@ -115,7 +115,7 @@
900 bool num_type;
901 } stack_frame;
902
903-NCURSES_EXPORT_VAR(int) _nc_tparm_err = 0;
904+int NCURSES_EXPORT_VAR(_nc_tparm_err) = 0;
905
906 static stack_frame stack[STACKSIZE];
907 static int stack_ptr;
908--- ncurses-5.4/ncurses/tinfo/lib_tputs.c~visibility.patch
909+++ ncurses-5.4/ncurses/tinfo/lib_tputs.c
910@@ -47,10 +47,10 @@
911
912 MODULE_ID("$Id: lib_tputs.c,v 1.62 2003/08/23 21:39:20 tom Exp $")
913
914-NCURSES_EXPORT_VAR(char) PC = 0; /* used by termcap library */
915-NCURSES_EXPORT_VAR(NCURSES_OSPEED) ospeed = 0; /* used by termcap library */
916+char NCURSES_EXPORT_VAR(PC) = 0; /* used by termcap library */
917+NCURSES_OSPEED NCURSES_EXPORT_VAR(ospeed) = 0; /* used by termcap library */
918
919-NCURSES_EXPORT_VAR(int) _nc_nulls_sent = 0; /* used by 'tack' program */
920+int NCURSES_EXPORT_VAR(_nc_nulls_sent) = 0; /* used by 'tack' program */
921
922 static int (*my_outch) (int c) = _nc_outch;
923
924--- ncurses-5.4/ncurses/tinfo/comp_error.c~visibility.patch
925+++ ncurses-5.4/ncurses/tinfo/comp_error.c
926@@ -42,9 +42,9 @@
927
928 MODULE_ID("$Id: comp_error.c,v 1.25 2002/09/07 20:05:07 tom Exp $")
929
930-NCURSES_EXPORT_VAR(bool) _nc_suppress_warnings = FALSE;
931-NCURSES_EXPORT_VAR(int) _nc_curr_line = 0; /* current line # in input */
932-NCURSES_EXPORT_VAR(int) _nc_curr_col = 0; /* current column # in input */
933+bool NCURSES_EXPORT_VAR(_nc_suppress_warnings) = FALSE;
934+int NCURSES_EXPORT_VAR(_nc_curr_line) = 0; /* current line # in input */
935+int NCURSES_EXPORT_VAR(_nc_curr_col) = 0; /* current column # in input */
936
937 static const char *sourcename;
938 static char *termtype;
939--- ncurses-5.4/ncurses/tinfo/free_ttype.c~visibility.patch
940+++ ncurses-5.4/ncurses/tinfo/free_ttype.c
941@@ -92,7 +92,7 @@
942 }
943
944 #if NCURSES_XNAMES
945-NCURSES_EXPORT_VAR(bool) _nc_user_definable = TRUE;
946+bool NCURSES_EXPORT_VAR(_nc_user_definable) = TRUE;
947
948 NCURSES_EXPORT(int)
949 use_extended_names(bool flag)
950--- ncurses-5.4/ncurses/tinfo/comp_parse.c~visibility.patch
951+++ ncurses-5.4/ncurses/tinfo/comp_parse.c
952@@ -78,8 +78,8 @@
953 * _nc_head _nc_tail
954 */
955
956-NCURSES_EXPORT_VAR(ENTRY *) _nc_head = 0;
957-NCURSES_EXPORT_VAR(ENTRY *) _nc_tail = 0;
958+ENTRY * NCURSES_EXPORT_VAR(_nc_head) = 0;
959+ENTRY * NCURSES_EXPORT_VAR(_nc_tail) = 0;
960
961 static void
962 enqueue(ENTRY * ep)
963--- ncurses-5.4/ncurses/tinfo/comp_scan.c~visibility.patch
964+++ ncurses-5.4/ncurses/tinfo/comp_scan.c
965@@ -60,19 +60,13 @@
966
967 #define iswhite(ch) (ch == ' ' || ch == '\t')
968
969-NCURSES_EXPORT_VAR(int)
970-_nc_syntax = 0; /* termcap or terminfo? */
971-NCURSES_EXPORT_VAR(long)
972-_nc_curr_file_pos = 0; /* file offset of current line */
973-NCURSES_EXPORT_VAR(long)
974-_nc_comment_start = 0; /* start of comment range before name */
975-NCURSES_EXPORT_VAR(long)
976-_nc_comment_end = 0; /* end of comment range before name */
977-NCURSES_EXPORT_VAR(long)
978-_nc_start_line = 0; /* start line of current entry */
979+int NCURSES_EXPORT_VAR(_nc_syntax) = 0; /* termcap or terminfo? */
980+long NCURSES_EXPORT_VAR(_nc_curr_file_pos) = 0; /* file offset of current line */
981+long NCURSES_EXPORT_VAR(_nc_comment_start) = 0; /* start of comment range before name */
982+long NCURSES_EXPORT_VAR(_nc_comment_end) = 0; /* end of comment range before name */
983+long NCURSES_EXPORT_VAR(_nc_start_line) = 0; /* start line of current entry */
984
985-NCURSES_EXPORT_VAR(struct token)
986-_nc_curr_token =
987+struct token NCURSES_EXPORT_VAR(_nc_curr_token) =
988 {
989 0, 0, 0
990 };
991@@ -90,8 +84,7 @@
992 static char *pushname;
993
994 #if NCURSES_EXT_FUNCS
995-NCURSES_EXPORT_VAR(bool)
996-_nc_disable_period = FALSE; /* used by tic -a option */
997+bool NCURSES_EXPORT_VAR(_nc_disable_period) = FALSE; /* used by tic -a option */
998 #endif
999
1000 static bool end_of_stream(void);
1001--- ncurses-5.4/ncurses/tinfo/lib_acs.c~visibility.patch
1002+++ ncurses-5.4/ncurses/tinfo/lib_acs.c
1003@@ -37,8 +37,7 @@
1004 MODULE_ID("$Id: lib_acs.c,v 1.25 2002/12/28 16:26:46 tom Exp $")
1005
1006 #if BROKEN_LINKER
1007-NCURSES_EXPORT_VAR(chtype *)
1008-_nc_acs_map(void)
1009+chtype * NCURSES_EXPORT_VAR(_nc_acs_map)(void)
1010 {
1011 static chtype *the_map = 0;
1012 if (the_map == 0)
1013@@ -46,7 +45,7 @@
1014 return the_map;
1015 }
1016 #else
1017-NCURSES_EXPORT_VAR(chtype) acs_map[ACS_LEN] =
1018+chtype NCURSES_EXPORT_VAR(acs_map[ACS_LEN]) =
1019 {
1020 0
1021 };
1022--- ncurses-5.4/ncurses/tinfo/lib_data.c~visibility.patch
1023+++ ncurses-5.4/ncurses/tinfo/lib_data.c
1024@@ -46,14 +46,11 @@
1025 * OS/2's native linker complains if we don't initialize public data when
1026 * constructing a dll (reported by J.J.G.Ripoll).
1027 */
1028-NCURSES_EXPORT_VAR(WINDOW *)
1029-stdscr = 0;
1030-NCURSES_EXPORT_VAR(WINDOW *)
1031-curscr = 0;
1032-NCURSES_EXPORT_VAR(WINDOW *)
1033-newscr = 0;
1034+WINDOW * NCURSES_EXPORT_VAR(stdscr) = 0;
1035+WINDOW * NCURSES_EXPORT_VAR(curscr) = 0;
1036+WINDOW * NCURSES_EXPORT_VAR(newscr) = 0;
1037
1038-NCURSES_EXPORT_VAR(SCREEN *) _nc_screen_chain = 0;
1039+SCREEN * NCURSES_EXPORT_VAR(_nc_screen_chain) = 0;
1040
1041 /*
1042 * The variable 'SP' will be defined as a function on systems that cannot link
1043@@ -87,5 +84,5 @@
1044 }
1045
1046 #else
1047-NCURSES_EXPORT_VAR(SCREEN *) SP = NULL; /* Some linkers require initialized data... */
1048+SCREEN * NCURSES_EXPORT_VAR(SP) = NULL; /* Some linkers require initialized data... */
1049 #endif
1050--- ncurses-5.4/ncurses/trace/lib_trace.c~visibility.patch
1051+++ ncurses-5.4/ncurses/trace/lib_trace.c
1052@@ -42,11 +42,11 @@
1053
1054 MODULE_ID("$Id: lib_trace.c,v 1.53 2003/11/23 00:39:30 tom Exp $")
1055
1056-NCURSES_EXPORT_VAR(unsigned) _nc_tracing = 0; /* always define this */
1057+unsigned NCURSES_EXPORT_VAR(_nc_tracing) = 0; /* always define this */
1058
1059 #ifdef TRACE
1060-NCURSES_EXPORT_VAR(const char *) _nc_tputs_trace = "";
1061-NCURSES_EXPORT_VAR(long) _nc_outchars = 0;
1062+const char * NCURSES_EXPORT_VAR(_nc_tputs_trace) = "";
1063+long NCURSES_EXPORT_VAR(_nc_outchars) = 0;
1064
1065 static FILE *tracefp = 0; /* default to writing to stderr */
1066
1067--- ncurses-5.4/ncurses/curses.priv.h~visibility.patch
1068+++ ncurses-5.4/ncurses/curses.priv.h
1069@@ -498,7 +498,7 @@
1070 #endif
1071 };
1072
1073-extern NCURSES_EXPORT_VAR(SCREEN *) _nc_screen_chain;
1074+extern SCREEN * NCURSES_EXPORT_VAR(_nc_screen_chain);
1075
1076 #if NCURSES_NOMACROS
1077 #include <nomacros.h>
1078@@ -752,9 +752,9 @@
1079 extern NCURSES_EXPORT(int) _nc_retrace_int (int);
1080 extern NCURSES_EXPORT(unsigned) _nc_retrace_unsigned (unsigned);
1081 extern NCURSES_EXPORT(void) _nc_fifo_dump (void);
1082-extern NCURSES_EXPORT_VAR(const char *) _nc_tputs_trace;
1083-extern NCURSES_EXPORT_VAR(long) _nc_outchars;
1084-extern NCURSES_EXPORT_VAR(unsigned) _nc_tracing;
1085+extern const char * NCURSES_EXPORT_VAR(_nc_tputs_trace);
1086+extern long NCURSES_EXPORT_VAR(_nc_outchars);
1087+extern unsigned NCURSES_EXPORT_VAR(_nc_tracing);
1088
1089 #if USE_WIDEC_SUPPORT
1090 extern NCURSES_EXPORT(const char *) _nc_viswbuf2 (int, const wchar_t *);
1091@@ -1055,7 +1055,7 @@
1092 #endif
1093
1094 /* scroll indices */
1095-extern NCURSES_EXPORT_VAR(int *) _nc_oldnums;
1096+extern int * NCURSES_EXPORT_VAR(_nc_oldnums);
1097
1098 #define USE_SETBUF_0 0
1099
1100@@ -1074,7 +1074,7 @@
1101 extern NCURSES_EXPORT(void) _nc_set_screen (SCREEN *);
1102 #else
1103 /* current screen is private data; avoid possible linking conflicts too */
1104-extern NCURSES_EXPORT_VAR(SCREEN *) SP;
1105+extern SCREEN * NCURSES_EXPORT_VAR(SP);
1106 #define _nc_alloc_screen() ((SP = typeCalloc(SCREEN, 1)) != 0)
1107 #define _nc_set_screen(sp) SP = sp
1108 #endif
1109@@ -1087,7 +1087,7 @@
1110 #define screen_lines SP->_lines
1111 #define screen_columns SP->_columns
1112
1113-extern NCURSES_EXPORT_VAR(int) _nc_slk_format; /* != 0 if slk_init() called */
1114+extern int NCURSES_EXPORT_VAR(_nc_slk_format); /* != 0 if slk_init() called */
1115 extern NCURSES_EXPORT(int) _nc_slk_initialize (WINDOW *, int);
1116
1117 /*
1118--- /dev/null
1119+++ ncurses-5.4/m4/cf.m4
1120@@ -0,0 +1,3703 @@
1121+dnl***************************************************************************
1122+dnl Copyright (c) 1998-2003,2004 Free Software Foundation, Inc. *
1123+dnl *
1124+dnl Permission is hereby granted, free of charge, to any person obtaining a *
1125+dnl copy of this software and associated documentation files (the *
1126+dnl "Software"), to deal in the Software without restriction, including *
1127+dnl without limitation the rights to use, copy, modify, merge, publish, *
1128+dnl distribute, distribute with modifications, sublicense, and/or sell *
1129+dnl copies of the Software, and to permit persons to whom the Software is *
1130+dnl furnished to do so, subject to the following conditions: *
1131+dnl *
1132+dnl The above copyright notice and this permission notice shall be included *
1133+dnl in all copies or substantial portions of the Software. *
1134+dnl *
1135+dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
1136+dnl OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
1137+dnl MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
1138+dnl IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
1139+dnl DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
1140+dnl OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
1141+dnl THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
1142+dnl *
1143+dnl Except as contained in this notice, the name(s) of the above copyright *
1144+dnl holders shall not be used in advertising or otherwise to promote the *
1145+dnl sale, use or other dealings in this Software without prior written *
1146+dnl authorization. *
1147+dnl***************************************************************************
1148+dnl
1149+dnl Author: Thomas E. Dickey 1995-2003
1150+dnl
1151+dnl $Id: aclocal.m4,v 1.333 2004/01/30 20:59:56 tom Exp $
1152+dnl Macros used in NCURSES auto-configuration script.
1153+dnl
1154+dnl See http://invisible-island.net/autoconf/ for additional information.
1155+dnl
1156+dnl ---------------------------------------------------------------------------
1157+dnl ---------------------------------------------------------------------------
1158+dnl CF_ADA_INCLUDE_DIRS version: 4 updated: 2002/12/01 00:12:15
1159+dnl -------------------
1160+dnl Construct the list of include-options for the C programs in the Ada95
1161+dnl binding.
1162+AC_DEFUN([CF_ADA_INCLUDE_DIRS],
1163+[
1164+ACPPFLAGS="-I. -I../../include $ACPPFLAGS"
1165+if test "$srcdir" != "."; then
1166+ ACPPFLAGS="-I\$(srcdir)/../../include $ACPPFLAGS"
1167+fi
1168+if test "$GCC" != yes; then
1169+ ACPPFLAGS="$ACPPFLAGS -I\$(includedir)"
1170+elif test "$includedir" != "/usr/include"; then
1171+ if test "$includedir" = '${prefix}/include' ; then
1172+ if test $prefix != /usr ; then
1173+ ACPPFLAGS="$ACPPFLAGS -I\$(includedir)"
1174+ fi
1175+ else
1176+ ACPPFLAGS="$ACPPFLAGS -I\$(includedir)"
1177+ fi
1178+fi
1179+AC_SUBST(ACPPFLAGS)
1180+])dnl
1181+dnl ---------------------------------------------------------------------------
1182+dnl CF_ADD_CFLAGS version: 5 updated: 2002/12/01 00:12:15
1183+dnl -------------
1184+dnl Copy non-preprocessor flags to $CFLAGS, preprocessor flags to $CPPFLAGS
1185+dnl The second parameter if given makes this macro verbose.
1186+AC_DEFUN([CF_ADD_CFLAGS],
1187+[
1188+cf_new_cflags=
1189+cf_new_cppflags=
1190+for cf_add_cflags in $1
1191+do
1192+ case $cf_add_cflags in #(vi
1193+ -undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi
1194+ case "$CPPFLAGS" in
1195+ *$cf_add_cflags) #(vi
1196+ ;;
1197+ *) #(vi
1198+ cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"
1199+ ;;
1200+ esac
1201+ ;;
1202+ *)
1203+ cf_new_cflags="$cf_new_cflags $cf_add_cflags"
1204+ ;;
1205+ esac
1206+done
1207+
1208+if test -n "$cf_new_cflags" ; then
1209+ ifelse($2,,,[CF_VERBOSE(add to \$CFLAGS $cf_new_cflags)])
1210+ CFLAGS="$CFLAGS $cf_new_cflags"
1211+fi
1212+
1213+if test -n "$cf_new_cppflags" ; then
1214+ ifelse($2,,,[CF_VERBOSE(add to \$CPPFLAGS $cf_new_cppflags)])
1215+ CPPFLAGS="$cf_new_cppflags $CPPFLAGS"
1216+fi
1217+
1218+])dnl
1219+dnl ---------------------------------------------------------------------------
1220+dnl CF_ANSI_CC_CHECK version: 9 updated: 2001/12/30 17:53:34
1221+dnl ----------------
1222+dnl This is adapted from the macros 'fp_PROG_CC_STDC' and 'fp_C_PROTOTYPES'
1223+dnl in the sharutils 4.2 distribution.
1224+AC_DEFUN([CF_ANSI_CC_CHECK],
1225+[
1226+AC_CACHE_CHECK(for ${CC-cc} option to accept ANSI C, cf_cv_ansi_cc,[
1227+cf_cv_ansi_cc=no
1228+cf_save_CFLAGS="$CFLAGS"
1229+cf_save_CPPFLAGS="$CPPFLAGS"
1230+# Don't try gcc -ansi; that turns off useful extensions and
1231+# breaks some systems' header files.
1232+# AIX -qlanglvl=ansi
1233+# Ultrix and OSF/1 -std1
1234+# HP-UX -Aa -D_HPUX_SOURCE
1235+# SVR4 -Xc
1236+# UnixWare 1.2 (cannot use -Xc, since ANSI/POSIX clashes)
1237+for cf_arg in "-DCC_HAS_PROTOS" \
1238+ "" \
1239+ -qlanglvl=ansi \
1240+ -std1 \
1241+ -Ae \
1242+ "-Aa -D_HPUX_SOURCE" \
1243+ -Xc
1244+do
1245+ CF_ADD_CFLAGS($cf_arg)
1246+ AC_TRY_COMPILE(
1247+[
1248+#ifndef CC_HAS_PROTOS
1249+#if !defined(__STDC__) || (__STDC__ != 1)
1250+choke me
1251+#endif
1252+#endif
1253+],[
1254+ int test (int i, double x);
1255+ struct s1 {int (*f) (int a);};
1256+ struct s2 {int (*f) (double a);};],
1257+ [cf_cv_ansi_cc="$cf_arg"; break])
1258+done
1259+CFLAGS="$cf_save_CFLAGS"
1260+CPPFLAGS="$cf_save_CPPFLAGS"
1261+])
1262+
1263+if test "$cf_cv_ansi_cc" != "no"; then
1264+if test ".$cf_cv_ansi_cc" != ".-DCC_HAS_PROTOS"; then
1265+ CF_ADD_CFLAGS($cf_cv_ansi_cc)
1266+else
1267+ AC_DEFINE(CC_HAS_PROTOS)
1268+fi
1269+fi
1270+])dnl
1271+dnl ---------------------------------------------------------------------------
1272+dnl CF_ANSI_CC_REQD version: 3 updated: 1997/09/06 13:40:44
1273+dnl ---------------
1274+dnl For programs that must use an ANSI compiler, obtain compiler options that
1275+dnl will make it recognize prototypes. We'll do preprocessor checks in other
1276+dnl macros, since tools such as unproto can fake prototypes, but only part of
1277+dnl the preprocessor.
1278+AC_DEFUN([CF_ANSI_CC_REQD],
1279+[AC_REQUIRE([CF_ANSI_CC_CHECK])
1280+if test "$cf_cv_ansi_cc" = "no"; then
1281+ AC_ERROR(
1282+[Your compiler does not appear to recognize prototypes.
1283+You have the following choices:
1284+ a. adjust your compiler options
1285+ b. get an up-to-date compiler
1286+ c. use a wrapper such as unproto])
1287+fi
1288+])dnl
1289+dnl ---------------------------------------------------------------------------
1290+dnl CF_BOOL_DECL version: 8 updated: 2004/01/30 15:51:18
1291+dnl ------------
1292+dnl Test if 'bool' is a builtin type in the configured C++ compiler. Some
1293+dnl older compilers (e.g., gcc 2.5.8) don't support 'bool' directly; gcc
1294+dnl 2.6.3 does, in anticipation of the ANSI C++ standard.
1295+dnl
1296+dnl Treat the configuration-variable specially here, since we're directly
1297+dnl substituting its value (i.e., 1/0).
1298+dnl
1299+dnl $1 is the shell variable to store the result in, if not $cv_cv_builtin_bool
1300+AC_DEFUN([CF_BOOL_DECL],
1301+[
1302+AC_MSG_CHECKING(if we should include stdbool.h)
1303+
1304+AC_CACHE_VAL(cf_cv_header_stdbool_h,[
1305+ AC_TRY_COMPILE([],[bool foo = false],
1306+ [cf_cv_header_stdbool_h=0],
1307+ [AC_TRY_COMPILE([
1308+#ifndef __BEOS__
1309+#include <stdbool.h>
1310+#endif
1311+],[bool foo = false],
1312+ [cf_cv_header_stdbool_h=1],
1313+ [cf_cv_header_stdbool_h=0])])])
1314+
1315+if test "$cf_cv_header_stdbool_h" = 1
1316+then AC_MSG_RESULT(yes)
1317+else AC_MSG_RESULT(no)
1318+fi
1319+
1320+AC_MSG_CHECKING([for builtin bool type])
1321+
1322+AC_CACHE_VAL(ifelse($1,,cf_cv_builtin_bool,[$1]),[
1323+ AC_TRY_COMPILE([
1324+#include <stdio.h>
1325+#include <sys/types.h>
1326+],[bool x = false],
1327+ [ifelse($1,,cf_cv_builtin_bool,[$1])=1],
1328+ [ifelse($1,,cf_cv_builtin_bool,[$1])=0])
1329+ ])
1330+
1331+if test "$ifelse($1,,cf_cv_builtin_bool,[$1])" = 1
1332+then AC_MSG_RESULT(yes)
1333+else AC_MSG_RESULT(no)
1334+fi
1335+])dnl
1336+dnl ---------------------------------------------------------------------------
1337+dnl CF_BOOL_SIZE version: 10 updated: 2002/02/23 20:38:31
1338+dnl ------------
1339+dnl Test for the size of 'bool' in the configured C++ compiler (e.g., a type).
1340+dnl Don't bother looking for bool.h, since it's been deprecated.
1341+dnl
1342+dnl If the current compiler is C rather than C++, we get the bool definition
1343+dnl from <stdbool.h>.
1344+AC_DEFUN([CF_BOOL_SIZE],
1345+[
1346+AC_MSG_CHECKING([for size of bool])
1347+AC_CACHE_VAL(cf_cv_type_of_bool,[
1348+ rm -f cf_test.out
1349+ AC_TRY_RUN([
1350+#include <stdlib.h>
1351+#include <stdio.h>
1352+
1353+#if defined(__cplusplus)
1354+
1355+#ifdef HAVE_GXX_BUILTIN_H
1356+#include <g++/builtin.h>
1357+#elif HAVE_GPP_BUILTIN_H
1358+#include <gpp/builtin.h>
1359+#elif HAVE_BUILTIN_H
1360+#include <builtin.h>
1361+#endif
1362+
1363+#else
1364+
1365+#if $cf_cv_header_stdbool_h
1366+#include <stdbool.h>
1367+#endif
1368+
1369+#endif
1370+
1371+main()
1372+{
1373+ FILE *fp = fopen("cf_test.out", "w");
1374+ if (fp != 0) {
1375+ bool x = true;
1376+ if ((bool)(-x) >= 0)
1377+ fputs("unsigned ", fp);
1378+ if (sizeof(x) == sizeof(int)) fputs("int", fp);
1379+ else if (sizeof(x) == sizeof(char)) fputs("char", fp);
1380+ else if (sizeof(x) == sizeof(short))fputs("short",fp);
1381+ else if (sizeof(x) == sizeof(long)) fputs("long", fp);
1382+ fclose(fp);
1383+ }
1384+ exit(0);
1385+}
1386+ ],
1387+ [cf_cv_type_of_bool=`cat cf_test.out`
1388+ if test -z "$cf_cv_type_of_bool"; then
1389+ cf_cv_type_of_bool=unknown
1390+ fi],
1391+ [cf_cv_type_of_bool=unknown],
1392+ [cf_cv_type_of_bool=unknown])
1393+ ])
1394+ rm -f cf_test.out
1395+AC_MSG_RESULT($cf_cv_type_of_bool)
1396+if test "$cf_cv_type_of_bool" = unknown ; then
1397+ case .$NCURSES_BOOL in #(vi
1398+ .auto|.) NCURSES_BOOL=unsigned;;
1399+ esac
1400+ AC_MSG_WARN(Assuming $NCURSES_BOOL for type of bool)
1401+ cf_cv_type_of_bool=$NCURSES_BOOL
1402+fi
1403+])dnl
1404+dnl ---------------------------------------------------------------------------
1405+dnl CF_CFG_DEFAULTS version: 6 updated: 2003/07/12 15:15:19
1406+dnl ---------------
1407+dnl Determine the default configuration into which we'll install ncurses. This
1408+dnl can be overridden by the user's command-line options. There's two items to
1409+dnl look for:
1410+dnl 1. the prefix (e.g., /usr)
1411+dnl 2. the header files (e.g., /usr/include/ncurses)
1412+dnl We'll look for a previous installation of ncurses and use the same defaults.
1413+dnl
1414+dnl We don't use AC_PREFIX_DEFAULT, because it gets evaluated too soon, and
1415+dnl we don't use AC_PREFIX_PROGRAM, because we cannot distinguish ncurses's
1416+dnl programs from a vendor's.
1417+AC_DEFUN([CF_CFG_DEFAULTS],
1418+[
1419+AC_MSG_CHECKING(for prefix)
1420+if test "x$prefix" = "xNONE" ; then
1421+ case "$cf_cv_system_name" in
1422+ # non-vendor systems don't have a conflict
1423+ openbsd*|netbsd*|freebsd*|linux*|cygwin*|k*bsd*-gnu)
1424+ prefix=/usr
1425+ ;;
1426+ *) prefix=$ac_default_prefix
1427+ ;;
1428+ esac
1429+fi
1430+AC_MSG_RESULT($prefix)
1431+
1432+if test "x$prefix" = "xNONE" ; then
1433+AC_MSG_CHECKING(for default include-directory)
1434+test -n "$verbose" && echo 1>&AC_FD_MSG
1435+for cf_symbol in \
1436+ $includedir \
1437+ $includedir/ncurses \
1438+ $prefix/include \
1439+ $prefix/include/ncurses \
1440+ /usr/local/include \
1441+ /usr/local/include/ncurses \
1442+ /usr/include \
1443+ /usr/include/ncurses
1444+do
1445+ cf_dir=`eval echo $cf_symbol`
1446+ if test -f $cf_dir/curses.h ; then
1447+ if ( fgrep NCURSES_VERSION $cf_dir/curses.h 2>&1 >/dev/null ) ; then
1448+ includedir="$cf_symbol"
1449+ test -n "$verbose" && echo $ac_n " found " 1>&AC_FD_MSG
1450+ break
1451+ fi
1452+ fi
1453+ test -n "$verbose" && echo " tested $cf_dir" 1>&AC_FD_MSG
1454+done
1455+AC_MSG_RESULT($includedir)
1456+fi
1457+])dnl
1458+dnl ---------------------------------------------------------------------------
1459+dnl CF_CGETENT version: 3 updated: 2000/08/12 23:18:52
1460+dnl ----------
1461+dnl Check if the terminal-capability database functions are available. If not,
1462+dnl ncurses has a much-reduced version.
1463+AC_DEFUN([CF_CGETENT],[
1464+AC_MSG_CHECKING(for terminal-capability database functions)
1465+AC_CACHE_VAL(cf_cv_cgetent,[
1466+AC_TRY_LINK([
1467+#include <stdlib.h>],[
1468+ char temp[128];
1469+ char *buf = temp;
1470+ char *db_array = temp;
1471+ cgetent(&buf, /* int *, */ &db_array, "vt100");
1472+ cgetcap(buf, "tc", '=');
1473+ cgetmatch(buf, "tc");
1474+ ],
1475+ [cf_cv_cgetent=yes],
1476+ [cf_cv_cgetent=no])
1477+])
1478+AC_MSG_RESULT($cf_cv_cgetent)
1479+test "$cf_cv_cgetent" = yes && AC_DEFINE(HAVE_BSD_CGETENT)
1480+])dnl
1481+dnl ---------------------------------------------------------------------------
1482+dnl CF_CHECK_CACHE version: 9 updated: 2004/01/30 15:59:13
1483+dnl --------------
1484+dnl Check if we're accidentally using a cache from a different machine.
1485+dnl Derive the system name, as a check for reusing the autoconf cache.
1486+dnl
1487+dnl If we've packaged config.guess and config.sub, run that (since it does a
1488+dnl better job than uname). Normally we'll use AC_CANONICAL_HOST, but allow
1489+dnl an extra parameter that we may override, e.g., for AC_CANONICAL_SYSTEM
1490+dnl which is useful in cross-compiles.
1491+dnl
1492+dnl Note: we would use $ac_config_sub, but that is one of the places where
1493+dnl autoconf 2.5x broke compatibility with autoconf 2.13
1494+AC_DEFUN([CF_CHECK_CACHE],
1495+[
1496+if test -f $srcdir/config.guess ; then
1497+ ifelse([$1],,[AC_CANONICAL_HOST],[$1])
1498+ system_name="$host_os"
1499+else
1500+ system_name="`(uname -s -r) 2>/dev/null`"
1501+ if test -z "$system_name" ; then
1502+ system_name="`(hostname) 2>/dev/null`"
1503+ fi
1504+fi
1505+test -n "$system_name" && AC_DEFINE_UNQUOTED(SYSTEM_NAME,"$system_name")
1506+AC_CACHE_VAL(cf_cv_system_name,[cf_cv_system_name="$system_name"])
1507+
1508+test -z "$system_name" && system_name="$cf_cv_system_name"
1509+test -n "$cf_cv_system_name" && AC_MSG_RESULT(Configuring for $cf_cv_system_name)
1510+
1511+if test ".$system_name" != ".$cf_cv_system_name" ; then
1512+ AC_MSG_RESULT(Cached system name ($system_name) does not agree with actual ($cf_cv_system_name))
1513+ AC_ERROR("Please remove config.cache and try again.")
1514+fi
1515+])dnl
1516+dnl ---------------------------------------------------------------------------
1517+dnl CF_CHECK_ERRNO version: 9 updated: 2001/12/30 18:03:23
1518+dnl --------------
1519+dnl Check for data that is usually declared in <stdio.h> or <errno.h>, e.g.,
1520+dnl the 'errno' variable. Define a DECL_xxx symbol if we must declare it
1521+dnl ourselves.
1522+dnl
1523+dnl $1 = the name to check
1524+AC_DEFUN([CF_CHECK_ERRNO],
1525+[
1526+AC_CACHE_CHECK(if external $1 is declared, cf_cv_dcl_$1,[
1527+ AC_TRY_COMPILE([
1528+#ifdef HAVE_STDLIB_H
1529+#include <stdlib.h>
1530+#endif
1531+#include <stdio.h>
1532+#include <sys/types.h>
1533+#include <errno.h> ],
1534+ [long x = (long) $1],
1535+ [cf_cv_dcl_$1=yes],
1536+ [cf_cv_dcl_$1=no])
1537+])
1538+
1539+if test "$cf_cv_dcl_$1" = no ; then
1540+ CF_UPPER(cf_result,decl_$1)
1541+ AC_DEFINE_UNQUOTED($cf_result)
1542+fi
1543+
1544+# It's possible (for near-UNIX clones) that the data doesn't exist
1545+CF_CHECK_EXTERN_DATA($1,int)
1546+])dnl
1547+dnl ---------------------------------------------------------------------------
1548+dnl CF_CHECK_EXTERN_DATA version: 3 updated: 2001/12/30 18:03:23
1549+dnl --------------------
1550+dnl Check for existence of external data in the current set of libraries. If
1551+dnl we can modify it, it's real enough.
1552+dnl $1 = the name to check
1553+dnl $2 = its type
1554+AC_DEFUN([CF_CHECK_EXTERN_DATA],
1555+[
1556+AC_CACHE_CHECK(if external $1 exists, cf_cv_have_$1,[
1557+ AC_TRY_LINK([
1558+#undef $1
1559+extern $2 $1;
1560+],
1561+ [$1 = 2],
1562+ [cf_cv_have_$1=yes],
1563+ [cf_cv_have_$1=no])
1564+])
1565+
1566+if test "$cf_cv_have_$1" = yes ; then
1567+ CF_UPPER(cf_result,have_$1)
1568+ AC_DEFINE_UNQUOTED($cf_result)
1569+fi
1570+
1571+])dnl
1572+dnl ---------------------------------------------------------------------------
1573+dnl CF_CPP_PARAM_INIT version: 4 updated: 2001/04/07 22:31:18
1574+dnl -----------------
1575+dnl Check if the C++ compiler accepts duplicate parameter initialization. This
1576+dnl is a late feature for the standard and is not in some recent compilers
1577+dnl (1999/9/11).
1578+AC_DEFUN([CF_CPP_PARAM_INIT],
1579+[
1580+if test -n "$CXX"; then
1581+AC_CACHE_CHECK(if $CXX accepts parameter initialization,cf_cv_cpp_param_init,[
1582+ AC_LANG_SAVE
1583+ AC_LANG_CPLUSPLUS
1584+ AC_TRY_RUN([
1585+class TEST {
1586+private:
1587+ int value;
1588+public:
1589+ TEST(int x = 1);
1590+ ~TEST();
1591+};
1592+
1593+TEST::TEST(int x = 1) // some compilers do not like second initializer
1594+{
1595+ value = x;
1596+}
1597+void main() { }
1598+],
1599+ [cf_cv_cpp_param_init=yes],
1600+ [cf_cv_cpp_param_init=no],
1601+ [cf_cv_cpp_param_init=unknown])
1602+ AC_LANG_RESTORE
1603+])
1604+fi
1605+test "$cf_cv_cpp_param_init" = yes && AC_DEFINE(CPP_HAS_PARAM_INIT)
1606+])dnl
1607+dnl ---------------------------------------------------------------------------
1608+dnl CF_CPP_VSCAN_FUNC version: 5 updated: 2001/12/02 01:39:28
1609+dnl -----------------
1610+dnl Check if the g++ compiler supports vscan function (not a standard feature).
1611+AC_DEFUN([CF_CPP_VSCAN_FUNC],
1612+[
1613+if test -n "$CXX"; then
1614+
1615+AC_LANG_SAVE
1616+AC_LANG_CPLUSPLUS
1617+AC_CHECK_HEADERS(strstream.h)
1618+
1619+AC_CACHE_CHECK(if $CXX supports vscan function,cf_cv_cpp_vscan_func,[
1620+ for cf_vscan_func in strstream strstream_cast stdio
1621+ do
1622+ case $cf_vscan_func in #(vi
1623+ stdio) cf_vscan_defs=USE_STDIO_VSCAN ;; #(vi
1624+ strstream) cf_vscan_defs=USE_STRSTREAM_VSCAN ;;
1625+ strstream_cast) cf_vscan_defs=USE_STRSTREAM_VSCAN_CAST ;;
1626+ esac
1627+ AC_TRY_LINK([
1628+#include <stdio.h>
1629+#include <stdarg.h>
1630+#define $cf_vscan_defs 1
1631+#if defined(USE_STDIO_VSCAN)
1632+#elif defined(HAVE_STRSTREAM_H) && defined(USE_STRSTREAM_VSCAN)
1633+#include <strstream.h>
1634+#endif
1635+
1636+int scanw(const char* fmt, ...)
1637+{
1638+ int result = -1;
1639+ char buf[BUFSIZ];
1640+
1641+ va_list args;
1642+ va_start(args, fmt);
1643+#if defined(USE_STDIO_VSCAN)
1644+ if (::vsscanf(buf, fmt, args) != -1)
1645+ result = 0;
1646+#elif defined(USE_STRSTREAM_VSCAN)
1647+ strstreambuf ss(buf, sizeof(buf));
1648+ if (ss.vscan(fmt, args) != -1)
1649+ result = 0;
1650+#elif defined(USE_STRSTREAM_VSCAN_CAST)
1651+ strstreambuf ss(buf, sizeof(buf));
1652+ if (ss.vscan(fmt, (_IO_va_list)args) != -1)
1653+ result = 0;
1654+#else
1655+#error case $cf_vscan_func failed
1656+#endif
1657+ va_end(args);
1658+ return result;
1659+}
1660+],[int tmp, foo = scanw("%d", &tmp)],
1661+ [cf_cv_cpp_vscan_func=$cf_vscan_func; break],
1662+ [cf_cv_cpp_vscan_func=no])
1663+ test "$cf_cv_cpp_vscan_func" != no && break
1664+ done
1665+])
1666+
1667+AC_LANG_RESTORE
1668+fi
1669+
1670+case $cf_cv_cpp_vscan_func in #(vi
1671+stdio) #(vi
1672+ AC_DEFINE(CPP_HAS_VSCAN_FUNC)
1673+ AC_DEFINE(USE_STDIO_VSCAN)
1674+ ;;
1675+strstream)
1676+ AC_DEFINE(CPP_HAS_VSCAN_FUNC)
1677+ AC_DEFINE(USE_STRSTREAM_VSCAN)
1678+ ;;
1679+strstream_cast)
1680+ AC_DEFINE(CPP_HAS_VSCAN_FUNC)
1681+ AC_DEFINE(USE_STRSTREAM_VSCAN_CAST)
1682+ ;;
1683+esac
1684+])dnl
1685+dnl ---------------------------------------------------------------------------
1686+dnl CF_DIRNAME version: 4 updated: 2002/12/21 19:25:52
1687+dnl ----------
1688+dnl "dirname" is not portable, so we fake it with a shell script.
1689+AC_DEFUN([CF_DIRNAME],[$1=`echo $2 | sed -e 's%/[[^/]]*$%%'`])dnl
1690+dnl ---------------------------------------------------------------------------
1691+dnl CF_DIRS_TO_MAKE version: 3 updated: 2002/02/23 20:38:31
1692+dnl ---------------
1693+AC_DEFUN([CF_DIRS_TO_MAKE],
1694+[
1695+DIRS_TO_MAKE="lib"
1696+for cf_item in $cf_list_models
1697+do
1698+ CF_OBJ_SUBDIR($cf_item,cf_subdir)
1699+ for cf_item2 in $DIRS_TO_MAKE
1700+ do
1701+ test $cf_item2 = $cf_subdir && break
1702+ done
1703+ test ".$cf_item2" != ".$cf_subdir" && DIRS_TO_MAKE="$DIRS_TO_MAKE $cf_subdir"
1704+done
1705+for cf_dir in $DIRS_TO_MAKE
1706+do
1707+ test ! -d $cf_dir && mkdir $cf_dir
1708+done
1709+AC_SUBST(DIRS_TO_MAKE)
1710+])dnl
1711+dnl ---------------------------------------------------------------------------
1712+dnl CF_ERRNO version: 5 updated: 1997/11/30 12:44:39
1713+dnl --------
1714+dnl Check if 'errno' is declared in <errno.h>
1715+AC_DEFUN([CF_ERRNO],
1716+[
1717+CF_CHECK_ERRNO(errno)
1718+])dnl
1719+dnl ---------------------------------------------------------------------------
1720+dnl CF_ETIP_DEFINES version: 3 updated: 2003/03/22 19:13:43
1721+dnl ---------------
1722+dnl Test for conflicting definitions of exception in gcc 2.8.0, etc., between
1723+dnl math.h and builtin.h, only for ncurses
1724+AC_DEFUN([CF_ETIP_DEFINES],
1725+[
1726+AC_MSG_CHECKING(for special defines needed for etip.h)
1727+cf_save_CXXFLAGS="$CXXFLAGS"
1728+cf_result="none"
1729+for cf_math in "" MATH_H
1730+do
1731+for cf_excp in "" MATH_EXCEPTION
1732+do
1733+ CXXFLAGS="$cf_save_CXXFLAGS -I${srcdir}/c++ -I${srcdir}/menu -I${srcdir}/include"
1734+ test -n "$cf_math" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_math}"
1735+ test -n "$cf_excp" && CXXFLAGS="$CXXFLAGS -DETIP_NEEDS_${cf_excp}"
1736+AC_TRY_COMPILE([
1737+#include <etip.h.in>
1738+],[],[
1739+ test -n "$cf_math" && AC_DEFINE_UNQUOTED(ETIP_NEEDS_${cf_math})
1740+ test -n "$cf_excp" && AC_DEFINE_UNQUOTED(ETIP_NEEDS_${cf_excp})
1741+ cf_result="$cf_math $cf_excp"
1742+ break
1743+],[])
1744+done
1745+done
1746+AC_MSG_RESULT($cf_result)
1747+CXXFLAGS="$cf_save_CXXFLAGS"
1748+])
1749+dnl ---------------------------------------------------------------------------
1750+dnl CF_FUNC_MEMMOVE version: 5 updated: 2000/08/12 23:18:52
1751+dnl ---------------
1752+dnl Check for memmove, or a bcopy that can handle overlapping copy. If neither
1753+dnl is found, add our own version of memmove to the list of objects.
1754+AC_DEFUN([CF_FUNC_MEMMOVE],
1755+[
1756+AC_CHECK_FUNC(memmove,,[
1757+AC_CHECK_FUNC(bcopy,[
1758+ AC_CACHE_CHECK(if bcopy does overlapping moves,cf_cv_good_bcopy,[
1759+ AC_TRY_RUN([
1760+int main() {
1761+ static char data[] = "abcdefghijklmnopqrstuwwxyz";
1762+ char temp[40];
1763+ bcopy(data, temp, sizeof(data));
1764+ bcopy(temp+10, temp, 15);
1765+ bcopy(temp+5, temp+15, 10);
1766+ exit (strcmp(temp, "klmnopqrstuwwxypqrstuwwxyz"));
1767+}
1768+ ],
1769+ [cf_cv_good_bcopy=yes],
1770+ [cf_cv_good_bcopy=no],
1771+ [cf_cv_good_bcopy=unknown])
1772+ ])
1773+ ],[cf_cv_good_bcopy=no])
1774+ if test "$cf_cv_good_bcopy" = yes ; then
1775+ AC_DEFINE(USE_OK_BCOPY)
1776+ else
1777+ AC_DEFINE(USE_MY_MEMMOVE)
1778+ fi
1779+])])dnl
1780+dnl ---------------------------------------------------------------------------
1781+dnl CF_FUNC_POLL version: 2 updated: 2000/02/06 01:38:04
1782+dnl ------------
1783+dnl See if the poll function really works. Some platforms have poll(), but
1784+dnl it does not work for terminals or files.
1785+AC_DEFUN([CF_FUNC_POLL],[
1786+AC_CACHE_CHECK(if poll really works,cf_cv_working_poll,[
1787+AC_TRY_RUN([
1788+#include <stdio.h>
1789+#ifdef HAVE_POLL_H
1790+#include <poll.h>
1791+#else
1792+#include <sys/poll.h>
1793+#endif
1794+int main() {
1795+ struct pollfd myfds;
1796+ int ret;
1797+
1798+ myfds.fd = 0;
1799+ myfds.events = POLLIN;
1800+
1801+ ret = poll(&myfds, 1, 100);
1802+ exit(ret != 0);
1803+}],
1804+ [cf_cv_working_poll=yes],
1805+ [cf_cv_working_poll=no],
1806+ [cf_cv_working_poll=unknown])])
1807+test "$cf_cv_working_poll" = "yes" && AC_DEFINE(HAVE_WORKING_POLL)
1808+])dnl
1809+dnl ---------------------------------------------------------------------------
1810+dnl CF_FUNC_TERMIOS version: 2 updated: 2000/07/22 23:37:24
1811+dnl ---------------
1812+dnl Some old/broken variations define tcgetattr() only as a macro in
1813+dnl termio(s).h
1814+AC_DEFUN([CF_FUNC_TERMIOS],[
1815+AC_REQUIRE([CF_STRUCT_TERMIOS])
1816+AC_CACHE_CHECK(for tcgetattr, cf_cv_have_tcgetattr,[
1817+AC_TRY_LINK([
1818+#include <sys/types.h>
1819+#ifdef HAVE_UNISTD_H
1820+#include <unistd.h>
1821+#endif
1822+#ifdef HAVE_TERMIOS_H
1823+#include <termios.h>
1824+#define TTY struct termios
1825+#else
1826+#ifdef HAVE_TERMIO_H
1827+#include <termio.h>
1828+#define TTY struct termio
1829+#endif
1830+#endif
1831+],[
1832+TTY foo;
1833+tcgetattr(1, &foo);],
1834+[cf_cv_have_tcgetattr=yes],
1835+[cf_cv_have_tcgetattr=no])])
1836+test "$cf_cv_have_tcgetattr" = yes && AC_DEFINE(HAVE_TCGETATTR)
1837+])dnl
1838+dnl ---------------------------------------------------------------------------
1839+dnl CF_FUNC_VSSCANF version: 3 updated: 2001/12/19 00:50:10
1840+dnl ---------------
1841+dnl Check for vsscanf() function, which is in c9x but generally not in earlier
1842+dnl versions of C. It is in the GNU C library, and can often be simulated by
1843+dnl other functions.
1844+AC_DEFUN([CF_FUNC_VSSCANF],
1845+[
1846+AC_CACHE_CHECK(for vsscanf function or workaround,cf_cv_func_vsscanf,[
1847+AC_TRY_LINK([
1848+#include <stdarg.h>
1849+#include <stdio.h>],[
1850+ va_list ap;
1851+ vsscanf("from", "%d", ap)],[cf_cv_func_vsscanf=vsscanf],[
1852+AC_TRY_LINK([
1853+#include <stdarg.h>
1854+#include <stdio.h>],[
1855+ FILE strbuf;
1856+ char *str = "from";
1857+
1858+ strbuf._flag = _IOREAD;
1859+ strbuf._ptr = strbuf._base = (unsigned char *) str;
1860+ strbuf._cnt = strlen(str);
1861+ strbuf._file = _NFILE;
1862+ return (vfscanf(&strbuf, "%d", ap))],[cf_cv_func_vsscanf=vfscanf],[
1863+AC_TRY_LINK([
1864+#include <stdarg.h>
1865+#include <stdio.h>],[
1866+ FILE strbuf;
1867+ char *str = "from";
1868+
1869+ strbuf._flag = _IOREAD;
1870+ strbuf._ptr = strbuf._base = (unsigned char *) str;
1871+ strbuf._cnt = strlen(str);
1872+ strbuf._file = _NFILE;
1873+ return (_doscan(&strbuf, "%d", ap))],[cf_cv_func_vsscanf=_doscan],[
1874+cf_cv_func_vsscanf=no])])])])
1875+
1876+case $cf_cv_func_vsscanf in #(vi
1877+vsscanf) AC_DEFINE(HAVE_VSSCANF);; #(vi
1878+vfscanf) AC_DEFINE(HAVE_VFSCANF);; #(vi
1879+_doscan) AC_DEFINE(HAVE__DOSCAN);;
1880+esac
1881+
1882+])dnl
1883+dnl ---------------------------------------------------------------------------
1884+dnl CF_GCC_ATTRIBUTES version: 9 updated: 2002/12/21 19:25:52
1885+dnl -----------------
1886+dnl Test for availability of useful gcc __attribute__ directives to quiet
1887+dnl compiler warnings. Though useful, not all are supported -- and contrary
1888+dnl to documentation, unrecognized directives cause older compilers to barf.
1889+AC_DEFUN([CF_GCC_ATTRIBUTES],
1890+[
1891+if test "$GCC" = yes
1892+then
1893+cat > conftest.i <<EOF
1894+#ifndef GCC_PRINTF
1895+#define GCC_PRINTF 0
1896+#endif
1897+#ifndef GCC_SCANF
1898+#define GCC_SCANF 0
1899+#endif
1900+#ifndef GCC_NORETURN
1901+#define GCC_NORETURN /* nothing */
1902+#endif
1903+#ifndef GCC_UNUSED
1904+#define GCC_UNUSED /* nothing */
1905+#endif
1906+EOF
1907+if test "$GCC" = yes
1908+then
1909+ AC_CHECKING([for $CC __attribute__ directives])
1910+cat > conftest.$ac_ext <<EOF
1911+#line __oline__ "configure"
1912+#include "confdefs.h"
1913+#include "conftest.h"
1914+#include "conftest.i"
1915+#if GCC_PRINTF
1916+#define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
1917+#else
1918+#define GCC_PRINTFLIKE(fmt,var) /*nothing*/
1919+#endif
1920+#if GCC_SCANF
1921+#define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var)))
1922+#else
1923+#define GCC_SCANFLIKE(fmt,var) /*nothing*/
1924+#endif
1925+extern void wow(char *,...) GCC_SCANFLIKE(1,2);
1926+extern void oops(char *,...) GCC_PRINTFLIKE(1,2) GCC_NORETURN;
1927+extern void foo(void) GCC_NORETURN;
1928+int main(int argc GCC_UNUSED, char *argv[[]] GCC_UNUSED) { return 0; }
1929+EOF
1930+ for cf_attribute in scanf printf unused noreturn
1931+ do
1932+ CF_UPPER(CF_ATTRIBUTE,$cf_attribute)
1933+ cf_directive="__attribute__(($cf_attribute))"
1934+ echo "checking for $CC $cf_directive" 1>&AC_FD_CC
1935+ case $cf_attribute in
1936+ scanf|printf)
1937+ cat >conftest.h <<EOF
1938+#define GCC_$CF_ATTRIBUTE 1
1939+EOF
1940+ ;;
1941+ *)
1942+ cat >conftest.h <<EOF
1943+#define GCC_$CF_ATTRIBUTE $cf_directive
1944+EOF
1945+ ;;
1946+ esac
1947+ if AC_TRY_EVAL(ac_compile); then
1948+ test -n "$verbose" && AC_MSG_RESULT(... $cf_attribute)
1949+ cat conftest.h >>confdefs.h
1950+ fi
1951+ done
1952+else
1953+ fgrep define conftest.i >>confdefs.h
1954+fi
1955+rm -rf conftest*
1956+fi
1957+])dnl
1958+dnl ---------------------------------------------------------------------------
1959+dnl CF_GCC_VERSION version: 3 updated: 2003/09/06 19:16:57
1960+dnl --------------
1961+dnl Find version of gcc
1962+AC_DEFUN([CF_GCC_VERSION],[
1963+AC_REQUIRE([AC_PROG_CC])
1964+GCC_VERSION=none
1965+if test "$GCC" = yes ; then
1966+ AC_MSG_CHECKING(version of $CC)
1967+ GCC_VERSION="`${CC} --version|sed -e '2,$d' -e 's/^[[^0-9.]]*//' -e 's/[[^0-9.]].*//'`"
1968+ test -z "$GCC_VERSION" && GCC_VERSION=unknown
1969+ AC_MSG_RESULT($GCC_VERSION)
1970+fi
1971+])dnl
1972+dnl ---------------------------------------------------------------------------
1973+dnl CF_GCC_WARNINGS version: 15 updated: 2003/07/05 18:42:30
1974+dnl ---------------
1975+dnl Check if the compiler supports useful warning options. There's a few that
1976+dnl we don't use, simply because they're too noisy:
1977+dnl
1978+dnl -Wconversion (useful in older versions of gcc, but not in gcc 2.7.x)
1979+dnl -Wredundant-decls (system headers make this too noisy)
1980+dnl -Wtraditional (combines too many unrelated messages, only a few useful)
1981+dnl -Wwrite-strings (too noisy, but should review occasionally). This
1982+dnl is enabled for ncurses using "--enable-const".
1983+dnl -pedantic
1984+dnl
1985+AC_DEFUN([CF_GCC_WARNINGS],
1986+[
1987+AC_REQUIRE([CF_GCC_VERSION])
1988+if test "$GCC" = yes
1989+then
1990+ cat > conftest.$ac_ext <<EOF
1991+#line __oline__ "configure"
1992+int main(int argc, char *argv[[]]) { return (argv[[argc-1]] == 0) ; }
1993+EOF
1994+ AC_CHECKING([for $CC warning options])
1995+ cf_save_CFLAGS="$CFLAGS"
1996+ EXTRA_CFLAGS="-W -Wall"
1997+ cf_warn_CONST=""
1998+ test "$with_ext_const" = yes && cf_warn_CONST="Wwrite-strings"
1999+ for cf_opt in \
2000+ Wbad-function-cast \
2001+ Wcast-align \
2002+ Wcast-qual \
2003+ Winline \
2004+ Wmissing-declarations \
2005+ Wmissing-prototypes \
2006+ Wnested-externs \
2007+ Wpointer-arith \
2008+ Wshadow \
2009+ Wstrict-prototypes \
2010+ Wundef $cf_warn_CONST
2011+ do
2012+ CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"
2013+ if AC_TRY_EVAL(ac_compile); then
2014+ test -n "$verbose" && AC_MSG_RESULT(... -$cf_opt)
2015+ case $cf_opt in #(vi
2016+ Wcast-qual) #(vi
2017+ CPPFLAGS="$CPPFLAGS -DXTSTRINGDEFINES"
2018+ ;;
2019+ Winline) #(vi
2020+ case $GCC_VERSION in
2021+ 3.3*)
2022+ CF_VERBOSE(feature is broken in gcc $GCC_VERSION)
2023+ continue;;
2024+ esac
2025+ ;;
2026+ esac
2027+ EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"
2028+ fi
2029+ done
2030+ rm -f conftest*
2031+ CFLAGS="$cf_save_CFLAGS"
2032+fi
2033+AC_SUBST(EXTRA_CFLAGS)
2034+])dnl
2035+dnl ---------------------------------------------------------------------------
2036+dnl CF_GNAT_TRY_RUN version: 2 updated: 1998/07/19 00:25:18
2037+dnl ---------------
2038+dnl Verify that a test program compiles and runs with GNAT
2039+dnl $cf_ada_make is set to the program that compiles/links
2040+AC_DEFUN([CF_GNAT_TRY_RUN],
2041+[
2042+rm -f conftest*
2043+cat >>conftest.ads <<CF_EOF
2044+$1
2045+CF_EOF
2046+cat >>conftest.adb <<CF_EOF
2047+$2
2048+CF_EOF
2049+if ( $cf_ada_make conftest 1>&AC_FD_CC 2>&1 ) ; then
2050+ if ( ./conftest 1>&AC_FD_CC 2>&1 ) ; then
2051+ifelse($3,, :,[ $3])
2052+ifelse($4,,,[ else
2053+ $4])
2054+ fi
2055+ifelse($4,,,[else
2056+ $4])
2057+fi
2058+rm -f conftest*
2059+])dnl
2060+dnl ---------------------------------------------------------------------------
2061+dnl CF_GNAT_VERSION version: 11 updated: 2003/09/06 19:42:09
2062+dnl ---------------
2063+dnl Verify version of GNAT.
2064+AC_DEFUN([CF_GNAT_VERSION],
2065+[
2066+AC_MSG_CHECKING(for gnat version)
2067+cf_gnat_version=`${cf_ada_make-gnatmake} -v 2>&1 | grep '[[0-9]].[[0-9]][[0-9]]*' |\
2068+ sed -e '2,$d' -e 's/[[^0-9 \.]]//g' -e 's/^[[ ]]*//' -e 's/ .*//'`
2069+AC_MSG_RESULT($cf_gnat_version)
2070+
2071+case $cf_gnat_version in
2072+ 3.1[[1-9]]*|3.[[2-9]]*|[[4-9]].*)
2073+ cf_cv_prog_gnat_correct=yes
2074+ ;;
2075+ *) echo Unsupported GNAT version $cf_gnat_version. Required is 3.11 or better. Disabling Ada95 binding.
2076+ cf_cv_prog_gnat_correct=no
2077+ ;;
2078+esac
2079+case $cf_gnat_version in
2080+ 3.[[1-9]]*|[[4-9]].*)
2081+ cf_compile_generics=generics
2082+ cf_generic_objects="\$(GENOBJS)"
2083+ ;;
2084+ *) cf_compile_generics=
2085+ cf_generic_objects=
2086+ ;;
2087+esac
2088+])
2089+dnl ---------------------------------------------------------------------------
2090+dnl CF_GNU_SOURCE version: 3 updated: 2000/10/29 23:30:53
2091+dnl -------------
2092+dnl Check if we must define _GNU_SOURCE to get a reasonable value for
2093+dnl _XOPEN_SOURCE, upon which many POSIX definitions depend. This is a defect
2094+dnl (or misfeature) of glibc2, which breaks portability of many applications,
2095+dnl since it is interwoven with GNU extensions.
2096+dnl
2097+dnl Well, yes we could work around it...
2098+AC_DEFUN([CF_GNU_SOURCE],
2099+[
2100+AC_CACHE_CHECK(if we must define _GNU_SOURCE,cf_cv_gnu_source,[
2101+AC_TRY_COMPILE([#include <sys/types.h>],[
2102+#ifndef _XOPEN_SOURCE
2103+make an error
2104+#endif],
2105+ [cf_cv_gnu_source=no],
2106+ [cf_save="$CPPFLAGS"
2107+ CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
2108+ AC_TRY_COMPILE([#include <sys/types.h>],[
2109+#ifdef _XOPEN_SOURCE
2110+make an error
2111+#endif],
2112+ [cf_cv_gnu_source=no],
2113+ [cf_cv_gnu_source=yes])
2114+ CPPFLAGS="$cf_save"
2115+ ])
2116+])
2117+test "$cf_cv_gnu_source" = yes && CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
2118+])dnl
2119+dnl ---------------------------------------------------------------------------
2120+dnl CF_GPP_LIBRARY version: 8 updated: 2003/02/02 01:41:46
2121+dnl --------------
2122+dnl If we're trying to use g++, test if libg++ is installed (a rather common
2123+dnl problem :-). If we have the compiler but no library, we'll be able to
2124+dnl configure, but won't be able to build the c++ demo program.
2125+AC_DEFUN([CF_GPP_LIBRARY],
2126+[
2127+cf_cxx_library=unknown
2128+case $cf_cv_system_name in #(vi
2129+os2*) #(vi
2130+ cf_gpp_libname=gpp
2131+ ;;
2132+*)
2133+ cf_gpp_libname=g++
2134+ ;;
2135+esac
2136+if test "$GXX" = yes; then
2137+ AC_MSG_CHECKING([for lib$cf_gpp_libname])
2138+ cf_save="$LIBS"
2139+ LIBS="$LIBS -l$cf_gpp_libname"
2140+ AC_TRY_LINK([
2141+#include <$cf_gpp_libname/builtin.h>
2142+ ],
2143+ [two_arg_error_handler_t foo2 = lib_error_handler],
2144+ [cf_cxx_library=yes
2145+ CXXLIBS="$CXXLIBS -l$cf_gpp_libname"
2146+ if test "$cf_gpp_libname" = cpp ; then
2147+ AC_DEFINE(HAVE_GPP_BUILTIN_H)
2148+ else
2149+ AC_DEFINE(HAVE_GXX_BUILTIN_H)
2150+ fi],
2151+ [AC_TRY_LINK([
2152+#include <builtin.h>
2153+ ],
2154+ [two_arg_error_handler_t foo2 = lib_error_handler],
2155+ [cf_cxx_library=yes
2156+ CXXLIBS="$CXXLIBS -l$cf_gpp_libname"
2157+ AC_DEFINE(HAVE_BUILTIN_H)],
2158+ [cf_cxx_library=no])])
2159+ LIBS="$cf_save"
2160+ AC_MSG_RESULT($cf_cxx_library)
2161+fi
2162+])dnl
2163+dnl ---------------------------------------------------------------------------
2164+dnl CF_GXX_VERSION version: 3 updated: 2003/09/06 19:16:21
2165+dnl --------------
2166+dnl Check for version of g++
2167+AC_DEFUN([CF_GXX_VERSION],[
2168+AC_REQUIRE([AC_PROG_CPP])
2169+GXX_VERSION=none
2170+if test "$GXX" = yes; then
2171+ AC_MSG_CHECKING(version of g++)
2172+ GXX_VERSION="`${CXX-g++} --version|sed -e '2,$d'`"
2173+ AC_MSG_RESULT($GXX_VERSION)
2174+fi
2175+])dnl
2176+dnl ---------------------------------------------------------------------------
2177+dnl CF_INCLUDE_DIRS version: 4 updated: 2002/12/01 00:12:15
2178+dnl ---------------
2179+dnl Construct the list of include-options according to whether we're building
2180+dnl in the source directory or using '--srcdir=DIR' option. If we're building
2181+dnl with gcc, don't append the includedir if it happens to be /usr/include,
2182+dnl since that usually breaks gcc's shadow-includes.
2183+AC_DEFUN([CF_INCLUDE_DIRS],
2184+[
2185+CPPFLAGS="-I. -I../include $CPPFLAGS"
2186+if test "$srcdir" != "."; then
2187+ CPPFLAGS="-I\$(srcdir)/../include $CPPFLAGS"
2188+fi
2189+if test "$GCC" != yes; then
2190+ CPPFLAGS="$CPPFLAGS -I\$(includedir)"
2191+elif test "$includedir" != "/usr/include"; then
2192+ if test "$includedir" = '${prefix}/include' ; then
2193+ if test $prefix != /usr ; then
2194+ CPPFLAGS="$CPPFLAGS -I\$(includedir)"
2195+ fi
2196+ else
2197+ CPPFLAGS="$CPPFLAGS -I\$(includedir)"
2198+ fi
2199+fi
2200+AC_SUBST(CPPFLAGS)
2201+])dnl
2202+dnl ---------------------------------------------------------------------------
2203+dnl CF_ISASCII version: 3 updated: 2000/08/12 23:18:52
2204+dnl ----------
2205+dnl Check if we have either a function or macro for 'isascii()'.
2206+AC_DEFUN([CF_ISASCII],
2207+[
2208+AC_MSG_CHECKING(for isascii)
2209+AC_CACHE_VAL(cf_cv_have_isascii,[
2210+ AC_TRY_LINK([#include <ctype.h>],[int x = isascii(' ')],
2211+ [cf_cv_have_isascii=yes],
2212+ [cf_cv_have_isascii=no])
2213+])dnl
2214+AC_MSG_RESULT($cf_cv_have_isascii)
2215+test "$cf_cv_have_isascii" = yes && AC_DEFINE(HAVE_ISASCII)
2216+])dnl
2217+dnl ---------------------------------------------------------------------------
2218+dnl CF_LIBUTF8 version: 2 updated: 2002/01/19 22:51:32
2219+dnl ----------
2220+dnl Check for libutf8
2221+AC_DEFUN([CF_LIBUTF8],
2222+[
2223+AC_CACHE_CHECK(for putwc in libutf8,cf_cv_libutf8,[
2224+ cf_save_LIBS="$LIBS"
2225+ LIBS="-lutf8 $LIBS"
2226+AC_TRY_LINK([
2227+#include <libutf8.h>],[putwc(0,0);],
2228+ [cf_cv_libutf8=yes],
2229+ [cf_cv_libutf8=no])
2230+ LIBS="$cf_save_LIBS"
2231+])
2232+
2233+if test "$cf_cv_libutf8" = yes ; then
2234+ AC_DEFINE(HAVE_LIBUTF8_H)
2235+ LIBS="-lutf8 $LIBS"
2236+fi
2237+])dnl
2238+dnl ---------------------------------------------------------------------------
2239+dnl CF_LIB_PREFIX version: 7 updated: 2001/01/12 01:23:48
2240+dnl -------------
2241+dnl Compute the library-prefix for the given host system
2242+dnl $1 = variable to set
2243+AC_DEFUN([CF_LIB_PREFIX],
2244+[
2245+ case $cf_cv_system_name in
2246+ OS/2*) LIB_PREFIX='' ;;
2247+ os2*) LIB_PREFIX='' ;;
2248+ *) LIB_PREFIX='lib' ;;
2249+ esac
2250+ifelse($1,,,[$1=$LIB_PREFIX])
2251+ AC_SUBST(LIB_PREFIX)
2252+])dnl
2253+dnl ---------------------------------------------------------------------------
2254+dnl CF_LIB_RULES version: 30 updated: 2004/01/10 15:50:50
2255+dnl ------------
2256+dnl Append definitions and rules for the given models to the subdirectory
2257+dnl Makefiles, and the recursion rule for the top-level Makefile. If the
2258+dnl subdirectory is a library-source directory, modify the LIBRARIES list in
2259+dnl the corresponding makefile to list the models that we'll generate.
2260+dnl
2261+dnl For shared libraries, make a list of symbolic links to construct when
2262+dnl generating each library. The convention used for Linux is the simplest
2263+dnl one:
2264+dnl lib<name>.so ->
2265+dnl lib<name>.so.<major> ->
2266+dnl lib<name>.so.<maj>.<minor>
2267+AC_DEFUN([CF_LIB_RULES],
2268+[
2269+CF_LIB_PREFIX(cf_prefix)
2270+AC_REQUIRE([CF_SUBST_NCURSES_VERSION])
2271+for cf_dir in $SRC_SUBDIRS
2272+do
2273+ if test -f $srcdir/$cf_dir/modules; then
2274+
2275+ IMPORT_LIB=
2276+ SHARED_LIB=
2277+ LIBS_TO_MAKE=
2278+ for cf_item in $CF_LIST_MODELS
2279+ do
2280+ CF_LIB_SUFFIX($cf_item,cf_suffix)
2281+ if test $cf_item = shared ; then
2282+ if test "$cf_cv_do_symlinks" = yes ; then
2283+ case "$cf_cv_shlib_version" in #(vi
2284+ rel) #(vi
2285+ case "$cf_cv_system_name" in #(vi
2286+ darwin*) cf_suffix='.$(REL_VERSION)'"$cf_suffix" ;; #(vi
2287+ *) cf_suffix="$cf_suffix"'.$(REL_VERSION)' ;;
2288+ esac
2289+ ;;
2290+ abi)
2291+ case "$cf_cv_system_name" in #(vi
2292+ darwin*) cf_suffix='.$(ABI_VERSION)'"$cf_suffix" ;; #(vi
2293+ *) cf_suffix="$cf_suffix"'.$(ABI_VERSION)' ;;
2294+ esac
2295+ ;;
2296+ esac
2297+ fi
2298+ # cygwin needs import library, and has unique naming convention
2299+ # use autodetected ${cf_prefix} for import lib and static lib, but
2300+ # use 'cyg' prefix for shared lib.
2301+ if test $cf_cv_shlib_version = cygdll ; then
2302+ SHARED_LIB="../lib/cyg${cf_dir}\$(ABI_VERSION).dll"
2303+ IMPORT_LIB="../lib/${cf_prefix}${cf_dir}.dll.a"
2304+ LIBS_TO_MAKE="$LIBS_TO_MAKE \$(SHARED_LIB) \$(IMPORT_LIB)"
2305+ continue
2306+ fi
2307+ fi
2308+ LIBS_TO_MAKE="$LIBS_TO_MAKE ../lib/${cf_prefix}${cf_dir}${cf_suffix}"
2309+ done
2310+
2311+ if test $cf_dir = ncurses ; then
2312+ cf_subsets="$LIB_SUBSETS"
2313+ cf_termlib=`echo "$cf_subsets" |sed -e 's/ .*$//'`
2314+ if test "$cf_termlib" != "$cf_subsets" ; then
2315+ cf_item=`echo $LIBS_TO_MAKE |sed -e s%$LIB_NAME%$TINFO_NAME%g`
2316+ LIBS_TO_MAKE="$cf_item $LIBS_TO_MAKE"
2317+ fi
2318+ else
2319+ cf_subsets=`echo "$LIB_SUBSETS" | sed -e 's/^termlib.* //'`
2320+ fi
2321+
2322+ sed -e "s%@LIBS_TO_MAKE@%$LIBS_TO_MAKE%" \
2323+ -e "s%@IMPORT_LIB@%$IMPORT_LIB%" \
2324+ -e "s%@SHARED_LIB@%$SHARED_LIB%" \
2325+ $cf_dir/Makefile >$cf_dir/Makefile.out
2326+ mv $cf_dir/Makefile.out $cf_dir/Makefile
2327+
2328+ $AWK -f $srcdir/mk-0th.awk \
2329+ libname="${cf_dir}${LIB_SUFFIX}" subsets="$LIB_SUBSETS" \
2330+ $srcdir/$cf_dir/modules >>$cf_dir/Makefile
2331+
2332+ for cf_subset in $cf_subsets
2333+ do
2334+ cf_subdirs=
2335+ for cf_item in $CF_LIST_MODELS
2336+ do
2337+ echo "Appending rules for ${cf_item} model (${cf_dir}: ${cf_subset})"
2338+ CF_UPPER(CF_ITEM,$cf_item)
2339+ CF_LIB_SUFFIX($cf_item,cf_suffix)
2340+ CF_OBJ_SUBDIR($cf_item,cf_subdir)
2341+
2342+ # These dependencies really are for development, not
2343+ # builds, but they are useful in porting, too.
2344+ cf_depend="../include/ncurses_cfg.h"
2345+ if test "$srcdir" = "."; then
2346+ cf_reldir="."
2347+ else
2348+ cf_reldir="\$(srcdir)"
2349+ fi
2350+
2351+ if test -f $srcdir/$cf_dir/$cf_dir.priv.h; then
2352+ cf_depend="$cf_depend $cf_reldir/$cf_dir.priv.h"
2353+ elif test -f $srcdir/$cf_dir/curses.priv.h; then
2354+ cf_depend="$cf_depend $cf_reldir/curses.priv.h"
2355+ fi
2356+
2357+ $AWK -f $srcdir/mk-1st.awk \
2358+ name=$cf_dir \
2359+ traces=$LIB_TRACING \
2360+ MODEL=$CF_ITEM \
2361+ model=$cf_subdir \
2362+ prefix=$cf_prefix \
2363+ suffix=$cf_suffix \
2364+ subset=$cf_subset \
2365+ ShlibVer=$cf_cv_shlib_version \
2366+ ShlibVerInfix=$cf_cv_shlib_version_infix \
2367+ DoLinks=$cf_cv_do_symlinks \
2368+ rmSoLocs=$cf_cv_rm_so_locs \
2369+ ldconfig="$LDCONFIG" \
2370+ overwrite=$WITH_OVERWRITE \
2371+ depend="$cf_depend" \
2372+ host="$host" \
2373+ $srcdir/$cf_dir/modules >>$cf_dir/Makefile
2374+ for cf_subdir2 in $cf_subdirs lib
2375+ do
2376+ test $cf_subdir = $cf_subdir2 && break
2377+ done
2378+ test "${cf_subset}.${cf_subdir2}" != "${cf_subset}.${cf_subdir}" && \
2379+ $AWK -f $srcdir/mk-2nd.awk \
2380+ name=$cf_dir \
2381+ traces=$LIB_TRACING \
2382+ MODEL=$CF_ITEM \
2383+ model=$cf_subdir \
2384+ subset=$cf_subset \
2385+ srcdir=$srcdir \
2386+ echo=$WITH_ECHO \
2387+ $srcdir/$cf_dir/modules >>$cf_dir/Makefile
2388+ cf_subdirs="$cf_subdirs $cf_subdir"
2389+ done
2390+ done
2391+ fi
2392+
2393+ echo ' cd '$cf_dir' && $(MAKE) $(CF_MFLAGS) [$]@' >>Makefile
2394+done
2395+
2396+for cf_dir in $SRC_SUBDIRS
2397+do
2398+ if test -f $cf_dir/Makefile ; then
2399+ case "$cf_dir" in
2400+ Ada95) #(vi
2401+ echo 'libs \' >> Makefile
2402+ echo 'install.libs \' >> Makefile
2403+ echo 'uninstall.libs ::' >> Makefile
2404+ echo ' cd '$cf_dir' && $(MAKE) $(CF_MFLAGS) [$]@' >> Makefile
2405+ ;;
2406+ esac
2407+ fi
2408+
2409+ if test -f $srcdir/$cf_dir/modules; then
2410+ echo >> Makefile
2411+ if test -f $srcdir/$cf_dir/headers; then
2412+cat >> Makefile <<CF_EOF
2413+install.includes \\
2414+uninstall.includes \\
2415+CF_EOF
2416+ fi
2417+if test "$cf_dir" != "c++" ; then
2418+echo 'lint \' >> Makefile
2419+fi
2420+cat >> Makefile <<CF_EOF
2421+libs \\
2422+lintlib \\
2423+install.libs \\
2424+uninstall.libs \\
2425+install.$cf_dir \\
2426+uninstall.$cf_dir ::
2427+ cd $cf_dir && \$(MAKE) \$(CF_MFLAGS) \[$]@
2428+CF_EOF
2429+ elif test -f $srcdir/$cf_dir/headers; then
2430+cat >> Makefile <<CF_EOF
2431+
2432+libs \\
2433+install.libs \\
2434+uninstall.libs \\
2435+install.includes \\
2436+uninstall.includes ::
2437+ cd $cf_dir && \$(MAKE) \$(CF_MFLAGS) \[$]@
2438+CF_EOF
2439+fi
2440+done
2441+
2442+cat >> Makefile <<CF_EOF
2443+
2444+install.data \\
2445+uninstall.data ::
2446+$MAKE_TERMINFO cd misc && \$(MAKE) \$(CF_MFLAGS) \[$]@
2447+
2448+install.man \\
2449+uninstall.man ::
2450+ cd man && \$(MAKE) \$(CF_MFLAGS) \[$]@
2451+
2452+distclean ::
2453+ rm -f config.cache config.log config.status Makefile include/ncurses_cfg.h
2454+ rm -f headers.sh headers.sed
2455+ rm -rf \$(DIRS_TO_MAKE)
2456+CF_EOF
2457+
2458+# Special case: tack's manpage lives in its own directory.
2459+if test -d tack ; then
2460+if test -f $srcdir/$tack.h; then
2461+cat >> Makefile <<CF_EOF
2462+
2463+install.man \\
2464+uninstall.man ::
2465+ cd tack && \$(MAKE) \$(CF_MFLAGS) \[$]@
2466+CF_EOF
2467+fi
2468+fi
2469+
2470+dnl If we're installing into a subdirectory of /usr/include, etc., we should
2471+dnl prepend the subdirectory's name to the "#include" paths. It won't hurt
2472+dnl anything, and will make it more standardized. It's awkward to decide this
2473+dnl at configuration because of quoting, so we'll simply make all headers
2474+dnl installed via a script that can do the right thing.
2475+
2476+rm -f headers.sed headers.sh
2477+
2478+dnl ( generating this script makes the makefiles a little tidier :-)
2479+echo creating headers.sh
2480+cat >headers.sh <<CF_EOF
2481+#! /bin/sh
2482+# This shell script is generated by the 'configure' script. It is invoked in a
2483+# subdirectory of the build tree. It generates a sed-script in the parent
2484+# directory that is used to adjust includes for header files that reside in a
2485+# subdirectory of /usr/include, etc.
2486+PRG=""
2487+while test \[$]# != 3
2488+do
2489+PRG="\$PRG \[$]1"; shift
2490+done
2491+DST=\[$]1
2492+REF=\[$]2
2493+SRC=\[$]3
2494+TMPSRC=\${TMPDIR-/tmp}/\`basename \$SRC\`\$\$
2495+TMPSED=\${TMPDIR-/tmp}/headers.sed\$\$
2496+echo installing \$SRC in \$DST
2497+CF_EOF
2498+if test $WITH_CURSES_H = yes; then
2499+ cat >>headers.sh <<CF_EOF
2500+case \$DST in
2501+/*/include/*)
2502+ END=\`basename \$DST\`
2503+ for i in \`cat \$REF/../*/headers |fgrep -v "#"\`
2504+ do
2505+ NAME=\`basename \$i\`
2506+ echo "s/<\$NAME>/<\$END\/\$NAME>/" >> \$TMPSED
2507+ done
2508+ ;;
2509+*)
2510+ echo "" >> \$TMPSED
2511+ ;;
2512+esac
2513+CF_EOF
2514+else
2515+ cat >>headers.sh <<CF_EOF
2516+case \$DST in
2517+/*/include/*)
2518+ END=\`basename \$DST\`
2519+ for i in \`cat \$REF/../*/headers |fgrep -v "#"\`
2520+ do
2521+ NAME=\`basename \$i\`
2522+ if test "\$NAME" = "curses.h"
2523+ then
2524+ echo "s/<curses.h>/<ncurses.h>/" >> \$TMPSED
2525+ NAME=ncurses.h
2526+ fi
2527+ echo "s/<\$NAME>/<\$END\/\$NAME>/" >> \$TMPSED
2528+ done
2529+ ;;
2530+*)
2531+ echo "s/<curses.h>/<ncurses.h>/" >> \$TMPSED
2532+ ;;
2533+esac
2534+CF_EOF
2535+fi
2536+cat >>headers.sh <<CF_EOF
2537+rm -f \$TMPSRC
2538+sed -f \$TMPSED \$SRC > \$TMPSRC
2539+NAME=\`basename \$SRC\`
2540+CF_EOF
2541+if test $WITH_CURSES_H != yes; then
2542+ cat >>headers.sh <<CF_EOF
2543+test "\$NAME" = "curses.h" && NAME=ncurses.h
2544+CF_EOF
2545+fi
2546+cat >>headers.sh <<CF_EOF
2547+# Just in case someone gzip'd manpages, remove the conflicting copy.
2548+test -f \$DST/\$NAME.gz && rm -f \$DST/\$NAME.gz
2549+
2550+eval \$PRG \$TMPSRC \$DST/\$NAME
2551+rm -f \$TMPSRC \$TMPSED
2552+CF_EOF
2553+
2554+chmod 0755 headers.sh
2555+
2556+for cf_dir in $SRC_SUBDIRS
2557+do
2558+ if test -f $srcdir/$cf_dir/headers; then
2559+ cat >>$cf_dir/Makefile <<CF_EOF
2560+\$(DESTDIR)\$(includedir) :
2561+ sh \$(srcdir)/../mkinstalldirs \[$]@
2562+
2563+install \\
2564+install.libs \\
2565+install.includes :: \$(AUTO_SRC) \$(DESTDIR)\$(includedir) \\
2566+CF_EOF
2567+ j=""
2568+ for i in `cat $srcdir/$cf_dir/headers |fgrep -v "#"`
2569+ do
2570+ test -n "$j" && echo " $j \\" >>$cf_dir/Makefile
2571+ j=$i
2572+ done
2573+ echo " $j" >>$cf_dir/Makefile
2574+ for i in `cat $srcdir/$cf_dir/headers |fgrep -v "#"`
2575+ do
2576+ echo " @ (cd \$(DESTDIR)\$(includedir) && rm -f `basename $i`) ; ../headers.sh \$(INSTALL_DATA) \$(DESTDIR)\$(includedir) \$(srcdir) $i" >>$cf_dir/Makefile
2577+ test $i = curses.h && test $WITH_CURSES_H = yes && echo " @ (cd \$(DESTDIR)\$(includedir) && rm -f ncurses.h && \$(LN_S) curses.h ncurses.h)" >>$cf_dir/Makefile
2578+ done
2579+
2580+ cat >>$cf_dir/Makefile <<CF_EOF
2581+
2582+uninstall \\
2583+uninstall.libs \\
2584+uninstall.includes ::
2585+CF_EOF
2586+ for i in `cat $srcdir/$cf_dir/headers |fgrep -v "#"`
2587+ do
2588+ i=`basename $i`
2589+ echo " -@ (cd \$(DESTDIR)\$(includedir) && rm -f $i)" >>$cf_dir/Makefile
2590+ test $i = curses.h && echo " -@ (cd \$(DESTDIR)\$(includedir) && rm -f ncurses.h)" >>$cf_dir/Makefile
2591+ done
2592+ fi
2593+
2594+ if test -f $srcdir/$cf_dir/modules; then
2595+ if test "$cf_dir" != "c++" ; then
2596+ cat >>$cf_dir/Makefile <<"CF_EOF"
2597+depend : $(AUTO_SRC)
2598+ makedepend -- $(CPPFLAGS) -- $(C_SRC)
2599+
2600+# DO NOT DELETE THIS LINE -- make depend depends on it.
2601+CF_EOF
2602+ fi
2603+ fi
2604+done
2605+
2606+])dnl
2607+dnl ---------------------------------------------------------------------------
2608+dnl CF_LIB_SUFFIX version: 13 updated: 2003/11/01 16:09:07
2609+dnl -------------
2610+dnl Compute the library file-suffix from the given model name
2611+dnl $1 = model name
2612+dnl $2 = variable to set
2613+dnl The variable $LIB_SUFFIX, if set, prepends the variable to set.
2614+AC_DEFUN([CF_LIB_SUFFIX],
2615+[
2616+ AC_REQUIRE([CF_SUBST_NCURSES_VERSION])
2617+ case $1 in
2618+ libtool) $2='.la' ;;
2619+ normal) $2='.a' ;;
2620+ debug) $2='_g.a' ;;
2621+ profile) $2='_p.a' ;;
2622+ shared)
2623+ case $cf_cv_system_name in
2624+ cygwin*) $2='.dll' ;;
2625+ darwin*) $2='.dylib' ;;
2626+ hpux*)
2627+ case $target in
2628+ ia64*) $2='.so' ;;
2629+ *) $2='.sl' ;;
2630+ esac
2631+ ;;
2632+ *) $2='.so' ;;
2633+ esac
2634+ esac
2635+ test -n "$LIB_SUFFIX" && $2="${LIB_SUFFIX}[$]{$2}"
2636+])dnl
2637+dnl ---------------------------------------------------------------------------
2638+dnl CF_LIB_TYPE version: 4 updated: 2000/10/20 22:57:49
2639+dnl -----------
2640+dnl Compute the string to append to -library from the given model name
2641+dnl $1 = model name
2642+dnl $2 = variable to set
2643+dnl The variable $LIB_SUFFIX, if set, prepends the variable to set.
2644+AC_DEFUN([CF_LIB_TYPE],
2645+[
2646+ case $1 in
2647+ libtool) $2='' ;;
2648+ normal) $2='' ;;
2649+ debug) $2='_g' ;;
2650+ profile) $2='_p' ;;
2651+ shared) $2='' ;;
2652+ esac
2653+ test -n "$LIB_SUFFIX" && $2="${LIB_SUFFIX}[$]{$2}"
2654+])dnl
2655+dnl ---------------------------------------------------------------------------
2656+dnl CF_LINK_DATAONLY version: 6 updated: 2003/02/02 01:41:46
2657+dnl ----------------
2658+dnl Some systems have a non-ANSI linker that doesn't pull in modules that have
2659+dnl only data (i.e., no functions), for example NeXT. On those systems we'll
2660+dnl have to provide wrappers for global tables to ensure they're linked
2661+dnl properly.
2662+AC_DEFUN([CF_LINK_DATAONLY],
2663+[
2664+AC_MSG_CHECKING([if data-only library module links])
2665+AC_CACHE_VAL(cf_cv_link_dataonly,[
2666+ rm -f conftest.a
2667+ cat >conftest.$ac_ext <<EOF
2668+#line __oline__ "configure"
2669+int testdata[[3]] = { 123, 456, 789 };
2670+EOF
2671+ if AC_TRY_EVAL(ac_compile) ; then
2672+ mv conftest.o data.o && \
2673+ ( $AR $AR_OPTS conftest.a data.o ) 2>&AC_FD_CC 1>/dev/null
2674+ fi
2675+ rm -f conftest.$ac_ext data.o
2676+ cat >conftest.$ac_ext <<EOF
2677+#line __oline__ "configure"
2678+int testfunc()
2679+{
2680+#if defined(NeXT)
2681+ exit(1); /* I'm told this linker is broken */
2682+#else
2683+ extern int testdata[[3]];
2684+ return testdata[[0]] == 123
2685+ && testdata[[1]] == 456
2686+ && testdata[[2]] == 789;
2687+#endif
2688+}
2689+EOF
2690+ if AC_TRY_EVAL(ac_compile); then
2691+ mv conftest.o func.o && \
2692+ ( $AR $AR_OPTS conftest.a func.o ) 2>&AC_FD_CC 1>/dev/null
2693+ fi
2694+ rm -f conftest.$ac_ext func.o
2695+ ( eval $RANLIB conftest.a ) 2>&AC_FD_CC >/dev/null
2696+ cf_saveLIBS="$LIBS"
2697+ LIBS="conftest.a $LIBS"
2698+ AC_TRY_RUN([
2699+ int main()
2700+ {
2701+ extern int testfunc();
2702+ exit (!testfunc());
2703+ }
2704+ ],
2705+ [cf_cv_link_dataonly=yes],
2706+ [cf_cv_link_dataonly=no],
2707+ [cf_cv_link_dataonly=unknown])
2708+ LIBS="$cf_saveLIBS"
2709+ ])
2710+AC_MSG_RESULT($cf_cv_link_dataonly)
2711+
2712+if test "$cf_cv_link_dataonly" = no ; then
2713+ AC_DEFINE(BROKEN_LINKER)
2714+ BROKEN_LINKER=1
2715+fi
2716+
2717+])dnl
2718+dnl ---------------------------------------------------------------------------
2719+dnl CF_LINK_FUNCS version: 5 updated: 2003/02/02 01:41:46
2720+dnl -------------
2721+dnl Most Unix systems have both link and symlink, a few don't have symlink.
2722+dnl A few non-Unix systems implement symlink, but not link.
2723+dnl A few non-systems implement neither (or have nonfunctional versions).
2724+AC_DEFUN([CF_LINK_FUNCS],
2725+[
2726+AC_CHECK_FUNCS( \
2727+ remove \
2728+ unlink )
2729+
2730+if test "$cross_compiling" = yes ; then
2731+ AC_CHECK_FUNCS( \
2732+ link \
2733+ symlink )
2734+else
2735+ AC_CACHE_CHECK(if link/symlink functions work,cf_cv_link_funcs,[
2736+ cf_cv_link_funcs=
2737+ for cf_func in link symlink ; do
2738+ AC_TRY_RUN([
2739+#include <sys/types.h>
2740+#include <sys/stat.h>
2741+#ifdef HAVE_UNISTD_H
2742+#include <unistd.h>
2743+#endif
2744+int main()
2745+{
2746+ int fail = 0;
2747+ char *src = "config.log";
2748+ char *dst = "conftest.chk";
2749+ struct stat src_sb;
2750+ struct stat dst_sb;
2751+
2752+ stat(src, &src_sb);
2753+ fail = ($cf_func("config.log", "conftest.chk") < 0)
2754+ || (stat(dst, &dst_sb) < 0)
2755+ || (dst_sb.st_mtime != src_sb.st_mtime);
2756+#ifdef HAVE_UNLINK
2757+ unlink(dst);
2758+#else
2759+ remove(dst);
2760+#endif
2761+ exit (fail);
2762+}
2763+ ],[
2764+ cf_cv_link_funcs="$cf_cv_link_funcs $cf_func"
2765+ eval 'ac_cv_func_'$cf_func'=yes'],[
2766+ eval 'ac_cv_func_'$cf_func'=no'],[
2767+ eval 'ac_cv_func_'$cf_func'=error'])
2768+ done
2769+ test -z "$cf_cv_link_funcs" && cf_cv_link_funcs=no
2770+ ])
2771+ test "$ac_cv_func_link" = yes && AC_DEFINE(HAVE_LINK)
2772+ test "$ac_cv_func_symlink" = yes && AC_DEFINE(HAVE_SYMLINK)
2773+fi
2774+])dnl
2775+dnl ---------------------------------------------------------------------------
2776+dnl CF_MAKEFLAGS version: 9 updated: 2001/12/30 18:17:27
2777+dnl ------------
2778+dnl Some 'make' programs support $(MAKEFLAGS), some $(MFLAGS), to pass 'make'
2779+dnl options to lower-levels. It's very useful for "make -n" -- if we have it.
2780+dnl (GNU 'make' does both, something POSIX 'make', which happens to make the
2781+dnl $(MAKEFLAGS) variable incompatible because it adds the assignments :-)
2782+AC_DEFUN([CF_MAKEFLAGS],
2783+[
2784+AC_CACHE_CHECK(for makeflags variable, cf_cv_makeflags,[
2785+ cf_cv_makeflags=''
2786+ for cf_option in '-$(MAKEFLAGS)' '$(MFLAGS)'
2787+ do
2788+ cat >cf_makeflags.tmp <<CF_EOF
2789+SHELL = /bin/sh
2790+all :
2791+ @ echo '.$cf_option'
2792+CF_EOF
2793+ cf_result=`${MAKE-make} -k -f cf_makeflags.tmp 2>/dev/null`
2794+ case "$cf_result" in
2795+ .*k)
2796+ cf_result=`${MAKE-make} -k -f cf_makeflags.tmp CC=cc 2>/dev/null`
2797+ case "$cf_result" in
2798+ .*CC=*) cf_cv_makeflags=
2799+ ;;
2800+ *) cf_cv_makeflags=$cf_option
2801+ ;;
2802+ esac
2803+ break
2804+ ;;
2805+ *) echo no match "$cf_result"
2806+ ;;
2807+ esac
2808+ done
2809+ rm -f cf_makeflags.tmp
2810+])
2811+
2812+AC_SUBST(cf_cv_makeflags)
2813+])dnl
2814+dnl ---------------------------------------------------------------------------
2815+dnl CF_MAKE_TAGS version: 2 updated: 2000/10/04 09:18:40
2816+dnl ------------
2817+dnl Generate tags/TAGS targets for makefiles. Do not generate TAGS if we have
2818+dnl a monocase filesystem.
2819+AC_DEFUN([CF_MAKE_TAGS],[
2820+AC_REQUIRE([CF_MIXEDCASE_FILENAMES])
2821+AC_CHECK_PROG(MAKE_LOWER_TAGS, ctags, yes, no)
2822+
2823+if test "$cf_cv_mixedcase" = yes ; then
2824+ AC_CHECK_PROG(MAKE_UPPER_TAGS, etags, yes, no)
2825+else
2826+ MAKE_UPPER_TAGS=no
2827+fi
2828+
2829+if test "$MAKE_UPPER_TAGS" = yes ; then
2830+ MAKE_UPPER_TAGS=
2831+else
2832+ MAKE_UPPER_TAGS="#"
2833+fi
2834+AC_SUBST(MAKE_UPPER_TAGS)
2835+
2836+if test "$MAKE_LOWER_TAGS" = yes ; then
2837+ MAKE_LOWER_TAGS=
2838+else
2839+ MAKE_LOWER_TAGS="#"
2840+fi
2841+AC_SUBST(MAKE_LOWER_TAGS)
2842+])dnl
2843+dnl ---------------------------------------------------------------------------
2844+dnl CF_MANPAGE_FORMAT version: 7 updated: 2003/12/20 19:30:34
2845+dnl -----------------
2846+dnl Option to allow user to override automatic configuration of manpage format.
2847+dnl There are several special cases:
2848+dnl
2849+dnl gzip - man checks for, can display gzip'd files
2850+dnl compress - man checks for, can display compressed files
2851+dnl BSDI - files in the cat-directories are suffixed ".0"
2852+dnl formatted - installer should format (put files in cat-directory)
2853+dnl catonly - installer should only format, e.g., for a turnkey system.
2854+dnl
2855+dnl There are other configurations which this macro does not test, e.g., HPUX's
2856+dnl compressed manpages (but uncompressed manpages are fine, and HPUX's naming
2857+dnl convention would not match our use).
2858+AC_DEFUN([CF_MANPAGE_FORMAT],
2859+[
2860+AC_REQUIRE([CF_PATHSEP])
2861+AC_MSG_CHECKING(format of man-pages)
2862+
2863+AC_ARG_WITH(manpage-format,
2864+ [ --with-manpage-format specify manpage-format: gzip/compress/BSDI/normal and
2865+ optionally formatted/catonly, e.g., gzip,formatted],
2866+ [MANPAGE_FORMAT=$withval],
2867+ [MANPAGE_FORMAT=unknown])
2868+
2869+test -z "$MANPAGE_FORMAT" && MANPAGE_FORMAT=unknown
2870+MANPAGE_FORMAT=`echo "$MANPAGE_FORMAT" | sed -e 's/,/ /g'`
2871+
2872+cf_unknown=
2873+
2874+case $MANPAGE_FORMAT in
2875+unknown)
2876+ if test -z "$MANPATH" ; then
2877+ MANPATH="/usr/man:/usr/share/man"
2878+ fi
2879+
2880+ # look for the 'date' man-page (it's most likely to be installed!)
2881+ MANPAGE_FORMAT=
2882+ cf_preform=no
2883+ cf_catonly=yes
2884+ cf_example=date
2885+
2886+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATHSEP}"
2887+ for cf_dir in $MANPATH; do
2888+ test -z "$cf_dir" && cf_dir=/usr/man
2889+ for cf_name in $cf_dir/man*/$cf_example.[[01]]* $cf_dir/cat*/$cf_example.[[01]]* $cf_dir/man*/$cf_example $cf_dir/cat*/$cf_example
2890+ do
2891+ cf_test=`echo $cf_name | sed -e 's/*//'`
2892+ if test "x$cf_test" = "x$cf_name" ; then
2893+
2894+ case "$cf_name" in
2895+ *.gz) MANPAGE_FORMAT="$MANPAGE_FORMAT gzip";;
2896+ *.Z) MANPAGE_FORMAT="$MANPAGE_FORMAT compress";;
2897+ *.0) MANPAGE_FORMAT="$MANPAGE_FORMAT BSDI";;
2898+ *) MANPAGE_FORMAT="$MANPAGE_FORMAT normal";;
2899+ esac
2900+
2901+ case "$cf_name" in
2902+ $cf_dir/man*)
2903+ cf_catonly=no
2904+ ;;
2905+ $cf_dir/cat*)
2906+ cf_preform=yes
2907+ ;;
2908+ esac
2909+ break
2910+ fi
2911+
2912+ # if we found a match in either man* or cat*, stop looking
2913+ if test -n "$MANPAGE_FORMAT" ; then
2914+ cf_found=no
2915+ test "$cf_preform" = yes && MANPAGE_FORMAT="$MANPAGE_FORMAT formatted"
2916+ test "$cf_catonly" = yes && MANPAGE_FORMAT="$MANPAGE_FORMAT catonly"
2917+ case "$cf_name" in
2918+ $cf_dir/cat*)
2919+ cf_found=yes
2920+ ;;
2921+ esac
2922+ test $cf_found=yes && break
2923+ fi
2924+ done
2925+ # only check the first directory in $MANPATH where we find manpages
2926+ if test -n "$MANPAGE_FORMAT" ; then
2927+ break
2928+ fi
2929+ done
2930+ # if we did not find the example, just assume it is normal
2931+ test -z "$MANPAGE_FORMAT" && MANPAGE_FORMAT=normal
2932+ IFS="$ac_save_ifs"
2933+ ;;
2934+*)
2935+ for cf_option in $MANPAGE_FORMAT; do
2936+ case $cf_option in #(vi
2937+ gzip|compress|BSDI|normal|formatted|catonly)
2938+ ;;
2939+ *)
2940+ cf_unknown="$cf_unknown $cf_option"
2941+ ;;
2942+ esac
2943+ done
2944+ ;;
2945+esac
2946+
2947+AC_MSG_RESULT($MANPAGE_FORMAT)
2948+if test -n "$cf_unknown" ; then
2949+ AC_MSG_WARN(Unexpected manpage-format $cf_unknown)
2950+fi
2951+])dnl
2952+dnl ---------------------------------------------------------------------------
2953+dnl CF_MANPAGE_RENAMES version: 6 updated: 2002/01/19 22:51:32
2954+dnl ------------------
2955+dnl The Debian people have their own naming convention for manpages. This
2956+dnl option lets us override the name of the file containing renaming, or
2957+dnl disable it altogether.
2958+AC_DEFUN([CF_MANPAGE_RENAMES],
2959+[
2960+AC_MSG_CHECKING(for manpage renaming)
2961+
2962+AC_ARG_WITH(manpage-renames,
2963+ [ --with-manpage-renames specify manpage-renaming],
2964+ [MANPAGE_RENAMES=$withval],
2965+ [MANPAGE_RENAMES=yes])
2966+
2967+case ".$MANPAGE_RENAMES" in #(vi
2968+.no) #(vi
2969+ ;;
2970+.|.yes)
2971+ # Debian 'man' program?
2972+ if test -f /etc/debian_version ; then
2973+ MANPAGE_RENAMES=`cd $srcdir && pwd`/man/man_db.renames
2974+ else
2975+ MANPAGE_RENAMES=no
2976+ fi
2977+ ;;
2978+esac
2979+
2980+if test "$MANPAGE_RENAMES" != no ; then
2981+ if test -f $srcdir/man/$MANPAGE_RENAMES ; then
2982+ MANPAGE_RENAMES=`cd $srcdir/man && pwd`/$MANPAGE_RENAMES
2983+ elif test ! -f $MANPAGE_RENAMES ; then
2984+ AC_MSG_ERROR(not a filename: $MANPAGE_RENAMES)
2985+ fi
2986+
2987+ test ! -d man && mkdir man
2988+
2989+ # Construct a sed-script to perform renaming within man-pages
2990+ if test -n "$MANPAGE_RENAMES" ; then
2991+ test ! -d man && mkdir man
2992+ sh $srcdir/man/make_sed.sh $MANPAGE_RENAMES >man/edit_man.sed
2993+ fi
2994+fi
2995+
2996+AC_MSG_RESULT($MANPAGE_RENAMES)
2997+AC_SUBST(MANPAGE_RENAMES)
2998+])dnl
2999+dnl ---------------------------------------------------------------------------
3000+dnl CF_MANPAGE_SYMLINKS version: 4 updated: 2003/12/13 18:01:58
3001+dnl -------------------
3002+dnl Some people expect each tool to make all aliases for manpages in the
3003+dnl man-directory. This accommodates the older, less-capable implementations
3004+dnl of 'man', and is optional.
3005+AC_DEFUN([CF_MANPAGE_SYMLINKS],
3006+[
3007+AC_MSG_CHECKING(if manpage aliases will be installed)
3008+
3009+AC_ARG_WITH(manpage-aliases,
3010+ [ --with-manpage-aliases specify manpage-aliases using .so],
3011+ [MANPAGE_ALIASES=$withval],
3012+ [MANPAGE_ALIASES=yes])
3013+
3014+AC_MSG_RESULT($MANPAGE_ALIASES)
3015+
3016+if test "$LN_S" = "ln -s"; then
3017+ cf_use_symlinks=yes
3018+else
3019+ cf_use_symlinks=no
3020+fi
3021+
3022+MANPAGE_SYMLINKS=no
3023+if test "$MANPAGE_ALIASES" = yes ; then
3024+AC_MSG_CHECKING(if manpage symlinks should be used)
3025+
3026+AC_ARG_WITH(manpage-symlinks,
3027+ [ --with-manpage-symlinks specify manpage-aliases using symlinks],
3028+ [MANPAGE_SYMLINKS=$withval],
3029+ [MANPAGE_SYMLINKS=$cf_use_symlinks])
3030+
3031+if test "$$cf_use_symlinks" = no; then
3032+if test "$MANPAGE_SYMLINKS" = yes ; then
3033+ AC_MSG_WARN(cannot make symlinks, will use .so files)
3034+ MANPAGE_SYMLINKS=no
3035+fi
3036+fi
3037+
3038+AC_MSG_RESULT($MANPAGE_SYMLINKS)
3039+fi
3040+
3041+])dnl
3042+dnl ---------------------------------------------------------------------------
3043+dnl CF_MANPAGE_TBL version: 3 updated: 2002/01/19 22:51:32
3044+dnl --------------
3045+dnl This option causes manpages to be run through tbl(1) to generate tables
3046+dnl correctly.
3047+AC_DEFUN([CF_MANPAGE_TBL],
3048+[
3049+AC_MSG_CHECKING(for manpage tbl)
3050+
3051+AC_ARG_WITH(manpage-tbl,
3052+ [ --with-manpage-tbl specify manpage processing with tbl],
3053+ [MANPAGE_TBL=$withval],
3054+ [MANPAGE_TBL=no])
3055+
3056+AC_MSG_RESULT($MANPAGE_TBL)
3057+])dnl
3058+dnl ---------------------------------------------------------------------------
3059+dnl CF_MAN_PAGES version: 27 updated: 2003/12/20 20:39:45
3060+dnl ------------
3061+dnl Try to determine if the man-pages on the system are compressed, and if
3062+dnl so, what format is used. Use this information to construct a script that
3063+dnl will install man-pages.
3064+AC_DEFUN([CF_MAN_PAGES],
3065+[
3066+CF_MANPAGE_FORMAT
3067+CF_MANPAGE_RENAMES
3068+CF_MANPAGE_SYMLINKS
3069+CF_MANPAGE_TBL
3070+
3071+ if test "$prefix" = "NONE" ; then
3072+ cf_prefix="$ac_default_prefix"
3073+ else
3074+ cf_prefix="$prefix"
3075+ fi
3076+
3077+ case "$MANPAGE_FORMAT" in # (vi
3078+ *catonly*) # (vi
3079+ cf_format=yes
3080+ cf_inboth=no
3081+ ;;
3082+ *formatted*) # (vi
3083+ cf_format=yes
3084+ cf_inboth=yes
3085+ ;;
3086+ *)
3087+ cf_format=no
3088+ cf_inboth=no
3089+ ;;
3090+ esac
3091+
3092+test ! -d man && mkdir man
3093+
3094+cf_so_strip=
3095+cf_compress=
3096+case "$MANPAGE_FORMAT" in #(vi
3097+*compress*) #(vi
3098+ cf_so_strip="Z"
3099+ cf_compress=compress
3100+ ;;
3101+*gzip*) #(vi
3102+ cf_so_strip="gz"
3103+ cf_compress=gzip
3104+ ;;
3105+esac
3106+
3107+cf_edit_man=man/edit_man.sh
3108+
3109+cat >$cf_edit_man <<CF_EOF
3110+#! /bin/sh
3111+# this script is generated by the configure-script CF_MAN_PAGES macro.
3112+prefix="$cf_prefix"
3113+datadir="$datadir"
3114+NCURSES_OSPEED="$NCURSES_OSPEED"
3115+TERMINFO="$TERMINFO"
3116+MKDIRS="sh `cd $srcdir && pwd`/mkinstalldirs"
3117+INSTALL="$INSTALL"
3118+INSTALL_DATA="$INSTALL_DATA"
3119+transform="$program_transform_name"
3120+
3121+TMP=\${TMPDIR-/tmp}/man\$\$
3122+trap "rm -f \$TMP" 0 1 2 5 15
3123+
3124+form=\[$]1
3125+shift || exit 1
3126+
3127+verb=\[$]1
3128+shift || exit 1
3129+
3130+mandir=\[$]1
3131+shift || exit 1
3132+
3133+srcdir=\[$]1
3134+shift || exit 1
3135+
3136+if test "\$form" = normal ; then
3137+ if test "$cf_format" = yes ; then
3138+ if test "$cf_inboth" = no ; then
3139+ sh \[$]0 format \$verb \$mandir \$srcdir \[$]*
3140+ exit $?
3141+ fi
3142+ fi
3143+ cf_subdir=\$mandir/man
3144+ cf_tables=$MANPAGE_TBL
3145+else
3146+ cf_subdir=\$mandir/cat
3147+ cf_tables=yes
3148+fi
3149+
3150+# process the list of source-files
3151+for i in \[$]* ; do
3152+case \$i in #(vi
3153+*.orig|*.rej) ;; #(vi
3154+*.[[0-9]]*)
3155+ section=\`expr "\$i" : '.*\\.\\([[0-9]]\\)[[xm]]*'\`;
3156+ if test \$verb = installing ; then
3157+ if test ! -d \$cf_subdir\${section} ; then
3158+ \$MKDIRS \$cf_subdir\$section
3159+ fi
3160+ fi
3161+ aliases=
3162+ source=\`basename \$i\`
3163+ inalias=\$source
3164+ test ! -f \$inalias && inalias="\$srcdir/\$inalias"
3165+ if test ! -f \$inalias ; then
3166+ echo .. skipped \$source
3167+ continue
3168+ fi
3169+CF_EOF
3170+
3171+if test "$MANPAGE_ALIASES" != no ; then
3172+cat >>$cf_edit_man <<CF_EOF
3173+ aliases=\`sed -f \$srcdir/manlinks.sed \$inalias | sort -u\`
3174+CF_EOF
3175+fi
3176+
3177+if test "$MANPAGE_RENAMES" = no ; then
3178+cat >>$cf_edit_man <<CF_EOF
3179+ # perform program transformations for section 1 man pages
3180+ if test \$section = 1 ; then
3181+ target=\$cf_subdir\${section}/\`echo \$source|sed "\${transform}"\`
3182+ else
3183+ target=\$cf_subdir\${section}/\$source
3184+ fi
3185+CF_EOF
3186+else
3187+cat >>$cf_edit_man <<CF_EOF
3188+ target=\`grep "^\$source" $MANPAGE_RENAMES | $AWK '{print \[$]2}'\`
3189+ if test -z "\$target" ; then
3190+ echo '? missing rename for '\$source
3191+ target="\$source"
3192+ fi
3193+ target="\$cf_subdir\${section}/\${target}"
3194+CF_EOF
3195+fi
3196+
3197+ # replace variables in man page
3198+ ifelse($1,,,[
3199+ for cf_name in $1
3200+ do
3201+cat >>$cf_edit_man <<CF_EOF
3202+ prog_$cf_name=\`echo $cf_name|sed "\${transform}"\`
3203+CF_EOF
3204+ done
3205+ ])
3206+cat >>$cf_edit_man <<CF_EOF
3207+ sed -e "s,@DATADIR@,\$datadir," \\
3208+ -e "s,@TERMINFO@,\$TERMINFO," \\
3209+ -e "s,@NCURSES_OSPEED@,\$NCURSES_OSPEED," \\
3210+CF_EOF
3211+
3212+ ifelse($1,,,[
3213+ for cf_name in $1
3214+ do
3215+ cf_NAME=`echo "$cf_name" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
3216+cat >>$cf_edit_man <<CF_EOF
3217+ -e "s,@$cf_NAME@,\$prog_$cf_name," \\
3218+CF_EOF
3219+ done
3220+ ])
3221+
3222+if test -f $MANPAGE_RENAMES ; then
3223+cat >>$cf_edit_man <<CF_EOF
3224+ < \$i | sed -f $srcdir/edit_man.sed >\$TMP
3225+CF_EOF
3226+else
3227+cat >>$cf_edit_man <<CF_EOF
3228+ < \$i >\$TMP
3229+CF_EOF
3230+fi
3231+
3232+cat >>$cf_edit_man <<CF_EOF
3233+if test \$cf_tables = yes ; then
3234+ tbl \$TMP >\$TMP.out
3235+ mv \$TMP.out \$TMP
3236+fi
3237+CF_EOF
3238+
3239+if test $with_curses_h != yes ; then
3240+cat >>$cf_edit_man <<CF_EOF
3241+ sed -e "/\#[ ]*include/s,curses.h,ncurses.h," < \$TMP >\$TMP.out
3242+ mv \$TMP.out \$TMP
3243+CF_EOF
3244+fi
3245+
3246+cat >>$cf_edit_man <<CF_EOF
3247+ if test \$form = format ; then
3248+ nroff -man \$TMP >\$TMP.out
3249+ mv \$TMP.out \$TMP
3250+ fi
3251+CF_EOF
3252+
3253+if test -n "$cf_compress" ; then
3254+cat >>$cf_edit_man <<CF_EOF
3255+ if test \$verb = installing ; then
3256+ if ( $cf_compress -f \$TMP )
3257+ then
3258+ mv \$TMP.$cf_so_strip \$TMP
3259+ fi
3260+ fi
3261+ target="\$target.$cf_so_strip"
3262+CF_EOF
3263+fi
3264+
3265+case "$MANPAGE_FORMAT" in #(vi
3266+*BSDI*)
3267+cat >>$cf_edit_man <<CF_EOF
3268+ if test \$form = format ; then
3269+ # BSDI installs only .0 suffixes in the cat directories
3270+ target="\`echo \$target|sed -e 's/\.[[1-9]]\+[[a-z]]*/.0/'\`"
3271+ fi
3272+CF_EOF
3273+ ;;
3274+esac
3275+
3276+cat >>$cf_edit_man <<CF_EOF
3277+ suffix=\`basename \$target | sed -e 's%^[[^.]]*%%'\`
3278+ if test \$verb = installing ; then
3279+ echo \$verb \$target
3280+ \$INSTALL_DATA \$TMP \$target
3281+ test -n "\$aliases" && (
3282+ cd \$cf_subdir\${section} && (
3283+ source=\`echo \$target |sed -e 's%^.*/\([[^/]][[^/]]*/[[^/]][[^/]]*$\)%\1%'\`
3284+ test -n "$cf_so_strip" && source=\`echo \$source |sed -e 's%\.$cf_so_strip\$%%'\`
3285+ target=\`basename \$target\`
3286+ for cf_alias in \$aliases
3287+ do
3288+ if test \$section = 1 ; then
3289+ cf_alias=\`echo \$cf_alias|sed "\${transform}"\`
3290+ fi
3291+
3292+ if test "$MANPAGE_SYMLINKS" = yes ; then
3293+ if test -f \$cf_alias\${suffix} ; then
3294+ if ( cmp -s \$target \$cf_alias\${suffix} )
3295+ then
3296+ continue
3297+ fi
3298+ fi
3299+ echo .. \$verb alias \$cf_alias\${suffix}
3300+ rm -f \$cf_alias\${suffix}
3301+ $LN_S \$target \$cf_alias\${suffix}
3302+ elif test "\$target" != "\$cf_alias\${suffix}" ; then
3303+ echo ".so \$source" >\$TMP
3304+CF_EOF
3305+if test -n "$cf_compress" ; then
3306+cat >>$cf_edit_man <<CF_EOF
3307+ if test -n "$cf_so_strip" ; then
3308+ $cf_compress -f \$TMP
3309+ mv \$TMP.$cf_so_strip \$TMP
3310+ fi
3311+CF_EOF
3312+fi
3313+cat >>$cf_edit_man <<CF_EOF
3314+ echo .. \$verb alias \$cf_alias\${suffix}
3315+ rm -f \$cf_alias\${suffix}
3316+ \$INSTALL_DATA \$TMP \$cf_alias\${suffix}
3317+ fi
3318+ done
3319+ )
3320+ )
3321+ elif test \$verb = removing ; then
3322+ echo \$verb \$target
3323+ rm -f \$target
3324+ test -n "\$aliases" && (
3325+ cd \$cf_subdir\${section} && (
3326+ for cf_alias in \$aliases
3327+ do
3328+ if test \$section = 1 ; then
3329+ cf_alias=\`echo \$cf_alias|sed "\${transform}"\`
3330+ fi
3331+
3332+ echo .. \$verb alias \$cf_alias\${suffix}
3333+ rm -f \$cf_alias\${suffix}
3334+ done
3335+ )
3336+ )
3337+ else
3338+# echo ".hy 0"
3339+ cat \$TMP
3340+ fi
3341+ ;;
3342+esac
3343+done
3344+
3345+if test $cf_inboth = yes ; then
3346+if test \$form != format ; then
3347+ sh \[$]0 format \$verb \$mandir \$srcdir \[$]*
3348+fi
3349+fi
3350+
3351+exit 0
3352+CF_EOF
3353+chmod 755 $cf_edit_man
3354+
3355+])dnl
3356+dnl ---------------------------------------------------------------------------
3357+dnl CF_MATH_LIB version: 5 updated: 2000/05/28 01:39:10
3358+dnl -----------
3359+dnl Checks for libraries. At least one UNIX system, Apple Macintosh
3360+dnl Rhapsody 5.5, does not have -lm. We cannot use the simpler
3361+dnl AC_CHECK_LIB(m,sin), because that fails for C++.
3362+AC_DEFUN([CF_MATH_LIB],
3363+[
3364+AC_CACHE_CHECK(if -lm needed for math functions,
3365+ cf_cv_need_libm,[
3366+ AC_TRY_LINK([
3367+ #include <stdio.h>
3368+ #include <math.h>
3369+ ],
3370+ [double x = rand(); printf("result = %g\n", ]ifelse($2,,sin(x),$2)[)],
3371+ [cf_cv_need_libm=no],
3372+ [cf_cv_need_libm=yes])])
3373+if test "$cf_cv_need_libm" = yes
3374+then
3375+ifelse($1,,[
3376+ LIBS="$LIBS -lm"
3377+],[$1=-lm])
3378+fi
3379+])
3380+dnl ---------------------------------------------------------------------------
3381+dnl CF_MIXEDCASE_FILENAMES version: 3 updated: 2003/09/20 17:07:55
3382+dnl ----------------------
3383+dnl Check if the file-system supports mixed-case filenames. If we're able to
3384+dnl create a lowercase name and see it as uppercase, it doesn't support that.
3385+AC_DEFUN([CF_MIXEDCASE_FILENAMES],
3386+[
3387+AC_CACHE_CHECK(if filesystem supports mixed-case filenames,cf_cv_mixedcase,[
3388+if test "$cross_compiling" = yes ; then
3389+ case $target_alias in #(vi
3390+ *-os2-emx*|*-msdosdjgpp*|*-cygwin*|*-mingw32*|*-uwin*) #(vi
3391+ cf_cv_mixedcase=no
3392+ ;;
3393+ *)
3394+ cf_cv_mixedcase=yes
3395+ ;;
3396+ esac
3397+else
3398+ rm -f conftest CONFTEST
3399+ echo test >conftest
3400+ if test -f CONFTEST ; then
3401+ cf_cv_mixedcase=no
3402+ else
3403+ cf_cv_mixedcase=yes
3404+ fi
3405+ rm -f conftest CONFTEST
3406+fi
3407+])
3408+test "$cf_cv_mixedcase" = yes && AC_DEFINE(MIXEDCASE_FILENAMES)
3409+])dnl
3410+dnl ---------------------------------------------------------------------------
3411+dnl CF_MKSTEMP version: 3 updated: 2001/11/08 20:59:59
3412+dnl ----------
3413+dnl Check for a working mkstemp. This creates two files, checks that they are
3414+dnl successfully created and distinct (AmigaOS apparently fails on the last).
3415+AC_DEFUN([CF_MKSTEMP],[
3416+AC_CACHE_CHECK(for working mkstemp, cf_cv_func_mkstemp,[
3417+rm -f conftest*
3418+AC_TRY_RUN([
3419+#include <sys/types.h>
3420+#include <stdlib.h>
3421+#include <stdio.h>
3422+#include <string.h>
3423+#include <sys/stat.h>
3424+int main()
3425+{
3426+ char *tmpl = "conftestXXXXXX";
3427+ char name[2][80];
3428+ int n;
3429+ int result = 0;
3430+ int fd;
3431+ struct stat sb;
3432+
3433+ umask(077);
3434+ for (n = 0; n < 2; ++n) {
3435+ strcpy(name[n], tmpl);
3436+ if ((fd = mkstemp(name[n])) >= 0) {
3437+ if (!strcmp(name[n], tmpl)
3438+ || stat(name[n], &sb) != 0
3439+ || (sb.st_mode & S_IFMT) != S_IFREG
3440+ || (sb.st_mode & 077) != 0) {
3441+ result = 1;
3442+ }
3443+ close(fd);
3444+ }
3445+ }
3446+ if (result == 0
3447+ && !strcmp(name[0], name[1]))
3448+ result = 1;
3449+ exit(result);
3450+}
3451+],[cf_cv_func_mkstemp=yes
3452+],[cf_cv_func_mkstemp=no
3453+],[AC_CHECK_FUNC(mkstemp)
3454+])
3455+])
3456+if test "$cf_cv_func_mkstemp" = yes ; then
3457+ AC_DEFINE(HAVE_MKSTEMP)
3458+fi
3459+])dnl
3460+dnl ---------------------------------------------------------------------------
3461+dnl CF_NUMBER_SYNTAX version: 1 updated: 2003/09/20 18:12:49
3462+dnl ----------------
3463+dnl Check if the given variable is a number. If not, report an error.
3464+dnl $1 is the variable
3465+dnl $2 is the message
3466+AC_DEFUN([CF_NUMBER_SYNTAX],[
3467+if test -n "$1" ; then
3468+ case $1 in #(vi
3469+ [[0-9]]*) #(vi
3470+ ;;
3471+ *)
3472+ AC_MSG_ERROR($2 is not a number: $1)
3473+ ;;
3474+ esac
3475+else
3476+ AC_MSG_ERROR($2 value is empty)
3477+fi
3478+])dnl
3479+dnl ---------------------------------------------------------------------------
3480+dnl CF_OBJ_SUBDIR version: 4 updated: 2002/02/23 20:38:31
3481+dnl -------------
3482+dnl Compute the object-directory name from the given model name
3483+AC_DEFUN([CF_OBJ_SUBDIR],
3484+[
3485+ case $1 in
3486+ libtool) $2='obj_lo' ;;
3487+ normal) $2='objects' ;;
3488+ debug) $2='obj_g' ;;
3489+ profile) $2='obj_p' ;;
3490+ shared)
3491+ case $cf_cv_system_name in #(vi
3492+ cygwin) #(vi
3493+ $2='objects' ;;
3494+ *)
3495+ $2='obj_s' ;;
3496+ esac
3497+ esac
3498+])dnl
3499+dnl ---------------------------------------------------------------------------
3500+dnl CF_PATHSEP version: 3 updated: 2001/01/12 01:23:53
3501+dnl ----------
3502+dnl Provide a value for the $PATH and similar separator
3503+AC_DEFUN([CF_PATHSEP],
3504+[
3505+ case $cf_cv_system_name in
3506+ os2*) PATHSEP=';' ;;
3507+ *) PATHSEP=':' ;;
3508+ esac
3509+ifelse($1,,,[$1=$PATHSEP])
3510+ AC_SUBST(PATHSEP)
3511+])dnl
3512+dnl ---------------------------------------------------------------------------
3513+dnl CF_PATH_SYNTAX version: 9 updated: 2002/09/17 23:03:38
3514+dnl --------------
3515+dnl Check the argument to see that it looks like a pathname. Rewrite it if it
3516+dnl begins with one of the prefix/exec_prefix variables, and then again if the
3517+dnl result begins with 'NONE'. This is necessary to work around autoconf's
3518+dnl delayed evaluation of those symbols.
3519+AC_DEFUN([CF_PATH_SYNTAX],[
3520+case ".[$]$1" in #(vi
3521+.\[$]\(*\)*|.\'*\'*) #(vi
3522+ ;;
3523+..|./*|.\\*) #(vi
3524+ ;;
3525+.[[a-zA-Z]]:[[\\/]]*) #(vi OS/2 EMX
3526+ ;;
3527+.\[$]{*prefix}*) #(vi
3528+ eval $1="[$]$1"
3529+ case ".[$]$1" in #(vi
3530+ .NONE/*)
3531+ $1=`echo [$]$1 | sed -e s%NONE%$ac_default_prefix%`
3532+ ;;
3533+ esac
3534+ ;; #(vi
3535+.NONE/*)
3536+ $1=`echo [$]$1 | sed -e s%NONE%$ac_default_prefix%`
3537+ ;;
3538+*)
3539+ ifelse($2,,[AC_ERROR([expected a pathname, not \"[$]$1\"])],$2)
3540+ ;;
3541+esac
3542+])dnl
3543+dnl ---------------------------------------------------------------------------
3544+dnl CF_PREDEFINE version: 1 updated: 2003/07/26 17:53:56
3545+dnl ------------
3546+dnl Add definitions to CPPFLAGS to ensure they're predefined for all compiles.
3547+dnl
3548+dnl $1 = symbol to test
3549+dnl $2 = value (if any) to use for a predefinition
3550+AC_DEFUN([CF_PREDEFINE],
3551+[
3552+AC_MSG_CHECKING(if we must define $1)
3553+AC_TRY_COMPILE([#include <sys/types.h>
3554+],[
3555+#ifndef $1
3556+make an error
3557+#endif],[cf_result=no],[cf_result=yes])
3558+AC_MSG_RESULT($cf_result)
3559+
3560+if test "$cf_result" = yes ; then
3561+ CPPFLAGS="$CPPFLAGS ifelse($2,,-D$1,[-D$1=$2])"
3562+elif test "x$2" != "x" ; then
3563+ AC_MSG_CHECKING(checking for compatible value versus $2)
3564+ AC_TRY_COMPILE([#include <sys/types.h>
3565+],[
3566+#if $1-$2 < 0
3567+make an error
3568+#endif],[cf_result=yes],[cf_result=no])
3569+ AC_MSG_RESULT($cf_result)
3570+ if test "$cf_result" = no ; then
3571+ # perhaps we can override it - try...
3572+ CPPFLAGS="$CPPFLAGS -D$1=$2"
3573+ fi
3574+fi
3575+])dnl
3576+dnl ---------------------------------------------------------------------------
3577+dnl CF_PROG_EXT version: 10 updated: 2004/01/03 19:28:18
3578+dnl -----------
3579+dnl Compute $PROG_EXT, used for non-Unix ports, such as OS/2 EMX.
3580+AC_DEFUN([CF_PROG_EXT],
3581+[
3582+AC_REQUIRE([CF_CHECK_CACHE])
3583+case $cf_cv_system_name in
3584+os2*)
3585+ CFLAGS="$CFLAGS -Zmt"
3586+ CPPFLAGS="$CPPFLAGS -D__ST_MT_ERRNO__"
3587+ CXXFLAGS="$CXXFLAGS -Zmt"
3588+ # autoconf's macro sets -Zexe and suffix both, which conflict:w
3589+ LDFLAGS="$LDFLAGS -Zmt -Zcrtdll"
3590+ ac_cv_exeext=.exe
3591+ ;;
3592+esac
3593+
3594+AC_EXEEXT
3595+AC_OBJEXT
3596+
3597+PROG_EXT="$EXEEXT"
3598+AC_SUBST(PROG_EXT)
3599+test -n "$PROG_EXT" && AC_DEFINE_UNQUOTED(PROG_EXT,"$PROG_EXT")
3600+])dnl
3601+dnl ---------------------------------------------------------------------------
3602+dnl CF_PROG_INSTALL version: 5 updated: 2002/12/21 22:46:07
3603+dnl ---------------
3604+dnl Force $INSTALL to be an absolute-path. Otherwise, edit_man.sh and the
3605+dnl misc/tabset install won't work properly. Usually this happens only when
3606+dnl using the fallback mkinstalldirs script
3607+AC_DEFUN([CF_PROG_INSTALL],
3608+[AC_PROG_INSTALL
3609+case $INSTALL in
3610+/*)
3611+ ;;
3612+*)
3613+ CF_DIRNAME(cf_dir,$INSTALL)
3614+ test -z "$cf_dir" && cf_dir=.
3615+ INSTALL=`cd $cf_dir && pwd`/`echo $INSTALL | sed -e 's%^.*/%%'`
3616+ ;;
3617+esac
3618+])dnl
3619+dnl ---------------------------------------------------------------------------
3620+dnl CF_PROG_LDCONFIG version: 1 updated: 2003/09/20 17:07:55
3621+dnl ----------------
3622+dnl Check for ldconfig, needed to fixup shared libraries that would be built
3623+dnl and then used in the install.
3624+AC_DEFUN([CF_PROG_LDCONFIG],[
3625+if test "$cross_compiling" = yes ; then
3626+ LDCONFIG=:
3627+else
3628+case "$cf_cv_system_name" in #(vi
3629+freebsd*) #(vi
3630+ test -z "$LDCONFIG" && LDCONFIG="/sbin/ldconfig -R"
3631+ ;;
3632+*) LDPATH=$PATH:/sbin:/usr/sbin
3633+ AC_PATH_PROG(LDCONFIG,ldconfig,,$LDPATH)
3634+ ;;
3635+esac
3636+fi
3637+AC_SUBST(LDCONFIG)
3638+])dnl
3639+dnl ---------------------------------------------------------------------------
3640+dnl CF_REGEX version: 3 updated: 1997/11/01 14:26:01
3641+dnl --------
3642+dnl Attempt to determine if we've got one of the flavors of regular-expression
3643+dnl code that we can support.
3644+AC_DEFUN([CF_REGEX],
3645+[
3646+AC_MSG_CHECKING([for regular-expression headers])
3647+AC_CACHE_VAL(cf_cv_regex,[
3648+AC_TRY_LINK([#include <sys/types.h>
3649+#include <regex.h>],[
3650+ regex_t *p;
3651+ int x = regcomp(p, "", 0);
3652+ int y = regexec(p, "", 0, 0, 0);
3653+ regfree(p);
3654+ ],[cf_cv_regex="regex.h"],[
3655+ AC_TRY_LINK([#include <regexp.h>],[
3656+ char *p = compile("", "", "", 0);
3657+ int x = step("", "");
3658+ ],[cf_cv_regex="regexp.h"],[
3659+ cf_save_LIBS="$LIBS"
3660+ LIBS="-lgen $LIBS"
3661+ AC_TRY_LINK([#include <regexpr.h>],[
3662+ char *p = compile("", "", "");
3663+ int x = step("", "");
3664+ ],[cf_cv_regex="regexpr.h"],[LIBS="$cf_save_LIBS"])])])
3665+])
3666+AC_MSG_RESULT($cf_cv_regex)
3667+case $cf_cv_regex in
3668+ regex.h) AC_DEFINE(HAVE_REGEX_H_FUNCS) ;;
3669+ regexp.h) AC_DEFINE(HAVE_REGEXP_H_FUNCS) ;;
3670+ regexpr.h) AC_DEFINE(HAVE_REGEXPR_H_FUNCS) ;;
3671+esac
3672+])dnl
3673+dnl ---------------------------------------------------------------------------
3674+dnl CF_SHARED_OPTS version: 30 updated: 2003/12/27 20:48:07
3675+dnl --------------
3676+dnl Attempt to determine the appropriate CC/LD options for creating a shared
3677+dnl library.
3678+dnl
3679+dnl Note: $(LOCAL_LDFLAGS) is used to link executables that will run within the
3680+dnl build-tree, i.e., by making use of the libraries that are compiled in ../lib
3681+dnl We avoid compiling-in a ../lib path for the shared library since that can
3682+dnl lead to unexpected results at runtime.
3683+dnl $(LOCAL_LDFLAGS2) has the same intention but assumes that the shared libraries
3684+dnl are compiled in ../../lib
3685+dnl
3686+dnl The variable 'cf_cv_do_symlinks' is used to control whether we configure
3687+dnl to install symbolic links to the rel/abi versions of shared libraries.
3688+dnl
3689+dnl The variable 'cf_cv_shlib_version' controls whether we use the rel or abi
3690+dnl version when making symbolic links.
3691+dnl
3692+dnl The variable 'cf_cv_shlib_version_infix' controls whether shared library
3693+dnl version numbers are infix (ex: libncurses.<ver>.dylib) or postfix
3694+dnl (ex: libncurses.so.<ver>).
3695+dnl
3696+dnl Some loaders leave 'so_locations' lying around. It's nice to clean up.
3697+AC_DEFUN([CF_SHARED_OPTS],
3698+[
3699+ AC_REQUIRE([CF_SUBST_NCURSES_VERSION])
3700+ LOCAL_LDFLAGS=
3701+ LOCAL_LDFLAGS2=
3702+ LD_SHARED_OPTS=
3703+ INSTALL_LIB="-m 644"
3704+
3705+ cf_cv_do_symlinks=no
3706+
3707+ AC_MSG_CHECKING(if release/abi version should be used for shared libs)
3708+ AC_ARG_WITH(shlib-version,
3709+ [ --with-shlib-version=X Specify rel or abi version for shared libs],
3710+ [test -z "$withval" && withval=auto
3711+ case $withval in #(vi
3712+ yes) #(vi
3713+ cf_cv_shlib_version=auto
3714+ ;;
3715+ rel|abi|auto|no) #(vi
3716+ cf_cv_shlib_version=$withval
3717+ ;;
3718+ *)
3719+ AC_ERROR([option value must be one of: rel, abi, auto or no])
3720+ ;;
3721+ esac
3722+ ],[cf_cv_shlib_version=auto])
3723+ AC_MSG_RESULT($cf_cv_shlib_version)
3724+
3725+ cf_cv_rm_so_locs=no
3726+
3727+ # Some less-capable ports of gcc support only -fpic
3728+ CC_SHARED_OPTS=
3729+ if test "$GCC" = yes
3730+ then
3731+ AC_MSG_CHECKING(which $CC option to use)
3732+ cf_save_CFLAGS="$CFLAGS"
3733+ for CC_SHARED_OPTS in -fPIC -fpic ''
3734+ do
3735+ CFLAGS="$cf_save_CFLAGS $CC_SHARED_OPTS"
3736+ AC_TRY_COMPILE([#include <stdio.h>],[int x = 1],[break],[])
3737+ done
3738+ AC_MSG_RESULT($CC_SHARED_OPTS)
3739+ CFLAGS="$cf_save_CFLAGS"
3740+ fi
3741+
3742+ cf_cv_shlib_version_infix=no
3743+
3744+ case $cf_cv_system_name in
3745+ beos*)
3746+ MK_SHARED_LIB='$(CC) -o $[@] -Xlinker -soname=`basename $[@]` -nostart -e 0'
3747+ ;;
3748+ cygwin*)
3749+ CC_SHARED_OPTS=
3750+ MK_SHARED_LIB='$(CC) -shared -Wl,--out-implib=$(IMPORT_LIB) -Wl,--export-all-symbols -o $(SHARED_LIB)'
3751+ cf_cv_shlib_version=cygdll
3752+ cf_cv_shlib_version_infix=cygdll
3753+ ;;
3754+ darwin*)
3755+ EXTRA_CFLAGS="-no-cpp-precomp"
3756+ CC_SHARED_OPTS="-dynamic"
3757+ MK_SHARED_LIB='$(CC) -dynamiclib -install_name $(DESTDIR)$(libdir)/`basename $[@]` -compatibility_version $(ABI_VERSION) -current_version $(ABI_VERSION) -o $[@]'
3758+ test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=abi
3759+ cf_cv_shlib_version_infix=yes
3760+ ;;
3761+ hpux*)
3762+ # (tested with gcc 2.7.2 -- I don't have c89)
3763+ if test "$GCC" = yes; then
3764+ LD_SHARED_OPTS='-Xlinker +b -Xlinker $(libdir)'
3765+ else
3766+ CC_SHARED_OPTS='+Z'
3767+ LD_SHARED_OPTS='-Wl,+b,$(libdir)'
3768+ fi
3769+ MK_SHARED_LIB='$(LD) +b $(libdir) -b -o $[@]'
3770+ # HP-UX shared libraries must be executable, and should be
3771+ # readonly to exploit a quirk in the memory manager.
3772+ INSTALL_LIB="-m 555"
3773+ ;;
3774+ irix*)
3775+ if test "$cf_cv_ld_rpath" = yes ; then
3776+ cf_ld_rpath_opt="-Wl,-rpath,"
3777+ EXTRA_LDFLAGS="-Wl,-rpath,\$(libdir) $EXTRA_LDFLAGS"
3778+ fi
3779+ # tested with IRIX 5.2 and 'cc'.
3780+ if test "$GCC" != yes; then
3781+ CC_SHARED_OPTS='-KPIC'
3782+ fi
3783+ MK_SHARED_LIB='$(LD) -shared -rdata_shared -soname `basename $[@]` -o $[@]'
3784+ cf_cv_rm_so_locs=yes
3785+ ;;
3786+ linux*|gnu*|k*bsd*-gnu)
3787+ if test "$DFT_LWR_MODEL" = "shared" ; then
3788+ LOCAL_LDFLAGS="-Wl,-rpath,`pwd`/lib"
3789+ LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
3790+ fi
3791+ if test "$cf_cv_ld_rpath" = yes ; then
3792+ cf_ld_rpath_opt="-Wl,-rpath,"
3793+ EXTRA_LDFLAGS="$LOCAL_LDFLAGS $EXTRA_LDFLAGS"
3794+ fi
3795+ test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
3796+ MK_SHARED_LIB='$(CC) -shared -Wl,-soname,`basename $[@] .$(REL_VERSION)`.$(ABI_VERSION),-stats,-lc -o $[@]'
3797+ ;;
3798+ openbsd2*)
3799+ CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
3800+ MK_SHARED_LIB='$(LD) -Bshareable -soname,`basename $[@].$(ABI_VERSION)` -o $[@]'
3801+ ;;
3802+ freebsd[[45]]*)
3803+ CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
3804+ MK_SHARED_LIB='$(LD) -Bshareable -soname=`basename $[@]` -o $[@]'
3805+ test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
3806+
3807+# This doesn't work - I keep getting spurious references to needing
3808+# libncurses.so.5.3 when ldd says it's resolved. LOCAL_LDFLAGS2 seems to be
3809+# no longer used anyway. And the rpath logic isn't relative - so I have to
3810+# add the local and install lib-directories:
3811+#
3812+# if test "$DFT_LWR_MODEL" = "shared" && test "$cf_cv_ld_rpath" = yes ; then
3813+# LOCAL_LDFLAGS="-rpath `pwd`/lib"
3814+# LOCAL_LDFLAGS2="-rpath \$(libdir) $LOCAL_LDFLAGS"
3815+# cf_ld_rpath_opt="-rpath "
3816+# EXTRA_LDFLAGS="$LOCAL_LDFLAGS $EXTRA_LDFLAGS"
3817+# fi
3818+ ;;
3819+ openbsd*|freebsd*)
3820+ CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
3821+ MK_SHARED_LIB='$(LD) -Bshareable -o $[@]'
3822+ test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
3823+ ;;
3824+ netbsd*)
3825+ CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
3826+ test "$cf_cv_ld_rpath" = yes && cf_ld_rpath_opt="-Wl,-rpath,"
3827+ if test "$DFT_LWR_MODEL" = "shared" && test "$cf_cv_ld_rpath" = yes ; then
3828+ LOCAL_LDFLAGS="-Wl,-rpath,`pwd`/lib"
3829+ LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
3830+ EXTRA_LDFLAGS="-Wl,-rpath,\$(libdir) $EXTRA_LDFLAGS"
3831+ MK_SHARED_LIB='$(CC) -shared -Wl,-soname,`basename $[@] .$(REL_VERSION)`.$(ABI_VERSION) -o $[@]'
3832+ if test "$cf_cv_shlib_version" = auto; then
3833+ if test ! -f /usr/libexec/ld.elf_so; then
3834+ cf_cv_shlib_version=rel
3835+ fi
3836+ fi
3837+ else
3838+ MK_SHARED_LIB='$(LD) -Bshareable -o $[@]'
3839+ fi
3840+ ;;
3841+ osf*|mls+*)
3842+ # tested with OSF/1 V3.2 and 'cc'
3843+ # tested with OSF/1 V3.2 and gcc 2.6.3 (but the c++ demo didn't
3844+ # link with shared libs).
3845+ MK_SHARED_LIB='$(LD) -set_version $(REL_VERSION):$(ABI_VERSION) -expect_unresolved "*" -shared -soname `basename $[@]`'
3846+ case $host_os in
3847+ osf4*)
3848+ MK_SHARED_LIB="${MK_SHARED_LIB} -msym"
3849+ ;;
3850+ esac
3851+ MK_SHARED_LIB="${MK_SHARED_LIB}"' -o $[@]'
3852+ if test "$DFT_LWR_MODEL" = "shared" ; then
3853+ LOCAL_LDFLAGS="-Wl,-rpath,`pwd`/lib"
3854+ LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
3855+ fi
3856+ if test "$cf_cv_ld_rpath" = yes ; then
3857+ cf_ld_rpath_opt="-rpath"
3858+ # EXTRA_LDFLAGS="$LOCAL_LDFLAGS $EXTRA_LDFLAGS"
3859+ fi
3860+ cf_cv_rm_so_locs=yes
3861+ ;;
3862+ sco3.2v5*) # (also uw2* and UW7) hops 13-Apr-98
3863+ # tested with osr5.0.5
3864+ if test "$GCC" != yes; then
3865+ CC_SHARED_OPTS='-belf -KPIC'
3866+ fi
3867+ MK_SHARED_LIB='$(LD) -dy -G -h `basename $[@] .$(REL_VERSION)`.$(ABI_VERSION) -o [$]@'
3868+ if test "$cf_cv_ld_rpath" = yes ; then
3869+ # only way is to set LD_RUN_PATH but no switch for it
3870+ RUN_PATH=$libdir
3871+ fi
3872+ test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
3873+ LINK_PROGS='LD_RUN_PATH=$(libdir)'
3874+ LINK_TESTS='Pwd=`pwd`;LD_RUN_PATH=`dirname $${Pwd}`/lib'
3875+ ;;
3876+ sunos4*)
3877+ # tested with SunOS 4.1.1 and gcc 2.7.0
3878+ if test "$GCC" != yes; then
3879+ CC_SHARED_OPTS='-KPIC'
3880+ fi
3881+ MK_SHARED_LIB='$(LD) -assert pure-text -o $[@]'
3882+ test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
3883+ ;;
3884+ solaris2*)
3885+ # tested with SunOS 5.5.1 (solaris 2.5.1) and gcc 2.7.2
3886+ if test "$GCC" != yes; then
3887+ CC_SHARED_OPTS='-KPIC'
3888+ fi
3889+ MK_SHARED_LIB='$(LD) -dy -G -h `basename $[@] .$(REL_VERSION)`.$(ABI_VERSION) -o $[@]'
3890+ if test "$DFT_LWR_MODEL" = "shared" ; then
3891+ LOCAL_LDFLAGS="-R `pwd`/lib:\$(libdir)"
3892+ LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
3893+ fi
3894+ if test "$cf_cv_ld_rpath" = yes ; then
3895+ cf_ld_rpath_opt="-R"
3896+ EXTRA_LDFLAGS="$LOCAL_LDFLAGS $EXTRA_LDFLAGS"
3897+ fi
3898+ test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
3899+ ;;
3900+ sysv5uw7*|unix_sv*)
3901+ # tested with UnixWare 7.1.0 (gcc 2.95.2 and cc)
3902+ if test "$GCC" != yes; then
3903+ CC_SHARED_OPTS='-KPIC'
3904+ fi
3905+ MK_SHARED_LIB='$(LD) -d y -G -o [$]@'
3906+ ;;
3907+ *)
3908+ CC_SHARED_OPTS='unknown'
3909+ MK_SHARED_LIB='echo unknown'
3910+ ;;
3911+ esac
3912+
3913+ # This works if the last tokens in $MK_SHARED_LIB are the -o target.
3914+ case "$cf_cv_shlib_version" in #(vi
3915+ rel|abi)
3916+ case "$MK_SHARED_LIB" in #(vi
3917+ *'-o $[@]')
3918+ test "$cf_cv_do_symlinks" = no && cf_cv_do_symlinks=yes
3919+ ;;
3920+ *)
3921+ AC_MSG_WARN(ignored --with-shlib-version)
3922+ ;;
3923+ esac
3924+ ;;
3925+ esac
3926+
3927+ if test -n "$cf_ld_rpath_opt" ; then
3928+ AC_MSG_CHECKING(if we need a space after rpath option)
3929+ cf_save_LIBS="$LIBS"
3930+ LIBS="$LIBS ${cf_ld_rpath_opt}$libdir"
3931+ AC_TRY_LINK(, , cf_rpath_space=no, cf_rpath_space=yes)
3932+ LIBS="$cf_save_LIBS"
3933+ AC_MSG_RESULT($cf_rpath_space)
3934+ test "$cf_rpath_space" = yes && cf_ld_rpath_opt="$cf_ld_rpath_opt "
3935+ MK_SHARED_LIB="$MK_SHARED_LIB $cf_ld_rpath_opt\$(libdir)"
3936+ fi
3937+
3938+ AC_SUBST(CC_SHARED_OPTS)
3939+ AC_SUBST(LD_SHARED_OPTS)
3940+ AC_SUBST(MK_SHARED_LIB)
3941+ AC_SUBST(LINK_PROGS)
3942+ AC_SUBST(LINK_TESTS)
3943+ AC_SUBST(EXTRA_LDFLAGS)
3944+ AC_SUBST(LOCAL_LDFLAGS)
3945+ AC_SUBST(LOCAL_LDFLAGS2)
3946+ AC_SUBST(INSTALL_LIB)
3947+])dnl
3948+dnl ---------------------------------------------------------------------------
3949+dnl CF_SIZECHANGE version: 8 updated: 2000/11/04 12:22:16
3950+dnl -------------
3951+dnl Check for definitions & structures needed for window size-changing
3952+dnl FIXME: check that this works with "snake" (HP-UX 10.x)
3953+AC_DEFUN([CF_SIZECHANGE],
3954+[
3955+AC_REQUIRE([CF_STRUCT_TERMIOS])
3956+AC_CACHE_CHECK(declaration of size-change, cf_cv_sizechange,[
3957+ cf_cv_sizechange=unknown
3958+ cf_save_CPPFLAGS="$CPPFLAGS"
3959+
3960+for cf_opts in "" "NEED_PTEM_H"
3961+do
3962+
3963+ CPPFLAGS="$cf_save_CPPFLAGS"
3964+ test -n "$cf_opts" && CPPFLAGS="$CPPFLAGS -D$cf_opts"
3965+ AC_TRY_COMPILE([#include <sys/types.h>
3966+#ifdef HAVE_TERMIOS_H
3967+#include <termios.h>
3968+#else
3969+#ifdef HAVE_TERMIO_H
3970+#include <termio.h>
3971+#endif
3972+#endif
3973+#ifdef NEED_PTEM_H
3974+/* This is a workaround for SCO: they neglected to define struct winsize in
3975+ * termios.h -- it's only in termio.h and ptem.h
3976+ */
3977+#include <sys/stream.h>
3978+#include <sys/ptem.h>
3979+#endif
3980+#if !defined(sun) || !defined(HAVE_TERMIOS_H)
3981+#include <sys/ioctl.h>
3982+#endif
3983+],[
3984+#ifdef TIOCGSIZE
3985+ struct ttysize win; /* FIXME: what system is this? */
3986+ int y = win.ts_lines;
3987+ int x = win.ts_cols;
3988+#else
3989+#ifdef TIOCGWINSZ
3990+ struct winsize win;
3991+ int y = win.ws_row;
3992+ int x = win.ws_col;
3993+#else
3994+ no TIOCGSIZE or TIOCGWINSZ
3995+#endif /* TIOCGWINSZ */
3996+#endif /* TIOCGSIZE */
3997+ ],
3998+ [cf_cv_sizechange=yes],
3999+ [cf_cv_sizechange=no])
4000+
4001+ CPPFLAGS="$cf_save_CPPFLAGS"
4002+ if test "$cf_cv_sizechange" = yes ; then
4003+ echo "size-change succeeded ($cf_opts)" >&AC_FD_CC
4004+ test -n "$cf_opts" && cf_cv_sizechange="$cf_opts"
4005+ break
4006+ fi
4007+done
4008+])
4009+if test "$cf_cv_sizechange" != no ; then
4010+ AC_DEFINE(HAVE_SIZECHANGE)
4011+ case $cf_cv_sizechange in #(vi
4012+ NEED*)
4013+ AC_DEFINE_UNQUOTED($cf_cv_sizechange )
4014+ ;;
4015+ esac
4016+fi
4017+])dnl
4018+dnl ---------------------------------------------------------------------------
4019+dnl CF_SRC_MODULES version: 15 updated: 2004/01/10 16:05:16
4020+dnl --------------
4021+dnl For each parameter, test if the source-directory exists, and if it contains
4022+dnl a 'modules' file. If so, add to the list $cf_cv_src_modules which we'll
4023+dnl use in CF_LIB_RULES.
4024+dnl
4025+dnl This uses the configured value to make the lists SRC_SUBDIRS and
4026+dnl SUB_MAKEFILES which are used in the makefile-generation scheme.
4027+AC_DEFUN([CF_SRC_MODULES],
4028+[
4029+AC_MSG_CHECKING(for src modules)
4030+
4031+# dependencies and linker-arguments for test-programs
4032+TEST_DEPS="${LIB_DIR}/${LIB_PREFIX}${LIB_NAME}${DFT_DEP_SUFFIX} $TEST_DEPS"
4033+if test "$DFT_LWR_MODEL" = "libtool"; then
4034+ TEST_ARGS="${TEST_DEPS}"
4035+else
4036+ TEST_ARGS="-l${LIB_NAME}${DFT_ARG_SUFFIX} $TEST_ARGS"
4037+fi
4038+
4039+# dependencies and linker-arguments for utility-programs
4040+test "$with_termlib" != yes && PROG_ARGS="$TEST_ARGS"
4041+
4042+cf_cv_src_modules=
4043+for cf_dir in $1
4044+do
4045+ if test -f $srcdir/$cf_dir/modules; then
4046+
4047+ # We may/may not have tack in the distribution, though the
4048+ # makefile is.
4049+ if test $cf_dir = tack ; then
4050+ if test ! -f $srcdir/${cf_dir}/${cf_dir}.h; then
4051+ continue
4052+ fi
4053+ fi
4054+
4055+ if test -z "$cf_cv_src_modules"; then
4056+ cf_cv_src_modules=$cf_dir
4057+ else
4058+ cf_cv_src_modules="$cf_cv_src_modules $cf_dir"
4059+ fi
4060+
4061+ # Make the ncurses_cfg.h file record the library interface files as
4062+ # well. These are header files that are the same name as their
4063+ # directory. Ncurses is the only library that does not follow
4064+ # that pattern.
4065+ if test $cf_dir = tack ; then
4066+ continue
4067+ elif test -f $srcdir/${cf_dir}/${cf_dir}.h; then
4068+ CF_UPPER(cf_have_include,$cf_dir)
4069+ AC_DEFINE_UNQUOTED(HAVE_${cf_have_include}_H)
4070+ AC_DEFINE_UNQUOTED(HAVE_LIB${cf_have_include})
4071+ TEST_DEPS="${LIB_DIR}/${LIB_PREFIX}${cf_dir}${DFT_DEP_SUFFIX} $TEST_DEPS"
4072+ if test "$DFT_LWR_MODEL" = "libtool"; then
4073+ TEST_ARGS="${TEST_DEPS}"
4074+ else
4075+ TEST_ARGS="-l${cf_dir}${DFT_ARG_SUFFIX} $TEST_ARGS"
4076+ fi
4077+ fi
4078+ fi
4079+done
4080+AC_MSG_RESULT($cf_cv_src_modules)
4081+TEST_ARGS="-L${LIB_DIR} $TEST_ARGS"
4082+AC_SUBST(TEST_DEPS)
4083+AC_SUBST(TEST_ARGS)
4084+
4085+PROG_ARGS="-L${LIB_DIR} $PROG_ARGS"
4086+AC_SUBST(PROG_ARGS)
4087+
4088+SRC_SUBDIRS="man include"
4089+for cf_dir in $cf_cv_src_modules
4090+do
4091+ SRC_SUBDIRS="$SRC_SUBDIRS $cf_dir"
4092+done
4093+SRC_SUBDIRS="$SRC_SUBDIRS test"
4094+test -z "$MAKE_TERMINFO" && SRC_SUBDIRS="$SRC_SUBDIRS misc"
4095+test "$cf_with_cxx_binding" != no && SRC_SUBDIRS="$SRC_SUBDIRS c++"
4096+
4097+ADA_SUBDIRS=
4098+if test "$cf_cv_prog_gnat_correct" = yes && test -f $srcdir/Ada95/Makefile.in; then
4099+ SRC_SUBDIRS="$SRC_SUBDIRS Ada95"
4100+ ADA_SUBDIRS="gen src samples"
4101+fi
4102+
4103+SUB_MAKEFILES=
4104+for cf_dir in $SRC_SUBDIRS
4105+do
4106+ SUB_MAKEFILES="$SUB_MAKEFILES $cf_dir/Makefile"
4107+done
4108+
4109+if test -n "$ADA_SUBDIRS"; then
4110+ for cf_dir in $ADA_SUBDIRS
4111+ do
4112+ SUB_MAKEFILES="$SUB_MAKEFILES Ada95/$cf_dir/Makefile"
4113+ done
4114+ AC_SUBST(ADA_SUBDIRS)
4115+fi
4116+])dnl
4117+dnl ---------------------------------------------------------------------------
4118+dnl CF_STDCPP_LIBRARY version: 5 updated: 2000/08/12 23:18:52
4119+dnl -----------------
4120+dnl Check for -lstdc++, which is GNU's standard C++ library.
4121+AC_DEFUN([CF_STDCPP_LIBRARY],
4122+[
4123+if test -n "$GXX" ; then
4124+case $cf_cv_system_name in #(vi
4125+os2*) #(vi
4126+ cf_stdcpp_libname=stdcpp
4127+ ;;
4128+*)
4129+ cf_stdcpp_libname=stdc++
4130+ ;;
4131+esac
4132+AC_CACHE_CHECK(for library $cf_stdcpp_libname,cf_cv_libstdcpp,[
4133+ cf_save="$LIBS"
4134+ LIBS="$LIBS -l$cf_stdcpp_libname"
4135+AC_TRY_LINK([
4136+#include <strstream.h>],[
4137+char buf[80];
4138+strstreambuf foo(buf, sizeof(buf))
4139+],
4140+ [cf_cv_libstdcpp=yes],
4141+ [cf_cv_libstdcpp=no])
4142+ LIBS="$cf_save"
4143+])
4144+test "$cf_cv_libstdcpp" = yes && CXXLIBS="$CXXLIBS -l$cf_stdcpp_libname"
4145+fi
4146+])dnl
4147+dnl ---------------------------------------------------------------------------
4148+dnl CF_STRIP_G_OPT version: 3 updated: 2002/12/21 19:25:52
4149+dnl --------------
4150+dnl Remove "-g" option from the compiler options
4151+AC_DEFUN([CF_STRIP_G_OPT],
4152+[$1=`echo ${$1} | sed -e 's%-g %%' -e 's%-g$%%'`])dnl
4153+dnl ---------------------------------------------------------------------------
4154+dnl CF_STRUCT_SIGACTION version: 3 updated: 2000/08/12 23:18:52
4155+dnl -------------------
4156+dnl Check if we need _POSIX_SOURCE defined to use struct sigaction. We'll only
4157+dnl do this if we've found the sigaction function.
4158+dnl
4159+dnl If needed, define SVR4_ACTION.
4160+AC_DEFUN([CF_STRUCT_SIGACTION],[
4161+if test "$ac_cv_func_sigaction" = yes; then
4162+AC_MSG_CHECKING(whether sigaction needs _POSIX_SOURCE)
4163+AC_TRY_COMPILE([
4164+#include <sys/types.h>
4165+#include <signal.h>],
4166+ [struct sigaction act],
4167+ [sigact_bad=no],
4168+ [
4169+AC_TRY_COMPILE([
4170+#define _POSIX_SOURCE
4171+#include <sys/types.h>
4172+#include <signal.h>],
4173+ [struct sigaction act],
4174+ [sigact_bad=yes
4175+ AC_DEFINE(SVR4_ACTION)],
4176+ [sigact_bad=unknown])])
4177+AC_MSG_RESULT($sigact_bad)
4178+fi
4179+])dnl
4180+dnl ---------------------------------------------------------------------------
4181+dnl CF_STRUCT_TERMIOS version: 5 updated: 2000/11/04 12:22:46
4182+dnl -----------------
4183+dnl Some machines require _POSIX_SOURCE to completely define struct termios.
4184+dnl If so, define SVR4_TERMIO
4185+AC_DEFUN([CF_STRUCT_TERMIOS],[
4186+AC_CHECK_HEADERS( \
4187+termio.h \
4188+termios.h \
4189+unistd.h \
4190+)
4191+if test "$ISC" = yes ; then
4192+ AC_CHECK_HEADERS( sys/termio.h )
4193+fi
4194+if test "$ac_cv_header_termios_h" = yes ; then
4195+ case "$CFLAGS $CPPFLAGS" in
4196+ *-D_POSIX_SOURCE*)
4197+ termios_bad=dunno ;;
4198+ *) termios_bad=maybe ;;
4199+ esac
4200+ if test "$termios_bad" = maybe ; then
4201+ AC_MSG_CHECKING(whether termios.h needs _POSIX_SOURCE)
4202+ AC_TRY_COMPILE([#include <termios.h>],
4203+ [struct termios foo; int x = foo.c_iflag],
4204+ termios_bad=no, [
4205+ AC_TRY_COMPILE([
4206+#define _POSIX_SOURCE
4207+#include <termios.h>],
4208+ [struct termios foo; int x = foo.c_iflag],
4209+ termios_bad=unknown,
4210+ termios_bad=yes AC_DEFINE(SVR4_TERMIO))
4211+ ])
4212+ AC_MSG_RESULT($termios_bad)
4213+ fi
4214+fi
4215+])dnl
4216+dnl ---------------------------------------------------------------------------
4217+dnl CF_SUBST version: 2 updated: 1997/09/06 23:41:28
4218+dnl --------
4219+dnl Shorthand macro for substituting things that the user may override
4220+dnl with an environment variable.
4221+dnl
4222+dnl $1 = long/descriptive name
4223+dnl $2 = environment variable
4224+dnl $3 = default value
4225+AC_DEFUN([CF_SUBST],
4226+[AC_CACHE_VAL(cf_cv_subst_$2,[
4227+AC_MSG_CHECKING(for $1 (symbol $2))
4228+test -z "[$]$2" && $2=$3
4229+AC_MSG_RESULT([$]$2)
4230+AC_SUBST($2)
4231+cf_cv_subst_$2=[$]$2])
4232+$2=${cf_cv_subst_$2}
4233+])dnl
4234+dnl ---------------------------------------------------------------------------
4235+dnl CF_SUBST_NCURSES_VERSION version: 7 updated: 2003/06/07 16:22:51
4236+dnl ------------------------
4237+dnl Get the version-number for use in shared-library naming, etc.
4238+AC_DEFUN([CF_SUBST_NCURSES_VERSION],
4239+[
4240+NCURSES_MAJOR="`egrep '^NCURSES_MAJOR[[ ]]*=' $srcdir/dist.mk | sed -e 's/^[[^0-9]]*//'`"
4241+NCURSES_MINOR="`egrep '^NCURSES_MINOR[[ ]]*=' $srcdir/dist.mk | sed -e 's/^[[^0-9]]*//'`"
4242+NCURSES_PATCH="`egrep '^NCURSES_PATCH[[ ]]*=' $srcdir/dist.mk | sed -e 's/^[[^0-9]]*//'`"
4243+cf_cv_abi_version=${NCURSES_MAJOR}
4244+cf_cv_rel_version=${NCURSES_MAJOR}.${NCURSES_MINOR}
4245+dnl Show the computed version, for logging
4246+cf_cv_timestamp=`date`
4247+AC_MSG_RESULT(Configuring NCURSES $cf_cv_rel_version ABI $cf_cv_abi_version ($cf_cv_timestamp))
4248+dnl We need these values in the generated headers
4249+AC_SUBST(NCURSES_MAJOR)
4250+AC_SUBST(NCURSES_MINOR)
4251+AC_SUBST(NCURSES_PATCH)
4252+dnl We need these values in the generated makefiles
4253+AC_SUBST(cf_cv_rel_version)
4254+AC_SUBST(cf_cv_abi_version)
4255+AC_SUBST(cf_cv_builtin_bool)
4256+AC_SUBST(cf_cv_header_stdbool_h)
4257+AC_SUBST(cf_cv_type_of_bool)dnl
4258+])dnl
4259+dnl ---------------------------------------------------------------------------
4260+dnl CF_SYS_TIME_SELECT version: 4 updated: 2000/10/04 09:18:40
4261+dnl ------------------
4262+dnl Check if we can include <sys/time.h> with <sys/select.h>; this breaks on
4263+dnl older SCO configurations.
4264+AC_DEFUN([CF_SYS_TIME_SELECT],
4265+[
4266+AC_MSG_CHECKING(if sys/time.h works with sys/select.h)
4267+AC_CACHE_VAL(cf_cv_sys_time_select,[
4268+AC_TRY_COMPILE([
4269+#include <sys/types.h>
4270+#ifdef HAVE_SYS_TIME_H
4271+#include <sys/time.h>
4272+#endif
4273+#ifdef HAVE_SYS_SELECT_H
4274+#include <sys/select.h>
4275+#endif
4276+],[],[cf_cv_sys_time_select=yes],
4277+ [cf_cv_sys_time_select=no])
4278+ ])
4279+AC_MSG_RESULT($cf_cv_sys_time_select)
4280+test "$cf_cv_sys_time_select" = yes && AC_DEFINE(HAVE_SYS_TIME_SELECT)
4281+])dnl
4282+dnl ---------------------------------------------------------------------------
4283+dnl CF_TYPEOF_CHTYPE version: 4 updated: 2000/10/04 09:18:40
4284+dnl ----------------
4285+dnl Determine the type we should use for chtype (and attr_t, which is treated
4286+dnl as the same thing). We want around 32 bits, so on most machines want a
4287+dnl long, but on newer 64-bit machines, probably want an int. If we're using
4288+dnl wide characters, we have to have a type compatible with that, as well.
4289+AC_DEFUN([CF_TYPEOF_CHTYPE],
4290+[
4291+AC_REQUIRE([CF_UNSIGNED_LITERALS])
4292+AC_MSG_CHECKING([for type of chtype])
4293+AC_CACHE_VAL(cf_cv_typeof_chtype,[
4294+ AC_TRY_RUN([
4295+#ifdef USE_WIDEC_SUPPORT
4296+#include <stddef.h> /* we want wchar_t */
4297+#define WANT_BITS 39
4298+#else
4299+#define WANT_BITS 31
4300+#endif
4301+#include <stdio.h>
4302+int main()
4303+{
4304+ FILE *fp = fopen("cf_test.out", "w");
4305+ if (fp != 0) {
4306+ char *result = "long";
4307+#ifdef USE_WIDEC_SUPPORT
4308+ /*
4309+ * If wchar_t is smaller than a long, it must be an int or a
4310+ * short. We prefer not to use a short anyway.
4311+ */
4312+ if (sizeof(unsigned long) > sizeof(wchar_t))
4313+ result = "int";
4314+#endif
4315+ if (sizeof(unsigned long) > sizeof(unsigned int)) {
4316+ int n;
4317+ unsigned int x;
4318+ for (n = 0; n < WANT_BITS; n++) {
4319+ unsigned int y = (x >> n);
4320+ if (y != 1 || x == 0) {
4321+ x = 0;
4322+ break;
4323+ }
4324+ }
4325+ /*
4326+ * If x is nonzero, an int is big enough for the bits
4327+ * that we want.
4328+ */
4329+ result = (x != 0) ? "int" : "long";
4330+ }
4331+ fputs(result, fp);
4332+ fclose(fp);
4333+ }
4334+ exit(0);
4335+}
4336+ ],
4337+ [cf_cv_typeof_chtype=`cat cf_test.out`],
4338+ [cf_cv_typeof_chtype=long],
4339+ [cf_cv_typeof_chtype=long])
4340+ rm -f cf_test.out
4341+ ])
4342+AC_MSG_RESULT($cf_cv_typeof_chtype)
4343+
4344+AC_SUBST(cf_cv_typeof_chtype)
4345+AC_DEFINE_UNQUOTED(TYPEOF_CHTYPE,$cf_cv_typeof_chtype)
4346+
4347+cf_cv_1UL="1"
4348+test "$cf_cv_unsigned_literals" = yes && cf_cv_1UL="${cf_cv_1UL}U"
4349+test "$cf_cv_typeof_chtype" = long && cf_cv_1UL="${cf_cv_1UL}L"
4350+AC_SUBST(cf_cv_1UL)
4351+
4352+])dnl
4353+dnl ---------------------------------------------------------------------------
4354+dnl CF_TYPE_SIGACTION version: 3 updated: 2000/08/12 23:18:52
4355+dnl -----------------
4356+dnl
4357+AC_DEFUN([CF_TYPE_SIGACTION],
4358+[
4359+AC_MSG_CHECKING([for type sigaction_t])
4360+AC_CACHE_VAL(cf_cv_type_sigaction,[
4361+ AC_TRY_COMPILE([
4362+#include <signal.h>],
4363+ [sigaction_t x],
4364+ [cf_cv_type_sigaction=yes],
4365+ [cf_cv_type_sigaction=no])])
4366+AC_MSG_RESULT($cf_cv_type_sigaction)
4367+test "$cf_cv_type_sigaction" = yes && AC_DEFINE(HAVE_TYPE_SIGACTION)
4368+])dnl
4369+dnl ---------------------------------------------------------------------------
4370+dnl CF_UNSIGNED_LITERALS version: 2 updated: 1998/02/07 22:10:16
4371+dnl --------------------
4372+dnl Test if the compiler supports 'U' and 'L' suffixes. Only old compilers
4373+dnl won't, but they're still there.
4374+AC_DEFUN([CF_UNSIGNED_LITERALS],
4375+[
4376+AC_MSG_CHECKING([if unsigned literals are legal])
4377+AC_CACHE_VAL(cf_cv_unsigned_literals,[
4378+ AC_TRY_COMPILE([],[long x = 1L + 1UL + 1U + 1],
4379+ [cf_cv_unsigned_literals=yes],
4380+ [cf_cv_unsigned_literals=no])
4381+ ])
4382+AC_MSG_RESULT($cf_cv_unsigned_literals)
4383+])dnl
4384+dnl ---------------------------------------------------------------------------
4385+dnl CF_UPPER version: 5 updated: 2001/01/29 23:40:59
4386+dnl --------
4387+dnl Make an uppercase version of a variable
4388+dnl $1=uppercase($2)
4389+AC_DEFUN([CF_UPPER],
4390+[
4391+$1=`echo "$2" | sed y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%`
4392+])dnl
4393+dnl ---------------------------------------------------------------------------
4394+dnl CF_VERBOSE version: 2 updated: 1997/09/05 10:45:14
4395+dnl ----------
4396+dnl Use AC_VERBOSE w/o the warnings
4397+AC_DEFUN([CF_VERBOSE],
4398+[test -n "$verbose" && echo " $1" 1>&AC_FD_MSG
4399+])dnl
4400+dnl ---------------------------------------------------------------------------
4401+dnl CF_WCHAR_TYPE version: 2 updated: 2004/01/17 19:18:20
4402+dnl -------------
4403+dnl Check if type wide-character type $1 is declared, and if so, which header
4404+dnl file is needed. The second parameter is used to set a shell variable when
4405+dnl the type is not found. The first parameter sets a shell variable for the
4406+dnl opposite sense.
4407+AC_DEFUN([CF_WCHAR_TYPE],
4408+[
4409+# This is needed on Tru64 5.0 to declare $1
4410+AC_CACHE_CHECK(if we must include wchar.h to declare $1,cf_cv_$1,[
4411+AC_TRY_COMPILE([
4412+#include <stdlib.h>
4413+#include <stdarg.h>
4414+#include <stdio.h>
4415+#ifdef HAVE_LIBUTF8_H
4416+#include <libutf8.h>
4417+#endif],
4418+ [$1 state],
4419+ [cf_cv_$1=no],
4420+ [AC_TRY_COMPILE([
4421+#include <stdlib.h>
4422+#include <stdarg.h>
4423+#include <stdio.h>
4424+#include <wchar.h>
4425+#ifdef HAVE_LIBUTF8_H
4426+#include <libutf8.h>
4427+#endif],
4428+ [$1 value],
4429+ [cf_cv_$1=yes],
4430+ [cf_cv_$1=unknown])])])
4431+
4432+if test "$cf_cv_$1" = yes ; then
4433+ AC_DEFINE(NEED_WCHAR_H)
4434+ NEED_WCHAR_H=1
4435+fi
4436+
4437+ifelse($2,,,[
4438+# if we do not find $1 in either place, use substitution to provide a fallback.
4439+if test "$cf_cv_$1" = unknown ; then
4440+ $2=1
4441+fi
4442+])
4443+ifelse($3,,,[
4444+# if we find $1 in either place, use substitution to provide a fallback.
4445+if test "$cf_cv_$1" != unknown ; then
4446+ $3=1
4447+fi
4448+])
4449+])dnl
4450+dnl ---------------------------------------------------------------------------
4451+dnl CF_WITH_ABI_VERSION version: 1 updated: 2003/09/20 18:12:49
4452+dnl -------------------
4453+dnl Allow library's ABI to be overridden. Generally this happens when a
4454+dnl packager has incremented the ABI past that used in the original package,
4455+dnl and wishes to keep doing this.
4456+dnl
4457+dnl $1 is the package name, if any, to derive a corresponding {package}_ABI
4458+dnl symbol.
4459+AC_DEFUN([CF_WITH_ABI_VERSION],[
4460+test -z "$cf_cv_abi_version" && cf_cv_abi_version=0
4461+AC_ARG_WITH(abi-version,
4462+[ --with-abi-version=XXX override derived ABI version],
4463+[AC_MSG_WARN(overriding ABI version $cf_cv_abi_version to $withval)
4464+ cf_cv_abi_version=$withval])
4465+ CF_NUMBER_SYNTAX($cf_cv_abi_version,ABI version)
4466+ifelse($1,,,[
4467+$1_ABI=$cf_cv_abi_version
4468+])
4469+])dnl
4470+dnl ---------------------------------------------------------------------------
4471+dnl CF_WITH_DBMALLOC version: 2 updated: 2002/12/29 21:11:45
4472+dnl ----------------
4473+dnl Configure-option for dbmalloc
4474+AC_DEFUN([CF_WITH_DBMALLOC],[
4475+AC_MSG_CHECKING(if you want to link with dbmalloc for testing)
4476+AC_ARG_WITH(dbmalloc,
4477+ [ --with-dbmalloc test: use Conor Cahill's dbmalloc library],
4478+ [with_dbmalloc=$withval],
4479+ [with_dbmalloc=no])
4480+AC_MSG_RESULT($with_dbmalloc)
4481+if test $with_dbmalloc = yes ; then
4482+ AC_CHECK_LIB(dbmalloc,debug_malloc)
4483+fi
4484+])dnl
4485+dnl ---------------------------------------------------------------------------
4486+dnl CF_WITH_DMALLOC version: 2 updated: 2002/12/29 21:11:45
4487+dnl ---------------
4488+dnl Configure-option for dmalloc
4489+AC_DEFUN([CF_WITH_DMALLOC],[
4490+AC_MSG_CHECKING(if you want to link with dmalloc for testing)
4491+AC_ARG_WITH(dmalloc,
4492+ [ --with-dmalloc test: use Gray Watson's dmalloc library],
4493+ [with_dmalloc=$withval],
4494+ [with_dmalloc=no])
4495+AC_MSG_RESULT($with_dmalloc)
4496+if test $with_dmalloc = yes ; then
4497+ AC_CHECK_LIB(dmalloc,dmalloc_debug)
4498+fi
4499+])dnl
4500+dnl ---------------------------------------------------------------------------
4501+dnl CF_WITH_LIBTOOL version: 9 updated: 2004/01/16 14:55:37
4502+dnl ---------------
4503+dnl Provide a configure option to incorporate libtool. Define several useful
4504+dnl symbols for the makefile rules.
4505+dnl
4506+dnl The reference to AC_PROG_LIBTOOL does not normally work, since it uses
4507+dnl macros from libtool.m4 which is in the aclocal directory of automake.
4508+dnl Following is a simple script which turns on the AC_PROG_LIBTOOL macro.
4509+dnl But that still does not work properly since the macro is expanded outside
4510+dnl the CF_WITH_LIBTOOL macro:
4511+dnl
4512+dnl #!/bin/sh
4513+dnl ACLOCAL=`aclocal --print-ac-dir`
4514+dnl if test -z "$ACLOCAL" ; then
4515+dnl echo cannot find aclocal directory
4516+dnl exit 1
4517+dnl elif test ! -f $ACLOCAL/libtool.m4 ; then
4518+dnl echo cannot find libtool.m4 file
4519+dnl exit 1
4520+dnl fi
4521+dnl
4522+dnl LOCAL=aclocal.m4
4523+dnl ORIG=aclocal.m4.orig
4524+dnl
4525+dnl trap "mv $ORIG $LOCAL" 0 1 2 5 15
4526+dnl rm -f $ORIG
4527+dnl mv $LOCAL $ORIG
4528+dnl
4529+dnl # sed the LIBTOOL= assignment to omit the current directory?
4530+dnl sed -e 's/^LIBTOOL=.*/LIBTOOL=${LIBTOOL-libtool}/' $ACLOCAL/libtool.m4 >>$LOCAL
4531+dnl cat $ORIG >>$LOCAL
4532+dnl
4533+dnl autoconf-257 $*
4534+dnl
4535+AC_DEFUN([CF_WITH_LIBTOOL],
4536+[
4537+ifdef([AC_PROG_LIBTOOL],,[
4538+LIBTOOL=
4539+])
4540+# common library maintenance symbols that are convenient for libtool scripts:
4541+LIB_CREATE='$(AR) -cr'
4542+LIB_OBJECT='$(OBJECTS)'
4543+LIB_SUFFIX=.a
4544+LIB_PREP="$RANLIB"
4545+
4546+# symbols used to prop libtool up to enable it to determine what it should be
4547+# doing:
4548+LIB_CLEAN=
4549+LIB_COMPILE=
4550+LIB_LINK=
4551+LIB_INSTALL=
4552+LIB_UNINSTALL=
4553+
4554+AC_MSG_CHECKING(if you want to build libraries with libtool)
4555+AC_ARG_WITH(libtool,
4556+ [ --with-libtool generate libraries with libtool],
4557+ [with_libtool=$withval],
4558+ [with_libtool=no])
4559+AC_MSG_RESULT($with_libtool)
4560+if test "$with_libtool" != "no"; then
4561+ifdef([AC_PROG_LIBTOOL],[
4562+ # missing_content_AC_PROG_LIBTOOL{{
4563+ AC_PROG_LIBTOOL
4564+ # missing_content_AC_PROG_LIBTOOL}}
4565+],[
4566+ if test "$with_libtool" != "yes" ; then
4567+ CF_PATH_SYNTAX(with_libtool)
4568+ LIBTOOL=$with_libtool
4569+ else
4570+ AC_PATH_PROG(LIBTOOL,libtool)
4571+ fi
4572+ if test -z "$LIBTOOL" ; then
4573+ AC_MSG_ERROR(Cannot find libtool)
4574+ fi
4575+])dnl
4576+ LIB_CREATE='$(LIBTOOL) --mode=link $(CC) -rpath $(DESTDIR)$(libdir) -version-info `cut -f1 $(srcdir)/VERSION` -o'
4577+ LIB_OBJECT='$(OBJECTS:.o=.lo)'
4578+ LIB_SUFFIX=.la
4579+ LIB_CLEAN='$(LIBTOOL) --mode=clean'
4580+ LIB_COMPILE='$(LIBTOOL) --mode=compile'
4581+ LIB_LINK='$(LIBTOOL) --mode=link'
4582+ LIB_INSTALL='$(LIBTOOL) --mode=install'
4583+ LIB_UNINSTALL='$(LIBTOOL) --mode=uninstall'
4584+ LIB_PREP=:
4585+
4586+ # Show the version of libtool
4587+ AC_MSG_CHECKING(version of libtool)
4588+
4589+ # Save the version in a cache variable - this is not entirely a good
4590+ # thing, but the version string from libtool is very ugly, and for
4591+ # bug reports it might be useful to have the original string.
4592+ cf_cv_libtool_version=`$LIBTOOL --version 2>&1 | sed -e '2,$d' -e 's/([[^)]]*)//g' -e 's/^[[^1-9]]*//' -e 's/[[^0-9.]].*//'`
4593+ AC_MSG_RESULT($cf_cv_libtool_version)
4594+ if test -z "$cf_cv_libtool_version" ; then
4595+ AC_MSG_ERROR(This is not libtool)
4596+ fi
4597+
4598+ # special hack to add --tag option for C++ compiler
4599+ case $cf_cv_libtool_version in
4600+ 1.[[5-9]]*|[[2-9]]*)
4601+ LIBTOOL_CXX="$LIBTOOL --tag=CXX"
4602+ ;;
4603+ *)
4604+ LIBTOOL_CXX="$LIBTOOL"
4605+ ;;
4606+ esac
4607+else
4608+ LIBTOOL=""
4609+ LIBTOOL_CXX=""
4610+fi
4611+
4612+test -z "$LIBTOOL" && ECHO_LT=
4613+
4614+AC_SUBST(LIBTOOL)
4615+AC_SUBST(LIBTOOL_CXX)
4616+
4617+AC_SUBST(LIB_CREATE)
4618+AC_SUBST(LIB_OBJECT)
4619+AC_SUBST(LIB_SUFFIX)
4620+AC_SUBST(LIB_PREP)
4621+
4622+AC_SUBST(LIB_CLEAN)
4623+AC_SUBST(LIB_COMPILE)
4624+AC_SUBST(LIB_LINK)
4625+AC_SUBST(LIB_INSTALL)
4626+AC_SUBST(LIB_UNINSTALL)
4627+
4628+])dnl
4629+dnl ---------------------------------------------------------------------------
4630+dnl CF_WITH_PATH version: 6 updated: 1998/10/11 00:40:17
4631+dnl ------------
4632+dnl Wrapper for AC_ARG_WITH to ensure that user supplies a pathname, not just
4633+dnl defaulting to yes/no.
4634+dnl
4635+dnl $1 = option name
4636+dnl $2 = help-text
4637+dnl $3 = environment variable to set
4638+dnl $4 = default value, shown in the help-message, must be a constant
4639+dnl $5 = default value, if it's an expression & cannot be in the help-message
4640+dnl
4641+AC_DEFUN([CF_WITH_PATH],
4642+[AC_ARG_WITH($1,[$2 ](default: ifelse($4,,empty,$4)),,
4643+ifelse($4,,[withval="${$3}"],[withval="${$3-ifelse($5,,$4,$5)}"]))dnl
4644+CF_PATH_SYNTAX(withval)
4645+eval $3="$withval"
4646+AC_SUBST($3)dnl
4647+])dnl
4648+dnl ---------------------------------------------------------------------------
4649+dnl CF_WITH_PATHLIST version: 5 updated: 2001/12/10 01:28:30
4650+dnl ----------------
4651+dnl Process an option specifying a list of colon-separated paths.
4652+dnl
4653+dnl $1 = option name
4654+dnl $2 = help-text
4655+dnl $3 = environment variable to set
4656+dnl $4 = default value, shown in the help-message, must be a constant
4657+dnl $5 = default value, if it's an expression & cannot be in the help-message
4658+dnl $6 = flag to tell if we want to define or substitute
4659+dnl
4660+AC_DEFUN([CF_WITH_PATHLIST],[
4661+AC_REQUIRE([CF_PATHSEP])
4662+AC_ARG_WITH($1,[$2 ](default: ifelse($4,,empty,$4)),,
4663+ifelse($4,,[withval=${$3}],[withval=${$3-ifelse($5,,$4,$5)}]))dnl
4664+
4665+IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${PATHSEP}"
4666+cf_dst_path=
4667+for cf_src_path in $withval
4668+do
4669+ CF_PATH_SYNTAX(cf_src_path)
4670+ test -n "$cf_dst_path" && cf_dst_path="${cf_dst_path}:"
4671+ cf_dst_path="${cf_dst_path}${cf_src_path}"
4672+done
4673+IFS="$ac_save_ifs"
4674+
4675+ifelse($6,define,[
4676+# Strip single quotes from the value, e.g., when it was supplied as a literal
4677+# for $4 or $5.
4678+case $cf_dst_path in #(vi
4679+\'*)
4680+ cf_dst_path=`echo $cf_dst_path |sed -e s/\'// -e s/\'\$//`
4681+ ;;
4682+esac
4683+cf_dst_path=`echo "$cf_dst_path" | sed -e 's/\\\\/\\\\\\\\/g'`
4684+])
4685+
4686+eval '$3="$cf_dst_path"'
4687+AC_SUBST($3)dnl
4688+
4689+])dnl
4690+dnl ---------------------------------------------------------------------------
4691+dnl CF_WITH_REL_VERSION version: 1 updated: 2003/09/20 18:12:49
4692+dnl -------------------
4693+dnl Allow library's release-version to be overridden. Generally this happens when a
4694+dnl packager has incremented the release-version past that used in the original package,
4695+dnl and wishes to keep doing this.
4696+dnl
4697+dnl $1 is the package name, if any, to derive corresponding {package}_MAJOR
4698+dnl and {package}_MINOR symbols
4699+dnl symbol.
4700+AC_DEFUN([CF_WITH_REL_VERSION],[
4701+test -z "$cf_cv_rel_version" && cf_cv_rel_version=0.0
4702+AC_ARG_WITH(rel-version,
4703+[ --with-rel-version=XXX override derived release version],
4704+[AC_MSG_WARN(overriding release version $cf_cv_rel_version to $withval)
4705+ cf_cv_rel_version=$withval])
4706+ifelse($1,,[
4707+ CF_NUMBER_SYNTAX($cf_cv_rel_version,Release version)
4708+],[
4709+ $1_MAJOR=`echo "$cf_cv_rel_version" | sed -e 's/\..*//'`
4710+ $1_MINOR=`echo "$cf_cv_rel_version" | sed -e 's/^[[^.]]*//' -e 's/^\.//' -e 's/\..*//'`
4711+ CF_NUMBER_SYNTAX([$]$1_MAJOR,Release major-version)
4712+ CF_NUMBER_SYNTAX([$]$1_MINOR,Release minor-version)
4713+])
4714+])dnl
4715+dnl ---------------------------------------------------------------------------
4716+dnl CF_WITH_SYSMOUSE version: 2 updated: 2003/03/22 19:13:43
4717+dnl ----------------
4718+dnl If we can compile with sysmouse, make it available unless it is not wanted.
4719+AC_DEFUN([CF_WITH_SYSMOUSE],[
4720+# not everyone has "test -c"
4721+if test -c /dev/sysmouse 2>/dev/null ; then
4722+AC_MSG_CHECKING(if you want to use sysmouse)
4723+AC_ARG_WITH(sysmouse,
4724+ [ --with-sysmouse use sysmouse (FreeBSD console)],
4725+ [cf_with_sysmouse=$withval],
4726+ [cf_with_sysmouse=maybe])
4727+ if test "$cf_with_sysmouse" != no ; then
4728+ AC_TRY_COMPILE([
4729+#include <osreldate.h>
4730+#if (__FreeBSD_version >= 400017)
4731+#include <sys/consio.h>
4732+#include <sys/fbio.h>
4733+#else
4734+#include <machine/console.h>
4735+#endif
4736+],[
4737+ struct mouse_info the_mouse;
4738+ ioctl(0, CONS_MOUSECTL, &the_mouse);
4739+],[cf_with_sysmouse=yes],[cf_with_sysmouse=no])
4740+ fi
4741+AC_MSG_RESULT($cf_with_sysmouse)
4742+test "$cf_with_sysmouse" = yes && AC_DEFINE(USE_SYSMOUSE)
4743+fi
4744+])dnl
4745+dnl ---------------------------------------------------------------------------
4746+dnl CF_XOPEN_SOURCE version: 11 updated: 2004/01/26 20:58:41
4747+dnl ---------------
4748+dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions,
4749+dnl or adapt to the vendor's definitions to get equivalent functionality.
4750+AC_DEFUN([CF_XOPEN_SOURCE],[
4751+case $host_os in #(vi
4752+freebsd*) #(vi
4753+ CPPFLAGS="$CPPFLAGS -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600"
4754+ ;;
4755+hpux*) #(vi
4756+ CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE"
4757+ ;;
4758+irix6.*) #(vi
4759+ CPPFLAGS="$CPPFLAGS -D_SGI_SOURCE"
4760+ ;;
4761+linux*) #(vi
4762+ CF_GNU_SOURCE
4763+ ;;
4764+mirbsd*) #(vi
4765+ # setting _XOPEN_SOURCE or _POSIX_SOURCE breaks <arpa/inet.h>
4766+ ;;
4767+netbsd*) #(vi
4768+ # setting _XOPEN_SOURCE breaks IPv6 for lynx on NetBSD 1.6, breaks xterm, is not needed for ncursesw
4769+ ;;
4770+openbsd*) #(vi
4771+ # setting _XOPEN_SOURCE breaks xterm on OpenBSD 2.8, is not needed for ncursesw
4772+ ;;
4773+osf[[45]]*) #(vi
4774+ CPPFLAGS="$CPPFLAGS -D_OSF_SOURCE"
4775+ ;;
4776+sco*) #(vi
4777+ # setting _XOPEN_SOURCE breaks Lynx on SCO Unix / OpenServer
4778+ ;;
4779+solaris*) #(vi
4780+ CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
4781+ ;;
4782+*)
4783+ AC_CACHE_CHECK(if we should define _XOPEN_SOURCE,cf_cv_xopen_source,[
4784+ AC_TRY_COMPILE([#include <sys/types.h>],[
4785+#ifndef _XOPEN_SOURCE
4786+make an error
4787+#endif],
4788+ [cf_cv_xopen_source=no],
4789+ [cf_save="$CPPFLAGS"
4790+ CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500"
4791+ AC_TRY_COMPILE([#include <sys/types.h>],[
4792+#ifdef _XOPEN_SOURCE
4793+make an error
4794+#endif],
4795+ [cf_cv_xopen_source=no],
4796+ [cf_cv_xopen_source=yes])
4797+ CPPFLAGS="$cf_save"
4798+ ])
4799+])
4800+test "$cf_cv_xopen_source" = yes && CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500"
4801+
4802+ # FreeBSD 5.x headers demand this...
4803+ AC_CACHE_CHECK(if we should define _POSIX_C_SOURCE,cf_cv_xopen_source,[
4804+ AC_TRY_COMPILE([#include <sys/types.h>],[
4805+#ifndef _POSIX_C_SOURCE
4806+make an error
4807+#endif],
4808+ [cf_cv_xopen_source=no],
4809+ [cf_save="$CPPFLAGS"
4810+ CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE"
4811+ AC_TRY_COMPILE([#include <sys/types.h>],[
4812+#ifdef _POSIX_C_SOURCE
4813+make an error
4814+#endif],
4815+ [cf_cv_xopen_source=no],
4816+ [cf_cv_xopen_source=yes])
4817+ CPPFLAGS="$cf_save"
4818+ ])
4819+])
4820+test "$cf_cv_xopen_source" = yes && CPPFLAGS="$CPPFLAGS -D_POSIX_C_SOURCE"
4821+ ;;
4822+esac
4823+])
4824--- /dev/null
4825+++ ncurses-5.4/m4/templates.m4
4826@@ -0,0 +1,78 @@
4827+AH_TEMPLATE([BROKEN_LINKER], [too lazy to enter descriptions])
4828+AH_TEMPLATE([BSD_TPUTS], [too lazy to enter descriptions])
4829+AH_TEMPLATE([CC_HAS_INLINE_FUNCS], [too lazy to enter descriptions])
4830+AH_TEMPLATE([CC_HAS_PROTOS], [too lazy to enter descriptions])
4831+AH_TEMPLATE([CPP_HAS_PARAM_INIT], [too lazy to enter descriptions])
4832+AH_TEMPLATE([CPP_HAS_VSCAN_FUNC], [too lazy to enter descriptions])
4833+AH_TEMPLATE([HAVE_BIG_CORE], [too lazy to enter descriptions])
4834+AH_TEMPLATE([HAVE_BSD_CGETENT], [too lazy to enter descriptions])
4835+AH_TEMPLATE([HAVE_BUILTIN_H], [too lazy to enter descriptions])
4836+AH_TEMPLATE([HAVE_CURSES_VERSION], [too lazy to enter descriptions])
4837+AH_TEMPLATE([HAVE_GETTIMEOFDAY], [too lazy to enter descriptions])
4838+AH_TEMPLATE([HAVE_GPP_BUILTIN_H], [too lazy to enter descriptions])
4839+AH_TEMPLATE([HAVE_GXX_BUILTIN_H], [too lazy to enter descriptions])
4840+AH_TEMPLATE([HAVE_HAS_KEY], [too lazy to enter descriptions])
4841+AH_TEMPLATE([HAVE_ISASCII], [too lazy to enter descriptions])
4842+AH_TEMPLATE([HAVE_LIBGPM], [too lazy to enter descriptions])
4843+AH_TEMPLATE([HAVE_LIBUTF8_H], [too lazy to enter descriptions])
4844+AH_TEMPLATE([HAVE_MKSTEMP], [too lazy to enter descriptions])
4845+AH_TEMPLATE([HAVE_NC_ALLOC_H], [too lazy to enter descriptions])
4846+AH_TEMPLATE([HAVE_REGEXPR_H_FUNCS], [too lazy to enter descriptions])
4847+AH_TEMPLATE([HAVE_REGEXP_H_FUNCS], [too lazy to enter descriptions])
4848+AH_TEMPLATE([HAVE_REGEX_H_FUNCS], [too lazy to enter descriptions])
4849+AH_TEMPLATE([HAVE_RESIZETERM], [too lazy to enter descriptions])
4850+AH_TEMPLATE([HAVE_RESIZE_TERM], [too lazy to enter descriptions])
4851+AH_TEMPLATE([HAVE_SIZECHANGE], [too lazy to enter descriptions])
4852+AH_TEMPLATE([HAVE_SLK_COLOR], [too lazy to enter descriptions])
4853+AH_TEMPLATE([HAVE_SYS_TIME_SELECT], [too lazy to enter descriptions])
4854+AH_TEMPLATE([HAVE_TCGETATTR], [too lazy to enter descriptions])
4855+AH_TEMPLATE([HAVE_TYPE_SIGACTION], [too lazy to enter descriptions])
4856+AH_TEMPLATE([HAVE_USE_DEFAULT_COLORS], [too lazy to enter descriptions])
4857+AH_TEMPLATE([HAVE_VFSCANF], [too lazy to enter descriptions])
4858+AH_TEMPLATE([HAVE_VSSCANF], [too lazy to enter descriptions])
4859+AH_TEMPLATE([HAVE_WORKING_POLL], [too lazy to enter descriptions])
4860+AH_TEMPLATE([HAVE_WRESIZE], [too lazy to enter descriptions])
4861+AH_TEMPLATE([HAVE__DOSCAN], [too lazy to enter descriptions])
4862+AH_TEMPLATE([MIXEDCASE_FILENAMES], [too lazy to enter descriptions])
4863+AH_TEMPLATE([NCURSES_EXPANDED], [too lazy to enter descriptions])
4864+AH_TEMPLATE([NCURSES_EXT_FUNCS], [too lazy to enter descriptions])
4865+AH_TEMPLATE([NCURSES_NOMACROS], [too lazy to enter descriptions])
4866+AH_TEMPLATE([NCURSES_NO_PADDING], [too lazy to enter descriptions])
4867+AH_TEMPLATE([NCURSES_PATHSEP], [too lazy to enter descriptions])
4868+AH_TEMPLATE([NCURSES_VERSION_STRING], [too lazy to enter descriptions])
4869+AH_TEMPLATE([NDEBUG], [too lazy to enter descriptions])
4870+AH_TEMPLATE([NEED_WCHAR_H], [too lazy to enter descriptions])
4871+AH_TEMPLATE([NO_LEAKS], [too lazy to enter descriptions])
4872+AH_TEMPLATE([PROG_EXT], [too lazy to enter descriptions])
4873+AH_TEMPLATE([PURE_TERMINFO], [too lazy to enter descriptions])
4874+AH_TEMPLATE([SVR4_ACTION], [too lazy to enter descriptions])
4875+AH_TEMPLATE([SVR4_TERMIO], [too lazy to enter descriptions])
4876+AH_TEMPLATE([SYSTEM_NAME], [too lazy to enter descriptions])
4877+AH_TEMPLATE([TERMINFO], [too lazy to enter descriptions])
4878+AH_TEMPLATE([TERMINFO_DIRS], [too lazy to enter descriptions])
4879+AH_TEMPLATE([TERMPATH], [too lazy to enter descriptions])
4880+AH_TEMPLATE([TYPEOF_CHTYPE], [too lazy to enter descriptions])
4881+AH_TEMPLATE([USE_ASSUMED_COLOR], [too lazy to enter descriptions])
4882+AH_TEMPLATE([USE_COLORFGBG], [too lazy to enter descriptions])
4883+AH_TEMPLATE([USE_DATABASE], [too lazy to enter descriptions])
4884+AH_TEMPLATE([USE_GETCAP], [too lazy to enter descriptions])
4885+AH_TEMPLATE([USE_GETCAP_CACHE], [too lazy to enter descriptions])
4886+AH_TEMPLATE([USE_HARD_TABS], [too lazy to enter descriptions])
4887+AH_TEMPLATE([USE_HASHMAP], [too lazy to enter descriptions])
4888+AH_TEMPLATE([USE_HOME_TERMINFO], [too lazy to enter descriptions])
4889+AH_TEMPLATE([USE_LINKS], [too lazy to enter descriptions])
4890+AH_TEMPLATE([USE_MY_MEMMOVE], [too lazy to enter descriptions])
4891+AH_TEMPLATE([USE_OK_BCOPY], [too lazy to enter descriptions])
4892+AH_TEMPLATE([USE_RCS_IDS], [too lazy to enter descriptions])
4893+AH_TEMPLATE([USE_ROOT_ENVIRON], [too lazy to enter descriptions])
4894+AH_TEMPLATE([USE_SAFE_SPRINTF], [too lazy to enter descriptions])
4895+AH_TEMPLATE([USE_SCROLL_HINTS], [too lazy to enter descriptions])
4896+AH_TEMPLATE([USE_SIGWINCH], [too lazy to enter descriptions])
4897+AH_TEMPLATE([USE_STDIO_VSCAN], [too lazy to enter descriptions])
4898+AH_TEMPLATE([USE_STRSTREAM_VSCAN], [too lazy to enter descriptions])
4899+AH_TEMPLATE([USE_STRSTREAM_VSCAN_CAST], [too lazy to enter descriptions])
4900+AH_TEMPLATE([USE_SYMLINKS], [too lazy to enter descriptions])
4901+AH_TEMPLATE([USE_SYSMOUSE], [too lazy to enter descriptions])
4902+AH_TEMPLATE([USE_TERMCAP], [too lazy to enter descriptions])
4903+AH_TEMPLATE([USE_WIDEC_SUPPORT], [too lazy to enter descriptions])
4904+AH_TEMPLATE([USE_XMC_SUPPORT], [too lazy to enter descriptions])
diff --git a/meta/recipes-core/ncurses/ncurses_5.4.bb b/meta/recipes-core/ncurses/ncurses_5.4.bb
deleted file mode 100644
index 60e07fd859..0000000000
--- a/meta/recipes-core/ncurses/ncurses_5.4.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1PR = "r14"
2
3SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \
4 file://makefile_tweak.patch;patch=1 \
5 file://visibility.patch;patch=1"
6
7SRC_URI[md5sum] = "069c8880072060373290a4fefff43520"
8SRC_URI[sha256sum] = "5abce063cf431790f4e6a801a96c7eea0b33a41ecd0970f6312f52575c083b36"
9S = "${WORKDIR}/ncurses-${PV}"
10
11require ncurses.inc
diff --git a/meta/recipes-core/ncurses/ncurses_5.7.bb b/meta/recipes-core/ncurses/ncurses_5.7.bb
new file mode 100644
index 0000000000..33cc16105b
--- /dev/null
+++ b/meta/recipes-core/ncurses/ncurses_5.7.bb
@@ -0,0 +1,242 @@
1DESCRIPTION = "Ncurses library"
2HOMEPAGE = "http://www.gnu.org/software/ncurses/ncurses.html"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=cbc180a8c44ca642e97c35452fab5f66"
5SECTION = "libs"
6PATCHDATE = "20100501"
7PKGV = "${PV}+${PATCHDATE}"
8PR = "r0"
9
10DEPENDS = "ncurses-native unifdef-native"
11DEPENDS_virtclass-native = "unifdef-native"
12
13inherit autotools binconfig
14
15SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz;name=tarball \
16 ftp://invisible-island.net/ncurses/5.7/ncurses-5.7-20100424-patch.sh.bz2;apply=yes;name=p20100424sh \
17\
18 ftp://invisible-island.net/ncurses/5.7/ncurses-5.7-${PATCHDATE}.patch.gz;name=p20100501 \
19 file://tic-hang.patch \
20 file://config.cache \
21"
22
23SRC_URI[tarball.md5sum] = "cce05daf61a64501ef6cd8da1f727ec6"
24SRC_URI[tarball.sha256sum] = "0a9bdea5c7de8ded5c9327ed642915f2cc380753f12d4ad120ef7da3ea3498f4"
25SRC_URI[p20100424sh.md5sum] = "3a5f76613f0f7ec3e0e73b835bc24864"
26SRC_URI[p20100424sh.sha256sum] = "1e9d70d2d1fe1fea471868832c52f1b9cc6065132102e49e2a3755f2f4f5be53"
27SRC_URI[p20100501.md5sum] = "6518cfa5d45e9069a1e042468161448b"
28SRC_URI[p20100501.sha256sum] = "a97ccc30e4bd6fbb89564f3058db0fe84bd35cfefee831556c500793b477abde"
29
30PARALLEL_MAKE = ""
31EXTRA_AUTORECONF = "-I m4"
32CONFIG_SITE =+ "${WORKDIR}/config.cache"
33
34# Whether to enable separate widec libraries; must be 'true' or 'false'
35#
36# TODO: remove this variable when widec is supported in every setup?
37ENABLE_WIDEC = "true"
38
39# _GNU_SOURCE is required for widec stuff and is detected automatically
40# for target objects. But it must be set manually for native and sdk
41# builds.
42BUILD_CPPFLAGS += "-D_GNU_SOURCE"
43
44# Override the function from the autotools class; ncurses requires a
45# patched autoconf213 to generate the configure script. This autoconf
46# is not available so that the shipped script will be used.
47do_configure() {
48 # check does not work with cross-compiling and is generally
49 # broken because it requires stdin to be pollable (which is
50 # not the case for /dev/null redirections)
51 export cf_cv_working_poll=yes
52
53 for i in \
54 'narrowc' \
55 'widec --enable-widec --without-progs'; do
56 set -- $i
57 mkdir -p $1
58 cd $1
59 shift
60
61 oe_runconf \
62 --disable-static \
63 --without-debug \
64 --without-ada \
65 --without-gpm \
66 --enable-hard-tabs \
67 --enable-xmc-glitch \
68 --enable-colorfgbg \
69 --with-termpath='${sysconfdir}/termcap:${datadir}/misc/termcap' \
70 --with-terminfo-dirs='${sysconfdir}/terminfo:${datadir}/terminfo' \
71 --with-shared \
72 --disable-big-core \
73 --program-prefix= \
74 --with-ticlib \
75 --with-termlib=tinfo \
76 --enable-sigwinch \
77 --enable-pc-files \
78 --disable-rpath-hack \
79 "$@"
80 cd ..
81 done
82}
83
84do_compile() {
85 oe_runmake -C narrowc libs
86 oe_runmake -C narrowc/progs
87
88 ! ${ENABLE_WIDEC} || \
89 oe_runmake -C widec libs
90}
91
92# set of expected differences between narrowc and widec header
93#
94# TODO: the NCURSES_CH_T difference can cause real problems :(
95_unifdef_cleanup = " \
96 -e '\!/\* \$Id: curses.wide,v!,\!/\* \$Id: curses.tail,v!d' \
97 -e '/^#define NCURSES_CH_T /d' \
98 -e '/^#include <wchar.h>/d' \
99 -e '\!^/\* .* \*/!d' \
100"
101
102do_test[dirs] = "${S}"
103do_test() {
104 ${ENABLE_WIDEC} || return 0
105
106 # make sure that the narrow and widec header are compatible
107 # and differ only in minor details.
108 unifdef -k narrowc/include/curses.h | \
109 sed ${_unifdef_cleanup} > curses-narrowc.h
110 unifdef -k widec/include/curses.h | \
111 sed ${_unifdef_cleanup} > curses-widec.h
112
113 diff curses-narrowc.h curses-widec.h
114}
115
116_install_opts = "\
117 DESTDIR='${D}' \
118 PKG_CONFIG_LIBDIR='${libdir}/pkgconfig' \
119 install.libs install.includes install.man \
120"
121
122do_install() {
123 # Order of installation is important; widec installs a 'curses.h'
124 # header with more definitions and must be installed last hence.
125 # Compatibility of these headers will be checked in 'do_test()'.
126 oe_runmake -C narrowc ${_install_opts} \
127 install.data install.progs
128
129 ! ${ENABLE_WIDEC} || \
130 oe_runmake -C widec ${_install_opts}
131
132
133 cd narrowc
134
135 # include some basic terminfo files
136 # stolen ;) from gentoo and modified a bit
137 for x in ansi console dumb linux rxvt screen sun vt{52,100,102,200,220} xterm-color xterm-xfree86
138 do
139 local termfile="$(find "${D}${datadir}/terminfo/" -name "${x}" 2>/dev/null)"
140 local basedir="$(basename $(dirname "${termfile}"))"
141
142 if [ -n "${termfile}" ]
143 then
144 install -d ${D}${sysconfdir}/terminfo/${basedir}
145 mv ${termfile} ${D}${sysconfdir}/terminfo/${basedir}/
146 ln -s /etc/terminfo/${basedir}/${x} \
147 ${D}${datadir}/terminfo/${basedir}/${x}
148 fi
149 done
150 # i think we can use xterm-color as default xterm
151 if [ -e ${D}${sysconfdir}/terminfo/x/xterm-color ]
152 then
153 ln -sf xterm-color ${D}${sysconfdir}/terminfo/x/xterm
154 fi
155
156 if [ "${PN}" = "ncurses" ]; then
157 mv ${D}${bindir}/clear ${D}${bindir}/clear.${PN}
158 mv ${D}${bindir}/reset ${D}${bindir}/reset.${PN}
159 fi
160
161
162 # create linker scripts for libcurses.so and libncurses to
163 # link against -ltinfo when needed. Some builds might break
164 # else when '-Wl,--no-copy-dt-needed-entries' has been set in
165 # linker flags.
166 for i in libncurses libncursesw; do
167 f=${D}${libdir}/$i.so
168 test -h $f || continue
169 rm -f $f
170 echo '/* GNU ld script */' >$f
171 echo "INPUT($i.so.5 AS_NEEDED(-ltinfo))" >>$f
172 done
173
174 # create libtermcap.so linker script for backward compatibility
175 f=${D}${libdir}/libtermcap.so
176 echo '/* GNU ld script */' >$f
177 echo 'INPUT(AS_NEEDED(-ltinfo))' >>$f
178}
179
180python populate_packages_prepend () {
181 libdir = bb.data.expand("${libdir}", d)
182 pnbase = bb.data.expand("${PN}-lib%s", d)
183 do_split_packages(d, libdir, '^lib(.*)\.so\..*', pnbase, 'ncurses %s library', prepend=True, extra_depends = '', allow_links=True)
184}
185
186
187pkg_postinst_ncurses-tools () {
188 if [ "${PN}" = "ncurses" ]; then
189 update-alternatives --install ${bindir}/clear clear clear.${PN} 100
190 update-alternatives --install ${bindir}/reset reset reset.${PN} 100
191 fi
192}
193
194pkg_prerm_ncurses-tools () {
195 if [ "${PN}" = "ncurses" ]; then
196 update-alternatives --remove clear clear.${PN}
197 update-alternatives --remove reset reset.${PN}
198 fi
199}
200
201BBCLASSEXTEND = "native nativesdk"
202
203PACKAGES += " \
204 ${PN}-tools \
205 ${PN}-terminfo \
206 ${PN}-terminfo-base \
207"
208
209FILES_${PN} = "\
210 ${bindir}/tput \
211 ${bindir}/tset \
212 ${bindir}/ncurses5-config \
213 ${bindir}/ncursesw5-config \
214 ${datadir}/tabset \
215"
216
217# This keeps only tput/tset in ncurses
218# clear/reset are in already busybox
219FILES_${PN}-tools = "\
220 ${bindir}/tic \
221 ${bindir}/toe \
222 ${bindir}/infotocap \
223 ${bindir}/captoinfo \
224 ${bindir}/infocmp \
225 ${bindir}/clear.${PN} \
226 ${bindir}/reset.${PN} \
227 ${bindir}/tack \
228 ${bindir}/tabs \
229"
230# 'reset' is a symlink to 'tset' which is in the 'ncurses' package
231RDEPENDS_${PN}-tools = "${PN}"
232
233FILES_${PN}-terminfo = "\
234 ${datadir}/terminfo \
235"
236
237FILES_${PN}-terminfo-base = "\
238 ${sysconfdir}/terminfo \
239"
240
241RSUGGESTS_${PN}-libtinfo = "${PN}-terminfo"
242RRECOMMENDS_${PN}-libtinfo = "${PN}-terminfo-base"
diff --git a/meta/recipes-core/netbase/netbase-4.43/colinux/interfaces b/meta/recipes-core/netbase/netbase-4.44/colinux/interfaces
index 0e495e164e..0e495e164e 100644
--- a/meta/recipes-core/netbase/netbase-4.43/colinux/interfaces
+++ b/meta/recipes-core/netbase/netbase-4.44/colinux/interfaces
diff --git a/meta/recipes-core/netbase/netbase-4.43/epia/interfaces b/meta/recipes-core/netbase/netbase-4.44/epia/interfaces
index 673618f636..673618f636 100644
--- a/meta/recipes-core/netbase/netbase-4.43/epia/interfaces
+++ b/meta/recipes-core/netbase/netbase-4.44/epia/interfaces
diff --git a/meta/recipes-core/netbase/netbase-4.43/hosts b/meta/recipes-core/netbase/netbase-4.44/hosts
index 2f332451b5..2f332451b5 100644
--- a/meta/recipes-core/netbase/netbase-4.43/hosts
+++ b/meta/recipes-core/netbase/netbase-4.44/hosts
diff --git a/meta/recipes-core/netbase/netbase-4.43/init b/meta/recipes-core/netbase/netbase-4.44/init
index 8a67e1cef2..8a67e1cef2 100644
--- a/meta/recipes-core/netbase/netbase-4.43/init
+++ b/meta/recipes-core/netbase/netbase-4.44/init
diff --git a/meta/recipes-core/netbase/netbase-4.43/interfaces b/meta/recipes-core/netbase/netbase-4.44/interfaces
index b06924fa94..b06924fa94 100644
--- a/meta/recipes-core/netbase/netbase-4.43/interfaces
+++ b/meta/recipes-core/netbase/netbase-4.44/interfaces
diff --git a/meta/recipes-core/netbase/netbase-4.43/mtx-1/interfaces b/meta/recipes-core/netbase/netbase-4.44/mtx-1/interfaces
index a7c6da5752..a7c6da5752 100644
--- a/meta/recipes-core/netbase/netbase-4.43/mtx-1/interfaces
+++ b/meta/recipes-core/netbase/netbase-4.44/mtx-1/interfaces
diff --git a/meta/recipes-core/netbase/netbase-4.43/nfsroot b/meta/recipes-core/netbase/netbase-4.44/nfsroot
index fc384a8ea5..fc384a8ea5 100644
--- a/meta/recipes-core/netbase/netbase-4.43/nfsroot
+++ b/meta/recipes-core/netbase/netbase-4.44/nfsroot
diff --git a/meta/recipes-core/netbase/netbase-4.43/nokia800/interfaces b/meta/recipes-core/netbase/netbase-4.44/nokia800/interfaces
index 16967763e5..16967763e5 100644
--- a/meta/recipes-core/netbase/netbase-4.43/nokia800/interfaces
+++ b/meta/recipes-core/netbase/netbase-4.44/nokia800/interfaces
diff --git a/meta/recipes-core/netbase/netbase-4.43/openmn/hosts b/meta/recipes-core/netbase/netbase-4.44/openmn/hosts
index 0205b98fc2..0205b98fc2 100644
--- a/meta/recipes-core/netbase/netbase-4.43/openmn/hosts
+++ b/meta/recipes-core/netbase/netbase-4.44/openmn/hosts
diff --git a/meta/recipes-core/netbase/netbase-4.43/openmn/interfaces b/meta/recipes-core/netbase/netbase-4.44/openmn/interfaces
index 9ebe9b8ff1..9ebe9b8ff1 100644
--- a/meta/recipes-core/netbase/netbase-4.43/openmn/interfaces
+++ b/meta/recipes-core/netbase/netbase-4.44/openmn/interfaces
diff --git a/meta/recipes-core/netbase/netbase-4.43/qemuarm/interfaces b/meta/recipes-core/netbase/netbase-4.44/qemuarm/interfaces
index 16967763e5..16967763e5 100644
--- a/meta/recipes-core/netbase/netbase-4.43/qemuarm/interfaces
+++ b/meta/recipes-core/netbase/netbase-4.44/qemuarm/interfaces
diff --git a/meta/recipes-core/netbase/netbase-4.43/qemuarmv6/interfaces b/meta/recipes-core/netbase/netbase-4.44/qemuarmv6/interfaces
index 16967763e5..16967763e5 100644
--- a/meta/recipes-core/netbase/netbase-4.43/qemuarmv6/interfaces
+++ b/meta/recipes-core/netbase/netbase-4.44/qemuarmv6/interfaces
diff --git a/meta/recipes-core/netbase/netbase-4.43/qemuarmv7/interfaces b/meta/recipes-core/netbase/netbase-4.44/qemuarmv7/interfaces
index 16967763e5..16967763e5 100644
--- a/meta/recipes-core/netbase/netbase-4.43/qemuarmv7/interfaces
+++ b/meta/recipes-core/netbase/netbase-4.44/qemuarmv7/interfaces
diff --git a/meta/recipes-core/netbase/netbase-4.43/qemux86-64/interfaces b/meta/recipes-core/netbase/netbase-4.44/qemux86-64/interfaces
index f62b9a897d..f62b9a897d 100644
--- a/meta/recipes-core/netbase/netbase-4.43/qemux86-64/interfaces
+++ b/meta/recipes-core/netbase/netbase-4.44/qemux86-64/interfaces
diff --git a/meta/recipes-core/netbase/netbase-4.43/qemux86/interfaces b/meta/recipes-core/netbase/netbase-4.44/qemux86/interfaces
index f62b9a897d..f62b9a897d 100644
--- a/meta/recipes-core/netbase/netbase-4.43/qemux86/interfaces
+++ b/meta/recipes-core/netbase/netbase-4.44/qemux86/interfaces
diff --git a/meta/recipes-core/netbase/netbase-4.43/tosa/interfaces b/meta/recipes-core/netbase/netbase-4.44/tosa/interfaces
index 0da7168535..0da7168535 100644
--- a/meta/recipes-core/netbase/netbase-4.43/tosa/interfaces
+++ b/meta/recipes-core/netbase/netbase-4.44/tosa/interfaces
diff --git a/meta/recipes-core/netbase/netbase-4.43/wrt54/interfaces b/meta/recipes-core/netbase/netbase-4.44/wrt54/interfaces
index 8b2852ac51..8b2852ac51 100644
--- a/meta/recipes-core/netbase/netbase-4.43/wrt54/interfaces
+++ b/meta/recipes-core/netbase/netbase-4.44/wrt54/interfaces
diff --git a/meta/recipes-core/netbase/netbase-4.43/xxs1500/interfaces b/meta/recipes-core/netbase/netbase-4.44/xxs1500/interfaces
index 23ccccd2dd..23ccccd2dd 100644
--- a/meta/recipes-core/netbase/netbase-4.43/xxs1500/interfaces
+++ b/meta/recipes-core/netbase/netbase-4.44/xxs1500/interfaces
diff --git a/meta/recipes-core/netbase/netbase_4.43.bb b/meta/recipes-core/netbase/netbase_4.44.bb
index 198a8d7a79..dbb7e83d20 100644
--- a/meta/recipes-core/netbase/netbase_4.43.bb
+++ b/meta/recipes-core/netbase/netbase_4.44.bb
@@ -57,5 +57,5 @@ PACKAGE_ARCH_qemuarm = "${MACHINE_ARCH}"
57PACKAGE_ARCH_qemux86 = "${MACHINE_ARCH}" 57PACKAGE_ARCH_qemux86 = "${MACHINE_ARCH}"
58PACKAGE_ARCH_qemux86-64 = "${MACHINE_ARCH}" 58PACKAGE_ARCH_qemux86-64 = "${MACHINE_ARCH}"
59 59
60SRC_URI[md5sum] = "875d6db52cc8cef565a77ef898ed47cf" 60SRC_URI[md5sum] = "a8d0bfed8a67273a276fc792524bc103"
61SRC_URI[sha256sum] = "5a6da788356776330b77eda97157285e1c426c2d3bd9136407373965365e9dbf" 61SRC_URI[sha256sum] = "eb2d4db2e3ec20eeea1e22962bce46f9651bf63e8add2ba6d4e996f0befb2823"
diff --git a/meta/recipes-core/psplash/files/psplash-poky-img.h b/meta/recipes-core/psplash/files/psplash-poky-img.h
new file mode 100644
index 0000000000..7ab178f4c0
--- /dev/null
+++ b/meta/recipes-core/psplash/files/psplash-poky-img.h
@@ -0,0 +1,909 @@
1/* GdkPixbuf RGBA C-Source image dump 1-byte-run-length-encoded */
2
3#define POKY_IMG_ROWSTRIDE (1708)
4#define POKY_IMG_WIDTH (427)
5#define POKY_IMG_HEIGHT (214)
6#define POKY_IMG_BYTES_PER_PIXEL (4) /* 3:RGB, 4:RGBA */
7#define POKY_IMG_RLE_PIXEL_DATA ((uint8*) \
8 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354" \
9 "\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
10 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350" \
11 "\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340" \
12 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377" \
13 "\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354" \
14 "\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
15 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350" \
16 "\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340" \
17 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377" \
18 "\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354" \
19 "\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
20 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350" \
21 "\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340" \
22 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377" \
23 "\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354" \
24 "\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
25 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350" \
26 "\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340" \
27 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377" \
28 "\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354" \
29 "\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
30 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350" \
31 "\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340" \
32 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377" \
33 "\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354" \
34 "\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
35 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350" \
36 "\354\340\377\237\350\354\340\377\1\350\354\342\377\377\350\354\340\377" \
37 "\377\350\354\340\377\377\350\354\340\377\254\350\354\340\377\2\241\243" \
38 "\244\377;AC\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340" \
39 "\377\252\350\354\340\377\2\275\277\277\377LQR\377\202.46\377\377\350" \
40 "\354\340\377\377\350\354\340\377\377\350\354\340\377\250\350\354\340" \
41 "\377\2\321\322\323\377]ac\377\204.46\377\377\350\354\340\377\377\350" \
42 "\354\340\377\377\350\354\340\377\246\350\354\340\377\3\346\347\347\377" \
43 "w{|\377/57\377\205.46\377\377\350\354\340\377\377\350\354\340\377\377" \
44 "\350\354\340\377\245\350\354\340\377\2\223\226\227\3775;=\377\207.46" \
45 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\243" \
46 "\350\354\340\377\2\253\255\256\377BHJ\377\211.46\377\377\350\354\340" \
47 "\377\377\350\354\340\377\377\350\354\340\377\241\350\354\340\377\2\304" \
48 "\306\306\377PUW\377\213.46\377\377\350\354\340\377\377\350\354\340\377" \
49 "\377\350\354\340\377\240\350\354\340\377\1\306\310\311\377\215.46\377" \
50 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\240\350" \
51 "\354\340\377\1\302\303\304\377\215.46\377\377\350\354\340\377\377\350" \
52 "\354\340\377\377\350\354\340\377\240\350\354\340\377\1\302\303\304\377" \
53 "\215.46\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
54 "\240\350\354\340\377\1\302\303\304\377\215.46\377\377\350\354\340\377" \
55 "\377\350\354\340\377\377\350\354\340\377\240\350\354\340\377\1\302\303" \
56 "\304\377\215.46\377\377\350\354\340\377\377\350\354\340\377\377\350\354" \
57 "\340\377\240\350\354\340\377\1\302\303\304\377\215.46\377\377\350\354" \
58 "\340\377\377\350\354\340\377\377\350\354\340\377\240\350\354\340\377" \
59 "\1\302\303\304\377\215.46\377\377\350\354\340\377\377\350\354\340\377" \
60 "\377\350\354\340\377\240\350\354\340\377\1\302\303\304\377\215.46\377" \
61 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\240\350" \
62 "\354\340\377\1\302\303\304\377\215.46\377\377\350\354\340\377\377\350" \
63 "\354\340\377\377\350\354\340\377\240\350\354\340\377\1\302\303\304\377" \
64 "\215.46\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
65 "\240\350\354\340\377\1\302\303\304\377\215.46\377\377\350\354\340\377" \
66 "\377\350\354\340\377\377\350\354\340\377\240\350\354\340\377\1\302\303" \
67 "\304\377\215.46\377\377\350\354\340\377\305\350\354\340\377\1\346\347" \
68 "\347\377\256\350\354\340\377\1\341\342\343\377\377\350\354\340\377\252" \
69 "\350\354\340\377\1\302\303\304\377\215.46\377\377\350\354\340\377\304" \
70 "\350\354\340\377\3\220\223\224\3775;=\377\244\247\250\377\254\350\354" \
71 "\340\377\4\302\303\304\377179\377\205\210\212\377\350\354\342\377\377" \
72 "\350\354\340\377\250\350\354\340\377\1\302\303\304\377\215.46\377\377" \
73 "\350\354\340\377\302\350\354\340\377\2\250\253\253\377>DF\377\202.46" \
74 "\377\1@FG\377\254\350\354\340\377\1Y^`\377\202.46\377\2;AC\377\241\243" \
75 "\244\377\377\350\354\340\377\247\350\354\340\377\1\302\303\304\377\215" \
76 ".46\377\377\350\354\340\377\300\350\354\340\377\2\303\305\305\377PUW" \
77 "\377\205.46\377\1\230\233\234\377\252\350\354\340\377\1\303\305\305\377" \
78 "\205.46\377\2LQR\377\275\277\277\377\244\350\354\340\377\16\350\352\351" \
79 "\377\313\314\315\377\254\257\257\377\224\227\230\377\214\220\221\377" \
80 "\202\205\206\377w{|\377uy{\377\202\205\206\377\213\216\217\377\223\226" \
81 "\227\377\253\255\256\377\310\312\312\377\346\346\347\377\362\350\354" \
82 "\340\377\1\302\303\304\377\215.46\377\267\350\354\340\377\16\352\354" \
83 "\345\377\315\316\317\377\257\262\263\377\225\230\231\377\216\221\222" \
84 "\377\202\205\206\377x|}\377txy\377\202\205\206\377\211\214\215\377\221" \
85 "\224\225\377\247\252\253\377\305\306\307\377\342\343\343\377\370\350" \
86 "\354\340\377\2\327\330\330\377bgh\377\207.46\377\1""9\77A\377\252\350" \
87 "\354\340\377\1]ac\377\207.46\377\2bgh\377\327\330\330\377\236\350\354" \
88 "\340\377\4\323\324\324\377\237\242\243\377kop\3779>@\377\216.46\377\4" \
89 "7=\77\377fjl\377\232\235\236\377\316\317\320\377\303\350\354\340\377" \
90 "\7\352\354\346\377\332\333\334\377\303\305\305\377\271\273\274\377\263" \
91 "\265\266\377\253\256\257\377\247\252\253\377\244\235\240\241\377\1}\200" \
92 "\202\377\215.46\377\1\227\232\233\377\221\235\240\241\377\1\335\336\336" \
93 "\377\240\350\354\340\377\4\330\332\332\377\244\247\250\377ptu\377>CE" \
94 "\377\216.46\377\4""4:<\377_de\377\224\230\231\377\311\312\313\377\362" \
95 "\350\354\340\377\3\352\353\347\377~\202\203\377068\377\211.46\377\1\216" \
96 "\221\222\377\250\350\354\340\377\1\306\310\311\377\211.46\377\3""068" \
97 "\377~\202\203\377\352\353\347\377\231\350\354\340\377\3\332\333\334\377" \
98 "\214\220\221\377CIJ\377\226.46\377\3>CE\377\207\212\213\377\321\322\323" \
99 "\377\272\350\354\340\377\6\324\325\325\377\257\261\262\377\213\217\220" \
100 "\377gkl\377FKM\37728:\377\313.46\377\1\265\267\270\377\235\350\354\340" \
101 "\377\3\341\342\342\377\224\230\231\377JOQ\377\226.46\377\3""9\77A\377" \
102 "}\200\202\377\312\313\314\377\356\350\354\340\377\2\225\230\231\3778" \
103 ">\77\377\213.46\377\2""5;=\377\350\352\351\377\247\350\354\340\377\1" \
104 "_de\377\213.46\377\2""8>\77\377\232\235\236\377\226\350\354\340\377\2" \
105 "\264\266\266\377V[]\377\234.46\377\2PUV\377\253\256\257\377\264\350\354" \
106 "\340\377\4\322\323\324\377\235\237\240\377gkl\3776<>\377\321.46\377\1" \
107 "\265\267\270\377\233\350\354\340\377\2\277\301\302\377`ef\377\234.46" \
108 "\377\2GMN\377\240\243\244\377\354\350\354\340\377\1BHJ\377\215.46\377" \
109 "\1\202\205\206\377\246\350\354\340\377\1\311\312\313\377\215.46\377\1" \
110 "CIJ\377\224\350\354\340\377\2\241\243\244\377FKM\377\240.46\377\2@FG" \
111 "\377\231\233\234\377\257\350\354\340\377\3\325\326\327\377\214\220\221" \
112 "\377EJL\377\325.46\377\1\265\267\270\377\231\350\354\340\377\2\255\257" \
113 "\260\377NSU\377\240.46\377\3""9\77A\377\220\223\224\377\350\354\342\377" \
114 "\351\350\354\340\377\1\251\253\254\377\215.46\377\2""179\377\341\342" \
115 "\343\377\245\350\354\340\377\1bfh\377\215.46\377\1\244\247\250\377\222" \
116 "\350\354\340\377\2\275\277\277\377LQR\377\244.46\377\2BHJ\377\264\267" \
117 "\267\377\253\350\354\340\377\2\253\256\257\377PUV\377\330.46\377\1\265" \
118 "\267\270\377\227\350\354\340\377\2\313\314\315\377UY[\377\244.46\377" \
119 "\2;AC\377\247\252\253\377\351\350\354\340\377\1LQS\377\215.46\377\1x" \
120 "|}\377\244\350\354\340\377\1\314\316\316\377\215.46\377\1BGI\377\221" \
121 "\350\354\340\377\2\346\347\347\377hmn\377\250.46\377\2]ac\377\340\341" \
122 "\341\377\247\350\354\340\377\2\235\237\240\377BGI\377\332.46\377\1\265" \
123 "\267\270\377\225\350\354\340\377\2\350\354\342\377txz\377\250.46\377" \
124 "\2PUW\377\324\326\326\377\347\350\354\340\377\1\270\272\272\377\215." \
125 "46\377\2""068\377\330\332\332\377\243\350\354\340\377\1eik\377\215.4" \
126 "6\377\1\242\244\245\377\220\350\354\340\377\2\275\277\277\377=BD\377" \
127 "\252.46\377\2""8>\77\377\261\263\264\377\244\350\354\340\377\2\265\267" \
128 "\270\377BHJ\377\334.46\377\1\265\267\270\377\224\350\354\340\377\2\313" \
129 "\315\315\377EJL\377\252.46\377\2""28:\377\240\243\244\377\347\350\354" \
130 "\340\377\1V[]\377\215.46\377\1kpq\377\242\350\354\340\377\1\316\317\320" \
131 "\377\215.46\377\1@FG\377\220\350\354\340\377\1\210\214\215\377\256.4" \
132 "6\377\1y}\177\377\241\350\354\340\377\2\336\337\337\377aeg\377\336.4" \
133 "6\377\1\265\267\270\377\223\350\354\340\377\2\231\234\235\377068\377" \
134 "\255.46\377\1imo\377\346\350\354\340\377\1\304\306\306\377\216.46\377" \
135 "\1\317\321\321\377\241\350\354\340\377\1glm\377\215.46\377\1\236\241" \
136 "\242\377\217\350\354\340\377\1ptu\377\260.46\377\1chi\377\237\350\354" \
137 "\340\377\2\264\267\267\3778>\77\377\337.46\377\1\265\267\270\377\222" \
138 "\350\354\340\377\1\202\205\206\377\260.46\377\2TYZ\377\352\353\347\377" \
139 "\345\350\354\340\377\1chi\377\215.46\377\1bfh\377\240\350\354\340\377" \
140 "\1\321\322\323\377\215.46\377\1>DF\377\217\350\354\340\377\1_de\377\262" \
141 ".46\377\2TYZ\377\352\353\347\377\234\350\354\340\377\1\202\205\206\377" \
142 "\341.46\377\1\265\267\270\377\221\350\354\340\377\1ptv\377\262.46\377" \
143 "\2HMO\377\337\340\340\377\344\350\354\340\377\2\322\323\324\377/57\377" \
144 "\215.46\377\1\304\306\306\377\237\350\354\340\377\1kop\377\215.46\377" \
145 "\1\234\237\240\377\216\350\354\340\377\1aeg\377\264.46\377\1SXY\377\233" \
146 "\350\354\340\377\1fjl\377\342.46\377\1\265\267\270\377\220\350\354\340" \
147 "\377\1ptu\377\264.46\377\2EJL\377\350\351\351\377\344\350\354\340\377" \
148 "\1ptv\377\215.46\377\1V[]\377\236\350\354\340\377\1\324\326\326\377\215" \
149 ".46\377\1=BD\377\216\350\354\340\377\1nrs\377\226.46\377\12=BD\377`e" \
150 "f\377\200\204\205\377\220\223\224\377\233\236\237\377\234\237\240\377" \
151 "\220\223\224\377\202\205\206\377bgh\377>DF\377\226.46\377\1dij\377\231" \
152 "\350\354\340\377\1_de\377\231.46\377\3""39;\377EJL\377Y^`\377\202fjl" \
153 "\377\1swx\377\244txy\377\1_de\377\215.46\377\1ptu\377\221txy\377\1\316" \
154 "\317\320\377\217\350\354\340\377\1\204\210\211\377\226.46\377\12""9\77" \
155 "A\377[`a\377}\200\202\377\220\223\224\377\231\234\235\377\235\240\241" \
156 "\377\220\223\224\377\205\210\212\377fjl\377BHJ\377\226.46\377\1SXY\377" \
157 "\344\350\354\340\377\2\335\336\336\377068\377\215.46\377\1\271\273\274" \
158 "\377\235\350\354\340\377\1lqr\377\215.46\377\1\231\233\234\377\215\350" \
159 "\354\340\377\1\207\213\214\377\224.46\377\3PUW\377\234\237\240\377\327" \
160 "\330\330\377\212\350\354\340\377\3\332\333\334\377\236\241\242\377PU" \
161 "V\377\224.46\377\1x|}\377\227\350\354\340\377\1[`a\377\225.46\377\5K" \
162 "PR\377\177\203\204\377\247\252\253\377\311\312\313\377\352\354\346\377" \
163 "\252\350\354\340\377\1\302\303\304\377\215.46\377\241\350\354\340\377" \
164 "\1\237\242\243\377\224.46\377\3JOQ\377\226\231\232\377\320\322\322\377" \
165 "\212\350\354\340\377\3\336\337\337\377\242\245\246\377Y]_\377\224.46" \
166 "\377\1eik\377\344\350\354\340\377\1~\201\202\377\215.46\377\1OTV\377" \
167 "\234\350\354\340\377\2\326\327\330\377/57\377\214.46\377\1;AC\377\215" \
168 "\350\354\340\377\1\271\273\274\377\222.46\377\3/57\377ptu\377\314\316" \
169 "\316\377\220\350\354\340\377\2\312\313\314\377jnp\377\223.46\377\1\254" \
170 "\257\257\377\225\350\354\340\377\1y|~\377\222.46\377\4/57\377]ac\377" \
171 "\247\252\253\377\346\347\347\377\257\350\354\340\377\1\302\303\304\377" \
172 "\215.46\377\240\350\354\340\377\2\316\317\320\377068\377\222.46\377\2" \
173 "fjl\377\305\306\307\377\220\350\354\340\377\3\323\324\324\377txy\377" \
174 "068\377\222.46\377\1\225\230\231\377\343\350\354\340\377\2\347\350\350" \
175 "\3775:<\377\215.46\377\1\256\260\261\377\233\350\354\340\377\1ptu\377" \
176 "\215.46\377\1\226\231\232\377\214\350\354\340\377\2\344\345\345\377:" \
177 "@B\377\221.46\377\2gkl\377\332\333\334\377\224\350\354\340\377\2\324" \
178 "\326\326\377^ce\377\221.46\377\2""6<>\377\335\336\337\377\223\350\354" \
179 "\340\377\1\235\240\241\377\221.46\377\3""39;\377\177\203\204\377\341" \
180 "\342\342\377\262\350\354\340\377\1\302\303\304\377\215.46\377\237\350" \
181 "\354\340\377\2\350\354\342\377FKM\377\221.46\377\2[`a\377\321\322\323" \
182 "\377\224\350\354\340\377\2\335\336\337\377kop\377\221.46\377\2""068\377" \
183 "\314\316\316\377\343\350\354\340\377\1\213\217\220\377\215.46\377\1F" \
184 "KM\377\232\350\354\340\377\2\331\332\333\377/57\377\214.46\377\1:@B\377" \
185 "\215\350\354\340\377\1^ce\377\220.46\377\2;AC\377\265\267\270\377\230" \
186 "\350\354\340\377\2\251\253\254\3775;=\377\220.46\377\1Y]_\377\222\350" \
187 "\354\340\377\2\325\326\327\377068\377\220.46\377\2ptu\377\346\346\347" \
188 "\377\264\350\354\340\377\1\302\303\304\377\215.46\377\237\350\354\340" \
189 "\377\1txz\377\220.46\377\2""6<>\377\250\253\253\377\230\350\354\340\377" \
190 "\2\270\272\272\377<BC\377\220.46\377\1GMN\377\343\350\354\340\377\2\350" \
191 "\354\342\3779\77A\377\215.46\377\1\244\247\250\377\231\350\354\340\377" \
192 "\1rvw\377\215.46\377\1\223\226\227\377\214\350\354\340\377\1\261\263" \
193 "\264\377\220.46\377\2X]^\377\344\345\345\377\232\350\354\340\377\2\327" \
194 "\330\330\377HMO\377\220.46\377\1\255\257\260\377\221\350\354\340\377" \
195 "\1UY[\377\217.46\377\2<BC\377\274\276\276\377\266\350\354\340\377\1\302" \
196 "\303\304\377\215.46\377\236\350\354\340\377\1\311\312\313\377\220.46" \
197 "\377\2LQS\377\330\332\332\377\232\350\354\340\377\2\342\343\343\377S" \
198 "XY\377\220.46\377\1\224\230\231\377\343\350\354\340\377\1\230\233\234" \
199 "\377\215.46\377\1@FG\377\230\350\354\340\377\2\332\333\334\377068\377" \
200 "\214.46\377\1""9>@\377\215\350\354\340\377\1AFH\377\217.46\377\1gkl\377" \
201 "\235\350\354\340\377\2\352\353\347\377OTV\377\217.46\377\1\77EG\377\220" \
202 "\350\354\340\377\1\232\235\236\377\217.46\377\2MRT\377\340\341\341\377" \
203 "\267\350\354\340\377\1\302\303\304\377\215.46\377\236\350\354\340\377" \
204 "\1OTV\377\217.46\377\2W\\]\377\350\354\342\377\235\350\354\340\377\1" \
205 "\\ab\377\217.46\377\2""5:<\377\346\346\347\377\343\350\354\340\377\1" \
206 "AFH\377\215.46\377\1\230\233\234\377\227\350\354\340\377\1uy{\377\215" \
207 ".46\377\1\220\224\225\377\214\350\354\340\377\1\217\222\223\377\217." \
208 "46\377\1imo\377\237\350\354\340\377\2\352\354\346\377LQR\377\217.46\377" \
209 "\1\220\224\225\377\217\350\354\340\377\1""9>@\377\216.46\377\2OTV\377" \
210 "\351\354\343\377\270\350\354\340\377\1\302\303\304\377\215.46\377\235" \
211 "\350\354\340\377\1\246\251\252\377\217.46\377\1[`a\377\240\350\354\340" \
212 "\377\1[`a\377\217.46\377\1{\177\200\377\343\350\354\340\377\1\246\251" \
213 "\252\377\215.46\377\2""9\77A\377\350\354\342\377\225\350\354\340\377" \
214 "\2\335\336\337\377068\377\214.46\377\2""8>\77\377\351\354\343\377\214" \
215 "\350\354\340\377\1""9>@\377\216.46\377\1QVX\377\241\350\354\340\377\2" \
216 "\341\342\343\377\77EG\377\216.46\377\1;AC\377\216\350\354\340\377\1\224" \
217 "\230\231\377\216.46\377\2GLN\377\350\351\351\377\271\350\354\340\377" \
218 "\1\302\303\304\377\215.46\377\235\350\354\340\377\1GLN\377\216.46\377" \
219 "\2EJL\377\350\351\351\377\240\350\354\340\377\2\351\354\343\377JOQ\377" \
220 "\216.46\377\2""179\377\346\347\347\377\343\350\354\340\377\1INP\377\215" \
221 ".46\377\1\216\221\222\377\225\350\354\340\377\1x|}\377\215.46\377\1\216" \
222 "\221\222\377\214\350\354\340\377\1\230\233\234\377\216.46\377\2""7=\77" \
223 "\377\337\340\340\377\242\350\354\340\377\2\312\313\314\377068\377\216" \
224 ".46\377\1\242\244\245\377\215\350\354\340\377\1;AC\377\215.46\377\2""0" \
225 "68\377\316\317\320\377\272\350\354\340\377\1\302\303\304\377\215.46\377" \
226 "\234\350\354\340\377\1\257\261\262\377\216.46\377\2""068\377\317\320" \
227 "\320\377\242\350\354\340\377\2\330\332\332\3775:<\377\216.46\377\1\213" \
228 "\216\217\377\343\350\354\340\377\1\264\266\266\377\215.46\377\2""5;=" \
229 "\377\350\352\351\377\223\350\354\340\377\2\337\340\340\377068\377\214" \
230 ".46\377\2""6<>\377\352\354\346\377\214\350\354\340\377\1>DF\377\216." \
231 "46\377\1\246\250\251\377\244\350\354\340\377\1\216\221\222\377\216.4" \
232 "6\377\1GLN\377\214\350\354\340\377\1\246\251\252\377\216.46\377\1\223" \
233 "\226\227\377\273\350\354\340\377\1\302\303\304\377\215.46\377\234\350" \
234 "\354\340\377\1OTV\377\216.46\377\1\220\223\224\377\244\350\354\340\377" \
235 "\1\244\247\250\377\216.46\377\1""8>\77\377\344\350\354\340\377\1UY[\377" \
236 "\215.46\377\1\202\205\206\377\223\350\354\340\377\1z~\177\377\215.46" \
237 "\377\1\213\216\217\377\214\350\354\340\377\1\271\273\274\377\216.46\377" \
238 "\1Z_a\377\246\350\354\340\377\1JOQ\377\216.46\377\1\310\312\312\377\213" \
239 "\350\354\340\377\1[`a\377\215.46\377\1BHJ\377\274\350\354\340\377\1\302" \
240 "\303\304\377\215.46\377\233\350\354\340\377\1\320\322\322\377\216.46" \
241 "\377\1HMO\377\246\350\354\340\377\1\\ab\377\216.46\377\1\260\263\263" \
242 "\377\343\350\354\340\377\1\302\303\304\377\215.46\377\2""179\377\341" \
243 "\342\342\377\221\350\354\340\377\2\341\342\343\377179\377\214.46\377" \
244 "\2""5;=\377\352\353\347\377\214\350\354\340\377\1nrs\377\216.46\377\1" \
245 "\316\317\320\377\246\350\354\340\377\1\273\275\276\377\216.46\377\1|" \
246 "\200\201\377\212\350\354\340\377\1\341\342\343\377\216.46\377\1\253\255" \
247 "\256\377\274\350\354\340\377\1\302\303\304\377\215.46\377\233\350\354" \
248 "\340\377\1\204\210\211\377\216.46\377\1\270\272\272\377\246\350\354\340" \
249 "\377\2\321\322\323\377/57\377\215.46\377\1eik\377\344\350\354\340\377" \
250 "\1_de\377\215.46\377\1x|}\377\221\350\354\340\377\1~\201\202\377\215" \
251 ".46\377\1\210\214\215\377\214\350\354\340\377\2\350\354\342\37728:\377" \
252 "\215.46\377\1hmn\377\250\350\354\340\377\1X]^\377\215.46\377\1""9>@\377" \
253 "\212\350\354\340\377\1\231\234\235\377\215.46\377\1;AC\377\275\350\354" \
254 "\340\377\1\302\303\304\377\215.46\377\233\350\354\340\377\1=BD\377\215" \
255 ".46\377\1PUW\377\250\350\354\340\377\1ost\377\215.46\377\2""068\377\351" \
256 "\352\350\377\343\350\354\340\377\1\316\317\320\377\215.46\377\2""068" \
257 "\377\330\332\332\377\217\350\354\340\377\2\343\344\344\377179\377\214" \
258 ".46\377\2""4:<\377\350\352\351\377\214\350\354\340\377\1\265\267\270" \
259 "\377\216.46\377\1\305\306\307\377\250\350\354\340\377\1\271\273\273\377" \
260 "\216.46\377\1\303\305\305\377\211\350\354\340\377\1eik\377\215.46\377" \
261 "\1\207\212\213\377\275\350\354\340\377\1\302\303\304\377\215.46\377\232" \
262 "\350\354\340\377\1\313\314\315\377\216.46\377\1\260\263\263\377\250\350" \
263 "\354\340\377\1\317\320\320\377\216.46\377\1\254\257\257\377\344\350\354" \
264 "\340\377\1nrs\377\215.46\377\1kpq\377\217\350\354\340\377\1\200\204\205" \
265 "\377\215.46\377\1\205\210\212\377\215\350\354\340\377\1\201\204\206\377" \
266 "\215.46\377\1MRT\377\252\350\354\340\377\1BHJ\377\215.46\377\1\217\222" \
267 "\223\377\211\350\354\340\377\1""6<>\377\215.46\377\1\312\313\314\377" \
268 "\275\350\354\340\377\1\302\303\304\377\215.46\377\232\350\354\340\377" \
269 "\1\226\231\232\377\215.46\377\1=BD\377\252\350\354\340\377\1W\\]\377" \
270 "\215.46\377\1x|}\377\344\350\354\340\377\2\333\334\334\377068\377\215" \
271 ".46\377\1\317\320\320\377\215\350\354\340\377\2\345\346\346\37739;\377" \
272 "\214.46\377\2""39;\377\347\350\350\377\215\350\354\340\377\1LQR\377\215" \
273 ".46\377\1\225\230\231\377\252\350\354\340\377\1\211\214\215\377\215." \
274 "46\377\1\\ab\377\210\350\354\340\377\1\321\322\323\377\215.46\377\1:" \
275 "@B\377\276\350\354\340\377\1\302\303\304\377\215.46\377\232\350\354\340" \
276 "\377\1bgh\377\215.46\377\1\177\203\204\377\252\350\354\340\377\1\237" \
277 "\242\243\377\215.46\377\1DIK\377\345\350\354\340\377\1z~\177\377\215" \
278 ".46\377\1bfh\377\215\350\354\340\377\1\203\207\210\377\215.46\377\1\203" \
279 "\207\210\377\215\350\354\340\377\1\352\354\346\377\216.46\377\1\335\336" \
280 "\336\377\252\350\354\340\377\1\316\317\320\377\215.46\377\1""179\377" \
281 "\210\350\354\340\377\1\246\251\252\377\215.46\377\1imo\377\276\350\354" \
282 "\340\377\1\302\303\304\377\215.46\377\232\350\354\340\377\1""5:<\377" \
283 "\215.46\377\1\306\310\311\377\252\350\354\340\377\1\344\345\345\377\216" \
284 ".46\377\1\344\345\345\377\252\350\354\340\377\5\304\336\373\377\236\311" \
285 "\370\377\220\301\367\377\234\310\370\377\273\331\372\377\265\350\354" \
286 "\340\377\2\344\345\345\37739;\377\215.46\377\1\304\306\306\377\213\350" \
287 "\354\340\377\2\347\350\350\37739;\377\214.46\377\2""28:\377\345\346\346" \
288 "\377\215\350\354\340\377\1\313\315\315\377\215.46\377\1@FG\377\254\350" \
289 "\354\340\377\1""6<>\377\215.46\377\1\331\332\333\377\207\350\354\340" \
290 "\377\1\212\215\216\377\215.46\377\1\222\225\226\377\276\350\354\340\377" \
291 "\1\302\303\304\377\215.46\377\231\350\354\340\377\1\341\342\343\377\215" \
292 ".46\377\1""28:\377\254\350\354\340\377\1HMO\377\215.46\377\1\302\304" \
293 "\305\377\250\350\354\340\377\2\262\324\371\377[\244\363\377\205O\235" \
294 "\362\377\2U\240\362\377\236\311\370\377\264\350\354\340\377\1\211\214" \
295 "\215\377\215.46\377\1V[]\377\213\350\354\340\377\1\205\210\212\377\215" \
296 ".46\377\1\200\204\205\377\216\350\354\340\377\1\253\256\257\377\215." \
297 "46\377\1quw\377\254\350\354\340\377\1chi\377\215.46\377\1\275\277\277" \
298 "\377\207\350\354\340\377\1mqs\377\215.46\377\1\270\272\272\377\276\350" \
299 "\354\340\377\1\302\303\304\377\215.46\377\231\350\354\340\377\1\302\304" \
300 "\305\377\215.46\377\1[`a\377\254\350\354\340\377\1y}\177\377\215.46\377" \
301 "\1\246\250\251\377\247\350\354\340\377\1\214\277\366\377\211O\235\362" \
302 "\377\1u\262\365\377\263\350\354\340\377\2\352\354\345\3779>@\377\215" \
303 ".46\377\1\271\273\273\377\211\350\354\340\377\2\350\352\351\3775:<\377" \
304 "\214.46\377\2""179\377\343\344\344\377\216\350\354\340\377\1\217\222" \
305 "\223\377\215.46\377\1\231\233\234\377\254\350\354\340\377\1\212\215\216" \
306 "\377\215.46\377\1\235\240\241\377\207\350\354\340\377\1QVX\377\215.4" \
307 "6\377\1\320\322\322\377\276\350\354\340\377\1\302\303\304\377\215.46" \
308 "\377\231\350\354\340\377\1\246\250\251\377\215.46\377\1\202\205\206\377" \
309 "\254\350\354\340\377\1\237\242\243\377\215.46\377\1\207\212\213\377\246" \
310 "\350\354\340\377\1\236\311\370\377\213O\235\362\377\1\177\270\366\377" \
311 "\263\350\354\340\377\1\225\230\231\377\215.46\377\1OTV\377\211\350\354" \
312 "\340\377\1\210\214\215\377\215.46\377\1}\200\202\377\217\350\354\340" \
313 "\377\1y|~\377\215.46\377\1\264\267\267\377\254\350\354\340\377\1\246" \
314 "\251\252\377\215.46\377\1\206\211\212\377\207\350\354\340\377\1;AC\377" \
315 "\215.46\377\1\347\350\350\377\276\350\354\340\377\1\302\303\304\377\215" \
316 ".46\377\231\350\354\340\377\1\216\221\222\377\215.46\377\1\235\240\241" \
317 "\377\254\350\354\340\377\1\274\276\276\377\215.46\377\1nrs\377\245\350" \
318 "\354\340\377\2\342\357\375\377Q\236\362\377\214O\235\362\377\1\304\336" \
319 "\373\377\263\350\354\340\377\1>DF\377\215.46\377\1\256\260\261\377\207" \
320 "\350\354\340\377\2\352\353\347\3775;=\377\214.46\377\2""179\377\341\342" \
321 "\342\377\217\350\354\340\377\1kpq\377\215.46\377\1\313\315\315\377\254" \
322 "\350\354\340\377\1\276\300\301\377\215.46\377\1{\177\200\377\207\350" \
323 "\354\340\377\1""179\377\215.46\377\277\350\354\340\377\1\302\303\304" \
324 "\377\215.46\377\231\350\354\340\377\1\204\210\211\377\215.46\377\1\267" \
325 "\271\272\377\254\350\354\340\377\1\326\327\330\377\215.46\377\1eik\377" \
326 "\245\350\354\340\377\1\232\307\370\377\215O\235\362\377\1z\265\365\377" \
327 "\263\350\354\340\377\1\243\246\247\377\215.46\377\1FKM\377\207\350\354" \
328 "\340\377\1\213\216\217\377\215.46\377\1y}\177\377\220\350\354\340\377" \
329 "\1bgh\377\215.46\377\1\332\333\334\377\254\350\354\340\377\1\314\316" \
330 "\316\377\215.46\377\1quw\377\207\350\354\340\377\216.46\377\277\350\354" \
331 "\340\377\1\302\303\304\377\215.46\377\231\350\354\340\377\1y|~\377\215" \
332 ".46\377\1\302\303\304\377\254\350\354\340\377\1\341\342\343\377\215." \
333 "46\377\1[`a\377\245\350\354\340\377\1i\254\364\377\215O\235\362\377\1" \
334 "Q\236\362\377\264\350\354\340\377\1GMN\377\215.46\377\1\243\246\247\377" \
335 "\205\350\354\340\377\2\352\354\346\3776<>\377\214.46\377\2""068\377\337" \
336 "\340\340\377\220\350\354\340\377\1Y^`\377\215.46\377\1\341\342\343\377" \
337 "\254\350\354\340\377\1\324\326\326\377\215.46\377\1hmn\377\207\350\354" \
338 "\340\377\215.46\377\1""8>\77\377\277\350\354\340\377\1\302\303\304\377" \
339 "\215.46\377\231\350\354\340\377\1ptu\377\215.46\377\1\314\316\316\377" \
340 "\254\350\354\340\377\1\351\352\350\377\215.46\377\1QVX\377\245\350\354" \
341 "\340\377\1U\240\362\377\216O\235\362\377\1\344\360\375\377\263\350\354" \
342 "\340\377\1\260\263\263\377\215.46\377\1@FG\377\205\350\354\340\377\1" \
343 "\216\221\222\377\215.46\377\1w{|\377\221\350\354\340\377\1Y]_\377\215" \
344 ".46\377\1\342\343\343\377\254\350\354\340\377\1\325\326\327\377\215." \
345 "46\377\1glm\377\206\350\354\340\377\1\351\352\350\377\215.46\377\1""5" \
346 ";=\377\277\350\354\340\377\1\302\303\304\377\215.46\377\231\350\354\340" \
347 "\377\1ptu\377\215.46\377\1\315\316\317\377\254\350\354\340\377\1\352" \
348 "\353\347\377\215.46\377\1QVX\377\245\350\354\340\377\1U\240\362\377\216" \
349 "O\235\362\377\1\345\361\375\377\264\350\354\340\377\1PUW\377\215.46\377" \
350 "\1\230\233\234\377\203\350\354\340\377\2\351\354\343\3778>\77\377\214" \
351 ".46\377\2""068\377\335\336\336\377\221\350\354\340\377\1bfh\377\215." \
352 "46\377\1\332\333\334\377\254\350\354\340\377\1\314\316\316\377\215.4" \
353 "6\377\1quw\377\207\350\354\340\377\216.46\377\277\350\354\340\377\1\302" \
354 "\303\304\377\215.46\377\231\350\354\340\377\1x|}\377\215.46\377\1\302" \
355 "\303\304\377\254\350\354\340\377\1\341\342\343\377\215.46\377\1Z_a\377" \
356 "\245\350\354\340\377\1l\255\364\377\215O\235\362\377\1R\237\362\377\265" \
357 "\350\354\340\377\1\275\277\300\377\215.46\377\2""9\77A\377\350\354\342" \
358 "\377\202\350\354\340\377\1\220\224\225\377\215.46\377\1txz\377\222\350" \
359 "\354\340\377\1kpq\377\215.46\377\1\314\316\316\377\254\350\354\340\377" \
360 "\1\277\301\302\377\215.46\377\1z~\177\377\207\350\354\340\377\216.46" \
361 "\377\1\352\354\345\377\276\350\354\340\377\1\302\303\304\377\215.46\377" \
362 "\231\350\354\340\377\1\204\210\211\377\215.46\377\1\271\273\273\377\254" \
363 "\350\354\340\377\1\327\330\330\377\215.46\377\1dij\377\245\350\354\340" \
364 "\377\1\236\311\370\377\215O\235\362\377\1\177\270\366\377\266\350\354" \
365 "\340\377\1]ac\377\215.46\377\4\215\220\221\377\350\354\340\377\350\354" \
366 "\342\3779>@\377\214.46\377\2/57\377\332\333\334\377\222\350\354\340\377" \
367 "\1w{|\377\215.46\377\1\265\267\270\377\254\350\354\340\377\1\250\253" \
368 "\253\377\215.46\377\1\205\210\212\377\207\350\354\340\377\1""068\377" \
369 "\215.46\377\1\341\342\342\377\276\350\354\340\377\1\302\303\304\377\215" \
370 ".46\377\231\350\354\340\377\1\215\220\221\377\215.46\377\1\237\242\243" \
371 "\377\254\350\354\340\377\1\276\300\301\377\215.46\377\1mqs\377\245\350" \
372 "\354\340\377\2\350\362\375\377S\237\362\377\214O\235\362\377\1\315\343" \
373 "\373\377\266\350\354\340\377\1\313\315\315\377\215.46\377\3""5;=\377" \
374 "\350\352\351\377\223\226\227\377\215.46\377\1quw\377\223\350\354\340" \
375 "\377\1\216\221\222\377\215.46\377\1\231\234\235\377\254\350\354\340\377" \
376 "\1\214\220\221\377\215.46\377\1\234\237\240\377\207\350\354\340\377\1" \
377 "AFH\377\215.46\377\1\321\322\323\377\276\350\354\340\377\1\302\303\304" \
378 "\377\215.46\377\231\350\354\340\377\1\244\247\250\377\215.46\377\1\203" \
379 "\207\210\377\254\350\354\340\377\1\241\243\244\377\215.46\377\1\205\210" \
380 "\212\377\246\350\354\340\377\1\253\320\371\377\213O\235\362\377\1\214" \
381 "\277\366\377\270\350\354\340\377\1imo\377\215.46\377\2uy{\377:@B\377" \
382 "\214.46\377\2/57\377\330\332\332\377\223\350\354\340\377\1\252\254\255" \
383 "\377\215.46\377\1txy\377\254\350\354\340\377\1gkl\377\215.46\377\1\272" \
384 "\274\275\377\207\350\354\340\377\1W\\]\377\215.46\377\1\251\253\254\377" \
385 "\276\350\354\340\377\1\302\303\304\377\215.46\377\231\350\354\340\377" \
386 "\1\301\302\303\377\215.46\377\1^ce\377\254\350\354\340\377\1}\200\202" \
387 "\377\215.46\377\1\243\246\247\377\247\350\354\340\377\1\231\306\367\377" \
388 "\211O\235\362\377\1\200\270\366\377\271\350\354\340\377\2\327\330\330" \
389 "\377068\377\232.46\377\1nrs\377\224\350\354\340\377\1\311\312\313\377" \
390 "\215.46\377\1CIJ\377\254\350\354\340\377\1""8>\77\377\215.46\377\1\330" \
391 "\331\331\377\207\350\354\340\377\1kpq\377\215.46\377\1\177\203\204\377" \
392 "\276\350\354\340\377\1\302\303\304\377\215.46\377\231\350\354\340\377" \
393 "\1\337\340\340\377\215.46\377\1""4:<\377\254\350\354\340\377\1LQR\377" \
394 "\215.46\377\1\301\302\303\377\250\350\354\340\377\2\303\336\373\377d" \
395 "\251\364\377\205O\235\362\377\2Z\243\363\377\260\323\371\377\273\350" \
396 "\354\340\377\1x|}\377\231.46\377\2/57\377\325\326\327\377\224\350\354" \
397 "\340\377\1\351\352\350\377\216.46\377\1\340\341\341\377\252\350\354\340" \
398 "\377\1\321\322\323\377\215.46\377\1""068\377\210\350\354\340\377\1\213" \
399 "\217\220\377\215.46\377\1V[]\377\276\350\354\340\377\1\302\303\304\377" \
400 "\215.46\377\232\350\354\340\377\1""39;\377\215.46\377\1\312\313\314\377" \
401 "\252\350\354\340\377\1\350\351\351\377\216.46\377\1\341\342\342\377\252" \
402 "\350\354\340\377\5\323\346\374\377\255\321\371\377\236\311\370\377\251" \
403 "\317\371\377\313\342\373\377\275\350\354\340\377\2\342\343\343\37728" \
404 ":\377\230.46\377\1kpq\377\226\350\354\340\377\1INP\377\215.46\377\1\232" \
405 "\235\236\377\252\350\354\340\377\1\214\220\221\377\215.46\377\1X]^\377" \
406 "\210\350\354\340\377\1\261\263\264\377\215.46\377\1""179\377\276\350" \
407 "\354\340\377\1\302\303\304\377\215.46\377\232\350\354\340\377\1_de\377" \
408 "\215.46\377\1\204\210\211\377\252\350\354\340\377\1\243\246\247\377\215" \
409 ".46\377\1BGI\377\356\350\354\340\377\1\204\210\211\377\230.46\377\1\323" \
410 "\324\324\377\226\350\354\340\377\1}\200\202\377\215.46\377\1QVX\377\252" \
411 "\350\354\340\377\1GLN\377\215.46\377\1\214\220\221\377\210\350\354\340" \
412 "\377\1\330\331\331\377\216.46\377\1\253\256\257\377\275\350\354\340\377" \
413 "\1\302\303\304\377\215.46\377\232\350\354\340\377\1\224\227\230\377\215" \
414 ".46\377\1\77EG\377\252\350\354\340\377\1[`a\377\215.46\377\1txz\377\356" \
415 "\350\354\340\377\2\352\353\347\3776<>\377\226.46\377\1imo\377\227\350" \
416 "\354\340\377\1\262\264\265\377\216.46\377\1\313\314\315\377\250\350\354" \
417 "\340\377\1\276\300\301\377\216.46\377\1\300\302\302\377\211\350\354\340" \
418 "\377\1;AC\377\215.46\377\1_de\377\275\350\354\340\377\1\302\303\304\377" \
419 "\215.46\377\232\350\354\340\377\1\306\310\311\377\216.46\377\1\265\267" \
420 "\270\377\250\350\354\340\377\1\324\325\325\377\216.46\377\1\251\253\254" \
421 "\377\357\350\354\340\377\1\223\226\227\377\226.46\377\1\320\322\322\377" \
422 "\227\350\354\340\377\2\352\354\350\377179\377\215.46\377\1ost\377\250" \
423 "\350\354\340\377\1]ac\377\215.46\377\1""6<>\377\212\350\354\340\377\1" \
424 "mqs\377\215.46\377\2/57\377\341\342\343\377\274\350\354\340\377\1\302" \
425 "\303\304\377\215.46\377\233\350\354\340\377\1""9\77A\377\215.46\377\1" \
426 "V[]\377\250\350\354\340\377\1txz\377\215.46\377\2/57\377\346\346\347" \
427 "\377\360\350\354\340\377\1=BD\377\224.46\377\1fjl\377\231\350\354\340" \
428 "\377\1imo\377\215.46\377\2/57\377\324\325\325\377\246\350\354\340\377" \
429 "\1\303\305\305\377\216.46\377\1x|}\377\212\350\354\340\377\1\246\251" \
430 "\252\377\216.46\377\1y}\177\377\274\350\354\340\377\1\302\303\304\377" \
431 "\215.46\377\233\350\354\340\377\1\200\204\205\377\216.46\377\1\276\300" \
432 "\301\377\246\350\354\340\377\2\330\331\331\377068\377\215.46\377\1`e" \
433 "f\377\361\350\354\340\377\1\237\242\243\377\224.46\377\1\316\317\320" \
434 "\377\231\350\354\340\377\1\264\267\267\377\216.46\377\1aeg\377\246\350" \
435 "\354\340\377\1OTV\377\216.46\377\1\303\305\305\377\212\350\354\340\377" \
436 "\2\351\352\350\377068\377\215.46\377\2/57\377\323\324\324\377\273\350" \
437 "\354\340\377\1\302\303\304\377\215.46\377\233\350\354\340\377\1\313\315" \
438 "\315\377\216.46\377\1NSU\377\246\350\354\340\377\1chi\377\216.46\377" \
439 "\1\253\256\257\377\362\350\354\340\377\1DIK\377\222.46\377\1chi\377\233" \
440 "\350\354\340\377\1;AC\377\216.46\377\1\257\262\263\377\244\350\354\340" \
441 "\377\1\230\233\234\377\216.46\377\1BHJ\377\214\350\354\340\377\1aeg\377" \
442 "\216.46\377\1]ac\377\273\350\354\340\377\1\302\303\304\377\215.46\377" \
443 "\234\350\354\340\377\1JOQ\377\216.46\377\1\231\233\234\377\244\350\354" \
444 "\340\377\1\256\260\261\377\216.46\377\1""5;=\377\363\350\354\340\377" \
445 "\1\256\260\261\377\222.46\377\1\313\314\315\377\233\350\354\340\377\1" \
446 "\224\227\230\377\216.46\377\2:@B\377\346\346\347\377\242\350\354\340" \
447 "\377\2\322\323\324\377179\377\216.46\377\1\235\240\241\377\214\350\354" \
448 "\340\377\1\262\264\265\377\217.46\377\1\220\223\224\377\272\350\354\340" \
449 "\377\1\302\303\304\377\215.46\377\234\350\354\340\377\1\252\254\255\377" \
450 "\216.46\377\2""39;\377\326\327\330\377\242\350\354\340\377\2\340\341" \
451 "\341\3778>\77\377\216.46\377\1\207\212\213\377\364\350\354\340\377\1" \
452 "OTV\377\220.46\377\1`ef\377\234\350\354\340\377\2\350\354\342\3778>\77" \
453 "\377\216.46\377\1Y]_\377\241\350\354\340\377\2\350\351\351\377EJL\377" \
454 "\216.46\377\1;AC\377\216\350\354\340\377\1BHJ\377\216.46\377\2/57\377" \
455 "\264\267\267\377\271\350\354\340\377\1\302\303\304\377\215.46\377\235" \
456 "\350\354\340\377\1EJL\377\216.46\377\2KPR\377\351\354\343\377\241\350" \
457 "\354\340\377\1NSU\377\216.46\377\2""179\377\346\346\347\377\364\350\354" \
458 "\340\377\1\272\274\275\377\220.46\377\1\307\311\311\377\235\350\354\340" \
459 "\377\1\220\223\224\377\217.46\377\1swx\377\240\350\354\340\377\1SXY\377" \
460 "\217.46\377\1\220\224\225\377\216\350\354\340\377\1\233\236\237\377\217" \
461 ".46\377\2""6<>\377\301\302\303\377\270\350\354\340\377\1\302\303\304" \
462 "\377\215.46\377\1\352\354\350\377\234\350\354\340\377\1\246\251\252\377" \
463 "\217.46\377\1bfh\377\240\350\354\340\377\1chi\377\217.46\377\1z~\177" \
464 "\377\366\350\354\340\377\1Y]_\377\216.46\377\1^ce\377\237\350\354\340" \
465 "\377\1BGI\377\217.46\377\1lqr\377\235\350\354\340\377\2\352\354\350\377" \
466 "SXY\377\217.46\377\1BGI\377\220\350\354\340\377\1@FG\377\217.46\377\2" \
467 "068\377\246\251\252\377\267\350\354\340\377\1\302\303\304\377\215.46" \
468 "\377\1\335\336\337\377\235\350\354\340\377\1QVX\377\217.46\377\1\\ab" \
469 "\377\236\350\354\340\377\1_de\377\217.46\377\2""6<>\377\346\347\347\377" \
470 "\366\350\354\340\377\1\311\312\313\377\216.46\377\1\304\306\306\377\237" \
471 "\350\354\340\377\1\265\267\270\377\220.46\377\2W\\]\377\344\345\345\377" \
472 "\232\350\354\340\377\2\326\327\330\377HMO\377\220.46\377\1\261\263\264" \
473 "\377\220\350\354\340\377\1\247\252\253\377\221.46\377\1\202\206\207\377" \
474 "\242\350\354\340\377\2\264\267\267\377\276\300\301\377\222\350\354\340" \
475 "\377\1\310\312\312\377\215.46\377\1\267\271\272\377\235\350\354\340\377" \
476 "\2\314\316\316\377/57\377\217.46\377\2LQS\377\330\331\331\377\232\350" \
477 "\354\340\377\2\341\342\342\377SXY\377\220.46\377\1\231\233\234\377\367" \
478 "\350\354\340\377\2\341\342\343\377068\377\214.46\377\1[`a\377\241\350" \
479 "\354\340\377\1eik\377\220.46\377\2;AC\377\263\265\266\377\230\350\354" \
480 "\340\377\2\246\251\252\3775:<\377\220.46\377\1]ac\377\222\350\354\340" \
481 "\377\1Y]_\377\221.46\377\2BHJ\377\264\267\267\377\235\350\354\340\377" \
482 "\5\331\332\333\377\207\213\214\377=BD\377.46\377FKM\377\222\350\354\340" \
483 "\377\1\327\330\330\377\215.46\377\1uy{\377\220\350\354\340\377\1\350" \
484 "\354\342\377\215\350\354\340\377\1|\200\201\377\220.46\377\2""5:<\377" \
485 "\245\247\250\377\230\350\354\340\377\2\265\267\270\377;AC\377\220.46" \
486 "\377\1KPR\377\370\350\354\340\377\1\205\210\212\377\215.46\377\1\302" \
487 "\303\304\377\241\350\354\340\377\2\350\351\351\377>DF\377\221.46\377" \
488 "\2fjl\377\335\336\336\377\224\350\354\340\377\2\327\330\330\377^bd\377" \
489 "\221.46\377\2""9\77A\377\342\343\343\377\222\350\354\340\377\2\332\333" \
490 "\334\37739;\377\222.46\377\2W\\]\377\257\262\263\377\230\350\354\340" \
491 "\377\3\320\322\322\377\217\222\223\377MRT\377\205.46\377\1\246\250\251" \
492 "\377\221\350\354\340\377\1\347\350\350\377\215.46\377\2""179\377\324" \
493 "\326\326\377\215\350\354\340\377\3\235\240\241\377CIJ\377txz\377\216" \
494 "\350\354\340\377\1KPR\377\221.46\377\2[`a\377\324\325\325\377\224\350" \
495 "\354\340\377\2\341\342\342\377kop\377\221.46\377\2""39;\377\323\324\324" \
496 "\377\367\350\354\340\377\2\350\354\342\3775;=\377\214.46\377\1Y]_\377" \
497 "\243\350\354\340\377\2\303\305\305\377/57\377\221.46\377\3""068\377{" \
498 "\177\200\377\332\333\334\377\220\350\354\340\377\3\325\326\327\377tx" \
499 "z\377/57\377\222.46\377\1\270\272\272\377\224\350\354\340\377\1\244\247" \
500 "\250\377\224.46\377\3>DF\377\206\211\212\377\277\301\302\377\221\350" \
501 "\354\340\377\4\325\326\327\377\245\247\250\377txy\377BGI\377\210.46\377" \
502 "\1BGI\377\222\350\354\340\377\1/57\377\215.46\377\2CIJ\377\330\332\332" \
503 "\377\211\350\354\340\377\3\302\304\305\377|\200\201\3777=\77\377\202" \
504 ".46\377\2""068\377\332\333\334\377\215\350\354\340\377\2\326\327\330" \
505 "\3774:<\377\221.46\377\3/57\377ptv\377\320\322\322\377\220\350\354\340" \
506 "\377\3\336\337\337\377\201\204\206\377179\377\222.46\377\1\237\242\243" \
507 "\377\370\350\354\340\377\1\224\227\230\377\215.46\377\1\277\301\302\377" \
508 "\244\350\354\340\377\1\224\227\230\377\224.46\377\3TYZ\377\232\235\236" \
509 "\377\317\320\320\377\212\350\354\340\377\3\321\322\323\377\232\235\236" \
510 "\377SXY\377\224.46\377\1\207\212\213\377\226\350\354\340\377\1vz{\377" \
511 "\226.46\377\21""179\377\\ab\377~\201\202\377\233\236\237\377\272\274" \
512 "\275\377\313\315\315\377\325\326\327\377\333\334\334\377\343\344\344" \
513 "\377\331\332\333\377\315\316\317\377\301\302\303\377\264\266\266\377" \
514 "\224\230\231\377uy{\377V[]\3776<>\377\215.46\377\1\236\241\242\377\221" \
515 "\350\354\340\377\1PUW\377\216.46\377\12""179\377y}\177\377\274\276\276" \
516 "\377\337\340\340\377\343\344\344\377\332\333\334\377\305\306\307\377" \
517 "\235\237\240\377rvw\377<BC\377\206.46\377\1quw\377\216\350\354\340\377" \
518 "\1\253\256\257\377\224.46\377\3NSU\377\223\226\227\377\312\313\314\377" \
519 "\212\350\354\340\377\3\327\330\330\377\241\243\244\377]ac\377\224.46" \
520 "\377\1ptu\377\371\350\354\340\377\1=BD\377\214.46\377\1V[]\377\246\350" \
521 "\354\340\377\1|\200\201\377\226.46\377\12""39;\377PUV\377nrs\377~\201" \
522 "\202\377\207\212\213\377\210\214\215\377~\202\203\377ost\377RWY\3774" \
523 ":<\377\226.46\377\1nrs\377\230\350\354\340\377\1aeg\377\263.46\377\1" \
524 ">CE\377\221\350\354\340\377\1\204\210\211\377\236.46\377\2/57\377\330" \
525 "\331\331\377\216\350\354\340\377\1\220\224\225\377\226.46\377\12""28" \
526 ":\377LQS\377kop\377|\200\201\377\205\210\212\377\211\214\215\377\200" \
527 "\204\205\377ptv\377UZ\\\3776<>\377\226.46\377\1[`a\377\371\350\354\340" \
528 "\377\1\225\230\231\377\215.46\377\1\274\276\276\377\247\350\354\340\377" \
529 "\1nrs\377\264.46\377\1[`a\377\232\350\354\340\377\1UZ\\\377\263.46\377" \
530 "\1\231\233\234\377\220\350\354\340\377\1\270\272\272\377\237.46\377\1" \
531 "ost\377\217\350\354\340\377\1\204\210\211\377\264.46\377\2PUW\377\351" \
532 "\354\343\377\370\350\354\340\377\2\350\354\342\3779>@\377\214.46\377" \
533 "\1TYZ\377\251\350\354\340\377\1nrs\377\262.46\377\1bfh\377\234\350\354" \
534 "\340\377\1_de\377\262.46\377\1:@B\377\221\350\354\340\377\1BHJ\377\236" \
535 ".46\377\2/57\377\326\327\330\377\217\350\354\340\377\1\177\203\204\377" \
536 "\262.46\377\2SXY\377\351\352\350\377\371\350\354\340\377\1\213\217\220" \
537 "\377\215.46\377\1\271\273\274\377\252\350\354\340\377\1\177\203\204\377" \
538 "\260.46\377\1quw\377\236\350\354\340\377\1rvw\377\262.46\377\1\222\225" \
539 "\226\377\220\350\354\340\377\1\231\234\235\377\237.46\377\1mqs\377\220" \
540 "\350\354\340\377\1\224\227\230\377\260.46\377\1bfh\377\372\350\354\340" \
541 "\377\2\350\352\351\3775:<\377\214.46\377\1QVX\377\254\350\354\340\377" \
542 "\2\231\233\234\377068\377\254.46\377\2/57\377\214\220\221\377\240\350" \
543 "\354\340\377\2\237\242\243\377068\377\260.46\377\2""7=\77\377\352\354" \
544 "\345\377\220\350\354\340\377\1BHJ\377\237.46\377\1\323\324\324\377\220" \
545 "\350\354\340\377\2\253\256\257\3774:<\377\255.46\377\1y|~\377\373\350" \
546 "\354\340\377\1\202\205\206\377\215.46\377\1\266\270\271\377\255\350\354" \
547 "\340\377\2\312\313\314\377CIJ\377\252.46\377\2>CE\377\277\301\302\377" \
548 "\242\350\354\340\377\2\322\323\324\377PUV\377\260.46\377\1\213\216\217" \
549 "\377\220\350\354\340\377\2\307\311\311\377/57\377\236.46\377\1jnp\377" \
550 "\221\350\354\340\377\2\330\331\331\377LQS\377\252.46\377\2""6<>\377\257" \
551 "\262\263\377\373\350\354\340\377\2\342\343\343\377179\377\214.46\377" \
552 "\1NSU\377\257\350\354\340\377\2\351\354\343\377quw\377\250.46\377\2f" \
553 "jl\377\346\347\347\377\245\350\354\340\377\2\224\230\231\3775;=\377\255" \
554 ".46\377\2W\\]\377\265\267\270\377\221\350\354\340\377\1\227\232\233\377" \
555 "\237.46\377\1\321\322\323\377\222\350\354\340\377\2\200\204\205\377/" \
556 "57\377\247.46\377\2Y^`\377\335\336\336\377\374\350\354\340\377\1ptu\377" \
557 "\215.46\377\1\264\267\267\377\261\350\354\340\377\2\304\306\306\377L" \
558 "QR\377\244.46\377\2FKM\377\271\273\274\377\250\350\354\340\377\3\346" \
559 "\347\347\377|\200\201\37728:\377\250.46\377\3""28:\377vz{\377\317\321" \
560 "\321\377\224\350\354\340\377\1\235\237\240\377\234.46\377\3/57\377qu" \
561 "w\377\341\342\342\377\223\350\354\340\377\2\321\322\323\377V[]\377\244" \
562 ".46\377\2>DF\377\253\256\257\377\375\350\354\340\377\1\306\307\310\377" \
563 "\215.46\377\1MRT\377\264\350\354\340\377\2\242\245\246\377CIJ\377\240" \
564 ".46\377\2>CE\377\231\233\234\377\254\350\354\340\377\3\346\346\347\377" \
565 "\207\213\214\377:@B\377\243.46\377\4/57\377Y^`\377\235\240\241\377\352" \
566 "\353\347\377\227\350\354\340\377\2\266\270\271\377>CE\377\230.46\377" \
567 "\3""179\377quw\377\324\326\326\377\227\350\354\340\377\2\255\257\260" \
568 "\377KPR\377\240.46\377\3""9>@\377\215\220\221\377\350\354\342\377\376" \
569 "\350\354\340\377\1OTV\377\215.46\377\1\262\264\265\377\266\350\354\340" \
570 "\377\2\252\254\255\377KPR\377\234.46\377\2DIK\377\242\244\245\377\261" \
571 "\350\354\340\377\3\256\260\261\377dij\377068\377\235.46\377\4""068\377" \
572 "`ef\377\243\246\247\377\346\347\347\377\233\350\354\340\377\3\352\354" \
573 "\345\377z~\177\37728:\377\224.46\377\3HMO\377\224\230\231\377\350\351" \
574 "\351\377\233\350\354\340\377\2\265\267\270\377SXY\377\234.46\377\2>C" \
575 "E\377\226\231\232\377\377\350\354\340\377\2\350\354\340\377\227\232\233" \
576 "\377\215.46\377\1PUW\377\271\350\354\340\377\3\317\320\320\377\210\214" \
577 "\215\377BHJ\377\226.46\377\3>CE\377\201\204\206\377\312\313\314\377\265" \
578 "\350\354\340\377\4\350\354\342\377\257\261\262\377x|}\377BHJ\377\226" \
579 ".46\377\5""6<>\377`ef\377\220\223\224\377\277\301\302\377\350\354\342" \
580 "\377\240\350\354\340\377\3\347\350\350\377\220\223\224\377HMO\377\216" \
581 ".46\377\4""179\377[`a\377\224\227\230\377\326\327\330\377\240\350\354" \
582 "\340\377\3\330\331\331\377\220\223\224\377HMO\377\226.46\377\3""9>@\377" \
583 "z~\177\377\301\302\303\377\377\350\354\340\377\202\350\354\340\377\2" \
584 "\332\333\334\37739;\377\215.46\377\1\275\277\277\377\274\350\354\340" \
585 "\377\4\326\327\330\377\244\247\250\377swx\377CIJ\377\216.46\377\4@FG" \
586 "\377nrs\377\240\243\244\377\321\322\323\377\274\350\354\340\377\7\350" \
587 "\352\351\377\306\307\310\377\242\244\245\377\177\203\204\377Y^`\377B" \
588 "HJ\3775;=\377\211.46\377\6CIJ\377_de\377z~\177\377\226\231\232\377\262" \
589 "\264\265\377\325\326\327\377\250\350\354\340\377\6\336\337\337\377\246" \
590 "\251\252\377\205\210\212\377fjl\377LQS\377DIK\377\202<BC\377\6GLN\377" \
591 "SXY\377eik\377\204\210\211\377\242\245\246\377\311\312\313\377\247\350" \
592 "\354\340\377\4\333\334\334\377\251\253\254\377x|}\377HMO\377\216.46\377" \
593 "\4;AC\377imo\377\232\235\236\377\314\316\316\377\377\350\354\340\377" \
594 "\205\350\354\340\377\1UZ\\\377\215.46\377\1\\ab\377\302\350\354\340\377" \
595 "\14\330\331\331\377\274\276\276\377\244\247\250\377\235\237\240\377\220" \
596 "\223\224\377\210\214\215\377\207\212\213\377\220\223\224\377\234\237" \
597 "\240\377\243\246\247\377\271\273\273\377\326\327\330\377\311\350\354" \
598 "\340\377\5\352\354\345\377\340\341\341\377\325\326\327\377\341\342\342" \
599 "\377\343\344\344\377\353\350\354\340\377\15\333\334\334\377\276\300\301" \
600 "\377\246\250\251\377\235\240\241\377\220\224\225\377\211\214\215\377" \
601 "\205\210\212\377\220\223\224\377\232\235\236\377\242\244\245\377\265" \
602 "\267\270\377\323\324\324\377\350\354\342\377\377\350\354\340\377\210" \
603 "\350\354\340\377\1\205\210\212\377\216.46\377\1\313\315\315\377\377\350" \
604 "\354\340\377\377\350\354\340\377\377\350\354\340\377\235\350\354\340" \
605 "\377\1\264\267\267\377\216.46\377\1txz\377\377\350\354\340\377\377\350" \
606 "\354\340\377\377\350\354\340\377\235\350\354\340\377\2\322\323\324\377" \
607 "5:<\377\215.46\377\2""9>@\377\350\352\351\377\377\350\354\340\377\377" \
608 "\350\354\340\377\377\350\354\340\377\234\350\354\340\377\2\334\335\335" \
609 "\377\77EG\377\216.46\377\1\243\246\247\377\377\350\354\340\377\377\350" \
610 "\354\340\377\377\350\354\340\377\234\350\354\340\377\2\335\336\337\377" \
611 "@FG\377\216.46\377\1V[]\377\377\350\354\340\377\377\350\354\340\377\377" \
612 "\350\354\340\377\234\350\354\340\377\2\336\337\337\377BGI\377\216.46" \
613 "\377\2""6<>\377\335\336\336\377\377\350\354\340\377\377\350\354\340\377" \
614 "\377\350\354\340\377\233\350\354\340\377\2\333\334\334\377BHJ\377\217" \
615 ".46\377\1\252\254\255\377\377\350\354\340\377\377\350\354\340\377\377" \
616 "\350\354\340\377\233\350\354\340\377\2\277\301\302\3779>@\377\217.46" \
617 "\377\1ptu\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340" \
618 "\377\233\350\354\340\377\2\215\220\221\377/57\377\217.46\377\1LQS\377" \
619 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\232\350" \
620 "\354\340\377\2\304\306\306\377PUW\377\220.46\377\2\77EG\377\341\342\343" \
621 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\230" \
622 "\350\354\340\377\2\335\336\336\377imo\377\221.46\377\2""5:<\377\322\323" \
623 "\324\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
624 "\227\350\354\340\377\3\312\313\314\377vz{\377179\377\221.46\377\2""2" \
625 "8:\377\275\277\277\377\377\350\354\340\377\377\350\354\340\377\377\350" \
626 "\354\340\377\225\350\354\340\377\3\341\342\343\377\237\242\243\377MR" \
627 "T\377\223.46\377\2""068\377\271\273\274\377\377\350\354\340\377\377\350" \
628 "\354\340\377\377\350\354\340\377\223\350\354\340\377\3\310\312\312\377" \
629 "\215\220\221\377OTV\377\225.46\377\2""068\377\264\267\267\377\377\350" \
630 "\354\340\377\377\350\354\340\377\377\350\354\340\377\221\350\354\340" \
631 "\377\3\217\222\223\377Y^`\377179\377\227.46\377\2""5:<\377\275\277\300" \
632 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\222" \
633 "\350\354\340\377\1\201\204\206\377\230.46\377\2;AC\377\313\315\315\377" \
634 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\223\350" \
635 "\354\340\377\2\341\342\343\377179\377\226.46\377\2NSU\377\335\336\337" \
636 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\225" \
637 "\350\354\340\377\1x|}\377\225.46\377\1ptu\377\377\350\354\340\377\377" \
638 "\350\354\340\377\377\350\354\340\377\227\350\354\340\377\2\333\334\334" \
639 "\377/57\377\222.46\377\2""9>@\377\252\254\255\377\377\350\354\340\377" \
640 "\377\350\354\340\377\377\350\354\340\377\231\350\354\340\377\1ptu\377" \
641 "\221.46\377\2eik\377\344\345\345\377\377\350\354\340\377\377\350\354" \
642 "\340\377\377\350\354\340\377\232\350\354\340\377\1\324\325\325\377\217" \
643 ".46\377\2PUW\377\275\277\277\377\377\350\354\340\377\377\350\354\340" \
644 "\377\377\350\354\340\377\235\350\354\340\377\1gkl\377\214.46\377\2LQ" \
645 "S\377\260\263\263\377\377\350\354\340\377\377\350\354\340\377\377\350" \
646 "\354\340\377\237\350\354\340\377\1\313\315\315\377\211.46\377\3""068" \
647 "\377jnp\377\275\277\277\377\377\350\354\340\377\377\350\354\340\377\377" \
648 "\350\354\340\377\242\350\354\340\377\1^ce\377\205.46\377\4""8>\77\377" \
649 "kpq\377\253\255\256\377\350\352\351\377\377\350\354\340\377\377\350\354" \
650 "\340\377\377\350\354\340\377\244\350\354\340\377\6\302\304\305\377.4" \
651 "6\377;AC\377bgh\377\224\230\231\377\314\316\316\377\377\350\354\340\377" \
652 "\377\350\354\340\377\377\350\354\340\377\251\350\354\340\377\1\345\346" \
653 "\346\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
654 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350" \
655 "\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340" \
656 "\377\337\350\354\340\377\1\352\354\350\377\210\325\326\327\377\1\341" \
657 "\342\342\377\232\350\354\340\377\1\341\342\343\377\207\325\326\327\377" \
658 "\1\343\344\344\377\244\350\354\340\377\2\314\316\316\377\267\271\272" \
659 "\377\202\244\247\250\377\2\267\271\272\377\315\316\317\377\236\350\354" \
660 "\340\377\1\350\351\351\377\204\343\344\344\377\224\350\354\340\377\1" \
661 "\332\333\334\377\217\325\326\327\377\232\350\354\340\377\3\300\302\302" \
662 "\377\235\237\240\377\206\211\212\377\202\202\205\206\377\3\212\215\216" \
663 "\377\242\245\246\377\307\311\311\377\225\350\354\340\377\1\344\345\345" \
664 "\377\223\325\326\327\377\1\335\336\336\377\377\350\354\340\377\302\350" \
665 "\354\340\377\1\235\237\240\377\212.46\377\3KPR\377\213\216\217\377\335" \
666 "\336\337\377\226\350\354\340\377\1kpq\377\211.46\377\3BGI\377txy\377" \
667 "\271\273\273\377\235\350\354\340\377\3\265\267\270\377lqr\3776<>\377" \
668 "\206.46\377\3""6<>\377nrs\377\270\272\272\377\233\350\354\340\377\1S" \
669 "XY\377\204.46\377\224\350\354\340\377\1GLN\377\217.46\377\1\331\332\333" \
670 "\377\226\350\354\340\377\3\267\271\272\377fjl\377068\377\210.46\377\4" \
671 "068\377aeg\377\246\251\252\377\350\354\342\377\221\350\354\340\377\1" \
672 "x|}\377\223.46\377\1SXY\377\377\350\354\340\377\302\350\354\340\377\1" \
673 "\235\237\240\377\214.46\377\2""179\377\213\217\220\377\225\350\354\340" \
674 "\377\1kpq\377\214.46\377\2PUW\377\326\327\330\377\231\350\354\340\377" \
675 "\2\275\277\300\377PUV\377\214.46\377\2RWY\377\277\301\302\377\231\350" \
676 "\354\340\377\1SXY\377\204.46\377\224\350\354\340\377\1GLN\377\217.46" \
677 "\377\1\332\333\334\377\224\350\354\340\377\2\312\313\314\377QVX\377\216" \
678 ".46\377\2""6<>\377\207\213\214\377\220\350\354\340\377\1txz\377\223." \
679 "46\377\1SXY\377\377\350\354\340\377\302\350\354\340\377\1\235\237\240" \
680 "\377\216.46\377\1swx\377\224\350\354\340\377\1kpq\377\215.46\377\2""7" \
681 "=\77\377\317\321\321\377\227\350\354\340\377\1\210\214\215\377\220.4" \
682 "6\377\1\211\214\215\377\230\350\354\340\377\1SXY\377\204.46\377\224\350" \
683 "\354\340\377\1GLN\377\217.46\377\1\334\335\335\377\223\350\354\340\377" \
684 "\2\225\230\231\377068\377\220.46\377\1JOQ\377\220\350\354\340\377\1k" \
685 "pq\377\223.46\377\1SXY\377\377\350\354\340\377\302\350\354\340\377\1" \
686 "\235\237\240\377\204.46\377\1@FG\377\202JOQ\377\2FKM\377068\377\206." \
687 "46\377\1\257\261\262\377\223\350\354\340\377\1kpq\377\204.46\377\1GL" \
688 "N\377\202JOQ\377\1AFH\377\206.46\377\1GMN\377\226\350\354\340\377\1g" \
689 "lm\377\207.46\377\4<BC\377QVX\377RWY\377>CE\377\207.46\377\1glm\377\227" \
690 "\350\354\340\377\1SXY\377\204.46\377\224\350\354\340\377\1GLN\377\203" \
691 ".46\377\1/57\377\213<BC\377\1\350\351\351\377\222\350\354\340\377\1\204" \
692 "\210\211\377\207.46\377\6INP\377fjl\377txy\377imo\377QVX\37728:\377\205" \
693 ".46\377\1\255\257\260\377\220\350\354\340\377\1uy{\377\206<BC\377\1;" \
694 "AC\377\204.46\377\1""068\377\207<BC\377\1^ce\377\377\350\354\340\377" \
695 "\302\350\354\340\377\1\235\237\240\377\204.46\377\1\265\267\270\377\204" \
696 "\350\354\340\377\2\250\253\253\3776<>\377\204.46\377\1SXY\377\223\350" \
697 "\354\340\377\1kpq\377\204.46\377\1\346\347\347\377\203\350\354\340\377" \
698 "\2\352\354\345\377\207\213\214\377\205.46\377\1\271\273\274\377\224\350" \
699 "\354\340\377\1z~\177\377\205.46\377\3""5;=\377\213\217\220\377\327\330" \
700 "\330\377\204\350\354\340\377\3\334\335\335\377\223\226\227\3778>\77\377" \
701 "\205.46\377\1y|~\377\226\350\354\340\377\1SXY\377\204.46\377\224\350" \
702 "\354\340\377\1GLN\377\203.46\377\1:@B\377\235\350\354\340\377\1\240\243" \
703 "\244\377\205.46\377\3:@B\377\224\230\231\377\344\345\345\377\206\350" \
704 "\354\340\377\5\306\307\310\377\202\205\206\377:@B\377.46\377GMN\377\231" \
705 "\350\354\340\377\204.46\377\1SXY\377\377\350\354\340\377\312\350\354" \
706 "\340\377\1\235\237\240\377\204.46\377\1\265\267\270\377\205\350\354\340" \
707 "\377\1\255\257\260\377\205.46\377\1\351\354\343\377\222\350\354\340\377" \
708 "\1kpq\377\204.46\377\1\346\347\347\377\205\350\354\340\377\1z~\177\377" \
709 "\204.46\377\1\210\214\215\377\223\350\354\340\377\1\257\262\263\377\205" \
710 ".46\377\2^bd\377\350\352\351\377\210\350\354\340\377\2\351\354\343\377" \
711 "glm\377\205.46\377\1\253\256\257\377\225\350\354\340\377\1SXY\377\204" \
712 ".46\377\224\350\354\340\377\1GLN\377\203.46\377\1:@B\377\234\350\354" \
713 "\340\377\2\332\333\334\37728:\377\204.46\377\2[`a\377\347\350\350\377" \
714 "\213\350\354\340\377\2\237\242\243\377\264\266\266\377\231\350\354\340" \
715 "\377\204.46\377\1SXY\377\377\350\354\340\377\312\350\354\340\377\1\235" \
716 "\237\240\377\204.46\377\1\265\267\270\377\206\350\354\340\377\205.46" \
717 "\377\1\330\331\331\377\222\350\354\340\377\1kpq\377\204.46\377\1\346" \
718 "\347\347\377\205\350\354\340\377\1\310\312\312\377\204.46\377\1quw\377" \
719 "\223\350\354\340\377\1BGI\377\204.46\377\1gkl\377\214\350\354\340\377" \
720 "\1txy\377\204.46\377\1AFH\377\225\350\354\340\377\1SXY\377\204.46\377" \
721 "\224\350\354\340\377\1GLN\377\203.46\377\1:@B\377\234\350\354\340\377" \
722 "\1jnp\377\204.46\377\1UZ\\\377\250\350\354\340\377\204.46\377\1SXY\377" \
723 "\377\350\354\340\377\312\350\354\340\377\1\235\237\240\377\204.46\377" \
724 "\1\265\267\270\377\205\350\354\340\377\1\352\354\345\377\205.46\377\1" \
725 "\340\341\341\377\222\350\354\340\377\1kpq\377\204.46\377\1\346\347\347" \
726 "\377\205\350\354\340\377\1\271\273\273\377\204.46\377\1\201\204\206\377" \
727 "\222\350\354\340\377\1\234\237\240\377\204.46\377\1CIJ\377\216\350\354" \
728 "\340\377\1PUV\377\204.46\377\1\233\236\237\377\224\350\354\340\377\1" \
729 "SXY\377\204.46\377\224\350\354\340\377\1GLN\377\203.46\377\1:@B\377\233" \
730 "\350\354\340\377\1\341\342\342\377\204.46\377\2""179\377\335\336\337" \
731 "\377\250\350\354\340\377\204.46\377\1SXY\377\377\350\354\340\377\312" \
732 "\350\354\340\377\1\235\237\240\377\204.46\377\1\265\267\270\377\205\350" \
733 "\354\340\377\1\222\225\226\377\204.46\377\1""068\377\223\350\354\340" \
734 "\377\1kpq\377\204.46\377\1\346\347\347\377\205\350\354\340\377\1bfh\377" \
735 "\204.46\377\1\235\237\240\377\222\350\354\340\377\1V[]\377\204.46\377" \
736 "\1\253\256\257\377\216\350\354\340\377\1\273\275\276\377\204.46\377\1" \
737 "TYZ\377\224\350\354\340\377\1SXY\377\204.46\377\224\350\354\340\377\1" \
738 "GLN\377\203.46\377\1:@B\377\233\350\354\340\377\1\231\233\234\377\204" \
739 ".46\377\1y}\177\377\251\350\354\340\377\204.46\377\1SXY\377\377\350\354" \
740 "\340\377\312\350\354\340\377\1\235\237\240\377\204.46\377\1\265\267\270" \
741 "\377\203\350\354\340\377\3\345\346\346\377\206\211\212\377/57\377\204" \
742 ".46\377\1[`a\377\223\350\354\340\377\1kpq\377\204.46\377\1\346\347\347" \
743 "\377\203\350\354\340\377\2\323\324\324\377fjl\377\204.46\377\2/57\377" \
744 "\336\337\337\377\221\350\354\340\377\1\345\346\346\377\204.46\377\1""9" \
745 "\77A\377\220\350\354\340\377\1BHJ\377\204.46\377\1\341\342\342\377\223" \
746 "\350\354\340\377\1SXY\377\204.46\377\224\350\354\340\377\1GLN\377\203" \
747 ".46\377\1:@B\377\233\350\354\340\377\1gkl\377\204.46\377\1\300\302\302" \
748 "\377\251\350\354\340\377\204.46\377\1SXY\377\377\350\354\340\377\312" \
749 "\350\354\340\377\1\235\237\240\377\204.46\377\1""7=\77\377\203<BC\377" \
750 "\1/57\377\206.46\377\1\257\262\263\377\223\350\354\340\377\1kpq\377\204" \
751 ".46\377\1:@B\377\202<BC\377\1""9>@\377\206.46\377\1\200\204\205\377\222" \
752 "\350\354\340\377\1\302\303\304\377\204.46\377\1rvw\377\220\350\354\340" \
753 "\377\1~\202\203\377\204.46\377\1\274\276\276\377\223\350\354\340\377" \
754 "\1SXY\377\204.46\377\224\350\354\340\377\1GLN\377\203.46\377\1""179\377" \
755 "\211fjl\377\1\311\312\313\377\221\350\354\340\377\1@FG\377\204.46\377" \
756 "\1\352\354\345\377\251\350\354\340\377\204.46\377\1SXY\377\377\350\354" \
757 "\340\377\312\350\354\340\377\1\235\237\240\377\216.46\377\1eik\377\224" \
758 "\350\354\340\377\1kpq\377\215.46\377\1ptv\377\223\350\354\340\377\1\256" \
759 "\260\261\377\204.46\377\1\217\222\223\377\220\350\354\340\377\1\235\237" \
760 "\240\377\204.46\377\1\246\250\251\377\223\350\354\340\377\1SXY\377\204" \
761 ".46\377\224\350\354\340\377\1GLN\377\215.46\377\1\265\267\270\377\221" \
762 "\350\354\340\377\1""179\377\203.46\377\1""39;\377\252\350\354\340\377" \
763 "\204.46\377\1SXY\377\377\350\354\340\377\312\350\354\340\377\1\235\237" \
764 "\240\377\215.46\377\1ptu\377\225\350\354\340\377\1kpq\377\213.46\377" \
765 "\2:@B\377\255\257\260\377\224\350\354\340\377\1\236\241\242\377\204." \
766 "46\377\1\235\237\240\377\220\350\354\340\377\1\251\253\254\377\204.4" \
767 "6\377\1\231\233\234\377\223\350\354\340\377\1SXY\377\204.46\377\224\350" \
768 "\354\340\377\1GLN\377\215.46\377\1\265\267\270\377\221\350\354\340\377" \
769 "\204.46\377\1:@B\377\252\350\354\340\377\204.46\377\1SXY\377\377\350" \
770 "\354\340\377\312\350\354\340\377\1\235\237\240\377\212.46\377\3""8>\77" \
771 "\377ost\377\310\312\312\377\226\350\354\340\377\1kpq\377\213.46\377\2" \
772 "7=\77\377\352\354\350\377\224\350\354\340\377\1\257\262\263\377\204." \
773 "46\377\1\214\220\221\377\220\350\354\340\377\1\231\234\235\377\204.4" \
774 "6\377\1\251\253\254\377\223\350\354\340\377\1SXY\377\204.46\377\224\350" \
775 "\354\340\377\1GLN\377\215.46\377\1\265\267\270\377\221\350\354\340\377" \
776 "\1""5;=\377\203.46\377\1""068\377\252\350\354\340\377\204.46\377\1SX" \
777 "Y\377\377\350\354\340\377\312\350\354\340\377\1\235\237\240\377\204." \
778 "46\377\1x|}\377\202\253\256\257\377\3\254\257\257\377\300\302\302\377" \
779 "\326\327\330\377\231\350\354\340\377\1kpq\377\204.46\377\1\302\303\304" \
780 "\377\202\325\326\327\377\1\204\210\211\377\204.46\377\1\202\206\207\377" \
781 "\224\350\354\340\377\1\304\306\306\377\204.46\377\1kpq\377\220\350\354" \
782 "\340\377\1z~\177\377\204.46\377\1\275\277\277\377\223\350\354\340\377" \
783 "\1SXY\377\204.46\377\224\350\354\340\377\1GLN\377\203.46\377\1""6<>\377" \
784 "\211\271\273\274\377\1\346\347\347\377\221\350\354\340\377\1INP\377\204" \
785 ".46\377\1\331\332\333\377\251\350\354\340\377\204.46\377\1SXY\377\377" \
786 "\350\354\340\377\312\350\354\340\377\1\235\237\240\377\204.46\377\1\251" \
787 "\253\254\377\236\350\354\340\377\1kpq\377\204.46\377\1\346\347\347\377" \
788 "\202\350\354\340\377\2\350\354\342\3779\77A\377\203.46\377\2""179\377" \
789 "\336\337\337\377\223\350\354\340\377\2\351\352\350\377068\377\203.46" \
790 "\377\1""5;=\377\220\350\354\340\377\1=BD\377\203.46\377\2/57\377\347" \
791 "\350\350\377\223\350\354\340\377\1SXY\377\204.46\377\224\350\354\340" \
792 "\377\1GLN\377\203.46\377\1:@B\377\233\350\354\340\377\1swx\377\204.4" \
793 "6\377\1\235\240\241\377\251\350\354\340\377\204.46\377\1SXY\377\377\350" \
794 "\354\340\377\312\350\354\340\377\1\235\237\240\377\204.46\377\1\251\253" \
795 "\254\377\236\350\354\340\377\1kpq\377\204.46\377\1\346\347\347\377\203" \
796 "\350\354\340\377\1\224\230\231\377\204.46\377\1ptu\377\224\350\354\340" \
797 "\377\1\\ab\377\204.46\377\1\242\244\245\377\216\350\354\340\377\1\260" \
798 "\263\263\377\204.46\377\1Y^`\377\224\350\354\340\377\1SXY\377\204.46" \
799 "\377\224\350\354\340\377\1GLN\377\203.46\377\1:@B\377\233\350\354\340" \
800 "\377\1\250\253\253\377\204.46\377\1HMO\377\251\350\354\340\377\204.4" \
801 "6\377\1SXY\377\377\350\354\340\377\312\350\354\340\377\1\235\237\240" \
802 "\377\204.46\377\1\251\253\254\377\236\350\354\340\377\1kpq\377\204.4" \
803 "6\377\1\346\347\347\377\204\350\354\340\377\1<BC\377\204.46\377\1\317" \
804 "\320\320\377\223\350\354\340\377\1\245\247\250\377\204.46\377\2<BC\377" \
805 "\346\347\347\377\214\350\354\340\377\2\351\354\343\377FKM\377\204.46" \
806 "\377\1\243\246\247\377\224\350\354\340\377\1SXY\377\204.46\377\224\350" \
807 "\354\340\377\1GLN\377\203.46\377\1:@B\377\234\350\354\340\377\1""5:<" \
808 "\377\204.46\377\1\230\233\234\377\250\350\354\340\377\204.46\377\1SX" \
809 "Y\377\377\350\354\340\377\312\350\354\340\377\1\235\237\240\377\204." \
810 "46\377\1\251\253\254\377\236\350\354\340\377\1kpq\377\204.46\377\1\346" \
811 "\347\347\377\204\350\354\340\377\1\233\236\237\377\204.46\377\1^bd\377" \
812 "\224\350\354\340\377\1INP\377\204.46\377\1W\\]\377\214\350\354\340\377" \
813 "\1chi\377\204.46\377\1HMO\377\225\350\354\340\377\1SXY\377\204.46\377" \
814 "\224\350\354\340\377\1GLN\377\203.46\377\1:@B\377\234\350\354\340\377" \
815 "\1\205\210\212\377\204.46\377\2""068\377\267\271\272\377\215\350\354" \
816 "\340\377\1\330\332\332\377\231\350\354\340\377\204.46\377\1SXY\377\377" \
817 "\350\354\340\377\312\350\354\340\377\1\235\237\240\377\204.46\377\1\251" \
818 "\253\254\377\236\350\354\340\377\1kpq\377\204.46\377\1\346\347\347\377" \
819 "\205\350\354\340\377\1@FG\377\204.46\377\1\274\276\276\377\223\350\354" \
820 "\340\377\1\274\276\276\377\205.46\377\2MRT\377\327\330\330\377\210\350" \
821 "\354\340\377\2\335\336\336\377UY[\377\205.46\377\1\272\274\275\377\225" \
822 "\350\354\340\377\1=BD\377\203.46\377\1""6<>\377\224\350\354\340\377\1" \
823 "GLN\377\203.46\377\1:@B\377\235\350\354\340\377\1AFH\377\204.46\377\2" \
824 "/57\377\217\222\223\377\212\350\354\340\377\4\274\276\276\377bgh\377" \
825 ".46\377\327\330\330\377\230\350\354\340\377\204.46\377\1SXY\377\377\350" \
826 "\354\340\377\312\350\354\340\377\1\235\237\240\377\204.46\377\1\251\253" \
827 "\254\377\236\350\354\340\377\1kpq\377\204.46\377\1\346\347\347\377\205" \
828 "\350\354\340\377\1\240\243\244\377\204.46\377\1MRT\377\224\350\354\340" \
829 "\377\1\220\224\225\377\205.46\377\3""068\377y}\177\377\302\304\305\377" \
830 "\204\350\354\340\377\3\306\307\310\377\200\204\205\377179\377\205.46" \
831 "\377\1\220\223\224\377\223\350\354\340\377\3\306\307\310\377\257\261" \
832 "\262\377hmn\377\204.46\377\1_de\377\224\350\354\340\377\1GLN\377\203" \
833 ".46\377\1""9>@\377\213\343\344\344\377\222\350\354\340\377\2\313\315" \
834 "\315\37739;\377\205.46\377\12@FG\377\212\215\216\377\302\303\304\377" \
835 "\341\342\342\377\350\354\340\377\347\350\350\377\320\322\322\377\253" \
836 "\256\257\377w{|\377=BD\377\203.46\377\1\212\215\216\377\230\350\354\340" \
837 "\377\204.46\377\1SXY\377\377\350\354\340\377\312\350\354\340\377\1\235" \
838 "\237\240\377\204.46\377\1\264\266\266\377\236\350\354\340\377\1kpq\377" \
839 "\204.46\377\1\346\347\347\377\206\350\354\340\377\1BHJ\377\204.46\377" \
840 "\1\251\253\254\377\224\350\354\340\377\1txz\377\210.46\377\2""7=\77\377" \
841 "8>\77\377\210.46\377\1txz\377\224\350\354\340\377\1SXY\377\206.46\377" \
842 "\1\251\253\254\377\224\350\354\340\377\1GLN\377\217.46\377\1\320\322" \
843 "\322\377\222\350\354\340\377\2\276\300\301\3775;=\377\221.46\377\1@F" \
844 "G\377\230\350\354\340\377\204.46\377\1SXY\377\377\350\354\340\377\312" \
845 "\350\354\340\377\1\235\237\240\377\204.46\377\1\265\267\270\377\236\350" \
846 "\354\340\377\1kpq\377\204.46\377\1\346\347\347\377\206\350\354\340\377" \
847 "\1\246\251\252\377\204.46\377\1AFH\377\225\350\354\340\377\2\232\235" \
848 "\236\377068\377\216.46\377\2""068\377\232\235\236\377\225\350\354\340" \
849 "\377\1X]^\377\205.46\377\1LQS\377\225\350\354\340\377\1GLN\377\217.4" \
850 "6\377\1\316\317\320\377\223\350\354\340\377\2\324\325\325\377NSU\377" \
851 "\220.46\377\2""068\377\321\322\323\377\227\350\354\340\377\204.46\377" \
852 "\1SXY\377\377\350\354\340\377\312\350\354\340\377\1\235\237\240\377\204" \
853 ".46\377\1\265\267\270\377\236\350\354\340\377\1kpq\377\204.46\377\1\346" \
854 "\347\347\377\207\350\354\340\377\1GLN\377\204.46\377\1\226\231\232\377" \
855 "\225\350\354\340\377\2\317\320\320\377`ef\377\214.46\377\2bgh\377\317" \
856 "\321\321\377\226\350\354\340\377\1_de\377\204.46\377\2:@B\377\332\333" \
857 "\334\377\225\350\354\340\377\1GLN\377\217.46\377\1\316\317\320\377\225" \
858 "\350\354\340\377\2\236\241\242\377BGI\377\214.46\377\3""8>\77\377~\201" \
859 "\202\377\335\336\337\377\230\350\354\340\377\204.46\377\1SXY\377\377" \
860 "\350\354\340\377\312\350\354\340\377\1\235\237\240\377\204.46\377\1\265" \
861 "\267\270\377\236\350\354\340\377\1kpq\377\204.46\377\1\346\347\347\377" \
862 "\207\350\354\340\377\1\254\257\257\377\204.46\377\2""8>\77\377\352\354" \
863 "\350\377\226\350\354\340\377\3\311\312\313\377\200\204\205\377EJL\377" \
864 "\206.46\377\3EJL\377\203\207\210\377\313\314\315\377\230\350\354\340" \
865 "\377\1_de\377\202.46\377\3/57\377fjl\377\342\343\343\377\226\350\354" \
866 "\340\377\1SXY\377\217<BC\377\1\307\311\311\377\227\350\354\340\377\4" \
867 "\275\277\300\377~\201\202\377OTV\377068\377\204.46\377\4""39;\377QVX" \
868 "\377\201\204\206\377\270\272\272\377\233\350\354\340\377\204.46\377\1" \
869 "SXY\377\377\350\354\340\377\377\350\354\340\377\234\350\354\340\377\2" \
870 "\345\346\346\377\317\321\321\377\202\275\277\300\377\2\317\321\321\377" \
871 "\345\346\346\377\233\350\354\340\377\4\302\304\305\377\255\257\260\377" \
872 "\301\302\303\377\346\346\347\377\304\350\354\340\377\4\346\347\347\377" \
873 "\327\330\330\377\335\336\337\377\347\350\350\377\377\350\354\340\377" \
874 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350" \
875 "\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340" \
876 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377" \
877 "\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354" \
878 "\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
879 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350" \
880 "\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340" \
881 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377" \
882 "\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354" \
883 "\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
884 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350" \
885 "\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340" \
886 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377" \
887 "\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354" \
888 "\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
889 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350" \
890 "\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340" \
891 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377" \
892 "\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354" \
893 "\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
894 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350" \
895 "\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340" \
896 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377" \
897 "\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354" \
898 "\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
899 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350" \
900 "\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340" \
901 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377" \
902 "\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354" \
903 "\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377" \
904 "\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350" \
905 "\354\340\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340" \
906 "\377\377\350\354\340\377\377\350\354\340\377\377\350\354\340\377\377" \
907 "\350\354\340\377\377\350\354\340\377\246\350\354\340\377")
908
909
diff --git a/meta/recipes-core/psplash/psplash_svn.bb b/meta/recipes-core/psplash/psplash_svn.bb
index 1ca5cf6dff..0443fbb7c1 100644
--- a/meta/recipes-core/psplash/psplash_svn.bb
+++ b/meta/recipes-core/psplash/psplash_svn.bb
@@ -5,11 +5,12 @@ SECTION = "base"
5LICENSE = "GPLv2+" 5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://psplash.h;md5=a87c39812c1e37f3451567cc29a29c8f" 6LIC_FILES_CHKSUM = "file://psplash.h;md5=a87c39812c1e37f3451567cc29a29c8f"
7 7
8PV = "0.0+svnr${SRCREV}" 8PV = "0.0+svnr${SRCPV}"
9PR = "r5" 9PR = "r6"
10 10
11SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \ 11SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \
12 file://psplash-init" 12 file://psplash-init \
13 file://psplash-poky-img.h"
13 14
14S = "${WORKDIR}/psplash" 15S = "${WORKDIR}/psplash"
15 16
@@ -17,6 +18,10 @@ inherit autotools pkgconfig update-rc.d
17 18
18FILES_${PN} += "/mnt/.psplash" 19FILES_${PN} += "/mnt/.psplash"
19 20
21do_configure_prepend () {
22 cp -f ${WORKDIR}/psplash-poky-img.h ${S}/
23}
24
20do_install_prepend() { 25do_install_prepend() {
21 install -d ${D}/mnt/.psplash/ 26 install -d ${D}/mnt/.psplash/
22 install -d ${D}${sysconfdir}/init.d/ 27 install -d ${D}${sysconfdir}/init.d/
diff --git a/meta/recipes-core/sysfsutils/sysfsutils-2.1.0/sysfsutils-2.0.0-class-dup.patch b/meta/recipes-core/sysfsutils/sysfsutils-2.1.0/sysfsutils-2.0.0-class-dup.patch
new file mode 100644
index 0000000000..76597fb654
--- /dev/null
+++ b/meta/recipes-core/sysfsutils/sysfsutils-2.1.0/sysfsutils-2.0.0-class-dup.patch
@@ -0,0 +1,21 @@
1This patch is from the Fedora Core 9 sysfsutils-2.1.0-3.fc9 package.
2
3It fixes a problem in the upstream package where not all devices
4will be returned by the function.
5
6The package License indicates this is GPLv2 licensed.
7
8Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
9
10diff -puN lib/sysfs_class.c~sysfsutils_class_dup lib/sysfs_class.c
11--- sysfsutils-2.1.0/lib/sysfs_class.c~sysfsutils_class_dup 2006-09-07 17:01:26.000000000 -0500
12+++ sysfsutils-2.1.0-bjking1/lib/sysfs_class.c 2006-09-07 17:01:26.000000000 -0500
13@@ -66,7 +66,7 @@ static int cdev_name_equal(void *a, void
14 return 0;
15
16 if (strncmp((char *)a, ((struct sysfs_class_device *)b)->name,
17- strlen((char *)a)) == 0)
18+ SYSFS_NAME_LEN) == 0)
19 return 1;
20
21 return 0;
diff --git a/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb b/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb
index 26577f2124..5343f6446b 100644
--- a/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb
+++ b/meta/recipes-core/sysfsutils/sysfsutils_2.1.0.bb
@@ -8,9 +8,11 @@ LICENSE_libsysfs = "LGPLv2.1"
8LIC_FILES_CHKSUM = "file://COPYING;md5=3d06403ea54c7574a9e581c6478cc393 \ 8LIC_FILES_CHKSUM = "file://COPYING;md5=3d06403ea54c7574a9e581c6478cc393 \
9 file://cmd/GPL;md5=d41d4e2e1e108554e0388ea4aecd8d27 \ 9 file://cmd/GPL;md5=d41d4e2e1e108554e0388ea4aecd8d27 \
10 file://lib/LGPL;md5=b75d069791103ffe1c0d6435deeff72e" 10 file://lib/LGPL;md5=b75d069791103ffe1c0d6435deeff72e"
11PR = "r0" 11PR = "r1"
12 12
13SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz" 13SRC_URI = "${SOURCEFORGE_MIRROR}/linux-diag/sysfsutils-${PV}.tar.gz \
14 file://sysfsutils-2.0.0-class-dup.patch \
15 "
14 16
15SRC_URI[md5sum] = "14e7dcd0436d2f49aa403f67e1ef7ddc" 17SRC_URI[md5sum] = "14e7dcd0436d2f49aa403f67e1ef7ddc"
16SRC_URI[sha256sum] = "e865de2c1f559fff0d3fc936e660c0efaf7afe662064f2fb97ccad1ec28d208a" 18SRC_URI[sha256sum] = "e865de2c1f559fff0d3fc936e660c0efaf7afe662064f2fb97ccad1ec28d208a"
diff --git a/meta/recipes-core/tasks/task-cross-canadian.bb b/meta/recipes-core/tasks/task-cross-canadian.bb
index 7170faaa96..1bb2b57cb3 100644
--- a/meta/recipes-core/tasks/task-cross-canadian.bb
+++ b/meta/recipes-core/tasks/task-cross-canadian.bb
@@ -4,6 +4,8 @@ PR = "r0"
4LICENSE = "MIT" 4LICENSE = "MIT"
5ALLOW_EMPTY = "1" 5ALLOW_EMPTY = "1"
6 6
7LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
8 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
7inherit cross-canadian 9inherit cross-canadian
8 10
9PACKAGES = "${PN}" 11PACKAGES = "${PN}"
@@ -12,5 +14,6 @@ RDEPENDS_${PN} = "\
12 binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} \ 14 binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} \
13 gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} \ 15 gdb-cross-canadian-${TRANSLATED_TARGET_ARCH} \
14 gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} \ 16 gcc-cross-canadian-${TRANSLATED_TARGET_ARCH} \
17 meta-environment-${TRANSLATED_TARGET_ARCH} \
15 " 18 "
16 19
diff --git a/meta/recipes-core/tasks/task-poky-sdk.bb b/meta/recipes-core/tasks/task-poky-sdk.bb
index 758cc2e64f..8d5455a3c9 100644
--- a/meta/recipes-core/tasks/task-poky-sdk.bb
+++ b/meta/recipes-core/tasks/task-poky-sdk.bb
@@ -7,7 +7,7 @@ LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ 7LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
8 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 8 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
9DEPENDS = "task-poky" 9DEPENDS = "task-poky"
10PR = "r6" 10PR = "r7"
11 11
12ALLOW_EMPTY = "1" 12ALLOW_EMPTY = "1"
13#PACKAGEFUNCS =+ 'generate_sdk_pkgs' 13#PACKAGEFUNCS =+ 'generate_sdk_pkgs'
@@ -43,6 +43,8 @@ RDEPENDS_task-poky-sdk = "\
43 quilt \ 43 quilt \
44 less \ 44 less \
45 distcc \ 45 distcc \
46 ldd \
47 file \
46 tcl" 48 tcl"
47 49
48#python generate_sdk_pkgs () { 50#python generate_sdk_pkgs () {
diff --git a/meta/recipes-core/tasks/task-poky-tools.bb b/meta/recipes-core/tasks/task-poky-tools.bb
index e507ce46dd..f009a75ec9 100644
--- a/meta/recipes-core/tasks/task-poky-tools.bb
+++ b/meta/recipes-core/tasks/task-poky-tools.bb
@@ -49,6 +49,7 @@ RRECOMMENDS_task-poky-tools-profile = "\
49 perf \ 49 perf \
50 trace-cmd \ 50 trace-cmd \
51 kernel-module-oprofile \ 51 kernel-module-oprofile \
52 blktrace \
52 sysprof \ 53 sysprof \
53 " 54 "
54 55
@@ -59,11 +60,11 @@ RRECOMMENDS_task-poky-tools-profile = "\
59# qemux86/qemux86-64/qemuppc/emenlow/atom-pc since upstream liburcu 60# qemux86/qemux86-64/qemuppc/emenlow/atom-pc since upstream liburcu
60# (which is required by lttng-ust) may not build on other platforms, like 61# (which is required by lttng-ust) may not build on other platforms, like
61# MIPS and qemu ARMv5te that poky uses now. 62# MIPS and qemu ARMv5te that poky uses now.
62RDEPENDS_task-poky-tools-profile_append_qemux86 = " valgrind lttng-ust" 63RDEPENDS_task-poky-tools-profile_append_qemux86 = " valgrind lttng-ust systemtap"
63RDEPENDS_task-poky-tools-profile_append_qemux86-64 = " lttng-ust" 64RDEPENDS_task-poky-tools-profile_append_qemux86-64 = " lttng-ust systemtap"
64RDEPENDS_task-poky-tools-profile_append_qemuppc = " lttng-ust" 65RDEPENDS_task-poky-tools-profile_append_qemuppc = " lttng-ust systemtap"
65RDEPENDS_task-poky-tools-profile_append_emenlow = " lttng-ust" 66RDEPENDS_task-poky-tools-profile_append_emenlow = " lttng-ust systemtap"
66RDEPENDS_task-poky-tools-profile_append_atom-pc = " lttng-ust" 67RDEPENDS_task-poky-tools-profile_append_atom-pc = " lttng-ust systemtap"
67 68
68RDEPENDS_task-poky-tools-testapps = "\ 69RDEPENDS_task-poky-tools-testapps = "\
69 blktool \ 70 blktool \
diff --git a/meta/recipes-core/tasks/task-sdk-host.bb b/meta/recipes-core/tasks/task-sdk-host.bb
index 7bf445386a..1837d9a0cf 100644
--- a/meta/recipes-core/tasks/task-sdk-host.bb
+++ b/meta/recipes-core/tasks/task-sdk-host.bb
@@ -3,10 +3,13 @@
3# 3#
4 4
5DESCRIPTION = "Host packages for the standalone SDK or external toolchain" 5DESCRIPTION = "Host packages for the standalone SDK or external toolchain"
6PR = "r9" 6PR = "r10"
7LICENSE = "MIT" 7LICENSE = "MIT"
8ALLOW_EMPTY = "1" 8ALLOW_EMPTY = "1"
9 9
10LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
11 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
12
10inherit nativesdk 13inherit nativesdk
11 14
12PACKAGES = "${PN}" 15PACKAGES = "${PN}"
@@ -18,6 +21,7 @@ RDEPENDS_${PN} = "\
18 pseudo-nativesdk \ 21 pseudo-nativesdk \
19 unfs-server-nativesdk \ 22 unfs-server-nativesdk \
20 opkg-nativesdk \ 23 opkg-nativesdk \
24 libtool-nativesdk \
21 " 25 "
22 26
23RDEPENDS_${PN}_darwin8 = "\ 27RDEPENDS_${PN}_darwin8 = "\
diff --git a/meta/recipes-core/util-linux/util-linux-2.17.2/util-linux-ng-2.16-mount_lock_path.patch b/meta/recipes-core/util-linux/util-linux-2.17.2/util-linux-ng-2.16-mount_lock_path.patch
new file mode 100644
index 0000000000..8e79d8b5fe
--- /dev/null
+++ b/meta/recipes-core/util-linux/util-linux-2.17.2/util-linux-ng-2.16-mount_lock_path.patch
@@ -0,0 +1,25 @@
1The FHS indicates that /etc must be capable of being mounted R/O.
2
3The FHS also indicates that lock files belong in /var/lock, and /var must
4be R/W as soon as possible during boot.
5
6This patch moves the mtab lock file from the potentially R/O /etc, to the
7R/W /var/lock area. This lock file is used when mounting disks and making
8other mount adjustments. The _PATH_MOUNTED_TMP is not adjusted, as failing
9to write to this file does not cause any functional limitations.
10
11(Note, if /etc is R/O, then /etc/mtab should be a symlink to /proc/mounts)
12
13Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
14
15--- util-linux-ng-2.16/include/pathnames.h.orig
16+++ util-linux-ng-2.16/include/pathnames.h
17@@ -90,7 +90,7 @@
18 # endif
19 #endif
20
21-#define _PATH_MOUNTED_LOCK _PATH_MOUNTED "~"
22+#define _PATH_MOUNTED_LOCK "/var/lock/mtab~"
23 #define _PATH_MOUNTED_TMP _PATH_MOUNTED ".tmp"
24
25 #ifndef _PATH_DEV
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 53d84632c9..551e3c926a 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -15,10 +15,10 @@ LIC_FILES_CHKSUM = "file://README.licensing;md5=1530e36fe1304d4535513de90a290df9
15 file://licenses/COPYING.UCB;md5=263860f8968d8bafa5392cab74285262 \ 15 file://licenses/COPYING.UCB;md5=263860f8968d8bafa5392cab74285262 \
16 file://getopt/COPYING;md5=8ca43cbc842c2336e835926c2166c28b" 16 file://getopt/COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
17 17
18DEPENDS = "udev zlib ncurses virtual/libintl gettext" 18DEPENDS = "zlib ncurses virtual/libintl"
19DEPENDS_virtclass-native = "zlib-native ncurses-native lzo-native gettext-native" 19DEPENDS_virtclass-native = "zlib-native ncurses-native lzo-native gettext-native"
20 20
21inherit autotools 21inherit autotools gettext
22 22
23SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux-ng/v${MAJOR_VERSION}/util-linux-ng-${PV}.tar.bz2 \ 23SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux-ng/v${MAJOR_VERSION}/util-linux-ng-${PV}.tar.bz2 \
24 file://MCONFIG \ 24 file://MCONFIG \
@@ -27,7 +27,11 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux-ng/v${MAJOR_VERSION}/u
27 file://make_include \ 27 file://make_include \
28 " 28 "
29 29
30PACKAGES_prepend = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-swaponoff util-linux-losetup util-linux-umount util-linux-mount util-linux-readprofile " 30PACKAGES_prepend = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-swaponoff \
31 util-linux-losetup util-linux-umount util-linux-mount util-linux-readprofile \
32 util-linux-libblkid util-linux-libblkid-dev util-linux-libuuid util-linux-libuuid-dev \
33 util-linux-lscpu \
34 "
31 35
32PACKAGES_virtclass-native = "" 36PACKAGES_virtclass-native = ""
33 37
@@ -37,16 +41,22 @@ EXTRA_OECONF = "--disable-use-tty-group --disable-makeinstall-chown --enable-elv
37 --enable-mesg --enable-partx --enable-raw --enable-rdev --enable-reset \ 41 --enable-mesg --enable-partx --enable-raw --enable-rdev --enable-reset \
38 --disable-login-utils --enable-write --enable-arch --enable-mount --with-fsprobe=builtin --enable-libuuid --enable-libblkid --enable-fsck" 42 --disable-login-utils --enable-write --enable-arch --enable-mount --with-fsprobe=builtin --enable-libuuid --enable-libblkid --enable-fsck"
39 43
40FILES_${PN}-doc += "/usr/share/getopt/getopt-*.*" 44FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*"
41 45
42FILES_util-linux-fdisk = "/sbin/fdisk.${PN}" 46FILES_util-linux-fdisk = "${base_sbindir}/fdisk.${PN}"
43FILES_util-linux-cfdisk = "/sbin/cfdisk" 47FILES_util-linux-cfdisk = "${base_sbindir}/cfdisk"
44FILES_util-linux-sfdisk = "/usr/sbin/sfdisk" 48FILES_util-linux-sfdisk = "${sbindir}/sfdisk"
45FILES_util-linux-swaponoff = "/sbin/swapon.${PN} /usr/sbin/swapoff.${PN}" 49FILES_util-linux-swaponoff = "${base_sbindir}/swapon.${PN} ${sbindir}/swapoff.${PN}"
46FILES_util-linux-losetup = "/sbin/losetup.${PN}" 50FILES_util-linux-losetup = "${base_sbindir}/losetup.${PN}"
47FILES_util-linux-mount = "/bin/mount.${PN}" 51FILES_util-linux-mount = "${base_bindir}/mount.${PN}"
48FILES_util-linux-umount = "/bin/umount.${PN}" 52FILES_util-linux-umount = "${base_bindir}/umount.${PN}"
49FILES_util-linux-readprofile = "/sbin/readprofile" 53FILES_util-linux-readprofile = "${base_sbindir}/readprofile"
54FILES_util-linux-lscpu = "${bindir}/lscpu"
55
56FILES_util-linux-libblkid = "${libdir}/libblkid.so.*"
57FILES_util-linux-libblkid-dev = "${libdir}/libblkid.so ${libdir}/libblkid.a ${libdir}/libblkid.la ${includedir}/blkid"
58FILES_util-linux-libuuid = "${libdir}/libuuid.so.*"
59FILES_util-linux-libuuid-dev = "${libdir}/libuuid.so ${libdir}/libuuid.a ${libdir}/libuuid.la ${includedir}/uuid"
50 60
51RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile " 61RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile "
52RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup" 62RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup"
@@ -142,11 +152,19 @@ do_install () {
142 install -d ${D}${sysconfdir}/default/ 152 install -d ${D}${sysconfdir}/default/
143 echo 'MOUNTALL="-t nonfs,nosmbfs,noncpfs"' > ${D}${sysconfdir}/default/mountall 153 echo 'MOUNTALL="-t nonfs,nosmbfs,noncpfs"' > ${D}${sysconfdir}/default/mountall
144 154
145 ln -sf ${sbindir}/swapon ${D}${sbindir}/swapoff.${PN} 155 # note ${PN} in swapon.${PN}, swapon is an alternative link that is
146 ln -sf ${sbindir}/shutdown ${D}${sbindir}/reboot.${PN} 156 # not guaranteed to provide multiple functions, similar for shutdown
147 ln -sf ${sbindir}/shutdown ${D}${sbindir}/halt.${PN} 157 ln -sf swapon.${PN} ${D}${base_sbindir}/swapoff.${PN}
148 ln -sf ${sbindir}/shutdown ${D}${sbindir}/fastboot 158 ln -sf shutdown.${PN} ${D}${base_sbindir}/reboot.${PN}
149 ln -sf ${sbindir}/shutdown ${D}${sbindir}/fasthalt 159 ln -sf shutdown.${PN} ${D}${base_sbindir}/halt.${PN}
160 ln -sf shutdown.${PN} ${D}${base_sbindir}/fastboot
161 ln -sf shutdown.${PN} ${D}${base_sbindir}/fasthalt
162
163 rm -f ${D}${sbindir}/halt
164 rm -f ${D}${sbindir}/reboot
165 rm -f ${D}${sbindir}/fastboot
166 rm -f ${D}${sbindir}/fasthalt
167 rm -f ${D}${sbindir}/swapoff
150} 168}
151 169
152pkg_postinst_${PN} () { 170pkg_postinst_${PN} () {
diff --git a/meta/recipes-core/util-linux/util-linux_2.17.2.bb b/meta/recipes-core/util-linux/util-linux_2.17.2.bb
index 9b344d4de2..e0904db069 100644
--- a/meta/recipes-core/util-linux/util-linux_2.17.2.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.17.2.bb
@@ -1,9 +1,10 @@
1MAJOR_VERSION = "2.17" 1MAJOR_VERSION = "2.17"
2require util-linux.inc 2require util-linux.inc
3PR="r1" 3PR = "r5"
4 4
5SRC_URI += "file://uclibc-compile.patch \ 5SRC_URI += "file://uclibc-compile.patch \
6 file://util-linux-ng-replace-siginterrupt.patch" 6 file://util-linux-ng-replace-siginterrupt.patch \
7 file://util-linux-ng-2.16-mount_lock_path.patch"
7 8
8SRC_URI[md5sum] = "4635725a3eef1c57090bac8ea5e082e6" 9SRC_URI[md5sum] = "4635725a3eef1c57090bac8ea5e082e6"
9SRC_URI[sha256sum] = "c9ae801b6a5ab20b7749a278a8bf6830ef53adc5e8b7eb0ac1a9f410c774118f" 10SRC_URI[sha256sum] = "c9ae801b6a5ab20b7749a278a8bf6830ef53adc5e8b7eb0ac1a9f410c774118f"
diff --git a/meta/recipes-devtools/apt/apt-0.7.14/use-host.patch b/meta/recipes-devtools/apt/apt-0.7.14/use-host.patch
index 894a697661..09698a6a40 100644
--- a/meta/recipes-devtools/apt/apt-0.7.14/use-host.patch
+++ b/meta/recipes-devtools/apt/apt-0.7.14/use-host.patch
@@ -3,11 +3,11 @@
3 configure.in | 2 +- 3 configure.in | 2 +-
4 2 files changed, 4 insertions(+), 2 deletions(-) 4 2 files changed, 4 insertions(+), 2 deletions(-)
5 5
6Index: apt-0.7.14/buildlib/sizetable
7===================================================================
6--- apt-0.7.14.orig/buildlib/sizetable 8--- apt-0.7.14.orig/buildlib/sizetable
7+++ apt-0.7.14/buildlib/sizetable 9+++ apt-0.7.14/buildlib/sizetable
8@@ -9,16 +9,19 @@ 10@@ -11,6 +11,9 @@
9 #
10 # This is used primarily for the MD5 algorithm.
11 # The format is:- 11 # The format is:-
12 # CPU endian sizeof: char, int, short, long 12 # CPU endian sizeof: char, int, short, long
13 i386 little 1 4 2 4 13 i386 little 1 4 2 4
@@ -17,21 +17,19 @@
17 armeb big 1 4 2 4 17 armeb big 1 4 2 4
18 arm little 1 4 2 4 18 arm little 1 4 2 4
19 alpha little 1 4 2 8 19 alpha little 1 4 2 8
20 mipsel little 1 4 2 4 20@@ -21,4 +24,5 @@ m68k big 1 4 2 4
21 sparc big 1 4 2 4
22 sparc64 big 1 4 2 8
23 m68k big 1 4 2 4
24 powerpc big 1 4 2 4 21 powerpc big 1 4 2 4
25 mips big 1 4 2 4 22 mips big 1 4 2 4
26 hppa big 1 4 2 4 23 hppa big 1 4 2 4
27-m32r big 1 4 2 4 24-m32r big 1 4 2 4
28\ No newline at end of file 25\ No newline at end of file
29+m32r big 1 4 2 4 26+m32r big 1 4 2 4
27+x86_64 little 1 4 2 8
28Index: apt-0.7.14/configure.in
29===================================================================
30--- apt-0.7.14.orig/configure.in 30--- apt-0.7.14.orig/configure.in
31+++ apt-0.7.14/configure.in 31+++ apt-0.7.14/configure.in
32@@ -86,11 +86,11 @@ AC_SUBST(BDBLIB) 32@@ -88,7 +88,7 @@ dnl This is often the dpkg architecture
33 dnl Converts the ARCH to be something singular for this general CPU family
34 dnl This is often the dpkg architecture string.
35 dnl First check against the full canonical canoncial-system-type in $target 33 dnl First check against the full canonical canoncial-system-type in $target
36 dnl and if that fails, just look for the cpu 34 dnl and if that fails, just look for the cpu
37 AC_MSG_CHECKING(debian architecture) 35 AC_MSG_CHECKING(debian architecture)
@@ -40,5 +38,3 @@
40 if test "x$archset" = "x"; then 38 if test "x$archset" = "x"; then
41 AC_MSG_ERROR([failed: use --host= or output from dpkg-architecture]) 39 AC_MSG_ERROR([failed: use --host= or output from dpkg-architecture])
42 fi 40 fi
43 AC_MSG_RESULT($archset)
44 AC_DEFINE_UNQUOTED(COMMON_ARCH,"$archset")
diff --git a/meta/recipes-devtools/apt/apt-native_0.7.14.bb b/meta/recipes-devtools/apt/apt-native_0.7.14.bb
index f77f81790f..b1bd55b2cf 100644
--- a/meta/recipes-devtools/apt/apt-native_0.7.14.bb
+++ b/meta/recipes-devtools/apt/apt-native_0.7.14.bb
@@ -9,3 +9,5 @@ SRC_URI += "file://nodoc.patch \
9 9
10SRC_URI[md5sum] = "19efa18fb1ef20c58b9b44e94258b814" 10SRC_URI[md5sum] = "19efa18fb1ef20c58b9b44e94258b814"
11SRC_URI[sha256sum] = "8fc06effaf8a4e4333308eedcdc6840f1c8056f2e924210f151dfc076bcd4045" 11SRC_URI[sha256sum] = "8fc06effaf8a4e4333308eedcdc6840f1c8056f2e924210f151dfc076bcd4045"
12
13LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
diff --git a/meta/recipes-devtools/apt/apt_0.7.14.bb b/meta/recipes-devtools/apt/apt_0.7.14.bb
index 54096ef6a0..aa155d9d47 100644
--- a/meta/recipes-devtools/apt/apt_0.7.14.bb
+++ b/meta/recipes-devtools/apt/apt_0.7.14.bb
@@ -1,12 +1,12 @@
1DEPENDS = "curl db" 1DEPENDS = "curl db"
2RDEPENDS = "dpkg" 2RDEPENDS_${PN} = "dpkg"
3LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3" 3LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3"
4require apt.inc 4require apt.inc
5 5
6PR = "r3" 6PR = "r6"
7 7
8SRC_URI += "file://nodoc.patch \ 8SRC_URI += "file://nodoc.patch \
9 file://includes-fix.patch" 9 file://includes-fix.patch "
10 10
11SRC_URI[md5sum] = "19efa18fb1ef20c58b9b44e94258b814" 11SRC_URI[md5sum] = "19efa18fb1ef20c58b9b44e94258b814"
12SRC_URI[sha256sum] = "8fc06effaf8a4e4333308eedcdc6840f1c8056f2e924210f151dfc076bcd4045" 12SRC_URI[sha256sum] = "8fc06effaf8a4e4333308eedcdc6840f1c8056f2e924210f151dfc076bcd4045"
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-2.16.1-e300c2c3.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-2.16.1-e300c2c3.patch
deleted file mode 100644
index dfe9b18e17..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-2.16.1-e300c2c3.patch
+++ /dev/null
@@ -1,18 +0,0 @@
1Adds support for Freescale Power architecture e300c2 and e300c3 cores.
2http://www.bitshrine.org/gpp/tc-fsl-x86lnx-e300c3-nptl-4.0.2-2.src.rpm
3
4Leon Woestenberg <leonw@mailcan.com>
5
6Index: binutils-2.19.51.0.3/opcodes/ppc-dis.c
7===================================================================
8--- binutils-2.19.51.0.3.orig/opcodes/ppc-dis.c 2009-04-16 00:38:45.000000000 -0700
9+++ binutils-2.19.51.0.3/opcodes/ppc-dis.c 2009-04-16 00:43:56.000000000 -0700
10@@ -132,6 +132,8 @@
11 | PPC_OPCODE_POWER6 | PPC_OPCODE_POWER7 | PPC_OPCODE_ALTIVEC
12 | PPC_OPCODE_VSX),
13 0 },
14+ { "pmr", (PPC_OPCODE_PMR),
15+ 0 },
16 { "ppc", (PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | PPC_OPCODE_32),
17 0 },
18 { "ppc32", (PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | PPC_OPCODE_32),
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-libtool.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-libtool.patch
deleted file mode 100644
index 61517d1d4c..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-libtool.patch
+++ /dev/null
@@ -1,67 +0,0 @@
1This is because libdir has a trailing slash which breaks the comparision.
2
3RP 2/1/10
4
5Index: binutils-2.20.1/ltmain.sh
6===================================================================
7--- binutils-2.20.1.orig/ltmain.sh 2009-09-01 00:59:32.000000000 +0800
8+++ binutils-2.20.1/ltmain.sh 2010-07-29 09:41:14.000000000 +0800
9@@ -2156,8 +2156,12 @@
10 dir="$dir$objdir"
11
12 if test -n "$relink_command"; then
13+ # Strip any trailing slash from the destination.
14+ func_stripname '' '/' "$libdir"
15+ destlibdir=$func_stripname_result
16+
17 # Determine the prefix the user has applied to our future dir.
18- inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$libdir\$%%"`
19+ inst_prefix_dir=`$ECHO "X$destdir" | $Xsed -e "s%$destlibdir\$%%"`
20
21 # Don't allow the user to place us outside of our expected
22 # location b/c this prevents finding dependent libraries that
23@@ -5570,8 +5574,14 @@
24 absdir="$abs_ladir"
25 libdir="$abs_ladir"
26 else
27- dir="$libdir"
28- absdir="$libdir"
29+ # Adding 'libdir' from the .la file to our library search paths
30+ # breaks crosscompilation horribly. We cheat here and don't add
31+ # it, instead adding the path where we found the .la. -CL
32+ dir="$abs_ladir"
33+ absdir="$abs_ladir"
34+ libdir="$abs_ladir"
35+ #dir="$libdir"
36+ #absdir="$libdir"
37 fi
38 test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
39 else
40@@ -5942,8 +5952,6 @@
41 add="$libdir/$linklib"
42 fi
43 else
44- # We cannot seem to hardcode it, guess we'll fake it.
45- add_dir="-L$libdir"
46 # Try looking first in the location we're being installed to.
47 if test -n "$inst_prefix_dir"; then
48 case $libdir in
49@@ -6089,7 +6097,17 @@
50 fi
51 ;;
52 *)
53- path="-L$absdir/$objdir"
54+ # OE sets installed=no in staging. We need to look in $objdir and $absdir,
55+ # preferring $objdir. RP 31/04/2008
56+ if test -f "$absdir/$objdir/$depdepl" ; then
57+ depdepl="$absdir/$objdir/$depdepl"
58+ path="-L$absdir/$objdir"
59+ elif test -f "$absdir/$depdepl" ; then
60+ depdepl="$absdir/$depdepl"
61+ path="-L$absdir"
62+ else
63+ path="-L$absdir/$objdir"
64+ fi
65 ;;
66 esac
67 else
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-mips-pie.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-mips-pie.patch
deleted file mode 100644
index c71f0ad4db..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-mips-pie.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1# "-fPIE" always triggers segmentation fault in ld.so.1 on mips platform,
2# which was first saw on dbus-daemon. Below borrow the binutils fix from
3# binutils bugzilla:
4#
5# http://sourceware.org/bugzilla/show_bug.cgi?id=10858
6#
7# Its commit message says:
8# * elfxx-mips.c (mips_elf_create_dynamic_relocation): Use section
9# sym dynindx for relocs against defined syms in PIEs.
10#
11# It's in upstream CVS now (rev 1.267), but not in current release
12#
13# By Kevin Tian <kevin.tian@intel.com>, 2010-07-15
14
15diff --git a/elfxx-mips.c b/elfxx-mips.c
16index 3a1c8ba..f6c2c1c 100644
17--- binutils-2.20.1.orig/bfd/elfxx-mips.c
18+++ binutils-2.20.1/bfd/elfxx-mips.c
19@@ -5688,9 +5688,7 @@ mips_elf_create_dynamic_relocation (bfd *output_bfd,
20
21 /* We must now calculate the dynamic symbol table index to use
22 in the relocation. */
23- if (h != NULL
24- && (!h->root.def_regular
25- || (info->shared && !info->symbolic && !h->root.forced_local)))
26+ if (h != NULL && ! SYMBOL_REFERENCES_LOCAL (info, &h->root))
27 {
28 indx = h->root.dynindx;
29 if (SGI_COMPAT (output_bfd))
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-poison.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-poison.patch
deleted file mode 100644
index c2f19276f8..0000000000
--- a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-poison.patch
+++ /dev/null
@@ -1,253 +0,0 @@
1This patch is recived from Mark Hatle
2
3purpose: warn for uses of system directories when cross linking
4
5Signed-Off-By: Mark Hatle <mark.hatle@windriver.com>
6
7Code Merged from Sourcery G++ binutils 2.19 - 4.4-277
8
92008-07-02 Joseph Myers <joseph@codesourcery.com>
10
11 ld/
12 * ld.h (args_type): Add error_poison_system_directories.
13 * ld.texinfo (--error-poison-system-directories): Document.
14 * ldfile.c (ldfile_add_library_path): Check
15 command_line.error_poison_system_directories.
16 * ldmain.c (main): Initialize
17 command_line.error_poison_system_directories.
18 * lexsup.c (enum option_values): Add
19 OPTION_ERROR_POISON_SYSTEM_DIRECTORIES.
20 (ld_options): Add --error-poison-system-directories.
21 (parse_args): Handle new option.
22
232007-06-13 Joseph Myers <joseph@codesourcery.com>
24
25 ld/
26 * config.in: Regenerate.
27 * ld.h (args_type): Add poison_system_directories.
28 * ld.texinfo (--no-poison-system-directories): Document.
29 * ldfile.c (ldfile_add_library_path): Check
30 command_line.poison_system_directories.
31 * ldmain.c (main): Initialize
32 command_line.poison_system_directories.
33 * lexsup.c (enum option_values): Add
34 OPTION_NO_POISON_SYSTEM_DIRECTORIES.
35 (ld_options): Add --no-poison-system-directories.
36 (parse_args): Handle new option.
37
382007-04-20 Joseph Myers <joseph@codesourcery.com>
39
40 Merge from Sourcery G++ binutils 2.17:
41
42 2007-03-20 Joseph Myers <joseph@codesourcery.com>
43 Based on patch by Mark Hatle <mark.hatle@windriver.com>.
44 ld/
45 * configure.in (--enable-poison-system-directories): New option.
46 * configure, config.in: Regenerate.
47 * ldfile.c (ldfile_add_library_path): If
48 ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib,
49 /usr/lib, /usr/local/lib or /usr/X11R6/lib.
50
51Index: binutils-2.20.1/ld/config.in
52===================================================================
53--- binutils-2.20.1.orig/ld/config.in
54+++ binutils-2.20.1/ld/config.in
55@@ -4,6 +4,9 @@
56 language is requested. */
57 #undef ENABLE_NLS
58
59+/* Define to warn for use of native system library directories */
60+#undef ENABLE_POISON_SYSTEM_DIRECTORIES
61+
62 /* Additional extension a shared object might have. */
63 #undef EXTRA_SHLIB_EXTENSION
64
65Index: binutils-2.20.1/ld/configure.in
66===================================================================
67--- binutils-2.20.1.orig/ld/configure.in
68+++ binutils-2.20.1/ld/configure.in
69@@ -69,6 +69,16 @@ AC_SUBST(use_sysroot)
70 AC_SUBST(TARGET_SYSTEM_ROOT)
71 AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE)
72
73+AC_ARG_ENABLE([poison-system-directories],
74+ AS_HELP_STRING([--enable-poison-system-directories],
75+ [warn for use of native system library directories]),,
76+ [enable_poison_system_directories=no])
77+if test "x${enable_poison_system_directories}" = "xyes"; then
78+ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES],
79+ [1],
80+ [Define to warn for use of native system library directories])
81+fi
82+
83 AC_ARG_ENABLE([got],
84 AS_HELP_STRING([--enable-got=<type>],
85 [GOT handling scheme (target, single, negative, multigot)]),
86Index: binutils-2.20.1/ld/ld.h
87===================================================================
88--- binutils-2.20.1.orig/ld/ld.h
89+++ binutils-2.20.1/ld/ld.h
90@@ -176,6 +176,14 @@ typedef struct {
91 input files. */
92 bfd_boolean accept_unknown_input_arch;
93
94+ /* If TRUE (the default) warn for uses of system directories when
95+ cross linking. */
96+ bfd_boolean poison_system_directories;
97+
98+ /* If TRUE (default FALSE) give an error for uses of system
99+ directories when cross linking instead of a warning. */
100+ bfd_boolean error_poison_system_directories;
101+
102 /* Big or little endian as set on command line. */
103 enum endian_enum endian;
104
105Index: binutils-2.20.1/ld/ld.texinfo
106===================================================================
107--- binutils-2.20.1.orig/ld/ld.texinfo
108+++ binutils-2.20.1/ld/ld.texinfo
109@@ -2084,6 +2084,18 @@ string identifying the original linked f
110
111 Passing @code{none} for @var{style} disables the setting from any
112 @code{--build-id} options earlier on the command line.
113+
114+@kindex --no-poison-system-directories
115+@item --no-poison-system-directories
116+Do not warn for @option{-L} options using system directories such as
117+@file{/usr/lib} when cross linking. This option is intended for use
118+in chroot environments when such directories contain the correct
119+libraries for the target system rather than the host.
120+
121+@kindex --error-poison-system-directories
122+@item --error-poison-system-directories
123+Give an error instead of a warning for @option{-L} options using
124+system directories when cross linking.
125 @end table
126
127 @c man end
128Index: binutils-2.20.1/ld/ldfile.c
129===================================================================
130--- binutils-2.20.1.orig/ld/ldfile.c
131+++ binutils-2.20.1/ld/ldfile.c
132@@ -120,6 +120,23 @@ ldfile_add_library_path (const char *nam
133 {
134 new_dirs->name = xstrdup (name);
135 new_dirs->sysrooted = is_sysrooted_pathname (name, FALSE);
136+
137+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES
138+ if (command_line.poison_system_directories
139+ && ((!strncmp (name, "/lib", 4))
140+ || (!strncmp (name, "/usr/lib", 8))
141+ || (!strncmp (name, "/usr/local/lib", 14))
142+ || (!strncmp (name, "/usr/X11R6/lib", 14))))
143+ {
144+ if (command_line.error_poison_system_directories)
145+ einfo (_("%X%P: error: library search path \"%s\" is unsafe for "
146+ "cross-compilation\n"), name);
147+ else
148+ einfo (_("%P: warning: library search path \"%s\" is unsafe for "
149+ "cross-compilation\n"), name);
150+ }
151+#endif
152+
153 }
154 }
155
156Index: binutils-2.20.1/ld/ldmain.c
157===================================================================
158--- binutils-2.20.1.orig/ld/ldmain.c
159+++ binutils-2.20.1/ld/ldmain.c
160@@ -252,6 +252,8 @@ main (int argc, char **argv)
161 command_line.warn_mismatch = TRUE;
162 command_line.warn_search_mismatch = TRUE;
163 command_line.check_section_addresses = -1;
164+ command_line.poison_system_directories = TRUE;
165+ command_line.error_poison_system_directories = FALSE;
166
167 /* We initialize DEMANGLING based on the environment variable
168 COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the
169Index: binutils-2.20.1/ld/lexsup.c
170===================================================================
171--- binutils-2.20.1.orig/ld/lexsup.c
172+++ binutils-2.20.1/ld/lexsup.c
173@@ -166,7 +166,9 @@ enum option_values
174 OPTION_WARN_SHARED_TEXTREL,
175 OPTION_WARN_ALTERNATE_EM,
176 OPTION_REDUCE_MEMORY_OVERHEADS,
177- OPTION_DEFAULT_SCRIPT
178+ OPTION_DEFAULT_SCRIPT,
179+ OPTION_NO_POISON_SYSTEM_DIRECTORIES,
180+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES
181 };
182
183 /* The long options. This structure is used for both the option
184@@ -575,6 +577,14 @@ static const struct ld_option ld_options
185 TWO_DASHES },
186 { {"wrap", required_argument, NULL, OPTION_WRAP},
187 '\0', N_("SYMBOL"), N_("Use wrapper functions for SYMBOL"), TWO_DASHES },
188+ { {"no-poison-system-directories", no_argument, NULL,
189+ OPTION_NO_POISON_SYSTEM_DIRECTORIES},
190+ '\0', NULL, N_("Do not warn for -L options using system directories"),
191+ TWO_DASHES },
192+ { {"error-poison-system-directories", no_argument, NULL,
193+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES},
194+ '\0', NULL, N_("Give an error for -L options using system directories"),
195+ TWO_DASHES },
196 };
197
198 #define OPTION_COUNT ARRAY_SIZE (ld_options)
199@@ -1480,6 +1490,14 @@ parse_args (unsigned argc, char **argv)
200 einfo (_("%P%X: --hash-size needs a numeric argument\n"));
201 }
202 break;
203+
204+ case OPTION_NO_POISON_SYSTEM_DIRECTORIES:
205+ command_line.poison_system_directories = FALSE;
206+ break;
207+
208+ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES:
209+ command_line.error_poison_system_directories = TRUE;
210+ break;
211 }
212 }
213
214diff -ur binutils-2.20.1.orig/ld/configure binutils-2.20.1/ld/configure
215--- binutils-2.20.1.orig/ld/configure 2010-03-03 08:06:22.000000000 -0600
216+++ binutils-2.20.1/ld/configure 2010-09-30 11:19:35.776990594 -0500
217@@ -901,6 +904,7 @@
218 enable_targets
219 enable_64_bit_bfd
220 with_sysroot
221+enable_poison_system_directories
222 enable_got
223 enable_werror
224 enable_build_warnings
225@@ -1548,6 +1552,8 @@
226 (and sometimes confusing) to the casual installer
227 --enable-targets alternative target configurations
228 --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
229+ --enable-poison-system-directories
230+ warn for use of native system library directories
231 --enable-got=<type> GOT handling scheme (target, single, negative,
232 multigot)
233 --enable-werror treat compile warnings as errors
234@@ -4302,6 +4334,19 @@
235
236
237
238+# Check whether --enable-poison-system-directories was given.
239+if test "${enable_poison_system_directories+set}" = set; then :
240+ enableval=$enable_poison_system_directories;
241+else
242+ enable_poison_system_directories=no
243+fi
244+
245+if test "x${enable_poison_system_directories}" = "xyes"; then
246+
247+$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h
248+
249+fi
250+
251 # Check whether --enable-got was given.
252 if test "${enable_got+set}" = set; then :
253 enableval=$enable_got; case "${enableval}" in
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/110-arm-eabi-conf.patch b/meta/recipes-devtools/binutils/binutils-2.21/110-arm-eabi-conf.patch
index 2623301da0..2623301da0 100644
--- a/meta/recipes-devtools/binutils/binutils-2.20.1/110-arm-eabi-conf.patch
+++ b/meta/recipes-devtools/binutils/binutils-2.21/110-arm-eabi-conf.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/binutils-2.19.1-ld-sysroot.patch b/meta/recipes-devtools/binutils/binutils-2.21/binutils-2.19.1-ld-sysroot.patch
new file mode 100644
index 0000000000..adcabb4f66
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.21/binutils-2.19.1-ld-sysroot.patch
@@ -0,0 +1,37 @@
1http://sourceware.org/bugzilla/show_bug.cgi?id=10340
2
3Signed-off-by: Sven Rebhan <odinshorse@googlemail.com>
4
5Always try to prepend the sysroot prefix to absolute filenames first.
6
7Index: binutils-2.21/ld/ldfile.c
8===================================================================
9--- binutils-2.21.orig/ld/ldfile.c
10+++ binutils-2.21/ld/ldfile.c
11@@ -372,18 +372,24 @@ ldfile_open_file_search (const char *arc
12 directory first. */
13 if (! entry->is_archive)
14 {
15- if (entry->sysrooted && IS_ABSOLUTE_PATH (entry->filename))
16+ /* For absolute pathnames, try to always open the file in the
17+ sysroot first. If this fails, try to open the file at the
18+ given location. */
19+ entry->sysrooted = is_sysrooted_pathname(entry->filename, FALSE);
20+ if (IS_ABSOLUTE_PATH (entry->filename) && ld_sysroot && ! entry->sysrooted)
21 {
22 char *name = concat (ld_sysroot, entry->filename,
23 (const char *) NULL);
24 if (ldfile_try_open_bfd (name, entry))
25 {
26 entry->filename = name;
27+ entry->sysrooted = TRUE;
28 return TRUE;
29 }
30 free (name);
31 }
32- else if (ldfile_try_open_bfd (entry->filename, entry))
33+
34+ if (ldfile_try_open_bfd (entry->filename, entry))
35 {
36 entry->sysrooted = IS_ABSOLUTE_PATH (entry->filename)
37 && is_sysrooted_pathname (entry->filename, TRUE);
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/binutils-poison.patch b/meta/recipes-devtools/binutils/binutils-2.21/binutils-poison.patch
new file mode 100644
index 0000000000..1fe713af8f
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.21/binutils-poison.patch
@@ -0,0 +1,245 @@
1Patch originally created by Mark Hatle, forward-ported to
2binutils 2.21 by Scott Garman.
3
4purpose: warn for uses of system directories when cross linking
5
6Code Merged from Sourcery G++ binutils 2.19 - 4.4-277
7
82008-07-02 Joseph Myers <joseph@codesourcery.com>
9
10 ld/
11 * ld.h (args_type): Add error_poison_system_directories.
12 * ld.texinfo (--error-poison-system-directories): Document.
13 * ldfile.c (ldfile_add_library_path): Check
14 command_line.error_poison_system_directories.
15 * ldmain.c (main): Initialize
16 command_line.error_poison_system_directories.
17 * lexsup.c (enum option_values): Add
18 OPTION_ERROR_POISON_SYSTEM_DIRECTORIES.
19 (ld_options): Add --error-poison-system-directories.
20 (parse_args): Handle new option.
21
222007-06-13 Joseph Myers <joseph@codesourcery.com>
23
24 ld/
25 * config.in: Regenerate.
26 * ld.h (args_type): Add poison_system_directories.
27 * ld.texinfo (--no-poison-system-directories): Document.
28 * ldfile.c (ldfile_add_library_path): Check
29 command_line.poison_system_directories.
30 * ldmain.c (main): Initialize
31 command_line.poison_system_directories.
32 * lexsup.c (enum option_values): Add
33 OPTION_NO_POISON_SYSTEM_DIRECTORIES.
34 (ld_options): Add --no-poison-system-directories.
35 (parse_args): Handle new option.
36
372007-04-20 Joseph Myers <joseph@codesourcery.com>
38
39 Merge from Sourcery G++ binutils 2.17:
40
41 2007-03-20 Joseph Myers <joseph@codesourcery.com>
42 Based on patch by Mark Hatle <mark.hatle@windriver.com>.
43 ld/
44 * configure.in (--enable-poison-system-directories): New option.
45 * configure, config.in: Regenerate.
46 * ldfile.c (ldfile_add_library_path): If
47 ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib,
48 /usr/lib, /usr/local/lib or /usr/X11R6/lib.
49
50Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
51Signed-off-by: Scott Garman <scott.a.garman@intel.com>
52
53diff -urN binutils-2.21.orig//ld/config.in binutils-2.21/ld/config.in
54--- binutils-2.21.orig//ld/config.in 2010-11-05 03:34:27.000000000 -0700
55+++ binutils-2.21/ld/config.in 2011-01-19 10:48:15.147301022 -0800
56@@ -4,6 +4,9 @@
57 language is requested. */
58 #undef ENABLE_NLS
59
60+/* Define to warn for use of native system library directories */
61+#undef ENABLE_POISON_SYSTEM_DIRECTORIES
62+
63 /* Additional extension a shared object might have. */
64 #undef EXTRA_SHLIB_EXTENSION
65
66diff -urN binutils-2.21.orig//ld/configure binutils-2.21/ld/configure
67--- binutils-2.21.orig//ld/configure 2011-01-19 10:46:46.997571921 -0800
68+++ binutils-2.21/ld/configure 2011-01-19 11:03:50.577832729 -0800
69@@ -768,6 +768,7 @@
70 enable_targets
71 enable_64_bit_bfd
72 with_sysroot
73+enable_poison_system_directories
74 enable_gold
75 enable_got
76 enable_werror
77@@ -1418,6 +1419,8 @@
78 (and sometimes confusing) to the casual installer
79 --enable-targets alternative target configurations
80 --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes)
81+ --enable-poison-system-directories
82+ warn for use of native system library directories
83 --enable-gold[=ARG] build gold [ARG={default,yes,no}]
84 --enable-got=<type> GOT handling scheme (target, single, negative,
85 multigot)
86@@ -4203,7 +4206,18 @@
87 fi
88
89
90+# Check whether --enable-poison-system-directories was given.
91+if test "${enable_poison_system_directories+set}" = set; then :
92+ enableval=$enable_poison_system_directories;
93+else
94+ enable_poison_system_directories=no
95+fi
96+
97+if test "x${enable_poison_system_directories}" = "xyes"; then
98
99+$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h
100+
101+fi
102
103 # Check whether --enable-got was given.
104 if test "${enable_got+set}" = set; then :
105diff -urN binutils-2.21.orig//ld/configure.in binutils-2.21/ld/configure.in
106--- binutils-2.21.orig//ld/configure.in 2010-11-23 05:50:32.000000000 -0800
107+++ binutils-2.21/ld/configure.in 2011-01-19 10:50:57.378398946 -0800
108@@ -69,6 +69,16 @@
109 AC_SUBST(TARGET_SYSTEM_ROOT)
110 AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE)
111
112+AC_ARG_ENABLE([poison-system-directories],
113+ AS_HELP_STRING([--enable-poison-system-directories],
114+ [warn for use of native system library directories]),,
115+ [enable_poison_system_directories=no])
116+if test "x${enable_poison_system_directories}" = "xyes"; then
117+ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES],
118+ [1],
119+ [Define to warn for use of native system library directories])
120+fi
121+
122 dnl Use --enable-gold to decide if this linker should be the default.
123 dnl "install_as_default" is set to false if gold is the default linker.
124 dnl "installed_linker" is the installed BFD linker name.
125diff -urN binutils-2.21.orig//ld/ldfile.c binutils-2.21/ld/ldfile.c
126--- binutils-2.21.orig//ld/ldfile.c 2011-01-19 10:46:47.157553281 -0800
127+++ binutils-2.21/ld/ldfile.c 2011-01-19 10:58:30.035468447 -0800
128@@ -124,6 +124,23 @@
129 {
130 new_dirs->name = xstrdup (name);
131 new_dirs->sysrooted = is_sysrooted_pathname (name, FALSE);
132+
133+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES
134+ if (command_line.poison_system_directories
135+ && ((!strncmp (name, "/lib", 4))
136+ || (!strncmp (name, "/usr/lib", 8))
137+ || (!strncmp (name, "/usr/local/lib", 14))
138+ || (!strncmp (name, "/usr/X11R6/lib", 14))))
139+ {
140+ if (command_line.error_poison_system_directories)
141+ einfo (_("%X%P: error: library search path \"%s\" is unsafe for "
142+ "cross-compilation\n"), name);
143+ else
144+ einfo (_("%P: warning: library search path \"%s\" is unsafe for "
145+ "cross-compilation\n"), name);
146+ }
147+#endif
148+
149 }
150 }
151
152diff -urN binutils-2.21.orig//ld/ld.h binutils-2.21/ld/ld.h
153--- binutils-2.21.orig//ld/ld.h 2009-11-26 05:45:25.000000000 -0800
154+++ binutils-2.21/ld/ld.h 2011-01-19 10:52:54.814716478 -0800
155@@ -198,6 +198,14 @@
156 input files. */
157 bfd_boolean accept_unknown_input_arch;
158
159+ /* If TRUE (the default) warn for uses of system directories when
160+ cross linking. */
161+ bfd_boolean poison_system_directories;
162+
163+ /* If TRUE (default FALSE) give an error for uses of system
164+ directories when cross linking instead of a warning. */
165+ bfd_boolean error_poison_system_directories;
166+
167 /* Big or little endian as set on command line. */
168 enum endian_enum endian;
169
170diff -urN binutils-2.21.orig//ld/ldmain.c binutils-2.21/ld/ldmain.c
171--- binutils-2.21.orig//ld/ldmain.c 2010-11-05 00:20:07.000000000 -0700
172+++ binutils-2.21/ld/ldmain.c 2011-01-19 10:59:18.579767697 -0800
173@@ -259,6 +259,8 @@
174 command_line.warn_search_mismatch = TRUE;
175 command_line.check_section_addresses = -1;
176 command_line.disable_target_specific_optimizations = -1;
177+ command_line.poison_system_directories = TRUE;
178+ command_line.error_poison_system_directories = FALSE;
179
180 /* We initialize DEMANGLING based on the environment variable
181 COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the
182diff -urN binutils-2.21.orig//ld/ld.texinfo binutils-2.21/ld/ld.texinfo
183--- binutils-2.21.orig//ld/ld.texinfo 2010-10-28 04:40:26.000000000 -0700
184+++ binutils-2.21/ld/ld.texinfo 2011-01-19 10:56:04.452567113 -0800
185@@ -2133,6 +2133,18 @@
186
187 Passing @code{none} for @var{style} disables the setting from any
188 @code{--build-id} options earlier on the command line.
189+
190+@kindex --no-poison-system-directories
191+@item --no-poison-system-directories
192+Do not warn for @option{-L} options using system directories such as
193+@file{/usr/lib} when cross linking. This option is intended for use
194+in chroot environments when such directories contain the correct
195+libraries for the target system rather than the host.
196+
197+@kindex --error-poison-system-directories
198+@item --error-poison-system-directories
199+Give an error instead of a warning for @option{-L} options using
200+system directories when cross linking.
201 @end table
202
203 @c man end
204diff -urN binutils-2.21.orig//ld/lexsup.c binutils-2.21/ld/lexsup.c
205--- binutils-2.21.orig//ld/lexsup.c 2010-10-27 23:45:33.000000000 -0700
206+++ binutils-2.21/ld/lexsup.c 2011-01-19 11:02:07.799898432 -0800
207@@ -175,6 +175,8 @@
208 OPTION_PLUGIN_OPT,
209 #endif /* ENABLE_PLUGINS */
210 OPTION_DEFAULT_SCRIPT,
211+ OPTION_NO_POISON_SYSTEM_DIRECTORIES,
212+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES
213 };
214
215 /* The long options. This structure is used for both the option
216@@ -603,6 +605,14 @@
217 TWO_DASHES },
218 { {"wrap", required_argument, NULL, OPTION_WRAP},
219 '\0', N_("SYMBOL"), N_("Use wrapper functions for SYMBOL"), TWO_DASHES },
220+ { {"no-poison-system-directories", no_argument, NULL,
221+ OPTION_NO_POISON_SYSTEM_DIRECTORIES},
222+ '\0', NULL, N_("Do not warn for -L options using system directories"),
223+ TWO_DASHES },
224+ { {"error-poison-system-directories", no_argument, NULL,
225+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES},
226+ '\0', NULL, N_("Give an error for -L options using system directories"),
227+ TWO_DASHES },
228 };
229
230 #define OPTION_COUNT ARRAY_SIZE (ld_options)
231@@ -1518,6 +1528,14 @@
232 einfo (_("%P%X: --hash-size needs a numeric argument\n"));
233 }
234 break;
235+
236+ case OPTION_NO_POISON_SYSTEM_DIRECTORIES:
237+ command_line.poison_system_directories = FALSE;
238+ break;
239+
240+ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES:
241+ command_line.error_poison_system_directories = TRUE;
242+ break;
243 }
244 }
245
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-100-uclibc-conf.patch b/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-100-uclibc-conf.patch
index 8de04e0fe0..8de04e0fe0 100644
--- a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-100-uclibc-conf.patch
+++ b/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-100-uclibc-conf.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-001_ld_makefile_patch.patch b/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-001_ld_makefile_patch.patch
index 04a7e61e25..04a7e61e25 100644
--- a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-001_ld_makefile_patch.patch
+++ b/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-001_ld_makefile_patch.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-006_better_file_error.patch b/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-006_better_file_error.patch
index f337611edf..f337611edf 100644
--- a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-006_better_file_error.patch
+++ b/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-006_better_file_error.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-012_check_ldrunpath_length.patch b/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-012_check_ldrunpath_length.patch
index 498651a90c..b6f5a25ceb 100644
--- a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-300-012_check_ldrunpath_length.patch
+++ b/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-300-012_check_ldrunpath_length.patch
@@ -24,10 +24,11 @@ esac
24exit 0 24exit 0
25 25
26@DPATCH@ 26@DPATCH@
27diff -urNad /home/james/debian/packages/binutils/new/binutils-2.15/ld/emultempl/elf32.em binutils-2.15/ld/emultempl/elf32.em 27Index: src/ld/emultempl/elf32.em
28--- /home/james/debian/packages/binutils/new/binutils-2.15/ld/emultempl/elf32.em 2004-05-21 23:12:58.000000000 +0100 28===================================================================
29+++ binutils-2.15/ld/emultempl/elf32.em 2004-05-21 23:12:59.000000000 +0100 29--- src.orig/ld/emultempl/elf32.em 2009-09-23 06:54:28.000000000 -0700
30@@ -692,6 +692,8 @@ 30+++ src/ld/emultempl/elf32.em 2009-10-06 10:58:16.883414592 -0700
31@@ -1237,6 +1237,8 @@ fragment <<EOF
31 && command_line.rpath == NULL) 32 && command_line.rpath == NULL)
32 { 33 {
33 lib_path = (const char *) getenv ("LD_RUN_PATH"); 34 lib_path = (const char *) getenv ("LD_RUN_PATH");
@@ -36,12 +37,12 @@ diff -urNad /home/james/debian/packages/binutils/new/binutils-2.15/ld/emultempl/
36 if (gld${EMULATION_NAME}_search_needed (lib_path, &n, 37 if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
37 force)) 38 force))
38 break; 39 break;
39@@ -871,6 +873,8 @@ 40@@ -1463,6 +1465,8 @@ gld${EMULATION_NAME}_before_allocation (
40 rpath = command_line.rpath; 41 rpath = command_line.rpath;
41 if (rpath == NULL) 42 if (rpath == NULL)
42 rpath = (const char *) getenv ("LD_RUN_PATH"); 43 rpath = (const char *) getenv ("LD_RUN_PATH");
43+ if ((rpath) && (strlen (rpath) == 0)) 44+ if ((rpath) && (strlen (rpath) == 0))
44+ rpath = NULL; 45+ rpath = NULL;
45 if (! (bfd_elf_size_dynamic_sections 46
46 (output_bfd, command_line.soname, rpath, 47 for (abfd = link_info.input_bfds; abfd; abfd = abfd->link_next)
47 command_line.filter_shlib, 48 {
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-gas-needs-libm.patch b/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-gas-needs-libm.patch
index db838cf20c..db838cf20c 100644
--- a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-uclibc-gas-needs-libm.patch
+++ b/meta/recipes-devtools/binutils/binutils-2.21/binutils-uclibc-gas-needs-libm.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-x86_64_i386_biarch.patch b/meta/recipes-devtools/binutils/binutils-2.21/binutils-x86_64_i386_biarch.patch
index 4cd9e22438..4cd9e22438 100644
--- a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-x86_64_i386_biarch.patch
+++ b/meta/recipes-devtools/binutils/binutils-2.21/binutils-x86_64_i386_biarch.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/libiberty_path_fix.patch b/meta/recipes-devtools/binutils/binutils-2.21/libiberty_path_fix.patch
index 36a14d7a18..36a14d7a18 100644
--- a/meta/recipes-devtools/binutils/binutils-2.20.1/libiberty_path_fix.patch
+++ b/meta/recipes-devtools/binutils/binutils-2.21/libiberty_path_fix.patch
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/libtool-2.4-update.patch b/meta/recipes-devtools/binutils/binutils-2.21/libtool-2.4-update.patch
new file mode 100644
index 0000000000..52c4928c8b
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.21/libtool-2.4-update.patch
@@ -0,0 +1,18719 @@
1Index: binutils-2.21/libtool.m4
2===================================================================
3--- binutils-2.21.orig/libtool.m4 2010-01-09 13:11:31.000000000 -0800
4+++ binutils-2.21/libtool.m4 2011-01-07 10:49:16.396101000 -0800
5@@ -1,7 +1,8 @@
6 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
7 #
8 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
9-# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
10+# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
11+# Inc.
12 # Written by Gordon Matzigkeit, 1996
13 #
14 # This file is free software; the Free Software Foundation gives
15@@ -10,7 +11,8 @@
16
17 m4_define([_LT_COPYING], [dnl
18 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19-# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
20+# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
21+# Inc.
22 # Written by Gordon Matzigkeit, 1996
23 #
24 # This file is part of GNU Libtool.
25@@ -37,7 +39,7 @@
26 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27 ])
28
29-# serial 56 LT_INIT
30+# serial 57 LT_INIT
31
32
33 # LT_PREREQ(VERSION)
34@@ -92,7 +94,8 @@
35 LIBTOOL_DEPS="$ltmain"
36
37 # Always use our own libtool.
38-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
39+LIBTOOL='$(SHELL) $(top_builddir)'
40+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
41 AC_SUBST(LIBTOOL)dnl
42
43 _LT_SETUP
44@@ -166,10 +169,13 @@
45 dnl
46 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
47 m4_require([_LT_CHECK_SHELL_FEATURES])dnl
48+m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl
49 m4_require([_LT_CMD_RELOAD])dnl
50 m4_require([_LT_CHECK_MAGIC_METHOD])dnl
51+m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl
52 m4_require([_LT_CMD_OLD_ARCHIVE])dnl
53 m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
54+m4_require([_LT_WITH_SYSROOT])dnl
55
56 _LT_CONFIG_LIBTOOL_INIT([
57 # See if we are running on zsh, and set the options which allow our
58@@ -199,7 +205,7 @@
59 esac
60
61 # Global variables:
62-ofile=libtool
63+ofile=${host_alias}-libtool
64 can_build_shared=yes
65
66 # All known linkers require a `.a' archive for static linking (except MSVC,
67@@ -632,7 +638,7 @@
68 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
69 configured by $[0], generated by m4_PACKAGE_STRING.
70
71-Copyright (C) 2009 Free Software Foundation, Inc.
72+Copyright (C) 2010 Free Software Foundation, Inc.
73 This config.lt script is free software; the Free Software Foundation
74 gives unlimited permision to copy, distribute and modify it."
75
76@@ -746,15 +752,12 @@
77 # if finds mixed CR/LF and LF-only lines. Since sed operates in
78 # text mode, it properly converts lines to CR/LF. This bash problem
79 # is reportedly fixed, but why not run on old versions too?
80- sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81- || (rm -f "$cfgfile"; exit 1)
82+ sed '$q' "$ltmain" >> "$cfgfile" \
83+ || (rm -f "$cfgfile"; exit 1)
84
85- _LT_PROG_XSI_SHELLFNS
86+ _LT_PROG_REPLACE_SHELLFNS
87
88- sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
89- || (rm -f "$cfgfile"; exit 1)
90-
91- mv -f "$cfgfile" "$ofile" ||
92+ mv -f "$cfgfile" "$ofile" ||
93 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
94 chmod +x "$ofile"
95 ],
96@@ -980,6 +983,8 @@
97 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
98 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
99 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
100+ echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
101+ $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
102 cat > conftest.c << _LT_EOF
103 int main() { return 0;}
104 _LT_EOF
105@@ -1069,30 +1074,41 @@
106 fi
107 ])
108
109-# _LT_SYS_MODULE_PATH_AIX
110-# -----------------------
111+# _LT_SYS_MODULE_PATH_AIX([TAGNAME])
112+# ----------------------------------
113 # Links a minimal program and checks the executable
114 # for the system default hardcoded library path. In most cases,
115 # this is /usr/lib:/lib, but when the MPI compilers are used
116 # the location of the communication and MPI libs are included too.
117 # If we don't find anything, use the default library path according
118 # to the aix ld manual.
119+# Store the results from the different compilers for each TAGNAME.
120+# Allow to override them for all tags through lt_cv_aix_libpath.
121 m4_defun([_LT_SYS_MODULE_PATH_AIX],
122 [m4_require([_LT_DECL_SED])dnl
123-AC_LINK_IFELSE(AC_LANG_PROGRAM,[
124-lt_aix_libpath_sed='
125- /Import File Strings/,/^$/ {
126- /^0/ {
127- s/^0 *\(.*\)$/\1/
128- p
129- }
130- }'
131-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
132-# Check for a 64-bit object if we didn't find anything.
133-if test -z "$aix_libpath"; then
134- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
135-fi],[])
136-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
137+if test "${lt_cv_aix_libpath+set}" = set; then
138+ aix_libpath=$lt_cv_aix_libpath
139+else
140+ AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
141+ [AC_LINK_IFELSE([AC_LANG_PROGRAM],[
142+ lt_aix_libpath_sed='[
143+ /Import File Strings/,/^$/ {
144+ /^0/ {
145+ s/^0 *\([^ ]*\) *$/\1/
146+ p
147+ }
148+ }]'
149+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
150+ # Check for a 64-bit object if we didn't find anything.
151+ if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
152+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
153+ fi],[])
154+ if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
155+ _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
156+ fi
157+ ])
158+ aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
159+fi
160 ])# _LT_SYS_MODULE_PATH_AIX
161
162
163@@ -1117,7 +1133,7 @@
164
165 AC_MSG_CHECKING([how to print strings])
166 # Test print first, because it will be a builtin if present.
167-if test "X`print -r -- -n 2>/dev/null`" = X-n && \
168+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
169 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
170 ECHO='print -r --'
171 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
172@@ -1161,6 +1177,39 @@
173 ])# _LT_PROG_ECHO_BACKSLASH
174
175
176+# _LT_WITH_SYSROOT
177+# ----------------
178+AC_DEFUN([_LT_WITH_SYSROOT],
179+[AC_MSG_CHECKING([for sysroot])
180+AC_ARG_WITH([libtool-sysroot],
181+[ --with-libtool-sysroot[=DIR] Search for dependent libraries within DIR
182+ (or the compiler's sysroot if not specified).],
183+[], [with_libtool_sysroot=no])
184+
185+dnl lt_sysroot will always be passed unquoted. We quote it here
186+dnl in case the user passed a directory name.
187+lt_sysroot=
188+case ${with_libtool_sysroot} in #(
189+ yes)
190+ if test "$GCC" = yes; then
191+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
192+ fi
193+ ;; #(
194+ /*)
195+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
196+ ;; #(
197+ no|'')
198+ ;; #(
199+ *)
200+ AC_MSG_RESULT([${with_libtool_sysroot}])
201+ AC_MSG_ERROR([The sysroot must be an absolute path.])
202+ ;;
203+esac
204+
205+ AC_MSG_RESULT([${lt_sysroot:-no}])
206+_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
207+[dependent libraries, and in which our libraries should be installed.])])
208+
209 # _LT_ENABLE_LOCK
210 # ---------------
211 m4_defun([_LT_ENABLE_LOCK],
212@@ -1307,14 +1356,47 @@
213 ])# _LT_ENABLE_LOCK
214
215
216+# _LT_PROG_AR
217+# -----------
218+m4_defun([_LT_PROG_AR],
219+[AC_CHECK_TOOLS(AR, [ar], false)
220+: ${AR=ar}
221+: ${AR_FLAGS=cru}
222+_LT_DECL([], [AR], [1], [The archiver])
223+_LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
224+
225+AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
226+ [lt_cv_ar_at_file=no
227+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
228+ [echo conftest.$ac_objext > conftest.lst
229+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
230+ AC_TRY_EVAL([lt_ar_try])
231+ if test "$ac_status" -eq 0; then
232+ # Ensure the archiver fails upon bogus file names.
233+ rm -f conftest.$ac_objext libconftest.a
234+ AC_TRY_EVAL([lt_ar_try])
235+ if test "$ac_status" -ne 0; then
236+ lt_cv_ar_at_file=@
237+ fi
238+ fi
239+ rm -f conftest.* libconftest.a
240+ ])
241+ ])
242+
243+if test "x$lt_cv_ar_at_file" = xno; then
244+ archiver_list_spec=
245+else
246+ archiver_list_spec=$lt_cv_ar_at_file
247+fi
248+_LT_DECL([], [archiver_list_spec], [1],
249+ [How to feed a file listing to the archiver])
250+])# _LT_PROG_AR
251+
252+
253 # _LT_CMD_OLD_ARCHIVE
254 # -------------------
255 m4_defun([_LT_CMD_OLD_ARCHIVE],
256-[AC_CHECK_TOOL(AR, ar, false)
257-test -z "$AR" && AR=ar
258-test -z "$AR_FLAGS" && AR_FLAGS=cru
259-_LT_DECL([], [AR], [1], [The archiver])
260-_LT_DECL([], [AR_FLAGS], [1])
261+[_LT_PROG_AR
262
263 AC_CHECK_TOOL(STRIP, strip, :)
264 test -z "$STRIP" && STRIP=:
265@@ -1610,7 +1692,7 @@
266 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
267 lt_status=$lt_dlunknown
268 cat > conftest.$ac_ext <<_LT_EOF
269-[#line __oline__ "configure"
270+[#line $LINENO "configure"
271 #include "confdefs.h"
272
273 #if HAVE_DLFCN_H
274@@ -1654,10 +1736,10 @@
275 /* When -fvisbility=hidden is used, assume the code has been annotated
276 correspondingly for the symbols needed. */
277 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
278-void fnord () __attribute__((visibility("default")));
279+int fnord () __attribute__((visibility("default")));
280 #endif
281
282-void fnord () { int i=42; }
283+int fnord () { return 42; }
284 int main ()
285 {
286 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
287@@ -2197,8 +2279,9 @@
288 need_version=no
289 need_lib_prefix=no
290
291- case $GCC,$host_os in
292- yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
293+ case $GCC,$cc_basename in
294+ yes,*)
295+ # gcc
296 library_names_spec='$libname.dll.a'
297 # DLL is installed to $(libdir)/../bin by postinstall_cmds
298 postinstall_cmds='base_file=`basename \${file}`~
299@@ -2231,13 +2314,71 @@
300 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
301 ;;
302 esac
303+ dynamic_linker='Win32 ld.exe'
304+ ;;
305+
306+ *,cl*)
307+ # Native MSVC
308+ libname_spec='$name'
309+ soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
310+ library_names_spec='${libname}.dll.lib'
311+
312+ case $build_os in
313+ mingw*)
314+ sys_lib_search_path_spec=
315+ lt_save_ifs=$IFS
316+ IFS=';'
317+ for lt_path in $LIB
318+ do
319+ IFS=$lt_save_ifs
320+ # Let DOS variable expansion print the short 8.3 style file name.
321+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
322+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
323+ done
324+ IFS=$lt_save_ifs
325+ # Convert to MSYS style.
326+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
327+ ;;
328+ cygwin*)
329+ # Convert to unix form, then to dos form, then back to unix form
330+ # but this time dos style (no spaces!) so that the unix form looks
331+ # like /cygdrive/c/PROGRA~1:/cygdr...
332+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
333+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
334+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
335+ ;;
336+ *)
337+ sys_lib_search_path_spec="$LIB"
338+ if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
339+ # It is most probably a Windows format PATH.
340+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
341+ else
342+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
343+ fi
344+ # FIXME: find the short name or the path components, as spaces are
345+ # common. (e.g. "Program Files" -> "PROGRA~1")
346+ ;;
347+ esac
348+
349+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
350+ postinstall_cmds='base_file=`basename \${file}`~
351+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
352+ dldir=$destdir/`dirname \$dlpath`~
353+ test -d \$dldir || mkdir -p \$dldir~
354+ $install_prog $dir/$dlname \$dldir/$dlname'
355+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
356+ dlpath=$dir/\$dldll~
357+ $RM \$dlpath'
358+ shlibpath_overrides_runpath=yes
359+ dynamic_linker='Win32 link.exe'
360 ;;
361
362 *)
363+ # Assume MSVC wrapper
364 library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
365+ dynamic_linker='Win32 ld.exe'
366 ;;
367 esac
368- dynamic_linker='Win32 ld.exe'
369 # FIXME: first we should search . and the directory the executable is in
370 shlibpath_var=PATH
371 ;;
372@@ -2333,7 +2474,7 @@
373 soname_spec='${libname}${release}${shared_ext}$major'
374 shlibpath_var=LIBRARY_PATH
375 shlibpath_overrides_runpath=yes
376- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
377+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
378 hardcode_into_libs=yes
379 ;;
380
381@@ -2941,6 +3082,11 @@
382 esac
383 reload_cmds='$LD$reload_flag -o $output$reload_objs'
384 case $host_os in
385+ cygwin* | mingw* | pw32* | cegcc*)
386+ if test "$GCC" != yes; then
387+ reload_cmds=false
388+ fi
389+ ;;
390 darwin*)
391 if test "$GCC" = yes; then
392 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
393@@ -3007,7 +3153,8 @@
394 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
395 lt_cv_file_magic_cmd='func_win32_libid'
396 else
397- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
398+ # Keep this pattern in sync with the one in func_win32_libid.
399+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
400 lt_cv_file_magic_cmd='$OBJDUMP -f'
401 fi
402 ;;
403@@ -3158,6 +3305,21 @@
404 ;;
405 esac
406 ])
407+
408+file_magic_glob=
409+want_nocaseglob=no
410+if test "$build" = "$host"; then
411+ case $host_os in
412+ mingw* | pw32*)
413+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
414+ want_nocaseglob=yes
415+ else
416+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"`
417+ fi
418+ ;;
419+ esac
420+fi
421+
422 file_magic_cmd=$lt_cv_file_magic_cmd
423 deplibs_check_method=$lt_cv_deplibs_check_method
424 test -z "$deplibs_check_method" && deplibs_check_method=unknown
425@@ -3165,7 +3327,11 @@
426 _LT_DECL([], [deplibs_check_method], [1],
427 [Method to check whether dependent libraries are shared objects])
428 _LT_DECL([], [file_magic_cmd], [1],
429- [Command to use when deplibs_check_method == "file_magic"])
430+ [Command to use when deplibs_check_method = "file_magic"])
431+_LT_DECL([], [file_magic_glob], [1],
432+ [How to find potential files when deplibs_check_method = "file_magic"])
433+_LT_DECL([], [want_nocaseglob], [1],
434+ [Find potential files using nocaseglob when deplibs_check_method = "file_magic"])
435 ])# _LT_CHECK_MAGIC_METHOD
436
437
438@@ -3268,6 +3434,67 @@
439 dnl AC_DEFUN([AM_PROG_NM], [])
440 dnl AC_DEFUN([AC_PROG_NM], [])
441
442+# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
443+# --------------------------------
444+# how to determine the name of the shared library
445+# associated with a specific link library.
446+# -- PORTME fill in with the dynamic library characteristics
447+m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB],
448+[m4_require([_LT_DECL_EGREP])
449+m4_require([_LT_DECL_OBJDUMP])
450+m4_require([_LT_DECL_DLLTOOL])
451+AC_CACHE_CHECK([how to associate runtime and link libraries],
452+lt_cv_sharedlib_from_linklib_cmd,
453+[lt_cv_sharedlib_from_linklib_cmd='unknown'
454+
455+case $host_os in
456+cygwin* | mingw* | pw32* | cegcc*)
457+ # two different shell functions defined in ltmain.sh
458+ # decide which to use based on capabilities of $DLLTOOL
459+ case `$DLLTOOL --help 2>&1` in
460+ *--identify-strict*)
461+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
462+ ;;
463+ *)
464+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
465+ ;;
466+ esac
467+ ;;
468+*)
469+ # fallback: assume linklib IS sharedlib
470+ lt_cv_sharedlib_from_linklib_cmd="$ECHO"
471+ ;;
472+esac
473+])
474+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
475+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
476+
477+_LT_DECL([], [sharedlib_from_linklib_cmd], [1],
478+ [Command to associate shared and link libraries])
479+])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB
480+
481+
482+# _LT_PATH_MANIFEST_TOOL
483+# ----------------------
484+# locate the manifest tool
485+m4_defun([_LT_PATH_MANIFEST_TOOL],
486+[AC_CHECK_TOOL(MANIFEST_TOOL, mt, :)
487+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
488+AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool],
489+ [lt_cv_path_mainfest_tool=no
490+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD
491+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
492+ cat conftest.err >&AS_MESSAGE_LOG_FD
493+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
494+ lt_cv_path_mainfest_tool=yes
495+ fi
496+ rm -f conftest*])
497+if test "x$lt_cv_path_mainfest_tool" != xyes; then
498+ MANIFEST_TOOL=:
499+fi
500+_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
501+])# _LT_PATH_MANIFEST_TOOL
502+
503
504 # LT_LIB_M
505 # --------
506@@ -3394,8 +3621,8 @@
507 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
508
509 # Transform an extracted symbol line into symbol name and symbol address
510-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
511-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
512+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'"
513+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
514
515 # Handle CRLF in mingw tool chain
516 opt_cr=
517@@ -3431,6 +3658,7 @@
518 else
519 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
520 fi
521+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
522
523 # Check to see that the pipe works correctly.
524 pipe_works=no
525@@ -3464,6 +3692,18 @@
526 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
527 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
528 cat <<_LT_EOF > conftest.$ac_ext
529+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
530+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
531+/* DATA imports from DLLs on WIN32 con't be const, because runtime
532+ relocations are performed -- see ld's documentation on pseudo-relocs. */
533+# define LT@&t@_DLSYM_CONST
534+#elif defined(__osf__)
535+/* This system does not cope well with relocations in const data. */
536+# define LT@&t@_DLSYM_CONST
537+#else
538+# define LT@&t@_DLSYM_CONST const
539+#endif
540+
541 #ifdef __cplusplus
542 extern "C" {
543 #endif
544@@ -3475,7 +3715,7 @@
545 cat <<_LT_EOF >> conftest.$ac_ext
546
547 /* The mapping between symbol names and symbols. */
548-const struct {
549+LT@&t@_DLSYM_CONST struct {
550 const char *name;
551 void *address;
552 }
553@@ -3501,15 +3741,15 @@
554 _LT_EOF
555 # Now try linking the two files.
556 mv conftest.$ac_objext conftstm.$ac_objext
557- lt_save_LIBS="$LIBS"
558- lt_save_CFLAGS="$CFLAGS"
559+ lt_globsym_save_LIBS=$LIBS
560+ lt_globsym_save_CFLAGS=$CFLAGS
561 LIBS="conftstm.$ac_objext"
562 CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
563 if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
564 pipe_works=yes
565 fi
566- LIBS="$lt_save_LIBS"
567- CFLAGS="$lt_save_CFLAGS"
568+ LIBS=$lt_globsym_save_LIBS
569+ CFLAGS=$lt_globsym_save_CFLAGS
570 else
571 echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
572 fi
573@@ -3542,6 +3782,13 @@
574 AC_MSG_RESULT(ok)
575 fi
576
577+# Response file support.
578+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
579+ nm_file_list_spec='@'
580+elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then
581+ nm_file_list_spec='@'
582+fi
583+
584 _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
585 [Take the output of nm and produce a listing of raw symbols and C names])
586 _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
587@@ -3552,6 +3799,8 @@
588 _LT_DECL([global_symbol_to_c_name_address_lib_prefix],
589 [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
590 [Transform the output of nm in a C name address pair when lib prefix is needed])
591+_LT_DECL([], [nm_file_list_spec], [1],
592+ [Specify filename containing input files for $NM])
593 ]) # _LT_CMD_GLOBAL_SYMBOLS
594
595
596@@ -3563,7 +3812,6 @@
597 _LT_TAGVAR(lt_prog_compiler_pic, $1)=
598 _LT_TAGVAR(lt_prog_compiler_static, $1)=
599
600-AC_MSG_CHECKING([for $compiler option to produce PIC])
601 m4_if([$1], [CXX], [
602 # C++ specific cases for pic, static, wl, etc.
603 if test "$GXX" = yes; then
604@@ -3668,6 +3916,12 @@
605 ;;
606 esac
607 ;;
608+ mingw* | cygwin* | os2* | pw32* | cegcc*)
609+ # This hack is so that the source file can tell whether it is being
610+ # built for inclusion in a dll (and should export symbols for example).
611+ m4_if([$1], [GCJ], [],
612+ [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
613+ ;;
614 dgux*)
615 case $cc_basename in
616 ec++*)
617@@ -3820,7 +4074,7 @@
618 ;;
619 solaris*)
620 case $cc_basename in
621- CC*)
622+ CC* | sunCC*)
623 # Sun C++ 4.2, 5.x and Centerline C++
624 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
625 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
626@@ -4042,6 +4296,12 @@
627 _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
628 _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
629 ;;
630+ nagfor*)
631+ # NAG Fortran compiler
632+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
633+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
634+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
635+ ;;
636 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
637 # Portland Group compilers (*not* the Pentium gcc compiler,
638 # which looks to be a dead project)
639@@ -4104,7 +4364,7 @@
640 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
641 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
642 case $cc_basename in
643- f77* | f90* | f95*)
644+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
645 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
646 *)
647 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
648@@ -4161,9 +4421,11 @@
649 _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
650 ;;
651 esac
652-AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
653-_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
654- [How to pass a linker flag through the compiler])
655+
656+AC_CACHE_CHECK([for $compiler option to produce PIC],
657+ [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)],
658+ [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
659+_LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)
660
661 #
662 # Check to make sure the PIC flag actually works.
663@@ -4182,6 +4444,8 @@
664 _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
665 [Additional compiler flags for building library objects])
666
667+_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
668+ [How to pass a linker flag through the compiler])
669 #
670 # Check to make sure the static flag actually works.
671 #
672@@ -4202,6 +4466,7 @@
673 m4_defun([_LT_LINKER_SHLIBS],
674 [AC_REQUIRE([LT_PATH_LD])dnl
675 AC_REQUIRE([LT_PATH_NM])dnl
676+m4_require([_LT_PATH_MANIFEST_TOOL])dnl
677 m4_require([_LT_FILEUTILS_DEFAULTS])dnl
678 m4_require([_LT_DECL_EGREP])dnl
679 m4_require([_LT_DECL_SED])dnl
680@@ -4210,6 +4475,7 @@
681 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
682 m4_if([$1], [CXX], [
683 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
684+ _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
685 case $host_os in
686 aix[[4-9]]*)
687 # If we're using GNU nm, then we don't want the "-C" option.
688@@ -4224,15 +4490,20 @@
689 ;;
690 pw32*)
691 _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
692- ;;
693+ ;;
694 cygwin* | mingw* | cegcc*)
695- _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
696- ;;
697+ case $cc_basename in
698+ cl*) ;;
699+ *)
700+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
701+ _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
702+ ;;
703+ esac
704+ ;;
705 *)
706 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
707- ;;
708+ ;;
709 esac
710- _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
711 ], [
712 runpath_var=
713 _LT_TAGVAR(allow_undefined_flag, $1)=
714@@ -4400,7 +4671,8 @@
715 _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
716 _LT_TAGVAR(always_export_symbols, $1)=no
717 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
718- _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
719+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
720+ _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
721
722 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
723 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
724@@ -4448,7 +4720,7 @@
725 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
726 && test "$tmp_diet" = no
727 then
728- tmp_addflag=
729+ tmp_addflag=' $pic_flag'
730 tmp_sharedflag='-shared'
731 case $cc_basename,$host_cpu in
732 pgcc*) # Portland Group C compiler
733@@ -4499,12 +4771,12 @@
734 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
735 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
736 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
737- _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
738+ _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
739 if test "x$supports_anon_versioning" = xyes; then
740 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
741 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
742 echo "local: *; };" >> $output_objdir/$libname.ver~
743- $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
744+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
745 fi
746 ;;
747 esac
748@@ -4518,8 +4790,8 @@
749 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
750 wlarc=
751 else
752- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
753- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
754+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
755+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
756 fi
757 ;;
758
759@@ -4537,8 +4809,8 @@
760
761 _LT_EOF
762 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
763- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
764- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
765+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
766+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
767 else
768 _LT_TAGVAR(ld_shlibs, $1)=no
769 fi
770@@ -4584,8 +4856,8 @@
771
772 *)
773 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
774- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
775- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
776+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
777+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
778 else
779 _LT_TAGVAR(ld_shlibs, $1)=no
780 fi
781@@ -4715,7 +4987,7 @@
782 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
783 # Determine the default libpath from the value encoded in an
784 # empty executable.
785- _LT_SYS_MODULE_PATH_AIX
786+ _LT_SYS_MODULE_PATH_AIX([$1])
787 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
788 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
789 else
790@@ -4726,7 +4998,7 @@
791 else
792 # Determine the default libpath from the value encoded in an
793 # empty executable.
794- _LT_SYS_MODULE_PATH_AIX
795+ _LT_SYS_MODULE_PATH_AIX([$1])
796 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
797 # Warning - without using the other run time loading flags,
798 # -berok will link without error, but may produce a broken library.
799@@ -4770,20 +5042,63 @@
800 # Microsoft Visual C++.
801 # hardcode_libdir_flag_spec is actually meaningless, as there is
802 # no search path for DLLs.
803- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
804- _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
805- # Tell ltmain to make .lib files, not .a files.
806- libext=lib
807- # Tell ltmain to make .dll files, not .so files.
808- shrext_cmds=".dll"
809- # FIXME: Setting linknames here is a bad hack.
810- _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
811- # The linker will automatically build a .lib file if we build a DLL.
812- _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
813- # FIXME: Should let the user specify the lib program.
814- _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
815- _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
816- _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
817+ case $cc_basename in
818+ cl*)
819+ # Native MSVC
820+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
821+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
822+ _LT_TAGVAR(always_export_symbols, $1)=yes
823+ _LT_TAGVAR(file_list_spec, $1)='@'
824+ # Tell ltmain to make .lib files, not .a files.
825+ libext=lib
826+ # Tell ltmain to make .dll files, not .so files.
827+ shrext_cmds=".dll"
828+ # FIXME: Setting linknames here is a bad hack.
829+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
830+ _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
831+ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
832+ else
833+ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
834+ fi~
835+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
836+ linknames='
837+ # The linker will not automatically build a static lib if we build a DLL.
838+ # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
839+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
840+ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
841+ # Don't use ranlib
842+ _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
843+ _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
844+ lt_tool_outputfile="@TOOL_OUTPUT@"~
845+ case $lt_outputfile in
846+ *.exe|*.EXE) ;;
847+ *)
848+ lt_outputfile="$lt_outputfile.exe"
849+ lt_tool_outputfile="$lt_tool_outputfile.exe"
850+ ;;
851+ esac~
852+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
853+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
854+ $RM "$lt_outputfile.manifest";
855+ fi'
856+ ;;
857+ *)
858+ # Assume MSVC wrapper
859+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
860+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
861+ # Tell ltmain to make .lib files, not .a files.
862+ libext=lib
863+ # Tell ltmain to make .dll files, not .so files.
864+ shrext_cmds=".dll"
865+ # FIXME: Setting linknames here is a bad hack.
866+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
867+ # The linker will automatically build a .lib file if we build a DLL.
868+ _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
869+ # FIXME: Should let the user specify the lib program.
870+ _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
871+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
872+ ;;
873+ esac
874 ;;
875
876 darwin* | rhapsody*)
877@@ -4821,7 +5136,7 @@
878
879 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
880 freebsd* | dragonfly*)
881- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
882+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
883 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
884 _LT_TAGVAR(hardcode_direct, $1)=yes
885 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
886@@ -4829,7 +5144,7 @@
887
888 hpux9*)
889 if test "$GCC" = yes; then
890- _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
891+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
892 else
893 _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
894 fi
895@@ -4845,7 +5160,7 @@
896
897 hpux10*)
898 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
899- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
900+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
901 else
902 _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
903 fi
904@@ -4869,10 +5184,10 @@
905 _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
906 ;;
907 ia64*)
908- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
909+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
910 ;;
911 *)
912- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
913+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
914 ;;
915 esac
916 else
917@@ -4919,16 +5234,31 @@
918
919 irix5* | irix6* | nonstopux*)
920 if test "$GCC" = yes; then
921- _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
922+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
923 # Try to use the -exported_symbol ld option, if it does not
924 # work, assume that -exports_file does not work either and
925 # implicitly export all symbols.
926- save_LDFLAGS="$LDFLAGS"
927- LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
928- AC_LINK_IFELSE(int foo(void) {},
929- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
930- )
931- LDFLAGS="$save_LDFLAGS"
932+ # This should be the same for all languages, so no per-tag cache variable.
933+ AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
934+ [lt_cv_irix_exported_symbol],
935+ [save_LDFLAGS="$LDFLAGS"
936+ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
937+ AC_LINK_IFELSE(
938+ [AC_LANG_SOURCE(
939+ [AC_LANG_CASE([C], [[int foo (void) { return 0; }]],
940+ [C++], [[int foo (void) { return 0; }]],
941+ [Fortran 77], [[
942+ subroutine foo
943+ end]],
944+ [Fortran], [[
945+ subroutine foo
946+ end]])])],
947+ [lt_cv_irix_exported_symbol=yes],
948+ [lt_cv_irix_exported_symbol=no])
949+ LDFLAGS="$save_LDFLAGS"])
950+ if test "$lt_cv_irix_exported_symbol" = yes; then
951+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
952+ fi
953 else
954 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
955 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
956@@ -5013,7 +5343,7 @@
957 osf4* | osf5*) # as osf3* with the addition of -msym flag
958 if test "$GCC" = yes; then
959 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
960- _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
961+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
962 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
963 else
964 _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
965@@ -5032,9 +5362,9 @@
966 _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
967 if test "$GCC" = yes; then
968 wlarc='${wl}'
969- _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
970+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
971 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
972- $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
973+ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
974 else
975 case `$CC -V 2>&1` in
976 *"Compilers 5.0"*)
977@@ -5306,8 +5636,6 @@
978 to runtime path list])
979 _LT_TAGDECL([], [link_all_deplibs], [0],
980 [Whether libtool must link a program against all its dependency libraries])
981-_LT_TAGDECL([], [fix_srcfile_path], [1],
982- [Fix the shell variable $srcfile for the compiler])
983 _LT_TAGDECL([], [always_export_symbols], [0],
984 [Set to "yes" if exported symbols are required])
985 _LT_TAGDECL([], [export_symbols_cmds], [2],
986@@ -5318,6 +5646,8 @@
987 [Symbols that must always be exported])
988 _LT_TAGDECL([], [prelink_cmds], [2],
989 [Commands necessary for linking programs (against libraries) with templates])
990+_LT_TAGDECL([], [postlink_cmds], [2],
991+ [Commands necessary for finishing linking programs])
992 _LT_TAGDECL([], [file_list_spec], [1],
993 [Specify filename containing input files])
994 dnl FIXME: Not yet implemented
995@@ -5419,6 +5749,7 @@
996 m4_defun([_LT_LANG_CXX_CONFIG],
997 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
998 m4_require([_LT_DECL_EGREP])dnl
999+m4_require([_LT_PATH_MANIFEST_TOOL])dnl
1000 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
1001 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
1002 (test "X$CXX" != "Xg++"))) ; then
1003@@ -5480,6 +5811,7 @@
1004
1005 # Allow CC to be a program name with arguments.
1006 lt_save_CC=$CC
1007+ lt_save_CFLAGS=$CFLAGS
1008 lt_save_LD=$LD
1009 lt_save_GCC=$GCC
1010 GCC=$GXX
1011@@ -5497,6 +5829,7 @@
1012 fi
1013 test -z "${LDCXX+set}" || LD=$LDCXX
1014 CC=${CXX-"c++"}
1015+ CFLAGS=$CXXFLAGS
1016 compiler=$CC
1017 _LT_TAGVAR(compiler, $1)=$CC
1018 _LT_CC_BASENAME([$compiler])
1019@@ -5518,8 +5851,8 @@
1020 # Check if GNU C++ uses GNU ld as the underlying linker, since the
1021 # archiving commands below assume that GNU ld is being used.
1022 if test "$with_gnu_ld" = yes; then
1023- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1024- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1025+ _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
1026+ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1027
1028 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
1029 _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
1030@@ -5660,7 +5993,7 @@
1031 _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
1032 # Determine the default libpath from the value encoded in an empty
1033 # executable.
1034- _LT_SYS_MODULE_PATH_AIX
1035+ _LT_SYS_MODULE_PATH_AIX([$1])
1036 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
1037
1038 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1039@@ -5672,7 +6005,7 @@
1040 else
1041 # Determine the default libpath from the value encoded in an
1042 # empty executable.
1043- _LT_SYS_MODULE_PATH_AIX
1044+ _LT_SYS_MODULE_PATH_AIX([$1])
1045 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
1046 # Warning - without using the other run time loading flags,
1047 # -berok will link without error, but may produce a broken library.
1048@@ -5714,29 +6047,75 @@
1049 ;;
1050
1051 cygwin* | mingw* | pw32* | cegcc*)
1052- # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
1053- # as there is no search path for DLLs.
1054- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
1055- _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
1056- _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
1057- _LT_TAGVAR(always_export_symbols, $1)=no
1058- _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
1059-
1060- if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
1061- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1062- # If the export-symbols file already is a .def file (1st line
1063- # is EXPORTS), use it as is; otherwise, prepend...
1064- _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1065- cp $export_symbols $output_objdir/$soname.def;
1066- else
1067- echo EXPORTS > $output_objdir/$soname.def;
1068- cat $export_symbols >> $output_objdir/$soname.def;
1069- fi~
1070- $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1071- else
1072- _LT_TAGVAR(ld_shlibs, $1)=no
1073- fi
1074- ;;
1075+ case $GXX,$cc_basename in
1076+ ,cl* | no,cl*)
1077+ # Native MSVC
1078+ # hardcode_libdir_flag_spec is actually meaningless, as there is
1079+ # no search path for DLLs.
1080+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
1081+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
1082+ _LT_TAGVAR(always_export_symbols, $1)=yes
1083+ _LT_TAGVAR(file_list_spec, $1)='@'
1084+ # Tell ltmain to make .lib files, not .a files.
1085+ libext=lib
1086+ # Tell ltmain to make .dll files, not .so files.
1087+ shrext_cmds=".dll"
1088+ # FIXME: Setting linknames here is a bad hack.
1089+ _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
1090+ _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1091+ $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
1092+ else
1093+ $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
1094+ fi~
1095+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
1096+ linknames='
1097+ # The linker will not automatically build a static lib if we build a DLL.
1098+ # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
1099+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
1100+ # Don't use ranlib
1101+ _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
1102+ _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
1103+ lt_tool_outputfile="@TOOL_OUTPUT@"~
1104+ case $lt_outputfile in
1105+ *.exe|*.EXE) ;;
1106+ *)
1107+ lt_outputfile="$lt_outputfile.exe"
1108+ lt_tool_outputfile="$lt_tool_outputfile.exe"
1109+ ;;
1110+ esac~
1111+ func_to_tool_file "$lt_outputfile"~
1112+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
1113+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
1114+ $RM "$lt_outputfile.manifest";
1115+ fi'
1116+ ;;
1117+ *)
1118+ # g++
1119+ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
1120+ # as there is no search path for DLLs.
1121+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
1122+ _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
1123+ _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
1124+ _LT_TAGVAR(always_export_symbols, $1)=no
1125+ _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
1126+
1127+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
1128+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1129+ # If the export-symbols file already is a .def file (1st line
1130+ # is EXPORTS), use it as is; otherwise, prepend...
1131+ _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
1132+ cp $export_symbols $output_objdir/$soname.def;
1133+ else
1134+ echo EXPORTS > $output_objdir/$soname.def;
1135+ cat $export_symbols >> $output_objdir/$soname.def;
1136+ fi~
1137+ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
1138+ else
1139+ _LT_TAGVAR(ld_shlibs, $1)=no
1140+ fi
1141+ ;;
1142+ esac
1143+ ;;
1144 darwin* | rhapsody*)
1145 _LT_DARWIN_LINKER_FEATURES($1)
1146 ;;
1147@@ -5811,7 +6190,7 @@
1148 ;;
1149 *)
1150 if test "$GXX" = yes; then
1151- _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
1152+ _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
1153 else
1154 # FIXME: insert proper C++ library support
1155 _LT_TAGVAR(ld_shlibs, $1)=no
1156@@ -5882,10 +6261,10 @@
1157 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1158 ;;
1159 ia64*)
1160- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1161+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1162 ;;
1163 *)
1164- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1165+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
1166 ;;
1167 esac
1168 fi
1169@@ -5926,9 +6305,9 @@
1170 *)
1171 if test "$GXX" = yes; then
1172 if test "$with_gnu_ld" = no; then
1173- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1174+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1175 else
1176- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
1177+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
1178 fi
1179 fi
1180 _LT_TAGVAR(link_all_deplibs, $1)=yes
1181@@ -5998,20 +6377,20 @@
1182 _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
1183 rm -rf $tpldir~
1184 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
1185- compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
1186+ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
1187 _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
1188 rm -rf $tpldir~
1189 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
1190- $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
1191+ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
1192 $RANLIB $oldlib'
1193 _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
1194 rm -rf $tpldir~
1195 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
1196- $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
1197+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
1198 _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
1199 rm -rf $tpldir~
1200 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
1201- $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
1202+ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
1203 ;;
1204 *) # Version 6 and above use weak symbols
1205 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
1206@@ -6206,7 +6585,7 @@
1207 _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1208 ;;
1209 *)
1210- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1211+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1212 ;;
1213 esac
1214
1215@@ -6252,7 +6631,7 @@
1216
1217 solaris*)
1218 case $cc_basename in
1219- CC*)
1220+ CC* | sunCC*)
1221 # Sun C++ 4.2, 5.x and Centerline C++
1222 _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
1223 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
1224@@ -6293,9 +6672,9 @@
1225 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
1226 _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
1227 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
1228- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
1229+ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
1230 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1231- $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
1232+ $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
1233
1234 # Commands to make compiler produce verbose output that lists
1235 # what "hidden" libraries, object files and flags are used when
1236@@ -6424,6 +6803,7 @@
1237 fi # test -n "$compiler"
1238
1239 CC=$lt_save_CC
1240+ CFLAGS=$lt_save_CFLAGS
1241 LDCXX=$LD
1242 LD=$lt_save_LD
1243 GCC=$lt_save_GCC
1244@@ -6438,6 +6818,29 @@
1245 ])# _LT_LANG_CXX_CONFIG
1246
1247
1248+# _LT_FUNC_STRIPNAME_CNF
1249+# ----------------------
1250+# func_stripname_cnf prefix suffix name
1251+# strip PREFIX and SUFFIX off of NAME.
1252+# PREFIX and SUFFIX must not contain globbing or regex special
1253+# characters, hashes, percent signs, but SUFFIX may contain a leading
1254+# dot (in which case that matches only a dot).
1255+#
1256+# This function is identical to the (non-XSI) version of func_stripname,
1257+# except this one can be used by m4 code that may be executed by configure,
1258+# rather than the libtool script.
1259+m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl
1260+AC_REQUIRE([_LT_DECL_SED])
1261+AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])
1262+func_stripname_cnf ()
1263+{
1264+ case ${2} in
1265+ .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
1266+ *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
1267+ esac
1268+} # func_stripname_cnf
1269+])# _LT_FUNC_STRIPNAME_CNF
1270+
1271 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
1272 # ---------------------------------
1273 # Figure out "hidden" library dependencies from verbose
1274@@ -6446,6 +6849,7 @@
1275 # objects, libraries and library flags.
1276 m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
1277 [m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1278+AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl
1279 # Dependencies to place before and after the object being linked:
1280 _LT_TAGVAR(predep_objects, $1)=
1281 _LT_TAGVAR(postdep_objects, $1)=
1282@@ -6496,6 +6900,13 @@
1283 };
1284 _LT_EOF
1285 ])
1286+
1287+_lt_libdeps_save_CFLAGS=$CFLAGS
1288+case "$CC $CFLAGS " in #(
1289+*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
1290+*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
1291+esac
1292+
1293 dnl Parse the compiler output and extract the necessary
1294 dnl objects, libraries and library flags.
1295 if AC_TRY_EVAL(ac_compile); then
1296@@ -6507,7 +6918,7 @@
1297 pre_test_object_deps_done=no
1298
1299 for p in `eval "$output_verbose_link_cmd"`; do
1300- case $p in
1301+ case ${prev}${p} in
1302
1303 -L* | -R* | -l*)
1304 # Some compilers place space between "-{L,R}" and the path.
1305@@ -6516,13 +6927,22 @@
1306 test $p = "-R"; then
1307 prev=$p
1308 continue
1309- else
1310- prev=
1311 fi
1312
1313+ # Expand the sysroot to ease extracting the directories later.
1314+ if test -z "$prev"; then
1315+ case $p in
1316+ -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
1317+ -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
1318+ -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
1319+ esac
1320+ fi
1321+ case $p in
1322+ =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
1323+ esac
1324 if test "$pre_test_object_deps_done" = no; then
1325- case $p in
1326- -L* | -R*)
1327+ case ${prev} in
1328+ -L | -R)
1329 # Internal compiler library paths should come after those
1330 # provided the user. The postdeps already come after the
1331 # user supplied libs so there is no need to process them.
1332@@ -6542,8 +6962,10 @@
1333 _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
1334 fi
1335 fi
1336+ prev=
1337 ;;
1338
1339+ *.lto.$objext) ;; # Ignore GCC LTO objects
1340 *.$objext)
1341 # This assumes that the test object file only shows up
1342 # once in the compiler output.
1343@@ -6579,6 +7001,7 @@
1344 fi
1345
1346 $RM -f confest.$objext
1347+CFLAGS=$_lt_libdeps_save_CFLAGS
1348
1349 # PORTME: override above test on systems where it is broken
1350 m4_if([$1], [CXX],
1351@@ -6615,7 +7038,7 @@
1352
1353 solaris*)
1354 case $cc_basename in
1355- CC*)
1356+ CC* | sunCC*)
1357 # The more standards-conforming stlport4 library is
1358 # incompatible with the Cstd library. Avoid specifying
1359 # it if it's in CXXFLAGS. Ignore libCrun as
1360@@ -6728,7 +7151,9 @@
1361 # Allow CC to be a program name with arguments.
1362 lt_save_CC="$CC"
1363 lt_save_GCC=$GCC
1364+ lt_save_CFLAGS=$CFLAGS
1365 CC=${F77-"f77"}
1366+ CFLAGS=$FFLAGS
1367 compiler=$CC
1368 _LT_TAGVAR(compiler, $1)=$CC
1369 _LT_CC_BASENAME([$compiler])
1370@@ -6782,6 +7207,7 @@
1371
1372 GCC=$lt_save_GCC
1373 CC="$lt_save_CC"
1374+ CFLAGS="$lt_save_CFLAGS"
1375 fi # test "$_lt_disable_F77" != yes
1376
1377 AC_LANG_POP
1378@@ -6858,7 +7284,9 @@
1379 # Allow CC to be a program name with arguments.
1380 lt_save_CC="$CC"
1381 lt_save_GCC=$GCC
1382+ lt_save_CFLAGS=$CFLAGS
1383 CC=${FC-"f95"}
1384+ CFLAGS=$FCFLAGS
1385 compiler=$CC
1386 GCC=$ac_cv_fc_compiler_gnu
1387
1388@@ -6914,7 +7342,8 @@
1389 fi # test -n "$compiler"
1390
1391 GCC=$lt_save_GCC
1392- CC="$lt_save_CC"
1393+ CC=$lt_save_CC
1394+ CFLAGS=$lt_save_CFLAGS
1395 fi # test "$_lt_disable_FC" != yes
1396
1397 AC_LANG_POP
1398@@ -6951,10 +7380,12 @@
1399 _LT_LINKER_BOILERPLATE
1400
1401 # Allow CC to be a program name with arguments.
1402-lt_save_CC="$CC"
1403+lt_save_CC=$CC
1404+lt_save_CFLAGS=$CFLAGS
1405 lt_save_GCC=$GCC
1406 GCC=yes
1407 CC=${GCJ-"gcj"}
1408+CFLAGS=$GCJFLAGS
1409 compiler=$CC
1410 _LT_TAGVAR(compiler, $1)=$CC
1411 _LT_TAGVAR(LD, $1)="$LD"
1412@@ -6985,7 +7416,8 @@
1413 AC_LANG_RESTORE
1414
1415 GCC=$lt_save_GCC
1416-CC="$lt_save_CC"
1417+CC=$lt_save_CC
1418+CFLAGS=$lt_save_CFLAGS
1419 ])# _LT_LANG_GCJ_CONFIG
1420
1421
1422@@ -7020,9 +7452,11 @@
1423
1424 # Allow CC to be a program name with arguments.
1425 lt_save_CC="$CC"
1426+lt_save_CFLAGS=$CFLAGS
1427 lt_save_GCC=$GCC
1428 GCC=
1429 CC=${RC-"windres"}
1430+CFLAGS=
1431 compiler=$CC
1432 _LT_TAGVAR(compiler, $1)=$CC
1433 _LT_CC_BASENAME([$compiler])
1434@@ -7035,7 +7469,8 @@
1435
1436 GCC=$lt_save_GCC
1437 AC_LANG_RESTORE
1438-CC="$lt_save_CC"
1439+CC=$lt_save_CC
1440+CFLAGS=$lt_save_CFLAGS
1441 ])# _LT_LANG_RC_CONFIG
1442
1443
1444@@ -7094,6 +7529,15 @@
1445 AC_SUBST([OBJDUMP])
1446 ])
1447
1448+# _LT_DECL_DLLTOOL
1449+# ----------------
1450+# Ensure DLLTOOL variable is set.
1451+m4_defun([_LT_DECL_DLLTOOL],
1452+[AC_CHECK_TOOL(DLLTOOL, dlltool, false)
1453+test -z "$DLLTOOL" && DLLTOOL=dlltool
1454+_LT_DECL([], [DLLTOOL], [1], [DLL creation program])
1455+AC_SUBST([DLLTOOL])
1456+])
1457
1458 # _LT_DECL_SED
1459 # ------------
1460@@ -7187,8 +7631,8 @@
1461 # Try some XSI features
1462 xsi_shell=no
1463 ( _lt_dummy="a/b/c"
1464- test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
1465- = c,a/b,, \
1466+ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
1467+ = c,a/b,b/c, \
1468 && eval 'test $(( 1 + 1 )) -eq 2 \
1469 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
1470 && xsi_shell=yes
1471@@ -7227,206 +7671,162 @@
1472 ])# _LT_CHECK_SHELL_FEATURES
1473
1474
1475-# _LT_PROG_XSI_SHELLFNS
1476-# ---------------------
1477-# Bourne and XSI compatible variants of some useful shell functions.
1478-m4_defun([_LT_PROG_XSI_SHELLFNS],
1479-[case $xsi_shell in
1480- yes)
1481- cat << \_LT_EOF >> "$cfgfile"
1482-
1483-# func_dirname file append nondir_replacement
1484-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
1485-# otherwise set result to NONDIR_REPLACEMENT.
1486-func_dirname ()
1487-{
1488- case ${1} in
1489- */*) func_dirname_result="${1%/*}${2}" ;;
1490- * ) func_dirname_result="${3}" ;;
1491- esac
1492-}
1493-
1494-# func_basename file
1495-func_basename ()
1496-{
1497- func_basename_result="${1##*/}"
1498-}
1499-
1500-# func_dirname_and_basename file append nondir_replacement
1501-# perform func_basename and func_dirname in a single function
1502-# call:
1503-# dirname: Compute the dirname of FILE. If nonempty,
1504-# add APPEND to the result, otherwise set result
1505-# to NONDIR_REPLACEMENT.
1506-# value returned in "$func_dirname_result"
1507-# basename: Compute filename of FILE.
1508-# value retuned in "$func_basename_result"
1509-# Implementation must be kept synchronized with func_dirname
1510-# and func_basename. For efficiency, we do not delegate to
1511-# those functions but instead duplicate the functionality here.
1512-func_dirname_and_basename ()
1513-{
1514- case ${1} in
1515- */*) func_dirname_result="${1%/*}${2}" ;;
1516- * ) func_dirname_result="${3}" ;;
1517- esac
1518- func_basename_result="${1##*/}"
1519-}
1520-
1521-# func_stripname prefix suffix name
1522-# strip PREFIX and SUFFIX off of NAME.
1523-# PREFIX and SUFFIX must not contain globbing or regex special
1524-# characters, hashes, percent signs, but SUFFIX may contain a leading
1525-# dot (in which case that matches only a dot).
1526-func_stripname ()
1527-{
1528- # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
1529- # positional parameters, so assign one to ordinary parameter first.
1530- func_stripname_result=${3}
1531- func_stripname_result=${func_stripname_result#"${1}"}
1532- func_stripname_result=${func_stripname_result%"${2}"}
1533-}
1534-
1535-# func_opt_split
1536-func_opt_split ()
1537-{
1538- func_opt_split_opt=${1%%=*}
1539- func_opt_split_arg=${1#*=}
1540-}
1541-
1542-# func_lo2o object
1543-func_lo2o ()
1544-{
1545- case ${1} in
1546- *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
1547- *) func_lo2o_result=${1} ;;
1548- esac
1549-}
1550-
1551-# func_xform libobj-or-source
1552-func_xform ()
1553-{
1554- func_xform_result=${1%.*}.lo
1555-}
1556-
1557-# func_arith arithmetic-term...
1558-func_arith ()
1559-{
1560- func_arith_result=$(( $[*] ))
1561-}
1562-
1563-# func_len string
1564-# STRING may not start with a hyphen.
1565-func_len ()
1566-{
1567- func_len_result=${#1}
1568-}
1569-
1570-_LT_EOF
1571- ;;
1572- *) # Bourne compatible functions.
1573- cat << \_LT_EOF >> "$cfgfile"
1574-
1575-# func_dirname file append nondir_replacement
1576-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
1577-# otherwise set result to NONDIR_REPLACEMENT.
1578-func_dirname ()
1579-{
1580- # Extract subdirectory from the argument.
1581- func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
1582- if test "X$func_dirname_result" = "X${1}"; then
1583- func_dirname_result="${3}"
1584- else
1585- func_dirname_result="$func_dirname_result${2}"
1586- fi
1587-}
1588-
1589-# func_basename file
1590-func_basename ()
1591-{
1592- func_basename_result=`$ECHO "${1}" | $SED "$basename"`
1593-}
1594+# _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY)
1595+# ------------------------------------------------------
1596+# In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and
1597+# '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY.
1598+m4_defun([_LT_PROG_FUNCTION_REPLACE],
1599+[dnl {
1600+sed -e '/^$1 ()$/,/^} # $1 /c\
1601+$1 ()\
1602+{\
1603+m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1])
1604+} # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \
1605+ && mv -f "$cfgfile.tmp" "$cfgfile" \
1606+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1607+test 0 -eq $? || _lt_function_replace_fail=:
1608+])
1609
1610-dnl func_dirname_and_basename
1611-dnl A portable version of this function is already defined in general.m4sh
1612-dnl so there is no need for it here.
1613
1614-# func_stripname prefix suffix name
1615-# strip PREFIX and SUFFIX off of NAME.
1616-# PREFIX and SUFFIX must not contain globbing or regex special
1617-# characters, hashes, percent signs, but SUFFIX may contain a leading
1618-# dot (in which case that matches only a dot).
1619-# func_strip_suffix prefix name
1620-func_stripname ()
1621-{
1622- case ${2} in
1623- .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
1624- *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
1625- esac
1626-}
1627+# _LT_PROG_REPLACE_SHELLFNS
1628+# -------------------------
1629+# Replace existing portable implementations of several shell functions with
1630+# equivalent extended shell implementations where those features are available..
1631+m4_defun([_LT_PROG_REPLACE_SHELLFNS],
1632+[if test x"$xsi_shell" = xyes; then
1633+ _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl
1634+ case ${1} in
1635+ */*) func_dirname_result="${1%/*}${2}" ;;
1636+ * ) func_dirname_result="${3}" ;;
1637+ esac])
1638+
1639+ _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl
1640+ func_basename_result="${1##*/}"])
1641+
1642+ _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl
1643+ case ${1} in
1644+ */*) func_dirname_result="${1%/*}${2}" ;;
1645+ * ) func_dirname_result="${3}" ;;
1646+ esac
1647+ func_basename_result="${1##*/}"])
1648
1649-# sed scripts:
1650-my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
1651-my_sed_long_arg='1s/^-[[^=]]*=//'
1652+ _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl
1653+ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
1654+ # positional parameters, so assign one to ordinary parameter first.
1655+ func_stripname_result=${3}
1656+ func_stripname_result=${func_stripname_result#"${1}"}
1657+ func_stripname_result=${func_stripname_result%"${2}"}])
1658+
1659+ _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl
1660+ func_split_long_opt_name=${1%%=*}
1661+ func_split_long_opt_arg=${1#*=}])
1662+
1663+ _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl
1664+ func_split_short_opt_arg=${1#??}
1665+ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}])
1666+
1667+ _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl
1668+ case ${1} in
1669+ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
1670+ *) func_lo2o_result=${1} ;;
1671+ esac])
1672
1673-# func_opt_split
1674-func_opt_split ()
1675-{
1676- func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
1677- func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
1678-}
1679+ _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo])
1680
1681-# func_lo2o object
1682-func_lo2o ()
1683-{
1684- func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
1685-}
1686+ _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))])
1687
1688-# func_xform libobj-or-source
1689-func_xform ()
1690-{
1691- func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'`
1692-}
1693+ _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}])
1694+fi
1695
1696-# func_arith arithmetic-term...
1697-func_arith ()
1698-{
1699- func_arith_result=`expr "$[@]"`
1700-}
1701+if test x"$lt_shell_append" = xyes; then
1702+ _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"])
1703
1704-# func_len string
1705-# STRING may not start with a hyphen.
1706-func_len ()
1707-{
1708- func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
1709-}
1710+ _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl
1711+ func_quote_for_eval "${2}"
1712+dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \
1713+ eval "${1}+=\\\\ \\$func_quote_for_eval_result"])
1714+
1715+ # Save a `func_append' function call where possible by direct use of '+='
1716+ sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
1717+ && mv -f "$cfgfile.tmp" "$cfgfile" \
1718+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1719+ test 0 -eq $? || _lt_function_replace_fail=:
1720+else
1721+ # Save a `func_append' function call even when '+=' is not available
1722+ sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
1723+ && mv -f "$cfgfile.tmp" "$cfgfile" \
1724+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
1725+ test 0 -eq $? || _lt_function_replace_fail=:
1726+fi
1727
1728-_LT_EOF
1729-esac
1730+if test x"$_lt_function_replace_fail" = x":"; then
1731+ AC_MSG_WARN([Unable to substitute extended shell functions in $ofile])
1732+fi
1733+])
1734
1735-case $lt_shell_append in
1736- yes)
1737- cat << \_LT_EOF >> "$cfgfile"
1738-
1739-# func_append var value
1740-# Append VALUE to the end of shell variable VAR.
1741-func_append ()
1742-{
1743- eval "$[1]+=\$[2]"
1744-}
1745-_LT_EOF
1746+# _LT_PATH_CONVERSION_FUNCTIONS
1747+# -----------------------------
1748+# Determine which file name conversion functions should be used by
1749+# func_to_host_file (and, implicitly, by func_to_host_path). These are needed
1750+# for certain cross-compile configurations and native mingw.
1751+m4_defun([_LT_PATH_CONVERSION_FUNCTIONS],
1752+[AC_REQUIRE([AC_CANONICAL_HOST])dnl
1753+AC_REQUIRE([AC_CANONICAL_BUILD])dnl
1754+AC_MSG_CHECKING([how to convert $build file names to $host format])
1755+AC_CACHE_VAL(lt_cv_to_host_file_cmd,
1756+[case $host in
1757+ *-*-mingw* )
1758+ case $build in
1759+ *-*-mingw* ) # actually msys
1760+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
1761+ ;;
1762+ *-*-cygwin* )
1763+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
1764+ ;;
1765+ * ) # otherwise, assume *nix
1766+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
1767+ ;;
1768+ esac
1769 ;;
1770- *)
1771- cat << \_LT_EOF >> "$cfgfile"
1772-
1773-# func_append var value
1774-# Append VALUE to the end of shell variable VAR.
1775-func_append ()
1776-{
1777- eval "$[1]=\$$[1]\$[2]"
1778-}
1779-
1780-_LT_EOF
1781+ *-*-cygwin* )
1782+ case $build in
1783+ *-*-mingw* ) # actually msys
1784+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
1785+ ;;
1786+ *-*-cygwin* )
1787+ lt_cv_to_host_file_cmd=func_convert_file_noop
1788+ ;;
1789+ * ) # otherwise, assume *nix
1790+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
1791+ ;;
1792+ esac
1793 ;;
1794- esac
1795+ * ) # unhandled hosts (and "normal" native builds)
1796+ lt_cv_to_host_file_cmd=func_convert_file_noop
1797+ ;;
1798+esac
1799+])
1800+to_host_file_cmd=$lt_cv_to_host_file_cmd
1801+AC_MSG_RESULT([$lt_cv_to_host_file_cmd])
1802+_LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd],
1803+ [0], [convert $build file names to $host format])dnl
1804+
1805+AC_MSG_CHECKING([how to convert $build file names to toolchain format])
1806+AC_CACHE_VAL(lt_cv_to_tool_file_cmd,
1807+[#assume ordinary cross tools, or native build.
1808+lt_cv_to_tool_file_cmd=func_convert_file_noop
1809+case $host in
1810+ *-*-mingw* )
1811+ case $build in
1812+ *-*-mingw* ) # actually msys
1813+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
1814+ ;;
1815+ esac
1816+ ;;
1817+esac
1818 ])
1819+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1820+AC_MSG_RESULT([$lt_cv_to_tool_file_cmd])
1821+_LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd],
1822+ [0], [convert $build files to toolchain format])dnl
1823+])# _LT_PATH_CONVERSION_FUNCTIONS
1824Index: binutils-2.21/ltmain.sh
1825===================================================================
1826--- binutils-2.21.orig/ltmain.sh 2010-01-09 13:11:32.000000000 -0800
1827+++ binutils-2.21/ltmain.sh 2011-01-07 10:49:16.406101000 -0800
1828@@ -1,10 +1,9 @@
1829-# Generated from ltmain.m4sh.
1830
1831-# libtool (GNU libtool 1.3134 2009-11-29) 2.2.7a
1832+# libtool (GNU libtool) 2.4
1833 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
1834
1835 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
1836-# 2007, 2008, 2009 Free Software Foundation, Inc.
1837+# 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
1838 # This is free software; see the source for copying conditions. There is NO
1839 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1840
1841@@ -38,7 +37,6 @@
1842 # -n, --dry-run display commands without modifying any files
1843 # --features display basic configuration information and exit
1844 # --mode=MODE use operation mode MODE
1845-# --no-finish let install mode avoid finish commands
1846 # --preserve-dup-deps don't remove duplicate dependency libraries
1847 # --quiet, --silent don't print informational messages
1848 # --no-quiet, --no-silent
1849@@ -71,17 +69,19 @@
1850 # compiler: $LTCC
1851 # compiler flags: $LTCFLAGS
1852 # linker: $LD (gnu? $with_gnu_ld)
1853-# $progname: (GNU libtool 1.3134 2009-11-29) 2.2.7a
1854+# $progname: (GNU libtool) 2.4
1855 # automake: $automake_version
1856 # autoconf: $autoconf_version
1857 #
1858 # Report bugs to <bug-libtool@gnu.org>.
1859+# GNU libtool home page: <http://www.gnu.org/software/libtool/>.
1860+# General help using GNU software: <http://www.gnu.org/gethelp/>.
1861
1862 PROGRAM=libtool
1863 PACKAGE=libtool
1864-VERSION=2.2.7a
1865-TIMESTAMP=" 1.3134 2009-11-29"
1866-package_revision=1.3134
1867+VERSION=2.4
1868+TIMESTAMP=""
1869+package_revision=1.3293
1870
1871 # Be Bourne compatible
1872 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1873@@ -106,9 +106,6 @@
1874 }
1875
1876 # NLS nuisances: We save the old values to restore during execute mode.
1877-# Only set LANG and LC_ALL to C if already set.
1878-# These must not be set unconditionally because not all systems understand
1879-# e.g. LANG=C (notably SCO).
1880 lt_user_locale=
1881 lt_safe_locale=
1882 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
1883@@ -121,15 +118,13 @@
1884 lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
1885 fi"
1886 done
1887+LC_ALL=C
1888+LANGUAGE=C
1889+export LANGUAGE LC_ALL
1890
1891 $lt_unset CDPATH
1892
1893
1894-
1895-
1896-
1897-
1898-
1899 # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
1900 # is ksh but when the shell is invoked as "sh" and the current value of
1901 # the _XPG environment variable is not equal to 1 (one), the special
1902@@ -140,7 +135,7 @@
1903
1904
1905 : ${CP="cp -f"}
1906-: ${ECHO=$as_echo}
1907+test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
1908 : ${EGREP="/bin/grep -E"}
1909 : ${FGREP="/bin/grep -F"}
1910 : ${GREP="/bin/grep"}
1911@@ -149,7 +144,7 @@
1912 : ${MKDIR="mkdir"}
1913 : ${MV="mv -f"}
1914 : ${RM="rm -f"}
1915-: ${SED="/mount/endor/wildenhu/local-x86_64/bin/sed"}
1916+: ${SED="/bin/sed"}
1917 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
1918 : ${Xsed="$SED -e 1s/^X//"}
1919
1920@@ -169,6 +164,27 @@
1921 dirname="s,/[^/]*$,,"
1922 basename="s,^.*/,,"
1923
1924+# func_dirname file append nondir_replacement
1925+# Compute the dirname of FILE. If nonempty, add APPEND to the result,
1926+# otherwise set result to NONDIR_REPLACEMENT.
1927+func_dirname ()
1928+{
1929+ func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
1930+ if test "X$func_dirname_result" = "X${1}"; then
1931+ func_dirname_result="${3}"
1932+ else
1933+ func_dirname_result="$func_dirname_result${2}"
1934+ fi
1935+} # func_dirname may be replaced by extended shell implementation
1936+
1937+
1938+# func_basename file
1939+func_basename ()
1940+{
1941+ func_basename_result=`$ECHO "${1}" | $SED "$basename"`
1942+} # func_basename may be replaced by extended shell implementation
1943+
1944+
1945 # func_dirname_and_basename file append nondir_replacement
1946 # perform func_basename and func_dirname in a single function
1947 # call:
1948@@ -183,17 +199,31 @@
1949 # those functions but instead duplicate the functionality here.
1950 func_dirname_and_basename ()
1951 {
1952- # Extract subdirectory from the argument.
1953- func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"`
1954- if test "X$func_dirname_result" = "X${1}"; then
1955- func_dirname_result="${3}"
1956- else
1957- func_dirname_result="$func_dirname_result${2}"
1958- fi
1959- func_basename_result=`$ECHO "${1}" | $SED -e "$basename"`
1960-}
1961+ # Extract subdirectory from the argument.
1962+ func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"`
1963+ if test "X$func_dirname_result" = "X${1}"; then
1964+ func_dirname_result="${3}"
1965+ else
1966+ func_dirname_result="$func_dirname_result${2}"
1967+ fi
1968+ func_basename_result=`$ECHO "${1}" | $SED -e "$basename"`
1969+} # func_dirname_and_basename may be replaced by extended shell implementation
1970+
1971+
1972+# func_stripname prefix suffix name
1973+# strip PREFIX and SUFFIX off of NAME.
1974+# PREFIX and SUFFIX must not contain globbing or regex special
1975+# characters, hashes, percent signs, but SUFFIX may contain a leading
1976+# dot (in which case that matches only a dot).
1977+# func_strip_suffix prefix name
1978+func_stripname ()
1979+{
1980+ case ${2} in
1981+ .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
1982+ *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
1983+ esac
1984+} # func_stripname may be replaced by extended shell implementation
1985
1986-# Generated shell functions inserted here.
1987
1988 # These SED scripts presuppose an absolute path with a trailing slash.
1989 pathcar='s,^/\([^/]*\).*$,\1,'
1990@@ -376,6 +406,15 @@
1991 # Same as above, but do not quote variable references.
1992 double_quote_subst='s/\(["`\\]\)/\\\1/g'
1993
1994+# Sed substitution that turns a string into a regex matching for the
1995+# string literally.
1996+sed_make_literal_regex='s,[].[^$\\*\/],\\&,g'
1997+
1998+# Sed substitution that converts a w32 file name or path
1999+# which contains forward slashes, into one that contains
2000+# (escaped) backslashes. A very naive implementation.
2001+lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
2002+
2003 # Re-`\' parameter expansions in output of double_quote_subst that were
2004 # `\'-ed in input to the same. If an odd number of `\' preceded a '$'
2005 # in input to double_quote_subst, that '$' was protected from expansion.
2006@@ -404,7 +443,7 @@
2007 # name if it has been set yet.
2008 func_echo ()
2009 {
2010- $ECHO "$progname${mode+: }$mode: $*"
2011+ $ECHO "$progname: ${opt_mode+$opt_mode: }$*"
2012 }
2013
2014 # func_verbose arg...
2015@@ -430,14 +469,14 @@
2016 # Echo program name prefixed message to standard error.
2017 func_error ()
2018 {
2019- $ECHO "$progname${mode+: }$mode: "${1+"$@"} 1>&2
2020+ $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
2021 }
2022
2023 # func_warning arg...
2024 # Echo program name prefixed warning message to standard error.
2025 func_warning ()
2026 {
2027- $opt_warning && $ECHO "$progname${mode+: }$mode: warning: "${1+"$@"} 1>&2
2028+ $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
2029
2030 # bash bug again:
2031 :
2032@@ -656,19 +695,35 @@
2033 fi
2034 }
2035
2036-
2037-
2038+# func_tr_sh
2039+# Turn $1 into a string suitable for a shell variable name.
2040+# Result is stored in $func_tr_sh_result. All characters
2041+# not in the set a-zA-Z0-9_ are replaced with '_'. Further,
2042+# if $1 begins with a digit, a '_' is prepended as well.
2043+func_tr_sh ()
2044+{
2045+ case $1 in
2046+ [0-9]* | *[!a-zA-Z0-9_]*)
2047+ func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'`
2048+ ;;
2049+ * )
2050+ func_tr_sh_result=$1
2051+ ;;
2052+ esac
2053+}
2054
2055
2056 # func_version
2057 # Echo version message to standard output and exit.
2058 func_version ()
2059 {
2060+ $opt_debug
2061+
2062 $SED -n '/(C)/!b go
2063 :more
2064 /\./!{
2065 N
2066- s/\n# //
2067+ s/\n# / /
2068 b more
2069 }
2070 :go
2071@@ -685,7 +740,9 @@
2072 # Echo short help message to standard output and exit.
2073 func_usage ()
2074 {
2075- $SED -n '/^# Usage:/,/^# *-h/ {
2076+ $opt_debug
2077+
2078+ $SED -n '/^# Usage:/,/^# *.*--help/ {
2079 s/^# //
2080 s/^# *$//
2081 s/\$progname/'$progname'/
2082@@ -701,7 +758,10 @@
2083 # unless 'noexit' is passed as argument.
2084 func_help ()
2085 {
2086+ $opt_debug
2087+
2088 $SED -n '/^# Usage:/,/# Report bugs to/ {
2089+ :print
2090 s/^# //
2091 s/^# *$//
2092 s*\$progname*'$progname'*
2093@@ -714,7 +774,11 @@
2094 s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
2095 s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
2096 p
2097- }' < "$progpath"
2098+ d
2099+ }
2100+ /^# .* home page:/b print
2101+ /^# General help using/b print
2102+ ' < "$progpath"
2103 ret=$?
2104 if test -z "$1"; then
2105 exit $ret
2106@@ -726,12 +790,39 @@
2107 # exit_cmd.
2108 func_missing_arg ()
2109 {
2110- func_error "missing argument for $1"
2111+ $opt_debug
2112+
2113+ func_error "missing argument for $1."
2114 exit_cmd=exit
2115 }
2116
2117-exit_cmd=:
2118
2119+# func_split_short_opt shortopt
2120+# Set func_split_short_opt_name and func_split_short_opt_arg shell
2121+# variables after splitting SHORTOPT after the 2nd character.
2122+func_split_short_opt ()
2123+{
2124+ my_sed_short_opt='1s/^\(..\).*$/\1/;q'
2125+ my_sed_short_rest='1s/^..\(.*\)$/\1/;q'
2126+
2127+ func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"`
2128+ func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"`
2129+} # func_split_short_opt may be replaced by extended shell implementation
2130+
2131+
2132+# func_split_long_opt longopt
2133+# Set func_split_long_opt_name and func_split_long_opt_arg shell
2134+# variables after splitting LONGOPT at the `=' sign.
2135+func_split_long_opt ()
2136+{
2137+ my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q'
2138+ my_sed_long_arg='1s/^--[^=]*=//'
2139+
2140+ func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"`
2141+ func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"`
2142+} # func_split_long_opt may be replaced by extended shell implementation
2143+
2144+exit_cmd=:
2145
2146
2147
2148@@ -741,26 +832,64 @@
2149 magic_exe="%%%MAGIC EXE variable%%%"
2150
2151 # Global variables.
2152-# $mode is unset
2153 nonopt=
2154-execute_dlfiles=
2155 preserve_args=
2156 lo2o="s/\\.lo\$/.${objext}/"
2157 o2lo="s/\\.${objext}\$/.lo/"
2158 extracted_archives=
2159 extracted_serial=0
2160
2161-opt_dry_run=false
2162-opt_finish=:
2163-opt_duplicate_deps=false
2164-opt_silent=false
2165-opt_debug=:
2166-
2167 # If this variable is set in any of the actions, the command in it
2168 # will be execed at the end. This prevents here-documents from being
2169 # left over by shells.
2170 exec_cmd=
2171
2172+# func_append var value
2173+# Append VALUE to the end of shell variable VAR.
2174+func_append ()
2175+{
2176+ eval "${1}=\$${1}\${2}"
2177+} # func_append may be replaced by extended shell implementation
2178+
2179+# func_append_quoted var value
2180+# Quote VALUE and append to the end of shell variable VAR, separated
2181+# by a space.
2182+func_append_quoted ()
2183+{
2184+ func_quote_for_eval "${2}"
2185+ eval "${1}=\$${1}\\ \$func_quote_for_eval_result"
2186+} # func_append_quoted may be replaced by extended shell implementation
2187+
2188+
2189+# func_arith arithmetic-term...
2190+func_arith ()
2191+{
2192+ func_arith_result=`expr "${@}"`
2193+} # func_arith may be replaced by extended shell implementation
2194+
2195+
2196+# func_len string
2197+# STRING may not start with a hyphen.
2198+func_len ()
2199+{
2200+ func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len`
2201+} # func_len may be replaced by extended shell implementation
2202+
2203+
2204+# func_lo2o object
2205+func_lo2o ()
2206+{
2207+ func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
2208+} # func_lo2o may be replaced by extended shell implementation
2209+
2210+
2211+# func_xform libobj-or-source
2212+func_xform ()
2213+{
2214+ func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
2215+} # func_xform may be replaced by extended shell implementation
2216+
2217+
2218 # func_fatal_configuration arg...
2219 # Echo program name prefixed message to standard error, followed by
2220 # a configuration failure hint, and exit.
2221@@ -850,130 +979,204 @@
2222 esac
2223 }
2224
2225-# Parse options once, thoroughly. This comes as soon as possible in
2226-# the script to make things like `libtool --version' happen quickly.
2227+# func_check_version_match
2228+# Ensure that we are using m4 macros, and libtool script from the same
2229+# release of libtool.
2230+func_check_version_match ()
2231 {
2232+ if test "$package_revision" != "$macro_revision"; then
2233+ if test "$VERSION" != "$macro_version"; then
2234+ if test -z "$macro_version"; then
2235+ cat >&2 <<_LT_EOF
2236+$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
2237+$progname: definition of this LT_INIT comes from an older release.
2238+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
2239+$progname: and run autoconf again.
2240+_LT_EOF
2241+ else
2242+ cat >&2 <<_LT_EOF
2243+$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
2244+$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
2245+$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
2246+$progname: and run autoconf again.
2247+_LT_EOF
2248+ fi
2249+ else
2250+ cat >&2 <<_LT_EOF
2251+$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
2252+$progname: but the definition of this LT_INIT comes from revision $macro_revision.
2253+$progname: You should recreate aclocal.m4 with macros from revision $package_revision
2254+$progname: of $PACKAGE $VERSION and run autoconf again.
2255+_LT_EOF
2256+ fi
2257+
2258+ exit $EXIT_MISMATCH
2259+ fi
2260+}
2261+
2262+
2263+# Shorthand for --mode=foo, only valid as the first argument
2264+case $1 in
2265+clean|clea|cle|cl)
2266+ shift; set dummy --mode clean ${1+"$@"}; shift
2267+ ;;
2268+compile|compil|compi|comp|com|co|c)
2269+ shift; set dummy --mode compile ${1+"$@"}; shift
2270+ ;;
2271+execute|execut|execu|exec|exe|ex|e)
2272+ shift; set dummy --mode execute ${1+"$@"}; shift
2273+ ;;
2274+finish|finis|fini|fin|fi|f)
2275+ shift; set dummy --mode finish ${1+"$@"}; shift
2276+ ;;
2277+install|instal|insta|inst|ins|in|i)
2278+ shift; set dummy --mode install ${1+"$@"}; shift
2279+ ;;
2280+link|lin|li|l)
2281+ shift; set dummy --mode link ${1+"$@"}; shift
2282+ ;;
2283+uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
2284+ shift; set dummy --mode uninstall ${1+"$@"}; shift
2285+ ;;
2286+esac
2287
2288- # Shorthand for --mode=foo, only valid as the first argument
2289- case $1 in
2290- clean|clea|cle|cl)
2291- shift; set dummy --mode clean ${1+"$@"}; shift
2292- ;;
2293- compile|compil|compi|comp|com|co|c)
2294- shift; set dummy --mode compile ${1+"$@"}; shift
2295- ;;
2296- execute|execut|execu|exec|exe|ex|e)
2297- shift; set dummy --mode execute ${1+"$@"}; shift
2298- ;;
2299- finish|finis|fini|fin|fi|f)
2300- shift; set dummy --mode finish ${1+"$@"}; shift
2301- ;;
2302- install|instal|insta|inst|ins|in|i)
2303- shift; set dummy --mode install ${1+"$@"}; shift
2304- ;;
2305- link|lin|li|l)
2306- shift; set dummy --mode link ${1+"$@"}; shift
2307- ;;
2308- uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
2309- shift; set dummy --mode uninstall ${1+"$@"}; shift
2310- ;;
2311- esac
2312
2313- # Parse non-mode specific arguments:
2314- while test "$#" -gt 0; do
2315+
2316+# Option defaults:
2317+opt_debug=:
2318+opt_dry_run=false
2319+opt_config=false
2320+opt_preserve_dup_deps=false
2321+opt_features=false
2322+opt_finish=false
2323+opt_help=false
2324+opt_help_all=false
2325+opt_silent=:
2326+opt_verbose=:
2327+opt_silent=false
2328+opt_verbose=false
2329+
2330+
2331+# Parse options once, thoroughly. This comes as soon as possible in the
2332+# script to make things like `--version' happen as quickly as we can.
2333+{
2334+ # this just eases exit handling
2335+ while test $# -gt 0; do
2336 opt="$1"
2337 shift
2338-
2339 case $opt in
2340- --config) func_config ;;
2341-
2342- --debug) preserve_args="$preserve_args $opt"
2343+ --debug|-x) opt_debug='set -x'
2344 func_echo "enabling shell trace mode"
2345- opt_debug='set -x'
2346 $opt_debug
2347 ;;
2348-
2349- -dlopen) test "$#" -eq 0 && func_missing_arg "$opt" && break
2350- execute_dlfiles="$execute_dlfiles $1"
2351- shift
2352+ --dry-run|--dryrun|-n)
2353+ opt_dry_run=:
2354 ;;
2355-
2356- --dry-run | -n) opt_dry_run=: ;;
2357- --features) func_features ;;
2358- --finish) mode="finish" ;;
2359- --no-finish) opt_finish=false ;;
2360-
2361- --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break
2362- case $1 in
2363- # Valid mode arguments:
2364- clean) ;;
2365- compile) ;;
2366- execute) ;;
2367- finish) ;;
2368- install) ;;
2369- link) ;;
2370- relink) ;;
2371- uninstall) ;;
2372-
2373- # Catch anything else as an error
2374- *) func_error "invalid argument for $opt"
2375- exit_cmd=exit
2376- break
2377- ;;
2378- esac
2379-
2380- mode="$1"
2381+ --config)
2382+ opt_config=:
2383+func_config
2384+ ;;
2385+ --dlopen|-dlopen)
2386+ optarg="$1"
2387+ opt_dlopen="${opt_dlopen+$opt_dlopen
2388+}$optarg"
2389 shift
2390 ;;
2391-
2392 --preserve-dup-deps)
2393- opt_duplicate_deps=: ;;
2394-
2395- --quiet|--silent) preserve_args="$preserve_args $opt"
2396- opt_silent=:
2397- opt_verbose=false
2398+ opt_preserve_dup_deps=:
2399 ;;
2400-
2401- --no-quiet|--no-silent)
2402- preserve_args="$preserve_args $opt"
2403- opt_silent=false
2404+ --features)
2405+ opt_features=:
2406+func_features
2407 ;;
2408-
2409- --verbose| -v) preserve_args="$preserve_args $opt"
2410+ --finish)
2411+ opt_finish=:
2412+set dummy --mode finish ${1+"$@"}; shift
2413+ ;;
2414+ --help)
2415+ opt_help=:
2416+ ;;
2417+ --help-all)
2418+ opt_help_all=:
2419+opt_help=': help-all'
2420+ ;;
2421+ --mode)
2422+ test $# = 0 && func_missing_arg $opt && break
2423+ optarg="$1"
2424+ opt_mode="$optarg"
2425+case $optarg in
2426+ # Valid mode arguments:
2427+ clean|compile|execute|finish|install|link|relink|uninstall) ;;
2428+
2429+ # Catch anything else as an error
2430+ *) func_error "invalid argument for $opt"
2431+ exit_cmd=exit
2432+ break
2433+ ;;
2434+esac
2435+ shift
2436+ ;;
2437+ --no-silent|--no-quiet)
2438 opt_silent=false
2439- opt_verbose=:
2440+func_append preserve_args " $opt"
2441 ;;
2442-
2443- --no-verbose) preserve_args="$preserve_args $opt"
2444+ --no-verbose)
2445 opt_verbose=false
2446+func_append preserve_args " $opt"
2447 ;;
2448-
2449- --tag) test "$#" -eq 0 && func_missing_arg "$opt" && break
2450- preserve_args="$preserve_args $opt $1"
2451- func_enable_tag "$1" # tagname is set here
2452+ --silent|--quiet)
2453+ opt_silent=:
2454+func_append preserve_args " $opt"
2455+ opt_verbose=false
2456+ ;;
2457+ --verbose|-v)
2458+ opt_verbose=:
2459+func_append preserve_args " $opt"
2460+opt_silent=false
2461+ ;;
2462+ --tag)
2463+ test $# = 0 && func_missing_arg $opt && break
2464+ optarg="$1"
2465+ opt_tag="$optarg"
2466+func_append preserve_args " $opt $optarg"
2467+func_enable_tag "$optarg"
2468 shift
2469 ;;
2470
2471+ -\?|-h) func_usage ;;
2472+ --help) func_help ;;
2473+ --version) func_version ;;
2474+
2475 # Separate optargs to long options:
2476- -dlopen=*|--mode=*|--tag=*)
2477- func_opt_split "$opt"
2478- set dummy "$func_opt_split_opt" "$func_opt_split_arg" ${1+"$@"}
2479+ --*=*)
2480+ func_split_long_opt "$opt"
2481+ set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"}
2482 shift
2483 ;;
2484
2485- -\?|-h) func_usage ;;
2486- --help) opt_help=: ;;
2487- --help-all) opt_help=': help-all' ;;
2488- --version) func_version ;;
2489-
2490- -*) func_fatal_help "unrecognized option \`$opt'" ;;
2491-
2492- *) nonopt="$opt"
2493- break
2494+ # Separate non-argument short options:
2495+ -\?*|-h*|-n*|-v*)
2496+ func_split_short_opt "$opt"
2497+ set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"}
2498+ shift
2499 ;;
2500+
2501+ --) break ;;
2502+ -*) func_fatal_help "unrecognized option \`$opt'" ;;
2503+ *) set dummy "$opt" ${1+"$@"}; shift; break ;;
2504 esac
2505 done
2506
2507+ # Validate options:
2508+
2509+ # save first non-option argument
2510+ if test "$#" -gt 0; then
2511+ nonopt="$opt"
2512+ shift
2513+ fi
2514+
2515+ # preserve --debug
2516+ test "$opt_debug" = : || func_append preserve_args " --debug"
2517
2518 case $host in
2519 *cygwin* | *mingw* | *pw32* | *cegcc*)
2520@@ -981,82 +1184,44 @@
2521 opt_duplicate_compiler_generated_deps=:
2522 ;;
2523 *)
2524- opt_duplicate_compiler_generated_deps=$opt_duplicate_deps
2525+ opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
2526 ;;
2527 esac
2528
2529- # Having warned about all mis-specified options, bail out if
2530- # anything was wrong.
2531- $exit_cmd $EXIT_FAILURE
2532-}
2533+ $opt_help || {
2534+ # Sanity checks first:
2535+ func_check_version_match
2536
2537-# func_check_version_match
2538-# Ensure that we are using m4 macros, and libtool script from the same
2539-# release of libtool.
2540-func_check_version_match ()
2541-{
2542- if test "$package_revision" != "$macro_revision"; then
2543- if test "$VERSION" != "$macro_version"; then
2544- if test -z "$macro_version"; then
2545- cat >&2 <<_LT_EOF
2546-$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
2547-$progname: definition of this LT_INIT comes from an older release.
2548-$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
2549-$progname: and run autoconf again.
2550-_LT_EOF
2551- else
2552- cat >&2 <<_LT_EOF
2553-$progname: Version mismatch error. This is $PACKAGE $VERSION, but the
2554-$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
2555-$progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION
2556-$progname: and run autoconf again.
2557-_LT_EOF
2558- fi
2559- else
2560- cat >&2 <<_LT_EOF
2561-$progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision,
2562-$progname: but the definition of this LT_INIT comes from revision $macro_revision.
2563-$progname: You should recreate aclocal.m4 with macros from revision $package_revision
2564-$progname: of $PACKAGE $VERSION and run autoconf again.
2565-_LT_EOF
2566+ if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
2567+ func_fatal_configuration "not configured to build any kind of library"
2568 fi
2569
2570- exit $EXIT_MISMATCH
2571- fi
2572-}
2573-
2574+ # Darwin sucks
2575+ eval std_shrext=\"$shrext_cmds\"
2576
2577-## ----------- ##
2578-## Main. ##
2579-## ----------- ##
2580-
2581-$opt_help || {
2582- # Sanity checks first:
2583- func_check_version_match
2584-
2585- if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
2586- func_fatal_configuration "not configured to build any kind of library"
2587- fi
2588+ # Only execute mode is allowed to have -dlopen flags.
2589+ if test -n "$opt_dlopen" && test "$opt_mode" != execute; then
2590+ func_error "unrecognized option \`-dlopen'"
2591+ $ECHO "$help" 1>&2
2592+ exit $EXIT_FAILURE
2593+ fi
2594
2595- test -z "$mode" && func_fatal_error "error: you must specify a MODE."
2596+ # Change the help message to a mode-specific one.
2597+ generic_help="$help"
2598+ help="Try \`$progname --help --mode=$opt_mode' for more information."
2599+ }
2600
2601
2602- # Darwin sucks
2603- eval "std_shrext=\"$shrext_cmds\""
2604+ # Bail if the options were screwed
2605+ $exit_cmd $EXIT_FAILURE
2606+}
2607
2608
2609- # Only execute mode is allowed to have -dlopen flags.
2610- if test -n "$execute_dlfiles" && test "$mode" != execute; then
2611- func_error "unrecognized option \`-dlopen'"
2612- $ECHO "$help" 1>&2
2613- exit $EXIT_FAILURE
2614- fi
2615
2616- # Change the help message to a mode-specific one.
2617- generic_help="$help"
2618- help="Try \`$progname --help --mode=$mode' for more information."
2619-}
2620
2621+## ----------- ##
2622+## Main. ##
2623+## ----------- ##
2624
2625 # func_lalib_p file
2626 # True iff FILE is a libtool `.la' library or `.lo' object file.
2627@@ -1121,12 +1286,9 @@
2628 # temporary ltwrapper_script.
2629 func_ltwrapper_scriptname ()
2630 {
2631- func_ltwrapper_scriptname_result=""
2632- if func_ltwrapper_executable_p "$1"; then
2633- func_dirname_and_basename "$1" "" "."
2634- func_stripname '' '.exe' "$func_basename_result"
2635- func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
2636- fi
2637+ func_dirname_and_basename "$1" "" "."
2638+ func_stripname '' '.exe' "$func_basename_result"
2639+ func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
2640 }
2641
2642 # func_ltwrapper_p file
2643@@ -1149,7 +1311,7 @@
2644 save_ifs=$IFS; IFS='~'
2645 for cmd in $1; do
2646 IFS=$save_ifs
2647- eval "cmd=\"$cmd\""
2648+ eval cmd=\"$cmd\"
2649 func_show_eval "$cmd" "${2-:}"
2650 done
2651 IFS=$save_ifs
2652@@ -1172,6 +1334,37 @@
2653 }
2654
2655
2656+# func_resolve_sysroot PATH
2657+# Replace a leading = in PATH with a sysroot. Store the result into
2658+# func_resolve_sysroot_result
2659+func_resolve_sysroot ()
2660+{
2661+ func_resolve_sysroot_result=$1
2662+ case $func_resolve_sysroot_result in
2663+ =*)
2664+ func_stripname '=' '' "$func_resolve_sysroot_result"
2665+ func_resolve_sysroot_result=$lt_sysroot$func_stripname_result
2666+ ;;
2667+ esac
2668+}
2669+
2670+# func_replace_sysroot PATH
2671+# If PATH begins with the sysroot, replace it with = and
2672+# store the result into func_replace_sysroot_result.
2673+func_replace_sysroot ()
2674+{
2675+ case "$lt_sysroot:$1" in
2676+ ?*:"$lt_sysroot"*)
2677+ func_stripname "$lt_sysroot" '' "$1"
2678+ func_replace_sysroot_result="=$func_stripname_result"
2679+ ;;
2680+ *)
2681+ # Including no sysroot.
2682+ func_replace_sysroot_result=$1
2683+ ;;
2684+ esac
2685+}
2686+
2687 # func_infer_tag arg
2688 # Infer tagged configuration to use if any are available and
2689 # if one wasn't chosen via the "--tag" command line option.
2690@@ -1184,8 +1377,7 @@
2691 if test -n "$available_tags" && test -z "$tagname"; then
2692 CC_quoted=
2693 for arg in $CC; do
2694- func_quote_for_eval "$arg"
2695- CC_quoted="$CC_quoted $func_quote_for_eval_result"
2696+ func_append_quoted CC_quoted "$arg"
2697 done
2698 CC_expanded=`func_echo_all $CC`
2699 CC_quoted_expanded=`func_echo_all $CC_quoted`
2700@@ -1204,8 +1396,7 @@
2701 CC_quoted=
2702 for arg in $CC; do
2703 # Double-quote args containing other shell metacharacters.
2704- func_quote_for_eval "$arg"
2705- CC_quoted="$CC_quoted $func_quote_for_eval_result"
2706+ func_append_quoted CC_quoted "$arg"
2707 done
2708 CC_expanded=`func_echo_all $CC`
2709 CC_quoted_expanded=`func_echo_all $CC_quoted`
2710@@ -1274,6 +1465,486 @@
2711 }
2712 }
2713
2714+
2715+##################################################
2716+# FILE NAME AND PATH CONVERSION HELPER FUNCTIONS #
2717+##################################################
2718+
2719+# func_convert_core_file_wine_to_w32 ARG
2720+# Helper function used by file name conversion functions when $build is *nix,
2721+# and $host is mingw, cygwin, or some other w32 environment. Relies on a
2722+# correctly configured wine environment available, with the winepath program
2723+# in $build's $PATH.
2724+#
2725+# ARG is the $build file name to be converted to w32 format.
2726+# Result is available in $func_convert_core_file_wine_to_w32_result, and will
2727+# be empty on error (or when ARG is empty)
2728+func_convert_core_file_wine_to_w32 ()
2729+{
2730+ $opt_debug
2731+ func_convert_core_file_wine_to_w32_result="$1"
2732+ if test -n "$1"; then
2733+ # Unfortunately, winepath does not exit with a non-zero error code, so we
2734+ # are forced to check the contents of stdout. On the other hand, if the
2735+ # command is not found, the shell will set an exit code of 127 and print
2736+ # *an error message* to stdout. So we must check for both error code of
2737+ # zero AND non-empty stdout, which explains the odd construction:
2738+ func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
2739+ if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then
2740+ func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
2741+ $SED -e "$lt_sed_naive_backslashify"`
2742+ else
2743+ func_convert_core_file_wine_to_w32_result=
2744+ fi
2745+ fi
2746+}
2747+# end: func_convert_core_file_wine_to_w32
2748+
2749+
2750+# func_convert_core_path_wine_to_w32 ARG
2751+# Helper function used by path conversion functions when $build is *nix, and
2752+# $host is mingw, cygwin, or some other w32 environment. Relies on a correctly
2753+# configured wine environment available, with the winepath program in $build's
2754+# $PATH. Assumes ARG has no leading or trailing path separator characters.
2755+#
2756+# ARG is path to be converted from $build format to win32.
2757+# Result is available in $func_convert_core_path_wine_to_w32_result.
2758+# Unconvertible file (directory) names in ARG are skipped; if no directory names
2759+# are convertible, then the result may be empty.
2760+func_convert_core_path_wine_to_w32 ()
2761+{
2762+ $opt_debug
2763+ # unfortunately, winepath doesn't convert paths, only file names
2764+ func_convert_core_path_wine_to_w32_result=""
2765+ if test -n "$1"; then
2766+ oldIFS=$IFS
2767+ IFS=:
2768+ for func_convert_core_path_wine_to_w32_f in $1; do
2769+ IFS=$oldIFS
2770+ func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
2771+ if test -n "$func_convert_core_file_wine_to_w32_result" ; then
2772+ if test -z "$func_convert_core_path_wine_to_w32_result"; then
2773+ func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result"
2774+ else
2775+ func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
2776+ fi
2777+ fi
2778+ done
2779+ IFS=$oldIFS
2780+ fi
2781+}
2782+# end: func_convert_core_path_wine_to_w32
2783+
2784+
2785+# func_cygpath ARGS...
2786+# Wrapper around calling the cygpath program via LT_CYGPATH. This is used when
2787+# when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2)
2788+# $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or
2789+# (2), returns the Cygwin file name or path in func_cygpath_result (input
2790+# file name or path is assumed to be in w32 format, as previously converted
2791+# from $build's *nix or MSYS format). In case (3), returns the w32 file name
2792+# or path in func_cygpath_result (input file name or path is assumed to be in
2793+# Cygwin format). Returns an empty string on error.
2794+#
2795+# ARGS are passed to cygpath, with the last one being the file name or path to
2796+# be converted.
2797+#
2798+# Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH
2799+# environment variable; do not put it in $PATH.
2800+func_cygpath ()
2801+{
2802+ $opt_debug
2803+ if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
2804+ func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
2805+ if test "$?" -ne 0; then
2806+ # on failure, ensure result is empty
2807+ func_cygpath_result=
2808+ fi
2809+ else
2810+ func_cygpath_result=
2811+ func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'"
2812+ fi
2813+}
2814+#end: func_cygpath
2815+
2816+
2817+# func_convert_core_msys_to_w32 ARG
2818+# Convert file name or path ARG from MSYS format to w32 format. Return
2819+# result in func_convert_core_msys_to_w32_result.
2820+func_convert_core_msys_to_w32 ()
2821+{
2822+ $opt_debug
2823+ # awkward: cmd appends spaces to result
2824+ func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
2825+ $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
2826+}
2827+#end: func_convert_core_msys_to_w32
2828+
2829+
2830+# func_convert_file_check ARG1 ARG2
2831+# Verify that ARG1 (a file name in $build format) was converted to $host
2832+# format in ARG2. Otherwise, emit an error message, but continue (resetting
2833+# func_to_host_file_result to ARG1).
2834+func_convert_file_check ()
2835+{
2836+ $opt_debug
2837+ if test -z "$2" && test -n "$1" ; then
2838+ func_error "Could not determine host file name corresponding to"
2839+ func_error " \`$1'"
2840+ func_error "Continuing, but uninstalled executables may not work."
2841+ # Fallback:
2842+ func_to_host_file_result="$1"
2843+ fi
2844+}
2845+# end func_convert_file_check
2846+
2847+
2848+# func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH
2849+# Verify that FROM_PATH (a path in $build format) was converted to $host
2850+# format in TO_PATH. Otherwise, emit an error message, but continue, resetting
2851+# func_to_host_file_result to a simplistic fallback value (see below).
2852+func_convert_path_check ()
2853+{
2854+ $opt_debug
2855+ if test -z "$4" && test -n "$3"; then
2856+ func_error "Could not determine the host path corresponding to"
2857+ func_error " \`$3'"
2858+ func_error "Continuing, but uninstalled executables may not work."
2859+ # Fallback. This is a deliberately simplistic "conversion" and
2860+ # should not be "improved". See libtool.info.
2861+ if test "x$1" != "x$2"; then
2862+ lt_replace_pathsep_chars="s|$1|$2|g"
2863+ func_to_host_path_result=`echo "$3" |
2864+ $SED -e "$lt_replace_pathsep_chars"`
2865+ else
2866+ func_to_host_path_result="$3"
2867+ fi
2868+ fi
2869+}
2870+# end func_convert_path_check
2871+
2872+
2873+# func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG
2874+# Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT
2875+# and appending REPL if ORIG matches BACKPAT.
2876+func_convert_path_front_back_pathsep ()
2877+{
2878+ $opt_debug
2879+ case $4 in
2880+ $1 ) func_to_host_path_result="$3$func_to_host_path_result"
2881+ ;;
2882+ esac
2883+ case $4 in
2884+ $2 ) func_append func_to_host_path_result "$3"
2885+ ;;
2886+ esac
2887+}
2888+# end func_convert_path_front_back_pathsep
2889+
2890+
2891+##################################################
2892+# $build to $host FILE NAME CONVERSION FUNCTIONS #
2893+##################################################
2894+# invoked via `$to_host_file_cmd ARG'
2895+#
2896+# In each case, ARG is the path to be converted from $build to $host format.
2897+# Result will be available in $func_to_host_file_result.
2898+
2899+
2900+# func_to_host_file ARG
2901+# Converts the file name ARG from $build format to $host format. Return result
2902+# in func_to_host_file_result.
2903+func_to_host_file ()
2904+{
2905+ $opt_debug
2906+ $to_host_file_cmd "$1"
2907+}
2908+# end func_to_host_file
2909+
2910+
2911+# func_to_tool_file ARG LAZY
2912+# converts the file name ARG from $build format to toolchain format. Return
2913+# result in func_to_tool_file_result. If the conversion in use is listed
2914+# in (the comma separated) LAZY, no conversion takes place.
2915+func_to_tool_file ()
2916+{
2917+ $opt_debug
2918+ case ,$2, in
2919+ *,"$to_tool_file_cmd",*)
2920+ func_to_tool_file_result=$1
2921+ ;;
2922+ *)
2923+ $to_tool_file_cmd "$1"
2924+ func_to_tool_file_result=$func_to_host_file_result
2925+ ;;
2926+ esac
2927+}
2928+# end func_to_tool_file
2929+
2930+
2931+# func_convert_file_noop ARG
2932+# Copy ARG to func_to_host_file_result.
2933+func_convert_file_noop ()
2934+{
2935+ func_to_host_file_result="$1"
2936+}
2937+# end func_convert_file_noop
2938+
2939+
2940+# func_convert_file_msys_to_w32 ARG
2941+# Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic
2942+# conversion to w32 is not available inside the cwrapper. Returns result in
2943+# func_to_host_file_result.
2944+func_convert_file_msys_to_w32 ()
2945+{
2946+ $opt_debug
2947+ func_to_host_file_result="$1"
2948+ if test -n "$1"; then
2949+ func_convert_core_msys_to_w32 "$1"
2950+ func_to_host_file_result="$func_convert_core_msys_to_w32_result"
2951+ fi
2952+ func_convert_file_check "$1" "$func_to_host_file_result"
2953+}
2954+# end func_convert_file_msys_to_w32
2955+
2956+
2957+# func_convert_file_cygwin_to_w32 ARG
2958+# Convert file name ARG from Cygwin to w32 format. Returns result in
2959+# func_to_host_file_result.
2960+func_convert_file_cygwin_to_w32 ()
2961+{
2962+ $opt_debug
2963+ func_to_host_file_result="$1"
2964+ if test -n "$1"; then
2965+ # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
2966+ # LT_CYGPATH in this case.
2967+ func_to_host_file_result=`cygpath -m "$1"`
2968+ fi
2969+ func_convert_file_check "$1" "$func_to_host_file_result"
2970+}
2971+# end func_convert_file_cygwin_to_w32
2972+
2973+
2974+# func_convert_file_nix_to_w32 ARG
2975+# Convert file name ARG from *nix to w32 format. Requires a wine environment
2976+# and a working winepath. Returns result in func_to_host_file_result.
2977+func_convert_file_nix_to_w32 ()
2978+{
2979+ $opt_debug
2980+ func_to_host_file_result="$1"
2981+ if test -n "$1"; then
2982+ func_convert_core_file_wine_to_w32 "$1"
2983+ func_to_host_file_result="$func_convert_core_file_wine_to_w32_result"
2984+ fi
2985+ func_convert_file_check "$1" "$func_to_host_file_result"
2986+}
2987+# end func_convert_file_nix_to_w32
2988+
2989+
2990+# func_convert_file_msys_to_cygwin ARG
2991+# Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
2992+# Returns result in func_to_host_file_result.
2993+func_convert_file_msys_to_cygwin ()
2994+{
2995+ $opt_debug
2996+ func_to_host_file_result="$1"
2997+ if test -n "$1"; then
2998+ func_convert_core_msys_to_w32 "$1"
2999+ func_cygpath -u "$func_convert_core_msys_to_w32_result"
3000+ func_to_host_file_result="$func_cygpath_result"
3001+ fi
3002+ func_convert_file_check "$1" "$func_to_host_file_result"
3003+}
3004+# end func_convert_file_msys_to_cygwin
3005+
3006+
3007+# func_convert_file_nix_to_cygwin ARG
3008+# Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed
3009+# in a wine environment, working winepath, and LT_CYGPATH set. Returns result
3010+# in func_to_host_file_result.
3011+func_convert_file_nix_to_cygwin ()
3012+{
3013+ $opt_debug
3014+ func_to_host_file_result="$1"
3015+ if test -n "$1"; then
3016+ # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
3017+ func_convert_core_file_wine_to_w32 "$1"
3018+ func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
3019+ func_to_host_file_result="$func_cygpath_result"
3020+ fi
3021+ func_convert_file_check "$1" "$func_to_host_file_result"
3022+}
3023+# end func_convert_file_nix_to_cygwin
3024+
3025+
3026+#############################################
3027+# $build to $host PATH CONVERSION FUNCTIONS #
3028+#############################################
3029+# invoked via `$to_host_path_cmd ARG'
3030+#
3031+# In each case, ARG is the path to be converted from $build to $host format.
3032+# The result will be available in $func_to_host_path_result.
3033+#
3034+# Path separators are also converted from $build format to $host format. If
3035+# ARG begins or ends with a path separator character, it is preserved (but
3036+# converted to $host format) on output.
3037+#
3038+# All path conversion functions are named using the following convention:
3039+# file name conversion function : func_convert_file_X_to_Y ()
3040+# path conversion function : func_convert_path_X_to_Y ()
3041+# where, for any given $build/$host combination the 'X_to_Y' value is the
3042+# same. If conversion functions are added for new $build/$host combinations,
3043+# the two new functions must follow this pattern, or func_init_to_host_path_cmd
3044+# will break.
3045+
3046+
3047+# func_init_to_host_path_cmd
3048+# Ensures that function "pointer" variable $to_host_path_cmd is set to the
3049+# appropriate value, based on the value of $to_host_file_cmd.
3050+to_host_path_cmd=
3051+func_init_to_host_path_cmd ()
3052+{
3053+ $opt_debug
3054+ if test -z "$to_host_path_cmd"; then
3055+ func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
3056+ to_host_path_cmd="func_convert_path_${func_stripname_result}"
3057+ fi
3058+}
3059+
3060+
3061+# func_to_host_path ARG
3062+# Converts the path ARG from $build format to $host format. Return result
3063+# in func_to_host_path_result.
3064+func_to_host_path ()
3065+{
3066+ $opt_debug
3067+ func_init_to_host_path_cmd
3068+ $to_host_path_cmd "$1"
3069+}
3070+# end func_to_host_path
3071+
3072+
3073+# func_convert_path_noop ARG
3074+# Copy ARG to func_to_host_path_result.
3075+func_convert_path_noop ()
3076+{
3077+ func_to_host_path_result="$1"
3078+}
3079+# end func_convert_path_noop
3080+
3081+
3082+# func_convert_path_msys_to_w32 ARG
3083+# Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic
3084+# conversion to w32 is not available inside the cwrapper. Returns result in
3085+# func_to_host_path_result.
3086+func_convert_path_msys_to_w32 ()
3087+{
3088+ $opt_debug
3089+ func_to_host_path_result="$1"
3090+ if test -n "$1"; then
3091+ # Remove leading and trailing path separator characters from ARG. MSYS
3092+ # behavior is inconsistent here; cygpath turns them into '.;' and ';.';
3093+ # and winepath ignores them completely.
3094+ func_stripname : : "$1"
3095+ func_to_host_path_tmp1=$func_stripname_result
3096+ func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
3097+ func_to_host_path_result="$func_convert_core_msys_to_w32_result"
3098+ func_convert_path_check : ";" \
3099+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
3100+ func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
3101+ fi
3102+}
3103+# end func_convert_path_msys_to_w32
3104+
3105+
3106+# func_convert_path_cygwin_to_w32 ARG
3107+# Convert path ARG from Cygwin to w32 format. Returns result in
3108+# func_to_host_file_result.
3109+func_convert_path_cygwin_to_w32 ()
3110+{
3111+ $opt_debug
3112+ func_to_host_path_result="$1"
3113+ if test -n "$1"; then
3114+ # See func_convert_path_msys_to_w32:
3115+ func_stripname : : "$1"
3116+ func_to_host_path_tmp1=$func_stripname_result
3117+ func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"`
3118+ func_convert_path_check : ";" \
3119+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
3120+ func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
3121+ fi
3122+}
3123+# end func_convert_path_cygwin_to_w32
3124+
3125+
3126+# func_convert_path_nix_to_w32 ARG
3127+# Convert path ARG from *nix to w32 format. Requires a wine environment and
3128+# a working winepath. Returns result in func_to_host_file_result.
3129+func_convert_path_nix_to_w32 ()
3130+{
3131+ $opt_debug
3132+ func_to_host_path_result="$1"
3133+ if test -n "$1"; then
3134+ # See func_convert_path_msys_to_w32:
3135+ func_stripname : : "$1"
3136+ func_to_host_path_tmp1=$func_stripname_result
3137+ func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
3138+ func_to_host_path_result="$func_convert_core_path_wine_to_w32_result"
3139+ func_convert_path_check : ";" \
3140+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
3141+ func_convert_path_front_back_pathsep ":*" "*:" ";" "$1"
3142+ fi
3143+}
3144+# end func_convert_path_nix_to_w32
3145+
3146+
3147+# func_convert_path_msys_to_cygwin ARG
3148+# Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set.
3149+# Returns result in func_to_host_file_result.
3150+func_convert_path_msys_to_cygwin ()
3151+{
3152+ $opt_debug
3153+ func_to_host_path_result="$1"
3154+ if test -n "$1"; then
3155+ # See func_convert_path_msys_to_w32:
3156+ func_stripname : : "$1"
3157+ func_to_host_path_tmp1=$func_stripname_result
3158+ func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
3159+ func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
3160+ func_to_host_path_result="$func_cygpath_result"
3161+ func_convert_path_check : : \
3162+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
3163+ func_convert_path_front_back_pathsep ":*" "*:" : "$1"
3164+ fi
3165+}
3166+# end func_convert_path_msys_to_cygwin
3167+
3168+
3169+# func_convert_path_nix_to_cygwin ARG
3170+# Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a
3171+# a wine environment, working winepath, and LT_CYGPATH set. Returns result in
3172+# func_to_host_file_result.
3173+func_convert_path_nix_to_cygwin ()
3174+{
3175+ $opt_debug
3176+ func_to_host_path_result="$1"
3177+ if test -n "$1"; then
3178+ # Remove leading and trailing path separator characters from
3179+ # ARG. msys behavior is inconsistent here, cygpath turns them
3180+ # into '.;' and ';.', and winepath ignores them completely.
3181+ func_stripname : : "$1"
3182+ func_to_host_path_tmp1=$func_stripname_result
3183+ func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
3184+ func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
3185+ func_to_host_path_result="$func_cygpath_result"
3186+ func_convert_path_check : : \
3187+ "$func_to_host_path_tmp1" "$func_to_host_path_result"
3188+ func_convert_path_front_back_pathsep ":*" "*:" : "$1"
3189+ fi
3190+}
3191+# end func_convert_path_nix_to_cygwin
3192+
3193+
3194 # func_mode_compile arg...
3195 func_mode_compile ()
3196 {
3197@@ -1314,12 +1985,12 @@
3198 ;;
3199
3200 -pie | -fpie | -fPIE)
3201- pie_flag="$pie_flag $arg"
3202+ func_append pie_flag " $arg"
3203 continue
3204 ;;
3205
3206 -shared | -static | -prefer-pic | -prefer-non-pic)
3207- later="$later $arg"
3208+ func_append later " $arg"
3209 continue
3210 ;;
3211
3212@@ -1340,15 +2011,14 @@
3213 save_ifs="$IFS"; IFS=','
3214 for arg in $args; do
3215 IFS="$save_ifs"
3216- func_quote_for_eval "$arg"
3217- lastarg="$lastarg $func_quote_for_eval_result"
3218+ func_append_quoted lastarg "$arg"
3219 done
3220 IFS="$save_ifs"
3221 func_stripname ' ' '' "$lastarg"
3222 lastarg=$func_stripname_result
3223
3224 # Add the arguments to base_compile.
3225- base_compile="$base_compile $lastarg"
3226+ func_append base_compile " $lastarg"
3227 continue
3228 ;;
3229
3230@@ -1364,8 +2034,7 @@
3231 esac # case $arg_mode
3232
3233 # Aesthetically quote the previous argument.
3234- func_quote_for_eval "$lastarg"
3235- base_compile="$base_compile $func_quote_for_eval_result"
3236+ func_append_quoted base_compile "$lastarg"
3237 done # for arg
3238
3239 case $arg_mode in
3240@@ -1496,17 +2165,16 @@
3241 $opt_dry_run || $RM $removelist
3242 exit $EXIT_FAILURE
3243 fi
3244- removelist="$removelist $output_obj"
3245+ func_append removelist " $output_obj"
3246 $ECHO "$srcfile" > "$lockfile"
3247 fi
3248
3249 $opt_dry_run || $RM $removelist
3250- removelist="$removelist $lockfile"
3251+ func_append removelist " $lockfile"
3252 trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15
3253
3254- if test -n "$fix_srcfile_path"; then
3255- eval "srcfile=\"$fix_srcfile_path\""
3256- fi
3257+ func_to_tool_file "$srcfile" func_convert_file_msys_to_w32
3258+ srcfile=$func_to_tool_file_result
3259 func_quote_for_eval "$srcfile"
3260 qsrcfile=$func_quote_for_eval_result
3261
3262@@ -1526,7 +2194,7 @@
3263
3264 if test -z "$output_obj"; then
3265 # Place PIC objects in $objdir
3266- command="$command -o $lobj"
3267+ func_append command " -o $lobj"
3268 fi
3269
3270 func_show_eval_locale "$command" \
3271@@ -1573,11 +2241,11 @@
3272 command="$base_compile $qsrcfile $pic_flag"
3273 fi
3274 if test "$compiler_c_o" = yes; then
3275- command="$command -o $obj"
3276+ func_append command " -o $obj"
3277 fi
3278
3279 # Suppress compiler output if we already did a PIC compilation.
3280- command="$command$suppress_output"
3281+ func_append command "$suppress_output"
3282 func_show_eval_locale "$command" \
3283 '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
3284
3285@@ -1622,13 +2290,13 @@
3286 }
3287
3288 $opt_help || {
3289- test "$mode" = compile && func_mode_compile ${1+"$@"}
3290+ test "$opt_mode" = compile && func_mode_compile ${1+"$@"}
3291 }
3292
3293 func_mode_help ()
3294 {
3295 # We need to display help for each of the modes.
3296- case $mode in
3297+ case $opt_mode in
3298 "")
3299 # Generic help is extracted from the usage comments
3300 # at the start of this file.
3301@@ -1659,8 +2327,8 @@
3302
3303 -o OUTPUT-FILE set the output file name to OUTPUT-FILE
3304 -no-suppress do not suppress compiler output for multiple passes
3305- -prefer-pic try to building PIC objects only
3306- -prefer-non-pic try to building non-PIC objects only
3307+ -prefer-pic try to build PIC objects only
3308+ -prefer-non-pic try to build non-PIC objects only
3309 -shared do not build a \`.o' file suitable for static linking
3310 -static only build a \`.o' file suitable for static linking
3311 -Wc,FLAG pass FLAG directly to the compiler
3312@@ -1804,7 +2472,7 @@
3313 ;;
3314
3315 *)
3316- func_fatal_help "invalid operation mode \`$mode'"
3317+ func_fatal_help "invalid operation mode \`$opt_mode'"
3318 ;;
3319 esac
3320
3321@@ -1819,13 +2487,13 @@
3322 else
3323 {
3324 func_help noexit
3325- for mode in compile link execute install finish uninstall clean; do
3326+ for opt_mode in compile link execute install finish uninstall clean; do
3327 func_mode_help
3328 done
3329 } | sed -n '1p; 2,$s/^Usage:/ or: /p'
3330 {
3331 func_help noexit
3332- for mode in compile link execute install finish uninstall clean; do
3333+ for opt_mode in compile link execute install finish uninstall clean; do
3334 echo
3335 func_mode_help
3336 done
3337@@ -1854,13 +2522,16 @@
3338 func_fatal_help "you must specify a COMMAND"
3339
3340 # Handle -dlopen flags immediately.
3341- for file in $execute_dlfiles; do
3342+ for file in $opt_dlopen; do
3343 test -f "$file" \
3344 || func_fatal_help "\`$file' is not a file"
3345
3346 dir=
3347 case $file in
3348 *.la)
3349+ func_resolve_sysroot "$file"
3350+ file=$func_resolve_sysroot_result
3351+
3352 # Check to see that this really is a libtool archive.
3353 func_lalib_unsafe_p "$file" \
3354 || func_fatal_help "\`$lib' is not a valid libtool archive"
3355@@ -1882,7 +2553,7 @@
3356 dir="$func_dirname_result"
3357
3358 if test -f "$dir/$objdir/$dlname"; then
3359- dir="$dir/$objdir"
3360+ func_append dir "/$objdir"
3361 else
3362 if test ! -f "$dir/$dlname"; then
3363 func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
3364@@ -1907,10 +2578,10 @@
3365 test -n "$absdir" && dir="$absdir"
3366
3367 # Now add the directory to shlibpath_var.
3368- if eval test -z \"\$$shlibpath_var\"; then
3369- eval $shlibpath_var=\$dir
3370+ if eval "test -z \"\$$shlibpath_var\""; then
3371+ eval "$shlibpath_var=\"\$dir\""
3372 else
3373- eval $shlibpath_var=\$dir:\$$shlibpath_var
3374+ eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\""
3375 fi
3376 done
3377
3378@@ -1939,8 +2610,7 @@
3379 ;;
3380 esac
3381 # Quote arguments (to preserve shell metacharacters).
3382- func_quote_for_eval "$file"
3383- args="$args $func_quote_for_eval_result"
3384+ func_append_quoted args "$file"
3385 done
3386
3387 if test "X$opt_dry_run" = Xfalse; then
3388@@ -1972,22 +2642,59 @@
3389 fi
3390 }
3391
3392-test "$mode" = execute && func_mode_execute ${1+"$@"}
3393+test "$opt_mode" = execute && func_mode_execute ${1+"$@"}
3394
3395
3396 # func_mode_finish arg...
3397 func_mode_finish ()
3398 {
3399 $opt_debug
3400- libdirs="$nonopt"
3401+ libs=
3402+ libdirs=
3403 admincmds=
3404
3405- if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
3406- for dir
3407- do
3408- libdirs="$libdirs $dir"
3409- done
3410+ for opt in "$nonopt" ${1+"$@"}
3411+ do
3412+ if test -d "$opt"; then
3413+ func_append libdirs " $opt"
3414+
3415+ elif test -f "$opt"; then
3416+ if func_lalib_unsafe_p "$opt"; then
3417+ func_append libs " $opt"
3418+ else
3419+ func_warning "\`$opt' is not a valid libtool archive"
3420+ fi
3421+
3422+ else
3423+ func_fatal_error "invalid argument \`$opt'"
3424+ fi
3425+ done
3426+
3427+ if test -n "$libs"; then
3428+ if test -n "$lt_sysroot"; then
3429+ sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"`
3430+ sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;"
3431+ else
3432+ sysroot_cmd=
3433+ fi
3434+
3435+ # Remove sysroot references
3436+ if $opt_dry_run; then
3437+ for lib in $libs; do
3438+ echo "removing references to $lt_sysroot and \`=' prefixes from $lib"
3439+ done
3440+ else
3441+ tmpdir=`func_mktempdir`
3442+ for lib in $libs; do
3443+ sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
3444+ > $tmpdir/tmp-la
3445+ mv -f $tmpdir/tmp-la $lib
3446+ done
3447+ ${RM}r "$tmpdir"
3448+ fi
3449+ fi
3450
3451+ if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
3452 for libdir in $libdirs; do
3453 if test -n "$finish_cmds"; then
3454 # Do each command in the finish commands.
3455@@ -1997,7 +2704,7 @@
3456 if test -n "$finish_eval"; then
3457 # Do the single finish_eval.
3458 eval cmds=\"$finish_eval\"
3459- $opt_dry_run || eval "$cmds" || admincmds="$admincmds
3460+ $opt_dry_run || eval "$cmds" || func_append admincmds "
3461 $cmds"
3462 fi
3463 done
3464@@ -2006,53 +2713,55 @@
3465 # Exit here if they wanted silent mode.
3466 $opt_silent && exit $EXIT_SUCCESS
3467
3468- echo "----------------------------------------------------------------------"
3469- echo "Libraries have been installed in:"
3470- for libdir in $libdirs; do
3471- $ECHO " $libdir"
3472- done
3473- echo
3474- echo "If you ever happen to want to link against installed libraries"
3475- echo "in a given directory, LIBDIR, you must either use libtool, and"
3476- echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
3477- echo "flag during linking and do at least one of the following:"
3478- if test -n "$shlibpath_var"; then
3479- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
3480- echo " during execution"
3481- fi
3482- if test -n "$runpath_var"; then
3483- echo " - add LIBDIR to the \`$runpath_var' environment variable"
3484- echo " during linking"
3485- fi
3486- if test -n "$hardcode_libdir_flag_spec"; then
3487- libdir=LIBDIR
3488- eval "flag=\"$hardcode_libdir_flag_spec\""
3489+ if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
3490+ echo "----------------------------------------------------------------------"
3491+ echo "Libraries have been installed in:"
3492+ for libdir in $libdirs; do
3493+ $ECHO " $libdir"
3494+ done
3495+ echo
3496+ echo "If you ever happen to want to link against installed libraries"
3497+ echo "in a given directory, LIBDIR, you must either use libtool, and"
3498+ echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
3499+ echo "flag during linking and do at least one of the following:"
3500+ if test -n "$shlibpath_var"; then
3501+ echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
3502+ echo " during execution"
3503+ fi
3504+ if test -n "$runpath_var"; then
3505+ echo " - add LIBDIR to the \`$runpath_var' environment variable"
3506+ echo " during linking"
3507+ fi
3508+ if test -n "$hardcode_libdir_flag_spec"; then
3509+ libdir=LIBDIR
3510+ eval flag=\"$hardcode_libdir_flag_spec\"
3511
3512- $ECHO " - use the \`$flag' linker flag"
3513- fi
3514- if test -n "$admincmds"; then
3515- $ECHO " - have your system administrator run these commands:$admincmds"
3516- fi
3517- if test -f /etc/ld.so.conf; then
3518- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
3519- fi
3520- echo
3521+ $ECHO " - use the \`$flag' linker flag"
3522+ fi
3523+ if test -n "$admincmds"; then
3524+ $ECHO " - have your system administrator run these commands:$admincmds"
3525+ fi
3526+ if test -f /etc/ld.so.conf; then
3527+ echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
3528+ fi
3529+ echo
3530
3531- echo "See any operating system documentation about shared libraries for"
3532- case $host in
3533- solaris2.[6789]|solaris2.1[0-9])
3534- echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
3535- echo "pages."
3536- ;;
3537- *)
3538- echo "more information, such as the ld(1) and ld.so(8) manual pages."
3539- ;;
3540- esac
3541- echo "----------------------------------------------------------------------"
3542+ echo "See any operating system documentation about shared libraries for"
3543+ case $host in
3544+ solaris2.[6789]|solaris2.1[0-9])
3545+ echo "more information, such as the ld(1), crle(1) and ld.so(8) manual"
3546+ echo "pages."
3547+ ;;
3548+ *)
3549+ echo "more information, such as the ld(1) and ld.so(8) manual pages."
3550+ ;;
3551+ esac
3552+ echo "----------------------------------------------------------------------"
3553+ fi
3554 exit $EXIT_SUCCESS
3555 }
3556
3557-test "$mode" = finish && func_mode_finish ${1+"$@"}
3558+test "$opt_mode" = finish && func_mode_finish ${1+"$@"}
3559
3560
3561 # func_mode_install arg...
3562@@ -2077,7 +2786,7 @@
3563 # The real first argument should be the name of the installation program.
3564 # Aesthetically quote it.
3565 func_quote_for_eval "$arg"
3566- install_prog="$install_prog$func_quote_for_eval_result"
3567+ func_append install_prog "$func_quote_for_eval_result"
3568 install_shared_prog=$install_prog
3569 case " $install_prog " in
3570 *[\\\ /]cp\ *) install_cp=: ;;
3571@@ -2097,7 +2806,7 @@
3572 do
3573 arg2=
3574 if test -n "$dest"; then
3575- files="$files $dest"
3576+ func_append files " $dest"
3577 dest=$arg
3578 continue
3579 fi
3580@@ -2135,11 +2844,11 @@
3581
3582 # Aesthetically quote the argument.
3583 func_quote_for_eval "$arg"
3584- install_prog="$install_prog $func_quote_for_eval_result"
3585+ func_append install_prog " $func_quote_for_eval_result"
3586 if test -n "$arg2"; then
3587 func_quote_for_eval "$arg2"
3588 fi
3589- install_shared_prog="$install_shared_prog $func_quote_for_eval_result"
3590+ func_append install_shared_prog " $func_quote_for_eval_result"
3591 done
3592
3593 test -z "$install_prog" && \
3594@@ -2151,7 +2860,7 @@
3595 if test -n "$install_override_mode" && $no_mode; then
3596 if $install_cp; then :; else
3597 func_quote_for_eval "$install_override_mode"
3598- install_shared_prog="$install_shared_prog -m $func_quote_for_eval_result"
3599+ func_append install_shared_prog " -m $func_quote_for_eval_result"
3600 fi
3601 fi
3602
3603@@ -2209,10 +2918,13 @@
3604 case $file in
3605 *.$libext)
3606 # Do the static libraries later.
3607- staticlibs="$staticlibs $file"
3608+ func_append staticlibs " $file"
3609 ;;
3610
3611 *.la)
3612+ func_resolve_sysroot "$file"
3613+ file=$func_resolve_sysroot_result
3614+
3615 # Check to see that this really is a libtool archive.
3616 func_lalib_unsafe_p "$file" \
3617 || func_fatal_help "\`$file' is not a valid libtool archive"
3618@@ -2226,23 +2938,30 @@
3619 if test "X$destdir" = "X$libdir"; then
3620 case "$current_libdirs " in
3621 *" $libdir "*) ;;
3622- *) current_libdirs="$current_libdirs $libdir" ;;
3623+ *) func_append current_libdirs " $libdir" ;;
3624 esac
3625 else
3626 # Note the libdir as a future libdir.
3627 case "$future_libdirs " in
3628 *" $libdir "*) ;;
3629- *) future_libdirs="$future_libdirs $libdir" ;;
3630+ *) func_append future_libdirs " $libdir" ;;
3631 esac
3632 fi
3633
3634 func_dirname "$file" "/" ""
3635 dir="$func_dirname_result"
3636- dir="$dir$objdir"
3637+ func_append dir "$objdir"
3638
3639 if test -n "$relink_command"; then
3640+ # Strip any trailing slash from the destination.
3641+ func_stripname '' '/' "$libdir"
3642+ destlibdir=$func_stripname_result
3643+
3644+ func_stripname '' '/' "$destdir"
3645+ s_destdir=$func_stripname_result
3646+
3647 # Determine the prefix the user has applied to our future dir.
3648- inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"`
3649+ inst_prefix_dir=`$ECHO "X$s_destdir" | $Xsed -e "s%$destlibdir\$%%"`
3650
3651 # Don't allow the user to place us outside of our expected
3652 # location b/c this prevents finding dependent libraries that
3653@@ -2315,7 +3034,7 @@
3654 func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
3655
3656 # Maybe install the static library, too.
3657- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
3658+ test -n "$old_library" && func_append staticlibs " $dir/$old_library"
3659 ;;
3660
3661 *.lo)
3662@@ -2503,7 +3222,7 @@
3663 test -n "$future_libdirs" && \
3664 func_warning "remember to run \`$progname --finish$future_libdirs'"
3665
3666- if test -n "$current_libdirs" && $opt_finish; then
3667+ if test -n "$current_libdirs"; then
3668 # Maybe just do a dry run.
3669 $opt_dry_run && current_libdirs=" -n$current_libdirs"
3670 exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
3671@@ -2512,7 +3231,7 @@
3672 fi
3673 }
3674
3675-test "$mode" = install && func_mode_install ${1+"$@"}
3676+test "$opt_mode" = install && func_mode_install ${1+"$@"}
3677
3678
3679 # func_generate_dlsyms outputname originator pic_p
3680@@ -2559,6 +3278,18 @@
3681 #pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
3682 #endif
3683
3684+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
3685+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
3686+/* DATA imports from DLLs on WIN32 con't be const, because runtime
3687+ relocations are performed -- see ld's documentation on pseudo-relocs. */
3688+# define LT_DLSYM_CONST
3689+#elif defined(__osf__)
3690+/* This system does not cope well with relocations in const data. */
3691+# define LT_DLSYM_CONST
3692+#else
3693+# define LT_DLSYM_CONST const
3694+#endif
3695+
3696 /* External symbol declarations for the compiler. */\
3697 "
3698
3699@@ -2570,21 +3301,22 @@
3700 # Add our own program objects to the symbol list.
3701 progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP`
3702 for progfile in $progfiles; do
3703- func_verbose "extracting global C symbols from \`$progfile'"
3704- $opt_dry_run || eval "$NM $progfile | $global_symbol_pipe >> '$nlist'"
3705+ func_to_tool_file "$progfile" func_convert_file_msys_to_w32
3706+ func_verbose "extracting global C symbols from \`$func_to_tool_file_result'"
3707+ $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
3708 done
3709
3710 if test -n "$exclude_expsyms"; then
3711 $opt_dry_run || {
3712- $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T
3713- $MV "$nlist"T "$nlist"
3714+ eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T'
3715+ eval '$MV "$nlist"T "$nlist"'
3716 }
3717 fi
3718
3719 if test -n "$export_symbols_regex"; then
3720 $opt_dry_run || {
3721- $EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T
3722- $MV "$nlist"T "$nlist"
3723+ eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T'
3724+ eval '$MV "$nlist"T "$nlist"'
3725 }
3726 fi
3727
3728@@ -2593,23 +3325,23 @@
3729 export_symbols="$output_objdir/$outputname.exp"
3730 $opt_dry_run || {
3731 $RM $export_symbols
3732- ${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' < "$nlist" > "$export_symbols"
3733+ eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
3734 case $host in
3735 *cygwin* | *mingw* | *cegcc* )
3736- echo EXPORTS > "$output_objdir/$outputname.def"
3737- cat "$export_symbols" >> "$output_objdir/$outputname.def"
3738+ eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
3739+ eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
3740 ;;
3741 esac
3742 }
3743 else
3744 $opt_dry_run || {
3745- ${SED} -e 's/\([].[*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/' < "$export_symbols" > "$output_objdir/$outputname.exp"
3746- $GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T
3747- $MV "$nlist"T "$nlist"
3748+ eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
3749+ eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
3750+ eval '$MV "$nlist"T "$nlist"'
3751 case $host in
3752 *cygwin* | *mingw* | *cegcc* )
3753- echo EXPORTS > "$output_objdir/$outputname.def"
3754- cat "$nlist" >> "$output_objdir/$outputname.def"
3755+ eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
3756+ eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
3757 ;;
3758 esac
3759 }
3760@@ -2620,10 +3352,52 @@
3761 func_verbose "extracting global C symbols from \`$dlprefile'"
3762 func_basename "$dlprefile"
3763 name="$func_basename_result"
3764- $opt_dry_run || {
3765- $ECHO ": $name " >> "$nlist"
3766- eval "$NM $dlprefile 2>/dev/null | $global_symbol_pipe >> '$nlist'"
3767- }
3768+ case $host in
3769+ *cygwin* | *mingw* | *cegcc* )
3770+ # if an import library, we need to obtain dlname
3771+ if func_win32_import_lib_p "$dlprefile"; then
3772+ func_tr_sh "$dlprefile"
3773+ eval "curr_lafile=\$libfile_$func_tr_sh_result"
3774+ dlprefile_dlbasename=""
3775+ if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
3776+ # Use subshell, to avoid clobbering current variable values
3777+ dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
3778+ if test -n "$dlprefile_dlname" ; then
3779+ func_basename "$dlprefile_dlname"
3780+ dlprefile_dlbasename="$func_basename_result"
3781+ else
3782+ # no lafile. user explicitly requested -dlpreopen <import library>.
3783+ $sharedlib_from_linklib_cmd "$dlprefile"
3784+ dlprefile_dlbasename=$sharedlib_from_linklib_result
3785+ fi
3786+ fi
3787+ $opt_dry_run || {
3788+ if test -n "$dlprefile_dlbasename" ; then
3789+ eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
3790+ else
3791+ func_warning "Could not compute DLL name from $name"
3792+ eval '$ECHO ": $name " >> "$nlist"'
3793+ fi
3794+ func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
3795+ eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe |
3796+ $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'"
3797+ }
3798+ else # not an import lib
3799+ $opt_dry_run || {
3800+ eval '$ECHO ": $name " >> "$nlist"'
3801+ func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
3802+ eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
3803+ }
3804+ fi
3805+ ;;
3806+ *)
3807+ $opt_dry_run || {
3808+ eval '$ECHO ": $name " >> "$nlist"'
3809+ func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32
3810+ eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'"
3811+ }
3812+ ;;
3813+ esac
3814 done
3815
3816 $opt_dry_run || {
3817@@ -2661,26 +3435,9 @@
3818 const char *name;
3819 void *address;
3820 } lt_dlsymlist;
3821-"
3822- case $host in
3823- *cygwin* | *mingw* | *cegcc* )
3824- echo >> "$output_objdir/$my_dlsyms" "\
3825-/* DATA imports from DLLs on WIN32 con't be const, because
3826- runtime relocations are performed -- see ld's documentation
3827- on pseudo-relocs. */"
3828- lt_dlsym_const= ;;
3829- *osf5*)
3830- echo >> "$output_objdir/$my_dlsyms" "\
3831-/* This system does not cope well with relocations in const data */"
3832- lt_dlsym_const= ;;
3833- *)
3834- lt_dlsym_const=const ;;
3835- esac
3836-
3837- echo >> "$output_objdir/$my_dlsyms" "\
3838-extern $lt_dlsym_const lt_dlsymlist
3839+extern LT_DLSYM_CONST lt_dlsymlist
3840 lt_${my_prefix}_LTX_preloaded_symbols[];
3841-$lt_dlsym_const lt_dlsymlist
3842+LT_DLSYM_CONST lt_dlsymlist
3843 lt_${my_prefix}_LTX_preloaded_symbols[] =
3844 {\
3845 { \"$my_originator\", (void *) 0 },"
3846@@ -2736,7 +3493,7 @@
3847 for arg in $LTCFLAGS; do
3848 case $arg in
3849 -pie | -fpie | -fPIE) ;;
3850- *) symtab_cflags="$symtab_cflags $arg" ;;
3851+ *) func_append symtab_cflags " $arg" ;;
3852 esac
3853 done
3854
3855@@ -2796,9 +3553,11 @@
3856 win32_libid_type="x86 archive import"
3857 ;;
3858 *ar\ archive*) # could be an import, or static
3859- if $OBJDUMP -f "$1" | $SED -e '10q' 2>/dev/null |
3860- $EGREP 'file format (pe-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
3861- win32_nmres=`$NM -f posix -A "$1" |
3862+ # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
3863+ if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
3864+ $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
3865+ func_to_tool_file "$1" func_convert_file_msys_to_w32
3866+ win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
3867 $SED -n -e '
3868 1,100{
3869 / I /{
3870@@ -2827,6 +3586,131 @@
3871 $ECHO "$win32_libid_type"
3872 }
3873
3874+# func_cygming_dll_for_implib ARG
3875+#
3876+# Platform-specific function to extract the
3877+# name of the DLL associated with the specified
3878+# import library ARG.
3879+# Invoked by eval'ing the libtool variable
3880+# $sharedlib_from_linklib_cmd
3881+# Result is available in the variable
3882+# $sharedlib_from_linklib_result
3883+func_cygming_dll_for_implib ()
3884+{
3885+ $opt_debug
3886+ sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
3887+}
3888+
3889+# func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs
3890+#
3891+# The is the core of a fallback implementation of a
3892+# platform-specific function to extract the name of the
3893+# DLL associated with the specified import library LIBNAME.
3894+#
3895+# SECTION_NAME is either .idata$6 or .idata$7, depending
3896+# on the platform and compiler that created the implib.
3897+#
3898+# Echos the name of the DLL associated with the
3899+# specified import library.
3900+func_cygming_dll_for_implib_fallback_core ()
3901+{
3902+ $opt_debug
3903+ match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
3904+ $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
3905+ $SED '/^Contents of section '"$match_literal"':/{
3906+ # Place marker at beginning of archive member dllname section
3907+ s/.*/====MARK====/
3908+ p
3909+ d
3910+ }
3911+ # These lines can sometimes be longer than 43 characters, but
3912+ # are always uninteresting
3913+ /:[ ]*file format pe[i]\{,1\}-/d
3914+ /^In archive [^:]*:/d
3915+ # Ensure marker is printed
3916+ /^====MARK====/p
3917+ # Remove all lines with less than 43 characters
3918+ /^.\{43\}/!d
3919+ # From remaining lines, remove first 43 characters
3920+ s/^.\{43\}//' |
3921+ $SED -n '
3922+ # Join marker and all lines until next marker into a single line
3923+ /^====MARK====/ b para
3924+ H
3925+ $ b para
3926+ b
3927+ :para
3928+ x
3929+ s/\n//g
3930+ # Remove the marker
3931+ s/^====MARK====//
3932+ # Remove trailing dots and whitespace
3933+ s/[\. \t]*$//
3934+ # Print
3935+ /./p' |
3936+ # we now have a list, one entry per line, of the stringified
3937+ # contents of the appropriate section of all members of the
3938+ # archive which possess that section. Heuristic: eliminate
3939+ # all those which have a first or second character that is
3940+ # a '.' (that is, objdump's representation of an unprintable
3941+ # character.) This should work for all archives with less than
3942+ # 0x302f exports -- but will fail for DLLs whose name actually
3943+ # begins with a literal '.' or a single character followed by
3944+ # a '.'.
3945+ #
3946+ # Of those that remain, print the first one.
3947+ $SED -e '/^\./d;/^.\./d;q'
3948+}
3949+
3950+# func_cygming_gnu_implib_p ARG
3951+# This predicate returns with zero status (TRUE) if
3952+# ARG is a GNU/binutils-style import library. Returns
3953+# with nonzero status (FALSE) otherwise.
3954+func_cygming_gnu_implib_p ()
3955+{
3956+ $opt_debug
3957+ func_to_tool_file "$1" func_convert_file_msys_to_w32
3958+ func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
3959+ test -n "$func_cygming_gnu_implib_tmp"
3960+}
3961+
3962+# func_cygming_ms_implib_p ARG
3963+# This predicate returns with zero status (TRUE) if
3964+# ARG is an MS-style import library. Returns
3965+# with nonzero status (FALSE) otherwise.
3966+func_cygming_ms_implib_p ()
3967+{
3968+ $opt_debug
3969+ func_to_tool_file "$1" func_convert_file_msys_to_w32
3970+ func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
3971+ test -n "$func_cygming_ms_implib_tmp"
3972+}
3973+
3974+# func_cygming_dll_for_implib_fallback ARG
3975+# Platform-specific function to extract the
3976+# name of the DLL associated with the specified
3977+# import library ARG.
3978+#
3979+# This fallback implementation is for use when $DLLTOOL
3980+# does not support the --identify-strict option.
3981+# Invoked by eval'ing the libtool variable
3982+# $sharedlib_from_linklib_cmd
3983+# Result is available in the variable
3984+# $sharedlib_from_linklib_result
3985+func_cygming_dll_for_implib_fallback ()
3986+{
3987+ $opt_debug
3988+ if func_cygming_gnu_implib_p "$1" ; then
3989+ # binutils import library
3990+ sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
3991+ elif func_cygming_ms_implib_p "$1" ; then
3992+ # ms-generated import library
3993+ sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
3994+ else
3995+ # unknown
3996+ sharedlib_from_linklib_result=""
3997+ fi
3998+}
3999
4000
4001 # func_extract_an_archive dir oldlib
4002@@ -2917,7 +3801,7 @@
4003 darwin_file=
4004 darwin_files=
4005 for darwin_file in $darwin_filelist; do
4006- darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP`
4007+ darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP`
4008 $LIPO -create -output "$darwin_file" $darwin_files
4009 done # $darwin_filelist
4010 $RM -rf unfat-$$
4011@@ -2932,7 +3816,7 @@
4012 func_extract_an_archive "$my_xdir" "$my_xabs"
4013 ;;
4014 esac
4015- my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP`
4016+ my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP`
4017 done
4018
4019 func_extract_archives_result="$my_oldobjs"
4020@@ -3014,7 +3898,110 @@
4021 _LTECHO_EOF'
4022 }
4023 ECHO=\"$qECHO\"
4024- fi\
4025+ fi
4026+
4027+# Very basic option parsing. These options are (a) specific to
4028+# the libtool wrapper, (b) are identical between the wrapper
4029+# /script/ and the wrapper /executable/ which is used only on
4030+# windows platforms, and (c) all begin with the string "--lt-"
4031+# (application programs are unlikely to have options which match
4032+# this pattern).
4033+#
4034+# There are only two supported options: --lt-debug and
4035+# --lt-dump-script. There is, deliberately, no --lt-help.
4036+#
4037+# The first argument to this parsing function should be the
4038+# script's $0 value, followed by "$@".
4039+lt_option_debug=
4040+func_parse_lt_options ()
4041+{
4042+ lt_script_arg0=\$0
4043+ shift
4044+ for lt_opt
4045+ do
4046+ case \"\$lt_opt\" in
4047+ --lt-debug) lt_option_debug=1 ;;
4048+ --lt-dump-script)
4049+ lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\`
4050+ test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=.
4051+ lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\`
4052+ cat \"\$lt_dump_D/\$lt_dump_F\"
4053+ exit 0
4054+ ;;
4055+ --lt-*)
4056+ \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2
4057+ exit 1
4058+ ;;
4059+ esac
4060+ done
4061+
4062+ # Print the debug banner immediately:
4063+ if test -n \"\$lt_option_debug\"; then
4064+ echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2
4065+ fi
4066+}
4067+
4068+# Used when --lt-debug. Prints its arguments to stdout
4069+# (redirection is the responsibility of the caller)
4070+func_lt_dump_args ()
4071+{
4072+ lt_dump_args_N=1;
4073+ for lt_arg
4074+ do
4075+ \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\"
4076+ lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
4077+ done
4078+}
4079+
4080+# Core function for launching the target application
4081+func_exec_program_core ()
4082+{
4083+"
4084+ case $host in
4085+ # Backslashes separate directories on plain windows
4086+ *-*-mingw | *-*-os2* | *-cegcc*)
4087+ $ECHO "\
4088+ if test -n \"\$lt_option_debug\"; then
4089+ \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2
4090+ func_lt_dump_args \${1+\"\$@\"} 1>&2
4091+ fi
4092+ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
4093+"
4094+ ;;
4095+
4096+ *)
4097+ $ECHO "\
4098+ if test -n \"\$lt_option_debug\"; then
4099+ \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2
4100+ func_lt_dump_args \${1+\"\$@\"} 1>&2
4101+ fi
4102+ exec \"\$progdir/\$program\" \${1+\"\$@\"}
4103+"
4104+ ;;
4105+ esac
4106+ $ECHO "\
4107+ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
4108+ exit 1
4109+}
4110+
4111+# A function to encapsulate launching the target application
4112+# Strips options in the --lt-* namespace from \$@ and
4113+# launches target application with the remaining arguments.
4114+func_exec_program ()
4115+{
4116+ for lt_wr_arg
4117+ do
4118+ case \$lt_wr_arg in
4119+ --lt-*) ;;
4120+ *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
4121+ esac
4122+ shift
4123+ done
4124+ func_exec_program_core \${1+\"\$@\"}
4125+}
4126+
4127+ # Parse options
4128+ func_parse_lt_options \"\$0\" \${1+\"\$@\"}
4129
4130 # Find the directory that this script lives in.
4131 thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\`
4132@@ -3078,7 +4065,7 @@
4133
4134 # relink executable if necessary
4135 if test -n \"\$relink_command\"; then
4136- if relink_command_output=\`eval \"\$relink_command\" 2>&1\`; then :
4137+ if relink_command_output=\`eval \$relink_command 2>&1\`; then :
4138 else
4139 $ECHO \"\$relink_command_output\" >&2
4140 $RM \"\$progdir/\$file\"
4141@@ -3102,6 +4089,18 @@
4142
4143 if test -f \"\$progdir/\$program\"; then"
4144
4145+ # fixup the dll searchpath if we need to.
4146+ #
4147+ # Fix the DLL searchpath if we need to. Do this before prepending
4148+ # to shlibpath, because on Windows, both are PATH and uninstalled
4149+ # libraries must come first.
4150+ if test -n "$dllsearchpath"; then
4151+ $ECHO "\
4152+ # Add the dll search path components to the executable PATH
4153+ PATH=$dllsearchpath:\$PATH
4154+"
4155+ fi
4156+
4157 # Export our shlibpath_var if we have one.
4158 if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
4159 $ECHO "\
4160@@ -3116,35 +4115,10 @@
4161 "
4162 fi
4163
4164- # fixup the dll searchpath if we need to.
4165- if test -n "$dllsearchpath"; then
4166- $ECHO "\
4167- # Add the dll search path components to the executable PATH
4168- PATH=$dllsearchpath:\$PATH
4169-"
4170- fi
4171-
4172 $ECHO "\
4173 if test \"\$libtool_execute_magic\" != \"$magic\"; then
4174 # Run the actual program with our arguments.
4175-"
4176- case $host in
4177- # Backslashes separate directories on plain windows
4178- *-*-mingw | *-*-os2* | *-cegcc*)
4179- $ECHO "\
4180- exec \"\$progdir\\\\\$program\" \${1+\"\$@\"}
4181-"
4182- ;;
4183-
4184- *)
4185- $ECHO "\
4186- exec \"\$progdir/\$program\" \${1+\"\$@\"}
4187-"
4188- ;;
4189- esac
4190- $ECHO "\
4191- \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2
4192- exit 1
4193+ func_exec_program \${1+\"\$@\"}
4194 fi
4195 else
4196 # The program doesn't exist.
4197@@ -3158,166 +4132,6 @@
4198 }
4199
4200
4201-# func_to_host_path arg
4202-#
4203-# Convert paths to host format when used with build tools.
4204-# Intended for use with "native" mingw (where libtool itself
4205-# is running under the msys shell), or in the following cross-
4206-# build environments:
4207-# $build $host
4208-# mingw (msys) mingw [e.g. native]
4209-# cygwin mingw
4210-# *nix + wine mingw
4211-# where wine is equipped with the `winepath' executable.
4212-# In the native mingw case, the (msys) shell automatically
4213-# converts paths for any non-msys applications it launches,
4214-# but that facility isn't available from inside the cwrapper.
4215-# Similar accommodations are necessary for $host mingw and
4216-# $build cygwin. Calling this function does no harm for other
4217-# $host/$build combinations not listed above.
4218-#
4219-# ARG is the path (on $build) that should be converted to
4220-# the proper representation for $host. The result is stored
4221-# in $func_to_host_path_result.
4222-func_to_host_path ()
4223-{
4224- func_to_host_path_result="$1"
4225- if test -n "$1"; then
4226- case $host in
4227- *mingw* )
4228- lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
4229- case $build in
4230- *mingw* ) # actually, msys
4231- # awkward: cmd appends spaces to result
4232- func_to_host_path_result=`( cmd //c echo "$1" ) 2>/dev/null |
4233- $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
4234- ;;
4235- *cygwin* )
4236- func_to_host_path_result=`cygpath -w "$1" |
4237- $SED -e "$lt_sed_naive_backslashify"`
4238- ;;
4239- * )
4240- # Unfortunately, winepath does not exit with a non-zero
4241- # error code, so we are forced to check the contents of
4242- # stdout. On the other hand, if the command is not
4243- # found, the shell will set an exit code of 127 and print
4244- # *an error message* to stdout. So we must check for both
4245- # error code of zero AND non-empty stdout, which explains
4246- # the odd construction:
4247- func_to_host_path_tmp1=`winepath -w "$1" 2>/dev/null`
4248- if test "$?" -eq 0 && test -n "${func_to_host_path_tmp1}"; then
4249- func_to_host_path_result=`$ECHO "$func_to_host_path_tmp1" |
4250- $SED -e "$lt_sed_naive_backslashify"`
4251- else
4252- # Allow warning below.
4253- func_to_host_path_result=
4254- fi
4255- ;;
4256- esac
4257- if test -z "$func_to_host_path_result" ; then
4258- func_error "Could not determine host path corresponding to"
4259- func_error " \`$1'"
4260- func_error "Continuing, but uninstalled executables may not work."
4261- # Fallback:
4262- func_to_host_path_result="$1"
4263- fi
4264- ;;
4265- esac
4266- fi
4267-}
4268-# end: func_to_host_path
4269-
4270-# func_to_host_pathlist arg
4271-#
4272-# Convert pathlists to host format when used with build tools.
4273-# See func_to_host_path(), above. This function supports the
4274-# following $build/$host combinations (but does no harm for
4275-# combinations not listed here):
4276-# $build $host
4277-# mingw (msys) mingw [e.g. native]
4278-# cygwin mingw
4279-# *nix + wine mingw
4280-#
4281-# Path separators are also converted from $build format to
4282-# $host format. If ARG begins or ends with a path separator
4283-# character, it is preserved (but converted to $host format)
4284-# on output.
4285-#
4286-# ARG is a pathlist (on $build) that should be converted to
4287-# the proper representation on $host. The result is stored
4288-# in $func_to_host_pathlist_result.
4289-func_to_host_pathlist ()
4290-{
4291- func_to_host_pathlist_result="$1"
4292- if test -n "$1"; then
4293- case $host in
4294- *mingw* )
4295- lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
4296- # Remove leading and trailing path separator characters from
4297- # ARG. msys behavior is inconsistent here, cygpath turns them
4298- # into '.;' and ';.', and winepath ignores them completely.
4299- func_stripname : : "$1"
4300- func_to_host_pathlist_tmp1=$func_stripname_result
4301- case $build in
4302- *mingw* ) # Actually, msys.
4303- # Awkward: cmd appends spaces to result.
4304- func_to_host_pathlist_result=`
4305- ( cmd //c echo "$func_to_host_pathlist_tmp1" ) 2>/dev/null |
4306- $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
4307- ;;
4308- *cygwin* )
4309- func_to_host_pathlist_result=`cygpath -w -p "$func_to_host_pathlist_tmp1" |
4310- $SED -e "$lt_sed_naive_backslashify"`
4311- ;;
4312- * )
4313- # unfortunately, winepath doesn't convert pathlists
4314- func_to_host_pathlist_result=""
4315- func_to_host_pathlist_oldIFS=$IFS
4316- IFS=:
4317- for func_to_host_pathlist_f in $func_to_host_pathlist_tmp1 ; do
4318- IFS=$func_to_host_pathlist_oldIFS
4319- if test -n "$func_to_host_pathlist_f" ; then
4320- func_to_host_path "$func_to_host_pathlist_f"
4321- if test -n "$func_to_host_path_result" ; then
4322- if test -z "$func_to_host_pathlist_result" ; then
4323- func_to_host_pathlist_result="$func_to_host_path_result"
4324- else
4325- func_append func_to_host_pathlist_result ";$func_to_host_path_result"
4326- fi
4327- fi
4328- fi
4329- done
4330- IFS=$func_to_host_pathlist_oldIFS
4331- ;;
4332- esac
4333- if test -z "$func_to_host_pathlist_result"; then
4334- func_error "Could not determine the host path(s) corresponding to"
4335- func_error " \`$1'"
4336- func_error "Continuing, but uninstalled executables may not work."
4337- # Fallback. This may break if $1 contains DOS-style drive
4338- # specifications. The fix is not to complicate the expression
4339- # below, but for the user to provide a working wine installation
4340- # with winepath so that path translation in the cross-to-mingw
4341- # case works properly.
4342- lt_replace_pathsep_nix_to_dos="s|:|;|g"
4343- func_to_host_pathlist_result=`echo "$func_to_host_pathlist_tmp1" |\
4344- $SED -e "$lt_replace_pathsep_nix_to_dos"`
4345- fi
4346- # Now, add the leading and trailing path separators back
4347- case "$1" in
4348- :* ) func_to_host_pathlist_result=";$func_to_host_pathlist_result"
4349- ;;
4350- esac
4351- case "$1" in
4352- *: ) func_append func_to_host_pathlist_result ";"
4353- ;;
4354- esac
4355- ;;
4356- esac
4357- fi
4358-}
4359-# end: func_to_host_pathlist
4360-
4361 # func_emit_cwrapperexe_src
4362 # emit the source code for a wrapper executable on stdout
4363 # Must ONLY be called from within func_mode_link because
4364@@ -3334,10 +4148,6 @@
4365
4366 This wrapper executable should never be moved out of the build directory.
4367 If it is, it will not operate correctly.
4368-
4369- Currently, it simply execs the wrapper *script* "$SHELL $output",
4370- but could eventually absorb all of the scripts functionality and
4371- exec $objdir/$outputname directly.
4372 */
4373 EOF
4374 cat <<"EOF"
4375@@ -3462,22 +4272,13 @@
4376 if (stale) { free ((void *) stale); stale = 0; } \
4377 } while (0)
4378
4379-#undef LTWRAPPER_DEBUGPRINTF
4380-#if defined LT_DEBUGWRAPPER
4381-# define LTWRAPPER_DEBUGPRINTF(args) ltwrapper_debugprintf args
4382-static void
4383-ltwrapper_debugprintf (const char *fmt, ...)
4384-{
4385- va_list args;
4386- va_start (args, fmt);
4387- (void) vfprintf (stderr, fmt, args);
4388- va_end (args);
4389-}
4390+#if defined(LT_DEBUGWRAPPER)
4391+static int lt_debug = 1;
4392 #else
4393-# define LTWRAPPER_DEBUGPRINTF(args)
4394+static int lt_debug = 0;
4395 #endif
4396
4397-const char *program_name = NULL;
4398+const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */
4399
4400 void *xmalloc (size_t num);
4401 char *xstrdup (const char *string);
4402@@ -3487,7 +4288,10 @@
4403 int make_executable (const char *path);
4404 int check_executable (const char *path);
4405 char *strendzap (char *str, const char *pat);
4406-void lt_fatal (const char *message, ...);
4407+void lt_debugprintf (const char *file, int line, const char *fmt, ...);
4408+void lt_fatal (const char *file, int line, const char *message, ...);
4409+static const char *nonnull (const char *s);
4410+static const char *nonempty (const char *s);
4411 void lt_setenv (const char *name, const char *value);
4412 char *lt_extend_str (const char *orig_value, const char *add, int to_end);
4413 void lt_update_exe_path (const char *name, const char *value);
4414@@ -3497,14 +4301,14 @@
4415 EOF
4416
4417 cat <<EOF
4418-const char * MAGIC_EXE = "$magic_exe";
4419+volatile const char * MAGIC_EXE = "$magic_exe";
4420 const char * LIB_PATH_VARNAME = "$shlibpath_var";
4421 EOF
4422
4423 if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
4424- func_to_host_pathlist "$temp_rpath"
4425+ func_to_host_path "$temp_rpath"
4426 cat <<EOF
4427-const char * LIB_PATH_VALUE = "$func_to_host_pathlist_result";
4428+const char * LIB_PATH_VALUE = "$func_to_host_path_result";
4429 EOF
4430 else
4431 cat <<"EOF"
4432@@ -3513,10 +4317,10 @@
4433 fi
4434
4435 if test -n "$dllsearchpath"; then
4436- func_to_host_pathlist "$dllsearchpath:"
4437+ func_to_host_path "$dllsearchpath:"
4438 cat <<EOF
4439 const char * EXE_PATH_VARNAME = "PATH";
4440-const char * EXE_PATH_VALUE = "$func_to_host_pathlist_result";
4441+const char * EXE_PATH_VALUE = "$func_to_host_path_result";
4442 EOF
4443 else
4444 cat <<"EOF"
4445@@ -3539,12 +4343,10 @@
4446 cat <<"EOF"
4447
4448 #define LTWRAPPER_OPTION_PREFIX "--lt-"
4449-#define LTWRAPPER_OPTION_PREFIX_LENGTH 5
4450
4451-static const size_t opt_prefix_len = LTWRAPPER_OPTION_PREFIX_LENGTH;
4452 static const char *ltwrapper_option_prefix = LTWRAPPER_OPTION_PREFIX;
4453-
4454 static const char *dumpscript_opt = LTWRAPPER_OPTION_PREFIX "dump-script";
4455+static const char *debug_opt = LTWRAPPER_OPTION_PREFIX "debug";
4456
4457 int
4458 main (int argc, char *argv[])
4459@@ -3561,10 +4363,13 @@
4460 int i;
4461
4462 program_name = (char *) xstrdup (base_name (argv[0]));
4463- LTWRAPPER_DEBUGPRINTF (("(main) argv[0] : %s\n", argv[0]));
4464- LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
4465+ newargz = XMALLOC (char *, argc + 1);
4466
4467- /* very simple arg parsing; don't want to rely on getopt */
4468+ /* very simple arg parsing; don't want to rely on getopt
4469+ * also, copy all non cwrapper options to newargz, except
4470+ * argz[0], which is handled differently
4471+ */
4472+ newargc=0;
4473 for (i = 1; i < argc; i++)
4474 {
4475 if (strcmp (argv[i], dumpscript_opt) == 0)
4476@@ -3581,21 +4386,54 @@
4477 lt_dump_script (stdout);
4478 return 0;
4479 }
4480+ if (strcmp (argv[i], debug_opt) == 0)
4481+ {
4482+ lt_debug = 1;
4483+ continue;
4484+ }
4485+ if (strcmp (argv[i], ltwrapper_option_prefix) == 0)
4486+ {
4487+ /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
4488+ namespace, but it is not one of the ones we know about and
4489+ have already dealt with, above (inluding dump-script), then
4490+ report an error. Otherwise, targets might begin to believe
4491+ they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
4492+ namespace. The first time any user complains about this, we'll
4493+ need to make LTWRAPPER_OPTION_PREFIX a configure-time option
4494+ or a configure.ac-settable value.
4495+ */
4496+ lt_fatal (__FILE__, __LINE__,
4497+ "unrecognized %s option: '%s'",
4498+ ltwrapper_option_prefix, argv[i]);
4499+ }
4500+ /* otherwise ... */
4501+ newargz[++newargc] = xstrdup (argv[i]);
4502 }
4503+ newargz[++newargc] = NULL;
4504+
4505+EOF
4506+ cat <<EOF
4507+ /* The GNU banner must be the first non-error debug message */
4508+ lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n");
4509+EOF
4510+ cat <<"EOF"
4511+ lt_debugprintf (__FILE__, __LINE__, "(main) argv[0]: %s\n", argv[0]);
4512+ lt_debugprintf (__FILE__, __LINE__, "(main) program_name: %s\n", program_name);
4513
4514- newargz = XMALLOC (char *, argc + 1);
4515 tmp_pathspec = find_executable (argv[0]);
4516 if (tmp_pathspec == NULL)
4517- lt_fatal ("Couldn't find %s", argv[0]);
4518- LTWRAPPER_DEBUGPRINTF (("(main) found exe (before symlink chase) at : %s\n",
4519- tmp_pathspec));
4520+ lt_fatal (__FILE__, __LINE__, "couldn't find %s", argv[0]);
4521+ lt_debugprintf (__FILE__, __LINE__,
4522+ "(main) found exe (before symlink chase) at: %s\n",
4523+ tmp_pathspec);
4524
4525 actual_cwrapper_path = chase_symlinks (tmp_pathspec);
4526- LTWRAPPER_DEBUGPRINTF (("(main) found exe (after symlink chase) at : %s\n",
4527- actual_cwrapper_path));
4528+ lt_debugprintf (__FILE__, __LINE__,
4529+ "(main) found exe (after symlink chase) at: %s\n",
4530+ actual_cwrapper_path);
4531 XFREE (tmp_pathspec);
4532
4533- actual_cwrapper_name = xstrdup( base_name (actual_cwrapper_path));
4534+ actual_cwrapper_name = xstrdup (base_name (actual_cwrapper_path));
4535 strendzap (actual_cwrapper_path, actual_cwrapper_name);
4536
4537 /* wrapper name transforms */
4538@@ -3613,8 +4451,9 @@
4539 target_name = tmp_pathspec;
4540 tmp_pathspec = 0;
4541
4542- LTWRAPPER_DEBUGPRINTF (("(main) libtool target name: %s\n",
4543- target_name));
4544+ lt_debugprintf (__FILE__, __LINE__,
4545+ "(main) libtool target name: %s\n",
4546+ target_name);
4547 EOF
4548
4549 cat <<EOF
4550@@ -3664,35 +4503,19 @@
4551
4552 lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
4553 lt_setenv ("DUALCASE", "1"); /* for MSK sh */
4554- lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
4555+ /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must
4556+ be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath)
4557+ because on Windows, both *_VARNAMEs are PATH but uninstalled
4558+ libraries must come first. */
4559 lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
4560+ lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
4561
4562- newargc=0;
4563- for (i = 1; i < argc; i++)
4564- {
4565- if (strncmp (argv[i], ltwrapper_option_prefix, opt_prefix_len) == 0)
4566- {
4567- /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
4568- namespace, but it is not one of the ones we know about and
4569- have already dealt with, above (inluding dump-script), then
4570- report an error. Otherwise, targets might begin to believe
4571- they are allowed to use options in the LTWRAPPER_OPTION_PREFIX
4572- namespace. The first time any user complains about this, we'll
4573- need to make LTWRAPPER_OPTION_PREFIX a configure-time option
4574- or a configure.ac-settable value.
4575- */
4576- lt_fatal ("Unrecognized option in %s namespace: '%s'",
4577- ltwrapper_option_prefix, argv[i]);
4578- }
4579- /* otherwise ... */
4580- newargz[++newargc] = xstrdup (argv[i]);
4581- }
4582- newargz[++newargc] = NULL;
4583-
4584- LTWRAPPER_DEBUGPRINTF (("(main) lt_argv_zero : %s\n", (lt_argv_zero ? lt_argv_zero : "<NULL>")));
4585+ lt_debugprintf (__FILE__, __LINE__, "(main) lt_argv_zero: %s\n",
4586+ nonnull (lt_argv_zero));
4587 for (i = 0; i < newargc; i++)
4588 {
4589- LTWRAPPER_DEBUGPRINTF (("(main) newargz[%d] : %s\n", i, (newargz[i] ? newargz[i] : "<NULL>")));
4590+ lt_debugprintf (__FILE__, __LINE__, "(main) newargz[%d]: %s\n",
4591+ i, nonnull (newargz[i]));
4592 }
4593
4594 EOF
4595@@ -3706,7 +4529,9 @@
4596 if (rval == -1)
4597 {
4598 /* failed to start process */
4599- LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"%s\": errno = %d\n", lt_argv_zero, errno));
4600+ lt_debugprintf (__FILE__, __LINE__,
4601+ "(main) failed to launch target \"%s\": %s\n",
4602+ lt_argv_zero, nonnull (strerror (errno)));
4603 return 127;
4604 }
4605 return rval;
4606@@ -3728,7 +4553,7 @@
4607 {
4608 void *p = (void *) malloc (num);
4609 if (!p)
4610- lt_fatal ("Memory exhausted");
4611+ lt_fatal (__FILE__, __LINE__, "memory exhausted");
4612
4613 return p;
4614 }
4615@@ -3762,8 +4587,8 @@
4616 {
4617 struct stat st;
4618
4619- LTWRAPPER_DEBUGPRINTF (("(check_executable) : %s\n",
4620- path ? (*path ? path : "EMPTY!") : "NULL!"));
4621+ lt_debugprintf (__FILE__, __LINE__, "(check_executable): %s\n",
4622+ nonempty (path));
4623 if ((!path) || (!*path))
4624 return 0;
4625
4626@@ -3780,8 +4605,8 @@
4627 int rval = 0;
4628 struct stat st;
4629
4630- LTWRAPPER_DEBUGPRINTF (("(make_executable) : %s\n",
4631- path ? (*path ? path : "EMPTY!") : "NULL!"));
4632+ lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n",
4633+ nonempty (path));
4634 if ((!path) || (!*path))
4635 return 0;
4636
4637@@ -3807,8 +4632,8 @@
4638 int tmp_len;
4639 char *concat_name;
4640
4641- LTWRAPPER_DEBUGPRINTF (("(find_executable) : %s\n",
4642- wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"));
4643+ lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n",
4644+ nonempty (wrapper));
4645
4646 if ((wrapper == NULL) || (*wrapper == '\0'))
4647 return NULL;
4648@@ -3861,7 +4686,8 @@
4649 {
4650 /* empty path: current directory */
4651 if (getcwd (tmp, LT_PATHMAX) == NULL)
4652- lt_fatal ("getcwd failed");
4653+ lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
4654+ nonnull (strerror (errno)));
4655 tmp_len = strlen (tmp);
4656 concat_name =
4657 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
4658@@ -3886,7 +4712,8 @@
4659 }
4660 /* Relative path | not found in path: prepend cwd */
4661 if (getcwd (tmp, LT_PATHMAX) == NULL)
4662- lt_fatal ("getcwd failed");
4663+ lt_fatal (__FILE__, __LINE__, "getcwd failed: %s",
4664+ nonnull (strerror (errno)));
4665 tmp_len = strlen (tmp);
4666 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
4667 memcpy (concat_name, tmp, tmp_len);
4668@@ -3912,8 +4739,9 @@
4669 int has_symlinks = 0;
4670 while (strlen (tmp_pathspec) && !has_symlinks)
4671 {
4672- LTWRAPPER_DEBUGPRINTF (("checking path component for symlinks: %s\n",
4673- tmp_pathspec));
4674+ lt_debugprintf (__FILE__, __LINE__,
4675+ "checking path component for symlinks: %s\n",
4676+ tmp_pathspec);
4677 if (lstat (tmp_pathspec, &s) == 0)
4678 {
4679 if (S_ISLNK (s.st_mode) != 0)
4680@@ -3935,8 +4763,9 @@
4681 }
4682 else
4683 {
4684- char *errstr = strerror (errno);
4685- lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
4686+ lt_fatal (__FILE__, __LINE__,
4687+ "error accessing file \"%s\": %s",
4688+ tmp_pathspec, nonnull (strerror (errno)));
4689 }
4690 }
4691 XFREE (tmp_pathspec);
4692@@ -3949,7 +4778,8 @@
4693 tmp_pathspec = realpath (pathspec, buf);
4694 if (tmp_pathspec == 0)
4695 {
4696- lt_fatal ("Could not follow symlinks for %s", pathspec);
4697+ lt_fatal (__FILE__, __LINE__,
4698+ "could not follow symlinks for %s", pathspec);
4699 }
4700 return xstrdup (tmp_pathspec);
4701 #endif
4702@@ -3975,11 +4805,25 @@
4703 return str;
4704 }
4705
4706+void
4707+lt_debugprintf (const char *file, int line, const char *fmt, ...)
4708+{
4709+ va_list args;
4710+ if (lt_debug)
4711+ {
4712+ (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line);
4713+ va_start (args, fmt);
4714+ (void) vfprintf (stderr, fmt, args);
4715+ va_end (args);
4716+ }
4717+}
4718+
4719 static void
4720-lt_error_core (int exit_status, const char *mode,
4721+lt_error_core (int exit_status, const char *file,
4722+ int line, const char *mode,
4723 const char *message, va_list ap)
4724 {
4725- fprintf (stderr, "%s: %s: ", program_name, mode);
4726+ fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode);
4727 vfprintf (stderr, message, ap);
4728 fprintf (stderr, ".\n");
4729
4730@@ -3988,20 +4832,32 @@
4731 }
4732
4733 void
4734-lt_fatal (const char *message, ...)
4735+lt_fatal (const char *file, int line, const char *message, ...)
4736 {
4737 va_list ap;
4738 va_start (ap, message);
4739- lt_error_core (EXIT_FAILURE, "FATAL", message, ap);
4740+ lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap);
4741 va_end (ap);
4742 }
4743
4744+static const char *
4745+nonnull (const char *s)
4746+{
4747+ return s ? s : "(null)";
4748+}
4749+
4750+static const char *
4751+nonempty (const char *s)
4752+{
4753+ return (s && !*s) ? "(empty)" : nonnull (s);
4754+}
4755+
4756 void
4757 lt_setenv (const char *name, const char *value)
4758 {
4759- LTWRAPPER_DEBUGPRINTF (("(lt_setenv) setting '%s' to '%s'\n",
4760- (name ? name : "<NULL>"),
4761- (value ? value : "<NULL>")));
4762+ lt_debugprintf (__FILE__, __LINE__,
4763+ "(lt_setenv) setting '%s' to '%s'\n",
4764+ nonnull (name), nonnull (value));
4765 {
4766 #ifdef HAVE_SETENV
4767 /* always make a copy, for consistency with !HAVE_SETENV */
4768@@ -4049,9 +4905,9 @@
4769 void
4770 lt_update_exe_path (const char *name, const char *value)
4771 {
4772- LTWRAPPER_DEBUGPRINTF (("(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
4773- (name ? name : "<NULL>"),
4774- (value ? value : "<NULL>")));
4775+ lt_debugprintf (__FILE__, __LINE__,
4776+ "(lt_update_exe_path) modifying '%s' by prepending '%s'\n",
4777+ nonnull (name), nonnull (value));
4778
4779 if (name && *name && value && *value)
4780 {
4781@@ -4070,9 +4926,9 @@
4782 void
4783 lt_update_lib_path (const char *name, const char *value)
4784 {
4785- LTWRAPPER_DEBUGPRINTF (("(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
4786- (name ? name : "<NULL>"),
4787- (value ? value : "<NULL>")));
4788+ lt_debugprintf (__FILE__, __LINE__,
4789+ "(lt_update_lib_path) modifying '%s' by prepending '%s'\n",
4790+ nonnull (name), nonnull (value));
4791
4792 if (name && *name && value && *value)
4793 {
4794@@ -4222,7 +5078,7 @@
4795 func_win32_import_lib_p ()
4796 {
4797 $opt_debug
4798- case `eval "$file_magic_cmd \"\$1\" 2>/dev/null" | $SED -e 10q` in
4799+ case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
4800 *import*) : ;;
4801 *) false ;;
4802 esac
4803@@ -4401,9 +5257,9 @@
4804 ;;
4805 *)
4806 if test "$prev" = dlfiles; then
4807- dlfiles="$dlfiles $arg"
4808+ func_append dlfiles " $arg"
4809 else
4810- dlprefiles="$dlprefiles $arg"
4811+ func_append dlprefiles " $arg"
4812 fi
4813 prev=
4814 continue
4815@@ -4427,7 +5283,7 @@
4816 *-*-darwin*)
4817 case "$deplibs " in
4818 *" $qarg.ltframework "*) ;;
4819- *) deplibs="$deplibs $qarg.ltframework" # this is fixed later
4820+ *) func_append deplibs " $qarg.ltframework" # this is fixed later
4821 ;;
4822 esac
4823 ;;
4824@@ -4446,7 +5302,7 @@
4825 moreargs=
4826 for fil in `cat "$save_arg"`
4827 do
4828-# moreargs="$moreargs $fil"
4829+# func_append moreargs " $fil"
4830 arg=$fil
4831 # A libtool-controlled object.
4832
4833@@ -4475,7 +5331,7 @@
4834
4835 if test "$prev" = dlfiles; then
4836 if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
4837- dlfiles="$dlfiles $pic_object"
4838+ func_append dlfiles " $pic_object"
4839 prev=
4840 continue
4841 else
4842@@ -4487,7 +5343,7 @@
4843 # CHECK ME: I think I busted this. -Ossama
4844 if test "$prev" = dlprefiles; then
4845 # Preload the old-style object.
4846- dlprefiles="$dlprefiles $pic_object"
4847+ func_append dlprefiles " $pic_object"
4848 prev=
4849 fi
4850
4851@@ -4557,12 +5413,12 @@
4852 if test "$prev" = rpath; then
4853 case "$rpath " in
4854 *" $arg "*) ;;
4855- *) rpath="$rpath $arg" ;;
4856+ *) func_append rpath " $arg" ;;
4857 esac
4858 else
4859 case "$xrpath " in
4860 *" $arg "*) ;;
4861- *) xrpath="$xrpath $arg" ;;
4862+ *) func_append xrpath " $arg" ;;
4863 esac
4864 fi
4865 prev=
4866@@ -4574,28 +5430,28 @@
4867 continue
4868 ;;
4869 weak)
4870- weak_libs="$weak_libs $arg"
4871+ func_append weak_libs " $arg"
4872 prev=
4873 continue
4874 ;;
4875 xcclinker)
4876- linker_flags="$linker_flags $qarg"
4877- compiler_flags="$compiler_flags $qarg"
4878+ func_append linker_flags " $qarg"
4879+ func_append compiler_flags " $qarg"
4880 prev=
4881 func_append compile_command " $qarg"
4882 func_append finalize_command " $qarg"
4883 continue
4884 ;;
4885 xcompiler)
4886- compiler_flags="$compiler_flags $qarg"
4887+ func_append compiler_flags " $qarg"
4888 prev=
4889 func_append compile_command " $qarg"
4890 func_append finalize_command " $qarg"
4891 continue
4892 ;;
4893 xlinker)
4894- linker_flags="$linker_flags $qarg"
4895- compiler_flags="$compiler_flags $wl$qarg"
4896+ func_append linker_flags " $qarg"
4897+ func_append compiler_flags " $wl$qarg"
4898 prev=
4899 func_append compile_command " $wl$qarg"
4900 func_append finalize_command " $wl$qarg"
4901@@ -4686,15 +5542,16 @@
4902 ;;
4903
4904 -L*)
4905- func_stripname '-L' '' "$arg"
4906- dir=$func_stripname_result
4907- if test -z "$dir"; then
4908+ func_stripname "-L" '' "$arg"
4909+ if test -z "$func_stripname_result"; then
4910 if test "$#" -gt 0; then
4911 func_fatal_error "require no space between \`-L' and \`$1'"
4912 else
4913 func_fatal_error "need path for \`-L' option"
4914 fi
4915 fi
4916+ func_resolve_sysroot "$func_stripname_result"
4917+ dir=$func_resolve_sysroot_result
4918 # We need an absolute path.
4919 case $dir in
4920 [\\/]* | [A-Za-z]:[\\/]*) ;;
4921@@ -4706,10 +5563,16 @@
4922 ;;
4923 esac
4924 case "$deplibs " in
4925- *" -L$dir "*) ;;
4926+ *" -L$dir "* | *" $arg "*)
4927+ # Will only happen for absolute or sysroot arguments
4928+ ;;
4929 *)
4930- deplibs="$deplibs -L$dir"
4931- lib_search_path="$lib_search_path $dir"
4932+ # Preserve sysroot, but never include relative directories
4933+ case $dir in
4934+ [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;;
4935+ *) func_append deplibs " -L$dir" ;;
4936+ esac
4937+ func_append lib_search_path " $dir"
4938 ;;
4939 esac
4940 case $host in
4941@@ -4718,12 +5581,12 @@
4942 case :$dllsearchpath: in
4943 *":$dir:"*) ;;
4944 ::) dllsearchpath=$dir;;
4945- *) dllsearchpath="$dllsearchpath:$dir";;
4946+ *) func_append dllsearchpath ":$dir";;
4947 esac
4948 case :$dllsearchpath: in
4949 *":$testbindir:"*) ;;
4950 ::) dllsearchpath=$testbindir;;
4951- *) dllsearchpath="$dllsearchpath:$testbindir";;
4952+ *) func_append dllsearchpath ":$testbindir";;
4953 esac
4954 ;;
4955 esac
4956@@ -4747,7 +5610,7 @@
4957 ;;
4958 *-*-rhapsody* | *-*-darwin1.[012])
4959 # Rhapsody C and math libraries are in the System framework
4960- deplibs="$deplibs System.ltframework"
4961+ func_append deplibs " System.ltframework"
4962 continue
4963 ;;
4964 *-*-sco3.2v5* | *-*-sco5v6*)
4965@@ -4758,9 +5621,6 @@
4966 # Compiler inserts libc in the correct place for threads to work
4967 test "X$arg" = "X-lc" && continue
4968 ;;
4969- *-*-linux*)
4970- test "X$arg" = "X-lc" && continue
4971- ;;
4972 esac
4973 elif test "X$arg" = "X-lc_r"; then
4974 case $host in
4975@@ -4770,7 +5630,7 @@
4976 ;;
4977 esac
4978 fi
4979- deplibs="$deplibs $arg"
4980+ func_append deplibs " $arg"
4981 continue
4982 ;;
4983
4984@@ -4782,8 +5642,8 @@
4985 # Tru64 UNIX uses -model [arg] to determine the layout of C++
4986 # classes, name mangling, and exception handling.
4987 # Darwin uses the -arch flag to determine output architecture.
4988- -model|-arch|-isysroot)
4989- compiler_flags="$compiler_flags $arg"
4990+ -model|-arch|-isysroot|--sysroot)
4991+ func_append compiler_flags " $arg"
4992 func_append compile_command " $arg"
4993 func_append finalize_command " $arg"
4994 prev=xcompiler
4995@@ -4791,12 +5651,12 @@
4996 ;;
4997
4998 -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
4999- compiler_flags="$compiler_flags $arg"
5000+ func_append compiler_flags " $arg"
5001 func_append compile_command " $arg"
5002 func_append finalize_command " $arg"
5003 case "$new_inherited_linker_flags " in
5004 *" $arg "*) ;;
5005- * ) new_inherited_linker_flags="$new_inherited_linker_flags $arg" ;;
5006+ * ) func_append new_inherited_linker_flags " $arg" ;;
5007 esac
5008 continue
5009 ;;
5010@@ -4863,13 +5723,17 @@
5011 # We need an absolute path.
5012 case $dir in
5013 [\\/]* | [A-Za-z]:[\\/]*) ;;
5014+ =*)
5015+ func_stripname '=' '' "$dir"
5016+ dir=$lt_sysroot$func_stripname_result
5017+ ;;
5018 *)
5019 func_fatal_error "only absolute run-paths are allowed"
5020 ;;
5021 esac
5022 case "$xrpath " in
5023 *" $dir "*) ;;
5024- *) xrpath="$xrpath $dir" ;;
5025+ *) func_append xrpath " $dir" ;;
5026 esac
5027 continue
5028 ;;
5029@@ -4922,8 +5786,8 @@
5030 for flag in $args; do
5031 IFS="$save_ifs"
5032 func_quote_for_eval "$flag"
5033- arg="$arg $func_quote_for_eval_result"
5034- compiler_flags="$compiler_flags $func_quote_for_eval_result"
5035+ func_append arg " $func_quote_for_eval_result"
5036+ func_append compiler_flags " $func_quote_for_eval_result"
5037 done
5038 IFS="$save_ifs"
5039 func_stripname ' ' '' "$arg"
5040@@ -4938,9 +5802,9 @@
5041 for flag in $args; do
5042 IFS="$save_ifs"
5043 func_quote_for_eval "$flag"
5044- arg="$arg $wl$func_quote_for_eval_result"
5045- compiler_flags="$compiler_flags $wl$func_quote_for_eval_result"
5046- linker_flags="$linker_flags $func_quote_for_eval_result"
5047+ func_append arg " $wl$func_quote_for_eval_result"
5048+ func_append compiler_flags " $wl$func_quote_for_eval_result"
5049+ func_append linker_flags " $func_quote_for_eval_result"
5050 done
5051 IFS="$save_ifs"
5052 func_stripname ' ' '' "$arg"
5053@@ -4968,24 +5832,27 @@
5054 arg="$func_quote_for_eval_result"
5055 ;;
5056
5057- # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
5058- # -r[0-9][0-9]* specifies the processor on the SGI compiler
5059- # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
5060- # +DA*, +DD* enable 64-bit mode on the HP compiler
5061- # -q* pass through compiler args for the IBM compiler
5062- # -m*, -t[45]*, -txscale* pass through architecture-specific
5063- # compiler args for GCC
5064- # -F/path gives path to uninstalled frameworks, gcc on darwin
5065- # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
5066- # @file GCC response files
5067- # -tp=* Portland pgcc target processor selection
5068+ # Flags to be passed through unchanged, with rationale:
5069+ # -64, -mips[0-9] enable 64-bit mode for the SGI compiler
5070+ # -r[0-9][0-9]* specify processor for the SGI compiler
5071+ # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler
5072+ # +DA*, +DD* enable 64-bit mode for the HP compiler
5073+ # -q* compiler args for the IBM compiler
5074+ # -m*, -t[45]*, -txscale* architecture-specific flags for GCC
5075+ # -F/path path to uninstalled frameworks, gcc on darwin
5076+ # -p, -pg, --coverage, -fprofile-* profiling flags for GCC
5077+ # @file GCC response files
5078+ # -tp=* Portland pgcc target processor selection
5079+ # --sysroot=* for sysroot support
5080+ # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
5081 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
5082- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*)
5083+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
5084+ -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
5085 func_quote_for_eval "$arg"
5086 arg="$func_quote_for_eval_result"
5087 func_append compile_command " $arg"
5088 func_append finalize_command " $arg"
5089- compiler_flags="$compiler_flags $arg"
5090+ func_append compiler_flags " $arg"
5091 continue
5092 ;;
5093
5094@@ -4997,7 +5864,7 @@
5095
5096 *.$objext)
5097 # A standard object.
5098- objs="$objs $arg"
5099+ func_append objs " $arg"
5100 ;;
5101
5102 *.lo)
5103@@ -5028,7 +5895,7 @@
5104
5105 if test "$prev" = dlfiles; then
5106 if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
5107- dlfiles="$dlfiles $pic_object"
5108+ func_append dlfiles " $pic_object"
5109 prev=
5110 continue
5111 else
5112@@ -5040,7 +5907,7 @@
5113 # CHECK ME: I think I busted this. -Ossama
5114 if test "$prev" = dlprefiles; then
5115 # Preload the old-style object.
5116- dlprefiles="$dlprefiles $pic_object"
5117+ func_append dlprefiles " $pic_object"
5118 prev=
5119 fi
5120
5121@@ -5085,24 +5952,25 @@
5122
5123 *.$libext)
5124 # An archive.
5125- deplibs="$deplibs $arg"
5126- old_deplibs="$old_deplibs $arg"
5127+ func_append deplibs " $arg"
5128+ func_append old_deplibs " $arg"
5129 continue
5130 ;;
5131
5132 *.la)
5133 # A libtool-controlled library.
5134
5135+ func_resolve_sysroot "$arg"
5136 if test "$prev" = dlfiles; then
5137 # This library was specified with -dlopen.
5138- dlfiles="$dlfiles $arg"
5139+ func_append dlfiles " $func_resolve_sysroot_result"
5140 prev=
5141 elif test "$prev" = dlprefiles; then
5142 # The library was specified with -dlpreopen.
5143- dlprefiles="$dlprefiles $arg"
5144+ func_append dlprefiles " $func_resolve_sysroot_result"
5145 prev=
5146 else
5147- deplibs="$deplibs $arg"
5148+ func_append deplibs " $func_resolve_sysroot_result"
5149 fi
5150 continue
5151 ;;
5152@@ -5127,7 +5995,7 @@
5153 func_fatal_help "the \`$prevarg' option requires an argument"
5154
5155 if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
5156- eval "arg=\"$export_dynamic_flag_spec\""
5157+ eval arg=\"$export_dynamic_flag_spec\"
5158 func_append compile_command " $arg"
5159 func_append finalize_command " $arg"
5160 fi
5161@@ -5144,11 +6012,13 @@
5162 else
5163 shlib_search_path=
5164 fi
5165- eval "sys_lib_search_path=\"$sys_lib_search_path_spec\""
5166- eval "sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\""
5167+ eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
5168+ eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
5169
5170 func_dirname "$output" "/" ""
5171 output_objdir="$func_dirname_result$objdir"
5172+ func_to_tool_file "$output_objdir/"
5173+ tool_output_objdir=$func_to_tool_file_result
5174 # Create the object directory.
5175 func_mkdir_p "$output_objdir"
5176
5177@@ -5169,12 +6039,12 @@
5178 # Find all interdependent deplibs by searching for libraries
5179 # that are linked more than once (e.g. -la -lb -la)
5180 for deplib in $deplibs; do
5181- if $opt_duplicate_deps ; then
5182+ if $opt_preserve_dup_deps ; then
5183 case "$libs " in
5184- *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
5185+ *" $deplib "*) func_append specialdeplibs " $deplib" ;;
5186 esac
5187 fi
5188- libs="$libs $deplib"
5189+ func_append libs " $deplib"
5190 done
5191
5192 if test "$linkmode" = lib; then
5193@@ -5187,9 +6057,9 @@
5194 if $opt_duplicate_compiler_generated_deps; then
5195 for pre_post_dep in $predeps $postdeps; do
5196 case "$pre_post_deps " in
5197- *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;;
5198+ *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;;
5199 esac
5200- pre_post_deps="$pre_post_deps $pre_post_dep"
5201+ func_append pre_post_deps " $pre_post_dep"
5202 done
5203 fi
5204 pre_post_deps=
5205@@ -5256,8 +6126,9 @@
5206 for lib in $dlprefiles; do
5207 # Ignore non-libtool-libs
5208 dependency_libs=
5209+ func_resolve_sysroot "$lib"
5210 case $lib in
5211- *.la) func_source "$lib" ;;
5212+ *.la) func_source "$func_resolve_sysroot_result" ;;
5213 esac
5214
5215 # Collect preopened libtool deplibs, except any this library
5216@@ -5267,7 +6138,7 @@
5217 deplib_base=$func_basename_result
5218 case " $weak_libs " in
5219 *" $deplib_base "*) ;;
5220- *) deplibs="$deplibs $deplib" ;;
5221+ *) func_append deplibs " $deplib" ;;
5222 esac
5223 done
5224 done
5225@@ -5288,11 +6159,11 @@
5226 compile_deplibs="$deplib $compile_deplibs"
5227 finalize_deplibs="$deplib $finalize_deplibs"
5228 else
5229- compiler_flags="$compiler_flags $deplib"
5230+ func_append compiler_flags " $deplib"
5231 if test "$linkmode" = lib ; then
5232 case "$new_inherited_linker_flags " in
5233 *" $deplib "*) ;;
5234- * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
5235+ * ) func_append new_inherited_linker_flags " $deplib" ;;
5236 esac
5237 fi
5238 fi
5239@@ -5377,7 +6248,7 @@
5240 if test "$linkmode" = lib ; then
5241 case "$new_inherited_linker_flags " in
5242 *" $deplib "*) ;;
5243- * ) new_inherited_linker_flags="$new_inherited_linker_flags $deplib" ;;
5244+ * ) func_append new_inherited_linker_flags " $deplib" ;;
5245 esac
5246 fi
5247 fi
5248@@ -5390,7 +6261,8 @@
5249 test "$pass" = conv && continue
5250 newdependency_libs="$deplib $newdependency_libs"
5251 func_stripname '-L' '' "$deplib"
5252- newlib_search_path="$newlib_search_path $func_stripname_result"
5253+ func_resolve_sysroot "$func_stripname_result"
5254+ func_append newlib_search_path " $func_resolve_sysroot_result"
5255 ;;
5256 prog)
5257 if test "$pass" = conv; then
5258@@ -5404,7 +6276,8 @@
5259 finalize_deplibs="$deplib $finalize_deplibs"
5260 fi
5261 func_stripname '-L' '' "$deplib"
5262- newlib_search_path="$newlib_search_path $func_stripname_result"
5263+ func_resolve_sysroot "$func_stripname_result"
5264+ func_append newlib_search_path " $func_resolve_sysroot_result"
5265 ;;
5266 *)
5267 func_warning "\`-L' is ignored for archives/objects"
5268@@ -5415,17 +6288,21 @@
5269 -R*)
5270 if test "$pass" = link; then
5271 func_stripname '-R' '' "$deplib"
5272- dir=$func_stripname_result
5273+ func_resolve_sysroot "$func_stripname_result"
5274+ dir=$func_resolve_sysroot_result
5275 # Make sure the xrpath contains only unique directories.
5276 case "$xrpath " in
5277 *" $dir "*) ;;
5278- *) xrpath="$xrpath $dir" ;;
5279+ *) func_append xrpath " $dir" ;;
5280 esac
5281 fi
5282 deplibs="$deplib $deplibs"
5283 continue
5284 ;;
5285- *.la) lib="$deplib" ;;
5286+ *.la)
5287+ func_resolve_sysroot "$deplib"
5288+ lib=$func_resolve_sysroot_result
5289+ ;;
5290 *.$libext)
5291 if test "$pass" = conv; then
5292 deplibs="$deplib $deplibs"
5293@@ -5488,11 +6365,11 @@
5294 if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
5295 # If there is no dlopen support or we're linking statically,
5296 # we need to preload.
5297- newdlprefiles="$newdlprefiles $deplib"
5298+ func_append newdlprefiles " $deplib"
5299 compile_deplibs="$deplib $compile_deplibs"
5300 finalize_deplibs="$deplib $finalize_deplibs"
5301 else
5302- newdlfiles="$newdlfiles $deplib"
5303+ func_append newdlfiles " $deplib"
5304 fi
5305 fi
5306 continue
5307@@ -5538,7 +6415,7 @@
5308 for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do
5309 case " $new_inherited_linker_flags " in
5310 *" $tmp_inherited_linker_flag "*) ;;
5311- *) new_inherited_linker_flags="$new_inherited_linker_flags $tmp_inherited_linker_flag";;
5312+ *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";;
5313 esac
5314 done
5315 fi
5316@@ -5546,8 +6423,8 @@
5317 if test "$linkmode,$pass" = "lib,link" ||
5318 test "$linkmode,$pass" = "prog,scan" ||
5319 { test "$linkmode" != prog && test "$linkmode" != lib; }; then
5320- test -n "$dlopen" && dlfiles="$dlfiles $dlopen"
5321- test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen"
5322+ test -n "$dlopen" && func_append dlfiles " $dlopen"
5323+ test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
5324 fi
5325
5326 if test "$pass" = conv; then
5327@@ -5558,20 +6435,20 @@
5328 func_fatal_error "cannot find name of link library for \`$lib'"
5329 fi
5330 # It is a libtool convenience library, so add in its objects.
5331- convenience="$convenience $ladir/$objdir/$old_library"
5332- old_convenience="$old_convenience $ladir/$objdir/$old_library"
5333+ func_append convenience " $ladir/$objdir/$old_library"
5334+ func_append old_convenience " $ladir/$objdir/$old_library"
5335 elif test "$linkmode" != prog && test "$linkmode" != lib; then
5336 func_fatal_error "\`$lib' is not a convenience library"
5337 fi
5338 tmp_libs=
5339 for deplib in $dependency_libs; do
5340 deplibs="$deplib $deplibs"
5341- if $opt_duplicate_deps ; then
5342+ if $opt_preserve_dup_deps ; then
5343 case "$tmp_libs " in
5344- *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
5345+ *" $deplib "*) func_append specialdeplibs " $deplib" ;;
5346 esac
5347 fi
5348- tmp_libs="$tmp_libs $deplib"
5349+ func_append tmp_libs " $deplib"
5350 done
5351 continue
5352 fi # $pass = conv
5353@@ -5579,9 +6456,15 @@
5354
5355 # Get the name of the library we link against.
5356 linklib=
5357- for l in $old_library $library_names; do
5358- linklib="$l"
5359- done
5360+ if test -n "$old_library" &&
5361+ { test "$prefer_static_libs" = yes ||
5362+ test "$prefer_static_libs,$installed" = "built,no"; }; then
5363+ linklib=$old_library
5364+ else
5365+ for l in $old_library $library_names; do
5366+ linklib="$l"
5367+ done
5368+ fi
5369 if test -z "$linklib"; then
5370 func_fatal_error "cannot find name of link library for \`$lib'"
5371 fi
5372@@ -5598,9 +6481,9 @@
5373 # statically, we need to preload. We also need to preload any
5374 # dependent libraries so libltdl's deplib preloader doesn't
5375 # bomb out in the load deplibs phase.
5376- dlprefiles="$dlprefiles $lib $dependency_libs"
5377+ func_append dlprefiles " $lib $dependency_libs"
5378 else
5379- newdlfiles="$newdlfiles $lib"
5380+ func_append newdlfiles " $lib"
5381 fi
5382 continue
5383 fi # $pass = dlopen
5384@@ -5622,14 +6505,14 @@
5385
5386 # Find the relevant object directory and library name.
5387 if test "X$installed" = Xyes; then
5388- if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
5389+ if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
5390 func_warning "library \`$lib' was moved."
5391 dir="$ladir"
5392 absdir="$abs_ladir"
5393 libdir="$abs_ladir"
5394 else
5395- dir="$libdir"
5396- absdir="$libdir"
5397+ dir="$lt_sysroot$libdir"
5398+ absdir="$lt_sysroot$libdir"
5399 fi
5400 test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
5401 else
5402@@ -5637,12 +6520,12 @@
5403 dir="$ladir"
5404 absdir="$abs_ladir"
5405 # Remove this search path later
5406- notinst_path="$notinst_path $abs_ladir"
5407+ func_append notinst_path " $abs_ladir"
5408 else
5409 dir="$ladir/$objdir"
5410 absdir="$abs_ladir/$objdir"
5411 # Remove this search path later
5412- notinst_path="$notinst_path $abs_ladir"
5413+ func_append notinst_path " $abs_ladir"
5414 fi
5415 fi # $installed = yes
5416 func_stripname 'lib' '.la' "$laname"
5417@@ -5653,20 +6536,46 @@
5418 if test -z "$libdir" && test "$linkmode" = prog; then
5419 func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
5420 fi
5421- # Prefer using a static library (so that no silly _DYNAMIC symbols
5422- # are required to link).
5423- if test -n "$old_library"; then
5424- newdlprefiles="$newdlprefiles $dir/$old_library"
5425- # Keep a list of preopened convenience libraries to check
5426- # that they are being used correctly in the link pass.
5427- test -z "$libdir" && \
5428- dlpreconveniencelibs="$dlpreconveniencelibs $dir/$old_library"
5429- # Otherwise, use the dlname, so that lt_dlopen finds it.
5430- elif test -n "$dlname"; then
5431- newdlprefiles="$newdlprefiles $dir/$dlname"
5432- else
5433- newdlprefiles="$newdlprefiles $dir/$linklib"
5434- fi
5435+ case "$host" in
5436+ # special handling for platforms with PE-DLLs.
5437+ *cygwin* | *mingw* | *cegcc* )
5438+ # Linker will automatically link against shared library if both
5439+ # static and shared are present. Therefore, ensure we extract
5440+ # symbols from the import library if a shared library is present
5441+ # (otherwise, the dlopen module name will be incorrect). We do
5442+ # this by putting the import library name into $newdlprefiles.
5443+ # We recover the dlopen module name by 'saving' the la file
5444+ # name in a special purpose variable, and (later) extracting the
5445+ # dlname from the la file.
5446+ if test -n "$dlname"; then
5447+ func_tr_sh "$dir/$linklib"
5448+ eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname"
5449+ func_append newdlprefiles " $dir/$linklib"
5450+ else
5451+ func_append newdlprefiles " $dir/$old_library"
5452+ # Keep a list of preopened convenience libraries to check
5453+ # that they are being used correctly in the link pass.
5454+ test -z "$libdir" && \
5455+ func_append dlpreconveniencelibs " $dir/$old_library"
5456+ fi
5457+ ;;
5458+ * )
5459+ # Prefer using a static library (so that no silly _DYNAMIC symbols
5460+ # are required to link).
5461+ if test -n "$old_library"; then
5462+ func_append newdlprefiles " $dir/$old_library"
5463+ # Keep a list of preopened convenience libraries to check
5464+ # that they are being used correctly in the link pass.
5465+ test -z "$libdir" && \
5466+ func_append dlpreconveniencelibs " $dir/$old_library"
5467+ # Otherwise, use the dlname, so that lt_dlopen finds it.
5468+ elif test -n "$dlname"; then
5469+ func_append newdlprefiles " $dir/$dlname"
5470+ else
5471+ func_append newdlprefiles " $dir/$linklib"
5472+ fi
5473+ ;;
5474+ esac
5475 fi # $pass = dlpreopen
5476
5477 if test -z "$libdir"; then
5478@@ -5684,7 +6593,7 @@
5479
5480
5481 if test "$linkmode" = prog && test "$pass" != link; then
5482- newlib_search_path="$newlib_search_path $ladir"
5483+ func_append newlib_search_path " $ladir"
5484 deplibs="$lib $deplibs"
5485
5486 linkalldeplibs=no
5487@@ -5697,7 +6606,8 @@
5488 for deplib in $dependency_libs; do
5489 case $deplib in
5490 -L*) func_stripname '-L' '' "$deplib"
5491- newlib_search_path="$newlib_search_path $func_stripname_result"
5492+ func_resolve_sysroot "$func_stripname_result"
5493+ func_append newlib_search_path " $func_resolve_sysroot_result"
5494 ;;
5495 esac
5496 # Need to link against all dependency_libs?
5497@@ -5708,12 +6618,12 @@
5498 # or/and link against static libraries
5499 newdependency_libs="$deplib $newdependency_libs"
5500 fi
5501- if $opt_duplicate_deps ; then
5502+ if $opt_preserve_dup_deps ; then
5503 case "$tmp_libs " in
5504- *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
5505+ *" $deplib "*) func_append specialdeplibs " $deplib" ;;
5506 esac
5507 fi
5508- tmp_libs="$tmp_libs $deplib"
5509+ func_append tmp_libs " $deplib"
5510 done # for deplib
5511 continue
5512 fi # $linkmode = prog...
5513@@ -5728,7 +6638,7 @@
5514 # Make sure the rpath contains only unique directories.
5515 case "$temp_rpath:" in
5516 *"$absdir:"*) ;;
5517- *) temp_rpath="$temp_rpath$absdir:" ;;
5518+ *) func_append temp_rpath "$absdir:" ;;
5519 esac
5520 fi
5521
5522@@ -5740,7 +6650,7 @@
5523 *)
5524 case "$compile_rpath " in
5525 *" $absdir "*) ;;
5526- *) compile_rpath="$compile_rpath $absdir"
5527+ *) func_append compile_rpath " $absdir" ;;
5528 esac
5529 ;;
5530 esac
5531@@ -5749,7 +6659,7 @@
5532 *)
5533 case "$finalize_rpath " in
5534 *" $libdir "*) ;;
5535- *) finalize_rpath="$finalize_rpath $libdir"
5536+ *) func_append finalize_rpath " $libdir" ;;
5537 esac
5538 ;;
5539 esac
5540@@ -5774,12 +6684,12 @@
5541 case $host in
5542 *cygwin* | *mingw* | *cegcc*)
5543 # No point in relinking DLLs because paths are not encoded
5544- notinst_deplibs="$notinst_deplibs $lib"
5545+ func_append notinst_deplibs " $lib"
5546 need_relink=no
5547 ;;
5548 *)
5549 if test "$installed" = no; then
5550- notinst_deplibs="$notinst_deplibs $lib"
5551+ func_append notinst_deplibs " $lib"
5552 need_relink=yes
5553 fi
5554 ;;
5555@@ -5814,7 +6724,7 @@
5556 *)
5557 case "$compile_rpath " in
5558 *" $absdir "*) ;;
5559- *) compile_rpath="$compile_rpath $absdir"
5560+ *) func_append compile_rpath " $absdir" ;;
5561 esac
5562 ;;
5563 esac
5564@@ -5823,7 +6733,7 @@
5565 *)
5566 case "$finalize_rpath " in
5567 *" $libdir "*) ;;
5568- *) finalize_rpath="$finalize_rpath $libdir"
5569+ *) func_append finalize_rpath " $libdir" ;;
5570 esac
5571 ;;
5572 esac
5573@@ -5835,7 +6745,7 @@
5574 shift
5575 realname="$1"
5576 shift
5577- eval "libname=\"$libname_spec\""
5578+ libname=`eval "\\$ECHO \"$libname_spec\""`
5579 # use dlname if we got it. it's perfectly good, no?
5580 if test -n "$dlname"; then
5581 soname="$dlname"
5582@@ -5848,7 +6758,7 @@
5583 versuffix="-$major"
5584 ;;
5585 esac
5586- eval "soname=\"$soname_spec\""
5587+ eval soname=\"$soname_spec\"
5588 else
5589 soname="$realname"
5590 fi
5591@@ -5877,7 +6787,7 @@
5592 linklib=$newlib
5593 fi # test -n "$old_archive_from_expsyms_cmds"
5594
5595- if test "$linkmode" = prog || test "$mode" != relink; then
5596+ if test "$linkmode" = prog || test "$opt_mode" != relink; then
5597 add_shlibpath=
5598 add_dir=
5599 add=
5600@@ -5933,7 +6843,7 @@
5601 if test -n "$inst_prefix_dir"; then
5602 case $libdir in
5603 [\\/]*)
5604- add_dir="$add_dir -L$inst_prefix_dir$libdir"
5605+ func_append add_dir " -L$inst_prefix_dir$libdir"
5606 ;;
5607 esac
5608 fi
5609@@ -5955,7 +6865,7 @@
5610 if test -n "$add_shlibpath"; then
5611 case :$compile_shlibpath: in
5612 *":$add_shlibpath:"*) ;;
5613- *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;;
5614+ *) func_append compile_shlibpath "$add_shlibpath:" ;;
5615 esac
5616 fi
5617 if test "$linkmode" = prog; then
5618@@ -5969,13 +6879,13 @@
5619 test "$hardcode_shlibpath_var" = yes; then
5620 case :$finalize_shlibpath: in
5621 *":$libdir:"*) ;;
5622- *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
5623+ *) func_append finalize_shlibpath "$libdir:" ;;
5624 esac
5625 fi
5626 fi
5627 fi
5628
5629- if test "$linkmode" = prog || test "$mode" = relink; then
5630+ if test "$linkmode" = prog || test "$opt_mode" = relink; then
5631 add_shlibpath=
5632 add_dir=
5633 add=
5634@@ -5989,7 +6899,7 @@
5635 elif test "$hardcode_shlibpath_var" = yes; then
5636 case :$finalize_shlibpath: in
5637 *":$libdir:"*) ;;
5638- *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;;
5639+ *) func_append finalize_shlibpath "$libdir:" ;;
5640 esac
5641 add="-l$name"
5642 elif test "$hardcode_automatic" = yes; then
5643@@ -6001,12 +6911,12 @@
5644 fi
5645 else
5646 # We cannot seem to hardcode it, guess we'll fake it.
5647- add_dir="-L$libdir"
5648+ add_dir="-L$lt_sysroot$libdir"
5649 # Try looking first in the location we're being installed to.
5650 if test -n "$inst_prefix_dir"; then
5651 case $libdir in
5652 [\\/]*)
5653- add_dir="$add_dir -L$inst_prefix_dir$libdir"
5654+ func_append add_dir " -L$inst_prefix_dir$libdir"
5655 ;;
5656 esac
5657 fi
5658@@ -6083,27 +6993,33 @@
5659 temp_xrpath=$func_stripname_result
5660 case " $xrpath " in
5661 *" $temp_xrpath "*) ;;
5662- *) xrpath="$xrpath $temp_xrpath";;
5663+ *) func_append xrpath " $temp_xrpath";;
5664 esac;;
5665- *) temp_deplibs="$temp_deplibs $libdir";;
5666+ *) func_append temp_deplibs " $libdir";;
5667 esac
5668 done
5669 dependency_libs="$temp_deplibs"
5670 fi
5671
5672- newlib_search_path="$newlib_search_path $absdir"
5673+ func_append newlib_search_path " $absdir"
5674 # Link against this library
5675 test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
5676 # ... and its dependency_libs
5677 tmp_libs=
5678 for deplib in $dependency_libs; do
5679 newdependency_libs="$deplib $newdependency_libs"
5680- if $opt_duplicate_deps ; then
5681+ case $deplib in
5682+ -L*) func_stripname '-L' '' "$deplib"
5683+ func_resolve_sysroot "$func_stripname_result";;
5684+ *) func_resolve_sysroot "$deplib" ;;
5685+ esac
5686+ if $opt_preserve_dup_deps ; then
5687 case "$tmp_libs " in
5688- *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
5689+ *" $func_resolve_sysroot_result "*)
5690+ func_append specialdeplibs " $func_resolve_sysroot_result" ;;
5691 esac
5692 fi
5693- tmp_libs="$tmp_libs $deplib"
5694+ func_append tmp_libs " $func_resolve_sysroot_result"
5695 done
5696
5697 if test "$link_all_deplibs" != no; then
5698@@ -6113,8 +7029,10 @@
5699 case $deplib in
5700 -L*) path="$deplib" ;;
5701 *.la)
5702+ func_resolve_sysroot "$deplib"
5703+ deplib=$func_resolve_sysroot_result
5704 func_dirname "$deplib" "" "."
5705- dir="$func_dirname_result"
5706+ dir=$func_dirname_result
5707 # We need an absolute path.
5708 case $dir in
5709 [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
5710@@ -6130,7 +7048,7 @@
5711 case $host in
5712 *-*-darwin*)
5713 depdepl=
5714- deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
5715+ eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
5716 if test -n "$deplibrary_names" ; then
5717 for tmp in $deplibrary_names ; do
5718 depdepl=$tmp
5719@@ -6141,8 +7059,8 @@
5720 if test -z "$darwin_install_name"; then
5721 darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
5722 fi
5723- compiler_flags="$compiler_flags ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
5724- linker_flags="$linker_flags -dylib_file ${darwin_install_name}:${depdepl}"
5725+ func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
5726+ func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}"
5727 path=
5728 fi
5729 fi
5730@@ -6152,7 +7070,7 @@
5731 ;;
5732 esac
5733 else
5734- libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
5735+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
5736 test -z "$libdir" && \
5737 func_fatal_error "\`$deplib' is not a valid libtool archive"
5738 test "$absdir" != "$libdir" && \
5739@@ -6192,7 +7110,7 @@
5740 for dir in $newlib_search_path; do
5741 case "$lib_search_path " in
5742 *" $dir "*) ;;
5743- *) lib_search_path="$lib_search_path $dir" ;;
5744+ *) func_append lib_search_path " $dir" ;;
5745 esac
5746 done
5747 newlib_search_path=
5748@@ -6205,7 +7123,7 @@
5749 fi
5750 for var in $vars dependency_libs; do
5751 # Add libraries to $var in reverse order
5752- eval tmp_libs=\$$var
5753+ eval tmp_libs=\"\$$var\"
5754 new_libs=
5755 for deplib in $tmp_libs; do
5756 # FIXME: Pedantically, this is the right thing to do, so
5757@@ -6250,13 +7168,13 @@
5758 -L*)
5759 case " $tmp_libs " in
5760 *" $deplib "*) ;;
5761- *) tmp_libs="$tmp_libs $deplib" ;;
5762+ *) func_append tmp_libs " $deplib" ;;
5763 esac
5764 ;;
5765- *) tmp_libs="$tmp_libs $deplib" ;;
5766+ *) func_append tmp_libs " $deplib" ;;
5767 esac
5768 done
5769- eval $var=\$tmp_libs
5770+ eval $var=\"$tmp_libs\"
5771 done # for var
5772 fi
5773 # Last step: remove runtime libs from dependency_libs
5774@@ -6269,7 +7187,7 @@
5775 ;;
5776 esac
5777 if test -n "$i" ; then
5778- tmp_libs="$tmp_libs $i"
5779+ func_append tmp_libs " $i"
5780 fi
5781 done
5782 dependency_libs=$tmp_libs
5783@@ -6310,7 +7228,7 @@
5784 # Now set the variables for building old libraries.
5785 build_libtool_libs=no
5786 oldlibs="$output"
5787- objs="$objs$old_deplibs"
5788+ func_append objs "$old_deplibs"
5789 ;;
5790
5791 lib)
5792@@ -6319,8 +7237,8 @@
5793 lib*)
5794 func_stripname 'lib' '.la' "$outputname"
5795 name=$func_stripname_result
5796- eval "shared_ext=\"$shrext_cmds\""
5797- eval "libname=\"$libname_spec\""
5798+ eval shared_ext=\"$shrext_cmds\"
5799+ eval libname=\"$libname_spec\"
5800 ;;
5801 *)
5802 test "$module" = no && \
5803@@ -6330,8 +7248,8 @@
5804 # Add the "lib" prefix for modules if required
5805 func_stripname '' '.la' "$outputname"
5806 name=$func_stripname_result
5807- eval "shared_ext=\"$shrext_cmds\""
5808- eval "libname=\"$libname_spec\""
5809+ eval shared_ext=\"$shrext_cmds\"
5810+ eval libname=\"$libname_spec\"
5811 else
5812 func_stripname '' '.la' "$outputname"
5813 libname=$func_stripname_result
5814@@ -6346,7 +7264,7 @@
5815 echo
5816 $ECHO "*** Warning: Linking the shared library $output against the non-libtool"
5817 $ECHO "*** objects $objs is not portable!"
5818- libobjs="$libobjs $objs"
5819+ func_append libobjs " $objs"
5820 fi
5821 fi
5822
5823@@ -6544,7 +7462,7 @@
5824 done
5825
5826 # Make executables depend on our current version.
5827- verstring="$verstring:${current}.0"
5828+ func_append verstring ":${current}.0"
5829 ;;
5830
5831 qnx)
5832@@ -6612,10 +7530,10 @@
5833 fi
5834
5835 func_generate_dlsyms "$libname" "$libname" "yes"
5836- libobjs="$libobjs $symfileobj"
5837+ func_append libobjs " $symfileobj"
5838 test "X$libobjs" = "X " && libobjs=
5839
5840- if test "$mode" != relink; then
5841+ if test "$opt_mode" != relink; then
5842 # Remove our outputs, but don't remove object files since they
5843 # may have been created when compiling PIC objects.
5844 removelist=
5845@@ -6631,7 +7549,7 @@
5846 continue
5847 fi
5848 fi
5849- removelist="$removelist $p"
5850+ func_append removelist " $p"
5851 ;;
5852 *) ;;
5853 esac
5854@@ -6642,7 +7560,7 @@
5855
5856 # Now set the variables for building old libraries.
5857 if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
5858- oldlibs="$oldlibs $output_objdir/$libname.$libext"
5859+ func_append oldlibs " $output_objdir/$libname.$libext"
5860
5861 # Transform .lo files to .o files.
5862 oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
5863@@ -6659,10 +7577,11 @@
5864 # If the user specified any rpath flags, then add them.
5865 temp_xrpath=
5866 for libdir in $xrpath; do
5867- temp_xrpath="$temp_xrpath -R$libdir"
5868+ func_replace_sysroot "$libdir"
5869+ func_append temp_xrpath " -R$func_replace_sysroot_result"
5870 case "$finalize_rpath " in
5871 *" $libdir "*) ;;
5872- *) finalize_rpath="$finalize_rpath $libdir" ;;
5873+ *) func_append finalize_rpath " $libdir" ;;
5874 esac
5875 done
5876 if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
5877@@ -6676,7 +7595,7 @@
5878 for lib in $old_dlfiles; do
5879 case " $dlprefiles $dlfiles " in
5880 *" $lib "*) ;;
5881- *) dlfiles="$dlfiles $lib" ;;
5882+ *) func_append dlfiles " $lib" ;;
5883 esac
5884 done
5885
5886@@ -6686,7 +7605,7 @@
5887 for lib in $old_dlprefiles; do
5888 case "$dlprefiles " in
5889 *" $lib "*) ;;
5890- *) dlprefiles="$dlprefiles $lib" ;;
5891+ *) func_append dlprefiles " $lib" ;;
5892 esac
5893 done
5894
5895@@ -6698,7 +7617,7 @@
5896 ;;
5897 *-*-rhapsody* | *-*-darwin1.[012])
5898 # Rhapsody C library is in the System framework
5899- deplibs="$deplibs System.ltframework"
5900+ func_append deplibs " System.ltframework"
5901 ;;
5902 *-*-netbsd*)
5903 # Don't link with libc until the a.out ld.so is fixed.
5904@@ -6715,7 +7634,7 @@
5905 *)
5906 # Add libc to deplibs on all other systems if necessary.
5907 if test "$build_libtool_need_lc" = "yes"; then
5908- deplibs="$deplibs -lc"
5909+ func_append deplibs " -lc"
5910 fi
5911 ;;
5912 esac
5913@@ -6764,18 +7683,18 @@
5914 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
5915 case " $predeps $postdeps " in
5916 *" $i "*)
5917- newdeplibs="$newdeplibs $i"
5918+ func_append newdeplibs " $i"
5919 i=""
5920 ;;
5921 esac
5922 fi
5923 if test -n "$i" ; then
5924- eval "libname=\"$libname_spec\""
5925- eval "deplib_matches=\"$library_names_spec\""
5926+ libname=`eval "\\$ECHO \"$libname_spec\""`
5927+ deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
5928 set dummy $deplib_matches; shift
5929 deplib_match=$1
5930 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
5931- newdeplibs="$newdeplibs $i"
5932+ func_append newdeplibs " $i"
5933 else
5934 droppeddeps=yes
5935 echo
5936@@ -6789,7 +7708,7 @@
5937 fi
5938 ;;
5939 *)
5940- newdeplibs="$newdeplibs $i"
5941+ func_append newdeplibs " $i"
5942 ;;
5943 esac
5944 done
5945@@ -6807,18 +7726,18 @@
5946 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
5947 case " $predeps $postdeps " in
5948 *" $i "*)
5949- newdeplibs="$newdeplibs $i"
5950+ func_append newdeplibs " $i"
5951 i=""
5952 ;;
5953 esac
5954 fi
5955 if test -n "$i" ; then
5956- eval "libname=\"$libname_spec\""
5957- eval "deplib_matches=\"$library_names_spec\""
5958+ libname=`eval "\\$ECHO \"$libname_spec\""`
5959+ deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
5960 set dummy $deplib_matches; shift
5961 deplib_match=$1
5962 if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
5963- newdeplibs="$newdeplibs $i"
5964+ func_append newdeplibs " $i"
5965 else
5966 droppeddeps=yes
5967 echo
5968@@ -6840,7 +7759,7 @@
5969 fi
5970 ;;
5971 *)
5972- newdeplibs="$newdeplibs $i"
5973+ func_append newdeplibs " $i"
5974 ;;
5975 esac
5976 done
5977@@ -6857,15 +7776,27 @@
5978 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
5979 case " $predeps $postdeps " in
5980 *" $a_deplib "*)
5981- newdeplibs="$newdeplibs $a_deplib"
5982+ func_append newdeplibs " $a_deplib"
5983 a_deplib=""
5984 ;;
5985 esac
5986 fi
5987 if test -n "$a_deplib" ; then
5988- eval "libname=\"$libname_spec\""
5989+ libname=`eval "\\$ECHO \"$libname_spec\""`
5990+ if test -n "$file_magic_glob"; then
5991+ libnameglob=`func_echo_all "$libname" | $SED -e $file_magic_glob`
5992+ else
5993+ libnameglob=$libname
5994+ fi
5995+ test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob`
5996 for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
5997- potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
5998+ if test "$want_nocaseglob" = yes; then
5999+ shopt -s nocaseglob
6000+ potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
6001+ $nocaseglob
6002+ else
6003+ potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
6004+ fi
6005 for potent_lib in $potential_libs; do
6006 # Follow soft links.
6007 if ls -lLd "$potent_lib" 2>/dev/null |
6008@@ -6885,10 +7816,10 @@
6009 *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
6010 esac
6011 done
6012- if eval "$file_magic_cmd \"\$potlib\"" 2>/dev/null |
6013+ if eval $file_magic_cmd \"\$potlib\" 2>/dev/null |
6014 $SED -e 10q |
6015 $EGREP "$file_magic_regex" > /dev/null; then
6016- newdeplibs="$newdeplibs $a_deplib"
6017+ func_append newdeplibs " $a_deplib"
6018 a_deplib=""
6019 break 2
6020 fi
6021@@ -6913,7 +7844,7 @@
6022 ;;
6023 *)
6024 # Add a -L argument.
6025- newdeplibs="$newdeplibs $a_deplib"
6026+ func_append newdeplibs " $a_deplib"
6027 ;;
6028 esac
6029 done # Gone through all deplibs.
6030@@ -6929,20 +7860,20 @@
6031 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
6032 case " $predeps $postdeps " in
6033 *" $a_deplib "*)
6034- newdeplibs="$newdeplibs $a_deplib"
6035+ func_append newdeplibs " $a_deplib"
6036 a_deplib=""
6037 ;;
6038 esac
6039 fi
6040 if test -n "$a_deplib" ; then
6041- eval "libname=\"$libname_spec\""
6042+ libname=`eval "\\$ECHO \"$libname_spec\""`
6043 for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
6044 potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
6045 for potent_lib in $potential_libs; do
6046 potlib="$potent_lib" # see symlink-check above in file_magic test
6047 if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
6048 $EGREP "$match_pattern_regex" > /dev/null; then
6049- newdeplibs="$newdeplibs $a_deplib"
6050+ func_append newdeplibs " $a_deplib"
6051 a_deplib=""
6052 break 2
6053 fi
6054@@ -6967,7 +7898,7 @@
6055 ;;
6056 *)
6057 # Add a -L argument.
6058- newdeplibs="$newdeplibs $a_deplib"
6059+ func_append newdeplibs " $a_deplib"
6060 ;;
6061 esac
6062 done # Gone through all deplibs.
6063@@ -7071,7 +8002,7 @@
6064 *)
6065 case " $deplibs " in
6066 *" -L$path/$objdir "*)
6067- new_libs="$new_libs -L$path/$objdir" ;;
6068+ func_append new_libs " -L$path/$objdir" ;;
6069 esac
6070 ;;
6071 esac
6072@@ -7081,10 +8012,10 @@
6073 -L*)
6074 case " $new_libs " in
6075 *" $deplib "*) ;;
6076- *) new_libs="$new_libs $deplib" ;;
6077+ *) func_append new_libs " $deplib" ;;
6078 esac
6079 ;;
6080- *) new_libs="$new_libs $deplib" ;;
6081+ *) func_append new_libs " $deplib" ;;
6082 esac
6083 done
6084 deplibs="$new_libs"
6085@@ -7101,10 +8032,12 @@
6086 hardcode_libdirs=
6087 dep_rpath=
6088 rpath="$finalize_rpath"
6089- test "$mode" != relink && rpath="$compile_rpath$rpath"
6090+ test "$opt_mode" != relink && rpath="$compile_rpath$rpath"
6091 for libdir in $rpath; do
6092 if test -n "$hardcode_libdir_flag_spec"; then
6093 if test -n "$hardcode_libdir_separator"; then
6094+ func_replace_sysroot "$libdir"
6095+ libdir=$func_replace_sysroot_result
6096 if test -z "$hardcode_libdirs"; then
6097 hardcode_libdirs="$libdir"
6098 else
6099@@ -7113,18 +8046,18 @@
6100 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
6101 ;;
6102 *)
6103- hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
6104+ func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
6105 ;;
6106 esac
6107 fi
6108 else
6109- eval "flag=\"$hardcode_libdir_flag_spec\""
6110- dep_rpath="$dep_rpath $flag"
6111+ eval flag=\"$hardcode_libdir_flag_spec\"
6112+ func_append dep_rpath " $flag"
6113 fi
6114 elif test -n "$runpath_var"; then
6115 case "$perm_rpath " in
6116 *" $libdir "*) ;;
6117- *) perm_rpath="$perm_rpath $libdir" ;;
6118+ *) func_apped perm_rpath " $libdir" ;;
6119 esac
6120 fi
6121 done
6122@@ -7133,40 +8066,38 @@
6123 test -n "$hardcode_libdirs"; then
6124 libdir="$hardcode_libdirs"
6125 if test -n "$hardcode_libdir_flag_spec_ld"; then
6126- eval "dep_rpath=\"$hardcode_libdir_flag_spec_ld\""
6127+ eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
6128 else
6129- eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
6130+ eval dep_rpath=\"$hardcode_libdir_flag_spec\"
6131 fi
6132 fi
6133 if test -n "$runpath_var" && test -n "$perm_rpath"; then
6134 # We should set the runpath_var.
6135 rpath=
6136 for dir in $perm_rpath; do
6137- rpath="$rpath$dir:"
6138+ func_append rpath "$dir:"
6139 done
6140- eval $runpath_var=\$rpath\$$runpath_var
6141- export $runpath_var
6142+ eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var"
6143 fi
6144 test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs"
6145 fi
6146
6147 shlibpath="$finalize_shlibpath"
6148- test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
6149+ test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
6150 if test -n "$shlibpath"; then
6151- eval $shlibpath_var=\$shlibpath\$$shlibpath_var
6152- export $shlibpath_var
6153+ eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
6154 fi
6155
6156 # Get the real and link names of the library.
6157- eval "shared_ext=\"$shrext_cmds\""
6158- eval "library_names=\"$library_names_spec\""
6159+ eval shared_ext=\"$shrext_cmds\"
6160+ eval library_names=\"$library_names_spec\"
6161 set dummy $library_names
6162 shift
6163 realname="$1"
6164 shift
6165
6166 if test -n "$soname_spec"; then
6167- eval "soname=\"$soname_spec\""
6168+ eval soname=\"$soname_spec\"
6169 else
6170 soname="$realname"
6171 fi
6172@@ -7178,7 +8109,7 @@
6173 linknames=
6174 for link
6175 do
6176- linknames="$linknames $link"
6177+ func_append linknames " $link"
6178 done
6179
6180 # Use standard objects if they are pic
6181@@ -7189,7 +8120,7 @@
6182 if test -n "$export_symbols" && test -n "$include_expsyms"; then
6183 $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
6184 export_symbols="$output_objdir/$libname.uexp"
6185- delfiles="$delfiles $export_symbols"
6186+ func_append delfiles " $export_symbols"
6187 fi
6188
6189 orig_export_symbols=
6190@@ -7220,13 +8151,45 @@
6191 $opt_dry_run || $RM $export_symbols
6192 cmds=$export_symbols_cmds
6193 save_ifs="$IFS"; IFS='~'
6194- for cmd in $cmds; do
6195+ for cmd1 in $cmds; do
6196 IFS="$save_ifs"
6197- eval "cmd=\"$cmd\""
6198- func_len " $cmd"
6199- len=$func_len_result
6200- if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
6201+ # Take the normal branch if the nm_file_list_spec branch
6202+ # doesn't work or if tool conversion is not needed.
6203+ case $nm_file_list_spec~$to_tool_file_cmd in
6204+ *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*)
6205+ try_normal_branch=yes
6206+ eval cmd=\"$cmd1\"
6207+ func_len " $cmd"
6208+ len=$func_len_result
6209+ ;;
6210+ *)
6211+ try_normal_branch=no
6212+ ;;
6213+ esac
6214+ if test "$try_normal_branch" = yes \
6215+ && { test "$len" -lt "$max_cmd_len" \
6216+ || test "$max_cmd_len" -le -1; }
6217+ then
6218+ func_show_eval "$cmd" 'exit $?'
6219+ skipped_export=false
6220+ elif test -n "$nm_file_list_spec"; then
6221+ func_basename "$output"
6222+ output_la=$func_basename_result
6223+ save_libobjs=$libobjs
6224+ save_output=$output
6225+ output=${output_objdir}/${output_la}.nm
6226+ func_to_tool_file "$output"
6227+ libobjs=$nm_file_list_spec$func_to_tool_file_result
6228+ func_append delfiles " $output"
6229+ func_verbose "creating $NM input file list: $output"
6230+ for obj in $save_libobjs; do
6231+ func_to_tool_file "$obj"
6232+ $ECHO "$func_to_tool_file_result"
6233+ done > "$output"
6234+ eval cmd=\"$cmd1\"
6235 func_show_eval "$cmd" 'exit $?'
6236+ output=$save_output
6237+ libobjs=$save_libobjs
6238 skipped_export=false
6239 else
6240 # The command line is too long to execute in one step.
6241@@ -7248,7 +8211,7 @@
6242 if test -n "$export_symbols" && test -n "$include_expsyms"; then
6243 tmp_export_symbols="$export_symbols"
6244 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
6245- $opt_dry_run || $ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"
6246+ $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
6247 fi
6248
6249 if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
6250@@ -7260,7 +8223,7 @@
6251 # global variables. join(1) would be nice here, but unfortunately
6252 # isn't a blessed tool.
6253 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
6254- delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
6255+ func_append delfiles " $export_symbols $output_objdir/$libname.filter"
6256 export_symbols=$output_objdir/$libname.def
6257 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
6258 fi
6259@@ -7270,7 +8233,7 @@
6260 case " $convenience " in
6261 *" $test_deplib "*) ;;
6262 *)
6263- tmp_deplibs="$tmp_deplibs $test_deplib"
6264+ func_append tmp_deplibs " $test_deplib"
6265 ;;
6266 esac
6267 done
6268@@ -7286,43 +8249,43 @@
6269 fi
6270 if test -n "$whole_archive_flag_spec"; then
6271 save_libobjs=$libobjs
6272- eval "libobjs=\"\$libobjs $whole_archive_flag_spec\""
6273+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
6274 test "X$libobjs" = "X " && libobjs=
6275 else
6276 gentop="$output_objdir/${outputname}x"
6277- generated="$generated $gentop"
6278+ func_append generated " $gentop"
6279
6280 func_extract_archives $gentop $convenience
6281- libobjs="$libobjs $func_extract_archives_result"
6282+ func_append libobjs " $func_extract_archives_result"
6283 test "X$libobjs" = "X " && libobjs=
6284 fi
6285 fi
6286
6287 if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
6288- eval "flag=\"$thread_safe_flag_spec\""
6289- linker_flags="$linker_flags $flag"
6290+ eval flag=\"$thread_safe_flag_spec\"
6291+ func_append linker_flags " $flag"
6292 fi
6293
6294 # Make a backup of the uninstalled library when relinking
6295- if test "$mode" = relink; then
6296- $opt_dry_run || (cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U) || exit $?
6297+ if test "$opt_mode" = relink; then
6298+ $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
6299 fi
6300
6301 # Do each of the archive commands.
6302 if test "$module" = yes && test -n "$module_cmds" ; then
6303 if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
6304- eval "test_cmds=\"$module_expsym_cmds\""
6305+ eval test_cmds=\"$module_expsym_cmds\"
6306 cmds=$module_expsym_cmds
6307 else
6308- eval "test_cmds=\"$module_cmds\""
6309+ eval test_cmds=\"$module_cmds\"
6310 cmds=$module_cmds
6311 fi
6312 else
6313 if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
6314- eval "test_cmds=\"$archive_expsym_cmds\""
6315+ eval test_cmds=\"$archive_expsym_cmds\"
6316 cmds=$archive_expsym_cmds
6317 else
6318- eval "test_cmds=\"$archive_cmds\""
6319+ eval test_cmds=\"$archive_cmds\"
6320 cmds=$archive_cmds
6321 fi
6322 fi
6323@@ -7366,10 +8329,13 @@
6324 echo 'INPUT (' > $output
6325 for obj in $save_libobjs
6326 do
6327- $ECHO "$obj" >> $output
6328+ func_to_tool_file "$obj"
6329+ $ECHO "$func_to_tool_file_result" >> $output
6330 done
6331 echo ')' >> $output
6332- delfiles="$delfiles $output"
6333+ func_append delfiles " $output"
6334+ func_to_tool_file "$output"
6335+ output=$func_to_tool_file_result
6336 elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
6337 output=${output_objdir}/${output_la}.lnk
6338 func_verbose "creating linker input file list: $output"
6339@@ -7383,15 +8349,17 @@
6340 fi
6341 for obj
6342 do
6343- $ECHO "$obj" >> $output
6344+ func_to_tool_file "$obj"
6345+ $ECHO "$func_to_tool_file_result" >> $output
6346 done
6347- delfiles="$delfiles $output"
6348- output=$firstobj\"$file_list_spec$output\"
6349+ func_append delfiles " $output"
6350+ func_to_tool_file "$output"
6351+ output=$firstobj\"$file_list_spec$func_to_tool_file_result\"
6352 else
6353 if test -n "$save_libobjs"; then
6354 func_verbose "creating reloadable object files..."
6355 output=$output_objdir/$output_la-${k}.$objext
6356- eval "test_cmds=\"$reload_cmds\""
6357+ eval test_cmds=\"$reload_cmds\"
6358 func_len " $test_cmds"
6359 len0=$func_len_result
6360 len=$len0
6361@@ -7411,12 +8379,12 @@
6362 if test "$k" -eq 1 ; then
6363 # The first file doesn't have a previous command to add.
6364 reload_objs=$objlist
6365- eval "concat_cmds=\"$reload_cmds\""
6366+ eval concat_cmds=\"$reload_cmds\"
6367 else
6368 # All subsequent reloadable object files will link in
6369 # the last one created.
6370 reload_objs="$objlist $last_robj"
6371- eval "concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\""
6372+ eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
6373 fi
6374 last_robj=$output_objdir/$output_la-${k}.$objext
6375 func_arith $k + 1
6376@@ -7433,11 +8401,11 @@
6377 # files will link in the last one created.
6378 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
6379 reload_objs="$objlist $last_robj"
6380- eval "concat_cmds=\"\${concat_cmds}$reload_cmds\""
6381+ eval concat_cmds=\"\${concat_cmds}$reload_cmds\"
6382 if test -n "$last_robj"; then
6383- eval "concat_cmds=\"\${concat_cmds}~\$RM $last_robj\""
6384+ eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
6385 fi
6386- delfiles="$delfiles $output"
6387+ func_append delfiles " $output"
6388
6389 else
6390 output=
6391@@ -7450,9 +8418,9 @@
6392 libobjs=$output
6393 # Append the command to create the export file.
6394 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
6395- eval "concat_cmds=\"\$concat_cmds$export_symbols_cmds\""
6396+ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\"
6397 if test -n "$last_robj"; then
6398- eval "concat_cmds=\"\$concat_cmds~\$RM $last_robj\""
6399+ eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
6400 fi
6401 fi
6402
6403@@ -7471,7 +8439,7 @@
6404 lt_exit=$?
6405
6406 # Restore the uninstalled library and exit
6407- if test "$mode" = relink; then
6408+ if test "$opt_mode" = relink; then
6409 ( cd "$output_objdir" && \
6410 $RM "${realname}T" && \
6411 $MV "${realname}U" "$realname" )
6412@@ -7492,7 +8460,7 @@
6413 if test -n "$export_symbols" && test -n "$include_expsyms"; then
6414 tmp_export_symbols="$export_symbols"
6415 test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
6416- $opt_dry_run || $ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"
6417+ $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
6418 fi
6419
6420 if test -n "$orig_export_symbols"; then
6421@@ -7504,7 +8472,7 @@
6422 # global variables. join(1) would be nice here, but unfortunately
6423 # isn't a blessed tool.
6424 $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter
6425- delfiles="$delfiles $export_symbols $output_objdir/$libname.filter"
6426+ func_append delfiles " $export_symbols $output_objdir/$libname.filter"
6427 export_symbols=$output_objdir/$libname.def
6428 $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
6429 fi
6430@@ -7515,7 +8483,7 @@
6431 output=$save_output
6432
6433 if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then
6434- eval "libobjs=\"\$libobjs $whole_archive_flag_spec\""
6435+ eval libobjs=\"\$libobjs $whole_archive_flag_spec\"
6436 test "X$libobjs" = "X " && libobjs=
6437 fi
6438 # Expand the library linking commands again to reset the
6439@@ -7539,23 +8507,23 @@
6440
6441 if test -n "$delfiles"; then
6442 # Append the command to remove temporary files to $cmds.
6443- eval "cmds=\"\$cmds~\$RM $delfiles\""
6444+ eval cmds=\"\$cmds~\$RM $delfiles\"
6445 fi
6446
6447 # Add any objects from preloaded convenience libraries
6448 if test -n "$dlprefiles"; then
6449 gentop="$output_objdir/${outputname}x"
6450- generated="$generated $gentop"
6451+ func_append generated " $gentop"
6452
6453 func_extract_archives $gentop $dlprefiles
6454- libobjs="$libobjs $func_extract_archives_result"
6455+ func_append libobjs " $func_extract_archives_result"
6456 test "X$libobjs" = "X " && libobjs=
6457 fi
6458
6459 save_ifs="$IFS"; IFS='~'
6460 for cmd in $cmds; do
6461 IFS="$save_ifs"
6462- eval "cmd=\"$cmd\""
6463+ eval cmd=\"$cmd\"
6464 $opt_silent || {
6465 func_quote_for_expand "$cmd"
6466 eval "func_echo $func_quote_for_expand_result"
6467@@ -7564,7 +8532,7 @@
6468 lt_exit=$?
6469
6470 # Restore the uninstalled library and exit
6471- if test "$mode" = relink; then
6472+ if test "$opt_mode" = relink; then
6473 ( cd "$output_objdir" && \
6474 $RM "${realname}T" && \
6475 $MV "${realname}U" "$realname" )
6476@@ -7576,8 +8544,8 @@
6477 IFS="$save_ifs"
6478
6479 # Restore the uninstalled library and exit
6480- if test "$mode" = relink; then
6481- $opt_dry_run || (cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname) || exit $?
6482+ if test "$opt_mode" = relink; then
6483+ $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
6484
6485 if test -n "$convenience"; then
6486 if test -z "$whole_archive_flag_spec"; then
6487@@ -7656,17 +8624,20 @@
6488
6489 if test -n "$convenience"; then
6490 if test -n "$whole_archive_flag_spec"; then
6491- eval "tmp_whole_archive_flags=\"$whole_archive_flag_spec\""
6492+ eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
6493 reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
6494 else
6495 gentop="$output_objdir/${obj}x"
6496- generated="$generated $gentop"
6497+ func_append generated " $gentop"
6498
6499 func_extract_archives $gentop $convenience
6500 reload_conv_objs="$reload_objs $func_extract_archives_result"
6501 fi
6502 fi
6503
6504+ # If we're not building shared, we need to use non_pic_objs
6505+ test "$build_libtool_libs" != yes && libobjs="$non_pic_objects"
6506+
6507 # Create the old-style object.
6508 reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
6509
6510@@ -7690,7 +8661,7 @@
6511 # Create an invalid libtool object if no PIC, so that we don't
6512 # accidentally link it into a program.
6513 # $show "echo timestamp > $libobj"
6514- # $opt_dry_run || echo timestamp > $libobj || exit $?
6515+ # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
6516 exit $EXIT_SUCCESS
6517 fi
6518
6519@@ -7740,8 +8711,8 @@
6520 if test "$tagname" = CXX ; then
6521 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
6522 10.[0123])
6523- compile_command="$compile_command ${wl}-bind_at_load"
6524- finalize_command="$finalize_command ${wl}-bind_at_load"
6525+ func_append compile_command " ${wl}-bind_at_load"
6526+ func_append finalize_command " ${wl}-bind_at_load"
6527 ;;
6528 esac
6529 fi
6530@@ -7761,7 +8732,7 @@
6531 *)
6532 case " $compile_deplibs " in
6533 *" -L$path/$objdir "*)
6534- new_libs="$new_libs -L$path/$objdir" ;;
6535+ func_append new_libs " -L$path/$objdir" ;;
6536 esac
6537 ;;
6538 esac
6539@@ -7771,17 +8742,17 @@
6540 -L*)
6541 case " $new_libs " in
6542 *" $deplib "*) ;;
6543- *) new_libs="$new_libs $deplib" ;;
6544+ *) func_append new_libs " $deplib" ;;
6545 esac
6546 ;;
6547- *) new_libs="$new_libs $deplib" ;;
6548+ *) func_append new_libs " $deplib" ;;
6549 esac
6550 done
6551 compile_deplibs="$new_libs"
6552
6553
6554- compile_command="$compile_command $compile_deplibs"
6555- finalize_command="$finalize_command $finalize_deplibs"
6556+ func_append compile_command " $compile_deplibs"
6557+ func_append finalize_command " $finalize_deplibs"
6558
6559 if test -n "$rpath$xrpath"; then
6560 # If the user specified any rpath flags, then add them.
6561@@ -7789,7 +8760,7 @@
6562 # This is the magic to use -rpath.
6563 case "$finalize_rpath " in
6564 *" $libdir "*) ;;
6565- *) finalize_rpath="$finalize_rpath $libdir" ;;
6566+ *) func_append finalize_rpath " $libdir" ;;
6567 esac
6568 done
6569 fi
6570@@ -7808,18 +8779,18 @@
6571 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
6572 ;;
6573 *)
6574- hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
6575+ func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
6576 ;;
6577 esac
6578 fi
6579 else
6580- eval "flag=\"$hardcode_libdir_flag_spec\""
6581- rpath="$rpath $flag"
6582+ eval flag=\"$hardcode_libdir_flag_spec\"
6583+ func_append rpath " $flag"
6584 fi
6585 elif test -n "$runpath_var"; then
6586 case "$perm_rpath " in
6587 *" $libdir "*) ;;
6588- *) perm_rpath="$perm_rpath $libdir" ;;
6589+ *) func_append perm_rpath " $libdir" ;;
6590 esac
6591 fi
6592 case $host in
6593@@ -7828,12 +8799,12 @@
6594 case :$dllsearchpath: in
6595 *":$libdir:"*) ;;
6596 ::) dllsearchpath=$libdir;;
6597- *) dllsearchpath="$dllsearchpath:$libdir";;
6598+ *) func_append dllsearchpath ":$libdir";;
6599 esac
6600 case :$dllsearchpath: in
6601 *":$testbindir:"*) ;;
6602 ::) dllsearchpath=$testbindir;;
6603- *) dllsearchpath="$dllsearchpath:$testbindir";;
6604+ *) func_append dllsearchpath ":$testbindir";;
6605 esac
6606 ;;
6607 esac
6608@@ -7842,7 +8813,7 @@
6609 if test -n "$hardcode_libdir_separator" &&
6610 test -n "$hardcode_libdirs"; then
6611 libdir="$hardcode_libdirs"
6612- eval "rpath=\" $hardcode_libdir_flag_spec\""
6613+ eval rpath=\" $hardcode_libdir_flag_spec\"
6614 fi
6615 compile_rpath="$rpath"
6616
6617@@ -7859,18 +8830,18 @@
6618 *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
6619 ;;
6620 *)
6621- hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
6622+ func_append hardcode_libdirs "$hardcode_libdir_separator$libdir"
6623 ;;
6624 esac
6625 fi
6626 else
6627- eval "flag=\"$hardcode_libdir_flag_spec\""
6628- rpath="$rpath $flag"
6629+ eval flag=\"$hardcode_libdir_flag_spec\"
6630+ func_append rpath " $flag"
6631 fi
6632 elif test -n "$runpath_var"; then
6633 case "$finalize_perm_rpath " in
6634 *" $libdir "*) ;;
6635- *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;;
6636+ *) func_append finalize_perm_rpath " $libdir" ;;
6637 esac
6638 fi
6639 done
6640@@ -7878,7 +8849,7 @@
6641 if test -n "$hardcode_libdir_separator" &&
6642 test -n "$hardcode_libdirs"; then
6643 libdir="$hardcode_libdirs"
6644- eval "rpath=\" $hardcode_libdir_flag_spec\""
6645+ eval rpath=\" $hardcode_libdir_flag_spec\"
6646 fi
6647 finalize_rpath="$rpath"
6648
6649@@ -7921,6 +8892,12 @@
6650 exit_status=0
6651 func_show_eval "$link_command" 'exit_status=$?'
6652
6653+ if test -n "$postlink_cmds"; then
6654+ func_to_tool_file "$output"
6655+ postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
6656+ func_execute_cmds "$postlink_cmds" 'exit $?'
6657+ fi
6658+
6659 # Delete the generated files.
6660 if test -f "$output_objdir/${outputname}S.${objext}"; then
6661 func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
6662@@ -7943,7 +8920,7 @@
6663 # We should set the runpath_var.
6664 rpath=
6665 for dir in $perm_rpath; do
6666- rpath="$rpath$dir:"
6667+ func_append rpath "$dir:"
6668 done
6669 compile_var="$runpath_var=\"$rpath\$$runpath_var\" "
6670 fi
6671@@ -7951,7 +8928,7 @@
6672 # We should set the runpath_var.
6673 rpath=
6674 for dir in $finalize_perm_rpath; do
6675- rpath="$rpath$dir:"
6676+ func_append rpath "$dir:"
6677 done
6678 finalize_var="$runpath_var=\"$rpath\$$runpath_var\" "
6679 fi
6680@@ -7966,6 +8943,13 @@
6681 $opt_dry_run || $RM $output
6682 # Link the executable and exit
6683 func_show_eval "$link_command" 'exit $?'
6684+
6685+ if test -n "$postlink_cmds"; then
6686+ func_to_tool_file "$output"
6687+ postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
6688+ func_execute_cmds "$postlink_cmds" 'exit $?'
6689+ fi
6690+
6691 exit $EXIT_SUCCESS
6692 fi
6693
6694@@ -7999,6 +8983,12 @@
6695
6696 func_show_eval "$link_command" 'exit $?'
6697
6698+ if test -n "$postlink_cmds"; then
6699+ func_to_tool_file "$output_objdir/$outputname"
6700+ postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'`
6701+ func_execute_cmds "$postlink_cmds" 'exit $?'
6702+ fi
6703+
6704 # Now create the wrapper script.
6705 func_verbose "creating $output"
6706
6707@@ -8096,7 +9086,7 @@
6708 else
6709 oldobjs="$old_deplibs $non_pic_objects"
6710 if test "$preload" = yes && test -f "$symfileobj"; then
6711- oldobjs="$oldobjs $symfileobj"
6712+ func_append oldobjs " $symfileobj"
6713 fi
6714 fi
6715 addlibs="$old_convenience"
6716@@ -8104,10 +9094,10 @@
6717
6718 if test -n "$addlibs"; then
6719 gentop="$output_objdir/${outputname}x"
6720- generated="$generated $gentop"
6721+ func_append generated " $gentop"
6722
6723 func_extract_archives $gentop $addlibs
6724- oldobjs="$oldobjs $func_extract_archives_result"
6725+ func_append oldobjs " $func_extract_archives_result"
6726 fi
6727
6728 # Do each command in the archive commands.
6729@@ -8118,10 +9108,10 @@
6730 # Add any objects from preloaded convenience libraries
6731 if test -n "$dlprefiles"; then
6732 gentop="$output_objdir/${outputname}x"
6733- generated="$generated $gentop"
6734+ func_append generated " $gentop"
6735
6736 func_extract_archives $gentop $dlprefiles
6737- oldobjs="$oldobjs $func_extract_archives_result"
6738+ func_append oldobjs " $func_extract_archives_result"
6739 fi
6740
6741 # POSIX demands no paths to be encoded in archives. We have
6742@@ -8139,7 +9129,7 @@
6743 else
6744 echo "copying selected object files to avoid basename conflicts..."
6745 gentop="$output_objdir/${outputname}x"
6746- generated="$generated $gentop"
6747+ func_append generated " $gentop"
6748 func_mkdir_p "$gentop"
6749 save_oldobjs=$oldobjs
6750 oldobjs=
6751@@ -8163,18 +9153,28 @@
6752 esac
6753 done
6754 func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj"
6755- oldobjs="$oldobjs $gentop/$newobj"
6756+ func_append oldobjs " $gentop/$newobj"
6757 ;;
6758- *) oldobjs="$oldobjs $obj" ;;
6759+ *) func_append oldobjs " $obj" ;;
6760 esac
6761 done
6762 fi
6763- eval "cmds=\"$old_archive_cmds\""
6764+ eval cmds=\"$old_archive_cmds\"
6765
6766 func_len " $cmds"
6767 len=$func_len_result
6768 if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then
6769 cmds=$old_archive_cmds
6770+ elif test -n "$archiver_list_spec"; then
6771+ func_verbose "using command file archive linking..."
6772+ for obj in $oldobjs
6773+ do
6774+ func_to_tool_file "$obj"
6775+ $ECHO "$func_to_tool_file_result"
6776+ done > $output_objdir/$libname.libcmd
6777+ func_to_tool_file "$output_objdir/$libname.libcmd"
6778+ oldobjs=" $archiver_list_spec$func_to_tool_file_result"
6779+ cmds=$old_archive_cmds
6780 else
6781 # the command line is too long to link in one step, link in parts
6782 func_verbose "using piecewise archive linking..."
6783@@ -8189,7 +9189,7 @@
6784 do
6785 last_oldobj=$obj
6786 done
6787- eval "test_cmds=\"$old_archive_cmds\""
6788+ eval test_cmds=\"$old_archive_cmds\"
6789 func_len " $test_cmds"
6790 len0=$func_len_result
6791 len=$len0
6792@@ -8208,7 +9208,7 @@
6793 RANLIB=$save_RANLIB
6794 fi
6795 test -z "$concat_cmds" || concat_cmds=$concat_cmds~
6796- eval "concat_cmds=\"\${concat_cmds}$old_archive_cmds\""
6797+ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
6798 objlist=
6799 len=$len0
6800 fi
6801@@ -8216,9 +9216,9 @@
6802 RANLIB=$save_RANLIB
6803 oldobjs=$objlist
6804 if test "X$oldobjs" = "X" ; then
6805- eval "cmds=\"\$concat_cmds\""
6806+ eval cmds=\"\$concat_cmds\"
6807 else
6808- eval "cmds=\"\$concat_cmds~\$old_archive_cmds\""
6809+ eval cmds=\"\$concat_cmds~\$old_archive_cmds\"
6810 fi
6811 fi
6812 fi
6813@@ -8268,12 +9268,23 @@
6814 *.la)
6815 func_basename "$deplib"
6816 name="$func_basename_result"
6817- libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
6818+ func_resolve_sysroot "$deplib"
6819+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
6820 test -z "$libdir" && \
6821 func_fatal_error "\`$deplib' is not a valid libtool archive"
6822- newdependency_libs="$newdependency_libs $libdir/$name"
6823+ func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
6824+ ;;
6825+ -L*)
6826+ func_stripname -L '' "$deplib"
6827+ func_replace_sysroot "$func_stripname_result"
6828+ func_append newdependency_libs " -L$func_replace_sysroot_result"
6829 ;;
6830- *) newdependency_libs="$newdependency_libs $deplib" ;;
6831+ -R*)
6832+ func_stripname -R '' "$deplib"
6833+ func_replace_sysroot "$func_stripname_result"
6834+ func_append newdependency_libs " -R$func_replace_sysroot_result"
6835+ ;;
6836+ *) func_append newdependency_libs " $deplib" ;;
6837 esac
6838 done
6839 dependency_libs="$newdependency_libs"
6840@@ -8284,12 +9295,14 @@
6841 *.la)
6842 func_basename "$lib"
6843 name="$func_basename_result"
6844- libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
6845+ func_resolve_sysroot "$lib"
6846+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
6847+
6848 test -z "$libdir" && \
6849 func_fatal_error "\`$lib' is not a valid libtool archive"
6850- newdlfiles="$newdlfiles $libdir/$name"
6851+ func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
6852 ;;
6853- *) newdlfiles="$newdlfiles $lib" ;;
6854+ *) func_append newdlfiles " $lib" ;;
6855 esac
6856 done
6857 dlfiles="$newdlfiles"
6858@@ -8303,10 +9316,11 @@
6859 # the library:
6860 func_basename "$lib"
6861 name="$func_basename_result"
6862- libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
6863+ func_resolve_sysroot "$lib"
6864+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
6865 test -z "$libdir" && \
6866 func_fatal_error "\`$lib' is not a valid libtool archive"
6867- newdlprefiles="$newdlprefiles $libdir/$name"
6868+ func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
6869 ;;
6870 esac
6871 done
6872@@ -8318,7 +9332,7 @@
6873 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
6874 *) abs=`pwd`"/$lib" ;;
6875 esac
6876- newdlfiles="$newdlfiles $abs"
6877+ func_append newdlfiles " $abs"
6878 done
6879 dlfiles="$newdlfiles"
6880 newdlprefiles=
6881@@ -8327,7 +9341,7 @@
6882 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
6883 *) abs=`pwd`"/$lib" ;;
6884 esac
6885- newdlprefiles="$newdlprefiles $abs"
6886+ func_append newdlprefiles " $abs"
6887 done
6888 dlprefiles="$newdlprefiles"
6889 fi
6890@@ -8412,7 +9426,7 @@
6891 exit $EXIT_SUCCESS
6892 }
6893
6894-{ test "$mode" = link || test "$mode" = relink; } &&
6895+{ test "$opt_mode" = link || test "$opt_mode" = relink; } &&
6896 func_mode_link ${1+"$@"}
6897
6898
6899@@ -8432,9 +9446,9 @@
6900 for arg
6901 do
6902 case $arg in
6903- -f) RM="$RM $arg"; rmforce=yes ;;
6904- -*) RM="$RM $arg" ;;
6905- *) files="$files $arg" ;;
6906+ -f) func_append RM " $arg"; rmforce=yes ;;
6907+ -*) func_append RM " $arg" ;;
6908+ *) func_append files " $arg" ;;
6909 esac
6910 done
6911
6912@@ -8443,24 +9457,23 @@
6913
6914 rmdirs=
6915
6916- origobjdir="$objdir"
6917 for file in $files; do
6918 func_dirname "$file" "" "."
6919 dir="$func_dirname_result"
6920 if test "X$dir" = X.; then
6921- objdir="$origobjdir"
6922+ odir="$objdir"
6923 else
6924- objdir="$dir/$origobjdir"
6925+ odir="$dir/$objdir"
6926 fi
6927 func_basename "$file"
6928 name="$func_basename_result"
6929- test "$mode" = uninstall && objdir="$dir"
6930+ test "$opt_mode" = uninstall && odir="$dir"
6931
6932- # Remember objdir for removal later, being careful to avoid duplicates
6933- if test "$mode" = clean; then
6934+ # Remember odir for removal later, being careful to avoid duplicates
6935+ if test "$opt_mode" = clean; then
6936 case " $rmdirs " in
6937- *" $objdir "*) ;;
6938- *) rmdirs="$rmdirs $objdir" ;;
6939+ *" $odir "*) ;;
6940+ *) func_append rmdirs " $odir" ;;
6941 esac
6942 fi
6943
6944@@ -8486,18 +9499,17 @@
6945
6946 # Delete the libtool libraries and symlinks.
6947 for n in $library_names; do
6948- rmfiles="$rmfiles $objdir/$n"
6949+ func_append rmfiles " $odir/$n"
6950 done
6951- test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library"
6952+ test -n "$old_library" && func_append rmfiles " $odir/$old_library"
6953
6954- case "$mode" in
6955+ case "$opt_mode" in
6956 clean)
6957- case " $library_names " in
6958- # " " in the beginning catches empty $dlname
6959+ case " $library_names " in
6960 *" $dlname "*) ;;
6961- *) rmfiles="$rmfiles $objdir/$dlname" ;;
6962+ *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;;
6963 esac
6964- test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i"
6965+ test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i"
6966 ;;
6967 uninstall)
6968 if test -n "$library_names"; then
6969@@ -8525,19 +9537,19 @@
6970 # Add PIC object to the list of files to remove.
6971 if test -n "$pic_object" &&
6972 test "$pic_object" != none; then
6973- rmfiles="$rmfiles $dir/$pic_object"
6974+ func_append rmfiles " $dir/$pic_object"
6975 fi
6976
6977 # Add non-PIC object to the list of files to remove.
6978 if test -n "$non_pic_object" &&
6979 test "$non_pic_object" != none; then
6980- rmfiles="$rmfiles $dir/$non_pic_object"
6981+ func_append rmfiles " $dir/$non_pic_object"
6982 fi
6983 fi
6984 ;;
6985
6986 *)
6987- if test "$mode" = clean ; then
6988+ if test "$opt_mode" = clean ; then
6989 noexename=$name
6990 case $file in
6991 *.exe)
6992@@ -8547,7 +9559,7 @@
6993 noexename=$func_stripname_result
6994 # $file with .exe has already been added to rmfiles,
6995 # add $file without .exe
6996- rmfiles="$rmfiles $file"
6997+ func_append rmfiles " $file"
6998 ;;
6999 esac
7000 # Do a test to see if this is a libtool program.
7001@@ -8556,7 +9568,7 @@
7002 func_ltwrapper_scriptname "$file"
7003 relink_command=
7004 func_source $func_ltwrapper_scriptname_result
7005- rmfiles="$rmfiles $func_ltwrapper_scriptname_result"
7006+ func_append rmfiles " $func_ltwrapper_scriptname_result"
7007 else
7008 relink_command=
7009 func_source $dir/$noexename
7010@@ -8564,12 +9576,12 @@
7011
7012 # note $name still contains .exe if it was in $file originally
7013 # as does the version of $file that was added into $rmfiles
7014- rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}"
7015+ func_append rmfiles " $odir/$name $odir/${name}S.${objext}"
7016 if test "$fast_install" = yes && test -n "$relink_command"; then
7017- rmfiles="$rmfiles $objdir/lt-$name"
7018+ func_append rmfiles " $odir/lt-$name"
7019 fi
7020 if test "X$noexename" != "X$name" ; then
7021- rmfiles="$rmfiles $objdir/lt-${noexename}.c"
7022+ func_append rmfiles " $odir/lt-${noexename}.c"
7023 fi
7024 fi
7025 fi
7026@@ -8577,7 +9589,6 @@
7027 esac
7028 func_show_eval "$RM $rmfiles" 'exit_status=1'
7029 done
7030- objdir="$origobjdir"
7031
7032 # Try to remove the ${objdir}s in the directories where we deleted files
7033 for dir in $rmdirs; do
7034@@ -8589,16 +9600,16 @@
7035 exit $exit_status
7036 }
7037
7038-{ test "$mode" = uninstall || test "$mode" = clean; } &&
7039+{ test "$opt_mode" = uninstall || test "$opt_mode" = clean; } &&
7040 func_mode_uninstall ${1+"$@"}
7041
7042-test -z "$mode" && {
7043+test -z "$opt_mode" && {
7044 help="$generic_help"
7045 func_fatal_help "you must specify a MODE"
7046 }
7047
7048 test -z "$exec_cmd" && \
7049- func_fatal_help "invalid operation mode \`$mode'"
7050+ func_fatal_help "invalid operation mode \`$opt_mode'"
7051
7052 if test -n "$exec_cmd"; then
7053 eval exec "$exec_cmd"
7054Index: binutils-2.21/ltoptions.m4
7055===================================================================
7056--- binutils-2.21.orig/ltoptions.m4 2010-01-09 13:11:32.000000000 -0800
7057+++ binutils-2.21/ltoptions.m4 2011-01-07 10:49:16.406101000 -0800
7058@@ -8,7 +8,7 @@
7059 # unlimited permission to copy and/or distribute it, with or without
7060 # modifications, as long as this notice is preserved.
7061
7062-# serial 6 ltoptions.m4
7063+# serial 7 ltoptions.m4
7064
7065 # This is to help aclocal find these macros, as it can't see m4_define.
7066 AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
7067Index: binutils-2.21/ltversion.m4
7068===================================================================
7069--- binutils-2.21.orig/ltversion.m4 2010-01-09 13:11:32.000000000 -0800
7070+++ binutils-2.21/ltversion.m4 2011-01-07 10:49:16.406101000 -0800
7071@@ -7,17 +7,17 @@
7072 # unlimited permission to copy and/or distribute it, with or without
7073 # modifications, as long as this notice is preserved.
7074
7075-# Generated from ltversion.in.
7076+# @configure_input@
7077
7078-# serial 3134 ltversion.m4
7079+# serial 3293 ltversion.m4
7080 # This file is part of GNU Libtool
7081
7082-m4_define([LT_PACKAGE_VERSION], [2.2.7a])
7083-m4_define([LT_PACKAGE_REVISION], [1.3134])
7084+m4_define([LT_PACKAGE_VERSION], [2.4])
7085+m4_define([LT_PACKAGE_REVISION], [1.3293])
7086
7087 AC_DEFUN([LTVERSION_VERSION],
7088-[macro_version='2.2.7a'
7089-macro_revision='1.3134'
7090+[macro_version='2.4'
7091+macro_revision='1.3293'
7092 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
7093 _LT_DECL(, macro_revision, 0)
7094 ])
7095Index: binutils-2.21/lt~obsolete.m4
7096===================================================================
7097--- binutils-2.21.orig/lt~obsolete.m4 2010-01-09 13:11:32.000000000 -0800
7098+++ binutils-2.21/lt~obsolete.m4 2011-01-07 10:49:16.406101000 -0800
7099@@ -7,7 +7,7 @@
7100 # unlimited permission to copy and/or distribute it, with or without
7101 # modifications, as long as this notice is preserved.
7102
7103-# serial 4 lt~obsolete.m4
7104+# serial 5 lt~obsolete.m4
7105
7106 # These exist entirely to fool aclocal when bootstrapping libtool.
7107 #
7108Index: binutils-2.21/configure
7109===================================================================
7110--- binutils-2.21.orig/configure 2011-01-07 10:49:16.006101000 -0800
7111+++ binutils-2.21/configure 2011-01-07 10:49:17.906101000 -0800
7112@@ -2670,7 +2670,7 @@
7113 # binutils, gas and ld appear in that order because it makes sense to run
7114 # "make check" in that particular order.
7115 # If --enable-gold is used, "gold" may replace "ld".
7116-host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
7117+host_tools="byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
7118
7119 # libgcj represents the runtime libraries only used by gcj.
7120 libgcj="target-libffi \
7121@@ -3148,7 +3148,7 @@
7122 am33_2.0-*-linux*)
7123 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
7124 ;;
7125- sh*-*-linux*)
7126+ sh-*-linux*)
7127 noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss"
7128 ;;
7129 sh*-*-pe|mips*-*-pe|*arm-wince-pe)
7130@@ -3487,7 +3487,7 @@
7131 romp-*-*)
7132 noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
7133 ;;
7134- sh*-*-* | sh64-*-*)
7135+ sh-*-* | sh64-*-*)
7136 case "${host}" in
7137 i[3456789]86-*-vsta) ;; # don't add gprof back in
7138 i[3456789]86-*-go32*) ;; # don't add gprof back in
7139@@ -7597,7 +7597,7 @@
7140 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7141 # higher, else we use the "missing" dummy.
7142 if ${MAKEINFO} --version \
7143- | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7144+ | egrep 'texinfo[^0-9]*([1-3][0-9]|4.[4-9]|4.[1-9][0-9]+|[5-9])' >/dev/null 2>&1; then
7145 :
7146 else
7147 MAKEINFO="$MISSING makeinfo"
7148Index: binutils-2.21/bfd/configure
7149===================================================================
7150--- binutils-2.21.orig/bfd/configure 2010-12-08 00:37:34.000000000 -0800
7151+++ binutils-2.21/bfd/configure 2011-01-07 11:25:57.156101002 -0800
7152@@ -667,6 +667,9 @@
7153 LIPO
7154 NMEDIT
7155 DSYMUTIL
7156+MANIFEST_TOOL
7157+ac_ct_AR
7158+DLLTOOL
7159 OBJDUMP
7160 LN_S
7161 NM
7162@@ -779,6 +782,7 @@
7163 with_pic
7164 enable_fast_install
7165 with_gnu_ld
7166+with_libtool_sysroot
7167 enable_libtool_lock
7168 enable_plugins
7169 enable_largefile
7170@@ -1453,6 +1457,8 @@
7171 --with-pic try to use only PIC/non-PIC objects [default=use
7172 both]
7173 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
7174+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
7175+ (or the compiler's sysroot if not specified).
7176 --with-mmap try using mmap for BFD input files if available
7177 --with-separate-debug-dir=DIR
7178 Look for global separate debug info in DIR
7179@@ -5383,8 +5389,8 @@
7180
7181
7182
7183-macro_version='2.2.7a'
7184-macro_revision='1.3134'
7185+macro_version='2.4'
7186+macro_revision='1.3293'
7187
7188
7189
7190@@ -5424,7 +5430,7 @@
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7192 $as_echo_n "checking how to print strings... " >&6; }
7193 # Test print first, because it will be a builtin if present.
7194-if test "X`print -r -- -n 2>/dev/null`" = X-n && \
7195+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7196 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7197 ECHO='print -r --'
7198 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7199@@ -6110,8 +6116,8 @@
7200 # Try some XSI features
7201 xsi_shell=no
7202 ( _lt_dummy="a/b/c"
7203- test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7204- = c,a/b,, \
7205+ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7206+ = c,a/b,b/c, \
7207 && eval 'test $(( 1 + 1 )) -eq 2 \
7208 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7209 && xsi_shell=yes
7210@@ -6160,6 +6166,80 @@
7211
7212
7213
7214+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7215+$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7216+if test "${lt_cv_to_host_file_cmd+set}" = set; then :
7217+ $as_echo_n "(cached) " >&6
7218+else
7219+ case $host in
7220+ *-*-mingw* )
7221+ case $build in
7222+ *-*-mingw* ) # actually msys
7223+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7224+ ;;
7225+ *-*-cygwin* )
7226+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7227+ ;;
7228+ * ) # otherwise, assume *nix
7229+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7230+ ;;
7231+ esac
7232+ ;;
7233+ *-*-cygwin* )
7234+ case $build in
7235+ *-*-mingw* ) # actually msys
7236+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7237+ ;;
7238+ *-*-cygwin* )
7239+ lt_cv_to_host_file_cmd=func_convert_file_noop
7240+ ;;
7241+ * ) # otherwise, assume *nix
7242+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7243+ ;;
7244+ esac
7245+ ;;
7246+ * ) # unhandled hosts (and "normal" native builds)
7247+ lt_cv_to_host_file_cmd=func_convert_file_noop
7248+ ;;
7249+esac
7250+
7251+fi
7252+
7253+to_host_file_cmd=$lt_cv_to_host_file_cmd
7254+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7255+$as_echo "$lt_cv_to_host_file_cmd" >&6; }
7256+
7257+
7258+
7259+
7260+
7261+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7262+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7263+if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
7264+ $as_echo_n "(cached) " >&6
7265+else
7266+ #assume ordinary cross tools, or native build.
7267+lt_cv_to_tool_file_cmd=func_convert_file_noop
7268+case $host in
7269+ *-*-mingw* )
7270+ case $build in
7271+ *-*-mingw* ) # actually msys
7272+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7273+ ;;
7274+ esac
7275+ ;;
7276+esac
7277+
7278+fi
7279+
7280+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7281+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7282+$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7283+
7284+
7285+
7286+
7287+
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7289 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7290 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7291@@ -6176,6 +6256,11 @@
7292 esac
7293 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7294 case $host_os in
7295+ cygwin* | mingw* | pw32* | cegcc*)
7296+ if test "$GCC" != yes; then
7297+ reload_cmds=false
7298+ fi
7299+ ;;
7300 darwin*)
7301 if test "$GCC" = yes; then
7302 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7303@@ -6344,7 +6429,8 @@
7304 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7305 lt_cv_file_magic_cmd='func_win32_libid'
7306 else
7307- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7308+ # Keep this pattern in sync with the one in func_win32_libid.
7309+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7310 lt_cv_file_magic_cmd='$OBJDUMP -f'
7311 fi
7312 ;;
7313@@ -6498,6 +6584,21 @@
7314 fi
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7316 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7317+
7318+file_magic_glob=
7319+want_nocaseglob=no
7320+if test "$build" = "$host"; then
7321+ case $host_os in
7322+ mingw* | pw32*)
7323+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7324+ want_nocaseglob=yes
7325+ else
7326+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7327+ fi
7328+ ;;
7329+ esac
7330+fi
7331+
7332 file_magic_cmd=$lt_cv_file_magic_cmd
7333 deplibs_check_method=$lt_cv_deplibs_check_method
7334 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7335@@ -6513,9 +6614,162 @@
7336
7337
7338
7339+
7340+
7341+
7342+
7343+
7344+
7345+
7346+
7347+
7348+
7349 if test -n "$ac_tool_prefix"; then
7350- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7351-set dummy ${ac_tool_prefix}ar; ac_word=$2
7352+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7353+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7354+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7355+$as_echo_n "checking for $ac_word... " >&6; }
7356+if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7357+ $as_echo_n "(cached) " >&6
7358+else
7359+ if test -n "$DLLTOOL"; then
7360+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7361+else
7362+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363+for as_dir in $PATH
7364+do
7365+ IFS=$as_save_IFS
7366+ test -z "$as_dir" && as_dir=.
7367+ for ac_exec_ext in '' $ac_executable_extensions; do
7368+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7369+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7370+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7371+ break 2
7372+ fi
7373+done
7374+ done
7375+IFS=$as_save_IFS
7376+
7377+fi
7378+fi
7379+DLLTOOL=$ac_cv_prog_DLLTOOL
7380+if test -n "$DLLTOOL"; then
7381+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7382+$as_echo "$DLLTOOL" >&6; }
7383+else
7384+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7385+$as_echo "no" >&6; }
7386+fi
7387+
7388+
7389+fi
7390+if test -z "$ac_cv_prog_DLLTOOL"; then
7391+ ac_ct_DLLTOOL=$DLLTOOL
7392+ # Extract the first word of "dlltool", so it can be a program name with args.
7393+set dummy dlltool; ac_word=$2
7394+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7395+$as_echo_n "checking for $ac_word... " >&6; }
7396+if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
7397+ $as_echo_n "(cached) " >&6
7398+else
7399+ if test -n "$ac_ct_DLLTOOL"; then
7400+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7401+else
7402+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7403+for as_dir in $PATH
7404+do
7405+ IFS=$as_save_IFS
7406+ test -z "$as_dir" && as_dir=.
7407+ for ac_exec_ext in '' $ac_executable_extensions; do
7408+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7409+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7410+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7411+ break 2
7412+ fi
7413+done
7414+ done
7415+IFS=$as_save_IFS
7416+
7417+fi
7418+fi
7419+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7420+if test -n "$ac_ct_DLLTOOL"; then
7421+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7422+$as_echo "$ac_ct_DLLTOOL" >&6; }
7423+else
7424+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7425+$as_echo "no" >&6; }
7426+fi
7427+
7428+ if test "x$ac_ct_DLLTOOL" = x; then
7429+ DLLTOOL="false"
7430+ else
7431+ case $cross_compiling:$ac_tool_warned in
7432+yes:)
7433+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7434+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7435+ac_tool_warned=yes ;;
7436+esac
7437+ DLLTOOL=$ac_ct_DLLTOOL
7438+ fi
7439+else
7440+ DLLTOOL="$ac_cv_prog_DLLTOOL"
7441+fi
7442+
7443+test -z "$DLLTOOL" && DLLTOOL=dlltool
7444+
7445+
7446+
7447+
7448+
7449+
7450+
7451+
7452+
7453+
7454+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7455+$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7456+if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
7457+ $as_echo_n "(cached) " >&6
7458+else
7459+ lt_cv_sharedlib_from_linklib_cmd='unknown'
7460+
7461+case $host_os in
7462+cygwin* | mingw* | pw32* | cegcc*)
7463+ # two different shell functions defined in ltmain.sh
7464+ # decide which to use based on capabilities of $DLLTOOL
7465+ case `$DLLTOOL --help 2>&1` in
7466+ *--identify-strict*)
7467+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7468+ ;;
7469+ *)
7470+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7471+ ;;
7472+ esac
7473+ ;;
7474+*)
7475+ # fallback: assume linklib IS sharedlib
7476+ lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7477+ ;;
7478+esac
7479+
7480+fi
7481+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7482+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7483+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7484+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7485+
7486+
7487+
7488+
7489+
7490+
7491+
7492+if test -n "$ac_tool_prefix"; then
7493+ for ac_prog in ar
7494+ do
7495+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7496+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7498 $as_echo_n "checking for $ac_word... " >&6; }
7499 if test "${ac_cv_prog_AR+set}" = set; then :
7500@@ -6531,7 +6785,7 @@
7501 test -z "$as_dir" && as_dir=.
7502 for ac_exec_ext in '' $ac_executable_extensions; do
7503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7504- ac_cv_prog_AR="${ac_tool_prefix}ar"
7505+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7507 break 2
7508 fi
7509@@ -6551,11 +6805,15 @@
7510 fi
7511
7512
7513+ test -n "$AR" && break
7514+ done
7515 fi
7516-if test -z "$ac_cv_prog_AR"; then
7517+if test -z "$AR"; then
7518 ac_ct_AR=$AR
7519- # Extract the first word of "ar", so it can be a program name with args.
7520-set dummy ar; ac_word=$2
7521+ for ac_prog in ar
7522+do
7523+ # Extract the first word of "$ac_prog", so it can be a program name with args.
7524+set dummy $ac_prog; ac_word=$2
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7526 $as_echo_n "checking for $ac_word... " >&6; }
7527 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7528@@ -6571,7 +6829,7 @@
7529 test -z "$as_dir" && as_dir=.
7530 for ac_exec_ext in '' $ac_executable_extensions; do
7531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7532- ac_cv_prog_ac_ct_AR="ar"
7533+ ac_cv_prog_ac_ct_AR="$ac_prog"
7534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7535 break 2
7536 fi
7537@@ -6590,6 +6848,10 @@
7538 $as_echo "no" >&6; }
7539 fi
7540
7541+
7542+ test -n "$ac_ct_AR" && break
7543+done
7544+
7545 if test "x$ac_ct_AR" = x; then
7546 AR="false"
7547 else
7548@@ -6601,16 +6863,72 @@
7549 esac
7550 AR=$ac_ct_AR
7551 fi
7552-else
7553- AR="$ac_cv_prog_AR"
7554 fi
7555
7556-test -z "$AR" && AR=ar
7557-test -z "$AR_FLAGS" && AR_FLAGS=cru
7558+: ${AR=ar}
7559+: ${AR_FLAGS=cru}
7560+
7561+
7562+
7563+
7564+
7565+
7566+
7567+
7568+
7569+
7570
7571+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7572+$as_echo_n "checking for archiver @FILE support... " >&6; }
7573+if test "${lt_cv_ar_at_file+set}" = set; then :
7574+ $as_echo_n "(cached) " >&6
7575+else
7576+ lt_cv_ar_at_file=no
7577+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7578+/* end confdefs.h. */
7579
7580+int
7581+main ()
7582+{
7583
7584+ ;
7585+ return 0;
7586+}
7587+_ACEOF
7588+if ac_fn_c_try_compile "$LINENO"; then :
7589+ echo conftest.$ac_objext > conftest.lst
7590+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7591+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7592+ (eval $lt_ar_try) 2>&5
7593+ ac_status=$?
7594+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7595+ test $ac_status = 0; }
7596+ if test "$ac_status" -eq 0; then
7597+ # Ensure the archiver fails upon bogus file names.
7598+ rm -f conftest.$ac_objext libconftest.a
7599+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7600+ (eval $lt_ar_try) 2>&5
7601+ ac_status=$?
7602+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7603+ test $ac_status = 0; }
7604+ if test "$ac_status" -ne 0; then
7605+ lt_cv_ar_at_file=@
7606+ fi
7607+ fi
7608+ rm -f conftest.* libconftest.a
7609
7610+fi
7611+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7612+
7613+fi
7614+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7615+$as_echo "$lt_cv_ar_at_file" >&6; }
7616+
7617+if test "x$lt_cv_ar_at_file" = xno; then
7618+ archiver_list_spec=
7619+else
7620+ archiver_list_spec=$lt_cv_ar_at_file
7621+fi
7622
7623
7624
7625@@ -6952,8 +7270,8 @@
7626 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7627
7628 # Transform an extracted symbol line into symbol name and symbol address
7629-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7630-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7631+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7632+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7633
7634 # Handle CRLF in mingw tool chain
7635 opt_cr=
7636@@ -6989,6 +7307,7 @@
7637 else
7638 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7639 fi
7640+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7641
7642 # Check to see that the pipe works correctly.
7643 pipe_works=no
7644@@ -7030,6 +7349,18 @@
7645 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7646 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7647 cat <<_LT_EOF > conftest.$ac_ext
7648+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7649+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7650+/* DATA imports from DLLs on WIN32 con't be const, because runtime
7651+ relocations are performed -- see ld's documentation on pseudo-relocs. */
7652+# define LT_DLSYM_CONST
7653+#elif defined(__osf__)
7654+/* This system does not cope well with relocations in const data. */
7655+# define LT_DLSYM_CONST
7656+#else
7657+# define LT_DLSYM_CONST const
7658+#endif
7659+
7660 #ifdef __cplusplus
7661 extern "C" {
7662 #endif
7663@@ -7041,7 +7372,7 @@
7664 cat <<_LT_EOF >> conftest.$ac_ext
7665
7666 /* The mapping between symbol names and symbols. */
7667-const struct {
7668+LT_DLSYM_CONST struct {
7669 const char *name;
7670 void *address;
7671 }
7672@@ -7067,8 +7398,8 @@
7673 _LT_EOF
7674 # Now try linking the two files.
7675 mv conftest.$ac_objext conftstm.$ac_objext
7676- lt_save_LIBS="$LIBS"
7677- lt_save_CFLAGS="$CFLAGS"
7678+ lt_globsym_save_LIBS=$LIBS
7679+ lt_globsym_save_CFLAGS=$CFLAGS
7680 LIBS="conftstm.$ac_objext"
7681 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7683@@ -7078,8 +7409,8 @@
7684 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7685 pipe_works=yes
7686 fi
7687- LIBS="$lt_save_LIBS"
7688- CFLAGS="$lt_save_CFLAGS"
7689+ LIBS=$lt_globsym_save_LIBS
7690+ CFLAGS=$lt_globsym_save_CFLAGS
7691 else
7692 echo "cannot find nm_test_func in $nlist" >&5
7693 fi
7694@@ -7116,6 +7447,20 @@
7695 $as_echo "ok" >&6; }
7696 fi
7697
7698+# Response file support.
7699+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7700+ nm_file_list_spec='@'
7701+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7702+ nm_file_list_spec='@'
7703+fi
7704+
7705+
7706+
7707+
7708+
7709+
7710+
7711+
7712
7713
7714
7715@@ -7135,6 +7480,41 @@
7716
7717
7718
7719+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7720+$as_echo_n "checking for sysroot... " >&6; }
7721+
7722+# Check whether --with-libtool-sysroot was given.
7723+if test "${with_libtool_sysroot+set}" = set; then :
7724+ withval=$with_libtool_sysroot;
7725+else
7726+ with_libtool_sysroot=no
7727+fi
7728+
7729+
7730+lt_sysroot=
7731+case ${with_libtool_sysroot} in #(
7732+ yes)
7733+ if test "$GCC" = yes; then
7734+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7735+ fi
7736+ ;; #(
7737+ /*)
7738+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
7739+ ;; #(
7740+ no|'')
7741+ ;; #(
7742+ *)
7743+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
7744+$as_echo "${with_libtool_sysroot}" >&6; }
7745+ as_fn_error "The sysroot must be an absolute path." "$LINENO" 5
7746+ ;;
7747+esac
7748+
7749+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7750+$as_echo "${lt_sysroot:-no}" >&6; }
7751+
7752+
7753+
7754
7755
7756 # Check whether --enable-libtool-lock was given.
7757@@ -7330,6 +7710,123 @@
7758
7759 need_locks="$enable_libtool_lock"
7760
7761+if test -n "$ac_tool_prefix"; then
7762+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7763+set dummy ${ac_tool_prefix}mt; ac_word=$2
7764+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7765+$as_echo_n "checking for $ac_word... " >&6; }
7766+if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
7767+ $as_echo_n "(cached) " >&6
7768+else
7769+ if test -n "$MANIFEST_TOOL"; then
7770+ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7771+else
7772+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7773+for as_dir in $PATH
7774+do
7775+ IFS=$as_save_IFS
7776+ test -z "$as_dir" && as_dir=.
7777+ for ac_exec_ext in '' $ac_executable_extensions; do
7778+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7779+ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7780+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7781+ break 2
7782+ fi
7783+done
7784+ done
7785+IFS=$as_save_IFS
7786+
7787+fi
7788+fi
7789+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7790+if test -n "$MANIFEST_TOOL"; then
7791+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7792+$as_echo "$MANIFEST_TOOL" >&6; }
7793+else
7794+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7795+$as_echo "no" >&6; }
7796+fi
7797+
7798+
7799+fi
7800+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7801+ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7802+ # Extract the first word of "mt", so it can be a program name with args.
7803+set dummy mt; ac_word=$2
7804+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7805+$as_echo_n "checking for $ac_word... " >&6; }
7806+if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
7807+ $as_echo_n "(cached) " >&6
7808+else
7809+ if test -n "$ac_ct_MANIFEST_TOOL"; then
7810+ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7811+else
7812+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7813+for as_dir in $PATH
7814+do
7815+ IFS=$as_save_IFS
7816+ test -z "$as_dir" && as_dir=.
7817+ for ac_exec_ext in '' $ac_executable_extensions; do
7818+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7819+ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7820+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7821+ break 2
7822+ fi
7823+done
7824+ done
7825+IFS=$as_save_IFS
7826+
7827+fi
7828+fi
7829+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7830+if test -n "$ac_ct_MANIFEST_TOOL"; then
7831+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7832+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7833+else
7834+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7835+$as_echo "no" >&6; }
7836+fi
7837+
7838+ if test "x$ac_ct_MANIFEST_TOOL" = x; then
7839+ MANIFEST_TOOL=":"
7840+ else
7841+ case $cross_compiling:$ac_tool_warned in
7842+yes:)
7843+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7844+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7845+ac_tool_warned=yes ;;
7846+esac
7847+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7848+ fi
7849+else
7850+ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7851+fi
7852+
7853+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7854+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7855+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7856+if test "${lt_cv_path_mainfest_tool+set}" = set; then :
7857+ $as_echo_n "(cached) " >&6
7858+else
7859+ lt_cv_path_mainfest_tool=no
7860+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7861+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7862+ cat conftest.err >&5
7863+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7864+ lt_cv_path_mainfest_tool=yes
7865+ fi
7866+ rm -f conftest*
7867+fi
7868+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7869+$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7870+if test "x$lt_cv_path_mainfest_tool" != xyes; then
7871+ MANIFEST_TOOL=:
7872+fi
7873+
7874+
7875+
7876+
7877+
7878
7879 case $host_os in
7880 rhapsody* | darwin*)
7881@@ -7893,6 +8390,8 @@
7882 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7883 echo "$AR cru libconftest.a conftest.o" >&5
7884 $AR cru libconftest.a conftest.o 2>&5
7885+ echo "$RANLIB libconftest.a" >&5
7886+ $RANLIB libconftest.a 2>&5
7887 cat > conftest.c << _LT_EOF
7888 int main() { return 0;}
7889 _LT_EOF
7890@@ -8057,7 +8556,8 @@
7891 LIBTOOL_DEPS="$ltmain"
7892
7893 # Always use our own libtool.
7894-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7895+LIBTOOL='$(SHELL) $(top_builddir)'
7896+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
7897
7898
7899
7900@@ -8146,7 +8646,7 @@
7901 esac
7902
7903 # Global variables:
7904-ofile=libtool
7905+ofile=${host_alias}-libtool
7906 can_build_shared=yes
7907
7908 # All known linkers require a `.a' archive for static linking (except MSVC,
7909@@ -8444,8 +8944,6 @@
7910 lt_prog_compiler_pic=
7911 lt_prog_compiler_static=
7912
7913-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7914-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7915
7916 if test "$GCC" = yes; then
7917 lt_prog_compiler_wl='-Wl,'
7918@@ -8610,6 +9108,12 @@
7919 lt_prog_compiler_pic='--shared'
7920 lt_prog_compiler_static='--static'
7921 ;;
7922+ nagfor*)
7923+ # NAG Fortran compiler
7924+ lt_prog_compiler_wl='-Wl,-Wl,,'
7925+ lt_prog_compiler_pic='-PIC'
7926+ lt_prog_compiler_static='-Bstatic'
7927+ ;;
7928 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7929 # Portland Group compilers (*not* the Pentium gcc compiler,
7930 # which looks to be a dead project)
7931@@ -8672,7 +9176,7 @@
7932 lt_prog_compiler_pic='-KPIC'
7933 lt_prog_compiler_static='-Bstatic'
7934 case $cc_basename in
7935- f77* | f90* | f95*)
7936+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7937 lt_prog_compiler_wl='-Qoption ld ';;
7938 *)
7939 lt_prog_compiler_wl='-Wl,';;
7940@@ -8729,13 +9233,17 @@
7941 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7942 ;;
7943 esac
7944-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7945-$as_echo "$lt_prog_compiler_pic" >&6; }
7946-
7947-
7948-
7949-
7950
7951+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7952+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7953+if test "${lt_cv_prog_compiler_pic+set}" = set; then :
7954+ $as_echo_n "(cached) " >&6
7955+else
7956+ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
7957+fi
7958+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
7959+$as_echo "$lt_cv_prog_compiler_pic" >&6; }
7960+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
7961
7962 #
7963 # Check to make sure the PIC flag actually works.
7964@@ -8796,6 +9304,11 @@
7965
7966
7967
7968+
7969+
7970+
7971+
7972+
7973 #
7974 # Check to make sure the static flag actually works.
7975 #
7976@@ -9146,7 +9659,8 @@
7977 allow_undefined_flag=unsupported
7978 always_export_symbols=no
7979 enable_shared_with_static_runtimes=yes
7980- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7981+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
7982+ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
7983
7984 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7985 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7986@@ -9194,7 +9708,7 @@
7987 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7988 && test "$tmp_diet" = no
7989 then
7990- tmp_addflag=
7991+ tmp_addflag=' $pic_flag'
7992 tmp_sharedflag='-shared'
7993 case $cc_basename,$host_cpu in
7994 pgcc*) # Portland Group C compiler
7995@@ -9245,12 +9759,12 @@
7996 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
7997 hardcode_libdir_flag_spec=
7998 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7999- archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8000+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8001 if test "x$supports_anon_versioning" = xyes; then
8002 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8003 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8004 echo "local: *; };" >> $output_objdir/$libname.ver~
8005- $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8006+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8007 fi
8008 ;;
8009 esac
8010@@ -9264,8 +9778,8 @@
8011 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8012 wlarc=
8013 else
8014- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8015- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8016+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8017+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8018 fi
8019 ;;
8020
8021@@ -9283,8 +9797,8 @@
8022
8023 _LT_EOF
8024 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8025- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8026- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8027+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8028+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8029 else
8030 ld_shlibs=no
8031 fi
8032@@ -9330,8 +9844,8 @@
8033
8034 *)
8035 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8036- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8037- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8038+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8039+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8040 else
8041 ld_shlibs=no
8042 fi
8043@@ -9461,7 +9975,13 @@
8044 allow_undefined_flag='-berok'
8045 # Determine the default libpath from the value encoded in an
8046 # empty executable.
8047- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8048+ if test "${lt_cv_aix_libpath+set}" = set; then
8049+ aix_libpath=$lt_cv_aix_libpath
8050+else
8051+ if test "${lt_cv_aix_libpath_+set}" = set; then :
8052+ $as_echo_n "(cached) " >&6
8053+else
8054+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8055 /* end confdefs.h. */
8056
8057 int
8058@@ -9474,22 +9994,29 @@
8059 _ACEOF
8060 if ac_fn_c_try_link "$LINENO"; then :
8061
8062-lt_aix_libpath_sed='
8063- /Import File Strings/,/^$/ {
8064- /^0/ {
8065- s/^0 *\(.*\)$/\1/
8066- p
8067- }
8068- }'
8069-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8070-# Check for a 64-bit object if we didn't find anything.
8071-if test -z "$aix_libpath"; then
8072- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8073-fi
8074+ lt_aix_libpath_sed='
8075+ /Import File Strings/,/^$/ {
8076+ /^0/ {
8077+ s/^0 *\([^ ]*\) *$/\1/
8078+ p
8079+ }
8080+ }'
8081+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8082+ # Check for a 64-bit object if we didn't find anything.
8083+ if test -z "$lt_cv_aix_libpath_"; then
8084+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8085+ fi
8086 fi
8087 rm -f core conftest.err conftest.$ac_objext \
8088 conftest$ac_exeext conftest.$ac_ext
8089-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8090+ if test -z "$lt_cv_aix_libpath_"; then
8091+ lt_cv_aix_libpath_="/usr/lib:/lib"
8092+ fi
8093+
8094+fi
8095+
8096+ aix_libpath=$lt_cv_aix_libpath_
8097+fi
8098
8099 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8100 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8101@@ -9501,7 +10028,13 @@
8102 else
8103 # Determine the default libpath from the value encoded in an
8104 # empty executable.
8105- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8106+ if test "${lt_cv_aix_libpath+set}" = set; then
8107+ aix_libpath=$lt_cv_aix_libpath
8108+else
8109+ if test "${lt_cv_aix_libpath_+set}" = set; then :
8110+ $as_echo_n "(cached) " >&6
8111+else
8112+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8113 /* end confdefs.h. */
8114
8115 int
8116@@ -9514,22 +10047,29 @@
8117 _ACEOF
8118 if ac_fn_c_try_link "$LINENO"; then :
8119
8120-lt_aix_libpath_sed='
8121- /Import File Strings/,/^$/ {
8122- /^0/ {
8123- s/^0 *\(.*\)$/\1/
8124- p
8125- }
8126- }'
8127-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8128-# Check for a 64-bit object if we didn't find anything.
8129-if test -z "$aix_libpath"; then
8130- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8131-fi
8132+ lt_aix_libpath_sed='
8133+ /Import File Strings/,/^$/ {
8134+ /^0/ {
8135+ s/^0 *\([^ ]*\) *$/\1/
8136+ p
8137+ }
8138+ }'
8139+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8140+ # Check for a 64-bit object if we didn't find anything.
8141+ if test -z "$lt_cv_aix_libpath_"; then
8142+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8143+ fi
8144 fi
8145 rm -f core conftest.err conftest.$ac_objext \
8146 conftest$ac_exeext conftest.$ac_ext
8147-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8148+ if test -z "$lt_cv_aix_libpath_"; then
8149+ lt_cv_aix_libpath_="/usr/lib:/lib"
8150+ fi
8151+
8152+fi
8153+
8154+ aix_libpath=$lt_cv_aix_libpath_
8155+fi
8156
8157 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8158 # Warning - without using the other run time loading flags,
8159@@ -9574,20 +10114,63 @@
8160 # Microsoft Visual C++.
8161 # hardcode_libdir_flag_spec is actually meaningless, as there is
8162 # no search path for DLLs.
8163- hardcode_libdir_flag_spec=' '
8164- allow_undefined_flag=unsupported
8165- # Tell ltmain to make .lib files, not .a files.
8166- libext=lib
8167- # Tell ltmain to make .dll files, not .so files.
8168- shrext_cmds=".dll"
8169- # FIXME: Setting linknames here is a bad hack.
8170- archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8171- # The linker will automatically build a .lib file if we build a DLL.
8172- old_archive_from_new_cmds='true'
8173- # FIXME: Should let the user specify the lib program.
8174- old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8175- fix_srcfile_path='`cygpath -w "$srcfile"`'
8176- enable_shared_with_static_runtimes=yes
8177+ case $cc_basename in
8178+ cl*)
8179+ # Native MSVC
8180+ hardcode_libdir_flag_spec=' '
8181+ allow_undefined_flag=unsupported
8182+ always_export_symbols=yes
8183+ file_list_spec='@'
8184+ # Tell ltmain to make .lib files, not .a files.
8185+ libext=lib
8186+ # Tell ltmain to make .dll files, not .so files.
8187+ shrext_cmds=".dll"
8188+ # FIXME: Setting linknames here is a bad hack.
8189+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8190+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8191+ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
8192+ else
8193+ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
8194+ fi~
8195+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8196+ linknames='
8197+ # The linker will not automatically build a static lib if we build a DLL.
8198+ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8199+ enable_shared_with_static_runtimes=yes
8200+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8201+ # Don't use ranlib
8202+ old_postinstall_cmds='chmod 644 $oldlib'
8203+ postlink_cmds='lt_outputfile="@OUTPUT@"~
8204+ lt_tool_outputfile="@TOOL_OUTPUT@"~
8205+ case $lt_outputfile in
8206+ *.exe|*.EXE) ;;
8207+ *)
8208+ lt_outputfile="$lt_outputfile.exe"
8209+ lt_tool_outputfile="$lt_tool_outputfile.exe"
8210+ ;;
8211+ esac~
8212+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8213+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8214+ $RM "$lt_outputfile.manifest";
8215+ fi'
8216+ ;;
8217+ *)
8218+ # Assume MSVC wrapper
8219+ hardcode_libdir_flag_spec=' '
8220+ allow_undefined_flag=unsupported
8221+ # Tell ltmain to make .lib files, not .a files.
8222+ libext=lib
8223+ # Tell ltmain to make .dll files, not .so files.
8224+ shrext_cmds=".dll"
8225+ # FIXME: Setting linknames here is a bad hack.
8226+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8227+ # The linker will automatically build a .lib file if we build a DLL.
8228+ old_archive_from_new_cmds='true'
8229+ # FIXME: Should let the user specify the lib program.
8230+ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8231+ enable_shared_with_static_runtimes=yes
8232+ ;;
8233+ esac
8234 ;;
8235
8236 darwin* | rhapsody*)
8237@@ -9652,7 +10235,7 @@
8238
8239 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8240 freebsd* | dragonfly*)
8241- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8242+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8243 hardcode_libdir_flag_spec='-R$libdir'
8244 hardcode_direct=yes
8245 hardcode_shlibpath_var=no
8246@@ -9660,7 +10243,7 @@
8247
8248 hpux9*)
8249 if test "$GCC" = yes; then
8250- archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8251+ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8252 else
8253 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8254 fi
8255@@ -9676,7 +10259,7 @@
8256
8257 hpux10*)
8258 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8259- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8260+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8261 else
8262 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8263 fi
8264@@ -9700,10 +10283,10 @@
8265 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8266 ;;
8267 ia64*)
8268- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8269+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8270 ;;
8271 *)
8272- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8273+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8274 ;;
8275 esac
8276 else
8277@@ -9782,23 +10365,36 @@
8278
8279 irix5* | irix6* | nonstopux*)
8280 if test "$GCC" = yes; then
8281- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8282+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8283 # Try to use the -exported_symbol ld option, if it does not
8284 # work, assume that -exports_file does not work either and
8285 # implicitly export all symbols.
8286- save_LDFLAGS="$LDFLAGS"
8287- LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8288- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8289+ # This should be the same for all languages, so no per-tag cache variable.
8290+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
8291+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
8292+if test "${lt_cv_irix_exported_symbol+set}" = set; then :
8293+ $as_echo_n "(cached) " >&6
8294+else
8295+ save_LDFLAGS="$LDFLAGS"
8296+ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8297+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8298 /* end confdefs.h. */
8299-int foo(void) {}
8300+int foo (void) { return 0; }
8301 _ACEOF
8302 if ac_fn_c_try_link "$LINENO"; then :
8303- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8304-
8305+ lt_cv_irix_exported_symbol=yes
8306+else
8307+ lt_cv_irix_exported_symbol=no
8308 fi
8309 rm -f core conftest.err conftest.$ac_objext \
8310 conftest$ac_exeext conftest.$ac_ext
8311- LDFLAGS="$save_LDFLAGS"
8312+ LDFLAGS="$save_LDFLAGS"
8313+fi
8314+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
8315+$as_echo "$lt_cv_irix_exported_symbol" >&6; }
8316+ if test "$lt_cv_irix_exported_symbol" = yes; then
8317+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8318+ fi
8319 else
8320 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
8321 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8322@@ -9883,7 +10479,7 @@
8323 osf4* | osf5*) # as osf3* with the addition of -msym flag
8324 if test "$GCC" = yes; then
8325 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8326- archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8327+ archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8328 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8329 else
8330 allow_undefined_flag=' -expect_unresolved \*'
8331@@ -9902,9 +10498,9 @@
8332 no_undefined_flag=' -z defs'
8333 if test "$GCC" = yes; then
8334 wlarc='${wl}'
8335- archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8336+ archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8337 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8338- $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8339+ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8340 else
8341 case `$CC -V 2>&1` in
8342 *"Compilers 5.0"*)
8343@@ -10480,8 +11076,9 @@
8344 need_version=no
8345 need_lib_prefix=no
8346
8347- case $GCC,$host_os in
8348- yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
8349+ case $GCC,$cc_basename in
8350+ yes,*)
8351+ # gcc
8352 library_names_spec='$libname.dll.a'
8353 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8354 postinstall_cmds='base_file=`basename \${file}`~
8355@@ -10514,13 +11111,71 @@
8356 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8357 ;;
8358 esac
8359+ dynamic_linker='Win32 ld.exe'
8360+ ;;
8361+
8362+ *,cl*)
8363+ # Native MSVC
8364+ libname_spec='$name'
8365+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8366+ library_names_spec='${libname}.dll.lib'
8367+
8368+ case $build_os in
8369+ mingw*)
8370+ sys_lib_search_path_spec=
8371+ lt_save_ifs=$IFS
8372+ IFS=';'
8373+ for lt_path in $LIB
8374+ do
8375+ IFS=$lt_save_ifs
8376+ # Let DOS variable expansion print the short 8.3 style file name.
8377+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
8378+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
8379+ done
8380+ IFS=$lt_save_ifs
8381+ # Convert to MSYS style.
8382+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
8383+ ;;
8384+ cygwin*)
8385+ # Convert to unix form, then to dos form, then back to unix form
8386+ # but this time dos style (no spaces!) so that the unix form looks
8387+ # like /cygdrive/c/PROGRA~1:/cygdr...
8388+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
8389+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
8390+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8391+ ;;
8392+ *)
8393+ sys_lib_search_path_spec="$LIB"
8394+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8395+ # It is most probably a Windows format PATH.
8396+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8397+ else
8398+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8399+ fi
8400+ # FIXME: find the short name or the path components, as spaces are
8401+ # common. (e.g. "Program Files" -> "PROGRA~1")
8402+ ;;
8403+ esac
8404+
8405+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
8406+ postinstall_cmds='base_file=`basename \${file}`~
8407+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8408+ dldir=$destdir/`dirname \$dlpath`~
8409+ test -d \$dldir || mkdir -p \$dldir~
8410+ $install_prog $dir/$dlname \$dldir/$dlname'
8411+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8412+ dlpath=$dir/\$dldll~
8413+ $RM \$dlpath'
8414+ shlibpath_overrides_runpath=yes
8415+ dynamic_linker='Win32 link.exe'
8416 ;;
8417
8418 *)
8419+ # Assume MSVC wrapper
8420 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8421+ dynamic_linker='Win32 ld.exe'
8422 ;;
8423 esac
8424- dynamic_linker='Win32 ld.exe'
8425 # FIXME: first we should search . and the directory the executable is in
8426 shlibpath_var=PATH
8427 ;;
8428@@ -10616,7 +11271,7 @@
8429 soname_spec='${libname}${release}${shared_ext}$major'
8430 shlibpath_var=LIBRARY_PATH
8431 shlibpath_overrides_runpath=yes
8432- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
8433+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
8434 hardcode_into_libs=yes
8435 ;;
8436
8437@@ -11412,7 +12067,7 @@
8438 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8439 lt_status=$lt_dlunknown
8440 cat > conftest.$ac_ext <<_LT_EOF
8441-#line 11415 "configure"
8442+#line $LINENO "configure"
8443 #include "confdefs.h"
8444
8445 #if HAVE_DLFCN_H
8446@@ -11456,10 +12111,10 @@
8447 /* When -fvisbility=hidden is used, assume the code has been annotated
8448 correspondingly for the symbols needed. */
8449 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
8450-void fnord () __attribute__((visibility("default")));
8451+int fnord () __attribute__((visibility("default")));
8452 #endif
8453
8454-void fnord () { int i=42; }
8455+int fnord () { return 42; }
8456 int main ()
8457 {
8458 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8459@@ -11518,7 +12173,7 @@
8460 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8461 lt_status=$lt_dlunknown
8462 cat > conftest.$ac_ext <<_LT_EOF
8463-#line 11521 "configure"
8464+#line $LINENO "configure"
8465 #include "confdefs.h"
8466
8467 #if HAVE_DLFCN_H
8468@@ -11562,10 +12217,10 @@
8469 /* When -fvisbility=hidden is used, assume the code has been annotated
8470 correspondingly for the symbols needed. */
8471 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
8472-void fnord () __attribute__((visibility("default")));
8473+int fnord () __attribute__((visibility("default")));
8474 #endif
8475
8476-void fnord () { int i=42; }
8477+int fnord () { return 42; }
8478 int main ()
8479 {
8480 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8481@@ -14897,7 +15552,7 @@
8482 if test "$enable_shared" = "yes"; then
8483 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
8484 if test -n "$x"; then
8485- SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
8486+ SHARED_LIBADD="`pwd`/../libiberty/pic/libiberty.a"
8487 fi
8488
8489 # More hacks to build DLLs on Windows.
8490@@ -16473,13 +17128,20 @@
8491 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
8492 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
8493 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
8494+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
8495+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
8496 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
8497 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
8498 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
8499 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
8500 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
8501+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
8502+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
8503+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
8504+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
8505 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
8506 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
8507+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
8508 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
8509 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
8510 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
8511@@ -16494,14 +17156,17 @@
8512 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
8513 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
8514 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
8515+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
8516+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
8517 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
8518 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
8519 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
8520-lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
8521 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
8522+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
8523 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
8524 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
8525 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
8526+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
8527 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
8528 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
8529 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
8530@@ -16534,12 +17199,12 @@
8531 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
8532 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
8533 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
8534-fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
8535 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
8536 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
8537 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
8538 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
8539 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
8540+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
8541 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
8542 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
8543 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
8544@@ -16594,8 +17259,13 @@
8545 OBJDUMP \
8546 deplibs_check_method \
8547 file_magic_cmd \
8548+file_magic_glob \
8549+want_nocaseglob \
8550+DLLTOOL \
8551+sharedlib_from_linklib_cmd \
8552 AR \
8553 AR_FLAGS \
8554+archiver_list_spec \
8555 STRIP \
8556 RANLIB \
8557 CC \
8558@@ -16605,12 +17275,14 @@
8559 lt_cv_sys_global_symbol_to_cdecl \
8560 lt_cv_sys_global_symbol_to_c_name_address \
8561 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
8562+nm_file_list_spec \
8563 lt_prog_compiler_no_builtin_flag \
8564-lt_prog_compiler_wl \
8565 lt_prog_compiler_pic \
8566+lt_prog_compiler_wl \
8567 lt_prog_compiler_static \
8568 lt_cv_prog_compiler_c_o \
8569 need_locks \
8570+MANIFEST_TOOL \
8571 DSYMUTIL \
8572 NMEDIT \
8573 LIPO \
8574@@ -16626,7 +17298,6 @@
8575 hardcode_libdir_flag_spec \
8576 hardcode_libdir_flag_spec_ld \
8577 hardcode_libdir_separator \
8578-fix_srcfile_path \
8579 exclude_expsyms \
8580 include_expsyms \
8581 file_list_spec \
8582@@ -16662,6 +17333,7 @@
8583 module_expsym_cmds \
8584 export_symbols_cmds \
8585 prelink_cmds \
8586+postlink_cmds \
8587 postinstall_cmds \
8588 postuninstall_cmds \
8589 finish_cmds \
8590@@ -17441,7 +18113,8 @@
8591 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8592 #
8593 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
8594-# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
8595+# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
8596+# Inc.
8597 # Written by Gordon Matzigkeit, 1996
8598 #
8599 # This file is part of GNU Libtool.
8600@@ -17544,19 +18217,42 @@
8601 # turn newlines into spaces.
8602 NL2SP=$lt_lt_NL2SP
8603
8604+# convert \$build file names to \$host format.
8605+to_host_file_cmd=$lt_cv_to_host_file_cmd
8606+
8607+# convert \$build files to toolchain format.
8608+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8609+
8610 # An object symbol dumper.
8611 OBJDUMP=$lt_OBJDUMP
8612
8613 # Method to check whether dependent libraries are shared objects.
8614 deplibs_check_method=$lt_deplibs_check_method
8615
8616-# Command to use when deplibs_check_method == "file_magic".
8617+# Command to use when deplibs_check_method = "file_magic".
8618 file_magic_cmd=$lt_file_magic_cmd
8619
8620+# How to find potential files when deplibs_check_method = "file_magic".
8621+file_magic_glob=$lt_file_magic_glob
8622+
8623+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
8624+want_nocaseglob=$lt_want_nocaseglob
8625+
8626+# DLL creation program.
8627+DLLTOOL=$lt_DLLTOOL
8628+
8629+# Command to associate shared and link libraries.
8630+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
8631+
8632 # The archiver.
8633 AR=$lt_AR
8634+
8635+# Flags to create an archive.
8636 AR_FLAGS=$lt_AR_FLAGS
8637
8638+# How to feed a file listing to the archiver.
8639+archiver_list_spec=$lt_archiver_list_spec
8640+
8641 # A symbol stripping program.
8642 STRIP=$lt_STRIP
8643
8644@@ -17586,6 +18282,12 @@
8645 # Transform the output of nm in a C name address pair when lib prefix is needed.
8646 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
8647
8648+# Specify filename containing input files for \$NM.
8649+nm_file_list_spec=$lt_nm_file_list_spec
8650+
8651+# The root where to search for dependent libraries,and in which our libraries should be installed.
8652+lt_sysroot=$lt_sysroot
8653+
8654 # The name of the directory that contains temporary libtool files.
8655 objdir=$objdir
8656
8657@@ -17595,6 +18297,9 @@
8658 # Must we lock files when doing compilation?
8659 need_locks=$lt_need_locks
8660
8661+# Manifest tool.
8662+MANIFEST_TOOL=$lt_MANIFEST_TOOL
8663+
8664 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
8665 DSYMUTIL=$lt_DSYMUTIL
8666
8667@@ -17709,12 +18414,12 @@
8668 # Compiler flag to turn off builtin functions.
8669 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
8670
8671-# How to pass a linker flag through the compiler.
8672-wl=$lt_lt_prog_compiler_wl
8673-
8674 # Additional compiler flags for building library objects.
8675 pic_flag=$lt_lt_prog_compiler_pic
8676
8677+# How to pass a linker flag through the compiler.
8678+wl=$lt_lt_prog_compiler_wl
8679+
8680 # Compiler flag to prevent dynamic linking.
8681 link_static_flag=$lt_lt_prog_compiler_static
8682
8683@@ -17801,9 +18506,6 @@
8684 # Whether libtool must link a program against all its dependency libraries.
8685 link_all_deplibs=$link_all_deplibs
8686
8687-# Fix the shell variable \$srcfile for the compiler.
8688-fix_srcfile_path=$lt_fix_srcfile_path
8689-
8690 # Set to "yes" if exported symbols are required.
8691 always_export_symbols=$always_export_symbols
8692
8693@@ -17819,6 +18521,9 @@
8694 # Commands necessary for linking programs (against libraries) with templates.
8695 prelink_cmds=$lt_prelink_cmds
8696
8697+# Commands necessary for finishing linking programs.
8698+postlink_cmds=$lt_postlink_cmds
8699+
8700 # Specify filename containing input files.
8701 file_list_spec=$lt_file_list_spec
8702
8703@@ -17851,210 +18556,169 @@
8704 # if finds mixed CR/LF and LF-only lines. Since sed operates in
8705 # text mode, it properly converts lines to CR/LF. This bash problem
8706 # is reportedly fixed, but why not run on old versions too?
8707- sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
8708- || (rm -f "$cfgfile"; exit 1)
8709-
8710- case $xsi_shell in
8711- yes)
8712- cat << \_LT_EOF >> "$cfgfile"
8713-
8714-# func_dirname file append nondir_replacement
8715-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
8716-# otherwise set result to NONDIR_REPLACEMENT.
8717-func_dirname ()
8718-{
8719- case ${1} in
8720- */*) func_dirname_result="${1%/*}${2}" ;;
8721- * ) func_dirname_result="${3}" ;;
8722- esac
8723-}
8724-
8725-# func_basename file
8726-func_basename ()
8727-{
8728- func_basename_result="${1##*/}"
8729-}
8730-
8731-# func_dirname_and_basename file append nondir_replacement
8732-# perform func_basename and func_dirname in a single function
8733-# call:
8734-# dirname: Compute the dirname of FILE. If nonempty,
8735-# add APPEND to the result, otherwise set result
8736-# to NONDIR_REPLACEMENT.
8737-# value returned in "$func_dirname_result"
8738-# basename: Compute filename of FILE.
8739-# value retuned in "$func_basename_result"
8740-# Implementation must be kept synchronized with func_dirname
8741-# and func_basename. For efficiency, we do not delegate to
8742-# those functions but instead duplicate the functionality here.
8743-func_dirname_and_basename ()
8744-{
8745- case ${1} in
8746- */*) func_dirname_result="${1%/*}${2}" ;;
8747- * ) func_dirname_result="${3}" ;;
8748- esac
8749- func_basename_result="${1##*/}"
8750-}
8751-
8752-# func_stripname prefix suffix name
8753-# strip PREFIX and SUFFIX off of NAME.
8754-# PREFIX and SUFFIX must not contain globbing or regex special
8755-# characters, hashes, percent signs, but SUFFIX may contain a leading
8756-# dot (in which case that matches only a dot).
8757-func_stripname ()
8758-{
8759- # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
8760- # positional parameters, so assign one to ordinary parameter first.
8761- func_stripname_result=${3}
8762- func_stripname_result=${func_stripname_result#"${1}"}
8763- func_stripname_result=${func_stripname_result%"${2}"}
8764-}
8765-
8766-# func_opt_split
8767-func_opt_split ()
8768-{
8769- func_opt_split_opt=${1%%=*}
8770- func_opt_split_arg=${1#*=}
8771-}
8772-
8773-# func_lo2o object
8774-func_lo2o ()
8775-{
8776- case ${1} in
8777- *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
8778- *) func_lo2o_result=${1} ;;
8779- esac
8780-}
8781-
8782-# func_xform libobj-or-source
8783-func_xform ()
8784-{
8785- func_xform_result=${1%.*}.lo
8786-}
8787-
8788-# func_arith arithmetic-term...
8789-func_arith ()
8790-{
8791- func_arith_result=$(( $* ))
8792-}
8793-
8794-# func_len string
8795-# STRING may not start with a hyphen.
8796-func_len ()
8797-{
8798- func_len_result=${#1}
8799-}
8800-
8801-_LT_EOF
8802- ;;
8803- *) # Bourne compatible functions.
8804- cat << \_LT_EOF >> "$cfgfile"
8805-
8806-# func_dirname file append nondir_replacement
8807-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
8808-# otherwise set result to NONDIR_REPLACEMENT.
8809-func_dirname ()
8810-{
8811- # Extract subdirectory from the argument.
8812- func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
8813- if test "X$func_dirname_result" = "X${1}"; then
8814- func_dirname_result="${3}"
8815- else
8816- func_dirname_result="$func_dirname_result${2}"
8817- fi
8818-}
8819-
8820-# func_basename file
8821-func_basename ()
8822-{
8823- func_basename_result=`$ECHO "${1}" | $SED "$basename"`
8824-}
8825-
8826-
8827-# func_stripname prefix suffix name
8828-# strip PREFIX and SUFFIX off of NAME.
8829-# PREFIX and SUFFIX must not contain globbing or regex special
8830-# characters, hashes, percent signs, but SUFFIX may contain a leading
8831-# dot (in which case that matches only a dot).
8832-# func_strip_suffix prefix name
8833-func_stripname ()
8834-{
8835- case ${2} in
8836- .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8837- *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8838- esac
8839-}
8840-
8841-# sed scripts:
8842-my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
8843-my_sed_long_arg='1s/^-[^=]*=//'
8844-
8845-# func_opt_split
8846-func_opt_split ()
8847-{
8848- func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
8849- func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
8850-}
8851-
8852-# func_lo2o object
8853-func_lo2o ()
8854-{
8855- func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
8856-}
8857-
8858-# func_xform libobj-or-source
8859-func_xform ()
8860-{
8861- func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
8862-}
8863-
8864-# func_arith arithmetic-term...
8865-func_arith ()
8866-{
8867- func_arith_result=`expr "$@"`
8868-}
8869-
8870-# func_len string
8871-# STRING may not start with a hyphen.
8872-func_len ()
8873-{
8874- func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
8875-}
8876-
8877-_LT_EOF
8878-esac
8879-
8880-case $lt_shell_append in
8881- yes)
8882- cat << \_LT_EOF >> "$cfgfile"
8883-
8884-# func_append var value
8885-# Append VALUE to the end of shell variable VAR.
8886-func_append ()
8887-{
8888- eval "$1+=\$2"
8889-}
8890-_LT_EOF
8891- ;;
8892- *)
8893- cat << \_LT_EOF >> "$cfgfile"
8894-
8895-# func_append var value
8896-# Append VALUE to the end of shell variable VAR.
8897-func_append ()
8898-{
8899- eval "$1=\$$1\$2"
8900-}
8901-
8902-_LT_EOF
8903- ;;
8904- esac
8905+ sed '$q' "$ltmain" >> "$cfgfile" \
8906+ || (rm -f "$cfgfile"; exit 1)
8907
8908+ if test x"$xsi_shell" = xyes; then
8909+ sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
8910+func_dirname ()\
8911+{\
8912+\ case ${1} in\
8913+\ */*) func_dirname_result="${1%/*}${2}" ;;\
8914+\ * ) func_dirname_result="${3}" ;;\
8915+\ esac\
8916+} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
8917+ && mv -f "$cfgfile.tmp" "$cfgfile" \
8918+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
8919+test 0 -eq $? || _lt_function_replace_fail=:
8920+
8921+
8922+ sed -e '/^func_basename ()$/,/^} # func_basename /c\
8923+func_basename ()\
8924+{\
8925+\ func_basename_result="${1##*/}"\
8926+} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
8927+ && mv -f "$cfgfile.tmp" "$cfgfile" \
8928+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
8929+test 0 -eq $? || _lt_function_replace_fail=:
8930+
8931+
8932+ sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
8933+func_dirname_and_basename ()\
8934+{\
8935+\ case ${1} in\
8936+\ */*) func_dirname_result="${1%/*}${2}" ;;\
8937+\ * ) func_dirname_result="${3}" ;;\
8938+\ esac\
8939+\ func_basename_result="${1##*/}"\
8940+} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
8941+ && mv -f "$cfgfile.tmp" "$cfgfile" \
8942+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
8943+test 0 -eq $? || _lt_function_replace_fail=:
8944+
8945+
8946+ sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
8947+func_stripname ()\
8948+{\
8949+\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
8950+\ # positional parameters, so assign one to ordinary parameter first.\
8951+\ func_stripname_result=${3}\
8952+\ func_stripname_result=${func_stripname_result#"${1}"}\
8953+\ func_stripname_result=${func_stripname_result%"${2}"}\
8954+} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
8955+ && mv -f "$cfgfile.tmp" "$cfgfile" \
8956+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
8957+test 0 -eq $? || _lt_function_replace_fail=:
8958+
8959+
8960+ sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
8961+func_split_long_opt ()\
8962+{\
8963+\ func_split_long_opt_name=${1%%=*}\
8964+\ func_split_long_opt_arg=${1#*=}\
8965+} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
8966+ && mv -f "$cfgfile.tmp" "$cfgfile" \
8967+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
8968+test 0 -eq $? || _lt_function_replace_fail=:
8969+
8970+
8971+ sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
8972+func_split_short_opt ()\
8973+{\
8974+\ func_split_short_opt_arg=${1#??}\
8975+\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
8976+} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
8977+ && mv -f "$cfgfile.tmp" "$cfgfile" \
8978+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
8979+test 0 -eq $? || _lt_function_replace_fail=:
8980+
8981+
8982+ sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
8983+func_lo2o ()\
8984+{\
8985+\ case ${1} in\
8986+\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
8987+\ *) func_lo2o_result=${1} ;;\
8988+\ esac\
8989+} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
8990+ && mv -f "$cfgfile.tmp" "$cfgfile" \
8991+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
8992+test 0 -eq $? || _lt_function_replace_fail=:
8993+
8994+
8995+ sed -e '/^func_xform ()$/,/^} # func_xform /c\
8996+func_xform ()\
8997+{\
8998+ func_xform_result=${1%.*}.lo\
8999+} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
9000+ && mv -f "$cfgfile.tmp" "$cfgfile" \
9001+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
9002+test 0 -eq $? || _lt_function_replace_fail=:
9003+
9004+
9005+ sed -e '/^func_arith ()$/,/^} # func_arith /c\
9006+func_arith ()\
9007+{\
9008+ func_arith_result=$(( $* ))\
9009+} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
9010+ && mv -f "$cfgfile.tmp" "$cfgfile" \
9011+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
9012+test 0 -eq $? || _lt_function_replace_fail=:
9013+
9014+
9015+ sed -e '/^func_len ()$/,/^} # func_len /c\
9016+func_len ()\
9017+{\
9018+ func_len_result=${#1}\
9019+} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
9020+ && mv -f "$cfgfile.tmp" "$cfgfile" \
9021+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
9022+test 0 -eq $? || _lt_function_replace_fail=:
9023+
9024+fi
9025+
9026+if test x"$lt_shell_append" = xyes; then
9027+ sed -e '/^func_append ()$/,/^} # func_append /c\
9028+func_append ()\
9029+{\
9030+ eval "${1}+=\\${2}"\
9031+} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
9032+ && mv -f "$cfgfile.tmp" "$cfgfile" \
9033+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
9034+test 0 -eq $? || _lt_function_replace_fail=:
9035+
9036+
9037+ sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
9038+func_append_quoted ()\
9039+{\
9040+\ func_quote_for_eval "${2}"\
9041+\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
9042+} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
9043+ && mv -f "$cfgfile.tmp" "$cfgfile" \
9044+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
9045+test 0 -eq $? || _lt_function_replace_fail=:
9046+
9047+
9048+ # Save a `func_append' function call where possible by direct use of '+='
9049+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
9050+ && mv -f "$cfgfile.tmp" "$cfgfile" \
9051+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
9052+ test 0 -eq $? || _lt_function_replace_fail=:
9053+else
9054+ # Save a `func_append' function call even when '+=' is not available
9055+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
9056+ && mv -f "$cfgfile.tmp" "$cfgfile" \
9057+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
9058+ test 0 -eq $? || _lt_function_replace_fail=:
9059+fi
9060+
9061+if test x"$_lt_function_replace_fail" = x":"; then
9062+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
9063+$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
9064+fi
9065
9066- sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
9067- || (rm -f "$cfgfile"; exit 1)
9068
9069- mv -f "$cfgfile" "$ofile" ||
9070+ mv -f "$cfgfile" "$ofile" ||
9071 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9072 chmod +x "$ofile"
9073
9074Index: binutils-2.21/opcodes/configure
9075===================================================================
9076--- binutils-2.21.orig/opcodes/configure 2010-11-05 03:32:32.000000000 -0700
9077+++ binutils-2.21/opcodes/configure 2011-01-07 11:26:03.686101001 -0800
9078@@ -647,6 +647,9 @@
9079 LIPO
9080 NMEDIT
9081 DSYMUTIL
9082+MANIFEST_TOOL
9083+ac_ct_AR
9084+DLLTOOL
9085 OBJDUMP
9086 LN_S
9087 NM
9088@@ -759,6 +762,7 @@
9089 with_pic
9090 enable_fast_install
9091 with_gnu_ld
9092+with_libtool_sysroot
9093 enable_libtool_lock
9094 enable_targets
9095 enable_werror
9096@@ -1417,6 +1421,8 @@
9097 --with-pic try to use only PIC/non-PIC objects [default=use
9098 both]
9099 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
9100+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
9101+ (or the compiler's sysroot if not specified).
9102
9103 Some influential environment variables:
9104 CC C compiler command
9105@@ -5112,8 +5118,8 @@
9106
9107
9108
9109-macro_version='2.2.7a'
9110-macro_revision='1.3134'
9111+macro_version='2.4'
9112+macro_revision='1.3293'
9113
9114
9115
9116@@ -5153,7 +5159,7 @@
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
9118 $as_echo_n "checking how to print strings... " >&6; }
9119 # Test print first, because it will be a builtin if present.
9120-if test "X`print -r -- -n 2>/dev/null`" = X-n && \
9121+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
9122 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
9123 ECHO='print -r --'
9124 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
9125@@ -5839,8 +5845,8 @@
9126 # Try some XSI features
9127 xsi_shell=no
9128 ( _lt_dummy="a/b/c"
9129- test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
9130- = c,a/b,, \
9131+ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
9132+ = c,a/b,b/c, \
9133 && eval 'test $(( 1 + 1 )) -eq 2 \
9134 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
9135 && xsi_shell=yes
9136@@ -5889,6 +5895,80 @@
9137
9138
9139
9140+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
9141+$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
9142+if test "${lt_cv_to_host_file_cmd+set}" = set; then :
9143+ $as_echo_n "(cached) " >&6
9144+else
9145+ case $host in
9146+ *-*-mingw* )
9147+ case $build in
9148+ *-*-mingw* ) # actually msys
9149+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
9150+ ;;
9151+ *-*-cygwin* )
9152+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
9153+ ;;
9154+ * ) # otherwise, assume *nix
9155+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
9156+ ;;
9157+ esac
9158+ ;;
9159+ *-*-cygwin* )
9160+ case $build in
9161+ *-*-mingw* ) # actually msys
9162+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
9163+ ;;
9164+ *-*-cygwin* )
9165+ lt_cv_to_host_file_cmd=func_convert_file_noop
9166+ ;;
9167+ * ) # otherwise, assume *nix
9168+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
9169+ ;;
9170+ esac
9171+ ;;
9172+ * ) # unhandled hosts (and "normal" native builds)
9173+ lt_cv_to_host_file_cmd=func_convert_file_noop
9174+ ;;
9175+esac
9176+
9177+fi
9178+
9179+to_host_file_cmd=$lt_cv_to_host_file_cmd
9180+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
9181+$as_echo "$lt_cv_to_host_file_cmd" >&6; }
9182+
9183+
9184+
9185+
9186+
9187+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
9188+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
9189+if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
9190+ $as_echo_n "(cached) " >&6
9191+else
9192+ #assume ordinary cross tools, or native build.
9193+lt_cv_to_tool_file_cmd=func_convert_file_noop
9194+case $host in
9195+ *-*-mingw* )
9196+ case $build in
9197+ *-*-mingw* ) # actually msys
9198+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
9199+ ;;
9200+ esac
9201+ ;;
9202+esac
9203+
9204+fi
9205+
9206+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
9207+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
9208+$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
9209+
9210+
9211+
9212+
9213+
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
9215 $as_echo_n "checking for $LD option to reload object files... " >&6; }
9216 if test "${lt_cv_ld_reload_flag+set}" = set; then :
9217@@ -5905,6 +5985,11 @@
9218 esac
9219 reload_cmds='$LD$reload_flag -o $output$reload_objs'
9220 case $host_os in
9221+ cygwin* | mingw* | pw32* | cegcc*)
9222+ if test "$GCC" != yes; then
9223+ reload_cmds=false
9224+ fi
9225+ ;;
9226 darwin*)
9227 if test "$GCC" = yes; then
9228 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
9229@@ -6073,7 +6158,8 @@
9230 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
9231 lt_cv_file_magic_cmd='func_win32_libid'
9232 else
9233- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
9234+ # Keep this pattern in sync with the one in func_win32_libid.
9235+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
9236 lt_cv_file_magic_cmd='$OBJDUMP -f'
9237 fi
9238 ;;
9239@@ -6227,6 +6313,21 @@
9240 fi
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
9242 $as_echo "$lt_cv_deplibs_check_method" >&6; }
9243+
9244+file_magic_glob=
9245+want_nocaseglob=no
9246+if test "$build" = "$host"; then
9247+ case $host_os in
9248+ mingw* | pw32*)
9249+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
9250+ want_nocaseglob=yes
9251+ else
9252+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
9253+ fi
9254+ ;;
9255+ esac
9256+fi
9257+
9258 file_magic_cmd=$lt_cv_file_magic_cmd
9259 deplibs_check_method=$lt_cv_deplibs_check_method
9260 test -z "$deplibs_check_method" && deplibs_check_method=unknown
9261@@ -6242,9 +6343,162 @@
9262
9263
9264
9265+
9266+
9267+
9268+
9269+
9270+
9271+
9272+
9273+
9274+
9275 if test -n "$ac_tool_prefix"; then
9276- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
9277-set dummy ${ac_tool_prefix}ar; ac_word=$2
9278+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
9279+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9280+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9281+$as_echo_n "checking for $ac_word... " >&6; }
9282+if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
9283+ $as_echo_n "(cached) " >&6
9284+else
9285+ if test -n "$DLLTOOL"; then
9286+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9287+else
9288+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9289+for as_dir in $PATH
9290+do
9291+ IFS=$as_save_IFS
9292+ test -z "$as_dir" && as_dir=.
9293+ for ac_exec_ext in '' $ac_executable_extensions; do
9294+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9295+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
9296+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9297+ break 2
9298+ fi
9299+done
9300+ done
9301+IFS=$as_save_IFS
9302+
9303+fi
9304+fi
9305+DLLTOOL=$ac_cv_prog_DLLTOOL
9306+if test -n "$DLLTOOL"; then
9307+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
9308+$as_echo "$DLLTOOL" >&6; }
9309+else
9310+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9311+$as_echo "no" >&6; }
9312+fi
9313+
9314+
9315+fi
9316+if test -z "$ac_cv_prog_DLLTOOL"; then
9317+ ac_ct_DLLTOOL=$DLLTOOL
9318+ # Extract the first word of "dlltool", so it can be a program name with args.
9319+set dummy dlltool; ac_word=$2
9320+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9321+$as_echo_n "checking for $ac_word... " >&6; }
9322+if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
9323+ $as_echo_n "(cached) " >&6
9324+else
9325+ if test -n "$ac_ct_DLLTOOL"; then
9326+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
9327+else
9328+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9329+for as_dir in $PATH
9330+do
9331+ IFS=$as_save_IFS
9332+ test -z "$as_dir" && as_dir=.
9333+ for ac_exec_ext in '' $ac_executable_extensions; do
9334+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9335+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
9336+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9337+ break 2
9338+ fi
9339+done
9340+ done
9341+IFS=$as_save_IFS
9342+
9343+fi
9344+fi
9345+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
9346+if test -n "$ac_ct_DLLTOOL"; then
9347+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
9348+$as_echo "$ac_ct_DLLTOOL" >&6; }
9349+else
9350+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9351+$as_echo "no" >&6; }
9352+fi
9353+
9354+ if test "x$ac_ct_DLLTOOL" = x; then
9355+ DLLTOOL="false"
9356+ else
9357+ case $cross_compiling:$ac_tool_warned in
9358+yes:)
9359+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9360+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9361+ac_tool_warned=yes ;;
9362+esac
9363+ DLLTOOL=$ac_ct_DLLTOOL
9364+ fi
9365+else
9366+ DLLTOOL="$ac_cv_prog_DLLTOOL"
9367+fi
9368+
9369+test -z "$DLLTOOL" && DLLTOOL=dlltool
9370+
9371+
9372+
9373+
9374+
9375+
9376+
9377+
9378+
9379+
9380+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
9381+$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
9382+if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
9383+ $as_echo_n "(cached) " >&6
9384+else
9385+ lt_cv_sharedlib_from_linklib_cmd='unknown'
9386+
9387+case $host_os in
9388+cygwin* | mingw* | pw32* | cegcc*)
9389+ # two different shell functions defined in ltmain.sh
9390+ # decide which to use based on capabilities of $DLLTOOL
9391+ case `$DLLTOOL --help 2>&1` in
9392+ *--identify-strict*)
9393+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
9394+ ;;
9395+ *)
9396+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
9397+ ;;
9398+ esac
9399+ ;;
9400+*)
9401+ # fallback: assume linklib IS sharedlib
9402+ lt_cv_sharedlib_from_linklib_cmd="$ECHO"
9403+ ;;
9404+esac
9405+
9406+fi
9407+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
9408+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
9409+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
9410+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
9411+
9412+
9413+
9414+
9415+
9416+
9417+
9418+if test -n "$ac_tool_prefix"; then
9419+ for ac_prog in ar
9420+ do
9421+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9422+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9424 $as_echo_n "checking for $ac_word... " >&6; }
9425 if test "${ac_cv_prog_AR+set}" = set; then :
9426@@ -6260,7 +6514,7 @@
9427 test -z "$as_dir" && as_dir=.
9428 for ac_exec_ext in '' $ac_executable_extensions; do
9429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9430- ac_cv_prog_AR="${ac_tool_prefix}ar"
9431+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
9432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9433 break 2
9434 fi
9435@@ -6280,11 +6534,15 @@
9436 fi
9437
9438
9439+ test -n "$AR" && break
9440+ done
9441 fi
9442-if test -z "$ac_cv_prog_AR"; then
9443+if test -z "$AR"; then
9444 ac_ct_AR=$AR
9445- # Extract the first word of "ar", so it can be a program name with args.
9446-set dummy ar; ac_word=$2
9447+ for ac_prog in ar
9448+do
9449+ # Extract the first word of "$ac_prog", so it can be a program name with args.
9450+set dummy $ac_prog; ac_word=$2
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9452 $as_echo_n "checking for $ac_word... " >&6; }
9453 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
9454@@ -6300,7 +6558,7 @@
9455 test -z "$as_dir" && as_dir=.
9456 for ac_exec_ext in '' $ac_executable_extensions; do
9457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9458- ac_cv_prog_ac_ct_AR="ar"
9459+ ac_cv_prog_ac_ct_AR="$ac_prog"
9460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9461 break 2
9462 fi
9463@@ -6319,6 +6577,10 @@
9464 $as_echo "no" >&6; }
9465 fi
9466
9467+
9468+ test -n "$ac_ct_AR" && break
9469+done
9470+
9471 if test "x$ac_ct_AR" = x; then
9472 AR="false"
9473 else
9474@@ -6330,12 +6592,11 @@
9475 esac
9476 AR=$ac_ct_AR
9477 fi
9478-else
9479- AR="$ac_cv_prog_AR"
9480 fi
9481
9482-test -z "$AR" && AR=ar
9483-test -z "$AR_FLAGS" && AR_FLAGS=cru
9484+: ${AR=ar}
9485+: ${AR_FLAGS=cru}
9486+
9487
9488
9489
9490@@ -6346,6 +6607,63 @@
9491
9492
9493
9494+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
9495+$as_echo_n "checking for archiver @FILE support... " >&6; }
9496+if test "${lt_cv_ar_at_file+set}" = set; then :
9497+ $as_echo_n "(cached) " >&6
9498+else
9499+ lt_cv_ar_at_file=no
9500+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9501+/* end confdefs.h. */
9502+
9503+int
9504+main ()
9505+{
9506+
9507+ ;
9508+ return 0;
9509+}
9510+_ACEOF
9511+if ac_fn_c_try_compile "$LINENO"; then :
9512+ echo conftest.$ac_objext > conftest.lst
9513+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9514+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9515+ (eval $lt_ar_try) 2>&5
9516+ ac_status=$?
9517+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9518+ test $ac_status = 0; }
9519+ if test "$ac_status" -eq 0; then
9520+ # Ensure the archiver fails upon bogus file names.
9521+ rm -f conftest.$ac_objext libconftest.a
9522+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9523+ (eval $lt_ar_try) 2>&5
9524+ ac_status=$?
9525+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9526+ test $ac_status = 0; }
9527+ if test "$ac_status" -ne 0; then
9528+ lt_cv_ar_at_file=@
9529+ fi
9530+ fi
9531+ rm -f conftest.* libconftest.a
9532+
9533+fi
9534+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9535+
9536+fi
9537+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9538+$as_echo "$lt_cv_ar_at_file" >&6; }
9539+
9540+if test "x$lt_cv_ar_at_file" = xno; then
9541+ archiver_list_spec=
9542+else
9543+ archiver_list_spec=$lt_cv_ar_at_file
9544+fi
9545+
9546+
9547+
9548+
9549+
9550+
9551
9552 if test -n "$ac_tool_prefix"; then
9553 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9554@@ -6681,8 +6999,8 @@
9555 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9556
9557 # Transform an extracted symbol line into symbol name and symbol address
9558-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
9559-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
9560+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
9561+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
9562
9563 # Handle CRLF in mingw tool chain
9564 opt_cr=
9565@@ -6718,6 +7036,7 @@
9566 else
9567 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9568 fi
9569+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9570
9571 # Check to see that the pipe works correctly.
9572 pipe_works=no
9573@@ -6759,6 +7078,18 @@
9574 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9575 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9576 cat <<_LT_EOF > conftest.$ac_ext
9577+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9578+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
9579+/* DATA imports from DLLs on WIN32 con't be const, because runtime
9580+ relocations are performed -- see ld's documentation on pseudo-relocs. */
9581+# define LT_DLSYM_CONST
9582+#elif defined(__osf__)
9583+/* This system does not cope well with relocations in const data. */
9584+# define LT_DLSYM_CONST
9585+#else
9586+# define LT_DLSYM_CONST const
9587+#endif
9588+
9589 #ifdef __cplusplus
9590 extern "C" {
9591 #endif
9592@@ -6770,7 +7101,7 @@
9593 cat <<_LT_EOF >> conftest.$ac_ext
9594
9595 /* The mapping between symbol names and symbols. */
9596-const struct {
9597+LT_DLSYM_CONST struct {
9598 const char *name;
9599 void *address;
9600 }
9601@@ -6796,8 +7127,8 @@
9602 _LT_EOF
9603 # Now try linking the two files.
9604 mv conftest.$ac_objext conftstm.$ac_objext
9605- lt_save_LIBS="$LIBS"
9606- lt_save_CFLAGS="$CFLAGS"
9607+ lt_globsym_save_LIBS=$LIBS
9608+ lt_globsym_save_CFLAGS=$CFLAGS
9609 LIBS="conftstm.$ac_objext"
9610 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9611 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9612@@ -6807,8 +7138,8 @@
9613 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
9614 pipe_works=yes
9615 fi
9616- LIBS="$lt_save_LIBS"
9617- CFLAGS="$lt_save_CFLAGS"
9618+ LIBS=$lt_globsym_save_LIBS
9619+ CFLAGS=$lt_globsym_save_CFLAGS
9620 else
9621 echo "cannot find nm_test_func in $nlist" >&5
9622 fi
9623@@ -6845,6 +7176,14 @@
9624 $as_echo "ok" >&6; }
9625 fi
9626
9627+# Response file support.
9628+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9629+ nm_file_list_spec='@'
9630+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9631+ nm_file_list_spec='@'
9632+fi
9633+
9634+
9635
9636
9637
9638@@ -6866,6 +7205,47 @@
9639
9640
9641
9642+
9643+
9644+
9645+
9646+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9647+$as_echo_n "checking for sysroot... " >&6; }
9648+
9649+# Check whether --with-libtool-sysroot was given.
9650+if test "${with_libtool_sysroot+set}" = set; then :
9651+ withval=$with_libtool_sysroot;
9652+else
9653+ with_libtool_sysroot=no
9654+fi
9655+
9656+
9657+lt_sysroot=
9658+case ${with_libtool_sysroot} in #(
9659+ yes)
9660+ if test "$GCC" = yes; then
9661+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9662+ fi
9663+ ;; #(
9664+ /*)
9665+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
9666+ ;; #(
9667+ no|'')
9668+ ;; #(
9669+ *)
9670+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
9671+$as_echo "${with_libtool_sysroot}" >&6; }
9672+ as_fn_error "The sysroot must be an absolute path." "$LINENO" 5
9673+ ;;
9674+esac
9675+
9676+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9677+$as_echo "${lt_sysroot:-no}" >&6; }
9678+
9679+
9680+
9681+
9682+
9683 # Check whether --enable-libtool-lock was given.
9684 if test "${enable_libtool_lock+set}" = set; then :
9685 enableval=$enable_libtool_lock;
9686@@ -7059,6 +7439,123 @@
9687
9688 need_locks="$enable_libtool_lock"
9689
9690+if test -n "$ac_tool_prefix"; then
9691+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9692+set dummy ${ac_tool_prefix}mt; ac_word=$2
9693+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9694+$as_echo_n "checking for $ac_word... " >&6; }
9695+if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
9696+ $as_echo_n "(cached) " >&6
9697+else
9698+ if test -n "$MANIFEST_TOOL"; then
9699+ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9700+else
9701+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9702+for as_dir in $PATH
9703+do
9704+ IFS=$as_save_IFS
9705+ test -z "$as_dir" && as_dir=.
9706+ for ac_exec_ext in '' $ac_executable_extensions; do
9707+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9708+ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9709+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9710+ break 2
9711+ fi
9712+done
9713+ done
9714+IFS=$as_save_IFS
9715+
9716+fi
9717+fi
9718+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9719+if test -n "$MANIFEST_TOOL"; then
9720+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9721+$as_echo "$MANIFEST_TOOL" >&6; }
9722+else
9723+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9724+$as_echo "no" >&6; }
9725+fi
9726+
9727+
9728+fi
9729+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9730+ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9731+ # Extract the first word of "mt", so it can be a program name with args.
9732+set dummy mt; ac_word=$2
9733+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9734+$as_echo_n "checking for $ac_word... " >&6; }
9735+if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
9736+ $as_echo_n "(cached) " >&6
9737+else
9738+ if test -n "$ac_ct_MANIFEST_TOOL"; then
9739+ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9740+else
9741+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9742+for as_dir in $PATH
9743+do
9744+ IFS=$as_save_IFS
9745+ test -z "$as_dir" && as_dir=.
9746+ for ac_exec_ext in '' $ac_executable_extensions; do
9747+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9748+ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9749+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9750+ break 2
9751+ fi
9752+done
9753+ done
9754+IFS=$as_save_IFS
9755+
9756+fi
9757+fi
9758+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9759+if test -n "$ac_ct_MANIFEST_TOOL"; then
9760+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9761+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9762+else
9763+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9764+$as_echo "no" >&6; }
9765+fi
9766+
9767+ if test "x$ac_ct_MANIFEST_TOOL" = x; then
9768+ MANIFEST_TOOL=":"
9769+ else
9770+ case $cross_compiling:$ac_tool_warned in
9771+yes:)
9772+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9773+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9774+ac_tool_warned=yes ;;
9775+esac
9776+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9777+ fi
9778+else
9779+ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9780+fi
9781+
9782+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9783+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9784+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9785+if test "${lt_cv_path_mainfest_tool+set}" = set; then :
9786+ $as_echo_n "(cached) " >&6
9787+else
9788+ lt_cv_path_mainfest_tool=no
9789+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9790+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9791+ cat conftest.err >&5
9792+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9793+ lt_cv_path_mainfest_tool=yes
9794+ fi
9795+ rm -f conftest*
9796+fi
9797+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9798+$as_echo "$lt_cv_path_mainfest_tool" >&6; }
9799+if test "x$lt_cv_path_mainfest_tool" != xyes; then
9800+ MANIFEST_TOOL=:
9801+fi
9802+
9803+
9804+
9805+
9806+
9807
9808 case $host_os in
9809 rhapsody* | darwin*)
9810@@ -7622,6 +8119,8 @@
9811 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9812 echo "$AR cru libconftest.a conftest.o" >&5
9813 $AR cru libconftest.a conftest.o 2>&5
9814+ echo "$RANLIB libconftest.a" >&5
9815+ $RANLIB libconftest.a 2>&5
9816 cat > conftest.c << _LT_EOF
9817 int main() { return 0;}
9818 _LT_EOF
9819@@ -7787,7 +8286,8 @@
9820 LIBTOOL_DEPS="$ltmain"
9821
9822 # Always use our own libtool.
9823-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9824+LIBTOOL='$(SHELL) $(top_builddir)'
9825+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
9826
9827
9828
9829@@ -7876,7 +8376,7 @@
9830 esac
9831
9832 # Global variables:
9833-ofile=libtool
9834+ofile=${host_alias}-libtool
9835 can_build_shared=yes
9836
9837 # All known linkers require a `.a' archive for static linking (except MSVC,
9838@@ -8174,8 +8674,6 @@
9839 lt_prog_compiler_pic=
9840 lt_prog_compiler_static=
9841
9842-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9843-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9844
9845 if test "$GCC" = yes; then
9846 lt_prog_compiler_wl='-Wl,'
9847@@ -8340,6 +8838,12 @@
9848 lt_prog_compiler_pic='--shared'
9849 lt_prog_compiler_static='--static'
9850 ;;
9851+ nagfor*)
9852+ # NAG Fortran compiler
9853+ lt_prog_compiler_wl='-Wl,-Wl,,'
9854+ lt_prog_compiler_pic='-PIC'
9855+ lt_prog_compiler_static='-Bstatic'
9856+ ;;
9857 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9858 # Portland Group compilers (*not* the Pentium gcc compiler,
9859 # which looks to be a dead project)
9860@@ -8402,7 +8906,7 @@
9861 lt_prog_compiler_pic='-KPIC'
9862 lt_prog_compiler_static='-Bstatic'
9863 case $cc_basename in
9864- f77* | f90* | f95*)
9865+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9866 lt_prog_compiler_wl='-Qoption ld ';;
9867 *)
9868 lt_prog_compiler_wl='-Wl,';;
9869@@ -8459,13 +8963,17 @@
9870 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9871 ;;
9872 esac
9873-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9874-$as_echo "$lt_prog_compiler_pic" >&6; }
9875-
9876-
9877-
9878-
9879
9880+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9881+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9882+if test "${lt_cv_prog_compiler_pic+set}" = set; then :
9883+ $as_echo_n "(cached) " >&6
9884+else
9885+ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9886+fi
9887+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9888+$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9889+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9890
9891 #
9892 # Check to make sure the PIC flag actually works.
9893@@ -8526,6 +9034,11 @@
9894
9895
9896
9897+
9898+
9899+
9900+
9901+
9902 #
9903 # Check to make sure the static flag actually works.
9904 #
9905@@ -8876,7 +9389,8 @@
9906 allow_undefined_flag=unsupported
9907 always_export_symbols=no
9908 enable_shared_with_static_runtimes=yes
9909- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9910+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9911+ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9912
9913 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9914 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9915@@ -8924,7 +9438,7 @@
9916 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9917 && test "$tmp_diet" = no
9918 then
9919- tmp_addflag=
9920+ tmp_addflag=' $pic_flag'
9921 tmp_sharedflag='-shared'
9922 case $cc_basename,$host_cpu in
9923 pgcc*) # Portland Group C compiler
9924@@ -8975,12 +9489,12 @@
9925 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9926 hardcode_libdir_flag_spec=
9927 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9928- archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9929+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9930 if test "x$supports_anon_versioning" = xyes; then
9931 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9932 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9933 echo "local: *; };" >> $output_objdir/$libname.ver~
9934- $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9935+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9936 fi
9937 ;;
9938 esac
9939@@ -8994,8 +9508,8 @@
9940 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9941 wlarc=
9942 else
9943- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9944- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9945+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9946+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9947 fi
9948 ;;
9949
9950@@ -9013,8 +9527,8 @@
9951
9952 _LT_EOF
9953 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9954- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9955- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9956+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9957+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9958 else
9959 ld_shlibs=no
9960 fi
9961@@ -9060,8 +9574,8 @@
9962
9963 *)
9964 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9965- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9966- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9967+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9968+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9969 else
9970 ld_shlibs=no
9971 fi
9972@@ -9191,7 +9705,13 @@
9973 allow_undefined_flag='-berok'
9974 # Determine the default libpath from the value encoded in an
9975 # empty executable.
9976- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9977+ if test "${lt_cv_aix_libpath+set}" = set; then
9978+ aix_libpath=$lt_cv_aix_libpath
9979+else
9980+ if test "${lt_cv_aix_libpath_+set}" = set; then :
9981+ $as_echo_n "(cached) " >&6
9982+else
9983+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9984 /* end confdefs.h. */
9985
9986 int
9987@@ -9204,22 +9724,29 @@
9988 _ACEOF
9989 if ac_fn_c_try_link "$LINENO"; then :
9990
9991-lt_aix_libpath_sed='
9992- /Import File Strings/,/^$/ {
9993- /^0/ {
9994- s/^0 *\(.*\)$/\1/
9995- p
9996- }
9997- }'
9998-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9999-# Check for a 64-bit object if we didn't find anything.
10000-if test -z "$aix_libpath"; then
10001- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10002-fi
10003+ lt_aix_libpath_sed='
10004+ /Import File Strings/,/^$/ {
10005+ /^0/ {
10006+ s/^0 *\([^ ]*\) *$/\1/
10007+ p
10008+ }
10009+ }'
10010+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10011+ # Check for a 64-bit object if we didn't find anything.
10012+ if test -z "$lt_cv_aix_libpath_"; then
10013+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10014+ fi
10015 fi
10016 rm -f core conftest.err conftest.$ac_objext \
10017 conftest$ac_exeext conftest.$ac_ext
10018-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10019+ if test -z "$lt_cv_aix_libpath_"; then
10020+ lt_cv_aix_libpath_="/usr/lib:/lib"
10021+ fi
10022+
10023+fi
10024+
10025+ aix_libpath=$lt_cv_aix_libpath_
10026+fi
10027
10028 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10029 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10030@@ -9231,7 +9758,13 @@
10031 else
10032 # Determine the default libpath from the value encoded in an
10033 # empty executable.
10034- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10035+ if test "${lt_cv_aix_libpath+set}" = set; then
10036+ aix_libpath=$lt_cv_aix_libpath
10037+else
10038+ if test "${lt_cv_aix_libpath_+set}" = set; then :
10039+ $as_echo_n "(cached) " >&6
10040+else
10041+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10042 /* end confdefs.h. */
10043
10044 int
10045@@ -9244,22 +9777,29 @@
10046 _ACEOF
10047 if ac_fn_c_try_link "$LINENO"; then :
10048
10049-lt_aix_libpath_sed='
10050- /Import File Strings/,/^$/ {
10051- /^0/ {
10052- s/^0 *\(.*\)$/\1/
10053- p
10054- }
10055- }'
10056-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10057-# Check for a 64-bit object if we didn't find anything.
10058-if test -z "$aix_libpath"; then
10059- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10060-fi
10061+ lt_aix_libpath_sed='
10062+ /Import File Strings/,/^$/ {
10063+ /^0/ {
10064+ s/^0 *\([^ ]*\) *$/\1/
10065+ p
10066+ }
10067+ }'
10068+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10069+ # Check for a 64-bit object if we didn't find anything.
10070+ if test -z "$lt_cv_aix_libpath_"; then
10071+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10072+ fi
10073 fi
10074 rm -f core conftest.err conftest.$ac_objext \
10075 conftest$ac_exeext conftest.$ac_ext
10076-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10077+ if test -z "$lt_cv_aix_libpath_"; then
10078+ lt_cv_aix_libpath_="/usr/lib:/lib"
10079+ fi
10080+
10081+fi
10082+
10083+ aix_libpath=$lt_cv_aix_libpath_
10084+fi
10085
10086 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10087 # Warning - without using the other run time loading flags,
10088@@ -9304,20 +9844,63 @@
10089 # Microsoft Visual C++.
10090 # hardcode_libdir_flag_spec is actually meaningless, as there is
10091 # no search path for DLLs.
10092- hardcode_libdir_flag_spec=' '
10093- allow_undefined_flag=unsupported
10094- # Tell ltmain to make .lib files, not .a files.
10095- libext=lib
10096- # Tell ltmain to make .dll files, not .so files.
10097- shrext_cmds=".dll"
10098- # FIXME: Setting linknames here is a bad hack.
10099- archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10100- # The linker will automatically build a .lib file if we build a DLL.
10101- old_archive_from_new_cmds='true'
10102- # FIXME: Should let the user specify the lib program.
10103- old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10104- fix_srcfile_path='`cygpath -w "$srcfile"`'
10105- enable_shared_with_static_runtimes=yes
10106+ case $cc_basename in
10107+ cl*)
10108+ # Native MSVC
10109+ hardcode_libdir_flag_spec=' '
10110+ allow_undefined_flag=unsupported
10111+ always_export_symbols=yes
10112+ file_list_spec='@'
10113+ # Tell ltmain to make .lib files, not .a files.
10114+ libext=lib
10115+ # Tell ltmain to make .dll files, not .so files.
10116+ shrext_cmds=".dll"
10117+ # FIXME: Setting linknames here is a bad hack.
10118+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10119+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10120+ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10121+ else
10122+ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10123+ fi~
10124+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10125+ linknames='
10126+ # The linker will not automatically build a static lib if we build a DLL.
10127+ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10128+ enable_shared_with_static_runtimes=yes
10129+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10130+ # Don't use ranlib
10131+ old_postinstall_cmds='chmod 644 $oldlib'
10132+ postlink_cmds='lt_outputfile="@OUTPUT@"~
10133+ lt_tool_outputfile="@TOOL_OUTPUT@"~
10134+ case $lt_outputfile in
10135+ *.exe|*.EXE) ;;
10136+ *)
10137+ lt_outputfile="$lt_outputfile.exe"
10138+ lt_tool_outputfile="$lt_tool_outputfile.exe"
10139+ ;;
10140+ esac~
10141+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10142+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10143+ $RM "$lt_outputfile.manifest";
10144+ fi'
10145+ ;;
10146+ *)
10147+ # Assume MSVC wrapper
10148+ hardcode_libdir_flag_spec=' '
10149+ allow_undefined_flag=unsupported
10150+ # Tell ltmain to make .lib files, not .a files.
10151+ libext=lib
10152+ # Tell ltmain to make .dll files, not .so files.
10153+ shrext_cmds=".dll"
10154+ # FIXME: Setting linknames here is a bad hack.
10155+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10156+ # The linker will automatically build a .lib file if we build a DLL.
10157+ old_archive_from_new_cmds='true'
10158+ # FIXME: Should let the user specify the lib program.
10159+ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10160+ enable_shared_with_static_runtimes=yes
10161+ ;;
10162+ esac
10163 ;;
10164
10165 darwin* | rhapsody*)
10166@@ -9382,7 +9965,7 @@
10167
10168 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10169 freebsd* | dragonfly*)
10170- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10171+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10172 hardcode_libdir_flag_spec='-R$libdir'
10173 hardcode_direct=yes
10174 hardcode_shlibpath_var=no
10175@@ -9390,7 +9973,7 @@
10176
10177 hpux9*)
10178 if test "$GCC" = yes; then
10179- archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10180+ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10181 else
10182 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10183 fi
10184@@ -9406,7 +9989,7 @@
10185
10186 hpux10*)
10187 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10188- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10189+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10190 else
10191 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10192 fi
10193@@ -9430,10 +10013,10 @@
10194 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10195 ;;
10196 ia64*)
10197- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10198+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10199 ;;
10200 *)
10201- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10202+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10203 ;;
10204 esac
10205 else
10206@@ -9512,23 +10095,36 @@
10207
10208 irix5* | irix6* | nonstopux*)
10209 if test "$GCC" = yes; then
10210- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10211+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10212 # Try to use the -exported_symbol ld option, if it does not
10213 # work, assume that -exports_file does not work either and
10214 # implicitly export all symbols.
10215- save_LDFLAGS="$LDFLAGS"
10216- LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10217- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10218+ # This should be the same for all languages, so no per-tag cache variable.
10219+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10220+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10221+if test "${lt_cv_irix_exported_symbol+set}" = set; then :
10222+ $as_echo_n "(cached) " >&6
10223+else
10224+ save_LDFLAGS="$LDFLAGS"
10225+ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10226+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227 /* end confdefs.h. */
10228-int foo(void) {}
10229+int foo (void) { return 0; }
10230 _ACEOF
10231 if ac_fn_c_try_link "$LINENO"; then :
10232- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10233-
10234+ lt_cv_irix_exported_symbol=yes
10235+else
10236+ lt_cv_irix_exported_symbol=no
10237 fi
10238 rm -f core conftest.err conftest.$ac_objext \
10239 conftest$ac_exeext conftest.$ac_ext
10240- LDFLAGS="$save_LDFLAGS"
10241+ LDFLAGS="$save_LDFLAGS"
10242+fi
10243+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10244+$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10245+ if test "$lt_cv_irix_exported_symbol" = yes; then
10246+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10247+ fi
10248 else
10249 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10250 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10251@@ -9613,7 +10209,7 @@
10252 osf4* | osf5*) # as osf3* with the addition of -msym flag
10253 if test "$GCC" = yes; then
10254 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10255- archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10256+ archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10257 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10258 else
10259 allow_undefined_flag=' -expect_unresolved \*'
10260@@ -9632,9 +10228,9 @@
10261 no_undefined_flag=' -z defs'
10262 if test "$GCC" = yes; then
10263 wlarc='${wl}'
10264- archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10265+ archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10266 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10267- $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10268+ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10269 else
10270 case `$CC -V 2>&1` in
10271 *"Compilers 5.0"*)
10272@@ -10210,8 +10806,9 @@
10273 need_version=no
10274 need_lib_prefix=no
10275
10276- case $GCC,$host_os in
10277- yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10278+ case $GCC,$cc_basename in
10279+ yes,*)
10280+ # gcc
10281 library_names_spec='$libname.dll.a'
10282 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10283 postinstall_cmds='base_file=`basename \${file}`~
10284@@ -10244,13 +10841,71 @@
10285 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10286 ;;
10287 esac
10288+ dynamic_linker='Win32 ld.exe'
10289+ ;;
10290+
10291+ *,cl*)
10292+ # Native MSVC
10293+ libname_spec='$name'
10294+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10295+ library_names_spec='${libname}.dll.lib'
10296+
10297+ case $build_os in
10298+ mingw*)
10299+ sys_lib_search_path_spec=
10300+ lt_save_ifs=$IFS
10301+ IFS=';'
10302+ for lt_path in $LIB
10303+ do
10304+ IFS=$lt_save_ifs
10305+ # Let DOS variable expansion print the short 8.3 style file name.
10306+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10307+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10308+ done
10309+ IFS=$lt_save_ifs
10310+ # Convert to MSYS style.
10311+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10312+ ;;
10313+ cygwin*)
10314+ # Convert to unix form, then to dos form, then back to unix form
10315+ # but this time dos style (no spaces!) so that the unix form looks
10316+ # like /cygdrive/c/PROGRA~1:/cygdr...
10317+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10318+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10319+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10320+ ;;
10321+ *)
10322+ sys_lib_search_path_spec="$LIB"
10323+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10324+ # It is most probably a Windows format PATH.
10325+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10326+ else
10327+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10328+ fi
10329+ # FIXME: find the short name or the path components, as spaces are
10330+ # common. (e.g. "Program Files" -> "PROGRA~1")
10331+ ;;
10332+ esac
10333+
10334+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
10335+ postinstall_cmds='base_file=`basename \${file}`~
10336+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10337+ dldir=$destdir/`dirname \$dlpath`~
10338+ test -d \$dldir || mkdir -p \$dldir~
10339+ $install_prog $dir/$dlname \$dldir/$dlname'
10340+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10341+ dlpath=$dir/\$dldll~
10342+ $RM \$dlpath'
10343+ shlibpath_overrides_runpath=yes
10344+ dynamic_linker='Win32 link.exe'
10345 ;;
10346
10347 *)
10348+ # Assume MSVC wrapper
10349 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10350+ dynamic_linker='Win32 ld.exe'
10351 ;;
10352 esac
10353- dynamic_linker='Win32 ld.exe'
10354 # FIXME: first we should search . and the directory the executable is in
10355 shlibpath_var=PATH
10356 ;;
10357@@ -10346,7 +11001,7 @@
10358 soname_spec='${libname}${release}${shared_ext}$major'
10359 shlibpath_var=LIBRARY_PATH
10360 shlibpath_overrides_runpath=yes
10361- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10362+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10363 hardcode_into_libs=yes
10364 ;;
10365
10366@@ -11142,7 +11797,7 @@
10367 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10368 lt_status=$lt_dlunknown
10369 cat > conftest.$ac_ext <<_LT_EOF
10370-#line 11145 "configure"
10371+#line $LINENO "configure"
10372 #include "confdefs.h"
10373
10374 #if HAVE_DLFCN_H
10375@@ -11186,10 +11841,10 @@
10376 /* When -fvisbility=hidden is used, assume the code has been annotated
10377 correspondingly for the symbols needed. */
10378 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10379-void fnord () __attribute__((visibility("default")));
10380+int fnord () __attribute__((visibility("default")));
10381 #endif
10382
10383-void fnord () { int i=42; }
10384+int fnord () { return 42; }
10385 int main ()
10386 {
10387 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10388@@ -11248,7 +11903,7 @@
10389 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10390 lt_status=$lt_dlunknown
10391 cat > conftest.$ac_ext <<_LT_EOF
10392-#line 11251 "configure"
10393+#line $LINENO "configure"
10394 #include "confdefs.h"
10395
10396 #if HAVE_DLFCN_H
10397@@ -11292,10 +11947,10 @@
10398 /* When -fvisbility=hidden is used, assume the code has been annotated
10399 correspondingly for the symbols needed. */
10400 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10401-void fnord () __attribute__((visibility("default")));
10402+int fnord () __attribute__((visibility("default")));
10403 #endif
10404
10405-void fnord () { int i=42; }
10406+int fnord () { return 42; }
10407 int main ()
10408 {
10409 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10410@@ -12328,7 +12983,7 @@
10411 # since libbfd may not pull in the entirety of libiberty.
10412 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
10413 if test -n "$x"; then
10414- SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
10415+ SHARED_LIBADD="`pwd`/../libiberty/pic/libiberty.a"
10416 fi
10417
10418 case "${host}" in
10419@@ -13289,13 +13944,20 @@
10420 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
10421 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
10422 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
10423+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
10424+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
10425 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
10426 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
10427 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
10428 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
10429 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
10430+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
10431+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
10432+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
10433+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
10434 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
10435 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
10436+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
10437 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
10438 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
10439 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
10440@@ -13310,14 +13972,17 @@
10441 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
10442 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
10443 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
10444+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
10445+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
10446 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
10447 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
10448 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
10449-lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
10450 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
10451+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
10452 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
10453 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
10454 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
10455+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
10456 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
10457 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
10458 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
10459@@ -13350,12 +14015,12 @@
10460 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
10461 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
10462 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
10463-fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
10464 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
10465 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
10466 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
10467 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
10468 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
10469+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
10470 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
10471 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
10472 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
10473@@ -13410,8 +14075,13 @@
10474 OBJDUMP \
10475 deplibs_check_method \
10476 file_magic_cmd \
10477+file_magic_glob \
10478+want_nocaseglob \
10479+DLLTOOL \
10480+sharedlib_from_linklib_cmd \
10481 AR \
10482 AR_FLAGS \
10483+archiver_list_spec \
10484 STRIP \
10485 RANLIB \
10486 CC \
10487@@ -13421,12 +14091,14 @@
10488 lt_cv_sys_global_symbol_to_cdecl \
10489 lt_cv_sys_global_symbol_to_c_name_address \
10490 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
10491+nm_file_list_spec \
10492 lt_prog_compiler_no_builtin_flag \
10493-lt_prog_compiler_wl \
10494 lt_prog_compiler_pic \
10495+lt_prog_compiler_wl \
10496 lt_prog_compiler_static \
10497 lt_cv_prog_compiler_c_o \
10498 need_locks \
10499+MANIFEST_TOOL \
10500 DSYMUTIL \
10501 NMEDIT \
10502 LIPO \
10503@@ -13442,7 +14114,6 @@
10504 hardcode_libdir_flag_spec \
10505 hardcode_libdir_flag_spec_ld \
10506 hardcode_libdir_separator \
10507-fix_srcfile_path \
10508 exclude_expsyms \
10509 include_expsyms \
10510 file_list_spec \
10511@@ -13478,6 +14149,7 @@
10512 module_expsym_cmds \
10513 export_symbols_cmds \
10514 prelink_cmds \
10515+postlink_cmds \
10516 postinstall_cmds \
10517 postuninstall_cmds \
10518 finish_cmds \
10519@@ -14234,7 +14906,8 @@
10520 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10521 #
10522 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
10523-# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
10524+# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
10525+# Inc.
10526 # Written by Gordon Matzigkeit, 1996
10527 #
10528 # This file is part of GNU Libtool.
10529@@ -14337,19 +15010,42 @@
10530 # turn newlines into spaces.
10531 NL2SP=$lt_lt_NL2SP
10532
10533+# convert \$build file names to \$host format.
10534+to_host_file_cmd=$lt_cv_to_host_file_cmd
10535+
10536+# convert \$build files to toolchain format.
10537+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
10538+
10539 # An object symbol dumper.
10540 OBJDUMP=$lt_OBJDUMP
10541
10542 # Method to check whether dependent libraries are shared objects.
10543 deplibs_check_method=$lt_deplibs_check_method
10544
10545-# Command to use when deplibs_check_method == "file_magic".
10546+# Command to use when deplibs_check_method = "file_magic".
10547 file_magic_cmd=$lt_file_magic_cmd
10548
10549+# How to find potential files when deplibs_check_method = "file_magic".
10550+file_magic_glob=$lt_file_magic_glob
10551+
10552+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
10553+want_nocaseglob=$lt_want_nocaseglob
10554+
10555+# DLL creation program.
10556+DLLTOOL=$lt_DLLTOOL
10557+
10558+# Command to associate shared and link libraries.
10559+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
10560+
10561 # The archiver.
10562 AR=$lt_AR
10563+
10564+# Flags to create an archive.
10565 AR_FLAGS=$lt_AR_FLAGS
10566
10567+# How to feed a file listing to the archiver.
10568+archiver_list_spec=$lt_archiver_list_spec
10569+
10570 # A symbol stripping program.
10571 STRIP=$lt_STRIP
10572
10573@@ -14379,6 +15075,12 @@
10574 # Transform the output of nm in a C name address pair when lib prefix is needed.
10575 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
10576
10577+# Specify filename containing input files for \$NM.
10578+nm_file_list_spec=$lt_nm_file_list_spec
10579+
10580+# The root where to search for dependent libraries,and in which our libraries should be installed.
10581+lt_sysroot=$lt_sysroot
10582+
10583 # The name of the directory that contains temporary libtool files.
10584 objdir=$objdir
10585
10586@@ -14388,6 +15090,9 @@
10587 # Must we lock files when doing compilation?
10588 need_locks=$lt_need_locks
10589
10590+# Manifest tool.
10591+MANIFEST_TOOL=$lt_MANIFEST_TOOL
10592+
10593 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
10594 DSYMUTIL=$lt_DSYMUTIL
10595
10596@@ -14502,12 +15207,12 @@
10597 # Compiler flag to turn off builtin functions.
10598 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10599
10600-# How to pass a linker flag through the compiler.
10601-wl=$lt_lt_prog_compiler_wl
10602-
10603 # Additional compiler flags for building library objects.
10604 pic_flag=$lt_lt_prog_compiler_pic
10605
10606+# How to pass a linker flag through the compiler.
10607+wl=$lt_lt_prog_compiler_wl
10608+
10609 # Compiler flag to prevent dynamic linking.
10610 link_static_flag=$lt_lt_prog_compiler_static
10611
10612@@ -14594,9 +15299,6 @@
10613 # Whether libtool must link a program against all its dependency libraries.
10614 link_all_deplibs=$link_all_deplibs
10615
10616-# Fix the shell variable \$srcfile for the compiler.
10617-fix_srcfile_path=$lt_fix_srcfile_path
10618-
10619 # Set to "yes" if exported symbols are required.
10620 always_export_symbols=$always_export_symbols
10621
10622@@ -14612,6 +15314,9 @@
10623 # Commands necessary for linking programs (against libraries) with templates.
10624 prelink_cmds=$lt_prelink_cmds
10625
10626+# Commands necessary for finishing linking programs.
10627+postlink_cmds=$lt_postlink_cmds
10628+
10629 # Specify filename containing input files.
10630 file_list_spec=$lt_file_list_spec
10631
10632@@ -14644,210 +15349,169 @@
10633 # if finds mixed CR/LF and LF-only lines. Since sed operates in
10634 # text mode, it properly converts lines to CR/LF. This bash problem
10635 # is reportedly fixed, but why not run on old versions too?
10636- sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
10637- || (rm -f "$cfgfile"; exit 1)
10638-
10639- case $xsi_shell in
10640- yes)
10641- cat << \_LT_EOF >> "$cfgfile"
10642-
10643-# func_dirname file append nondir_replacement
10644-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
10645-# otherwise set result to NONDIR_REPLACEMENT.
10646-func_dirname ()
10647-{
10648- case ${1} in
10649- */*) func_dirname_result="${1%/*}${2}" ;;
10650- * ) func_dirname_result="${3}" ;;
10651- esac
10652-}
10653-
10654-# func_basename file
10655-func_basename ()
10656-{
10657- func_basename_result="${1##*/}"
10658-}
10659-
10660-# func_dirname_and_basename file append nondir_replacement
10661-# perform func_basename and func_dirname in a single function
10662-# call:
10663-# dirname: Compute the dirname of FILE. If nonempty,
10664-# add APPEND to the result, otherwise set result
10665-# to NONDIR_REPLACEMENT.
10666-# value returned in "$func_dirname_result"
10667-# basename: Compute filename of FILE.
10668-# value retuned in "$func_basename_result"
10669-# Implementation must be kept synchronized with func_dirname
10670-# and func_basename. For efficiency, we do not delegate to
10671-# those functions but instead duplicate the functionality here.
10672-func_dirname_and_basename ()
10673-{
10674- case ${1} in
10675- */*) func_dirname_result="${1%/*}${2}" ;;
10676- * ) func_dirname_result="${3}" ;;
10677- esac
10678- func_basename_result="${1##*/}"
10679-}
10680-
10681-# func_stripname prefix suffix name
10682-# strip PREFIX and SUFFIX off of NAME.
10683-# PREFIX and SUFFIX must not contain globbing or regex special
10684-# characters, hashes, percent signs, but SUFFIX may contain a leading
10685-# dot (in which case that matches only a dot).
10686-func_stripname ()
10687-{
10688- # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
10689- # positional parameters, so assign one to ordinary parameter first.
10690- func_stripname_result=${3}
10691- func_stripname_result=${func_stripname_result#"${1}"}
10692- func_stripname_result=${func_stripname_result%"${2}"}
10693-}
10694-
10695-# func_opt_split
10696-func_opt_split ()
10697-{
10698- func_opt_split_opt=${1%%=*}
10699- func_opt_split_arg=${1#*=}
10700-}
10701-
10702-# func_lo2o object
10703-func_lo2o ()
10704-{
10705- case ${1} in
10706- *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
10707- *) func_lo2o_result=${1} ;;
10708- esac
10709-}
10710-
10711-# func_xform libobj-or-source
10712-func_xform ()
10713-{
10714- func_xform_result=${1%.*}.lo
10715-}
10716-
10717-# func_arith arithmetic-term...
10718-func_arith ()
10719-{
10720- func_arith_result=$(( $* ))
10721-}
10722-
10723-# func_len string
10724-# STRING may not start with a hyphen.
10725-func_len ()
10726-{
10727- func_len_result=${#1}
10728-}
10729-
10730-_LT_EOF
10731- ;;
10732- *) # Bourne compatible functions.
10733- cat << \_LT_EOF >> "$cfgfile"
10734-
10735-# func_dirname file append nondir_replacement
10736-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
10737-# otherwise set result to NONDIR_REPLACEMENT.
10738-func_dirname ()
10739-{
10740- # Extract subdirectory from the argument.
10741- func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
10742- if test "X$func_dirname_result" = "X${1}"; then
10743- func_dirname_result="${3}"
10744- else
10745- func_dirname_result="$func_dirname_result${2}"
10746- fi
10747-}
10748-
10749-# func_basename file
10750-func_basename ()
10751-{
10752- func_basename_result=`$ECHO "${1}" | $SED "$basename"`
10753-}
10754-
10755-
10756-# func_stripname prefix suffix name
10757-# strip PREFIX and SUFFIX off of NAME.
10758-# PREFIX and SUFFIX must not contain globbing or regex special
10759-# characters, hashes, percent signs, but SUFFIX may contain a leading
10760-# dot (in which case that matches only a dot).
10761-# func_strip_suffix prefix name
10762-func_stripname ()
10763-{
10764- case ${2} in
10765- .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
10766- *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
10767- esac
10768-}
10769-
10770-# sed scripts:
10771-my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
10772-my_sed_long_arg='1s/^-[^=]*=//'
10773-
10774-# func_opt_split
10775-func_opt_split ()
10776-{
10777- func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
10778- func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
10779-}
10780-
10781-# func_lo2o object
10782-func_lo2o ()
10783-{
10784- func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
10785-}
10786-
10787-# func_xform libobj-or-source
10788-func_xform ()
10789-{
10790- func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
10791-}
10792-
10793-# func_arith arithmetic-term...
10794-func_arith ()
10795-{
10796- func_arith_result=`expr "$@"`
10797-}
10798-
10799-# func_len string
10800-# STRING may not start with a hyphen.
10801-func_len ()
10802-{
10803- func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
10804-}
10805-
10806-_LT_EOF
10807-esac
10808-
10809-case $lt_shell_append in
10810- yes)
10811- cat << \_LT_EOF >> "$cfgfile"
10812-
10813-# func_append var value
10814-# Append VALUE to the end of shell variable VAR.
10815-func_append ()
10816-{
10817- eval "$1+=\$2"
10818-}
10819-_LT_EOF
10820- ;;
10821- *)
10822- cat << \_LT_EOF >> "$cfgfile"
10823-
10824-# func_append var value
10825-# Append VALUE to the end of shell variable VAR.
10826-func_append ()
10827-{
10828- eval "$1=\$$1\$2"
10829-}
10830-
10831-_LT_EOF
10832- ;;
10833- esac
10834+ sed '$q' "$ltmain" >> "$cfgfile" \
10835+ || (rm -f "$cfgfile"; exit 1)
10836
10837+ if test x"$xsi_shell" = xyes; then
10838+ sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
10839+func_dirname ()\
10840+{\
10841+\ case ${1} in\
10842+\ */*) func_dirname_result="${1%/*}${2}" ;;\
10843+\ * ) func_dirname_result="${3}" ;;\
10844+\ esac\
10845+} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
10846+ && mv -f "$cfgfile.tmp" "$cfgfile" \
10847+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
10848+test 0 -eq $? || _lt_function_replace_fail=:
10849+
10850+
10851+ sed -e '/^func_basename ()$/,/^} # func_basename /c\
10852+func_basename ()\
10853+{\
10854+\ func_basename_result="${1##*/}"\
10855+} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
10856+ && mv -f "$cfgfile.tmp" "$cfgfile" \
10857+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
10858+test 0 -eq $? || _lt_function_replace_fail=:
10859+
10860+
10861+ sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
10862+func_dirname_and_basename ()\
10863+{\
10864+\ case ${1} in\
10865+\ */*) func_dirname_result="${1%/*}${2}" ;;\
10866+\ * ) func_dirname_result="${3}" ;;\
10867+\ esac\
10868+\ func_basename_result="${1##*/}"\
10869+} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
10870+ && mv -f "$cfgfile.tmp" "$cfgfile" \
10871+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
10872+test 0 -eq $? || _lt_function_replace_fail=:
10873+
10874+
10875+ sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
10876+func_stripname ()\
10877+{\
10878+\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
10879+\ # positional parameters, so assign one to ordinary parameter first.\
10880+\ func_stripname_result=${3}\
10881+\ func_stripname_result=${func_stripname_result#"${1}"}\
10882+\ func_stripname_result=${func_stripname_result%"${2}"}\
10883+} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
10884+ && mv -f "$cfgfile.tmp" "$cfgfile" \
10885+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
10886+test 0 -eq $? || _lt_function_replace_fail=:
10887+
10888+
10889+ sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
10890+func_split_long_opt ()\
10891+{\
10892+\ func_split_long_opt_name=${1%%=*}\
10893+\ func_split_long_opt_arg=${1#*=}\
10894+} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
10895+ && mv -f "$cfgfile.tmp" "$cfgfile" \
10896+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
10897+test 0 -eq $? || _lt_function_replace_fail=:
10898+
10899+
10900+ sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
10901+func_split_short_opt ()\
10902+{\
10903+\ func_split_short_opt_arg=${1#??}\
10904+\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
10905+} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
10906+ && mv -f "$cfgfile.tmp" "$cfgfile" \
10907+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
10908+test 0 -eq $? || _lt_function_replace_fail=:
10909+
10910+
10911+ sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
10912+func_lo2o ()\
10913+{\
10914+\ case ${1} in\
10915+\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
10916+\ *) func_lo2o_result=${1} ;;\
10917+\ esac\
10918+} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
10919+ && mv -f "$cfgfile.tmp" "$cfgfile" \
10920+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
10921+test 0 -eq $? || _lt_function_replace_fail=:
10922+
10923+
10924+ sed -e '/^func_xform ()$/,/^} # func_xform /c\
10925+func_xform ()\
10926+{\
10927+ func_xform_result=${1%.*}.lo\
10928+} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
10929+ && mv -f "$cfgfile.tmp" "$cfgfile" \
10930+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
10931+test 0 -eq $? || _lt_function_replace_fail=:
10932+
10933+
10934+ sed -e '/^func_arith ()$/,/^} # func_arith /c\
10935+func_arith ()\
10936+{\
10937+ func_arith_result=$(( $* ))\
10938+} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
10939+ && mv -f "$cfgfile.tmp" "$cfgfile" \
10940+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
10941+test 0 -eq $? || _lt_function_replace_fail=:
10942+
10943+
10944+ sed -e '/^func_len ()$/,/^} # func_len /c\
10945+func_len ()\
10946+{\
10947+ func_len_result=${#1}\
10948+} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
10949+ && mv -f "$cfgfile.tmp" "$cfgfile" \
10950+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
10951+test 0 -eq $? || _lt_function_replace_fail=:
10952+
10953+fi
10954+
10955+if test x"$lt_shell_append" = xyes; then
10956+ sed -e '/^func_append ()$/,/^} # func_append /c\
10957+func_append ()\
10958+{\
10959+ eval "${1}+=\\${2}"\
10960+} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
10961+ && mv -f "$cfgfile.tmp" "$cfgfile" \
10962+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
10963+test 0 -eq $? || _lt_function_replace_fail=:
10964+
10965+
10966+ sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
10967+func_append_quoted ()\
10968+{\
10969+\ func_quote_for_eval "${2}"\
10970+\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
10971+} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
10972+ && mv -f "$cfgfile.tmp" "$cfgfile" \
10973+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
10974+test 0 -eq $? || _lt_function_replace_fail=:
10975+
10976+
10977+ # Save a `func_append' function call where possible by direct use of '+='
10978+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
10979+ && mv -f "$cfgfile.tmp" "$cfgfile" \
10980+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
10981+ test 0 -eq $? || _lt_function_replace_fail=:
10982+else
10983+ # Save a `func_append' function call even when '+=' is not available
10984+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
10985+ && mv -f "$cfgfile.tmp" "$cfgfile" \
10986+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
10987+ test 0 -eq $? || _lt_function_replace_fail=:
10988+fi
10989+
10990+if test x"$_lt_function_replace_fail" = x":"; then
10991+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
10992+$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
10993+fi
10994
10995- sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
10996- || (rm -f "$cfgfile"; exit 1)
10997
10998- mv -f "$cfgfile" "$ofile" ||
10999+ mv -f "$cfgfile" "$ofile" ||
11000 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11001 chmod +x "$ofile"
11002
11003Index: binutils-2.21/binutils/configure
11004===================================================================
11005--- binutils-2.21.orig/binutils/configure 2010-11-05 03:32:55.000000000 -0700
11006+++ binutils-2.21/binutils/configure 2011-01-07 10:49:16.426101000 -0800
11007@@ -654,8 +654,11 @@
11008 LIPO
11009 NMEDIT
11010 DSYMUTIL
11011+MANIFEST_TOOL
11012 RANLIB
11013+ac_ct_AR
11014 AR
11015+DLLTOOL
11016 OBJDUMP
11017 LN_S
11018 NM
11019@@ -768,6 +771,7 @@
11020 with_pic
11021 enable_fast_install
11022 with_gnu_ld
11023+with_libtool_sysroot
11024 enable_libtool_lock
11025 enable_targets
11026 enable_werror
11027@@ -1429,6 +1433,8 @@
11028 --with-pic try to use only PIC/non-PIC objects [default=use
11029 both]
11030 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
11031+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
11032+ (or the compiler's sysroot if not specified).
11033 --with-gnu-ld assume the C compiler uses GNU ld default=no
11034 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
11035 --without-libiconv-prefix don't search for libiconv in includedir and libdir
11036@@ -5146,8 +5152,8 @@
11037
11038
11039
11040-macro_version='2.2.7a'
11041-macro_revision='1.3134'
11042+macro_version='2.4'
11043+macro_revision='1.3293'
11044
11045
11046
11047@@ -5187,7 +5193,7 @@
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
11049 $as_echo_n "checking how to print strings... " >&6; }
11050 # Test print first, because it will be a builtin if present.
11051-if test "X`print -r -- -n 2>/dev/null`" = X-n && \
11052+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
11053 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
11054 ECHO='print -r --'
11055 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
11056@@ -5873,8 +5879,8 @@
11057 # Try some XSI features
11058 xsi_shell=no
11059 ( _lt_dummy="a/b/c"
11060- test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
11061- = c,a/b,, \
11062+ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
11063+ = c,a/b,b/c, \
11064 && eval 'test $(( 1 + 1 )) -eq 2 \
11065 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
11066 && xsi_shell=yes
11067@@ -5923,6 +5929,80 @@
11068
11069
11070
11071+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
11072+$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
11073+if test "${lt_cv_to_host_file_cmd+set}" = set; then :
11074+ $as_echo_n "(cached) " >&6
11075+else
11076+ case $host in
11077+ *-*-mingw* )
11078+ case $build in
11079+ *-*-mingw* ) # actually msys
11080+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
11081+ ;;
11082+ *-*-cygwin* )
11083+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
11084+ ;;
11085+ * ) # otherwise, assume *nix
11086+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
11087+ ;;
11088+ esac
11089+ ;;
11090+ *-*-cygwin* )
11091+ case $build in
11092+ *-*-mingw* ) # actually msys
11093+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
11094+ ;;
11095+ *-*-cygwin* )
11096+ lt_cv_to_host_file_cmd=func_convert_file_noop
11097+ ;;
11098+ * ) # otherwise, assume *nix
11099+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
11100+ ;;
11101+ esac
11102+ ;;
11103+ * ) # unhandled hosts (and "normal" native builds)
11104+ lt_cv_to_host_file_cmd=func_convert_file_noop
11105+ ;;
11106+esac
11107+
11108+fi
11109+
11110+to_host_file_cmd=$lt_cv_to_host_file_cmd
11111+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
11112+$as_echo "$lt_cv_to_host_file_cmd" >&6; }
11113+
11114+
11115+
11116+
11117+
11118+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
11119+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
11120+if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
11121+ $as_echo_n "(cached) " >&6
11122+else
11123+ #assume ordinary cross tools, or native build.
11124+lt_cv_to_tool_file_cmd=func_convert_file_noop
11125+case $host in
11126+ *-*-mingw* )
11127+ case $build in
11128+ *-*-mingw* ) # actually msys
11129+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
11130+ ;;
11131+ esac
11132+ ;;
11133+esac
11134+
11135+fi
11136+
11137+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
11138+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
11139+$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
11140+
11141+
11142+
11143+
11144+
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
11146 $as_echo_n "checking for $LD option to reload object files... " >&6; }
11147 if test "${lt_cv_ld_reload_flag+set}" = set; then :
11148@@ -5939,6 +6019,11 @@
11149 esac
11150 reload_cmds='$LD$reload_flag -o $output$reload_objs'
11151 case $host_os in
11152+ cygwin* | mingw* | pw32* | cegcc*)
11153+ if test "$GCC" != yes; then
11154+ reload_cmds=false
11155+ fi
11156+ ;;
11157 darwin*)
11158 if test "$GCC" = yes; then
11159 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
11160@@ -6107,7 +6192,8 @@
11161 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
11162 lt_cv_file_magic_cmd='func_win32_libid'
11163 else
11164- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
11165+ # Keep this pattern in sync with the one in func_win32_libid.
11166+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
11167 lt_cv_file_magic_cmd='$OBJDUMP -f'
11168 fi
11169 ;;
11170@@ -6261,6 +6347,21 @@
11171 fi
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
11173 $as_echo "$lt_cv_deplibs_check_method" >&6; }
11174+
11175+file_magic_glob=
11176+want_nocaseglob=no
11177+if test "$build" = "$host"; then
11178+ case $host_os in
11179+ mingw* | pw32*)
11180+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
11181+ want_nocaseglob=yes
11182+ else
11183+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
11184+ fi
11185+ ;;
11186+ esac
11187+fi
11188+
11189 file_magic_cmd=$lt_cv_file_magic_cmd
11190 deplibs_check_method=$lt_cv_deplibs_check_method
11191 test -z "$deplibs_check_method" && deplibs_check_method=unknown
11192@@ -6276,9 +6377,162 @@
11193
11194
11195
11196+
11197+
11198+
11199+
11200+
11201+
11202+
11203+
11204+
11205+
11206 if test -n "$ac_tool_prefix"; then
11207- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
11208-set dummy ${ac_tool_prefix}ar; ac_word=$2
11209+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11210+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
11211+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11212+$as_echo_n "checking for $ac_word... " >&6; }
11213+if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
11214+ $as_echo_n "(cached) " >&6
11215+else
11216+ if test -n "$DLLTOOL"; then
11217+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11218+else
11219+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11220+for as_dir in $PATH
11221+do
11222+ IFS=$as_save_IFS
11223+ test -z "$as_dir" && as_dir=.
11224+ for ac_exec_ext in '' $ac_executable_extensions; do
11225+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11226+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
11227+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11228+ break 2
11229+ fi
11230+done
11231+ done
11232+IFS=$as_save_IFS
11233+
11234+fi
11235+fi
11236+DLLTOOL=$ac_cv_prog_DLLTOOL
11237+if test -n "$DLLTOOL"; then
11238+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
11239+$as_echo "$DLLTOOL" >&6; }
11240+else
11241+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11242+$as_echo "no" >&6; }
11243+fi
11244+
11245+
11246+fi
11247+if test -z "$ac_cv_prog_DLLTOOL"; then
11248+ ac_ct_DLLTOOL=$DLLTOOL
11249+ # Extract the first word of "dlltool", so it can be a program name with args.
11250+set dummy dlltool; ac_word=$2
11251+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11252+$as_echo_n "checking for $ac_word... " >&6; }
11253+if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
11254+ $as_echo_n "(cached) " >&6
11255+else
11256+ if test -n "$ac_ct_DLLTOOL"; then
11257+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
11258+else
11259+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11260+for as_dir in $PATH
11261+do
11262+ IFS=$as_save_IFS
11263+ test -z "$as_dir" && as_dir=.
11264+ for ac_exec_ext in '' $ac_executable_extensions; do
11265+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11266+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
11267+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11268+ break 2
11269+ fi
11270+done
11271+ done
11272+IFS=$as_save_IFS
11273+
11274+fi
11275+fi
11276+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
11277+if test -n "$ac_ct_DLLTOOL"; then
11278+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
11279+$as_echo "$ac_ct_DLLTOOL" >&6; }
11280+else
11281+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11282+$as_echo "no" >&6; }
11283+fi
11284+
11285+ if test "x$ac_ct_DLLTOOL" = x; then
11286+ DLLTOOL="false"
11287+ else
11288+ case $cross_compiling:$ac_tool_warned in
11289+yes:)
11290+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11291+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11292+ac_tool_warned=yes ;;
11293+esac
11294+ DLLTOOL=$ac_ct_DLLTOOL
11295+ fi
11296+else
11297+ DLLTOOL="$ac_cv_prog_DLLTOOL"
11298+fi
11299+
11300+test -z "$DLLTOOL" && DLLTOOL=dlltool
11301+
11302+
11303+
11304+
11305+
11306+
11307+
11308+
11309+
11310+
11311+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
11312+$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
11313+if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
11314+ $as_echo_n "(cached) " >&6
11315+else
11316+ lt_cv_sharedlib_from_linklib_cmd='unknown'
11317+
11318+case $host_os in
11319+cygwin* | mingw* | pw32* | cegcc*)
11320+ # two different shell functions defined in ltmain.sh
11321+ # decide which to use based on capabilities of $DLLTOOL
11322+ case `$DLLTOOL --help 2>&1` in
11323+ *--identify-strict*)
11324+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
11325+ ;;
11326+ *)
11327+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
11328+ ;;
11329+ esac
11330+ ;;
11331+*)
11332+ # fallback: assume linklib IS sharedlib
11333+ lt_cv_sharedlib_from_linklib_cmd="$ECHO"
11334+ ;;
11335+esac
11336+
11337+fi
11338+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
11339+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
11340+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
11341+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
11342+
11343+
11344+
11345+
11346+
11347+
11348+
11349+if test -n "$ac_tool_prefix"; then
11350+ for ac_prog in ar
11351+ do
11352+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11353+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11355 $as_echo_n "checking for $ac_word... " >&6; }
11356 if test "${ac_cv_prog_AR+set}" = set; then :
11357@@ -6294,7 +6548,7 @@
11358 test -z "$as_dir" && as_dir=.
11359 for ac_exec_ext in '' $ac_executable_extensions; do
11360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11361- ac_cv_prog_AR="${ac_tool_prefix}ar"
11362+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
11363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11364 break 2
11365 fi
11366@@ -6314,11 +6568,15 @@
11367 fi
11368
11369
11370+ test -n "$AR" && break
11371+ done
11372 fi
11373-if test -z "$ac_cv_prog_AR"; then
11374+if test -z "$AR"; then
11375 ac_ct_AR=$AR
11376- # Extract the first word of "ar", so it can be a program name with args.
11377-set dummy ar; ac_word=$2
11378+ for ac_prog in ar
11379+do
11380+ # Extract the first word of "$ac_prog", so it can be a program name with args.
11381+set dummy $ac_prog; ac_word=$2
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11383 $as_echo_n "checking for $ac_word... " >&6; }
11384 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
11385@@ -6334,7 +6592,7 @@
11386 test -z "$as_dir" && as_dir=.
11387 for ac_exec_ext in '' $ac_executable_extensions; do
11388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11389- ac_cv_prog_ac_ct_AR="ar"
11390+ ac_cv_prog_ac_ct_AR="$ac_prog"
11391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11392 break 2
11393 fi
11394@@ -6353,6 +6611,10 @@
11395 $as_echo "no" >&6; }
11396 fi
11397
11398+
11399+ test -n "$ac_ct_AR" && break
11400+done
11401+
11402 if test "x$ac_ct_AR" = x; then
11403 AR="false"
11404 else
11405@@ -6364,12 +6626,10 @@
11406 esac
11407 AR=$ac_ct_AR
11408 fi
11409-else
11410- AR="$ac_cv_prog_AR"
11411 fi
11412
11413-test -z "$AR" && AR=ar
11414-test -z "$AR_FLAGS" && AR_FLAGS=cru
11415+: ${AR=ar}
11416+: ${AR_FLAGS=cru}
11417
11418
11419
11420@@ -6381,6 +6641,64 @@
11421
11422
11423
11424+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
11425+$as_echo_n "checking for archiver @FILE support... " >&6; }
11426+if test "${lt_cv_ar_at_file+set}" = set; then :
11427+ $as_echo_n "(cached) " >&6
11428+else
11429+ lt_cv_ar_at_file=no
11430+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431+/* end confdefs.h. */
11432+
11433+int
11434+main ()
11435+{
11436+
11437+ ;
11438+ return 0;
11439+}
11440+_ACEOF
11441+if ac_fn_c_try_compile "$LINENO"; then :
11442+ echo conftest.$ac_objext > conftest.lst
11443+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
11444+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
11445+ (eval $lt_ar_try) 2>&5
11446+ ac_status=$?
11447+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11448+ test $ac_status = 0; }
11449+ if test "$ac_status" -eq 0; then
11450+ # Ensure the archiver fails upon bogus file names.
11451+ rm -f conftest.$ac_objext libconftest.a
11452+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
11453+ (eval $lt_ar_try) 2>&5
11454+ ac_status=$?
11455+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11456+ test $ac_status = 0; }
11457+ if test "$ac_status" -ne 0; then
11458+ lt_cv_ar_at_file=@
11459+ fi
11460+ fi
11461+ rm -f conftest.* libconftest.a
11462+
11463+fi
11464+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11465+
11466+fi
11467+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
11468+$as_echo "$lt_cv_ar_at_file" >&6; }
11469+
11470+if test "x$lt_cv_ar_at_file" = xno; then
11471+ archiver_list_spec=
11472+else
11473+ archiver_list_spec=$lt_cv_ar_at_file
11474+fi
11475+
11476+
11477+
11478+
11479+
11480+
11481+
11482 if test -n "$ac_tool_prefix"; then
11483 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11484 set dummy ${ac_tool_prefix}strip; ac_word=$2
11485@@ -6715,8 +7033,8 @@
11486 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11487
11488 # Transform an extracted symbol line into symbol name and symbol address
11489-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
11490-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
11491+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
11492+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
11493
11494 # Handle CRLF in mingw tool chain
11495 opt_cr=
11496@@ -6752,6 +7070,7 @@
11497 else
11498 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
11499 fi
11500+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
11501
11502 # Check to see that the pipe works correctly.
11503 pipe_works=no
11504@@ -6793,6 +7112,18 @@
11505 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
11506 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
11507 cat <<_LT_EOF > conftest.$ac_ext
11508+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
11509+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
11510+/* DATA imports from DLLs on WIN32 con't be const, because runtime
11511+ relocations are performed -- see ld's documentation on pseudo-relocs. */
11512+# define LT_DLSYM_CONST
11513+#elif defined(__osf__)
11514+/* This system does not cope well with relocations in const data. */
11515+# define LT_DLSYM_CONST
11516+#else
11517+# define LT_DLSYM_CONST const
11518+#endif
11519+
11520 #ifdef __cplusplus
11521 extern "C" {
11522 #endif
11523@@ -6804,7 +7135,7 @@
11524 cat <<_LT_EOF >> conftest.$ac_ext
11525
11526 /* The mapping between symbol names and symbols. */
11527-const struct {
11528+LT_DLSYM_CONST struct {
11529 const char *name;
11530 void *address;
11531 }
11532@@ -6830,8 +7161,8 @@
11533 _LT_EOF
11534 # Now try linking the two files.
11535 mv conftest.$ac_objext conftstm.$ac_objext
11536- lt_save_LIBS="$LIBS"
11537- lt_save_CFLAGS="$CFLAGS"
11538+ lt_globsym_save_LIBS=$LIBS
11539+ lt_globsym_save_CFLAGS=$CFLAGS
11540 LIBS="conftstm.$ac_objext"
11541 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
11542 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11543@@ -6841,8 +7172,8 @@
11544 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
11545 pipe_works=yes
11546 fi
11547- LIBS="$lt_save_LIBS"
11548- CFLAGS="$lt_save_CFLAGS"
11549+ LIBS=$lt_globsym_save_LIBS
11550+ CFLAGS=$lt_globsym_save_CFLAGS
11551 else
11552 echo "cannot find nm_test_func in $nlist" >&5
11553 fi
11554@@ -6879,6 +7210,19 @@
11555 $as_echo "ok" >&6; }
11556 fi
11557
11558+# Response file support.
11559+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
11560+ nm_file_list_spec='@'
11561+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
11562+ nm_file_list_spec='@'
11563+fi
11564+
11565+
11566+
11567+
11568+
11569+
11570+
11571
11572
11573
11574@@ -6899,6 +7243,42 @@
11575
11576
11577
11578+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
11579+$as_echo_n "checking for sysroot... " >&6; }
11580+
11581+# Check whether --with-libtool-sysroot was given.
11582+if test "${with_libtool_sysroot+set}" = set; then :
11583+ withval=$with_libtool_sysroot;
11584+else
11585+ with_libtool_sysroot=no
11586+fi
11587+
11588+
11589+lt_sysroot=
11590+case ${with_libtool_sysroot} in #(
11591+ yes)
11592+ if test "$GCC" = yes; then
11593+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
11594+ fi
11595+ ;; #(
11596+ /*)
11597+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
11598+ ;; #(
11599+ no|'')
11600+ ;; #(
11601+ *)
11602+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
11603+$as_echo "${with_libtool_sysroot}" >&6; }
11604+ as_fn_error "The sysroot must be an absolute path." "$LINENO" 5
11605+ ;;
11606+esac
11607+
11608+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
11609+$as_echo "${lt_sysroot:-no}" >&6; }
11610+
11611+
11612+
11613+
11614
11615 # Check whether --enable-libtool-lock was given.
11616 if test "${enable_libtool_lock+set}" = set; then :
11617@@ -7093,6 +7473,123 @@
11618
11619 need_locks="$enable_libtool_lock"
11620
11621+if test -n "$ac_tool_prefix"; then
11622+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
11623+set dummy ${ac_tool_prefix}mt; ac_word=$2
11624+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11625+$as_echo_n "checking for $ac_word... " >&6; }
11626+if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
11627+ $as_echo_n "(cached) " >&6
11628+else
11629+ if test -n "$MANIFEST_TOOL"; then
11630+ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
11631+else
11632+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11633+for as_dir in $PATH
11634+do
11635+ IFS=$as_save_IFS
11636+ test -z "$as_dir" && as_dir=.
11637+ for ac_exec_ext in '' $ac_executable_extensions; do
11638+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11639+ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
11640+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11641+ break 2
11642+ fi
11643+done
11644+ done
11645+IFS=$as_save_IFS
11646+
11647+fi
11648+fi
11649+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
11650+if test -n "$MANIFEST_TOOL"; then
11651+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
11652+$as_echo "$MANIFEST_TOOL" >&6; }
11653+else
11654+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11655+$as_echo "no" >&6; }
11656+fi
11657+
11658+
11659+fi
11660+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
11661+ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
11662+ # Extract the first word of "mt", so it can be a program name with args.
11663+set dummy mt; ac_word=$2
11664+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11665+$as_echo_n "checking for $ac_word... " >&6; }
11666+if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
11667+ $as_echo_n "(cached) " >&6
11668+else
11669+ if test -n "$ac_ct_MANIFEST_TOOL"; then
11670+ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
11671+else
11672+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11673+for as_dir in $PATH
11674+do
11675+ IFS=$as_save_IFS
11676+ test -z "$as_dir" && as_dir=.
11677+ for ac_exec_ext in '' $ac_executable_extensions; do
11678+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11679+ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
11680+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11681+ break 2
11682+ fi
11683+done
11684+ done
11685+IFS=$as_save_IFS
11686+
11687+fi
11688+fi
11689+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
11690+if test -n "$ac_ct_MANIFEST_TOOL"; then
11691+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
11692+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
11693+else
11694+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11695+$as_echo "no" >&6; }
11696+fi
11697+
11698+ if test "x$ac_ct_MANIFEST_TOOL" = x; then
11699+ MANIFEST_TOOL=":"
11700+ else
11701+ case $cross_compiling:$ac_tool_warned in
11702+yes:)
11703+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11704+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11705+ac_tool_warned=yes ;;
11706+esac
11707+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
11708+ fi
11709+else
11710+ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
11711+fi
11712+
11713+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
11714+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
11715+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
11716+if test "${lt_cv_path_mainfest_tool+set}" = set; then :
11717+ $as_echo_n "(cached) " >&6
11718+else
11719+ lt_cv_path_mainfest_tool=no
11720+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
11721+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
11722+ cat conftest.err >&5
11723+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
11724+ lt_cv_path_mainfest_tool=yes
11725+ fi
11726+ rm -f conftest*
11727+fi
11728+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
11729+$as_echo "$lt_cv_path_mainfest_tool" >&6; }
11730+if test "x$lt_cv_path_mainfest_tool" != xyes; then
11731+ MANIFEST_TOOL=:
11732+fi
11733+
11734+
11735+
11736+
11737+
11738
11739 case $host_os in
11740 rhapsody* | darwin*)
11741@@ -7656,6 +8153,8 @@
11742 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
11743 echo "$AR cru libconftest.a conftest.o" >&5
11744 $AR cru libconftest.a conftest.o 2>&5
11745+ echo "$RANLIB libconftest.a" >&5
11746+ $RANLIB libconftest.a 2>&5
11747 cat > conftest.c << _LT_EOF
11748 int main() { return 0;}
11749 _LT_EOF
11750@@ -7851,7 +8350,8 @@
11751 LIBTOOL_DEPS="$ltmain"
11752
11753 # Always use our own libtool.
11754-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11755+LIBTOOL='$(SHELL) $(top_builddir)'
11756+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
11757
11758
11759
11760@@ -7940,7 +8440,7 @@
11761 esac
11762
11763 # Global variables:
11764-ofile=libtool
11765+ofile=${host_alias}-libtool
11766 can_build_shared=yes
11767
11768 # All known linkers require a `.a' archive for static linking (except MSVC,
11769@@ -8238,8 +8738,6 @@
11770 lt_prog_compiler_pic=
11771 lt_prog_compiler_static=
11772
11773-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11774-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11775
11776 if test "$GCC" = yes; then
11777 lt_prog_compiler_wl='-Wl,'
11778@@ -8404,6 +8902,12 @@
11779 lt_prog_compiler_pic='--shared'
11780 lt_prog_compiler_static='--static'
11781 ;;
11782+ nagfor*)
11783+ # NAG Fortran compiler
11784+ lt_prog_compiler_wl='-Wl,-Wl,,'
11785+ lt_prog_compiler_pic='-PIC'
11786+ lt_prog_compiler_static='-Bstatic'
11787+ ;;
11788 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11789 # Portland Group compilers (*not* the Pentium gcc compiler,
11790 # which looks to be a dead project)
11791@@ -8466,7 +8970,7 @@
11792 lt_prog_compiler_pic='-KPIC'
11793 lt_prog_compiler_static='-Bstatic'
11794 case $cc_basename in
11795- f77* | f90* | f95*)
11796+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11797 lt_prog_compiler_wl='-Qoption ld ';;
11798 *)
11799 lt_prog_compiler_wl='-Wl,';;
11800@@ -8523,13 +9027,17 @@
11801 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11802 ;;
11803 esac
11804-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
11805-$as_echo "$lt_prog_compiler_pic" >&6; }
11806-
11807-
11808-
11809-
11810
11811+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11812+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11813+if test "${lt_cv_prog_compiler_pic+set}" = set; then :
11814+ $as_echo_n "(cached) " >&6
11815+else
11816+ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11817+fi
11818+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11819+$as_echo "$lt_cv_prog_compiler_pic" >&6; }
11820+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11821
11822 #
11823 # Check to make sure the PIC flag actually works.
11824@@ -8590,6 +9098,11 @@
11825
11826
11827
11828+
11829+
11830+
11831+
11832+
11833 #
11834 # Check to make sure the static flag actually works.
11835 #
11836@@ -8940,7 +9453,8 @@
11837 allow_undefined_flag=unsupported
11838 always_export_symbols=no
11839 enable_shared_with_static_runtimes=yes
11840- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11841+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
11842+ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11843
11844 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11845 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11846@@ -8988,7 +9502,7 @@
11847 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11848 && test "$tmp_diet" = no
11849 then
11850- tmp_addflag=
11851+ tmp_addflag=' $pic_flag'
11852 tmp_sharedflag='-shared'
11853 case $cc_basename,$host_cpu in
11854 pgcc*) # Portland Group C compiler
11855@@ -9039,12 +9553,12 @@
11856 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11857 hardcode_libdir_flag_spec=
11858 hardcode_libdir_flag_spec_ld='-rpath $libdir'
11859- archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11860+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11861 if test "x$supports_anon_versioning" = xyes; then
11862 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11863 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11864 echo "local: *; };" >> $output_objdir/$libname.ver~
11865- $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11866+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11867 fi
11868 ;;
11869 esac
11870@@ -9058,8 +9572,8 @@
11871 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11872 wlarc=
11873 else
11874- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11875- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11876+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11877+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11878 fi
11879 ;;
11880
11881@@ -9077,8 +9591,8 @@
11882
11883 _LT_EOF
11884 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11885- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11886- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11887+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11888+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11889 else
11890 ld_shlibs=no
11891 fi
11892@@ -9124,8 +9638,8 @@
11893
11894 *)
11895 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11896- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11897- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11898+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11899+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11900 else
11901 ld_shlibs=no
11902 fi
11903@@ -9255,7 +9769,13 @@
11904 allow_undefined_flag='-berok'
11905 # Determine the default libpath from the value encoded in an
11906 # empty executable.
11907- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11908+ if test "${lt_cv_aix_libpath+set}" = set; then
11909+ aix_libpath=$lt_cv_aix_libpath
11910+else
11911+ if test "${lt_cv_aix_libpath_+set}" = set; then :
11912+ $as_echo_n "(cached) " >&6
11913+else
11914+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11916
11917 int
11918@@ -9268,22 +9788,29 @@
11919 _ACEOF
11920 if ac_fn_c_try_link "$LINENO"; then :
11921
11922-lt_aix_libpath_sed='
11923- /Import File Strings/,/^$/ {
11924- /^0/ {
11925- s/^0 *\(.*\)$/\1/
11926- p
11927- }
11928- }'
11929-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11930-# Check for a 64-bit object if we didn't find anything.
11931-if test -z "$aix_libpath"; then
11932- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11933-fi
11934+ lt_aix_libpath_sed='
11935+ /Import File Strings/,/^$/ {
11936+ /^0/ {
11937+ s/^0 *\([^ ]*\) *$/\1/
11938+ p
11939+ }
11940+ }'
11941+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11942+ # Check for a 64-bit object if we didn't find anything.
11943+ if test -z "$lt_cv_aix_libpath_"; then
11944+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11945+ fi
11946 fi
11947 rm -f core conftest.err conftest.$ac_objext \
11948 conftest$ac_exeext conftest.$ac_ext
11949-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11950+ if test -z "$lt_cv_aix_libpath_"; then
11951+ lt_cv_aix_libpath_="/usr/lib:/lib"
11952+ fi
11953+
11954+fi
11955+
11956+ aix_libpath=$lt_cv_aix_libpath_
11957+fi
11958
11959 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11960 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11961@@ -9295,7 +9822,13 @@
11962 else
11963 # Determine the default libpath from the value encoded in an
11964 # empty executable.
11965- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966+ if test "${lt_cv_aix_libpath+set}" = set; then
11967+ aix_libpath=$lt_cv_aix_libpath
11968+else
11969+ if test "${lt_cv_aix_libpath_+set}" = set; then :
11970+ $as_echo_n "(cached) " >&6
11971+else
11972+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11974
11975 int
11976@@ -9308,22 +9841,29 @@
11977 _ACEOF
11978 if ac_fn_c_try_link "$LINENO"; then :
11979
11980-lt_aix_libpath_sed='
11981- /Import File Strings/,/^$/ {
11982- /^0/ {
11983- s/^0 *\(.*\)$/\1/
11984- p
11985- }
11986- }'
11987-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11988-# Check for a 64-bit object if we didn't find anything.
11989-if test -z "$aix_libpath"; then
11990- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11991-fi
11992+ lt_aix_libpath_sed='
11993+ /Import File Strings/,/^$/ {
11994+ /^0/ {
11995+ s/^0 *\([^ ]*\) *$/\1/
11996+ p
11997+ }
11998+ }'
11999+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12000+ # Check for a 64-bit object if we didn't find anything.
12001+ if test -z "$lt_cv_aix_libpath_"; then
12002+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12003+ fi
12004 fi
12005 rm -f core conftest.err conftest.$ac_objext \
12006 conftest$ac_exeext conftest.$ac_ext
12007-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12008+ if test -z "$lt_cv_aix_libpath_"; then
12009+ lt_cv_aix_libpath_="/usr/lib:/lib"
12010+ fi
12011+
12012+fi
12013+
12014+ aix_libpath=$lt_cv_aix_libpath_
12015+fi
12016
12017 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12018 # Warning - without using the other run time loading flags,
12019@@ -9368,20 +9908,63 @@
12020 # Microsoft Visual C++.
12021 # hardcode_libdir_flag_spec is actually meaningless, as there is
12022 # no search path for DLLs.
12023- hardcode_libdir_flag_spec=' '
12024- allow_undefined_flag=unsupported
12025- # Tell ltmain to make .lib files, not .a files.
12026- libext=lib
12027- # Tell ltmain to make .dll files, not .so files.
12028- shrext_cmds=".dll"
12029- # FIXME: Setting linknames here is a bad hack.
12030- archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12031- # The linker will automatically build a .lib file if we build a DLL.
12032- old_archive_from_new_cmds='true'
12033- # FIXME: Should let the user specify the lib program.
12034- old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12035- fix_srcfile_path='`cygpath -w "$srcfile"`'
12036- enable_shared_with_static_runtimes=yes
12037+ case $cc_basename in
12038+ cl*)
12039+ # Native MSVC
12040+ hardcode_libdir_flag_spec=' '
12041+ allow_undefined_flag=unsupported
12042+ always_export_symbols=yes
12043+ file_list_spec='@'
12044+ # Tell ltmain to make .lib files, not .a files.
12045+ libext=lib
12046+ # Tell ltmain to make .dll files, not .so files.
12047+ shrext_cmds=".dll"
12048+ # FIXME: Setting linknames here is a bad hack.
12049+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12050+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12051+ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12052+ else
12053+ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12054+ fi~
12055+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12056+ linknames='
12057+ # The linker will not automatically build a static lib if we build a DLL.
12058+ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12059+ enable_shared_with_static_runtimes=yes
12060+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12061+ # Don't use ranlib
12062+ old_postinstall_cmds='chmod 644 $oldlib'
12063+ postlink_cmds='lt_outputfile="@OUTPUT@"~
12064+ lt_tool_outputfile="@TOOL_OUTPUT@"~
12065+ case $lt_outputfile in
12066+ *.exe|*.EXE) ;;
12067+ *)
12068+ lt_outputfile="$lt_outputfile.exe"
12069+ lt_tool_outputfile="$lt_tool_outputfile.exe"
12070+ ;;
12071+ esac~
12072+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12073+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12074+ $RM "$lt_outputfile.manifest";
12075+ fi'
12076+ ;;
12077+ *)
12078+ # Assume MSVC wrapper
12079+ hardcode_libdir_flag_spec=' '
12080+ allow_undefined_flag=unsupported
12081+ # Tell ltmain to make .lib files, not .a files.
12082+ libext=lib
12083+ # Tell ltmain to make .dll files, not .so files.
12084+ shrext_cmds=".dll"
12085+ # FIXME: Setting linknames here is a bad hack.
12086+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12087+ # The linker will automatically build a .lib file if we build a DLL.
12088+ old_archive_from_new_cmds='true'
12089+ # FIXME: Should let the user specify the lib program.
12090+ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12091+ enable_shared_with_static_runtimes=yes
12092+ ;;
12093+ esac
12094 ;;
12095
12096 darwin* | rhapsody*)
12097@@ -9446,7 +10029,7 @@
12098
12099 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12100 freebsd* | dragonfly*)
12101- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12102+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12103 hardcode_libdir_flag_spec='-R$libdir'
12104 hardcode_direct=yes
12105 hardcode_shlibpath_var=no
12106@@ -9454,7 +10037,7 @@
12107
12108 hpux9*)
12109 if test "$GCC" = yes; then
12110- archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12111+ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12112 else
12113 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12114 fi
12115@@ -9470,7 +10053,7 @@
12116
12117 hpux10*)
12118 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12119- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12120+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12121 else
12122 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12123 fi
12124@@ -9494,10 +10077,10 @@
12125 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12126 ;;
12127 ia64*)
12128- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12129+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12130 ;;
12131 *)
12132- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12133+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12134 ;;
12135 esac
12136 else
12137@@ -9576,23 +10159,36 @@
12138
12139 irix5* | irix6* | nonstopux*)
12140 if test "$GCC" = yes; then
12141- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12142+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12143 # Try to use the -exported_symbol ld option, if it does not
12144 # work, assume that -exports_file does not work either and
12145 # implicitly export all symbols.
12146- save_LDFLAGS="$LDFLAGS"
12147- LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12148- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149+ # This should be the same for all languages, so no per-tag cache variable.
12150+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12151+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12152+if test "${lt_cv_irix_exported_symbol+set}" = set; then :
12153+ $as_echo_n "(cached) " >&6
12154+else
12155+ save_LDFLAGS="$LDFLAGS"
12156+ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12157+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12159-int foo(void) {}
12160+int foo (void) { return 0; }
12161 _ACEOF
12162 if ac_fn_c_try_link "$LINENO"; then :
12163- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
12164-
12165+ lt_cv_irix_exported_symbol=yes
12166+else
12167+ lt_cv_irix_exported_symbol=no
12168 fi
12169 rm -f core conftest.err conftest.$ac_objext \
12170 conftest$ac_exeext conftest.$ac_ext
12171- LDFLAGS="$save_LDFLAGS"
12172+ LDFLAGS="$save_LDFLAGS"
12173+fi
12174+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12175+$as_echo "$lt_cv_irix_exported_symbol" >&6; }
12176+ if test "$lt_cv_irix_exported_symbol" = yes; then
12177+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
12178+ fi
12179 else
12180 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12181 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
12182@@ -9677,7 +10273,7 @@
12183 osf4* | osf5*) # as osf3* with the addition of -msym flag
12184 if test "$GCC" = yes; then
12185 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12186- archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12187+ archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12188 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12189 else
12190 allow_undefined_flag=' -expect_unresolved \*'
12191@@ -9696,9 +10292,9 @@
12192 no_undefined_flag=' -z defs'
12193 if test "$GCC" = yes; then
12194 wlarc='${wl}'
12195- archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12196+ archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12197 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12198- $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12199+ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12200 else
12201 case `$CC -V 2>&1` in
12202 *"Compilers 5.0"*)
12203@@ -10274,8 +10870,9 @@
12204 need_version=no
12205 need_lib_prefix=no
12206
12207- case $GCC,$host_os in
12208- yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
12209+ case $GCC,$cc_basename in
12210+ yes,*)
12211+ # gcc
12212 library_names_spec='$libname.dll.a'
12213 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12214 postinstall_cmds='base_file=`basename \${file}`~
12215@@ -10308,13 +10905,71 @@
12216 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12217 ;;
12218 esac
12219+ dynamic_linker='Win32 ld.exe'
12220+ ;;
12221+
12222+ *,cl*)
12223+ # Native MSVC
12224+ libname_spec='$name'
12225+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12226+ library_names_spec='${libname}.dll.lib'
12227+
12228+ case $build_os in
12229+ mingw*)
12230+ sys_lib_search_path_spec=
12231+ lt_save_ifs=$IFS
12232+ IFS=';'
12233+ for lt_path in $LIB
12234+ do
12235+ IFS=$lt_save_ifs
12236+ # Let DOS variable expansion print the short 8.3 style file name.
12237+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12238+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12239+ done
12240+ IFS=$lt_save_ifs
12241+ # Convert to MSYS style.
12242+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12243+ ;;
12244+ cygwin*)
12245+ # Convert to unix form, then to dos form, then back to unix form
12246+ # but this time dos style (no spaces!) so that the unix form looks
12247+ # like /cygdrive/c/PROGRA~1:/cygdr...
12248+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12249+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12250+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12251+ ;;
12252+ *)
12253+ sys_lib_search_path_spec="$LIB"
12254+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12255+ # It is most probably a Windows format PATH.
12256+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12257+ else
12258+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12259+ fi
12260+ # FIXME: find the short name or the path components, as spaces are
12261+ # common. (e.g. "Program Files" -> "PROGRA~1")
12262+ ;;
12263+ esac
12264+
12265+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
12266+ postinstall_cmds='base_file=`basename \${file}`~
12267+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12268+ dldir=$destdir/`dirname \$dlpath`~
12269+ test -d \$dldir || mkdir -p \$dldir~
12270+ $install_prog $dir/$dlname \$dldir/$dlname'
12271+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12272+ dlpath=$dir/\$dldll~
12273+ $RM \$dlpath'
12274+ shlibpath_overrides_runpath=yes
12275+ dynamic_linker='Win32 link.exe'
12276 ;;
12277
12278 *)
12279+ # Assume MSVC wrapper
12280 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12281+ dynamic_linker='Win32 ld.exe'
12282 ;;
12283 esac
12284- dynamic_linker='Win32 ld.exe'
12285 # FIXME: first we should search . and the directory the executable is in
12286 shlibpath_var=PATH
12287 ;;
12288@@ -10410,7 +11065,7 @@
12289 soname_spec='${libname}${release}${shared_ext}$major'
12290 shlibpath_var=LIBRARY_PATH
12291 shlibpath_overrides_runpath=yes
12292- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
12293+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12294 hardcode_into_libs=yes
12295 ;;
12296
12297@@ -11206,7 +11861,7 @@
12298 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12299 lt_status=$lt_dlunknown
12300 cat > conftest.$ac_ext <<_LT_EOF
12301-#line 11209 "configure"
12302+#line $LINENO "configure"
12303 #include "confdefs.h"
12304
12305 #if HAVE_DLFCN_H
12306@@ -11250,10 +11905,10 @@
12307 /* When -fvisbility=hidden is used, assume the code has been annotated
12308 correspondingly for the symbols needed. */
12309 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12310-void fnord () __attribute__((visibility("default")));
12311+int fnord () __attribute__((visibility("default")));
12312 #endif
12313
12314-void fnord () { int i=42; }
12315+int fnord () { return 42; }
12316 int main ()
12317 {
12318 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12319@@ -11312,7 +11967,7 @@
12320 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12321 lt_status=$lt_dlunknown
12322 cat > conftest.$ac_ext <<_LT_EOF
12323-#line 11315 "configure"
12324+#line $LINENO "configure"
12325 #include "confdefs.h"
12326
12327 #if HAVE_DLFCN_H
12328@@ -11356,10 +12011,10 @@
12329 /* When -fvisbility=hidden is used, assume the code has been annotated
12330 correspondingly for the symbols needed. */
12331 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12332-void fnord () __attribute__((visibility("default")));
12333+int fnord () __attribute__((visibility("default")));
12334 #endif
12335
12336-void fnord () { int i=42; }
12337+int fnord () { return 42; }
12338 int main ()
12339 {
12340 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12341@@ -14751,13 +15406,20 @@
12342 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12343 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12344 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12345+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12346+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12347 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12348 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12349 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12350 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12351 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12352+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12353+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12354+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12355+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12356 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12357 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12358+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12359 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12360 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12361 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12362@@ -14772,14 +15434,17 @@
12363 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12364 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12365 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
12366+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12367+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12368 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12369 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12370 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12371-lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12372 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12373+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12374 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12375 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12376 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12377+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12378 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12379 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12380 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12381@@ -14812,12 +15477,12 @@
12382 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12383 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12384 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12385-fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12386 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12387 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12388 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12389 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12390 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12391+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12392 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12393 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12394 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12395@@ -14872,8 +15537,13 @@
12396 OBJDUMP \
12397 deplibs_check_method \
12398 file_magic_cmd \
12399+file_magic_glob \
12400+want_nocaseglob \
12401+DLLTOOL \
12402+sharedlib_from_linklib_cmd \
12403 AR \
12404 AR_FLAGS \
12405+archiver_list_spec \
12406 STRIP \
12407 RANLIB \
12408 CC \
12409@@ -14883,12 +15553,14 @@
12410 lt_cv_sys_global_symbol_to_cdecl \
12411 lt_cv_sys_global_symbol_to_c_name_address \
12412 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12413+nm_file_list_spec \
12414 lt_prog_compiler_no_builtin_flag \
12415-lt_prog_compiler_wl \
12416 lt_prog_compiler_pic \
12417+lt_prog_compiler_wl \
12418 lt_prog_compiler_static \
12419 lt_cv_prog_compiler_c_o \
12420 need_locks \
12421+MANIFEST_TOOL \
12422 DSYMUTIL \
12423 NMEDIT \
12424 LIPO \
12425@@ -14904,7 +15576,6 @@
12426 hardcode_libdir_flag_spec \
12427 hardcode_libdir_flag_spec_ld \
12428 hardcode_libdir_separator \
12429-fix_srcfile_path \
12430 exclude_expsyms \
12431 include_expsyms \
12432 file_list_spec \
12433@@ -14940,6 +15611,7 @@
12434 module_expsym_cmds \
12435 export_symbols_cmds \
12436 prelink_cmds \
12437+postlink_cmds \
12438 postinstall_cmds \
12439 postuninstall_cmds \
12440 finish_cmds \
12441@@ -15697,7 +16369,8 @@
12442 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
12443 #
12444 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12445-# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
12446+# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
12447+# Inc.
12448 # Written by Gordon Matzigkeit, 1996
12449 #
12450 # This file is part of GNU Libtool.
12451@@ -15800,19 +16473,42 @@
12452 # turn newlines into spaces.
12453 NL2SP=$lt_lt_NL2SP
12454
12455+# convert \$build file names to \$host format.
12456+to_host_file_cmd=$lt_cv_to_host_file_cmd
12457+
12458+# convert \$build files to toolchain format.
12459+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
12460+
12461 # An object symbol dumper.
12462 OBJDUMP=$lt_OBJDUMP
12463
12464 # Method to check whether dependent libraries are shared objects.
12465 deplibs_check_method=$lt_deplibs_check_method
12466
12467-# Command to use when deplibs_check_method == "file_magic".
12468+# Command to use when deplibs_check_method = "file_magic".
12469 file_magic_cmd=$lt_file_magic_cmd
12470
12471+# How to find potential files when deplibs_check_method = "file_magic".
12472+file_magic_glob=$lt_file_magic_glob
12473+
12474+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
12475+want_nocaseglob=$lt_want_nocaseglob
12476+
12477+# DLL creation program.
12478+DLLTOOL=$lt_DLLTOOL
12479+
12480+# Command to associate shared and link libraries.
12481+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
12482+
12483 # The archiver.
12484 AR=$lt_AR
12485+
12486+# Flags to create an archive.
12487 AR_FLAGS=$lt_AR_FLAGS
12488
12489+# How to feed a file listing to the archiver.
12490+archiver_list_spec=$lt_archiver_list_spec
12491+
12492 # A symbol stripping program.
12493 STRIP=$lt_STRIP
12494
12495@@ -15842,6 +16538,12 @@
12496 # Transform the output of nm in a C name address pair when lib prefix is needed.
12497 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12498
12499+# Specify filename containing input files for \$NM.
12500+nm_file_list_spec=$lt_nm_file_list_spec
12501+
12502+# The root where to search for dependent libraries,and in which our libraries should be installed.
12503+lt_sysroot=$lt_sysroot
12504+
12505 # The name of the directory that contains temporary libtool files.
12506 objdir=$objdir
12507
12508@@ -15851,6 +16553,9 @@
12509 # Must we lock files when doing compilation?
12510 need_locks=$lt_need_locks
12511
12512+# Manifest tool.
12513+MANIFEST_TOOL=$lt_MANIFEST_TOOL
12514+
12515 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12516 DSYMUTIL=$lt_DSYMUTIL
12517
12518@@ -15965,12 +16670,12 @@
12519 # Compiler flag to turn off builtin functions.
12520 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12521
12522-# How to pass a linker flag through the compiler.
12523-wl=$lt_lt_prog_compiler_wl
12524-
12525 # Additional compiler flags for building library objects.
12526 pic_flag=$lt_lt_prog_compiler_pic
12527
12528+# How to pass a linker flag through the compiler.
12529+wl=$lt_lt_prog_compiler_wl
12530+
12531 # Compiler flag to prevent dynamic linking.
12532 link_static_flag=$lt_lt_prog_compiler_static
12533
12534@@ -16057,9 +16762,6 @@
12535 # Whether libtool must link a program against all its dependency libraries.
12536 link_all_deplibs=$link_all_deplibs
12537
12538-# Fix the shell variable \$srcfile for the compiler.
12539-fix_srcfile_path=$lt_fix_srcfile_path
12540-
12541 # Set to "yes" if exported symbols are required.
12542 always_export_symbols=$always_export_symbols
12543
12544@@ -16075,6 +16777,9 @@
12545 # Commands necessary for linking programs (against libraries) with templates.
12546 prelink_cmds=$lt_prelink_cmds
12547
12548+# Commands necessary for finishing linking programs.
12549+postlink_cmds=$lt_postlink_cmds
12550+
12551 # Specify filename containing input files.
12552 file_list_spec=$lt_file_list_spec
12553
12554@@ -16107,210 +16812,169 @@
12555 # if finds mixed CR/LF and LF-only lines. Since sed operates in
12556 # text mode, it properly converts lines to CR/LF. This bash problem
12557 # is reportedly fixed, but why not run on old versions too?
12558- sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
12559- || (rm -f "$cfgfile"; exit 1)
12560-
12561- case $xsi_shell in
12562- yes)
12563- cat << \_LT_EOF >> "$cfgfile"
12564-
12565-# func_dirname file append nondir_replacement
12566-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
12567-# otherwise set result to NONDIR_REPLACEMENT.
12568-func_dirname ()
12569-{
12570- case ${1} in
12571- */*) func_dirname_result="${1%/*}${2}" ;;
12572- * ) func_dirname_result="${3}" ;;
12573- esac
12574-}
12575-
12576-# func_basename file
12577-func_basename ()
12578-{
12579- func_basename_result="${1##*/}"
12580-}
12581-
12582-# func_dirname_and_basename file append nondir_replacement
12583-# perform func_basename and func_dirname in a single function
12584-# call:
12585-# dirname: Compute the dirname of FILE. If nonempty,
12586-# add APPEND to the result, otherwise set result
12587-# to NONDIR_REPLACEMENT.
12588-# value returned in "$func_dirname_result"
12589-# basename: Compute filename of FILE.
12590-# value retuned in "$func_basename_result"
12591-# Implementation must be kept synchronized with func_dirname
12592-# and func_basename. For efficiency, we do not delegate to
12593-# those functions but instead duplicate the functionality here.
12594-func_dirname_and_basename ()
12595-{
12596- case ${1} in
12597- */*) func_dirname_result="${1%/*}${2}" ;;
12598- * ) func_dirname_result="${3}" ;;
12599- esac
12600- func_basename_result="${1##*/}"
12601-}
12602-
12603-# func_stripname prefix suffix name
12604-# strip PREFIX and SUFFIX off of NAME.
12605-# PREFIX and SUFFIX must not contain globbing or regex special
12606-# characters, hashes, percent signs, but SUFFIX may contain a leading
12607-# dot (in which case that matches only a dot).
12608-func_stripname ()
12609-{
12610- # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
12611- # positional parameters, so assign one to ordinary parameter first.
12612- func_stripname_result=${3}
12613- func_stripname_result=${func_stripname_result#"${1}"}
12614- func_stripname_result=${func_stripname_result%"${2}"}
12615-}
12616-
12617-# func_opt_split
12618-func_opt_split ()
12619-{
12620- func_opt_split_opt=${1%%=*}
12621- func_opt_split_arg=${1#*=}
12622-}
12623-
12624-# func_lo2o object
12625-func_lo2o ()
12626-{
12627- case ${1} in
12628- *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
12629- *) func_lo2o_result=${1} ;;
12630- esac
12631-}
12632-
12633-# func_xform libobj-or-source
12634-func_xform ()
12635-{
12636- func_xform_result=${1%.*}.lo
12637-}
12638-
12639-# func_arith arithmetic-term...
12640-func_arith ()
12641-{
12642- func_arith_result=$(( $* ))
12643-}
12644-
12645-# func_len string
12646-# STRING may not start with a hyphen.
12647-func_len ()
12648-{
12649- func_len_result=${#1}
12650-}
12651-
12652-_LT_EOF
12653- ;;
12654- *) # Bourne compatible functions.
12655- cat << \_LT_EOF >> "$cfgfile"
12656-
12657-# func_dirname file append nondir_replacement
12658-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
12659-# otherwise set result to NONDIR_REPLACEMENT.
12660-func_dirname ()
12661-{
12662- # Extract subdirectory from the argument.
12663- func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
12664- if test "X$func_dirname_result" = "X${1}"; then
12665- func_dirname_result="${3}"
12666- else
12667- func_dirname_result="$func_dirname_result${2}"
12668- fi
12669-}
12670-
12671-# func_basename file
12672-func_basename ()
12673-{
12674- func_basename_result=`$ECHO "${1}" | $SED "$basename"`
12675-}
12676-
12677-
12678-# func_stripname prefix suffix name
12679-# strip PREFIX and SUFFIX off of NAME.
12680-# PREFIX and SUFFIX must not contain globbing or regex special
12681-# characters, hashes, percent signs, but SUFFIX may contain a leading
12682-# dot (in which case that matches only a dot).
12683-# func_strip_suffix prefix name
12684-func_stripname ()
12685-{
12686- case ${2} in
12687- .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12688- *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12689- esac
12690-}
12691-
12692-# sed scripts:
12693-my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
12694-my_sed_long_arg='1s/^-[^=]*=//'
12695-
12696-# func_opt_split
12697-func_opt_split ()
12698-{
12699- func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
12700- func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
12701-}
12702-
12703-# func_lo2o object
12704-func_lo2o ()
12705-{
12706- func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
12707-}
12708-
12709-# func_xform libobj-or-source
12710-func_xform ()
12711-{
12712- func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
12713-}
12714-
12715-# func_arith arithmetic-term...
12716-func_arith ()
12717-{
12718- func_arith_result=`expr "$@"`
12719-}
12720-
12721-# func_len string
12722-# STRING may not start with a hyphen.
12723-func_len ()
12724-{
12725- func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
12726-}
12727-
12728-_LT_EOF
12729-esac
12730-
12731-case $lt_shell_append in
12732- yes)
12733- cat << \_LT_EOF >> "$cfgfile"
12734-
12735-# func_append var value
12736-# Append VALUE to the end of shell variable VAR.
12737-func_append ()
12738-{
12739- eval "$1+=\$2"
12740-}
12741-_LT_EOF
12742- ;;
12743- *)
12744- cat << \_LT_EOF >> "$cfgfile"
12745-
12746-# func_append var value
12747-# Append VALUE to the end of shell variable VAR.
12748-func_append ()
12749-{
12750- eval "$1=\$$1\$2"
12751-}
12752-
12753-_LT_EOF
12754- ;;
12755- esac
12756+ sed '$q' "$ltmain" >> "$cfgfile" \
12757+ || (rm -f "$cfgfile"; exit 1)
12758
12759+ if test x"$xsi_shell" = xyes; then
12760+ sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
12761+func_dirname ()\
12762+{\
12763+\ case ${1} in\
12764+\ */*) func_dirname_result="${1%/*}${2}" ;;\
12765+\ * ) func_dirname_result="${3}" ;;\
12766+\ esac\
12767+} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
12768+ && mv -f "$cfgfile.tmp" "$cfgfile" \
12769+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12770+test 0 -eq $? || _lt_function_replace_fail=:
12771+
12772+
12773+ sed -e '/^func_basename ()$/,/^} # func_basename /c\
12774+func_basename ()\
12775+{\
12776+\ func_basename_result="${1##*/}"\
12777+} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
12778+ && mv -f "$cfgfile.tmp" "$cfgfile" \
12779+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12780+test 0 -eq $? || _lt_function_replace_fail=:
12781+
12782+
12783+ sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
12784+func_dirname_and_basename ()\
12785+{\
12786+\ case ${1} in\
12787+\ */*) func_dirname_result="${1%/*}${2}" ;;\
12788+\ * ) func_dirname_result="${3}" ;;\
12789+\ esac\
12790+\ func_basename_result="${1##*/}"\
12791+} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
12792+ && mv -f "$cfgfile.tmp" "$cfgfile" \
12793+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12794+test 0 -eq $? || _lt_function_replace_fail=:
12795+
12796+
12797+ sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
12798+func_stripname ()\
12799+{\
12800+\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
12801+\ # positional parameters, so assign one to ordinary parameter first.\
12802+\ func_stripname_result=${3}\
12803+\ func_stripname_result=${func_stripname_result#"${1}"}\
12804+\ func_stripname_result=${func_stripname_result%"${2}"}\
12805+} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
12806+ && mv -f "$cfgfile.tmp" "$cfgfile" \
12807+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12808+test 0 -eq $? || _lt_function_replace_fail=:
12809+
12810+
12811+ sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
12812+func_split_long_opt ()\
12813+{\
12814+\ func_split_long_opt_name=${1%%=*}\
12815+\ func_split_long_opt_arg=${1#*=}\
12816+} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
12817+ && mv -f "$cfgfile.tmp" "$cfgfile" \
12818+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12819+test 0 -eq $? || _lt_function_replace_fail=:
12820+
12821+
12822+ sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
12823+func_split_short_opt ()\
12824+{\
12825+\ func_split_short_opt_arg=${1#??}\
12826+\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
12827+} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
12828+ && mv -f "$cfgfile.tmp" "$cfgfile" \
12829+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12830+test 0 -eq $? || _lt_function_replace_fail=:
12831+
12832+
12833+ sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
12834+func_lo2o ()\
12835+{\
12836+\ case ${1} in\
12837+\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
12838+\ *) func_lo2o_result=${1} ;;\
12839+\ esac\
12840+} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
12841+ && mv -f "$cfgfile.tmp" "$cfgfile" \
12842+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12843+test 0 -eq $? || _lt_function_replace_fail=:
12844+
12845+
12846+ sed -e '/^func_xform ()$/,/^} # func_xform /c\
12847+func_xform ()\
12848+{\
12849+ func_xform_result=${1%.*}.lo\
12850+} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
12851+ && mv -f "$cfgfile.tmp" "$cfgfile" \
12852+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12853+test 0 -eq $? || _lt_function_replace_fail=:
12854+
12855+
12856+ sed -e '/^func_arith ()$/,/^} # func_arith /c\
12857+func_arith ()\
12858+{\
12859+ func_arith_result=$(( $* ))\
12860+} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
12861+ && mv -f "$cfgfile.tmp" "$cfgfile" \
12862+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12863+test 0 -eq $? || _lt_function_replace_fail=:
12864+
12865+
12866+ sed -e '/^func_len ()$/,/^} # func_len /c\
12867+func_len ()\
12868+{\
12869+ func_len_result=${#1}\
12870+} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
12871+ && mv -f "$cfgfile.tmp" "$cfgfile" \
12872+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12873+test 0 -eq $? || _lt_function_replace_fail=:
12874+
12875+fi
12876+
12877+if test x"$lt_shell_append" = xyes; then
12878+ sed -e '/^func_append ()$/,/^} # func_append /c\
12879+func_append ()\
12880+{\
12881+ eval "${1}+=\\${2}"\
12882+} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
12883+ && mv -f "$cfgfile.tmp" "$cfgfile" \
12884+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12885+test 0 -eq $? || _lt_function_replace_fail=:
12886+
12887+
12888+ sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
12889+func_append_quoted ()\
12890+{\
12891+\ func_quote_for_eval "${2}"\
12892+\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
12893+} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
12894+ && mv -f "$cfgfile.tmp" "$cfgfile" \
12895+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12896+test 0 -eq $? || _lt_function_replace_fail=:
12897+
12898+
12899+ # Save a `func_append' function call where possible by direct use of '+='
12900+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
12901+ && mv -f "$cfgfile.tmp" "$cfgfile" \
12902+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12903+ test 0 -eq $? || _lt_function_replace_fail=:
12904+else
12905+ # Save a `func_append' function call even when '+=' is not available
12906+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
12907+ && mv -f "$cfgfile.tmp" "$cfgfile" \
12908+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12909+ test 0 -eq $? || _lt_function_replace_fail=:
12910+fi
12911+
12912+if test x"$_lt_function_replace_fail" = x":"; then
12913+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
12914+$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
12915+fi
12916
12917- sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
12918- || (rm -f "$cfgfile"; exit 1)
12919
12920- mv -f "$cfgfile" "$ofile" ||
12921+ mv -f "$cfgfile" "$ofile" ||
12922 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12923 chmod +x "$ofile"
12924
12925Index: binutils-2.21/gas/configure
12926===================================================================
12927--- binutils-2.21.orig/gas/configure 2010-11-05 03:33:36.000000000 -0700
12928+++ binutils-2.21/gas/configure 2011-01-07 10:49:16.426101000 -0800
12929@@ -645,8 +645,11 @@
12930 LIPO
12931 NMEDIT
12932 DSYMUTIL
12933+MANIFEST_TOOL
12934 RANLIB
12935+ac_ct_AR
12936 AR
12937+DLLTOOL
12938 OBJDUMP
12939 LN_S
12940 NM
12941@@ -759,6 +762,7 @@
12942 with_pic
12943 enable_fast_install
12944 with_gnu_ld
12945+with_libtool_sysroot
12946 enable_libtool_lock
12947 enable_targets
12948 enable_checking
12949@@ -1420,6 +1424,8 @@
12950 --with-pic try to use only PIC/non-PIC objects [default=use
12951 both]
12952 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
12953+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
12954+ (or the compiler's sysroot if not specified).
12955 --with-zlib include zlib support (auto/yes/no) default=auto
12956
12957 Some influential environment variables:
12958@@ -5135,8 +5141,8 @@
12959
12960
12961
12962-macro_version='2.2.7a'
12963-macro_revision='1.3134'
12964+macro_version='2.4'
12965+macro_revision='1.3293'
12966
12967
12968
12969@@ -5176,7 +5182,7 @@
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
12971 $as_echo_n "checking how to print strings... " >&6; }
12972 # Test print first, because it will be a builtin if present.
12973-if test "X`print -r -- -n 2>/dev/null`" = X-n && \
12974+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
12975 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
12976 ECHO='print -r --'
12977 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
12978@@ -5862,8 +5868,8 @@
12979 # Try some XSI features
12980 xsi_shell=no
12981 ( _lt_dummy="a/b/c"
12982- test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
12983- = c,a/b,, \
12984+ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
12985+ = c,a/b,b/c, \
12986 && eval 'test $(( 1 + 1 )) -eq 2 \
12987 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
12988 && xsi_shell=yes
12989@@ -5912,6 +5918,80 @@
12990
12991
12992
12993+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
12994+$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
12995+if test "${lt_cv_to_host_file_cmd+set}" = set; then :
12996+ $as_echo_n "(cached) " >&6
12997+else
12998+ case $host in
12999+ *-*-mingw* )
13000+ case $build in
13001+ *-*-mingw* ) # actually msys
13002+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
13003+ ;;
13004+ *-*-cygwin* )
13005+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
13006+ ;;
13007+ * ) # otherwise, assume *nix
13008+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
13009+ ;;
13010+ esac
13011+ ;;
13012+ *-*-cygwin* )
13013+ case $build in
13014+ *-*-mingw* ) # actually msys
13015+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
13016+ ;;
13017+ *-*-cygwin* )
13018+ lt_cv_to_host_file_cmd=func_convert_file_noop
13019+ ;;
13020+ * ) # otherwise, assume *nix
13021+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
13022+ ;;
13023+ esac
13024+ ;;
13025+ * ) # unhandled hosts (and "normal" native builds)
13026+ lt_cv_to_host_file_cmd=func_convert_file_noop
13027+ ;;
13028+esac
13029+
13030+fi
13031+
13032+to_host_file_cmd=$lt_cv_to_host_file_cmd
13033+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
13034+$as_echo "$lt_cv_to_host_file_cmd" >&6; }
13035+
13036+
13037+
13038+
13039+
13040+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
13041+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
13042+if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
13043+ $as_echo_n "(cached) " >&6
13044+else
13045+ #assume ordinary cross tools, or native build.
13046+lt_cv_to_tool_file_cmd=func_convert_file_noop
13047+case $host in
13048+ *-*-mingw* )
13049+ case $build in
13050+ *-*-mingw* ) # actually msys
13051+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
13052+ ;;
13053+ esac
13054+ ;;
13055+esac
13056+
13057+fi
13058+
13059+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
13060+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
13061+$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
13062+
13063+
13064+
13065+
13066+
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
13068 $as_echo_n "checking for $LD option to reload object files... " >&6; }
13069 if test "${lt_cv_ld_reload_flag+set}" = set; then :
13070@@ -5928,6 +6008,11 @@
13071 esac
13072 reload_cmds='$LD$reload_flag -o $output$reload_objs'
13073 case $host_os in
13074+ cygwin* | mingw* | pw32* | cegcc*)
13075+ if test "$GCC" != yes; then
13076+ reload_cmds=false
13077+ fi
13078+ ;;
13079 darwin*)
13080 if test "$GCC" = yes; then
13081 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
13082@@ -6096,7 +6181,8 @@
13083 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
13084 lt_cv_file_magic_cmd='func_win32_libid'
13085 else
13086- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
13087+ # Keep this pattern in sync with the one in func_win32_libid.
13088+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
13089 lt_cv_file_magic_cmd='$OBJDUMP -f'
13090 fi
13091 ;;
13092@@ -6250,6 +6336,21 @@
13093 fi
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
13095 $as_echo "$lt_cv_deplibs_check_method" >&6; }
13096+
13097+file_magic_glob=
13098+want_nocaseglob=no
13099+if test "$build" = "$host"; then
13100+ case $host_os in
13101+ mingw* | pw32*)
13102+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
13103+ want_nocaseglob=yes
13104+ else
13105+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
13106+ fi
13107+ ;;
13108+ esac
13109+fi
13110+
13111 file_magic_cmd=$lt_cv_file_magic_cmd
13112 deplibs_check_method=$lt_cv_deplibs_check_method
13113 test -z "$deplibs_check_method" && deplibs_check_method=unknown
13114@@ -6265,9 +6366,162 @@
13115
13116
13117
13118+
13119+
13120+
13121+
13122+
13123+
13124+
13125+
13126+
13127+
13128+if test -n "$ac_tool_prefix"; then
13129+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13130+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13131+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13132+$as_echo_n "checking for $ac_word... " >&6; }
13133+if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
13134+ $as_echo_n "(cached) " >&6
13135+else
13136+ if test -n "$DLLTOOL"; then
13137+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13138+else
13139+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13140+for as_dir in $PATH
13141+do
13142+ IFS=$as_save_IFS
13143+ test -z "$as_dir" && as_dir=.
13144+ for ac_exec_ext in '' $ac_executable_extensions; do
13145+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13146+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13147+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13148+ break 2
13149+ fi
13150+done
13151+ done
13152+IFS=$as_save_IFS
13153+
13154+fi
13155+fi
13156+DLLTOOL=$ac_cv_prog_DLLTOOL
13157+if test -n "$DLLTOOL"; then
13158+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
13159+$as_echo "$DLLTOOL" >&6; }
13160+else
13161+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13162+$as_echo "no" >&6; }
13163+fi
13164+
13165+
13166+fi
13167+if test -z "$ac_cv_prog_DLLTOOL"; then
13168+ ac_ct_DLLTOOL=$DLLTOOL
13169+ # Extract the first word of "dlltool", so it can be a program name with args.
13170+set dummy dlltool; ac_word=$2
13171+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13172+$as_echo_n "checking for $ac_word... " >&6; }
13173+if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
13174+ $as_echo_n "(cached) " >&6
13175+else
13176+ if test -n "$ac_ct_DLLTOOL"; then
13177+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13178+else
13179+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13180+for as_dir in $PATH
13181+do
13182+ IFS=$as_save_IFS
13183+ test -z "$as_dir" && as_dir=.
13184+ for ac_exec_ext in '' $ac_executable_extensions; do
13185+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13186+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13187+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13188+ break 2
13189+ fi
13190+done
13191+ done
13192+IFS=$as_save_IFS
13193+
13194+fi
13195+fi
13196+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13197+if test -n "$ac_ct_DLLTOOL"; then
13198+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
13199+$as_echo "$ac_ct_DLLTOOL" >&6; }
13200+else
13201+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13202+$as_echo "no" >&6; }
13203+fi
13204+
13205+ if test "x$ac_ct_DLLTOOL" = x; then
13206+ DLLTOOL="false"
13207+ else
13208+ case $cross_compiling:$ac_tool_warned in
13209+yes:)
13210+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13211+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13212+ac_tool_warned=yes ;;
13213+esac
13214+ DLLTOOL=$ac_ct_DLLTOOL
13215+ fi
13216+else
13217+ DLLTOOL="$ac_cv_prog_DLLTOOL"
13218+fi
13219+
13220+test -z "$DLLTOOL" && DLLTOOL=dlltool
13221+
13222+
13223+
13224+
13225+
13226+
13227+
13228+
13229+
13230+
13231+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
13232+$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
13233+if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
13234+ $as_echo_n "(cached) " >&6
13235+else
13236+ lt_cv_sharedlib_from_linklib_cmd='unknown'
13237+
13238+case $host_os in
13239+cygwin* | mingw* | pw32* | cegcc*)
13240+ # two different shell functions defined in ltmain.sh
13241+ # decide which to use based on capabilities of $DLLTOOL
13242+ case `$DLLTOOL --help 2>&1` in
13243+ *--identify-strict*)
13244+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
13245+ ;;
13246+ *)
13247+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
13248+ ;;
13249+ esac
13250+ ;;
13251+*)
13252+ # fallback: assume linklib IS sharedlib
13253+ lt_cv_sharedlib_from_linklib_cmd="$ECHO"
13254+ ;;
13255+esac
13256+
13257+fi
13258+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
13259+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
13260+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
13261+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
13262+
13263+
13264+
13265+
13266+
13267+
13268+
13269 if test -n "$ac_tool_prefix"; then
13270- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13271-set dummy ${ac_tool_prefix}ar; ac_word=$2
13272+ for ac_prog in ar
13273+ do
13274+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13275+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13277 $as_echo_n "checking for $ac_word... " >&6; }
13278 if test "${ac_cv_prog_AR+set}" = set; then :
13279@@ -6283,7 +6537,7 @@
13280 test -z "$as_dir" && as_dir=.
13281 for ac_exec_ext in '' $ac_executable_extensions; do
13282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13283- ac_cv_prog_AR="${ac_tool_prefix}ar"
13284+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
13285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13286 break 2
13287 fi
13288@@ -6303,11 +6557,15 @@
13289 fi
13290
13291
13292+ test -n "$AR" && break
13293+ done
13294 fi
13295-if test -z "$ac_cv_prog_AR"; then
13296+if test -z "$AR"; then
13297 ac_ct_AR=$AR
13298- # Extract the first word of "ar", so it can be a program name with args.
13299-set dummy ar; ac_word=$2
13300+ for ac_prog in ar
13301+do
13302+ # Extract the first word of "$ac_prog", so it can be a program name with args.
13303+set dummy $ac_prog; ac_word=$2
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13305 $as_echo_n "checking for $ac_word... " >&6; }
13306 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
13307@@ -6323,7 +6581,7 @@
13308 test -z "$as_dir" && as_dir=.
13309 for ac_exec_ext in '' $ac_executable_extensions; do
13310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13311- ac_cv_prog_ac_ct_AR="ar"
13312+ ac_cv_prog_ac_ct_AR="$ac_prog"
13313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13314 break 2
13315 fi
13316@@ -6342,6 +6600,10 @@
13317 $as_echo "no" >&6; }
13318 fi
13319
13320+
13321+ test -n "$ac_ct_AR" && break
13322+done
13323+
13324 if test "x$ac_ct_AR" = x; then
13325 AR="false"
13326 else
13327@@ -6353,16 +6615,72 @@
13328 esac
13329 AR=$ac_ct_AR
13330 fi
13331-else
13332- AR="$ac_cv_prog_AR"
13333 fi
13334
13335-test -z "$AR" && AR=ar
13336-test -z "$AR_FLAGS" && AR_FLAGS=cru
13337+: ${AR=ar}
13338+: ${AR_FLAGS=cru}
13339+
13340+
13341+
13342+
13343+
13344+
13345+
13346+
13347+
13348+
13349+
13350+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
13351+$as_echo_n "checking for archiver @FILE support... " >&6; }
13352+if test "${lt_cv_ar_at_file+set}" = set; then :
13353+ $as_echo_n "(cached) " >&6
13354+else
13355+ lt_cv_ar_at_file=no
13356+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13357+/* end confdefs.h. */
13358+
13359+int
13360+main ()
13361+{
13362
13363+ ;
13364+ return 0;
13365+}
13366+_ACEOF
13367+if ac_fn_c_try_compile "$LINENO"; then :
13368+ echo conftest.$ac_objext > conftest.lst
13369+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
13370+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
13371+ (eval $lt_ar_try) 2>&5
13372+ ac_status=$?
13373+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13374+ test $ac_status = 0; }
13375+ if test "$ac_status" -eq 0; then
13376+ # Ensure the archiver fails upon bogus file names.
13377+ rm -f conftest.$ac_objext libconftest.a
13378+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
13379+ (eval $lt_ar_try) 2>&5
13380+ ac_status=$?
13381+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13382+ test $ac_status = 0; }
13383+ if test "$ac_status" -ne 0; then
13384+ lt_cv_ar_at_file=@
13385+ fi
13386+ fi
13387+ rm -f conftest.* libconftest.a
13388
13389+fi
13390+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13391
13392+fi
13393+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
13394+$as_echo "$lt_cv_ar_at_file" >&6; }
13395
13396+if test "x$lt_cv_ar_at_file" = xno; then
13397+ archiver_list_spec=
13398+else
13399+ archiver_list_spec=$lt_cv_ar_at_file
13400+fi
13401
13402
13403
13404@@ -6704,8 +7022,8 @@
13405 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
13406
13407 # Transform an extracted symbol line into symbol name and symbol address
13408-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
13409-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
13410+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
13411+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
13412
13413 # Handle CRLF in mingw tool chain
13414 opt_cr=
13415@@ -6741,6 +7059,7 @@
13416 else
13417 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
13418 fi
13419+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
13420
13421 # Check to see that the pipe works correctly.
13422 pipe_works=no
13423@@ -6782,6 +7101,18 @@
13424 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
13425 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
13426 cat <<_LT_EOF > conftest.$ac_ext
13427+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
13428+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
13429+/* DATA imports from DLLs on WIN32 con't be const, because runtime
13430+ relocations are performed -- see ld's documentation on pseudo-relocs. */
13431+# define LT_DLSYM_CONST
13432+#elif defined(__osf__)
13433+/* This system does not cope well with relocations in const data. */
13434+# define LT_DLSYM_CONST
13435+#else
13436+# define LT_DLSYM_CONST const
13437+#endif
13438+
13439 #ifdef __cplusplus
13440 extern "C" {
13441 #endif
13442@@ -6793,7 +7124,7 @@
13443 cat <<_LT_EOF >> conftest.$ac_ext
13444
13445 /* The mapping between symbol names and symbols. */
13446-const struct {
13447+LT_DLSYM_CONST struct {
13448 const char *name;
13449 void *address;
13450 }
13451@@ -6819,8 +7150,8 @@
13452 _LT_EOF
13453 # Now try linking the two files.
13454 mv conftest.$ac_objext conftstm.$ac_objext
13455- lt_save_LIBS="$LIBS"
13456- lt_save_CFLAGS="$CFLAGS"
13457+ lt_globsym_save_LIBS=$LIBS
13458+ lt_globsym_save_CFLAGS=$CFLAGS
13459 LIBS="conftstm.$ac_objext"
13460 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
13461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13462@@ -6830,8 +7161,8 @@
13463 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
13464 pipe_works=yes
13465 fi
13466- LIBS="$lt_save_LIBS"
13467- CFLAGS="$lt_save_CFLAGS"
13468+ LIBS=$lt_globsym_save_LIBS
13469+ CFLAGS=$lt_globsym_save_CFLAGS
13470 else
13471 echo "cannot find nm_test_func in $nlist" >&5
13472 fi
13473@@ -6868,6 +7199,19 @@
13474 $as_echo "ok" >&6; }
13475 fi
13476
13477+# Response file support.
13478+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
13479+ nm_file_list_spec='@'
13480+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
13481+ nm_file_list_spec='@'
13482+fi
13483+
13484+
13485+
13486+
13487+
13488+
13489+
13490
13491
13492
13493@@ -6888,6 +7232,42 @@
13494
13495
13496
13497+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
13498+$as_echo_n "checking for sysroot... " >&6; }
13499+
13500+# Check whether --with-libtool-sysroot was given.
13501+if test "${with_libtool_sysroot+set}" = set; then :
13502+ withval=$with_libtool_sysroot;
13503+else
13504+ with_libtool_sysroot=no
13505+fi
13506+
13507+
13508+lt_sysroot=
13509+case ${with_libtool_sysroot} in #(
13510+ yes)
13511+ if test "$GCC" = yes; then
13512+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
13513+ fi
13514+ ;; #(
13515+ /*)
13516+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
13517+ ;; #(
13518+ no|'')
13519+ ;; #(
13520+ *)
13521+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
13522+$as_echo "${with_libtool_sysroot}" >&6; }
13523+ as_fn_error "The sysroot must be an absolute path." "$LINENO" 5
13524+ ;;
13525+esac
13526+
13527+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
13528+$as_echo "${lt_sysroot:-no}" >&6; }
13529+
13530+
13531+
13532+
13533
13534 # Check whether --enable-libtool-lock was given.
13535 if test "${enable_libtool_lock+set}" = set; then :
13536@@ -7082,6 +7462,123 @@
13537
13538 need_locks="$enable_libtool_lock"
13539
13540+if test -n "$ac_tool_prefix"; then
13541+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
13542+set dummy ${ac_tool_prefix}mt; ac_word=$2
13543+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13544+$as_echo_n "checking for $ac_word... " >&6; }
13545+if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
13546+ $as_echo_n "(cached) " >&6
13547+else
13548+ if test -n "$MANIFEST_TOOL"; then
13549+ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
13550+else
13551+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13552+for as_dir in $PATH
13553+do
13554+ IFS=$as_save_IFS
13555+ test -z "$as_dir" && as_dir=.
13556+ for ac_exec_ext in '' $ac_executable_extensions; do
13557+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13558+ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
13559+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13560+ break 2
13561+ fi
13562+done
13563+ done
13564+IFS=$as_save_IFS
13565+
13566+fi
13567+fi
13568+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
13569+if test -n "$MANIFEST_TOOL"; then
13570+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
13571+$as_echo "$MANIFEST_TOOL" >&6; }
13572+else
13573+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13574+$as_echo "no" >&6; }
13575+fi
13576+
13577+
13578+fi
13579+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
13580+ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
13581+ # Extract the first word of "mt", so it can be a program name with args.
13582+set dummy mt; ac_word=$2
13583+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13584+$as_echo_n "checking for $ac_word... " >&6; }
13585+if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
13586+ $as_echo_n "(cached) " >&6
13587+else
13588+ if test -n "$ac_ct_MANIFEST_TOOL"; then
13589+ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
13590+else
13591+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13592+for as_dir in $PATH
13593+do
13594+ IFS=$as_save_IFS
13595+ test -z "$as_dir" && as_dir=.
13596+ for ac_exec_ext in '' $ac_executable_extensions; do
13597+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13598+ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
13599+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13600+ break 2
13601+ fi
13602+done
13603+ done
13604+IFS=$as_save_IFS
13605+
13606+fi
13607+fi
13608+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
13609+if test -n "$ac_ct_MANIFEST_TOOL"; then
13610+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
13611+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
13612+else
13613+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13614+$as_echo "no" >&6; }
13615+fi
13616+
13617+ if test "x$ac_ct_MANIFEST_TOOL" = x; then
13618+ MANIFEST_TOOL=":"
13619+ else
13620+ case $cross_compiling:$ac_tool_warned in
13621+yes:)
13622+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13623+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13624+ac_tool_warned=yes ;;
13625+esac
13626+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
13627+ fi
13628+else
13629+ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
13630+fi
13631+
13632+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
13633+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
13634+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
13635+if test "${lt_cv_path_mainfest_tool+set}" = set; then :
13636+ $as_echo_n "(cached) " >&6
13637+else
13638+ lt_cv_path_mainfest_tool=no
13639+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
13640+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
13641+ cat conftest.err >&5
13642+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
13643+ lt_cv_path_mainfest_tool=yes
13644+ fi
13645+ rm -f conftest*
13646+fi
13647+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
13648+$as_echo "$lt_cv_path_mainfest_tool" >&6; }
13649+if test "x$lt_cv_path_mainfest_tool" != xyes; then
13650+ MANIFEST_TOOL=:
13651+fi
13652+
13653+
13654+
13655+
13656+
13657
13658 case $host_os in
13659 rhapsody* | darwin*)
13660@@ -7645,6 +8142,8 @@
13661 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
13662 echo "$AR cru libconftest.a conftest.o" >&5
13663 $AR cru libconftest.a conftest.o 2>&5
13664+ echo "$RANLIB libconftest.a" >&5
13665+ $RANLIB libconftest.a 2>&5
13666 cat > conftest.c << _LT_EOF
13667 int main() { return 0;}
13668 _LT_EOF
13669@@ -7840,7 +8339,8 @@
13670 LIBTOOL_DEPS="$ltmain"
13671
13672 # Always use our own libtool.
13673-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
13674+LIBTOOL='$(SHELL) $(top_builddir)'
13675+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
13676
13677
13678
13679@@ -7929,7 +8429,7 @@
13680 esac
13681
13682 # Global variables:
13683-ofile=libtool
13684+ofile=${host_alias}-libtool
13685 can_build_shared=yes
13686
13687 # All known linkers require a `.a' archive for static linking (except MSVC,
13688@@ -8227,8 +8727,6 @@
13689 lt_prog_compiler_pic=
13690 lt_prog_compiler_static=
13691
13692-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13693-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13694
13695 if test "$GCC" = yes; then
13696 lt_prog_compiler_wl='-Wl,'
13697@@ -8393,6 +8891,12 @@
13698 lt_prog_compiler_pic='--shared'
13699 lt_prog_compiler_static='--static'
13700 ;;
13701+ nagfor*)
13702+ # NAG Fortran compiler
13703+ lt_prog_compiler_wl='-Wl,-Wl,,'
13704+ lt_prog_compiler_pic='-PIC'
13705+ lt_prog_compiler_static='-Bstatic'
13706+ ;;
13707 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13708 # Portland Group compilers (*not* the Pentium gcc compiler,
13709 # which looks to be a dead project)
13710@@ -8455,7 +8959,7 @@
13711 lt_prog_compiler_pic='-KPIC'
13712 lt_prog_compiler_static='-Bstatic'
13713 case $cc_basename in
13714- f77* | f90* | f95*)
13715+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
13716 lt_prog_compiler_wl='-Qoption ld ';;
13717 *)
13718 lt_prog_compiler_wl='-Wl,';;
13719@@ -8512,13 +9016,17 @@
13720 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13721 ;;
13722 esac
13723-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
13724-$as_echo "$lt_prog_compiler_pic" >&6; }
13725-
13726-
13727-
13728-
13729
13730+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13731+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13732+if test "${lt_cv_prog_compiler_pic+set}" = set; then :
13733+ $as_echo_n "(cached) " >&6
13734+else
13735+ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
13736+fi
13737+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
13738+$as_echo "$lt_cv_prog_compiler_pic" >&6; }
13739+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
13740
13741 #
13742 # Check to make sure the PIC flag actually works.
13743@@ -8579,6 +9087,11 @@
13744
13745
13746
13747+
13748+
13749+
13750+
13751+
13752 #
13753 # Check to make sure the static flag actually works.
13754 #
13755@@ -8929,7 +9442,8 @@
13756 allow_undefined_flag=unsupported
13757 always_export_symbols=no
13758 enable_shared_with_static_runtimes=yes
13759- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13760+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13761+ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
13762
13763 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13764 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13765@@ -8977,7 +9491,7 @@
13766 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13767 && test "$tmp_diet" = no
13768 then
13769- tmp_addflag=
13770+ tmp_addflag=' $pic_flag'
13771 tmp_sharedflag='-shared'
13772 case $cc_basename,$host_cpu in
13773 pgcc*) # Portland Group C compiler
13774@@ -9028,12 +9542,12 @@
13775 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
13776 hardcode_libdir_flag_spec=
13777 hardcode_libdir_flag_spec_ld='-rpath $libdir'
13778- archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13779+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
13780 if test "x$supports_anon_versioning" = xyes; then
13781 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
13782 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13783 echo "local: *; };" >> $output_objdir/$libname.ver~
13784- $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13785+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13786 fi
13787 ;;
13788 esac
13789@@ -9047,8 +9561,8 @@
13790 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13791 wlarc=
13792 else
13793- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13794- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13795+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13796+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13797 fi
13798 ;;
13799
13800@@ -9066,8 +9580,8 @@
13801
13802 _LT_EOF
13803 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13804- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13805- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13806+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13807+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13808 else
13809 ld_shlibs=no
13810 fi
13811@@ -9113,8 +9627,8 @@
13812
13813 *)
13814 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13815- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13816- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13817+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13818+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13819 else
13820 ld_shlibs=no
13821 fi
13822@@ -9244,7 +9758,13 @@
13823 allow_undefined_flag='-berok'
13824 # Determine the default libpath from the value encoded in an
13825 # empty executable.
13826- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13827+ if test "${lt_cv_aix_libpath+set}" = set; then
13828+ aix_libpath=$lt_cv_aix_libpath
13829+else
13830+ if test "${lt_cv_aix_libpath_+set}" = set; then :
13831+ $as_echo_n "(cached) " >&6
13832+else
13833+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13835
13836 int
13837@@ -9257,22 +9777,29 @@
13838 _ACEOF
13839 if ac_fn_c_try_link "$LINENO"; then :
13840
13841-lt_aix_libpath_sed='
13842- /Import File Strings/,/^$/ {
13843- /^0/ {
13844- s/^0 *\(.*\)$/\1/
13845- p
13846- }
13847- }'
13848-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13849-# Check for a 64-bit object if we didn't find anything.
13850-if test -z "$aix_libpath"; then
13851- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13852-fi
13853+ lt_aix_libpath_sed='
13854+ /Import File Strings/,/^$/ {
13855+ /^0/ {
13856+ s/^0 *\([^ ]*\) *$/\1/
13857+ p
13858+ }
13859+ }'
13860+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13861+ # Check for a 64-bit object if we didn't find anything.
13862+ if test -z "$lt_cv_aix_libpath_"; then
13863+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13864+ fi
13865 fi
13866 rm -f core conftest.err conftest.$ac_objext \
13867 conftest$ac_exeext conftest.$ac_ext
13868-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13869+ if test -z "$lt_cv_aix_libpath_"; then
13870+ lt_cv_aix_libpath_="/usr/lib:/lib"
13871+ fi
13872+
13873+fi
13874+
13875+ aix_libpath=$lt_cv_aix_libpath_
13876+fi
13877
13878 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13879 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13880@@ -9284,7 +9811,13 @@
13881 else
13882 # Determine the default libpath from the value encoded in an
13883 # empty executable.
13884- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885+ if test "${lt_cv_aix_libpath+set}" = set; then
13886+ aix_libpath=$lt_cv_aix_libpath
13887+else
13888+ if test "${lt_cv_aix_libpath_+set}" = set; then :
13889+ $as_echo_n "(cached) " >&6
13890+else
13891+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13893
13894 int
13895@@ -9297,22 +9830,29 @@
13896 _ACEOF
13897 if ac_fn_c_try_link "$LINENO"; then :
13898
13899-lt_aix_libpath_sed='
13900- /Import File Strings/,/^$/ {
13901- /^0/ {
13902- s/^0 *\(.*\)$/\1/
13903- p
13904- }
13905- }'
13906-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13907-# Check for a 64-bit object if we didn't find anything.
13908-if test -z "$aix_libpath"; then
13909- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13910-fi
13911+ lt_aix_libpath_sed='
13912+ /Import File Strings/,/^$/ {
13913+ /^0/ {
13914+ s/^0 *\([^ ]*\) *$/\1/
13915+ p
13916+ }
13917+ }'
13918+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13919+ # Check for a 64-bit object if we didn't find anything.
13920+ if test -z "$lt_cv_aix_libpath_"; then
13921+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13922+ fi
13923 fi
13924 rm -f core conftest.err conftest.$ac_objext \
13925 conftest$ac_exeext conftest.$ac_ext
13926-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13927+ if test -z "$lt_cv_aix_libpath_"; then
13928+ lt_cv_aix_libpath_="/usr/lib:/lib"
13929+ fi
13930+
13931+fi
13932+
13933+ aix_libpath=$lt_cv_aix_libpath_
13934+fi
13935
13936 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
13937 # Warning - without using the other run time loading flags,
13938@@ -9357,20 +9897,63 @@
13939 # Microsoft Visual C++.
13940 # hardcode_libdir_flag_spec is actually meaningless, as there is
13941 # no search path for DLLs.
13942- hardcode_libdir_flag_spec=' '
13943- allow_undefined_flag=unsupported
13944- # Tell ltmain to make .lib files, not .a files.
13945- libext=lib
13946- # Tell ltmain to make .dll files, not .so files.
13947- shrext_cmds=".dll"
13948- # FIXME: Setting linknames here is a bad hack.
13949- archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13950- # The linker will automatically build a .lib file if we build a DLL.
13951- old_archive_from_new_cmds='true'
13952- # FIXME: Should let the user specify the lib program.
13953- old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
13954- fix_srcfile_path='`cygpath -w "$srcfile"`'
13955- enable_shared_with_static_runtimes=yes
13956+ case $cc_basename in
13957+ cl*)
13958+ # Native MSVC
13959+ hardcode_libdir_flag_spec=' '
13960+ allow_undefined_flag=unsupported
13961+ always_export_symbols=yes
13962+ file_list_spec='@'
13963+ # Tell ltmain to make .lib files, not .a files.
13964+ libext=lib
13965+ # Tell ltmain to make .dll files, not .so files.
13966+ shrext_cmds=".dll"
13967+ # FIXME: Setting linknames here is a bad hack.
13968+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13969+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13970+ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13971+ else
13972+ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13973+ fi~
13974+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13975+ linknames='
13976+ # The linker will not automatically build a static lib if we build a DLL.
13977+ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
13978+ enable_shared_with_static_runtimes=yes
13979+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13980+ # Don't use ranlib
13981+ old_postinstall_cmds='chmod 644 $oldlib'
13982+ postlink_cmds='lt_outputfile="@OUTPUT@"~
13983+ lt_tool_outputfile="@TOOL_OUTPUT@"~
13984+ case $lt_outputfile in
13985+ *.exe|*.EXE) ;;
13986+ *)
13987+ lt_outputfile="$lt_outputfile.exe"
13988+ lt_tool_outputfile="$lt_tool_outputfile.exe"
13989+ ;;
13990+ esac~
13991+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13992+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13993+ $RM "$lt_outputfile.manifest";
13994+ fi'
13995+ ;;
13996+ *)
13997+ # Assume MSVC wrapper
13998+ hardcode_libdir_flag_spec=' '
13999+ allow_undefined_flag=unsupported
14000+ # Tell ltmain to make .lib files, not .a files.
14001+ libext=lib
14002+ # Tell ltmain to make .dll files, not .so files.
14003+ shrext_cmds=".dll"
14004+ # FIXME: Setting linknames here is a bad hack.
14005+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14006+ # The linker will automatically build a .lib file if we build a DLL.
14007+ old_archive_from_new_cmds='true'
14008+ # FIXME: Should let the user specify the lib program.
14009+ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
14010+ enable_shared_with_static_runtimes=yes
14011+ ;;
14012+ esac
14013 ;;
14014
14015 darwin* | rhapsody*)
14016@@ -9435,7 +10018,7 @@
14017
14018 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14019 freebsd* | dragonfly*)
14020- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14021+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14022 hardcode_libdir_flag_spec='-R$libdir'
14023 hardcode_direct=yes
14024 hardcode_shlibpath_var=no
14025@@ -9443,7 +10026,7 @@
14026
14027 hpux9*)
14028 if test "$GCC" = yes; then
14029- archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14030+ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14031 else
14032 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14033 fi
14034@@ -9459,7 +10042,7 @@
14035
14036 hpux10*)
14037 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14038- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14039+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14040 else
14041 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14042 fi
14043@@ -9483,10 +10066,10 @@
14044 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14045 ;;
14046 ia64*)
14047- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14048+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14049 ;;
14050 *)
14051- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14052+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14053 ;;
14054 esac
14055 else
14056@@ -9565,23 +10148,36 @@
14057
14058 irix5* | irix6* | nonstopux*)
14059 if test "$GCC" = yes; then
14060- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14061+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14062 # Try to use the -exported_symbol ld option, if it does not
14063 # work, assume that -exports_file does not work either and
14064 # implicitly export all symbols.
14065- save_LDFLAGS="$LDFLAGS"
14066- LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14067- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068+ # This should be the same for all languages, so no per-tag cache variable.
14069+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
14070+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
14071+if test "${lt_cv_irix_exported_symbol+set}" = set; then :
14072+ $as_echo_n "(cached) " >&6
14073+else
14074+ save_LDFLAGS="$LDFLAGS"
14075+ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14076+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14077 /* end confdefs.h. */
14078-int foo(void) {}
14079+int foo (void) { return 0; }
14080 _ACEOF
14081 if ac_fn_c_try_link "$LINENO"; then :
14082- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
14083-
14084+ lt_cv_irix_exported_symbol=yes
14085+else
14086+ lt_cv_irix_exported_symbol=no
14087 fi
14088 rm -f core conftest.err conftest.$ac_objext \
14089 conftest$ac_exeext conftest.$ac_ext
14090- LDFLAGS="$save_LDFLAGS"
14091+ LDFLAGS="$save_LDFLAGS"
14092+fi
14093+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
14094+$as_echo "$lt_cv_irix_exported_symbol" >&6; }
14095+ if test "$lt_cv_irix_exported_symbol" = yes; then
14096+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
14097+ fi
14098 else
14099 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14100 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
14101@@ -9666,7 +10262,7 @@
14102 osf4* | osf5*) # as osf3* with the addition of -msym flag
14103 if test "$GCC" = yes; then
14104 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
14105- archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14106+ archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14107 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14108 else
14109 allow_undefined_flag=' -expect_unresolved \*'
14110@@ -9685,9 +10281,9 @@
14111 no_undefined_flag=' -z defs'
14112 if test "$GCC" = yes; then
14113 wlarc='${wl}'
14114- archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14115+ archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14116 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14117- $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14118+ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14119 else
14120 case `$CC -V 2>&1` in
14121 *"Compilers 5.0"*)
14122@@ -10263,8 +10859,9 @@
14123 need_version=no
14124 need_lib_prefix=no
14125
14126- case $GCC,$host_os in
14127- yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14128+ case $GCC,$cc_basename in
14129+ yes,*)
14130+ # gcc
14131 library_names_spec='$libname.dll.a'
14132 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14133 postinstall_cmds='base_file=`basename \${file}`~
14134@@ -10297,13 +10894,71 @@
14135 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14136 ;;
14137 esac
14138+ dynamic_linker='Win32 ld.exe'
14139+ ;;
14140+
14141+ *,cl*)
14142+ # Native MSVC
14143+ libname_spec='$name'
14144+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14145+ library_names_spec='${libname}.dll.lib'
14146+
14147+ case $build_os in
14148+ mingw*)
14149+ sys_lib_search_path_spec=
14150+ lt_save_ifs=$IFS
14151+ IFS=';'
14152+ for lt_path in $LIB
14153+ do
14154+ IFS=$lt_save_ifs
14155+ # Let DOS variable expansion print the short 8.3 style file name.
14156+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14157+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14158+ done
14159+ IFS=$lt_save_ifs
14160+ # Convert to MSYS style.
14161+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14162+ ;;
14163+ cygwin*)
14164+ # Convert to unix form, then to dos form, then back to unix form
14165+ # but this time dos style (no spaces!) so that the unix form looks
14166+ # like /cygdrive/c/PROGRA~1:/cygdr...
14167+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14168+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14169+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14170+ ;;
14171+ *)
14172+ sys_lib_search_path_spec="$LIB"
14173+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14174+ # It is most probably a Windows format PATH.
14175+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14176+ else
14177+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14178+ fi
14179+ # FIXME: find the short name or the path components, as spaces are
14180+ # common. (e.g. "Program Files" -> "PROGRA~1")
14181+ ;;
14182+ esac
14183+
14184+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
14185+ postinstall_cmds='base_file=`basename \${file}`~
14186+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14187+ dldir=$destdir/`dirname \$dlpath`~
14188+ test -d \$dldir || mkdir -p \$dldir~
14189+ $install_prog $dir/$dlname \$dldir/$dlname'
14190+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14191+ dlpath=$dir/\$dldll~
14192+ $RM \$dlpath'
14193+ shlibpath_overrides_runpath=yes
14194+ dynamic_linker='Win32 link.exe'
14195 ;;
14196
14197 *)
14198+ # Assume MSVC wrapper
14199 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14200+ dynamic_linker='Win32 ld.exe'
14201 ;;
14202 esac
14203- dynamic_linker='Win32 ld.exe'
14204 # FIXME: first we should search . and the directory the executable is in
14205 shlibpath_var=PATH
14206 ;;
14207@@ -10399,7 +11054,7 @@
14208 soname_spec='${libname}${release}${shared_ext}$major'
14209 shlibpath_var=LIBRARY_PATH
14210 shlibpath_overrides_runpath=yes
14211- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14212+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14213 hardcode_into_libs=yes
14214 ;;
14215
14216@@ -11195,7 +11850,7 @@
14217 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14218 lt_status=$lt_dlunknown
14219 cat > conftest.$ac_ext <<_LT_EOF
14220-#line 11198 "configure"
14221+#line $LINENO "configure"
14222 #include "confdefs.h"
14223
14224 #if HAVE_DLFCN_H
14225@@ -11239,10 +11894,10 @@
14226 /* When -fvisbility=hidden is used, assume the code has been annotated
14227 correspondingly for the symbols needed. */
14228 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14229-void fnord () __attribute__((visibility("default")));
14230+int fnord () __attribute__((visibility("default")));
14231 #endif
14232
14233-void fnord () { int i=42; }
14234+int fnord () { return 42; }
14235 int main ()
14236 {
14237 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14238@@ -11301,7 +11956,7 @@
14239 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14240 lt_status=$lt_dlunknown
14241 cat > conftest.$ac_ext <<_LT_EOF
14242-#line 11304 "configure"
14243+#line $LINENO "configure"
14244 #include "confdefs.h"
14245
14246 #if HAVE_DLFCN_H
14247@@ -11345,10 +12000,10 @@
14248 /* When -fvisbility=hidden is used, assume the code has been annotated
14249 correspondingly for the symbols needed. */
14250 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14251-void fnord () __attribute__((visibility("default")));
14252+int fnord () __attribute__((visibility("default")));
14253 #endif
14254
14255-void fnord () { int i=42; }
14256+int fnord () { return 42; }
14257 int main ()
14258 {
14259 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14260@@ -14941,13 +15596,20 @@
14261 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14262 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14263 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14264+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14265+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14266 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14267 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14268 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14269 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14270 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14271+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14272+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14273+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14274+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14275 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14276 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14277+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14278 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14279 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14280 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14281@@ -14962,14 +15624,17 @@
14282 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14283 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14284 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
14285+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14286+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14287 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14288 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14289 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14290-lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14291 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14292+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14293 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14294 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14295 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14296+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14297 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14298 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14299 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14300@@ -15002,12 +15667,12 @@
14301 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14302 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14303 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14304-fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
14305 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14306 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14307 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14308 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14309 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14310+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14311 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14312 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14313 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14314@@ -15062,8 +15727,13 @@
14315 OBJDUMP \
14316 deplibs_check_method \
14317 file_magic_cmd \
14318+file_magic_glob \
14319+want_nocaseglob \
14320+DLLTOOL \
14321+sharedlib_from_linklib_cmd \
14322 AR \
14323 AR_FLAGS \
14324+archiver_list_spec \
14325 STRIP \
14326 RANLIB \
14327 CC \
14328@@ -15073,12 +15743,14 @@
14329 lt_cv_sys_global_symbol_to_cdecl \
14330 lt_cv_sys_global_symbol_to_c_name_address \
14331 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14332+nm_file_list_spec \
14333 lt_prog_compiler_no_builtin_flag \
14334-lt_prog_compiler_wl \
14335 lt_prog_compiler_pic \
14336+lt_prog_compiler_wl \
14337 lt_prog_compiler_static \
14338 lt_cv_prog_compiler_c_o \
14339 need_locks \
14340+MANIFEST_TOOL \
14341 DSYMUTIL \
14342 NMEDIT \
14343 LIPO \
14344@@ -15094,7 +15766,6 @@
14345 hardcode_libdir_flag_spec \
14346 hardcode_libdir_flag_spec_ld \
14347 hardcode_libdir_separator \
14348-fix_srcfile_path \
14349 exclude_expsyms \
14350 include_expsyms \
14351 file_list_spec \
14352@@ -15130,6 +15801,7 @@
14353 module_expsym_cmds \
14354 export_symbols_cmds \
14355 prelink_cmds \
14356+postlink_cmds \
14357 postinstall_cmds \
14358 postuninstall_cmds \
14359 finish_cmds \
14360@@ -15894,7 +16566,8 @@
14361 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14362 #
14363 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14364-# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14365+# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14366+# Inc.
14367 # Written by Gordon Matzigkeit, 1996
14368 #
14369 # This file is part of GNU Libtool.
14370@@ -15997,19 +16670,42 @@
14371 # turn newlines into spaces.
14372 NL2SP=$lt_lt_NL2SP
14373
14374+# convert \$build file names to \$host format.
14375+to_host_file_cmd=$lt_cv_to_host_file_cmd
14376+
14377+# convert \$build files to toolchain format.
14378+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14379+
14380 # An object symbol dumper.
14381 OBJDUMP=$lt_OBJDUMP
14382
14383 # Method to check whether dependent libraries are shared objects.
14384 deplibs_check_method=$lt_deplibs_check_method
14385
14386-# Command to use when deplibs_check_method == "file_magic".
14387+# Command to use when deplibs_check_method = "file_magic".
14388 file_magic_cmd=$lt_file_magic_cmd
14389
14390+# How to find potential files when deplibs_check_method = "file_magic".
14391+file_magic_glob=$lt_file_magic_glob
14392+
14393+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14394+want_nocaseglob=$lt_want_nocaseglob
14395+
14396+# DLL creation program.
14397+DLLTOOL=$lt_DLLTOOL
14398+
14399+# Command to associate shared and link libraries.
14400+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14401+
14402 # The archiver.
14403 AR=$lt_AR
14404+
14405+# Flags to create an archive.
14406 AR_FLAGS=$lt_AR_FLAGS
14407
14408+# How to feed a file listing to the archiver.
14409+archiver_list_spec=$lt_archiver_list_spec
14410+
14411 # A symbol stripping program.
14412 STRIP=$lt_STRIP
14413
14414@@ -16039,6 +16735,12 @@
14415 # Transform the output of nm in a C name address pair when lib prefix is needed.
14416 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14417
14418+# Specify filename containing input files for \$NM.
14419+nm_file_list_spec=$lt_nm_file_list_spec
14420+
14421+# The root where to search for dependent libraries,and in which our libraries should be installed.
14422+lt_sysroot=$lt_sysroot
14423+
14424 # The name of the directory that contains temporary libtool files.
14425 objdir=$objdir
14426
14427@@ -16048,6 +16750,9 @@
14428 # Must we lock files when doing compilation?
14429 need_locks=$lt_need_locks
14430
14431+# Manifest tool.
14432+MANIFEST_TOOL=$lt_MANIFEST_TOOL
14433+
14434 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14435 DSYMUTIL=$lt_DSYMUTIL
14436
14437@@ -16162,12 +16867,12 @@
14438 # Compiler flag to turn off builtin functions.
14439 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14440
14441-# How to pass a linker flag through the compiler.
14442-wl=$lt_lt_prog_compiler_wl
14443-
14444 # Additional compiler flags for building library objects.
14445 pic_flag=$lt_lt_prog_compiler_pic
14446
14447+# How to pass a linker flag through the compiler.
14448+wl=$lt_lt_prog_compiler_wl
14449+
14450 # Compiler flag to prevent dynamic linking.
14451 link_static_flag=$lt_lt_prog_compiler_static
14452
14453@@ -16254,9 +16959,6 @@
14454 # Whether libtool must link a program against all its dependency libraries.
14455 link_all_deplibs=$link_all_deplibs
14456
14457-# Fix the shell variable \$srcfile for the compiler.
14458-fix_srcfile_path=$lt_fix_srcfile_path
14459-
14460 # Set to "yes" if exported symbols are required.
14461 always_export_symbols=$always_export_symbols
14462
14463@@ -16272,6 +16974,9 @@
14464 # Commands necessary for linking programs (against libraries) with templates.
14465 prelink_cmds=$lt_prelink_cmds
14466
14467+# Commands necessary for finishing linking programs.
14468+postlink_cmds=$lt_postlink_cmds
14469+
14470 # Specify filename containing input files.
14471 file_list_spec=$lt_file_list_spec
14472
14473@@ -16304,210 +17009,169 @@
14474 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14475 # text mode, it properly converts lines to CR/LF. This bash problem
14476 # is reportedly fixed, but why not run on old versions too?
14477- sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14478- || (rm -f "$cfgfile"; exit 1)
14479-
14480- case $xsi_shell in
14481- yes)
14482- cat << \_LT_EOF >> "$cfgfile"
14483-
14484-# func_dirname file append nondir_replacement
14485-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14486-# otherwise set result to NONDIR_REPLACEMENT.
14487-func_dirname ()
14488-{
14489- case ${1} in
14490- */*) func_dirname_result="${1%/*}${2}" ;;
14491- * ) func_dirname_result="${3}" ;;
14492- esac
14493-}
14494-
14495-# func_basename file
14496-func_basename ()
14497-{
14498- func_basename_result="${1##*/}"
14499-}
14500-
14501-# func_dirname_and_basename file append nondir_replacement
14502-# perform func_basename and func_dirname in a single function
14503-# call:
14504-# dirname: Compute the dirname of FILE. If nonempty,
14505-# add APPEND to the result, otherwise set result
14506-# to NONDIR_REPLACEMENT.
14507-# value returned in "$func_dirname_result"
14508-# basename: Compute filename of FILE.
14509-# value retuned in "$func_basename_result"
14510-# Implementation must be kept synchronized with func_dirname
14511-# and func_basename. For efficiency, we do not delegate to
14512-# those functions but instead duplicate the functionality here.
14513-func_dirname_and_basename ()
14514-{
14515- case ${1} in
14516- */*) func_dirname_result="${1%/*}${2}" ;;
14517- * ) func_dirname_result="${3}" ;;
14518- esac
14519- func_basename_result="${1##*/}"
14520-}
14521-
14522-# func_stripname prefix suffix name
14523-# strip PREFIX and SUFFIX off of NAME.
14524-# PREFIX and SUFFIX must not contain globbing or regex special
14525-# characters, hashes, percent signs, but SUFFIX may contain a leading
14526-# dot (in which case that matches only a dot).
14527-func_stripname ()
14528-{
14529- # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14530- # positional parameters, so assign one to ordinary parameter first.
14531- func_stripname_result=${3}
14532- func_stripname_result=${func_stripname_result#"${1}"}
14533- func_stripname_result=${func_stripname_result%"${2}"}
14534-}
14535-
14536-# func_opt_split
14537-func_opt_split ()
14538-{
14539- func_opt_split_opt=${1%%=*}
14540- func_opt_split_arg=${1#*=}
14541-}
14542-
14543-# func_lo2o object
14544-func_lo2o ()
14545-{
14546- case ${1} in
14547- *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14548- *) func_lo2o_result=${1} ;;
14549- esac
14550-}
14551-
14552-# func_xform libobj-or-source
14553-func_xform ()
14554-{
14555- func_xform_result=${1%.*}.lo
14556-}
14557-
14558-# func_arith arithmetic-term...
14559-func_arith ()
14560-{
14561- func_arith_result=$(( $* ))
14562-}
14563-
14564-# func_len string
14565-# STRING may not start with a hyphen.
14566-func_len ()
14567-{
14568- func_len_result=${#1}
14569-}
14570-
14571-_LT_EOF
14572- ;;
14573- *) # Bourne compatible functions.
14574- cat << \_LT_EOF >> "$cfgfile"
14575-
14576-# func_dirname file append nondir_replacement
14577-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14578-# otherwise set result to NONDIR_REPLACEMENT.
14579-func_dirname ()
14580-{
14581- # Extract subdirectory from the argument.
14582- func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
14583- if test "X$func_dirname_result" = "X${1}"; then
14584- func_dirname_result="${3}"
14585- else
14586- func_dirname_result="$func_dirname_result${2}"
14587- fi
14588-}
14589-
14590-# func_basename file
14591-func_basename ()
14592-{
14593- func_basename_result=`$ECHO "${1}" | $SED "$basename"`
14594-}
14595-
14596-
14597-# func_stripname prefix suffix name
14598-# strip PREFIX and SUFFIX off of NAME.
14599-# PREFIX and SUFFIX must not contain globbing or regex special
14600-# characters, hashes, percent signs, but SUFFIX may contain a leading
14601-# dot (in which case that matches only a dot).
14602-# func_strip_suffix prefix name
14603-func_stripname ()
14604-{
14605- case ${2} in
14606- .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14607- *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14608- esac
14609-}
14610-
14611-# sed scripts:
14612-my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14613-my_sed_long_arg='1s/^-[^=]*=//'
14614-
14615-# func_opt_split
14616-func_opt_split ()
14617-{
14618- func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14619- func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14620-}
14621-
14622-# func_lo2o object
14623-func_lo2o ()
14624-{
14625- func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
14626-}
14627-
14628-# func_xform libobj-or-source
14629-func_xform ()
14630-{
14631- func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14632-}
14633-
14634-# func_arith arithmetic-term...
14635-func_arith ()
14636-{
14637- func_arith_result=`expr "$@"`
14638-}
14639-
14640-# func_len string
14641-# STRING may not start with a hyphen.
14642-func_len ()
14643-{
14644- func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14645-}
14646-
14647-_LT_EOF
14648-esac
14649-
14650-case $lt_shell_append in
14651- yes)
14652- cat << \_LT_EOF >> "$cfgfile"
14653-
14654-# func_append var value
14655-# Append VALUE to the end of shell variable VAR.
14656-func_append ()
14657-{
14658- eval "$1+=\$2"
14659-}
14660-_LT_EOF
14661- ;;
14662- *)
14663- cat << \_LT_EOF >> "$cfgfile"
14664-
14665-# func_append var value
14666-# Append VALUE to the end of shell variable VAR.
14667-func_append ()
14668-{
14669- eval "$1=\$$1\$2"
14670-}
14671-
14672-_LT_EOF
14673- ;;
14674- esac
14675+ sed '$q' "$ltmain" >> "$cfgfile" \
14676+ || (rm -f "$cfgfile"; exit 1)
14677
14678+ if test x"$xsi_shell" = xyes; then
14679+ sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14680+func_dirname ()\
14681+{\
14682+\ case ${1} in\
14683+\ */*) func_dirname_result="${1%/*}${2}" ;;\
14684+\ * ) func_dirname_result="${3}" ;;\
14685+\ esac\
14686+} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14687+ && mv -f "$cfgfile.tmp" "$cfgfile" \
14688+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14689+test 0 -eq $? || _lt_function_replace_fail=:
14690+
14691+
14692+ sed -e '/^func_basename ()$/,/^} # func_basename /c\
14693+func_basename ()\
14694+{\
14695+\ func_basename_result="${1##*/}"\
14696+} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14697+ && mv -f "$cfgfile.tmp" "$cfgfile" \
14698+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14699+test 0 -eq $? || _lt_function_replace_fail=:
14700+
14701+
14702+ sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14703+func_dirname_and_basename ()\
14704+{\
14705+\ case ${1} in\
14706+\ */*) func_dirname_result="${1%/*}${2}" ;;\
14707+\ * ) func_dirname_result="${3}" ;;\
14708+\ esac\
14709+\ func_basename_result="${1##*/}"\
14710+} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14711+ && mv -f "$cfgfile.tmp" "$cfgfile" \
14712+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14713+test 0 -eq $? || _lt_function_replace_fail=:
14714+
14715+
14716+ sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14717+func_stripname ()\
14718+{\
14719+\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14720+\ # positional parameters, so assign one to ordinary parameter first.\
14721+\ func_stripname_result=${3}\
14722+\ func_stripname_result=${func_stripname_result#"${1}"}\
14723+\ func_stripname_result=${func_stripname_result%"${2}"}\
14724+} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14725+ && mv -f "$cfgfile.tmp" "$cfgfile" \
14726+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14727+test 0 -eq $? || _lt_function_replace_fail=:
14728+
14729+
14730+ sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14731+func_split_long_opt ()\
14732+{\
14733+\ func_split_long_opt_name=${1%%=*}\
14734+\ func_split_long_opt_arg=${1#*=}\
14735+} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14736+ && mv -f "$cfgfile.tmp" "$cfgfile" \
14737+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14738+test 0 -eq $? || _lt_function_replace_fail=:
14739+
14740+
14741+ sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14742+func_split_short_opt ()\
14743+{\
14744+\ func_split_short_opt_arg=${1#??}\
14745+\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14746+} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14747+ && mv -f "$cfgfile.tmp" "$cfgfile" \
14748+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14749+test 0 -eq $? || _lt_function_replace_fail=:
14750+
14751+
14752+ sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14753+func_lo2o ()\
14754+{\
14755+\ case ${1} in\
14756+\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14757+\ *) func_lo2o_result=${1} ;;\
14758+\ esac\
14759+} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14760+ && mv -f "$cfgfile.tmp" "$cfgfile" \
14761+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14762+test 0 -eq $? || _lt_function_replace_fail=:
14763+
14764+
14765+ sed -e '/^func_xform ()$/,/^} # func_xform /c\
14766+func_xform ()\
14767+{\
14768+ func_xform_result=${1%.*}.lo\
14769+} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14770+ && mv -f "$cfgfile.tmp" "$cfgfile" \
14771+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14772+test 0 -eq $? || _lt_function_replace_fail=:
14773+
14774+
14775+ sed -e '/^func_arith ()$/,/^} # func_arith /c\
14776+func_arith ()\
14777+{\
14778+ func_arith_result=$(( $* ))\
14779+} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14780+ && mv -f "$cfgfile.tmp" "$cfgfile" \
14781+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14782+test 0 -eq $? || _lt_function_replace_fail=:
14783+
14784+
14785+ sed -e '/^func_len ()$/,/^} # func_len /c\
14786+func_len ()\
14787+{\
14788+ func_len_result=${#1}\
14789+} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14790+ && mv -f "$cfgfile.tmp" "$cfgfile" \
14791+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14792+test 0 -eq $? || _lt_function_replace_fail=:
14793+
14794+fi
14795+
14796+if test x"$lt_shell_append" = xyes; then
14797+ sed -e '/^func_append ()$/,/^} # func_append /c\
14798+func_append ()\
14799+{\
14800+ eval "${1}+=\\${2}"\
14801+} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14802+ && mv -f "$cfgfile.tmp" "$cfgfile" \
14803+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14804+test 0 -eq $? || _lt_function_replace_fail=:
14805+
14806+
14807+ sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14808+func_append_quoted ()\
14809+{\
14810+\ func_quote_for_eval "${2}"\
14811+\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14812+} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14813+ && mv -f "$cfgfile.tmp" "$cfgfile" \
14814+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14815+test 0 -eq $? || _lt_function_replace_fail=:
14816+
14817+
14818+ # Save a `func_append' function call where possible by direct use of '+='
14819+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14820+ && mv -f "$cfgfile.tmp" "$cfgfile" \
14821+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14822+ test 0 -eq $? || _lt_function_replace_fail=:
14823+else
14824+ # Save a `func_append' function call even when '+=' is not available
14825+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14826+ && mv -f "$cfgfile.tmp" "$cfgfile" \
14827+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14828+ test 0 -eq $? || _lt_function_replace_fail=:
14829+fi
14830+
14831+if test x"$_lt_function_replace_fail" = x":"; then
14832+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14833+$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14834+fi
14835
14836- sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14837- || (rm -f "$cfgfile"; exit 1)
14838
14839- mv -f "$cfgfile" "$ofile" ||
14840+ mv -f "$cfgfile" "$ofile" ||
14841 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14842 chmod +x "$ofile"
14843
14844Index: binutils-2.21/gprof/configure
14845===================================================================
14846--- binutils-2.21.orig/gprof/configure 2011-01-07 10:49:15.956101000 -0800
14847+++ binutils-2.21/gprof/configure 2011-01-07 10:49:16.436101000 -0800
14848@@ -629,8 +629,11 @@
14849 LIPO
14850 NMEDIT
14851 DSYMUTIL
14852+MANIFEST_TOOL
14853 RANLIB
14854+ac_ct_AR
14855 AR
14856+DLLTOOL
14857 OBJDUMP
14858 LN_S
14859 NM
14860@@ -743,6 +746,7 @@
14861 with_pic
14862 enable_fast_install
14863 with_gnu_ld
14864+with_libtool_sysroot
14865 enable_libtool_lock
14866 enable_nls
14867 enable_maintainer_mode
14868@@ -1397,6 +1401,8 @@
14869 --with-pic try to use only PIC/non-PIC objects [default=use
14870 both]
14871 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
14872+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
14873+ (or the compiler's sysroot if not specified).
14874
14875 Some influential environment variables:
14876 CC C compiler command
14877@@ -5065,8 +5071,8 @@
14878
14879
14880
14881-macro_version='2.2.7a'
14882-macro_revision='1.3134'
14883+macro_version='2.4'
14884+macro_revision='1.3293'
14885
14886
14887
14888@@ -5106,7 +5112,7 @@
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
14890 $as_echo_n "checking how to print strings... " >&6; }
14891 # Test print first, because it will be a builtin if present.
14892-if test "X`print -r -- -n 2>/dev/null`" = X-n && \
14893+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
14894 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
14895 ECHO='print -r --'
14896 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
14897@@ -5792,8 +5798,8 @@
14898 # Try some XSI features
14899 xsi_shell=no
14900 ( _lt_dummy="a/b/c"
14901- test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
14902- = c,a/b,, \
14903+ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
14904+ = c,a/b,b/c, \
14905 && eval 'test $(( 1 + 1 )) -eq 2 \
14906 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
14907 && xsi_shell=yes
14908@@ -5842,6 +5848,80 @@
14909
14910
14911
14912+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
14913+$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
14914+if test "${lt_cv_to_host_file_cmd+set}" = set; then :
14915+ $as_echo_n "(cached) " >&6
14916+else
14917+ case $host in
14918+ *-*-mingw* )
14919+ case $build in
14920+ *-*-mingw* ) # actually msys
14921+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
14922+ ;;
14923+ *-*-cygwin* )
14924+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
14925+ ;;
14926+ * ) # otherwise, assume *nix
14927+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
14928+ ;;
14929+ esac
14930+ ;;
14931+ *-*-cygwin* )
14932+ case $build in
14933+ *-*-mingw* ) # actually msys
14934+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
14935+ ;;
14936+ *-*-cygwin* )
14937+ lt_cv_to_host_file_cmd=func_convert_file_noop
14938+ ;;
14939+ * ) # otherwise, assume *nix
14940+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
14941+ ;;
14942+ esac
14943+ ;;
14944+ * ) # unhandled hosts (and "normal" native builds)
14945+ lt_cv_to_host_file_cmd=func_convert_file_noop
14946+ ;;
14947+esac
14948+
14949+fi
14950+
14951+to_host_file_cmd=$lt_cv_to_host_file_cmd
14952+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
14953+$as_echo "$lt_cv_to_host_file_cmd" >&6; }
14954+
14955+
14956+
14957+
14958+
14959+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
14960+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
14961+if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
14962+ $as_echo_n "(cached) " >&6
14963+else
14964+ #assume ordinary cross tools, or native build.
14965+lt_cv_to_tool_file_cmd=func_convert_file_noop
14966+case $host in
14967+ *-*-mingw* )
14968+ case $build in
14969+ *-*-mingw* ) # actually msys
14970+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
14971+ ;;
14972+ esac
14973+ ;;
14974+esac
14975+
14976+fi
14977+
14978+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14979+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
14980+$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
14981+
14982+
14983+
14984+
14985+
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
14987 $as_echo_n "checking for $LD option to reload object files... " >&6; }
14988 if test "${lt_cv_ld_reload_flag+set}" = set; then :
14989@@ -5858,6 +5938,11 @@
14990 esac
14991 reload_cmds='$LD$reload_flag -o $output$reload_objs'
14992 case $host_os in
14993+ cygwin* | mingw* | pw32* | cegcc*)
14994+ if test "$GCC" != yes; then
14995+ reload_cmds=false
14996+ fi
14997+ ;;
14998 darwin*)
14999 if test "$GCC" = yes; then
15000 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
15001@@ -6026,7 +6111,8 @@
15002 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
15003 lt_cv_file_magic_cmd='func_win32_libid'
15004 else
15005- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
15006+ # Keep this pattern in sync with the one in func_win32_libid.
15007+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
15008 lt_cv_file_magic_cmd='$OBJDUMP -f'
15009 fi
15010 ;;
15011@@ -6103,11 +6189,6 @@
15012 lt_cv_deplibs_check_method=pass_all
15013 ;;
15014
15015-linux-uclibc*)
15016- lt_cv_deplibs_check_method=pass_all
15017- lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`
15018- ;;
15019-
15020 netbsd*)
15021 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
15022 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
15023@@ -6185,6 +6266,21 @@
15024 fi
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
15026 $as_echo "$lt_cv_deplibs_check_method" >&6; }
15027+
15028+file_magic_glob=
15029+want_nocaseglob=no
15030+if test "$build" = "$host"; then
15031+ case $host_os in
15032+ mingw* | pw32*)
15033+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
15034+ want_nocaseglob=yes
15035+ else
15036+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
15037+ fi
15038+ ;;
15039+ esac
15040+fi
15041+
15042 file_magic_cmd=$lt_cv_file_magic_cmd
15043 deplibs_check_method=$lt_cv_deplibs_check_method
15044 test -z "$deplibs_check_method" && deplibs_check_method=unknown
15045@@ -6200,9 +6296,162 @@
15046
15047
15048
15049+
15050+
15051+
15052+
15053+
15054+
15055+
15056+
15057+
15058+
15059 if test -n "$ac_tool_prefix"; then
15060- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15061-set dummy ${ac_tool_prefix}ar; ac_word=$2
15062+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15063+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15064+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15065+$as_echo_n "checking for $ac_word... " >&6; }
15066+if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
15067+ $as_echo_n "(cached) " >&6
15068+else
15069+ if test -n "$DLLTOOL"; then
15070+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15071+else
15072+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15073+for as_dir in $PATH
15074+do
15075+ IFS=$as_save_IFS
15076+ test -z "$as_dir" && as_dir=.
15077+ for ac_exec_ext in '' $ac_executable_extensions; do
15078+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15079+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15080+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15081+ break 2
15082+ fi
15083+done
15084+ done
15085+IFS=$as_save_IFS
15086+
15087+fi
15088+fi
15089+DLLTOOL=$ac_cv_prog_DLLTOOL
15090+if test -n "$DLLTOOL"; then
15091+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
15092+$as_echo "$DLLTOOL" >&6; }
15093+else
15094+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15095+$as_echo "no" >&6; }
15096+fi
15097+
15098+
15099+fi
15100+if test -z "$ac_cv_prog_DLLTOOL"; then
15101+ ac_ct_DLLTOOL=$DLLTOOL
15102+ # Extract the first word of "dlltool", so it can be a program name with args.
15103+set dummy dlltool; ac_word=$2
15104+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15105+$as_echo_n "checking for $ac_word... " >&6; }
15106+if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
15107+ $as_echo_n "(cached) " >&6
15108+else
15109+ if test -n "$ac_ct_DLLTOOL"; then
15110+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15111+else
15112+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15113+for as_dir in $PATH
15114+do
15115+ IFS=$as_save_IFS
15116+ test -z "$as_dir" && as_dir=.
15117+ for ac_exec_ext in '' $ac_executable_extensions; do
15118+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15119+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15120+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15121+ break 2
15122+ fi
15123+done
15124+ done
15125+IFS=$as_save_IFS
15126+
15127+fi
15128+fi
15129+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15130+if test -n "$ac_ct_DLLTOOL"; then
15131+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
15132+$as_echo "$ac_ct_DLLTOOL" >&6; }
15133+else
15134+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15135+$as_echo "no" >&6; }
15136+fi
15137+
15138+ if test "x$ac_ct_DLLTOOL" = x; then
15139+ DLLTOOL="false"
15140+ else
15141+ case $cross_compiling:$ac_tool_warned in
15142+yes:)
15143+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15144+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15145+ac_tool_warned=yes ;;
15146+esac
15147+ DLLTOOL=$ac_ct_DLLTOOL
15148+ fi
15149+else
15150+ DLLTOOL="$ac_cv_prog_DLLTOOL"
15151+fi
15152+
15153+test -z "$DLLTOOL" && DLLTOOL=dlltool
15154+
15155+
15156+
15157+
15158+
15159+
15160+
15161+
15162+
15163+
15164+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
15165+$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
15166+if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
15167+ $as_echo_n "(cached) " >&6
15168+else
15169+ lt_cv_sharedlib_from_linklib_cmd='unknown'
15170+
15171+case $host_os in
15172+cygwin* | mingw* | pw32* | cegcc*)
15173+ # two different shell functions defined in ltmain.sh
15174+ # decide which to use based on capabilities of $DLLTOOL
15175+ case `$DLLTOOL --help 2>&1` in
15176+ *--identify-strict*)
15177+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
15178+ ;;
15179+ *)
15180+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
15181+ ;;
15182+ esac
15183+ ;;
15184+*)
15185+ # fallback: assume linklib IS sharedlib
15186+ lt_cv_sharedlib_from_linklib_cmd="$ECHO"
15187+ ;;
15188+esac
15189+
15190+fi
15191+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
15192+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
15193+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
15194+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
15195+
15196+
15197+
15198+
15199+
15200+
15201+
15202+if test -n "$ac_tool_prefix"; then
15203+ for ac_prog in ar
15204+ do
15205+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15206+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15208 $as_echo_n "checking for $ac_word... " >&6; }
15209 if test "${ac_cv_prog_AR+set}" = set; then :
15210@@ -6218,7 +6467,7 @@
15211 test -z "$as_dir" && as_dir=.
15212 for ac_exec_ext in '' $ac_executable_extensions; do
15213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15214- ac_cv_prog_AR="${ac_tool_prefix}ar"
15215+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
15216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15217 break 2
15218 fi
15219@@ -6238,11 +6487,15 @@
15220 fi
15221
15222
15223+ test -n "$AR" && break
15224+ done
15225 fi
15226-if test -z "$ac_cv_prog_AR"; then
15227+if test -z "$AR"; then
15228 ac_ct_AR=$AR
15229- # Extract the first word of "ar", so it can be a program name with args.
15230-set dummy ar; ac_word=$2
15231+ for ac_prog in ar
15232+do
15233+ # Extract the first word of "$ac_prog", so it can be a program name with args.
15234+set dummy $ac_prog; ac_word=$2
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15236 $as_echo_n "checking for $ac_word... " >&6; }
15237 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
15238@@ -6258,7 +6511,7 @@
15239 test -z "$as_dir" && as_dir=.
15240 for ac_exec_ext in '' $ac_executable_extensions; do
15241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15242- ac_cv_prog_ac_ct_AR="ar"
15243+ ac_cv_prog_ac_ct_AR="$ac_prog"
15244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15245 break 2
15246 fi
15247@@ -6277,6 +6530,10 @@
15248 $as_echo "no" >&6; }
15249 fi
15250
15251+
15252+ test -n "$ac_ct_AR" && break
15253+done
15254+
15255 if test "x$ac_ct_AR" = x; then
15256 AR="false"
15257 else
15258@@ -6288,16 +6545,72 @@
15259 esac
15260 AR=$ac_ct_AR
15261 fi
15262-else
15263- AR="$ac_cv_prog_AR"
15264 fi
15265
15266-test -z "$AR" && AR=ar
15267-test -z "$AR_FLAGS" && AR_FLAGS=cru
15268+: ${AR=ar}
15269+: ${AR_FLAGS=cru}
15270+
15271+
15272+
15273+
15274+
15275+
15276+
15277+
15278+
15279+
15280+
15281+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
15282+$as_echo_n "checking for archiver @FILE support... " >&6; }
15283+if test "${lt_cv_ar_at_file+set}" = set; then :
15284+ $as_echo_n "(cached) " >&6
15285+else
15286+ lt_cv_ar_at_file=no
15287+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15288+/* end confdefs.h. */
15289+
15290+int
15291+main ()
15292+{
15293
15294+ ;
15295+ return 0;
15296+}
15297+_ACEOF
15298+if ac_fn_c_try_compile "$LINENO"; then :
15299+ echo conftest.$ac_objext > conftest.lst
15300+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
15301+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
15302+ (eval $lt_ar_try) 2>&5
15303+ ac_status=$?
15304+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15305+ test $ac_status = 0; }
15306+ if test "$ac_status" -eq 0; then
15307+ # Ensure the archiver fails upon bogus file names.
15308+ rm -f conftest.$ac_objext libconftest.a
15309+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
15310+ (eval $lt_ar_try) 2>&5
15311+ ac_status=$?
15312+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15313+ test $ac_status = 0; }
15314+ if test "$ac_status" -ne 0; then
15315+ lt_cv_ar_at_file=@
15316+ fi
15317+ fi
15318+ rm -f conftest.* libconftest.a
15319
15320+fi
15321+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15322
15323+fi
15324+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
15325+$as_echo "$lt_cv_ar_at_file" >&6; }
15326
15327+if test "x$lt_cv_ar_at_file" = xno; then
15328+ archiver_list_spec=
15329+else
15330+ archiver_list_spec=$lt_cv_ar_at_file
15331+fi
15332
15333
15334
15335@@ -6639,8 +6952,8 @@
15336 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
15337
15338 # Transform an extracted symbol line into symbol name and symbol address
15339-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
15340-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
15341+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
15342+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
15343
15344 # Handle CRLF in mingw tool chain
15345 opt_cr=
15346@@ -6676,6 +6989,7 @@
15347 else
15348 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
15349 fi
15350+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
15351
15352 # Check to see that the pipe works correctly.
15353 pipe_works=no
15354@@ -6717,6 +7031,18 @@
15355 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
15356 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
15357 cat <<_LT_EOF > conftest.$ac_ext
15358+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
15359+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
15360+/* DATA imports from DLLs on WIN32 con't be const, because runtime
15361+ relocations are performed -- see ld's documentation on pseudo-relocs. */
15362+# define LT_DLSYM_CONST
15363+#elif defined(__osf__)
15364+/* This system does not cope well with relocations in const data. */
15365+# define LT_DLSYM_CONST
15366+#else
15367+# define LT_DLSYM_CONST const
15368+#endif
15369+
15370 #ifdef __cplusplus
15371 extern "C" {
15372 #endif
15373@@ -6728,7 +7054,7 @@
15374 cat <<_LT_EOF >> conftest.$ac_ext
15375
15376 /* The mapping between symbol names and symbols. */
15377-const struct {
15378+LT_DLSYM_CONST struct {
15379 const char *name;
15380 void *address;
15381 }
15382@@ -6754,8 +7080,8 @@
15383 _LT_EOF
15384 # Now try linking the two files.
15385 mv conftest.$ac_objext conftstm.$ac_objext
15386- lt_save_LIBS="$LIBS"
15387- lt_save_CFLAGS="$CFLAGS"
15388+ lt_globsym_save_LIBS=$LIBS
15389+ lt_globsym_save_CFLAGS=$CFLAGS
15390 LIBS="conftstm.$ac_objext"
15391 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
15392 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
15393@@ -6765,8 +7091,8 @@
15394 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
15395 pipe_works=yes
15396 fi
15397- LIBS="$lt_save_LIBS"
15398- CFLAGS="$lt_save_CFLAGS"
15399+ LIBS=$lt_globsym_save_LIBS
15400+ CFLAGS=$lt_globsym_save_CFLAGS
15401 else
15402 echo "cannot find nm_test_func in $nlist" >&5
15403 fi
15404@@ -6803,6 +7129,17 @@
15405 $as_echo "ok" >&6; }
15406 fi
15407
15408+# Response file support.
15409+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
15410+ nm_file_list_spec='@'
15411+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
15412+ nm_file_list_spec='@'
15413+fi
15414+
15415+
15416+
15417+
15418+
15419
15420
15421
15422@@ -6824,6 +7161,44 @@
15423
15424
15425
15426+
15427+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
15428+$as_echo_n "checking for sysroot... " >&6; }
15429+
15430+# Check whether --with-libtool-sysroot was given.
15431+if test "${with_libtool_sysroot+set}" = set; then :
15432+ withval=$with_libtool_sysroot;
15433+else
15434+ with_libtool_sysroot=no
15435+fi
15436+
15437+
15438+lt_sysroot=
15439+case ${with_libtool_sysroot} in #(
15440+ yes)
15441+ if test "$GCC" = yes; then
15442+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
15443+ fi
15444+ ;; #(
15445+ /*)
15446+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
15447+ ;; #(
15448+ no|'')
15449+ ;; #(
15450+ *)
15451+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
15452+$as_echo "${with_libtool_sysroot}" >&6; }
15453+ as_fn_error "The sysroot must be an absolute path." "$LINENO" 5
15454+ ;;
15455+esac
15456+
15457+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
15458+$as_echo "${lt_sysroot:-no}" >&6; }
15459+
15460+
15461+
15462+
15463+
15464 # Check whether --enable-libtool-lock was given.
15465 if test "${enable_libtool_lock+set}" = set; then :
15466 enableval=$enable_libtool_lock;
15467@@ -7017,6 +7392,123 @@
15468
15469 need_locks="$enable_libtool_lock"
15470
15471+if test -n "$ac_tool_prefix"; then
15472+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
15473+set dummy ${ac_tool_prefix}mt; ac_word=$2
15474+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15475+$as_echo_n "checking for $ac_word... " >&6; }
15476+if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
15477+ $as_echo_n "(cached) " >&6
15478+else
15479+ if test -n "$MANIFEST_TOOL"; then
15480+ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
15481+else
15482+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15483+for as_dir in $PATH
15484+do
15485+ IFS=$as_save_IFS
15486+ test -z "$as_dir" && as_dir=.
15487+ for ac_exec_ext in '' $ac_executable_extensions; do
15488+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15489+ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
15490+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15491+ break 2
15492+ fi
15493+done
15494+ done
15495+IFS=$as_save_IFS
15496+
15497+fi
15498+fi
15499+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
15500+if test -n "$MANIFEST_TOOL"; then
15501+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
15502+$as_echo "$MANIFEST_TOOL" >&6; }
15503+else
15504+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15505+$as_echo "no" >&6; }
15506+fi
15507+
15508+
15509+fi
15510+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
15511+ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
15512+ # Extract the first word of "mt", so it can be a program name with args.
15513+set dummy mt; ac_word=$2
15514+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15515+$as_echo_n "checking for $ac_word... " >&6; }
15516+if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
15517+ $as_echo_n "(cached) " >&6
15518+else
15519+ if test -n "$ac_ct_MANIFEST_TOOL"; then
15520+ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
15521+else
15522+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15523+for as_dir in $PATH
15524+do
15525+ IFS=$as_save_IFS
15526+ test -z "$as_dir" && as_dir=.
15527+ for ac_exec_ext in '' $ac_executable_extensions; do
15528+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15529+ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
15530+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15531+ break 2
15532+ fi
15533+done
15534+ done
15535+IFS=$as_save_IFS
15536+
15537+fi
15538+fi
15539+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
15540+if test -n "$ac_ct_MANIFEST_TOOL"; then
15541+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
15542+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
15543+else
15544+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15545+$as_echo "no" >&6; }
15546+fi
15547+
15548+ if test "x$ac_ct_MANIFEST_TOOL" = x; then
15549+ MANIFEST_TOOL=":"
15550+ else
15551+ case $cross_compiling:$ac_tool_warned in
15552+yes:)
15553+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15554+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15555+ac_tool_warned=yes ;;
15556+esac
15557+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
15558+ fi
15559+else
15560+ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
15561+fi
15562+
15563+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
15564+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
15565+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
15566+if test "${lt_cv_path_mainfest_tool+set}" = set; then :
15567+ $as_echo_n "(cached) " >&6
15568+else
15569+ lt_cv_path_mainfest_tool=no
15570+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
15571+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
15572+ cat conftest.err >&5
15573+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
15574+ lt_cv_path_mainfest_tool=yes
15575+ fi
15576+ rm -f conftest*
15577+fi
15578+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
15579+$as_echo "$lt_cv_path_mainfest_tool" >&6; }
15580+if test "x$lt_cv_path_mainfest_tool" != xyes; then
15581+ MANIFEST_TOOL=:
15582+fi
15583+
15584+
15585+
15586+
15587+
15588
15589 case $host_os in
15590 rhapsody* | darwin*)
15591@@ -7580,6 +8072,8 @@
15592 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
15593 echo "$AR cru libconftest.a conftest.o" >&5
15594 $AR cru libconftest.a conftest.o 2>&5
15595+ echo "$RANLIB libconftest.a" >&5
15596+ $RANLIB libconftest.a 2>&5
15597 cat > conftest.c << _LT_EOF
15598 int main() { return 0;}
15599 _LT_EOF
15600@@ -7775,7 +8269,8 @@
15601 LIBTOOL_DEPS="$ltmain"
15602
15603 # Always use our own libtool.
15604-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
15605+LIBTOOL='$(SHELL) $(top_builddir)'
15606+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
15607
15608
15609
15610@@ -7864,7 +8359,7 @@
15611 esac
15612
15613 # Global variables:
15614-ofile=libtool
15615+ofile=${host_alias}-libtool
15616 can_build_shared=yes
15617
15618 # All known linkers require a `.a' archive for static linking (except MSVC,
15619@@ -8162,8 +8657,6 @@
15620 lt_prog_compiler_pic=
15621 lt_prog_compiler_static=
15622
15623-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15624-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15625
15626 if test "$GCC" = yes; then
15627 lt_prog_compiler_wl='-Wl,'
15628@@ -8328,6 +8821,12 @@
15629 lt_prog_compiler_pic='--shared'
15630 lt_prog_compiler_static='--static'
15631 ;;
15632+ nagfor*)
15633+ # NAG Fortran compiler
15634+ lt_prog_compiler_wl='-Wl,-Wl,,'
15635+ lt_prog_compiler_pic='-PIC'
15636+ lt_prog_compiler_static='-Bstatic'
15637+ ;;
15638 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
15639 # Portland Group compilers (*not* the Pentium gcc compiler,
15640 # which looks to be a dead project)
15641@@ -8390,7 +8889,7 @@
15642 lt_prog_compiler_pic='-KPIC'
15643 lt_prog_compiler_static='-Bstatic'
15644 case $cc_basename in
15645- f77* | f90* | f95*)
15646+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
15647 lt_prog_compiler_wl='-Qoption ld ';;
15648 *)
15649 lt_prog_compiler_wl='-Wl,';;
15650@@ -8447,13 +8946,17 @@
15651 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
15652 ;;
15653 esac
15654-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
15655-$as_echo "$lt_prog_compiler_pic" >&6; }
15656-
15657-
15658-
15659-
15660
15661+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15662+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15663+if test "${lt_cv_prog_compiler_pic+set}" = set; then :
15664+ $as_echo_n "(cached) " >&6
15665+else
15666+ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
15667+fi
15668+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
15669+$as_echo "$lt_cv_prog_compiler_pic" >&6; }
15670+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
15671
15672 #
15673 # Check to make sure the PIC flag actually works.
15674@@ -8514,6 +9017,11 @@
15675
15676
15677
15678+
15679+
15680+
15681+
15682+
15683 #
15684 # Check to make sure the static flag actually works.
15685 #
15686@@ -8864,7 +9372,8 @@
15687 allow_undefined_flag=unsupported
15688 always_export_symbols=no
15689 enable_shared_with_static_runtimes=yes
15690- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15691+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
15692+ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
15693
15694 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15695 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15696@@ -8912,7 +9421,7 @@
15697 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
15698 && test "$tmp_diet" = no
15699 then
15700- tmp_addflag=
15701+ tmp_addflag=' $pic_flag'
15702 tmp_sharedflag='-shared'
15703 case $cc_basename,$host_cpu in
15704 pgcc*) # Portland Group C compiler
15705@@ -8963,12 +9472,12 @@
15706 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
15707 hardcode_libdir_flag_spec=
15708 hardcode_libdir_flag_spec_ld='-rpath $libdir'
15709- archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
15710+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
15711 if test "x$supports_anon_versioning" = xyes; then
15712 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
15713 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15714 echo "local: *; };" >> $output_objdir/$libname.ver~
15715- $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
15716+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
15717 fi
15718 ;;
15719 esac
15720@@ -8982,8 +9491,8 @@
15721 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15722 wlarc=
15723 else
15724- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15725- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15726+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15727+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15728 fi
15729 ;;
15730
15731@@ -9001,8 +9510,8 @@
15732
15733 _LT_EOF
15734 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15735- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15736- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15737+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15738+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15739 else
15740 ld_shlibs=no
15741 fi
15742@@ -9048,8 +9557,8 @@
15743
15744 *)
15745 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15746- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15747- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15748+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15749+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15750 else
15751 ld_shlibs=no
15752 fi
15753@@ -9179,7 +9688,13 @@
15754 allow_undefined_flag='-berok'
15755 # Determine the default libpath from the value encoded in an
15756 # empty executable.
15757- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15758+ if test "${lt_cv_aix_libpath+set}" = set; then
15759+ aix_libpath=$lt_cv_aix_libpath
15760+else
15761+ if test "${lt_cv_aix_libpath_+set}" = set; then :
15762+ $as_echo_n "(cached) " >&6
15763+else
15764+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15765 /* end confdefs.h. */
15766
15767 int
15768@@ -9192,22 +9707,29 @@
15769 _ACEOF
15770 if ac_fn_c_try_link "$LINENO"; then :
15771
15772-lt_aix_libpath_sed='
15773- /Import File Strings/,/^$/ {
15774- /^0/ {
15775- s/^0 *\(.*\)$/\1/
15776- p
15777- }
15778- }'
15779-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15780-# Check for a 64-bit object if we didn't find anything.
15781-if test -z "$aix_libpath"; then
15782- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15783-fi
15784+ lt_aix_libpath_sed='
15785+ /Import File Strings/,/^$/ {
15786+ /^0/ {
15787+ s/^0 *\([^ ]*\) *$/\1/
15788+ p
15789+ }
15790+ }'
15791+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15792+ # Check for a 64-bit object if we didn't find anything.
15793+ if test -z "$lt_cv_aix_libpath_"; then
15794+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15795+ fi
15796 fi
15797 rm -f core conftest.err conftest.$ac_objext \
15798 conftest$ac_exeext conftest.$ac_ext
15799-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15800+ if test -z "$lt_cv_aix_libpath_"; then
15801+ lt_cv_aix_libpath_="/usr/lib:/lib"
15802+ fi
15803+
15804+fi
15805+
15806+ aix_libpath=$lt_cv_aix_libpath_
15807+fi
15808
15809 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15810 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15811@@ -9219,7 +9741,13 @@
15812 else
15813 # Determine the default libpath from the value encoded in an
15814 # empty executable.
15815- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15816+ if test "${lt_cv_aix_libpath+set}" = set; then
15817+ aix_libpath=$lt_cv_aix_libpath
15818+else
15819+ if test "${lt_cv_aix_libpath_+set}" = set; then :
15820+ $as_echo_n "(cached) " >&6
15821+else
15822+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15823 /* end confdefs.h. */
15824
15825 int
15826@@ -9232,22 +9760,29 @@
15827 _ACEOF
15828 if ac_fn_c_try_link "$LINENO"; then :
15829
15830-lt_aix_libpath_sed='
15831- /Import File Strings/,/^$/ {
15832- /^0/ {
15833- s/^0 *\(.*\)$/\1/
15834- p
15835- }
15836- }'
15837-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15838-# Check for a 64-bit object if we didn't find anything.
15839-if test -z "$aix_libpath"; then
15840- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15841-fi
15842+ lt_aix_libpath_sed='
15843+ /Import File Strings/,/^$/ {
15844+ /^0/ {
15845+ s/^0 *\([^ ]*\) *$/\1/
15846+ p
15847+ }
15848+ }'
15849+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15850+ # Check for a 64-bit object if we didn't find anything.
15851+ if test -z "$lt_cv_aix_libpath_"; then
15852+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15853+ fi
15854 fi
15855 rm -f core conftest.err conftest.$ac_objext \
15856 conftest$ac_exeext conftest.$ac_ext
15857-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15858+ if test -z "$lt_cv_aix_libpath_"; then
15859+ lt_cv_aix_libpath_="/usr/lib:/lib"
15860+ fi
15861+
15862+fi
15863+
15864+ aix_libpath=$lt_cv_aix_libpath_
15865+fi
15866
15867 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
15868 # Warning - without using the other run time loading flags,
15869@@ -9292,20 +9827,63 @@
15870 # Microsoft Visual C++.
15871 # hardcode_libdir_flag_spec is actually meaningless, as there is
15872 # no search path for DLLs.
15873- hardcode_libdir_flag_spec=' '
15874- allow_undefined_flag=unsupported
15875- # Tell ltmain to make .lib files, not .a files.
15876- libext=lib
15877- # Tell ltmain to make .dll files, not .so files.
15878- shrext_cmds=".dll"
15879- # FIXME: Setting linknames here is a bad hack.
15880- archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
15881- # The linker will automatically build a .lib file if we build a DLL.
15882- old_archive_from_new_cmds='true'
15883- # FIXME: Should let the user specify the lib program.
15884- old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
15885- fix_srcfile_path='`cygpath -w "$srcfile"`'
15886- enable_shared_with_static_runtimes=yes
15887+ case $cc_basename in
15888+ cl*)
15889+ # Native MSVC
15890+ hardcode_libdir_flag_spec=' '
15891+ allow_undefined_flag=unsupported
15892+ always_export_symbols=yes
15893+ file_list_spec='@'
15894+ # Tell ltmain to make .lib files, not .a files.
15895+ libext=lib
15896+ # Tell ltmain to make .dll files, not .so files.
15897+ shrext_cmds=".dll"
15898+ # FIXME: Setting linknames here is a bad hack.
15899+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15900+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15901+ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15902+ else
15903+ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15904+ fi~
15905+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15906+ linknames='
15907+ # The linker will not automatically build a static lib if we build a DLL.
15908+ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
15909+ enable_shared_with_static_runtimes=yes
15910+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15911+ # Don't use ranlib
15912+ old_postinstall_cmds='chmod 644 $oldlib'
15913+ postlink_cmds='lt_outputfile="@OUTPUT@"~
15914+ lt_tool_outputfile="@TOOL_OUTPUT@"~
15915+ case $lt_outputfile in
15916+ *.exe|*.EXE) ;;
15917+ *)
15918+ lt_outputfile="$lt_outputfile.exe"
15919+ lt_tool_outputfile="$lt_tool_outputfile.exe"
15920+ ;;
15921+ esac~
15922+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15923+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15924+ $RM "$lt_outputfile.manifest";
15925+ fi'
15926+ ;;
15927+ *)
15928+ # Assume MSVC wrapper
15929+ hardcode_libdir_flag_spec=' '
15930+ allow_undefined_flag=unsupported
15931+ # Tell ltmain to make .lib files, not .a files.
15932+ libext=lib
15933+ # Tell ltmain to make .dll files, not .so files.
15934+ shrext_cmds=".dll"
15935+ # FIXME: Setting linknames here is a bad hack.
15936+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
15937+ # The linker will automatically build a .lib file if we build a DLL.
15938+ old_archive_from_new_cmds='true'
15939+ # FIXME: Should let the user specify the lib program.
15940+ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
15941+ enable_shared_with_static_runtimes=yes
15942+ ;;
15943+ esac
15944 ;;
15945
15946 darwin* | rhapsody*)
15947@@ -9370,7 +9948,7 @@
15948
15949 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15950 freebsd* | dragonfly*)
15951- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15952+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15953 hardcode_libdir_flag_spec='-R$libdir'
15954 hardcode_direct=yes
15955 hardcode_shlibpath_var=no
15956@@ -9378,7 +9956,7 @@
15957
15958 hpux9*)
15959 if test "$GCC" = yes; then
15960- archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15961+ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15962 else
15963 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15964 fi
15965@@ -9394,7 +9972,7 @@
15966
15967 hpux10*)
15968 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
15969- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15970+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15971 else
15972 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15973 fi
15974@@ -9418,10 +9996,10 @@
15975 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15976 ;;
15977 ia64*)
15978- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15979+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15980 ;;
15981 *)
15982- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15983+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15984 ;;
15985 esac
15986 else
15987@@ -9500,23 +10078,36 @@
15988
15989 irix5* | irix6* | nonstopux*)
15990 if test "$GCC" = yes; then
15991- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15992+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15993 # Try to use the -exported_symbol ld option, if it does not
15994 # work, assume that -exports_file does not work either and
15995 # implicitly export all symbols.
15996- save_LDFLAGS="$LDFLAGS"
15997- LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15998- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15999+ # This should be the same for all languages, so no per-tag cache variable.
16000+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
16001+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
16002+if test "${lt_cv_irix_exported_symbol+set}" = set; then :
16003+ $as_echo_n "(cached) " >&6
16004+else
16005+ save_LDFLAGS="$LDFLAGS"
16006+ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
16007+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16008 /* end confdefs.h. */
16009-int foo(void) {}
16010+int foo (void) { return 0; }
16011 _ACEOF
16012 if ac_fn_c_try_link "$LINENO"; then :
16013- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
16014-
16015+ lt_cv_irix_exported_symbol=yes
16016+else
16017+ lt_cv_irix_exported_symbol=no
16018 fi
16019 rm -f core conftest.err conftest.$ac_objext \
16020 conftest$ac_exeext conftest.$ac_ext
16021- LDFLAGS="$save_LDFLAGS"
16022+ LDFLAGS="$save_LDFLAGS"
16023+fi
16024+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
16025+$as_echo "$lt_cv_irix_exported_symbol" >&6; }
16026+ if test "$lt_cv_irix_exported_symbol" = yes; then
16027+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
16028+ fi
16029 else
16030 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
16031 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
16032@@ -9601,7 +10192,7 @@
16033 osf4* | osf5*) # as osf3* with the addition of -msym flag
16034 if test "$GCC" = yes; then
16035 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
16036- archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16037+ archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16038 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
16039 else
16040 allow_undefined_flag=' -expect_unresolved \*'
16041@@ -9620,9 +10211,9 @@
16042 no_undefined_flag=' -z defs'
16043 if test "$GCC" = yes; then
16044 wlarc='${wl}'
16045- archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16046+ archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16047 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16048- $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
16049+ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
16050 else
16051 case `$CC -V 2>&1` in
16052 *"Compilers 5.0"*)
16053@@ -10198,8 +10789,9 @@
16054 need_version=no
16055 need_lib_prefix=no
16056
16057- case $GCC,$host_os in
16058- yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
16059+ case $GCC,$cc_basename in
16060+ yes,*)
16061+ # gcc
16062 library_names_spec='$libname.dll.a'
16063 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16064 postinstall_cmds='base_file=`basename \${file}`~
16065@@ -10232,13 +10824,71 @@
16066 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16067 ;;
16068 esac
16069+ dynamic_linker='Win32 ld.exe'
16070+ ;;
16071+
16072+ *,cl*)
16073+ # Native MSVC
16074+ libname_spec='$name'
16075+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16076+ library_names_spec='${libname}.dll.lib'
16077+
16078+ case $build_os in
16079+ mingw*)
16080+ sys_lib_search_path_spec=
16081+ lt_save_ifs=$IFS
16082+ IFS=';'
16083+ for lt_path in $LIB
16084+ do
16085+ IFS=$lt_save_ifs
16086+ # Let DOS variable expansion print the short 8.3 style file name.
16087+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16088+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16089+ done
16090+ IFS=$lt_save_ifs
16091+ # Convert to MSYS style.
16092+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16093+ ;;
16094+ cygwin*)
16095+ # Convert to unix form, then to dos form, then back to unix form
16096+ # but this time dos style (no spaces!) so that the unix form looks
16097+ # like /cygdrive/c/PROGRA~1:/cygdr...
16098+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16099+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16100+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16101+ ;;
16102+ *)
16103+ sys_lib_search_path_spec="$LIB"
16104+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16105+ # It is most probably a Windows format PATH.
16106+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16107+ else
16108+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16109+ fi
16110+ # FIXME: find the short name or the path components, as spaces are
16111+ # common. (e.g. "Program Files" -> "PROGRA~1")
16112+ ;;
16113+ esac
16114+
16115+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
16116+ postinstall_cmds='base_file=`basename \${file}`~
16117+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16118+ dldir=$destdir/`dirname \$dlpath`~
16119+ test -d \$dldir || mkdir -p \$dldir~
16120+ $install_prog $dir/$dlname \$dldir/$dlname'
16121+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16122+ dlpath=$dir/\$dldll~
16123+ $RM \$dlpath'
16124+ shlibpath_overrides_runpath=yes
16125+ dynamic_linker='Win32 link.exe'
16126 ;;
16127
16128 *)
16129+ # Assume MSVC wrapper
16130 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16131+ dynamic_linker='Win32 ld.exe'
16132 ;;
16133 esac
16134- dynamic_linker='Win32 ld.exe'
16135 # FIXME: first we should search . and the directory the executable is in
16136 shlibpath_var=PATH
16137 ;;
16138@@ -10334,7 +10984,7 @@
16139 soname_spec='${libname}${release}${shared_ext}$major'
16140 shlibpath_var=LIBRARY_PATH
16141 shlibpath_overrides_runpath=yes
16142- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
16143+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16144 hardcode_into_libs=yes
16145 ;;
16146
16147@@ -11130,7 +11780,7 @@
16148 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16149 lt_status=$lt_dlunknown
16150 cat > conftest.$ac_ext <<_LT_EOF
16151-#line 11128 "configure"
16152+#line $LINENO "configure"
16153 #include "confdefs.h"
16154
16155 #if HAVE_DLFCN_H
16156@@ -11174,10 +11824,10 @@
16157 /* When -fvisbility=hidden is used, assume the code has been annotated
16158 correspondingly for the symbols needed. */
16159 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
16160-void fnord () __attribute__((visibility("default")));
16161+int fnord () __attribute__((visibility("default")));
16162 #endif
16163
16164-void fnord () { int i=42; }
16165+int fnord () { return 42; }
16166 int main ()
16167 {
16168 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16169@@ -11236,7 +11886,7 @@
16170 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
16171 lt_status=$lt_dlunknown
16172 cat > conftest.$ac_ext <<_LT_EOF
16173-#line 11234 "configure"
16174+#line $LINENO "configure"
16175 #include "confdefs.h"
16176
16177 #if HAVE_DLFCN_H
16178@@ -11280,10 +11930,10 @@
16179 /* When -fvisbility=hidden is used, assume the code has been annotated
16180 correspondingly for the symbols needed. */
16181 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
16182-void fnord () __attribute__((visibility("default")));
16183+int fnord () __attribute__((visibility("default")));
16184 #endif
16185
16186-void fnord () { int i=42; }
16187+int fnord () { return 42; }
16188 int main ()
16189 {
16190 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16191@@ -12825,13 +13475,20 @@
16192 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16193 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16194 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16195+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16196+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16197 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16198 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16199 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16200 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16201 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16202+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16203+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16204+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16205+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16206 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16207 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16208+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16209 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16210 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16211 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16212@@ -12846,14 +13503,17 @@
16213 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16214 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16215 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16216+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16217+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16218 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16219 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16220 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16221-lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16222 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16223+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16224 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16225 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16226 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16227+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16228 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16229 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16230 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16231@@ -12886,12 +13546,12 @@
16232 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16233 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16234 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16235-fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
16236 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16237 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16238 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16239 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16240 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16241+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16242 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16243 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16244 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16245@@ -12946,8 +13606,13 @@
16246 OBJDUMP \
16247 deplibs_check_method \
16248 file_magic_cmd \
16249+file_magic_glob \
16250+want_nocaseglob \
16251+DLLTOOL \
16252+sharedlib_from_linklib_cmd \
16253 AR \
16254 AR_FLAGS \
16255+archiver_list_spec \
16256 STRIP \
16257 RANLIB \
16258 CC \
16259@@ -12957,12 +13622,14 @@
16260 lt_cv_sys_global_symbol_to_cdecl \
16261 lt_cv_sys_global_symbol_to_c_name_address \
16262 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16263+nm_file_list_spec \
16264 lt_prog_compiler_no_builtin_flag \
16265-lt_prog_compiler_wl \
16266 lt_prog_compiler_pic \
16267+lt_prog_compiler_wl \
16268 lt_prog_compiler_static \
16269 lt_cv_prog_compiler_c_o \
16270 need_locks \
16271+MANIFEST_TOOL \
16272 DSYMUTIL \
16273 NMEDIT \
16274 LIPO \
16275@@ -12978,7 +13645,6 @@
16276 hardcode_libdir_flag_spec \
16277 hardcode_libdir_flag_spec_ld \
16278 hardcode_libdir_separator \
16279-fix_srcfile_path \
16280 exclude_expsyms \
16281 include_expsyms \
16282 file_list_spec \
16283@@ -13014,6 +13680,7 @@
16284 module_expsym_cmds \
16285 export_symbols_cmds \
16286 prelink_cmds \
16287+postlink_cmds \
16288 postinstall_cmds \
16289 postuninstall_cmds \
16290 finish_cmds \
16291@@ -13770,7 +14437,8 @@
16292 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16293 #
16294 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16295-# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
16296+# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
16297+# Inc.
16298 # Written by Gordon Matzigkeit, 1996
16299 #
16300 # This file is part of GNU Libtool.
16301@@ -13873,19 +14541,42 @@
16302 # turn newlines into spaces.
16303 NL2SP=$lt_lt_NL2SP
16304
16305+# convert \$build file names to \$host format.
16306+to_host_file_cmd=$lt_cv_to_host_file_cmd
16307+
16308+# convert \$build files to toolchain format.
16309+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16310+
16311 # An object symbol dumper.
16312 OBJDUMP=$lt_OBJDUMP
16313
16314 # Method to check whether dependent libraries are shared objects.
16315 deplibs_check_method=$lt_deplibs_check_method
16316
16317-# Command to use when deplibs_check_method == "file_magic".
16318+# Command to use when deplibs_check_method = "file_magic".
16319 file_magic_cmd=$lt_file_magic_cmd
16320
16321+# How to find potential files when deplibs_check_method = "file_magic".
16322+file_magic_glob=$lt_file_magic_glob
16323+
16324+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16325+want_nocaseglob=$lt_want_nocaseglob
16326+
16327+# DLL creation program.
16328+DLLTOOL=$lt_DLLTOOL
16329+
16330+# Command to associate shared and link libraries.
16331+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16332+
16333 # The archiver.
16334 AR=$lt_AR
16335+
16336+# Flags to create an archive.
16337 AR_FLAGS=$lt_AR_FLAGS
16338
16339+# How to feed a file listing to the archiver.
16340+archiver_list_spec=$lt_archiver_list_spec
16341+
16342 # A symbol stripping program.
16343 STRIP=$lt_STRIP
16344
16345@@ -13915,6 +14606,12 @@
16346 # Transform the output of nm in a C name address pair when lib prefix is needed.
16347 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16348
16349+# Specify filename containing input files for \$NM.
16350+nm_file_list_spec=$lt_nm_file_list_spec
16351+
16352+# The root where to search for dependent libraries,and in which our libraries should be installed.
16353+lt_sysroot=$lt_sysroot
16354+
16355 # The name of the directory that contains temporary libtool files.
16356 objdir=$objdir
16357
16358@@ -13924,6 +14621,9 @@
16359 # Must we lock files when doing compilation?
16360 need_locks=$lt_need_locks
16361
16362+# Manifest tool.
16363+MANIFEST_TOOL=$lt_MANIFEST_TOOL
16364+
16365 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16366 DSYMUTIL=$lt_DSYMUTIL
16367
16368@@ -14038,12 +14738,12 @@
16369 # Compiler flag to turn off builtin functions.
16370 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16371
16372-# How to pass a linker flag through the compiler.
16373-wl=$lt_lt_prog_compiler_wl
16374-
16375 # Additional compiler flags for building library objects.
16376 pic_flag=$lt_lt_prog_compiler_pic
16377
16378+# How to pass a linker flag through the compiler.
16379+wl=$lt_lt_prog_compiler_wl
16380+
16381 # Compiler flag to prevent dynamic linking.
16382 link_static_flag=$lt_lt_prog_compiler_static
16383
16384@@ -14130,9 +14830,6 @@
16385 # Whether libtool must link a program against all its dependency libraries.
16386 link_all_deplibs=$link_all_deplibs
16387
16388-# Fix the shell variable \$srcfile for the compiler.
16389-fix_srcfile_path=$lt_fix_srcfile_path
16390-
16391 # Set to "yes" if exported symbols are required.
16392 always_export_symbols=$always_export_symbols
16393
16394@@ -14148,6 +14845,9 @@
16395 # Commands necessary for linking programs (against libraries) with templates.
16396 prelink_cmds=$lt_prelink_cmds
16397
16398+# Commands necessary for finishing linking programs.
16399+postlink_cmds=$lt_postlink_cmds
16400+
16401 # Specify filename containing input files.
16402 file_list_spec=$lt_file_list_spec
16403
16404@@ -14180,210 +14880,169 @@
16405 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16406 # text mode, it properly converts lines to CR/LF. This bash problem
16407 # is reportedly fixed, but why not run on old versions too?
16408- sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16409- || (rm -f "$cfgfile"; exit 1)
16410-
16411- case $xsi_shell in
16412- yes)
16413- cat << \_LT_EOF >> "$cfgfile"
16414-
16415-# func_dirname file append nondir_replacement
16416-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
16417-# otherwise set result to NONDIR_REPLACEMENT.
16418-func_dirname ()
16419-{
16420- case ${1} in
16421- */*) func_dirname_result="${1%/*}${2}" ;;
16422- * ) func_dirname_result="${3}" ;;
16423- esac
16424-}
16425-
16426-# func_basename file
16427-func_basename ()
16428-{
16429- func_basename_result="${1##*/}"
16430-}
16431-
16432-# func_dirname_and_basename file append nondir_replacement
16433-# perform func_basename and func_dirname in a single function
16434-# call:
16435-# dirname: Compute the dirname of FILE. If nonempty,
16436-# add APPEND to the result, otherwise set result
16437-# to NONDIR_REPLACEMENT.
16438-# value returned in "$func_dirname_result"
16439-# basename: Compute filename of FILE.
16440-# value retuned in "$func_basename_result"
16441-# Implementation must be kept synchronized with func_dirname
16442-# and func_basename. For efficiency, we do not delegate to
16443-# those functions but instead duplicate the functionality here.
16444-func_dirname_and_basename ()
16445-{
16446- case ${1} in
16447- */*) func_dirname_result="${1%/*}${2}" ;;
16448- * ) func_dirname_result="${3}" ;;
16449- esac
16450- func_basename_result="${1##*/}"
16451-}
16452-
16453-# func_stripname prefix suffix name
16454-# strip PREFIX and SUFFIX off of NAME.
16455-# PREFIX and SUFFIX must not contain globbing or regex special
16456-# characters, hashes, percent signs, but SUFFIX may contain a leading
16457-# dot (in which case that matches only a dot).
16458-func_stripname ()
16459-{
16460- # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16461- # positional parameters, so assign one to ordinary parameter first.
16462- func_stripname_result=${3}
16463- func_stripname_result=${func_stripname_result#"${1}"}
16464- func_stripname_result=${func_stripname_result%"${2}"}
16465-}
16466-
16467-# func_opt_split
16468-func_opt_split ()
16469-{
16470- func_opt_split_opt=${1%%=*}
16471- func_opt_split_arg=${1#*=}
16472-}
16473-
16474-# func_lo2o object
16475-func_lo2o ()
16476-{
16477- case ${1} in
16478- *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16479- *) func_lo2o_result=${1} ;;
16480- esac
16481-}
16482-
16483-# func_xform libobj-or-source
16484-func_xform ()
16485-{
16486- func_xform_result=${1%.*}.lo
16487-}
16488-
16489-# func_arith arithmetic-term...
16490-func_arith ()
16491-{
16492- func_arith_result=$(( $* ))
16493-}
16494-
16495-# func_len string
16496-# STRING may not start with a hyphen.
16497-func_len ()
16498-{
16499- func_len_result=${#1}
16500-}
16501-
16502-_LT_EOF
16503- ;;
16504- *) # Bourne compatible functions.
16505- cat << \_LT_EOF >> "$cfgfile"
16506-
16507-# func_dirname file append nondir_replacement
16508-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
16509-# otherwise set result to NONDIR_REPLACEMENT.
16510-func_dirname ()
16511-{
16512- # Extract subdirectory from the argument.
16513- func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
16514- if test "X$func_dirname_result" = "X${1}"; then
16515- func_dirname_result="${3}"
16516- else
16517- func_dirname_result="$func_dirname_result${2}"
16518- fi
16519-}
16520-
16521-# func_basename file
16522-func_basename ()
16523-{
16524- func_basename_result=`$ECHO "${1}" | $SED "$basename"`
16525-}
16526-
16527-
16528-# func_stripname prefix suffix name
16529-# strip PREFIX and SUFFIX off of NAME.
16530-# PREFIX and SUFFIX must not contain globbing or regex special
16531-# characters, hashes, percent signs, but SUFFIX may contain a leading
16532-# dot (in which case that matches only a dot).
16533-# func_strip_suffix prefix name
16534-func_stripname ()
16535-{
16536- case ${2} in
16537- .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16538- *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16539- esac
16540-}
16541-
16542-# sed scripts:
16543-my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16544-my_sed_long_arg='1s/^-[^=]*=//'
16545-
16546-# func_opt_split
16547-func_opt_split ()
16548-{
16549- func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16550- func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16551-}
16552-
16553-# func_lo2o object
16554-func_lo2o ()
16555-{
16556- func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
16557-}
16558-
16559-# func_xform libobj-or-source
16560-func_xform ()
16561-{
16562- func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16563-}
16564-
16565-# func_arith arithmetic-term...
16566-func_arith ()
16567-{
16568- func_arith_result=`expr "$@"`
16569-}
16570-
16571-# func_len string
16572-# STRING may not start with a hyphen.
16573-func_len ()
16574-{
16575- func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16576-}
16577-
16578-_LT_EOF
16579-esac
16580-
16581-case $lt_shell_append in
16582- yes)
16583- cat << \_LT_EOF >> "$cfgfile"
16584-
16585-# func_append var value
16586-# Append VALUE to the end of shell variable VAR.
16587-func_append ()
16588-{
16589- eval "$1+=\$2"
16590-}
16591-_LT_EOF
16592- ;;
16593- *)
16594- cat << \_LT_EOF >> "$cfgfile"
16595-
16596-# func_append var value
16597-# Append VALUE to the end of shell variable VAR.
16598-func_append ()
16599-{
16600- eval "$1=\$$1\$2"
16601-}
16602-
16603-_LT_EOF
16604- ;;
16605- esac
16606+ sed '$q' "$ltmain" >> "$cfgfile" \
16607+ || (rm -f "$cfgfile"; exit 1)
16608
16609+ if test x"$xsi_shell" = xyes; then
16610+ sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16611+func_dirname ()\
16612+{\
16613+\ case ${1} in\
16614+\ */*) func_dirname_result="${1%/*}${2}" ;;\
16615+\ * ) func_dirname_result="${3}" ;;\
16616+\ esac\
16617+} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16618+ && mv -f "$cfgfile.tmp" "$cfgfile" \
16619+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16620+test 0 -eq $? || _lt_function_replace_fail=:
16621+
16622+
16623+ sed -e '/^func_basename ()$/,/^} # func_basename /c\
16624+func_basename ()\
16625+{\
16626+\ func_basename_result="${1##*/}"\
16627+} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16628+ && mv -f "$cfgfile.tmp" "$cfgfile" \
16629+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16630+test 0 -eq $? || _lt_function_replace_fail=:
16631+
16632+
16633+ sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16634+func_dirname_and_basename ()\
16635+{\
16636+\ case ${1} in\
16637+\ */*) func_dirname_result="${1%/*}${2}" ;;\
16638+\ * ) func_dirname_result="${3}" ;;\
16639+\ esac\
16640+\ func_basename_result="${1##*/}"\
16641+} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16642+ && mv -f "$cfgfile.tmp" "$cfgfile" \
16643+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16644+test 0 -eq $? || _lt_function_replace_fail=:
16645+
16646+
16647+ sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16648+func_stripname ()\
16649+{\
16650+\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16651+\ # positional parameters, so assign one to ordinary parameter first.\
16652+\ func_stripname_result=${3}\
16653+\ func_stripname_result=${func_stripname_result#"${1}"}\
16654+\ func_stripname_result=${func_stripname_result%"${2}"}\
16655+} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16656+ && mv -f "$cfgfile.tmp" "$cfgfile" \
16657+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16658+test 0 -eq $? || _lt_function_replace_fail=:
16659+
16660+
16661+ sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16662+func_split_long_opt ()\
16663+{\
16664+\ func_split_long_opt_name=${1%%=*}\
16665+\ func_split_long_opt_arg=${1#*=}\
16666+} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16667+ && mv -f "$cfgfile.tmp" "$cfgfile" \
16668+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16669+test 0 -eq $? || _lt_function_replace_fail=:
16670+
16671+
16672+ sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16673+func_split_short_opt ()\
16674+{\
16675+\ func_split_short_opt_arg=${1#??}\
16676+\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16677+} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16678+ && mv -f "$cfgfile.tmp" "$cfgfile" \
16679+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16680+test 0 -eq $? || _lt_function_replace_fail=:
16681+
16682+
16683+ sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16684+func_lo2o ()\
16685+{\
16686+\ case ${1} in\
16687+\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16688+\ *) func_lo2o_result=${1} ;;\
16689+\ esac\
16690+} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16691+ && mv -f "$cfgfile.tmp" "$cfgfile" \
16692+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16693+test 0 -eq $? || _lt_function_replace_fail=:
16694+
16695+
16696+ sed -e '/^func_xform ()$/,/^} # func_xform /c\
16697+func_xform ()\
16698+{\
16699+ func_xform_result=${1%.*}.lo\
16700+} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16701+ && mv -f "$cfgfile.tmp" "$cfgfile" \
16702+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16703+test 0 -eq $? || _lt_function_replace_fail=:
16704+
16705+
16706+ sed -e '/^func_arith ()$/,/^} # func_arith /c\
16707+func_arith ()\
16708+{\
16709+ func_arith_result=$(( $* ))\
16710+} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16711+ && mv -f "$cfgfile.tmp" "$cfgfile" \
16712+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16713+test 0 -eq $? || _lt_function_replace_fail=:
16714+
16715+
16716+ sed -e '/^func_len ()$/,/^} # func_len /c\
16717+func_len ()\
16718+{\
16719+ func_len_result=${#1}\
16720+} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16721+ && mv -f "$cfgfile.tmp" "$cfgfile" \
16722+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16723+test 0 -eq $? || _lt_function_replace_fail=:
16724+
16725+fi
16726+
16727+if test x"$lt_shell_append" = xyes; then
16728+ sed -e '/^func_append ()$/,/^} # func_append /c\
16729+func_append ()\
16730+{\
16731+ eval "${1}+=\\${2}"\
16732+} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16733+ && mv -f "$cfgfile.tmp" "$cfgfile" \
16734+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16735+test 0 -eq $? || _lt_function_replace_fail=:
16736+
16737+
16738+ sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16739+func_append_quoted ()\
16740+{\
16741+\ func_quote_for_eval "${2}"\
16742+\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16743+} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16744+ && mv -f "$cfgfile.tmp" "$cfgfile" \
16745+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16746+test 0 -eq $? || _lt_function_replace_fail=:
16747+
16748+
16749+ # Save a `func_append' function call where possible by direct use of '+='
16750+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16751+ && mv -f "$cfgfile.tmp" "$cfgfile" \
16752+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16753+ test 0 -eq $? || _lt_function_replace_fail=:
16754+else
16755+ # Save a `func_append' function call even when '+=' is not available
16756+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16757+ && mv -f "$cfgfile.tmp" "$cfgfile" \
16758+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16759+ test 0 -eq $? || _lt_function_replace_fail=:
16760+fi
16761+
16762+if test x"$_lt_function_replace_fail" = x":"; then
16763+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16764+$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16765+fi
16766
16767- sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16768- || (rm -f "$cfgfile"; exit 1)
16769
16770- mv -f "$cfgfile" "$ofile" ||
16771+ mv -f "$cfgfile" "$ofile" ||
16772 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16773 chmod +x "$ofile"
16774
16775Index: binutils-2.21/ld/configure
16776===================================================================
16777--- binutils-2.21.orig/ld/configure 2010-11-23 05:50:32.000000000 -0800
16778+++ binutils-2.21/ld/configure 2011-01-07 10:49:16.436101000 -0800
16779@@ -643,8 +643,11 @@
16780 LIPO
16781 NMEDIT
16782 DSYMUTIL
16783+MANIFEST_TOOL
16784 RANLIB
16785+ac_ct_AR
16786 AR
16787+DLLTOOL
16788 OBJDUMP
16789 LN_S
16790 NM
16791@@ -776,6 +779,7 @@
16792 with_pic
16793 enable_fast_install
16794 with_gnu_ld
16795+with_libtool_sysroot
16796 enable_libtool_lock
16797 enable_nls
16798 '
16799@@ -1436,6 +1440,8 @@
16800 --with-pic try to use only PIC/non-PIC objects [default=use
16801 both]
16802 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
16803+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
16804+ (or the compiler's sysroot if not specified).
16805
16806 Some influential environment variables:
16807 CC C compiler command
16808@@ -5562,8 +5568,8 @@
16809
16810
16811
16812-macro_version='2.2.7a'
16813-macro_revision='1.3134'
16814+macro_version='2.4'
16815+macro_revision='1.3293'
16816
16817
16818
16819@@ -5603,7 +5609,7 @@
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
16821 $as_echo_n "checking how to print strings... " >&6; }
16822 # Test print first, because it will be a builtin if present.
16823-if test "X`print -r -- -n 2>/dev/null`" = X-n && \
16824+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
16825 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
16826 ECHO='print -r --'
16827 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
16828@@ -6289,8 +6295,8 @@
16829 # Try some XSI features
16830 xsi_shell=no
16831 ( _lt_dummy="a/b/c"
16832- test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
16833- = c,a/b,, \
16834+ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
16835+ = c,a/b,b/c, \
16836 && eval 'test $(( 1 + 1 )) -eq 2 \
16837 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
16838 && xsi_shell=yes
16839@@ -6339,6 +6345,80 @@
16840
16841
16842
16843+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
16844+$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
16845+if test "${lt_cv_to_host_file_cmd+set}" = set; then :
16846+ $as_echo_n "(cached) " >&6
16847+else
16848+ case $host in
16849+ *-*-mingw* )
16850+ case $build in
16851+ *-*-mingw* ) # actually msys
16852+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
16853+ ;;
16854+ *-*-cygwin* )
16855+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
16856+ ;;
16857+ * ) # otherwise, assume *nix
16858+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
16859+ ;;
16860+ esac
16861+ ;;
16862+ *-*-cygwin* )
16863+ case $build in
16864+ *-*-mingw* ) # actually msys
16865+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
16866+ ;;
16867+ *-*-cygwin* )
16868+ lt_cv_to_host_file_cmd=func_convert_file_noop
16869+ ;;
16870+ * ) # otherwise, assume *nix
16871+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
16872+ ;;
16873+ esac
16874+ ;;
16875+ * ) # unhandled hosts (and "normal" native builds)
16876+ lt_cv_to_host_file_cmd=func_convert_file_noop
16877+ ;;
16878+esac
16879+
16880+fi
16881+
16882+to_host_file_cmd=$lt_cv_to_host_file_cmd
16883+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
16884+$as_echo "$lt_cv_to_host_file_cmd" >&6; }
16885+
16886+
16887+
16888+
16889+
16890+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
16891+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
16892+if test "${lt_cv_to_tool_file_cmd+set}" = set; then :
16893+ $as_echo_n "(cached) " >&6
16894+else
16895+ #assume ordinary cross tools, or native build.
16896+lt_cv_to_tool_file_cmd=func_convert_file_noop
16897+case $host in
16898+ *-*-mingw* )
16899+ case $build in
16900+ *-*-mingw* ) # actually msys
16901+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
16902+ ;;
16903+ esac
16904+ ;;
16905+esac
16906+
16907+fi
16908+
16909+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16910+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
16911+$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
16912+
16913+
16914+
16915+
16916+
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
16918 $as_echo_n "checking for $LD option to reload object files... " >&6; }
16919 if test "${lt_cv_ld_reload_flag+set}" = set; then :
16920@@ -6355,6 +6435,11 @@
16921 esac
16922 reload_cmds='$LD$reload_flag -o $output$reload_objs'
16923 case $host_os in
16924+ cygwin* | mingw* | pw32* | cegcc*)
16925+ if test "$GCC" != yes; then
16926+ reload_cmds=false
16927+ fi
16928+ ;;
16929 darwin*)
16930 if test "$GCC" = yes; then
16931 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
16932@@ -6523,7 +6608,8 @@
16933 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
16934 lt_cv_file_magic_cmd='func_win32_libid'
16935 else
16936- lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
16937+ # Keep this pattern in sync with the one in func_win32_libid.
16938+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
16939 lt_cv_file_magic_cmd='$OBJDUMP -f'
16940 fi
16941 ;;
16942@@ -6677,6 +6763,21 @@
16943 fi
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
16945 $as_echo "$lt_cv_deplibs_check_method" >&6; }
16946+
16947+file_magic_glob=
16948+want_nocaseglob=no
16949+if test "$build" = "$host"; then
16950+ case $host_os in
16951+ mingw* | pw32*)
16952+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
16953+ want_nocaseglob=yes
16954+ else
16955+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
16956+ fi
16957+ ;;
16958+ esac
16959+fi
16960+
16961 file_magic_cmd=$lt_cv_file_magic_cmd
16962 deplibs_check_method=$lt_cv_deplibs_check_method
16963 test -z "$deplibs_check_method" && deplibs_check_method=unknown
16964@@ -6692,9 +6793,162 @@
16965
16966
16967
16968+
16969+
16970+
16971+
16972+
16973+
16974+
16975+
16976+
16977+
16978+if test -n "$ac_tool_prefix"; then
16979+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16980+set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16981+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16982+$as_echo_n "checking for $ac_word... " >&6; }
16983+if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
16984+ $as_echo_n "(cached) " >&6
16985+else
16986+ if test -n "$DLLTOOL"; then
16987+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16988+else
16989+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16990+for as_dir in $PATH
16991+do
16992+ IFS=$as_save_IFS
16993+ test -z "$as_dir" && as_dir=.
16994+ for ac_exec_ext in '' $ac_executable_extensions; do
16995+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16996+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16997+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16998+ break 2
16999+ fi
17000+done
17001+ done
17002+IFS=$as_save_IFS
17003+
17004+fi
17005+fi
17006+DLLTOOL=$ac_cv_prog_DLLTOOL
17007+if test -n "$DLLTOOL"; then
17008+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
17009+$as_echo "$DLLTOOL" >&6; }
17010+else
17011+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17012+$as_echo "no" >&6; }
17013+fi
17014+
17015+
17016+fi
17017+if test -z "$ac_cv_prog_DLLTOOL"; then
17018+ ac_ct_DLLTOOL=$DLLTOOL
17019+ # Extract the first word of "dlltool", so it can be a program name with args.
17020+set dummy dlltool; ac_word=$2
17021+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17022+$as_echo_n "checking for $ac_word... " >&6; }
17023+if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
17024+ $as_echo_n "(cached) " >&6
17025+else
17026+ if test -n "$ac_ct_DLLTOOL"; then
17027+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
17028+else
17029+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17030+for as_dir in $PATH
17031+do
17032+ IFS=$as_save_IFS
17033+ test -z "$as_dir" && as_dir=.
17034+ for ac_exec_ext in '' $ac_executable_extensions; do
17035+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17036+ ac_cv_prog_ac_ct_DLLTOOL="dlltool"
17037+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17038+ break 2
17039+ fi
17040+done
17041+ done
17042+IFS=$as_save_IFS
17043+
17044+fi
17045+fi
17046+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
17047+if test -n "$ac_ct_DLLTOOL"; then
17048+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
17049+$as_echo "$ac_ct_DLLTOOL" >&6; }
17050+else
17051+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17052+$as_echo "no" >&6; }
17053+fi
17054+
17055+ if test "x$ac_ct_DLLTOOL" = x; then
17056+ DLLTOOL="false"
17057+ else
17058+ case $cross_compiling:$ac_tool_warned in
17059+yes:)
17060+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17061+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17062+ac_tool_warned=yes ;;
17063+esac
17064+ DLLTOOL=$ac_ct_DLLTOOL
17065+ fi
17066+else
17067+ DLLTOOL="$ac_cv_prog_DLLTOOL"
17068+fi
17069+
17070+test -z "$DLLTOOL" && DLLTOOL=dlltool
17071+
17072+
17073+
17074+
17075+
17076+
17077+
17078+
17079+
17080+
17081+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
17082+$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
17083+if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
17084+ $as_echo_n "(cached) " >&6
17085+else
17086+ lt_cv_sharedlib_from_linklib_cmd='unknown'
17087+
17088+case $host_os in
17089+cygwin* | mingw* | pw32* | cegcc*)
17090+ # two different shell functions defined in ltmain.sh
17091+ # decide which to use based on capabilities of $DLLTOOL
17092+ case `$DLLTOOL --help 2>&1` in
17093+ *--identify-strict*)
17094+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
17095+ ;;
17096+ *)
17097+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
17098+ ;;
17099+ esac
17100+ ;;
17101+*)
17102+ # fallback: assume linklib IS sharedlib
17103+ lt_cv_sharedlib_from_linklib_cmd="$ECHO"
17104+ ;;
17105+esac
17106+
17107+fi
17108+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
17109+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
17110+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
17111+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
17112+
17113+
17114+
17115+
17116+
17117+
17118+
17119 if test -n "$ac_tool_prefix"; then
17120- # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17121-set dummy ${ac_tool_prefix}ar; ac_word=$2
17122+ for ac_prog in ar
17123+ do
17124+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17125+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17127 $as_echo_n "checking for $ac_word... " >&6; }
17128 if test "${ac_cv_prog_AR+set}" = set; then :
17129@@ -6710,7 +6964,7 @@
17130 test -z "$as_dir" && as_dir=.
17131 for ac_exec_ext in '' $ac_executable_extensions; do
17132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17133- ac_cv_prog_AR="${ac_tool_prefix}ar"
17134+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
17135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17136 break 2
17137 fi
17138@@ -6730,11 +6984,15 @@
17139 fi
17140
17141
17142+ test -n "$AR" && break
17143+ done
17144 fi
17145-if test -z "$ac_cv_prog_AR"; then
17146+if test -z "$AR"; then
17147 ac_ct_AR=$AR
17148- # Extract the first word of "ar", so it can be a program name with args.
17149-set dummy ar; ac_word=$2
17150+ for ac_prog in ar
17151+do
17152+ # Extract the first word of "$ac_prog", so it can be a program name with args.
17153+set dummy $ac_prog; ac_word=$2
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17155 $as_echo_n "checking for $ac_word... " >&6; }
17156 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
17157@@ -6750,7 +7008,7 @@
17158 test -z "$as_dir" && as_dir=.
17159 for ac_exec_ext in '' $ac_executable_extensions; do
17160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17161- ac_cv_prog_ac_ct_AR="ar"
17162+ ac_cv_prog_ac_ct_AR="$ac_prog"
17163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17164 break 2
17165 fi
17166@@ -6769,6 +7027,10 @@
17167 $as_echo "no" >&6; }
17168 fi
17169
17170+
17171+ test -n "$ac_ct_AR" && break
17172+done
17173+
17174 if test "x$ac_ct_AR" = x; then
17175 AR="false"
17176 else
17177@@ -6780,16 +7042,72 @@
17178 esac
17179 AR=$ac_ct_AR
17180 fi
17181-else
17182- AR="$ac_cv_prog_AR"
17183 fi
17184
17185-test -z "$AR" && AR=ar
17186-test -z "$AR_FLAGS" && AR_FLAGS=cru
17187+: ${AR=ar}
17188+: ${AR_FLAGS=cru}
17189+
17190+
17191+
17192+
17193+
17194+
17195+
17196+
17197+
17198+
17199+
17200+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
17201+$as_echo_n "checking for archiver @FILE support... " >&6; }
17202+if test "${lt_cv_ar_at_file+set}" = set; then :
17203+ $as_echo_n "(cached) " >&6
17204+else
17205+ lt_cv_ar_at_file=no
17206+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207+/* end confdefs.h. */
17208+
17209+int
17210+main ()
17211+{
17212
17213+ ;
17214+ return 0;
17215+}
17216+_ACEOF
17217+if ac_fn_c_try_compile "$LINENO"; then :
17218+ echo conftest.$ac_objext > conftest.lst
17219+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
17220+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
17221+ (eval $lt_ar_try) 2>&5
17222+ ac_status=$?
17223+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17224+ test $ac_status = 0; }
17225+ if test "$ac_status" -eq 0; then
17226+ # Ensure the archiver fails upon bogus file names.
17227+ rm -f conftest.$ac_objext libconftest.a
17228+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
17229+ (eval $lt_ar_try) 2>&5
17230+ ac_status=$?
17231+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17232+ test $ac_status = 0; }
17233+ if test "$ac_status" -ne 0; then
17234+ lt_cv_ar_at_file=@
17235+ fi
17236+ fi
17237+ rm -f conftest.* libconftest.a
17238
17239+fi
17240+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17241
17242+fi
17243+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
17244+$as_echo "$lt_cv_ar_at_file" >&6; }
17245
17246+if test "x$lt_cv_ar_at_file" = xno; then
17247+ archiver_list_spec=
17248+else
17249+ archiver_list_spec=$lt_cv_ar_at_file
17250+fi
17251
17252
17253
17254@@ -7131,8 +7449,8 @@
17255 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
17256
17257 # Transform an extracted symbol line into symbol name and symbol address
17258-lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
17259-lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
17260+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
17261+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
17262
17263 # Handle CRLF in mingw tool chain
17264 opt_cr=
17265@@ -7168,6 +7486,7 @@
17266 else
17267 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
17268 fi
17269+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
17270
17271 # Check to see that the pipe works correctly.
17272 pipe_works=no
17273@@ -7209,6 +7528,18 @@
17274 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
17275 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
17276 cat <<_LT_EOF > conftest.$ac_ext
17277+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
17278+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
17279+/* DATA imports from DLLs on WIN32 con't be const, because runtime
17280+ relocations are performed -- see ld's documentation on pseudo-relocs. */
17281+# define LT_DLSYM_CONST
17282+#elif defined(__osf__)
17283+/* This system does not cope well with relocations in const data. */
17284+# define LT_DLSYM_CONST
17285+#else
17286+# define LT_DLSYM_CONST const
17287+#endif
17288+
17289 #ifdef __cplusplus
17290 extern "C" {
17291 #endif
17292@@ -7220,7 +7551,7 @@
17293 cat <<_LT_EOF >> conftest.$ac_ext
17294
17295 /* The mapping between symbol names and symbols. */
17296-const struct {
17297+LT_DLSYM_CONST struct {
17298 const char *name;
17299 void *address;
17300 }
17301@@ -7246,8 +7577,8 @@
17302 _LT_EOF
17303 # Now try linking the two files.
17304 mv conftest.$ac_objext conftstm.$ac_objext
17305- lt_save_LIBS="$LIBS"
17306- lt_save_CFLAGS="$CFLAGS"
17307+ lt_globsym_save_LIBS=$LIBS
17308+ lt_globsym_save_CFLAGS=$CFLAGS
17309 LIBS="conftstm.$ac_objext"
17310 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
17311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
17312@@ -7257,8 +7588,8 @@
17313 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
17314 pipe_works=yes
17315 fi
17316- LIBS="$lt_save_LIBS"
17317- CFLAGS="$lt_save_CFLAGS"
17318+ LIBS=$lt_globsym_save_LIBS
17319+ CFLAGS=$lt_globsym_save_CFLAGS
17320 else
17321 echo "cannot find nm_test_func in $nlist" >&5
17322 fi
17323@@ -7295,6 +7626,19 @@
17324 $as_echo "ok" >&6; }
17325 fi
17326
17327+# Response file support.
17328+if test "$lt_cv_nm_interface" = "MS dumpbin"; then
17329+ nm_file_list_spec='@'
17330+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
17331+ nm_file_list_spec='@'
17332+fi
17333+
17334+
17335+
17336+
17337+
17338+
17339+
17340
17341
17342
17343@@ -7315,6 +7659,42 @@
17344
17345
17346
17347+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
17348+$as_echo_n "checking for sysroot... " >&6; }
17349+
17350+# Check whether --with-libtool-sysroot was given.
17351+if test "${with_libtool_sysroot+set}" = set; then :
17352+ withval=$with_libtool_sysroot;
17353+else
17354+ with_libtool_sysroot=no
17355+fi
17356+
17357+
17358+lt_sysroot=
17359+case ${with_libtool_sysroot} in #(
17360+ yes)
17361+ if test "$GCC" = yes; then
17362+ lt_sysroot=`$CC --print-sysroot 2>/dev/null`
17363+ fi
17364+ ;; #(
17365+ /*)
17366+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
17367+ ;; #(
17368+ no|'')
17369+ ;; #(
17370+ *)
17371+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
17372+$as_echo "${with_libtool_sysroot}" >&6; }
17373+ as_fn_error "The sysroot must be an absolute path." "$LINENO" 5
17374+ ;;
17375+esac
17376+
17377+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
17378+$as_echo "${lt_sysroot:-no}" >&6; }
17379+
17380+
17381+
17382+
17383
17384 # Check whether --enable-libtool-lock was given.
17385 if test "${enable_libtool_lock+set}" = set; then :
17386@@ -7509,6 +7889,123 @@
17387
17388 need_locks="$enable_libtool_lock"
17389
17390+if test -n "$ac_tool_prefix"; then
17391+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
17392+set dummy ${ac_tool_prefix}mt; ac_word=$2
17393+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17394+$as_echo_n "checking for $ac_word... " >&6; }
17395+if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
17396+ $as_echo_n "(cached) " >&6
17397+else
17398+ if test -n "$MANIFEST_TOOL"; then
17399+ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
17400+else
17401+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17402+for as_dir in $PATH
17403+do
17404+ IFS=$as_save_IFS
17405+ test -z "$as_dir" && as_dir=.
17406+ for ac_exec_ext in '' $ac_executable_extensions; do
17407+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17408+ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
17409+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17410+ break 2
17411+ fi
17412+done
17413+ done
17414+IFS=$as_save_IFS
17415+
17416+fi
17417+fi
17418+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
17419+if test -n "$MANIFEST_TOOL"; then
17420+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
17421+$as_echo "$MANIFEST_TOOL" >&6; }
17422+else
17423+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17424+$as_echo "no" >&6; }
17425+fi
17426+
17427+
17428+fi
17429+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
17430+ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
17431+ # Extract the first word of "mt", so it can be a program name with args.
17432+set dummy mt; ac_word=$2
17433+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17434+$as_echo_n "checking for $ac_word... " >&6; }
17435+if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
17436+ $as_echo_n "(cached) " >&6
17437+else
17438+ if test -n "$ac_ct_MANIFEST_TOOL"; then
17439+ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
17440+else
17441+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17442+for as_dir in $PATH
17443+do
17444+ IFS=$as_save_IFS
17445+ test -z "$as_dir" && as_dir=.
17446+ for ac_exec_ext in '' $ac_executable_extensions; do
17447+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17448+ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
17449+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17450+ break 2
17451+ fi
17452+done
17453+ done
17454+IFS=$as_save_IFS
17455+
17456+fi
17457+fi
17458+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
17459+if test -n "$ac_ct_MANIFEST_TOOL"; then
17460+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
17461+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
17462+else
17463+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17464+$as_echo "no" >&6; }
17465+fi
17466+
17467+ if test "x$ac_ct_MANIFEST_TOOL" = x; then
17468+ MANIFEST_TOOL=":"
17469+ else
17470+ case $cross_compiling:$ac_tool_warned in
17471+yes:)
17472+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17473+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17474+ac_tool_warned=yes ;;
17475+esac
17476+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
17477+ fi
17478+else
17479+ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
17480+fi
17481+
17482+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
17483+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
17484+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
17485+if test "${lt_cv_path_mainfest_tool+set}" = set; then :
17486+ $as_echo_n "(cached) " >&6
17487+else
17488+ lt_cv_path_mainfest_tool=no
17489+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
17490+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
17491+ cat conftest.err >&5
17492+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then
17493+ lt_cv_path_mainfest_tool=yes
17494+ fi
17495+ rm -f conftest*
17496+fi
17497+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
17498+$as_echo "$lt_cv_path_mainfest_tool" >&6; }
17499+if test "x$lt_cv_path_mainfest_tool" != xyes; then
17500+ MANIFEST_TOOL=:
17501+fi
17502+
17503+
17504+
17505+
17506+
17507
17508 case $host_os in
17509 rhapsody* | darwin*)
17510@@ -8072,6 +8569,8 @@
17511 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
17512 echo "$AR cru libconftest.a conftest.o" >&5
17513 $AR cru libconftest.a conftest.o 2>&5
17514+ echo "$RANLIB libconftest.a" >&5
17515+ $RANLIB libconftest.a 2>&5
17516 cat > conftest.c << _LT_EOF
17517 int main() { return 0;}
17518 _LT_EOF
17519@@ -8267,7 +8766,8 @@
17520 LIBTOOL_DEPS="$ltmain"
17521
17522 # Always use our own libtool.
17523-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
17524+LIBTOOL='$(SHELL) $(top_builddir)'
17525+LIBTOOL="$LIBTOOL/${host_alias}-libtool"
17526
17527
17528
17529@@ -8356,7 +8856,7 @@
17530 esac
17531
17532 # Global variables:
17533-ofile=libtool
17534+ofile=${host_alias}-libtool
17535 can_build_shared=yes
17536
17537 # All known linkers require a `.a' archive for static linking (except MSVC,
17538@@ -8654,8 +9154,6 @@
17539 lt_prog_compiler_pic=
17540 lt_prog_compiler_static=
17541
17542-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17543-$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17544
17545 if test "$GCC" = yes; then
17546 lt_prog_compiler_wl='-Wl,'
17547@@ -8820,6 +9318,12 @@
17548 lt_prog_compiler_pic='--shared'
17549 lt_prog_compiler_static='--static'
17550 ;;
17551+ nagfor*)
17552+ # NAG Fortran compiler
17553+ lt_prog_compiler_wl='-Wl,-Wl,,'
17554+ lt_prog_compiler_pic='-PIC'
17555+ lt_prog_compiler_static='-Bstatic'
17556+ ;;
17557 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
17558 # Portland Group compilers (*not* the Pentium gcc compiler,
17559 # which looks to be a dead project)
17560@@ -8882,7 +9386,7 @@
17561 lt_prog_compiler_pic='-KPIC'
17562 lt_prog_compiler_static='-Bstatic'
17563 case $cc_basename in
17564- f77* | f90* | f95*)
17565+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
17566 lt_prog_compiler_wl='-Qoption ld ';;
17567 *)
17568 lt_prog_compiler_wl='-Wl,';;
17569@@ -8939,13 +9443,17 @@
17570 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
17571 ;;
17572 esac
17573-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
17574-$as_echo "$lt_prog_compiler_pic" >&6; }
17575-
17576-
17577-
17578-
17579
17580+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17581+$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17582+if test "${lt_cv_prog_compiler_pic+set}" = set; then :
17583+ $as_echo_n "(cached) " >&6
17584+else
17585+ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
17586+fi
17587+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
17588+$as_echo "$lt_cv_prog_compiler_pic" >&6; }
17589+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
17590
17591 #
17592 # Check to make sure the PIC flag actually works.
17593@@ -9006,6 +9514,11 @@
17594
17595
17596
17597+
17598+
17599+
17600+
17601+
17602 #
17603 # Check to make sure the static flag actually works.
17604 #
17605@@ -9356,7 +9869,8 @@
17606 allow_undefined_flag=unsupported
17607 always_export_symbols=no
17608 enable_shared_with_static_runtimes=yes
17609- export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17610+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
17611+ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17612
17613 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
17614 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17615@@ -9404,7 +9918,7 @@
17616 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
17617 && test "$tmp_diet" = no
17618 then
17619- tmp_addflag=
17620+ tmp_addflag=' $pic_flag'
17621 tmp_sharedflag='-shared'
17622 case $cc_basename,$host_cpu in
17623 pgcc*) # Portland Group C compiler
17624@@ -9455,12 +9969,12 @@
17625 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
17626 hardcode_libdir_flag_spec=
17627 hardcode_libdir_flag_spec_ld='-rpath $libdir'
17628- archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
17629+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
17630 if test "x$supports_anon_versioning" = xyes; then
17631 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
17632 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17633 echo "local: *; };" >> $output_objdir/$libname.ver~
17634- $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
17635+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
17636 fi
17637 ;;
17638 esac
17639@@ -9474,8 +9988,8 @@
17640 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17641 wlarc=
17642 else
17643- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17644- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17645+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17646+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17647 fi
17648 ;;
17649
17650@@ -9493,8 +10007,8 @@
17651
17652 _LT_EOF
17653 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17654- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17655- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17656+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17657+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17658 else
17659 ld_shlibs=no
17660 fi
17661@@ -9540,8 +10054,8 @@
17662
17663 *)
17664 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17665- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17666- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17667+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17668+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17669 else
17670 ld_shlibs=no
17671 fi
17672@@ -9671,7 +10185,13 @@
17673 allow_undefined_flag='-berok'
17674 # Determine the default libpath from the value encoded in an
17675 # empty executable.
17676- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17677+ if test "${lt_cv_aix_libpath+set}" = set; then
17678+ aix_libpath=$lt_cv_aix_libpath
17679+else
17680+ if test "${lt_cv_aix_libpath_+set}" = set; then :
17681+ $as_echo_n "(cached) " >&6
17682+else
17683+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17684 /* end confdefs.h. */
17685
17686 int
17687@@ -9684,22 +10204,29 @@
17688 _ACEOF
17689 if ac_fn_c_try_link "$LINENO"; then :
17690
17691-lt_aix_libpath_sed='
17692- /Import File Strings/,/^$/ {
17693- /^0/ {
17694- s/^0 *\(.*\)$/\1/
17695- p
17696- }
17697- }'
17698-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17699-# Check for a 64-bit object if we didn't find anything.
17700-if test -z "$aix_libpath"; then
17701- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17702-fi
17703+ lt_aix_libpath_sed='
17704+ /Import File Strings/,/^$/ {
17705+ /^0/ {
17706+ s/^0 *\([^ ]*\) *$/\1/
17707+ p
17708+ }
17709+ }'
17710+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17711+ # Check for a 64-bit object if we didn't find anything.
17712+ if test -z "$lt_cv_aix_libpath_"; then
17713+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17714+ fi
17715 fi
17716 rm -f core conftest.err conftest.$ac_objext \
17717 conftest$ac_exeext conftest.$ac_ext
17718-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17719+ if test -z "$lt_cv_aix_libpath_"; then
17720+ lt_cv_aix_libpath_="/usr/lib:/lib"
17721+ fi
17722+
17723+fi
17724+
17725+ aix_libpath=$lt_cv_aix_libpath_
17726+fi
17727
17728 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
17729 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17730@@ -9711,7 +10238,13 @@
17731 else
17732 # Determine the default libpath from the value encoded in an
17733 # empty executable.
17734- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17735+ if test "${lt_cv_aix_libpath+set}" = set; then
17736+ aix_libpath=$lt_cv_aix_libpath
17737+else
17738+ if test "${lt_cv_aix_libpath_+set}" = set; then :
17739+ $as_echo_n "(cached) " >&6
17740+else
17741+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17742 /* end confdefs.h. */
17743
17744 int
17745@@ -9724,22 +10257,29 @@
17746 _ACEOF
17747 if ac_fn_c_try_link "$LINENO"; then :
17748
17749-lt_aix_libpath_sed='
17750- /Import File Strings/,/^$/ {
17751- /^0/ {
17752- s/^0 *\(.*\)$/\1/
17753- p
17754- }
17755- }'
17756-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17757-# Check for a 64-bit object if we didn't find anything.
17758-if test -z "$aix_libpath"; then
17759- aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17760-fi
17761+ lt_aix_libpath_sed='
17762+ /Import File Strings/,/^$/ {
17763+ /^0/ {
17764+ s/^0 *\([^ ]*\) *$/\1/
17765+ p
17766+ }
17767+ }'
17768+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17769+ # Check for a 64-bit object if we didn't find anything.
17770+ if test -z "$lt_cv_aix_libpath_"; then
17771+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17772+ fi
17773 fi
17774 rm -f core conftest.err conftest.$ac_objext \
17775 conftest$ac_exeext conftest.$ac_ext
17776-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17777+ if test -z "$lt_cv_aix_libpath_"; then
17778+ lt_cv_aix_libpath_="/usr/lib:/lib"
17779+ fi
17780+
17781+fi
17782+
17783+ aix_libpath=$lt_cv_aix_libpath_
17784+fi
17785
17786 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
17787 # Warning - without using the other run time loading flags,
17788@@ -9784,20 +10324,63 @@
17789 # Microsoft Visual C++.
17790 # hardcode_libdir_flag_spec is actually meaningless, as there is
17791 # no search path for DLLs.
17792- hardcode_libdir_flag_spec=' '
17793- allow_undefined_flag=unsupported
17794- # Tell ltmain to make .lib files, not .a files.
17795- libext=lib
17796- # Tell ltmain to make .dll files, not .so files.
17797- shrext_cmds=".dll"
17798- # FIXME: Setting linknames here is a bad hack.
17799- archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
17800- # The linker will automatically build a .lib file if we build a DLL.
17801- old_archive_from_new_cmds='true'
17802- # FIXME: Should let the user specify the lib program.
17803- old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
17804- fix_srcfile_path='`cygpath -w "$srcfile"`'
17805- enable_shared_with_static_runtimes=yes
17806+ case $cc_basename in
17807+ cl*)
17808+ # Native MSVC
17809+ hardcode_libdir_flag_spec=' '
17810+ allow_undefined_flag=unsupported
17811+ always_export_symbols=yes
17812+ file_list_spec='@'
17813+ # Tell ltmain to make .lib files, not .a files.
17814+ libext=lib
17815+ # Tell ltmain to make .dll files, not .so files.
17816+ shrext_cmds=".dll"
17817+ # FIXME: Setting linknames here is a bad hack.
17818+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
17819+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17820+ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
17821+ else
17822+ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
17823+ fi~
17824+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
17825+ linknames='
17826+ # The linker will not automatically build a static lib if we build a DLL.
17827+ # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
17828+ enable_shared_with_static_runtimes=yes
17829+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17830+ # Don't use ranlib
17831+ old_postinstall_cmds='chmod 644 $oldlib'
17832+ postlink_cmds='lt_outputfile="@OUTPUT@"~
17833+ lt_tool_outputfile="@TOOL_OUTPUT@"~
17834+ case $lt_outputfile in
17835+ *.exe|*.EXE) ;;
17836+ *)
17837+ lt_outputfile="$lt_outputfile.exe"
17838+ lt_tool_outputfile="$lt_tool_outputfile.exe"
17839+ ;;
17840+ esac~
17841+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
17842+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
17843+ $RM "$lt_outputfile.manifest";
17844+ fi'
17845+ ;;
17846+ *)
17847+ # Assume MSVC wrapper
17848+ hardcode_libdir_flag_spec=' '
17849+ allow_undefined_flag=unsupported
17850+ # Tell ltmain to make .lib files, not .a files.
17851+ libext=lib
17852+ # Tell ltmain to make .dll files, not .so files.
17853+ shrext_cmds=".dll"
17854+ # FIXME: Setting linknames here is a bad hack.
17855+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
17856+ # The linker will automatically build a .lib file if we build a DLL.
17857+ old_archive_from_new_cmds='true'
17858+ # FIXME: Should let the user specify the lib program.
17859+ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
17860+ enable_shared_with_static_runtimes=yes
17861+ ;;
17862+ esac
17863 ;;
17864
17865 darwin* | rhapsody*)
17866@@ -9862,7 +10445,7 @@
17867
17868 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17869 freebsd* | dragonfly*)
17870- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17871+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17872 hardcode_libdir_flag_spec='-R$libdir'
17873 hardcode_direct=yes
17874 hardcode_shlibpath_var=no
17875@@ -9870,7 +10453,7 @@
17876
17877 hpux9*)
17878 if test "$GCC" = yes; then
17879- archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17880+ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17881 else
17882 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17883 fi
17884@@ -9886,7 +10469,7 @@
17885
17886 hpux10*)
17887 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
17888- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17889+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17890 else
17891 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17892 fi
17893@@ -9910,10 +10493,10 @@
17894 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17895 ;;
17896 ia64*)
17897- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17898+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17899 ;;
17900 *)
17901- archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17902+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17903 ;;
17904 esac
17905 else
17906@@ -9992,23 +10575,36 @@
17907
17908 irix5* | irix6* | nonstopux*)
17909 if test "$GCC" = yes; then
17910- archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17911+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17912 # Try to use the -exported_symbol ld option, if it does not
17913 # work, assume that -exports_file does not work either and
17914 # implicitly export all symbols.
17915- save_LDFLAGS="$LDFLAGS"
17916- LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
17917- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17918+ # This should be the same for all languages, so no per-tag cache variable.
17919+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
17920+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
17921+if test "${lt_cv_irix_exported_symbol+set}" = set; then :
17922+ $as_echo_n "(cached) " >&6
17923+else
17924+ save_LDFLAGS="$LDFLAGS"
17925+ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
17926+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17927 /* end confdefs.h. */
17928-int foo(void) {}
17929+int foo (void) { return 0; }
17930 _ACEOF
17931 if ac_fn_c_try_link "$LINENO"; then :
17932- archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
17933-
17934+ lt_cv_irix_exported_symbol=yes
17935+else
17936+ lt_cv_irix_exported_symbol=no
17937 fi
17938 rm -f core conftest.err conftest.$ac_objext \
17939 conftest$ac_exeext conftest.$ac_ext
17940- LDFLAGS="$save_LDFLAGS"
17941+ LDFLAGS="$save_LDFLAGS"
17942+fi
17943+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
17944+$as_echo "$lt_cv_irix_exported_symbol" >&6; }
17945+ if test "$lt_cv_irix_exported_symbol" = yes; then
17946+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
17947+ fi
17948 else
17949 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
17950 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
17951@@ -10093,7 +10689,7 @@
17952 osf4* | osf5*) # as osf3* with the addition of -msym flag
17953 if test "$GCC" = yes; then
17954 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
17955- archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17956+ archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17957 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
17958 else
17959 allow_undefined_flag=' -expect_unresolved \*'
17960@@ -10112,9 +10708,9 @@
17961 no_undefined_flag=' -z defs'
17962 if test "$GCC" = yes; then
17963 wlarc='${wl}'
17964- archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17965+ archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17966 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17967- $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17968+ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17969 else
17970 case `$CC -V 2>&1` in
17971 *"Compilers 5.0"*)
17972@@ -10690,8 +11286,9 @@
17973 need_version=no
17974 need_lib_prefix=no
17975
17976- case $GCC,$host_os in
17977- yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
17978+ case $GCC,$cc_basename in
17979+ yes,*)
17980+ # gcc
17981 library_names_spec='$libname.dll.a'
17982 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17983 postinstall_cmds='base_file=`basename \${file}`~
17984@@ -10724,13 +11321,71 @@
17985 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17986 ;;
17987 esac
17988+ dynamic_linker='Win32 ld.exe'
17989+ ;;
17990+
17991+ *,cl*)
17992+ # Native MSVC
17993+ libname_spec='$name'
17994+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17995+ library_names_spec='${libname}.dll.lib'
17996+
17997+ case $build_os in
17998+ mingw*)
17999+ sys_lib_search_path_spec=
18000+ lt_save_ifs=$IFS
18001+ IFS=';'
18002+ for lt_path in $LIB
18003+ do
18004+ IFS=$lt_save_ifs
18005+ # Let DOS variable expansion print the short 8.3 style file name.
18006+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
18007+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
18008+ done
18009+ IFS=$lt_save_ifs
18010+ # Convert to MSYS style.
18011+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
18012+ ;;
18013+ cygwin*)
18014+ # Convert to unix form, then to dos form, then back to unix form
18015+ # but this time dos style (no spaces!) so that the unix form looks
18016+ # like /cygdrive/c/PROGRA~1:/cygdr...
18017+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
18018+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
18019+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18020+ ;;
18021+ *)
18022+ sys_lib_search_path_spec="$LIB"
18023+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
18024+ # It is most probably a Windows format PATH.
18025+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18026+ else
18027+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18028+ fi
18029+ # FIXME: find the short name or the path components, as spaces are
18030+ # common. (e.g. "Program Files" -> "PROGRA~1")
18031+ ;;
18032+ esac
18033+
18034+ # DLL is installed to $(libdir)/../bin by postinstall_cmds
18035+ postinstall_cmds='base_file=`basename \${file}`~
18036+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
18037+ dldir=$destdir/`dirname \$dlpath`~
18038+ test -d \$dldir || mkdir -p \$dldir~
18039+ $install_prog $dir/$dlname \$dldir/$dlname'
18040+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18041+ dlpath=$dir/\$dldll~
18042+ $RM \$dlpath'
18043+ shlibpath_overrides_runpath=yes
18044+ dynamic_linker='Win32 link.exe'
18045 ;;
18046
18047 *)
18048+ # Assume MSVC wrapper
18049 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18050+ dynamic_linker='Win32 ld.exe'
18051 ;;
18052 esac
18053- dynamic_linker='Win32 ld.exe'
18054 # FIXME: first we should search . and the directory the executable is in
18055 shlibpath_var=PATH
18056 ;;
18057@@ -10826,7 +11481,7 @@
18058 soname_spec='${libname}${release}${shared_ext}$major'
18059 shlibpath_var=LIBRARY_PATH
18060 shlibpath_overrides_runpath=yes
18061- sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
18062+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
18063 hardcode_into_libs=yes
18064 ;;
18065
18066@@ -11622,7 +12277,7 @@
18067 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18068 lt_status=$lt_dlunknown
18069 cat > conftest.$ac_ext <<_LT_EOF
18070-#line 11625 "configure"
18071+#line $LINENO "configure"
18072 #include "confdefs.h"
18073
18074 #if HAVE_DLFCN_H
18075@@ -11666,10 +12321,10 @@
18076 /* When -fvisbility=hidden is used, assume the code has been annotated
18077 correspondingly for the symbols needed. */
18078 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
18079-void fnord () __attribute__((visibility("default")));
18080+int fnord () __attribute__((visibility("default")));
18081 #endif
18082
18083-void fnord () { int i=42; }
18084+int fnord () { return 42; }
18085 int main ()
18086 {
18087 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18088@@ -11728,7 +12383,7 @@
18089 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18090 lt_status=$lt_dlunknown
18091 cat > conftest.$ac_ext <<_LT_EOF
18092-#line 11731 "configure"
18093+#line $LINENO "configure"
18094 #include "confdefs.h"
18095
18096 #if HAVE_DLFCN_H
18097@@ -11772,10 +12427,10 @@
18098 /* When -fvisbility=hidden is used, assume the code has been annotated
18099 correspondingly for the symbols needed. */
18100 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
18101-void fnord () __attribute__((visibility("default")));
18102+int fnord () __attribute__((visibility("default")));
18103 #endif
18104
18105-void fnord () { int i=42; }
18106+int fnord () { return 42; }
18107 int main ()
18108 {
18109 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18110@@ -14063,13 +14718,20 @@
18111 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18112 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18113 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18114+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18115+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18116 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18117 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18118 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18119 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18120 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18121+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18122+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18123+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18124+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18125 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18126 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18127+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18128 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18129 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18130 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18131@@ -14084,14 +14746,17 @@
18132 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18133 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18134 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
18135+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18136+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18137 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18138 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18139 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18140-lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18141 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18142+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18143 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18144 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18145 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18146+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18147 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18148 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18149 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18150@@ -14124,12 +14789,12 @@
18151 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18152 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18153 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18154-fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18155 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18156 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18157 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18158 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18159 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18160+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18161 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18162 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18163 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18164@@ -14184,8 +14849,13 @@
18165 OBJDUMP \
18166 deplibs_check_method \
18167 file_magic_cmd \
18168+file_magic_glob \
18169+want_nocaseglob \
18170+DLLTOOL \
18171+sharedlib_from_linklib_cmd \
18172 AR \
18173 AR_FLAGS \
18174+archiver_list_spec \
18175 STRIP \
18176 RANLIB \
18177 CC \
18178@@ -14195,12 +14865,14 @@
18179 lt_cv_sys_global_symbol_to_cdecl \
18180 lt_cv_sys_global_symbol_to_c_name_address \
18181 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18182+nm_file_list_spec \
18183 lt_prog_compiler_no_builtin_flag \
18184-lt_prog_compiler_wl \
18185 lt_prog_compiler_pic \
18186+lt_prog_compiler_wl \
18187 lt_prog_compiler_static \
18188 lt_cv_prog_compiler_c_o \
18189 need_locks \
18190+MANIFEST_TOOL \
18191 DSYMUTIL \
18192 NMEDIT \
18193 LIPO \
18194@@ -14216,7 +14888,6 @@
18195 hardcode_libdir_flag_spec \
18196 hardcode_libdir_flag_spec_ld \
18197 hardcode_libdir_separator \
18198-fix_srcfile_path \
18199 exclude_expsyms \
18200 include_expsyms \
18201 file_list_spec \
18202@@ -14252,6 +14923,7 @@
18203 module_expsym_cmds \
18204 export_symbols_cmds \
18205 prelink_cmds \
18206+postlink_cmds \
18207 postinstall_cmds \
18208 postuninstall_cmds \
18209 finish_cmds \
18210@@ -15047,7 +15719,8 @@
18211 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18212 #
18213 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18214-# 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
18215+# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
18216+# Inc.
18217 # Written by Gordon Matzigkeit, 1996
18218 #
18219 # This file is part of GNU Libtool.
18220@@ -15150,19 +15823,42 @@
18221 # turn newlines into spaces.
18222 NL2SP=$lt_lt_NL2SP
18223
18224+# convert \$build file names to \$host format.
18225+to_host_file_cmd=$lt_cv_to_host_file_cmd
18226+
18227+# convert \$build files to toolchain format.
18228+to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18229+
18230 # An object symbol dumper.
18231 OBJDUMP=$lt_OBJDUMP
18232
18233 # Method to check whether dependent libraries are shared objects.
18234 deplibs_check_method=$lt_deplibs_check_method
18235
18236-# Command to use when deplibs_check_method == "file_magic".
18237+# Command to use when deplibs_check_method = "file_magic".
18238 file_magic_cmd=$lt_file_magic_cmd
18239
18240+# How to find potential files when deplibs_check_method = "file_magic".
18241+file_magic_glob=$lt_file_magic_glob
18242+
18243+# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18244+want_nocaseglob=$lt_want_nocaseglob
18245+
18246+# DLL creation program.
18247+DLLTOOL=$lt_DLLTOOL
18248+
18249+# Command to associate shared and link libraries.
18250+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18251+
18252 # The archiver.
18253 AR=$lt_AR
18254+
18255+# Flags to create an archive.
18256 AR_FLAGS=$lt_AR_FLAGS
18257
18258+# How to feed a file listing to the archiver.
18259+archiver_list_spec=$lt_archiver_list_spec
18260+
18261 # A symbol stripping program.
18262 STRIP=$lt_STRIP
18263
18264@@ -15192,6 +15888,12 @@
18265 # Transform the output of nm in a C name address pair when lib prefix is needed.
18266 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18267
18268+# Specify filename containing input files for \$NM.
18269+nm_file_list_spec=$lt_nm_file_list_spec
18270+
18271+# The root where to search for dependent libraries,and in which our libraries should be installed.
18272+lt_sysroot=$lt_sysroot
18273+
18274 # The name of the directory that contains temporary libtool files.
18275 objdir=$objdir
18276
18277@@ -15201,6 +15903,9 @@
18278 # Must we lock files when doing compilation?
18279 need_locks=$lt_need_locks
18280
18281+# Manifest tool.
18282+MANIFEST_TOOL=$lt_MANIFEST_TOOL
18283+
18284 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18285 DSYMUTIL=$lt_DSYMUTIL
18286
18287@@ -15315,12 +16020,12 @@
18288 # Compiler flag to turn off builtin functions.
18289 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18290
18291-# How to pass a linker flag through the compiler.
18292-wl=$lt_lt_prog_compiler_wl
18293-
18294 # Additional compiler flags for building library objects.
18295 pic_flag=$lt_lt_prog_compiler_pic
18296
18297+# How to pass a linker flag through the compiler.
18298+wl=$lt_lt_prog_compiler_wl
18299+
18300 # Compiler flag to prevent dynamic linking.
18301 link_static_flag=$lt_lt_prog_compiler_static
18302
18303@@ -15407,9 +16112,6 @@
18304 # Whether libtool must link a program against all its dependency libraries.
18305 link_all_deplibs=$link_all_deplibs
18306
18307-# Fix the shell variable \$srcfile for the compiler.
18308-fix_srcfile_path=$lt_fix_srcfile_path
18309-
18310 # Set to "yes" if exported symbols are required.
18311 always_export_symbols=$always_export_symbols
18312
18313@@ -15425,6 +16127,9 @@
18314 # Commands necessary for linking programs (against libraries) with templates.
18315 prelink_cmds=$lt_prelink_cmds
18316
18317+# Commands necessary for finishing linking programs.
18318+postlink_cmds=$lt_postlink_cmds
18319+
18320 # Specify filename containing input files.
18321 file_list_spec=$lt_file_list_spec
18322
18323@@ -15457,210 +16162,169 @@
18324 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18325 # text mode, it properly converts lines to CR/LF. This bash problem
18326 # is reportedly fixed, but why not run on old versions too?
18327- sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18328- || (rm -f "$cfgfile"; exit 1)
18329-
18330- case $xsi_shell in
18331- yes)
18332- cat << \_LT_EOF >> "$cfgfile"
18333-
18334-# func_dirname file append nondir_replacement
18335-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
18336-# otherwise set result to NONDIR_REPLACEMENT.
18337-func_dirname ()
18338-{
18339- case ${1} in
18340- */*) func_dirname_result="${1%/*}${2}" ;;
18341- * ) func_dirname_result="${3}" ;;
18342- esac
18343-}
18344-
18345-# func_basename file
18346-func_basename ()
18347-{
18348- func_basename_result="${1##*/}"
18349-}
18350-
18351-# func_dirname_and_basename file append nondir_replacement
18352-# perform func_basename and func_dirname in a single function
18353-# call:
18354-# dirname: Compute the dirname of FILE. If nonempty,
18355-# add APPEND to the result, otherwise set result
18356-# to NONDIR_REPLACEMENT.
18357-# value returned in "$func_dirname_result"
18358-# basename: Compute filename of FILE.
18359-# value retuned in "$func_basename_result"
18360-# Implementation must be kept synchronized with func_dirname
18361-# and func_basename. For efficiency, we do not delegate to
18362-# those functions but instead duplicate the functionality here.
18363-func_dirname_and_basename ()
18364-{
18365- case ${1} in
18366- */*) func_dirname_result="${1%/*}${2}" ;;
18367- * ) func_dirname_result="${3}" ;;
18368- esac
18369- func_basename_result="${1##*/}"
18370-}
18371-
18372-# func_stripname prefix suffix name
18373-# strip PREFIX and SUFFIX off of NAME.
18374-# PREFIX and SUFFIX must not contain globbing or regex special
18375-# characters, hashes, percent signs, but SUFFIX may contain a leading
18376-# dot (in which case that matches only a dot).
18377-func_stripname ()
18378-{
18379- # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18380- # positional parameters, so assign one to ordinary parameter first.
18381- func_stripname_result=${3}
18382- func_stripname_result=${func_stripname_result#"${1}"}
18383- func_stripname_result=${func_stripname_result%"${2}"}
18384-}
18385-
18386-# func_opt_split
18387-func_opt_split ()
18388-{
18389- func_opt_split_opt=${1%%=*}
18390- func_opt_split_arg=${1#*=}
18391-}
18392-
18393-# func_lo2o object
18394-func_lo2o ()
18395-{
18396- case ${1} in
18397- *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18398- *) func_lo2o_result=${1} ;;
18399- esac
18400-}
18401-
18402-# func_xform libobj-or-source
18403-func_xform ()
18404-{
18405- func_xform_result=${1%.*}.lo
18406-}
18407-
18408-# func_arith arithmetic-term...
18409-func_arith ()
18410-{
18411- func_arith_result=$(( $* ))
18412-}
18413-
18414-# func_len string
18415-# STRING may not start with a hyphen.
18416-func_len ()
18417-{
18418- func_len_result=${#1}
18419-}
18420-
18421-_LT_EOF
18422- ;;
18423- *) # Bourne compatible functions.
18424- cat << \_LT_EOF >> "$cfgfile"
18425-
18426-# func_dirname file append nondir_replacement
18427-# Compute the dirname of FILE. If nonempty, add APPEND to the result,
18428-# otherwise set result to NONDIR_REPLACEMENT.
18429-func_dirname ()
18430-{
18431- # Extract subdirectory from the argument.
18432- func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
18433- if test "X$func_dirname_result" = "X${1}"; then
18434- func_dirname_result="${3}"
18435- else
18436- func_dirname_result="$func_dirname_result${2}"
18437- fi
18438-}
18439-
18440-# func_basename file
18441-func_basename ()
18442-{
18443- func_basename_result=`$ECHO "${1}" | $SED "$basename"`
18444-}
18445-
18446-
18447-# func_stripname prefix suffix name
18448-# strip PREFIX and SUFFIX off of NAME.
18449-# PREFIX and SUFFIX must not contain globbing or regex special
18450-# characters, hashes, percent signs, but SUFFIX may contain a leading
18451-# dot (in which case that matches only a dot).
18452-# func_strip_suffix prefix name
18453-func_stripname ()
18454-{
18455- case ${2} in
18456- .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18457- *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18458- esac
18459-}
18460-
18461-# sed scripts:
18462-my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18463-my_sed_long_arg='1s/^-[^=]*=//'
18464-
18465-# func_opt_split
18466-func_opt_split ()
18467-{
18468- func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
18469- func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
18470-}
18471-
18472-# func_lo2o object
18473-func_lo2o ()
18474-{
18475- func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
18476-}
18477-
18478-# func_xform libobj-or-source
18479-func_xform ()
18480-{
18481- func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
18482-}
18483-
18484-# func_arith arithmetic-term...
18485-func_arith ()
18486-{
18487- func_arith_result=`expr "$@"`
18488-}
18489-
18490-# func_len string
18491-# STRING may not start with a hyphen.
18492-func_len ()
18493-{
18494- func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18495-}
18496-
18497-_LT_EOF
18498-esac
18499-
18500-case $lt_shell_append in
18501- yes)
18502- cat << \_LT_EOF >> "$cfgfile"
18503-
18504-# func_append var value
18505-# Append VALUE to the end of shell variable VAR.
18506-func_append ()
18507-{
18508- eval "$1+=\$2"
18509-}
18510-_LT_EOF
18511- ;;
18512- *)
18513- cat << \_LT_EOF >> "$cfgfile"
18514-
18515-# func_append var value
18516-# Append VALUE to the end of shell variable VAR.
18517-func_append ()
18518-{
18519- eval "$1=\$$1\$2"
18520-}
18521-
18522-_LT_EOF
18523- ;;
18524- esac
18525+ sed '$q' "$ltmain" >> "$cfgfile" \
18526+ || (rm -f "$cfgfile"; exit 1)
18527
18528+ if test x"$xsi_shell" = xyes; then
18529+ sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18530+func_dirname ()\
18531+{\
18532+\ case ${1} in\
18533+\ */*) func_dirname_result="${1%/*}${2}" ;;\
18534+\ * ) func_dirname_result="${3}" ;;\
18535+\ esac\
18536+} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18537+ && mv -f "$cfgfile.tmp" "$cfgfile" \
18538+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18539+test 0 -eq $? || _lt_function_replace_fail=:
18540+
18541+
18542+ sed -e '/^func_basename ()$/,/^} # func_basename /c\
18543+func_basename ()\
18544+{\
18545+\ func_basename_result="${1##*/}"\
18546+} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18547+ && mv -f "$cfgfile.tmp" "$cfgfile" \
18548+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18549+test 0 -eq $? || _lt_function_replace_fail=:
18550+
18551+
18552+ sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18553+func_dirname_and_basename ()\
18554+{\
18555+\ case ${1} in\
18556+\ */*) func_dirname_result="${1%/*}${2}" ;;\
18557+\ * ) func_dirname_result="${3}" ;;\
18558+\ esac\
18559+\ func_basename_result="${1##*/}"\
18560+} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18561+ && mv -f "$cfgfile.tmp" "$cfgfile" \
18562+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18563+test 0 -eq $? || _lt_function_replace_fail=:
18564+
18565+
18566+ sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18567+func_stripname ()\
18568+{\
18569+\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18570+\ # positional parameters, so assign one to ordinary parameter first.\
18571+\ func_stripname_result=${3}\
18572+\ func_stripname_result=${func_stripname_result#"${1}"}\
18573+\ func_stripname_result=${func_stripname_result%"${2}"}\
18574+} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18575+ && mv -f "$cfgfile.tmp" "$cfgfile" \
18576+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18577+test 0 -eq $? || _lt_function_replace_fail=:
18578+
18579+
18580+ sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18581+func_split_long_opt ()\
18582+{\
18583+\ func_split_long_opt_name=${1%%=*}\
18584+\ func_split_long_opt_arg=${1#*=}\
18585+} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18586+ && mv -f "$cfgfile.tmp" "$cfgfile" \
18587+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18588+test 0 -eq $? || _lt_function_replace_fail=:
18589+
18590+
18591+ sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18592+func_split_short_opt ()\
18593+{\
18594+\ func_split_short_opt_arg=${1#??}\
18595+\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18596+} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18597+ && mv -f "$cfgfile.tmp" "$cfgfile" \
18598+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18599+test 0 -eq $? || _lt_function_replace_fail=:
18600+
18601+
18602+ sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18603+func_lo2o ()\
18604+{\
18605+\ case ${1} in\
18606+\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18607+\ *) func_lo2o_result=${1} ;;\
18608+\ esac\
18609+} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18610+ && mv -f "$cfgfile.tmp" "$cfgfile" \
18611+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18612+test 0 -eq $? || _lt_function_replace_fail=:
18613+
18614+
18615+ sed -e '/^func_xform ()$/,/^} # func_xform /c\
18616+func_xform ()\
18617+{\
18618+ func_xform_result=${1%.*}.lo\
18619+} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18620+ && mv -f "$cfgfile.tmp" "$cfgfile" \
18621+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18622+test 0 -eq $? || _lt_function_replace_fail=:
18623+
18624+
18625+ sed -e '/^func_arith ()$/,/^} # func_arith /c\
18626+func_arith ()\
18627+{\
18628+ func_arith_result=$(( $* ))\
18629+} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18630+ && mv -f "$cfgfile.tmp" "$cfgfile" \
18631+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18632+test 0 -eq $? || _lt_function_replace_fail=:
18633+
18634+
18635+ sed -e '/^func_len ()$/,/^} # func_len /c\
18636+func_len ()\
18637+{\
18638+ func_len_result=${#1}\
18639+} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18640+ && mv -f "$cfgfile.tmp" "$cfgfile" \
18641+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18642+test 0 -eq $? || _lt_function_replace_fail=:
18643+
18644+fi
18645+
18646+if test x"$lt_shell_append" = xyes; then
18647+ sed -e '/^func_append ()$/,/^} # func_append /c\
18648+func_append ()\
18649+{\
18650+ eval "${1}+=\\${2}"\
18651+} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18652+ && mv -f "$cfgfile.tmp" "$cfgfile" \
18653+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18654+test 0 -eq $? || _lt_function_replace_fail=:
18655+
18656+
18657+ sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18658+func_append_quoted ()\
18659+{\
18660+\ func_quote_for_eval "${2}"\
18661+\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18662+} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18663+ && mv -f "$cfgfile.tmp" "$cfgfile" \
18664+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18665+test 0 -eq $? || _lt_function_replace_fail=:
18666+
18667+
18668+ # Save a `func_append' function call where possible by direct use of '+='
18669+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18670+ && mv -f "$cfgfile.tmp" "$cfgfile" \
18671+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18672+ test 0 -eq $? || _lt_function_replace_fail=:
18673+else
18674+ # Save a `func_append' function call even when '+=' is not available
18675+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18676+ && mv -f "$cfgfile.tmp" "$cfgfile" \
18677+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18678+ test 0 -eq $? || _lt_function_replace_fail=:
18679+fi
18680+
18681+if test x"$_lt_function_replace_fail" = x":"; then
18682+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18683+$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18684+fi
18685
18686- sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18687- || (rm -f "$cfgfile"; exit 1)
18688
18689- mv -f "$cfgfile" "$ofile" ||
18690+ mv -f "$cfgfile" "$ofile" ||
18691 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18692 chmod +x "$ofile"
18693
18694Index: binutils-2.21/bfd/configure.in
18695===================================================================
18696--- binutils-2.21.orig/bfd/configure.in 2011-01-07 11:24:12.586101000 -0800
18697+++ binutils-2.21/bfd/configure.in 2011-01-07 11:24:45.206101000 -0800
18698@@ -532,7 +532,7 @@
18699 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
18700 changequote([,])dnl
18701 if test -n "$x"; then
18702- SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
18703+ SHARED_LIBADD="`pwd`/../libiberty/pic/libiberty.a"
18704 fi
18705
18706 # More hacks to build DLLs on Windows.
18707Index: binutils-2.21/opcodes/configure.in
18708===================================================================
18709--- binutils-2.21.orig/opcodes/configure.in 2011-01-07 11:24:12.606100958 -0800
18710+++ binutils-2.21/opcodes/configure.in 2011-01-07 11:25:36.816101002 -0800
18711@@ -134,7 +134,7 @@
18712 x=`sed -n -e 's/^[ ]*PICFLAG[ ]*=[ ]*//p' < ../libiberty/Makefile | sed -n '$p'`
18713 changequote([,])dnl
18714 if test -n "$x"; then
18715- SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
18716+ SHARED_LIBADD="`pwd`/../libiberty/pic/libiberty.a"
18717 fi
18718
18719 case "${host}" in
diff --git a/meta/recipes-devtools/binutils/binutils-2.21/libtool-rpath-fix.patch b/meta/recipes-devtools/binutils/binutils-2.21/libtool-rpath-fix.patch
new file mode 100644
index 0000000000..a0058c1a4f
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.21/libtool-rpath-fix.patch
@@ -0,0 +1,36 @@
1Enabling sysroot support in libtool exposed a bug where the final
2library had an RPATH encoded into it which still pointed to the
3sysroot. This works around the issue until it gets sorted out
4upstream.
5
6Fix suggested by Richard Purdie <richard.purdie@linuxfoundation.org>
7Signed-off-by: Scott Garman <scott.a.garman@intel.com>
8
9diff -urN binutils-2.21.orig//ltmain.sh binutils-2.21/ltmain.sh
10--- binutils-2.21.orig//ltmain.sh 2011-01-18 11:50:40.821710085 -0800
11+++ binutils-2.21/ltmain.sh 2011-01-18 11:51:38.774952785 -0800
12@@ -8035,9 +8035,11 @@
13 test "$opt_mode" != relink && rpath="$compile_rpath$rpath"
14 for libdir in $rpath; do
15 if test -n "$hardcode_libdir_flag_spec"; then
16+ func_replace_sysroot "$libdir"
17+ libdir=$func_replace_sysroot_result
18+ func_stripname '=' '' "$libdir"
19+ libdir=$func_stripname_result
20 if test -n "$hardcode_libdir_separator"; then
21- func_replace_sysroot "$libdir"
22- libdir=$func_replace_sysroot_result
23 if test -z "$hardcode_libdirs"; then
24 hardcode_libdirs="$libdir"
25 else
26@@ -8770,6 +8772,10 @@
27 hardcode_libdirs=
28 for libdir in $compile_rpath $finalize_rpath; do
29 if test -n "$hardcode_libdir_flag_spec"; then
30+ func_replace_sysroot "$libdir"
31+ libdir=$func_replace_sysroot_result
32+ func_stripname '=' '' "$libdir"
33+ libdir=$func_stripname_result
34 if test -n "$hardcode_libdir_separator"; then
35 if test -z "$hardcode_libdirs"; then
36 hardcode_libdirs="$libdir"
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
index 2fca81dbeb..95e535a1b7 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
@@ -1,16 +1,16 @@
1inherit cross-canadian 1inherit cross-canadian
2 2
3
4DESCRIPTION = "A GNU collection of cross-canadian binary utilities for ${TARGET_ARCH} target" 3DESCRIPTION = "A GNU collection of cross-canadian binary utilities for ${TARGET_ARCH} target"
5PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}" 4PN = "binutils-cross-canadian-${TRANSLATED_TARGET_ARCH}"
6BPN = "binutils" 5BPN = "binutils"
7 6
8DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk" 7DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk"
9EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \ 8EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \
10 --program-prefix=${TARGET_PREFIX}" 9 --program-prefix=${TARGET_PREFIX} \
10 --disable-werror"
11 11
12do_install () { 12do_install () {
13 autotools_do_install 13 autotools_do_install
14 14
15 # We're not interested in the libs or headers, these would come from the 15 # We're not interested in the libs or headers, these would come from the
16 # nativesdk or target version of the binutils recipe 16 # nativesdk or target version of the binutils recipe
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.20.1.bb b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.bb
index 1621b77e9d..7dad2a620b 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.20.1.bb
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.21.bb
@@ -1,3 +1,3 @@
1require binutils_${PV}.bb 1require binutils_${PV}.bb
2require binutils-cross-canadian.inc 2require binutils-cross-canadian.inc
3PR = "r6" 3PR = "r0"
diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc
index 8c75e4ffe7..4b909720de 100644
--- a/meta/recipes-devtools/binutils/binutils-cross.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross.inc
@@ -2,10 +2,10 @@ inherit cross
2PROVIDES = "virtual/${TARGET_PREFIX}binutils" 2PROVIDES = "virtual/${TARGET_PREFIX}binutils"
3 3
4EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \ 4EXTRA_OECONF = "--with-sysroot=${STAGING_DIR_TARGET} \
5 --program-prefix=${TARGET_PREFIX} \ 5 --program-prefix=${TARGET_PREFIX} \
6 --disable-install-libbfd \ 6 --disable-install-libbfd \
7 --disable-werror \ 7 --disable-werror \
8 --enable-poison-system-directories" 8 --enable-poison-system-directories"
9 9
10do_install () { 10do_install () {
11 oe_runmake 'DESTDIR=${D}' install 11 oe_runmake 'DESTDIR=${D}' install
diff --git a/meta/recipes-devtools/binutils/binutils-cross_2.20.1.bb b/meta/recipes-devtools/binutils/binutils-cross_2.21.bb
index 8c7e4bc1a3..01d99db419 100644
--- a/meta/recipes-devtools/binutils/binutils-cross_2.20.1.bb
+++ b/meta/recipes-devtools/binutils/binutils-cross_2.21.bb
@@ -1,3 +1,2 @@
1require binutils_${PV}.bb 1require binutils_${PV}.bb
2require binutils-cross.inc 2require binutils-cross.inc
3
diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.20.1.bb b/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.bb
index 88627f87be..0d6efffa2f 100644
--- a/meta/recipes-devtools/binutils/binutils-crosssdk_2.20.1.bb
+++ b/meta/recipes-devtools/binutils/binutils-crosssdk_2.21.bb
@@ -4,7 +4,7 @@ inherit crosssdk
4 4
5PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk" 5PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk"
6 6
7PR = "r4" 7PR = "r0"
8 8
9do_configure_prepend () { 9do_configure_prepend () {
10 sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt 10 sed -i 's#/usr/local/lib /lib /usr/lib#${SDKPATHNATIVE}/lib ${SDKPATHNATIVE}/usr/lib /usr/local/lib /lib /usr/lib#' ${S}/ld/configure.tgt
diff --git a/meta/recipes-devtools/binutils/binutils.inc b/meta/recipes-devtools/binutils/binutils.inc
index 8669d7f871..d9e859ef2b 100644
--- a/meta/recipes-devtools/binutils/binutils.inc
+++ b/meta/recipes-devtools/binutils/binutils.inc
@@ -1,9 +1,11 @@
1SUMMARY = "A GNU collection of binary utilities" 1SUMMARY = "A GNU collection of binary utilities"
2DESCRIPTION = "The GNU Binutils are a collection of binary tools. The main ones are ld (GNU Linker), and as \ 2DESCRIPTION = "The GNU Binutils are a collection of binary tools. \
3(GNU Assembler). This package also includes addition tools such as addr2line (Converts addresses into filenames \ 3The main ones are ld (GNU Linker), and as (GNU Assembler). This \
4and line numbers), ar (utility for creating, modifying and extracting archives), nm (list symbols in object \ 4package also includes addition tools such as addr2line (Converts \
5files), objcopy (copy and translate object files), objdump (Display object information), and other tools and \ 5addresses into filenames and line numbers), ar (utility for creating, \
6related libraries." 6modifying and extracting archives), nm (list symbols in object \
7files), objcopy (copy and translate object files), objdump (Display \
8object information), and other tools and related libraries."
7HOMEPAGE = "http://www.gnu.org/software/binutils/" 9HOMEPAGE = "http://www.gnu.org/software/binutils/"
8BUGTRACKER = "http://sourceware.org/bugzilla/" 10BUGTRACKER = "http://sourceware.org/bugzilla/"
9SECTION = "devel" 11SECTION = "devel"
@@ -44,8 +46,8 @@ FILES_${PN}-symlinks = " \
44B = "${S}/build.${HOST_SYS}.${TARGET_SYS}" 46B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
45 47
46EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \ 48EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
47 --enable-install-libbfd \ 49 --enable-install-libbfd \
48 --enable-shared" 50 --enable-shared"
49 51
50EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd" 52EXTRA_OECONF_virtclass-native = "--enable-target=all --enable-64-bit-bfd --enable-install-libbfd"
51 53
@@ -73,8 +75,6 @@ export CC_FOR_BUILD = "${BUILD_CC}"
73export CPP_FOR_BUILD = "${BUILD_CPP}" 75export CPP_FOR_BUILD = "${BUILD_CPP}"
74export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}" 76export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
75 77
76export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
77
78do_configure () { 78do_configure () {
79 (cd ${S}; gnu-configize) || die "Failed to run gnu-configize" 79 (cd ${S}; gnu-configize) || die "Failed to run gnu-configize"
80 oe_runconf 80 oe_runconf
@@ -143,9 +143,7 @@ pkg_postinst_${PN}-symlinks () {
143 update-alternatives --install ${bindir}/strings strings ${TARGET_SYS}-strings 100 143 update-alternatives --install ${bindir}/strings strings ${TARGET_SYS}-strings 100
144} 144}
145 145
146
147pkg_prerm_${PN}-symlinks () { 146pkg_prerm_${PN}-symlinks () {
148 update-alternatives --remove ar ${TARGET_SYS}-ar 147 update-alternatives --remove ar ${TARGET_SYS}-ar
149 update-alternatives --remove strings ${TARGET_SYS}-strings 148 update-alternatives --remove strings ${TARGET_SYS}-strings
150} 149}
151
diff --git a/meta/recipes-devtools/binutils/binutils_2.20.1.bb b/meta/recipes-devtools/binutils/binutils_2.21.bb
index b7212e7996..270c720c39 100644
--- a/meta/recipes-devtools/binutils/binutils_2.20.1.bb
+++ b/meta/recipes-devtools/binutils/binutils_2.21.bb
@@ -1,6 +1,6 @@
1require binutils.inc 1require binutils.inc
2 2
3PR = "r3" 3PR = "r0"
4 4
5LIC_FILES_CHKSUM="\ 5LIC_FILES_CHKSUM="\
6 file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\ 6 file://src-release;endline=17;md5=4830a9ef968f3b18dd5e9f2c00db2d35\
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM="\
16 " 16 "
17 17
18SRC_URI = "\ 18SRC_URI = "\
19 ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2;name=tarball \ 19 ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \
20 file://binutils-uclibc-100-uclibc-conf.patch \ 20 file://binutils-uclibc-100-uclibc-conf.patch \
21 file://110-arm-eabi-conf.patch \ 21 file://110-arm-eabi-conf.patch \
22 file://binutils-uclibc-300-001_ld_makefile_patch.patch \ 22 file://binutils-uclibc-300-001_ld_makefile_patch.patch \
@@ -24,18 +24,14 @@ SRC_URI = "\
24 file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ 24 file://binutils-uclibc-300-012_check_ldrunpath_length.patch \
25 file://binutils-uclibc-gas-needs-libm.patch \ 25 file://binutils-uclibc-gas-needs-libm.patch \
26 file://binutils-x86_64_i386_biarch.patch \ 26 file://binutils-x86_64_i386_biarch.patch \
27 file://binutils-mips-pie.patch \ 27 file://libtool-2.4-update.patch \
28 file://binutils-libtool.patch \ 28 file://binutils-2.19.1-ld-sysroot.patch \
29 file://libiberty_path_fix.patch \ 29 file://libiberty_path_fix.patch \
30 file://binutils-poison.patch \ 30 file://binutils-poison.patch \
31 file://libtool-rpath-fix.patch \
31 " 32 "
32 33
33SRC_URI[tarball.md5sum] = "9cdfb9d6ec0578c166d3beae5e15c4e5" 34SRC_URI[md5sum] = "c84c5acc9d266f1a7044b51c85a823f5"
34SRC_URI[tarball.sha256sum] = "228b84722d87e88e7fdd36869e590e649ab523a0800a7d53df906498afe6f6f8" 35SRC_URI[sha256sum] = "60abec5bf448eb930a5a15acb8712612377dc8bcfb13dfd5131228f70561d0c7"
35
36# powerpc patches
37SRC_URI += "\
38 file://binutils-2.16.1-e300c2c3.patch \
39 "
40 36
41BBCLASSEXTEND = "native" 37BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/binutils/files/better_file_error.patch b/meta/recipes-devtools/binutils/files/better_file_error.patch
deleted file mode 100644
index 38ef52966e..0000000000
--- a/meta/recipes-devtools/binutils/files/better_file_error.patch
+++ /dev/null
@@ -1,17 +0,0 @@
1diff -urN binutils-2.11.92.0.5/bfd/opncls.c binutils-2.11.92.0.5.new/bfd/opncls.c
2--- binutils-2.11.92.0.5/bfd/opncls.c Mon Oct 1 18:25:21 2001
3+++ binutils-2.11.92.0.5.new/bfd/opncls.c Sat Oct 13 11:26:59 2001
4@@ -127,6 +127,13 @@
5 {
6 bfd *nbfd;
7 const bfd_target *target_vec;
8+ struct stat s;
9+
10+ if (stat (filename, &s) == 0)
11+ if (S_ISDIR(s.st_mode)) {
12+ bfd_set_error (bfd_error_file_not_recognized);
13+ return NULL;
14+ }
15
16 nbfd = _bfd_new_bfd ();
17 if (nbfd == NULL)
diff --git a/meta/recipes-devtools/binutils/files/ld_makefile.patch b/meta/recipes-devtools/binutils/files/ld_makefile.patch
deleted file mode 100644
index c1d2ac1ece..0000000000
--- a/meta/recipes-devtools/binutils/files/ld_makefile.patch
+++ /dev/null
@@ -1,22 +0,0 @@
1--- binutils-2.11.90.0.19.orig/ld/Makefile.am
2+++ binutils-2.11.90.0.19/ld/Makefile.am
3@@ -19,7 +19,7 @@
4 # We put the scripts in the directory $(scriptdir)/ldscripts.
5 # We can't put the scripts in $(datadir) because the SEARCH_DIR
6 # directives need to be different for native and cross linkers.
7-scriptdir = $(tooldir)/lib
8+scriptdir = $(libdir)
9
10 EMUL = @EMUL@
11 EMULATION_OFILES = @EMULATION_OFILES@
12--- binutils-2.11.90.0.19.orig/ld/Makefile.in
13+++ binutils-2.11.90.0.19/ld/Makefile.in
14@@ -123,7 +123,7 @@
15 # We put the scripts in the directory $(scriptdir)/ldscripts.
16 # We can't put the scripts in $(datadir) because the SEARCH_DIR
17 # directives need to be different for native and cross linkers.
18-scriptdir = $(tooldir)/lib
19+scriptdir = $(libdir)
20
21 EMUL = @EMUL@
22 EMULATION_OFILES = @EMULATION_OFILES@
diff --git a/meta/recipes-devtools/binutils/files/objdump_fix.patch b/meta/recipes-devtools/binutils/files/objdump_fix.patch
deleted file mode 100644
index 90ad732c06..0000000000
--- a/meta/recipes-devtools/binutils/files/objdump_fix.patch
+++ /dev/null
@@ -1,134 +0,0 @@
1From binutils-return-38148-listarch-binutils=sources dot redhat dot com at sources dot redhat dot com Tue Feb 22 19:24:15 2005
2Return-Path: <binutils-return-38148-listarch-binutils=sources dot redhat dot com at sources dot redhat dot com>
3Delivered-To: listarch-binutils at sources dot redhat dot com
4Received: (qmail 4446 invoked by alias); 22 Feb 2005 19:24:15 -0000
5Mailing-List: contact binutils-help at sources dot redhat dot com; run by ezmlm
6Precedence: bulk
7List-Subscribe: <mailto:binutils-subscribe at sources dot redhat dot com>
8List-Archive: <http://sources.redhat.com/ml/binutils/>
9List-Post: <mailto:binutils at sources dot redhat dot com>
10List-Help: <mailto:binutils-help at sources dot redhat dot com>, <http://sources dot redhat dot com/ml/#faqs>
11Sender: binutils-owner at sources dot redhat dot com
12Delivered-To: mailing list binutils at sources dot redhat dot com
13Received: (qmail 4401 invoked from network); 22 Feb 2005 19:24:08 -0000
14Received: from unknown (HELO bgo1smout1.broadpark.no) (217.13.4.94)
15 by sourceware dot org with SMTP; 22 Feb 2005 19:24:08 -0000
16Received: from bgo1sminn1.broadpark.no ([217.13.4.93])
17 by bgo1smout1 dot broadpark dot no
18 (Sun Java System Messaging Server 6 dot 1 HotFix 0 dot 05 (built Oct 21 2004))
19 with ESMTP id <0ICB007QZUZCC0C0 at bgo1smout1 dot broadpark dot no> for
20 binutils at sources dot redhat dot com; Tue, 22 Feb 2005 20:18:48 +0100 (CET)
21Received: from [127.0.0.1] ([80.202.165.9]) by bgo1sminn1.broadpark.no
22 (Sun Java System Messaging Server 6 dot 1 HotFix 0 dot 05 (built Oct 21 2004))
23 with ESMTP id <0ICB006NCVBVHE21 at bgo1sminn1 dot broadpark dot no> for
24 binutils at sources dot redhat dot com; Tue, 22 Feb 2005 20:26:20 +0100 (CET)
25Date: Tue, 22 Feb 2005 20:24:08 +0100
26From: =?ISO-8859-1?Q?Stig_Petter_Olsr=F8d?= <stigpo at users dot sourceforge dot net>
27Subject: [PATCH] objdump relocation fixes for ARM disassembly
28To: binutils at sources dot redhat dot com
29Message-id: <421B86D8.8080604@users.sourceforge.net>
30MIME-version: 1.0
31Content-type: text/plain; charset=ISO-8859-1; format=flowed
32Content-transfer-encoding: 7BIT
33User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
34
35Hello,
36
37objdump disassembly did not relocate correctly for the ARM processor. It seems
38that the test for triggering the INSN_HAS_RELOC flag was void (one test killed the other,
39since octets would always be zero) and all relocations would thus fail. I changed the test
40so the flag is set when we are about to disassemble an insn that the current relocation
41entry points to. I also changed objdump_print_addr to use the current relocation entry if
42the insn has such an entry. This causes the symbol printed to be correct for both external
43symbols (from the undefined section) and local symbols.
44
45This has only been tested for the ARM processor, but I don't think it should break other
46DISASSEMBLER_NEEDS_RELOCS processors either.
47
48
49binutils/
50
512005-02-22 Stig Petter Olsroed <stigpo@users.sourceforge.net>
52
53 * objdump.c (disassemble_bytes): Fixed relocation check for
54 DISASSEMBLER_NEEDS_RELOCS platforms to properly trigger the
55 INSN_HAS_RELOC flag. Set the current relocation entry in
56 objdump_disasm_info to allow printing the proper symbol.
57 (objdump_print_addr): Use the relocation entry in
58 objdump_disasm_info to lookup the correct symbol for
59 DISASSEMBLER_NEEDS_RELOCS platforms.
60
61--- 1/binutils/objdump.c 2005-02-22 01:50:06.000000000 +0100
62+++ 2/binutils/objdump.c 2005-02-22 14:27:33.066960900 +0100
63@@ -128,6 +128,7 @@
64 arelent ** dynrelbuf;
65 long dynrelcount;
66 disassembler_ftype disassemble_fn;
67+ arelent * reloc;
68 };
69
70 /* Architecture to disassemble for, or default if NULL. */
71@@ -852,6 +853,8 @@
72 {
73 struct objdump_disasm_info *aux;
74 asymbol *sym;
75+ arelent *q;
76+ int skip_find = 0;
77
78 if (sorted_symcount < 1)
79 {
80@@ -861,6 +864,22 @@
81 }
82
83 aux = (struct objdump_disasm_info *) info->application_data;
84+
85+ q = aux->reloc;
86+ if (q != NULL)
87+ {
88+ if (q->sym_ptr_ptr != NULL && *q->sym_ptr_ptr != NULL)
89+ {
90+ /* Adjust the vma to the reloc */
91+ vma += bfd_asymbol_value (*q->sym_ptr_ptr);
92+ if (bfd_is_und_section (bfd_get_section (*q->sym_ptr_ptr)))
93+ {
94+ skip_find = 1;
95+ sym = *q->sym_ptr_ptr;
96+ }
97+ }
98+ }
99+ if (!skip_find)
100 sym = find_symbol_for_address (vma, info, NULL);
101 objdump_print_addr_with_sym (aux->abfd, aux->sec, sym, vma, info,
102 skip_zeroes);
103@@ -1350,16 +1369,22 @@
104 info->bytes_per_chunk = 0;
105
106 #ifdef DISASSEMBLER_NEEDS_RELOCS
107- /* FIXME: This is wrong. It tests the number of octets
108- in the last instruction, not the current one. */
109- if (*relppp < relppend
110- && (**relppp)->address >= rel_offset + addr_offset
111- && ((**relppp)->address
112- < rel_offset + addr_offset + octets / opb))
113+ /* Check if the current relocation entry applies to the
114+ instruction we are about to disassemble.
115+ This works for ARM at least.
116+ */
117+ if ((*relppp) < relppend
118+ && ((**relppp)->address == rel_offset + addr_offset))
119+ {
120 info->flags = INSN_HAS_RELOC;
121+ aux->reloc = **relppp;
122+ }
123 else
124 #endif
125+ {
126 info->flags = 0;
127+ aux->reloc = NULL;
128+ }
129
130 octets = (*disassemble_fn) (section->vma + addr_offset, info);
131 info->fprintf_func = (fprintf_ftype) fprintf;
132
133
134
diff --git a/meta/recipes-devtools/binutils/files/plt32trunc.patch b/meta/recipes-devtools/binutils/files/plt32trunc.patch
deleted file mode 100644
index 4990f5dbb6..0000000000
--- a/meta/recipes-devtools/binutils/files/plt32trunc.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1--- binutils/bfd/elf32-arm.h.orig 2004-04-22 22:11:15.000000000 -0400
2+++ binutils/bfd/elf32-arm.h 2004-04-22 22:28:37.000000000 -0400
3@@ -2229,6 +2229,8 @@ elf32_arm_relocate_section (output_bfd,
4 case R_ARM_PC24:
5 case R_ARM_ABS32:
6 case R_ARM_THM_PC22:
7+ case R_ARM_PLT32:
8+
9 if (info->shared
10 && (
11 (!info->symbolic && h->dynindx != -1)
12@@ -2262,11 +2264,6 @@ elf32_arm_relocate_section (output_bfd,
13 relocation = 0;
14 break;
15
16- case R_ARM_PLT32:
17- if (h->plt.offset != (bfd_vma)-1)
18- relocation = 0;
19- break;
20-
21 default:
22 if (unresolved_reloc)
23 _bfd_error_handler
24
diff --git a/meta/recipes-devtools/binutils/files/signed_char_fix.patch b/meta/recipes-devtools/binutils/files/signed_char_fix.patch
deleted file mode 100644
index b3709dabed..0000000000
--- a/meta/recipes-devtools/binutils/files/signed_char_fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
1diff -urN binutils-2.11.92.0.12.3/opcodes/i386-dis.c binutils-2.11.92.0.12.3.new/opcodes/i386-dis.c
2--- binutils-2.11.92.0.12.3/opcodes/i386-dis.c Fri Nov 16 17:05:55 2001
3+++ binutils-2.11.92.0.12.3.new/opcodes/i386-dis.c Mon Dec 31 15:55:04 2001
4@@ -1830,7 +1830,7 @@
5 * The function returns the length of this instruction in bytes.
6 */
7
8-static char intel_syntax;
9+static signed char intel_syntax;
10 static char open_char;
11 static char close_char;
12 static char separator_char;
diff --git a/meta/recipes-devtools/bison/bison_2.4.3.bb b/meta/recipes-devtools/bison/bison_2.4.3.bb
index 03fd463fd8..fa2f15400a 100644
--- a/meta/recipes-devtools/bison/bison_2.4.3.bb
+++ b/meta/recipes-devtools/bison/bison_2.4.3.bb
@@ -10,7 +10,7 @@ SECTION = "devel"
10PRIORITY = "optional" 10PRIORITY = "optional"
11DEPENDS = "gettext bison-native" 11DEPENDS = "gettext bison-native"
12 12
13PR = "r0" 13PR = "r1"
14 14
15BASE_SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \ 15BASE_SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \
16 file://m4.patch;patch=1" 16 file://m4.patch;patch=1"
@@ -27,4 +27,10 @@ SRC_URI_virtclass-native = "${BASE_SRC_URI}"
27inherit autotools 27inherit autotools
28acpaths = "-I ${S}/m4" 28acpaths = "-I ${S}/m4"
29 29
30do_install_append_virtclass-native() {
31 create_wrapper ${D}/${bindir}/bison \
32 M4=${STAGING_BINDIR_NATIVE}/m4 \
33 BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison
34}
35#bison-native encodes the staging M4 path
30BBCLASSEXTEND = "native" 36BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/cdrtools/cdrtools-native_2.01.bb b/meta/recipes-devtools/cdrtools/cdrtools-native_2.01.bb
index 2421b23640..769e5e258a 100644
--- a/meta/recipes-devtools/cdrtools/cdrtools-native_2.01.bb
+++ b/meta/recipes-devtools/cdrtools/cdrtools-native_2.01.bb
@@ -7,6 +7,8 @@ DESCRIPTION="A set of tools for CD recording, including cdrecord"
7HOMEPAGE="http://cdrecord.berlios.de/old/private/cdrecord.html" 7HOMEPAGE="http://cdrecord.berlios.de/old/private/cdrecord.html"
8PR = "r2" 8PR = "r2"
9 9
10LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
11
10SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/cdrtools-${PV}.tar.bz2 \ 12SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/cdrtools-${PV}.tar.bz2 \
11 file://no_usr_src.patch;patch=1 \ 13 file://no_usr_src.patch;patch=1 \
12 file://glibc-conflict-rename.patch;patch=1" 14 file://glibc-conflict-rename.patch;patch=1"
diff --git a/meta/recipes-devtools/desktop-file-utils/desktop-file-utils-native_0.15.bb b/meta/recipes-devtools/desktop-file-utils/desktop-file-utils-native_0.15.bb
index 9603982ea6..3ed7475b7f 100644
--- a/meta/recipes-devtools/desktop-file-utils/desktop-file-utils-native_0.15.bb
+++ b/meta/recipes-devtools/desktop-file-utils/desktop-file-utils-native_0.15.bb
@@ -1,8 +1,9 @@
1SECTION = "console/utils" 1SECTION = "console/utils"
2HOMEPAGE = "http://www.freedesktop.org/wiki/Software/desktop-file-utils" 2HOMEPAGE = "http://www.freedesktop.org/wiki/Software/desktop-file-utils"
3DESCRIPTION = "command line utilities to work with *.desktop files" 3DESCRIPTION = "command line utilities to work with *.desktop files"
4LICENSE = "GPL" 4LICENSE = "GPLv2"
5 5
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
6DEPENDS = "glib-2.0-native" 7DEPENDS = "glib-2.0-native"
7 8
8SRC_URI = "http://freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-${PV}.tar.gz" 9SRC_URI = "http://freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-${PV}.tar.gz"
diff --git a/meta/recipes-devtools/distcc/distcc_2.18.3.bb b/meta/recipes-devtools/distcc/distcc_2.18.3.bb
index 1b14a6b119..b6b7b7878a 100644
--- a/meta/recipes-devtools/distcc/distcc_2.18.3.bb
+++ b/meta/recipes-devtools/distcc/distcc_2.18.3.bb
@@ -4,10 +4,10 @@ compilation of C/C++/ObjC code across machines on a network."
4SECTION = "devel" 4SECTION = "devel"
5LICENSE = "GPLv2" 5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7PR = "r5" 7PR = "r6"
8 8
9DEPENDS = "avahi gtk+" 9DEPENDS = "avahi gtk+"
10RRECOMMENDS = "avahi-daemon" 10RRECOMMENDS_${PN} = "avahi-daemon"
11 11
12# Upstream change this patch periodically so store locally 12# Upstream change this patch periodically so store locally
13# http://0pointer.de/public/distcc-avahi.patch 13# http://0pointer.de/public/distcc-avahi.patch
diff --git a/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb b/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb
new file mode 100644
index 0000000000..92de638783
--- /dev/null
+++ b/meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb
@@ -0,0 +1,52 @@
1SUMMARY = "DSSSL stylesheets used to transform SGML and XML DocBook files"
2DESCRIPTION = "DSSSL stylesheets used to transform SGML and XML DocBook files"
3HOMEPAGE= "http://docbook.sourceforge.net"
4# Simple persmissive
5LICENSE = "DSSSL"
6LIC_FILES_CHKSUM = "file://README;beginline=41;endline=74;md5=875385159b2ee76ecf56136ae7f542d6"
7
8DEPENDS = "sgml-common-native"
9
10PR = "r0"
11
12SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-dsssl-${PV}.tar.bz2"
13
14SRC_URI[md5sum] = "bc192d23266b9a664ca0aba4a7794c7c"
15SRC_URI[sha256sum] = "2f329e120bee9ef42fbdd74ddd60e05e49786c5a7953a0ff4c680ae6bdf0e2bc"
16
17S = "${WORKDIR}/docbook-dsssl-${PV}"
18
19inherit native
20
21SYSROOT_PREPROCESS_FUNCS += "docbook_dssl_stylesheets_native_mangle"
22
23do_install () {
24 # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/docbook-dsssl.html
25 # for details.
26 install -d ${D}${bindir}
27 install -m 0755 bin/collateindex.pl ${D}${bindir}
28
29 install -d ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV}
30 install -m 0644 catalog ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV}
31 cp -PpRr common ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV}
32
33 install-catalog --add ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat \
34 ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV}/catalog
35
36 install-catalog --add ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat \
37 ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV}/common/catalog
38
39 install-catalog --add ${sysconfdir}/sgml/sgml-docbook.cat \
40 ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat
41
42 # Move these to the image directory so they get staged properly.
43 install -d ${D}${sysconfdir}/sgml
44 cp ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat ${D}${sysconfdir}/sgml/
45 cp ${sysconfdir}/sgml/sgml-docbook.cat ${D}${sysconfdir}/sgml/
46 cp ${sysconfdir}/sgml/catalog ${D}${sysconfdir}/sgml/
47}
48
49docbook_dssl_stylesheets_native_mangle () {
50 # Remove the image directory path ${D} from the .cat file.
51 sed -i -e "s|${D}||g" ${SYSROOT_DESTDIR}${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat
52}
diff --git a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb
new file mode 100644
index 0000000000..a7df4f9761
--- /dev/null
+++ b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb
@@ -0,0 +1,23 @@
1require docbook-sgml-dtd-native.inc
2
3LICENSE = "OASIS"
4LIC_FILES_CHKSUM = "file://LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e"
5
6DTD_VERSION = "3.1"
7
8PR = "${INC_PR}.0"
9
10# Note: the upstream sources are not distributed with a license file.
11# LICENSE-OASIS is included as a "patch" to workaround this. When
12# upgrading this recipe, please verify whether this is still needed.
13SRC_URI = "http://www.docbook.org/sgml/3.1/docbk31.zip \
14 file://LICENSE-OASIS"
15
16SRC_URI[md5sum] = "432749c0c806dbae81c8bcb70da3b5d3"
17SRC_URI[sha256sum] = "20261d2771b9a052abfa3d8fab1aa62be05791a010281c566f9073bf0e644538"
18
19do_compile() {
20 # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd-3.html
21 # for details.
22 sed -i -e '/ISO 8879/d' -e 's|DTDDECL "-//OASIS//DTD DocBook V3.1//EN"|SGMLDECL|g' docbook.cat
23}
diff --git a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb
new file mode 100644
index 0000000000..88c9396360
--- /dev/null
+++ b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb
@@ -0,0 +1,23 @@
1require docbook-sgml-dtd-native.inc
2
3LICENSE = "OASIS"
4LIC_FILES_CHKSUM = "file://LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e"
5
6DTD_VERSION = "4.1"
7
8PR = "${INC_PR}.0"
9
10# Note: the upstream sources are not distributed with a license file.
11# LICENSE-OASIS is included as a "patch" to workaround this. When
12# upgrading this recipe, please verify whether this is still needed.
13SRC_URI = "http://docbook.org/sgml/4.1/docbk41.zip \
14 file://LICENSE-OASIS"
15
16SRC_URI[md5sum] = "489f6ff2a2173eb1e14216c10533ede2"
17SRC_URI[sha256sum] = "deaafcf0a3677692e7ad4412c0e41c1db3e9da6cdcdb3dd32b2cc1f9c97d6311"
18
19do_compile() {
20 # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd.html
21 # for details.
22 sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat
23}
diff --git a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.5-native.bb b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.5-native.bb
new file mode 100644
index 0000000000..6c464f4215
--- /dev/null
+++ b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.5-native.bb
@@ -0,0 +1,17 @@
1require docbook-sgml-dtd-native.inc
2
3LICENSE = "OASIS"
4LIC_FILES_CHKSUM = "file://LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e"
5
6DTD_VERSION = "4.5"
7
8PR = "${INC_PR}.0"
9
10SRC_URI[md5sum] = "07c581f4bbcba6d3aac85360a19f95f7"
11SRC_URI[sha256sum] = "8043e514e80c6c19cb146b5d37937d1305bf3abf9b0097c36df7f70f611cdf43"
12
13do_compile() {
14 # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd.html
15 # for details.
16 sed -i -e '/ISO 8879/d' -e'/gml/d' docbook.cat
17}
diff --git a/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
new file mode 100644
index 0000000000..162051f62b
--- /dev/null
+++ b/meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
@@ -0,0 +1,53 @@
1# The DTDs of the various versions have to be installed in parallel and
2# should not replace each other. The installation step is common for
3# all versions and just differs in ${DTD_VERSION} which is set in each
4# version recipe.
5#
6# The DTDs do have some quirks (see LFS documentation).
7SUMMARY = "Document type definitions for verification of SGML data files"
8DESCRIPTION = "Document type definitions for verification of SGML data \
9files against the DocBook rule set"
10HOMEPAGE = "http://www.docbook.org/sgml/"
11
12DEPENDS = "sgml-common-native"
13
14# Note: the upstream sources are not distributed with a license file.
15# LICENSE-OASIS is included as a "patch" to workaround this. When
16# upgrading this recipe, please verify whether this is still needed.
17SRC_URI = "http://www.docbook.org/sgml/${DTD_VERSION}/docbook-${DTD_VERSION}.zip \
18 file://LICENSE-OASIS"
19
20# The .zip file extracts to the current dir
21S = "${WORKDIR}"
22
23INC_PR = "r0"
24
25SYSROOT_PREPROCESS_FUNCS += "docbook_sgml_dtd_native_mangle"
26
27inherit native
28
29do_install () {
30 # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd.html
31 # for details.
32 install -d -m 755 ${D}${datadir}/sgml/docbook/sgml-dtd-${DTD_VERSION}
33 install docbook.cat ${D}${datadir}/sgml/docbook/sgml-dtd-${DTD_VERSION}/catalog
34 cp -PpRr *.dtd *.mod *.dcl ${D}${datadir}/sgml/docbook/sgml-dtd-${DTD_VERSION}
35
36 install-catalog \
37 --add ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat \
38 ${D}${datadir}/sgml/docbook/sgml-dtd-${DTD_VERSION}/catalog
39
40 install-catalog \
41 --add ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat \
42 ${sysconfdir}/sgml/sgml-docbook.cat
43
44 # Copy the generated catalog to the image directory for staging.
45 install -d ${D}${sysconfdir}/sgml
46 cp ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat ${D}${sysconfdir}/sgml/
47}
48
49docbook_sgml_dtd_native_mangle () {
50 # Remove the image directory path ${D} from the .cat files.
51 sed -i -e "s|${D}||g" ${SYSROOT_DESTDIR}${sysconfdir}/sgml/sgml-docbook.cat || true
52 sed -i -e "s|${D}||g" ${SYSROOT_DESTDIR}${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat
53}
diff --git a/meta/recipes-devtools/docbook-sgml-dtd/files/LICENSE-OASIS b/meta/recipes-devtools/docbook-sgml-dtd/files/LICENSE-OASIS
new file mode 100644
index 0000000000..6da7f5b8c7
--- /dev/null
+++ b/meta/recipes-devtools/docbook-sgml-dtd/files/LICENSE-OASIS
@@ -0,0 +1,16 @@
1Permission to use, copy, modify and distribute the DocBook XML DTD
2and its accompanying documentation for any purpose and without fee
3is hereby granted in perpetuity, provided that the above copyright
4notice and this paragraph appear in all copies. The copyright
5holders make no representation about the suitability of the DTD for
6any purpose. It is provided "as is" without expressed or implied
7warranty.
8
9If you modify the DocBook DTD in any way, except for declaring and
10referencing additional sets of general entities and declaring
11additional notations, label your DTD as a variant of DocBook. See
12the maintenance documentation for more information.
13
14Please direct all questions, bug reports, or suggestions for
15changes to the docbook@lists.oasis-open.org mailing list. For more
16information, see http://www.oasis-open.org/docbook/.
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 59da5dc9fa..6a04997776 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -5,8 +5,8 @@ SECTION = "base"
5SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2 \ 5SRC_URI = "${DEBIAN_MIRROR}/main/d/dpkg/dpkg_${PV}.tar.bz2 \
6 file://ignore_extra_fields.patch;patch=1" 6 file://ignore_extra_fields.patch;patch=1"
7 7
8DEPENDS = "zlib bzip2" 8DEPENDS = "zlib bzip2 perl"
9DEPENDS_virtclass-native = "bzip2-native zlib-native virtual/update-alternatives-native gettext-native" 9DEPENDS_virtclass-native = "bzip2-native zlib-native virtual/update-alternatives-native gettext-native perl-native"
10RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}" 10RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives}"
11RDEPENDS_${PN}_virtclass-native = "" 11RDEPENDS_${PN}_virtclass-native = ""
12 12
diff --git a/meta/recipes-devtools/dpkg/dpkg_1.15.8.5.bb b/meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb
index ed247d453a..8df960d288 100644
--- a/meta/recipes-devtools/dpkg/dpkg_1.15.8.5.bb
+++ b/meta/recipes-devtools/dpkg/dpkg_1.15.8.7.bb
@@ -5,10 +5,10 @@ SRC_URI += "file://noman.patch;patch=1 \
5 file://check_snprintf.patch \ 5 file://check_snprintf.patch \
6 file://check_version.patch" 6 file://check_version.patch"
7 7
8SRC_URI[md5sum] = "b9b817389e655ec2c12465de5c619011" 8SRC_URI[md5sum] = "d1731d4147c1ea3b537a4d094519a6dc"
9SRC_URI[sha256sum] = "2ef55e8eb6c1e8c3dfb54c8ccc9a883fec7540b705c5179ca7a198bebe2f18bc" 9SRC_URI[sha256sum] = "1ec1376471b04717a4497e5d7a27cd545248c92116898ce0c53ced8ea94267b5"
10 10
11PR = "r3" 11PR = "r1"
12 12
13EXTRA_OECONF = "--without-static-progs \ 13EXTRA_OECONF = "--without-static-progs \
14 --without-dselect \ 14 --without-dselect \
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.12.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.12.bb
index 3f9195a4c4..ffe6dce17d 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.12.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.12.bb
@@ -1,6 +1,6 @@
1require e2fsprogs.inc 1require e2fsprogs.inc
2 2
3PR = "r19" 3PR = "r20"
4 4
5SRC_URI += "file://quotefix.patch;patch=1 \ 5SRC_URI += "file://quotefix.patch;patch=1 \
6 file://acinclude.m4" 6 file://acinclude.m4"
@@ -34,7 +34,7 @@ do_install () {
34} 34}
35 35
36# blkid used to be part of e2fsprogs but is useful outside, add it 36# blkid used to be part of e2fsprogs but is useful outside, add it
37# as an RDEPENDS so that anything relying on it being in e2fsprogs 37# as an RDEPENDS_${PN} so that anything relying on it being in e2fsprogs
38# still works 38# still works
39RDEPENDS_e2fsprogs = "e2fsprogs-blkid e2fsprogs-badblocks" 39RDEPENDS_e2fsprogs = "e2fsprogs-blkid e2fsprogs-badblocks"
40 40
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.108/warnings.patch b/meta/recipes-devtools/elfutils/elfutils-0.108/warnings.patch
deleted file mode 100644
index 680e0441fe..0000000000
--- a/meta/recipes-devtools/elfutils/elfutils-0.108/warnings.patch
+++ /dev/null
@@ -1,132 +0,0 @@
1Index: elfutils-0.108/configure.ac
2===================================================================
3--- elfutils-0.108.orig/configure.ac 2006-04-10 19:18:34.000000000 +0100
4+++ elfutils-0.108/configure.ac 2006-04-10 19:19:33.000000000 +0100
5@@ -49,6 +49,10 @@
6 dnl Add all the languages for which translations are available.
7 ALL_LINGUAS=
8
9+if test X"$CFLAGS" = X; then
10+ CFLAGS="-Wall -g -O2"
11+fi
12+
13 AC_PROG_CC
14 AC_PROG_RANLIB
15 AC_PROG_YACC
16Index: elfutils-0.108/lib/Makefile.am
17===================================================================
18--- elfutils-0.108.orig/lib/Makefile.am 2006-04-10 19:18:34.000000000 +0100
19+++ elfutils-0.108/lib/Makefile.am 2006-04-10 19:19:33.000000000 +0100
20@@ -21,7 +21,7 @@
21 else
22 AM_CFLAGS =
23 endif
24-AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra $($(*F)_CFLAGS)
25+AM_CFLAGS += -fpic -Wshadow -Wunused $($(*F)_CFLAGS)
26 INCLUDES = -I$(srcdir)/../libelf -I..
27
28 noinst_LIBRARIES = libeu.a
29Index: elfutils-0.108/libasm/Makefile.am
30===================================================================
31--- elfutils-0.108.orig/libasm/Makefile.am 2006-04-10 19:18:34.000000000 +0100
32+++ elfutils-0.108/libasm/Makefile.am 2006-04-10 19:19:33.000000000 +0100
33@@ -18,7 +18,7 @@
34 else
35 AM_CFLAGS =
36 endif
37-AM_CFLAGS += -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2
38+AM_CFLAGS += -Wshadow -Wunused -Wformat=2
39 INCLUDES = -I. -I$(srcdir) -I.. -I$(top_srcdir)/libelf -I$(top_srcdir)/libebl \
40 -I$(top_srcdir)/lib
41 GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
42Index: elfutils-0.108/libcpu/Makefile.am
43===================================================================
44--- elfutils-0.108.orig/libcpu/Makefile.am 2006-04-10 19:18:34.000000000 +0100
45+++ elfutils-0.108/libcpu/Makefile.am 2006-04-10 19:19:33.000000000 +0100
46@@ -13,7 +13,7 @@
47 ## 3001 King Ranch Road, Ukiah, CA 95482.
48 ##
49 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
50-AM_CFLAGS = -Wall -Wshadow -Werror -Wextra -Wformat=2 -Wunused
51+AM_CFLAGS = -Wshadow -Wformat=2 -Wunused
52 INCLUDES = -I$(srcdir)
53
54 noinst_LIBRARIES = libcpu_i386.a
55Index: elfutils-0.108/libdw/Makefile.am
56===================================================================
57--- elfutils-0.108.orig/libdw/Makefile.am 2006-04-10 19:18:34.000000000 +0100
58+++ elfutils-0.108/libdw/Makefile.am 2006-04-10 19:19:33.000000000 +0100
59@@ -18,7 +18,7 @@
60 else
61 AM_CFLAGS =
62 endif
63-AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99
64+AM_CFLAGS += -Wshadow -Wunused -Wformat=2 -std=gnu99
65 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
66 VERSION = 1
67
68Index: elfutils-0.108/libebl/Makefile.am
69===================================================================
70--- elfutils-0.108.orig/libebl/Makefile.am 2006-04-10 19:18:34.000000000 +0100
71+++ elfutils-0.108/libebl/Makefile.am 2006-04-10 19:19:33.000000000 +0100
72@@ -18,7 +18,7 @@
73 else
74 AM_CFLAGS =
75 endif
76-AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 \
77+AM_CFLAGS += -fpic -Wshadow -Wunused -Wformat=2 \
78 -std=gnu99
79
80 INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/lib -I..
81Index: elfutils-0.108/libelf/Makefile.am
82===================================================================
83--- elfutils-0.108.orig/libelf/Makefile.am 2006-04-10 19:18:34.000000000 +0100
84+++ elfutils-0.108/libelf/Makefile.am 2006-04-10 19:19:33.000000000 +0100
85@@ -21,7 +21,7 @@
86 else
87 AM_CFLAGS =
88 endif
89-AM_CFLAGS += -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 \
90+AM_CFLAGS += -Wshadow -Wunused -Wformat=2 -std=gnu99 \
91 $($(*F)_CFLAGS)
92 INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I..
93 GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
94Index: elfutils-0.108/src/Makefile.am
95===================================================================
96--- elfutils-0.108.orig/src/Makefile.am 2006-04-10 19:18:34.000000000 +0100
97+++ elfutils-0.108/src/Makefile.am 2006-04-10 19:20:19.000000000 +0100
98@@ -15,14 +15,12 @@
99 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H $(YYDEBUG) \
100 -DSRCDIR=\"$(shell cd $(srcdir);pwd)\" -DOBJDIR=\"$(shell pwd)\"
101 if MUDFLAP
102-AM_CFLAGS = -Wall -Wshadow -Wunused -Wextra -std=gnu99 -fmudflap \
103+AM_CFLAGS = -Wshadow -Wunused -std=gnu99 -fmudflap \
104 $(native_ld_cflags) $(if $($(*F)_no_Wunused),,-Wunused) \
105 $(if $($(*F)_no_Wformat),,-Wformat=2)
106 else
107-AM_CFLAGS = -Wall -Wshadow -std=gnu99 $(native_ld_cflags) \
108- $(if $($(*F)_no_Werror),,-Werror) \
109- $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
110- $(if $($(*F)_no_Wformat),,-Wformat=2)
111+AM_CFLAGS = -Wshadow -std=gnu99 $(native_ld_cflags) \
112+ $(if $($(*F)_no_Werror),,)
113 endif
114 if MUDFLAP
115 libmudflap = -lmudflap
116Index: elfutils-0.108/tests/Makefile.am
117===================================================================
118--- elfutils-0.108.orig/tests/Makefile.am 2006-04-10 19:18:34.000000000 +0100
119+++ elfutils-0.108/tests/Makefile.am 2006-04-10 19:19:33.000000000 +0100
120@@ -14,10 +14,10 @@
121 ##
122 DEFS = -DHAVE_CONFIG_H -D_GNU_SOURCE
123 if MUDFLAP
124-AM_CFLAGS = -Wall -Werror -std=gnu99 -fmudflap\
125+AM_CFLAGS = -std=gnu99 -fmudflap\
126 $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
127 else
128-AM_CFLAGS = -Wall -Werror -std=gnu99 \
129+AM_CFLAGS = -std=gnu99 \
130 $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
131 AM_LDFLAGS = -Wl,-rpath,\$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../libebl:\$$ORIGIN/../libelf
132 endif
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.89/warnings.patch b/meta/recipes-devtools/elfutils/elfutils-0.89/warnings.patch
deleted file mode 100644
index 2a1ea09a61..0000000000
--- a/meta/recipes-devtools/elfutils/elfutils-0.89/warnings.patch
+++ /dev/null
@@ -1,98 +0,0 @@
1--- elfutils-0.89/configure.ac~warnings.patch 2003-09-26 02:04:04.000000000 -0400
2+++ elfutils-0.89/configure.ac 2004-05-01 00:16:33.000000000 -0400
3@@ -28,6 +28,10 @@
4
5 ALL_LINGUAS=
6
7+if test X"$CFLAGS" = X; then
8+ CFLAGS="-Wall -Werror -g -O2"
9+fi
10+
11 AC_PROG_CC
12 AC_PROG_CPP
13 AC_PROG_GCC_TRADITIONAL
14--- elfutils-0.89/./lib/Makefile.am~warnings.patch 2003-09-22 18:57:58.000000000 -0400
15+++ elfutils-0.89/./lib/Makefile.am 2004-05-01 00:12:43.000000000 -0400
16@@ -14,7 +14,7 @@
17 ## 3001 King Ranch Road, Ukiah, CA 95482.
18 ##
19 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
20-AM_CFLAGS = -Wall -Werror -fpic
21+AM_CFLAGS = -fpic
22 INCLUDES = -I$(srcdir)/../libelf -I..
23
24 noinst_LIBRARIES = libeu.a
25--- elfutils-0.89/./libelf/Makefile.am~warnings.patch 2003-08-12 02:45:24.000000000 -0400
26+++ elfutils-0.89/./libelf/Makefile.am 2004-05-01 00:12:43.000000000 -0400
27@@ -14,7 +14,6 @@
28 ## 3001 King Ranch Road, Ukiah, CA 95482.
29 ##
30 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
31-AM_CFLAGS = -Wall -Werror
32 INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I..
33 GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
34 VERSION = 1
35--- elfutils-0.89/./libebl/Makefile.am~warnings.patch 2003-09-22 18:53:17.000000000 -0400
36+++ elfutils-0.89/./libebl/Makefile.am 2004-05-01 00:12:43.000000000 -0400
37@@ -14,7 +14,7 @@
38 ## 3001 King Ranch Road, Ukiah, CA 95482.
39 ##
40 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall
41-AM_CFLAGS = -Wall -Werror -DOBJDIR=\"$(shell pwd)\" -fpic
42+AM_CFLAGS = -DOBJDIR=\"$(shell pwd)\" -fpic
43 INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/lib -I..
44 VERSION = 1
45 PACKAGE_VERSION = @PACKAGE_VERSION@
46--- elfutils-0.89/./libdwarf/Makefile.am~warnings.patch 2003-08-12 02:46:05.000000000 -0400
47+++ elfutils-0.89/./libdwarf/Makefile.am 2004-05-01 00:12:43.000000000 -0400
48@@ -14,7 +14,6 @@
49 ## 3001 King Ranch Road, Ukiah, CA 95482.
50 ##
51 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DDWARF_DEBUG
52-AM_CFLAGS = -Wall -Werror
53 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
54 VERSION = 1
55
56--- elfutils-0.89/./libdw/Makefile.am~warnings.patch 2003-08-12 02:46:18.000000000 -0400
57+++ elfutils-0.89/./libdw/Makefile.am 2004-05-01 00:12:43.000000000 -0400
58@@ -17,7 +17,6 @@
59 ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
60 ##
61 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
62-AM_CFLAGS = -Wall -Werror -Wshadow
63 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
64 VERSION = 1
65
66--- elfutils-0.89/./libasm/Makefile.am~warnings.patch 2003-08-13 05:21:25.000000000 -0400
67+++ elfutils-0.89/./libasm/Makefile.am 2004-05-01 00:12:43.000000000 -0400
68@@ -14,7 +14,6 @@
69 ## 3001 King Ranch Road, Ukiah, CA 95482.
70 ##
71 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
72-AM_CFLAGS = -Wall -Werror
73 INCLUDES = -I. -I$(srcdir) -I.. -I$(top_srcdir)/libelf -I$(top_srcdir)/libebl \
74 -I$(top_srcdir)/lib
75 GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
76--- elfutils-0.89/./src/Makefile.am~warnings.patch 2003-09-22 18:57:09.000000000 -0400
77+++ elfutils-0.89/./src/Makefile.am 2004-05-01 00:12:43.000000000 -0400
78@@ -14,8 +14,8 @@
79 ## 3001 King Ranch Road, Ukiah, CA 95482.
80 ##
81 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -Wshadow $(YYDEBUG) \
82- $(if $($(*F)_no_Werror),,-Werror) $(native_ld_cflags)
83-AM_CFLAGS = -Wall -DSRCDIR=\"$(shell cd $(srcdir);pwd)\" -DOBJDIR=\"$(shell pwd)\"
84+ $(if $(filter -Werror,$(CFLAGS)),$(if $($(*F)_no_Werror),,-Werror)) $(native_ld_cflags)
85+AM_CFLAGS = -DSRCDIR=\"$(shell cd $(srcdir);pwd)\" -DOBJDIR=\"$(shell pwd)\"
86 INCLUDES = -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl -I$(srcdir)/../lib -I$(srcdir)/../libdwarf -I..
87
88 YACC = @YACC@ -d
89--- elfutils-0.89/./tests/Makefile.am~warnings.patch 2003-08-13 05:19:04.000000000 -0400
90+++ elfutils-0.89/./tests/Makefile.am 2004-05-01 00:12:43.000000000 -0400
91@@ -14,7 +14,6 @@
92 ## 3001 King Ranch Road, Ukiah, CA 95482.
93 ##
94 DEFS = -DHAVE_CONFIG_H -D_GNU_SOURCE
95-AM_CFLAGS = -Wall -Werror
96 AM_LDFLAGS = -Wl,-rpath,\$$ORIGIN/../libasm:\$$ORIGIN/../libdwarf:\$$ORIGIN/../libdw:\$$ORIGIN/../libebl:\$$ORIGIN/../libelf
97 INCLUDES = -I$(top_srcdir)/libasm -I$(top_srcdir)/libdwarf \
98 -I$(top_srcdir)/libdw \
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.108.bb b/meta/recipes-devtools/elfutils/elfutils_0.108.bb
deleted file mode 100644
index 67f34a0acd..0000000000
--- a/meta/recipes-devtools/elfutils/elfutils_0.108.bb
+++ /dev/null
@@ -1,25 +0,0 @@
1SECTION = "base"
2LICENSE = "OSL"
3DESCRIPTION = "A collection of utilities and DSOs to handle compiled objects."
4DEPENDS = "libtool"
5PR = "r2"
6
7SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \
8 file://warnings.patch;patch=1"
9
10inherit autotools
11
12# Package binaries that overlap with binutils separately
13PACKAGES =+ "${PN}-binutils"
14FILES_${PN}-binutils = "\
15 ${bindir}/addr2line \
16 ${bindir}/ld \
17 ${bindir}/nm \
18 ${bindir}/readelf \
19 ${bindir}/size \
20 ${bindir}/strip"
21# Fix library issues
22FILES_${PN} =+ "${libdir}/*-${PV}.so"
23
24# The elfutils package contains symlinks that trip up insane
25INSANE_SKIP_elfutils = "1"
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.89.bb b/meta/recipes-devtools/elfutils/elfutils_0.89.bb
deleted file mode 100644
index 24cb37ad1f..0000000000
--- a/meta/recipes-devtools/elfutils/elfutils_0.89.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1SECTION = "base"
2LICENSE = "OSL"
3DESCRIPTION = "A collection of utilities and DSOs to handle compiled objects."
4DEPENDS = "libtool"
5
6SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \
7 file://warnings.patch;patch=1"
8
9inherit autotools
10
diff --git a/meta/recipes-devtools/flex/flex.inc b/meta/recipes-devtools/flex/flex.inc
index 93fa7e81a4..54c400c044 100644
--- a/meta/recipes-devtools/flex/flex.inc
+++ b/meta/recipes-devtools/flex/flex.inc
@@ -11,3 +11,6 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/flex/flex-${PV}.tar.bz2 "
11 11
12inherit autotools 12inherit autotools
13 13
14do_install_append_virtclass-native() {
15 create_wrapper ${D}/${bindir}/flex M4=${STAGING_BINDIR_NATIVE}/m4
16}
diff --git a/meta/recipes-devtools/flex/flex_2.5.35.bb b/meta/recipes-devtools/flex/flex_2.5.35.bb
index 4fdce33ccf..28a4f1f06b 100644
--- a/meta/recipes-devtools/flex/flex_2.5.35.bb
+++ b/meta/recipes-devtools/flex/flex_2.5.35.bb
@@ -1,5 +1,5 @@
1require flex.inc 1require flex.inc
2PR = "r1" 2PR = "r2"
3LICENSE="BSD" 3LICENSE="BSD"
4LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067" 4LIC_FILES_CHKSUM = "file://COPYING;md5=e4742cf92e89040b39486a6219b68067"
5BBCLASSEXTEND = "native" 5BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1.inc b/meta/recipes-devtools/gcc/gcc-4.5.1.inc
index 3edc4d43dc..6c600c1896 100644
--- a/meta/recipes-devtools/gcc/gcc-4.5.1.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.5.1.inc
@@ -30,6 +30,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
30 file://fedora/gcc43-rh341221.patch;striplevel=0 \ 30 file://fedora/gcc43-rh341221.patch;striplevel=0 \
31 file://fedora/gcc43-java-debug-iface-type.patch;striplevel=0 \ 31 file://fedora/gcc43-java-debug-iface-type.patch;striplevel=0 \
32 file://fedora/gcc43-i386-libgomp.patch;striplevel=0 \ 32 file://fedora/gcc43-i386-libgomp.patch;striplevel=0 \
33 file://fedora/gcc45-no-add-needed.patch;striplevel=0 \
33 file://103-uclibc-conf-noupstream.patch \ 34 file://103-uclibc-conf-noupstream.patch \
34 file://200-uclibc-locale.patch \ 35 file://200-uclibc-locale.patch \
35 file://203-uclibc-locale-no__x.patch;striplevel=1 \ 36 file://203-uclibc-locale-no__x.patch;striplevel=1 \
@@ -54,6 +55,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
54 file://optional_libstdc.patch \ 55 file://optional_libstdc.patch \
55 file://disable_relax_pic_calls_flag.patch \ 56 file://disable_relax_pic_calls_flag.patch \
56 file://gcc-poison-parameters.patch \ 57 file://gcc-poison-parameters.patch \
58 file://GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch \
57 " 59 "
58 60
59SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " 61SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 "
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch
new file mode 100644
index 0000000000..9ae01c3fc7
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.5.1/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch
@@ -0,0 +1,33 @@
1# by default c++ include directories are not relative to "--sysroot"
2# which brings one trouble when using the toolchain in an environment
3# where the build directory generating that toolchain doesn't exist,
4# e.g. in sstate, machine specific sysroot and relocatable SDK
5# toolchain. This patch now enables c++ include paths under sysroot.
6# This way it's enough as long as "--sysroot" is correctly enabled
7# in the new environment.
8#
9# Signed-off-by Kevin Tian <kevin.tian@intel.com>, 2010-12-30
10
11diff --git a/gcc/cppdefault.c b/gcc/cppdefault.c
12index 5024f48..9b47d1c 100644
13--- a/gcc/cppdefault.c
14+++ b/gcc/cppdefault.c
15@@ -48,15 +48,15 @@ const struct default_include cpp_include_defaults[]
16 = {
17 #ifdef GPLUSPLUS_INCLUDE_DIR
18 /* Pick up GNU C++ generic include files. */
19- { GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1, 0, 0 },
20+ { GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1, 1, 0 },
21 #endif
22 #ifdef GPLUSPLUS_TOOL_INCLUDE_DIR
23 /* Pick up GNU C++ target-dependent include files. */
24- { GPLUSPLUS_TOOL_INCLUDE_DIR, "G++", 1, 1, 0, 1 },
25+ { GPLUSPLUS_TOOL_INCLUDE_DIR, "G++", 1, 1, 1, 1 },
26 #endif
27 #ifdef GPLUSPLUS_BACKWARD_INCLUDE_DIR
28 /* Pick up GNU C++ backward and deprecated include files. */
29- { GPLUSPLUS_BACKWARD_INCLUDE_DIR, "G++", 1, 1, 0, 0 },
30+ { GPLUSPLUS_BACKWARD_INCLUDE_DIR, "G++", 1, 1, 1, 0 },
31 #endif
32 #ifdef LOCAL_INCLUDE_DIR
33 /* /usr/local/include comes before the fixincluded header files. */
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc45-no-add-needed.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc45-no-add-needed.patch
new file mode 100644
index 0000000000..23704d3b71
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.5.1/fedora/gcc45-no-add-needed.patch
@@ -0,0 +1,52 @@
12010-02-08 Roland McGrath <roland@redhat.com>
2
3 * config/rs6000/sysv4.h (LINK_EH_SPEC): Pass --no-add-needed to the
4 linker.
5 * config/linux.h (LINK_EH_SPEC): Likewise.
6 * config/alpha/elf.h (LINK_EH_SPEC): Likewise.
7 * config/ia64/linux.h (LINK_EH_SPEC): Likewise.
8
9--- gcc/config/alpha/elf.h.~1~
10+++ gcc/config/alpha/elf.h
11@@ -421,7 +421,7 @@ extern int alpha_this_gpdisp_sequence_nu
12 I imagine that other systems will catch up. In the meantime, it
13 doesn't harm to make sure that the data exists to be used later. */
14 #if defined(HAVE_LD_EH_FRAME_HDR)
15-#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
16+#define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} "
17 #endif
18
19 /* A C statement (sans semicolon) to output to the stdio stream STREAM
20--- gcc/config/ia64/linux.h.~1~
21+++ gcc/config/ia64/linux.h
22@@ -58,7 +58,7 @@ do { \
23 Signalize that because we have fde-glibc, we don't need all C shared libs
24 linked against -lgcc_s. */
25 #undef LINK_EH_SPEC
26-#define LINK_EH_SPEC ""
27+#define LINK_EH_SPEC "--no-add-needed "
28
29 #define MD_UNWIND_SUPPORT "config/ia64/linux-unwind.h"
30
31--- gcc/config/linux.h.~1~
32+++ gcc/config/linux.h
33@@ -89,7 +89,7 @@ see the files COPYING3 and COPYING.RUNTI
34 } while (0)
35
36 #if defined(HAVE_LD_EH_FRAME_HDR)
37-#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
38+#define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} "
39 #endif
40
41 /* Define this so we can compile MS code for use with WINE. */
42--- gcc/config/rs6000/sysv4.h.~1~
43+++ gcc/config/rs6000/sysv4.h
44@@ -917,7 +917,7 @@ SVR4_ASM_SPEC \
45 %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}}}"
46
47 #if defined(HAVE_LD_EH_FRAME_HDR)
48-# define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
49+# define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} "
50 #endif
51
52 #define CPP_OS_LINUX_SPEC "-D__unix__ -D__gnu_linux__ -D__linux__ \
diff --git a/meta/recipes-devtools/gcc/gcc-configure-cross.inc b/meta/recipes-devtools/gcc/gcc-configure-cross.inc
index 3da92e24a1..346d1640d1 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-cross.inc
@@ -5,7 +5,7 @@ USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
5EXTRA_OECONF += " --enable-poison-system-directories " 5EXTRA_OECONF += " --enable-poison-system-directories "
6 6
7EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_exec_prefix} \ 7EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_exec_prefix} \
8 --with-gxx-include-dir=${STAGING_DIR_TARGET}/${target_includedir}/c++ \ 8 --with-gxx-include-dir=${target_includedir}/c++ \
9 --with-sysroot=${STAGING_DIR_TARGET} \ 9 --with-sysroot=${STAGING_DIR_TARGET} \
10 --with-build-sysroot=${STAGING_DIR_TARGET}" 10 --with-build-sysroot=${STAGING_DIR_TARGET}"
11 11
@@ -20,5 +20,3 @@ do_compile_prepend () {
20 20
21LIBGCCS_VAR = "-lgcc_s" 21LIBGCCS_VAR = "-lgcc_s"
22LIBGCCS_VAR_avr32 = "" 22LIBGCCS_VAR_avr32 = ""
23
24do_package_write_ipk[depends] += "virtual/libc:do_package"
diff --git a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
index f9ad61d129..6cc11e2ffe 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-runtime.inc
@@ -31,28 +31,14 @@ do_compile () {
31} 31}
32 32
33do_install () { 33do_install () {
34 target=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-nativesdk##`
35
36 # Install libgcc from our gcc-cross saved data
37 install -d ${D}${base_libdir} ${D}${libdir}
38 cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$target/* ${D}
39
40 for d in ${RUNTIMETARGET}; do 34 for d in ${RUNTIMETARGET}; do
41 cd ${B}/$d/ 35 cd ${B}/$d/
42 oe_runmake 'DESTDIR=${D}' install 36 oe_runmake 'DESTDIR=${D}' install
43 done 37 done
44
45 # Move libgcc_s into /lib
46 mkdir -p ${D}${base_libdir}
47 if [ -f ${D}${libdir}/nof/libgcc_s.so ]; then
48 mv ${D}${libdir}/nof/libgcc* ${D}${base_libdir}
49 else
50 mv ${D}${libdir}/libgcc* ${D}${base_libdir} || true
51 fi
52} 38}
53 39
54INHIBIT_DEFAULT_DEPS = "1" 40INHIBIT_DEFAULT_DEPS = "1"
55DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++" 41DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++ libgcc"
56PROVIDES = "virtual/${TARGET_PREFIX}compilerlibs" 42PROVIDES = "virtual/${TARGET_PREFIX}compilerlibs"
57 43
58BBCLASSEXTEND = "nativesdk" 44BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/gcc/gcc-configure-sdk.inc b/meta/recipes-devtools/gcc/gcc-configure-sdk.inc
index 0eb33adda8..756e74e48d 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-sdk.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-sdk.inc
@@ -5,7 +5,7 @@ USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}'
5USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibcgnueabi", "no", "", d )}' 5USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibcgnueabi", "no", "", d )}'
6 6
7EXTRA_OECONF_PATHS = "--with-local-prefix=${SDKPATH}/sysroots/${TARGET_SYS}${target_exec_prefix} \ 7EXTRA_OECONF_PATHS = "--with-local-prefix=${SDKPATH}/sysroots/${TARGET_SYS}${target_exec_prefix} \
8 --with-gxx-include-dir=${SDKPATH}/sysroots/${TARGET_SYS}${target_includedir}/c++ \ 8 --with-gxx-include-dir=${target_includedir}/c++ \
9 --with-build-time-tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \ 9 --with-build-time-tools=${STAGING_DIR_NATIVE}${prefix_native}/${TARGET_SYS}/bin \
10 --with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \ 10 --with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \
11 --with-build-sysroot=${STAGING_DIR_TARGET}" 11 --with-build-sysroot=${STAGING_DIR_TARGET}"
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.5.1.bb
index 98e239d92c..3eea4bcafe 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.5.1.bb
@@ -5,7 +5,7 @@ require gcc-cross-canadian.inc
5require gcc-configure-sdk.inc 5require gcc-configure-sdk.inc
6require gcc-package-sdk.inc 6require gcc-package-sdk.inc
7 7
8PR = "r1" 8PR = "r3"
9 9
10DEPENDS += "gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk" 10DEPENDS += "gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk"
11RDEPENDS_${PN} += "mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk" 11RDEPENDS_${PN} += "mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk"
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
index f582de9843..4e2e343936 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc
@@ -2,6 +2,8 @@ DEPENDS = "virtual/${TARGET_PREFIX}binutils gettext-native ${NATIVEDEPS}"
2PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial" 2PROVIDES = "virtual/${TARGET_PREFIX}gcc-initial"
3PACKAGES = "" 3PACKAGES = ""
4 4
5CROSS_TARGET_SYS_DIR_append = ".${PN}"
6
5# This is intended to be a -very- basic config 7# This is intended to be a -very- basic config
6# sysroot is needed in case we use libc-initial 8# sysroot is needed in case we use libc-initial
7EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ 9EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial_4.3.3.bb b/meta/recipes-devtools/gcc/gcc-cross-initial_4.3.3.bb
index 081b7d60fb..28ac1abe18 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-initial_4.3.3.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-initial_4.3.3.bb
@@ -1,5 +1,5 @@
1require gcc-cross_${PV}.bb 1require gcc-cross_${PV}.bb
2require gcc-cross-initial.inc 2require gcc-cross-initial.inc
3 3
4PR = "r4" 4PR = "r5"
5 5
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-cross-initial_4.5.1.bb
index e3aea8b356..b2c257d9d4 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-initial_4.5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-initial_4.5.1.bb
@@ -1,5 +1,5 @@
1require gcc-cross_${PV}.bb 1require gcc-cross_${PV}.bb
2require gcc-cross-initial.inc 2require gcc-cross-initial.inc
3 3
4PR = "r0" 4PR = "r2"
5 5
diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
index 72a42411b1..2e5283d691 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
+++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate.inc
@@ -3,6 +3,8 @@ DEPENDS += "virtual/${TARGET_PREFIX}libc-initial gettext-native"
3PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate" 3PROVIDES = "virtual/${TARGET_PREFIX}gcc-intermediate"
4PACKAGES = "" 4PACKAGES = ""
5 5
6CROSS_TARGET_SYS_DIR_append = ".${PN}"
7
6# This is intended to be a -very- basic config 8# This is intended to be a -very- basic config
7# sysroot is needed in case we use libc-initial 9# sysroot is needed in case we use libc-initial
8EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ 10EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \
@@ -12,11 +14,14 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \
12 --enable-languages=c \ 14 --enable-languages=c \
13 ${OPTSPACE} \ 15 ${OPTSPACE} \
14 --program-prefix=${TARGET_PREFIX} \ 16 --program-prefix=${TARGET_PREFIX} \
15 --with-sysroot=${STAGING_DIR_TARGET} \ 17 --with-sysroot=${STAGING_DIR_TCBOOTSTRAP} \
16 --with-build-sysroot=${STAGING_DIR_TARGET} \ 18 --with-build-sysroot=${STAGING_DIR_TCBOOTSTRAP} \
17 ${EXTRA_OECONF_INTERMEDIATE} \ 19 ${EXTRA_OECONF_INTERMEDIATE} \
18 ${@get_gcc_fpu_setting(bb, d)}" 20 ${@get_gcc_fpu_setting(bb, d)}"
19 21
22do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_HOST} ${SYSROOT_DESTDIR}/${STAGING_DIR_TARGET}/${target_base_libdir}"
23do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_HOST} ${STAGING_DIR_TCBOOTSTRAP}/${target_base_libdir}"
24
20do_compile () { 25do_compile () {
21 oe_runmake 26 oe_runmake
22} 27}
@@ -25,4 +30,30 @@ do_install () {
25 oe_runmake 'DESTDIR=${D}' install 30 oe_runmake 'DESTDIR=${D}' install
26 install -d ${D}${target_base_libdir}/ 31 install -d ${D}${target_base_libdir}/
27 mv ${D}${exec_prefix}/${TARGET_SYS}/lib/* ${D}${target_base_libdir}/ 32 mv ${D}${exec_prefix}/${TARGET_SYS}/lib/* ${D}${target_base_libdir}/
33
34 # We don't really need this (here shares/ contains man/, info/, locale/).
35 rm -rf ${D}${datadir}/
36
37 # We use libiberty from binutils
38 rm -f ${D}${exec_prefix}/lib/lib/libiberty.a
39
40 # Insert symlinks into libexec so when tools without a prefix are searched for, the correct ones are
41 # found. These need to be relative paths so they work in different locations.
42 dest=${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/
43 install -d $dest
44 for t in ar as ld nm objcopy objdump ranlib strip g77 gcc cpp gfortran; do
45 ln -sf ${BINRELPATH}/${TARGET_PREFIX}$t $dest$t
46 done
47}
48
49#
50# Override the default sysroot staging copy since this won't look like a target system
51#
52sysroot_stage_all() {
53 sysroot_stage_dir ${D} ${SYSROOT_DESTDIR}
54 install -d ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_base_libdir}/
55 install -d ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/
56 mv ${SYSROOT_DESTDIR}${target_base_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_base_libdir}/ || true
57 mv ${SYSROOT_DESTDIR}${target_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/ || true
28} 58}
59
diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate_4.3.3.bb b/meta/recipes-devtools/gcc/gcc-cross-intermediate_4.3.3.bb
index 9a30cb5119..a8473b0ebe 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-intermediate_4.3.3.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate_4.3.3.bb
@@ -1,4 +1,4 @@
1require gcc-cross_${PV}.bb 1require gcc-cross_${PV}.bb
2require gcc-cross-intermediate.inc 2require gcc-cross-intermediate.inc
3PR = "r4" 3PR = "r5"
4 4
diff --git a/meta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.1.bb
index 4cabe0eb4b..e65d5df671 100644
--- a/meta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.1.bb
@@ -1,4 +1,4 @@
1require gcc-cross_${PV}.bb 1require gcc-cross_${PV}.bb
2require gcc-cross-intermediate.inc 2require gcc-cross-intermediate.inc
3PR = "r0" 3PR = "r3"
4 4
diff --git a/meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb
index 445869d1f5..399cdf9296 100644
--- a/meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-cross_4.5.1.bb
@@ -1,4 +1,4 @@
1PR = "r0" 1PR = "r2"
2 2
3require gcc-${PV}.inc 3require gcc-${PV}.inc
4require gcc-cross4.inc 4require gcc-cross4.inc
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.3.3.bb b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.3.3.bb
index 5daa31b888..b42de471da 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.3.3.bb
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.3.3.bb
@@ -1,3 +1,3 @@
1require gcc-cross-initial_${PV}.bb 1require gcc-cross-initial_${PV}.bb
2require gcc-crosssdk-initial.inc 2require gcc-crosssdk-initial.inc
3PR = "r5" 3PR = "r6"
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb
index 22cb4904b7..240caf56f7 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.5.1.bb
@@ -1,4 +1,4 @@
1require gcc-cross-initial_${PV}.bb 1require gcc-cross-initial_${PV}.bb
2require gcc-crosssdk-initial.inc 2require gcc-crosssdk-initial.inc
3 3
4PR = "r0" 4PR = "r2"
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bb
index ba42ca0e5c..a6653ddfcc 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.5.1.bb
@@ -1,4 +1,4 @@
1require gcc-cross-intermediate_${PV}.bb 1require gcc-cross-intermediate_${PV}.bb
2require gcc-crosssdk-intermediate.inc 2require gcc-crosssdk-intermediate.inc
3 3
4PR = "r0" 4PR = "r2"
diff --git a/meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb
index 6f0a5406d0..129e8d31a4 100644
--- a/meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-crosssdk_4.5.1.bb
@@ -1,4 +1,4 @@
1require gcc-cross_${PV}.bb 1require gcc-cross_${PV}.bb
2require gcc-crosssdk.inc 2require gcc-crosssdk.inc
3 3
4PR = "r0" 4PR = "r2"
diff --git a/meta/recipes-devtools/gcc/gcc-package-runtime.inc b/meta/recipes-devtools/gcc/gcc-package-runtime.inc
index 40a9ed0d70..e8c901131e 100644
--- a/meta/recipes-devtools/gcc/gcc-package-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-runtime.inc
@@ -1,6 +1,4 @@
1PACKAGES = "\ 1PACKAGES = "\
2 libgcc \
3 libgcc-dev \
4 libstdc++ \ 2 libstdc++ \
5 libstdc++-precompile-dev \ 3 libstdc++-precompile-dev \
6 libstdc++-dev \ 4 libstdc++-dev \
@@ -14,12 +12,6 @@ PACKAGES = "\
14 libmudflap-dev \ 12 libmudflap-dev \
15" 13"
16 14
17FILES_libgcc = "${base_libdir}/libgcc*.so.*"
18FILES_libgcc-dev = " \
19 ${base_libdir}/libgcc*.so \
20 ${libdir}/${TARGET_SYS}/${BINV}/crt* \
21 ${libdir}/${TARGET_SYS}/${BINV}/libgcc*"
22
23FILES_libg2c = "${target_libdir}/libg2c.so.*" 15FILES_libg2c = "${target_libdir}/libg2c.so.*"
24FILES_libg2c-dev = "\ 16FILES_libg2c-dev = "\
25 ${libdir}/libg2c.so \ 17 ${libdir}/libg2c.so \
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_4.3.3.bb b/meta/recipes-devtools/gcc/gcc-runtime_4.3.3.bb
index 6b375f323a..99f927a8f3 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_4.3.3.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_4.3.3.bb
@@ -1,4 +1,4 @@
1PR = "r17" 1PR = "r18"
2 2
3require gcc-${PV}.inc 3require gcc-${PV}.inc
4require gcc-configure-runtime.inc 4require gcc-configure-runtime.inc
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
index 4d2302d35b..093f9bf963 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb
@@ -1,4 +1,4 @@
1PR = "r0" 1PR = "r2"
2 2
3require gcc-${PV}.inc 3require gcc-${PV}.inc
4require gcc-configure-runtime.inc 4require gcc-configure-runtime.inc
diff --git a/meta/recipes-devtools/gcc/gcc_4.5.1.bb b/meta/recipes-devtools/gcc/gcc_4.5.1.bb
index 81c1fa9c2d..919d4b0938 100644
--- a/meta/recipes-devtools/gcc/gcc_4.5.1.bb
+++ b/meta/recipes-devtools/gcc/gcc_4.5.1.bb
@@ -1,4 +1,4 @@
1PR = "r0" 1PR = "r2"
2require gcc-${PV}.inc 2require gcc-${PV}.inc
3require gcc-configure-target.inc 3require gcc-configure-target.inc
4require gcc-package-target.inc 4require gcc-package-target.inc
diff --git a/meta/recipes-devtools/gcc/libgcc_4.5.1.bb b/meta/recipes-devtools/gcc/libgcc_4.5.1.bb
new file mode 100644
index 0000000000..b6cf2685e5
--- /dev/null
+++ b/meta/recipes-devtools/gcc/libgcc_4.5.1.bb
@@ -0,0 +1,46 @@
1require gcc-${PV}.inc
2
3PR = "r0"
4
5INHIBIT_DEFAULT_DEPS = "1"
6DEPENDS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
7
8PACKAGES = "\
9 ${PN} \
10 ${PN}-dev \
11 "
12
13FILES_${PN} = "${base_libdir}/libgcc*.so.*"
14FILES_${PN}-dev = " \
15 ${base_libdir}/libgcc*.so \
16 ${libdir}/${TARGET_SYS}/${BINV}/crt* \
17 ${libdir}/${TARGET_SYS}/${BINV}/libgcc*"
18
19do_fetch[noexec] = "1"
20do_unpack[noexec] = "1"
21do_patch[noexec] = "1"
22do_configure[noexec] = "1"
23do_compile[noexec] = "1"
24
25do_install () {
26 target=`echo ${MULTIMACH_TARGET_SYS} | sed -e s#-nativesdk##`
27
28 # Install libgcc from our gcc-cross saved data
29 install -d ${D}${base_libdir} ${D}${libdir}
30 cp -fpPR ${STAGING_INCDIR_NATIVE}/gcc-build-internal-$target/* ${D}
31
32 # Move libgcc_s into /lib
33 mkdir -p ${D}${base_libdir}
34 if [ -f ${D}${libdir}/nof/libgcc_s.so ]; then
35 mv ${D}${libdir}/nof/libgcc* ${D}${base_libdir}
36 else
37 mv ${D}${libdir}/libgcc* ${D}${base_libdir} || true
38 fi
39}
40
41do_package_write_ipk[depends] += "virtual/libc:do_package"
42do_package_write_deb[depends] += "virtual/libc:do_package"
43do_package_write_rpm[depends] += "virtual/libc:do_package"
44
45BBCLASSEXTEND = "nativesdk"
46
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index 16b653e46e..84e36baed6 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -5,6 +5,10 @@ SECTION = "devel"
5PRIORITY = "optional" 5PRIORITY = "optional"
6DEPENDS = "ncurses readline elfutils" 6DEPENDS = "ncurses readline elfutils"
7 7
8LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
9 file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \
10 file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \
11 file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6"
8inherit autotools 12inherit autotools
9 13
10SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \ 14SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz \
diff --git a/meta/recipes-devtools/git/git_1.7.3.2.bb b/meta/recipes-devtools/git/git_1.7.3.4.bb
index 1f7f937995..2765ef793e 100644
--- a/meta/recipes-devtools/git/git_1.7.3.2.bb
+++ b/meta/recipes-devtools/git/git_1.7.3.4.bb
@@ -6,5 +6,5 @@ EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no ac_cv_c_c99_format=yes \
6 ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \ 6 ac_cv_fread_reads_directories=${ac_cv_fread_reads_directories=yes} \
7 " 7 "
8 8
9SRC_URI[md5sum] = "902f7f07a789fedc0d2ac03656b85969" 9SRC_URI[md5sum] = "3a2602016f98c529cda7b9fad1a6e216"
10SRC_URI[sha256sum] = "bc4cf6bc7c116056050ef43b051691828d7101327b23311d424b02eaee553e71" 10SRC_URI[sha256sum] = "3e5e2b6547ee4aae82b4c5f589ff084996e9e6e0e2b52c92365e6baa1e4a0171"
diff --git a/meta/recipes-devtools/guilt/guilt-native_0.33.bb b/meta/recipes-devtools/guilt/guilt-native_0.33.bb
index 62d91f6953..fad0340ecc 100644
--- a/meta/recipes-devtools/guilt/guilt-native_0.33.bb
+++ b/meta/recipes-devtools/guilt/guilt-native_0.33.bb
@@ -1,5 +1,7 @@
1DESCRIPTION = "guilt is quilt like tool for git" 1DESCRIPTION = "guilt is quilt like tool for git"
2LICENSE = "GPL" 2LICENSE = "GPLv2"
3
4LIC_FILES_CHKSUM = "file://COPYING;md5=b6f3400dc1a01cebafe8a52b3f344135"
3 5
4PR = r0 6PR = r0
5PV = "0.33" 7PV = "0.33"
@@ -27,4 +29,4 @@ do_compile() {
27 29
28do_install() { 30do_install() {
29 oe_runmake PREFIX=${D}/${base_prefix}/usr install 31 oe_runmake PREFIX=${D}/${base_prefix}/usr install
30} \ No newline at end of file 32}
diff --git a/meta/recipes-devtools/icon-naming-utils/icon-naming-utils-native_0.8.7.bb b/meta/recipes-devtools/icon-naming-utils/icon-naming-utils-native_0.8.7.bb
index ef41c538af..18aa3745d3 100644
--- a/meta/recipes-devtools/icon-naming-utils/icon-naming-utils-native_0.8.7.bb
+++ b/meta/recipes-devtools/icon-naming-utils/icon-naming-utils-native_0.8.7.bb
@@ -2,6 +2,8 @@ LICENSE = "GPLv2"
2DEPENDS = "libxml-simple-perl-native" 2DEPENDS = "libxml-simple-perl-native"
3PR = "r1" 3PR = "r1"
4 4
5LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
6
5SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-0.8.7.tar.gz" 7SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-0.8.7.tar.gz"
6 8
7S = "${WORKDIR}/icon-naming-utils-${PV}" 9S = "${WORKDIR}/icon-naming-utils-${PV}"
diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer b/meta/recipes-devtools/installer/adt-installer/adt_installer
new file mode 100755
index 0000000000..1f481ded61
--- /dev/null
+++ b/meta/recipes-devtools/installer/adt-installer/adt_installer
@@ -0,0 +1,367 @@
1#/bin/bash
2# Yocto ADT Installer
3#
4# Copyright 2010-2011 by Intel Corp.
5#
6# Permission is hereby granted, free of charge, to any person obtaining a copy
7# of this software and associated documentation files (the "Software"), to deal
8# in the Software without restriction, including without limitation the rights
9# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10# copies of the Software, and to permit persons to whom the Software is
11# furnished to do so, subject to the following conditions:
12
13# The above copyright notice and this permission notice shall be included in
14# all copies or substantial portions of the Software.
15
16# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22# THE SOFTWARE.
23
24
25usage ()
26{
27
28 INST_ARCH=`uname -m`
29 INST_OS=`uname -o| tr '[A-Z]' '[a-z]'`
30 INST_KR=`uname -r| tr '[A-Z]' '[a-z]'`
31
32 echo_info "#########################################################################"
33 echo_info "# Welcome to Yocto Application Developement Tools (ADT) Installer"
34 echo_info "# "
35 echo_info "# Host Machine:\t\t\t\t"$INST_ARCH
36 echo_info "# OS info:\t\t\t\t$INST_KR"
37 echo_info "# Yocto ADT version to be installed:\t$YOCTOADT_VERSION"
38 echo_info "# supported target architectures:\t$YOCTOADT_SUPPORTED_TARGETS"
39 echo_info "# supported target root_fs images:\t$YOCTOADT_SUPPORTED_ROOTFS"
40 echo_info "#########################################################################\n"
41
42 echo_info "Systemwide installation. Installation will occur under $INSTALL_FOLDER\n"
43 echo_info "############################################################################"
44 echo_info "# Your system installation configurations from adt_installer.conf"
45 echo_info "############################################################################"
46
47 echo_info "# Cross toolchains:\t\t$YOCTOADT_TARGETS"
48 echo_info "# Install Qemu:\t\t\t$YOCTOADT_QEMU"
49 echo_info "# Install NFS utilities:\t$YOCTOADT_NFS_UTIL"
50 #echo_info "# Install bitbake + UI:\t\t$YOCTOADT_BITBAKE"
51 #echo_info "# Install poky metadata:\t$YOCTOADT_METADATA"
52 #echo_info "############################################################################\n"
53
54 echo_info "\n##############################################################################"
55 echo_info "# Your rootfs image(s) and target sysroot selections from adt_installer.conf"
56 echo_info "##############################################################################"
57prompt=1
58for arch_type in $YOCTOADT_SUPPORTED_TARGETS; do
59 download_images $arch_type $prompt
60done
61 echo_info "############################################################################\n"
62 select_install_type
63}
64
65validate_config()
66{
67
68 for selected_arch_type in $YOCTOADT_TARGETS; do
69 found=0
70 for supported_arch_type in $YOCTOADT_SUPPORTED_TARGETS; do
71 if [ "$selected_arch_type" == "$supported_arch_type" ]; then
72 found=1
73 break
74 fi
75 done
76 if [ $found == 0 ]; then
77 echo_info "[ADT_INST] Error: YOCTADT_TARGETS in adt_installer.conf contains invalid entries: $YOCTOADT_TARGETS. Valid values are: $YOCTOADT_SUPPORTED_TARGETS"
78 echo -e "\n#############################################################################"
79 echo -e "# Meet error(s) when installing Yocto ADT! Please check log file for details. "
80 echo -e "#############################################################################\n"
81 exit -1
82 fi
83 done
84
85 for arch_type in $YOCTOADT_SUPPORTED_TARGETS; do
86 #select_target_var="\$YOCTOADT_TARGET_$arch_type"
87 #select_target=`eval echo $select_target_var`
88
89 #if [ "$select_target" != "Y" ] || [ "$selected_target" != "y" ]; then
90 # continue;
91 #fi
92
93 target_sysroot_image_var="\$YOCTOADT_TARGET_SYSROOT_IMAGE_$arch_type"
94 target_sysroot_image=`eval echo $target_sysroot_image_var`
95
96
97 select_rootfs_var="\$YOCTOADT_ROOTFS_$arch_type"
98 select_rootfs=`eval echo $select_rootfs_var`
99
100 if [ "$select_rootfs" == "" ] && [ "$target_sysroot_image" == "" ]; then
101 continue;
102 fi
103
104 for image_type in $select_rootfs; do
105#validate rootfs type defined in YOCTOADT_ROOTFS_{ARCH} is valid and in YOCTOADT_SUPPORTED_ROOTFS
106 found=0
107 for supported_rootfs_type in $YOCTOADT_SUPPORTED_ROOTFS; do
108 if [ "$image_type" == "$supported_rootfs_type" ]; then
109 found=1
110 break
111 fi
112 done
113 if [ $found == 0 ]; then
114#the rootfs type listed for downloading is not valid
115 echo_info "[ADT_INST] Error: Selected YOCTOADT_ROOTFS_$arch_type value: $image_type, is not valid! Valid values are: $YOCTOADT_SUPPORTED_ROOTFS "
116 echo -e "\n#############################################################################"
117 echo -e "# Meet error(s) when installing Yocto ADT! Please check log file for details. "
118 echo -e "#############################################################################\n"
119 exit -1
120 fi
121 done
122
123 found=0
124 for image_type in $select_rootfs; do
125#validate that rootfs to be extracted must be in the item: YOCTOADT_ROOTFS_${ARCH}
126 if [ "$target_sysroot_image" == "$image_type" ]; then
127 found=1
128 break
129 fi
130 done
131# the rootfs image to be extracted is not selected
132 if [ $found == 0 ]; then
133 echo_info "[ADT_INST] Error: YOCTOADT_TARGET_SYSROOT_IMAGE_$arch_type selection: $target_sysroot_image is not included in YOCTOADT_ROOTFS_$arch_type selections: $select_rootfs"
134 echo -e "\n#############################################################################"
135 echo -e "# Meet error(s) when installing Yocto ADT! Please check log file for details. "
136 echo -e "#############################################################################\n"
137 exit -1
138 fi
139 done
140}
141
142
143#detect opkg installed or not, for installing sdk, we will use
144#this installed local opkg
145install_opkg()
146{
147if [ ! -x "$LOCAL_OPKG_LOC/bin/opkg-cl" ]; then
148 echo_info "OPKG is not setup, setting up opkg in local, which is required for installing yocto ADT...\n"
149
150 if [ -d $LOCAL_OPKG_LOC ]; then
151 echo_info "Deleting old OPKG folder, which doesn't contain executables... "
152 rm -rf $LOCAL_OPKG_LOC
153 fi
154
155 parent_folder=`eval echo $PWD`
156 cd $LOCAL_OPKG_FOLDER
157 check_result
158
159 opkg_source_dir=`ls -d opkg-*`
160
161 if [ $opkg_source_dir == "" ]; then
162 echo_info "[ADT_INST] Error: OPKG source directory is not found!"
163 echo -e "\n#############################################################################"
164 echo -e "# Meet error(s) when installing Yocto ADT! Please check log file for details. "
165 echo -e "#############################################################################\n"
166 exit -1
167 fi
168
169 cd $opkg_source_dir
170 check_result
171
172 echo_info "Configure opkg ...\n"
173 ./configure --prefix=$parent_folder/$LOCAL_OPKG_LOC --with-opkglibdir=$OPKG_LIBDIR --disable-curl --disable-ssl-curl --disable-gpg --disable-shave >> $parent_folder/$YOCTOADT_INSTALL_LOG_FILE
174 check_result
175
176 echo_info "Make opkg ...\n"
177 make &>> $parent_folder/$YOCTOADT_INSTALL_LOG_FILE
178 check_result
179
180 echo_info "Make Install opkg ...\n"
181 make install &>> $parent_folder/$YOCTOADT_INSTALL_LOG_FILE
182 #if meet error when installing opkg, cancel the installation
183 check_result
184
185 cd $parent_folder
186 echo_info "Successfully installed OPKG.\n"
187fi
188}
189
190confirm_download()
191{
192#avoid repeated reminding
193if [ "$override_oldfile" == 1 ]; then
194 return $pre_result
195else
196 override_oldfile=1
197fi
198
199while true; do
200 #echo_info "[ADT_INST] Files [$1] already exists. If you continue downloading, old files will be overrided."
201 #echo_info "[ADT_INST] Further prompts will not be given if there're more existing files to be downloaded."
202 #echo_info "[ADT_INST] Do you want to continue downloading? Please enter Y/N:"
203 echo_info "\nFile [$1] already exists, which means you've downloaded the qemu kernel and rootfs file(s) before. If you choose continue downloading, old files will be overridden."
204 echo_info "[ADT_INST] Do you want to continue downloading? Please enter Y/N:"
205 read YOCTOADT_INSTALL
206 YOCTOADT_INSTALL=`tr '[a-z]' '[A-Z]'<<<"$YOCTOADT_INSTALL"`
207 if [ "$YOCTOADT_INSTALL" == "Y" ]; then
208 pre_result=0
209 return 0
210 elif [ "$YOCTOADT_INSTALL" == "N" ]; then
211 pre_result=1
212 return 1
213 fi
214done
215}
216
217download_file()
218{
219if [ -f "$LOCAL_DOWNLOAD/$1" ]; then
220 confirm_download $1
221 result="$?"
222 if [ ! "$result" == "0" ]; then
223 return
224 else
225 echo "Removing old file [$1]"
226 rm -rf "$LOCAL_DOWNLOAD/$1"
227 fi
228fi
229echo_info "Downloading file: $1..."
230wget "$YOCTOADT_IPKG_REPO/$1" -P $LOCAL_DOWNLOAD --progress=bar:force 2>&1 | tee -a "$YOCTOADT_INSTALL_LOG_FILE"
231}
232
233
234
235#Need two input params, $1 -- arch_type(arm powerpc x86 mips) $2 rootfs_image_type (a list of sdk sato minimal lsb)
236get_qemu_image()
237{
238 if [ "$1" == "x86" ]; then
239 qemu_kernel="bzImage-qemu$1.bin"
240 elif [ "$1" == "mips" ]; then
241 qemu_kernel="vmlinux-qemu$1.bin"
242 else
243 qemu_kernel="zImage-qemu$1.bin"
244 fi
245
246 #echo_info "[ADT_INST] Downloading qemu kernel binary: $qemu_kernel"
247 download_file qemu$1/$qemu_kernel
248 check_result
249
250 for image_type in $select_rootfs; do
251 #echo_info "[ADT_INST] Downloading rootfs file: poky-image-$image_type-qemu$1.tar.bz2"
252 filename="poky-image-$image_type-qemu$1.tar.bz2"
253 download_file qemu$1/$filename
254 check_result
255 done
256}
257
258download_images()
259{
260 #select_target_var="\$YOCTOADT_TARGET_$1"
261 #select_target=`eval echo $select_target_var`
262
263 #if [ "$select_target" == "Y" ]; then
264 select_rootfs_var="\$YOCTOADT_ROOTFS_$1"
265 select_sysroot_image_var="\$YOCTOADT_TARGET_SYSROOT_IMAGE_$1"
266 select_sysroot_var="\$YOCTOADT_TARGET_SYSROOT_LOC_$1"
267 select_rootfs=`eval echo $select_rootfs_var`
268 select_sysroot_image=`eval echo $select_sysroot_image_var`
269 select_sysroot=`eval echo $select_sysroot_var`
270
271 if [ "$select_rootfs" != "" ]; then
272 if [ $2 ]; then
273 #echo_info "\n############################################################################"
274 #echo_info "# To be downloaded rootfs image details defined in adt_installer.conf"
275 #echo_info "############################################################################"
276 echo_info "# Target architecture:\t\t$1"
277 echo_info "# Root_fs images:\t\t$select_rootfs"
278 echo_info "# Target sysroot image:\t\t$select_sysroot_image"
279 echo_info "# Target sysroot loc:\t\t$select_sysroot"
280 echo_info "\n"
281 #echo_info "############################################################################\n"
282 else
283 get_qemu_image $1 $select_rootfs
284 fi
285 fi
286}
287
288
289
290
291#Main body of installer
292
293clear
294
295run_path=`dirname $0`
296cd $run_path
297
298if [ ! -f "scripts/util" ]; then
299 echo -e "[ADT_INST] Error: Script file: util, can't be found under: $run_path!"
300 echo -e "\n#############################################################################"
301 echo -e "# Meet error(s) when installing Yocto ADT! Please check log file for details. "
302 echo -e "#############################################################################\n"
303 exit -1
304fi
305
306if [ ! -f "scripts/adt_installer_internal" ]; then
307 echo -e "[ADT_INST] Error: Script file: adt_installer_internal, can't be found under: $run_path!"
308 echo -e "\n#############################################################################"
309 echo -e "# Meet error(s) when installing Yocto ADT! Please check log file for details. "
310 echo -e "#############################################################################\n"
311 exit -1
312fi
313
314config_file="adt_installer.conf"
315if [ ! -f "$config_file" ]; then
316 echo_info "[ADT_INST] Error: Installation configuration file: adt_installer.conf is not found!\n"
317 echo_info "\n##################################################################################"
318 echo_info "# Meet error(s) when installing Yocto ADT. Please check log file for details. "
319 echo_info "##################################################################################\n"
320 exit -1
321fi
322
323. scripts/data_define
324. scripts/util
325
326
327if [ -f "$YOCTOADT_INSTALL_LOG_FILE" ]; then
328 rm $YOCTOADT_INSTALL_LOG_FILE
329fi
330
331
332usage
333
334user_inst_type="$?"
335
336validate_config
337check_result
338#firstly we need to install opkg host
339install_opkg
340
341#Create folders for holding rootfs/qemu images
342if [ ! -d "$LOCAL_DOWNLOAD" ]; then
343 echo_info "Creating new images downloading folder: $LOCAL_DOWNLOAD ..."
344 mkdir -p $LOCAL_DOWNLOAD
345fi
346
347#downloading required qemu images/rootfs
348if [ "$user_inst_type" == "0" ]; then
349 override_oldfile=1
350else
351 override_oldfile=0
352fi
353
354for arch_type in $YOCTOADT_SUPPORTED_TARGETS; do
355 download_images $arch_type
356done
357
358scripts/adt_installer_internal $user_inst_type
359
360result="$?"
361#echo_info "\n############################################################"
362if [ "$result" == "0" ]; then
363 echo_info "\n############################################################"
364 echo_info "# Yocto ADT has been successfully installed."
365 echo_info "############################################################\n"
366fi
367
diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer.conf b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf
new file mode 100644
index 0000000000..db602f6d6d
--- /dev/null
+++ b/meta/recipes-devtools/installer/adt-installer/adt_installer.conf
@@ -0,0 +1,52 @@
1# Yocto ADT Installer Configuration File
2#
3# Copyright 2010-2011 by Intel Corp.
4#
5# Permission is hereby granted, free of charge, to any person obtaining a copy
6# of this software and associated documentation files (the "Software"), to deal
7# in the Software without restriction, including without limitation the rights
8# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9# copies of the Software, and to permit persons to whom the Software is
10# furnished to do so, subject to the following conditions:
11
12# The above copyright notice and this permission notice shall be included in
13# all copies or substantial portions of the Software.
14
15# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21# THE SOFTWARE.
22
23
24# Your yocto distro repository, this should include IPKG based packages and root filesystem files where the installation is based on
25
26YOCTOADT_IPKG_REPO="http://adtrepo.yoctoproject.org/1.0/rootfs"
27
28# The following are for system wide setup
29# Target architectures that you want to setup host cross dev environment for
30# valid values are: powerpc, mips, arm, x86, x86_64 with space separation between entries
31YOCTOADT_TARGETS="arm x86"
32# Whether install qemu or not, valid entries are: Y/N
33YOCTOADT_QEMU="Y"
34# Whether install user-mode nfs or not, valid entries are: Y/N. If you want to use Yocto Eclipse plug-in as your dev IDE, you need to select both qemu and NFS
35YOCTOADT_NFS_UTIL="Y"
36
37# These 2 values will be supported in the furture installer
38#YOCTOADT_BITBAKE="Y"
39#YOCTOADT_METADATA="Y"
40
41#The followings are for setting up specific target architecture
42#YOCTOADT_ROOTFS_$arch is for specifying what root filesystem image files you want to download from the repository. The valid values to replace $arch are: arm, x86, x86_64, powerpc, mips. The valid image files are: minimal, sato, sdk and lsb. If you want to download multiple images, the entries are space separated
43YOCTOADT_ROOTFS_arm="minimal sato"
44#Specify which root filesystem file to use to extract as target sysroot. Please ensure the entry is in the list of downloaded root filesystem files that specified above in YOCTOADT_ROOTFS_$arch
45YOCTOADT_TARGET_SYSROOT_IMAGE_arm="minimal"
46#The location where the target sysroot will be setup
47YOCTOADT_TARGET_SYSROOT_LOC_arm="$HOME/test-yocto/arm"
48
49#Here's another example for setting up target arch of x86, by uncommenting it will trigger the installer to download and setup 2 sysroot environment for 2 target arches: arm and x86. If you want to add more target arch support, you can append more entries by following these samples
50#YOCTOADT_ROOTFS_x86="sdk"
51#YOCTOADT_TARGET_SYSROOT_IMAGE_x86="sdk"
52#YOCTOADT_TARGET_SYSROOT_LOC_x86="$HOME/test-yocto/x86"
diff --git a/meta/recipes-devtools/installer/adt-installer/opkg/conf/opkg-sdk-i686.conf b/meta/recipes-devtools/installer/adt-installer/opkg/conf/opkg-sdk-i686.conf
new file mode 100644
index 0000000000..1d8c89a840
--- /dev/null
+++ b/meta/recipes-devtools/installer/adt-installer/opkg/conf/opkg-sdk-i686.conf
@@ -0,0 +1,6 @@
1arch all 1
2arch any 6
3arch noarch 11
4arch i686-nativesdk 16
5src yp http://adtrepo.yoctoproject.org/1.0/adt-ipk
6src yp-i686-nativesdk http://adtrepo.yoctoproject.org/1.0/adt-ipk/i686-nativesdk
diff --git a/meta/recipes-devtools/installer/adt-installer/opkg/conf/opkg-sdk-x86_64.conf b/meta/recipes-devtools/installer/adt-installer/opkg/conf/opkg-sdk-x86_64.conf
new file mode 100644
index 0000000000..6b14f98630
--- /dev/null
+++ b/meta/recipes-devtools/installer/adt-installer/opkg/conf/opkg-sdk-x86_64.conf
@@ -0,0 +1,6 @@
1arch all 1
2arch any 6
3arch noarch 11
4arch x86_64-nativesdk 16
5src yp http://adtrepo.yoctoproject.org/1.0/adt-ipk
6src yp-x86_64-nativesdk http://adtrepo.yoctoproject.org/1.0/adt-ipk/x86_64-nativesdk
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
new file mode 100755
index 0000000000..9653284e5a
--- /dev/null
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
@@ -0,0 +1,210 @@
1#!/bin/bash
2
3# Yocto ADT Installer
4#
5# Copyright 2010-2011 by Intel Corp.
6#
7# Permission is hereby granted, free of charge, to any person obtaining a copy
8# of this software and associated documentation files (the "Software"), to deal
9# in the Software without restriction, including without limitation the rights
10# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11# copies of the Software, and to permit persons to whom the Software is
12# furnished to do so, subject to the following conditions:
13
14# The above copyright notice and this permission notice shall be included in
15# all copies or substantial portions of the Software.
16
17# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23# THE SOFTWARE.
24
25parse_config()
26{
27 INST_ARCH=`uname -m`
28
29 case $INST_ARCH in
30 i[3-6]86)
31 OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_32
32 #POKY_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/i586-pokysdk-linux/"
33 POKY_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/$INST_ARCH-pokysdk-linux/"
34 ;;
35 x86_64)
36 OPKG_CONFIG_FILE=$YOCTOADT_OPKG_CONF_FILE_64
37 POKY_NATIVE_SYSROOT="$INSTALL_FOLDER/sysroots/x86_64-pokysdk-linux/"
38 ;;
39 *)
40 echo_info "[ADT_INST] Error: Installation Machine is not supported!"
41 exit -1
42 ;;
43 esac
44}
45
46
47#let us install a qemu-native firstly
48#installation step 2
49install_native_sdk()
50{
51
52echo_info "\nStart installing selected native ADT for archs: $YOCTOADT_TARGETS..."
53
54# where the packages are installed. Currently only / is supported
55NATIVE_INSTALL_DIR="/"
56
57if [ -d "$INSTALL_FOLDER" ]; then
58 echo_info "\nNative ADT installation directory \"$INSTALL_FOLDER\" already exists! Continue installation will override its contents!"
59 confirm_install $1
60fi
61
62#Now begin to install native sdk and extract qemu rootfs which needs privilege rights
63echo_info "#######################################################################"
64echo_info "Please note from this point on installation requires sudo password ..."
65echo_info "#######################################################################"
66username='id -nu'
67#we need to make this directory firstly since opkg need to use it.
68OPKG_LOCK_DIR="$NATIVE_INSTALL_DIR/$OPKG_LIBDIR/opkg"
69if [ ! -d "$OPKG_LOCK_DIR" ]; then
70 sudo mkdir -p $OPKG_LOCK_DIR
71 echo_info "Successfully create directory $OPKG_LOCK_DIR. "
72#if user delete /opt/poky, while dangling folders there, report error
73elif [ ! -d "$INSTALL_FOLDER" ]; then
74 echo_info "\nDangling opkg cache folder $OPKG_LOCK_DIR detected. Continue installation will remove the folder!"
75 confirm_install $1
76 sudo rm -rf $OPKG_LOCK_DIR
77 sudo mkdir -p $OPKG_LOCK_DIR
78#if user are updating installing, just let him/her go, give her/him prompt
79else
80 echo_info "ADT has already been installed. Will update its contents..."
81fi
82
83#first update repository
84OPKG_CMD="sudo $LOCAL_OPKG_LOC/bin/opkg-cl"
85
86echo_info "Updating opkg..."
87$OPKG_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR update &>> $YOCTOADT_INSTALL_LOG_FILE
88echo_info "opkg update process ended..."
89check_result
90
91#install below must sdk-host packages
92OPKG_INSTALL_CMD="$OPKG_CMD --force-overwrite"
93OPKG_INSTALL_NATIVE_CMD="$OPKG_INSTALL_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR install"
94
95echo_info "Installing pseudo nativesdk ...\n"
96$OPKG_INSTALL_NATIVE_CMD pseudo-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE
97check_result
98echo_info "Installing opkg nativesdk ...\n"
99$OPKG_INSTALL_NATIVE_CMD opkg-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE
100check_result
101echo_info "Installing pkgconfig nativesdk ...\n"
102$OPKG_INSTALL_NATIVE_CMD pkgconfig-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE
103check_result
104
105for native_target_type in $YOCTOADT_TARGETS; do
106 native_target_type=`echo "$native_target_type" | sed -e 's/x86_64/x86-64/' -e 's/x86$/i586/'`
107 echo_info "Installing cross toolchain for $native_target_type ..."
108 echo_info "Installing binutils for $native_target_type ..."
109 $OPKG_INSTALL_NATIVE_CMD binutils-cross-canadian-$native_target_type &>> $YOCTOADT_INSTALL_LOG_FILE
110 check_result
111 echo_info "Installing gcc for $native_target_type ..."
112 $OPKG_INSTALL_NATIVE_CMD gcc-cross-canadian-$native_target_type &>> $YOCTOADT_INSTALL_LOG_FILE
113 check_result
114 echo_info "Installing gdb for $native_target_type ..."
115 $OPKG_INSTALL_NATIVE_CMD gdb-cross-canadian-$native_target_type &>> $YOCTOADT_INSTALL_LOG_FILE
116 check_result
117
118 echo_info "Installing envrionement file for $native_target_type ..."
119 $OPKG_INSTALL_NATIVE_CMD meta-environment-$native_target_type &>> $YOCTOADT_INSTALL_LOG_FILE
120 check_result
121
122done
123
124# Link the ld.so.cache file into the hosts filesystem
125if [ ! -f "$POKY_NATIVE_SYSROOT/etc/ld.so.cache" ]; then
126echo_info "Link the ld.so.cache file into the host filesystem"
127sudo ln -s /etc/ld.so.cache $POKY_NATIVE_SYSROOT/etc/ld.so.cache
128check_result
129fi
130
131if [ "$YOCTOADT_QEMU" == "Y" ] || [ "$YOCTOADT_QEMU" = "y" ]; then
132 echo_info "\nInstalling qemu native ..."
133 $OPKG_INSTALL_NATIVE_CMD qemu-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE
134 check_result
135 $OPKG_INSTALL_NATIVE_CMD qemu-helper-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE
136 check_result
137fi
138
139if [ "$YOCTOADT_NFS_UTIL" == "Y" ] || [ "$YOCTOADT_NFS_UTIL" == "y" ]; then
140 echo_info "\nInstalling unfs ..."
141 $OPKG_INSTALL_NATIVE_CMD unfs-server-nativesdk &>> $YOCTOADT_INSTALL_LOG_FILE
142 check_result
143fi
144
145echo_info "\nSuccessfully installed selected native ADT!"
146}
147
148#Need three input params, $1 -- arch_type(arm powerpc x86 mips) #2 -- user installation type
149#customer or scilent
150
151install_target()
152{
153
154# rootfs extraction directory
155target_sysroot_var="\$YOCTOADT_TARGET_SYSROOT_LOC_$1"
156target_sysroot=`eval echo $target_sysroot_var`
157
158if [ "$target_sysroot" == "" ]; then
159 return 0
160fi
161
162target_sysroot_image_var="\$YOCTOADT_TARGET_SYSROOT_IMAGE_$1"
163target_sysroot_image=`eval echo $target_sysroot_image_var`
164if [ "$target_sysroot_image" == "" ]; then
165 echo_info "[ADT_INST] Error: YOCTOADT_TARGET_SYSROOT_IMAGE_$1 selection is empty, failed to create target sysroot!"
166 return 1
167fi
168
169echo_info "Installing target sysroot for arch: $1, rootfs type: $target_sysroot_image, location: $target_sysroot"
170
171sysroot_image_name="poky-image-$target_sysroot_image-qemu$1.tar.bz2"
172 #echo_info "Extracting rootfs: $sysroot_image_name, using pseudo..."
173
174scripts/extract_rootfs $sysroot_image_name $target_sysroot $POKY_NATIVE_SYSROOT $user_inst_type
175check_result
176
177echo_info "Updating environment script with target sysroot location."
178if [ "$1" == "x86" ]; then
179 env_filename=`ls $INSTALL_FOLDER/environment-setup-i586*`
180else
181 env_filename=`ls $INSTALL_FOLDER/environment-setup-$1*`
182fi
183if [ ! -z "$env_filename" ]; then
184 sudo sed -i -e "s%##SDKTARGETSYSROOT##%$target_sysroot%g" $env_filename
185else
186 echo_info "[ADT_INST] Error: Failed to find environment script for arch: $1"
187 return 1
188fi
189
190
191}
192
193
194#Main part
195. scripts/data_define
196. scripts/util
197
198parse_config
199
200#secondly we will start to install native tools
201user_inst_type=$1
202install_native_sdk $user_inst_type
203check_result
204
205for arch_type in $YOCTOADT_SUPPORTED_TARGETS; do
206 install_target $arch_type
207 check_result
208done
209
210
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/data_define b/meta/recipes-devtools/installer/adt-installer/scripts/data_define
new file mode 100644
index 0000000000..2895c4f188
--- /dev/null
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/data_define
@@ -0,0 +1,40 @@
1#!/bin/bash
2
3# Yocto ADT Installer
4#
5# Copyright 2010-2011 by Intel Corp.
6#
7# Permission is hereby granted, free of charge, to any person obtaining a copy
8# of this software and associated documentation files (the "Software"), to deal
9# in the Software without restriction, including without limitation the rights
10# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11# copies of the Software, and to permit persons to whom the Software is
12# furnished to do so, subject to the following conditions:
13
14# The above copyright notice and this permission notice shall be included in
15# all copies or substantial portions of the Software.
16
17# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23# THE SOFTWARE.
24
25config_file="adt_installer.conf"
26source $config_file
27
28LOCAL_OPKG_LOC="./opkg/build/opkg"
29LOCAL_OPKG_FOLDER="./opkg/build"
30OPKG_LIBDIR="/var/lib"
31
32# List all supported root fs types and target types,
33# it will be used in user configuration validity checking
34YOCTOADT_SUPPORTED_ROOTFS="minimal sato sdk lsb"
35YOCTOADT_SUPPORTED_TARGETS="x86 x86_64 arm powerpc mips"
36# Different host (32 bit or 64 bit) will have different opkg
37# configuration files
38YOCTOADT_OPKG_CONF_FILE_32="./opkg/conf/opkg-sdk-i686.conf"
39YOCTOADT_OPKG_CONF_FILE_64="./opkg/conf/opkg-sdk-x86_64.conf"
40INSTALL_FOLDER=/opt/poky/$YOCTOADT_VERSION
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/extract_rootfs b/meta/recipes-devtools/installer/adt-installer/scripts/extract_rootfs
new file mode 100755
index 0000000000..3dd47f0f75
--- /dev/null
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/extract_rootfs
@@ -0,0 +1,67 @@
1#!/bin/bash
2
3# Yocto ADT Installer
4#
5# Copyright 2010-2011 by Intel Corp.
6#
7# Permission is hereby granted, free of charge, to any person obtaining a copy
8# of this software and associated documentation files (the "Software"), to deal
9# in the Software without restriction, including without limitation the rights
10# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11# copies of the Software, and to permit persons to whom the Software is
12# furnished to do so, subject to the following conditions:
13
14# The above copyright notice and this permission notice shall be included in
15# all copies or substantial portions of the Software.
16
17# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23# THE SOFTWARE.
24
25extract_rootfs()
26{
27
28 native_sysroot=$3
29 target_sysroot=$2
30 PSEUDO_COMMAND="$native_sysroot/usr/bin/pseudo"
31 PSEUDO_OPTS="-P $natvie_sysroot/usr"
32 TAR_OPTS="-xjf"
33 PSEUDO_OPTS="-P $native_sysroot/usr"
34
35
36 rm -rf $PSEUDO_LOCALSTATEDIR
37
38 if [ -d "$target_sysroot" ]; then
39 echo_info "\nTarget sysroot location: $target_sysroot, already exists! If you continue installation, this folder will be re-created."
40 confirm_install $4
41 rm -rf "$target_sysroot"
42 fi
43
44 if [ ! -d "$target_sysroot" ]; then
45 echo_info "Creating directory $target_sysroot..."
46 mkdir -p "$target_sysroot"
47 fi
48
49 mkdir -p "$target_sysroot/var/pseudo"
50 touch "$target_sysroot/var/pseudo/pseudo.pid"
51 PSEUDO_LOCALSTATEDIR="$target_sysroot/var/pseudo"
52 export PSEUDO_LOCALSTATEDIR
53
54 echo_info "Extracting rootfs: $1, using pseudo..."
55 $PSEUDO_COMMAND $PSEUDO_OPTS tar -C $2 "$TAR_OPTS" $LOCAL_DOWNLOAD/$1 &>> $YOCTOADT_INSTALL_LOG_FILE
56 check_result
57}
58
59#Main part
60. scripts/util
61
62#Parameter detail is listed below:
63#Param 4: Silent install or customize install
64#Param 3: POKY_NATIVE_SYSROOT
65#Param 2: user defined rootfs extraction directory
66#param 1: sysroot image name
67extract_rootfs $1 $2 $3 $4
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/util b/meta/recipes-devtools/installer/adt-installer/scripts/util
new file mode 100644
index 0000000000..4b88feea5a
--- /dev/null
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/util
@@ -0,0 +1,104 @@
1#!/bin/bash
2
3# Yocto ADT Installer
4#
5# Copyright 2010-2011 by Intel Corp.
6#
7# Permission is hereby granted, free of charge, to any person obtaining a copy
8# of this software and associated documentation files (the "Software"), to deal
9# in the Software without restriction, including without limitation the rights
10# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11# copies of the Software, and to permit persons to whom the Software is
12# furnished to do so, subject to the following conditions:
13
14# The above copyright notice and this permission notice shall be included in
15# all copies or substantial portions of the Software.
16
17# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23# THE SOFTWARE.
24
25echo_info()
26{
27 echo -e $1 | tee -a $YOCTOADT_INSTALL_LOG_FILE
28}
29
30select_install_type()
31{
32# If choosing silent install, all older installation data will be
33# overriden without user's interaction
34while true; do
35 #echo_info "[ADT_INST] Silent install means overrides all existing older"
36 #echo_info "[ADT_INST] data and the installation needs least user interaction"
37 #echo_info "[ADT_INST] If you want to use silent installation, please enter S:"
38 #echo_info "[ADT_INST] If you want to customize installation, please enter C:"
39 #echo_info "[ADT_INST} If you want to exit current installation, please enter X:"
40 echo_info "There're two ways you can do installation: silent mode or interactive mode. To choose silent mode, which means you opt for the system to override the existing data under the specified installation directories without prompting for your confirmation. Please be cautious with this selection which may trigger your losing data. With the interactive mode, you have to closely monitor the installation process, since it will prompt you each step it needs to override some existing data. To choose silent mode, please enter [S], for interactive mode, please enter [I] or [X] to exit the installation."
41 echo_info "[ADT_INST] Please enter your selections here:"
42 read YOCTOADT_SEL
43 YOCTOADT_SEL=`tr '[a-z]' '[A-Z]'<<<"$YOCTOADT_SEL"`
44 if [ "$YOCTOADT_SEL" == "S" ]; then
45 return "0"
46 elif [ "$YOCTOADT_SEL" == "I" ]; then
47 return "1"
48 elif [ "$YOCTOADT_SEL" == "X" ]; then
49 echo_info "\n############################################################"
50 echo_info "# User cancelled installation!"
51 echo_info "############################################################\n"
52 exit 1
53 fi
54done
55
56
57}
58
59confirm_install()
60{
61# below are prompt, make sure user still want to install even meet
62# some prompts
63
64#User likes to enjoy silent installation, we will not break his
65#installation process here
66if [ "$1" == "0" ]; then
67 return
68fi
69
70while true; do
71 echo_info "[ADT_INST] Do you want to continue installation? Please enter Y/N:"
72 read YOCTOADT_INSTALL
73 YOCTOADT_INSTALL=`tr '[a-z]' '[A-Z]'<<<"$YOCTOADT_INSTALL"`
74 if [ "$YOCTOADT_INSTALL" == "Y" ]; then
75 break
76 elif [ "$YOCTOADT_INSTALL" == "N" ]; then
77 echo_info "\n############################################################"
78 echo_info "# User cancelled installation!"
79 echo_info "############################################################\n"
80 exit 1
81 fi
82done
83}
84
85check_result()
86{
87 result="$?"
88 if [ "$result" == "-1" ]; then
89 echo_info "\n#############################################################################"
90 echo_info "# Meet error(s) when installing Yocto ADT! Please check log file for details. "
91 echo_info "#############################################################################\n"
92 exit -1
93 elif [ "$result" == "1" ]; then
94 exit -1
95 fi
96}
97
98# yocto adt installation log file
99YOCTOADT_INSTALL_LOG_FILE="adt_installer.log"
100# Temp folders holding qemu/rootfs downloaded images
101# It will be put into the installation folder
102LOCAL_DOWNLOAD="./download_image"
103
104
diff --git a/meta/recipes-devtools/installer/adt-installer_1.0.bb b/meta/recipes-devtools/installer/adt-installer_1.0.bb
new file mode 100644
index 0000000000..e8659716c8
--- /dev/null
+++ b/meta/recipes-devtools/installer/adt-installer_1.0.bb
@@ -0,0 +1,84 @@
1# Yocto ADT Installer bb file
2#
3# Copyright 2010-2011 by Intel Corp.
4#
5# Permission is hereby granted, free of charge, to any person obtaining a copy
6# of this software and associated documentation files (the "Software"), to deal
7# in the Software without restriction, including without limitation the rights
8# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9# copies of the Software, and to permit persons to whom the Software is
10# furnished to do so, subject to the following conditions:
11
12# The above copyright notice and this permission notice shall be included in
13# all copies or substantial portions of the Software.
14
15# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21# THE SOFTWARE.
22
23
24DESCRIPTION = "Meta package for creating sdk installer tarball"
25LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
26 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
27LICENSE = "MIT"
28
29ALLOW_EMPTY = "1"
30
31PACKAGES = ""
32PACKAGE_ARCH = "all"
33
34PR = "r0"
35
36ADT_DEPLOY = "${TMPDIR}/deploy/sdk/"
37ADT_DIR = "${WORKDIR}/adt-installer/"
38YOCTOADT_VERSION = "${SDK_VERSION}"
39
40inherit deploy
41
42SRC_URI = "http://opkg.googlecode.com/files/opkg-0.1.8.tar.gz \
43 file://adt_installer \
44 file://scripts/adt_installer_internal \
45 file://scripts/util \
46 file://scripts/data_define \
47 file://scripts/extract_rootfs \
48 file://adt_installer.conf \
49 file://opkg/conf/opkg-sdk-x86_64.conf \
50 file://opkg/conf/opkg-sdk-i686.conf \
51 "
52SRC_URI[md5sum] = "c714ce0e4863bf1315e3b6913ffe3299"
53SRC_URI[sha256sum] = "ff94bf30bd662d49c4b5057e3a0818d062731adaa555d59abd677ec32a3c1c60"
54
55fakeroot do_deploy () {
56 cd ${WORKDIR}
57 mkdir -p ${ADT_DEPLOY}
58 rm -f ${ADT_DEPLOY}/adt-installer.tar.bz2
59 rm -rf ${ADT_DIR}
60 mkdir -p ${ADT_DIR}/opkg/build
61 cp -r opkg ${ADT_DIR}/
62 cp -r opkg-0.1.8 ${ADT_DIR}/opkg/build/
63 cp -r scripts ${ADT_DIR}/
64 cp adt_installer ${ADT_DIR}
65 cp adt_installer.conf ${ADT_DIR}
66 echo 'YOCTOADT_VERSION=${SDK_VERSION}' > ${ADT_DIR}/temp.conf
67 cat ${ADT_DIR}/adt_installer.conf >> ${ADT_DIR}/temp.conf
68 mv ${ADT_DIR}/temp.conf ${ADT_DIR}/adt_installer.conf
69 tar cfj adt_installer.tar.bz2 adt-installer
70 cp ${WORKDIR}/adt_installer.tar.bz2 ${ADT_DEPLOY}
71}
72
73do_patch[noexec] = "1"
74do_install[noexec] = "1"
75do_configure[noexec] = "1"
76do_compile[noexec] = "1"
77do_package[noexec] = "1"
78do_package_write[noexec] = "1"
79do_package_write_ipk[noexec] = "1"
80do_package_write_rpm[noexec] = "1"
81do_package_write_deb[noexec] = "1"
82do_poplulate_sysroot[noexec] = "1"
83
84addtask deploy before do_populate_sysroot after do_unpack
diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc
index f9bdf93b7b..9df79f580b 100644
--- a/meta/recipes-devtools/intltool/intltool.inc
+++ b/meta/recipes-devtools/intltool/intltool.inc
@@ -8,8 +8,8 @@ SRC_URI = "${GNOME_MIRROR}/intltool/${URLV}/intltool-${PV}.tar.bz2"
8S = "${WORKDIR}/intltool-${PV}" 8S = "${WORKDIR}/intltool-${PV}"
9 9
10DEPENDS = "libxml-parser-perl-native" 10DEPENDS = "libxml-parser-perl-native"
11#RDEPENDS = "libxml-parser-perl" 11#RDEPENDS_${PN} = "libxml-parser-perl"
12RRECOMMENDS = "perl-modules" 12RRECOMMENDS_${PN} = "perl-modules"
13 13
14inherit autotools pkgconfig 14inherit autotools pkgconfig
15 15
diff --git a/meta/recipes-devtools/intltool/intltool_0.40.6.bb b/meta/recipes-devtools/intltool/intltool_0.40.6.bb
index 4b5fe820e8..88d441cb93 100644
--- a/meta/recipes-devtools/intltool/intltool_0.40.6.bb
+++ b/meta/recipes-devtools/intltool/intltool_0.40.6.bb
@@ -1,7 +1,7 @@
1require intltool.inc 1require intltool.inc
2LICENSE="GPLv2" 2LICENSE="GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 3LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
4PR = "r0" 4PR = "r1"
5 5
6SRC_URI_append = " file://intltool-nowarn-0.40.0.patch" 6SRC_URI_append = " file://intltool-nowarn-0.40.0.patch"
7 7
diff --git a/meta/recipes-devtools/libtool/libtool-2.4.inc b/meta/recipes-devtools/libtool/libtool-2.4.inc
new file mode 100644
index 0000000000..e3d17b71d5
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool-2.4.inc
@@ -0,0 +1,13 @@
1require libtool.inc
2DEPENDS = "libtool-native"
3
4PACKAGES =+ "libltdl libltdl-dev libltdl-dbg"
5FILES_${PN} += "${datadir}/aclocal*"
6FILES_libltdl = "${libdir}/libltdl.so.*"
7FILES_libltdl-dev = "${libdir}/libltdl.* ${includedir}/ltdl.h"
8FILES_libltdl-dbg = "${libdir}/.debug/"
9
10SRC_URI[md5sum] = "b32b04148ecdd7344abc6fe8bd1bb021"
11SRC_URI[sha256sum] = "13df57ab63a94e196c5d6e95d64e53262834fe780d5e82c28f177f9f71ddf62e"
12
13EXTRA_OECONF = "--with-sysroot" \ No newline at end of file
diff --git a/meta/recipes-devtools/libtool/libtool-cross_2.4.bb b/meta/recipes-devtools/libtool/libtool-cross_2.4.bb
index 6ea96a5537..e3b40f2560 100644
--- a/meta/recipes-devtools/libtool/libtool-cross_2.4.bb
+++ b/meta/recipes-devtools/libtool/libtool-cross_2.4.bb
@@ -1,11 +1,8 @@
1require libtool_${PV}.bb 1require libtool-${PV}.inc
2 2
3PR = "r0" 3PR = "r1"
4PACKAGES = "" 4PACKAGES = ""
5SRC_URI_append = " file://cross_compile.patch \ 5SRC_URI += "file://prefix.patch"
6 file://prefix.patch "
7
8DEPENDS += "libtool-native"
9 6
10do_configure_prepend () { 7do_configure_prepend () {
11 # Remove any existing libtool m4 since old stale versions would break 8 # Remove any existing libtool m4 since old stale versions would break
@@ -29,6 +26,6 @@ do_install () {
29SYSROOT_PREPROCESS_FUNCS += "libtoolcross_sysroot_preprocess" 26SYSROOT_PREPROCESS_FUNCS += "libtoolcross_sysroot_preprocess"
30 27
31libtoolcross_sysroot_preprocess () { 28libtoolcross_sysroot_preprocess () {
32 install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/ 29 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}
33 install -m 755 ${D}${bindir}/${HOST_SYS}-libtool ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool 30 install -m 755 ${D}${bindir}/${HOST_SYS}-libtool ${SYSROOT_DESTDIR}${bindir_crossscripts}/${HOST_SYS}-libtool
34} 31}
diff --git a/meta/recipes-devtools/libtool/libtool-native_2.4.bb b/meta/recipes-devtools/libtool/libtool-native_2.4.bb
index 4ad660b507..4163e8972a 100644
--- a/meta/recipes-devtools/libtool/libtool-native_2.4.bb
+++ b/meta/recipes-devtools/libtool/libtool-native_2.4.bb
@@ -1,13 +1,14 @@
1require libtool_${PV}.bb 1require libtool-${PV}.inc
2 2
3DEPENDS = "" 3DEPENDS = ""
4 4
5PR = "r0" 5PR = "r1"
6SRC_URI_append = " file://cross_compile.patch \ 6SRC_URI += "file://prefix.patch"
7 file://prefix.patch "
8 7
9inherit native 8inherit native
10 9
10EXTRA_OECONF = " --with-libtool-sysroot=${STAGING_DIR_NATIVE}"
11
11do_configure_prepend () { 12do_configure_prepend () {
12 # Remove any existing libtool m4 since old stale versions would break 13 # Remove any existing libtool m4 since old stale versions would break
13 # any upgrade 14 # any upgrade
@@ -21,5 +22,3 @@ do_install () {
21 install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/${HOST_SYS}-libtool 22 install -m 0755 ${HOST_SYS}-libtool ${D}${bindir}/${HOST_SYS}-libtool
22} 23}
23 24
24SRC_URI[md5sum] = "b32b04148ecdd7344abc6fe8bd1bb021"
25SRC_URI[sha256sum] = "13df57ab63a94e196c5d6e95d64e53262834fe780d5e82c28f177f9f71ddf62e"
diff --git a/meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb b/meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb
index c9f24a95bf..45c9af66c6 100644
--- a/meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb
+++ b/meta/recipes-devtools/libtool/libtool-nativesdk_2.4.bb
@@ -1,8 +1,7 @@
1require libtool_${PV}.bb 1require libtool-${PV}.inc
2 2
3PR = "r0" 3PR = "r1"
4SRC_URI_append = " file://cross_compile.patch \ 4SRC_URI += "file://prefix.patch"
5 file://prefix.patch "
6 5
7inherit nativesdk 6inherit nativesdk
8 7
@@ -22,6 +21,6 @@ do_install () {
22SYSROOT_PREPROCESS_FUNCS += "libtoolnativesdk_sysroot_preprocess" 21SYSROOT_PREPROCESS_FUNCS += "libtoolnativesdk_sysroot_preprocess"
23 22
24libtoolnativesdk_sysroot_preprocess () { 23libtoolnativesdk_sysroot_preprocess () {
25 install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/ 24 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
26 install -m 755 ${D}${bindir}/${HOST_SYS}-libtool ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool 25 install -m 755 ${D}${bindir}/${HOST_SYS}-libtool ${SYSROOT_DESTDIR}${bindir_crossscripts}/${HOST_SYS}-libtool
27} 26}
diff --git a/meta/recipes-devtools/libtool/libtool.inc b/meta/recipes-devtools/libtool/libtool.inc
index 9690e3b7bf..8701c820d2 100644
--- a/meta/recipes-devtools/libtool/libtool.inc
+++ b/meta/recipes-devtools/libtool/libtool.inc
@@ -1,14 +1,26 @@
1SUMMARY = "Generic library support script" 1SUMMARY = "Generic library support script"
2DESCRIPTION = "This is GNU libtool, a generic library support script. Libtool hides \ 2DESCRIPTION = "This is GNU libtool, a generic library support script. \
3the complexity of generating special library types (such as shared \ 3Libtool hides the complexity of generating special library types \
4libraries) behind a consistent interface." 4(such as shared libraries) behind a consistent interface."
5HOMEPAGE = "http://www.gnu.org/software/libtool/libtool.html" 5HOMEPAGE = "http://www.gnu.org/software/libtool/libtool.html"
6SECTION = "devel" 6SECTION = "devel"
7LICENSE = "GPLv2, LGPLv2.1" 7LICENSE = "GPLv2, LGPLv2.1"
8LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ 8LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
9 file://libltdl/COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06 " 9 file://libltdl/COPYING.LIB;md5=e3eda01d9815f8d24aae2dbd89b68b06"
10 10
11SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \ 11SRC_URI = "${GNU_MIRROR}/libtool/libtool-${PV}.tar.gz \
12 file://trailingslash.patch \ 12 file://trailingslash.patch \
13 file://prefix-manpage-fix.patch " 13 file://prefix-manpage-fix.patch \
14 file://rename-with-sysroot.patch \
15 file://resolve-sysroot.patch \
16 file://use-sysroot-in-libpath.patch \
17 file://fix-final-rpath.patch"
14 18
19do_compile_prepend () {
20 # Sometimes this file doesn't get rebuilt, force the issue
21 rm -f ${S}/libltdl/config/ltmain.sh
22 make libltdl/config/ltmain.sh
23}
24
25inherit autotools
26EXTRA_AUTORECONF = "--exclude=libtoolize"
diff --git a/meta/recipes-devtools/libtool/libtool/cross_compile.patch b/meta/recipes-devtools/libtool/libtool/cross_compile.patch
deleted file mode 100644
index 28539ff039..0000000000
--- a/meta/recipes-devtools/libtool/libtool/cross_compile.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1Tweaks to make cross-compiling work combined and updated from various
2older patches, some by Chris Larson.
3Not upstreable in this form.
4
5RP - 01/05/2008
6
7Index: libtool-2.4/libltdl/config/ltmain.m4sh
8===================================================================
9--- libtool-2.4.orig/libltdl/config/ltmain.m4sh
10+++ libtool-2.4/libltdl/config/ltmain.m4sh
11@@ -6121,8 +6121,6 @@ func_mode_link ()
12 add="$libdir/$linklib"
13 fi
14 else
15- # We cannot seem to hardcode it, guess we'll fake it.
16- add_dir="-L$libdir"
17 # Try looking first in the location we're being installed to.
18 if test -n "$inst_prefix_dir"; then
19 case $libdir in
20@@ -6277,7 +6275,17 @@ func_mode_link ()
21 fi
22 ;;
23 *)
24- path="-L$absdir/$objdir"
25+ # OE sets installed=no in staging. We need to look in $objdir and $absdir,
26+ # preferring $objdir. RP 31/04/2008
27+ if test -f "$absdir/$objdir/$depdepl" ; then
28+ depdepl="$absdir/$objdir/$depdepl"
29+ path="-L$absdir/$objdir"
30+ elif test -f "$absdir/$depdepl" ; then
31+ depdepl="$absdir/$depdepl"
32+ path="-L$absdir"
33+ else
34+ path="-L$absdir/$objdir"
35+ fi
36 ;;
37 esac
38 else
diff --git a/meta/recipes-devtools/libtool/libtool/fix-final-rpath.patch b/meta/recipes-devtools/libtool/libtool/fix-final-rpath.patch
new file mode 100644
index 0000000000..402e2c6b51
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool/fix-final-rpath.patch
@@ -0,0 +1,36 @@
1Enalbing sysroot support exposed a bug where the final library
2had an RPATH encoded into it which still pointed to the sysroot.
3This works around the issue until it gets sorted out upstream.
4
5Fix suggested by Richard Purdie <richard.purdie@intel.com>
6Signed-off-by: Scott Garman <scott.a.garman@intel.com>
7
8Index: libtool-2.4/libltdl/config/ltmain.m4sh
9===================================================================
10--- libtool-2.4.orig/libltdl/config/ltmain.m4sh 2011-01-13 14:10:14.580025108 +0000
11+++ libtool-2.4/libltdl/config/ltmain.m4sh 2011-01-13 15:10:18.540025113 +0000
12@@ -7246,9 +7246,11 @@
13 test "$opt_mode" != relink && rpath="$compile_rpath$rpath"
14 for libdir in $rpath; do
15 if test -n "$hardcode_libdir_flag_spec"; then
16+ func_replace_sysroot "$libdir"
17+ libdir=$func_replace_sysroot_result
18+ func_stripname '=' '' "$libdir"
19+ libdir=$func_stripname_result
20 if test -n "$hardcode_libdir_separator"; then
21- func_replace_sysroot "$libdir"
22- libdir=$func_replace_sysroot_result
23 if test -z "$hardcode_libdirs"; then
24 hardcode_libdirs="$libdir"
25 else
26@@ -7981,6 +7983,10 @@
27 hardcode_libdirs=
28 for libdir in $compile_rpath $finalize_rpath; do
29 if test -n "$hardcode_libdir_flag_spec"; then
30+ func_replace_sysroot "$libdir"
31+ libdir=$func_replace_sysroot_result
32+ func_stripname '=' '' "$libdir"
33+ libdir=$func_stripname_result
34 if test -n "$hardcode_libdir_separator"; then
35 if test -z "$hardcode_libdirs"; then
36 hardcode_libdirs="$libdir"
diff --git a/meta/recipes-devtools/libtool/libtool/rename-with-sysroot.patch b/meta/recipes-devtools/libtool/libtool/rename-with-sysroot.patch
new file mode 100644
index 0000000000..8455d950df
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool/rename-with-sysroot.patch
@@ -0,0 +1,824 @@
1This patch renames the --with-sysroot option to --with-libtool-sysroot
2to avoid namespace conflict with binutils, gcc and other toolchain
3components.
4
5I also reported the problem to libtool here
6
7http://lists.gnu.org/archive/html/libtool/2010-10/msg00048.html
8
9-Khem Raj <raj.khem@gmail.com>
10
11Index: libtool-2.4/configure
12===================================================================
13--- libtool-2.4.orig/configure
14+++ libtool-2.4/configure
15@@ -786,7 +786,7 @@ enable_static
16 with_pic
17 enable_fast_install
18 with_gnu_ld
19-with_sysroot
20+with_libtool_sysroot
21 enable_libtool_lock
22 with_gnu_ld
23 '
24@@ -1451,7 +1451,7 @@ Optional Packages:
25 --with-pic try to use only PIC/non-PIC objects [default=use
26 both]
27 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
28- --with-sysroot=DIR Search for dependent libraries within DIR
29+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
30 (or the compiler's sysroot if not specified).
31
32 Some influential environment variables:
33@@ -6798,29 +6798,29 @@ fi
34 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
35 $as_echo_n "checking for sysroot... " >&6; }
36
37-# Check whether --with-sysroot was given.
38-if test "${with_sysroot+set}" = set; then :
39- withval=$with_sysroot;
40+# Check whether --with-libtool-sysroot was given.
41+if test "${with_libtool_sysroot+set}" = set; then :
42+ withval=$with_libtool_sysroot;
43 else
44- with_sysroot=no
45+ with_libtool_sysroot=no
46 fi
47
48
49 lt_sysroot=
50-case ${with_sysroot} in #(
51+case ${with_libtool_sysroot} in #(
52 yes)
53 if test "$GCC" = yes; then
54 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
55 fi
56 ;; #(
57 /*)
58- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
59+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
60 ;; #(
61 no|'')
62 ;; #(
63 *)
64- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
65-$as_echo "${with_sysroot}" >&6; }
66+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
67+$as_echo "${with_libtool_sysroot}" >&6; }
68 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
69 ;;
70 esac
71Index: libtool-2.4/libltdl/configure
72===================================================================
73--- libtool-2.4.orig/libltdl/configure
74+++ libtool-2.4/libltdl/configure
75@@ -739,7 +739,7 @@ with_pic
76 enable_fast_install
77 enable_dependency_tracking
78 with_gnu_ld
79-with_sysroot
80+with_libtool_sysroot
81 enable_libtool_lock
82 enable_ltdl_install
83 '
84@@ -1388,7 +1388,7 @@ Optional Packages:
85 --with-pic try to use only PIC/non-PIC objects [default=use
86 both]
87 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
88- --with-sysroot=DIR Search for dependent libraries within DIR
89+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
90 (or the compiler's sysroot if not specified).
91
92 Some influential environment variables:
93@@ -6004,29 +6004,29 @@ fi
94 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
95 $as_echo_n "checking for sysroot... " >&6; }
96
97-# Check whether --with-sysroot was given.
98-if test "${with_sysroot+set}" = set; then :
99- withval=$with_sysroot;
100+# Check whether --with-libtool-sysroot was given.
101+if test "${with_libtool_sysroot+set}" = set; then :
102+ withval=$with_libtool_sysroot;
103 else
104- with_sysroot=no
105+ with_libtool_sysroot=no
106 fi
107
108
109 lt_sysroot=
110-case ${with_sysroot} in #(
111+case ${with_libtool_sysroot} in #(
112 yes)
113 if test "$GCC" = yes; then
114 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
115 fi
116 ;; #(
117 /*)
118- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
119+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
120 ;; #(
121 no|'')
122 ;; #(
123 *)
124- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
125-$as_echo "${with_sysroot}" >&6; }
126+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
127+$as_echo "${with_libtool_sysroot}" >&6; }
128 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
129 ;;
130 esac
131Index: libtool-2.4/libltdl/m4/libtool.m4
132===================================================================
133--- libtool-2.4.orig/libltdl/m4/libtool.m4
134+++ libtool-2.4/libltdl/m4/libtool.m4
135@@ -1180,27 +1180,27 @@ _LT_DECL([], [ECHO], [1], [An echo progr
136 # ----------------
137 AC_DEFUN([_LT_WITH_SYSROOT],
138 [AC_MSG_CHECKING([for sysroot])
139-AC_ARG_WITH([sysroot],
140-[ --with-sysroot[=DIR] Search for dependent libraries within DIR
141+AC_ARG_WITH([libtool-sysroot],
142+[ --with-libtool-sysroot[=DIR] Search for dependent libraries within DIR
143 (or the compiler's sysroot if not specified).],
144-[], [with_sysroot=no])
145+[], [with_libtool_sysroot=no])
146
147 dnl lt_sysroot will always be passed unquoted. We quote it here
148 dnl in case the user passed a directory name.
149 lt_sysroot=
150-case ${with_sysroot} in #(
151+case ${with_libtool_sysroot} in #(
152 yes)
153 if test "$GCC" = yes; then
154 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
155 fi
156 ;; #(
157 /*)
158- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
159+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
160 ;; #(
161 no|'')
162 ;; #(
163 *)
164- AC_MSG_RESULT([${with_sysroot}])
165+ AC_MSG_RESULT([${with_libtool_sysroot}])
166 AC_MSG_ERROR([The sysroot must be an absolute path.])
167 ;;
168 esac
169Index: libtool-2.4/tests/cdemo/configure
170===================================================================
171--- libtool-2.4.orig/tests/cdemo/configure
172+++ libtool-2.4/tests/cdemo/configure
173@@ -726,7 +726,7 @@ enable_static
174 with_pic
175 enable_fast_install
176 with_gnu_ld
177-with_sysroot
178+with_libtool_sysroot
179 enable_libtool_lock
180 '
181 ac_precious_vars='build_alias
182@@ -1373,7 +1373,7 @@ Optional Packages:
183 --with-pic try to use only PIC/non-PIC objects [default=use
184 both]
185 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
186- --with-sysroot=DIR Search for dependent libraries within DIR
187+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
188 (or the compiler's sysroot if not specified).
189
190 Some influential environment variables:
191@@ -5884,29 +5884,29 @@ fi
192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
193 $as_echo_n "checking for sysroot... " >&6; }
194
195-# Check whether --with-sysroot was given.
196-if test "${with_sysroot+set}" = set; then :
197- withval=$with_sysroot;
198+# Check whether --with-libtool-sysroot was given.
199+if test "${with_libtool_sysroot+set}" = set; then :
200+ withval=$with_libtool_sysroot;
201 else
202- with_sysroot=no
203+ with_libtool_sysroot=no
204 fi
205
206
207 lt_sysroot=
208-case ${with_sysroot} in #(
209+case ${with_libtool_sysroot} in #(
210 yes)
211 if test "$GCC" = yes; then
212 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
213 fi
214 ;; #(
215 /*)
216- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
217+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
218 ;; #(
219 no|'')
220 ;; #(
221 *)
222- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
223-$as_echo "${with_sysroot}" >&6; }
224+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
225+$as_echo "${with_libtool_sysroot}" >&6; }
226 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
227 ;;
228 esac
229Index: libtool-2.4/tests/demo/configure
230===================================================================
231--- libtool-2.4.orig/tests/demo/configure
232+++ libtool-2.4/tests/demo/configure
233@@ -730,7 +730,7 @@ enable_static
234 with_pic
235 enable_fast_install
236 with_gnu_ld
237-with_sysroot
238+with_libtool_sysroot
239 enable_libtool_lock
240 '
241 ac_precious_vars='build_alias
242@@ -1377,7 +1377,7 @@ Optional Packages:
243 --with-pic try to use only PIC/non-PIC objects [default=use
244 both]
245 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
246- --with-sysroot=DIR Search for dependent libraries within DIR
247+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
248 (or the compiler's sysroot if not specified).
249
250 Some influential environment variables:
251@@ -5882,29 +5882,29 @@ fi
252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
253 $as_echo_n "checking for sysroot... " >&6; }
254
255-# Check whether --with-sysroot was given.
256-if test "${with_sysroot+set}" = set; then :
257- withval=$with_sysroot;
258+# Check whether --with-libtool-sysroot was given.
259+if test "${with_libtool_sysroot+set}" = set; then :
260+ withval=$with_libtool_sysroot;
261 else
262- with_sysroot=no
263+ with_libtool_sysroot=no
264 fi
265
266
267 lt_sysroot=
268-case ${with_sysroot} in #(
269+case ${with_libtool_sysroot} in #(
270 yes)
271 if test "$GCC" = yes; then
272 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
273 fi
274 ;; #(
275 /*)
276- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
277+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
278 ;; #(
279 no|'')
280 ;; #(
281 *)
282- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
283-$as_echo "${with_sysroot}" >&6; }
284+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
285+$as_echo "${with_libtool_sysroot}" >&6; }
286 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
287 ;;
288 esac
289Index: libtool-2.4/tests/depdemo/configure
290===================================================================
291--- libtool-2.4.orig/tests/depdemo/configure
292+++ libtool-2.4/tests/depdemo/configure
293@@ -728,7 +728,7 @@ enable_static
294 with_pic
295 enable_fast_install
296 with_gnu_ld
297-with_sysroot
298+with_libtool_sysroot
299 enable_libtool_lock
300 '
301 ac_precious_vars='build_alias
302@@ -1375,7 +1375,7 @@ Optional Packages:
303 --with-pic try to use only PIC/non-PIC objects [default=use
304 both]
305 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
306- --with-sysroot=DIR Search for dependent libraries within DIR
307+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
308 (or the compiler's sysroot if not specified).
309
310 Some influential environment variables:
311@@ -5879,29 +5879,29 @@ fi
312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
313 $as_echo_n "checking for sysroot... " >&6; }
314
315-# Check whether --with-sysroot was given.
316-if test "${with_sysroot+set}" = set; then :
317- withval=$with_sysroot;
318+# Check whether --with-libtool-sysroot was given.
319+if test "${with_libtool_sysroot+set}" = set; then :
320+ withval=$with_libtool_sysroot;
321 else
322- with_sysroot=no
323+ with_libtool_sysroot=no
324 fi
325
326
327 lt_sysroot=
328-case ${with_sysroot} in #(
329+case ${with_libtool_sysroot} in #(
330 yes)
331 if test "$GCC" = yes; then
332 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
333 fi
334 ;; #(
335 /*)
336- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
337+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
338 ;; #(
339 no|'')
340 ;; #(
341 *)
342- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
343-$as_echo "${with_sysroot}" >&6; }
344+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
345+$as_echo "${with_libtool_sysroot}" >&6; }
346 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
347 ;;
348 esac
349Index: libtool-2.4/tests/f77demo/configure
350===================================================================
351--- libtool-2.4.orig/tests/f77demo/configure
352+++ libtool-2.4/tests/f77demo/configure
353@@ -730,7 +730,7 @@ enable_static
354 with_pic
355 enable_fast_install
356 with_gnu_ld
357-with_sysroot
358+with_libtool_sysroot
359 enable_libtool_lock
360 '
361 ac_precious_vars='build_alias
362@@ -1382,7 +1382,7 @@ Optional Packages:
363 --with-pic try to use only PIC/non-PIC objects [default=use
364 both]
365 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
366- --with-sysroot=DIR Search for dependent libraries within DIR
367+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
368 (or the compiler's sysroot if not specified).
369
370 Some influential environment variables:
371@@ -6864,29 +6864,29 @@ fi
372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
373 $as_echo_n "checking for sysroot... " >&6; }
374
375-# Check whether --with-sysroot was given.
376-if test "${with_sysroot+set}" = set; then :
377- withval=$with_sysroot;
378+# Check whether --with-libtool-sysroot was given.
379+if test "${with_libtool_sysroot+set}" = set; then :
380+ withval=$with_libtool_sysroot;
381 else
382- with_sysroot=no
383+ with_libtool_sysroot=no
384 fi
385
386
387 lt_sysroot=
388-case ${with_sysroot} in #(
389+case ${with_libtool_sysroot} in #(
390 yes)
391 if test "$GCC" = yes; then
392 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
393 fi
394 ;; #(
395 /*)
396- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
397+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
398 ;; #(
399 no|'')
400 ;; #(
401 *)
402- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
403-$as_echo "${with_sysroot}" >&6; }
404+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
405+$as_echo "${with_libtool_sysroot}" >&6; }
406 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
407 ;;
408 esac
409Index: libtool-2.4/tests/fcdemo/configure
410===================================================================
411--- libtool-2.4.orig/tests/fcdemo/configure
412+++ libtool-2.4/tests/fcdemo/configure
413@@ -731,7 +731,7 @@ enable_static
414 with_pic
415 enable_fast_install
416 with_gnu_ld
417-with_sysroot
418+with_libtool_sysroot
419 enable_libtool_lock
420 '
421 ac_precious_vars='build_alias
422@@ -1383,7 +1383,7 @@ Optional Packages:
423 --with-pic try to use only PIC/non-PIC objects [default=use
424 both]
425 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
426- --with-sysroot=DIR Search for dependent libraries within DIR
427+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
428 (or the compiler's sysroot if not specified).
429
430 Some influential environment variables:
431@@ -6963,29 +6963,29 @@ fi
432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
433 $as_echo_n "checking for sysroot... " >&6; }
434
435-# Check whether --with-sysroot was given.
436-if test "${with_sysroot+set}" = set; then :
437- withval=$with_sysroot;
438+# Check whether --with-libtool-sysroot was given.
439+if test "${with_libtool_sysroot+set}" = set; then :
440+ withval=$with_libtool_sysroot;
441 else
442- with_sysroot=no
443+ with_libtool_sysroot=no
444 fi
445
446
447 lt_sysroot=
448-case ${with_sysroot} in #(
449+case ${with_libtool_sysroot} in #(
450 yes)
451 if test "$GCC" = yes; then
452 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
453 fi
454 ;; #(
455 /*)
456- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
457+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
458 ;; #(
459 no|'')
460 ;; #(
461 *)
462- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
463-$as_echo "${with_sysroot}" >&6; }
464+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
465+$as_echo "${with_libtool_sysroot}" >&6; }
466 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
467 ;;
468 esac
469Index: libtool-2.4/tests/mdemo/configure
470===================================================================
471--- libtool-2.4.orig/tests/mdemo/configure
472+++ libtool-2.4/tests/mdemo/configure
473@@ -734,7 +734,7 @@ enable_static
474 with_pic
475 enable_fast_install
476 with_gnu_ld
477-with_sysroot
478+with_libtool_sysroot
479 enable_libtool_lock
480 '
481 ac_precious_vars='build_alias
482@@ -1381,7 +1381,7 @@ Optional Packages:
483 --with-pic try to use only PIC/non-PIC objects [default=use
484 both]
485 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
486- --with-sysroot=DIR Search for dependent libraries within DIR
487+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
488 (or the compiler's sysroot if not specified).
489
490 Some influential environment variables:
491@@ -5911,29 +5911,29 @@ fi
492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
493 $as_echo_n "checking for sysroot... " >&6; }
494
495-# Check whether --with-sysroot was given.
496-if test "${with_sysroot+set}" = set; then :
497- withval=$with_sysroot;
498+# Check whether --with-libtool-sysroot was given.
499+if test "${with_libtool_sysroot+set}" = set; then :
500+ withval=$with_libtool_sysroot;
501 else
502- with_sysroot=no
503+ with_libtool_sysroot=no
504 fi
505
506
507 lt_sysroot=
508-case ${with_sysroot} in #(
509+case ${with_libtool_sysroot} in #(
510 yes)
511 if test "$GCC" = yes; then
512 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
513 fi
514 ;; #(
515 /*)
516- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
517+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
518 ;; #(
519 no|'')
520 ;; #(
521 *)
522- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
523-$as_echo "${with_sysroot}" >&6; }
524+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
525+$as_echo "${with_libtool_sysroot}" >&6; }
526 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
527 ;;
528 esac
529Index: libtool-2.4/tests/mdemo2/configure
530===================================================================
531--- libtool-2.4.orig/tests/mdemo2/configure
532+++ libtool-2.4/tests/mdemo2/configure
533@@ -726,7 +726,7 @@ enable_static
534 with_pic
535 enable_fast_install
536 with_gnu_ld
537-with_sysroot
538+with_libtool_sysroot
539 enable_libtool_lock
540 '
541 ac_precious_vars='build_alias
542@@ -1373,7 +1373,7 @@ Optional Packages:
543 --with-pic try to use only PIC/non-PIC objects [default=use
544 both]
545 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
546- --with-sysroot=DIR Search for dependent libraries within DIR
547+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
548 (or the compiler's sysroot if not specified).
549
550 Some influential environment variables:
551@@ -5884,29 +5884,29 @@ fi
552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
553 $as_echo_n "checking for sysroot... " >&6; }
554
555-# Check whether --with-sysroot was given.
556-if test "${with_sysroot+set}" = set; then :
557- withval=$with_sysroot;
558+# Check whether --with-libtool-sysroot was given.
559+if test "${with_libtool_sysroot+set}" = set; then :
560+ withval=$with_libtool_sysroot;
561 else
562- with_sysroot=no
563+ with_libtool_sysroot=no
564 fi
565
566
567 lt_sysroot=
568-case ${with_sysroot} in #(
569+case ${with_libtool_sysroot} in #(
570 yes)
571 if test "$GCC" = yes; then
572 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
573 fi
574 ;; #(
575 /*)
576- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
577+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
578 ;; #(
579 no|'')
580 ;; #(
581 *)
582- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
583-$as_echo "${with_sysroot}" >&6; }
584+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
585+$as_echo "${with_libtool_sysroot}" >&6; }
586 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
587 ;;
588 esac
589Index: libtool-2.4/tests/pdemo/configure
590===================================================================
591--- libtool-2.4.orig/tests/pdemo/configure
592+++ libtool-2.4/tests/pdemo/configure
593@@ -729,7 +729,7 @@ enable_static
594 with_pic
595 enable_fast_install
596 with_gnu_ld
597-with_sysroot
598+with_libtool_sysroot
599 enable_libtool_lock
600 '
601 ac_precious_vars='build_alias
602@@ -1376,7 +1376,7 @@ Optional Packages:
603 --with-pic try to use only PIC/non-PIC objects [default=use
604 both]
605 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
606- --with-sysroot=DIR Search for dependent libraries within DIR
607+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
608 (or the compiler's sysroot if not specified).
609
610 Some influential environment variables:
611@@ -5887,29 +5887,29 @@ fi
612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
613 $as_echo_n "checking for sysroot... " >&6; }
614
615-# Check whether --with-sysroot was given.
616-if test "${with_sysroot+set}" = set; then :
617- withval=$with_sysroot;
618+# Check whether --with-libtool-sysroot was given.
619+if test "${with_libtool_sysroot+set}" = set; then :
620+ withval=$with_libtool_sysroot;
621 else
622- with_sysroot=no
623+ with_libtool_sysroot=no
624 fi
625
626
627 lt_sysroot=
628-case ${with_sysroot} in #(
629+case ${with_libtool_sysroot} in #(
630 yes)
631 if test "$GCC" = yes; then
632 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
633 fi
634 ;; #(
635 /*)
636- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
637+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
638 ;; #(
639 no|'')
640 ;; #(
641 *)
642- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
643-$as_echo "${with_sysroot}" >&6; }
644+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
645+$as_echo "${with_libtool_sysroot}" >&6; }
646 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
647 ;;
648 esac
649Index: libtool-2.4/tests/sysroot.at
650===================================================================
651--- libtool-2.4.orig/tests/sysroot.at
652+++ libtool-2.4/tests/sysroot.at
653@@ -64,7 +64,7 @@ while read file; do
654 done])
655
656 LDFLAGS="$LDFLAGS --sysroot=$sysroot -no-undefined"
657-configure_options="$configure_options --with-sysroot=$sysroot --prefix=$prefix"
658+configure_options="$configure_options --with-libtool-sysroot=$sysroot --prefix=$prefix"
659
660 #???
661 if test "$shlibpath_var" = PATH; then
662@@ -114,7 +114,7 @@ AM_INIT_AUTOMAKE([foreign])
663 AC_PROG_CC
664 AC_CONFIG_SRCDIR([lib2.c])
665 LT_INIT
666-sysroot=$with_sysroot
667+sysroot=$with_libtool_sysroot
668 AC_SUBST([sysroot])
669 AC_OUTPUT(Makefile)
670 ]])
671@@ -155,7 +155,7 @@ AM_INIT_AUTOMAKE([foreign])
672 AC_PROG_CC
673 AC_CONFIG_SRCDIR([prog.c])
674 LT_INIT
675-sysroot=$with_sysroot
676+sysroot=$with_libtool_sysroot
677 AC_SUBST([sysroot])
678 AC_OUTPUT(Makefile)
679 ]])
680Index: libtool-2.4/tests/tagdemo/configure
681===================================================================
682--- libtool-2.4.orig/tests/tagdemo/configure
683+++ libtool-2.4/tests/tagdemo/configure
684@@ -736,7 +736,7 @@ enable_static
685 with_pic
686 enable_fast_install
687 with_gnu_ld
688-with_sysroot
689+with_libtool_sysroot
690 enable_libtool_lock
691 with_gnu_ld
692 '
693@@ -1392,7 +1392,7 @@ Optional Packages:
694 --with-pic try to use only PIC/non-PIC objects [default=use
695 both]
696 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
697- --with-sysroot=DIR Search for dependent libraries within DIR
698+ --with-libtool-sysroot=DIR Search for dependent libraries within DIR
699 (or the compiler's sysroot if not specified).
700
701 Some influential environment variables:
702@@ -6907,29 +6907,29 @@ fi
703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
704 $as_echo_n "checking for sysroot... " >&6; }
705
706-# Check whether --with-sysroot was given.
707-if test "${with_sysroot+set}" = set; then :
708- withval=$with_sysroot;
709+# Check whether --with-libtool-sysroot was given.
710+if test "${with_libtool_sysroot+set}" = set; then :
711+ withval=$with_libtool_sysroot;
712 else
713- with_sysroot=no
714+ with_libtool_sysroot=no
715 fi
716
717
718 lt_sysroot=
719-case ${with_sysroot} in #(
720+case ${with_libtool_sysroot} in #(
721 yes)
722 if test "$GCC" = yes; then
723 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
724 fi
725 ;; #(
726 /*)
727- lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
728+ lt_sysroot=`echo "$with_libtool_sysroot" | sed -e "$sed_quote_subst"`
729 ;; #(
730 no|'')
731 ;; #(
732 *)
733- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
734-$as_echo "${with_sysroot}" >&6; }
735+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_libtool_sysroot}" >&5
736+$as_echo "${with_libtool_sysroot}" >&6; }
737 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
738 ;;
739 esac
740Index: libtool-2.4/tests/testsuite
741===================================================================
742--- libtool-2.4.orig/tests/testsuite
743+++ libtool-2.4/tests/testsuite
744@@ -25277,7 +25277,7 @@ $at_traceon; }
745
746
747 LDFLAGS="$LDFLAGS --sysroot=$sysroot -no-undefined"
748-configure_options="$configure_options --with-sysroot=$sysroot --prefix=$prefix"
749+configure_options="$configure_options --with-libtool-sysroot=$sysroot --prefix=$prefix"
750
751 #???
752 if test "$shlibpath_var" = PATH; then
753@@ -25475,7 +25475,7 @@ AM_INIT_AUTOMAKE([foreign])
754 AC_PROG_CC
755 AC_CONFIG_SRCDIR([lib2.c])
756 LT_INIT
757-sysroot=$with_sysroot
758+sysroot=$with_libtool_sysroot
759 AC_SUBST([sysroot])
760 AC_OUTPUT(Makefile)
761 _ATEOF
762@@ -25652,7 +25652,7 @@ AM_INIT_AUTOMAKE([foreign])
763 AC_PROG_CC
764 AC_CONFIG_SRCDIR([prog.c])
765 LT_INIT
766-sysroot=$with_sysroot
767+sysroot=$with_libtool_sysroot
768 AC_SUBST([sysroot])
769 AC_OUTPUT(Makefile)
770 _ATEOF
771@@ -25993,7 +25993,7 @@ $at_traceon; }
772
773
774 LDFLAGS="$LDFLAGS --sysroot=$sysroot -no-undefined"
775-configure_options="$configure_options --with-sysroot=$sysroot --prefix=$prefix"
776+configure_options="$configure_options --with-libtool-sysroot=$sysroot --prefix=$prefix"
777
778 #???
779 if test "$shlibpath_var" = PATH; then
780@@ -26191,7 +26191,7 @@ AM_INIT_AUTOMAKE([foreign])
781 AC_PROG_CC
782 AC_CONFIG_SRCDIR([lib2.c])
783 LT_INIT
784-sysroot=$with_sysroot
785+sysroot=$with_libtool_sysroot
786 AC_SUBST([sysroot])
787 AC_OUTPUT(Makefile)
788 _ATEOF
789@@ -26368,7 +26368,7 @@ AM_INIT_AUTOMAKE([foreign])
790 AC_PROG_CC
791 AC_CONFIG_SRCDIR([prog.c])
792 LT_INIT
793-sysroot=$with_sysroot
794+sysroot=$with_libtool_sysroot
795 AC_SUBST([sysroot])
796 AC_OUTPUT(Makefile)
797 _ATEOF
798@@ -26709,7 +26709,7 @@ $at_traceon; }
799
800
801 LDFLAGS="$LDFLAGS --sysroot=$sysroot -no-undefined"
802-configure_options="$configure_options --with-sysroot=$sysroot --prefix=$prefix"
803+configure_options="$configure_options --with-libtool-sysroot=$sysroot --prefix=$prefix"
804
805 #???
806 if test "$shlibpath_var" = PATH; then
807@@ -26907,7 +26907,7 @@ AM_INIT_AUTOMAKE([foreign])
808 AC_PROG_CC
809 AC_CONFIG_SRCDIR([lib2.c])
810 LT_INIT
811-sysroot=$with_sysroot
812+sysroot=$with_libtool_sysroot
813 AC_SUBST([sysroot])
814 AC_OUTPUT(Makefile)
815 _ATEOF
816@@ -27084,7 +27084,7 @@ AM_INIT_AUTOMAKE([foreign])
817 AC_PROG_CC
818 AC_CONFIG_SRCDIR([prog.c])
819 LT_INIT
820-sysroot=$with_sysroot
821+sysroot=$with_libtool_sysroot
822 AC_SUBST([sysroot])
823 AC_OUTPUT(Makefile)
824 _ATEOF
diff --git a/meta/recipes-devtools/libtool/libtool/resolve-sysroot.patch b/meta/recipes-devtools/libtool/libtool/resolve-sysroot.patch
new file mode 100644
index 0000000000..54f7f5b736
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool/resolve-sysroot.patch
@@ -0,0 +1,40 @@
1Sometimes .las have =/a/b/c.la in dependency_libs. This should be
2resolved to sysroot.
3
4-Khem Raj <raj.khem@gmail.com>
5
6Index: libtool-2.4/libltdl/config/ltmain.m4sh
7===================================================================
8--- libtool-2.4.orig/libltdl/config/ltmain.m4sh
9+++ libtool-2.4/libltdl/config/ltmain.m4sh
10@@ -8479,7 +8479,8 @@ EOF
11 *.la)
12 func_basename "$deplib"
13 name="$func_basename_result"
14- eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
15+ func_resolve_sysroot "$deplib"
16+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
17 test -z "$libdir" && \
18 func_fatal_error "\`$deplib' is not a valid libtool archive"
19 func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
20@@ -8505,7 +8506,9 @@ EOF
21 *.la)
22 func_basename "$lib"
23 name="$func_basename_result"
24- eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
25+ func_resolve_sysroot "$lib"
26+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
27+
28 test -z "$libdir" && \
29 func_fatal_error "\`$lib' is not a valid libtool archive"
30 func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
31@@ -8524,7 +8527,8 @@ EOF
32 # the library:
33 func_basename "$lib"
34 name="$func_basename_result"
35- eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
36+ func_resolve_sysroot "$lib"
37+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
38 test -z "$libdir" && \
39 func_fatal_error "\`$lib' is not a valid libtool archive"
40 func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
diff --git a/meta/recipes-devtools/libtool/libtool/use-sysroot-in-libpath.patch b/meta/recipes-devtools/libtool/libtool/use-sysroot-in-libpath.patch
new file mode 100644
index 0000000000..4d9e90c144
--- /dev/null
+++ b/meta/recipes-devtools/libtool/libtool/use-sysroot-in-libpath.patch
@@ -0,0 +1,20 @@
1When using sysroot we should append it to libdir, which is helpful in
2cross builds as the system is staged in the sysroot. For normal builds,
3i.e. when lt_sysroot is not set, it will still behave the same and add
4-L/usr/lib to the relink command.
5
6-Khem Raj <raj.khem@gmail.com>
7
8Index: libtool-2.4/libltdl/config/ltmain.m4sh
9===================================================================
10--- libtool-2.4.orig/libltdl/config/ltmain.m4sh
11+++ libtool-2.4/libltdl/config/ltmain.m4sh
12@@ -6122,7 +6122,7 @@ func_mode_link ()
13 fi
14 else
15 # We cannot seem to hardcode it, guess we'll fake it.
16- add_dir="-L$libdir"
17+ add_dir="-L$lt_sysroot$libdir"
18 # Try looking first in the location we're being installed to.
19 if test -n "$inst_prefix_dir"; then
20 case $libdir in
diff --git a/meta/recipes-devtools/libtool/libtool_2.4.bb b/meta/recipes-devtools/libtool/libtool_2.4.bb
index b5ec33e840..a820bed0dd 100644
--- a/meta/recipes-devtools/libtool/libtool_2.4.bb
+++ b/meta/recipes-devtools/libtool/libtool_2.4.bb
@@ -1,23 +1,6 @@
1require libtool.inc 1require libtool-${PV}.inc
2DEPENDS = "libtool-native"
3 2
4PR = "r0" 3PR = "r1"
5
6PACKAGES =+ "libltdl libltdl-dev libltdl-dbg"
7FILES_${PN} += "${datadir}/aclocal*"
8FILES_libltdl = "${libdir}/libltdl.so.*"
9FILES_libltdl-dev = "${libdir}/libltdl.* ${includedir}/ltdl.h"
10FILES_libltdl-dbg = "${libdir}/.debug/"
11
12inherit autotools
13
14EXTRA_AUTORECONF = "--exclude=libtoolize"
15
16do_compile_prepend () {
17 # Sometimes this file doesn't get rebuilt, force the issue
18 rm -f ${S}/libltdl/config/ltmain.sh
19 make libltdl/config/ltmain.sh
20}
21 4
22# 5#
23# We want the results of libtool-cross preserved - don't stage anything ourselves. 6# We want the results of libtool-cross preserved - don't stage anything ourselves.
@@ -25,12 +8,8 @@ do_compile_prepend () {
25SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess" 8SYSROOT_PREPROCESS_FUNCS += "libtool_sysroot_preprocess"
26 9
27libtool_sysroot_preprocess () { 10libtool_sysroot_preprocess () {
28 if [ "${PN}" == "libtool" ]; then 11 rm -rf ${SYSROOT_DESTDIR}${bindir}/*
29 rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${bindir}/* 12 rm -rf ${SYSROOT_DESTDIR}${datadir}/aclocal/*
30 rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/aclocal/* 13 rm -rf ${SYSROOT_DESTDIR}${datadir}/libtool/config/*
31 rm -rf ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/libtool/config/*
32 fi
33} 14}
34 15
35SRC_URI[md5sum] = "b32b04148ecdd7344abc6fe8bd1bb021"
36SRC_URI[sha256sum] = "13df57ab63a94e196c5d6e95d64e53262834fe780d5e82c28f177f9f71ddf62e"
diff --git a/meta/recipes-devtools/mklibs/files/ac_init_fix.patch b/meta/recipes-devtools/mklibs/files/ac_init_fix.patch
new file mode 100644
index 0000000000..7325931537
--- /dev/null
+++ b/meta/recipes-devtools/mklibs/files/ac_init_fix.patch
@@ -0,0 +1,17 @@
1Get the version of mklibs by simpler means. The MKLIBS_VERSION string in the
2configure.ac file is replaced with real version string by the
3do_configure_prepend() function from the recipe .bb file.
4
5Nitin A Kamble <nitin.a.kamble@intel.com>
6Date: 2011/01/24
7
8Index: mklibs/configure.ac
9===================================================================
10--- mklibs.orig/configure.ac 2010-02-21 17:34:56.000000000 -0800
11+++ mklibs/configure.ac 2011-01-24 18:52:19.943242079 -0800
12@@ -1,4 +1,4 @@
13-AC_INIT([mklibs],m4_esyscmd(dpkg-parsechangelog | perl -ne 'print $1 if m/^Version: (.*)$/;'))
14+AC_INIT([mklibs], MKLIBS_VERSION)
15 AM_INIT_AUTOMAKE([foreign no-define])
16 AC_CONFIG_HEADERS([config.h])
17 AM_MAINTAINER_MODE
diff --git a/meta/recipes-devtools/mklibs/mklibs-native_0.1.31.bb b/meta/recipes-devtools/mklibs/mklibs-native_0.1.31.bb
new file mode 100644
index 0000000000..2044d125ef
--- /dev/null
+++ b/meta/recipes-devtools/mklibs/mklibs-native_0.1.31.bb
@@ -0,0 +1,23 @@
1DESCRIPTION = "mklibs produces cut-down shared libraries that contain only the routines required by a particular set of executables."
2HOMEPAGE = "https://code.launchpad.net/mklibs"
3SECTION = "devel"
4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://debian/copyright;md5=98d31037b13d896e33890738ef01af64"
6DEPENDS = "python-native"
7
8PR = "r0"
9
10SRC_URI = "http://ftp.de.debian.org/debian/pool/main/m/mklibs/${BPN}_${PV}.tar.gz \
11 file://ac_init_fix.patch\
12"
13
14SRC_URI[md5sum] = "f4df0307ccbdf60070e42277513f27ed"
15SRC_URI[sha256sum] = "8f5595621eb09d52871c771861e81b032d10c31d15e5dd61fa7f5a9e5b7de405"
16
17S = "${WORKDIR}/${BPN}"
18
19inherit autotools gettext native
20
21do_configure_prepend() {
22 sed "s+MKLIBS_VERSION+${PV}+" ${S}/configure.ac
23}
diff --git a/meta/recipes-devtools/mtd/mtd-utils_1.4.1.bb b/meta/recipes-devtools/mtd/mtd-utils_1.4.1.bb
index 8189bffae3..5e6db0ed58 100644
--- a/meta/recipes-devtools/mtd/mtd-utils_1.4.1.bb
+++ b/meta/recipes-devtools/mtd/mtd-utils_1.4.1.bb
@@ -11,7 +11,7 @@ SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=v${PV} \
11 11
12S = "${WORKDIR}/git/" 12S = "${WORKDIR}/git/"
13 13
14PR = "r0" 14PR = "r1"
15 15
16EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'" 16EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'"
17 17
diff --git a/meta/recipes-devtools/openjade/openjade-1.3.2/autoconf.patch b/meta/recipes-devtools/openjade/openjade-1.3.2/autoconf.patch
new file mode 100644
index 0000000000..fe8df5bb4a
--- /dev/null
+++ b/meta/recipes-devtools/openjade/openjade-1.3.2/autoconf.patch
@@ -0,0 +1,173 @@
1Patch obtained from OpenEmbedded.
2
3Signed-off-by: Scott Garman <scott.a.garman@intel.com>
4-- config/acinclude.m4
5+++ config/acinclude.m4 2002/04/08 23:13:37
6@@ -0,0 +1,61 @@
7+dnl Configure-time switch with default
8+dnl
9+dnl Each switch defines an --enable-FOO and --disable-FOO option in
10+dnl the resulting configure script.
11+dnl
12+dnl Usage:
13+dnl SMR_SWITCH(name, description, default, pos-def, neg-def)
14+dnl
15+dnl where:
16+dnl
17+dnl name name of switch; generates --enable-name & --disable-name
18+dnl options
19+dnl description help string is set to this prefixed by "enable" or
20+dnl "disable", whichever is the non-default value
21+dnl default either "on" or "off"; specifies default if neither
22+dnl --enable-name nor --disable-name is specified
23+dnl pos-def a symbol to AC_DEFINE if switch is on (optional)
24+dnl neg-def a symbol to AC_DEFINE if switch is off (optional)
25+dnl
26+AC_DEFUN(SMR_SWITCH, [
27+ AC_MSG_CHECKING(whether to enable $2)
28+ AC_ARG_ENABLE(
29+ $1,
30+ ifelse($3, on,
31+ [ --disable-[$1] disable [$2]],
32+ [ --enable-[$1] enable [$2]]),
33+ [ if test "$enableval" = yes; then
34+ AC_MSG_RESULT(yes)
35+ ifelse($4, , , AC_DEFINE($4))
36+ else
37+ AC_MSG_RESULT(no)
38+ ifelse($5, , , AC_DEFINE($5))
39+ fi ],
40+ ifelse($3, on,
41+ [ AC_MSG_RESULT(yes)
42+ ifelse($4, , , AC_DEFINE($4)) ],
43+ [ AC_MSG_RESULT(no)
44+ ifelse($5, , , AC_DEFINE($5))]))])
45+
46+dnl
47+dnl Examine size_t and define SIZE_T_IS_UINT, if size_t is an unsigned int
48+dnl
49+AC_DEFUN(OJ_SIZE_T_IS_UINT,[
50+ AC_REQUIRE([AC_TYPE_SIZE_T])
51+ AC_MSG_CHECKING(whether size_t is unsigned int)
52+ ac_cv_size_t_is_uint=no
53+ AC_LANG_SAVE
54+ AC_LANG_CPLUSPLUS
55+ AC_TRY_COMPILE([#include <unistd.h>
56+
57+ template<class T> class foo { };
58+
59+ ], [
60+ foo<size_t> x;
61+ foo<unsigned int> y;
62+ x = y;
63+ ],ac_cv_size_t_is_uint=yes)
64+ AC_LANG_RESTORE
65+ AC_MSG_RESULT($ac_cv_size_t_is_uint)
66+ test "$ac_cv_size_t_is_uint" = "yes" && AC_DEFINE(SIZE_T_IS_UINT)
67+])
68Index: openjade-1.3.2/config/acinclude.m4
69===================================================================
70--- openjade-1.3.2.orig/config/acinclude.m4
71+++ openjade-1.3.2/config/acinclude.m4
72@@ -1,3 +1,64 @@
73+dnl Configure-time switch with default
74+dnl
75+dnl Each switch defines an --enable-FOO and --disable-FOO option in
76+dnl the resulting configure script.
77+dnl
78+dnl Usage:
79+dnl SMR_SWITCH(name, description, default, pos-def, neg-def)
80+dnl
81+dnl where:
82+dnl
83+dnl name name of switch; generates --enable-name & --disable-name
84+dnl options
85+dnl description help string is set to this prefixed by "enable" or
86+dnl "disable", whichever is the non-default value
87+dnl default either "on" or "off"; specifies default if neither
88+dnl --enable-name nor --disable-name is specified
89+dnl pos-def a symbol to AC_DEFINE if switch is on (optional)
90+dnl neg-def a symbol to AC_DEFINE if switch is off (optional)
91+dnl
92+AC_DEFUN(SMR_SWITCH, [
93+ AC_MSG_CHECKING(whether to enable $2)
94+ AC_ARG_ENABLE(
95+ $1,
96+ ifelse($3, on,
97+ [ --disable-[$1] disable [$2]],
98+ [ --enable-[$1] enable [$2]]),
99+ [ if test "$enableval" = yes; then
100+ AC_MSG_RESULT(yes)
101+ ifelse($4, , , AC_DEFINE($4))
102+ else
103+ AC_MSG_RESULT(no)
104+ ifelse($5, , , AC_DEFINE($5))
105+ fi ],
106+ ifelse($3, on,
107+ [ AC_MSG_RESULT(yes)
108+ ifelse($4, , , AC_DEFINE($4)) ],
109+ [ AC_MSG_RESULT(no)
110+ ifelse($5, , , AC_DEFINE($5))]))])
111+
112+dnl
113+dnl Examine size_t and define SIZE_T_IS_UINT, if size_t is an unsigned int
114+dnl
115+AC_DEFUN(OJ_SIZE_T_IS_UINT,[
116+ AC_REQUIRE([AC_TYPE_SIZE_T])
117+ AC_MSG_CHECKING(whether size_t is unsigned int)
118+ ac_cv_size_t_is_uint=no
119+ AC_LANG_SAVE
120+ AC_LANG_CPLUSPLUS
121+ AC_TRY_COMPILE([#include <unistd.h>
122+
123+ template<class T> class foo { };
124+
125+ ], [
126+ foo<size_t> x;
127+ foo<unsigned int> y;
128+ x = y;
129+ ],ac_cv_size_t_is_uint=yes)
130+ AC_LANG_RESTORE
131+ AC_MSG_RESULT($ac_cv_size_t_is_uint)
132+ test "$ac_cv_size_t_is_uint" = "yes" && AC_DEFINE(SIZE_T_IS_UINT)
133+])
134 dnl
135 dnl Examine size_t and define SIZE_T_IS_UINT, if size_t is an unsigned int
136 dnl
137Index: openjade-1.3.2/config/aclocal.m4
138===================================================================
139--- openjade-1.3.2.orig/config/aclocal.m4
140+++ openjade-1.3.2/config/aclocal.m4
141@@ -3352,7 +3352,7 @@ dnl Each switch defines an --enable-FOO
142 dnl the resulting configure script.
143 dnl
144 dnl Usage:
145-dnl smr_SWITCH(name, description, default, pos-def, neg-def)
146+dnl SMR_SWITCH(name, description, default, pos-def, neg-def)
147 dnl
148 dnl where:
149 dnl
150@@ -3365,7 +3365,7 @@ dnl --enable-name nor --disa
151 dnl pos-def a symbol to AC_DEFINE if switch is on (optional)
152 dnl neg-def a symbol to AC_DEFINE if switch is off (optional)
153 dnl
154-AC_DEFUN(smr_SWITCH, [
155+AC_DEFUN(SMR_SWITCH, [
156 AC_MSG_CHECKING(whether to enable $2)
157 AC_ARG_ENABLE(
158 $1,
159Index: openjade-1.3.2/config/configure.in
160===================================================================
161--- openjade-1.3.2.orig/config/configure.in
162+++ openjade-1.3.2/config/configure.in
163@@ -243,8 +243,8 @@ AC_ARG_ENABLE(http,
164 dnl
165 dnl optional backends
166 dnl
167-smr_SWITCH(mif, support for FrameMaker MIF output, on, JADE_MIF, DUMMY)
168-smr_SWITCH(html, support for HTML+CSS output, on, JADE_HTML, DUMMY)
169+SMR_SWITCH(mif, support for FrameMaker MIF output, on, JADE_MIF, DUMMY)
170+SMR_SWITCH(html, support for HTML+CSS output, on, JADE_HTML, DUMMY)
171
172
173 dnl
diff --git a/meta/recipes-devtools/openjade/openjade-1.3.2/configure.patch b/meta/recipes-devtools/openjade/openjade-1.3.2/configure.patch
new file mode 100644
index 0000000000..2dcaa4d9e6
--- /dev/null
+++ b/meta/recipes-devtools/openjade/openjade-1.3.2/configure.patch
@@ -0,0 +1,68 @@
1Patch obtained from OpenEmbedded.
2
3Signed-off-by: Scott Garman <scott.a.garman@intel.com>
4--- /dev/null 2003-09-23 18:19:32.000000000 -0400
5+++ openjade-1.3.2/config/acinclude.m4 2004-01-20 14:39:20.000000000 -0500
6@@ -0,0 +1,62 @@
7+dnl
8+dnl Examine size_t and define SIZE_T_IS_UINT, if size_t is an unsigned int
9+dnl
10+AC_DEFUN(OJ_SIZE_T_IS_UINT,[
11+ AC_REQUIRE([AC_TYPE_SIZE_T])
12+ AC_MSG_CHECKING(whether size_t is unsigned int)
13+ ac_cv_size_t_is_uint=no
14+ AC_LANG_SAVE
15+ AC_LANG_CPLUSPLUS
16+ AC_TRY_COMPILE([#include <unistd.h>
17+
18+ template<class T> class foo { };
19+
20+ ], [
21+ foo<size_t> x;
22+ foo<unsigned int> y;
23+ x = y;
24+ ],ac_cv_size_t_is_uint=yes)
25+ AC_LANG_RESTORE
26+ AC_MSG_RESULT($ac_cv_size_t_is_uint)
27+ test "$ac_cv_size_t_is_uint" = "yes" && AC_DEFINE(SIZE_T_IS_UINT)
28+])
29+
30+dnl Configure-time switch with default
31+dnl
32+dnl Each switch defines an --enable-FOO and --disable-FOO option in
33+dnl the resulting configure script.
34+dnl
35+dnl Usage:
36+dnl smr_SWITCH(name, description, default, pos-def, neg-def)
37+dnl
38+dnl where:
39+dnl
40+dnl name name of switch; generates --enable-name & --disable-name
41+dnl options
42+dnl description help string is set to this prefixed by "enable" or
43+dnl "disable", whichever is the non-default value
44+dnl default either "on" or "off"; specifies default if neither
45+dnl --enable-name nor --disable-name is specified
46+dnl pos-def a symbol to AC_DEFINE if switch is on (optional)
47+dnl neg-def a symbol to AC_DEFINE if switch is off (optional)
48+dnl
49+AC_DEFUN(smr_SWITCH, [
50+ AC_MSG_CHECKING(whether to enable $2)
51+ AC_ARG_ENABLE(
52+ $1,
53+ ifelse($3, on,
54+ [ --disable-[$1] disable [$2]],
55+ [ --enable-[$1] enable [$2]]),
56+ [ if test "$enableval" = yes; then
57+ AC_MSG_RESULT(yes)
58+ ifelse($4, , , AC_DEFINE($4))
59+ else
60+ AC_MSG_RESULT(no)
61+ ifelse($5, , , AC_DEFINE($5))
62+ fi ],
63+ ifelse($3, on,
64+ [ AC_MSG_RESULT(yes)
65+ ifelse($4, , , AC_DEFINE($4)) ],
66+ [ AC_MSG_RESULT(no)
67+ ifelse($5, , , AC_DEFINE($5))]))])
68+
diff --git a/meta/recipes-devtools/openjade/openjade-1.3.2/makefile.patch b/meta/recipes-devtools/openjade/openjade-1.3.2/makefile.patch
new file mode 100644
index 0000000000..ac5c7447f6
--- /dev/null
+++ b/meta/recipes-devtools/openjade/openjade-1.3.2/makefile.patch
@@ -0,0 +1,34 @@
1Patch obtained from OpenEmbedded.
2
3Signed-off-by: Scott Garman <scott.a.garman@intel.com>
4Index: openjade-1.3.2/spgrove/Makefile.sub
5===================================================================
6--- openjade-1.3.2.orig/spgrove/Makefile.sub
7+++ openjade-1.3.2/spgrove/Makefile.sub
8@@ -1,8 +1,8 @@
9 LTVERSION=0:1:0
10 LIB=ospgrove
11 INCLUDE=-I$(srcdir)/../grove
12-DEPLIBS=-lm -L$(TOP)/grove -L$(TOP)/grove/.libs \
13- -L$(TOP)/lib -L$(TOP)/lib/.libs \
14+DEPLIBS=-lm $(TOP)/grove \
15+ $(TOP)/lib \
16 $(LIB_THREADS)
17 OBJS=GroveApp.o GroveBuilder.o SdNode.o
18 GENSRCS=grove_inst.cxx
19Index: openjade-1.3.2/style/Makefile.sub
20===================================================================
21--- openjade-1.3.2.orig/style/Makefile.sub
22+++ openjade-1.3.2/style/Makefile.sub
23@@ -1,8 +1,8 @@
24 LTVERSION=0:1:0
25 LIB=ostyle
26-DEPLIBS=-lm -L$(TOP)/grove -L$(TOP)/grove/.libs \
27- -L$(TOP)/lib -L$(TOP)/lib/.libs \
28- -L$(TOP)/spgrove -L$(TOP)/spgrove/.libs
29+DEPLIBS=-lm $(TOP)/grove \
30+ $(TOP)/lib \
31+ $(TOP)/spgrove
32 OBJS=LangObj.o \
33 Collector.o \
34 DssslApp.o \
diff --git a/meta/recipes-devtools/openjade/openjade-1.3.2/oj-native-libosp-fix.patch b/meta/recipes-devtools/openjade/openjade-1.3.2/oj-native-libosp-fix.patch
new file mode 100644
index 0000000000..48e38048ba
--- /dev/null
+++ b/meta/recipes-devtools/openjade/openjade-1.3.2/oj-native-libosp-fix.patch
@@ -0,0 +1,15 @@
1Patch obtained from OpenEmbedded.
2
3Signed-off-by: Scott Garman <scott.a.garman@intel.com>
4Index: openjade-1.3.2/Makefile.prog.in
5===================================================================
6--- openjade-1.3.2.orig/Makefile.prog.in 2007-12-21 14:48:00.000000000 +0100
7+++ openjade-1.3.2/Makefile.prog.in 2007-12-21 14:50:12.000000000 +0100
8@@ -13,6 +13,7 @@
9 ALL_LIBS = $(XLIBS) $(LIBS)
10 Makefile.lt:
11 echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
12+ sed -i -e "s|libosp.la|libosp.so|" Makefile.lt
13
14 PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
15
diff --git a/meta/recipes-devtools/openjade/openjade_1.3.2.bb b/meta/recipes-devtools/openjade/openjade_1.3.2.bb
new file mode 100644
index 0000000000..f2ad8aef7c
--- /dev/null
+++ b/meta/recipes-devtools/openjade/openjade_1.3.2.bb
@@ -0,0 +1,66 @@
1SUMMARY = "Tools for working with DSSSL stylesheets for SGML and XML documents"
2DESCRIPTION = "OpenJade is a suite of tools for validating, \
3processing, and applying DSSSL (Document Style Semantics and \
4Specification Language) stylesheets to SGML and XML documents."
5HOMEPAGE = "http://openjade.sourceforge.net"
6SECTION = "base"
7LICENSE = "BSD"
8LIC_FILES_CHKSUM = "file://COPYING;md5=641ff1e4511f0a87044ad42f87cb1045"
9
10PR = "r0"
11
12DEPENDS = "opensp"
13RDEPENDS_${PN} = "sgml-common"
14
15SRC_URI = "${SOURCEFORGE_MIRROR}/openjade/openjade-${PV}.tar.gz \
16 file://configure.patch \
17 file://autoconf.patch \
18 file://makefile.patch \
19 "
20
21SRC_URI[md5sum] = "7df692e3186109cc00db6825b777201e"
22SRC_URI[sha256sum] = "1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1"
23
24SRC_URI_append_virtclass-native = " file://oj-native-libosp-fix.patch"
25
26inherit autotools
27
28EXTRA_OECONF = "--enable-spincludedir=${STAGING_INCDIR}/OpenSP \
29 --enable-splibdir=${STAGING_LIBDIR}"
30
31acpaths = "-I ${S}/config"
32
33# Trailing whitespace is important. Otherwise compiler arguments will be messed
34# up, resulting in a fail in do_configure.
35CFLAGS_prepend = "-I${S}/include "
36
37do_configure_append () {
38 cp config/configure.in .
39}
40
41do_install_append () {
42 # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/openjade.html
43 # for details.
44 install -m 0755 ${S}/jade/.libs/openjade ${D}${bindir}/openjade
45 ln -sf openjade ${D}${bindir}/jade
46
47 oe_libinstall -a -so -C style libostyle ${D}${libdir}
48 oe_libinstall -a -so -C spgrove libospgrove ${D}${libdir}
49 oe_libinstall -a -so -C grove libogrove ${D}${libdir}
50
51 install -d ${D}${datadir}/sgml/openjade-${PV}
52 install -m 644 dsssl/catalog ${D}${datadir}/sgml/openjade-${PV}
53 install -m 644 dsssl/*.{dtd,dsl,sgm} ${D}${datadir}/sgml/openjade-${PV}
54
55 # The catalog must live in the sysroot and it must be there for
56 # install-catalog to do its thing.
57 install -d ${datadir}/sgml/openjade-${PV}
58 install -m 644 dsssl/catalog ${datadir}/sgml/openjade-${PV}/catalog
59 install-catalog --add ${sysconfdir}/sgml/openjade-${PV}.cat \
60 ${datadir}/sgml/openjade-${PV}/catalog
61
62 install-catalog --add ${sysconfdir}/sgml/sgml-docbook.cat \
63 ${sysconfdir}/sgml/openjade-${PV}.cat
64}
65
66BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/opensp/opensp/attributevalue.patch b/meta/recipes-devtools/opensp/opensp/attributevalue.patch
new file mode 100644
index 0000000000..4f3507e19b
--- /dev/null
+++ b/meta/recipes-devtools/opensp/opensp/attributevalue.patch
@@ -0,0 +1,62 @@
1Patch obtained from OpenEmbedded.
2
3Signed-off-by: Scott Garman <scott.a.garman@intel.com>
4--- OpenSP-1.5/include/Attribute.h~attributevalue 2000-03-09 13:30:56.000000000 -0500
5+++ OpenSP-1.5/include/Attribute.h 2004-01-20 14:11:36.000000000 -0500
6@@ -31,6 +31,28 @@
7 class AttributeContext;
8 class Syntax;
9
10+class SP_API AttributeValue : public Resource {
11+public:
12+ enum Type {
13+ implied,
14+ cdata,
15+ tokenized
16+ };
17+ AttributeValue();
18+ virtual ~AttributeValue();
19+ virtual AttributeSemantics *makeSemantics(const DeclaredValue *,
20+ AttributeContext &,
21+ const StringC &,
22+ unsigned &,
23+ unsigned &) const;
24+ virtual Type info(const Text *&, const StringC *&) const = 0;
25+ virtual const Text *text() const;
26+ virtual Boolean recoverUnquoted(const StringC &, const Location &,
27+ AttributeContext &, const StringC &);
28+ static Boolean handleAsUnterminated(const Text &, AttributeContext &);
29+};
30+
31+
32 class SP_API AttributeDefinitionDesc {
33 public:
34 AttributeDefinitionDesc() { }
35@@ -380,27 +402,6 @@
36 ConstPtr<Notation> notation_;
37 };
38
39-class SP_API AttributeValue : public Resource {
40-public:
41- enum Type {
42- implied,
43- cdata,
44- tokenized
45- };
46- AttributeValue();
47- virtual ~AttributeValue();
48- virtual AttributeSemantics *makeSemantics(const DeclaredValue *,
49- AttributeContext &,
50- const StringC &,
51- unsigned &,
52- unsigned &) const;
53- virtual Type info(const Text *&, const StringC *&) const = 0;
54- virtual const Text *text() const;
55- virtual Boolean recoverUnquoted(const StringC &, const Location &,
56- AttributeContext &, const StringC &);
57- static Boolean handleAsUnterminated(const Text &, AttributeContext &);
58-};
59-
60 class SP_API ImpliedAttributeValue : public AttributeValue {
61 public:
62 ImpliedAttributeValue();
diff --git a/meta/recipes-devtools/opensp/opensp/fix-docdir.patch b/meta/recipes-devtools/opensp/opensp/fix-docdir.patch
new file mode 100644
index 0000000000..5e2fc8b745
--- /dev/null
+++ b/meta/recipes-devtools/opensp/opensp/fix-docdir.patch
@@ -0,0 +1,14 @@
1Patch obtained from OpenEmbedded.
2
3Signed-off-by: Scott Garman <scott.a.garman@intel.com>
4Index: OpenSP-1.5/doc/Makefile.am
5===================================================================
6--- OpenSP-1.5.orig/doc/Makefile.am 2000-05-06 09:10:32.000000000 +1000
7+++ OpenSP-1.5/doc/Makefile.am 2007-06-02 12:46:50.000000000 +1000
8@@ -1,6 +1,5 @@
9 ## Process this file with automake to produce Makefile.in
10
11-docdir = $(prefix)/doc
12 pkgdocdir = $(docdir)/@PACKAGE@
13
14 MAINTAINERCLEANFILES = Makefile.in
diff --git a/meta/recipes-devtools/opensp/opensp/m4.patch b/meta/recipes-devtools/opensp/opensp/m4.patch
new file mode 100644
index 0000000000..a8504c5818
--- /dev/null
+++ b/meta/recipes-devtools/opensp/opensp/m4.patch
@@ -0,0 +1,1925 @@
1Patch obtained from OpenEmbedded.
2
3Signed-off-by: Scott Garman <scott.a.garman@intel.com>
4--- /dev/null 2003-09-23 18:19:32.000000000 -0400
5+++ OpenSP-1.5/m4/codeset.m4 2004-01-20 03:01:28.000000000 -0500
6@@ -0,0 +1,23 @@
7+# codeset.m4 serial AM1 (gettext-0.10.40)
8+dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
9+dnl This file is free software, distributed under the terms of the GNU
10+dnl General Public License. As a special exception to the GNU General
11+dnl Public License, this file may be distributed as part of a program
12+dnl that contains a configuration script generated by Autoconf, under
13+dnl the same distribution terms as the rest of that program.
14+
15+dnl From Bruno Haible.
16+
17+AC_DEFUN([AM_LANGINFO_CODESET],
18+[
19+ AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset,
20+ [AC_TRY_LINK([#include <langinfo.h>],
21+ [char* cs = nl_langinfo(CODESET);],
22+ am_cv_langinfo_codeset=yes,
23+ am_cv_langinfo_codeset=no)
24+ ])
25+ if test $am_cv_langinfo_codeset = yes; then
26+ AC_DEFINE(HAVE_LANGINFO_CODESET, 1,
27+ [Define if you have <langinfo.h> and nl_langinfo(CODESET).])
28+ fi
29+])
30--- /dev/null 2003-09-23 18:19:32.000000000 -0400
31+++ OpenSP-1.5/m4/gettext.m4 2004-01-20 03:01:28.000000000 -0500
32@@ -0,0 +1,587 @@
33+# gettext.m4 serial 17 (gettext-0.11.5)
34+dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
35+dnl This file is free software, distributed under the terms of the GNU
36+dnl General Public License. As a special exception to the GNU General
37+dnl Public License, this file may be distributed as part of a program
38+dnl that contains a configuration script generated by Autoconf, under
39+dnl the same distribution terms as the rest of that program.
40+dnl
41+dnl This file can can be used in projects which are not available under
42+dnl the GNU General Public License or the GNU Library General Public
43+dnl License but which still want to provide support for the GNU gettext
44+dnl functionality.
45+dnl Please note that the actual code of the GNU gettext library is covered
46+dnl by the GNU Library General Public License, and the rest of the GNU
47+dnl gettext package package is covered by the GNU General Public License.
48+dnl They are *not* in the public domain.
49+
50+dnl Authors:
51+dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
52+dnl Bruno Haible <haible@clisp.cons.org>, 2000-2002.
53+
54+dnl Macro to add for using GNU gettext.
55+
56+dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
57+dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
58+dnl default (if it is not specified or empty) is 'no-libtool'.
59+dnl INTLSYMBOL should be 'external' for packages with no intl directory,
60+dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
61+dnl If INTLSYMBOL is 'use-libtool', then a libtool library
62+dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
63+dnl depending on --{enable,disable}-{shared,static} and on the presence of
64+dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
65+dnl $(top_builddir)/intl/libintl.a will be created.
66+dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
67+dnl implementations (in libc or libintl) without the ngettext() function
68+dnl will be ignored. If NEEDSYMBOL is specified and is
69+dnl 'need-formatstring-macros', then GNU gettext implementations that don't
70+dnl support the ISO C 99 <inttypes.h> formatstring macros will be ignored.
71+dnl INTLDIR is used to find the intl libraries. If empty,
72+dnl the value `$(top_builddir)/intl/' is used.
73+dnl
74+dnl The result of the configuration is one of three cases:
75+dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
76+dnl and used.
77+dnl Catalog format: GNU --> install in $(datadir)
78+dnl Catalog extension: .mo after installation, .gmo in source tree
79+dnl 2) GNU gettext has been found in the system's C library.
80+dnl Catalog format: GNU --> install in $(datadir)
81+dnl Catalog extension: .mo after installation, .gmo in source tree
82+dnl 3) No internationalization, always use English msgid.
83+dnl Catalog format: none
84+dnl Catalog extension: none
85+dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
86+dnl The use of .gmo is historical (it was needed to avoid overwriting the
87+dnl GNU format catalogs when building on a platform with an X/Open gettext),
88+dnl but we keep it in order not to force irrelevant filename changes on the
89+dnl maintainers.
90+dnl
91+AC_DEFUN([AM_GNU_GETTEXT],
92+[
93+ dnl Argument checking.
94+ ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
95+ [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
96+])])])])])
97+ ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
98+ [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
99+])])])])
100+ define(gt_included_intl, ifelse([$1], [external], [no], [yes]))
101+ define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], []))
102+
103+ AC_REQUIRE([AM_PO_SUBDIRS])dnl
104+ ifelse(gt_included_intl, yes, [
105+ AC_REQUIRE([AM_INTL_SUBDIR])dnl
106+ ])
107+
108+ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
109+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
110+ AC_REQUIRE([AC_LIB_RPATH])
111+
112+ dnl Sometimes libintl requires libiconv, so first search for libiconv.
113+ dnl Ideally we would do this search only after the
114+ dnl if test "$USE_NLS" = "yes"; then
115+ dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then
116+ dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT
117+ dnl the configure script would need to contain the same shell code
118+ dnl again, outside any 'if'. There are two solutions:
119+ dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
120+ dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
121+ dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not
122+ dnl documented, we avoid it.
123+ ifelse(gt_included_intl, yes, , [
124+ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
125+ ])
126+
127+ AC_MSG_CHECKING([whether NLS is requested])
128+ dnl Default is enabled NLS
129+ AC_ARG_ENABLE(nls,
130+ [ --disable-nls do not use Native Language Support],
131+ USE_NLS=$enableval, USE_NLS=yes)
132+ AC_MSG_RESULT($USE_NLS)
133+ AC_SUBST(USE_NLS)
134+
135+ ifelse(gt_included_intl, yes, [
136+ BUILD_INCLUDED_LIBINTL=no
137+ USE_INCLUDED_LIBINTL=no
138+ ])
139+ LIBINTL=
140+ LTLIBINTL=
141+ POSUB=
142+
143+ dnl If we use NLS figure out what method
144+ if test "$USE_NLS" = "yes"; then
145+ gt_use_preinstalled_gnugettext=no
146+ ifelse(gt_included_intl, yes, [
147+ AC_MSG_CHECKING([whether included gettext is requested])
148+ AC_ARG_WITH(included-gettext,
149+ [ --with-included-gettext use the GNU gettext library included here],
150+ nls_cv_force_use_gnu_gettext=$withval,
151+ nls_cv_force_use_gnu_gettext=no)
152+ AC_MSG_RESULT($nls_cv_force_use_gnu_gettext)
153+
154+ nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
155+ if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
156+ ])
157+ dnl User does not insist on using GNU NLS library. Figure out what
158+ dnl to use. If GNU gettext is available we use this. Else we have
159+ dnl to fall back to GNU NLS library.
160+
161+ dnl Add a version number to the cache macros.
162+ define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1)))
163+ define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
164+ define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
165+
166+ AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
167+ [AC_TRY_LINK([#include <libintl.h>
168+]ifelse([$2], [need-formatstring-macros],
169+[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
170+#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
171+#endif
172+changequote(,)dnl
173+typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
174+changequote([,])dnl
175+], [])[extern int _nl_msg_cat_cntr;
176+extern int *_nl_domain_bindings;],
177+ [bindtextdomain ("", "");
178+return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
179+ gt_cv_func_gnugettext_libc=yes,
180+ gt_cv_func_gnugettext_libc=no)])
181+
182+ if test "$gt_cv_func_gnugettext_libc" != "yes"; then
183+ dnl Sometimes libintl requires libiconv, so first search for libiconv.
184+ ifelse(gt_included_intl, yes, , [
185+ AM_ICONV_LINK
186+ ])
187+ dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
188+ dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
189+ dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
190+ dnl even if libiconv doesn't exist.
191+ AC_LIB_LINKFLAGS_BODY([intl])
192+ AC_CACHE_CHECK([for GNU gettext in libintl],
193+ gt_cv_func_gnugettext_libintl,
194+ [gt_save_CPPFLAGS="$CPPFLAGS"
195+ CPPFLAGS="$CPPFLAGS $INCINTL"
196+ gt_save_LIBS="$LIBS"
197+ LIBS="$LIBS $LIBINTL"
198+ dnl Now see whether libintl exists and does not depend on libiconv.
199+ AC_TRY_LINK([#include <libintl.h>
200+]ifelse([$2], [need-formatstring-macros],
201+[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
202+#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
203+#endif
204+changequote(,)dnl
205+typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
206+changequote([,])dnl
207+], [])[extern int _nl_msg_cat_cntr;
208+extern
209+#ifdef __cplusplus
210+"C"
211+#endif
212+const char *_nl_expand_alias ();],
213+ [bindtextdomain ("", "");
214+return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
215+ gt_cv_func_gnugettext_libintl=yes,
216+ gt_cv_func_gnugettext_libintl=no)
217+ dnl Now see whether libintl exists and depends on libiconv.
218+ if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
219+ LIBS="$LIBS $LIBICONV"
220+ AC_TRY_LINK([#include <libintl.h>
221+]ifelse([$2], [need-formatstring-macros],
222+[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
223+#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
224+#endif
225+changequote(,)dnl
226+typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
227+changequote([,])dnl
228+], [])[extern int _nl_msg_cat_cntr;
229+extern
230+#ifdef __cplusplus
231+"C"
232+#endif
233+const char *_nl_expand_alias ();],
234+ [bindtextdomain ("", "");
235+return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
236+ [LIBINTL="$LIBINTL $LIBICONV"
237+ LTLIBINTL="$LTLIBINTL $LTLIBICONV"
238+ gt_cv_func_gnugettext_libintl=yes
239+ ])
240+ fi
241+ CPPFLAGS="$gt_save_CPPFLAGS"
242+ LIBS="$gt_save_LIBS"])
243+ fi
244+
245+ dnl If an already present or preinstalled GNU gettext() is found,
246+ dnl use it. But if this macro is used in GNU gettext, and GNU
247+ dnl gettext is already preinstalled in libintl, we update this
248+ dnl libintl. (Cf. the install rule in intl/Makefile.in.)
249+ if test "$gt_cv_func_gnugettext_libc" = "yes" \
250+ || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
251+ && test "$PACKAGE" != gettext; }; then
252+ gt_use_preinstalled_gnugettext=yes
253+ else
254+ dnl Reset the values set by searching for libintl.
255+ LIBINTL=
256+ LTLIBINTL=
257+ INCINTL=
258+ fi
259+
260+ ifelse(gt_included_intl, yes, [
261+ if test "$gt_use_preinstalled_gnugettext" != "yes"; then
262+ dnl GNU gettext is not found in the C library.
263+ dnl Fall back on included GNU gettext library.
264+ nls_cv_use_gnu_gettext=yes
265+ fi
266+ fi
267+
268+ if test "$nls_cv_use_gnu_gettext" = "yes"; then
269+ dnl Mark actions used to generate GNU NLS library.
270+ INTLOBJS="\$(GETTOBJS)"
271+ BUILD_INCLUDED_LIBINTL=yes
272+ USE_INCLUDED_LIBINTL=yes
273+ LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
274+ LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
275+ LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
276+ fi
277+
278+ if test "$gt_use_preinstalled_gnugettext" = "yes" \
279+ || test "$nls_cv_use_gnu_gettext" = "yes"; then
280+ dnl Mark actions to use GNU gettext tools.
281+ CATOBJEXT=.gmo
282+ fi
283+ ])
284+
285+ if test "$gt_use_preinstalled_gnugettext" = "yes" \
286+ || test "$nls_cv_use_gnu_gettext" = "yes"; then
287+ AC_DEFINE(ENABLE_NLS, 1,
288+ [Define to 1 if translation of program messages to the user's native language
289+ is requested.])
290+ else
291+ USE_NLS=no
292+ fi
293+ fi
294+
295+ if test "$USE_NLS" = "yes"; then
296+
297+ if test "$gt_use_preinstalled_gnugettext" = "yes"; then
298+ if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
299+ AC_MSG_CHECKING([how to link with libintl])
300+ AC_MSG_RESULT([$LIBINTL])
301+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
302+ fi
303+
304+ dnl For backward compatibility. Some packages may be using this.
305+ AC_DEFINE(HAVE_GETTEXT, 1,
306+ [Define if the GNU gettext() function is already present or preinstalled.])
307+ AC_DEFINE(HAVE_DCGETTEXT, 1,
308+ [Define if the GNU dcgettext() function is already present or preinstalled.])
309+ fi
310+
311+ dnl We need to process the po/ directory.
312+ POSUB=po
313+ fi
314+
315+ ifelse(gt_included_intl, yes, [
316+ dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
317+ dnl to 'yes' because some of the testsuite requires it.
318+ if test "$PACKAGE" = gettext; then
319+ BUILD_INCLUDED_LIBINTL=yes
320+ fi
321+
322+ dnl Make all variables we use known to autoconf.
323+ AC_SUBST(BUILD_INCLUDED_LIBINTL)
324+ AC_SUBST(USE_INCLUDED_LIBINTL)
325+ AC_SUBST(CATOBJEXT)
326+ AC_SUBST(INTLOBJS)
327+
328+ dnl For backward compatibility. Some configure.ins may be using this.
329+ nls_cv_header_intl=
330+ nls_cv_header_libgt=
331+
332+ dnl For backward compatibility. Some Makefiles may be using this.
333+ DATADIRNAME=share
334+ AC_SUBST(DATADIRNAME)
335+
336+ dnl For backward compatibility. Some Makefiles may be using this.
337+ INSTOBJEXT=.mo
338+ AC_SUBST(INSTOBJEXT)
339+
340+ dnl For backward compatibility. Some Makefiles may be using this.
341+ GENCAT=gencat
342+ AC_SUBST(GENCAT)
343+
344+ dnl Enable libtool support if the surrounding package wishes it.
345+ INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
346+ AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
347+ ])
348+
349+ dnl For backward compatibility. Some Makefiles may be using this.
350+ INTLLIBS="$LIBINTL"
351+ AC_SUBST(INTLLIBS)
352+
353+ dnl Make all documented variables known to autoconf.
354+ AC_SUBST(LIBINTL)
355+ AC_SUBST(LTLIBINTL)
356+ AC_SUBST(POSUB)
357+])
358+
359+
360+dnl Checks for all prerequisites of the po subdirectory,
361+dnl except for USE_NLS.
362+AC_DEFUN([AM_PO_SUBDIRS],
363+[
364+ AC_REQUIRE([AC_PROG_MAKE_SET])dnl
365+ AC_REQUIRE([AC_PROG_INSTALL])dnl
366+ AC_REQUIRE([AM_MKINSTALLDIRS])dnl
367+
368+ dnl Perform the following tests also if --disable-nls has been given,
369+ dnl because they are needed for "make dist" to work.
370+
371+ dnl Search for GNU msgfmt in the PATH.
372+ dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
373+ dnl The second test excludes FreeBSD msgfmt.
374+ AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
375+ [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
376+ (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
377+ :)
378+ AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
379+
380+ dnl Search for GNU xgettext 0.11 or newer in the PATH.
381+ dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
382+ dnl The second test excludes FreeBSD xgettext.
383+ AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
384+ [$ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
385+ (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
386+ :)
387+ dnl Remove leftover from FreeBSD xgettext call.
388+ rm -f messages.po
389+
390+ dnl Search for GNU msgmerge 0.11 or newer in the PATH.
391+ AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
392+ [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :)
393+
394+ dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
395+ dnl Test whether we really found GNU msgfmt.
396+ if test "$GMSGFMT" != ":"; then
397+ dnl If it is no GNU msgfmt we define it as : so that the
398+ dnl Makefiles still can work.
399+ if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
400+ (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
401+ : ;
402+ else
403+ GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
404+ AC_MSG_RESULT(
405+ [found $GMSGFMT program is not GNU msgfmt; ignore it])
406+ GMSGFMT=":"
407+ fi
408+ fi
409+
410+ dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
411+ dnl Test whether we really found GNU xgettext.
412+ if test "$XGETTEXT" != ":"; then
413+ dnl If it is no GNU xgettext we define it as : so that the
414+ dnl Makefiles still can work.
415+ if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
416+ (if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
417+ : ;
418+ else
419+ AC_MSG_RESULT(
420+ [found xgettext program is not GNU xgettext; ignore it])
421+ XGETTEXT=":"
422+ fi
423+ dnl Remove leftover from FreeBSD xgettext call.
424+ rm -f messages.po
425+ fi
426+
427+ AC_OUTPUT_COMMANDS([
428+ for ac_file in $CONFIG_FILES; do
429+ # Support "outfile[:infile[:infile...]]"
430+ case "$ac_file" in
431+ *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
432+ esac
433+ # PO directories have a Makefile.in generated from Makefile.in.in.
434+ case "$ac_file" in */Makefile.in)
435+ # Adjust a relative srcdir.
436+ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
437+ ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
438+ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
439+ # In autoconf-2.13 it is called $ac_given_srcdir.
440+ # In autoconf-2.50 it is called $srcdir.
441+ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
442+ case "$ac_given_srcdir" in
443+ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
444+ /*) top_srcdir="$ac_given_srcdir" ;;
445+ *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
446+ esac
447+ if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
448+ rm -f "$ac_dir/POTFILES"
449+ test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
450+ cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
451+ # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
452+ # on $ac_dir but don't depend on user-specified configuration
453+ # parameters.
454+ if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
455+ # The LINGUAS file contains the set of available languages.
456+ if test -n "$ALL_LINGUAS"; then
457+ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
458+ fi
459+ ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
460+ # Hide the ALL_LINGUAS assigment from automake.
461+ eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
462+ fi
463+ case "$ac_given_srcdir" in
464+ .) srcdirpre= ;;
465+ *) srcdirpre='$(srcdir)/' ;;
466+ esac
467+ POFILES=
468+ GMOFILES=
469+ UPDATEPOFILES=
470+ DUMMYPOFILES=
471+ for lang in $ALL_LINGUAS; do
472+ POFILES="$POFILES $srcdirpre$lang.po"
473+ GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
474+ UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
475+ DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
476+ done
477+ # CATALOGS depends on both $ac_dir and the user's LINGUAS
478+ # environment variable.
479+ INST_LINGUAS=
480+ if test -n "$ALL_LINGUAS"; then
481+ for presentlang in $ALL_LINGUAS; do
482+ useit=no
483+ if test "%UNSET%" != "$LINGUAS"; then
484+ desiredlanguages="$LINGUAS"
485+ else
486+ desiredlanguages="$ALL_LINGUAS"
487+ fi
488+ for desiredlang in $desiredlanguages; do
489+ # Use the presentlang catalog if desiredlang is
490+ # a. equal to presentlang, or
491+ # b. a variant of presentlang (because in this case,
492+ # presentlang can be used as a fallback for messages
493+ # which are not translated in the desiredlang catalog).
494+ case "$desiredlang" in
495+ "$presentlang"*) useit=yes;;
496+ esac
497+ done
498+ if test $useit = yes; then
499+ INST_LINGUAS="$INST_LINGUAS $presentlang"
500+ fi
501+ done
502+ fi
503+ CATALOGS=
504+ if test -n "$INST_LINGUAS"; then
505+ for lang in $INST_LINGUAS; do
506+ CATALOGS="$CATALOGS $lang.gmo"
507+ done
508+ fi
509+ test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
510+ sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
511+ for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
512+ if test -f "$f"; then
513+ case "$f" in
514+ *.orig | *.bak | *~) ;;
515+ *) cat "$f" >> "$ac_dir/Makefile" ;;
516+ esac
517+ fi
518+ done
519+ fi
520+ ;;
521+ esac
522+ done],
523+ [# Capture the value of obsolete ALL_LINGUAS because we need it to compute
524+ # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
525+ # from automake.
526+ eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
527+ # Capture the value of LINGUAS because we need it to compute CATALOGS.
528+ LINGUAS="${LINGUAS-%UNSET%}"
529+ ])
530+])
531+
532+
533+dnl Checks for all prerequisites of the intl subdirectory,
534+dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
535+dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
536+AC_DEFUN([AM_INTL_SUBDIR],
537+[
538+ AC_REQUIRE([AC_PROG_INSTALL])dnl
539+ AC_REQUIRE([AM_MKINSTALLDIRS])dnl
540+ AC_REQUIRE([AC_PROG_CC])dnl
541+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
542+ AC_REQUIRE([AC_PROG_RANLIB])dnl
543+ AC_REQUIRE([AC_ISC_POSIX])dnl
544+ AC_REQUIRE([AC_HEADER_STDC])dnl
545+ AC_REQUIRE([AC_C_CONST])dnl
546+ AC_REQUIRE([AC_C_INLINE])dnl
547+ AC_REQUIRE([AC_TYPE_OFF_T])dnl
548+ AC_REQUIRE([AC_TYPE_SIZE_T])dnl
549+ AC_REQUIRE([AC_FUNC_ALLOCA])dnl
550+ AC_REQUIRE([AC_FUNC_MMAP])dnl
551+ AC_REQUIRE([jm_GLIBC21])dnl
552+ AC_REQUIRE([gt_INTDIV0])dnl
553+ AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl
554+ AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
555+ AC_REQUIRE([gt_INTTYPES_PRI])dnl
556+
557+ AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
558+stdlib.h string.h unistd.h sys/param.h])
559+ AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
560+geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
561+strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next])
562+
563+ AM_ICONV
564+ AM_LANGINFO_CODESET
565+ if test $ac_cv_header_locale_h = yes; then
566+ AM_LC_MESSAGES
567+ fi
568+
569+ dnl intl/plural.c is generated from intl/plural.y. It requires bison,
570+ dnl because plural.y uses bison specific features. It requires at least
571+ dnl bison-1.26 because earlier versions generate a plural.c that doesn't
572+ dnl compile.
573+ dnl bison is only needed for the maintainer (who touches plural.y). But in
574+ dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
575+ dnl the rule in general Makefile. Now, some people carelessly touch the
576+ dnl files or have a broken "make" program, hence the plural.c rule will
577+ dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
578+ dnl present or too old.
579+ AC_CHECK_PROGS([INTLBISON], [bison])
580+ if test -z "$INTLBISON"; then
581+ ac_verc_fail=yes
582+ else
583+ dnl Found it, now check the version.
584+ AC_MSG_CHECKING([version of bison])
585+changequote(<<,>>)dnl
586+ ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
587+ case $ac_prog_version in
588+ '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
589+ 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
590+changequote([,])dnl
591+ ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
592+ *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
593+ esac
594+ AC_MSG_RESULT([$ac_prog_version])
595+ fi
596+ if test $ac_verc_fail = yes; then
597+ INTLBISON=:
598+ fi
599+])
600+
601+
602+AC_DEFUN([AM_MKINSTALLDIRS],
603+[
604+ dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
605+ dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
606+ dnl Try to locate is.
607+ MKINSTALLDIRS=
608+ if test -n "$ac_aux_dir"; then
609+ MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
610+ fi
611+ if test -z "$MKINSTALLDIRS"; then
612+ MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
613+ fi
614+ AC_SUBST(MKINSTALLDIRS)
615+])
616+
617+
618+dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
619+AC_DEFUN([AM_GNU_GETTEXT_VERSION], [])
620--- /dev/null 2003-09-23 18:19:32.000000000 -0400
621+++ OpenSP-1.5/m4/glibc21.m4 2004-01-20 03:01:28.000000000 -0500
622@@ -0,0 +1,32 @@
623+# glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40)
624+dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
625+dnl This file is free software, distributed under the terms of the GNU
626+dnl General Public License. As a special exception to the GNU General
627+dnl Public License, this file may be distributed as part of a program
628+dnl that contains a configuration script generated by Autoconf, under
629+dnl the same distribution terms as the rest of that program.
630+
631+# Test for the GNU C Library, version 2.1 or newer.
632+# From Bruno Haible.
633+
634+AC_DEFUN([jm_GLIBC21],
635+ [
636+ AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
637+ ac_cv_gnu_library_2_1,
638+ [AC_EGREP_CPP([Lucky GNU user],
639+ [
640+#include <features.h>
641+#ifdef __GNU_LIBRARY__
642+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
643+ Lucky GNU user
644+ #endif
645+#endif
646+ ],
647+ ac_cv_gnu_library_2_1=yes,
648+ ac_cv_gnu_library_2_1=no)
649+ ]
650+ )
651+ AC_SUBST(GLIBC21)
652+ GLIBC21="$ac_cv_gnu_library_2_1"
653+ ]
654+)
655--- /dev/null 2003-09-23 18:19:32.000000000 -0400
656+++ OpenSP-1.5/m4/iconv.m4 2004-01-20 03:01:28.000000000 -0500
657@@ -0,0 +1,103 @@
658+# iconv.m4 serial AM4 (gettext-0.11.3)
659+dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
660+dnl This file is free software, distributed under the terms of the GNU
661+dnl General Public License. As a special exception to the GNU General
662+dnl Public License, this file may be distributed as part of a program
663+dnl that contains a configuration script generated by Autoconf, under
664+dnl the same distribution terms as the rest of that program.
665+
666+dnl From Bruno Haible.
667+
668+AC_DEFUN([AM_ICONV_LINKFLAGS_BODY],
669+[
670+ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
671+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
672+ AC_REQUIRE([AC_LIB_RPATH])
673+
674+ dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
675+ dnl accordingly.
676+ AC_LIB_LINKFLAGS_BODY([iconv])
677+])
678+
679+AC_DEFUN([AM_ICONV_LINK],
680+[
681+ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
682+ dnl those with the standalone portable GNU libiconv installed).
683+
684+ dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
685+ dnl accordingly.
686+ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
687+
688+ dnl Add $INCICONV to CPPFLAGS before performing the following checks,
689+ dnl because if the user has installed libiconv and not disabled its use
690+ dnl via --without-libiconv-prefix, he wants to use it. The first
691+ dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
692+ am_save_CPPFLAGS="$CPPFLAGS"
693+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
694+
695+ AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
696+ am_cv_func_iconv="no, consider installing GNU libiconv"
697+ am_cv_lib_iconv=no
698+ AC_TRY_LINK([#include <stdlib.h>
699+#include <iconv.h>],
700+ [iconv_t cd = iconv_open("","");
701+ iconv(cd,NULL,NULL,NULL,NULL);
702+ iconv_close(cd);],
703+ am_cv_func_iconv=yes)
704+ if test "$am_cv_func_iconv" != yes; then
705+ am_save_LIBS="$LIBS"
706+ LIBS="$LIBS $LIBICONV"
707+ AC_TRY_LINK([#include <stdlib.h>
708+#include <iconv.h>],
709+ [iconv_t cd = iconv_open("","");
710+ iconv(cd,NULL,NULL,NULL,NULL);
711+ iconv_close(cd);],
712+ am_cv_lib_iconv=yes
713+ am_cv_func_iconv=yes)
714+ LIBS="$am_save_LIBS"
715+ fi
716+ ])
717+ if test "$am_cv_func_iconv" = yes; then
718+ AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
719+ fi
720+ if test "$am_cv_lib_iconv" = yes; then
721+ AC_MSG_CHECKING([how to link with libiconv])
722+ AC_MSG_RESULT([$LIBICONV])
723+ else
724+ dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
725+ dnl either.
726+ CPPFLAGS="$am_save_CPPFLAGS"
727+ LIBICONV=
728+ LTLIBICONV=
729+ fi
730+ AC_SUBST(LIBICONV)
731+ AC_SUBST(LTLIBICONV)
732+])
733+
734+AC_DEFUN([AM_ICONV],
735+[
736+ AM_ICONV_LINK
737+ if test "$am_cv_func_iconv" = yes; then
738+ AC_MSG_CHECKING([for iconv declaration])
739+ AC_CACHE_VAL(am_cv_proto_iconv, [
740+ AC_TRY_COMPILE([
741+#include <stdlib.h>
742+#include <iconv.h>
743+extern
744+#ifdef __cplusplus
745+"C"
746+#endif
747+#if defined(__STDC__) || defined(__cplusplus)
748+size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
749+#else
750+size_t iconv();
751+#endif
752+], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const")
753+ am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
754+ am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
755+ AC_MSG_RESULT([$]{ac_t:-
756+ }[$]am_cv_proto_iconv)
757+ AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
758+ [Define as const if the declaration of iconv() needs const.])
759+ fi
760+])
761--- /dev/null 2003-09-23 18:19:32.000000000 -0400
762+++ OpenSP-1.5/m4/intdiv0.m4 2004-01-20 03:01:28.000000000 -0500
763@@ -0,0 +1,72 @@
764+# intdiv0.m4 serial 1 (gettext-0.11.3)
765+dnl Copyright (C) 2002 Free Software Foundation, Inc.
766+dnl This file is free software, distributed under the terms of the GNU
767+dnl General Public License. As a special exception to the GNU General
768+dnl Public License, this file may be distributed as part of a program
769+dnl that contains a configuration script generated by Autoconf, under
770+dnl the same distribution terms as the rest of that program.
771+
772+dnl From Bruno Haible.
773+
774+AC_DEFUN([gt_INTDIV0],
775+[
776+ AC_REQUIRE([AC_PROG_CC])dnl
777+ AC_REQUIRE([AC_CANONICAL_HOST])dnl
778+
779+ AC_CACHE_CHECK([whether integer division by zero raises SIGFPE],
780+ gt_cv_int_divbyzero_sigfpe,
781+ [
782+ AC_TRY_RUN([
783+#include <stdlib.h>
784+#include <signal.h>
785+
786+static void
787+#ifdef __cplusplus
788+sigfpe_handler (int sig)
789+#else
790+sigfpe_handler (sig) int sig;
791+#endif
792+{
793+ /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
794+ exit (sig != SIGFPE);
795+}
796+
797+int x = 1;
798+int y = 0;
799+int z;
800+int nan;
801+
802+int main ()
803+{
804+ signal (SIGFPE, sigfpe_handler);
805+/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
806+#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
807+ signal (SIGTRAP, sigfpe_handler);
808+#endif
809+/* Linux/SPARC yields signal SIGILL. */
810+#if defined (__sparc__) && defined (__linux__)
811+ signal (SIGILL, sigfpe_handler);
812+#endif
813+
814+ z = x / y;
815+ nan = y / y;
816+ exit (1);
817+}
818+], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no,
819+ [
820+ # Guess based on the CPU.
821+ case "$host_cpu" in
822+ alpha* | i[34567]86 | m68k | s390*)
823+ gt_cv_int_divbyzero_sigfpe="guessing yes";;
824+ *)
825+ gt_cv_int_divbyzero_sigfpe="guessing no";;
826+ esac
827+ ])
828+ ])
829+ case "$gt_cv_int_divbyzero_sigfpe" in
830+ *yes) value=1;;
831+ *) value=0;;
832+ esac
833+ AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value,
834+ [Define if integer division by zero raises signal SIGFPE.])
835+])
836--- /dev/null 2003-09-23 18:19:32.000000000 -0400
837+++ OpenSP-1.5/m4/inttypes_h.m4 2004-01-20 03:01:28.000000000 -0500
838@@ -0,0 +1,28 @@
839+# inttypes_h.m4 serial 4 (gettext-0.11.4)
840+dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
841+dnl This file is free software, distributed under the terms of the GNU
842+dnl General Public License. As a special exception to the GNU General
843+dnl Public License, this file may be distributed as part of a program
844+dnl that contains a configuration script generated by Autoconf, under
845+dnl the same distribution terms as the rest of that program.
846+
847+dnl From Paul Eggert.
848+
849+# Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists,
850+# doesn't clash with <sys/types.h>, and declares uintmax_t.
851+
852+AC_DEFUN([jm_AC_HEADER_INTTYPES_H],
853+[
854+ AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h,
855+ [AC_TRY_COMPILE(
856+ [#include <sys/types.h>
857+#include <inttypes.h>],
858+ [uintmax_t i = (uintmax_t) -1;],
859+ jm_ac_cv_header_inttypes_h=yes,
860+ jm_ac_cv_header_inttypes_h=no)])
861+ if test $jm_ac_cv_header_inttypes_h = yes; then
862+ AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
863+[Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
864+ and declares uintmax_t. ])
865+ fi
866+])
867--- /dev/null 2003-09-23 18:19:32.000000000 -0400
868+++ OpenSP-1.5/m4/inttypes.m4 2004-01-20 03:01:28.000000000 -0500
869@@ -0,0 +1,27 @@
870+# inttypes.m4 serial 1 (gettext-0.11.4)
871+dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
872+dnl This file is free software, distributed under the terms of the GNU
873+dnl General Public License. As a special exception to the GNU General
874+dnl Public License, this file may be distributed as part of a program
875+dnl that contains a configuration script generated by Autoconf, under
876+dnl the same distribution terms as the rest of that program.
877+
878+dnl From Paul Eggert.
879+
880+# Define HAVE_INTTYPES_H if <inttypes.h> exists and doesn't clash with
881+# <sys/types.h>.
882+
883+AC_DEFUN([gt_HEADER_INTTYPES_H],
884+[
885+ AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h,
886+ [
887+ AC_TRY_COMPILE(
888+ [#include <sys/types.h>
889+#include <inttypes.h>],
890+ [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no)
891+ ])
892+ if test $gt_cv_header_inttypes_h = yes; then
893+ AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1,
894+ [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.])
895+ fi
896+])
897--- /dev/null 2003-09-23 18:19:32.000000000 -0400
898+++ OpenSP-1.5/m4/inttypes-pri.m4 2004-01-20 03:01:28.000000000 -0500
899@@ -0,0 +1,32 @@
900+# inttypes-pri.m4 serial 1 (gettext-0.11.4)
901+dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
902+dnl This file is free software, distributed under the terms of the GNU
903+dnl General Public License. As a special exception to the GNU General
904+dnl Public License, this file may be distributed as part of a program
905+dnl that contains a configuration script generated by Autoconf, under
906+dnl the same distribution terms as the rest of that program.
907+
908+dnl From Bruno Haible.
909+
910+# Define PRI_MACROS_BROKEN if <inttypes.h> exists and defines the PRI*
911+# macros to non-string values. This is the case on AIX 4.3.3.
912+
913+AC_DEFUN([gt_INTTYPES_PRI],
914+[
915+ AC_REQUIRE([gt_HEADER_INTTYPES_H])
916+ if test $gt_cv_header_inttypes_h = yes; then
917+ AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken],
918+ gt_cv_inttypes_pri_broken,
919+ [
920+ AC_TRY_COMPILE([#include <inttypes.h>
921+#ifdef PRId32
922+char *p = PRId32;
923+#endif
924+], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes)
925+ ])
926+ fi
927+ if test "$gt_cv_inttypes_pri_broken" = yes; then
928+ AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1,
929+ [Define if <inttypes.h> exists and defines unusable PRI* macros.])
930+ fi
931+])
932--- /dev/null 2003-09-23 18:19:32.000000000 -0400
933+++ OpenSP-1.5/m4/lcmessage.m4 2004-01-20 03:01:28.000000000 -0500
934@@ -0,0 +1,32 @@
935+# lcmessage.m4 serial 3 (gettext-0.11.3)
936+dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
937+dnl This file is free software, distributed under the terms of the GNU
938+dnl General Public License. As a special exception to the GNU General
939+dnl Public License, this file may be distributed as part of a program
940+dnl that contains a configuration script generated by Autoconf, under
941+dnl the same distribution terms as the rest of that program.
942+dnl
943+dnl This file can can be used in projects which are not available under
944+dnl the GNU General Public License or the GNU Library General Public
945+dnl License but which still want to provide support for the GNU gettext
946+dnl functionality.
947+dnl Please note that the actual code of the GNU gettext library is covered
948+dnl by the GNU Library General Public License, and the rest of the GNU
949+dnl gettext package package is covered by the GNU General Public License.
950+dnl They are *not* in the public domain.
951+
952+dnl Authors:
953+dnl Ulrich Drepper <drepper@cygnus.com>, 1995.
954+
955+# Check whether LC_MESSAGES is available in <locale.h>.
956+
957+AC_DEFUN([AM_LC_MESSAGES],
958+[
959+ AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
960+ [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
961+ am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
962+ if test $am_cv_val_LC_MESSAGES = yes; then
963+ AC_DEFINE(HAVE_LC_MESSAGES, 1,
964+ [Define if your <locale.h> file defines LC_MESSAGES.])
965+ fi
966+])
967--- /dev/null 2003-09-23 18:19:32.000000000 -0400
968+++ OpenSP-1.5/m4/progtest.m4 2004-01-20 03:01:28.000000000 -0500
969@@ -0,0 +1,59 @@
970+# progtest.m4 serial 2 (gettext-0.10.40)
971+dnl Copyright (C) 1996-2002 Free Software Foundation, Inc.
972+dnl This file is free software, distributed under the terms of the GNU
973+dnl General Public License. As a special exception to the GNU General
974+dnl Public License, this file may be distributed as part of a program
975+dnl that contains a configuration script generated by Autoconf, under
976+dnl the same distribution terms as the rest of that program.
977+dnl
978+dnl This file can can be used in projects which are not available under
979+dnl the GNU General Public License or the GNU Library General Public
980+dnl License but which still want to provide support for the GNU gettext
981+dnl functionality.
982+dnl Please note that the actual code of the GNU gettext library is covered
983+dnl by the GNU Library General Public License, and the rest of the GNU
984+dnl gettext package package is covered by the GNU General Public License.
985+dnl They are *not* in the public domain.
986+
987+dnl Authors:
988+dnl Ulrich Drepper <drepper@cygnus.com>, 1996.
989+
990+# Search path for a program which passes the given test.
991+
992+dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
993+dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
994+AC_DEFUN([AM_PATH_PROG_WITH_TEST],
995+[# Extract the first word of "$2", so it can be a program name with args.
996+set dummy $2; ac_word=[$]2
997+AC_MSG_CHECKING([for $ac_word])
998+AC_CACHE_VAL(ac_cv_path_$1,
999+[case "[$]$1" in
1000+ /*)
1001+ ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
1002+ ;;
1003+ *)
1004+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1005+ for ac_dir in ifelse([$5], , $PATH, [$5]); do
1006+ test -z "$ac_dir" && ac_dir=.
1007+ if test -f $ac_dir/$ac_word; then
1008+ if [$3]; then
1009+ ac_cv_path_$1="$ac_dir/$ac_word"
1010+ break
1011+ fi
1012+ fi
1013+ done
1014+ IFS="$ac_save_ifs"
1015+dnl If no 4th arg is given, leave the cache variable unset,
1016+dnl so AC_PATH_PROGS will keep looking.
1017+ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
1018+])dnl
1019+ ;;
1020+esac])dnl
1021+$1="$ac_cv_path_$1"
1022+if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
1023+ AC_MSG_RESULT([$]$1)
1024+else
1025+ AC_MSG_RESULT(no)
1026+fi
1027+AC_SUBST($1)dnl
1028+])
1029--- /dev/null 2003-09-23 18:19:32.000000000 -0400
1030+++ OpenSP-1.5/m4/stdint_h.m4 2004-01-20 03:01:28.000000000 -0500
1031@@ -0,0 +1,28 @@
1032+# stdint_h.m4 serial 2 (gettext-0.11.4)
1033+dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
1034+dnl This file is free software, distributed under the terms of the GNU
1035+dnl General Public License. As a special exception to the GNU General
1036+dnl Public License, this file may be distributed as part of a program
1037+dnl that contains a configuration script generated by Autoconf, under
1038+dnl the same distribution terms as the rest of that program.
1039+
1040+dnl From Paul Eggert.
1041+
1042+# Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists,
1043+# doesn't clash with <sys/types.h>, and declares uintmax_t.
1044+
1045+AC_DEFUN([jm_AC_HEADER_STDINT_H],
1046+[
1047+ AC_CACHE_CHECK([for stdint.h], jm_ac_cv_header_stdint_h,
1048+ [AC_TRY_COMPILE(
1049+ [#include <sys/types.h>
1050+#include <stdint.h>],
1051+ [uintmax_t i = (uintmax_t) -1;],
1052+ jm_ac_cv_header_stdint_h=yes,
1053+ jm_ac_cv_header_stdint_h=no)])
1054+ if test $jm_ac_cv_header_stdint_h = yes; then
1055+ AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
1056+[Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
1057+ and declares uintmax_t. ])
1058+ fi
1059+])
1060--- /dev/null 2003-09-23 18:19:32.000000000 -0400
1061+++ OpenSP-1.5/m4/uintmax_t.m4 2004-01-20 03:01:28.000000000 -0500
1062@@ -0,0 +1,29 @@
1063+# uintmax_t.m4 serial 6 (gettext-0.11)
1064+dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
1065+dnl This file is free software, distributed under the terms of the GNU
1066+dnl General Public License. As a special exception to the GNU General
1067+dnl Public License, this file may be distributed as part of a program
1068+dnl that contains a configuration script generated by Autoconf, under
1069+dnl the same distribution terms as the rest of that program.
1070+
1071+dnl From Paul Eggert.
1072+
1073+AC_PREREQ(2.13)
1074+
1075+# Define uintmax_t to `unsigned long' or `unsigned long long'
1076+# if <inttypes.h> does not exist.
1077+
1078+AC_DEFUN([jm_AC_TYPE_UINTMAX_T],
1079+[
1080+ AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
1081+ AC_REQUIRE([jm_AC_HEADER_STDINT_H])
1082+ if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
1083+ AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
1084+ test $ac_cv_type_unsigned_long_long = yes \
1085+ && ac_type='unsigned long long' \
1086+ || ac_type='unsigned long'
1087+ AC_DEFINE_UNQUOTED(uintmax_t, $ac_type,
1088+ [Define to unsigned long or unsigned long long
1089+ if <inttypes.h> and <stdint.h> don't define.])
1090+ fi
1091+])
1092--- /dev/null 2003-09-23 18:19:32.000000000 -0400
1093+++ OpenSP-1.5/m4/ulonglong.m4 2004-01-20 03:01:28.000000000 -0500
1094@@ -0,0 +1,23 @@
1095+# ulonglong.m4 serial 2 (fileutils-4.0.32, gettext-0.10.40)
1096+dnl Copyright (C) 1999-2002 Free Software Foundation, Inc.
1097+dnl This file is free software, distributed under the terms of the GNU
1098+dnl General Public License. As a special exception to the GNU General
1099+dnl Public License, this file may be distributed as part of a program
1100+dnl that contains a configuration script generated by Autoconf, under
1101+dnl the same distribution terms as the rest of that program.
1102+
1103+dnl From Paul Eggert.
1104+
1105+AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG],
1106+[
1107+ AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
1108+ [AC_TRY_LINK([unsigned long long ull = 1; int i = 63;],
1109+ [unsigned long long ullmax = (unsigned long long) -1;
1110+ return ull << i | ull >> i | ullmax / ull | ullmax % ull;],
1111+ ac_cv_type_unsigned_long_long=yes,
1112+ ac_cv_type_unsigned_long_long=no)])
1113+ if test $ac_cv_type_unsigned_long_long = yes; then
1114+ AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1,
1115+ [Define if you have the unsigned long long type.])
1116+ fi
1117+])
1118--- /dev/null 2003-09-23 18:19:32.000000000 -0400
1119+++ OpenSP-1.5/m4/lib-ld.m4 2004-01-20 03:02:17.000000000 -0500
1120@@ -0,0 +1,97 @@
1121+# lib-ld.m4 serial 1 (gettext-0.11)
1122+dnl Copyright (C) 1996-2002 Free Software Foundation, Inc.
1123+dnl This file is free software, distributed under the terms of the GNU
1124+dnl General Public License. As a special exception to the GNU General
1125+dnl Public License, this file may be distributed as part of a program
1126+dnl that contains a configuration script generated by Autoconf, under
1127+dnl the same distribution terms as the rest of that program.
1128+
1129+dnl Subroutines of libtool.m4,
1130+dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
1131+dnl with libtool.m4.
1132+
1133+dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
1134+AC_DEFUN([AC_LIB_PROG_LD_GNU],
1135+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld,
1136+[# I'd rather use --version here, but apparently some GNU ld's only accept -v.
1137+if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1138+ acl_cv_prog_gnu_ld=yes
1139+else
1140+ acl_cv_prog_gnu_ld=no
1141+fi])
1142+with_gnu_ld=$acl_cv_prog_gnu_ld
1143+])
1144+
1145+dnl From libtool-1.4. Sets the variable LD.
1146+AC_DEFUN([AC_LIB_PROG_LD],
1147+[AC_ARG_WITH(gnu-ld,
1148+[ --with-gnu-ld assume the C compiler uses GNU ld [default=no]],
1149+test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
1150+AC_REQUIRE([AC_PROG_CC])dnl
1151+AC_REQUIRE([AC_CANONICAL_HOST])dnl
1152+ac_prog=ld
1153+if test "$GCC" = yes; then
1154+ # Check if gcc -print-prog-name=ld gives a path.
1155+ AC_MSG_CHECKING([for ld used by GCC])
1156+ case $host in
1157+ *-*-mingw*)
1158+ # gcc leaves a trailing carriage return which upsets mingw
1159+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1160+ *)
1161+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1162+ esac
1163+ case $ac_prog in
1164+ # Accept absolute paths.
1165+ [[\\/]* | [A-Za-z]:[\\/]*)]
1166+ [re_direlt='/[^/][^/]*/\.\./']
1167+ # Canonicalize the path of ld
1168+ ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1169+ while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1170+ ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1171+ done
1172+ test -z "$LD" && LD="$ac_prog"
1173+ ;;
1174+ "")
1175+ # If it fails, then pretend we aren't using GCC.
1176+ ac_prog=ld
1177+ ;;
1178+ *)
1179+ # If it is relative, then search for the first ld in PATH.
1180+ with_gnu_ld=unknown
1181+ ;;
1182+ esac
1183+elif test "$with_gnu_ld" = yes; then
1184+ AC_MSG_CHECKING([for GNU ld])
1185+else
1186+ AC_MSG_CHECKING([for non-GNU ld])
1187+fi
1188+AC_CACHE_VAL(acl_cv_path_LD,
1189+[if test -z "$LD"; then
1190+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1191+ for ac_dir in $PATH; do
1192+ test -z "$ac_dir" && ac_dir=.
1193+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1194+ acl_cv_path_LD="$ac_dir/$ac_prog"
1195+ # Check to see if the program is GNU ld. I'd rather use --version,
1196+ # but apparently some GNU ld's only accept -v.
1197+ # Break only if it was the GNU/non-GNU ld that we prefer.
1198+ if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1199+ test "$with_gnu_ld" != no && break
1200+ else
1201+ test "$with_gnu_ld" != yes && break
1202+ fi
1203+ fi
1204+ done
1205+ IFS="$ac_save_ifs"
1206+else
1207+ acl_cv_path_LD="$LD" # Let the user override the test with a path.
1208+fi])
1209+LD="$acl_cv_path_LD"
1210+if test -n "$LD"; then
1211+ AC_MSG_RESULT($LD)
1212+else
1213+ AC_MSG_RESULT(no)
1214+fi
1215+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
1216+AC_LIB_PROG_LD_GNU
1217+])
1218--- /dev/null 2003-09-23 18:19:32.000000000 -0400
1219+++ OpenSP-1.5/m4/lib-link.m4 2004-01-20 03:02:17.000000000 -0500
1220@@ -0,0 +1,554 @@
1221+# lib-link.m4 serial 3 (gettext-0.11.3)
1222+dnl Copyright (C) 2001-2002 Free Software Foundation, Inc.
1223+dnl This file is free software, distributed under the terms of the GNU
1224+dnl General Public License. As a special exception to the GNU General
1225+dnl Public License, this file may be distributed as part of a program
1226+dnl that contains a configuration script generated by Autoconf, under
1227+dnl the same distribution terms as the rest of that program.
1228+
1229+dnl From Bruno Haible.
1230+
1231+dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
1232+dnl the libraries corresponding to explicit and implicit dependencies.
1233+dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
1234+dnl augments the CPPFLAGS variable.
1235+AC_DEFUN([AC_LIB_LINKFLAGS],
1236+[
1237+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1238+ AC_REQUIRE([AC_LIB_RPATH])
1239+ define([Name],[translit([$1],[./-], [___])])
1240+ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1241+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1242+ AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
1243+ AC_LIB_LINKFLAGS_BODY([$1], [$2])
1244+ ac_cv_lib[]Name[]_libs="$LIB[]NAME"
1245+ ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME"
1246+ ac_cv_lib[]Name[]_cppflags="$INC[]NAME"
1247+ ])
1248+ LIB[]NAME="$ac_cv_lib[]Name[]_libs"
1249+ LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs"
1250+ INC[]NAME="$ac_cv_lib[]Name[]_cppflags"
1251+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
1252+ AC_SUBST([LIB]NAME)
1253+ AC_SUBST([LTLIB]NAME)
1254+ dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the
1255+ dnl results of this search when this library appears as a dependency.
1256+ HAVE_LIB[]NAME=yes
1257+ undefine([Name])
1258+ undefine([NAME])
1259+])
1260+
1261+dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode)
1262+dnl searches for libname and the libraries corresponding to explicit and
1263+dnl implicit dependencies, together with the specified include files and
1264+dnl the ability to compile and link the specified testcode. If found, it
1265+dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and
1266+dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and
1267+dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
1268+dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
1269+AC_DEFUN([AC_LIB_HAVE_LINKFLAGS],
1270+[
1271+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1272+ AC_REQUIRE([AC_LIB_RPATH])
1273+ define([Name],[translit([$1],[./-], [___])])
1274+ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1275+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1276+
1277+ dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
1278+ dnl accordingly.
1279+ AC_LIB_LINKFLAGS_BODY([$1], [$2])
1280+
1281+ dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
1282+ dnl because if the user has installed lib[]Name and not disabled its use
1283+ dnl via --without-lib[]Name-prefix, he wants to use it.
1284+ ac_save_CPPFLAGS="$CPPFLAGS"
1285+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME)
1286+
1287+ AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [
1288+ ac_save_LIBS="$LIBS"
1289+ LIBS="$LIBS $LIB[]NAME"
1290+ AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no])
1291+ LIBS="$ac_save_LIBS"
1292+ ])
1293+ if test "$ac_cv_lib[]Name" = yes; then
1294+ HAVE_LIB[]NAME=yes
1295+ AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.])
1296+ AC_MSG_CHECKING([how to link with lib[]$1])
1297+ AC_MSG_RESULT([$LIB[]NAME])
1298+ else
1299+ HAVE_LIB[]NAME=no
1300+ dnl If $LIB[]NAME didn't lead to a usable library, we don't need
1301+ dnl $INC[]NAME either.
1302+ CPPFLAGS="$ac_save_CPPFLAGS"
1303+ LIB[]NAME=
1304+ LTLIB[]NAME=
1305+ fi
1306+ AC_SUBST([HAVE_LIB]NAME)
1307+ AC_SUBST([LIB]NAME)
1308+ AC_SUBST([LTLIB]NAME)
1309+ undefine([Name])
1310+ undefine([NAME])
1311+])
1312+
1313+dnl Determine the platform dependent parameters needed to use rpath:
1314+dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
1315+dnl hardcode_direct, hardcode_minus_L,
1316+dnl sys_lib_search_path_spec, sys_lib_dlsearch_path_spec.
1317+AC_DEFUN([AC_LIB_RPATH],
1318+[
1319+ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
1320+ AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
1321+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
1322+ AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir
1323+ AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [
1324+ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
1325+ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
1326+ . ./conftest.sh
1327+ rm -f ./conftest.sh
1328+ acl_cv_rpath=done
1329+ ])
1330+ wl="$acl_cv_wl"
1331+ libext="$acl_cv_libext"
1332+ shlibext="$acl_cv_shlibext"
1333+ hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
1334+ hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
1335+ hardcode_direct="$acl_cv_hardcode_direct"
1336+ hardcode_minus_L="$acl_cv_hardcode_minus_L"
1337+ sys_lib_search_path_spec="$acl_cv_sys_lib_search_path_spec"
1338+ sys_lib_dlsearch_path_spec="$acl_cv_sys_lib_dlsearch_path_spec"
1339+ dnl Determine whether the user wants rpath handling at all.
1340+ AC_ARG_ENABLE(rpath,
1341+ [ --disable-rpath do not hardcode runtime library paths],
1342+ :, enable_rpath=yes)
1343+])
1344+
1345+dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and
1346+dnl the libraries corresponding to explicit and implicit dependencies.
1347+dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables.
1348+AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
1349+[
1350+ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
1351+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
1352+ dnl By default, look in $includedir and $libdir.
1353+ use_additional=yes
1354+ AC_LIB_WITH_FINAL_PREFIX([
1355+ eval additional_includedir=\"$includedir\"
1356+ eval additional_libdir=\"$libdir\"
1357+ ])
1358+ AC_ARG_WITH([lib$1-prefix],
1359+[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib
1360+ --without-lib$1-prefix don't search for lib$1 in includedir and libdir],
1361+[
1362+ if test "X$withval" = "Xno"; then
1363+ use_additional=no
1364+ else
1365+ if test "X$withval" = "X"; then
1366+ AC_LIB_WITH_FINAL_PREFIX([
1367+ eval additional_includedir=\"$includedir\"
1368+ eval additional_libdir=\"$libdir\"
1369+ ])
1370+ else
1371+ additional_includedir="$withval/include"
1372+ additional_libdir="$withval/lib"
1373+ fi
1374+ fi
1375+])
1376+ dnl Search the library and its dependencies in $additional_libdir and
1377+ dnl $LDFLAGS. Using breadth-first-seach.
1378+ LIB[]NAME=
1379+ LTLIB[]NAME=
1380+ INC[]NAME=
1381+ rpathdirs=
1382+ ltrpathdirs=
1383+ names_already_handled=
1384+ names_next_round='$1 $2'
1385+ while test -n "$names_next_round"; do
1386+ names_this_round="$names_next_round"
1387+ names_next_round=
1388+ for name in $names_this_round; do
1389+ already_handled=
1390+ for n in $names_already_handled; do
1391+ if test "$n" = "$name"; then
1392+ already_handled=yes
1393+ break
1394+ fi
1395+ done
1396+ if test -z "$already_handled"; then
1397+ names_already_handled="$names_already_handled $name"
1398+ dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
1399+ dnl or AC_LIB_HAVE_LINKFLAGS call.
1400+ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
1401+ eval value=\"\$HAVE_LIB$uppername\"
1402+ if test -n "$value"; then
1403+ if test "$value" = yes; then
1404+ eval value=\"\$LIB$uppername\"
1405+ test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value"
1406+ eval value=\"\$LTLIB$uppername\"
1407+ test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value"
1408+ else
1409+ dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
1410+ dnl that this library doesn't exist. So just drop it.
1411+ :
1412+ fi
1413+ else
1414+ dnl Search the library lib$name in $additional_libdir and $LDFLAGS
1415+ dnl and the already constructed $LIBNAME/$LTLIBNAME.
1416+ found_dir=
1417+ found_la=
1418+ found_so=
1419+ found_a=
1420+ if test $use_additional = yes; then
1421+ if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
1422+ found_dir="$additional_libdir"
1423+ found_so="$additional_libdir/lib$name.$shlibext"
1424+ if test -f "$additional_libdir/lib$name.la"; then
1425+ found_la="$additional_libdir/lib$name.la"
1426+ fi
1427+ else
1428+ if test -f "$additional_libdir/lib$name.$libext"; then
1429+ found_dir="$additional_libdir"
1430+ found_a="$additional_libdir/lib$name.$libext"
1431+ if test -f "$additional_libdir/lib$name.la"; then
1432+ found_la="$additional_libdir/lib$name.la"
1433+ fi
1434+ fi
1435+ fi
1436+ fi
1437+ if test "X$found_dir" = "X"; then
1438+ for x in $LDFLAGS $LTLIB[]NAME; do
1439+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1440+ case "$x" in
1441+ -L*)
1442+ dir=`echo "X$x" | sed -e 's/^X-L//'`
1443+ if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
1444+ found_dir="$dir"
1445+ found_so="$dir/lib$name.$shlibext"
1446+ if test -f "$dir/lib$name.la"; then
1447+ found_la="$dir/lib$name.la"
1448+ fi
1449+ else
1450+ if test -f "$dir/lib$name.$libext"; then
1451+ found_dir="$dir"
1452+ found_a="$dir/lib$name.$libext"
1453+ if test -f "$dir/lib$name.la"; then
1454+ found_la="$dir/lib$name.la"
1455+ fi
1456+ fi
1457+ fi
1458+ ;;
1459+ esac
1460+ if test "X$found_dir" != "X"; then
1461+ break
1462+ fi
1463+ done
1464+ fi
1465+ if test "X$found_dir" != "X"; then
1466+ dnl Found the library.
1467+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name"
1468+ if test "X$found_so" != "X"; then
1469+ dnl Linking with a shared library. We attempt to hardcode its
1470+ dnl directory into the executable's runpath, unless it's the
1471+ dnl standard /usr/lib.
1472+ if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
1473+ dnl No hardcoding is needed.
1474+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1475+ else
1476+ dnl Use an explicit option to hardcode DIR into the resulting
1477+ dnl binary.
1478+ dnl Potentially add DIR to ltrpathdirs.
1479+ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
1480+ haveit=
1481+ for x in $ltrpathdirs; do
1482+ if test "X$x" = "X$found_dir"; then
1483+ haveit=yes
1484+ break
1485+ fi
1486+ done
1487+ if test -z "$haveit"; then
1488+ ltrpathdirs="$ltrpathdirs $found_dir"
1489+ fi
1490+ dnl The hardcoding into $LIBNAME is system dependent.
1491+ if test "$hardcode_direct" = yes; then
1492+ dnl Using DIR/libNAME.so during linking hardcodes DIR into the
1493+ dnl resulting binary.
1494+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1495+ else
1496+ if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
1497+ dnl Use an explicit option to hardcode DIR into the resulting
1498+ dnl binary.
1499+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1500+ dnl Potentially add DIR to rpathdirs.
1501+ dnl The rpathdirs will be appended to $LIBNAME at the end.
1502+ haveit=
1503+ for x in $rpathdirs; do
1504+ if test "X$x" = "X$found_dir"; then
1505+ haveit=yes
1506+ break
1507+ fi
1508+ done
1509+ if test -z "$haveit"; then
1510+ rpathdirs="$rpathdirs $found_dir"
1511+ fi
1512+ else
1513+ dnl Rely on "-L$found_dir".
1514+ dnl But don't add it if it's already contained in the LDFLAGS
1515+ dnl or the already constructed $LIBNAME
1516+ haveit=
1517+ for x in $LDFLAGS $LIB[]NAME; do
1518+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1519+ if test "X$x" = "X-L$found_dir"; then
1520+ haveit=yes
1521+ break
1522+ fi
1523+ done
1524+ if test -z "$haveit"; then
1525+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir"
1526+ fi
1527+ if test "$hardcode_minus_L" != no; then
1528+ dnl FIXME: Not sure whether we should use
1529+ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
1530+ dnl here.
1531+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so"
1532+ else
1533+ dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH
1534+ dnl here, because this doesn't fit in flags passed to the
1535+ dnl compiler. So give up. No hardcoding. This affects only
1536+ dnl very old systems.
1537+ dnl FIXME: Not sure whether we should use
1538+ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so"
1539+ dnl here.
1540+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
1541+ fi
1542+ fi
1543+ fi
1544+ fi
1545+ else
1546+ if test "X$found_a" != "X"; then
1547+ dnl Linking with a static library.
1548+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a"
1549+ else
1550+ dnl We shouldn't come here, but anyway it's good to have a
1551+ dnl fallback.
1552+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name"
1553+ fi
1554+ fi
1555+ dnl Assume the include files are nearby.
1556+ additional_includedir=
1557+ case "$found_dir" in
1558+ */lib | */lib/)
1559+ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
1560+ additional_includedir="$basedir/include"
1561+ ;;
1562+ esac
1563+ if test "X$additional_includedir" != "X"; then
1564+ dnl Potentially add $additional_includedir to $INCNAME.
1565+ dnl But don't add it
1566+ dnl 1. if it's the standard /usr/include,
1567+ dnl 2. if it's /usr/local/include and we are using GCC on Linux,
1568+ dnl 3. if it's already present in $CPPFLAGS or the already
1569+ dnl constructed $INCNAME,
1570+ dnl 4. if it doesn't exist as a directory.
1571+ if test "X$additional_includedir" != "X/usr/include"; then
1572+ haveit=
1573+ if test "X$additional_includedir" = "X/usr/local/include"; then
1574+ if test -n "$GCC"; then
1575+ case $host_os in
1576+ linux*) haveit=yes;;
1577+ esac
1578+ fi
1579+ fi
1580+ if test -z "$haveit"; then
1581+ for x in $CPPFLAGS $INC[]NAME; do
1582+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1583+ if test "X$x" = "X-I$additional_includedir"; then
1584+ haveit=yes
1585+ break
1586+ fi
1587+ done
1588+ if test -z "$haveit"; then
1589+ if test -d "$additional_includedir"; then
1590+ dnl Really add $additional_includedir to $INCNAME.
1591+ INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir"
1592+ fi
1593+ fi
1594+ fi
1595+ fi
1596+ fi
1597+ dnl Look for dependencies.
1598+ if test -n "$found_la"; then
1599+ dnl Read the .la file. It defines the variables
1600+ dnl dlname, library_names, old_library, dependency_libs, current,
1601+ dnl age, revision, installed, dlopen, dlpreopen, libdir.
1602+ save_libdir="$libdir"
1603+ case "$found_la" in
1604+ */* | *\\*) . "$found_la" ;;
1605+ *) . "./$found_la" ;;
1606+ esac
1607+ libdir="$save_libdir"
1608+ dnl We use only dependency_libs.
1609+ for dep in $dependency_libs; do
1610+ case "$dep" in
1611+ -L*)
1612+ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
1613+ dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
1614+ dnl But don't add it
1615+ dnl 1. if it's the standard /usr/lib,
1616+ dnl 2. if it's /usr/local/lib and we are using GCC on Linux,
1617+ dnl 3. if it's already present in $LDFLAGS or the already
1618+ dnl constructed $LIBNAME,
1619+ dnl 4. if it doesn't exist as a directory.
1620+ if test "X$additional_libdir" != "X/usr/lib"; then
1621+ haveit=
1622+ if test "X$additional_libdir" = "X/usr/local/lib"; then
1623+ if test -n "$GCC"; then
1624+ case $host_os in
1625+ linux*) haveit=yes;;
1626+ esac
1627+ fi
1628+ fi
1629+ if test -z "$haveit"; then
1630+ haveit=
1631+ for x in $LDFLAGS $LIB[]NAME; do
1632+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1633+ if test "X$x" = "X-L$additional_libdir"; then
1634+ haveit=yes
1635+ break
1636+ fi
1637+ done
1638+ if test -z "$haveit"; then
1639+ if test -d "$additional_libdir"; then
1640+ dnl Really add $additional_libdir to $LIBNAME.
1641+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir"
1642+ fi
1643+ fi
1644+ haveit=
1645+ for x in $LDFLAGS $LTLIB[]NAME; do
1646+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1647+ if test "X$x" = "X-L$additional_libdir"; then
1648+ haveit=yes
1649+ break
1650+ fi
1651+ done
1652+ if test -z "$haveit"; then
1653+ if test -d "$additional_libdir"; then
1654+ dnl Really add $additional_libdir to $LTLIBNAME.
1655+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir"
1656+ fi
1657+ fi
1658+ fi
1659+ fi
1660+ ;;
1661+ -R*)
1662+ dir=`echo "X$dep" | sed -e 's/^X-R//'`
1663+ if test "$enable_rpath" != no; then
1664+ dnl Potentially add DIR to rpathdirs.
1665+ dnl The rpathdirs will be appended to $LIBNAME at the end.
1666+ haveit=
1667+ for x in $rpathdirs; do
1668+ if test "X$x" = "X$dir"; then
1669+ haveit=yes
1670+ break
1671+ fi
1672+ done
1673+ if test -z "$haveit"; then
1674+ rpathdirs="$rpathdirs $dir"
1675+ fi
1676+ dnl Potentially add DIR to ltrpathdirs.
1677+ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
1678+ haveit=
1679+ for x in $ltrpathdirs; do
1680+ if test "X$x" = "X$dir"; then
1681+ haveit=yes
1682+ break
1683+ fi
1684+ done
1685+ if test -z "$haveit"; then
1686+ ltrpathdirs="$ltrpathdirs $dir"
1687+ fi
1688+ fi
1689+ ;;
1690+ -l*)
1691+ dnl Handle this in the next round.
1692+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
1693+ ;;
1694+ *.la)
1695+ dnl Handle this in the next round. Throw away the .la's
1696+ dnl directory; it is already contained in a preceding -L
1697+ dnl option.
1698+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
1699+ ;;
1700+ *)
1701+ dnl Most likely an immediate library name.
1702+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep"
1703+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep"
1704+ ;;
1705+ esac
1706+ done
1707+ fi
1708+ else
1709+ dnl Didn't find the library; assume it is in the system directories
1710+ dnl known to the linker and runtime loader. (All the system
1711+ dnl directories known to the linker should also be known to the
1712+ dnl runtime loader, otherwise the system is severely misconfigured.)
1713+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name"
1714+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name"
1715+ fi
1716+ fi
1717+ fi
1718+ done
1719+ done
1720+ if test "X$rpathdirs" != "X"; then
1721+ if test -n "$hardcode_libdir_separator"; then
1722+ dnl Weird platform: only the last -rpath option counts, the user must
1723+ dnl pass all path elements in one option. We can arrange that for a
1724+ dnl single library, but not when more than one $LIBNAMEs are used.
1725+ alldirs=
1726+ for found_dir in $rpathdirs; do
1727+ alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
1728+ done
1729+ dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl.
1730+ acl_save_libdir="$libdir"
1731+ libdir="$alldirs"
1732+ eval flag=\"$hardcode_libdir_flag_spec\"
1733+ libdir="$acl_save_libdir"
1734+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
1735+ else
1736+ dnl The -rpath options are cumulative.
1737+ for found_dir in $rpathdirs; do
1738+ acl_save_libdir="$libdir"
1739+ libdir="$found_dir"
1740+ eval flag=\"$hardcode_libdir_flag_spec\"
1741+ libdir="$acl_save_libdir"
1742+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag"
1743+ done
1744+ fi
1745+ fi
1746+ if test "X$ltrpathdirs" != "X"; then
1747+ dnl When using libtool, the option that works for both libraries and
1748+ dnl executables is -R. The -R options are cumulative.
1749+ for found_dir in $ltrpathdirs; do
1750+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir"
1751+ done
1752+ fi
1753+])
1754+
1755+dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
1756+dnl unless already present in VAR.
1757+dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes
1758+dnl contains two or three consecutive elements that belong together.
1759+AC_DEFUN([AC_LIB_APPENDTOVAR],
1760+[
1761+ for element in [$2]; do
1762+ haveit=
1763+ for x in $[$1]; do
1764+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1765+ if test "X$x" = "X$element"; then
1766+ haveit=yes
1767+ break
1768+ fi
1769+ done
1770+ if test -z "$haveit"; then
1771+ [$1]="${[$1]}${[$1]:+ }$element"
1772+ fi
1773+ done
1774+])
1775--- /dev/null 2003-09-23 18:19:32.000000000 -0400
1776+++ OpenSP-1.5/m4/lib-prefix.m4 2004-01-20 03:02:17.000000000 -0500
1777@@ -0,0 +1,148 @@
1778+# lib-prefix.m4 serial 1 (gettext-0.11)
1779+dnl Copyright (C) 2001-2002 Free Software Foundation, Inc.
1780+dnl This file is free software, distributed under the terms of the GNU
1781+dnl General Public License. As a special exception to the GNU General
1782+dnl Public License, this file may be distributed as part of a program
1783+dnl that contains a configuration script generated by Autoconf, under
1784+dnl the same distribution terms as the rest of that program.
1785+
1786+dnl From Bruno Haible.
1787+
1788+dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
1789+dnl to access previously installed libraries. The basic assumption is that
1790+dnl a user will want packages to use other packages he previously installed
1791+dnl with the same --prefix option.
1792+dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
1793+dnl libraries, but is otherwise very convenient.
1794+AC_DEFUN([AC_LIB_PREFIX],
1795+[
1796+ AC_BEFORE([$0], [AC_LIB_LINKFLAGS])
1797+ AC_REQUIRE([AC_PROG_CC])
1798+ AC_REQUIRE([AC_CANONICAL_HOST])
1799+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
1800+ dnl By default, look in $includedir and $libdir.
1801+ use_additional=yes
1802+ AC_LIB_WITH_FINAL_PREFIX([
1803+ eval additional_includedir=\"$includedir\"
1804+ eval additional_libdir=\"$libdir\"
1805+ ])
1806+ AC_ARG_WITH([lib-prefix],
1807+[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
1808+ --without-lib-prefix don't search for libraries in includedir and libdir],
1809+[
1810+ if test "X$withval" = "Xno"; then
1811+ use_additional=no
1812+ else
1813+ if test "X$withval" = "X"; then
1814+ AC_LIB_WITH_FINAL_PREFIX([
1815+ eval additional_includedir=\"$includedir\"
1816+ eval additional_libdir=\"$libdir\"
1817+ ])
1818+ else
1819+ additional_includedir="$withval/include"
1820+ additional_libdir="$withval/lib"
1821+ fi
1822+ fi
1823+])
1824+ if test $use_additional = yes; then
1825+ dnl Potentially add $additional_includedir to $CPPFLAGS.
1826+ dnl But don't add it
1827+ dnl 1. if it's the standard /usr/include,
1828+ dnl 2. if it's already present in $CPPFLAGS,
1829+ dnl 3. if it's /usr/local/include and we are using GCC on Linux,
1830+ dnl 4. if it doesn't exist as a directory.
1831+ if test "X$additional_includedir" != "X/usr/include"; then
1832+ haveit=
1833+ for x in $CPPFLAGS; do
1834+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1835+ if test "X$x" = "X-I$additional_includedir"; then
1836+ haveit=yes
1837+ break
1838+ fi
1839+ done
1840+ if test -z "$haveit"; then
1841+ if test "X$additional_includedir" = "X/usr/local/include"; then
1842+ if test -n "$GCC"; then
1843+ case $host_os in
1844+ linux*) haveit=yes;;
1845+ esac
1846+ fi
1847+ fi
1848+ if test -z "$haveit"; then
1849+ if test -d "$additional_includedir"; then
1850+ dnl Really add $additional_includedir to $CPPFLAGS.
1851+ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
1852+ fi
1853+ fi
1854+ fi
1855+ fi
1856+ dnl Potentially add $additional_libdir to $LDFLAGS.
1857+ dnl But don't add it
1858+ dnl 1. if it's the standard /usr/lib,
1859+ dnl 2. if it's already present in $LDFLAGS,
1860+ dnl 3. if it's /usr/local/lib and we are using GCC on Linux,
1861+ dnl 4. if it doesn't exist as a directory.
1862+ if test "X$additional_libdir" != "X/usr/lib"; then
1863+ haveit=
1864+ for x in $LDFLAGS; do
1865+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"])
1866+ if test "X$x" = "X-L$additional_libdir"; then
1867+ haveit=yes
1868+ break
1869+ fi
1870+ done
1871+ if test -z "$haveit"; then
1872+ if test "X$additional_libdir" = "X/usr/local/lib"; then
1873+ if test -n "$GCC"; then
1874+ case $host_os in
1875+ linux*) haveit=yes;;
1876+ esac
1877+ fi
1878+ fi
1879+ if test -z "$haveit"; then
1880+ if test -d "$additional_libdir"; then
1881+ dnl Really add $additional_libdir to $LDFLAGS.
1882+ LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
1883+ fi
1884+ fi
1885+ fi
1886+ fi
1887+ fi
1888+])
1889+
1890+dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix,
1891+dnl acl_final_exec_prefix, containing the values to which $prefix and
1892+dnl $exec_prefix will expand at the end of the configure script.
1893+AC_DEFUN([AC_LIB_PREPARE_PREFIX],
1894+[
1895+ dnl Unfortunately, prefix and exec_prefix get only finally determined
1896+ dnl at the end of configure.
1897+ if test "X$prefix" = "XNONE"; then
1898+ acl_final_prefix="$ac_default_prefix"
1899+ else
1900+ acl_final_prefix="$prefix"
1901+ fi
1902+ if test "X$exec_prefix" = "XNONE"; then
1903+ acl_final_exec_prefix='${prefix}'
1904+ else
1905+ acl_final_exec_prefix="$exec_prefix"
1906+ fi
1907+ acl_save_prefix="$prefix"
1908+ prefix="$acl_final_prefix"
1909+ eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
1910+ prefix="$acl_save_prefix"
1911+])
1912+
1913+dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
1914+dnl variables prefix and exec_prefix bound to the values they will have
1915+dnl at the end of the configure script.
1916+AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX],
1917+[
1918+ acl_save_prefix="$prefix"
1919+ prefix="$acl_final_prefix"
1920+ acl_save_exec_prefix="$exec_prefix"
1921+ exec_prefix="$acl_final_exec_prefix"
1922+ $1
1923+ exec_prefix="$acl_save_exec_prefix"
1924+ prefix="$acl_save_prefix"
1925+])
diff --git a/meta/recipes-devtools/opensp/opensp/rangmap-fix.patch b/meta/recipes-devtools/opensp/opensp/rangmap-fix.patch
new file mode 100644
index 0000000000..cc849ca3a8
--- /dev/null
+++ b/meta/recipes-devtools/opensp/opensp/rangmap-fix.patch
@@ -0,0 +1,15 @@
1Patch obtained from OpenEmbedded.
2
3Signed-off-by: Scott Garman <scott.a.garman@intel.com>
4Index: OpenSP-1.5/include/RangeMap.cxx
5===================================================================
6--- OpenSP-1.5.orig/include/RangeMap.cxx 2000-02-26 03:55:21.000000000 +1100
7+++ OpenSP-1.5/include/RangeMap.cxx 2007-06-02 11:48:17.000000000 +1000
8@@ -7,6 +7,7 @@
9 #include "RangeMap.h"
10 #include "ISet.h"
11 #include "types.h"
12+#include "constant.h"
13
14 #ifdef SP_NAMESPACE
15 namespace SP_NAMESPACE {
diff --git a/meta/recipes-devtools/opensp/opensp_1.5.bb b/meta/recipes-devtools/opensp/opensp_1.5.bb
new file mode 100644
index 0000000000..bda87cb06d
--- /dev/null
+++ b/meta/recipes-devtools/opensp/opensp_1.5.bb
@@ -0,0 +1,27 @@
1SUMMARY = "An SGML parser"
2DESCRIPTION = "An SGML parser used by the OpenJade suite of utilities."
3HOMEPAGE = "http://openjade.sourceforge.net"
4SECTION = "libs"
5LICENSE = "BSD"
6LIC_FILES_CHKSUM = "file://COPYING;md5=641ff1e4511f0a87044ad42f87cb1045"
7
8PR = "r0"
9
10# At -Os it encounters calls to some inline functions which are then
11# not found in any other objects with gcc 4.5
12FULL_OPTIMIZATION += "-O2"
13
14SRC_URI = "${SOURCEFORGE_MIRROR}/openjade/OpenSP-${PV}.tar.gz \
15 file://m4.patch \
16 file://attributevalue.patch \
17 file://rangmap-fix.patch \
18 file://fix-docdir.patch"
19
20SRC_URI[md5sum] = "87f56e79ae0c20397f4207d61d154303"
21SRC_URI[sha256sum] = "987eeb9460185950e066e5db3b5fa531e53e213742b545288405552a5a7bb704"
22
23S = "${WORKDIR}/OpenSP-${PV}"
24
25inherit autotools gettext
26
27BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb
index 087d25498f..8560f36c5b 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_svn.bb
@@ -5,10 +5,10 @@ PRIORITY = "optional"
5LICENSE = "GPLv2+" 5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ 6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
7 file://opkg.py;beginline=1;endline=18;md5=15917491ad6bf7acc666ca5f7cc1e083" 7 file://opkg.py;beginline=1;endline=18;md5=15917491ad6bf7acc666ca5f7cc1e083"
8RDEPENDS = "python" 8RDEPENDS_${PN} = "python"
9RDEPENDS_virtclass-native = "" 9RDEPENDS_${PN}_virtclass-native = ""
10PV = "0.1.8+svnr${SRCREV}" 10PV = "0.1.8+svnr${SRCPV}"
11PR = "r1" 11PR = "r2"
12 12
13SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=opkg-utils;proto=http \ 13SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=opkg-utils;proto=http \
14 file://index-ignore-filenotfound.patch" 14 file://index-ignore-filenotfound.patch"
diff --git a/meta/recipes-devtools/opkg/opkg-0.1.8/opkg_unarchive.patch b/meta/recipes-devtools/opkg/opkg-0.1.8/opkg_unarchive.patch
deleted file mode 100644
index 4b12448155..0000000000
--- a/meta/recipes-devtools/opkg/opkg-0.1.8/opkg_unarchive.patch
+++ /dev/null
@@ -1,17 +0,0 @@
1Rebase for the latest version
2Dongxiao Xu <dongxiao.xu@intel.com>
3
4diff -ruN opkg-0.1.8-orig/libbb/unarchive.c opkg-0.1.8/libbb/unarchive.c
5--- opkg-0.1.8-orig/libbb/unarchive.c 2010-07-20 09:39:02.266424893 +0800
6+++ opkg-0.1.8/libbb/unarchive.c 2010-07-20 09:39:50.474435569 +0800
7@@ -523,6 +523,10 @@
8 }
9 }
10
11+ if (strlen(tar_entry->name) > 100) {
12+ tar_entry->name[100] = 0;
13+ }
14+
15 // tar_entry->name = xstrdup(tar.formated.name);
16
17 /*
diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc
index add1563c47..c3174917a5 100644
--- a/meta/recipes-devtools/opkg/opkg.inc
+++ b/meta/recipes-devtools/opkg/opkg.inc
@@ -31,3 +31,6 @@ EXTRA_OECONF_virtclass-nativesdk = "--with-opkglibdir=${target_localstatedir}/li
31#RPROVIDES_${PN} += "update-alternatives-native" 31#RPROVIDES_${PN} += "update-alternatives-native"
32 32
33BBCLASSEXTEND = "native nativesdk" 33BBCLASSEXTEND = "native nativesdk"
34
35PKGSUFFIX = ""
36PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
diff --git a/meta/recipes-devtools/opkg/opkg/logfix.patch b/meta/recipes-devtools/opkg/opkg/logfix.patch
deleted file mode 100644
index da06f00bd0..0000000000
--- a/meta/recipes-devtools/opkg/opkg/logfix.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1Patch to remove "duplicate" bits of logs from opkg output, which
2massively simplifies do_rootfs logs. The reason is we get unflushed
3data passed to the children and duplicated.
4
5RP - 26/1/10
6
7Index: trunk/libbb/gz_open.c
8===================================================================
9--- trunk.orig/libbb/gz_open.c 2010-01-26 23:12:10.000000000 +0000
10+++ trunk/libbb/gz_open.c 2010-01-26 23:12:17.000000000 +0000
11@@ -38,6 +38,12 @@
12 perror_msg("pipe");
13 return(NULL);
14 }
15+
16+ /* If we don't flush, we end up with two copies of anything pending,
17+ one from the parent, one from the child */
18+ fflush(stdout);
19+ fflush(stderr);
20+
21 if ((*pid = fork()) == -1) {
22 perror_msg("fork");
23 return(NULL);
diff --git a/meta/recipes-devtools/opkg/opkg_0.1.8.bb b/meta/recipes-devtools/opkg/opkg_0.1.8.bb
index 4eb3ff9a11..6815474207 100644
--- a/meta/recipes-devtools/opkg/opkg_0.1.8.bb
+++ b/meta/recipes-devtools/opkg/opkg_0.1.8.bb
@@ -15,11 +15,11 @@ SRC_URI = "http://opkg.googlecode.com/files/opkg-${PV}.tar.gz \
15 15
16PR = "r3" 16PR = "r3"
17 17
18PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth" 18PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX} update-alternatives-cworth${PKGSUFFIX}"
19 19
20FILES_update-alternatives-cworth = "${bindir}/update-alternatives" 20FILES_update-alternatives-cworth${PKGSUFFIX} = "${bindir}/update-alternatives"
21FILES_libopkg-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so" 21FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so"
22FILES_libopkg = "${libdir}/*.so.* ${localstatedir}/lib/opkg/" 22FILES_libopkg${PKGSUFFIX} = "${libdir}/*.so.* ${localstatedir}/lib/opkg/"
23 23
24# We need to create the lock directory 24# We need to create the lock directory
25do_install_append() { 25do_install_append() {
diff --git a/meta/recipes-devtools/opkg/opkg_svn.bb b/meta/recipes-devtools/opkg/opkg_svn.bb
index 518c767354..76ec838875 100644
--- a/meta/recipes-devtools/opkg/opkg_svn.bb
+++ b/meta/recipes-devtools/opkg/opkg_svn.bb
@@ -9,21 +9,20 @@ RDEPENDS_${PN}_virtclass-nativesdk = ""
9PACKAGE_ARCH_update-alternatives-cworth = "all" 9PACKAGE_ARCH_update-alternatives-cworth = "all"
10 10
11SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \ 11SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \
12 file://opkg_unarchive.patch \
13 file://add_vercmp.patch \ 12 file://add_vercmp.patch \
14 file://headerfix.patch \ 13 file://headerfix.patch \
15 file://logfix.patch" 14"
16 15
17S = "${WORKDIR}/trunk" 16S = "${WORKDIR}/trunk"
18 17
19PV = "0.0+svnr${SRCREV}" 18PV = "0.1.8+svnr${SRCPV}"
20PR = "r15" 19PR = "r1"
21 20
22PACKAGES =+ "libopkg-dev libopkg update-alternatives-cworth" 21PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX} update-alternatives-cworth${PKGSUFFIX}"
23 22
24FILES_update-alternatives-cworth = "${bindir}/update-alternatives" 23FILES_update-alternatives-cworth${PKGSUFFIX} = "${bindir}/update-alternatives"
25FILES_libopkg-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so" 24FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so"
26FILES_libopkg = "${libdir}/*.so.* ${localstatedir}/lib/opkg/" 25FILES_libopkg${PKGSUFFIX} = "${libdir}/*.so.* ${localstatedir}/lib/opkg/"
27 26
28# We need to create the lock directory 27# We need to create the lock directory
29do_install_append() { 28do_install_append() {
diff --git a/meta/recipes-devtools/patch/patch_2.6.1.bb b/meta/recipes-devtools/patch/patch_2.6.1.bb
index 8d07a7811c..39d6fc6c68 100644
--- a/meta/recipes-devtools/patch/patch_2.6.1.bb
+++ b/meta/recipes-devtools/patch/patch_2.6.1.bb
@@ -6,7 +6,7 @@ PR = "r0"
6SRC_URI += " file://global-reject-file.diff;patch=1 " 6SRC_URI += " file://global-reject-file.diff;patch=1 "
7 7
8SRC_URI[md5sum] = "d758eb96d3f75047efc004a720d33daf" 8SRC_URI[md5sum] = "d758eb96d3f75047efc004a720d33daf"
9SRC_URI[sha256sum] = "ecb5c6469d732bcf01d6ec1afe9e64f1668caba5bfdb103c28d7f537ba3cdb8a" 9SRC_URI[sha256sum] = "d1563731e9cffed11cc5f011b2b8e074c325e86a383a91889b5c5b80b09781b9"
10 10
11LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 11LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
12 12
diff --git a/meta/recipes-devtools/pax-utils/pax-utils_0.2.1.bb b/meta/recipes-devtools/pax-utils/pax-utils_0.2.1.bb
deleted file mode 100644
index f19934c223..0000000000
--- a/meta/recipes-devtools/pax-utils/pax-utils_0.2.1.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1SUMMARY = "Security-focused ELF files checking tool"
2DESCRIPTION = "This is a small set of various PaX aware and related utilities for ELF binaries. It can check ELF \
3binary files and running processes for issues that might be relevant when using ELF binaries along with PaX, \
4such as non-PIC code or executable stack and heap."
5HOMEPAGE = "http://www.gentoo.org/proj/en/hardened/pax-utils.xml"
6LICENSE = "GPLv2+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
8SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.bz2"
9
10SRC_URI[md5sum] = "2bf53234580e02294453a40c864f5871"
11SRC_URI[sha256sum] = "6a5beefb686e425eb6829bc716d2b32b64c2e854287c212c9853bc2beb705c3a"
12
13PR = "r0"
14
15do_install() {
16 oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install
17}
18
19BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/pax-utils/pax-utils_0.2.2.bb b/meta/recipes-devtools/pax-utils/pax-utils_0.2.2.bb
new file mode 100644
index 0000000000..6bb33e7138
--- /dev/null
+++ b/meta/recipes-devtools/pax-utils/pax-utils_0.2.2.bb
@@ -0,0 +1,21 @@
1SUMMARY = "Security-focused ELF files checking tool"
2DESCRIPTION = "This is a small set of various PaX aware and related \
3utilities for ELF binaries. It can check ELF binary files and running \
4processes for issues that might be relevant when using ELF binaries \
5along with PaX, such as non-PIC code or executable stack and heap."
6HOMEPAGE = "http://www.gentoo.org/proj/en/hardened/pax-utils.xml"
7LICENSE = "GPLv2+"
8LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
9
10SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.bz2"
11
12SRC_URI[md5sum] = "93a2e993ec7a83627c39ddf92988e191"
13SRC_URI[sha256sum] = "eac86abe7871ee12452d221c1e7c21acb9ba78ba2cba1daa587d3c93c77acd07"
14
15PR = "r0"
16
17do_install() {
18 oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install
19}
20
21BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/perl/files/letgcc-find-errno.patch b/meta/recipes-devtools/perl/files/letgcc-find-errno.patch
index 24722ee964..47f972d039 100644
--- a/meta/recipes-devtools/perl/files/letgcc-find-errno.patch
+++ b/meta/recipes-devtools/perl/files/letgcc-find-errno.patch
@@ -8,10 +8,12 @@ external toolchain since perl will search in ${STAGING_INCDIR} for
8errno.h (when using gcc) and that isn't where it's located - its 8errno.h (when using gcc) and that isn't where it's located - its
9wherever the external toolchain keeps it's headers. 9wherever the external toolchain keeps it's headers.
10 10
11--- perl-5.8.8/ext/Errno/Errno_pm.PL 2007/04/30 14:10:10 1.1 11Index: perl-5.12.2/ext/Errno/Errno_pm.PL
12+++ perl-5.8.8/ext/Errno/Errno_pm.PL 2007/04/30 14:21:35 12===================================================================
13@@ -11,8 +11,18 @@ 13--- perl-5.12.2.orig/ext/Errno/Errno_pm.PL
14 open OUT, ">Errno.pm" or die "Cannot open Errno.pm: $!"; 14+++ perl-5.12.2/ext/Errno/Errno_pm.PL
15@@ -17,8 +17,18 @@ unlink "Errno.tmp" if -f "Errno.tmp";
16 open OUT, ">Errno.tmp" or die "Cannot open Errno.tmp: $!";
15 select OUT; 17 select OUT;
16 my $file; 18 my $file;
17-my @files = get_files(); 19-my @files = get_files();
@@ -31,12 +33,12 @@ wherever the external toolchain keeps it's headers.
31 # MinGW complains "warning: #pragma system_header ignored outside include 33 # MinGW complains "warning: #pragma system_header ignored outside include
32 # file" if the header files are processed individually, so include them 34 # file" if the header files are processed individually, so include them
33 # all in .c file and process that instead. 35 # all in .c file and process that instead.
34@@ -44,7 +54,7 @@ 36@@ -53,7 +63,7 @@ sub process_file {
35 chomp($file = `cygpath -w "$file"`); 37 chomp($file = `cygpath -w "$file"`);
36 } 38 }
37 39
38- return unless defined $file and -f $file; 40- return unless defined $file and -f $file;
39+# return unless defined $file and -f $file; 41+# return unless defined $file and -f $file;
40 # warn "Processing $file\n"; 42 # warn "Processing $file\n";
41 43
42 local *FH; 44 local *FH;
diff --git a/meta/recipes-devtools/perl/files/perl-5.8.8-gcc-4.2.patch b/meta/recipes-devtools/perl/files/perl-5.8.8-gcc-4.2.patch
deleted file mode 100644
index 653a4758f4..0000000000
--- a/meta/recipes-devtools/perl/files/perl-5.8.8-gcc-4.2.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1See http://bugs.openembedded.net/show_bug.cgi?id=2168
2Fix for gcc 4.2
3
4--- perl-5.8.8/makedepend.SH.ark 2006-11-01 16:32:05.000000000 +0100
5+++ perl-5.8.8/makedepend.SH 2006-11-01 16:32:15.000000000 +0100
6@@ -167,6 +167,7 @@
7 -e '/^#.*<builtin>/d' \
8 -e '/^#.*<built-in>/d' \
9 -e '/^#.*<command line>/d' \
10+ -e '/^#.*<command-line>/d' \
11 -e '/^#.*"-"/d' \
12 -e '/: file path prefix .* never used$/d' \
13 -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
diff --git a/meta/recipes-devtools/perl/liburi-perl_1.56 b/meta/recipes-devtools/perl/liburi-perl_1.56.bb
index 76a1231388..76a1231388 100644
--- a/meta/recipes-devtools/perl/liburi-perl_1.56
+++ b/meta/recipes-devtools/perl/liburi-perl_1.56.bb
diff --git a/meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb b/meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb
index 136e117c85..ca57776dac 100644
--- a/meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb
+++ b/meta/recipes-devtools/perl/libxml-simple-perl_2.18.bb
@@ -2,7 +2,7 @@ SECTION = "libs"
2LICENSE = "Artistic" 2LICENSE = "Artistic"
3LIC_FILES_CHKSUM = "file://README;beginline=70;md5=94aa5d46682b411a53a5494cfb22640e" 3LIC_FILES_CHKSUM = "file://README;beginline=70;md5=94aa5d46682b411a53a5494cfb22640e"
4DEPENDS += "libxml-parser-perl" 4DEPENDS += "libxml-parser-perl"
5PR = "r0" 5PR = "r1"
6 6
7SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Simple-${PV}.tar.gz" 7SRC_URI = "http://www.cpan.org/modules/by-module/XML/XML-Simple-${PV}.tar.gz"
8 8
@@ -11,4 +11,6 @@ SRC_URI[sha256sum] = "a54967c188cda3e20f496c83be4de3f1740eeaa83c0380712ecd969ad8
11 11
12S = "${WORKDIR}/XML-Simple-${PV}" 12S = "${WORKDIR}/XML-Simple-${PV}"
13 13
14EXTRA_PERLFLAGS = "-I ${STAGING_LIBDIR_NATIVE}/perl/${@get_perl_version(d)}"
15
14inherit cpan 16inherit cpan
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/09_fix_installperl.patch b/meta/recipes-devtools/perl/perl-5.12.2/09_fix_installperl.patch
new file mode 100644
index 0000000000..6f2531b952
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/09_fix_installperl.patch
@@ -0,0 +1,19 @@
1Correctly identify arch-specific modules in ext/ where the .pm files
2are under lib.
3
4Ensure that POSIX/SigAction is kept with the rest of the POSIX module
5under archlib.
6
7Index: perl-5.12.2/installperl
8===================================================================
9--- perl-5.12.2.orig/installperl
10+++ perl-5.12.2/installperl
11@@ -750,7 +750,7 @@ sub installlib {
12 }
13
14 if (-f $_) {
15- if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$])) {
16+ if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$] && $archpms{$1})) {
17 $installlib = $installprivlib;
18 #We're installing *.al and *.ix files into $installprivlib,
19 #but we have to delete old *.al and *.ix files from the 5.000
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/Makefile.SH.patch b/meta/recipes-devtools/perl/perl-5.12.2/Makefile.SH.patch
new file mode 100644
index 0000000000..103fe978bc
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/Makefile.SH.patch
@@ -0,0 +1,288 @@
1Index: perl-5.12.2/Makefile.SH
2===================================================================
3--- perl-5.12.2.orig/Makefile.SH
4+++ perl-5.12.2/Makefile.SH
5@@ -50,12 +50,12 @@ case "$useshrplib" in
6 true)
7 # Prefix all runs of 'miniperl' and 'perl' with
8 # $ldlibpth so that ./perl finds *this* shared libperl.
9- case "$LD_LIBRARY_PATH" in
10- '')
11- ldlibpth="LD_LIBRARY_PATH=`pwd`";;
12- *)
13- ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";;
14- esac
15+# case "$LD_LIBRARY_PATH" in
16+# '')
17+# ldlibpth="LD_LIBRARY_PATH=`pwd`";;
18+# *)
19+# ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";;
20+# esac
21
22 pldlflags="$cccdlflags"
23 static_ldflags=''
24@@ -133,7 +133,8 @@ true)
25 ldlibpth=''
26 ;;
27 *)
28- eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\""
29+# We compile in the library path in OE from cross-compile, so lets not do this
30+# eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\""
31 ;;
32 esac
33 # Strip off any trailing :'s
34@@ -154,18 +155,7 @@ true)
35 # INSTALL file, under "Building a shared perl library".
36 # If there is no pre-existing $libperl, we don't need
37 # to do anything further.
38- if test -f $archlib/CORE/$libperl; then
39- rm -f preload
40- cat <<'EOT' > preload
41-#! /bin/sh
42-lib=$1
43-shift
44-test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
45-exec "$@"
46-EOT
47- chmod 755 preload
48- ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
49- fi
50+ echo linux libraries overwritten by cross-compile patches
51 ;;
52 os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
53 ;;
54@@ -553,9 +543,19 @@ splintfiles = $(c1)
55 .c.s:
56 $(CCCMDSRC) -S $*.c
57
58-all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) miniperl $(generated_pods) $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
59- @echo " ";
60- @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
61+#all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) miniperl $(generated_pods) $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
62+# @echo " ";
63+# @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
64+
65+all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) miniperl $(unidatafiles)
66+
67+more: $(generated_pods) $(private) $(public)
68+
69+more2: $(dynamic_ext)
70+
71+more3: $(nonxs_ext)
72+
73+more4: extras.make
74
75 .PHONY: all translators utilities
76
77@@ -563,16 +563,16 @@ all: $(FIRSTMAKEFILE) $(MINIPERL_EXE) mi
78 # by make_patchnum.pl.
79 git_version.h: lib/Config_git.pl
80
81-lib/Config_git.pl: $(MINIPERL_EXE) make_patchnum.pl
82+lib/Config_git.pl: make_patchnum.pl
83 $(MINIPERL) make_patchnum.pl
84
85 # make sure that we recompile perl.c if the git version changes
86 perl$(OBJ_EXT): git_version.h
87
88-translators: $(MINIPERL_EXE) $(CONFIGPM) $(dynamic_ext) FORCE
89+translators: $(CONFIGPM) $(dynamic_ext) FORCE
90 @echo " "; echo " Making x2p stuff"; cd x2p; $(LDLIBPTH) $(MAKE) all
91
92-utilities: $(MINIPERL_EXE) $(CONFIGPM) $(plextract) FORCE
93+utilities: $(CONFIGPM) $(plextract) FORCE
94 @echo " "; echo " Making utilities"; cd utils; $(LDLIBPTH) $(MAKE) all
95
96
97@@ -747,7 +747,7 @@ $(LIBPERL): $& $(obj) $(DYNALOADER) $(LI
98 true)
99 $spitshell >>$Makefile <<'!NO!SUBS!'
100 rm -f $@
101- $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs)
102+ $(LD) -o $@ $(SHRPLDFLAGS) $(obj) $(DYNALOADER) $(libs) -Wl,-soname,libperl.so.5
103 !NO!SUBS!
104 case "$osname" in
105 aix)
106@@ -788,7 +788,9 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX
107 $(CC) -o $(MINIPERL_EXE) $(CLDFLAGS) \
108 $(mini_obj) \
109 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
110- $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
111+ mv -f miniperl miniperl-target
112+ ln -s hostperl miniperl
113+# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
114 !NO!SUBS!
115 ;;
116 next4*)
117@@ -796,7 +798,9 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX
118 $(MINIPERL_EXE): $& miniperlmain$(OBJ_EXT) $(mini_obj) perlmini$(OBJ_EXT) opmini$(OBJ_EXT)
119 $(CC) -o $(MINIPERL_EXE) $(mini_obj) \
120 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
121- $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
122+ mv -f miniperl miniperl-target
123+ ln -s hostperl miniperl
124+# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
125 !NO!SUBS!
126 ;;
127 darwin*)
128@@ -818,7 +822,9 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX
129 $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o $(MINIPERL_EXE) \
130 $(mini_obj) \
131 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
132- $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
133+ mv -f miniperl miniperl-target
134+ ln -s hostperl miniperl
135+# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
136 !NO!SUBS!
137 ;;
138 *)
139@@ -828,7 +834,10 @@ $(MINIPERL_EXE): $& miniperlmain$(OBJ_EX
140 $(LDLIBPTH) $(CC) $(CLDFLAGS) -o $(MINIPERL_EXE) \
141 $(mini_obj) \
142 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perlmini$(OBJ_EXT) $(libs)
143- $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
144+
145+ mv -f miniperl miniperl-target
146+ ln -s hostperl miniperl
147+# $(LDLIBPTH) $(RUN) ./miniperl$(HOST_EXE_EXT) -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
148 !NO!SUBS!
149 ;;
150 esac
151@@ -950,7 +959,7 @@ case "${osname}" in
152 catamount)
153 $spitshell >>$Makefile <<!GROK!THIS!
154 .PHONY: makeppport
155-makeppport: \$(MINIPERL_EXE) \$(CONFIGPM)
156+makeppport: \$(CONFIGPM)
157 -@for f in Makefile.PL PPPort_pm.PL PPPort_xs.PL ppport_h.PL; do \
158 (cd ext/Devel-PPPort && `pwd`/run.sh ../../$(MINIPERL_EXE) -I../../lib \$\$f); \
159 done
160@@ -960,7 +969,7 @@ makeppport: \$(MINIPERL_EXE) \$(CONFIGPM
161 *)
162 $spitshell >>$Makefile <<'!NO!SUBS!'
163 .PHONY: makeppport
164-makeppport: $(MINIPERL_EXE) $(CONFIGPM) $(nonxs_ext)
165+makeppport: $(CONFIGPM) $(nonxs_ext)
166 $(MINIPERL) $(Icwd) mkppport
167
168 !NO!SUBS!
169@@ -970,30 +979,30 @@ esac
170 $spitshell >>$Makefile <<'!NO!SUBS!'
171
172 .PHONY: preplibrary
173-preplibrary: $(MINIPERL_EXE) $(CONFIGPM) lib/re.pm $(PREPLIBRARY_LIBPERL)
174+preplibrary: $(CONFIGPM) lib/re.pm $(PREPLIBRARY_LIBPERL)
175
176 $(CONFIGPM_FROM_CONFIG_SH): $(CONFIGPOD)
177
178-$(CONFIGPOD): config.sh $(MINIPERL_EXE) configpm Porting/Glossary lib/Config_git.pl
179+$(CONFIGPOD): config.sh configpm Porting/Glossary lib/Config_git.pl
180 $(MINIPERL) configpm
181
182-lib/ExtUtils/Miniperl.pm: miniperlmain.c $(MINIPERL_EXE) minimod.pl $(CONFIGPM)
183+lib/ExtUtils/Miniperl.pm: miniperlmain.c minimod.pl $(CONFIGPM)
184 $(MINIPERL) minimod.pl > lib/ExtUtils/Miniperl.pm
185
186 lib/re.pm: ext/re/re.pm
187 @-rm -f $@
188 cp ext/re/re.pm lib/re.pm
189
190-$(plextract): $(MINIPERL_EXE) $(CONFIGPM) x2p/s2p $(dynamic_ext)
191+$(plextract): $(CONFIGPM) x2p/s2p $(dynamic_ext)
192 @-rm -f $@
193 $(MINIPERL) $@.PL
194
195-x2p/s2p: $(MINIPERL_EXE) $(CONFIGPM) $(dynamic_ext) x2p/s2p.PL
196+x2p/s2p: $(CONFIGPM) $(dynamic_ext) x2p/s2p.PL
197 cd x2p; $(LDLIBPTH) $(MAKE) s2p
198
199 unidatafiles $(unidatafiles) pod/perluniprops.pod: uni.data
200
201-uni.data: $(MINIPERL_EXE) $(CONFIGPM) lib/unicore/mktables $(nonxs_ext)
202+uni.data: $(CONFIGPM) lib/unicore/mktables $(nonxs_ext)
203 $(MINIPERL) $(Icwd) lib/unicore/mktables -C lib/unicore -P pod -maketest -makelist -p
204 # Commented out so always runs, mktables looks at far more files than we
205 # can in this makefile to decide if needs to run or not
206@@ -1002,21 +1011,21 @@ uni.data: $(MINIPERL_EXE) $(CONFIGPM) li
207 # $(PERL_EXE) and ext because buildtoc uses Text::Wrap uses re
208 # But also this ensures that all extensions are built before we try to scan
209 # them, which picks up Devel::PPPort's documentation.
210-pod/perltoc.pod: $(perltoc_pod_prereqs) $(PERL_EXE) $(ext) pod/buildtoc
211- $(RUN_PERL) -f -Ilib pod/buildtoc --build-toc -q
212+pod/perltoc.pod: $(perltoc_pod_prereqs) $(ext) pod/buildtoc
213+ $(MINIPERL) -f -Ilib pod/buildtoc --build-toc -q
214
215 pod/perlapi.pod: pod/perlintern.pod
216
217-pod/perlintern.pod: $(MINIPERL_EXE) autodoc.pl embed.fnc
218+pod/perlintern.pod: autodoc.pl embed.fnc
219 $(MINIPERL) autodoc.pl
220
221-pod/perlmodlib.pod: $(MINIPERL_EXE) pod/perlmodlib.PL MANIFEST
222+pod/perlmodlib.pod: pod/perlmodlib.PL MANIFEST
223 $(MINIPERL) $(Icwd) pod/perlmodlib.PL -q
224
225 pod/perldelta.pod: pod/perl5122delta.pod
226 $(LNS) perl5122delta.pod pod/perldelta.pod
227
228-extra.pods: $(MINIPERL_EXE)
229+extra.pods:
230 -@test ! -f extra.pods || rm -f `cat extra.pods`
231 -@rm -f extra.pods
232 -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
233@@ -1059,11 +1068,7 @@ no-install:
234 INSTALL_DEPENDENCE = all
235
236 install.perl: $(INSTALL_DEPENDENCE) installperl
237- $(RUN_PERL) installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
238- -@test ! -s extras.lst || $(MAKE) extras.install
239-
240-install.man: all installman
241- $(RUN_PERL) installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
242+ ./hostperl -Ifake_config_library -Ilib -MConfig installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
243
244 # XXX Experimental. Hardwired values, but useful for testing.
245 # Eventually Configure could ask for some of these values.
246@@ -1160,16 +1165,16 @@ manicheck: FORCE
247 #
248 # DynaLoader may be needed for extensions that use Makefile.PL.
249
250-$(DYNALOADER): $(MINIPERL_EXE) preplibrary FORCE $(nonxs_ext)
251+$(DYNALOADER): preplibrary FORCE $(nonxs_ext)
252 $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=static $(STATIC_LDFLAGS)
253
254-d_dummy $(dynamic_ext): $(MINIPERL_EXE) preplibrary makeppport $(DYNALOADER) FORCE $(PERLEXPORT)
255+d_dummy $(dynamic_ext): preplibrary makeppport $(DYNALOADER) FORCE $(PERLEXPORT)
256 $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=dynamic
257
258-s_dummy $(static_ext): $(MINIPERL_EXE) preplibrary makeppport $(DYNALOADER) FORCE
259+s_dummy $(static_ext): preplibrary makeppport $(DYNALOADER) FORCE
260 $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=static $(STATIC_LDFLAGS)
261
262-n_dummy $(nonxs_ext): $(MINIPERL_EXE) preplibrary FORCE
263+n_dummy $(nonxs_ext): preplibrary FORCE
264 $(MINIPERL) make_ext.pl $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
265 !NO!SUBS!
266
267@@ -1367,10 +1372,10 @@ _test:
268
269 test_prep_pre: preplibrary utilities $(nonxs_ext)
270
271-test_prep: test_prep_pre $(MINIPERL_EXE) $(unidatafiles) $(PERL_EXE) $(dynamic_ext) $(TEST_PERL_DLL) runtests
272+test_prep: test_prep_pre $(unidatafiles) $(PERL_EXE) $(dynamic_ext) $(TEST_PERL_DLL) runtests
273 cd t && (rm -f $(PERL_EXE); $(LNS) ../$(PERL_EXE) $(PERL_EXE))
274
275-test_prep_reonly: $(MINIPERL_EXE) $(PERL_EXE) $(dynamic_ext_re) $(TEST_PERL_DLL)
276+test_prep_reonly: $(PERL_EXE) $(dynamic_ext_re) $(TEST_PERL_DLL)
277 $(MINIPERL) make_ext.pl $(dynamic_ext_re) MAKE=$(MAKE) LIBPERL_A=$(LIBPERL) LINKTYPE=dynamic
278 cd t && (rm -f $(PERL_EXE); $(LNS) ../$(PERL_EXE) $(PERL_EXE))
279
280@@ -1461,7 +1466,7 @@ minitest.prep:
281
282 # Can't depend on lib/Config.pm because that might be where miniperl
283 # is crashing.
284-minitest: $(MINIPERL_EXE) lib/re.pm minitest.prep
285+minitest: lib/re.pm minitest.prep
286 - cd t && (rm -f $(PERL_EXE); $(LNS) ../$(MINIPERL_EXE) $(PERL_EXE)) \
287 && $(RUN_PERL) TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t re/*.t op/*.t uni/*.t </dev/tty
288
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/Makefile.patch b/meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch
index ed494b3287..e7226ff708 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/Makefile.patch
+++ b/meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch
@@ -1,10 +1,10 @@
1Index: perl-5.8.8/Cross/Makefile 1Index: perl-5.12.2/Cross/Makefile
2=================================================================== 2===================================================================
3--- perl-5.8.8.orig/Cross/Makefile 2004-01-12 21:44:01.000000000 +0100 3--- perl-5.12.2.orig/Cross/Makefile
4+++ perl-5.8.8/Cross/Makefile 2007-08-15 00:15:18.000000000 +0200 4+++ perl-5.12.2/Cross/Makefile
5@@ -2,7 +2,8 @@ 5@@ -2,7 +2,8 @@
6 # 6 #
7 ## $Id: Makefile,v 1.7 2004/01/12 15:41:02 red Exp red $ 7 ## $Id: Makefile,v 1.5 2003/12/12 00:48:19 red Exp red $
8 8
9-export TOPDIR=${shell pwd} 9-export TOPDIR=${shell pwd}
10+override TOPDIR=${shell pwd} 10+override TOPDIR=${shell pwd}
@@ -12,7 +12,7 @@ Index: perl-5.8.8/Cross/Makefile
12 include $(TOPDIR)/config 12 include $(TOPDIR)/config
13 export CFLAGS 13 export CFLAGS
14 export SYS=$(ARCH)-$(OS) 14 export SYS=$(ARCH)-$(OS)
15@@ -12,7 +13,7 @@ 15@@ -12,7 +13,7 @@ export OPTIMIZATION = -O2
16 16
17 export CC = $(CROSS)gcc 17 export CC = $(CROSS)gcc
18 export CXX = $(CROSS)g++ 18 export CXX = $(CROSS)g++
@@ -21,7 +21,7 @@ Index: perl-5.8.8/Cross/Makefile
21 export STRIP = $(CROSS)strip 21 export STRIP = $(CROSS)strip
22 export AR = $(CROSS)ar 22 export AR = $(CROSS)ar
23 export RANLIB = $(CROSS)ranlib 23 export RANLIB = $(CROSS)ranlib
24@@ -34,21 +35,6 @@ 24@@ -34,17 +35,6 @@ CFLAGS+=$(FULL_OPTIMIZATION)
25 all: 25 all:
26 @echo Please read the README file before doing anything else. 26 @echo Please read the README file before doing anything else.
27 27
@@ -36,17 +36,13 @@ Index: perl-5.8.8/Cross/Makefile
36- sed -e 's/XXSTRIPXX/$(SYS)/' installperl-patched > installperl; \ 36- sed -e 's/XXSTRIPXX/$(SYS)/' installperl-patched > installperl; \
37- touch CROSS_PATCHED ; fi 37- touch CROSS_PATCHED ; fi
38- 38-
39-dry_patch:
40- cd .. ; patch --dry-run -p1 < Cross/Makefile.SH.patch; \
41- patch --dry-run -p1 < Cross/installperl.patch; \
42-
43 perl: 39 perl:
44 @echo Perl cross-build directory is $(TOPDIR) 40 @echo Perl cross-build directory is $(TOPDIR)
45 @echo Target arch is $(SYS) 41 @echo Target arch is $(SYS)
46@@ -58,11 +44,11 @@ 42@@ -54,11 +44,11 @@ perl:
47 $(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh 43 $(TOPDIR)/generate_config_sh config.sh-$(SYS) > $(TOPDIR)/../config.sh
48 cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more 44 cd $(TOPDIR)/.. ; ./Configure -S ; make depend ; make ; make more
49 cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm fake_config_library 45 cd $(TOPDIR)/.. ; mkdir -p fake_config_library ; cp lib/Config.pm lib/Config_heavy.pl fake_config_library
50- cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig" 46- cd $(TOPDIR)/.. ; $(MAKE) more2 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
51- cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig" 47- cd $(TOPDIR)/.. ; $(MAKE) more3 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
52- cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig" 48- cd $(TOPDIR)/.. ; $(MAKE) more4 "PERLRUN=/usr/bin/perl -I$(TOPDIR)/../fake_config_library -MConfig"
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/asm-pageh-fix.patch b/meta/recipes-devtools/perl/perl-5.12.2/asm-pageh-fix.patch
index 41f3b1d23c..c972108244 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/asm-pageh-fix.patch
+++ b/meta/recipes-devtools/perl/perl-5.12.2/asm-pageh-fix.patch
@@ -3,10 +3,10 @@ has been definied in unistd.h since glibc 2.1. Some recent version of linux
3libc headers removed the asm/page.h resulting in failures here for some 3libc headers removed the asm/page.h resulting in failures here for some
4people. 4people.
5 5
6Index: perl-5.8.8/ext/IPC/SysV/SysV.xs 6Index: perl-5.12.2/cpan/IPC-SysV/SysV.xs
7=================================================================== 7===================================================================
8--- perl-5.8.8.orig/ext/IPC/SysV/SysV.xs 2001-07-01 04:46:07.000000000 +1000 8--- perl-5.12.2.orig/cpan/IPC-SysV/SysV.xs 2001-07-01 04:46:07.000000000 +1000
9+++ perl-5.8.8/ext/IPC/SysV/SysV.xs 2007-07-06 11:40:21.000000000 +1000 9+++ perl-5.12.2/cpan/IPC-SysV/SysV.xs 2001-07-01 04:46:07.000000000 +1000
10@@ -3,9 +3,6 @@ 10@@ -3,9 +3,6 @@
11 #include "XSUB.h" 11 #include "XSUB.h"
12 12
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/config.sh b/meta/recipes-devtools/perl/perl-5.12.2/config.sh
index 3d4c193a3d..12d44a8383 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/config.sh
+++ b/meta/recipes-devtools/perl/perl-5.12.2/config.sh
@@ -8,9 +8,42 @@
8 8
9# Package name : perl5 9# Package name : perl5
10# Source directory : . 10# Source directory : .
11# Configuration time: Thu Apr 5 19:20:23 EST 2007 11# Configuration time: Thu Dec 23 03:57:51 UTC 2010
12# Configured by : Open Embedded 12# Configured by : Open Embedded
13# Target system : linux birgitte 2.6.21-rc5 #63 tue mar 27 14:41:54 est 2007 i686 gnulinux 13# Target system : linux qemux86 2.6.37-rc5-yocto-standard+ #1 preempt mon dec 20 14:21:27 pst 2010 i686 gnulinux
14
15: Configure command line arguments.
16config_arg0='Configure'
17config_args='-des -Doptimize=-O2 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Open Embedded -Dinstallprefix=@DESTDIR@ -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.12.2 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Ud_dosuid -Dd_semctl_semun -Ui_db -Ui_ndbm -Ui_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr'
18config_argc=28
19config_arg1='-des'
20config_arg2='-Doptimize=-O2'
21config_arg3='-Dmyhostname=localhost'
22config_arg4='-Dperladmin=root@localhost'
23config_arg5='-Dcc=gcc'
24config_arg6='-Dcf_by=Open Embedded'
25config_arg7='-Dinstallprefix=@DESTDIR@'
26config_arg8='-Dprefix=/usr'
27config_arg9='-Dvendorprefix=/usr'
28config_arg10='-Dsiteprefix=/usr'
29config_arg11='-Dotherlibdirs=/usr/lib/perl5/5.12.2'
30config_arg12='-Duseshrplib'
31config_arg13='-Dusethreads'
32config_arg14='-Duseithreads'
33config_arg15='-Duselargefiles'
34config_arg16='-Ud_dosuid'
35config_arg17='-Dd_semctl_semun'
36config_arg18='-Ui_db'
37config_arg19='-Ui_ndbm'
38config_arg20='-Ui_gdbm'
39config_arg21='-Di_shadow'
40config_arg22='-Di_syslog'
41config_arg23='-Dman3ext=3pm'
42config_arg24='-Duseperlio'
43config_arg25='-Dinstallusrbinperl'
44config_arg26='-Ubincompat5005'
45config_arg27='-Uversiononly'
46config_arg28='-Dpager=/usr/bin/less -isr'
14 47
15Author='' 48Author=''
16Date='$Date' 49Date='$Date'
@@ -18,7 +51,6 @@ Header=''
18Id='$Id' 51Id='$Id'
19Locker='' 52Locker=''
20Log='$Log' 53Log='$Log'
21Mcc='Mcc'
22RCSfile='$RCSfile' 54RCSfile='$RCSfile'
23Revision='$Revision' 55Revision='$Revision'
24Source='' 56Source=''
@@ -32,11 +64,11 @@ ansi2knr=''
32aphostname='' 64aphostname=''
33api_revision='5' 65api_revision='5'
34api_subversion='0' 66api_subversion='0'
35api_version='8' 67api_version='12'
36api_versionstring='5.8.0' 68api_versionstring='5.12.0'
37ar='ar' 69ar='ar'
38archlib='/usr/lib/perl/5.8' 70archlib='/usr/lib/perl5/5.12.2/@ARCH@-thread-multi'
39archlibexp='/usr/lib/perl/5.8' 71archlibexp='/usr/lib/perl5/5.12.2/@ARCH@-thread-multi'
40archname64='' 72archname64=''
41archname='@ARCH@-thread-multi' 73archname='@ARCH@-thread-multi'
42archobjs='' 74archobjs=''
@@ -45,6 +77,7 @@ awk='awk'
45baserev='5.0' 77baserev='5.0'
46bash='' 78bash=''
47bin='/usr/bin' 79bin='/usr/bin'
80bin_ELF='define'
48binexp='/usr/bin' 81binexp='/usr/bin'
49bison='bison' 82bison='bison'
50byacc='byacc' 83byacc='byacc'
@@ -53,12 +86,15 @@ castflags='0'
53cat='cat' 86cat='cat'
54cc='gcc' 87cc='gcc'
55cccdlflags='-fPIC' 88cccdlflags='-fPIC'
56ccdlflags='-Wl,-E' 89ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.12.2/@ARCH@-thread-multi/CORE'
90ccflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
91ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
57ccname='gcc' 92ccname='gcc'
93ccsymbols=''
58ccversion='' 94ccversion=''
59cf_by='Open Embedded' 95cf_by='Open Embedded'
60cf_email='Open Embedded@localhost.localdomain' 96cf_email='Open Embedded@localhost.localdomain'
61cf_time='Thu Apr 5 23:06:39 EST 2007' 97charbits='8'
62charsize='1' 98charsize='1'
63chgrp='' 99chgrp=''
64chmod='chmod' 100chmod='chmod'
@@ -71,6 +107,8 @@ cp='cp'
71cpio='' 107cpio=''
72cpp='cpp' 108cpp='cpp'
73cpp_stuff='42' 109cpp_stuff='42'
110cppccsymbols=''
111cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector'
74cpplast='-' 112cpplast='-'
75cppminus='-' 113cppminus='-'
76cpprun='gcc -E' 114cpprun='gcc -E'
@@ -100,25 +138,30 @@ d_accessx='undef'
100d_aintl='undef' 138d_aintl='undef'
101d_alarm='define' 139d_alarm='define'
102d_archlib='define' 140d_archlib='define'
141d_asctime64='undef'
103d_asctime_r='define' 142d_asctime_r='define'
104d_atolf='undef' 143d_atolf='undef'
105d_atoll='define' 144d_atoll='define'
145d_attribute_deprecated='define'
106d_attribute_format='define' 146d_attribute_format='define'
107d_attribute_malloc='define' 147d_attribute_malloc='define'
108d_attribute_nonnull='define' 148d_attribute_nonnull='define'
109d_attribute_noreturn='define' 149d_attribute_noreturn='define'
110d_attribute_pure='define' 150d_attribute_pure='define'
111d_attribute_unused='define' 151d_attribute_unused='define'
112d_attribute_warn_unused_result='undef' 152d_attribute_warn_unused_result='define'
113d_bcmp='define' 153d_bcmp='define'
114d_bcopy='define' 154d_bcopy='define'
115d_bsd='undef' 155d_bsd='undef'
116d_bsdgetpgrp='undef' 156d_bsdgetpgrp='undef'
117d_bsdsetpgrp='undef' 157d_bsdsetpgrp='undef'
158d_builtin_choose_expr='define'
159d_builtin_expect='define'
118d_bzero='define' 160d_bzero='define'
161d_c99_variadic_macros='define'
119d_casti32='undef' 162d_casti32='undef'
120d_castneg='define' 163d_castneg='define'
121d_charvspr='define' 164d_charvspr='undef'
122d_chown='define' 165d_chown='define'
123d_chroot='define' 166d_chroot='define'
124d_chsize='undef' 167d_chsize='undef'
@@ -128,15 +171,20 @@ d_closedir='define'
128d_cmsghdr_s='define' 171d_cmsghdr_s='define'
129d_const='define' 172d_const='define'
130d_copysignl='define' 173d_copysignl='define'
174d_cplusplus='undef'
131d_crypt='define' 175d_crypt='define'
132d_crypt_r='define' 176d_crypt_r='define'
133d_csh='undef' 177d_csh='undef'
178d_ctermid='define'
134d_ctermid_r='undef' 179d_ctermid_r='undef'
180d_ctime64='undef'
135d_ctime_r='define' 181d_ctime_r='define'
136d_cuserid='define' 182d_cuserid='define'
137d_dbl_dig='define' 183d_dbl_dig='define'
138d_dbminitproto='undef' 184d_dbminitproto='undef'
185d_difftime64='undef'
139d_difftime='define' 186d_difftime='define'
187d_dir_dd_fd='undef'
140d_dirfd='define' 188d_dirfd='define'
141d_dirnamlen='undef' 189d_dirnamlen='undef'
142d_dlerror='define' 190d_dlerror='define'
@@ -146,7 +194,7 @@ d_dosuid='undef'
146d_drand48_r='define' 194d_drand48_r='define'
147d_drand48proto='define' 195d_drand48proto='define'
148d_dup2='define' 196d_dup2='define'
149d_eaccess='undef' 197d_eaccess='define'
150d_endgrent='define' 198d_endgrent='define'
151d_endgrent_r='undef' 199d_endgrent_r='undef'
152d_endhent='define' 200d_endhent='define'
@@ -161,7 +209,7 @@ d_endsent='define'
161d_endservent_r='undef' 209d_endservent_r='undef'
162d_eofnblk='define' 210d_eofnblk='define'
163d_eunice='undef' 211d_eunice='undef'
164d_faststdio='undef' 212d_faststdio='define'
165d_fchdir='define' 213d_fchdir='define'
166d_fchmod='define' 214d_fchmod='define'
167d_fchown='define' 215d_fchown='define'
@@ -193,6 +241,9 @@ d_fsync='define'
193d_ftello='define' 241d_ftello='define'
194d_ftime='undef' 242d_ftime='undef'
195d_futimes='define' 243d_futimes='define'
244d_gdbm_ndbm_h_uses_prototypes='undef'
245d_gdbmndbm_h_uses_prototypes='undef'
246d_getaddrinfo='define'
196d_getcwd='define' 247d_getcwd='define'
197d_getespwnam='undef' 248d_getespwnam='undef'
198d_getfsstat='undef' 249d_getfsstat='undef'
@@ -214,6 +265,7 @@ d_getlogin='define'
214d_getlogin_r='define' 265d_getlogin_r='define'
215d_getmnt='undef' 266d_getmnt='undef'
216d_getmntent='define' 267d_getmntent='define'
268d_getnameinfo='define'
217d_getnbyaddr='define' 269d_getnbyaddr='define'
218d_getnbyname='define' 270d_getnbyname='define'
219d_getnent='define' 271d_getnent='define'
@@ -247,16 +299,20 @@ d_getservbyport_r='define'
247d_getservent_r='define' 299d_getservent_r='define'
248d_getservprotos='define' 300d_getservprotos='define'
249d_getspnam='define' 301d_getspnam='define'
250d_getspnam_r='undef' 302d_getspnam_r='define'
251d_gettimeod='define' 303d_gettimeod='define'
304d_gmtime64='undef'
252d_gmtime_r='define' 305d_gmtime_r='define'
253d_gnulibc='define' 306d_gnulibc='define'
254d_grpasswd='define' 307d_grpasswd='define'
255d_hasmntopt='define' 308d_hasmntopt='define'
256d_htonl='define' 309d_htonl='define'
257d_ilogbl='define' 310d_ilogbl='define'
311d_inc_version_list='undef'
258d_index='undef' 312d_index='undef'
259d_inetaton='define' 313d_inetaton='define'
314d_inetntop='define'
315d_inetpton='define'
260d_int64_t='define' 316d_int64_t='define'
261d_isascii='define' 317d_isascii='define'
262d_isfinite='undef' 318d_isfinite='undef'
@@ -268,7 +324,9 @@ d_lchown='define'
268d_ldbl_dig='define' 324d_ldbl_dig='define'
269d_libm_lib_version='define' 325d_libm_lib_version='define'
270d_link='define' 326d_link='define'
327d_localtime64='undef'
271d_localtime_r='define' 328d_localtime_r='define'
329d_localtime_r_needs_tzset='define'
272d_locconv='define' 330d_locconv='define'
273d_lockf='define' 331d_lockf='define'
274d_longdbl='define' 332d_longdbl='define'
@@ -290,7 +348,8 @@ d_mkdir='define'
290d_mkdtemp='define' 348d_mkdtemp='define'
291d_mkfifo='define' 349d_mkfifo='define'
292d_mkstemp='define' 350d_mkstemp='define'
293d_mkstemps='undef' 351d_mkstemps='define'
352d_mktime64='undef'
294d_mktime='define' 353d_mktime='define'
295d_mmap='define' 354d_mmap='define'
296d_modfl='define' 355d_modfl='define'
@@ -311,6 +370,8 @@ d_msgsnd='define'
311d_msync='define' 370d_msync='define'
312d_munmap='define' 371d_munmap='define'
313d_mymalloc='undef' 372d_mymalloc='undef'
373d_ndbm='undef'
374d_ndbm_h_uses_prototypes='undef'
314d_nice='define' 375d_nice='define'
315d_nl_langinfo='define' 376d_nl_langinfo='define'
316d_nv_zero_is_allbits_zero='define' 377d_nv_zero_is_allbits_zero='define'
@@ -327,6 +388,7 @@ d_pipe='define'
327d_poll='define' 388d_poll='define'
328d_portable='define' 389d_portable='define'
329d_procselfexe='define' 390d_procselfexe='define'
391d_pseudofork='undef'
330d_pthread_atfork='define' 392d_pthread_atfork='define'
331d_pthread_attr_setscope='define' 393d_pthread_attr_setscope='define'
332d_pthread_yield='define' 394d_pthread_yield='define'
@@ -406,8 +468,11 @@ d_shmctl='define'
406d_shmdt='define' 468d_shmdt='define'
407d_shmget='define' 469d_shmget='define'
408d_sigaction='define' 470d_sigaction='define'
471d_signbit='define'
409d_sigprocmask='define' 472d_sigprocmask='define'
410d_sigsetjmp='define' 473d_sigsetjmp='define'
474d_sitearch='define'
475d_snprintf='define'
411d_sockatmark='define' 476d_sockatmark='define'
412d_sockatmarkproto='define' 477d_sockatmarkproto='define'
413d_socket='define' 478d_socket='define'
@@ -425,12 +490,12 @@ d_statfs_f_flags='undef'
425d_statfs_s='define' 490d_statfs_s='define'
426d_statvfs='define' 491d_statvfs='define'
427d_stdio_cnt_lval='undef' 492d_stdio_cnt_lval='undef'
428d_stdio_ptr_lval='undef' 493d_stdio_ptr_lval='define'
429d_stdio_ptr_lval_nochange_cnt='undef' 494d_stdio_ptr_lval_nochange_cnt='undef'
430d_stdio_ptr_lval_sets_cnt='undef' 495d_stdio_ptr_lval_sets_cnt='define'
431d_stdio_stream_array='undef' 496d_stdio_stream_array='undef'
432d_stdiobase='undef' 497d_stdiobase='define'
433d_stdstdio='undef' 498d_stdstdio='define'
434d_strchr='define' 499d_strchr='define'
435d_strcoll='define' 500d_strcoll='define'
436d_strctcpy='define' 501d_strctcpy='define'
@@ -462,6 +527,7 @@ d_tcsetpgrp='define'
462d_telldir='define' 527d_telldir='define'
463d_telldirproto='define' 528d_telldirproto='define'
464d_time='define' 529d_time='define'
530d_timegm='define'
465d_times='define' 531d_times='define'
466d_tm_tm_gmtoff='define' 532d_tm_tm_gmtoff='define'
467d_tm_tm_zone='define' 533d_tm_tm_zone='define'
@@ -488,6 +554,7 @@ d_voidsig='define'
488d_voidtty='' 554d_voidtty=''
489d_volatile='define' 555d_volatile='define'
490d_vprintf='define' 556d_vprintf='define'
557d_vsnprintf='define'
491d_wait4='define' 558d_wait4='define'
492d_waitpid='define' 559d_waitpid='define'
493d_wcstombs='define' 560d_wcstombs='define'
@@ -507,7 +574,8 @@ dlsrc='dl_dlopen.xs'
507doublesize='8' 574doublesize='8'
508drand01='drand48()' 575drand01='drand48()'
509drand48_r_proto='REENTRANT_PROTO_I_ST' 576drand48_r_proto='REENTRANT_PROTO_I_ST'
510dynamic_ext='attrs B ByteLoader Cwd Data/Dumper Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re GDBM_File SDBM_File Socket Storable Sys/Hostname Sys/Syslog threads Time/HiRes Unicode/Normalize XS/APItest XS/Typemap threads/shared' 577dtrace=''
578dynamic_ext='B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util Hash/Util/FieldHash I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via GDBM_File SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/APItest/KeywordRPN XS/Typemap attributes mro re threads threads/shared'
511eagain='EAGAIN' 579eagain='EAGAIN'
512ebcdic='undef' 580ebcdic='undef'
513echo='echo' 581echo='echo'
@@ -522,7 +590,8 @@ endservent_r_proto='0'
522eunicefix=':' 590eunicefix=':'
523exe_ext='' 591exe_ext=''
524expr='expr' 592expr='expr'
525extensions='attrs B ByteLoader Cwd Data/Dumper Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog threads Time/HiRes Unicode/Normalize XS/APItest XS/Typemap threads/shared Errno' 593extensions='B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call Hash/Util Hash/Util/FieldHash I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via GDBM_File SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Time/HiRes Time/Piece Unicode/Normalize XS/APItest XS/APItest/KeywordRPN XS/Typemap attributes mro re threads threads/shared Archive/Extract Archive/Tar Attribute/Handlers AutoLoader B/Debug B/Deparse B/Lint CGI CPAN CPANPLUS CPANPLUS/Dist/Build Class/ISA Devel/SelfStubber Digest Errno ExtUtils/CBuilder ExtUtils/Command ExtUtils/Constant ExtUtils/Install ExtUtils/MakeMaker ExtUtils/Manifest ExtUtils/ParseXS File/Fetch File/Path File/Temp FileCache Filter/Simple Getopt/Long I18N/LangTags IO/Compress IO/Zlib IPC/Cmd IPC/Open2 IPC/Open3 Locale/Codes Locale/Maketext Locale/Maketext/Simple Log/Message Log/Message/Simple Math/BigInt Math/BigRat Math/Complex Memoize Module/Build Module/CoreList Module/Load Module/Load/Conditional Module/Loaded Module/Pluggable NEXT Net/Ping Object/Accessor Package/Constants Params/Check Parse/CPAN/Meta PerlIO/via/QuotedPrint Pod/Escapes Pod/LaTeX Pod/Parser Pod/Perldoc Pod/Plainer Pod/Simple Safe SelfLoader Shell Switch Term/ANSIColor Term/Cap Term/UI Test Test/Harness Test/Simple Text/Balanced Text/ParseWords Text/Tabs Thread/Queue Thread/Semaphore Tie/File Tie/Memoize Tie/RefHash Time/Local Unicode/Collate XSLoader autodie autouse base bignum constant encoding/warnings if lib libnet parent podlators'
594extern_C='extern'
526extras='' 595extras=''
527fflushNULL='define' 596fflushNULL='define'
528fflushall='undef' 597fflushall='undef'
@@ -534,10 +603,11 @@ fpostype='fpos_t'
534freetype='void' 603freetype='void'
535from=':' 604from=':'
536full_ar='/usr/bin/ar' 605full_ar='/usr/bin/ar'
537full_csh='/bin/csh' 606full_csh='csh'
538full_sed='/bin/sed' 607full_sed='/bin/sed'
539gccansipedantic='' 608gccansipedantic=''
540gccosandvers='' 609gccosandvers=''
610gccversion='4.5.1'
541getgrent_r_proto='REENTRANT_PROTO_I_SBWR' 611getgrent_r_proto='REENTRANT_PROTO_I_SBWR'
542getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR' 612getgrgid_r_proto='REENTRANT_PROTO_I_TSBWR'
543getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR' 613getgrnam_r_proto='REENTRANT_PROTO_I_CSBWR'
@@ -557,12 +627,14 @@ getpwuid_r_proto='REENTRANT_PROTO_I_TSBWR'
557getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR' 627getservbyname_r_proto='REENTRANT_PROTO_I_CCSBWR'
558getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR' 628getservbyport_r_proto='REENTRANT_PROTO_I_ICSBWR'
559getservent_r_proto='REENTRANT_PROTO_I_SBWR' 629getservent_r_proto='REENTRANT_PROTO_I_SBWR'
630getspnam_r_proto='REENTRANT_PROTO_I_CSBWR'
560gidsign='1' 631gidsign='1'
561gidsize='4' 632gidsize='4'
562gidtype='gid_t' 633gidtype='gid_t'
563glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib ' 634glibpth='/usr/shlib /lib /usr/lib /usr/lib/386 /lib/386 /usr/ccs/lib /usr/ucblib /usr/local/lib '
564gmake='gmake' 635gmake='gmake'
565gmtime_r_proto='REENTRANT_PROTO_S_TS' 636gmtime_r_proto='REENTRANT_PROTO_S_TS'
637gnulibc_version='2.12.1'
566grep='grep' 638grep='grep'
567groupcat='cat /etc/group' 639groupcat='cat /etc/group'
568groupstype='gid_t' 640groupstype='gid_t'
@@ -580,8 +652,9 @@ i16type='short'
580i32size='4' 652i32size='4'
581i64size='8' 653i64size='8'
582i8size='1' 654i8size='1'
583i8type='char' 655i8type='signed char'
584i_arpainet='define' 656i_arpainet='define'
657i_assert='define'
585i_bsdioctl='' 658i_bsdioctl=''
586i_crypt='define' 659i_crypt='define'
587i_db='undef' 660i_db='undef'
@@ -593,7 +666,9 @@ i_fcntl='undef'
593i_float='define' 666i_float='define'
594i_fp='undef' 667i_fp='undef'
595i_fp_class='undef' 668i_fp_class='undef'
596i_gdbm='define' 669i_gdbm='undef'
670i_gdbm_ndbm='undef'
671i_gdbmndbm='undef'
597i_grp='define' 672i_grp='define'
598i_ieeefp='undef' 673i_ieeefp='undef'
599i_inttypes='define' 674i_inttypes='define'
@@ -603,6 +678,7 @@ i_limits='define'
603i_locale='define' 678i_locale='define'
604i_machcthr='undef' 679i_machcthr='undef'
605i_malloc='define' 680i_malloc='define'
681i_mallocmalloc='undef'
606i_math='define' 682i_math='define'
607i_memory='undef' 683i_memory='undef'
608i_mntent='define' 684i_mntent='define'
@@ -637,6 +713,7 @@ i_sysmode='undef'
637i_sysmount='define' 713i_sysmount='define'
638i_sysndir='undef' 714i_sysndir='undef'
639i_sysparam='define' 715i_sysparam='define'
716i_syspoll='define'
640i_sysresrc='define' 717i_sysresrc='define'
641i_syssecrt='undef' 718i_syssecrt='undef'
642i_sysselct='define' 719i_sysselct='define'
@@ -668,49 +745,58 @@ inc_version_list=' '
668inc_version_list_init='0' 745inc_version_list_init='0'
669incpath='' 746incpath=''
670inews='' 747inews=''
671installarchlib='@LIBDIR@/perl/5.8' 748initialinstalllocation='/usr/bin'
672installbin='@BINDIR@' 749installarchlib='@DESTDIR@/lib/perl5/5.12.2/@ARCH@-thread-multi'
750installbin='@DESTDIR@/bin'
673installhtml1dir='' 751installhtml1dir=''
674installhtml3dir='' 752installhtml3dir=''
675installman1dir='@MANDIR@/man1' 753installman1dir=''
676installman3dir='@MANDIR@/man3' 754installman3dir=''
677installprefix='@PREFIX@' 755installprefix='@DESTDIR@'
678installprefixexp='@PREFIX@/usr' 756installprefixexp='@DESTDIR@'
679installprivlib='@DATADIR@/perl/5.8' 757installprivlib='@DESTDIR@/lib/perl5/5.12.2'
680installscript='@BINDIR@' 758installscript='@DESTDIR@/bin'
681installsitearch='@PREFIX@/local/lib/perl/5.8.8' 759installsitearch='@DESTDIR@/lib/perl5/site_perl/5.12.2/@ARCH@-thread-multi'
682installsitebin='@PREFIX@/local/bin' 760installsitebin='@DESTDIR@/bin'
683installsitehtml1dir='' 761installsitehtml1dir=''
684installsitehtml3dir='' 762installsitehtml3dir=''
685installsitelib='@PREFIX@/local/share/perl/5.8.8' 763installsitelib='@DESTDIR@/lib/perl5/site_perl/5.12.2'
686installsiteman1dir='@PREFIX@/local/man/man1' 764installsiteman1dir=''
687installsiteman3dir='@PREFIX@/local/man/man3' 765installsiteman3dir=''
688installsitescript='@PREFIX@/local/bin' 766installsitescript='@DESTDIR@/bin'
689installstyle='lib/perl5' 767installstyle='lib/perl5'
690installusrbinperl='define' 768installusrbinperl='define'
691installvendorarch='@LIBDIR@/perl5' 769installvendorarch='@DESTDIR@/lib/perl5/vendor_perl/5.12.2/@ARCH@-thread-multi'
692installvendorbin='@BINDIR@' 770installvendorbin='@DESTDIR@/bin'
693installvendorhtml1dir='' 771installvendorhtml1dir=''
694installvendorhtml3dir='' 772installvendorhtml3dir=''
695installvendorlib='@DATADIR@/perl5' 773installvendorlib='@DESTDIR@/lib/perl5/vendor_perl/5.12.2'
696installvendorman1dir='@MANDIR@/man1' 774installvendorman1dir=''
697installvendorman3dir='@MANDIR@/man3' 775installvendorman3dir=''
698installvendorscript='@BINDIR@' 776installvendorscript='@DESTDIR@/bin'
699intsize='4' 777intsize='4'
700issymlink='test -h' 778issymlink='test -h'
701ivdformat='"ld"' 779ivdformat='"ld"'
702ivtype='long' 780ivtype='long'
703known_extensions='attrs B ByteLoader Cwd Data/Dumper DB_File Devel/DProf Devel/Peek Devel/PPPort Digest/MD5 Encode Fcntl File/Glob Filter/Util/Call GDBM_File I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 NDBM_File ODBM_File Opcode PerlIO/encoding PerlIO/scalar PerlIO/via POSIX re SDBM_File Socket Storable Sys/Hostname Sys/Syslog Thread threads Time/HiRes Unicode/Normalize XS/APItest XS/Typemap threads/shared' 781known_extensions='B Compress/Raw/Bzip2 Compress/Raw/Zlib Cwd DB_File Data/Dumper Devel/DProf Devel/PPPort Devel/Peek Digest/MD5 Digest/SHA Encode Fcntl File/Glob Filter/Util/Call GDBM_File Hash/Util Hash/Util/FieldHash I18N/Langinfo IO IPC/SysV List/Util MIME/Base64 Math/BigInt/FastCalc NDBM_File ODBM_File Opcode POSIX PerlIO/encoding PerlIO/scalar PerlIO/via SDBM_File Socket Storable Sys/Hostname Sys/Syslog Text/Soundex Time/HiRes Time/Piece Unicode/Normalize VMS/DCLsym VMS/Stdio Win32 Win32API/File Win32CORE XS/APItest XS/APItest/KeywordRPN XS/Typemap attributes mro re threads threads/shared '
704ksh='' 782ksh=''
705ld='gcc' 783ld='gcc'
706lddlflags='-shared -L/usr/local/lib' 784lddlflags='-shared -O2 -fstack-protector'
707ldflags=' -L/usr/local/lib' 785ldflags=' -fstack-protector'
708ldflags_uselargefiles='' 786ldflags_uselargefiles=''
709ldlibpthname='LD_LIBRARY_PATH' 787ldlibpthname='LD_LIBRARY_PATH'
710less='less' 788less='less'
711lib_ext='.a' 789lib_ext='.a'
790libc='/lib/libc-2.12.1.so'
712libperl='libperl.so' 791libperl='libperl.so'
713libpth='/usr/local/lib /lib /usr/lib' 792libpth='/lib /usr/lib'
793libs='-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc'
794libsdirs=' /usr/lib'
795libsfiles=' libnsl.so libgdbm.so libdb.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
796libsfound=' /usr/lib/libnsl.so /usr/lib/libgdbm.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
797libspath=' /lib /usr/lib'
798libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD gdbm_compat'
799libswanted_uselargefiles=''
714line='' 800line=''
715lint='' 801lint=''
716lkflags='' 802lkflags=''
@@ -725,6 +811,10 @@ lpr=''
725ls='ls' 811ls='ls'
726lseeksize='8' 812lseeksize='8'
727lseektype='off_t' 813lseektype='off_t'
814mad='undef'
815madlyh=''
816madlyobj=''
817madlysrc=''
728mail='' 818mail=''
729mailx='' 819mailx=''
730make='make' 820make='make'
@@ -732,12 +822,12 @@ make_set_make='#'
732mallocobj='' 822mallocobj=''
733mallocsrc='' 823mallocsrc=''
734malloctype='void *' 824malloctype='void *'
735man1dir='/usr/share/man/man1' 825man1dir=' '
736man1direxp='/usr/share/man/man1' 826man1direxp=''
737man1ext='1' 827man1ext='0'
738man3dir='/usr/share/man/man3' 828man3dir=' '
739man3direxp='/usr/share/man/man3' 829man3direxp=''
740man3ext='3pm' 830man3ext='0'
741mips_type='' 831mips_type=''
742mistrustnm='' 832mistrustnm=''
743mkdir='mkdir' 833mkdir='mkdir'
@@ -750,19 +840,18 @@ myarchname='@ARCH@'
750mydomain='.localdomain' 840mydomain='.localdomain'
751myhostname='localhost' 841myhostname='localhost'
752n='-n' 842n='-n'
753need_va_copy='undef'
754netdb_hlen_type='size_t' 843netdb_hlen_type='size_t'
755netdb_host_type='const void *'
756netdb_name_type='const char *' 844netdb_name_type='const char *'
757netdb_net_type='in_addr_t' 845netdb_net_type='in_addr_t'
758nm='nm' 846nm='nm'
759nm_opt='' 847nm_opt=''
760nm_so_opt='--dynamic' 848nm_so_opt='--dynamic'
761nonxs_ext='Errno' 849nonxs_ext='Archive/Extract Archive/Tar Attribute/Handlers AutoLoader B/Debug B/Deparse B/Lint CGI CPAN CPANPLUS CPANPLUS/Dist/Build Class/ISA Devel/SelfStubber Digest Errno ExtUtils/CBuilder ExtUtils/Command ExtUtils/Constant ExtUtils/Install ExtUtils/MakeMaker ExtUtils/Manifest ExtUtils/ParseXS File/Fetch File/Path File/Temp FileCache Filter/Simple Getopt/Long I18N/LangTags IO/Compress IO/Zlib IPC/Cmd IPC/Open2 IPC/Open3 Locale/Codes Locale/Maketext Locale/Maketext/Simple Log/Message Log/Message/Simple Math/BigInt Math/BigRat Math/Complex Memoize Module/Build Module/CoreList Module/Load Module/Load/Conditional Module/Loaded Module/Pluggable NEXT Net/Ping Object/Accessor Package/Constants Params/Check Parse/CPAN/Meta PerlIO/via/QuotedPrint Pod/Escapes Pod/LaTeX Pod/Parser Pod/Perldoc Pod/Plainer Pod/Simple Safe SelfLoader Shell Switch Term/ANSIColor Term/Cap Term/UI Test Test/Harness Test/Simple Text/Balanced Text/ParseWords Text/Tabs Thread/Queue Thread/Semaphore Tie/File Tie/Memoize Tie/RefHash Time/Local Unicode/Collate XSLoader autodie autouse base bignum constant encoding/warnings if lib libnet parent podlators'
762nroff='nroff' 850nroff='nroff'
763nvEUformat='"E"' 851nvEUformat='"E"'
764nvFUformat='"F"' 852nvFUformat='"F"'
765nvGUformat='"G"' 853nvGUformat='"G"'
854nv_overflows_integers_at='256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0'
766nveformat='"e"' 855nveformat='"e"'
767nvfformat='"f"' 856nvfformat='"f"'
768nvgformat='"g"' 857nvgformat='"g"'
@@ -774,18 +863,19 @@ old_pthread_create_joinable=''
774optimize='-O2' 863optimize='-O2'
775orderlib='false' 864orderlib='false'
776osname='linux' 865osname='linux'
777otherlibdirs=' ' 866osvers='2.6.37-rc5-yocto-standard+'
867otherlibdirs='/usr/lib/perl5/5.12.2'
778package='perl5' 868package='perl5'
779pager='/usr/bin/less -isr' 869pager='/usr/bin/less -isr'
780passcat='cat /etc/passwd' 870passcat='cat /etc/passwd'
781patchlevel='8' 871patchlevel='12'
782path_sep=':' 872path_sep=':'
783perl5='hostperl' 873perl5='/usr/bin/perl'
784perl='' 874perl=''
785perl_patchlevel='' 875perl_patchlevel=''
786perladmin='root@localhost' 876perladmin='root@localhost'
787perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc' 877perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
788perlpath='hostperl' 878perlpath='/usr/bin/perl'
789pg='pg' 879pg='pg'
790phostname='' 880phostname=''
791pidtype='pid_t' 881pidtype='pid_t'
@@ -794,8 +884,8 @@ pmake=''
794pr='' 884pr=''
795prefix='/usr' 885prefix='/usr'
796prefixexp='/usr' 886prefixexp='/usr'
797privlib='/usr/share/perl/5.8' 887privlib='/usr/lib/perl5/5.12.2'
798privlibexp='/usr/share/perl/5.8' 888privlibexp='/usr/lib/perl5/5.12.2'
799procselfexe='"/proc/self/exe"' 889procselfexe='"/proc/self/exe"'
800prototype='define' 890prototype='define'
801randbits='48' 891randbits='48'
@@ -808,6 +898,7 @@ readdir64_r_proto='REENTRANT_PROTO_I_TSR'
808readdir_r_proto='REENTRANT_PROTO_I_TSR' 898readdir_r_proto='REENTRANT_PROTO_I_TSR'
809revision='5' 899revision='5'
810rm='rm' 900rm='rm'
901rm_try='/bin/rm -f try try a.out .out try.[cho] try..o core core.try* try.core*'
811rmail='' 902rmail=''
812run='' 903run=''
813runnm='false' 904runnm='false'
@@ -840,31 +931,31 @@ shortsize='2'
840shrpenv='' 931shrpenv=''
841shsharp='true' 932shsharp='true'
842sig_count='65' 933sig_count='65'
934sig_name='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS NUM32 NUM33 RTMIN NUM35 NUM36 NUM37 NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 NUM45 NUM46 NUM47 NUM48 NUM49 NUM50 NUM51 NUM52 NUM53 NUM54 NUM55 NUM56 NUM57 NUM58 NUM59 NUM60 NUM61 NUM62 NUM63 RTMAX IOT CLD POLL UNUSED '
935sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "NUM32", "NUM33", "RTMIN", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "NUM63", "RTMAX", "IOT", "CLD", "POLL", "UNUSED", 0'
843sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 6 17 29 31 ' 936sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 6 17 29 31 '
844sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 6, 17, 29, 31, 0' 937sig_num_init='0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 6, 17, 29, 31, 0'
845sig_size='69' 938sig_size='69'
846sig_name='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS NUM32 NUM33 RTMIN NUM35 NUM36 NUM37 NUM38 NUM39 NUM40 NUM41 NUM42 NUM43 NUM44 NUM45 NUM46 NUM47 NUM48 NUM49 NUM50 NUM51 NUM52 NUM53 NUM54 NUM55 NUM56 NUM57 NUM58 NUM59 NUM60 NUM61 NUM62 NUM63 RTMAX IOT CLD POLL UNUSED '
847sig_name_init='"ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "NUM32", "NUM33", "RTMIN", "NUM35", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "NUM63", "RTMAX", "IOT", "CLD", "POLL", "UNUSED", 0'
848signal_t='void' 939signal_t='void'
849sitearch='/usr/local/lib/perl/5.8.8' 940sitearch='/usr/lib/perl5/site_perl/5.12.2/@ARCH@-thread-multi'
850sitearchexp='/usr/local/lib/perl/5.8.8' 941sitearchexp='/usr/lib/perl5/site_perl/5.12.2/@ARCH@-thread-multi'
851sitebin='/usr/local/bin' 942sitebin='/usr/bin'
852sitebinexp='/usr/local/bin' 943sitebinexp='/usr/bin'
853sitehtml1dir='' 944sitehtml1dir=''
854sitehtml1direxp='' 945sitehtml1direxp=''
855sitehtml3dir='' 946sitehtml3dir=''
856sitehtml3direxp='' 947sitehtml3direxp=''
857sitelib='/usr/local/share/perl/5.8.8' 948sitelib='/usr/lib/perl5/site_perl/5.12.2'
858sitelib_stem='' 949sitelib_stem='/usr/lib/perl5/site_perl'
859sitelibexp='/usr/local/share/perl/5.8.8' 950sitelibexp='/usr/lib/perl5/site_perl/5.12.2'
860siteman1dir='/usr/local/man/man1' 951siteman1dir=''
861siteman1direxp='/usr/local/man/man1' 952siteman1direxp=''
862siteman3dir='/usr/local/man/man3' 953siteman3dir=''
863siteman3direxp='/usr/local/man/man3' 954siteman3direxp=''
864siteprefix='/usr/local' 955siteprefix='/usr'
865siteprefixexp='/usr/local' 956siteprefixexp='/usr'
866sitescript='/usr/local/bin' 957sitescript='/usr/bin'
867sitescriptexp='/usr/local/bin' 958sitescriptexp='/usr/bin'
868sizetype='size_t' 959sizetype='size_t'
869sleep='' 960sleep=''
870smail='' 961smail=''
@@ -892,7 +983,7 @@ stdio_stream_array=''
892strerror_r_proto='REENTRANT_PROTO_B_IBW' 983strerror_r_proto='REENTRANT_PROTO_B_IBW'
893strings='/usr/include/string.h' 984strings='/usr/include/string.h'
894submit='' 985submit=''
895subversion='8' 986subversion='2'
896sysman='/usr/share/man/man1' 987sysman='/usr/share/man/man1'
897tail='' 988tail=''
898tar='' 989tar=''
@@ -922,8 +1013,10 @@ uname='uname'
922uniq='uniq' 1013uniq='uniq'
923use5005threads='undef' 1014use5005threads='undef'
924usecrosscompile='undef' 1015usecrosscompile='undef'
1016usedevel='undef'
925usedl='define' 1017usedl='define'
926usefaststdio='define' 1018usedtrace='undef'
1019usefaststdio='undef'
927useithreads='define' 1020useithreads='define'
928uselargefiles='define' 1021uselargefiles='define'
929uselongdouble='undef' 1022uselongdouble='undef'
@@ -936,6 +1029,7 @@ useopcode='true'
936useperlio='define' 1029useperlio='define'
937useposix='true' 1030useposix='true'
938usereentrant='undef' 1031usereentrant='undef'
1032userelocatableinc='undef'
939usesfio='false' 1033usesfio='false'
940useshrplib='true' 1034useshrplib='true'
941usesitecustomize='undef' 1035usesitecustomize='undef'
@@ -950,27 +1044,28 @@ uvoformat='"lo"'
950uvtype='unsigned long' 1044uvtype='unsigned long'
951uvuformat='"lu"' 1045uvuformat='"lu"'
952uvxformat='"lx"' 1046uvxformat='"lx"'
953vendorarch='/usr/lib/perl5' 1047vaproto='define'
954vendorarchexp='/usr/lib/perl5' 1048vendorarch='/usr/lib/perl5/vendor_perl/5.12.2/@ARCH@-thread-multi'
1049vendorarchexp='/usr/lib/perl5/vendor_perl/5.12.2/@ARCH@-thread-multi'
955vendorbin='/usr/bin' 1050vendorbin='/usr/bin'
956vendorbinexp='/usr/bin' 1051vendorbinexp='/usr/bin'
957vendorhtml1dir=' ' 1052vendorhtml1dir=' '
958vendorhtml1direxp='' 1053vendorhtml1direxp=''
959vendorhtml3dir=' ' 1054vendorhtml3dir=' '
960vendorhtml3direxp='' 1055vendorhtml3direxp=''
961vendorlib='/usr/share/perl5' 1056vendorlib='/usr/lib/perl5/vendor_perl/5.12.2'
962vendorlib_stem='' 1057vendorlib_stem='/usr/lib/perl5/vendor_perl'
963vendorlibexp='/usr/share/perl5' 1058vendorlibexp='/usr/lib/perl5/vendor_perl/5.12.2'
964vendorman1dir='/usr/share/man/man1' 1059vendorman1dir=' '
965vendorman1direxp='/usr/share/man/man1' 1060vendorman1direxp=''
966vendorman3dir='/usr/share/man/man3' 1061vendorman3dir=' '
967vendorman3direxp='/usr/share/man/man3' 1062vendorman3direxp=''
968vendorprefix='/usr' 1063vendorprefix='/usr'
969vendorprefixexp='/usr' 1064vendorprefixexp='/usr'
970vendorscript='/usr/bin' 1065vendorscript='/usr/bin'
971vendorscriptexp='/usr/bin' 1066vendorscriptexp='/usr/bin'
972version='5.8.8' 1067version='5.12.2'
973version_patchlevel_string='version 8 subversion 8' 1068version_patchlevel_string='version 12 subversion 2'
974versiononly='undef' 1069versiononly='undef'
975vi='' 1070vi=''
976voidflags='15' 1071voidflags='15'
@@ -979,42 +1074,13 @@ yacc='yacc'
979yaccflags='' 1074yaccflags=''
980zcat='' 1075zcat=''
981zip='zip' 1076zip='zip'
982# Configure command line arguments.
983config_arg0='Configure'
984config_args='-des -Doptimize=-O2 -Dmyhostname=localhost -Dperladmin=root@localhost -Dcc=gcc -Dcf_by=Open Embedded -Dprefix=/usr -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.8 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Ud_dosuid -Dd_semctl_semun -Ui_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr'
985config_argc=27
986config_arg1='-des'
987config_arg2='-Doptimize=-O2'
988config_arg3='-Dmyhostname=localhost'
989config_arg4='-Dperladmin=root@localhost'
990config_arg5='-Dcc=gcc'
991config_arg6='-Dcf_by=Open Embedded'
992config_arg7='-Dprefix=/usr'
993config_arg8='-Dvendorprefix=/usr'
994config_arg9='-Dsiteprefix=/usr'
995config_arg10='-Dotherlibdirs=/usr/lib/perl5/5.8.8'
996config_arg11='-Duseshrplib'
997config_arg12='-Dusethreads'
998config_arg13='-Duseithreads'
999config_arg14='-Duselargefiles'
1000config_arg15='-Ud_dosuid'
1001config_arg16='-Dd_semctl_semun'
1002config_arg17='-Ui_db'
1003config_arg18='-Ui_ndbm'
1004config_arg19='-Di_gdbm'
1005config_arg20='-Di_shadow'
1006config_arg21='-Di_syslog'
1007config_arg22='-Dman3ext=3pm'
1008config_arg23='-Duseperlio'
1009config_arg24='-Dinstallusrbinperl'
1010config_arg25='-Ubincompat5005'
1011config_arg26='-Uversiononly'
1012config_arg27='-Dpager=/usr/bin/less -isr'
1013PERL_REVISION=5 1077PERL_REVISION=5
1014PERL_VERSION=8 1078PERL_VERSION=12
1015PERL_SUBVERSION=8 1079PERL_SUBVERSION=2
1016PERL_API_REVISION=5 1080PERL_API_REVISION=5
1017PERL_API_VERSION=8 1081PERL_API_VERSION=12
1018PERL_API_SUBVERSION=0 1082PERL_API_SUBVERSION=0
1019PERL_PATCHLEVEL= 1083PERL_PATCHLEVEL=''
1020PERL_CONFIG_SH=true 1084PERL_CONFIG_SH=true
1085: Variables propagated from previous config.sh file.
1086libdb_needs_pthread='N'
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32 b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32
new file mode 100644
index 0000000000..7259a0c6ae
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32
@@ -0,0 +1,38 @@
1alignbytes='4'
2cf_time='Thu Dec 23 03:57:51 UTC 2010'
3cppsymbols='_FILE_OFFSET_BITS=64 _GNU_SOURCE=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 _POSIX_C_SOURCE=200809L _POSIX_SOURCE=1 _REENTRANT=1 _XOPEN_SOURCE=700 _XOPEN_SOURCE_EXTENDED=1 __BIGGEST_ALIGNMENT__=16 __CHAR16_TYPE__=short\ unsigned\ int __CHAR32_TYPE__=unsigned\ int __CHAR_BIT__=8 __DBL_DENORM_MIN__=((double)4.94065645841246544177e-324L) __DBL_DIG__=15 __DBL_EPSILON__=((double)2.22044604925031308085e-16L) __DBL_HAS_DENORM__=1 __DBL_HAS_INFINITY__=1 __DBL_HAS_QUIET_NAN__=1 __DBL_MANT_DIG__=53 __DBL_MAX_10_EXP__=308 __DBL_MAX_EXP__=1024 __DBL_MAX__=((double)1.79769313486231570815e+308L) __DBL_MIN_10_EXP__=(-307) __DBL_MIN_EXP__=(-1021) __DBL_MIN__=((double)2.22507385850720138309e-308L) __DEC128_EPSILON__=1E-33DL __DEC128_MANT_DIG__=34 __DEC128_MAX_EXP__=6145 __DEC128_MAX__=9.999999999999999999999999999999999E6144DL __DEC128_MIN_EXP__=(-6142) __DEC128_MIN__=1E-6143DL __DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL __DEC32_EPSILON__=1E-6DF __DEC32_MANT_DIG__=7 __DEC32_MAX_EXP__=97 __DEC32_MAX__=9.999999E96DF __DEC32_MIN_EXP__=(-94) __DEC32_MIN__=1E-95DF __DEC32_SUBNORMAL_MIN__=0.000001E-95DF __DEC64_EPSILON__=1E-15DD __DEC64_MANT_DIG__=16 __DEC64_MAX_EXP__=385 __DEC64_MAX__=9.999999999999999E384DD __DEC64_MIN_EXP__=(-382) __DEC64_MIN__=1E-383DD __DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD __DECIMAL_BID_FORMAT__=1 __DECIMAL_DIG__=21 __DEC_EVAL_METHOD__=2 __ELF__=1 __FINITE_MATH_ONLY__=0 __FLT_DENORM_MIN__=1.40129846432481707092e-45F __FLT_DIG__=6 __FLT_EPSILON__=1.19209289550781250000e-7F __FLT_EVAL_METHOD__=2 __FLT_HAS_DENORM__=1 __FLT_HAS_INFINITY__=1 __FLT_HAS_QUIET_NAN__=1 __FLT_MANT_DIG__=24 __FLT_MAX_10_EXP__=38 __FLT_MAX_EXP__=128 __FLT_MAX__=3.40282346638528859812e+38F __FLT_MIN_10_EXP__=(-37) __FLT_MIN_EXP__=(-125) __FLT_MIN__=1.17549435082228750797e-38F __FLT_RADIX__=2 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1 __GLIBC_MINOR__=12 __GLIBC__=2 __GNUC_GNU_INLINE__=1 __GNUC_MINOR__=5 __GNUC_PATCHLEVEL__=1 __GNUC__=4 __GNU_LIBRARY__=6 __GXX_ABI_VERSION=1002 __INT16_C(c)=c __INT16_MAX__=32767 __INT16_TYPE__=short\ int __INT32_C(c)=c __INT32_MAX__=2147483647 __INT32_TYPE__=int __INT64_C(c)=cLL __INT64_MAX__=9223372036854775807LL __INT64_TYPE__=long\ long\ int __INT8_C(c)=c __INT8_MAX__=127 __INT8_TYPE__=signed\ char __INTMAX_C(c)=cLL __INTMAX_MAX__=9223372036854775807LL __INTMAX_TYPE__=long\ long\ int __INTPTR_MAX__=2147483647 __INTPTR_TYPE__=int __INT_FAST16_MAX__=2147483647 __INT_FAST16_TYPE__=int __INT_FAST32_MAX__=2147483647 __INT_FAST32_TYPE__=int __INT_FAST64_MAX__=9223372036854775807LL __INT_FAST64_TYPE__=long\ long\ int __INT_FAST8_MAX__=127 __INT_FAST8_TYPE__=signed\ char __INT_LEAST16_MAX__=32767 __INT_LEAST16_TYPE__=short\ int __INT_LEAST32_MAX__=2147483647 __INT_LEAST32_TYPE__=int __INT_LEAST64_MAX__=9223372036854775807LL __INT_LEAST64_TYPE__=long\ long\ int __INT_LEAST8_MAX__=127 __INT_LEAST8_TYPE__=signed\ char __INT_MAX__=2147483647 __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L __LDBL_DIG__=18 __LDBL_EPSILON__=1.08420217248550443401e-19L __LDBL_HAS_DENORM__=1 __LDBL_HAS_INFINITY__=1 __LDBL_HAS_QUIET_NAN__=1 __LDBL_MANT_DIG__=64 __LDBL_MAX_10_EXP__=4932 __LDBL_MAX_EXP__=16384 __LDBL_MAX__=1.18973149535723176502e+4932L __LDBL_MIN_10_EXP__=(-4931) __LDBL_MIN_EXP__=(-16381) __LDBL_MIN__=3.36210314311209350626e-4932L __LONG_LONG_MAX__=9223372036854775807LL __LONG_MAX__=2147483647L __PRAGMA_REDEFINE_EXTNAME=1 __PTRDIFF_MAX__=2147483647 __PTRDIFF_TYPE__=int __REGISTER_PREFIX__= __SCHAR_MAX__=127 __SHRT_MAX__=32767 __SIG_ATOMIC_MAX__=2147483647 __SIG_ATOMIC_MIN__=(-2147483647\ -\ 1) __SIG_ATOMIC_TYPE__=int __SIZEOF_DOUBLE__=8 __SIZEOF_FLOAT__=4 __SIZEOF_INT__=4 __SIZEOF_LONG_DOUBLE__=12 __SIZEOF_LONG_LONG__=8 __SIZEOF_LONG__=4 __SIZEOF_POINTER__=4 __SIZEOF_PTRDIFF_T__=4 __SIZEOF_SHORT__=2 __SIZEOF_SIZE_T__=4 __SIZEOF_WCHAR_T__=4 __SIZEOF_WINT_T__=4 __SIZE_MAX__=4294967295U __SIZE_TYPE__=unsigned\ int __STDC_HOSTED__=1 __STDC__=1 __UINT16_C(c)=c __UINT16_MAX__=65535 __UINT16_TYPE__=short\ unsigned\ int __UINT32_C(c)=cU __UINT32_MAX__=4294967295U __UINT32_TYPE__=unsigned\ int __UINT64_C(c)=cULL __UINT64_MAX__=18446744073709551615ULL __UINT64_TYPE__=long\ long\ unsigned\ int __UINT8_C(c)=c __UINT8_MAX__=255 __UINT8_TYPE__=unsigned\ char __UINTMAX_C(c)=cULL __UINTMAX_MAX__=18446744073709551615ULL __UINTMAX_TYPE__=long\ long\ unsigned\ int __UINTPTR_MAX__=4294967295U __UINTPTR_TYPE__=unsigned\ int __UINT_FAST16_MAX__=4294967295U __UINT_FAST16_TYPE__=unsigned\ int __UINT_FAST32_MAX__=4294967295U __UINT_FAST32_TYPE__=unsigned\ int __UINT_FAST64_MAX__=18446744073709551615ULL __UINT_FAST64_TYPE__=long\ long\ unsigned\ int __UINT_FAST8_MAX__=255 __UINT_FAST8_TYPE__=unsigned\ char __UINT_LEAST16_MAX__=65535 __UINT_LEAST16_TYPE__=short\ unsigned\ int __UINT_LEAST32_MAX__=4294967295U __UINT_LEAST32_TYPE__=unsigned\ int __UINT_LEAST64_MAX__=18446744073709551615ULL __UINT_LEAST64_TYPE__=long\ long\ unsigned\ int __UINT_LEAST8_MAX__=255 __UINT_LEAST8_TYPE__=unsigned\ char __USER_LABEL_PREFIX__= __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE64=1 __USE_LARGEFILE=1 __USE_MISC=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_POSIX=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 __VERSION__="4.5.1" __WCHAR_MAX__=2147483647L __WCHAR_MIN__=(-2147483647L\ -\ 1) __WCHAR_TYPE__=long\ int __WINT_MAX__=4294967295U __WINT_MIN__=0U __WINT_TYPE__=unsigned\ int __gnu_linux__=1 __i386=1 __i386__=1 __i586=1 __i586__=1 __linux=1 __linux__=1 __pentium=1 __pentium__=1 __tune_i586__=1 __tune_pentium__=1 __unix=1 __unix__=1 i386=1 linux=1 unix=1'
4d_nv_preserves_uv='define'
5d_printf_format_null='define'
6d_u32align='undef'
7gidformat='"lu"'
8i32type='long'
9i64type='long long'
10ivsize='4'
11longdblsize='12'
12longsize='4'
13myuname='linux qemux86 2.6.37-rc5-yocto-standard+ #1 preempt mon dec 20 14:21:27 pst 2010 i686 gnulinux '
14need_va_copy='undef'
15netdb_host_type='const void *'
16nv_preserves_uv_bits='32'
17ptrsize='4'
18quadkind='3'
19quadtype='long long'
20sGMTIME_max='2147483647'
21sGMTIME_min='-2147483648'
22sLOCALTIME_max='2147483647'
23sLOCALTIME_min='-2147483648'
24sPRIXU64='"LX"'
25sPRId64='"Ld"'
26sPRIi64='"Li"'
27sPRIo64='"Lo"'
28sPRIu64='"Lu"'
29sPRIx64='"Lx"'
30selectminbits='32'
31sizesize='4'
32u32type='unsigned long'
33u64type='unsigned long long'
34uidformat='"lu"'
35uquadtype='unsigned long long'
36use64bitall='undef'
37use64bitint='undef'
38uvsize='4'
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/config.sh-32-be b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-be
index a59a9abb5e..a59a9abb5e 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/config.sh-32-be
+++ b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-be
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/config.sh-32-le b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-le
index 10e4226567..10e4226567 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/config.sh-32-le
+++ b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-le
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64 b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64
new file mode 100644
index 0000000000..6929d3a09d
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64
@@ -0,0 +1,38 @@
1alignbytes='8'
2cf_time='Thu Dec 23 02:06:42 UTC 2010'
3cppsymbols='_FILE_OFFSET_BITS=64 _GNU_SOURCE=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 _LP64=1 _POSIX_C_SOURCE=200809L _POSIX_SOURCE=1 _REENTRANT=1 _XOPEN_SOURCE=700 _XOPEN_SOURCE_EXTENDED=1 __BIGGEST_ALIGNMENT__=16 __CHAR16_TYPE__=short\ unsigned\ int __CHAR32_TYPE__=unsigned\ int __CHAR_BIT__=8 __DBL_DENORM_MIN__=((double)4.94065645841246544177e-324L) __DBL_DIG__=15 __DBL_EPSILON__=((double)2.22044604925031308085e-16L) __DBL_HAS_DENORM__=1 __DBL_HAS_INFINITY__=1 __DBL_HAS_QUIET_NAN__=1 __DBL_MANT_DIG__=53 __DBL_MAX_10_EXP__=308 __DBL_MAX_EXP__=1024 __DBL_MAX__=((double)1.79769313486231570815e+308L) __DBL_MIN_10_EXP__=(-307) __DBL_MIN_EXP__=(-1021) __DBL_MIN__=((double)2.22507385850720138309e-308L) __DEC128_EPSILON__=1E-33DL __DEC128_MANT_DIG__=34 __DEC128_MAX_EXP__=6145 __DEC128_MAX__=9.999999999999999999999999999999999E6144DL __DEC128_MIN_EXP__=(-6142) __DEC128_MIN__=1E-6143DL __DEC128_SUBNORMAL_MIN__=0.000000000000000000000000000000001E-6143DL __DEC32_EPSILON__=1E-6DF __DEC32_MANT_DIG__=7 __DEC32_MAX_EXP__=97 __DEC32_MAX__=9.999999E96DF __DEC32_MIN_EXP__=(-94) __DEC32_MIN__=1E-95DF __DEC32_SUBNORMAL_MIN__=0.000001E-95DF __DEC64_EPSILON__=1E-15DD __DEC64_MANT_DIG__=16 __DEC64_MAX_EXP__=385 __DEC64_MAX__=9.999999999999999E384DD __DEC64_MIN_EXP__=(-382) __DEC64_MIN__=1E-383DD __DEC64_SUBNORMAL_MIN__=0.000000000000001E-383DD __DECIMAL_BID_FORMAT__=1 __DECIMAL_DIG__=21 __DEC_EVAL_METHOD__=2 __ELF__=1 __FINITE_MATH_ONLY__=0 __FLT_DENORM_MIN__=1.40129846432481707092e-45F __FLT_DIG__=6 __FLT_EPSILON__=1.19209289550781250000e-7F __FLT_EVAL_METHOD__=0 __FLT_HAS_DENORM__=1 __FLT_HAS_INFINITY__=1 __FLT_HAS_QUIET_NAN__=1 __FLT_MANT_DIG__=24 __FLT_MAX_10_EXP__=38 __FLT_MAX_EXP__=128 __FLT_MAX__=3.40282346638528859812e+38F __FLT_MIN_10_EXP__=(-37) __FLT_MIN_EXP__=(-125) __FLT_MIN__=1.17549435082228750797e-38F __FLT_RADIX__=2 __GCC_HAVE_DWARF2_CFI_ASM=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4=1 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8=1 __GLIBC_MINOR__=12 __GLIBC__=2 __GNUC_GNU_INLINE__=1 __GNUC_MINOR__=5 __GNUC_PATCHLEVEL__=1 __GNUC__=4 __GNU_LIBRARY__=6 __GXX_ABI_VERSION=1002 __INT16_C(c)=c __INT16_MAX__=32767 __INT16_TYPE__=short\ int __INT32_C(c)=c __INT32_MAX__=2147483647 __INT32_TYPE__=int __INT64_C(c)=cL __INT64_MAX__=9223372036854775807L __INT64_TYPE__=long\ int __INT8_C(c)=c __INT8_MAX__=127 __INT8_TYPE__=signed\ char __INTMAX_C(c)=cL __INTMAX_MAX__=9223372036854775807L __INTMAX_TYPE__=long\ int __INTPTR_MAX__=9223372036854775807L __INTPTR_TYPE__=long\ int __INT_FAST16_MAX__=9223372036854775807L __INT_FAST16_TYPE__=long\ int __INT_FAST32_MAX__=9223372036854775807L __INT_FAST32_TYPE__=long\ int __INT_FAST64_MAX__=9223372036854775807L __INT_FAST64_TYPE__=long\ int __INT_FAST8_MAX__=127 __INT_FAST8_TYPE__=signed\ char __INT_LEAST16_MAX__=32767 __INT_LEAST16_TYPE__=short\ int __INT_LEAST32_MAX__=2147483647 __INT_LEAST32_TYPE__=int __INT_LEAST64_MAX__=9223372036854775807L __INT_LEAST64_TYPE__=long\ int __INT_LEAST8_MAX__=127 __INT_LEAST8_TYPE__=signed\ char __INT_MAX__=2147483647 __LDBL_DENORM_MIN__=3.64519953188247460253e-4951L __LDBL_DIG__=18 __LDBL_EPSILON__=1.08420217248550443401e-19L __LDBL_HAS_DENORM__=1 __LDBL_HAS_INFINITY__=1 __LDBL_HAS_QUIET_NAN__=1 __LDBL_MANT_DIG__=64 __LDBL_MAX_10_EXP__=4932 __LDBL_MAX_EXP__=16384 __LDBL_MAX__=1.18973149535723176502e+4932L __LDBL_MIN_10_EXP__=(-4931) __LDBL_MIN_EXP__=(-16381) __LDBL_MIN__=3.36210314311209350626e-4932L __LONG_LONG_MAX__=9223372036854775807LL __LONG_MAX__=9223372036854775807L __LP64__=1 __MMX__=1 __PRAGMA_REDEFINE_EXTNAME=1 __PTRDIFF_MAX__=9223372036854775807L __PTRDIFF_TYPE__=long\ int __REGISTER_PREFIX__= __SCHAR_MAX__=127 __SHRT_MAX__=32767 __SIG_ATOMIC_MAX__=2147483647 __SIG_ATOMIC_MIN__=(-2147483647\ -\ 1) __SIG_ATOMIC_TYPE__=int __SIZEOF_DOUBLE__=8 __SIZEOF_FLOAT__=4 __SIZEOF_INT__=4 __SIZEOF_LONG_DOUBLE__=16 __SIZEOF_LONG_LONG__=8 __SIZEOF_LONG__=8 __SIZEOF_POINTER__=8 __SIZEOF_PTRDIFF_T__=8 __SIZEOF_SHORT__=2 __SIZEOF_SIZE_T__=8 __SIZEOF_WCHAR_T__=4 __SIZEOF_WINT_T__=4 __SIZE_MAX__=18446744073709551615UL __SIZE_TYPE__=long\ unsigned\ int __SSE2_MATH__=1 __SSE2__=1 __SSE_MATH__=1 __SSE__=1 __STDC_HOSTED__=1 __STDC__=1 __UINT16_C(c)=c __UINT16_MAX__=65535 __UINT16_TYPE__=short\ unsigned\ int __UINT32_C(c)=cU __UINT32_MAX__=4294967295U __UINT32_TYPE__=unsigned\ int __UINT64_C(c)=cUL __UINT64_MAX__=18446744073709551615UL __UINT64_TYPE__=long\ unsigned\ int __UINT8_C(c)=c __UINT8_MAX__=255 __UINT8_TYPE__=unsigned\ char __UINTMAX_C(c)=cUL __UINTMAX_MAX__=18446744073709551615UL __UINTMAX_TYPE__=long\ unsigned\ int __UINTPTR_MAX__=18446744073709551615UL __UINTPTR_TYPE__=long\ unsigned\ int __UINT_FAST16_MAX__=18446744073709551615UL __UINT_FAST16_TYPE__=long\ unsigned\ int __UINT_FAST32_MAX__=18446744073709551615UL __UINT_FAST32_TYPE__=long\ unsigned\ int __UINT_FAST64_MAX__=18446744073709551615UL __UINT_FAST64_TYPE__=long\ unsigned\ int __UINT_FAST8_MAX__=255 __UINT_FAST8_TYPE__=unsigned\ char __UINT_LEAST16_MAX__=65535 __UINT_LEAST16_TYPE__=short\ unsigned\ int __UINT_LEAST32_MAX__=4294967295U __UINT_LEAST32_TYPE__=unsigned\ int __UINT_LEAST64_MAX__=18446744073709551615UL __UINT_LEAST64_TYPE__=long\ unsigned\ int __UINT_LEAST8_MAX__=255 __UINT_LEAST8_TYPE__=unsigned\ char __USER_LABEL_PREFIX__= __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE64=1 __USE_LARGEFILE=1 __USE_MISC=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_POSIX=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 __VERSION__="4.5.1" __WCHAR_MAX__=2147483647 __WCHAR_MIN__=(-2147483647\ -\ 1) __WCHAR_TYPE__=int __WINT_MAX__=4294967295U __WINT_MIN__=0U __WINT_TYPE__=unsigned\ int __amd64=1 __amd64__=1 __gnu_linux__=1 __k8=1 __k8__=1 __linux=1 __linux__=1 __unix=1 __unix__=1 __x86_64=1 __x86_64__=1 linux=1 unix=1'
4d_nv_preserves_uv='undef'
5d_printf_format_null='undef'
6d_u32align='define'
7gidformat='"u"'
8i32type='int'
9i64type='long'
10ivsize='8'
11longdblsize='16'
12longsize='8'
13myuname='linux qemux86-64 2.6.37-rc5-yocto-standard+ #1 smp preempt mon dec 20 17:19:50 pst 2010 x86_64 gnulinux '
14need_va_copy='define'
15netdb_host_type='char *'
16nv_preserves_uv_bits='53'
17ptrsize='8'
18quadkind='2'
19quadtype='long'
20sGMTIME_max='67768036191676799'
21sGMTIME_min='-62167219200'
22sLOCALTIME_max='67768036191676799'
23sLOCALTIME_min='-62167219200'
24sPRIXU64='"lX"'
25sPRId64='"ld"'
26sPRIi64='"li"'
27sPRIo64='"lo"'
28sPRIu64='"lu"'
29sPRIx64='"lx"'
30selectminbits='64'
31sizesize='8'
32u32type='unsigned int'
33u64type='unsigned long'
34uidformat='"u"'
35uquadtype='unsigned long'
36use64bitall='define'
37use64bitint='define'
38uvsize='8'
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/config.sh-64-be b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-be
index c08ce3c431..c08ce3c431 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/config.sh-64-be
+++ b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-be
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/config.sh-64-le b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-le
index 277d2a9bee..277d2a9bee 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/config.sh-64-le
+++ b/meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-le
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/cross-generate_uudmap.patch b/meta/recipes-devtools/perl/perl-5.12.2/cross-generate_uudmap.patch
new file mode 100644
index 0000000000..f6218c1bbb
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/cross-generate_uudmap.patch
@@ -0,0 +1,13 @@
1Index: perl-5.10.1/Makefile.SH
2===================================================================
3--- perl-5.10.1.orig/Makefile.SH 2010-02-12 19:06:17.000000000 +0300
4+++ perl-5.10.1/Makefile.SH 2010-02-12 19:10:13.000000000 +0300
5@@ -596,7 +596,7 @@
6 \$(RUN) ./generate_uudmap\$(HOST_EXE_EXT) >uudmap.h
7
8 generate_uudmap\$(HOST_EXE_EXT): generate_uudmap\$(OBJ_EXT)
9- \$(CC) -o generate_uudmap\$(EXE_EXT) \$(LDFLAGS) generate_uudmap\$(OBJ_EXT) \$(libs)
10+ \$(BUILD_CC) -o generate_uudmap\$(EXE_EXT) generate_uudmap.c
11
12 !GROK!THIS!
13 $spitshell >>$Makefile <<'!NO!SUBS!'
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_optim.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_optim.diff
new file mode 100644
index 0000000000..383df6b358
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_optim.diff
@@ -0,0 +1,32 @@
1From: Niko Tyni <ntyni@debian.org>
2Description: Downgrade the optimization of sv.c on arm due to a gcc-4.4 bug
3Bug-Debian: http://bugs.debian.org/580334
4
5Regression from gcc-4.3, not reported yet.
6
7 perl -e '"-2" =~ /(.+)/; @foo=(); push @foo, $_ for $1..undef; print @foo ? "ok\n" : "not ok\n"'
8
9
10---
11 cflags.SH | 6 +++++-
12 1 files changed, 5 insertions(+), 1 deletions(-)
13
14diff --git a/cflags.SH b/cflags.SH
15index a5d71b9..6914ba6 100755
16--- a/cflags.SH
17+++ b/cflags.SH
18@@ -312,7 +312,11 @@ for file do
19 regexec) ;;
20 run) ;;
21 scope) ;;
22- sv) ;;
23+ sv)
24+ case $archname in
25+ arm-*|armeb-*)
26+ optimize=-O0;;
27+ esac;;
28 taint) ;;
29 toke) ;;
30 universal) ;;
31--
32tg: (c823880..) debian/arm_optim (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_thread_stress_timeout.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_thread_stress_timeout.diff
new file mode 100644
index 0000000000..34b8a2c1a1
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/arm_thread_stress_timeout.diff
@@ -0,0 +1,23 @@
1Subject: Raise the timeout of ext/threads/shared/t/stress.t to accommodate slower build hosts
2Bug-Debian: http://bugs.debian.org/501970
3
4
5---
6 dist/threads-shared/t/stress.t | 2 +-
7 1 files changed, 1 insertions(+), 1 deletions(-)
8
9diff --git a/dist/threads-shared/t/stress.t b/dist/threads-shared/t/stress.t
10index adfd1ed..652a3e6 100755
11--- a/dist/threads-shared/t/stress.t
12+++ b/dist/threads-shared/t/stress.t
13@@ -34,7 +34,7 @@ use threads::shared;
14 {
15 my $cnt = 50;
16
17- my $TIMEOUT = 60;
18+ my $TIMEOUT = 150;
19
20 my $mutex = 1;
21 share($mutex);
22--
23tg: (c823880..) debian/arm_thread_stress_timeout (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_config_path.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_config_path.diff
new file mode 100644
index 0000000000..799d15e5d1
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_config_path.diff
@@ -0,0 +1,22 @@
1Subject: Set location of CPAN::Config to /etc/perl as /usr may not be writable.
2
3
4---
5 cpan/CPAN/lib/CPAN/HandleConfig.pm | 2 +-
6 1 files changed, 1 insertions(+), 1 deletions(-)
7
8diff --git a/cpan/CPAN/lib/CPAN/HandleConfig.pm b/cpan/CPAN/lib/CPAN/HandleConfig.pm
9index 76cd81e..65a3b27 100644
10--- a/cpan/CPAN/lib/CPAN/HandleConfig.pm
11+++ b/cpan/CPAN/lib/CPAN/HandleConfig.pm
12@@ -543,7 +543,7 @@ sub load {
13 $configpm = $INC{"CPAN/MyConfig.pm"};
14 $redo++;
15 } else {
16- my($path_to_cpan) = File::Basename::dirname($INC{"CPAN.pm"});
17+ my($path_to_cpan) = '/etc/perl';
18 my($configpmdir) = File::Spec->catdir($path_to_cpan,"CPAN");
19 my($configpmtest) = File::Spec->catfile($configpmdir,"Config.pm");
20 my $inc_key;
21--
22tg: (c823880..) debian/cpan_config_path (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_definstalldirs.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_definstalldirs.diff
new file mode 100644
index 0000000000..f64af15eea
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_definstalldirs.diff
@@ -0,0 +1,35 @@
1Subject: Provide a sensible INSTALLDIRS default for modules installed from CPAN.
2
3Some modules which are included in core set INSTALLDIRS => 'perl'
4explicitly in Makefile.PL or Build.PL. This makes sense for the normal @INC
5ordering, but not ours.
6
7
8---
9 cpan/CPAN/lib/CPAN/FirstTime.pm | 4 ++--
10 1 files changed, 2 insertions(+), 2 deletions(-)
11
12diff --git a/cpan/CPAN/lib/CPAN/FirstTime.pm b/cpan/CPAN/lib/CPAN/FirstTime.pm
13index 53ffbf1..53976ff 100644
14--- a/cpan/CPAN/lib/CPAN/FirstTime.pm
15+++ b/cpan/CPAN/lib/CPAN/FirstTime.pm
16@@ -947,7 +947,7 @@ sub init {
17 my_prompt_loop(prefer_installer => 'MB', $matcher, 'MB|EUMM|RAND');
18
19 if (!$matcher or 'makepl_arg make_arg' =~ /$matcher/) {
20- my_dflt_prompt(makepl_arg => "", $matcher);
21+ my_dflt_prompt(makepl_arg => "INSTALLDIRS=site", $matcher);
22 my_dflt_prompt(make_arg => "", $matcher);
23 if ( $CPAN::Config->{makepl_arg} =~ /LIBS=|INC=/ ) {
24 $CPAN::Frontend->mywarn(
25@@ -969,7 +969,7 @@ sub init {
26 my_dflt_prompt(make_install_arg => $CPAN::Config->{make_arg} || "",
27 $matcher);
28
29- my_dflt_prompt(mbuildpl_arg => "", $matcher);
30+ my_dflt_prompt(mbuildpl_arg => "--installdirs site", $matcher);
31 my_dflt_prompt(mbuild_arg => "", $matcher);
32
33 if (exists $CPAN::HandleConfig::keys{mbuild_install_build_command}
34--
35tg: (c823880..) debian/cpan_definstalldirs (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_config_path.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_config_path.diff
new file mode 100644
index 0000000000..6956218f8a
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_config_path.diff
@@ -0,0 +1,43 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Save local versions of CPANPLUS::Config::System into /etc/perl.
3
4This is a configuration file and needs to go in /etc by policy.
5Besides, /usr may not even be writable.
6
7This mirrors the Debian setup of CPAN.pm in debian/cpan_config_path.
8
9See #533707.
10
11---
12 cpan/CPANPLUS/lib/CPANPLUS/Configure.pm | 1 +
13 cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm | 3 +++
14 2 files changed, 4 insertions(+), 0 deletions(-)
15
16diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm b/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm
17index baac91d..a3794de 100644
18--- a/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm
19+++ b/cpan/CPANPLUS/lib/CPANPLUS/Configure.pm
20@@ -276,6 +276,7 @@ Saves the configuration to the package name you provided.
21 If this package is not C<CPANPLUS::Config::System>, it will
22 be saved in your C<.cpanplus> directory, otherwise it will
23 be attempted to be saved in the system wide directory.
24+(On Debian systems, this system wide directory is /etc/perl.)
25
26 If no argument is provided, it will default to your personal
27 config.
28diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm
29index 1a38200..6ee0d82 100644
30--- a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm
31+++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants.pm
32@@ -199,6 +199,9 @@ use constant CONFIG_USER_FILE => sub {
33 ) . '.pm';
34 };
35 use constant CONFIG_SYSTEM_FILE => sub {
36+ # Debian-specific shortcut
37+ return '/etc/perl/CPANPLUS/Config/System.pm';
38+
39 require CPANPLUS::Internals;
40 require File::Basename;
41 my $dir = File::Basename::dirname(
42--
43tg: (c823880..) debian/cpanplus_config_path (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_definstalldirs.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_definstalldirs.diff
new file mode 100644
index 0000000000..3a1e209943
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_definstalldirs.diff
@@ -0,0 +1,52 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Configure CPANPLUS to use the site directories by default.
3Closes: 533707
4
5The core modules usually default to INSTALLDIRS=perl (ExtUtils::MakeMaker)
6or installdirs=core (Module::Build), so we need to explicitly ask for
7the site destination to get upgraded versions into /usr/local.
8
9See also the sister patch, debian/cpan_definstalldirs .
10
11---
12 cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm | 30 +++++++++++++++++++++++++++
13 1 files changed, 30 insertions(+), 0 deletions(-)
14
15diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm b/cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm
16new file mode 100644
17index 0000000..5e6e11e
18--- /dev/null
19+++ b/cpan/CPANPLUS/lib/CPANPLUS/Config/System.pm
20@@ -0,0 +1,30 @@
21+### minimal pod, so you can find it with perldoc -l, etc
22+=pod
23+
24+=head1 NAME
25+
26+CPANPLUS::Config::System
27+
28+=head1 DESCRIPTION
29+
30+This is a CPANPLUS configuration file that sets appropriate default
31+settings on Debian systems.
32+
33+The only preconfigured settings are C<makemakerflags> (set to
34+C<INSTALLDIRS=site>) and C<buildflags> (set to C<--installdirs site>).
35+
36+These settings will not have any effect if
37+C</etc/perl/CPANPLUS/Config/System.pm> is present.
38+
39+=cut
40+
41+
42+package CPANPLUS::Config::System;
43+
44+sub setup {
45+ my $conf = shift;
46+ $conf->set_conf( makemakerflags => 'INSTALLDIRS=site' );
47+ $conf->set_conf( buildflags => '--installdirs site' );
48+}
49+
50+1;
51--
52tg: (c823880..) debian/cpanplus_definstalldirs (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/db_file_ver.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/db_file_ver.diff
new file mode 100644
index 0000000000..8d0e61b1d1
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/db_file_ver.diff
@@ -0,0 +1,32 @@
1Subject: Remove overly restrictive DB_File version check.
2Bug-Debian: http://bugs.debian.org/340047
3
4Package dependencies ensure the correct library is linked at run-time.
5
6
7---
8 cpan/DB_File/version.c | 2 ++
9 1 files changed, 2 insertions(+), 0 deletions(-)
10
11diff --git a/cpan/DB_File/version.c b/cpan/DB_File/version.c
12index 47158d3..67ccdff 100644
13--- a/cpan/DB_File/version.c
14+++ b/cpan/DB_File/version.c
15@@ -48,6 +48,7 @@ __getBerkeleyDBInfo()
16
17 (void)db_version(&Major, &Minor, &Patch) ;
18
19+#ifndef DEBIAN
20 /* Check that the versions of db.h and libdb.a are the same */
21 if (Major != DB_VERSION_MAJOR || Minor != DB_VERSION_MINOR )
22 /* || Patch != DB_VERSION_PATCH) */
23@@ -55,6 +56,7 @@ __getBerkeleyDBInfo()
24 croak("\nDB_File was build with libdb version %d.%d.%d,\nbut you are attempting to run it with libdb version %d.%d.%d\n",
25 DB_VERSION_MAJOR, DB_VERSION_MINOR, DB_VERSION_PATCH,
26 Major, Minor, Patch) ;
27+#endif /* DEBIAN */
28
29 /* check that libdb is recent enough -- we need 2.3.4 or greater */
30 if (Major == 2 && (Minor < 3 || (Minor == 3 && Patch < 4)))
31--
32tg: (c823880..) debian/db_file_ver (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/deprecate-with-apt.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/deprecate-with-apt.diff
new file mode 100644
index 0000000000..a515035d9b
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/deprecate-with-apt.diff
@@ -0,0 +1,59 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Point users to Debian packages of deprecated core modules
3Bug-Debian: http://bugs.debian.org/580034
4
5Class::ISA, Switch, Pod::Plainer, and (partially) Shell were
6deprecated from the Perl core in 5.12.0.
7
8To get a clean transition, perl-modules is going to recommend the separate
9Debian packages of these for one release cycle so that they will be
10pulled in by default on upgrades.
11
12However, on systems configured to ignore recommendations the deprecation
13warnings will still be useful, so modify them slightly to point to the
14separate packages instead.
15
16---
17 lib/deprecate.pm | 18 +++++++++++++++++-
18 1 files changed, 17 insertions(+), 1 deletions(-)
19
20diff --git a/lib/deprecate.pm b/lib/deprecate.pm
21index 7b92e0b..9db7330 100644
22--- a/lib/deprecate.pm
23+++ b/lib/deprecate.pm
24@@ -7,6 +7,16 @@ our $VERSION = 0.01;
25 our %Config;
26 unless (%Config) { require Config; *Config = \%Config::Config; }
27
28+# Debian-specific change: recommend the separate Debian packages of
29+# deprecated modules where available
30+
31+my %DEBIAN_PACKAGES = (
32+ "Class::ISA" => "libclass-isa-perl",
33+ "Pod::Plainer" => "libpod-plainer-perl",
34+ "Switch" => "libswitch-perl",
35+ "Shell" => "libshell-perl",
36+);
37+
38 sub import {
39 my ($package, $file, $line) = caller;
40 my $expect_leaf = "$package.pm";
41@@ -44,9 +54,15 @@ EOM
42 if (defined $callers_bitmask
43 && (vec($callers_bitmask, $warnings::Offsets{deprecated}, 1)
44 || vec($callers_bitmask, $warnings::Offsets{all}, 1))) {
45- warn <<"EOM";
46+ if (my $deb = $DEBIAN_PACKAGES{$package}) {
47+ warn <<"EOM";
48+$package will be removed from the Perl core distribution in the next major release. Please install the separate $deb package. It is being used at $call_file, line $call_line.
49+EOM
50+ } else {
51+ warn <<"EOM";
52 $package will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at $call_file, line $call_line.
53 EOM
54+ }
55 }
56 return;
57 }
58--
59tg: (c823880..) debian/deprecate-with-apt (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/devel-ppport-ia64-optim.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/devel-ppport-ia64-optim.diff
new file mode 100644
index 0000000000..9e4d9cfdf9
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/devel-ppport-ia64-optim.diff
@@ -0,0 +1,32 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Work around an ICE on ia64
3Closes: 548943
4
5Temporarily work around an internal compiler error in Devel::PPPort
6on ia64+gcc-4.3.
7
8
9---
10 cpan/Devel-PPPort/Makefile.PL | 7 +++++++
11 1 files changed, 7 insertions(+), 0 deletions(-)
12
13diff --git a/cpan/Devel-PPPort/Makefile.PL b/cpan/Devel-PPPort/Makefile.PL
14index 67eebc1..f1ef7a2 100644
15--- a/cpan/Devel-PPPort/Makefile.PL
16+++ b/cpan/Devel-PPPort/Makefile.PL
17@@ -75,6 +75,13 @@ sub configure
18 push @moreopts, INSTALLDIRS => ($] >= 5.007003 ? 'perl' : 'site');
19 }
20
21+
22+ # temporary Debian hack, see http://bugs.debian.org/548943
23+ require Config;
24+ if ($Config::Config{archname} =~ /^ia64/) {
25+ push @moreopts, OPTIMIZE => '-g -O0';
26+ }
27+
28 if ($opt{'apicheck'}) {
29 $PL_FILES{'apicheck_c.PL'} = 'apicheck.c';
30 push @C_FILES, qw{ apicheck.c };
31--
32tg: (c823880..) debian/devel-ppport-ia64-optim (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff
new file mode 100644
index 0000000000..f540067214
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff
@@ -0,0 +1,29 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Disable zlib bundling in Compress::Raw::Zlib
3
4Compress::Raw::Zlib statically links its bundled version of zlib
5by default, but we use the system library instead.
6
7---
8 cpan/Compress-Raw-Zlib/config.in | 6 +++---
9 1 files changed, 3 insertions(+), 3 deletions(-)
10
11diff --git a/cpan/Compress-Raw-Zlib/config.in b/cpan/Compress-Raw-Zlib/config.in
12index c56cc03..2c6659b 100644
13--- a/cpan/Compress-Raw-Zlib/config.in
14+++ b/cpan/Compress-Raw-Zlib/config.in
15@@ -16,9 +16,9 @@
16 # Setting the Gzip OS Code
17 #
18
19-BUILD_ZLIB = True
20-INCLUDE = ./zlib-src
21-LIB = ./zlib-src
22+BUILD_ZLIB = False
23+INCLUDE = /usr/include
24+LIB = /usr/lib
25
26 OLD_ZLIB = False
27 GZIP_OS_CODE = AUTO_DETECT
28--
29tg: (c823880..) debian/disable-zlib-bundling (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/doc_info.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/doc_info.diff
new file mode 100644
index 0000000000..ec7eba98f9
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/doc_info.diff
@@ -0,0 +1,34 @@
1Subject: Replace generic man(1) instructions with Debian-specific information.
2
3Indicate that the user needs to install the perl-doc package.
4
5
6---
7 pod/perl.pod | 12 ++++++++++--
8 1 files changed, 10 insertions(+), 2 deletions(-)
9
10diff --git a/pod/perl.pod b/pod/perl.pod
11index e48e526..3b0bbf6 100644
12--- a/pod/perl.pod
13+++ b/pod/perl.pod
14@@ -241,8 +241,16 @@ For ease of access, the Perl manual has been split up into several sections.
15 perlwin32 Perl notes for Windows
16
17
18-On a Unix-like system, these documentation files will usually also be
19-available as manpages for use with the F<man> program.
20+On Debian systems, you need to install the B<perl-doc> package which
21+contains the majority of the standard Perl documentation and the
22+F<perldoc> program.
23+
24+Extensive additional documentation for Perl modules is available, both
25+those distributed with Perl and third-party modules which are packaged
26+or locally installed.
27+
28+You should be able to view Perl's documentation with your man(1)
29+program or perldoc(1).
30
31 In general, if something strange has gone wrong with your program and you're
32 not sure where you should look for help, try the B<-w> switch first. It will
33--
34tg: (c823880..) debian/doc_info (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/enc2xs_inc.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/enc2xs_inc.diff
new file mode 100644
index 0000000000..227dc10581
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/enc2xs_inc.diff
@@ -0,0 +1,49 @@
1Subject: Tweak enc2xs to follow symlinks and ignore missing @INC directories.
2Bug-Debian: http://bugs.debian.org/290336
3
4- ignore missing directories,
5- follow symlinks (/usr/share/perl/5.8 -> 5.8.4).
6
7
8---
9 cpan/Encode/bin/enc2xs | 8 ++++----
10 1 files changed, 4 insertions(+), 4 deletions(-)
11
12diff --git a/cpan/Encode/bin/enc2xs b/cpan/Encode/bin/enc2xs
13index 773c0a0..049ecf9 100644
14--- a/cpan/Encode/bin/enc2xs
15+++ b/cpan/Encode/bin/enc2xs
16@@ -924,11 +924,11 @@ use vars qw(
17 sub find_e2x{
18 eval { require File::Find; };
19 my (@inc, %e2x_dir);
20- for my $inc (@INC){
21+ for my $inc (grep -d, @INC){
22 push @inc, $inc unless $inc eq '.'; #skip current dir
23 }
24 File::Find::find(
25- sub {
26+ { wanted => sub {
27 my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
28 $atime,$mtime,$ctime,$blksize,$blocks)
29 = lstat($_) or return;
30@@ -938,7 +938,7 @@ sub find_e2x{
31 $e2x_dir{$File::Find::dir} ||= $mtime;
32 }
33 return;
34- }, @inc);
35+ }, follow => 1}, @inc);
36 warn join("\n", keys %e2x_dir), "\n";
37 for my $d (sort {$e2x_dir{$a} <=> $e2x_dir{$b}} keys %e2x_dir){
38 $_E2X = $d;
39@@ -1005,7 +1005,7 @@ sub make_configlocal_pm {
40 $LocalMod{$enc} ||= $mod;
41 }
42 };
43- File::Find::find({wanted => $wanted}, @INC);
44+ File::Find::find({wanted => $wanted, follow => 1}, grep -d, @INC);
45 $_ModLines = "";
46 for my $enc ( sort keys %LocalMod ) {
47 $_ModLines .=
48--
49tg: (c823880..) debian/enc2xs_inc (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/errno_ver.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/errno_ver.diff
new file mode 100644
index 0000000000..f4370086ba
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/errno_ver.diff
@@ -0,0 +1,32 @@
1Subject: Remove Errno version check due to upgrade problems with long-running processes.
2Bug-Debian: http://bugs.debian.org/343351
3
4Remove version check which can cause problems for long running
5processes embedding perl when upgrading to a newer version,
6compatible, but built on a different machine.
7
8
9---
10 ext/Errno/Errno_pm.PL | 5 -----
11 1 files changed, 0 insertions(+), 5 deletions(-)
12
13diff --git a/ext/Errno/Errno_pm.PL b/ext/Errno/Errno_pm.PL
14index 124b8fc..b554cd4 100644
15--- a/ext/Errno/Errno_pm.PL
16+++ b/ext/Errno/Errno_pm.PL
17@@ -341,13 +341,8 @@ EOF
18 package Errno;
19 our (\@EXPORT_OK,\%EXPORT_TAGS,\@ISA,\$VERSION,\%errno,\$AUTOLOAD);
20 use Exporter ();
21-use Config;
22 use strict;
23
24-"\$Config{'archname'}-\$Config{'osvers'}" eq
25-"$Config{'archname'}-$Config{'osvers'}" or
26- die "Errno architecture ($Config{'archname'}-$Config{'osvers'}) does not match executable architecture (\$Config{'archname'}-\$Config{'osvers'})";
27-
28 \$VERSION = "$VERSION";
29 \$VERSION = eval \$VERSION;
30 \@ISA = qw(Exporter);
31--
32tg: (c823880..) debian/errno_ver (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/52_debian_extutils_hacks.patch b/meta/recipes-devtools/perl/perl-5.12.2/debian/extutils_hacks.diff
index 8a964f9338..9134cac9f2 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/52_debian_extutils_hacks.patch
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/extutils_hacks.diff
@@ -1,4 +1,4 @@
1Various debian-specific ExtUtils changes: 1Subject: Various debian-specific ExtUtils changes
2 2
3 * Respect umask during installation, and set as appropriate for each of 3 * Respect umask during installation, and set as appropriate for each of
4 perl, vendor and site (policy requires group writable site dirs). 4 perl, vendor and site (policy requires group writable site dirs).
@@ -11,38 +11,23 @@ Various debian-specific ExtUtils changes:
11 11
12 * Set location of libperl.a to /usr/lib. 12 * Set location of libperl.a to /usr/lib.
13 * Note that libperl-dev package is required for embedded linking. 13 * Note that libperl-dev package is required for embedded linking.
14 * Change install target dependencies to facilitate parallel makes.
14 15
15diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/Embed.pm perl-5.8.8/lib/ExtUtils/Embed.pm 16
16--- perl-5.8.8.orig/lib/ExtUtils/Embed.pm 2004-08-03 20:41:49.000000000 +1000 17---
17+++ perl-5.8.8/lib/ExtUtils/Embed.pm 2006-02-05 10:42:11.000000000 +1100 18 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm | 12 +++---
18@@ -300,6 +300,9 @@ 19 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 44 +++++-----------------
19 Typically, an application B<Makefile> will invoke ExtUtils::Embed 20 cpan/ExtUtils-MakeMaker/t/INST.t | 4 +--
20 functions while building your application. 21 cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t | 10 +++---
21 22 dist/ExtUtils-Install/lib/ExtUtils/Install.pm | 18 +++++-----
22+Note that on Debian systems the B<libperl-dev> package is required for 23 lib/ExtUtils/Embed.pm | 3 ++
23+compiling applications which embed an interpreter. 24 6 files changed, 34 insertions(+), 57 deletions(-)
24+ 25
25 =head1 @EXPORT 26diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
26 27index 4905aeb..a80ac20 100644
27 ExtUtils::Embed exports the following functions: 28--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
28diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/Install.pm perl-5.8.8/lib/ExtUtils/Install.pm 29+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
29--- perl-5.8.8.orig/lib/ExtUtils/Install.pm 2005-10-21 22:00:01.000000000 +1000 30@@ -701,8 +701,6 @@ all POD files in MAN1PODS and MAN3PODS.
30+++ perl-5.8.8/lib/ExtUtils/Install.pm 2006-02-05 10:42:11.000000000 +1100
31@@ -173,8 +173,8 @@
32 if (-f $targetfile){
33 forceunlink($targetfile) unless $nonono;
34 } else {
35- mkpath($targetdir,0,0755) unless $nonono;
36- print "mkpath($targetdir,0,0755)\n" if $verbose>1;
37+ mkpath($targetdir) unless $nonono;
38+ print "mkpath($targetdir)\n" if $verbose>1;
39 }
40 copy($sourcefile, $targetfile) unless $nonono;
41 print "Installing $targetfile\n";
42diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Any.pm perl-5.8.8/lib/ExtUtils/MM_Any.pm
43--- perl-5.8.8.orig/lib/ExtUtils/MM_Any.pm 2005-04-13 17:49:53.000000000 +1000
44+++ perl-5.8.8/lib/ExtUtils/MM_Any.pm 2006-02-05 11:17:52.000000000 +1100
45@@ -645,8 +645,6 @@
46 sub manifypods_target { 31 sub manifypods_target {
47 my($self) = shift; 32 my($self) = shift;
48 33
@@ -51,7 +36,7 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Any.pm perl-5.8.8/li
51 my $dependencies = ''; 36 my $dependencies = '';
52 37
53 # populate manXpods & dependencies: 38 # populate manXpods & dependencies:
54@@ -666,7 +664,7 @@ 39@@ -718,7 +716,7 @@ END
55 foreach my $section (qw(1 3)) { 40 foreach my $section (qw(1 3)) {
56 my $pods = $self->{"MAN${section}PODS"}; 41 my $pods = $self->{"MAN${section}PODS"};
57 push @man_cmds, $self->split_command(<<CMD, %$pods); 42 push @man_cmds, $self->split_command(<<CMD, %$pods);
@@ -60,7 +45,7 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Any.pm perl-5.8.8/li
60 CMD 45 CMD
61 } 46 }
62 47
63@@ -1080,9 +1078,11 @@ 48@@ -1428,9 +1426,11 @@ sub init_INSTALL_from_PREFIX {
64 $self->{SITEPREFIX} ||= $sprefix; 49 $self->{SITEPREFIX} ||= $sprefix;
65 $self->{VENDORPREFIX} ||= $vprefix; 50 $self->{VENDORPREFIX} ||= $vprefix;
66 51
@@ -75,13 +60,14 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Any.pm perl-5.8.8/li
75 } 60 }
76 61
77 my $arch = $Config{archname}; 62 my $arch = $Config{archname};
78diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm perl-5.8.8/lib/ExtUtils/MM_Unix.pm 63diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
79--- perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm 2005-05-21 19:42:56.000000000 +1000 64index 239d6df..940de38 100644
80+++ perl-5.8.8/lib/ExtUtils/MM_Unix.pm 2006-02-05 17:40:19.000000000 +1100 65--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
81@@ -2054,9 +2054,7 @@ 66+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
67@@ -2046,9 +2046,7 @@ doc__install : doc_site_install
82 $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site 68 $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
83 69
84 pure_perl_install :: 70 pure_perl_install :: all
85- $(NOECHO) $(MOD_INSTALL) \ 71- $(NOECHO) $(MOD_INSTALL) \
86- read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \ 72- read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
87- write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \ 73- write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
@@ -89,19 +75,19 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm perl-5.8.8/l
89 $(INST_LIB) $(DESTINSTALLPRIVLIB) \ 75 $(INST_LIB) $(DESTINSTALLPRIVLIB) \
90 $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \ 76 $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
91 $(INST_BIN) $(DESTINSTALLBIN) \ 77 $(INST_BIN) $(DESTINSTALLBIN) \
92@@ -2068,7 +2066,7 @@ 78@@ -2060,7 +2058,7 @@ pure_perl_install :: all
93 79
94 80
95 pure_site_install :: 81 pure_site_install :: all
96- $(NOECHO) $(MOD_INSTALL) \ 82- $(NOECHO) $(MOD_INSTALL) \
97+ $(NOECHO) umask 02; $(MOD_INSTALL) \ 83+ $(NOECHO) umask 02; $(MOD_INSTALL) \
98 read }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \ 84 read }.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
99 write }.$self->catfile('$(DESTINSTALLSITEARCH)','auto','$(FULLEXT)','.packlist').q{ \ 85 write }.$self->catfile('$(DESTINSTALLSITEARCH)','auto','$(FULLEXT)','.packlist').q{ \
100 $(INST_LIB) $(DESTINSTALLSITELIB) \ 86 $(INST_LIB) $(DESTINSTALLSITELIB) \
101@@ -2081,9 +2079,7 @@ 87@@ -2073,9 +2071,7 @@ pure_site_install :: all
102 }.$self->catdir('$(PERL_ARCHLIB)','auto','$(FULLEXT)').q{ 88 }.$self->catdir('$(PERL_ARCHLIB)','auto','$(FULLEXT)').q{
103 89
104 pure_vendor_install :: 90 pure_vendor_install :: all
105- $(NOECHO) $(MOD_INSTALL) \ 91- $(NOECHO) $(MOD_INSTALL) \
106- read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \ 92- read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
107- write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \ 93- write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \
@@ -109,10 +95,10 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm perl-5.8.8/l
109 $(INST_LIB) $(DESTINSTALLVENDORLIB) \ 95 $(INST_LIB) $(DESTINSTALLVENDORLIB) \
110 $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \ 96 $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
111 $(INST_BIN) $(DESTINSTALLVENDORBIN) \ 97 $(INST_BIN) $(DESTINSTALLVENDORBIN) \
112@@ -2092,37 +2088,19 @@ 98@@ -2084,37 +2080,19 @@ pure_vendor_install :: all
113 $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR) 99 $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
114 100
115 doc_perl_install :: 101 doc_perl_install :: all
116- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod 102- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
117- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) 103- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
118- -$(NOECHO) $(DOC_INSTALL) \ 104- -$(NOECHO) $(DOC_INSTALL) \
@@ -123,7 +109,7 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm perl-5.8.8/l
123- EXE_FILES "$(EXE_FILES)" \ 109- EXE_FILES "$(EXE_FILES)" \
124- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{ 110- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
125 111
126 doc_site_install :: 112 doc_site_install :: all
127- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod 113- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
128- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) 114- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
129- -$(NOECHO) $(DOC_INSTALL) \ 115- -$(NOECHO) $(DOC_INSTALL) \
@@ -138,7 +124,7 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm perl-5.8.8/l
138- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{ 124- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
139+ >> }.$self->catfile('$(DESTINSTALLSITEARCH)','perllocal.pod').q{ 125+ >> }.$self->catfile('$(DESTINSTALLSITEARCH)','perllocal.pod').q{
140 126
141 doc_vendor_install :: 127 doc_vendor_install :: all
142- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod 128- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
143- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) 129- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
144- -$(NOECHO) $(DOC_INSTALL) \ 130- -$(NOECHO) $(DOC_INSTALL) \
@@ -151,7 +137,7 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm perl-5.8.8/l
151 137
152 }; 138 };
153 139
154@@ -2131,13 +2109,12 @@ 140@@ -2123,13 +2101,12 @@ uninstall :: uninstall_from_$(INSTALLDIRS)dirs
155 $(NOECHO) $(NOOP) 141 $(NOECHO) $(NOOP)
156 142
157 uninstall_from_perldirs :: 143 uninstall_from_perldirs ::
@@ -166,7 +152,7 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm perl-5.8.8/l
166 }; 152 };
167 153
168 join("",@m); 154 join("",@m);
169@@ -2415,7 +2392,7 @@ 155@@ -2402,7 +2379,7 @@ MAP_PRELIBS = $Config{perllibs} $Config{cryptlib}
170 ($lperl = $libperl) =~ s/\$\(A\)/$self->{LIB_EXT}/; 156 ($lperl = $libperl) =~ s/\$\(A\)/$self->{LIB_EXT}/;
171 } 157 }
172 unless ($libperl && -f $lperl) { # Ilya's code... 158 unless ($libperl && -f $lperl) { # Ilya's code...
@@ -175,20 +161,21 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm perl-5.8.8/l
175 $dir = "$self->{PERL_ARCHLIB}/.." if $self->{UNINSTALLED_PERL}; 161 $dir = "$self->{PERL_ARCHLIB}/.." if $self->{UNINSTALLED_PERL};
176 $libperl ||= "libperl$self->{LIB_EXT}"; 162 $libperl ||= "libperl$self->{LIB_EXT}";
177 $libperl = "$dir/$libperl"; 163 $libperl = "$dir/$libperl";
178@@ -3007,8 +2984,7 @@ 164@@ -2998,8 +2975,7 @@ sub prefixify {
179 print STDERR " prefixify $var => $path\n" if $Verbose >= 2; 165 print STDERR " prefixify $var => $path\n" if $Verbose >= 2;
180 print STDERR " from $sprefix to $rprefix\n" if $Verbose >= 2; 166 print STDERR " from $sprefix to $rprefix\n" if $Verbose >= 2;
181 167
182- if( $self->{ARGS}{PREFIX} && $self->file_name_is_absolute($path) && 168- if( $self->{ARGS}{PREFIX} &&
183- $path !~ s{^\Q$sprefix\E\b}{$rprefix}s ) 169- $path !~ s{^\Q$sprefix\E\b}{$rprefix}s )
184+ if( $path !~ s{^\Q$sprefix\E\b}{$rprefix}s && $self->{ARGS}{PREFIX} ) 170+ if( $path !~ s{^\Q$sprefix\E\b}{$rprefix}s && $self->{ARGS}{PREFIX} )
185 { 171 {
186 172
187 print STDERR " cannot prefix, using default.\n" if $Verbose >= 2; 173 print STDERR " cannot prefix, using default.\n" if $Verbose >= 2;
188diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/t/INST.t perl-5.8.8/lib/ExtUtils/t/INST.t 174diff --git a/cpan/ExtUtils-MakeMaker/t/INST.t b/cpan/ExtUtils-MakeMaker/t/INST.t
189--- perl-5.8.8.orig/lib/ExtUtils/t/INST.t 2005-10-21 19:12:39.000000000 +1000 175index 8a140eb..cf1410e 100755
190+++ perl-5.8.8/lib/ExtUtils/t/INST.t 2006-02-05 17:48:56.000000000 +1100 176--- a/cpan/ExtUtils-MakeMaker/t/INST.t
191@@ -65,9 +65,7 @@ 177+++ b/cpan/ExtUtils-MakeMaker/t/INST.t
178@@ -59,9 +59,7 @@ isa_ok( $mm, 'ExtUtils::MakeMaker' );
192 is( $mm->{NAME}, 'Big::Dummy', 'NAME' ); 179 is( $mm->{NAME}, 'Big::Dummy', 'NAME' );
193 is( $mm->{VERSION}, 0.01, 'VERSION' ); 180 is( $mm->{VERSION}, 0.01, 'VERSION' );
194 181
@@ -199,10 +186,11 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/t/INST.t perl-5.8.8/lib
199 186
200 is( !!$mm->{PERL_CORE}, !!$ENV{PERL_CORE}, 'PERL_CORE' ); 187 is( !!$mm->{PERL_CORE}, !!$ENV{PERL_CORE}, 'PERL_CORE' );
201 188
202diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/t/INST_PREFIX.t perl-5.8.8/lib/ExtUtils/t/INST_PREFIX.t 189diff --git a/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t b/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t
203--- perl-5.8.8.orig/lib/ExtUtils/t/INST_PREFIX.t 2005-10-21 22:00:19.000000000 +1000 190index 8bb9db8..316546d 100755
204+++ perl-5.8.8/lib/ExtUtils/t/INST_PREFIX.t 2006-02-05 17:48:06.000000000 +1100 191--- a/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t
205@@ -16,7 +16,7 @@ 192+++ b/cpan/ExtUtils-MakeMaker/t/INST_PREFIX.t
193@@ -10,7 +10,7 @@ BEGIN {
206 } 194 }
207 195
208 use strict; 196 use strict;
@@ -211,7 +199,7 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/t/INST_PREFIX.t perl-5.
211 use MakeMaker::Test::Utils; 199 use MakeMaker::Test::Utils;
212 use MakeMaker::Test::Setup::BFD; 200 use MakeMaker::Test::Setup::BFD;
213 use ExtUtils::MakeMaker; 201 use ExtUtils::MakeMaker;
214@@ -62,16 +62,16 @@ 202@@ -56,16 +56,16 @@ like( $stdout->read, qr{
215 Writing\ $Makefile\ for\ Big::Dummy\n 203 Writing\ $Makefile\ for\ Big::Dummy\n
216 }x ); 204 }x );
217 205
@@ -232,3 +220,94 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/t/INST_PREFIX.t perl-5.
232 220
233 221
234 my $PREFIX = File::Spec->catdir('foo', 'bar'); 222 my $PREFIX = File::Spec->catdir('foo', 'bar');
223diff --git a/dist/ExtUtils-Install/lib/ExtUtils/Install.pm b/dist/ExtUtils-Install/lib/ExtUtils/Install.pm
224index da58365..d6d5c11 100644
225--- a/dist/ExtUtils-Install/lib/ExtUtils/Install.pm
226+++ b/dist/ExtUtils-Install/lib/ExtUtils/Install.pm
227@@ -468,7 +468,7 @@ sub _can_write_dir {
228
229 =pod
230
231-=item _mkpath($dir,$show,$mode,$verbose,$dry_run)
232+=item _mkpath($dir,$show,$verbose,$dry_run)
233
234 Wrapper around File::Path::mkpath() to handle errors.
235
236@@ -485,13 +485,13 @@ writable.
237 =cut
238
239 sub _mkpath {
240- my ($dir,$show,$mode,$verbose,$dry_run)=@_;
241+ my ($dir,$show,$verbose,$dry_run)=@_;
242 if ( $verbose && $verbose > 1 && ! -d $dir) {
243 $show= 1;
244- printf "mkpath(%s,%d,%#o)\n", $dir, $show, $mode;
245+ printf "mkpath(%s,%d)\n", $dir, $show;
246 }
247 if (!$dry_run) {
248- if ( ! eval { File::Path::mkpath($dir,$show,$mode); 1 } ) {
249+ if ( ! eval { File::Path::mkpath($dir,$show); 1 } ) {
250 _choke("Can't create '$dir'","$@");
251 }
252
253@@ -796,7 +796,7 @@ sub install { #XXX OS-SPECIFIC
254 _chdir($cwd);
255 }
256 foreach my $targetdir (sort keys %check_dirs) {
257- _mkpath( $targetdir, 0, 0755, $verbose, $dry_run );
258+ _mkpath( $targetdir, 0, $verbose, $dry_run );
259 }
260 foreach my $found (@found_files) {
261 my ($diff, $ffd, $origfile, $mode, $size, $atime, $mtime,
262@@ -810,7 +810,7 @@ sub install { #XXX OS-SPECIFIC
263 $targetfile= _unlink_or_rename( $targetfile, 'tryhard', 'install' )
264 unless $dry_run;
265 } elsif ( ! -d $targetdir ) {
266- _mkpath( $targetdir, 0, 0755, $verbose, $dry_run );
267+ _mkpath( $targetdir, 0, $verbose, $dry_run );
268 }
269 print "Installing $targetfile\n";
270
271@@ -850,7 +850,7 @@ sub install { #XXX OS-SPECIFIC
272
273 if ($pack{'write'}) {
274 $dir = install_rooted_dir(dirname($pack{'write'}));
275- _mkpath( $dir, 0, 0755, $verbose, $dry_run );
276+ _mkpath( $dir, 0, $verbose, $dry_run );
277 print "Writing $pack{'write'}\n" if $verbose;
278 $packlist->write(install_rooted_file($pack{'write'})) unless $dry_run;
279 }
280@@ -1190,7 +1190,7 @@ be prepended as a directory to each installed file (and directory).
281 sub pm_to_blib {
282 my($fromto,$autodir,$pm_filter) = @_;
283
284- _mkpath($autodir,0,0755);
285+ _mkpath($autodir,0);
286 while(my($from, $to) = each %$fromto) {
287 if( -f $to && -s $from == -s $to && -M $to < -M $from ) {
288 print "Skip $to (unchanged)\n";
289@@ -1213,7 +1213,7 @@ sub pm_to_blib {
290 # we wont try hard here. its too likely to mess things up.
291 forceunlink($to);
292 } else {
293- _mkpath(dirname($to),0,0755);
294+ _mkpath(dirname($to),0);
295 }
296 if ($need_filtering) {
297 run_filter($pm_filter, $from, $to);
298diff --git a/lib/ExtUtils/Embed.pm b/lib/ExtUtils/Embed.pm
299index 24ae909..12d421d 100644
300--- a/lib/ExtUtils/Embed.pm
301+++ b/lib/ExtUtils/Embed.pm
302@@ -305,6 +305,9 @@ and extensions in your C/C++ applications.
303 Typically, an application B<Makefile> will invoke ExtUtils::Embed
304 functions while building your application.
305
306+Note that on Debian systems the B<libperl-dev> package is required for
307+compiling applications which embed an interpreter.
308+
309 =head1 @EXPORT
310
311 ExtUtils::Embed exports the following functions:
312--
313tg: (c823880..) debian/extutils_hacks (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fakeroot.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fakeroot.diff
new file mode 100644
index 0000000000..e3430ce2b6
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fakeroot.diff
@@ -0,0 +1,43 @@
1Subject: Postpone LD_LIBRARY_PATH evaluation to the binary targets.
2
3Modify the setting of LD_LIBRARY_PATH to append pre-existing values at the
4time the rule is evaluated rather than when the Makefile is created.
5
6This is required when building packages with dpkg-buildpackage and fakeroot,
7since fakeroot (which now sets LD_LIBRARY_PATH) is not used for the "build"
8rule where the Makefile is created, but is for the clean/binary* targets.
9
10
11---
12 Makefile.SH | 9 ++-------
13 1 files changed, 2 insertions(+), 7 deletions(-)
14
15diff --git a/Makefile.SH b/Makefile.SH
16index c039938..15184d8 100755
17--- a/Makefile.SH
18+++ b/Makefile.SH
19@@ -50,12 +50,7 @@ case "$useshrplib" in
20 true)
21 # Prefix all runs of 'miniperl' and 'perl' with
22 # $ldlibpth so that ./perl finds *this* shared libperl.
23- case "$LD_LIBRARY_PATH" in
24- '')
25- ldlibpth="LD_LIBRARY_PATH=`pwd`";;
26- *)
27- ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";;
28- esac
29+ ldlibpth=LD_LIBRARY_PATH=`pwd`'$${LD_LIBRARY_PATH:+:}$$LD_LIBRARY_PATH'
30
31 pldlflags="$cccdlflags"
32 static_ldflags=''
33@@ -126,7 +121,7 @@ true)
34 ;;
35 esac
36 case "$ldlibpthname" in
37- '') ;;
38+ ''|LD_LIBRARY_PATH) ;;
39 *)
40 case "$osname" in
41 os2)
42--
43tg: (c823880..) debian/fakeroot (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/autodie-flock.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/autodie-flock.diff
new file mode 100644
index 0000000000..f8908ac872
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/autodie-flock.diff
@@ -0,0 +1,98 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Allow for flock returning EAGAIN instead of EWOULDBLOCK on linux/parisc
3Bug-Debian: http://bugs.debian.org/543731
4Origin: upstream, http://github.com/pfenwick/autodie/commit/037738e11a6097734b0e1dabdd77b92e5fe35219
5
6
7---
8 cpan/autodie/lib/Fatal.pm | 14 +++++++++++++-
9 cpan/autodie/t/flock.t | 12 ++++++++++--
10 2 files changed, 23 insertions(+), 3 deletions(-)
11
12diff --git a/cpan/autodie/lib/Fatal.pm b/cpan/autodie/lib/Fatal.pm
13old mode 100644
14new mode 100755
15index 18e71ed..c17a257
16--- a/cpan/autodie/lib/Fatal.pm
17+++ b/cpan/autodie/lib/Fatal.pm
18@@ -5,6 +5,7 @@ use Carp;
19 use strict;
20 use warnings;
21 use Tie::RefHash; # To cache subroutine refs
22+use Config;
23
24 use constant PERL510 => ( $] >= 5.010 );
25
26@@ -52,6 +53,10 @@ our %_EWOULDBLOCK = (
27 MSWin32 => 33,
28 );
29
30+# the linux parisc port has separate EAGAIN and EWOULDBLOCK,
31+# and the kernel returns EAGAIN
32+my $try_EAGAIN = ($^O eq 'linux' and $Config{archname} =~ /hppa|parisc/) ? 1 : 0;
33+
34 # We have some tags that can be passed in for use with import.
35 # These are all assumed to be CORE::
36
37@@ -720,6 +725,11 @@ sub _one_invocation {
38 my $EWOULDBLOCK = eval { POSIX::EWOULDBLOCK(); }
39 || $_EWOULDBLOCK{$^O}
40 || _autocroak("Internal error - can't overload flock - EWOULDBLOCK not defined on this system.");
41+ my $EAGAIN = $EWOULDBLOCK;
42+ if ($try_EAGAIN) {
43+ $EAGAIN = eval { POSIX::EAGAIN(); }
44+ || _autocroak("Internal error - can't overload flock - EAGAIN not defined on this system.");
45+ }
46
47 require Fcntl; # For Fcntl::LOCK_NB
48
49@@ -735,7 +745,9 @@ sub _one_invocation {
50 # If we failed, but we're using LOCK_NB and
51 # returned EWOULDBLOCK, it's not a real error.
52
53- if (\$_[1] & Fcntl::LOCK_NB() and \$! == $EWOULDBLOCK ) {
54+ if (\$_[1] & Fcntl::LOCK_NB() and
55+ (\$! == $EWOULDBLOCK or
56+ ($try_EAGAIN and \$! == $EAGAIN ))) {
57 return \$retval;
58 }
59
60diff --git a/cpan/autodie/t/flock.t b/cpan/autodie/t/flock.t
61index a7550ba..6421a56 100755
62--- a/cpan/autodie/t/flock.t
63+++ b/cpan/autodie/t/flock.t
64@@ -2,7 +2,8 @@
65 use strict;
66 use Test::More;
67 use Fcntl qw(:flock);
68-use POSIX qw(EWOULDBLOCK);
69+use POSIX qw(EWOULDBLOCK EAGAIN);
70+use Config;
71
72 require Fatal;
73
74@@ -10,6 +11,9 @@ my $EWOULDBLOCK = eval { EWOULDBLOCK() }
75 || $Fatal::_EWOULDBLOCK{$^O}
76 || plan skip_all => "EWOULDBLOCK not defined on this system";
77
78+my $try_EAGAIN = ($^O eq 'linux' and $Config{archname} =~ /hppa|parisc/) ? 1 : 0;
79+my $EAGAIN = eval { EAGAIN() };
80+
81 my ($self_fh, $self_fh2);
82
83 eval {
84@@ -55,7 +59,11 @@ eval {
85 $return = flock($self_fh2, LOCK_EX | LOCK_NB);
86 };
87
88-is($!+0, $EWOULDBLOCK, "Double-flocking should be EWOULDBLOCK");
89+if (!$try_EAGAIN) {
90+ is($!+0, $EWOULDBLOCK, "Double-flocking should be EWOULDBLOCK");
91+} else {
92+ ok($!+0 == $EWOULDBLOCK || $!+0 == $EAGAIN, "Double-flocking should be EWOULDBLOCK or EAGAIN");
93+}
94 ok(!$return, "flocking a file twice should fail");
95 is($@, "", "Non-blocking flock should not fail on EWOULDBLOCK");
96
97--
98tg: (c823880..) fixes/autodie-flock (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/concat-stack-corruption.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/concat-stack-corruption.diff
new file mode 100644
index 0000000000..6feb8401fe
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/concat-stack-corruption.diff
@@ -0,0 +1,37 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Fix stack pointer corruption in pp_concat() with 'use encoding'
3Bug-Debian: http://bugs.debian.org/596105
4Bug: http://rt.perl.org/rt3/Ticket/Display.html?id=78674
5Origin: upstream, http://perl5.git.perl.org/perl.git/commit/e3393f51d48d8b790e26324eb0336fac9689fa46
6
7If the stack is reallocated during pp_concat() and 'use encoding' in
8effect, the stack pointer gets corrupted, causing memory allocation bugs
9and the like.
10
11---
12 pp_hot.c | 3 +++
13 1 files changed, 3 insertions(+), 0 deletions(-)
14
15diff --git a/pp_hot.c b/pp_hot.c
16index 3371e88..e9cccf3 100644
17--- a/pp_hot.c
18+++ b/pp_hot.c
19@@ -271,6 +271,8 @@ PP(pp_concat)
20 rbyte = !DO_UTF8(right);
21 }
22 if (lbyte != rbyte) {
23+ /* sv_utf8_upgrade_nomg() may reallocate the stack */
24+ PUTBACK;
25 if (lbyte)
26 sv_utf8_upgrade_nomg(TARG);
27 else {
28@@ -279,6 +281,7 @@ PP(pp_concat)
29 sv_utf8_upgrade_nomg(right);
30 rpv = SvPV_const(right, rlen);
31 }
32+ SPAGAIN;
33 }
34 sv_catpvn_nomg(TARG, rpv, rlen);
35
36--
37tg: (c823880..) fixes/concat-stack-corruption (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff
new file mode 100644
index 0000000000..5f85894a97
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff
@@ -0,0 +1,30 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Fix CPANPLUS test failures when HOME doesn't exist
3Bug: http://rt.cpan.org/Public/Bug/Display.html?id=52988
4Bug-Debian: http://bugs.debian.org/577011
5Origin: upstream
6
7The Debian autobuilders are configured with a non-existing $ENV{HOME},
8triggering a bug in CPANPLUS that causes test failures.
9
10Fix from CPANPLUS-0.9001.
11
12---
13 cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm | 2 +-
14 1 files changed, 1 insertions(+), 1 deletions(-)
15
16diff --git a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm
17index 27d2abc..8475c36 100644
18--- a/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm
19+++ b/cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm
20@@ -5,7 +5,7 @@ use strict;
21 use CPANPLUS::Error;
22 use CPANPLUS::Internals::Constants;
23
24-use Cwd qw[chdir];
25+use Cwd qw[chdir cwd];
26 use File::Copy;
27 use Params::Check qw[check];
28 use Module::Load::Conditional qw[can_load];
29--
30tg: (c823880..) fixes/cpanplus-without-home (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/h2ph-gcc-4.5.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/h2ph-gcc-4.5.diff
new file mode 100644
index 0000000000..c2baf2fa76
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/h2ph-gcc-4.5.diff
@@ -0,0 +1,106 @@
1Author: Robin Barker <rmbarker@cpan.org>
2Subject: h2ph fix for gcc 4.5
3Bug-Debian: http://bugs.debian.org/599933
4Origin: upstream, http://perl5.git.perl.org/perl.git/commit/8d66b3f930dc6d88b524d103e304308ae73a46e7
5
6Fix h2ph and test. Needed to build with GCC 4.5.
7
8
9---
10 lib/h2ph.t | 12 ++++++++++--
11 utils/h2ph.PL | 28 +++++++++++++++++++++++-----
12 2 files changed, 33 insertions(+), 7 deletions(-)
13
14diff --git a/lib/h2ph.t b/lib/h2ph.t
15index 27dd7b9..8d62d46 100755
16--- a/lib/h2ph.t
17+++ b/lib/h2ph.t
18@@ -18,7 +18,7 @@ if (!(-e $extracted_program)) {
19 exit 0;
20 }
21
22-plan(4);
23+plan(5);
24
25 # quickly compare two text files
26 sub txt_compare {
27@@ -41,8 +41,16 @@ $result = runperl( progfile => 'lib/h2ph.pht',
28 stderr => 1 );
29 like( $result, qr/syntax OK$/, "output compiles");
30
31+$result = runperl( progfile => '_h2ph_pre.ph',
32+ switches => ['-c'],
33+ stderr => 1 );
34+like( $result, qr/syntax OK$/, "preamble compiles");
35+
36 $result = runperl( switches => ["-w"],
37- prog => '$SIG{__WARN__} = sub { die $_[0] }; require q(lib/h2ph.pht);');
38+ stderr => 1,
39+ prog => <<'PROG' );
40+$SIG{__WARN__} = sub { die $_[0] }; require q(lib/h2ph.pht);
41+PROG
42 is( $result, '', "output free of warnings" );
43
44 # cleanup
45diff --git a/utils/h2ph.PL b/utils/h2ph.PL
46index 8f56db4..1255807 100644
47--- a/utils/h2ph.PL
48+++ b/utils/h2ph.PL
49@@ -401,7 +401,10 @@ if ($opt_e && (scalar(keys %bad_file) > 0)) {
50 exit $Exit;
51
52 sub expr {
53- $new = '"(assembly code)"' and return if /\b__asm__\b/; # freak out.
54+ if (/\b__asm__\b/) { # freak out
55+ $new = '"(assembly code)"';
56+ return
57+ }
58 my $joined_args;
59 if(keys(%curargs)) {
60 $joined_args = join('|', keys(%curargs));
61@@ -770,7 +773,7 @@ sub inc_dirs
62 sub build_preamble_if_necessary
63 {
64 # Increment $VERSION every time this function is modified:
65- my $VERSION = 2;
66+ my $VERSION = 3;
67 my $preamble = "$Dest_dir/_h2ph_pre.ph";
68
69 # Can we skip building the preamble file?
70@@ -798,7 +801,16 @@ sub build_preamble_if_necessary
71 # parenthesized value: d=(v)
72 $define{$_} = $1;
73 }
74- if ($define{$_} =~ /^([+-]?(\d+)?\.\d+([eE][+-]?\d+)?)[FL]?$/) {
75+ if (/^(\w+)\((\w)\)$/) {
76+ my($macro, $arg) = ($1, $2);
77+ my $def = $define{$_};
78+ $def =~ s/$arg/\$\{$arg\}/g;
79+ print PREAMBLE <<DEFINE;
80+unless (defined &$macro) { sub $macro(\$) { my (\$$arg) = \@_; \"$def\" } }
81+
82+DEFINE
83+ } elsif
84+ ($define{$_} =~ /^([+-]?(\d+)?\.\d+([eE][+-]?\d+)?)[FL]?$/) {
85 # float:
86 print PREAMBLE
87 "unless (defined &$_) { sub $_() { $1 } }\n\n";
88@@ -807,8 +819,14 @@ sub build_preamble_if_necessary
89 print PREAMBLE
90 "unless (defined &$_) { sub $_() { $1 } }\n\n";
91 } elsif ($define{$_} =~ /^\w+$/) {
92- print PREAMBLE
93- "unless (defined &$_) { sub $_() { &$define{$_} } }\n\n";
94+ my $def = $define{$_};
95+ if ($isatype{$def}) {
96+ print PREAMBLE
97+ "unless (defined &$_) { sub $_() { \"$def\" } }\n\n";
98+ } else {
99+ print PREAMBLE
100+ "unless (defined &$_) { sub $_() { &$def } }\n\n";
101+ }
102 } else {
103 print PREAMBLE
104 "unless (defined &$_) { sub $_() { \"",
105--
106tg: (c823880..) fixes/h2ph-gcc-4.5 (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff
new file mode 100644
index 0000000000..b9ea6770f2
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff
@@ -0,0 +1,26 @@
1Author: Samuel Thibault <sthibault@debian.org>
2Subject: Make hints/gnu.sh append to $ccflags rather than overriding them
3Bug-Debian: http://bugs.debian.org/587901
4
5Don't override possible extra $ccflags values given to Configure
6on GNU/Hurd.
7
8---
9 hints/gnu.sh | 2 +-
10 1 files changed, 1 insertions(+), 1 deletions(-)
11
12diff --git a/hints/gnu.sh b/hints/gnu.sh
13index 2cfce54..c1ba2db 100644
14--- a/hints/gnu.sh
15+++ b/hints/gnu.sh
16@@ -19,7 +19,7 @@ lddlflags='-shared'
17 ccdlflags='-Wl,-E'
18
19 # Debian bug #258618
20-ccflags='-D_GNU_SOURCE'
21+ccflags="-D_GNU_SOURCE $ccflags"
22
23 # The following routines are only available as stubs in GNU libc.
24 # XXX remove this once metaconf detects the GNU libc stubs.
25--
26tg: (c823880..) fixes/hurd-ccflags (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-docs.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-docs.diff
new file mode 100644
index 0000000000..bb5c0e8c10
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-docs.diff
@@ -0,0 +1,95 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: LC_NUMERIC documentation fixes
3Bug-Debian: http://bugs.debian.org/379329
4Bug: http://rt.perl.org/rt3/Ticket/Display.html?id=78452
5Origin: upstream, http://perl5.git.perl.org/perl.git/commit/903eb63f7d8d47a38971a8e9af7201b9927882cf
6
7LC_NUMERIC documentation updates fixing two errors:
8
9 - the early parts of perllocale.pod still say printf() uses LC_NUMERIC
10 with just 'use locale' when actually a POSIX::setlocale() call is
11 also needed
12
13 - format() hasn't used LC_NUMERIC unconditionally since 5.005_03
14 (commit 097ee67dff1c60f201bc09435bc6eaeeafcd8123).
15
16Test cases from the upstream commit dropped for the sake of simplicity.
17
18---
19 pod/perlform.pod | 20 ++++++++------------
20 pod/perllocale.pod | 15 ++++++---------
21 2 files changed, 14 insertions(+), 21 deletions(-)
22
23diff --git a/pod/perlform.pod b/pod/perlform.pod
24index 3cfa1b7..df0f0a1 100644
25--- a/pod/perlform.pod
26+++ b/pod/perlform.pod
27@@ -166,9 +166,9 @@ token on the first line. If an expression evaluates to a number with a
28 decimal part, and if the corresponding picture specifies that the decimal
29 part should appear in the output (that is, any picture except multiple "#"
30 characters B<without> an embedded "."), the character used for the decimal
31-point is B<always> determined by the current LC_NUMERIC locale. This
32-means that, if, for example, the run-time environment happens to specify a
33-German locale, "," will be used instead of the default ".". See
34+point is determined by the current LC_NUMERIC locale if C<use locale> is in
35+effect. This means that, if, for example, the run-time environment happens
36+to specify a German locale, "," will be used instead of the default ".". See
37 L<perllocale> and L<"WARNINGS"> for more information.
38
39
40@@ -442,15 +442,11 @@ Lexical variables (declared with "my") are not visible within a
41 format unless the format is declared within the scope of the lexical
42 variable. (They weren't visible at all before version 5.001.)
43
44-Formats are the only part of Perl that unconditionally use information
45-from a program's locale; if a program's environment specifies an
46-LC_NUMERIC locale, it is always used to specify the decimal point
47-character in formatted output. Perl ignores all other aspects of locale
48-handling unless the C<use locale> pragma is in effect. Formatted output
49-cannot be controlled by C<use locale> because the pragma is tied to the
50-block structure of the program, and, for historical reasons, formats
51-exist outside that block structure. See L<perllocale> for further
52-discussion of locale handling.
53+If a program's environment specifies an LC_NUMERIC locale and C<use
54+locale> is in effect when the format is declared, the locale is used
55+to specify the decimal point character in formatted output. Formatted
56+output cannot be controlled by C<use locale> at the time when write()
57+is called. See L<perllocale> for further discussion of locale handling.
58
59 Within strings that are to be displayed in a fixed length text field,
60 each control character is substituted by a space. (But remember the
61diff --git a/pod/perllocale.pod b/pod/perllocale.pod
62index 0dbabe7..0bec423 100644
63--- a/pod/perllocale.pod
64+++ b/pod/perllocale.pod
65@@ -115,8 +115,7 @@ ucfirst(), and lcfirst()) use C<LC_CTYPE>
66
67 =item *
68
69-B<The formatting functions> (printf(), sprintf() and write()) use
70-C<LC_NUMERIC>
71+B<Format declarations> (format()) use C<LC_NUMERIC>
72
73 =item *
74
75@@ -967,13 +966,11 @@ system's implementation of the locale system than by Perl.
76
77 =head2 write() and LC_NUMERIC
78
79-Formats are the only part of Perl that unconditionally use information
80-from a program's locale; if a program's environment specifies an
81-LC_NUMERIC locale, it is always used to specify the decimal point
82-character in formatted output. Formatted output cannot be controlled by
83-C<use locale> because the pragma is tied to the block structure of the
84-program, and, for historical reasons, formats exist outside that block
85-structure.
86+If a program's environment specifies an LC_NUMERIC locale and C<use
87+locale> is in effect when the format is declared, the locale is used
88+to specify the decimal point character in formatted output. Formatted
89+output cannot be controlled by C<use locale> at the time when write()
90+is called.
91
92 =head2 Freely available locale definitions
93
94--
95tg: (c823880..) fixes/lc-numeric-docs (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-sprintf.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-sprintf.diff
new file mode 100644
index 0000000000..6a39820012
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-sprintf.diff
@@ -0,0 +1,29 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Fix sprintf not to ignore LC_NUMERIC with constants
3Bug-Debian: http://bugs.debian.org/601549
4Bug: http://rt.perl.org/rt3/Ticket/Display.html?id=78632
5Origin: upstream, http://perl5.git.perl.org/perl.git/commit/b3fd61496ebc585b1115807e3195f17714662a09
6
7Don't fold constants in sprintf() if locales are used
8
9An upstream regression in 5.10.1 made sprintf() ignore LC_NUMERIC for
10numeric constants.
11
12---
13 op.c | 1 +
14 1 files changed, 1 insertions(+), 0 deletions(-)
15
16diff --git a/op.c b/op.c
17index e94f158..3c6badb 100644
18--- a/op.c
19+++ b/op.c
20@@ -2503,6 +2503,7 @@ S_fold_constants(pTHX_ register OP *o)
21 case OP_SLE:
22 case OP_SGE:
23 case OP_SCMP:
24+ case OP_SPRINTF:
25 /* XXX what about the numeric ops? */
26 if (PL_hints & HINT_LOCALE)
27 goto nope;
28--
29tg: (c823880..) fixes/lc-numeric-sprintf (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/net_smtp_docs.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/net_smtp_docs.diff
new file mode 100644
index 0000000000..6dc97129bb
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/net_smtp_docs.diff
@@ -0,0 +1,23 @@
1Subject: Document the Net::SMTP 'Port' option
2Bug-Debian: http://bugs.debian.org/100195
3Bug: http://rt.cpan.org/Public/Bug/Display.html?id=36038
4
5
6---
7 cpan/libnet/Net/SMTP.pm | 1 +
8 1 files changed, 1 insertions(+), 0 deletions(-)
9
10diff --git a/cpan/libnet/Net/SMTP.pm b/cpan/libnet/Net/SMTP.pm
11index a28496d..07b2498 100644
12--- a/cpan/libnet/Net/SMTP.pm
13+++ b/cpan/libnet/Net/SMTP.pm
14@@ -625,6 +625,7 @@ Net::SMTP will attempt to extract the address from the value passed.
15
16 B<Debug> - Enable debugging information
17
18+B<Port> - Select a port on the remote host to connect to (default is 25)
19
20 Example:
21
22--
23tg: (c823880..) fixes/net_smtp_docs (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/processPL.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/processPL.diff
new file mode 100644
index 0000000000..5a444e3f69
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/processPL.diff
@@ -0,0 +1,43 @@
1Subject: Always use PERLRUNINST when building perl modules.
2Bug-Debian: http://bugs.debian.org/357264
3Bug: http://rt.cpan.org/Public/Bug/Display.html?id=17224
4
5Revert part of upstream change 24524 to always use PERLRUNINST when
6building perl modules: Some PDL demos expect blib to be implicitly
7searched.
8
9
10---
11 cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm | 5 +----
12 1 files changed, 1 insertions(+), 4 deletions(-)
13
14diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
15index 239d6df..294d266 100644
16--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
17+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
18@@ -3043,14 +3043,11 @@ sub processPL {
19 # pm_to_blib depends on then it can't depend on pm_to_blib
20 # else we have a dependency loop.
21 my $pm_dep;
22- my $perlrun;
23 if( defined $self->{PM}{$target} ) {
24 $pm_dep = '';
25- $perlrun = 'PERLRUN';
26 }
27 else {
28 $pm_dep = 'pm_to_blib';
29- $perlrun = 'PERLRUNINST';
30 }
31
32 $m .= <<MAKE_FRAG;
33@@ -3059,7 +3056,7 @@ all :: $target
34 \$(NOECHO) \$(NOOP)
35
36 $target :: $plfile $pm_dep
37- \$($perlrun) $plfile $target
38+ \$(PERLRUNINST) $plfile $target
39 MAKE_FRAG
40
41 }
42--
43tg: (c823880..) fixes/processPL (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/instmodsh_doc.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/instmodsh_doc.diff
new file mode 100644
index 0000000000..5670863ac5
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/instmodsh_doc.diff
@@ -0,0 +1,26 @@
1Subject: Debian policy doesn't install .packlist files for core or vendor.
2
3
4---
5 cpan/ExtUtils-MakeMaker/bin/instmodsh | 4 +++-
6 1 files changed, 3 insertions(+), 1 deletions(-)
7
8diff --git a/cpan/ExtUtils-MakeMaker/bin/instmodsh b/cpan/ExtUtils-MakeMaker/bin/instmodsh
9index 5874aa6..6a2f03e 100644
10--- a/cpan/ExtUtils-MakeMaker/bin/instmodsh
11+++ b/cpan/ExtUtils-MakeMaker/bin/instmodsh
12@@ -18,9 +18,11 @@ instmodsh - A shell to examine installed modules
13
14 =head1 DESCRIPTION
15
16-A little interface to ExtUtils::Installed to examine installed modules,
17+A little interface to ExtUtils::Installed to examine locally* installed modules,
18 validate your packlists and even create a tarball from an installed module.
19
20+*On Debian system, B<core> and B<vendor> modules are managed by C<dpkg>.
21+
22 =head1 SEE ALSO
23
24 ExtUtils::Installed
25--
26tg: (c823880..) debian/instmodsh_doc (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff
new file mode 100644
index 0000000000..ffcfab9d5d
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff
@@ -0,0 +1,23 @@
1Subject: Remove standard libs from LD_RUN_PATH as per Debian policy.
2
3
4---
5 .../ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm | 3 +++
6 1 files changed, 3 insertions(+), 0 deletions(-)
7
8diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
9index b807e97..6c955d7 100644
10--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
11+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/Liblist/Kid.pm
12@@ -53,6 +53,9 @@ sub _unix_os2_ext {
13 my($pwd) = cwd(); # from Cwd.pm
14 my($found) = 0;
15
16+ # Debian-specific: don't use LD_RUN_PATH for standard dirs
17+ $ld_run_path_seen{$_}++ for qw(/lib /usr/lib /usr/X11R6/lib);
18+
19 foreach my $thislib (split ' ', $potential_libs) {
20
21 # Handle possible linker path arguments.
22--
23tg: (c823880..) debian/ld_run_path (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/libnet_config_path.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/libnet_config_path.diff
new file mode 100644
index 0000000000..41bca9702b
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/libnet_config_path.diff
@@ -0,0 +1,35 @@
1Subject: Set location of libnet.cfg to /etc/perl/Net as /usr may not be writable.
2
3
4---
5 cpan/libnet/Net/Config.pm | 7 +++----
6 1 files changed, 3 insertions(+), 4 deletions(-)
7
8diff --git a/cpan/libnet/Net/Config.pm b/cpan/libnet/Net/Config.pm
9index db51c1f..8404593 100644
10--- a/cpan/libnet/Net/Config.pm
11+++ b/cpan/libnet/Net/Config.pm
12@@ -57,9 +57,8 @@ my %nc = (
13 }
14 TRY_INTERNET_CONFIG
15
16-my $file = __FILE__;
17+my $file = '/etc/perl/Net/libnet.cfg';
18 my $ref;
19-$file =~ s/Config.pm/libnet.cfg/;
20 if (-f $file) {
21 $ref = eval { local $SIG{__DIE__}; do $file };
22 if (ref($ref) eq 'HASH') {
23@@ -132,8 +131,8 @@ Net::Config - Local configuration data for libnet
24 C<Net::Config> holds configuration data for the modules in the libnet
25 distribution. During installation you will be asked for these values.
26
27-The configuration data is held globally in a file in the perl installation
28-tree, but a user may override any of these values by providing their own. This
29+The configuration data is held globally in C</etc/perl/Net/libnet.cfg>,
30+but a user may override any of these values by providing their own. This
31 can be done by having a C<.libnetrc> file in their home directory. This file
32 should return a reference to a HASH containing the keys described below.
33 For example
34--
35tg: (c823880..) debian/libnet_config_path (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/m68k_thread_stress.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/m68k_thread_stress.diff
new file mode 100644
index 0000000000..cda6089a01
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/m68k_thread_stress.diff
@@ -0,0 +1,43 @@
1Subject: Disable some threads tests on m68k for now due to missing TLS.
2Closes: #495826, #517938
3
4
5---
6 dist/threads-shared/t/stress.t | 4 ++++
7 dist/threads-shared/t/waithires.t | 6 ++++++
8 2 files changed, 10 insertions(+), 0 deletions(-)
9
10diff --git a/dist/threads-shared/t/stress.t b/dist/threads-shared/t/stress.t
11index adfd1ed..8573f1a 100755
12--- a/dist/threads-shared/t/stress.t
13+++ b/dist/threads-shared/t/stress.t
14@@ -11,6 +11,10 @@ BEGIN {
15 print("1..0 # SKIP Broken under HP-UX 10.20\n");
16 exit(0);
17 }
18+ if ($^O eq 'linux' && $Config{archname} =~ /^m68k/) {
19+ print("1..0 # Skip: no TLS on m68k yet <http://bugs.debian.org/495826>\n");
20+ exit(0);
21+ }
22 }
23
24 use ExtUtils::testlib;
25diff --git a/dist/threads-shared/t/waithires.t b/dist/threads-shared/t/waithires.t
26index e3a1086..633374e 100755
27--- a/dist/threads-shared/t/waithires.t
28+++ b/dist/threads-shared/t/waithires.t
29@@ -16,6 +16,12 @@ BEGIN {
30 if (! eval 'use Time::HiRes "time"; 1') {
31 Test::skip_all('Time::HiRes not available');
32 }
33+
34+ if ($^O eq 'linux' && $Config{archname} =~ /^m68k/) {
35+ print("1..0 # Skip: no TLS on m68k yet <http://bugs.debian.org/495826>\n");
36+ exit(0);
37+ }
38+
39 }
40
41 use ExtUtils::testlib;
42--
43tg: (c823880..) debian/m68k_thread_stress (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/53_debian_mod_paths.patch b/meta/recipes-devtools/perl/perl-5.12.2/debian/mod_paths.diff
index df74bc598d..bfa4721c43 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/53_debian_mod_paths.patch
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/mod_paths.diff
@@ -1,4 +1,6 @@
1Tweak @INC so that the ordering is: 1Subject: Tweak @INC ordering for Debian
2
3Our order is:
2 4
3 etc (for config files) 5 etc (for config files)
4 site (5.8.1) 6 site (5.8.1)
@@ -11,49 +13,36 @@ The rationale being that an admin (via site), or module packager
11(vendor) can chose to shadow core modules when there is a newer 13(vendor) can chose to shadow core modules when there is a newer
12version than is included in core. 14version than is included in core.
13 15
14diff -Naur --exclude=debian perl-5.8.8.orig/perl.c perl-5.8.8/perl.c 16
15--- perl-5.8.8.orig/perl.c 2006-01-31 23:34:47.000000000 +1100 17---
16+++ perl-5.8.8/perl.c 2006-02-02 23:36:38.000000000 +1100 18 perl.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17@@ -4776,9 +4776,14 @@ 19 1 files changed, 58 insertions(+), 0 deletions(-)
18 incpush(APPLLIB_EXP, TRUE, TRUE, TRUE); 20
21diff --git a/perl.c b/perl.c
22index 05cea40..023d6a0 100644
23--- a/perl.c
24+++ b/perl.c
25@@ -4125,6 +4125,11 @@ S_init_perllib(pTHX)
26 INCPUSH_ADD_SUB_DIRS|INCPUSH_CAN_RELOCATE);
19 #endif 27 #endif
20 28
21+#if 1 29+#ifdef DEBIAN
22+ /* for configuration where /usr is mounted ro (CPAN::Config, Net::Config) */ 30+ /* for configuration where /usr is mounted ro (CPAN::Config, Net::Config) */
23+ incpush("/etc/perl", FALSE, FALSE, FALSE); 31+ S_incpush_use_sep(aTHX_ STR_WITH_LEN("/etc/perl"), 0x0);
24+#else
25 #ifdef ARCHLIB_EXP
26 incpush(ARCHLIB_EXP, FALSE, FALSE, TRUE);
27 #endif
28+#endif 32+#endif
29 #ifdef MACOS_TRADITIONAL 33+
30 {
31 Stat_t tmpstatbuf;
32@@ -4803,11 +4808,13 @@
33 #ifndef PRIVLIB_EXP
34 # define PRIVLIB_EXP "/usr/local/lib/perl5:/usr/local/lib/perl"
35 #endif
36+#if 0
37 #if defined(WIN32)
38 incpush(PRIVLIB_EXP, TRUE, FALSE, TRUE);
39 #else
40 incpush(PRIVLIB_EXP, FALSE, FALSE, TRUE);
41 #endif
42+#endif
43
44 #ifdef SITEARCH_EXP 34 #ifdef SITEARCH_EXP
45 /* sitearch is always relative to sitelib on Windows for 35 /* sitearch is always relative to sitelib on Windows for
46@@ -4850,6 +4857,61 @@ 36 * DLL-based path intuition to work correctly */
47 incpush(PERL_VENDORLIB_STEM, FALSE, TRUE, TRUE); 37@@ -4242,6 +4247,59 @@ S_init_perllib(pTHX)
38 INCPUSH_ADD_OLD_VERS|INCPUSH_CAN_RELOCATE);
48 #endif 39 #endif
49 40
50+#if 1 41+#ifdef DEBIAN
51+ incpush(ARCHLIB_EXP, FALSE, FALSE, TRUE);
52+ incpush(PRIVLIB_EXP, FALSE, FALSE, TRUE);
53+
54+ /* Non-versioned site directory for local modules and for 42+ /* Non-versioned site directory for local modules and for
55+ compatability with the previous packages' site dirs */ 43+ compatability with the previous packages' site dirs */
56+ incpush("/usr/local/lib/site_perl", TRUE, FALSE, FALSE); 44+ S_incpush_use_sep(aTHX_ STR_WITH_LEN("/usr/local/lib/site_perl"),
45+ INCPUSH_ADD_SUB_DIRS);
57+ 46+
58+#ifdef PERL_INC_VERSION_LIST 47+#ifdef PERL_INC_VERSION_LIST
59+ { 48+ {
@@ -88,14 +77,14 @@ diff -Naur --exclude=debian perl-5.8.8.orig/perl.c perl-5.8.8/perl.c
88+ { 77+ {
89+ strcpy(arch_vers, *p); 78+ strcpy(arch_vers, *p);
90+ if (PerlLIO_stat(sitearch, &s) >= 0 && S_ISDIR(s.st_mode)) 79+ if (PerlLIO_stat(sitearch, &s) >= 0 && S_ISDIR(s.st_mode))
91+ incpush(sitearch, FALSE, FALSE, FALSE); 80+ S_incpush_use_sep(aTHX_ sitearch, strlen(sitearch), 0x0);
92+ } 81+ }
93+ 82+
94+ if (lib_vers) 83+ if (lib_vers)
95+ { 84+ {
96+ strcpy(lib_vers, *p); 85+ strcpy(lib_vers, *p);
97+ if (PerlLIO_stat(sitelib, &s) >= 0 && S_ISDIR(s.st_mode)) 86+ if (PerlLIO_stat(sitelib, &s) >= 0 && S_ISDIR(s.st_mode))
98+ incpush(sitelib, FALSE, FALSE, FALSE); 87+ S_incpush_use_sep(aTHX_ sitelib, strlen(sitelib), 0x0);
99+ } 88+ }
100+ } 89+ }
101+ } 90+ }
@@ -103,5 +92,7 @@ diff -Naur --exclude=debian perl-5.8.8.orig/perl.c perl-5.8.8/perl.c
103+#endif 92+#endif
104+ 93+
105 #ifdef PERL_OTHERLIBDIRS 94 #ifdef PERL_OTHERLIBDIRS
106 incpush(PERL_OTHERLIBDIRS, TRUE, TRUE, TRUE); 95 S_incpush_use_sep(aTHX_ STR_WITH_LEN(PERL_OTHERLIBDIRS),
107 #endif 96 INCPUSH_ADD_OLD_VERS|INCPUSH_ADD_ARCHONLY_SUB_DIRS
97--
98tg: (c823880..) debian/mod_paths (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff
new file mode 100644
index 0000000000..320a90d84a
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff
@@ -0,0 +1,31 @@
1Subject: Adjust Module::Build manual page extensions for the Debian Perl policy
2Bug-Debian: http://bugs.debian.org/479460
3
4---
5 cpan/Module-Build/lib/Module/Build/Base.pm | 4 ++--
6 1 files changed, 2 insertions(+), 2 deletions(-)
7
8diff --git a/cpan/Module-Build/lib/Module/Build/Base.pm b/cpan/Module-Build/lib/Module/Build/Base.pm
9index 5bd8ec7..b4e606a 100644
10--- a/cpan/Module-Build/lib/Module/Build/Base.pm
11+++ b/cpan/Module-Build/lib/Module/Build/Base.pm
12@@ -3071,7 +3071,7 @@ sub manify_bin_pods {
13 foreach my $file (keys %$files) {
14 # Pod::Simple based parsers only support one document per instance.
15 # This is expected to change in a future version (Pod::Simple > 3.03).
16- my $parser = Pod::Man->new( section => 1 ); # binaries go in section 1
17+ my $parser = Pod::Man->new( section => '1p' ); # binaries go in section 1p
18 my $manpage = $self->man1page_name( $file ) . '.' .
19 $self->config( 'man1ext' );
20 my $outfile = File::Spec->catfile($mandir, $manpage);
21@@ -3096,7 +3096,7 @@ sub manify_lib_pods {
22 while (my ($file, $relfile) = each %$files) {
23 # Pod::Simple based parsers only support one document per instance.
24 # This is expected to change in a future version (Pod::Simple > 3.03).
25- my $parser = Pod::Man->new( section => 3 ); # libraries go in section 3
26+ my $parser = Pod::Man->new( section => '3pm' ); # libraries go in section 3pm
27 my $manpage = $self->man3page_name( $relfile ) . '.' .
28 $self->config( 'man3ext' );
29 my $outfile = File::Spec->catfile( $mandir, $manpage);
30--
31tg: (c823880..) debian/module_build_man_extensions (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/perlivp.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/perlivp.diff
new file mode 100644
index 0000000000..c63c1e81b8
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/perlivp.diff
@@ -0,0 +1,38 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Make perlivp skip include directories in /usr/local
3Closes: 510895
4
5On Sat, Jan 10, 2009 at 12:37:18AM +1100, Brendan O'Dea wrote:
6> On Wed, Jan 7, 2009 at 12:21 AM, Niko Tyni <ntyni@debian.org> wrote:
7
8> > We could create the directories in a postinst script, but I'm not sure
9> > I see the point. They will be created automatically when installing
10> > CPAN modules.
11>
12> The directories are intentionally not created, as this way they are
13> excluded from the search path at start-up, saving a bunch of wasted
14> stats at use/require time in the common case that the user has not
15> installed any local packages. As Niko points out, they will be
16> created as required.
17
18
19Signed-off-by: Niko Tyni <ntyni@debian.org>
20
21---
22 utils/perlivp.PL | 1 +
23 1 files changed, 1 insertions(+), 0 deletions(-)
24
25diff --git a/utils/perlivp.PL b/utils/perlivp.PL
26index 9783261..156146f 100644
27--- a/utils/perlivp.PL
28+++ b/utils/perlivp.PL
29@@ -142,6 +142,7 @@ my $INC_total = 0;
30 my $INC_there = 0;
31 foreach (@INC) {
32 next if $_ eq '.'; # skip -d test here
33+ next if m|/usr/local|; # not shipped on Debian
34 if ($^O eq 'MacOS') {
35 next if $_ eq ':'; # skip -d test here
36 next if $_ eq 'Dev:Pseudo:'; # why is this in @INC?
37--
38tg: (c823880..) debian/perlivp (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/prune_libs.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/prune_libs.diff
new file mode 100644
index 0000000000..4d73717db4
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/prune_libs.diff
@@ -0,0 +1,36 @@
1Subject: Prune the list of libraries wanted to what we actually need.
2Bug-Debian: http://bugs.debian.org/128355
3
4We want to keep the dependencies on perl-base as small as possible,
5and some of the original list may be present on buildds (see Bug#128355).
6
7
8---
9 Configure | 5 ++---
10 1 files changed, 2 insertions(+), 3 deletions(-)
11
12diff --git a/Configure b/Configure
13index 3a8732b..6013c86 100755
14--- a/Configure
15+++ b/Configure
16@@ -1363,8 +1363,7 @@ libswanted_uselargefiles=''
17 : set usesocks on the Configure command line to enable socks.
18 : List of libraries we want.
19 : If anyone needs extra -lxxx, put those in a hint file.
20-libswanted="sfio socket bind inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun"
21-libswanted="$libswanted m crypt sec util c cposix posix ucb bsd BSD"
22+libswanted='gdbm gdbm_compat db dl m c crypt'
23 : We probably want to search /usr/shlib before most other libraries.
24 : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist.
25 glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'`
26@@ -22179,7 +22178,7 @@ sunos*X4*)
27 ;;
28 *) case "$usedl" in
29 $define|true|[yY]*)
30- set X `echo " $libs " | sed -e 's@ -lndbm @ @' -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldbm @ @' -e 's@ -ldb @ @'`
31+ set X `echo " $libs " | sed -e 's@ -lgdbm @ @' -e 's@ -lgdbm_compat @ @' -e 's@ -ldb @ @'`
32 shift
33 perllibs="$*"
34 ;;
35--
36tg: (c823880..) debian/prune_libs (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.12.2/debian/squelch-locale-warnings.diff b/meta/recipes-devtools/perl/perl-5.12.2/debian/squelch-locale-warnings.diff
new file mode 100644
index 0000000000..091dec45cb
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-5.12.2/debian/squelch-locale-warnings.diff
@@ -0,0 +1,53 @@
1From: Niko Tyni <ntyni@debian.org>
2Subject: Squelch locale warnings in Debian package maintainer scripts
3Bug-Debian: http://bugs.debian.org/508764
4
5The system locales are rather frequently out of sync with the C library
6during package upgrades, causing a huge amount of useless Perl locale
7warnings. Squelch them when running package maintainer scripts, detected
8by the DPKG_RUNNING_VERSION environment variable.
9
10Any real locale problem will show up after the system upgrade too, and
11the warning will be triggered normally again at that point.
12
13---
14 locale.c | 4 ++++
15 pod/perllocale.pod | 8 ++++++++
16 2 files changed, 12 insertions(+), 0 deletions(-)
17
18diff --git a/locale.c b/locale.c
19index 16ccce8..2592b3c 100644
20--- a/locale.c
21+++ b/locale.c
22@@ -359,6 +359,10 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
23 char *p;
24 const bool locwarn = (printwarn > 1 ||
25 (printwarn &&
26+
27+ /* Debian specific change - see http://bugs.debian.org/508764 */
28+ (!PerlEnv_getenv("DPKG_RUNNING_VERSION")) &&
29+
30 (!(p = PerlEnv_getenv("PERL_BADLANG")) || atoi(p))));
31
32 if (locwarn) {
33diff --git a/pod/perllocale.pod b/pod/perllocale.pod
34index 0dbabe7..60b7bab 100644
35--- a/pod/perllocale.pod
36+++ b/pod/perllocale.pod
37@@ -844,6 +844,14 @@ B<NOTE>: PERL_BADLANG only gives you a way to hide the warning message.
38 The message tells about some problem in your system's locale support,
39 and you should investigate what the problem is.
40
41+=item DPKG_RUNNING_VERSION
42+
43+On Debian systems, if the DPKG_RUNNING_VERSION environment variable is
44+set (to any value), the locale failure warnings will be suppressed just
45+like with a zero PERL_BADLANG setting. This is done to avoid floods
46+of spurious warnings during system upgrades.
47+See L<http://bugs.debian.org/508764>.
48+
49 =back
50
51 The following environment variables are not specific to Perl: They are
52--
53tg: (c823880..) debian/squelch-locale-warnings (depends on: upstream)
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/generate-sh.patch b/meta/recipes-devtools/perl/perl-5.12.2/generate-sh.patch
index ceb74196d6..ceb74196d6 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/generate-sh.patch
+++ b/meta/recipes-devtools/perl/perl-5.12.2/generate-sh.patch
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/installperl.patch b/meta/recipes-devtools/perl/perl-5.12.2/installperl.patch
index ff52bc3a9c..d20961c4f8 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/installperl.patch
+++ b/meta/recipes-devtools/perl/perl-5.12.2/installperl.patch
@@ -1,7 +1,7 @@
1Index: perl-5.8.8/installperl 1Index: perl-5.12.2/installperl
2=================================================================== 2===================================================================
3--- perl-5.8.8.orig/installperl 2007-06-14 12:36:23.000000000 +1000 3--- perl-5.12.2.orig/installperl
4+++ perl-5.8.8/installperl 2007-06-14 12:38:39.000000000 +1000 4+++ perl-5.12.2/installperl
5@@ -3,8 +3,8 @@ 5@@ -3,8 +3,8 @@
6 BEGIN { 6 BEGIN {
7 require 5.004; 7 require 5.004;
@@ -10,6 +10,6 @@ Index: perl-5.8.8/installperl
10- $ENV{PERL5LIB} = 'lib'; 10- $ENV{PERL5LIB} = 'lib';
11+# @INC = 'lib'; 11+# @INC = 'lib';
12+# $ENV{PERL5LIB} = 'lib'; 12+# $ENV{PERL5LIB} = 'lib';
13 }
14 13
15 use strict; 14 # This needs to be at BEGIN time, before any use of Config
15 require './install_lib.pl';
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/native-nopacklist.patch b/meta/recipes-devtools/perl/perl-5.12.2/native-nopacklist.patch
index a0ba269e00..92b02d4af0 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/native-nopacklist.patch
+++ b/meta/recipes-devtools/perl/perl-5.12.2/native-nopacklist.patch
@@ -1,34 +1,31 @@
1Part of 52_debian_extutils_hacks.patch just to exclude the installation of .packlist files 1Part of 52_debian_extutils_hacks.patch just to exclude the installation of .packlist files
2 2
3diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm perl-5.8.8/lib/ExtUtils/MM_Unix.pm 3Index: perl-5.12.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
4--- perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm 2005-05-21 19:42:56.000000000 +1000 4===================================================================
5+++ perl-5.8.8/lib/ExtUtils/MM_Unix.pm 2006-02-05 17:40:19.000000000 +1100 5--- perl-5.12.2.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
6@@ -2054,9 +2054,7 @@ 6+++ perl-5.12.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
7 $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site 7@@ -2047,8 +2047,6 @@ doc__install : doc_site_install
8 8
9 pure_perl_install :: 9 pure_perl_install :: all
10- $(NOECHO) $(MOD_INSTALL) \ 10 $(NOECHO) $(MOD_INSTALL) \
11- read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \ 11- read }.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
12- write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \ 12- write }.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{ \
13+ $(NOECHO) $(MOD_INSTALL) \
14 $(INST_LIB) $(DESTINSTALLPRIVLIB) \ 13 $(INST_LIB) $(DESTINSTALLPRIVLIB) \
15 $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \ 14 $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
16 $(INST_BIN) $(DESTINSTALLBIN) \ 15 $(INST_BIN) $(DESTINSTALLBIN) \
17@@ -2081,9 +2079,7 @@ 16@@ -2074,8 +2072,6 @@ pure_site_install :: all
18 }.$self->catdir('$(PERL_ARCHLIB)','auto','$(FULLEXT)').q{
19 17
20 pure_vendor_install :: 18 pure_vendor_install :: all
21- $(NOECHO) $(MOD_INSTALL) \ 19 $(NOECHO) $(MOD_INSTALL) \
22- read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \ 20- read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
23- write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \ 21- write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \
24+ $(NOECHO) $(MOD_INSTALL) \
25 $(INST_LIB) $(DESTINSTALLVENDORLIB) \ 22 $(INST_LIB) $(DESTINSTALLVENDORLIB) \
26 $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \ 23 $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
27 $(INST_BIN) $(DESTINSTALLVENDORBIN) \ 24 $(INST_BIN) $(DESTINSTALLVENDORBIN) \
28@@ -2092,37 +2088,19 @@ 25@@ -2084,37 +2080,19 @@ pure_vendor_install :: all
29 $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR) 26 $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
30 27
31 doc_perl_install :: 28 doc_perl_install :: all
32- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod 29- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
33- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) 30- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
34- -$(NOECHO) $(DOC_INSTALL) \ 31- -$(NOECHO) $(DOC_INSTALL) \
@@ -39,13 +36,12 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm perl-5.8.8/l
39- EXE_FILES "$(EXE_FILES)" \ 36- EXE_FILES "$(EXE_FILES)" \
40- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{ 37- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
41 38
42 doc_site_install :: 39 doc_site_install :: all
43- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod 40- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
44- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) 41- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
45- -$(NOECHO) $(DOC_INSTALL) \
46+ $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLSITEARCH)/perllocal.pod 42+ $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLSITEARCH)/perllocal.pod
47+ -$(NOECHO) $(MKPATH) $(DESTINSTALLSITEARCH) 43+ -$(NOECHO) $(MKPATH) $(DESTINSTALLSITEARCH)
48+ -$(NOECHO) $(DOC_INSTALL) \ 44 -$(NOECHO) $(DOC_INSTALL) \
49 "Module" "$(NAME)" \ 45 "Module" "$(NAME)" \
50 "installed into" "$(INSTALLSITELIB)" \ 46 "installed into" "$(INSTALLSITELIB)" \
51 LINKTYPE "$(LINKTYPE)" \ 47 LINKTYPE "$(LINKTYPE)" \
@@ -54,7 +50,7 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm perl-5.8.8/l
54- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{ 50- >> }.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{
55+ >> }.$self->catfile('$(DESTINSTALLSITEARCH)','perllocal.pod').q{ 51+ >> }.$self->catfile('$(DESTINSTALLSITEARCH)','perllocal.pod').q{
56 52
57 doc_vendor_install :: 53 doc_vendor_install :: all
58- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod 54- $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
59- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) 55- -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
60- -$(NOECHO) $(DOC_INSTALL) \ 56- -$(NOECHO) $(DOC_INSTALL) \
@@ -67,7 +63,7 @@ diff -Naur --exclude=debian perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm perl-5.8.8/l
67 63
68 }; 64 };
69 65
70@@ -2131,13 +2109,12 @@ 66@@ -2123,13 +2101,12 @@ uninstall :: uninstall_from_$(INSTALLDIR
71 $(NOECHO) $(NOOP) 67 $(NOECHO) $(NOOP)
72 68
73 uninstall_from_perldirs :: 69 uninstall_from_perldirs ::
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/native-perlinc.patch b/meta/recipes-devtools/perl/perl-5.12.2/native-perlinc.patch
index 6dc4b9538d..bf145ba6b2 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/native-perlinc.patch
+++ b/meta/recipes-devtools/perl/perl-5.12.2/native-perlinc.patch
@@ -1,7 +1,7 @@
1Index: perl-5.8.8/lib/ExtUtils/MM_Unix.pm 1Index: perl-5.8.8/lib/ExtUtils/MM_Unix.pm
2=================================================================== 2===================================================================
3--- perl-5.8.8.orig/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000 3--- perl-5.12.2.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000
4+++ perl-5.8.8/lib/ExtUtils/MM_Unix.pm 2008-11-08 16:01:12.000000000 +0000 4+++ perl-5.12.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000
5@@ -1597,6 +1597,19 @@ 5@@ -1597,6 +1597,19 @@
6 $self->{PERL_LIB} ||= $Config{privlibexp}; 6 $self->{PERL_LIB} ||= $Config{privlibexp};
7 $self->{PERL_ARCHLIB} ||= $Config{archlibexp}; 7 $self->{PERL_ARCHLIB} ||= $Config{archlibexp};
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/native-ssp.patch b/meta/recipes-devtools/perl/perl-5.12.2/native-ssp.patch
index 1c825f50d0..1c825f50d0 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/native-ssp.patch
+++ b/meta/recipes-devtools/perl/perl-5.12.2/native-ssp.patch
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/perl-configpm-switch.patch b/meta/recipes-devtools/perl/perl-5.12.2/perl-configpm-switch.patch
index ac519a0271..ac519a0271 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/perl-configpm-switch.patch
+++ b/meta/recipes-devtools/perl/perl-5.12.2/perl-configpm-switch.patch
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/perl-configure.sh b/meta/recipes-devtools/perl/perl-5.12.2/perl-configure.sh
index 9800394b63..c29e966c05 100755
--- a/meta/recipes-devtools/perl/perl-5.8.8/perl-configure.sh
+++ b/meta/recipes-devtools/perl/perl-5.12.2/perl-configure.sh
@@ -1,4 +1,4 @@
1ls#! /bin/sh 1#! /bin/sh
2 2
3# 3#
4# Generate the common perl configuration 4# Generate the common perl configuration
@@ -15,7 +15,7 @@ echo sh Configure -des \
15 -Dprefix=/usr \ 15 -Dprefix=/usr \
16 -Dvendorprefix=/usr \ 16 -Dvendorprefix=/usr \
17 -Dsiteprefix=/usr \ 17 -Dsiteprefix=/usr \
18 -Dotherlibdirs=/usr/lib/perl5/5.8.8 \ 18 -Dotherlibdirs=/usr/lib/perl5/5.12.2 \
19 -Duseshrplib \ 19 -Duseshrplib \
20 -Dusethreads \ 20 -Dusethreads \
21 -Duseithreads \ 21 -Duseithreads \
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/perl-dynloader.patch b/meta/recipes-devtools/perl/perl-5.12.2/perl-dynloader.patch
index e2dc774d5e..061a8236fd 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/perl-dynloader.patch
+++ b/meta/recipes-devtools/perl/perl-5.12.2/perl-dynloader.patch
@@ -3,8 +3,8 @@ loading to be changed via an environment variable. This is to allow
3us to load .so's from the host system while building for the target 3us to load .so's from the host system while building for the target
4system. 4system.
5 5
6--- perl-5.8.8/ext/DynaLoader/XSLoader_pm.PL 2007/04/20 09:03:08 1.1 6--- perl-5.12.2/dist/XSLoader/XSLoader_pm.PL 2007/04/20 09:03:08 1.1
7+++ perl-5.8.8/ext/DynaLoader/XSLoader_pm.PL 2007/04/20 09:41:28 7+++ perl-5.12.2/dist/XSLoader/XSLoader_pm.PL 2007/04/20 09:03:08
8@@ -65,6 +65,15 @@ 8@@ -65,6 +65,15 @@
9 print OUT <<'EOT'; 9 print OUT <<'EOT';
10 my $modpname = join('/',@modparts); 10 my $modpname = join('/',@modparts);
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/perl-enable-gdbm.patch b/meta/recipes-devtools/perl/perl-5.12.2/perl-enable-gdbm.patch
index c0874c372d..c0874c372d 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/perl-enable-gdbm.patch
+++ b/meta/recipes-devtools/perl/perl-5.12.2/perl-enable-gdbm.patch
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/perl-moreconfig.patch b/meta/recipes-devtools/perl/perl-5.12.2/perl-moreconfig.patch
index 590c72536b..590c72536b 100644
--- a/meta/recipes-devtools/perl/perl-5.8.8/perl-moreconfig.patch
+++ b/meta/recipes-devtools/perl/perl-5.12.2/perl-moreconfig.patch
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/09_fix_installperl.patch b/meta/recipes-devtools/perl/perl-5.8.8/09_fix_installperl.patch
deleted file mode 100644
index f550537d02..0000000000
--- a/meta/recipes-devtools/perl/perl-5.8.8/09_fix_installperl.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1Correctly identify arch-specific modules in ext/ where the .pm files
2are under lib.
3
4Ensure that POSIX/SigAction is kept with the rest of the POSIX module
5under archlib.
6
7diff --exclude=debian -Naur perl-5.8.8.orig/installperl perl-5.8.8/installperl
8--- perl-5.8.8.orig/installperl 2006-01-29 02:35:28.000000000 +1100
9+++ perl-5.8.8/installperl 2006-05-31 22:54:41.000000000 +1000
10@@ -156,11 +156,8 @@
11 if ("$File::Find::dir/$_" =~ m{^ext\b(.*)/([^/]+)\.pm$}) {
12 my($path, $modname) = ($1,$2);
13
14- # strip trailing component first
15- $path =~ s{/[^/]*$}{};
16-
17- # strip optional "/lib";
18- $path =~ s{/lib\b}{};
19+ # strip to optional "/lib", or remove trailing component
20+ $path =~ s{.*/lib\b}{} or $path =~ s{/[^/]*$}{};
21
22 # strip any leading /
23 $path =~ s{^/}{};
24@@ -851,7 +848,7 @@
25 }
26
27 if (-f $_) {
28- if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$] && $archpms{$1})) {
29+ if (/\.(?:al|ix)$/ && !($dir =~ m[^auto/(.*)$])) {
30 $installlib = $installprivlib;
31 #We're installing *.al and *.ix files into $installprivlib,
32 #but we have to delete old *.al and *.ix files from the 5.000
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/54_debian_perldoc-r.patch b/meta/recipes-devtools/perl/perl-5.8.8/54_debian_perldoc-r.patch
deleted file mode 100644
index 432cd857a7..0000000000
--- a/meta/recipes-devtools/perl/perl-5.8.8/54_debian_perldoc-r.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1In a Debian installation, not all directories in @INC need exist (the
2site directories for example are created on demand).
3
4Suggested by Joey Hess <joeyh@debian.org>.
5
6diff -Naur --exclude=debian perl-5.8.8.orig/lib/Pod/Perldoc.pm perl-5.8.8/lib/Pod/Perldoc.pm
7--- perl-5.8.8.orig/lib/Pod/Perldoc.pm 2004-12-29 23:15:33.000000000 +1100
8+++ perl-5.8.8/lib/Pod/Perldoc.pm 2006-02-02 23:38:49.000000000 +1100
9@@ -1533,6 +1533,7 @@
10 $self->{'target'} = (splitdir $s)[-1]; # XXX: why not use File::Basename?
11 for ($i=0; $i<@dirs; $i++) {
12 $dir = $dirs[$i];
13+ next unless -d $dir; # some dirs in @INC are optional
14 ($dir = VMS::Filespec::unixpath($dir)) =~ s!/\z!! if IS_VMS;
15 if ( (! $self->opt_m && ( $ret = $self->check_file($dir,"$s.pod")))
16 or ( $ret = $self->check_file($dir,"$s.pm"))
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/58_debian_cpan_config_path.patch b/meta/recipes-devtools/perl/perl-5.8.8/58_debian_cpan_config_path.patch
deleted file mode 100644
index b38c70c515..0000000000
--- a/meta/recipes-devtools/perl/perl-5.8.8/58_debian_cpan_config_path.patch
+++ /dev/null
@@ -1,14 +0,0 @@
1Set location of CPAN::Config to /etc/perl as /usr may not be writable.
2
3diff -Naur --exclude=debian perl-5.8.8.orig/lib/CPAN.pm perl-5.8.8/lib/CPAN.pm
4--- perl-5.8.8.orig/lib/CPAN.pm 2006-02-01 01:11:22.000000000 +1100
5+++ perl-5.8.8/lib/CPAN.pm 2006-02-02 23:49:26.000000000 +1100
6@@ -1246,7 +1246,7 @@
7 $configpm = $INC{"CPAN/MyConfig.pm"};
8 $redo++;
9 } else {
10- my($path_to_cpan) = File::Basename::dirname($INC{"CPAN.pm"});
11+ my($path_to_cpan) = '/etc/perl';
12 my($configpmdir) = File::Spec->catdir($path_to_cpan,"CPAN");
13 my($configpmtest) = File::Spec->catfile($configpmdir,"Config.pm");
14 if (-d $configpmdir or File::Path::mkpath($configpmdir)) {
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/60_debian_libnet_config_path.patch b/meta/recipes-devtools/perl/perl-5.8.8/60_debian_libnet_config_path.patch
deleted file mode 100644
index 7842ce115c..0000000000
--- a/meta/recipes-devtools/perl/perl-5.8.8/60_debian_libnet_config_path.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1Set location of libnet.cfg to /etc/perl/Net as /usr may not be writable.
2
3diff -Naur --exclude=debian perl-5.8.8.orig/lib/Net/Config.pm perl-5.8.8/lib/Net/Config.pm
4--- perl-5.8.8.orig/lib/Net/Config.pm 2002-03-01 01:04:31.000000000 +1100
5+++ perl-5.8.8/lib/Net/Config.pm 2006-02-03 00:00:55.000000000 +1100
6@@ -57,9 +57,8 @@
7 }
8 TRY_INTERNET_CONFIG
9
10-my $file = __FILE__;
11+my $file = '/etc/perl/Net/libnet.cfg';
12 my $ref;
13-$file =~ s/Config.pm/libnet.cfg/;
14 if ( -f $file ) {
15 $ref = eval { local $SIG{__DIE__}; do $file };
16 if (ref($ref) eq 'HASH') {
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/62_debian_cpan_definstalldirs.patch b/meta/recipes-devtools/perl/perl-5.8.8/62_debian_cpan_definstalldirs.patch
deleted file mode 100644
index 682061dd8b..0000000000
--- a/meta/recipes-devtools/perl/perl-5.8.8/62_debian_cpan_definstalldirs.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1Some modules which are included in core set INSTALLDIRS => 'perl'
2explicitly in Makefile.PL. This makes sense for the normal @INC
3ordering, but not ours. Provide a sensible default.
4
5diff -Naur --exclude=debian perl-5.8.8.orig/lib/CPAN/FirstTime.pm perl-5.8.8/lib/CPAN/FirstTime.pm
6--- perl-5.8.8.orig/lib/CPAN/FirstTime.pm 2006-01-31 08:08:57.000000000 +1100
7+++ perl-5.8.8/lib/CPAN/FirstTime.pm 2006-02-03 00:05:24.000000000 +1100
8@@ -358,7 +358,7 @@
9
10 };
11
12- $default = $CPAN::Config->{makepl_arg} || "";
13+ $default = $CPAN::Config->{makepl_arg} || "INSTALLDIRS=site";
14 $CPAN::Config->{makepl_arg} =
15 prompt("Parameters for the 'perl Makefile.PL' command?
16 Typical frequently used settings:
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/64_debian_enc2xs_inc.patch b/meta/recipes-devtools/perl/perl-5.8.8/64_debian_enc2xs_inc.patch
deleted file mode 100644
index c207a9380a..0000000000
--- a/meta/recipes-devtools/perl/perl-5.8.8/64_debian_enc2xs_inc.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1Tweak enc2xs to handle Debian @INC: ignore missing directories,
2follow symlinks (/usr/share/perl/5.8 -> 5.8.4).
3
4diff -Naur --exclude=debian perl-5.8.8.orig/ext/Encode/bin/enc2xs perl-5.8.8/ext/Encode/bin/enc2xs
5--- perl-5.8.8.orig/ext/Encode/bin/enc2xs 2004-09-03 01:53:51.000000000 +1000
6+++ perl-5.8.8/ext/Encode/bin/enc2xs 2006-02-03 00:21:32.000000000 +1100
7@@ -909,10 +909,11 @@
8 eval { require File::Find; };
9 my (@inc, %e2x_dir);
10 for my $inc (@INC){
11+ next unless -d $inc; # skip non-existent directories
12 push @inc, $inc unless $inc eq '.'; #skip current dir
13 }
14 File::Find::find(
15- sub {
16+ { wanted => sub {
17 my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
18 $atime,$mtime,$ctime,$blksize,$blocks)
19 = lstat($_) or return;
20@@ -922,7 +923,7 @@
21 $e2x_dir{$File::Find::dir} ||= $mtime;
22 }
23 return;
24- }, @inc);
25+ }, follow => 1}, @inc);
26 warn join("\n", keys %e2x_dir), "\n";
27 for my $d (sort {$e2x_dir{$a} <=> $e2x_dir{$b}} keys %e2x_dir){
28 $_E2X = $d;
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/Makefile.SH.patch b/meta/recipes-devtools/perl/perl-5.8.8/Makefile.SH.patch
deleted file mode 100644
index ab9c4b7d63..0000000000
--- a/meta/recipes-devtools/perl/perl-5.8.8/Makefile.SH.patch
+++ /dev/null
@@ -1,253 +0,0 @@
1Index: perl-5.8.8/Makefile.SH
2===================================================================
3--- perl-5.8.8.orig/Makefile.SH 2006-01-24 23:49:44.000000000 +1100
4+++ perl-5.8.8/Makefile.SH 2007-06-14 13:29:37.000000000 +1000
5@@ -43,12 +43,12 @@
6 true)
7 # Prefix all runs of 'miniperl' and 'perl' with
8 # $ldlibpth so that ./perl finds *this* shared libperl.
9- case "$LD_LIBRARY_PATH" in
10- '')
11- ldlibpth="LD_LIBRARY_PATH=`pwd`";;
12- *)
13- ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";;
14- esac
15+# case "$LD_LIBRARY_PATH" in
16+# '')
17+# ldlibpth="LD_LIBRARY_PATH=`pwd`";;
18+# *)
19+# ldlibpth="LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}";;
20+# esac
21
22 pldlflags="$cccdlflags"
23 static_target='static_pic'
24@@ -108,7 +108,8 @@
25 ldlibpth=''
26 ;;
27 *)
28- eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\""
29+# We compile in the library path in OE from cross-compile, so lets not do this
30+# eval "ldlibpth=\"$ldlibpthname=`pwd`:\$$ldlibpthname\""
31 ;;
32 esac
33 # Strip off any trailing :'s
34@@ -129,18 +130,7 @@
35 # INSTALL file, under "Building a shared perl library".
36 # If there is no pre-existing $libperl, we don't need
37 # to do anything further.
38- if test -f $archlib/CORE/$libperl; then
39- rm -f preload
40- cat <<'EOT' > preload
41-#! /bin/sh
42-lib=$1
43-shift
44-test -r $lib && export LD_PRELOAD="$lib $LD_PRELOAD"
45-exec "$@"
46-EOT
47- chmod 755 preload
48- ldlibpth="$ldlibpth `pwd`/preload `pwd`/$libperl"
49- fi
50+ echo linux libraries overwritten by cross-compile patches
51 ;;
52 os390) test -f /bin/env && ldlibpth="/bin/env $ldlibpth"
53 ;;
54@@ -401,9 +391,19 @@
55 .c.s:
56 $(CCCMDSRC) -S $*.c
57
58-all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
59- @echo " ";
60- @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
61+#all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make
62+# @echo " ";
63+# @echo " Everything is up to date. Type '$(MAKE) test' to run test suite."
64+
65+all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) $(unidatafiles)
66+
67+more: extra.pods $(private) $(public)
68+
69+more2: $(dynamic_ext)
70+
71+more3: $(nonxs_ext)
72+
73+more4: extras.make
74
75 .PHONY: all compile translators utilities
76
77@@ -413,10 +413,10 @@
78 cd x2p; $(MAKE) compile;
79 cd pod; $(MAKE) compile;
80
81-translators: miniperl$(EXE_EXT) $(CONFIGPM) FORCE
82+translators: $(CONFIGPM) FORCE
83 @echo " "; echo " Making x2p stuff"; cd x2p; $(LDLIBPTH) $(MAKE) all
84
85-utilities: miniperl$(EXE_EXT) $(CONFIGPM) $(plextract) lib/lib.pm FORCE
86+utilities: $(CONFIGPM) $(plextract) lib/lib.pm FORCE
87 @echo " "; echo " Making utilities"; cd utils; $(LDLIBPTH) $(MAKE) all
88
89
90@@ -550,7 +550,7 @@
91 case "$useshrplib" in
92 true)
93 $spitshell >>Makefile <<'!NO!SUBS!'
94- $(LD) -o $@ $(SHRPLDFLAGS) perl$(OBJ_EXT) $(obj) $(libs)
95+ $(LD) -o $@ $(SHRPLDFLAGS) perl$(OBJ_EXT) $(obj) $(libs) -Wl,-soname,libperl.so.5
96 !NO!SUBS!
97 case "$osname" in
98 aix)
99@@ -591,7 +591,9 @@
100 $(CC) -o miniperl $(CLDFLAGS) \
101 `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
102 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
103- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
104+ mv -f miniperl miniperl-target
105+ ln -s hostperl miniperl
106+# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
107 !NO!SUBS!
108 ;;
109 next4*)
110@@ -599,7 +601,9 @@
111 miniperl: $& miniperlmain$(OBJ_EXT) $(LIBPERL) opmini$(OBJ_EXT)
112 $(CC) -o miniperl `echo $(obj) | sed 's/ op$(OBJ_EXT) / /'` \
113 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) perl$(OBJ_EXT) $(libs)
114- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
115+ mv -f miniperl miniperl-target
116+ ln -s hostperl miniperl
117+# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
118 !NO!SUBS!
119 ;;
120 darwin*)
121@@ -620,7 +624,9 @@
122 -@rm -f miniperl.xok
123 $(CC) $(CLDFLAGS) $(NAMESPACEFLAGS) -o miniperl \
124 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(LLIBPERL) $(libs)
125- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
126+ mv -f miniperl miniperl-target
127+ ln -s hostperl miniperl
128+# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
129 !NO!SUBS!
130 ;;
131 *)
132@@ -629,7 +635,9 @@
133 -@rm -f miniperl.xok
134 $(LDLIBPTH) $(CC) $(CLDFLAGS) -o miniperl \
135 miniperlmain$(OBJ_EXT) opmini$(OBJ_EXT) $(LLIBPERL) $(libs)
136- $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
137+ mv -f miniperl miniperl-target
138+ ln -s hostperl miniperl
139+# $(LDLIBPTH) ./miniperl -w -Ilib -MExporter -e '<?>' || $(MAKE) minitest
140 !NO!SUBS!
141 ;;
142 esac
143@@ -766,7 +774,7 @@
144 # We need to autosplit in two steps because VOS can't handle so many args
145 #
146 .PHONY: preplibrary
147-preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
148+preplibrary: $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
149 @sh ./makedir lib/auto
150 @echo " AutoSplitting perl library"
151 $(LDLIBPTH) ./miniperl -Ilib -e 'use AutoSplit; \
152@@ -775,35 +783,35 @@
153 autosplit_lib_modules(@ARGV)' lib/*/*.pm
154 $(MAKE) lib/re.pm
155
156-lib/Config.pod: config.sh miniperl$(EXE_EXT) configpm Porting/Glossary
157+lib/Config.pod: config.sh configpm Porting/Glossary
158 $(LDLIBPTH) ./miniperl -Ilib configpm --heavy=lib/Config_heavy.pl lib/Config.pm
159
160 $(CONFIGPM): lib/Config.pod
161
162-lib/ExtUtils/Miniperl.pm: miniperlmain.c miniperl$(EXE_EXT) minimod.pl $(CONFIGPM)
163+lib/ExtUtils/Miniperl.pm: miniperlmain.c minimod.pl $(CONFIGPM)
164 $(LDLIBPTH) ./miniperl minimod.pl > lib/ExtUtils/Miniperl.pm
165
166 lib/re.pm: ext/re/re.pm
167 cp ext/re/re.pm lib/re.pm
168
169-$(plextract): miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p
170+$(plextract): $(CONFIGPM) x2p/s2p
171 @-rm -f $@
172 $(LDLIBPTH) ./miniperl -I`pwd`/lib $@.PL
173
174-x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p.PL
175+x2p/s2p: $(CONFIGPM) x2p/s2p.PL
176 cd x2p; $(LDLIBPTH) $(MAKE) s2p
177
178-lib/lib.pm: miniperl$(EXE_EXT) $(CONFIGPM)
179+lib/lib.pm: $(CONFIGPM)
180 @-rm -f $@
181 $(LDLIBPTH) ./miniperl -Ilib lib/lib_pm.PL
182
183 unidatafiles $(unidatafiles): uni.data
184
185-uni.data: miniperl$(EXE_EXT) $(CONFIGPM) lib/unicore/mktables
186+uni.data: $(CONFIGPM) lib/unicore/mktables
187 cd lib/unicore && $(LDLIBPTH) ../../miniperl -I../../lib mktables -w
188 touch uni.data
189
190-extra.pods: miniperl$(EXE_EXT)
191+extra.pods:
192 -@test -f extra.pods && rm -f `cat extra.pods`
193 -@rm -f extra.pods
194 -@for x in `grep -l '^=[a-z]' README.* | grep -v README.vms` ; do \
195@@ -850,18 +858,7 @@
196 INSTALL_DEPENDENCE = all
197
198 install.perl: $(INSTALL_DEPENDENCE) installperl
199- if [ -n "$(COMPILE)" ]; \
200- then \
201- cd utils; $(MAKE) compile; \
202- cd ../x2p; $(MAKE) compile; \
203- cd ../pod; $(MAKE) compile; \
204- else :; \
205- fi
206- $(LDLIBPTH) ./perl installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
207- $(MAKE) extras.install
208-
209-install.man: all installman
210- $(LDLIBPTH) ./perl installman --destdir=$(DESTDIR) $(INSTALLFLAGS)
211+ ./hostperl -Ifake_config_library -Ilib -MConfig installperl --destdir=$(DESTDIR) $(INSTALLFLAGS) $(STRIPFLAGS)
212
213 # XXX Experimental. Hardwired values, but useful for testing.
214 # Eventually Configure could ask for some of these values.
215@@ -978,16 +975,16 @@
216 #
217 # DynaLoader may be needed for extensions that use Makefile.PL.
218
219-$(DYNALOADER): miniperl$(EXE_EXT) preplibrary FORCE
220+$(DYNALOADER): preplibrary FORCE
221 @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
222
223-d_dummy $(dynamic_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
224+d_dummy $(dynamic_ext): preplibrary $(DYNALOADER) FORCE
225 @$(LDLIBPTH) sh ext/util/make_ext dynamic $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
226
227-s_dummy $(static_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
228+s_dummy $(static_ext): preplibrary $(DYNALOADER) FORCE
229 @$(LDLIBPTH) sh ext/util/make_ext $(STATIC) $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
230
231-n_dummy $(nonxs_ext): miniperl$(EXE_EXT) preplibrary $(DYNALOADER) FORCE
232+n_dummy $(nonxs_ext): preplibrary $(DYNALOADER) FORCE
233 @$(LDLIBPTH) sh ext/util/make_ext nonxs $@ MAKE=$(MAKE) LIBPERL_A=$(LIBPERL)
234
235 .PHONY: clean _tidy _mopup _cleaner1 _cleaner2 \
236@@ -1125,7 +1122,7 @@
237
238 test_prep_pre: preplibrary utilities $(nonxs_ext)
239
240-test_prep: test_prep_pre miniperl$(EXE_EXT) $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
241+test_prep: test_prep_pre $(unidatafiles) perl$(EXE_EXT) $(dynamic_ext) $(TEST_PERL_DLL)
242 PERL=./perl $(MAKE) _test_prep
243
244 _test_tty:
245@@ -1238,7 +1235,7 @@
246
247 # Can't depend on lib/Config.pm because that might be where miniperl
248 # is crashing.
249-minitest: miniperl$(EXE_EXT) lib/re.pm minitest.prep
250+minitest: lib/re.pm minitest.prep
251 - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \
252 && $(LDLIBPTH) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty
253
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/config.sh-32 b/meta/recipes-devtools/perl/perl-5.8.8/config.sh-32
deleted file mode 100644
index e22d71d8ee..0000000000
--- a/meta/recipes-devtools/perl/perl-5.8.8/config.sh-32
+++ /dev/null
@@ -1,58 +0,0 @@
1alignbytes='4'
2ccflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
3ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
4yaccflags=''
5ccsymbols='__GNUC_PATCHLEVEL__=5'
6cppccsymbols='__GNUC__=3 __GNUC_MINOR__=3'
7cppccsymbols='__GNUC__=3 __GNUC_MINOR__=3'
8cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include'
9cppsymbols='__ELF__=1 _FILE_OFFSET_BITS=64 __GLIBC__=2 __GLIBC_MINOR__=3 __GNU_LIBRARY__=6 _GNU_SOURCE=1 i386=1 __i386=1 __i386__=1 __i486=1 __i486__=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 linux=1 __linux=1 __linux__=1 _POSIX_C_SOURCE=199506L _POSIX_SOURCE=1 _REENTRANT=1 __STDC__=1 unix=1 __unix=1 __unix__=1 __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE=1 __USE_LARGEFILE64=1 __USE_MISC=1 __USE_POSIX=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 _XOPEN_SOURCE=600 _XOPEN_SOURCE_EXTENDED=1'
10d_nv_preserves_uv='define'
11d_u32align='undef'
12gccversion='3.3.5 (Debian 1:3.3.5-13)'
13getspnam_r_proto='0'
14gidformat='"lu"'
15gnulibc_version='2.3.2'
16i32type='long'
17i64type='long long'
18ivsize='4'
19gnulibc_version='2.3.2'
20libc='/lib/libc-2.3.2.so'
21libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
22libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
23ignore_versioned_solibs='y'
24libs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
25libsdirs=' /usr/lib'
26libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
27libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
28libspath=' /usr/local/lib /lib /usr/lib'
29libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD'
30libswanted_uselargefiles=''
31perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
32libsfiles=' libnsl.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
33libsfound=' /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
34longdblsize='12'
35longlongsize='8'
36longsize='4'
37myuname='linux birgitte 2.6.21-rc5 #63 tue mar 27 14:41:54 est 2007 i686 gnulinux '
38nv_preserves_uv_bits='32'
39osvers='2.6.21-rc5'
40ptrsize='4'
41quadkind='3'
42quadtype='long long'
43uquadtype='unsigned long long'
44sPRIXU64='"LX"'
45sPRId64='"Ld"'
46sPRIi64='"Li"'
47sPRIo64='"Lo"'
48sPRIu64='"Lu"'
49sPRIx64='"Lx"'
50selectminbits='32'
51sizesize='4'
52u32type='unsigned long'
53u64type='unsigned long long'
54uidformat='"lu"'
55uquadtype='unsigned long long'
56use64bitall='undef'
57use64bitint='undef'
58uvsize='4'
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/config.sh-64 b/meta/recipes-devtools/perl/perl-5.8.8/config.sh-64
deleted file mode 100644
index 6e58fa71a3..0000000000
--- a/meta/recipes-devtools/perl/perl-5.8.8/config.sh-64
+++ /dev/null
@@ -1,58 +0,0 @@
1alignbytes='8'
2ccflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
3ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
4yaccflags=''
5ccsymbols=''
6cppccsymbols=''
7cppccsymbols=''
8cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement'
9cppsymbols='__amd64=1 __amd64__=1 __ELF__=1 _FILE_OFFSET_BITS=64 __GLIBC__=2 __GLIBC_MINOR__=4 __GNUC__=4 __GNUC_MINOR__=1 __GNU_LIBRARY__=6 _GNU_SOURCE=1 _LARGEFILE64_SOURCE=1 _LARGEFILE_SOURCE=1 linux=1 __linux=1 __linux__=1 _LP64=1 __LP64__=1 _POSIX_C_SOURCE=199506L _POSIX_SOURCE=1 _REENTRANT=1 __STDC__=1 unix=1 __unix=1 __unix__=1 __USE_BSD=1 __USE_FILE_OFFSET64=1 __USE_GNU=1 __USE_LARGEFILE=1 __USE_LARGEFILE64=1 __USE_MISC=1 __USE_POSIX=1 __USE_POSIX199309=1 __USE_POSIX199506=1 __USE_POSIX2=1 __USE_REENTRANT=1 __USE_SVID=1 __USE_UNIX98=1 __USE_XOPEN=1 __USE_XOPEN_EXTENDED=1 __x86_64=1 __x86_64__=1 _XOPEN_SOURCE=600 _XOPEN_SOURCE_EXTENDED=1'
10d_nv_preserves_uv='undef'
11d_u32align='define'
12gccversion='4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)'
13getspnam_r_proto='REENTRANT_PROTO_I_CSBWR'
14gidformat='"u"'
15gnulibc_version='2.4'
16i32type='int'
17i64type='long'
18ivsize='8'
19gnulibc_version='2.4'
20libc='/lib/libc-2.4.so'
21libsfiles=' libnsl.so libdb.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
22libsfound=' /usr/lib/libnsl.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
23ignore_versioned_solibs='y'
24libs='-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc'
25libsdirs=' /usr/lib'
26libsfiles=' libnsl.so libdb.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
27libsfound=' /usr/lib/libnsl.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
28libspath=' /usr/local/lib /lib /usr/lib'
29libswanted='sfio socket inet nsl nm ndbm gdbm dbm db malloc dl dld ld sun m crypt sec util pthread c cposix posix ucb BSD'
30libswanted_uselargefiles=''
31perllibs='-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc'
32libsfiles=' libnsl.so libdb.so libdl.so libm.so libcrypt.so libutil.so libpthread.so libc.so'
33libsfound=' /usr/lib/libnsl.so /usr/lib/libdb.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libpthread.so /usr/lib/libc.so'
34longdblsize='16'
35longlongsize='8'
36longsize='8'
37myuname='linux nynaeve 2.6.20.4 #29 smp thu mar 29 15:35:30 est 2007 x86_64 gnulinux '
38nv_preserves_uv_bits='53'
39osvers='2.6.20.4'
40ptrsize='8'
41quadkind='2'
42quadtype='long'
43uquadtype='unsigned long'
44sPRIXU64='"lX"'
45sPRId64='"ld"'
46sPRIi64='"li"'
47sPRIo64='"lo"'
48sPRIu64='"lu"'
49sPRIx64='"lx"'
50selectminbits='64'
51sizesize='8'
52u32type='unsigned int'
53u64type='unsigned long'
54uidformat='"u"'
55uquadtype='unsigned long'
56use64bitall='define'
57use64bitint='define'
58uvsize='8'
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/makedepend-dash.patch b/meta/recipes-devtools/perl/perl-5.8.8/makedepend-dash.patch
deleted file mode 100644
index 1f15474377..0000000000
--- a/meta/recipes-devtools/perl/perl-5.8.8/makedepend-dash.patch
+++ /dev/null
@@ -1,13 +0,0 @@
1Index: perl-5.8.8/makedepend.SH
2===================================================================
3--- perl-5.8.8.orig/makedepend.SH 2007-05-24 12:06:52.000000000 +1000
4+++ perl-5.8.8/makedepend.SH 2007-05-24 12:27:33.000000000 +1000
5@@ -128,7 +128,7 @@
6 *.y) filebase=`basename $file .y` ;;
7 esac
8 case "$file" in
9- */*) finc="-I`echo $file | sed 's#/[^/]*$##`" ;;
10+ */*) finc="-I`echo $file | sed 's#/[^/]*$##'`" ;;
11 *) finc= ;;
12 esac
13 $echo "Finding dependencies for $filebase$_o."
diff --git a/meta/recipes-devtools/perl/perl-5.8.8/native-no-gdbminc.patch b/meta/recipes-devtools/perl/perl-5.8.8/native-no-gdbminc.patch
deleted file mode 100644
index f00fa2cc17..0000000000
--- a/meta/recipes-devtools/perl/perl-5.8.8/native-no-gdbminc.patch
+++ /dev/null
@@ -1,18 +0,0 @@
1If you have a /usr/include/gdbm/ndbm.h host on the header then the configure
2script adds -I/usr/include/gdbm to the ccflags even though gdbm support is
3disabled. Prevent perl from doing this so we don't get cross compile badness
4errors while building perl.
5
6--- perl-5.8.8/Configure 2007/05/06 23:42:18 1.1
7+++ perl-5.8.8/Configure 2007/05/06 23:42:48
8@@ -20033,8 +20033,8 @@
9 # ndbm.h header in /usr/include/gdbm/ndbm.h.
10 if $test -f /usr/include/gdbm/ndbm.h; then
11 echo '<gdbm/ndbm.h> found.'
12- ccflags="$ccflags -I/usr/include/gdbm"
13- cppflags="$cppflags -I/usr/include/gdbm"
14+# ccflags="$ccflags -I/usr/include/gdbm"
15+# cppflags="$cppflags -I/usr/include/gdbm"
16 t_ndbm=$define
17 fi
18 ;;
diff --git a/meta/recipes-devtools/perl/perl-native_5.8.8.bb b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
index 63215256aa..fe8dbaaff0 100644
--- a/meta/recipes-devtools/perl/perl-native_5.8.8.bb
+++ b/meta/recipes-devtools/perl/perl-native_5.12.2.bb
@@ -2,21 +2,21 @@ DESCRIPTION = "Perl is a popular scripting language."
2HOMEPAGE = "http://www.perl.org/" 2HOMEPAGE = "http://www.perl.org/"
3SECTION = "libs" 3SECTION = "libs"
4LICENSE = "Artistic|GPL" 4LICENSE = "Artistic|GPL"
5DEPENDS = "virtual/db-native gdbm-native" 5LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
6PR = "r14" 6 file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
7PR = "r4"
8
9LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
10 file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
7 11
8SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ 12SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
9 file://perl-5.8.8-gcc-4.2.patch;patch=1 \
10 file://Configure-multilib.patch;patch=1 \ 13 file://Configure-multilib.patch;patch=1 \
11 file://perl-configpm-switch.patch;patch=1 \ 14 file://perl-configpm-switch.patch;patch=1 \
12 file://native-nopacklist.patch;patch=1 \ 15 file://native-nopacklist.patch;patch=1 \
13 file://native-no-gdbminc.patch;patch=1 \ 16 file://native-perlinc.patch;patch=1"
14 file://native-perlinc.patch;patch=1 \
15 file://makedepend-dash.patch;patch=1 \
16 file://asm-pageh-fix.patch;patch=1"
17 17
18SRC_URI[md5sum] = "b8c118d4360846829beb30b02a6b91a7" 18SRC_URI[md5sum] = "af2df531d46b77fdf0d97eecb03eddb2"
19SRC_URI[sha256sum] = "e15d499321e003d12ed183601e37ee7ba5f64b278d1de30149ce01bd4a3f234d" 19SRC_URI[sha256sum] = "cf888340021d5a2d1238bbd9b8b55aaf420a848d46e4d317cb8567f86ceb1022"
20 20
21S = "${WORKDIR}/perl-${PV}" 21S = "${WORKDIR}/perl-${PV}"
22 22
@@ -65,13 +65,15 @@ do_install () {
65 # We need a hostperl link for building perl 65 # We need a hostperl link for building perl
66 ln -sf perl${PV} ${D}${bindir}/hostperl 66 ln -sf perl${PV} ${D}${bindir}/hostperl
67 67
68 ln -sf perl ${D}${libdir}/perl5
69
68 install -d ${D}${libdir}/perl/${PV}/CORE \ 70 install -d ${D}${libdir}/perl/${PV}/CORE \
69 ${D}${datadir}/perl/${PV}/ExtUtils 71 ${D}${datadir}/perl/${PV}/ExtUtils
70 72
71 # Save native config 73 # Save native config
72 install config.sh ${D}${libdir}/perl 74 install config.sh ${D}${libdir}/perl
73 install lib/Config.pm ${D}${libdir}/perl/${PV}/ 75 install lib/Config.pm ${D}${libdir}/perl/${PV}/
74 install lib/ExtUtils/typemap ${D}${datadir}/perl/${PV}/ExtUtils/ 76 install lib/ExtUtils/typemap ${D}${libdir}/perl/${PV}/ExtUtils/
75 77
76 # perl shared library headers 78 # perl shared library headers
77 for i in av.h embed.h gv.h keywords.h op.h perlio.h pp.h regexp.h \ 79 for i in av.h embed.h gv.h keywords.h op.h perlio.h pp.h regexp.h \
@@ -80,11 +82,13 @@ do_install () {
80 hv.h malloc_ctl.h pad.h perlsdio.h proto.h scope.h utf8.h \ 82 hv.h malloc_ctl.h pad.h perlsdio.h proto.h scope.h utf8.h \
81 cop.h fakesdio.h INTERN.h mg.h patchlevel.h perlsfio.h \ 83 cop.h fakesdio.h INTERN.h mg.h patchlevel.h perlsfio.h \
82 reentr.h sv.h utfebcdic.h cv.h fakethr.h intrpvar.h \ 84 reentr.h sv.h utfebcdic.h cv.h fakethr.h intrpvar.h \
83 nostdio.h perlapi.h perlvars.h reentr.inc thrdvar.h util.h \ 85 nostdio.h perlapi.h perlvars.h util.h \
84 dosish.h form.h iperlsys.h opcode.h perl.h perly.h regcomp.h \ 86 dosish.h form.h iperlsys.h opcode.h perl.h perly.h regcomp.h \
85 thread.h warnings.h; do 87 thread.h warnings.h; do
86 install $i ${D}${libdir}/perl/${PV}/CORE 88 install $i ${D}${libdir}/perl/${PV}/CORE
87 done 89 done
90
91 create_wrapper ${D}${bindir}/perl PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/5.12.2:${STAGING_LIBDIR}/perl/'
88} 92}
89do_install_append_nylon() { 93do_install_append_nylon() {
90 # get rid of definitions not supported by the gcc version we use for nylon... 94 # get rid of definitions not supported by the gcc version we use for nylon...
diff --git a/meta/recipes-devtools/perl/perl-rdepends_5.12.2.inc b/meta/recipes-devtools/perl/perl-rdepends_5.12.2.inc
new file mode 100644
index 0000000000..309bd17413
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-rdepends_5.12.2.inc
@@ -0,0 +1,210 @@
1# To create/update the perl-rdepends_${PV}.inc use this piece of ugly script (modified for your arch/paths etc):
2
3#[nitin@buildbox packages-split]$ pwd
4#/home/nitin/build/build3/tmp/work/i586-poky-linux/perl-5.8.8-r21/packages-split
5#/home/nitin/poky.git/build/tmp/work/x86_64-poky-linux/perl-5.12.2-r0/packages-split
6
7#egrep -r "use|require" perl-module-* | grep ";" | egrep "\.pm:require | \.pm:use" | sed "s-/.*\.pm: *- += -g" | sed "s/[\"\']//g" | sed "s/;.*/\"/g" | sed "s/require */\"perl-module-/g" | sed "s/CPANPLUS::.*/cpanplus/g" | sed "s/CPAN::.*/cpan/g" | tr [:upper:] [:lower:] | sed "s/::/-/g" | grep -v perl-module-5 | sed "s/ [^+\"].*//g" | grep -v "\\$" | sed "s/_/-/g" | sed "s/\.pl\"$/\"/" | grep -v "\-vms\-" | sort -u > /tmp/1
8#find . -type f | sed "s-\./--" | sed "s-/.*--" | sort -u > /tmp/2
9#cat /tmp/1 | cut -f3 -d" " | sed "s/[\"\']//g" | sort -u > /tmp/3
10## these dependancies do not exist
11#diff -u /tmp/2 /tmp/3 | grep ^+perl-module
12
13
14# Some additional dependencies that the above doesn't manage to figure out
15RDEPENDS_perl-module-math-bigint += "perl-module-math-bigint-calc "
16RDEPENDS_perl-module-math-bigint-calc += "perl-module-integer "
17
18# Depends list
19# copy contents of /tmp/1 in this file
20RDEPENDS_perl-module-archive-tar += "perl-module-exporter"
21RDEPENDS_perl-module-archive-tar-file += "perl-module-archive-tar"
22RDEPENDS_perl-module-attributes += "perl-module-xsloader"
23RDEPENDS_perl-module-b += "perl-module-exporter"
24RDEPENDS_perl-module-b-debug += "perl-module-b"
25RDEPENDS_perl-module-bignum += "perl-module-bigint"
26RDEPENDS_perl-module-bigrat += "perl-module-bigint"
27RDEPENDS_perl-module-bigrat += "perl-module-exporter"
28RDEPENDS_perl-module-carp += "perl-module-exporter"
29RDEPENDS_perl-module-cgi-util += "perl-module-exporter"
30RDEPENDS_perl-module-class-struct += "perl-module-exporter"
31RDEPENDS_perl-module-compress-raw-bzip2 += "perl-module-exporter"
32RDEPENDS_perl-module-compress-raw-zlib += "perl-module-exporter"
33RDEPENDS_perl-module-compress-zlib += "perl-module-exporter"
34RDEPENDS_perl-module-config-extensions += "perl-module-exporter"
35RDEPENDS_perl-module-cpanplus += "perl-module-base"
36RDEPENDS_perl-module-cpanplus += "perl-module-exporter"
37RDEPENDS_perl-module-cpanplus += "perl-module-tie-hash"
38RDEPENDS_perl-module-data-dumper += "perl-module-exporter"
39RDEPENDS_perl-module-data-dumper += "perl-module-overload"
40RDEPENDS_perl-module-devel-peek += "perl-module-exporter"
41RDEPENDS_perl-module-devel-selfstubber += "perl-module-selfloader"
42RDEPENDS_perl-module-digest-md5 += "perl-module-exporter"
43RDEPENDS_perl-module-digest-sha += "perl-module-dynaloader"
44RDEPENDS_perl-module-digest-sha += "perl-module-exporter"
45RDEPENDS_perl-module-dynaloader += "perl-module-autoloader"
46RDEPENDS_perl-module-encode += "perl-module-encode-config"
47RDEPENDS_perl-module-encode += "perl-module-exporter"
48RDEPENDS_perl-module-encode-cjkconstants += "perl-module-exporter"
49RDEPENDS_perl-module-encode-encoder += "perl-module-exporter"
50RDEPENDS_perl-module-encode-encoding += "perl-module-encode"
51RDEPENDS_perl-module-encode-unicode += "perl-module-encode"
52RDEPENDS_perl-module-english += "perl-module-exporter"
53RDEPENDS_perl-module-exporter-heavy += "perl-module-exporter"
54RDEPENDS_perl-module-extutils-command += "perl-module-exporter"
55RDEPENDS_perl-module-extutils-command-mm += "perl-module-exporter"
56RDEPENDS_perl-module-extutils-constant-proxysubs += "perl-module-extutils-constant-xs"
57RDEPENDS_perl-module-extutils-constant-xs += "perl-module-extutils-constant-base"
58RDEPENDS_perl-module-extutils-embed += "perl-module-exporter"
59RDEPENDS_perl-module-extutils-embed += "perl-module-filehandle"
60RDEPENDS_perl-module-extutils-liblist += "perl-module-extutils-liblist-kid"
61RDEPENDS_perl-module-extutils-makemaker += "perl-module-exporter"
62RDEPENDS_perl-module-extutils-makemaker += "perl-module-extutils-mm"
63RDEPENDS_perl-module-extutils-makemaker += "perl-module-extutils-my"
64RDEPENDS_perl-module-extutils-manifest += "perl-module-exporter"
65RDEPENDS_perl-module-extutils-miniperl += "perl-module-exporter"
66RDEPENDS_perl-module-extutils-mkbootstrap += "perl-module-exporter"
67RDEPENDS_perl-module-extutils-mm += "perl-module-extutils-liblist"
68RDEPENDS_perl-module-extutils-mm += "perl-module-extutils-makemaker"
69RDEPENDS_perl-module-extutils-mm-aix += "perl-module-extutils-mm-unix"
70RDEPENDS_perl-module-extutils-mm-beos += "perl-module-extutils-mm-any"
71RDEPENDS_perl-module-extutils-mm-beos += "perl-module-extutils-mm-unix"
72RDEPENDS_perl-module-extutils-mm-cygwin += "perl-module-extutils-mm-unix"
73RDEPENDS_perl-module-extutils-mm-cygwin += "perl-module-extutils-mm-win32"
74RDEPENDS_perl-module-extutils-mm-dos += "perl-module-extutils-mm-any"
75RDEPENDS_perl-module-extutils-mm-dos += "perl-module-extutils-mm-unix"
76RDEPENDS_perl-module-extutils-mm-nw5 += "perl-module-extutils-mm-win32"
77RDEPENDS_perl-module-extutils-mm-os2 += "perl-module-extutils-mm-any"
78RDEPENDS_perl-module-extutils-mm-os2 += "perl-module-extutils-mm-unix"
79RDEPENDS_perl-module-extutils-mm-qnx += "perl-module-extutils-mm-unix"
80RDEPENDS_perl-module-extutils-mm-unix += "perl-module-extutils-mm-any"
81RDEPENDS_perl-module-extutils-mm-uwin += "perl-module-extutils-mm-unix"
82RDEPENDS_perl-module-extutils-mm-vms += "perl-module-exporter"
83RDEPENDS_perl-module-extutils-mm-vms += "perl-module-extutils-mm-any"
84RDEPENDS_perl-module-extutils-mm-vms += "perl-module-extutils-mm-unix"
85RDEPENDS_perl-module-extutils-mm-vos += "perl-module-extutils-mm-unix"
86RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-extutils-mm-any"
87RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-extutils-mm-unix"
88RDEPENDS_perl-module-extutils-mm-win95 += "perl-module-extutils-mm-win32"
89RDEPENDS_perl-module-extutils-my += "perl-module-extutils-mm"
90RDEPENDS_perl-module-extutils-parsexs += "perl-module-exporter"
91RDEPENDS_perl-module-fcntl += "perl-module-exporter"
92RDEPENDS_perl-module-file-basename += "perl-module-exporter"
93RDEPENDS_perl-module-file-compare += "perl-module-exporter"
94RDEPENDS_perl-module-file-copy += "perl-module-exporter"
95RDEPENDS_perl-module-file-find += "perl-module-cwd"
96RDEPENDS_perl-module-file-find += "perl-module-exporter"
97RDEPENDS_perl-module-file-find += "perl-module-file-basename"
98RDEPENDS_perl-module-file-find += "perl-module-file-spec"
99RDEPENDS_perl-module-file-spec-cygwin += "perl-module-file-spec-unix"
100RDEPENDS_perl-module-file-spec-epoc += "perl-module-file-spec-unix"
101RDEPENDS_perl-module-file-spec-functions += "perl-module-exporter"
102RDEPENDS_perl-module-file-spec-mac += "perl-module-file-spec-unix"
103RDEPENDS_perl-module-file-spec-os2 += "perl-module-file-spec-unix"
104RDEPENDS_perl-module-file-spec-vms += "perl-module-file-spec-unix"
105RDEPENDS_perl-module-file-spec-win32 += "perl-module-file-spec-unix"
106RDEPENDS_perl-module-file-temp += "perl-module-symbol"
107RDEPENDS_perl-module-filehandle += "perl-module-io-file"
108RDEPENDS_perl-module-filter-util-call += "perl-module-dynaloader"
109RDEPENDS_perl-module-filter-util-call += "perl-module-exporter"
110RDEPENDS_perl-module-findbin += "perl-module-exporter"
111RDEPENDS_perl-module-getopt-std += "perl-module-exporter"
112RDEPENDS_perl-module-hash-util += "perl-module-dynaloader"
113RDEPENDS_perl-module-hash-util += "perl-module-exporter"
114RDEPENDS_perl-module-hash-util-fieldhash += "perl-module-exporter"
115RDEPENDS_perl-module-i18n-collate += "perl-module-exporter"
116RDEPENDS_perl-module-i18n-langinfo += "perl-module-dynaloader"
117RDEPENDS_perl-module-i18n-langinfo += "perl-module-exporter"
118RDEPENDS_perl-module-i18n-langtags += "perl-module-exporter"
119RDEPENDS_perl-module-inc-latest += "perl-module-inc-latest-private"
120RDEPENDS_perl-module-io-compress-base-common += "perl-module-exporter"
121RDEPENDS_perl-module-io-compress-bzip2 += "perl-module-exporter "
122RDEPENDS_perl-module-io-compress-deflate += "perl-module-exporter "
123RDEPENDS_perl-module-io-compress-gzip += "perl-module-exporter "
124RDEPENDS_perl-module-io-compress-gzip-constants += "perl-module-exporter"
125RDEPENDS_perl-module-io-compress-rawdeflate += "perl-module-exporter "
126RDEPENDS_perl-module-io-compress-zip += "perl-module-exporter "
127RDEPENDS_perl-module-io-compress-zip-constants += "perl-module-exporter"
128RDEPENDS_perl-module-io-compress-zlib-constants += "perl-module-exporter"
129RDEPENDS_perl-module-io-file += "perl-module-exporter"
130RDEPENDS_perl-module-io-handle += "perl-module-exporter"
131RDEPENDS_perl-module-io-seekable += "perl-module-exporter"
132RDEPENDS_perl-module-io-select += "perl-module-exporter"
133RDEPENDS_perl-module-io-socket += "perl-module-io-socket-inet"
134RDEPENDS_perl-module-io-socket += "perl-module-io-socket-unix"
135RDEPENDS_perl-module-io-uncompress-anyinflate += "perl-module-exporter "
136RDEPENDS_perl-module-io-uncompress-anyuncompress += "perl-module-exporter "
137RDEPENDS_perl-module-io-uncompress-bunzip2 += "perl-module-exporter "
138RDEPENDS_perl-module-io-uncompress-gunzip += "perl-module-exporter "
139RDEPENDS_perl-module-io-uncompress-inflate += "perl-module-exporter "
140RDEPENDS_perl-module-io-uncompress-rawinflate += "perl-module-exporter "
141RDEPENDS_perl-module-io-uncompress-unzip += "perl-module-exporter "
142RDEPENDS_perl-module-ipc-cmd += "perl-module-carp"
143RDEPENDS_perl-module-ipc-open2 += "perl-module-exporter"
144RDEPENDS_perl-module-ipc-open2 += "perl-module-ipc-open3"
145RDEPENDS_perl-module-ipc-open3 += "perl-module-exporter"
146RDEPENDS_perl-module-ipc-sysv += "perl-module-exporter"
147RDEPENDS_perl-module-list-util += "perl-module-exporter"
148RDEPENDS_perl-module-list-util-pp += "perl-module-exporter"
149RDEPENDS_perl-module-locale-constants += "perl-module-exporter"
150RDEPENDS_perl-module-locale-country += "perl-module-exporter"
151RDEPENDS_perl-module-locale-currency += "perl-module-exporter"
152RDEPENDS_perl-module-locale-language += "perl-module-exporter"
153RDEPENDS_perl-module-locale-script += "perl-module-exporter"
154RDEPENDS_perl-module-math-bigfloat += "perl-module-exporter"
155RDEPENDS_perl-module-math-complex += "perl-module-exporter"
156RDEPENDS_perl-module-math-trig += "perl-module-exporter"
157RDEPENDS_perl-module-mime-base64 += "perl-module-exporter"
158RDEPENDS_perl-module-mime-base64 += "perl-module-xsloader"
159RDEPENDS_perl-module-mime-quotedprint += "perl-module-exporter"
160RDEPENDS_perl-module-mro += "perl-module-xsloader"
161RDEPENDS_perl-module-net-cmd += "perl-module-exporter"
162RDEPENDS_perl-module-net-config += "perl-module-exporter"
163RDEPENDS_perl-module-net-domain += "perl-module-exporter"
164RDEPENDS_perl-module-net-ftp-a += "perl-module-net-ftp-dataconn"
165RDEPENDS_perl-module-net-ftp-e += "perl-module-net-ftp-i"
166RDEPENDS_perl-module-net-ftp-i += "perl-module-net-ftp-dataconn"
167RDEPENDS_perl-module-net-ftp-l += "perl-module-net-ftp-i"
168RDEPENDS_perl-module-net-ping += "perl-module-exporter"
169RDEPENDS_perl-module-net-time += "perl-module-exporter"
170RDEPENDS_perl-module-object-accessor += "perl-module-overload"
171RDEPENDS_perl-module-pod-escapes += "perl-module-exporter"
172RDEPENDS_perl-module-pod-functions += "perl-module-exporter"
173RDEPENDS_perl-module-pod-html += "perl-module-exporter"
174RDEPENDS_perl-module-pod-latex += "perl-module-pod-parseutils"
175RDEPENDS_perl-module-pod-simple-transcodesmart += "perl-module-encode"
176RDEPENDS_perl-module-pod-usage += "perl-module-pod-select"
177RDEPENDS_perl-module-posix += "perl-module-exporter"
178RDEPENDS_perl-module-safe += "perl-module-utf8"
179RDEPENDS_perl-module-scalar-util += "perl-module-exporter"
180RDEPENDS_perl-module-scalar-util += "perl-module-list-util"
181RDEPENDS_perl-module-scalar-util-pp += "perl-module-exporter"
182RDEPENDS_perl-module-sdbm-file += "perl-module-tie-hash"
183RDEPENDS_perl-module-search-dict += "perl-module-exporter"
184RDEPENDS_perl-module-socket += "perl-module-exporter"
185RDEPENDS_perl-module-storable += "perl-module-carp"
186RDEPENDS_perl-module-storable += "perl-module-dynaloader"
187RDEPENDS_perl-module-storable += "perl-module-exporter"
188RDEPENDS_perl-module-symbol += "perl-module-exporter"
189RDEPENDS_perl-module-sys-hostname += "perl-module-autoloader"
190RDEPENDS_perl-module-sys-hostname += "perl-module-exporter"
191RDEPENDS_perl-module-term-complete += "perl-module-exporter"
192RDEPENDS_perl-module-test += "perl-module-exporter"
193RDEPENDS_perl-module-test-builder-module += "perl-module-exporter"
194RDEPENDS_perl-module-test-builder-tester-color += "perl-module-test-builder-tester"
195RDEPENDS_perl-module-text-abbrev += "perl-module-exporter"
196RDEPENDS_perl-module-text-tabs += "perl-module-exporter"
197RDEPENDS_perl-module-text-wrap += "perl-module-exporter"
198RDEPENDS_perl-module-thread += "perl-module-exporter"
199RDEPENDS_perl-module-threads += "perl-module-config"
200RDEPENDS_perl-module-threads += "perl-module-xsloader"
201RDEPENDS_perl-module-time-hires += "perl-module-dynaloader"
202RDEPENDS_perl-module-time-hires += "perl-module-exporter"
203RDEPENDS_perl-module-time-local += "perl-module-exporter"
204RDEPENDS_perl-module-time-piece += "perl-module-dynaloader"
205RDEPENDS_perl-module-time-piece += "perl-module-exporter"
206RDEPENDS_perl-module-unicode-normalize += "perl-module-dynaloader"
207RDEPENDS_perl-module-unicode-normalize += "perl-module-exporter"
208RDEPENDS_perl-module-unicode-ucd += "perl-module-exporter"
209RDEPENDS_perl-module-universal += "perl-module-exporter"
210RDEPENDS_perl-module-warnings-register += "perl-module-warnings"
diff --git a/meta/recipes-devtools/perl/perl-rdepends_5.8.8.inc b/meta/recipes-devtools/perl/perl-rdepends_5.8.8.inc
deleted file mode 100644
index 1ce5ad0375..0000000000
--- a/meta/recipes-devtools/perl/perl-rdepends_5.8.8.inc
+++ /dev/null
@@ -1,1145 +0,0 @@
1# To create/update the perl-rdepends_${PV}.inc use this piece of ugly script (modified for your arch/paths etc):
2# daka@DaKa2:/home/slug/slugos/tmp/work/perl-5.8.7-r14/install$ egrep -r "use|require" * | grep ";$" | egrep ".pm:use |.pm:require " | grep -v v5.6.0 | grep -v 5.00 | grep -v \$module | sed -e "s, \+, ,g" | cut -f1,2 -d" " | sed -e "s,;, ,g" | sed -e "s,(), ,g" | sed -e "s,::,-,g" | sort | uniq | tr [:upper:] [:lower:] | sed -e "s,/[^ ]\+ , += \"perl-module-,g" | sed -e "s, \?$, \",g" | sed -e "s,_,-,g" | sed -e "s,^,RDEPENDS_,g" | sed -e "s,armeb-linux,\$\{TARGET_ARCH\}-\$\{TARGET_OS\},g" | egrep -v "perl-module-5|perl-module-tk|perl-module-mac-internetconfig|perl-module-ndbm-file|perl-module-html-treebuilder|perl-module-lwp-simple|perl-module-vms-filespec|perl-module-fcgi|perl-module-vms-stdio|perl-module-mac-buildtools" > /home/slug/openembedded/packages/perl/rdepends.tmp
3
4# Some additional dependencies that the above doesn't manage to figure out
5RDEPENDS_perl-module-math-bigint += "perl-module-math-bigint-calc "
6RDEPENDS_perl-module-math-bigint-calc += "perl-module-integer "
7
8# Depends list
9RDEPENDS_perl-misc += "perl-module-exporter "
10RDEPENDS_perl-misc += "perl-module-strict "
11RDEPENDS_perl-misc += "perl-module-warnings "
12RDEPENDS_perl-module-attribute-handlers-demo-demo += "perl-module-attribute-handlers "
13RDEPENDS_perl-module-attribute-handlers-demo-descriptions += "perl-module-attribute-handlers "
14RDEPENDS_perl-module-attribute-handlers-demo-myclass += "perl-module-base "
15RDEPENDS_perl-module-attribute-handlers += "perl-module-carp "
16RDEPENDS_perl-module-attribute-handlers += "perl-module-warnings "
17RDEPENDS_perl-module-attributes += "perl-module-strict "
18RDEPENDS_perl-module-attrs += "perl-module-xsloader "
19RDEPENDS_perl-module-autoloader += "perl-module-strict "
20RDEPENDS_perl-module-autosplit += "perl-module-carp "
21RDEPENDS_perl-module-autosplit += "perl-module-config "
22RDEPENDS_perl-module-autosplit += "perl-module-exporter "
23RDEPENDS_perl-module-autosplit += "perl-module-file-basename "
24RDEPENDS_perl-module-autosplit += "perl-module-file-path "
25RDEPENDS_perl-module-autosplit += "perl-module-file-spec-functions "
26RDEPENDS_perl-module-autosplit += "perl-module-strict "
27RDEPENDS_perl-module-base += "perl-module-strict "
28RDEPENDS_perl-module-base += "perl-module-vars "
29RDEPENDS_perl-module-b-asmdata += "perl-module-exporter "
30RDEPENDS_perl-module-b-assembler += "perl-module-b "
31RDEPENDS_perl-module-b-assembler += "perl-module-b-asmdata "
32RDEPENDS_perl-module-b-assembler += "perl-module-config "
33RDEPENDS_perl-module-b-assembler += "perl-module-exporter "
34RDEPENDS_perl-module-b-assembler += "perl-module-strict "
35RDEPENDS_perl-module-b-bblock += "perl-module-b-concise "
36RDEPENDS_perl-module-b-bblock += "perl-module-exporter "
37RDEPENDS_perl-module-b-bblock += "perl-module-strict "
38RDEPENDS_perl-module-b-bytecode += "perl-module-b-asmdata "
39RDEPENDS_perl-module-b-bytecode += "perl-module-b-assembler "
40RDEPENDS_perl-module-b-bytecode += "perl-module-config "
41RDEPENDS_perl-module-b-bytecode += "perl-module-strict "
42RDEPENDS_perl-module-b-cc += "perl-module-b-bblock "
43RDEPENDS_perl-module-b-cc += "perl-module-b-stackobj "
44RDEPENDS_perl-module-b-cc += "perl-module-config "
45RDEPENDS_perl-module-b-cc += "perl-module-strict "
46RDEPENDS_perl-module-b-c += "perl-module-b "
47RDEPENDS_perl-module-b-c += "perl-module-base "
48RDEPENDS_perl-module-b-c += "perl-module-b-asmdata "
49RDEPENDS_perl-module-b-c += "perl-module-carp "
50RDEPENDS_perl-module-b-c += "perl-module-config "
51RDEPENDS_perl-module-b-c += "perl-module-exporter "
52RDEPENDS_perl-module-b-c += "perl-module-filehandle "
53RDEPENDS_perl-module-b-c += "perl-module-strict "
54RDEPENDS_perl-module-b-debug += "perl-module-b-asmdata "
55RDEPENDS_perl-module-b-debug += "perl-module-strict "
56RDEPENDS_perl-module-b-deparse += "perl-module-bytes "
57RDEPENDS_perl-module-b-deparse += "perl-module-carp "
58RDEPENDS_perl-module-b-deparse += "perl-module-integer "
59RDEPENDS_perl-module-b-deparse += "perl-module-re "
60RDEPENDS_perl-module-b-deparse += "perl-module-strict "
61RDEPENDS_perl-module-b-deparse += "perl-module-utf8 "
62RDEPENDS_perl-module-b-deparse += "perl-module-warnings "
63RDEPENDS_perl-module-b-deparse += "perl-module-warnings "
64RDEPENDS_perl-module-b-deparse += "perl-module-vars "
65RDEPENDS_perl-module-b-disassembler += "perl-module-b "
66RDEPENDS_perl-module-b-disassembler += "perl-module-b-asmdata "
67RDEPENDS_perl-module-b-disassembler += "perl-module-carp "
68RDEPENDS_perl-module-b-disassembler += "perl-module-config "
69RDEPENDS_perl-module-b-disassembler += "perl-module-exporter "
70RDEPENDS_perl-module-b-disassembler += "perl-module-filehandle "
71RDEPENDS_perl-module-b-disassembler += "perl-module-strict "
72RDEPENDS_perl-module-benchmark += "perl-module-carp "
73RDEPENDS_perl-module-benchmark += "perl-module-exporter "
74RDEPENDS_perl-module-benchmark += "perl-module-strict "
75RDEPENDS_perl-module-bigint += "perl-module-exporter "
76RDEPENDS_perl-module-bigint += "perl-module-overload "
77RDEPENDS_perl-module-bigint += "perl-module-strict "
78RDEPENDS_perl-module-bignum += "perl-module-exporter "
79RDEPENDS_perl-module-bignum += "perl-module-strict "
80RDEPENDS_perl-module-bigrat += "perl-module-exporter "
81RDEPENDS_perl-module-bigrat += "perl-module-strict "
82RDEPENDS_perl-module-blib += "perl-module-cwd "
83RDEPENDS_perl-module-blib += "perl-module-file-spec "
84RDEPENDS_perl-module-blib += "perl-module-vars "
85RDEPENDS_perl-module-b-lint += "perl-module-strict "
86RDEPENDS_perl-module-b-showlex += "perl-module-b "
87RDEPENDS_perl-module-b-showlex += "perl-module-b-concise "
88RDEPENDS_perl-module-b-showlex += "perl-module-b-terse "
89RDEPENDS_perl-module-b-showlex += "perl-module-strict "
90RDEPENDS_perl-module-b-stackobj += "perl-module-b "
91RDEPENDS_perl-module-b-stackobj += "perl-module-carp "
92RDEPENDS_perl-module-b-stackobj += "perl-module-exporter "
93RDEPENDS_perl-module-b-stackobj += "perl-module-strict "
94RDEPENDS_perl-module-b-terse += "perl-module-b "
95RDEPENDS_perl-module-b-terse += "perl-module-b-asmdata "
96RDEPENDS_perl-module-b-terse += "perl-module-b-concise "
97RDEPENDS_perl-module-b-terse += "perl-module-carp "
98RDEPENDS_perl-module-b-terse += "perl-module-strict "
99RDEPENDS_perl-module-b += "perl-module-exporter "
100RDEPENDS_perl-module-b += "perl-module-strict "
101RDEPENDS_perl-module-b += "perl-module-xsloader "
102RDEPENDS_perl-module-b-xref += "perl-module-config "
103RDEPENDS_perl-module-b-xref += "perl-module-strict "
104RDEPENDS_perl-module-byteloader += "perl-module-xsloader "
105RDEPENDS_perl-module-carp-heavy += "perl-module-carp "
106RDEPENDS_perl-module-carp += "perl-module-exporter "
107RDEPENDS_perl-module-cgi-apache += "perl-module-cgi "
108RDEPENDS_perl-module-cgi-carp += "perl-module-exporter "
109RDEPENDS_perl-module-cgi-carp += "perl-module-file-spec "
110RDEPENDS_perl-module-cgi-cookie += "perl-module-cgi-util "
111RDEPENDS_perl-module-cgi-fast += "perl-module-cgi "
112RDEPENDS_perl-module-cgi-fast += "perl-module-vars "
113RDEPENDS_perl-module-cgi-pretty += "perl-module-cgi "
114RDEPENDS_perl-module-cgi-pretty += "perl-module-strict "
115RDEPENDS_perl-module-cgi-push += "perl-module-cgi "
116RDEPENDS_perl-module-cgi-push += "perl-module-cgi-util "
117RDEPENDS_perl-module-cgi-switch += "perl-module-cgi "
118RDEPENDS_perl-module-cgi += "perl-module-carp "
119RDEPENDS_perl-module-cgi += "perl-module-cgi-util "
120RDEPENDS_perl-module-cgi += "perl-module-constant "
121RDEPENDS_perl-module-cgi-util += "perl-module-exporter "
122RDEPENDS_perl-module-cgi-util += "perl-module-strict "
123RDEPENDS_perl-module-cgi-util += "perl-module-vars "
124RDEPENDS_perl-module-charnames += "perl-module-carp "
125RDEPENDS_perl-module-charnames += "perl-module-file-spec "
126RDEPENDS_perl-module-charnames += "perl-module-strict "
127RDEPENDS_perl-module-charnames += "perl-module-warnings "
128RDEPENDS_perl-module-class-isa += "perl-module-strict "
129RDEPENDS_perl-module-class-isa += "perl-module-vars "
130RDEPENDS_perl-module-class-struct += "perl-module-exporter "
131RDEPENDS_perl-module-class-struct += "perl-module-carp "
132RDEPENDS_perl-module-class-struct += "perl-module-strict "
133RDEPENDS_perl-module-class-struct += "perl-module-warnings-register "
134RDEPENDS_perl-module-config += "perl-module-strict "
135RDEPENDS_perl-module-constant += "perl-module-strict "
136RDEPENDS_perl-module-constant += "perl-module-warnings-register "
137RDEPENDS_perl-module-cpan-firsttime += "perl-module-extutils-makemaker "
138RDEPENDS_perl-module-cpan-firsttime += "perl-module-file-basename "
139RDEPENDS_perl-module-cpan-firsttime += "perl-module-filehandle "
140RDEPENDS_perl-module-cpan-firsttime += "perl-module-file-path "
141RDEPENDS_perl-module-cpan-firsttime += "perl-module-file-spec "
142RDEPENDS_perl-module-cpan-firsttime += "perl-module-strict "
143RDEPENDS_perl-module-cpan-firsttime += "perl-module-vars "
144RDEPENDS_perl-module-cpan-nox += "perl-module-base "
145RDEPENDS_perl-module-cpan-nox += "perl-module-cpan "
146RDEPENDS_perl-module-cpan-nox += "perl-module-strict "
147RDEPENDS_perl-module-cpan-nox += "perl-module-vars "
148RDEPENDS_perl-module-cpan += "perl-module-carp "
149RDEPENDS_perl-module-cpan += "perl-module-config "
150RDEPENDS_perl-module-cpan += "perl-module-cwd "
151RDEPENDS_perl-module-cpan += "perl-module-dirhandle "
152RDEPENDS_perl-module-cpan += "perl-module-exporter "
153RDEPENDS_perl-module-cpan += "perl-module-extutils-makemaker "
154RDEPENDS_perl-module-cpan += "perl-module-extutils-makemaker "
155RDEPENDS_perl-module-cpan += "perl-module-file-basename "
156RDEPENDS_perl-module-cpan += "perl-module-file-copy "
157RDEPENDS_perl-module-cpan += "perl-module-file-find "
158RDEPENDS_perl-module-cpan += "perl-module-filehandle "
159RDEPENDS_perl-module-cpan += "perl-module-file-path "
160RDEPENDS_perl-module-cpan += "perl-module-file-spec "
161RDEPENDS_perl-module-cpan += "perl-module-overload "
162RDEPENDS_perl-module-cpan += "perl-module-safe "
163RDEPENDS_perl-module-cpan += "perl-module-strict "
164RDEPENDS_perl-module-cpan += "perl-module-sys-hostname "
165RDEPENDS_perl-module-cpan += "perl-module-text-parsewords "
166RDEPENDS_perl-module-cpan += "perl-module-text-wrap "
167RDEPENDS_perl-module-cpan += "perl-module-vars "
168RDEPENDS_perl-module-cwd += "perl-module-exporter "
169RDEPENDS_perl-module-cwd += "perl-module-strict "
170RDEPENDS_perl-module-cwd += "perl-module-vars "
171RDEPENDS_perl-module-data-dumper += "perl-module-exporter "
172RDEPENDS_perl-module-data-dumper += "perl-module-overload "
173RDEPENDS_perl-module-data-dumper += "perl-module-carp "
174RDEPENDS_perl-module-dbm-filter-compress += "perl-module-carp "
175RDEPENDS_perl-module-dbm-filter-compress += "perl-module-strict "
176RDEPENDS_perl-module-dbm-filter-compress += "perl-module-warnings "
177RDEPENDS_perl-module-dbm-filter-encode += "perl-module-carp "
178RDEPENDS_perl-module-dbm-filter-encode += "perl-module-strict "
179RDEPENDS_perl-module-dbm-filter-encode += "perl-module-warnings "
180RDEPENDS_perl-module-dbm-filter-int32 += "perl-module-strict "
181RDEPENDS_perl-module-dbm-filter-int32 += "perl-module-warnings "
182RDEPENDS_perl-module-dbm-filter-null += "perl-module-strict "
183RDEPENDS_perl-module-dbm-filter-null += "perl-module-warnings "
184RDEPENDS_perl-module-dbm-filter += "perl-module-carp "
185RDEPENDS_perl-module-dbm-filter += "perl-module-strict "
186RDEPENDS_perl-module-dbm-filter += "perl-module-warnings "
187RDEPENDS_perl-module-dbm-filter-utf8 += "perl-module-carp "
188RDEPENDS_perl-module-dbm-filter-utf8 += "perl-module-strict "
189RDEPENDS_perl-module-dbm-filter-utf8 += "perl-module-warnings "
190RDEPENDS_perl-module-devel-dprof += "perl-module-xsloader "
191RDEPENDS_perl-module-devel-peek += "perl-module-exporter "
192RDEPENDS_perl-module-devel-peek += "perl-module-xsloader "
193RDEPENDS_perl-module-devel-ppport += "perl-module-dynaloader "
194RDEPENDS_perl-module-devel-ppport += "perl-module-strict "
195RDEPENDS_perl-module-devel-ppport += "perl-module-vars "
196RDEPENDS_perl-module-devel-selfstubber += "perl-module-selfloader "
197RDEPENDS_perl-module-devel-selfstubber += "perl-module-file-spec "
198RDEPENDS_perl-module-diagnostics += "perl-module-carp "
199RDEPENDS_perl-module-diagnostics += "perl-module-config "
200RDEPENDS_perl-module-diagnostics += "perl-module-strict "
201RDEPENDS_perl-module-digest-base += "perl-module-strict "
202RDEPENDS_perl-module-digest-base += "perl-module-vars "
203RDEPENDS_perl-module-digest-file += "perl-module-carp "
204RDEPENDS_perl-module-digest-file += "perl-module-digest "
205RDEPENDS_perl-module-digest-file += "perl-module-exporter "
206RDEPENDS_perl-module-digest-file += "perl-module-strict "
207RDEPENDS_perl-module-digest-file += "perl-module-vars "
208RDEPENDS_perl-module-digest-md5 += "perl-module-dynaloader "
209RDEPENDS_perl-module-digest-md5 += "perl-module-exporter "
210RDEPENDS_perl-module-digest-md5 += "perl-module-strict "
211RDEPENDS_perl-module-digest-md5 += "perl-module-vars "
212RDEPENDS_perl-module-digest += "perl-module-strict "
213RDEPENDS_perl-module-digest += "perl-module-vars "
214RDEPENDS_perl-module-dirhandle += "perl-module-carp "
215RDEPENDS_perl-module-dirhandle += "perl-module-symbol "
216RDEPENDS_perl-module-dumpvalue += "perl-module-strict "
217RDEPENDS_perl-module-dynaloader += "perl-module-autoloader "
218RDEPENDS_perl-module-dynaloader += "perl-module-config "
219RDEPENDS_perl-module-dynaloader += "perl-module-vars "
220RDEPENDS_perl-module-encode-alias += "perl-module-base "
221RDEPENDS_perl-module-encode-alias += "perl-module-encode "
222RDEPENDS_perl-module-encode-alias += "perl-module-strict "
223RDEPENDS_perl-module-encode-byte += "perl-module-encode "
224RDEPENDS_perl-module-encode-byte += "perl-module-xsloader "
225RDEPENDS_perl-module-encode-cjkconstants += "perl-module-exporter "
226RDEPENDS_perl-module-encode-cjkconstants += "perl-module-carp "
227RDEPENDS_perl-module-encode-cjkconstants += "perl-module-strict "
228RDEPENDS_perl-module-encode-cn-hz += "perl-module-base "
229RDEPENDS_perl-module-encode-cn-hz += "perl-module-encode "
230RDEPENDS_perl-module-encode-cn-hz += "perl-module-strict "
231RDEPENDS_perl-module-encode-cn-hz += "perl-module-vars "
232RDEPENDS_perl-module-encode-cn += "perl-module-encode "
233RDEPENDS_perl-module-encode-cn += "perl-module-encode-cn-hz "
234RDEPENDS_perl-module-encode-cn += "perl-module-xsloader "
235RDEPENDS_perl-module-encode-config += "perl-module-strict "
236RDEPENDS_perl-module-encode-ebcdic += "perl-module-encode "
237RDEPENDS_perl-module-encode-ebcdic += "perl-module-xsloader "
238RDEPENDS_perl-module-encode-encoder += "perl-module-exporter "
239RDEPENDS_perl-module-encode-encoder += "perl-module-carp "
240RDEPENDS_perl-module-encode-encoder += "perl-module-encode "
241RDEPENDS_perl-module-encode-encoder += "perl-module-strict "
242RDEPENDS_perl-module-encode-encoder += "perl-module-warnings "
243RDEPENDS_perl-module-encode-encoding += "perl-module-encode "
244RDEPENDS_perl-module-encode-encoding += "perl-module-strict "
245RDEPENDS_perl-module-encode-guess += "perl-module-base "
246RDEPENDS_perl-module-encode-guess += "perl-module-encode "
247RDEPENDS_perl-module-encode-guess += "perl-module-strict "
248RDEPENDS_perl-module-encode-jp-h2z += "perl-module-encode-cjkconstants "
249RDEPENDS_perl-module-encode-jp-h2z += "perl-module-strict "
250RDEPENDS_perl-module-encode-jp-jis7 += "perl-module-base "
251RDEPENDS_perl-module-encode-jp-jis7 += "perl-module-encode "
252RDEPENDS_perl-module-encode-jp-jis7 += "perl-module-encode-cjkconstants "
253RDEPENDS_perl-module-encode-jp-jis7 += "perl-module-strict "
254RDEPENDS_perl-module-encode-jp += "perl-module-encode "
255RDEPENDS_perl-module-encode-jp += "perl-module-encode-jp-jis7 "
256RDEPENDS_perl-module-encode-jp += "perl-module-xsloader "
257RDEPENDS_perl-module-encode-kr-2022-kr += "perl-module-base "
258RDEPENDS_perl-module-encode-kr-2022-kr += "perl-module-encode "
259RDEPENDS_perl-module-encode-kr-2022-kr += "perl-module-encode-cjkconstants "
260RDEPENDS_perl-module-encode-kr-2022-kr += "perl-module-strict "
261RDEPENDS_perl-module-encode-kr += "perl-module-encode "
262RDEPENDS_perl-module-encode-kr += "perl-module-encode-kr-2022-kr "
263RDEPENDS_perl-module-encode-kr += "perl-module-xsloader "
264RDEPENDS_perl-module-encode-mime-header += "perl-module-base "
265RDEPENDS_perl-module-encode-mime-header += "perl-module-carp "
266RDEPENDS_perl-module-encode-mime-header += "perl-module-constant "
267RDEPENDS_perl-module-encode-mime-header += "perl-module-encode "
268RDEPENDS_perl-module-encode-mime-header += "perl-module-mime-base64 "
269RDEPENDS_perl-module-encode-mime-header += "perl-module-strict "
270RDEPENDS_perl-module-encode-symbol += "perl-module-encode "
271RDEPENDS_perl-module-encode-symbol += "perl-module-xsloader "
272RDEPENDS_perl-module-encode-tw += "perl-module-encode "
273RDEPENDS_perl-module-encode-tw += "perl-module-xsloader "
274RDEPENDS_perl-module-encode-unicode += "perl-module-encode "
275RDEPENDS_perl-module-encode-unicode += "perl-module-base "
276RDEPENDS_perl-module-encode-unicode += "perl-module-strict "
277RDEPENDS_perl-module-encode-unicode += "perl-module-warnings "
278RDEPENDS_perl-module-encode-unicode += "perl-module-xsloader "
279RDEPENDS_perl-module-encode-unicode-utf7 += "perl-module-base "
280RDEPENDS_perl-module-encode-unicode-utf7 += "perl-module-encode "
281RDEPENDS_perl-module-encode-unicode-utf7 += "perl-module-mime-base64 "
282RDEPENDS_perl-module-encode-unicode-utf7 += "perl-module-strict "
283RDEPENDS_perl-module-encode += "perl-module-encode-config "
284RDEPENDS_perl-module-encode += "perl-module-exporter "
285RDEPENDS_perl-module-encode += "perl-module-base "
286RDEPENDS_perl-module-encode += "perl-module-encode-alias "
287RDEPENDS_perl-module-encode += "perl-module-strict "
288RDEPENDS_perl-module-encode += "perl-module-xsloader "
289RDEPENDS_perl-module-encoding += "perl-module-encode "
290RDEPENDS_perl-module-encoding += "perl-module-strict "
291RDEPENDS_perl-module-english += "perl-module-exporter "
292RDEPENDS_perl-module-env += "perl-module-config "
293RDEPENDS_perl-module-env += "perl-module-tie-array "
294RDEPENDS_perl-module-errno += "perl-module-config "
295RDEPENDS_perl-module-errno += "perl-module-exporter "
296RDEPENDS_perl-module-errno += "perl-module-strict "
297RDEPENDS_perl-module-exporter-heavy += "perl-module-exporter "
298RDEPENDS_perl-module-exporter-heavy += "perl-module-strict "
299RDEPENDS_perl-module-extutils-command-mm += "perl-module-exporter "
300RDEPENDS_perl-module-extutils-command-mm += "perl-module-strict "
301RDEPENDS_perl-module-extutils-command-mm += "perl-module-vars "
302RDEPENDS_perl-module-extutils-command += "perl-module-exporter "
303RDEPENDS_perl-module-extutils-command += "perl-module-carp "
304RDEPENDS_perl-module-extutils-command += "perl-module-file-basename "
305RDEPENDS_perl-module-extutils-command += "perl-module-file-compare "
306RDEPENDS_perl-module-extutils-command += "perl-module-file-copy "
307RDEPENDS_perl-module-extutils-command += "perl-module-file-path "
308RDEPENDS_perl-module-extutils-command += "perl-module-strict "
309RDEPENDS_perl-module-extutils-command += "perl-module-vars "
310RDEPENDS_perl-module-extutils-constant-base += "perl-module-carp "
311RDEPENDS_perl-module-extutils-constant-base += "perl-module-extutils-constant-utils "
312RDEPENDS_perl-module-extutils-constant-base += "perl-module-strict "
313RDEPENDS_perl-module-extutils-constant-base += "perl-module-text-wrap "
314RDEPENDS_perl-module-extutils-constant-base += "perl-module-vars "
315RDEPENDS_perl-module-extutils-constant += "perl-module-carp "
316RDEPENDS_perl-module-extutils-constant += "perl-module-exporter "
317RDEPENDS_perl-module-extutils-constant += "perl-module-extutils-constant-utils "
318RDEPENDS_perl-module-extutils-constant += "perl-module-extutils-constant-xs "
319RDEPENDS_perl-module-extutils-constant += "perl-module-strict "
320RDEPENDS_perl-module-extutils-constant += "perl-module-vars "
321RDEPENDS_perl-module-extutils-constant-utils += "perl-module-carp "
322RDEPENDS_perl-module-extutils-constant-utils += "perl-module-strict "
323RDEPENDS_perl-module-extutils-constant-utils += "perl-module-vars "
324RDEPENDS_perl-module-extutils-constant-xs += "perl-module-extutils-constant-base "
325RDEPENDS_perl-module-extutils-constant-xs += "perl-module-carp "
326RDEPENDS_perl-module-extutils-constant-xs += "perl-module-extutils-constant "
327RDEPENDS_perl-module-extutils-constant-xs += "perl-module-extutils-constant-utils "
328RDEPENDS_perl-module-extutils-constant-xs += "perl-module-strict "
329RDEPENDS_perl-module-extutils-constant-xs += "perl-module-vars "
330RDEPENDS_perl-module-extutils-embed += "perl-module-exporter "
331RDEPENDS_perl-module-extutils-embed += "perl-module-filehandle "
332RDEPENDS_perl-module-extutils-embed += "perl-module-config "
333RDEPENDS_perl-module-extutils-embed += "perl-module-file-spec "
334RDEPENDS_perl-module-extutils-embed += "perl-module-getopt-std "
335RDEPENDS_perl-module-extutils-embed += "perl-module-strict "
336RDEPENDS_perl-module-extutils-installed += "perl-module-carp "
337RDEPENDS_perl-module-extutils-installed += "perl-module-config "
338RDEPENDS_perl-module-extutils-installed += "perl-module-extutils-makemaker "
339RDEPENDS_perl-module-extutils-installed += "perl-module-extutils-packlist "
340RDEPENDS_perl-module-extutils-installed += "perl-module-file-basename "
341RDEPENDS_perl-module-extutils-installed += "perl-module-file-find "
342RDEPENDS_perl-module-extutils-installed += "perl-module-file-spec "
343RDEPENDS_perl-module-extutils-installed += "perl-module-strict "
344RDEPENDS_perl-module-extutils-installed += "perl-module-vars "
345RDEPENDS_perl-module-extutils-install += "perl-module-carp "
346RDEPENDS_perl-module-extutils-install += "perl-module-config "
347RDEPENDS_perl-module-extutils-install += "perl-module-exporter "
348RDEPENDS_perl-module-extutils-install += "perl-module-file-spec "
349RDEPENDS_perl-module-extutils-install += "perl-module-vars "
350RDEPENDS_perl-module-extutils-liblist-kid += "perl-module-config "
351RDEPENDS_perl-module-extutils-liblist-kid += "perl-module-cwd "
352RDEPENDS_perl-module-extutils-liblist-kid += "perl-module-file-basename "
353RDEPENDS_perl-module-extutils-liblist-kid += "perl-module-file-spec "
354RDEPENDS_perl-module-extutils-liblist-kid += "perl-module-strict "
355RDEPENDS_perl-module-extutils-liblist-kid += "perl-module-vars "
356RDEPENDS_perl-module-extutils-liblist += "perl-module-extutils-liblist-kid "
357RDEPENDS_perl-module-extutils-liblist += "perl-module-file-spec "
358RDEPENDS_perl-module-extutils-liblist += "perl-module-vars "
359RDEPENDS_perl-module-extutils-makemaker-bytes += "perl-module-vars "
360RDEPENDS_perl-module-extutils-makemaker += "perl-module-exporter "
361RDEPENDS_perl-module-extutils-makemaker += "perl-module-carp "
362RDEPENDS_perl-module-extutils-makemaker += "perl-module-config "
363RDEPENDS_perl-module-extutils-makemaker += "perl-module-file-path "
364RDEPENDS_perl-module-extutils-makemaker += "perl-module-strict "
365RDEPENDS_perl-module-extutils-makemaker-vmsish += "perl-module-vmsish "
366RDEPENDS_perl-module-extutils-makemaker-vmsish += "perl-module-vars "
367RDEPENDS_perl-module-extutils-manifest += "perl-module-exporter "
368RDEPENDS_perl-module-extutils-manifest += "perl-module-carp "
369RDEPENDS_perl-module-extutils-manifest += "perl-module-config "
370RDEPENDS_perl-module-extutils-manifest += "perl-module-file-copy "
371RDEPENDS_perl-module-extutils-manifest += "perl-module-file-find "
372RDEPENDS_perl-module-extutils-manifest += "perl-module-file-spec "
373RDEPENDS_perl-module-extutils-manifest += "perl-module-strict "
374RDEPENDS_perl-module-extutils-miniperl += "perl-module-exporter "
375RDEPENDS_perl-module-extutils-mkbootstrap += "perl-module-config "
376RDEPENDS_perl-module-extutils-mkbootstrap += "perl-module-exporter "
377RDEPENDS_perl-module-extutils-mksymlists += "perl-module-carp "
378RDEPENDS_perl-module-extutils-mksymlists += "perl-module-config "
379RDEPENDS_perl-module-extutils-mksymlists += "perl-module-exporter "
380RDEPENDS_perl-module-extutils-mksymlists += "perl-module-strict "
381RDEPENDS_perl-module-extutils-mksymlists += "perl-module-vars "
382RDEPENDS_perl-module-extutils-mm-any += "perl-module-config "
383RDEPENDS_perl-module-extutils-mm-any += "perl-module-file-spec "
384RDEPENDS_perl-module-extutils-mm-any += "perl-module-strict "
385RDEPENDS_perl-module-extutils-mm-any += "perl-module-vars "
386RDEPENDS_perl-module-extutils-mm-beos += "perl-module-extutils-mm-any "
387RDEPENDS_perl-module-extutils-mm-beos += "perl-module-extutils-mm-unix "
388RDEPENDS_perl-module-extutils-mm-beos += "perl-module-config "
389RDEPENDS_perl-module-extutils-mm-beos += "perl-module-file-spec "
390RDEPENDS_perl-module-extutils-mm-beos += "perl-module-vars "
391RDEPENDS_perl-module-extutils-mm-cygwin += "perl-module-extutils-mm-any "
392RDEPENDS_perl-module-extutils-mm-cygwin += "perl-module-extutils-mm-unix "
393RDEPENDS_perl-module-extutils-mm-cygwin += "perl-module-config "
394RDEPENDS_perl-module-extutils-mm-cygwin += "perl-module-file-spec "
395RDEPENDS_perl-module-extutils-mm-cygwin += "perl-module-strict "
396RDEPENDS_perl-module-extutils-mm-cygwin += "perl-module-vars "
397RDEPENDS_perl-module-extutils-mm-dos += "perl-module-extutils-mm-any "
398RDEPENDS_perl-module-extutils-mm-dos += "perl-module-extutils-mm-unix "
399RDEPENDS_perl-module-extutils-mm-dos += "perl-module-strict "
400RDEPENDS_perl-module-extutils-mm-dos += "perl-module-vars "
401RDEPENDS_perl-module-extutils-mm-macos += "perl-module-exporter "
402RDEPENDS_perl-module-extutils-mm-macos += "perl-module-extutils-mm-any "
403RDEPENDS_perl-module-extutils-mm-macos += "perl-module-extutils-mm-unix "
404RDEPENDS_perl-module-extutils-mm-macos += "perl-module-config "
405RDEPENDS_perl-module-extutils-mm-macos += "perl-module-cwd "
406RDEPENDS_perl-module-extutils-mm-macos += "perl-module-extutils-makemaker "
407RDEPENDS_perl-module-extutils-mm-macos += "perl-module-file-basename "
408RDEPENDS_perl-module-extutils-mm-macos += "perl-module-vars "
409RDEPENDS_perl-module-extutils-mm-nw5 += "perl-module-extutils-mm-win32 "
410RDEPENDS_perl-module-extutils-mm-nw5 += "perl-module-config "
411RDEPENDS_perl-module-extutils-mm-nw5 += "perl-module-extutils-makemaker "
412RDEPENDS_perl-module-extutils-mm-nw5 += "perl-module-file-basename "
413RDEPENDS_perl-module-extutils-mm-nw5 += "perl-module-strict "
414RDEPENDS_perl-module-extutils-mm-nw5 += "perl-module-vars "
415RDEPENDS_perl-module-extutils-mm-os2 += "perl-module-extutils-mm-any "
416RDEPENDS_perl-module-extutils-mm-os2 += "perl-module-extutils-mm-unix "
417RDEPENDS_perl-module-extutils-mm-os2 += "perl-module-extutils-makemaker "
418RDEPENDS_perl-module-extutils-mm-os2 += "perl-module-file-spec "
419RDEPENDS_perl-module-extutils-mm-os2 += "perl-module-strict "
420RDEPENDS_perl-module-extutils-mm-os2 += "perl-module-vars "
421RDEPENDS_perl-module-extutils-mm-unix += "perl-module-extutils-mm-any "
422RDEPENDS_perl-module-extutils-mm-unix += "perl-module-carp "
423RDEPENDS_perl-module-extutils-mm-unix += "perl-module-config "
424RDEPENDS_perl-module-extutils-mm-unix += "perl-module-dirhandle "
425RDEPENDS_perl-module-extutils-mm-unix += "perl-module-exporter "
426RDEPENDS_perl-module-extutils-mm-unix += "perl-module-extutils-makemaker "
427RDEPENDS_perl-module-extutils-mm-unix += "perl-module-file-basename "
428RDEPENDS_perl-module-extutils-mm-unix += "perl-module-strict "
429RDEPENDS_perl-module-extutils-mm += "perl-module-extutils-liblist "
430RDEPENDS_perl-module-extutils-mm += "perl-module-extutils-makemaker "
431RDEPENDS_perl-module-extutils-mm += "perl-module-config "
432RDEPENDS_perl-module-extutils-mm += "perl-module-strict "
433RDEPENDS_perl-module-extutils-mm += "perl-module-vars "
434RDEPENDS_perl-module-extutils-mm-uwin += "perl-module-extutils-mm-unix "
435RDEPENDS_perl-module-extutils-mm-uwin += "perl-module-strict "
436RDEPENDS_perl-module-extutils-mm-uwin += "perl-module-vars "
437RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-extutils-mm-any "
438RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-extutils-mm-unix "
439RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-config "
440RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-extutils-makemaker "
441RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-file-basename "
442RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-file-spec "
443RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-strict "
444RDEPENDS_perl-module-extutils-mm-win32 += "perl-module-vars "
445RDEPENDS_perl-module-extutils-mm-win95 += "perl-module-extutils-mm-win32 "
446RDEPENDS_perl-module-extutils-mm-win95 += "perl-module-config "
447RDEPENDS_perl-module-extutils-mm-win95 += "perl-module-vars "
448RDEPENDS_perl-module-extutils-mm-vms += "perl-module-exporter "
449RDEPENDS_perl-module-extutils-mm-vms += "perl-module-extutils-mm-any "
450RDEPENDS_perl-module-extutils-mm-vms += "perl-module-extutils-mm-unix "
451RDEPENDS_perl-module-extutils-mm-vms += "perl-module-config "
452RDEPENDS_perl-module-extutils-mm-vms += "perl-module-extutils-makemaker "
453RDEPENDS_perl-module-extutils-mm-vms += "perl-module-file-basename "
454RDEPENDS_perl-module-extutils-mm-vms += "perl-module-strict "
455RDEPENDS_perl-module-extutils-mm-vms += "perl-module-vars "
456RDEPENDS_perl-module-extutils-my += "perl-module-extutils-mm "
457RDEPENDS_perl-module-extutils-my += "perl-module-strict "
458RDEPENDS_perl-module-extutils-my += "perl-module-vars "
459RDEPENDS_perl-module-extutils-packlist += "perl-module-carp "
460RDEPENDS_perl-module-extutils-packlist += "perl-module-strict "
461RDEPENDS_perl-module-extutils-packlist += "perl-module-vars "
462RDEPENDS_perl-module-extutils-testlib += "perl-module-cwd "
463RDEPENDS_perl-module-extutils-testlib += "perl-module-file-spec "
464RDEPENDS_perl-module-extutils-testlib += "perl-module-lib "
465RDEPENDS_perl-module-fatal += "perl-module-carp "
466RDEPENDS_perl-module-fatal += "perl-module-strict "
467RDEPENDS_perl-module-fcntl += "perl-module-exporter "
468RDEPENDS_perl-module-fcntl += "perl-module-xsloader "
469RDEPENDS_perl-module-fields += "perl-module-strict "
470RDEPENDS_perl-module-fields += "perl-module-vars "
471RDEPENDS_perl-module-file-basename += "perl-module-exporter "
472RDEPENDS_perl-module-file-basename += "perl-module-warnings "
473RDEPENDS_perl-module-filecache += "perl-module-base "
474RDEPENDS_perl-module-filecache += "perl-module-carp "
475RDEPENDS_perl-module-filecache += "perl-module-config "
476RDEPENDS_perl-module-filecache += "perl-module-strict "
477RDEPENDS_perl-module-filecache += "perl-module-vars "
478RDEPENDS_perl-module-file-checktree += "perl-module-cwd "
479RDEPENDS_perl-module-file-checktree += "perl-module-exporter "
480RDEPENDS_perl-module-file-checktree += "perl-module-file-spec "
481RDEPENDS_perl-module-file-checktree += "perl-module-strict "
482RDEPENDS_perl-module-file-checktree += "perl-module-warnings "
483RDEPENDS_perl-module-file-compare += "perl-module-exporter "
484RDEPENDS_perl-module-file-compare += "perl-module-carp "
485RDEPENDS_perl-module-file-compare += "perl-module-strict "
486RDEPENDS_perl-module-file-compare += "perl-module-warnings "
487RDEPENDS_perl-module-file-copy += "perl-module-exporter "
488RDEPENDS_perl-module-file-copy += "perl-module-carp "
489RDEPENDS_perl-module-file-copy += "perl-module-config "
490RDEPENDS_perl-module-file-copy += "perl-module-file-spec "
491RDEPENDS_perl-module-file-copy += "perl-module-strict "
492RDEPENDS_perl-module-file-copy += "perl-module-warnings "
493RDEPENDS_perl-module-file-dosglob += "perl-module-strict "
494RDEPENDS_perl-module-file-dosglob += "perl-module-warnings "
495RDEPENDS_perl-module-file-find += "perl-module-cwd "
496RDEPENDS_perl-module-file-find += "perl-module-exporter "
497RDEPENDS_perl-module-file-find += "perl-module-file-basename "
498RDEPENDS_perl-module-file-find += "perl-module-file-spec "
499RDEPENDS_perl-module-file-find += "perl-module-strict "
500RDEPENDS_perl-module-file-find += "perl-module-warnings "
501RDEPENDS_perl-module-file-find += "perl-module-warnings-register "
502RDEPENDS_perl-module-file-glob += "perl-module-strict "
503RDEPENDS_perl-module-file-glob += "perl-module-xsloader "
504RDEPENDS_perl-module-filehandle += "perl-module-io-file "
505RDEPENDS_perl-module-filehandle += "perl-module-strict "
506RDEPENDS_perl-module-file-path += "perl-module-carp "
507RDEPENDS_perl-module-file-path += "perl-module-exporter "
508RDEPENDS_perl-module-file-path += "perl-module-file-basename "
509RDEPENDS_perl-module-file-path += "perl-module-strict "
510RDEPENDS_perl-module-file-path += "perl-module-warnings "
511RDEPENDS_perl-module-file-spec-cygwin += "perl-module-file-spec-unix "
512RDEPENDS_perl-module-file-spec-cygwin += "perl-module-strict "
513RDEPENDS_perl-module-file-spec-cygwin += "perl-module-vars "
514RDEPENDS_perl-module-file-spec-epoc += "perl-module-file-spec-unix "
515RDEPENDS_perl-module-file-spec-epoc += "perl-module-strict "
516RDEPENDS_perl-module-file-spec-epoc += "perl-module-vars "
517RDEPENDS_perl-module-file-spec-functions += "perl-module-exporter "
518RDEPENDS_perl-module-file-spec-functions += "perl-module-file-spec "
519RDEPENDS_perl-module-file-spec-functions += "perl-module-strict "
520RDEPENDS_perl-module-file-spec-functions += "perl-module-vars "
521RDEPENDS_perl-module-file-spec-mac += "perl-module-file-spec-unix "
522RDEPENDS_perl-module-file-spec-mac += "perl-module-strict "
523RDEPENDS_perl-module-file-spec-mac += "perl-module-vars "
524RDEPENDS_perl-module-file-spec-os2 += "perl-module-file-spec-unix "
525RDEPENDS_perl-module-file-spec-os2 += "perl-module-strict "
526RDEPENDS_perl-module-file-spec-os2 += "perl-module-vars "
527RDEPENDS_perl-module-file-spec-unix += "perl-module-strict "
528RDEPENDS_perl-module-file-spec-unix += "perl-module-vars "
529RDEPENDS_perl-module-file-spec += "perl-module-strict "
530RDEPENDS_perl-module-file-spec += "perl-module-vars "
531RDEPENDS_perl-module-file-spec-win32 += "perl-module-file-spec-unix "
532RDEPENDS_perl-module-file-spec-win32 += "perl-module-strict "
533RDEPENDS_perl-module-file-spec-win32 += "perl-module-vars "
534RDEPENDS_perl-module-file-spec-vms += "perl-module-file-spec-unix "
535RDEPENDS_perl-module-file-spec-vms += "perl-module-file-basename "
536RDEPENDS_perl-module-file-spec-vms += "perl-module-strict "
537RDEPENDS_perl-module-file-spec-vms += "perl-module-vars "
538RDEPENDS_perl-module-file-stat += "perl-module-class-struct "
539RDEPENDS_perl-module-file-stat += "perl-module-strict "
540RDEPENDS_perl-module-file-stat += "perl-module-warnings "
541RDEPENDS_perl-module-file-stat += "perl-module-vars "
542RDEPENDS_perl-module-file-temp += "perl-module-base "
543RDEPENDS_perl-module-file-temp += "perl-module-carp "
544RDEPENDS_perl-module-file-temp += "perl-module-constant "
545RDEPENDS_perl-module-file-temp += "perl-module-errno "
546RDEPENDS_perl-module-file-temp += "perl-module-fcntl "
547RDEPENDS_perl-module-file-temp += "perl-module-file-path "
548RDEPENDS_perl-module-file-temp += "perl-module-file-spec "
549RDEPENDS_perl-module-file-temp += "perl-module-overload "
550RDEPENDS_perl-module-file-temp += "perl-module-strict "
551RDEPENDS_perl-module-file-temp += "perl-module-vars "
552RDEPENDS_perl-module-filter-simple += "perl-module-carp "
553RDEPENDS_perl-module-filter-simple += "perl-module-filter-util-call "
554RDEPENDS_perl-module-filter-simple += "perl-module-text-balanced "
555RDEPENDS_perl-module-filter-simple += "perl-module-vars "
556RDEPENDS_perl-module-filter-util-call += "perl-module-dynaloader "
557RDEPENDS_perl-module-filter-util-call += "perl-module-exporter "
558RDEPENDS_perl-module-filter-util-call += "perl-module-carp "
559RDEPENDS_perl-module-filter-util-call += "perl-module-strict "
560RDEPENDS_perl-module-filter-util-call += "perl-module-warnings "
561RDEPENDS_perl-module-filter-util-call += "perl-module-vars "
562RDEPENDS_perl-module-findbin += "perl-module-exporter "
563RDEPENDS_perl-module-findbin += "perl-module-carp "
564RDEPENDS_perl-module-findbin += "perl-module-config "
565RDEPENDS_perl-module-findbin += "perl-module-cwd "
566RDEPENDS_perl-module-findbin += "perl-module-file-basename "
567RDEPENDS_perl-module-findbin += "perl-module-file-spec "
568RDEPENDS_perl-module-getopt-long += "perl-module-constant "
569RDEPENDS_perl-module-getopt-long += "perl-module-exporter "
570RDEPENDS_perl-module-getopt-long += "perl-module-strict "
571RDEPENDS_perl-module-getopt-long += "perl-module-vars "
572RDEPENDS_perl-module-getopt-std += "perl-module-exporter "
573RDEPENDS_perl-module-hash-util += "perl-module-exporter "
574RDEPENDS_perl-module-hash-util += "perl-module-carp "
575RDEPENDS_perl-module-hash-util += "perl-module-strict "
576RDEPENDS_perl-module-i18n-collate += "perl-module-exporter "
577RDEPENDS_perl-module-i18n-collate += "perl-module-posix "
578RDEPENDS_perl-module-i18n-collate += "perl-module-strict "
579RDEPENDS_perl-module-i18n-collate += "perl-module-warnings-register "
580RDEPENDS_perl-module-i18n-langinfo += "perl-module-dynaloader "
581RDEPENDS_perl-module-i18n-langinfo += "perl-module-exporter "
582RDEPENDS_perl-module-i18n-langinfo += "perl-module-autoloader "
583RDEPENDS_perl-module-i18n-langinfo += "perl-module-carp "
584RDEPENDS_perl-module-i18n-langinfo += "perl-module-strict "
585RDEPENDS_perl-module-i18n-langinfo += "perl-module-warnings "
586RDEPENDS_perl-module-i18n-langtags-detect += "perl-module-i18n-langtags "
587RDEPENDS_perl-module-i18n-langtags-detect += "perl-module-strict "
588RDEPENDS_perl-module-i18n-langtags-list += "perl-module-strict "
589RDEPENDS_perl-module-i18n-langtags-list += "perl-module-vars "
590RDEPENDS_perl-module-i18n-langtags += "perl-module-exporter "
591RDEPENDS_perl-module-i18n-langtags += "perl-module-strict "
592RDEPENDS_perl-module-i18n-langtags += "perl-module-vars "
593RDEPENDS_perl-module-io-dir += "perl-module-carp "
594RDEPENDS_perl-module-io-dir += "perl-module-exporter "
595RDEPENDS_perl-module-io-dir += "perl-module-file-spec "
596RDEPENDS_perl-module-io-dir += "perl-module-file-stat "
597RDEPENDS_perl-module-io-dir += "perl-module-io-file "
598RDEPENDS_perl-module-io-dir += "perl-module-strict "
599RDEPENDS_perl-module-io-dir += "perl-module-symbol "
600RDEPENDS_perl-module-io-dir += "perl-module-tie-hash "
601RDEPENDS_perl-module-io-file += "perl-module-exporter "
602RDEPENDS_perl-module-io-file += "perl-module-carp "
603RDEPENDS_perl-module-io-file += "perl-module-file-spec "
604RDEPENDS_perl-module-io-file += "perl-module-io-seekable "
605RDEPENDS_perl-module-io-file += "perl-module-selectsaver "
606RDEPENDS_perl-module-io-file += "perl-module-strict "
607RDEPENDS_perl-module-io-file += "perl-module-symbol "
608RDEPENDS_perl-module-io-handle += "perl-module-exporter "
609RDEPENDS_perl-module-io-handle += "perl-module-carp "
610RDEPENDS_perl-module-io-handle += "perl-module-selectsaver "
611RDEPENDS_perl-module-io-handle += "perl-module-strict "
612RDEPENDS_perl-module-io-handle += "perl-module-symbol "
613RDEPENDS_perl-module-io-pipe += "perl-module-carp "
614RDEPENDS_perl-module-io-pipe += "perl-module-io-handle "
615RDEPENDS_perl-module-io-pipe += "perl-module-strict "
616RDEPENDS_perl-module-io-pipe += "perl-module-symbol "
617RDEPENDS_perl-module-io-poll += "perl-module-exporter "
618RDEPENDS_perl-module-io-poll += "perl-module-io-handle "
619RDEPENDS_perl-module-io-poll += "perl-module-strict "
620RDEPENDS_perl-module-io-seekable += "perl-module-exporter "
621RDEPENDS_perl-module-io-seekable += "perl-module-carp "
622RDEPENDS_perl-module-io-seekable += "perl-module-fcntl "
623RDEPENDS_perl-module-io-seekable += "perl-module-io-handle "
624RDEPENDS_perl-module-io-seekable += "perl-module-strict "
625RDEPENDS_perl-module-io-select += "perl-module-exporter "
626RDEPENDS_perl-module-io-select += "perl-module-strict "
627RDEPENDS_perl-module-io-select += "perl-module-warnings-register "
628RDEPENDS_perl-module-io-select += "perl-module-vars "
629RDEPENDS_perl-module-io-socket-inet += "perl-module-carp "
630RDEPENDS_perl-module-io-socket-inet += "perl-module-errno "
631RDEPENDS_perl-module-io-socket-inet += "perl-module-exporter "
632RDEPENDS_perl-module-io-socket-inet += "perl-module-io-socket "
633RDEPENDS_perl-module-io-socket-inet += "perl-module-socket "
634RDEPENDS_perl-module-io-socket-inet += "perl-module-strict "
635RDEPENDS_perl-module-io-socket-unix += "perl-module-carp "
636RDEPENDS_perl-module-io-socket-unix += "perl-module-io-socket "
637RDEPENDS_perl-module-io-socket-unix += "perl-module-socket "
638RDEPENDS_perl-module-io-socket-unix += "perl-module-strict "
639RDEPENDS_perl-module-io-socket += "perl-module-io-socket-inet "
640RDEPENDS_perl-module-io-socket += "perl-module-io-socket-unix "
641RDEPENDS_perl-module-io-socket += "perl-module-carp "
642RDEPENDS_perl-module-io-socket += "perl-module-errno "
643RDEPENDS_perl-module-io-socket += "perl-module-exporter "
644RDEPENDS_perl-module-io-socket += "perl-module-io-handle "
645RDEPENDS_perl-module-io-socket += "perl-module-socket "
646RDEPENDS_perl-module-io-socket += "perl-module-strict "
647RDEPENDS_perl-module-io += "perl-module-carp "
648RDEPENDS_perl-module-io += "perl-module-strict "
649RDEPENDS_perl-module-io += "perl-module-warnings "
650RDEPENDS_perl-module-io += "perl-module-xsloader "
651RDEPENDS_perl-module-ipc-msg += "perl-module-carp "
652RDEPENDS_perl-module-ipc-msg += "perl-module-ipc-sysv "
653RDEPENDS_perl-module-ipc-msg += "perl-module-strict "
654RDEPENDS_perl-module-ipc-msg += "perl-module-vars "
655RDEPENDS_perl-module-ipc-open2 += "perl-module-exporter "
656RDEPENDS_perl-module-ipc-open2 += "perl-module-ipc-open3 "
657RDEPENDS_perl-module-ipc-open2 += "perl-module-strict "
658RDEPENDS_perl-module-ipc-open3 += "perl-module-exporter "
659RDEPENDS_perl-module-ipc-open3 += "perl-module-carp "
660RDEPENDS_perl-module-ipc-open3 += "perl-module-strict "
661RDEPENDS_perl-module-ipc-open3 += "perl-module-symbol "
662RDEPENDS_perl-module-ipc-semaphore += "perl-module-carp "
663RDEPENDS_perl-module-ipc-semaphore += "perl-module-strict "
664RDEPENDS_perl-module-ipc-semaphore += "perl-module-vars "
665RDEPENDS_perl-module-ipc-sysv += "perl-module-exporter "
666RDEPENDS_perl-module-ipc-sysv += "perl-module-carp "
667RDEPENDS_perl-module-ipc-sysv += "perl-module-config "
668RDEPENDS_perl-module-ipc-sysv += "perl-module-strict "
669RDEPENDS_perl-module-ipc-sysv += "perl-module-vars "
670RDEPENDS_perl-module-lib += "perl-module-config "
671RDEPENDS_perl-module-lib += "perl-module-strict "
672RDEPENDS_perl-module-list-util += "perl-module-exporter "
673RDEPENDS_perl-module-list-util += "perl-module-vars "
674RDEPENDS_perl-module-locale-constants += "perl-module-exporter "
675RDEPENDS_perl-module-locale-constants += "perl-module-constant "
676RDEPENDS_perl-module-locale-constants += "perl-module-strict "
677RDEPENDS_perl-module-locale-constants += "perl-module-vars "
678RDEPENDS_perl-module-locale-country += "perl-module-exporter "
679RDEPENDS_perl-module-locale-country += "perl-module-carp "
680RDEPENDS_perl-module-locale-country += "perl-module-locale-constants "
681RDEPENDS_perl-module-locale-country += "perl-module-strict "
682RDEPENDS_perl-module-locale-country += "perl-module-vars "
683RDEPENDS_perl-module-locale-currency += "perl-module-exporter "
684RDEPENDS_perl-module-locale-currency += "perl-module-strict "
685RDEPENDS_perl-module-locale-currency += "perl-module-vars "
686RDEPENDS_perl-module-locale-language += "perl-module-exporter "
687RDEPENDS_perl-module-locale-language += "perl-module-strict "
688RDEPENDS_perl-module-locale-language += "perl-module-vars "
689RDEPENDS_perl-module-locale-maketext-gutsloader += "perl-module-strict "
690RDEPENDS_perl-module-locale-maketext-guts += "perl-module-strict "
691RDEPENDS_perl-module-locale-maketext-guts += "perl-module-utf8 "
692RDEPENDS_perl-module-locale-maketext-guts += "perl-module-vars "
693RDEPENDS_perl-module-locale-maketext += "perl-module-carp "
694RDEPENDS_perl-module-locale-maketext += "perl-module-i18n-langtags "
695RDEPENDS_perl-module-locale-maketext += "perl-module-locale-maketext-gutsloader "
696RDEPENDS_perl-module-locale-maketext += "perl-module-strict "
697RDEPENDS_perl-module-locale-script += "perl-module-exporter "
698RDEPENDS_perl-module-locale-script += "perl-module-carp "
699RDEPENDS_perl-module-locale-script += "perl-module-locale-constants "
700RDEPENDS_perl-module-locale-script += "perl-module-strict "
701RDEPENDS_perl-module-locale-script += "perl-module-vars "
702RDEPENDS_perl-module-math-bigfloat-trace += "perl-module-exporter "
703RDEPENDS_perl-module-math-bigfloat-trace += "perl-module-math-bigfloat "
704RDEPENDS_perl-module-math-bigfloat-trace += "perl-module-strict "
705RDEPENDS_perl-module-math-bigfloat += "perl-module-exporter "
706RDEPENDS_perl-module-math-bigfloat += "perl-module-strict "
707RDEPENDS_perl-module-math-bigint-calcemu += "perl-module-strict "
708RDEPENDS_perl-module-math-bigint-calcemu += "perl-module-vars "
709RDEPENDS_perl-module-math-bigint-calc += "perl-module-strict "
710RDEPENDS_perl-module-math-bigint-calc += "perl-module-vars "
711RDEPENDS_perl-module-math-bigint-trace += "perl-module-exporter "
712RDEPENDS_perl-module-math-bigint-trace += "perl-module-math-bigint "
713RDEPENDS_perl-module-math-bigint-trace += "perl-module-strict "
714RDEPENDS_perl-module-math-bigint += "perl-module-strict "
715RDEPENDS_perl-module-math-bigrat += "perl-module-math-bigfloat "
716RDEPENDS_perl-module-math-bigrat += "perl-module-strict "
717RDEPENDS_perl-module-math-complex += "perl-module-exporter "
718RDEPENDS_perl-module-math-complex += "perl-module-strict "
719RDEPENDS_perl-module-math-trig += "perl-module-exporter "
720RDEPENDS_perl-module-math-trig += "perl-module-math-complex "
721RDEPENDS_perl-module-math-trig += "perl-module-strict "
722RDEPENDS_perl-module-memoize-anydbm-file += "perl-module-vars "
723RDEPENDS_perl-module-memoize-expirefile += "perl-module-carp "
724RDEPENDS_perl-module-memoize-expire += "perl-module-carp "
725RDEPENDS_perl-module-memoize-sdbm-file += "perl-module-sdbm-file "
726RDEPENDS_perl-module-memoize-storable += "perl-module-storable "
727RDEPENDS_perl-module-memoize += "perl-module-carp "
728RDEPENDS_perl-module-memoize += "perl-module-exporter "
729RDEPENDS_perl-module-memoize += "perl-module-strict "
730RDEPENDS_perl-module-memoize += "perl-module-vars "
731RDEPENDS_perl-module-mime-base64 += "perl-module-dynaloader "
732RDEPENDS_perl-module-mime-base64 += "perl-module-exporter "
733RDEPENDS_perl-module-mime-base64 += "perl-module-strict "
734RDEPENDS_perl-module-mime-base64 += "perl-module-vars "
735RDEPENDS_perl-module-mime-quotedprint += "perl-module-exporter "
736RDEPENDS_perl-module-mime-quotedprint += "perl-module-strict "
737RDEPENDS_perl-module-mime-quotedprint += "perl-module-vars "
738RDEPENDS_perl-module-net-cmd += "perl-module-exporter "
739RDEPENDS_perl-module-net-cmd += "perl-module-carp "
740RDEPENDS_perl-module-net-cmd += "perl-module-strict "
741RDEPENDS_perl-module-net-cmd += "perl-module-symbol "
742RDEPENDS_perl-module-net-cmd += "perl-module-vars "
743RDEPENDS_perl-module-net-config += "perl-module-exporter "
744RDEPENDS_perl-module-net-config += "perl-module-socket "
745RDEPENDS_perl-module-net-config += "perl-module-strict "
746RDEPENDS_perl-module-net-config += "perl-module-vars "
747RDEPENDS_perl-module-net-domain += "perl-module-exporter "
748RDEPENDS_perl-module-net-domain += "perl-module-carp "
749RDEPENDS_perl-module-net-domain += "perl-module-net-config "
750RDEPENDS_perl-module-net-domain += "perl-module-strict "
751RDEPENDS_perl-module-net-domain += "perl-module-vars "
752RDEPENDS_perl-module-net-ftp-a += "perl-module-net-ftp-dataconn "
753RDEPENDS_perl-module-net-ftp-a += "perl-module-carp "
754RDEPENDS_perl-module-net-ftp-a += "perl-module-strict "
755RDEPENDS_perl-module-net-ftp-a += "perl-module-vars "
756RDEPENDS_perl-module-net-ftp-dataconn += "perl-module-carp "
757RDEPENDS_perl-module-net-ftp-dataconn += "perl-module-errno "
758RDEPENDS_perl-module-net-ftp-dataconn += "perl-module-net-cmd "
759RDEPENDS_perl-module-net-ftp-dataconn += "perl-module-vars "
760RDEPENDS_perl-module-net-ftp-e += "perl-module-net-ftp-i "
761RDEPENDS_perl-module-net-ftp-i += "perl-module-net-ftp-dataconn "
762RDEPENDS_perl-module-net-ftp-i += "perl-module-carp "
763RDEPENDS_perl-module-net-ftp-i += "perl-module-vars "
764RDEPENDS_perl-module-net-ftp-l += "perl-module-net-ftp-i "
765RDEPENDS_perl-module-net-ftp += "perl-module-carp "
766RDEPENDS_perl-module-net-ftp += "perl-module-fcntl "
767RDEPENDS_perl-module-net-ftp += "perl-module-io-socket "
768RDEPENDS_perl-module-net-ftp += "perl-module-net-cmd "
769RDEPENDS_perl-module-net-ftp += "perl-module-net-config "
770RDEPENDS_perl-module-net-ftp += "perl-module-socket "
771RDEPENDS_perl-module-net-ftp += "perl-module-strict "
772RDEPENDS_perl-module-net-ftp += "perl-module-time-local "
773RDEPENDS_perl-module-net-ftp += "perl-module-vars "
774RDEPENDS_perl-module-net-hostent += "perl-module-class-struct "
775RDEPENDS_perl-module-net-hostent += "perl-module-strict "
776RDEPENDS_perl-module-net-hostent += "perl-module-vars "
777RDEPENDS_perl-module-net-netent += "perl-module-class-struct "
778RDEPENDS_perl-module-net-netent += "perl-module-strict "
779RDEPENDS_perl-module-net-netent += "perl-module-vars "
780RDEPENDS_perl-module-net-netrc += "perl-module-carp "
781RDEPENDS_perl-module-net-netrc += "perl-module-filehandle "
782RDEPENDS_perl-module-net-netrc += "perl-module-strict "
783RDEPENDS_perl-module-net-netrc += "perl-module-vars "
784RDEPENDS_perl-module-net-nntp += "perl-module-carp "
785RDEPENDS_perl-module-net-nntp += "perl-module-io-socket "
786RDEPENDS_perl-module-net-nntp += "perl-module-net-cmd "
787RDEPENDS_perl-module-net-nntp += "perl-module-net-config "
788RDEPENDS_perl-module-net-nntp += "perl-module-strict "
789RDEPENDS_perl-module-net-nntp += "perl-module-time-local "
790RDEPENDS_perl-module-net-nntp += "perl-module-vars "
791RDEPENDS_perl-module-net-ping += "perl-module-exporter "
792RDEPENDS_perl-module-net-ping += "perl-module-carp "
793RDEPENDS_perl-module-net-ping += "perl-module-constant "
794RDEPENDS_perl-module-net-ping += "perl-module-fcntl "
795RDEPENDS_perl-module-net-ping += "perl-module-filehandle "
796RDEPENDS_perl-module-net-ping += "perl-module-posix "
797RDEPENDS_perl-module-net-ping += "perl-module-strict "
798RDEPENDS_perl-module-net-pop3 += "perl-module-carp "
799RDEPENDS_perl-module-net-pop3 += "perl-module-io-socket "
800RDEPENDS_perl-module-net-pop3 += "perl-module-net-cmd "
801RDEPENDS_perl-module-net-pop3 += "perl-module-net-config "
802RDEPENDS_perl-module-net-pop3 += "perl-module-strict "
803RDEPENDS_perl-module-net-pop3 += "perl-module-vars "
804RDEPENDS_perl-module-net-protoent += "perl-module-class-struct "
805RDEPENDS_perl-module-net-protoent += "perl-module-strict "
806RDEPENDS_perl-module-net-protoent += "perl-module-vars "
807RDEPENDS_perl-module-net-servent += "perl-module-class-struct "
808RDEPENDS_perl-module-net-servent += "perl-module-strict "
809RDEPENDS_perl-module-net-servent += "perl-module-vars "
810RDEPENDS_perl-module-net-smtp += "perl-module-carp "
811RDEPENDS_perl-module-net-smtp += "perl-module-io-socket "
812RDEPENDS_perl-module-net-smtp += "perl-module-net-cmd "
813RDEPENDS_perl-module-net-smtp += "perl-module-net-config "
814RDEPENDS_perl-module-net-smtp += "perl-module-socket "
815RDEPENDS_perl-module-net-smtp += "perl-module-strict "
816RDEPENDS_perl-module-net-smtp += "perl-module-vars "
817RDEPENDS_perl-module-net-time += "perl-module-exporter "
818RDEPENDS_perl-module-net-time += "perl-module-carp "
819RDEPENDS_perl-module-net-time += "perl-module-io-select "
820RDEPENDS_perl-module-net-time += "perl-module-io-socket "
821RDEPENDS_perl-module-net-time += "perl-module-net-config "
822RDEPENDS_perl-module-net-time += "perl-module-strict "
823RDEPENDS_perl-module-net-time += "perl-module-vars "
824RDEPENDS_perl-module-next += "perl-module-carp "
825RDEPENDS_perl-module-next += "perl-module-strict "
826RDEPENDS_perl-module-opcode += "perl-module-carp "
827RDEPENDS_perl-module-opcode += "perl-module-exporter "
828RDEPENDS_perl-module-opcode += "perl-module-strict "
829RDEPENDS_perl-module-opcode += "perl-module-subs "
830RDEPENDS_perl-module-opcode += "perl-module-xsloader "
831RDEPENDS_perl-module-open += "perl-module-carp "
832RDEPENDS_perl-module-open += "perl-module-warnings "
833RDEPENDS_perl-module-ops += "perl-module-opcode "
834RDEPENDS_perl-module-o += "perl-module-b "
835RDEPENDS_perl-module-o += "perl-module-carp "
836RDEPENDS_perl-module-overload += "perl-module-warnings-register "
837RDEPENDS_perl-module-perlio-encoding += "perl-module-strict "
838RDEPENDS_perl-module-perlio-encoding += "perl-module-xsloader "
839RDEPENDS_perl-module-perlio-scalar += "perl-module-xsloader "
840RDEPENDS_perl-module-perlio-via-quotedprint += "perl-module-strict "
841RDEPENDS_perl-module-perlio-via += "perl-module-xsloader "
842RDEPENDS_perl-module-pod-checker += "perl-module-carp "
843RDEPENDS_perl-module-pod-checker += "perl-module-exporter "
844RDEPENDS_perl-module-pod-checker += "perl-module-pod-parser "
845RDEPENDS_perl-module-pod-checker += "perl-module-strict "
846RDEPENDS_perl-module-pod-checker += "perl-module-vars "
847RDEPENDS_perl-module-pod-find += "perl-module-carp "
848RDEPENDS_perl-module-pod-find += "perl-module-cwd "
849RDEPENDS_perl-module-pod-find += "perl-module-exporter "
850RDEPENDS_perl-module-pod-find += "perl-module-file-find "
851RDEPENDS_perl-module-pod-find += "perl-module-file-spec "
852RDEPENDS_perl-module-pod-find += "perl-module-strict "
853RDEPENDS_perl-module-pod-find += "perl-module-vars "
854RDEPENDS_perl-module-pod-functions += "perl-module-exporter "
855RDEPENDS_perl-module-pod-functions += "perl-module-strict "
856RDEPENDS_perl-module-pod-html += "perl-module-exporter "
857RDEPENDS_perl-module-pod-html += "perl-module-carp "
858RDEPENDS_perl-module-pod-html += "perl-module-config "
859RDEPENDS_perl-module-pod-html += "perl-module-cwd "
860RDEPENDS_perl-module-pod-html += "perl-module-file-spec "
861RDEPENDS_perl-module-pod-html += "perl-module-file-spec-unix "
862RDEPENDS_perl-module-pod-html += "perl-module-getopt-long "
863RDEPENDS_perl-module-pod-html += "perl-module-strict "
864RDEPENDS_perl-module-pod-html += "perl-module-vars "
865RDEPENDS_perl-module-pod-inputobjects += "perl-module-strict "
866RDEPENDS_perl-module-pod-inputobjects += "perl-module-vars "
867RDEPENDS_perl-module-pod-latex += "perl-module-pod-parseutils "
868RDEPENDS_perl-module-pod-latex += "perl-module-base "
869RDEPENDS_perl-module-pod-latex += "perl-module-carp "
870RDEPENDS_perl-module-pod-latex += "perl-module-strict "
871RDEPENDS_perl-module-pod-latex += "perl-module-vars "
872RDEPENDS_perl-module-pod-man += "perl-module-carp "
873RDEPENDS_perl-module-pod-man += "perl-module-pod-parselink "
874RDEPENDS_perl-module-pod-man += "perl-module-pod-parser "
875RDEPENDS_perl-module-pod-man += "perl-module-strict "
876RDEPENDS_perl-module-pod-man += "perl-module-subs "
877RDEPENDS_perl-module-pod-man += "perl-module-vars "
878RDEPENDS_perl-module-pod-parselink += "perl-module-exporter "
879RDEPENDS_perl-module-pod-parselink += "perl-module-strict "
880RDEPENDS_perl-module-pod-parselink += "perl-module-vars "
881RDEPENDS_perl-module-pod-parser += "perl-module-carp "
882RDEPENDS_perl-module-pod-parser += "perl-module-exporter "
883RDEPENDS_perl-module-pod-parser += "perl-module-pod-inputobjects "
884RDEPENDS_perl-module-pod-parser += "perl-module-strict "
885RDEPENDS_perl-module-pod-parser += "perl-module-vars "
886RDEPENDS_perl-module-pod-parseutils += "perl-module-carp "
887RDEPENDS_perl-module-pod-parseutils += "perl-module-vars "
888RDEPENDS_perl-module-pod-perldoc-baseto += "perl-module-strict "
889RDEPENDS_perl-module-pod-perldoc-baseto += "perl-module-warnings "
890RDEPENDS_perl-module-pod-perldoc-getoptsoo += "perl-module-strict "
891RDEPENDS_perl-module-pod-perldoc-tochecker += "perl-module-strict "
892RDEPENDS_perl-module-pod-perldoc-tochecker += "perl-module-warnings "
893RDEPENDS_perl-module-pod-perldoc-tochecker += "perl-module-vars "
894RDEPENDS_perl-module-pod-perldoc-toman += "perl-module-base "
895RDEPENDS_perl-module-pod-perldoc-toman += "perl-module-file-spec-functions "
896RDEPENDS_perl-module-pod-perldoc-toman += "perl-module-strict "
897RDEPENDS_perl-module-pod-perldoc-toman += "perl-module-warnings "
898RDEPENDS_perl-module-pod-perldoc-tonroff += "perl-module-base "
899RDEPENDS_perl-module-pod-perldoc-tonroff += "perl-module-pod-man "
900RDEPENDS_perl-module-pod-perldoc-tonroff += "perl-module-strict "
901RDEPENDS_perl-module-pod-perldoc-tonroff += "perl-module-warnings "
902RDEPENDS_perl-module-pod-perldoc-topod += "perl-module-base "
903RDEPENDS_perl-module-pod-perldoc-topod += "perl-module-strict "
904RDEPENDS_perl-module-pod-perldoc-topod += "perl-module-warnings "
905RDEPENDS_perl-module-pod-perldoc-tortf += "perl-module-base "
906RDEPENDS_perl-module-pod-perldoc-tortf += "perl-module-strict "
907RDEPENDS_perl-module-pod-perldoc-tortf += "perl-module-warnings "
908RDEPENDS_perl-module-pod-perldoc-tortf += "perl-module-vars "
909RDEPENDS_perl-module-pod-perldoc-totext += "perl-module-base "
910RDEPENDS_perl-module-pod-perldoc-totext += "perl-module-pod-text "
911RDEPENDS_perl-module-pod-perldoc-totext += "perl-module-strict "
912RDEPENDS_perl-module-pod-perldoc-totext += "perl-module-warnings "
913RDEPENDS_perl-module-pod-perldoc-totk += "perl-module-base "
914RDEPENDS_perl-module-pod-perldoc-totk += "perl-module-file-spec-functions "
915RDEPENDS_perl-module-pod-perldoc-totk += "perl-module-pod-perldoc "
916RDEPENDS_perl-module-pod-perldoc-totk += "perl-module-strict "
917RDEPENDS_perl-module-pod-perldoc-totk += "perl-module-warnings "
918RDEPENDS_perl-module-pod-perldoc-toxml += "perl-module-base "
919RDEPENDS_perl-module-pod-perldoc-toxml += "perl-module-strict "
920RDEPENDS_perl-module-pod-perldoc-toxml += "perl-module-warnings "
921RDEPENDS_perl-module-pod-perldoc-toxml += "perl-module-vars "
922RDEPENDS_perl-module-pod-perldoc += "perl-module-config "
923RDEPENDS_perl-module-pod-perldoc += "perl-module-file-spec-functions "
924RDEPENDS_perl-module-pod-perldoc += "perl-module-strict "
925RDEPENDS_perl-module-pod-perldoc += "perl-module-warnings "
926RDEPENDS_perl-module-pod-plainer += "perl-module-pod-parser "
927RDEPENDS_perl-module-pod-plainer += "perl-module-strict "
928RDEPENDS_perl-module-pod-plaintext += "perl-module-carp "
929RDEPENDS_perl-module-pod-plaintext += "perl-module-pod-select "
930RDEPENDS_perl-module-pod-plaintext += "perl-module-strict "
931RDEPENDS_perl-module-pod-plaintext += "perl-module-vars "
932RDEPENDS_perl-module-pod-select += "perl-module-carp "
933RDEPENDS_perl-module-pod-select += "perl-module-pod-parser "
934RDEPENDS_perl-module-pod-select += "perl-module-strict "
935RDEPENDS_perl-module-pod-select += "perl-module-vars "
936RDEPENDS_perl-module-pod-text-color += "perl-module-pod-text "
937RDEPENDS_perl-module-pod-text-color += "perl-module-strict "
938RDEPENDS_perl-module-pod-text-color += "perl-module-term-ansicolor "
939RDEPENDS_perl-module-pod-text-color += "perl-module-vars "
940RDEPENDS_perl-module-pod-text-overstrike += "perl-module-pod-text "
941RDEPENDS_perl-module-pod-text-overstrike += "perl-module-strict "
942RDEPENDS_perl-module-pod-text-overstrike += "perl-module-vars "
943RDEPENDS_perl-module-pod-text-termcap += "perl-module-pod-text "
944RDEPENDS_perl-module-pod-text-termcap += "perl-module-posix "
945RDEPENDS_perl-module-pod-text-termcap += "perl-module-strict "
946RDEPENDS_perl-module-pod-text-termcap += "perl-module-term-cap "
947RDEPENDS_perl-module-pod-text-termcap += "perl-module-vars "
948RDEPENDS_perl-module-pod-text += "perl-module-carp "
949RDEPENDS_perl-module-pod-text += "perl-module-exporter "
950RDEPENDS_perl-module-pod-text += "perl-module-pod-parselink "
951RDEPENDS_perl-module-pod-text += "perl-module-pod-select "
952RDEPENDS_perl-module-pod-text += "perl-module-strict "
953RDEPENDS_perl-module-pod-text += "perl-module-vars "
954RDEPENDS_perl-module-pod-usage += "perl-module-carp "
955RDEPENDS_perl-module-pod-usage += "perl-module-config "
956RDEPENDS_perl-module-pod-usage += "perl-module-exporter "
957RDEPENDS_perl-module-pod-usage += "perl-module-file-spec "
958RDEPENDS_perl-module-pod-usage += "perl-module-strict "
959RDEPENDS_perl-module-pod-usage += "perl-module-vars "
960RDEPENDS_perl-module-posix += "perl-module-exporter "
961RDEPENDS_perl-module-posix += "perl-module-autoloader "
962RDEPENDS_perl-module-posix += "perl-module-autoloader "
963RDEPENDS_perl-module-posix += "perl-module-xsloader "
964RDEPENDS_perl-module-safe += "perl-module-carp "
965RDEPENDS_perl-module-safe += "perl-module-carp-heavy "
966RDEPENDS_perl-module-safe += "perl-module-strict "
967RDEPENDS_perl-module-scalar-util += "perl-module-exporter "
968RDEPENDS_perl-module-sdbm-file += "perl-module-tie-hash "
969RDEPENDS_perl-module-sdbm-file += "perl-module-strict "
970RDEPENDS_perl-module-sdbm-file += "perl-module-warnings "
971RDEPENDS_perl-module-sdbm-file += "perl-module-xsloader "
972RDEPENDS_perl-module-search-dict += "perl-module-exporter "
973RDEPENDS_perl-module-search-dict += "perl-module-strict "
974RDEPENDS_perl-module-selectsaver += "perl-module-carp "
975RDEPENDS_perl-module-selectsaver += "perl-module-symbol "
976RDEPENDS_perl-module-selfloader += "perl-module-exporter "
977RDEPENDS_perl-module-shell += "perl-module-file-spec-functions "
978RDEPENDS_perl-module-shell += "perl-module-strict "
979RDEPENDS_perl-module-shell += "perl-module-warnings "
980RDEPENDS_perl-module-sigtrap += "perl-module-carp "
981RDEPENDS_perl-module-socket += "perl-module-exporter "
982RDEPENDS_perl-module-socket += "perl-module-carp "
983RDEPENDS_perl-module-socket += "perl-module-warnings-register "
984RDEPENDS_perl-module-socket += "perl-module-xsloader "
985RDEPENDS_perl-module-sort += "perl-module-strict "
986RDEPENDS_perl-module-storable += "perl-module-carp "
987RDEPENDS_perl-module-storable += "perl-module-dynaloader "
988RDEPENDS_perl-module-storable += "perl-module-exporter "
989RDEPENDS_perl-module-storable += "perl-module-autoloader "
990RDEPENDS_perl-module-storable += "perl-module-vars "
991RDEPENDS_perl-module-switch += "perl-module-carp "
992RDEPENDS_perl-module-switch += "perl-module-filter-util-call "
993RDEPENDS_perl-module-switch += "perl-module-strict "
994RDEPENDS_perl-module-switch += "perl-module-text-balanced "
995RDEPENDS_perl-module-switch += "perl-module-vars "
996RDEPENDS_perl-module-symbol += "perl-module-exporter "
997RDEPENDS_perl-module-sys-hostname += "perl-module-autoloader "
998RDEPENDS_perl-module-sys-hostname += "perl-module-exporter "
999RDEPENDS_perl-module-sys-hostname += "perl-module-carp "
1000RDEPENDS_perl-module-sys-hostname += "perl-module-strict "
1001RDEPENDS_perl-module-sys-syslog += "perl-module-dynaloader "
1002RDEPENDS_perl-module-sys-syslog += "perl-module-exporter "
1003RDEPENDS_perl-module-sys-syslog += "perl-module-carp "
1004RDEPENDS_perl-module-sys-syslog += "perl-module-socket "
1005RDEPENDS_perl-module-sys-syslog += "perl-module-strict "
1006RDEPENDS_perl-module-sys-syslog += "perl-module-sys-hostname "
1007RDEPENDS_perl-module-term-ansicolor += "perl-module-exporter "
1008RDEPENDS_perl-module-term-ansicolor += "perl-module-strict "
1009RDEPENDS_perl-module-term-cap += "perl-module-strict "
1010RDEPENDS_perl-module-term-cap += "perl-module-vars "
1011RDEPENDS_perl-module-term-complete += "perl-module-exporter "
1012RDEPENDS_perl-module-term-complete += "perl-module-strict "
1013RDEPENDS_perl-module-term-readline += "perl-module-strict "
1014RDEPENDS_perl-module-test-builder += "perl-module-strict "
1015RDEPENDS_perl-module-test-builder += "perl-module-vars "
1016RDEPENDS_perl-module-test-harness-assert += "perl-module-exporter "
1017RDEPENDS_perl-module-test-harness-assert += "perl-module-strict "
1018RDEPENDS_perl-module-test-harness-assert += "perl-module-vars "
1019RDEPENDS_perl-module-test-harness-iterator += "perl-module-strict "
1020RDEPENDS_perl-module-test-harness-iterator += "perl-module-vars "
1021RDEPENDS_perl-module-test-harness-point += "perl-module-strict "
1022RDEPENDS_perl-module-test-harness-point += "perl-module-vars "
1023RDEPENDS_perl-module-test-harness-straps += "perl-module-config "
1024RDEPENDS_perl-module-test-harness-straps += "perl-module-strict "
1025RDEPENDS_perl-module-test-harness-straps += "perl-module-test-harness-assert "
1026RDEPENDS_perl-module-test-harness-straps += "perl-module-test-harness-iterator "
1027RDEPENDS_perl-module-test-harness-straps += "perl-module-test-harness-point "
1028RDEPENDS_perl-module-test-harness-straps += "perl-module-vars "
1029RDEPENDS_perl-module-test-harness += "perl-module-benchmark "
1030RDEPENDS_perl-module-test-harness += "perl-module-config "
1031RDEPENDS_perl-module-test-harness += "perl-module-exporter "
1032RDEPENDS_perl-module-test-harness += "perl-module-strict "
1033RDEPENDS_perl-module-test-harness += "perl-module-test-harness-assert "
1034RDEPENDS_perl-module-test-harness += "perl-module-test-harness-straps "
1035RDEPENDS_perl-module-test-more += "perl-module-exporter "
1036RDEPENDS_perl-module-test-more += "perl-module-strict "
1037RDEPENDS_perl-module-test-more += "perl-module-test-builder "
1038RDEPENDS_perl-module-test-more += "perl-module-vars "
1039RDEPENDS_perl-module-test-simple += "perl-module-strict "
1040RDEPENDS_perl-module-test-simple += "perl-module-test-builder "
1041RDEPENDS_perl-module-test-simple += "perl-module-vars "
1042RDEPENDS_perl-module-test += "perl-module-exporter "
1043RDEPENDS_perl-module-test += "perl-module-carp "
1044RDEPENDS_perl-module-test += "perl-module-strict "
1045RDEPENDS_perl-module-text-abbrev += "perl-module-exporter "
1046RDEPENDS_perl-module-text-balanced += "perl-module-exporter "
1047RDEPENDS_perl-module-text-balanced += "perl-module-overload "
1048RDEPENDS_perl-module-text-balanced += "perl-module-selfloader "
1049RDEPENDS_perl-module-text-balanced += "perl-module-strict "
1050RDEPENDS_perl-module-text-balanced += "perl-module-vars "
1051RDEPENDS_perl-module-text-parsewords += "perl-module-exporter "
1052RDEPENDS_perl-module-text-parsewords += "perl-module-vars "
1053RDEPENDS_perl-module-text-soundex += "perl-module-exporter "
1054RDEPENDS_perl-module-text-tabs += "perl-module-exporter "
1055RDEPENDS_perl-module-text-tabs += "perl-module-strict "
1056RDEPENDS_perl-module-text-tabs += "perl-module-vars "
1057RDEPENDS_perl-module-text-wrap += "perl-module-exporter "
1058RDEPENDS_perl-module-text-wrap += "perl-module-strict "
1059RDEPENDS_perl-module-text-wrap += "perl-module-text-tabs "
1060RDEPENDS_perl-module-thread-queue += "perl-module-strict "
1061RDEPENDS_perl-module-thread-queue += "perl-module-threads-shared "
1062RDEPENDS_perl-module-thread-semaphore += "perl-module-threads-shared "
1063RDEPENDS_perl-module-threads-shared += "perl-module-strict "
1064RDEPENDS_perl-module-threads-shared += "perl-module-warnings "
1065RDEPENDS_perl-module-threads += "perl-module-dynaloader "
1066RDEPENDS_perl-module-threads += "perl-module-exporter "
1067RDEPENDS_perl-module-threads += "perl-module-config "
1068RDEPENDS_perl-module-threads += "perl-module-strict "
1069RDEPENDS_perl-module-threads += "perl-module-warnings "
1070RDEPENDS_perl-module-thread += "perl-module-exporter "
1071RDEPENDS_perl-module-thread += "perl-module-strict "
1072RDEPENDS_perl-module-thread += "perl-module-xsloader "
1073RDEPENDS_perl-module-tie-array += "perl-module-carp "
1074RDEPENDS_perl-module-tie-array += "perl-module-strict "
1075RDEPENDS_perl-module-tie-array += "perl-module-vars "
1076RDEPENDS_perl-module-tie-file += "perl-module-carp "
1077RDEPENDS_perl-module-tie-file += "perl-module-fcntl "
1078RDEPENDS_perl-module-tie-file += "perl-module-posix "
1079RDEPENDS_perl-module-tie-file += "perl-module-strict "
1080RDEPENDS_perl-module-tie-handle += "perl-module-carp "
1081RDEPENDS_perl-module-tie-handle += "perl-module-warnings-register "
1082RDEPENDS_perl-module-tie-hash += "perl-module-carp "
1083RDEPENDS_perl-module-tie-hash += "perl-module-warnings-register "
1084RDEPENDS_perl-module-tie-memoize += "perl-module-strict "
1085RDEPENDS_perl-module-tie-memoize += "perl-module-tie-hash "
1086RDEPENDS_perl-module-tie-refhash += "perl-module-strict "
1087RDEPENDS_perl-module-tie-refhash += "perl-module-tie-hash "
1088RDEPENDS_perl-module-tie-refhash += "perl-module-vars "
1089RDEPENDS_perl-module-tie-scalar += "perl-module-carp "
1090RDEPENDS_perl-module-tie-scalar += "perl-module-warnings-register "
1091RDEPENDS_perl-module-tie-substrhash += "perl-module-carp "
1092RDEPENDS_perl-module-time-gmtime += "perl-module-strict "
1093RDEPENDS_perl-module-time-gmtime += "perl-module-time-tm "
1094RDEPENDS_perl-module-time-gmtime += "perl-module-vars "
1095RDEPENDS_perl-module-time-hires += "perl-module-dynaloader "
1096RDEPENDS_perl-module-time-hires += "perl-module-exporter "
1097RDEPENDS_perl-module-time-hires += "perl-module-strict "
1098RDEPENDS_perl-module-time-hires += "perl-module-vars "
1099RDEPENDS_perl-module-time-localtime += "perl-module-strict "
1100RDEPENDS_perl-module-time-localtime += "perl-module-time-tm "
1101RDEPENDS_perl-module-time-localtime += "perl-module-vars "
1102RDEPENDS_perl-module-time-local += "perl-module-exporter "
1103RDEPENDS_perl-module-time-local += "perl-module-carp "
1104RDEPENDS_perl-module-time-local += "perl-module-config "
1105RDEPENDS_perl-module-time-local += "perl-module-integer "
1106RDEPENDS_perl-module-time-local += "perl-module-strict "
1107RDEPENDS_perl-module-time-local += "perl-module-vars "
1108RDEPENDS_perl-module-time-tm += "perl-module-class-struct "
1109RDEPENDS_perl-module-time-tm += "perl-module-strict "
1110RDEPENDS_perl-module-unicode-collate += "perl-module-carp "
1111RDEPENDS_perl-module-unicode-collate += "perl-module-constant "
1112RDEPENDS_perl-module-unicode-collate += "perl-module-file-spec "
1113RDEPENDS_perl-module-unicode-collate += "perl-module-strict "
1114RDEPENDS_perl-module-unicode-collate += "perl-module-warnings "
1115RDEPENDS_perl-module-unicode-normalize += "perl-module-dynaloader "
1116RDEPENDS_perl-module-unicode-normalize += "perl-module-exporter "
1117RDEPENDS_perl-module-unicode-normalize += "perl-module-carp "
1118RDEPENDS_perl-module-unicode-normalize += "perl-module-constant "
1119RDEPENDS_perl-module-unicode-normalize += "perl-module-strict "
1120RDEPENDS_perl-module-unicode-normalize += "perl-module-warnings "
1121RDEPENDS_perl-module-unicode-ucd += "perl-module-exporter "
1122RDEPENDS_perl-module-unicode-ucd += "perl-module-carp "
1123RDEPENDS_perl-module-unicode-ucd += "perl-module-storable "
1124RDEPENDS_perl-module-unicode-ucd += "perl-module-strict "
1125RDEPENDS_perl-module-unicode-ucd += "perl-module-warnings "
1126RDEPENDS_perl-module-universal += "perl-module-exporter "
1127RDEPENDS_perl-module-user-grent += "perl-module-class-struct "
1128RDEPENDS_perl-module-user-grent += "perl-module-strict "
1129RDEPENDS_perl-module-user-grent += "perl-module-vars "
1130RDEPENDS_perl-module-user-pwent += "perl-module-carp "
1131RDEPENDS_perl-module-user-pwent += "perl-module-class-struct "
1132RDEPENDS_perl-module-user-pwent += "perl-module-config "
1133RDEPENDS_perl-module-user-pwent += "perl-module-strict "
1134RDEPENDS_perl-module-user-pwent += "perl-module-warnings "
1135RDEPENDS_perl-module-user-pwent += "perl-module-vars "
1136RDEPENDS_perl-module-warnings-register += "perl-module-warnings "
1137RDEPENDS_perl-module-warnings += "perl-module-carp "
1138RDEPENDS_perl-module-vars += "perl-module-strict "
1139RDEPENDS_perl-module-vars += "perl-module-warnings-register "
1140RDEPENDS_perl-module-xs-apitest += "perl-module-base "
1141RDEPENDS_perl-module-xs-apitest += "perl-module-carp "
1142RDEPENDS_perl-module-xs-apitest += "perl-module-strict "
1143RDEPENDS_perl-module-xs-apitest += "perl-module-warnings "
1144RDEPENDS_perl-module-xs-typemap += "perl-module-base "
1145RDEPENDS_perl-module-xs-typemap += "perl-module-vars "
diff --git a/meta/recipes-devtools/perl/perl-rprovides_5.12.2.inc b/meta/recipes-devtools/perl/perl-rprovides_5.12.2.inc
new file mode 100644
index 0000000000..9a648dbf2f
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl-rprovides_5.12.2.inc
@@ -0,0 +1 @@
RPROVIDES_perl-module-module-build += "libmodule-build-perl"
diff --git a/meta/recipes-devtools/perl/perl_5.12.2.bb b/meta/recipes-devtools/perl/perl_5.12.2.bb
new file mode 100644
index 0000000000..82801e8694
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl_5.12.2.bb
@@ -0,0 +1,276 @@
1DESCRIPTION = "Perl is a popular scripting language."
2HOMEPAGE = "http://www.perl.org/"
3SECTION = "devel"
4LICENSE = "Artistic|GPL"
5LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
6 file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
7PRIORITY = "optional"
8# We need gnugrep (for -I)
9DEPENDS = "virtual/db perl-native-${PV} grep-native"
10DEPENDS += "gdbm zlib"
11PR = "r0"
12
13# 5.10.1 has Module::Build built-in
14PROVIDES += "libmodule-build-perl"
15
16# Major part of version
17#PVM = "5.12"
18
19SRC_URI = "ftp://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
20 file://Makefile.patch;patch=1 \
21 file://Makefile.SH.patch;patch=1 \
22 file://installperl.patch;patch=1 \
23 file://perl-dynloader.patch;patch=1 \
24 file://perl-moreconfig.patch;patch=1 \
25 file://letgcc-find-errno.patch;patch=1 \
26 file://generate-sh.patch;patch=1 \
27 file://09_fix_installperl.patch;patch=1 \
28 file://native-perlinc.patch \
29 file://perl-enable-gdbm.patch \
30 file://cross-generate_uudmap.patch \
31 file://debian/arm_thread_stress_timeout.diff \
32 file://debian/cpan_config_path.diff \
33 file://debian/cpan_definstalldirs.diff \
34 file://debian/db_file_ver.diff \
35 file://debian/doc_info.diff \
36 file://debian/enc2xs_inc.diff \
37 file://debian/errno_ver.diff \
38 file://debian/extutils_hacks.diff \
39# file://debian/fakeroot.diff \
40 file://debian/instmodsh_doc.diff \
41 file://debian/ld_run_path.diff \
42 file://debian/libnet_config_path.diff \
43 file://debian/m68k_thread_stress.diff \
44 file://debian/mod_paths.diff \
45 file://debian/module_build_man_extensions.diff \
46 file://debian/prune_libs.diff \
47 file://debian/fixes/net_smtp_docs.diff \
48 file://debian/fixes/processPL.diff \
49 file://debian/perlivp.diff \
50 file://debian/disable-zlib-bundling.diff \
51 file://debian/cpanplus_definstalldirs.diff \
52 file://debian/cpanplus_config_path.diff \
53 file://debian/fixes/autodie-flock.diff \
54 file://debian/devel-ppport-ia64-optim.diff \
55 file://debian/fixes/cpanplus-without-home.diff \
56 file://debian/arm_optim.diff \
57 file://debian/deprecate-with-apt.diff \
58 file://debian/fixes/hurd-ccflags.diff \
59 file://debian/squelch-locale-warnings.diff \
60 file://debian/fixes/lc-numeric-docs.diff \
61 file://debian/fixes/lc-numeric-sprintf.diff \
62 file://debian/fixes/concat-stack-corruption.diff \
63 file://debian/fixes/h2ph-gcc-4.5.diff \
64 file://config.sh \
65 file://config.sh-32 \
66 file://config.sh-32-le \
67 file://config.sh-32-be \
68 file://config.sh-64 \
69 file://config.sh-64-le \
70 file://config.sh-64-be"
71
72SRC_URI[md5sum] = "af2df531d46b77fdf0d97eecb03eddb2"
73SRC_URI[sha256sum] = "cf888340021d5a2d1238bbd9b8b55aaf420a848d46e4d317cb8567f86ceb1022"
74
75inherit siteinfo
76
77# Where to find the native perl
78HOSTPERL = "${STAGING_BINDIR_NATIVE}/perl${PV}"
79
80# Where to find .so files - use the -native versions not those from the target build
81export PERLHOSTLIB = "${STAGING_LIBDIR_NATIVE}/perl/${PV}/"
82
83# LDFLAGS for shared libraries
84export LDDLFLAGS = "${LDFLAGS} -shared"
85
86# We're almost Debian, aren't we?
87CFLAGS += "-DDEBIAN"
88
89do_nolargefile() {
90 sed -i -e "s,\(uselargefiles=\)'define',\1'undef',g" \
91 -e "s,\(d_readdir64_r=\)'define',\1'undef',g" \
92 -e "s,\(readdir64_r_proto=\)'\w+',\1'0',g" \
93 -e "/ccflags_uselargefiles/d" \
94 -e "s/-Duselargefiles//" \
95 -e "s/-D_FILE_OFFSET_BITS=64//" \
96 -e "s/-D_LARGEFILE_SOURCE//" \
97 ${S}/Cross/config.sh-${TARGET_ARCH}-${TARGET_OS}
98}
99
100do_configure() {
101 # Make hostperl in build directory be the native perl
102 ln -sf ${HOSTPERL} hostperl
103
104 # Do our work in the cross subdir
105 cd Cross
106
107 # Generate configuration
108 rm -f config.sh-${TARGET_ARCH}-${TARGET_OS}
109 for i in ${WORKDIR}/config.sh \
110 ${WORKDIR}/config.sh-${@siteinfo_get_bits(d)} \
111 ${WORKDIR}/config.sh-${@siteinfo_get_bits(d)}-${@siteinfo_get_endianess(d)}; do
112 cat $i >> config.sh-${TARGET_ARCH}-${TARGET_OS}
113 done
114
115 # Fixups for uclibc
116 if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibceabi" ]; then
117 sed -i -e "s,\(d_crypt_r=\)'define',\1'undef',g" \
118 -e "s,\(d_futimes=\)'define',\1'undef',g" \
119 -e "s,\(crypt_r_proto=\)'\w+',\1'0',g" \
120 -e "s,\(d_getnetbyname_r=\)'define',\1'undef',g" \
121 -e "s,\(getnetbyname_r_proto=\)'\w+',\1'0',g" \
122 -e "s,\(d_getnetbyaddr_r=\)'define',\1'undef',g" \
123 -e "s,\(getnetbyaddr_r_proto=\)'\w+',\1'0',g" \
124 -e "s,\(d_getnetent_r=\)'define',\1'undef',g" \
125 -e "s,\(getnetent_r_proto=\)'\w+',\1'0',g" \
126 -e "s,\(d_sockatmark=\)'define',\1'undef',g" \
127 -e "s,\(d_sockatmarkproto=\)'\w+',\1'0',g" \
128 config.sh-${TARGET_ARCH}-${TARGET_OS}
129 fi
130
131 ${@base_contains('DISTRO_FEATURES', 'largefile', '', 'do_nolargefile', d)}
132
133 # Update some paths in the configuration
134 sed -i -e 's,@DESTDIR@,${prefix},g' \
135 -e 's,@ARCH@-thread-multi,,g' \
136 -e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \
137 -e "s%/usr/include%${STAGING_INCDIR}%g" \
138 -e 's,/usr/,${exec_prefix}/,g' \
139 -e 's,/perl5,/perl,g' \
140 config.sh-${TARGET_ARCH}-${TARGET_OS}
141
142 # These are strewn all over the source tree
143 for foo in `grep -I -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1 -d ":"` ; do
144 echo Fixing: $foo
145 sed -e "s%/usr/include/%${STAGING_INCDIR}/%g" -i $foo
146 done
147
148 rm -f config
149 echo "ARCH = ${TARGET_ARCH}" > config
150 echo "OS = ${TARGET_OS}" >> config
151}
152
153do_compile() {
154 sed -i -e 's|/usr/include|${STAGING_INCDIR}|g' ext/Errno/Errno_pm.PL
155 sed -i -e 's|/usr/include|${STAGING_INCDIR}|g' cpan/Compress-Raw-Zlib/config.in
156 sed -i -e 's|/usr/lib|${STAGING_LIBDIR}|g' cpan/Compress-Raw-Zlib/config.in
157
158 cd Cross
159 oe_runmake perl LD="${CCLD}"
160}
161
162do_install() {
163 oe_runmake install DESTDIR=${D}
164 # Add perl pointing at current version
165 ln -sf perl${PV} ${D}${bindir}/perl
166
167 ln -sf perl ${D}/${libdir}/perl5
168
169 # Remove unwanted file
170 rm -f ${D}/${libdir}/perl/${PV}/.packlist
171
172 # Fix up shared library
173 mv ${D}/${libdir}/perl/${PV}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV}
174 ln -sf libperl.so.${PV} ${D}/${libdir}/libperl.so.5
175
176 # target config, used by cpan.bbclass to extract version information
177 install config.sh ${D}${libdir}/perl
178
179 ln -s Config_heavy.pl ${D}${libdir}/perl/${PV}/Config_heavy-target.pl
180
181}
182
183PACKAGE_PREPROCESS_FUNCS += "perl_package_preprocess"
184
185perl_package_preprocess () {
186 # Fix up installed configuration
187 sed -i -e "s,${D},,g" \
188 -e "s,-isystem${STAGING_INCDIR} ,,g" \
189 -e "s,${STAGING_LIBDIR},${libdir},g" \
190 -e "s,${STAGING_BINDIR},${bindir},g" \
191 -e "s,${STAGING_INCDIR},${includedir},g" \
192 -e "s,${STAGING_BINDIR_NATIVE}/,,g" \
193 ${PKGD}${bindir}/h2xs \
194 ${PKGD}${bindir}/h2ph \
195 ${PKGD}${libdir}/perl/${PV}/pod/*.pod \
196 ${PKGD}${libdir}/perl/${PV}/cacheout.pl \
197 ${PKGD}${libdir}/perl/${PV}/FileCache.pm \
198 ${PKGD}${libdir}/perl/config.sh \
199 ${PKGD}${libdir}/perl/${PV}/Config.pm \
200 ${PKGD}${libdir}/perl/${PV}/Config_heavy.pl \
201 ${PKGD}${libdir}/perl/${PV}/CORE/perl.h \
202 ${PKGD}${libdir}/perl/${PV}/CORE/pp.h
203}
204
205PACKAGES = "perl-dbg perl perl-misc perl-dev perl-pod perl-doc perl-lib \
206 perl-module-cpan perl-module-cpanplus perl-module-unicore"
207FILES_${PN} = "${bindir}/perl ${bindir}/perl${PV}"
208FILES_${PN}-dev = "${libdir}/perl/${PV}/CORE"
209FILES_${PN}-lib = "${libdir}/libperl.so* \
210 ${libdir}/perl5 \
211 ${libdir}/perl/config.sh \
212 ${libdir}/perl/${PV}/Config_heavy.pl \
213 ${libdir}/perl/${PV}/Config_heavy-target.pl"
214FILES_${PN}-pod = "${libdir}/perl/${PV}/pod \
215 ${libdir}/perl/${PV}/*.pod \
216 ${libdir}/perl/${PV}/*/*.pod \
217 ${libdir}/perl/${PV}/*/*/*.pod "
218FILES_perl-misc = "${bindir}/*"
219FILES_${PN}-dbg += "${libdir}/perl/${PV}/auto/*/.debug \
220 ${libdir}/perl/${PV}/auto/*/*/.debug \
221 ${libdir}/perl/${PV}/auto/*/*/*/.debug \
222 ${libdir}/perl/${PV}/CORE/.debug \
223 ${libdir}/perl/${PV}/*/.debug \
224 ${libdir}/perl/${PV}/*/*/.debug \
225 ${libdir}/perl/${PV}/*/*/*/.debug "
226FILES_${PN}-doc = "${libdir}/perl/${PV}/*/*.txt \
227 ${libdir}/perl/${PV}/*/*/*.txt \
228 ${libdir}/perl/${PV}/B/assemble \
229 ${libdir}/perl/${PV}/B/cc_harness \
230 ${libdir}/perl/${PV}/B/disassemble \
231 ${libdir}/perl/${PV}/B/makeliblinks \
232 ${libdir}/perl/${PV}/CGI/eg \
233 ${libdir}/perl/${PV}/CPAN/PAUSE2003.pub \
234 ${libdir}/perl/${PV}/CPAN/SIGNATURE \
235 ${libdir}/perl/${PV}/CPANPLUS/Shell/Default/Plugins/HOWTO.pod \
236 ${libdir}/perl/${PV}/Encode/encode.h \
237 ${libdir}/perl/${PV}/ExtUtils/MANIFEST.SKIP \
238 ${libdir}/perl/${PV}/ExtUtils/NOTES \
239 ${libdir}/perl/${PV}/ExtUtils/PATCHING \
240 ${libdir}/perl/${PV}/ExtUtils/typemap \
241 ${libdir}/perl/${PV}/ExtUtils/xsubpp \
242 ${libdir}/perl/${PV}/ExtUtils/Changes_EU-Install \
243 ${libdir}/perl/${PV}/Net/*.eg \
244 ${libdir}/perl/${PV}/unicore/mktables \
245 ${libdir}/perl/${PV}/unicore/mktables.lst \
246 ${libdir}/perl/${PV}/unicore/version "
247
248FILES_perl-module-cpan += "${libdir}/perl/${PV}/CPAN \
249 ${libdir}/perl/${PV}/CPAN.pm"
250FILES_perl-module-cpanplus += "${libdir}/perl/${PV}/CPANPLUS \
251 ${libdir}/perl/${PV}/CPANPLUS.pm"
252FILES_perl-module-unicore += "${libdir}/perl/${PV}/unicore"
253
254# Create a perl-modules package recommending all the other perl
255# packages (actually the non modules packages and not created too)
256ALLOW_EMPTY_perl-modules = "1"
257PACKAGES_append = " perl-modules "
258RRECOMMENDS_perl-modules = "${@bb.data.getVar('PACKAGES', d, 1).replace('perl-modules ', '').replace('perl-dbg ', '').replace('perl-misc ', '').replace('perl-dev ', '').replace('perl-pod ', '').replace('perl-doc ', '')}"
259
260python populate_packages_prepend () {
261 libdir = bb.data.expand('${libdir}/perl/${PV}', d)
262 do_split_packages(d, libdir, 'auto/(Encode/.[^/]*)/.*', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True, prepend=False)
263 do_split_packages(d, libdir, 'auto/([^/]*)/.*', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True, prepend=False)
264 do_split_packages(d, libdir, 'Module/([^\/]*).*', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True, prepend=False)
265 do_split_packages(d, libdir, '(^(?!(CPAN\/|CPANPLUS\/|Module\/|unicore\/|auto\/)[^\/]).*)\.(pm|pl|e2x)', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True, prepend=False)
266}
267
268PACKAGES_DYNAMIC = "perl-module-*"
269
270RPROVIDES_perl-lib = "perl-lib"
271
272require perl-rdepends_${PV}.inc
273require perl-rprovides.inc
274require perl-rprovides_${PV}.inc
275
276PARALLEL_MAKE = ""
diff --git a/meta/recipes-devtools/perl/perl_5.8.8.bb b/meta/recipes-devtools/perl/perl_5.8.8.bb
deleted file mode 100644
index 8e2f0c0af7..0000000000
--- a/meta/recipes-devtools/perl/perl_5.8.8.bb
+++ /dev/null
@@ -1,228 +0,0 @@
1SUMMARY = "Perl (Pathologically Eclectic Rubbish Lister)"
2DESCRIPTION = "Perl is a high-level, general-purpose, interpreted, dynamic programming language. It was \
3originally written as a general-purpose scripting language to make report processing easier. This makes perl \
4especially good at handling text."
5HOMEPAGE = "http://www.perl.org/"
6SECTION = "devel"
7LICENSE = "Artistic|GPL"
8LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
9 file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
10PRIORITY = "optional"
11# We need gnugrep (for -I)
12DEPENDS = "virtual/db perl-native grep-native"
13DEPENDS += "gdbm"
14PR = "r21"
15
16# Major part of version
17PVM = "5.8"
18
19SRC_URI = "ftp://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
20 file://Makefile.patch;patch=1 \
21 file://Makefile.SH.patch;patch=1 \
22 file://makedepend-dash.patch;patch=1 \
23 file://installperl.patch;patch=1 \
24 file://perl-dynloader.patch;patch=1 \
25 file://perl-moreconfig.patch;patch=1 \
26 file://letgcc-find-errno.patch;patch=1 \
27 file://generate-sh.patch;patch=1 \
28 file://perl-5.8.8-gcc-4.2.patch;patch=1 \
29 file://09_fix_installperl.patch;patch=1 \
30 file://52_debian_extutils_hacks.patch;patch=1 \
31 file://53_debian_mod_paths.patch;patch=1 \
32 file://54_debian_perldoc-r.patch;patch=1 \
33 file://58_debian_cpan_config_path.patch;patch=1 \
34 file://60_debian_libnet_config_path.patch;patch=1 \
35 file://62_debian_cpan_definstalldirs.patch;patch=1 \
36 file://64_debian_enc2xs_inc.patch;patch=1 \
37 file://asm-pageh-fix.patch;patch=1 \
38 file://native-perlinc.patch;patch=1 \
39 file://perl-enable-gdbm.patch;patch=1 \
40 file://config.sh \
41 file://config.sh-32 \
42 file://config.sh-32-le \
43 file://config.sh-32-be \
44 file://config.sh-64 \
45 file://config.sh-64-le \
46 file://config.sh-64-be"
47
48SRC_URI[md5sum] = "b8c118d4360846829beb30b02a6b91a7"
49SRC_URI[sha256sum] = "e15d499321e003d12ed183601e37ee7ba5f64b278d1de30149ce01bd4a3f234d"
50
51inherit siteinfo
52
53# Where to find the native perl
54HOSTPERL = "${STAGING_BINDIR_NATIVE}/perl${PV}"
55
56# Where to find .so files - use the -native versions not those from the target build
57export PERLHOSTLIB = "${STAGING_LIBDIR_NATIVE}/perl/${PV}/"
58
59do_configure() {
60 # Make hostperl in build directory be the native perl
61 ln -s ${HOSTPERL} hostperl
62
63 # Do our work in the cross subdir
64 cd Cross
65
66 # Generate configuration
67 rm -f config.sh-${TARGET_ARCH}-${TARGET_OS}
68 for i in ${WORKDIR}/config.sh \
69 ${WORKDIR}/config.sh-${@siteinfo_get_bits(d)} \
70 ${WORKDIR}/config.sh-${@siteinfo_get_bits(d)}-${@siteinfo_get_endianess(d)}; do
71 cat $i >> config.sh-${TARGET_ARCH}-${TARGET_OS}
72 done
73
74 # Fixups for uclibc
75 if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibcgnueabi" ]; then
76 sed -i -e "s,\(d_crypt_r=\)'define',\1'undef',g" \
77 -e "s,\(crypt_r_proto=\)'\w+',\1'0',g" \
78 -e "s,\(d_getnetbyname_r=\)'define',\1'undef',g" \
79 -e "s,\(getnetbyname_r_proto=\)'\w+',\1'0',g" \
80 -e "s,\(d_getnetbyaddr_r=\)'define',\1'undef',g" \
81 -e "s,\(getnetbyaddr_r_proto=\)'\w+',\1'0',g" \
82 -e "s,\(d_getnetent_r=\)'define',\1'undef',g" \
83 -e "s,\(getnetent_r_proto=\)'\w+',\1'0',g" \
84 -e "s,\(d_sockatmark=\)'define',\1'undef',g" \
85 -e "s,\(d_sockatmarkproto=\)'\w+',\1'0',g" \
86 config.sh-${TARGET_ARCH}-${TARGET_OS}
87 fi
88
89 # Update some paths in the configuration
90 sed -i -e 's,@LIBDIR@,${libdir},g' \
91 -e 's,@BINDIR@,${bindir},g' \
92 -e 's,@MANDIR@,${mandir},g' \
93 -e 's,@PREFIX@,${prefix},g' \
94 -e 's,@DATADIR@,${datadir},g' \
95 -e 's,@ARCH@,${TARGET_ARCH}-${TARGET_OS},g' \
96 -e "s%/usr/include/%${STAGING_INCDIR}/%g" \
97 -e 's,/usr/,${exec_prefix}/,g' \
98 config.sh-${TARGET_ARCH}-${TARGET_OS}
99
100
101 # These are strewn all over the source tree
102 for foo in `grep -I -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1 -d ":"` ; do
103 echo Fixing: $foo
104 sed -e "s%/usr/include/%${STAGING_INCDIR}/%g" -i $foo
105 done
106
107 rm -f config
108 echo "ARCH = ${TARGET_ARCH}" > config
109 echo "OS = ${TARGET_OS}" >> config
110}
111
112do_compile() {
113 if test "${MACHINE}" != "native"; then
114 sed -i -e 's|/usr/include|${STAGING_INCDIR}|g' ext/Errno/Errno_pm.PL
115 fi
116 cd Cross
117 oe_runmake perl LD="${TARGET_SYS}-gcc"
118}
119
120do_install() {
121 oe_runmake 'DESTDIR=${D}' install
122
123 # Add perl pointing at current version
124 ln -sf perl${PV} ${D}${bindir}/perl
125
126 # Fix up versioned directories
127 mv ${D}/${libdir}/perl/${PVM} ${D}/${libdir}/perl/${PV}
128 mv ${D}/${datadir}/perl/${PVM} ${D}/${datadir}/perl/${PV}
129 ln -sf ${PV} ${D}/${libdir}/perl/${PVM}
130 ln -sf ${PV} ${D}/${datadir}/perl/${PVM}
131
132 # Remove unwanted file
133 rm -f ${D}/${libdir}/perl/${PV}/.packlist
134
135 # Fix up shared library
136 mv -f ${D}/${libdir}/perl/${PV}/CORE/libperl.so ${D}/${libdir}/libperl.so.${PV}
137 ln -sf libperl.so.${PV} ${D}/${libdir}/libperl.so.5
138
139 # target config, used by cpan.bbclass to extract version information
140 install config.sh ${D}${libdir}/perl/
141
142 install -d ${D}${datadir}/perl/${PV}/ExtUtils
143 install lib/ExtUtils/typemap ${D}${datadir}/perl/${PV}/ExtUtils/
144
145 ln -s Config_heavy.pl ${D}${libdir}/perl/${PV}/Config_heavy-target.pl
146}
147
148PACKAGE_PREPROCESS_FUNCS += "perl_package_preprocess"
149
150perl_package_preprocess () {
151 # Fix up installed configuration
152 sed -i -e "s,${D},,g" \
153 -e "s,-isystem${STAGING_INCDIR} ,,g" \
154 -e "s,${STAGING_LIBDIR},${libdir},g" \
155 -e "s,${STAGING_BINDIR},${bindir},g" \
156 -e "s,${STAGING_INCDIR},${includedir},g" \
157 -e "s,${STAGING_BINDIR_NATIVE}/,,g" \
158 ${PKGD}${bindir}/h2xs \
159 ${PKGD}${bindir}/h2ph \
160 ${PKGD}${datadir}/perl/${PV}/pod/*.pod \
161 ${PKGD}${datadir}/perl/${PV}/cacheout.pl \
162 ${PKGD}${datadir}/perl/${PV}/FileCache.pm \
163 ${PKGD}${libdir}/perl/config.sh \
164 ${PKGD}${libdir}/perl/${PV}/Config.pm \
165 ${PKGD}${libdir}/perl/${PV}/Config_heavy.pl \
166 ${PKGD}${libdir}/perl/${PV}/CORE/perl.h \
167 ${PKGD}${libdir}/perl/${PV}/CORE/pp.h
168}
169
170PACKAGES = "perl-dbg perl perl-misc perl-lib perl-dev perl-pod perl-doc"
171FILES_${PN} = "${bindir}/perl ${bindir}/perl${PV}"
172FILES_${PN}-lib = "${libdir}/libperl.so* ${libdir}/perl/${PVM} ${datadir}/perl/${PVM}"
173FILES_${PN}-dev = "${libdir}/perl/${PV}/CORE"
174FILES_${PN}-pod = "${datadir}/perl/${PV}/pod \
175 ${datadir}/perl/${PV}/*/*.pod \
176 ${datadir}/perl/${PV}/*/*/*.pod \
177 ${libdir}/perl/${PV}/*.pod"
178FILES_perl-misc = "${bindir}/*"
179FILES_${PN}-dbg += "${libdir}/perl/${PV}/auto/*/.debug \
180 ${libdir}/perl/${PV}/auto/*/*/.debug \
181 ${libdir}/perl/${PV}/auto/*/*/*/.debug \
182 ${datadir}/perl/${PV}/auto/*/.debug \
183 ${datadir}/perl/${PV}/auto/*/*/.debug \
184 ${datadir}/perl/${PV}/auto/*/*/*/.debug \
185 ${libdir}/perl/${PV}/CORE/.debug"
186FILES_${PN}-doc = "${datadir}/perl/${PV}/*/*.txt \
187 ${datadir}/perl/${PV}/*/*/*.txt \
188 ${datadir}/perl/${PV}/Net/*.eg \
189 ${datadir}/perl/${PV}/CGI/eg \
190 ${datadir}/perl/${PV}/ExtUtils/PATCHING \
191 ${datadir}/perl/${PV}/ExtUtils/NOTES \
192 ${datadir}/perl/${PV}/ExtUtils/typemap \
193 ${datadir}/perl/${PV}/ExtUtils/MANIFEST.SKIP \
194 ${datadir}/perl/${PV}/CPAN/SIGNATURE \
195 ${datadir}/perl/${PV}/CPAN/PAUSE2003.pub \
196 ${datadir}/perl/${PV}/B/assemble \
197 ${datadir}/perl/${PV}/B/makeliblinks \
198 ${datadir}/perl/${PV}/B/disassemble \
199 ${datadir}/perl/${PV}/B/cc_harness \
200 ${datadir}/perl/${PV}/ExtUtils/xsubpp \
201 ${datadir}/perl/${PV}/Encode/encode.h \
202 ${datadir}/perl/${PV}/unicore/mktables \
203 ${datadir}/perl/${PV}/unicore/mktables.lst \
204 ${datadir}/perl/${PV}/unicore/version"
205
206RPROVIDES_perl-lib = "perl-lib"
207
208# Create a perl-modules package recommending all the other perl
209# packages (actually the non modules packages and not created too)
210ALLOW_EMPTY_perl-modules = "1"
211PACKAGES_append = " perl-modules "
212RRECOMMENDS_perl-modules = "${@bb.data.getVar('PACKAGES', d, 1).replace('perl-modules ', '').replace('perl-dbg ', '').replace('perl-misc ', '').replace('perl-dev ', '').replace('perl-pod ', '').replace('perl-doc ', '')}"
213
214python populate_packages_prepend () {
215 libdir = bb.data.expand('${libdir}/perl/${PV}', d)
216 do_split_packages(d, libdir, 'auto/(.*)(?!\.debug)/', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True)
217 do_split_packages(d, libdir, '(.*)\.(pm|pl|e2x)', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True)
218 datadir = bb.data.expand('${datadir}/perl/${PV}', d)
219 do_split_packages(d, datadir, 'auto/(.*)(?!\.debug)/', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True)
220 do_split_packages(d, datadir, '(.*)\.(pm|pl|e2x)', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True)
221}
222
223PACKAGES_DYNAMIC = "perl-module-*"
224
225require perl-rdepends_${PV}.inc
226require perl-rprovides.inc
227
228PARALLEL_MAKE = ""
diff --git a/meta/recipes-devtools/prelink/prelink_git.bb b/meta/recipes-devtools/prelink/prelink_git.bb
index 1601443e3f..86205130fc 100644
--- a/meta/recipes-devtools/prelink/prelink_git.bb
+++ b/meta/recipes-devtools/prelink/prelink_git.bb
@@ -27,6 +27,11 @@ BBCLASSEXTEND = "native"
27EXTRA_OECONF = "--disable-selinux --with-pkgversion=${PV}-${PR} \ 27EXTRA_OECONF = "--disable-selinux --with-pkgversion=${PV}-${PR} \
28 --with-bugurl=http://bugzilla.pokylinux.org/" 28 --with-bugurl=http://bugzilla.pokylinux.org/"
29 29
30do_configure_prepend () {
31 # Disable documentation!
32 echo "all:" > ${S}/doc/Makefile.am
33}
34
30do_install_append () { 35do_install_append () {
31 install -d ${D}${sysconfdir}/cron.daily ${D}${sysconfdir}/default 36 install -d ${D}${sysconfdir}/cron.daily ${D}${sysconfdir}/default
32 install -m 0644 ${WORKDIR}/prelink.conf ${D}${sysconfdir}/prelink.conf 37 install -m 0644 ${WORKDIR}/prelink.conf ${D}${sysconfdir}/prelink.conf
diff --git a/meta/recipes-devtools/pseudo/pseudo/895fa7e359e8026a608fba052c2994e42901e45f.patch b/meta/recipes-devtools/pseudo/pseudo/895fa7e359e8026a608fba052c2994e42901e45f.patch
deleted file mode 100644
index d8c229541e..0000000000
--- a/meta/recipes-devtools/pseudo/pseudo/895fa7e359e8026a608fba052c2994e42901e45f.patch
+++ /dev/null
@@ -1,235 +0,0 @@
1From 895fa7e359e8026a608fba052c2994e42901e45f Mon Sep 17 00:00:00 2001
2From: Mark Hatle <mark.hatle@windriver.com>
3Date: Fri, 17 Dec 2010 01:23:47 +0000
4Subject: Revert "Add a cache of the last object found in pseudo_op"
5
6This reverts commit 49d4d35918d457b0e9206679ecad3b9c84f11e66.
7
8Conflicts:
9
10 ChangeLog.txt
11---
12diff --git a/ChangeLog.txt b/ChangeLog.txt
13index 1db8c7d..200b32e 100644
14--- a/ChangeLog.txt
15+++ b/ChangeLog.txt
16@@ -9,7 +9,6 @@
17 * (mhatle) as a result of profiling, optimize inode search
18 * (mhatle) rearrange the pseudo_op file data operations to reduce
19 the number of selects.
20- * (mhatle) add the ability to cache the last select result
21 * (mhatle) change the indexing in pseudo_db.c
22
23 2010-12-14:
24diff --git a/pseudo.c b/pseudo.c
25index 3979fd8..6b965be 100644
26--- a/pseudo.c
27+++ b/pseudo.c
28@@ -425,9 +425,6 @@ pseudo_op(pseudo_msg_t *msg, const char *program, const char *tag) {
29 int found_path = 0, found_ino = 0;
30 int prefer_ino = 0;
31
32- static pseudo_msg_t cache_msg = { .op = 0 };
33- static char * cache_path = NULL;
34-
35 if (!msg)
36 return 1;
37
38@@ -471,59 +468,7 @@ pseudo_op(pseudo_msg_t *msg, const char *program, const char *tag) {
39
40 /* Lookup the full path, with inode and dev if available */
41 if (msg->pathlen && msg->dev && msg->ino) {
42- if (cache_msg.pathlen == msg->pathlen &&
43- cache_msg.dev == msg->dev &&
44- cache_msg.ino == msg->ino &&
45- !strcmp(cache_path, msg->path)) {
46- /* Found it in the cache! */
47-#ifdef NPROFILE
48- pseudo_diag("cache hit -- by_file_exact\n");
49-#endif
50- /* Change the cache to match the msg */
51- cache_msg.type = msg->type;
52- cache_msg.op = msg->op;
53- cache_msg.result = msg->result;
54- cache_msg.access = msg->access;
55- cache_msg.fd = msg->fd;
56-#ifdef NVALIDATE
57- if (!pdb_find_file_exact(msg)) {
58- if (cache_msg.pathlen != msg->pathlen ||
59- cache_msg.dev != msg->dev ||
60- cache_msg.ino != msg->ino ||
61- cache_msg.uid != msg->uid ||
62- cache_msg.gid != msg->gid ||
63- cache_msg.mode != msg->mode ||
64- cache_msg.rdev != msg->rdev ||
65- cache_msg.nlink != msg->nlink ||
66- cache_msg.deleting != msg->deleting) {
67- pseudo_diag("Cache mismatch [%s]: Database differs from cache\n"
68- " cache vs result:\n"
69- " dev (%llu,%llu) ino (%llu,%llu)\n"
70- " uid (%d,%d) gid (%d,%d) mode (0%o,0%o)\n"
71- " rdev (%llu,%llu) nlink (%d,%d) deleting (%d,%d)\n",
72- msg->pathlen ? msg->path : "no path",
73- (unsigned long long) cache_msg.dev, (unsigned long long) msg->dev,
74- (unsigned long long) cache_msg.ino, (unsigned long long) msg->ino,
75- (unsigned long long) cache_msg.uid, (unsigned int) msg->uid,
76- (unsigned long long) cache_msg.gid, (unsigned int) msg->gid,
77- cache_msg.mode, msg->mode,
78- (unsigned long long) cache_msg.rdev, (unsigned int) msg->rdev,
79- cache_msg.nlink, msg->nlink,
80- cache_msg.deleting, msg->deleting);
81- }
82- } else {
83- pseudo_diag("Cache mismatch [%s]: Not found in DB\n",
84- msg->pathlen ? msg->path : "no path");
85- }
86-#endif
87-
88- by_path = cache_msg;
89- by_ino = cache_msg;
90- /* no need to restore msg */
91- found_path = 1;
92- found_ino = 1;
93- path_by_ino = msg->path;
94- } else if (!pdb_find_file_exact(msg)) {
95+ if (!pdb_find_file_exact(msg)) {
96 /* restore header contents */
97 by_path = *msg;
98 by_ino = *msg;
99@@ -539,51 +484,7 @@ pseudo_op(pseudo_msg_t *msg, const char *program, const char *tag) {
100 if (msg->pathlen) {
101 /* for now, don't canonicalize paths anymore */
102 /* used to do it here, but now doing it in client */
103- if (cache_msg.pathlen == msg->pathlen &&
104- !strcmp(cache_path, msg->path)) {
105-#ifdef NPROFILE
106- pseudo_diag("cache hit -- by_path\n");
107-#endif
108- /* Change the cache to match the msg */
109- cache_msg.type = msg->type;
110- cache_msg.op = msg->op;
111- cache_msg.result = msg->result;
112- cache_msg.access = msg->access;
113- cache_msg.fd = msg->fd;
114-#ifdef NVALIDATE
115- if (!pdb_find_file_exact(msg)) {
116- if (cache_msg.pathlen != msg->pathlen ||
117- cache_msg.dev != msg->dev ||
118- cache_msg.ino != msg->ino ||
119- cache_msg.uid != msg->uid ||
120- cache_msg.gid != msg->gid ||
121- cache_msg.mode != msg->mode ||
122- cache_msg.rdev != msg->rdev ||
123- cache_msg.nlink != msg->nlink ||
124- cache_msg.deleting != msg->deleting) {
125- pseudo_diag("Cache mismatch [%s]: Database differs from cache\n"
126- " cache vs result:\n"
127- " dev (%llu,%llu) ino (%llu,%llu)\n"
128- " uid (%d,%d) gid (%d,%d) mode (0%o,0%o)\n"
129- " rdev (%llu,%llu) nlink (%d,%d) deleting (%d,%d)\n",
130- msg->pathlen ? msg->path : "no path",
131- (unsigned long long) cache_msg.dev, (unsigned long long) msg->dev,
132- (unsigned long long) cache_msg.ino, (unsigned long long) msg->ino,
133- (unsigned long long) cache_msg.uid, (unsigned int) msg->uid,
134- (unsigned long long) cache_msg.gid, (unsigned int) msg->gid,
135- cache_msg.mode, msg->mode,
136- (unsigned long long) cache_msg.rdev, (unsigned int) msg->rdev,
137- cache_msg.nlink, msg->nlink,
138- cache_msg.deleting, msg->deleting);
139- }
140- } else {
141- pseudo_diag("Cache mismatch [%s]: Not found in DB\n",
142- msg->pathlen ? msg->path : "no path");
143- }
144-#endif
145- by_path = cache_msg;
146- found_path = 1;
147- } else if (!pdb_find_file_path(msg)) {
148+ if (!pdb_find_file_path(msg)) {
149 by_path = *msg;
150 found_path = 1;
151 } else {
152@@ -594,51 +495,7 @@ pseudo_op(pseudo_msg_t *msg, const char *program, const char *tag) {
153 }
154 /* search on original inode -- in case of mismatch */
155 if (msg->dev && msg->ino) {
156- if (cache_msg.dev == msg->dev &&
157- cache_msg.ino == msg->ino) {
158-#ifdef NPROFILE
159- pseudo_diag("cache hit -- by_ino\n");
160-#endif
161- /* Change the cache to match the msg */
162- cache_msg.type = msg->type;
163- cache_msg.op = msg->op;
164- cache_msg.result = msg->result;
165- cache_msg.access = msg->access;
166- cache_msg.fd = msg->fd;
167-#ifdef NVALIDATE
168- if (!pdb_find_file_exact(msg)) {
169- if (cache_msg.pathlen != msg->pathlen ||
170- cache_msg.dev != msg->dev ||
171- cache_msg.ino != msg->ino ||
172- cache_msg.uid != msg->uid ||
173- cache_msg.gid != msg->gid ||
174- cache_msg.mode != msg->mode ||
175- cache_msg.rdev != msg->rdev ||
176- cache_msg.nlink != msg->nlink ||
177- cache_msg.deleting != msg->deleting) {
178- pseudo_diag("Cache mismatch [%s]: Database differs from cache\n"
179- " cache vs result:\n"
180- " dev (%llu,%llu) ino (%llu,%llu)\n"
181- " uid (%d,%d) gid (%d,%d) mode (0%o,0%o)\n"
182- " rdev (%llu,%llu) nlink (%d,%d) deleting (%d,%d)\n",
183- msg->pathlen ? msg->path : "no path",
184- (unsigned long long) cache_msg.dev, (unsigned long long) msg->dev,
185- (unsigned long long) cache_msg.ino, (unsigned long long) msg->ino,
186- (unsigned long long) cache_msg.uid, (unsigned int) msg->uid,
187- (unsigned long long) cache_msg.gid, (unsigned int) msg->gid,
188- cache_msg.mode, msg->mode,
189- (unsigned long long) cache_msg.rdev, (unsigned int) msg->rdev,
190- cache_msg.nlink, msg->nlink,
191- cache_msg.deleting, msg->deleting);
192- }
193- } else {
194- pseudo_diag("Cache mismatch [%s]: Not found in DB\n",
195- msg->pathlen ? msg->path : "no path");
196- }
197-#endif
198- found_ino = 1;
199- path_by_ino = cache_path;
200- } else if (!pdb_find_file_dev(&by_ino)) {
201+ if (!pdb_find_file_dev(&by_ino)) {
202 found_ino = 1;
203 path_by_ino = pdb_get_file_path(&by_ino);
204 }
205@@ -1016,28 +873,6 @@ pseudo_op(pseudo_msg_t *msg, const char *program, const char *tag) {
206 break;
207 }
208
209- /* Cache previous values... */
210- if (msg->op != OP_MAY_UNLINK &&
211- msg->op != OP_DID_UNLINK &&
212- msg->op != OP_CANCEL_UNLINK &&
213- msg->op != OP_UNLINK) {
214-
215- cache_msg = *msg;
216-
217- free(cache_path);
218-
219- if (path_by_ino)
220- cache_path = strdup(path_by_ino);
221- else
222- cache_path = strdup(msg->path);
223- } else {
224- cache_msg.pathlen = 0;
225- cache_msg.dev = 0;
226- cache_msg.ino = 0;
227- free(cache_path);
228- cache_path = NULL;
229- }
230-
231 /* in the case of an exact match, we just used the pointer
232 * rather than allocating space
233 */
234--
235cgit v0.8.3.3-89-gbf82
diff --git a/meta/recipes-devtools/pseudo/pseudo/static_sqlite.patch b/meta/recipes-devtools/pseudo/pseudo/static_sqlite.patch
index 0a2fa28d79..6faa7a2a44 100644
--- a/meta/recipes-devtools/pseudo/pseudo/static_sqlite.patch
+++ b/meta/recipes-devtools/pseudo/pseudo/static_sqlite.patch
@@ -2,14 +2,14 @@ Due to disabling the LD_LIBRARY_PATH handling, we need to use a static
2libsqlite. 2libsqlite.
3 3
4diff -ur git.orig/Makefile.in git/Makefile.in 4diff -ur git.orig/Makefile.in git/Makefile.in
5--- git.orig/Makefile.in 2010-07-20 17:13:56.000000000 -0700 5--- git.orig/Makefile.in
6+++ git/Makefile.in 2010-07-20 17:12:14.000000000 -0700 6+++ git/Makefile.in
7@@ -45,7 +45,7 @@ 7@@ -55,7 +55,7 @@
8 GLOB_PATTERN=guts/*.c
9 GUTS=$(filter-out "$(GLOB_PATTERN)",$(wildcard $(GLOB_PATTERN)))
10 8
11-DBLDFLAGS=-lsqlite3 9 # needed for anything that links with pseduo_client.o, pretty much
12+DBLDFLAGS=$(SQLITE)/lib/libsqlite3.a 10 CLIENT_LDFLAGS=-ldl -lpthread
13 USE_64=wrapfuncs64.in 11-DB_LDFLAGS=-lsqlite3 -lpthread
12+DB_LDFLAGS=$(SQLITE)/lib/libsqlite3.a -lpthread
14 13
15 SHOBJS=pseudo_table.o pseudo_util.o 14 PSEUDO=$(BIN)/pseudo
15 PSEUDODB=$(BIN)/pseudodb
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb
index f9b10f0d36..244fabe1eb 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -6,11 +6,11 @@ LICENSE = "LGPL2.1"
6DEPENDS = "sqlite3" 6DEPENDS = "sqlite3"
7 7
8PV = "0.0+git${SRCPV}" 8PV = "0.0+git${SRCPV}"
9PR = "r16" 9PR = "r18"
10 10
11SRC_URI = "git://github.com/wrpseudo/pseudo.git;protocol=git \ 11SRC_URI = "git://github.com/wrpseudo/pseudo.git;protocol=git \
12 file://static_sqlite.patch \ 12 file://static_sqlite.patch \
13 file://895fa7e359e8026a608fba052c2994e42901e45f.patch" 13 "
14 14
15FILES_${PN} = "${libdir}/libpseudo.so ${bindir}/* ${localstatedir}/pseudo" 15FILES_${PN} = "${libdir}/libpseudo.so ${bindir}/* ${localstatedir}/pseudo"
16PROVIDES += "virtual/fakeroot" 16PROVIDES += "virtual/fakeroot"
@@ -25,7 +25,26 @@ do_configure () {
25 25
26NO32LIBS ??= "0" 26NO32LIBS ??= "0"
27 27
28# Compile for the local machine arch...
28do_compile () { 29do_compile () {
30 ${S}/configure --prefix=${prefix} --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=${SITEINFO_BITS}
31 oe_runmake 'LIB=lib/pseudo/lib$(MARK64)'
32}
33
34# Two below are the same
35# If necessary compile for the alternative machine arch. This is only
36# necessary in a native build.
37do_compile_prepend_virtclass-native () {
38 if [ "${SITEINFO_BITS}" == "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" == "pseudo-native" -a "${NO32LIBS}" != "1" ]; then
39 # We need the 32-bit libpseudo on a 64-bit machine...
40 ./configure --prefix=${prefix} --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=32
41 oe_runmake 'CFLAGS=-m32' 'LIB=lib/pseudo/lib' libpseudo
42 # prevent it from removing the lib, but remove everything else
43 make 'LIB=foo' distclean
44 fi
45}
46
47do_compile_prepend_virtclass-nativesdk () {
29 if [ "${SITEINFO_BITS}" == "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" == "pseudo-native" -a "${NO32LIBS}" != "1" ]; then 48 if [ "${SITEINFO_BITS}" == "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" == "pseudo-native" -a "${NO32LIBS}" != "1" ]; then
30 # We need the 32-bit libpseudo on a 64-bit machine... 49 # We need the 32-bit libpseudo on a 64-bit machine...
31 ./configure --prefix=${prefix} --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=32 50 ./configure --prefix=${prefix} --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=32
@@ -33,18 +52,27 @@ do_compile () {
33 # prevent it from removing the lib, but remove everything else 52 # prevent it from removing the lib, but remove everything else
34 make 'LIB=foo' distclean 53 make 'LIB=foo' distclean
35 fi 54 fi
36 ${S}/configure --prefix=${prefix} --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=${SITEINFO_BITS}
37 oe_runmake 'LIB=lib/pseudo/lib$(MARK64)'
38} 55}
39 56
40do_install () { 57do_install () {
41 oe_runmake 'DESTDIR=${D}' 'LIB=lib/pseudo/lib$(MARK64)' install 58 oe_runmake 'DESTDIR=${D}' 'LIB=lib/pseudo/lib$(MARK64)' install
59}
60
61# Two below are the same
62# If necessary install for the alternative machine arch. This is only
63# necessary in a native build.
64do_install_append_virtclass-native () {
42 if [ "${SITEINFO_BITS}" == "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" == "pseudo-native" -a "${NO32LIBS}" != "1" ]; then 65 if [ "${SITEINFO_BITS}" == "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" == "pseudo-native" -a "${NO32LIBS}" != "1" ]; then
43 mkdir -p ${D}${prefix}/lib/pseudo/lib 66 mkdir -p ${D}${prefix}/lib/pseudo/lib
44 cp lib/pseudo/lib/libpseudo.so ${D}${prefix}/lib/pseudo/lib/. 67 cp lib/pseudo/lib/libpseudo.so ${D}${prefix}/lib/pseudo/lib/.
45 fi 68 fi
46} 69}
47 70
48BBCLASSEXTEND = "native nativesdk" 71do_install_append_virtclass-nativesdk () {
49 72 if [ "${SITEINFO_BITS}" == "64" -a -e "/usr/include/gnu/stubs-32.h" -a "${PN}" == "pseudo-native" -a "${NO32LIBS}" != "1" ]; then
73 mkdir -p ${D}${prefix}/lib/pseudo/lib
74 cp lib/pseudo/lib/libpseudo.so ${D}${prefix}/lib/pseudo/lib/.
75 fi
76}
50 77
78BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-devtools/python/python-dbus_0.83.1.bb b/meta/recipes-devtools/python/python-dbus_0.83.2.bb
index d405ffa8c1..323dae50ef 100644
--- a/meta/recipes-devtools/python/python-dbus_0.83.1.bb
+++ b/meta/recipes-devtools/python/python-dbus_0.83.2.bb
@@ -4,12 +4,12 @@ HOMEPAGE = "http://www.freedesktop.org/Software/dbus"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=f5612614133e9a2f2dad527d97554670" 5LIC_FILES_CHKSUM = "file://COPYING;md5=f5612614133e9a2f2dad527d97554670"
6DEPENDS = "expat dbus dbus-glib virtual/libintl python-pyrex-native" 6DEPENDS = "expat dbus dbus-glib virtual/libintl python-pyrex-native"
7PR = "ml0" 7PR = "r0"
8 8
9SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz" 9SRC_URI = "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-${PV}.tar.gz"
10 10
11SRC_URI[md5sum] = "5fdf3970aa0c00020289de7ba8f3be18" 11SRC_URI[md5sum] = "4ebcaa905bdcb4132b915196b0a3691b"
12SRC_URI[sha256sum] = "ce283806f1af4f2322e183a276528a880b503c74972932bd09f06bdb7fcc1b99" 12SRC_URI[sha256sum] = "883729c98f40790021e3be0f7028ae863ee1c4a7b922a5578c1342592adfff64"
13S = "${WORKDIR}/dbus-python-${PV}" 13S = "${WORKDIR}/dbus-python-${PV}"
14 14
15inherit distutils-base autotools pkgconfig 15inherit distutils-base autotools pkgconfig
@@ -20,6 +20,6 @@ export HOST_SYS
20export STAGING_LIBDIR 20export STAGING_LIBDIR
21export STAGING_INCDIR 21export STAGING_INCDIR
22 22
23RDEPENDS = "python-io python-logging python-stringold python-threading python-xml" 23RDEPENDS_${PN} = "python-io python-logging python-stringold python-threading python-xml"
24 24
25FILES_${PN}-dev += "${libdir}/pkgconfig 25FILES_${PN}-dev += "${libdir}/pkgconfig
diff --git a/meta/recipes-devtools/python/python-gst_0.10.19.bb b/meta/recipes-devtools/python/python-gst_0.10.19.bb
index 16852d1a15..22d63393b4 100644
--- a/meta/recipes-devtools/python/python-gst_0.10.19.bb
+++ b/meta/recipes-devtools/python/python-gst_0.10.19.bb
@@ -2,8 +2,8 @@ DESCRIPTION = "Python Gstreamer bindings"
2SECTION = "devel/python" 2SECTION = "devel/python"
3LICENSE = "LGPLv2.1" 3LICENSE = "LGPLv2.1"
4DEPENDS = "gstreamer gst-plugins-base python-pygobject" 4DEPENDS = "gstreamer gst-plugins-base python-pygobject"
5RDEPENDS += "python-pygtk" 5RDEPENDS_${PN} += "python-pygtk"
6PR = "r0" 6PR = "r1"
7 7
8SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \ 8SRC_URI = "http://gstreamer.freedesktop.org/src/gst-python/gst-python-${PV}.tar.bz2 \
9 file://python-path.patch" 9 file://python-path.patch"
diff --git a/meta/recipes-devtools/python/python-imaging_1.1.7.bb b/meta/recipes-devtools/python/python-imaging_1.1.7.bb
index bd6fe1d227..ce3b977114 100644
--- a/meta/recipes-devtools/python/python-imaging_1.1.7.bb
+++ b/meta/recipes-devtools/python/python-imaging_1.1.7.bb
@@ -4,9 +4,9 @@ PRIORITY = "optional"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://README;beginline=92;endline=120;md5=c4371af4579f1e489cf881c1443dd4ec" 5LIC_FILES_CHKSUM = "file://README;beginline=92;endline=120;md5=c4371af4579f1e489cf881c1443dd4ec"
6DEPENDS = "freetype jpeg tiff" 6DEPENDS = "freetype jpeg tiff"
7RDEPENDS = "python-lang python-stringold" 7RDEPENDS_${PN} = "python-lang python-stringold"
8SRCNAME = "Imaging" 8SRCNAME = "Imaging"
9PR = "ml0" 9PR = "ml1"
10 10
11SRC_URI = "http://effbot.org/downloads/Imaging-${PV}.tar.gz \ 11SRC_URI = "http://effbot.org/downloads/Imaging-${PV}.tar.gz \
12 file://path.patch" 12 file://path.patch"
diff --git a/meta/recipes-devtools/python/python-native_2.6.6.bb b/meta/recipes-devtools/python/python-native_2.6.6.bb
index 148dc587e9..2ad10c9192 100644
--- a/meta/recipes-devtools/python/python-native_2.6.6.bb
+++ b/meta/recipes-devtools/python/python-native_2.6.6.bb
@@ -2,6 +2,7 @@ require python.inc
2DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native sqlite3-native" 2DEPENDS = "openssl-native bzip2-full-native zlib-native readline-native sqlite3-native"
3PR = "${INC_PR}.0" 3PR = "${INC_PR}.0"
4 4
5LIC_FILES_CHKSUM = "file://LICENSE;md5=38fdd546420fab09ac6bd3d8a1c83eb6"
5 6
6SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \ 7SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \
7 file://04-default-is-optimized.patch \ 8 file://04-default-is-optimized.patch \
diff --git a/meta/recipes-devtools/python/python-pycurl_7.19.0.bb b/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
index c8841f4405..b868ad8cde 100644
--- a/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
+++ b/meta/recipes-devtools/python/python-pycurl_7.19.0.bb
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://README;endline=13;md5=fbfe545b1869617123a08c0983ef17b
8 file://COPYING2;md5=ffaa1e283b7f9bf5aafd8d45db6f7518" 8 file://COPYING2;md5=ffaa1e283b7f9bf5aafd8d45db6f7518"
9 9
10DEPENDS = "curl python" 10DEPENDS = "curl python"
11RDEPENDS = "python-core curl" 11RDEPENDS_${PN} = "python-core curl"
12SRCNAME = "pycurl" 12SRCNAME = "pycurl"
13PR = "r0" 13PR = "r1"
14 14
15SRC_URI = "\ 15SRC_URI = "\
16 http://${SRCNAME}.sourceforge.net/download/${SRCNAME}-${PV}.tar.gz;name=archive \ 16 http://${SRCNAME}.sourceforge.net/download/${SRCNAME}-${PV}.tar.gz;name=archive \
diff --git a/meta/recipes-devtools/python/python-pygobject-native_2.27.0.bb b/meta/recipes-devtools/python/python-pygobject-native_2.27.0.bb
deleted file mode 100644
index d3602277a4..0000000000
--- a/meta/recipes-devtools/python/python-pygobject-native_2.27.0.bb
+++ /dev/null
@@ -1,15 +0,0 @@
1require python-pygobject_${PV}.bb
2
3DEPENDS = "python-native glib-2.0-native"
4PR = "r0"
5
6PARALLEL_MAKE = ""
7
8inherit native
9
10SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2"
11
12do_install_append() {
13 install -d ${D}${bindir}
14 install -m 0755 gobject/generate-constants ${D}${bindir}/gobject-generate-constants
15}
diff --git a/meta/recipes-devtools/python/python-pygobject_2.27.0.bb b/meta/recipes-devtools/python/python-pygobject_2.27.0.bb
index 43561088a8..876e8a4bcd 100644
--- a/meta/recipes-devtools/python/python-pygobject_2.27.0.bb
+++ b/meta/recipes-devtools/python/python-pygobject_2.27.0.bb
@@ -3,18 +3,20 @@ SECTION = "devel/python"
3LICENSE = "LGPLv2.1" 3LICENSE = "LGPLv2.1"
4LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" 4LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
5DEPENDS = "python-pygobject-native-${PV} glib-2.0" 5DEPENDS = "python-pygobject-native-${PV} glib-2.0"
6PR = "r0" 6DEPENDS_virtclass-native = "glib-2.0-native"
7RDEPENDS_virtclass-native = ""
8PR = "r2"
7 9
8MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" 10MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
9 11
10SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \ 12SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2"
11 file://generate-constants.patch"
12 13
13SRC_URI[md5sum] = "c12eef0cd6725dc7245c3db78ef85d2d" 14SRC_URI[md5sum] = "9e2496ffa4e55911f94232e29ee9f146"
14SRC_URI[sha256sum] = "e6ae6c70966899d2040c82ae4e1590cf941ebf121a3ec61e80bf517ce8d9be0a" 15SRC_URI[sha256sum] = "7594bd86c5b92a4ba1f26927800f1b29e1ec5c246cad67aa085c279d6425b8a2"
15S = "${WORKDIR}/pygobject-${PV}" 16S = "${WORKDIR}/pygobject-${PV}"
16 17
17FILESPATH = "${FILE_DIRNAME}/python-pygobject:${FILE_DIRNAME}/files" 18FILESPATH = "${FILE_DIRNAME}/python-pygobject:${FILE_DIRNAME}/files"
19EXTRA_OECONF += "--disable-introspection"
18 20
19inherit autotools distutils-base pkgconfig 21inherit autotools distutils-base pkgconfig
20 22
@@ -32,3 +34,5 @@ FILES_${PN} = "${libdir}/python*"
32FILES_${PN}-lib = "${libdir}/lib*.so.*" 34FILES_${PN}-lib = "${libdir}/lib*.so.*"
33FILES_${PN}-dev += "${bindir} ${datadir}" 35FILES_${PN}-dev += "${bindir} ${datadir}"
34FILES_${PN}-dbg += "${libdir}/.debug" 36FILES_${PN}-dbg += "${libdir}/.debug"
37
38BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/python/python-pygtk_2.17.0.bb b/meta/recipes-devtools/python/python-pygtk_2.17.0.bb
index c32d9987ac..f56e1fec84 100644
--- a/meta/recipes-devtools/python/python-pygtk_2.17.0.bb
+++ b/meta/recipes-devtools/python/python-pygtk_2.17.0.bb
@@ -2,12 +2,12 @@ DESCRIPTION = "Python GTK+ 2.17.x Bindings"
2SECTION = "devel/python" 2SECTION = "devel/python"
3# needs gtk+ 2.17.x 3# needs gtk+ 2.17.x
4DEPENDS = "gtk+ libglade python-pycairo python-pygobject" 4DEPENDS = "gtk+ libglade python-pycairo python-pygobject"
5RDEPENDS = "python-shell python-pycairo python-pygobject" 5RDEPENDS_${PN} = "python-shell python-pycairo python-pygobject"
6PROVIDES = "python-pygtk2" 6PROVIDES = "python-pygtk2"
7SRCNAME = "pygtk" 7SRCNAME = "pygtk"
8LICENSE = "LGPLv2.1" 8LICENSE = "LGPLv2.1"
9LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" 9LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
10PR = "ml8.3" 10PR = "ml9"
11 11
12SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.17/${SRCNAME}-${PV}.tar.bz2 \ 12SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.17/${SRCNAME}-${PV}.tar.bz2 \
13 file://fix-gtkunixprint.patch \ 13 file://fix-gtkunixprint.patch \
diff --git a/meta/recipes-devtools/python/python-pyrex-native_0.9.9.bb b/meta/recipes-devtools/python/python-pyrex-native_0.9.9.bb
index 90b6b16836..827635425d 100644
--- a/meta/recipes-devtools/python/python-pyrex-native_0.9.9.bb
+++ b/meta/recipes-devtools/python/python-pyrex-native_0.9.9.bb
@@ -1,5 +1,5 @@
1require python-pyrex_${PV}.bb 1require python-pyrex_${PV}.bb
2inherit native 2inherit native
3DEPENDS = "python-native" 3DEPENDS = "python-native"
4RDEPENDS = "" 4RDEPENDS_${PN} = ""
5PR = "r0" 5PR = "r1"
diff --git a/meta/recipes-devtools/python/python-scons-native_2.0.1.bb b/meta/recipes-devtools/python/python-scons-native_2.0.1.bb
index a4bcd4258a..f7646a2587 100644
--- a/meta/recipes-devtools/python/python-scons-native_2.0.1.bb
+++ b/meta/recipes-devtools/python/python-scons-native_2.0.1.bb
@@ -1,6 +1,6 @@
1require python-scons_${PV}.bb 1require python-scons_${PV}.bb
2inherit native 2inherit native
3DEPENDS = "python-native" 3DEPENDS = "python-native"
4RDEPENDS = "" 4RDEPENDS_${PN} = ""
5PR = "r0" 5PR = "r1"
6 6
diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc
index 62a6ba1589..f78250769b 100644
--- a/meta/recipes-devtools/python/python.inc
+++ b/meta/recipes-devtools/python/python.inc
@@ -22,4 +22,14 @@ EXTRA_OECONF = "\
22 --enable-shared \ 22 --enable-shared \
23" 23"
24 24
25EXTRA_OECONF_poky-lsb = "\
26 --with-threads \
27 --with-pymalloc \
28 --with-cyclic-gc \
29 --without-cxx \
30 --with-signal-module \
31 --enable-shared \
32 ac_cv_sizeof_off_t=8 \
33"
34
25PARALLEL_MAKE = "" 35PARALLEL_MAKE = ""
diff --git a/meta/recipes-devtools/python/python_2.6.6.bb b/meta/recipes-devtools/python/python_2.6.6.bb
index b33e0a9e87..ad0d7a956a 100644
--- a/meta/recipes-devtools/python/python_2.6.6.bb
+++ b/meta/recipes-devtools/python/python_2.6.6.bb
@@ -1,8 +1,11 @@
1require python.inc 1require python.inc
2DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib" 2DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib"
3DEPENDS_sharprom = "python-native db readline zlib gdbm openssl" 3DEPENDS_sharprom = "python-native db readline zlib gdbm openssl"
4PR = "${INC_PR}.0" 4PR = "${INC_PR}.1"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=38fdd546420fab09ac6bd3d8a1c83eb6" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=38fdd546420fab09ac6bd3d8a1c83eb6"
6
7DISTRO_SRC_URI ?= "file://sitecustomize.py"
8DISTRO_SRC_URI_poky-lsb = ""
6SRC_URI = "\ 9SRC_URI = "\
7 http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \ 10 http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \
8 file://01-use-proper-tools-for-cross-build.patch \ 11 file://01-use-proper-tools-for-cross-build.patch \
@@ -12,7 +15,7 @@ SRC_URI = "\
12 file://05-enable-ctypes-cross-build.patch \ 15 file://05-enable-ctypes-cross-build.patch \
13 file://06-avoid_usr_lib_termcap_path_in_linking.patch \ 16 file://06-avoid_usr_lib_termcap_path_in_linking.patch \
14 file://99-ignore-optimization-flag.patch \ 17 file://99-ignore-optimization-flag.patch \
15 file://sitecustomize.py \ 18 ${DISTRO_SRC_URI} \
16" 19"
17 20
18SRC_URI[md5sum] = "cf4e6881bb84a7ce6089e4a307f71f14" 21SRC_URI[md5sum] = "cf4e6881bb84a7ce6089e4a307f71f14"
@@ -74,7 +77,9 @@ do_install() {
74 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ 77 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
75 DESTDIR=${D} LIBDIR=${libdir} install 78 DESTDIR=${D} LIBDIR=${libdir} install
76 79
77 install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN} 80 if [ -e ${WORKDIR}/sitecustomize.py ]; then
81 install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN}
82 fi
78 83
79 # remove hardcoded ccache, see http://bugs.openembedded.net/show_bug.cgi?id=4144 84 # remove hardcoded ccache, see http://bugs.openembedded.net/show_bug.cgi?id=4144
80 sed -i -e s,ccache,'$(CCACHE)', ${D}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile 85 sed -i -e s,ccache,'$(CCACHE)', ${D}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/arm-cp15-fix.patch b/meta/recipes-devtools/qemu/qemu-0.12.4/arm-cp15-fix.patch
deleted file mode 100644
index 1e0ea43083..0000000000
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/arm-cp15-fix.patch
+++ /dev/null
@@ -1,131 +0,0 @@
1From: Riku Voipio <riku.voipio@nokia.com>
2
3Access the cp15.c13 TLS registers directly with TCG ops instead of with
4a slow helper. If the the cp15 read/write was not TLS register access,
5fall back to the cp15 helper.
6
7This makes accessing __thread variables in linux-user when apps are compiled
8with -mtp=cp15 possible. legal cp15 register to acces from linux-user are
9already checked in cp15_user_ok.
10
11While at it, make the cp15.c13 Thread ID registers available only on
12ARMv6K and newer.
13
14Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
15Acked-by: Laurent Desnogues <laurent.desnogues@gmail.com>
16
17diff --git a/target-arm/helper.c b/target-arm/helper.c
18index b3aec99..27001e8 100644
19--- a/target-arm/helper.c
20+++ b/target-arm/helper.c
21@@ -511,7 +511,6 @@ void HELPER(set_cp15)(CPUState *env, uint32_t insn, uint32_t val)
22 uint32_t HELPER(get_cp15)(CPUState *env, uint32_t insn)
23 {
24 cpu_abort(env, "cp15 insn %08x\n", insn);
25- return 0;
26 }
27
28 /* These should probably raise undefined insn exceptions. */
29@@ -1491,15 +1490,6 @@ void HELPER(set_cp15)(CPUState *env, uint32_t insn, uint32_t val)
30 tlb_flush(env, 0);
31 env->cp15.c13_context = val;
32 break;
33- case 2:
34- env->cp15.c13_tls1 = val;
35- break;
36- case 3:
37- env->cp15.c13_tls2 = val;
38- break;
39- case 4:
40- env->cp15.c13_tls3 = val;
41- break;
42 default:
43 goto bad_reg;
44 }
45@@ -1779,12 +1769,6 @@ uint32_t HELPER(get_cp15)(CPUState *env, uint32_t insn)
46 return env->cp15.c13_fcse;
47 case 1:
48 return env->cp15.c13_context;
49- case 2:
50- return env->cp15.c13_tls1;
51- case 3:
52- return env->cp15.c13_tls2;
53- case 4:
54- return env->cp15.c13_tls3;
55 default:
56 goto bad_reg;
57 }
58diff --git a/target-arm/translate.c b/target-arm/translate.c
59index 5cf3e06..786c329 100644
60--- a/target-arm/translate.c
61+++ b/target-arm/translate.c
62@@ -2455,6 +2455,57 @@ static int cp15_user_ok(uint32_t insn)
63 return 0;
64 }
65
66+static int cp15_tls_load_store(CPUState *env, DisasContext *s, uint32_t insn, uint32_t rd)
67+{
68+ TCGv tmp;
69+ int cpn = (insn >> 16) & 0xf;
70+ int cpm = insn & 0xf;
71+ int op = ((insn >> 5) & 7) | ((insn >> 18) & 0x38);
72+
73+ if (!arm_feature(env, ARM_FEATURE_V6K))
74+ return 0;
75+
76+ if (!(cpn == 13 && cpm == 0))
77+ return 0;
78+
79+ if (insn & ARM_CP_RW_BIT) {
80+ tmp = new_tmp();
81+ switch (op) {
82+ case 2:
83+ tcg_gen_ld_i32(tmp, cpu_env, offsetof(CPUARMState, cp15.c13_tls1));
84+ break;
85+ case 3:
86+ tcg_gen_ld_i32(tmp, cpu_env, offsetof(CPUARMState, cp15.c13_tls2));
87+ break;
88+ case 4:
89+ tcg_gen_ld_i32(tmp, cpu_env, offsetof(CPUARMState, cp15.c13_tls3));
90+ break;
91+ default:
92+ dead_tmp(tmp);
93+ return 0;
94+ }
95+ store_reg(s, rd, tmp);
96+
97+ } else {
98+ tmp = load_reg(s, rd);
99+ switch (op) {
100+ case 2:
101+ tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUARMState, cp15.c13_tls1));
102+ break;
103+ case 3:
104+ tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUARMState, cp15.c13_tls2));
105+ break;
106+ case 4:
107+ tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUARMState, cp15.c13_tls3));
108+ break;
109+ default:
110+ return 0;
111+ }
112+ dead_tmp(tmp);
113+ }
114+ return 1;
115+}
116+
117 /* Disassemble system coprocessor (cp15) instruction. Return nonzero if
118 instruction is not defined. */
119 static int disas_cp15_insn(CPUState *env, DisasContext *s, uint32_t insn)
120@@ -2489,6 +2540,10 @@ static int disas_cp15_insn(CPUState *env, DisasContext *s, uint32_t insn)
121 return 0;
122 }
123 rd = (insn >> 12) & 0xf;
124+
125+ if (cp15_tls_load_store(env, s, insn, rd))
126+ return 0;
127+
128 tmp2 = tcg_const_i32(insn);
129 if (insn & ARM_CP_RW_BIT) {
130 tmp = new_tmp();
131
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-fix-oneshot-mode.patch b/meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-fix-oneshot-mode.patch
deleted file mode 100644
index 530736c4ca..0000000000
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-fix-oneshot-mode.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From a9cf98d939c4f6539fad7e7d812ea16d96ba3dc9 Mon Sep 17 00:00:00 2001
2From: Rabin Vincent <rabin@rab.in>
3Date: Sun, 2 May 2010 15:20:52 +0530
4Subject: [PATCH] arm_timer: fix oneshot mode
5
6commit id: a9cf98d939c4f6539fad7e7d812ea16d96ba3dc9 in git://git.sv.gnu.org/qemu.git
7
8In oneshot mode, the delta needs to come from the TimerLoad register,
9not the maximum limit.
10
11Signed-off-by: Rabin Vincent <rabin@rab.in>
12Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
13---
14 hw/arm_timer.c | 2 +-
15 1 files changed, 1 insertions(+), 1 deletions(-)
16
17diff --git a/hw/arm_timer.c b/hw/arm_timer.c
18index 5b6947a..9073ffc 100644
19--- a/hw/arm_timer.c
20+++ b/hw/arm_timer.c
21@@ -71,7 +71,7 @@ static void arm_timer_recalibrate(arm_timer_state *s, int reload)
22 {
23 uint32_t limit;
24
25- if ((s->control & TIMER_CTRL_PERIODIC) == 0) {
26+ if ((s->control & (TIMER_CTRL_PERIODIC | TIMER_CTRL_ONESHOT)) == 0) {
27 /* Free running. */
28 if (s->control & TIMER_CTRL_32BIT)
29 limit = 0xffffffff;
30--
311.6.5.2
32
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-reload-timer-when-enabled.patch b/meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-reload-timer-when-enabled.patch
deleted file mode 100644
index 1890e21e60..0000000000
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/arm_timer-reload-timer-when-enabled.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From d6759902cb467c002086853d2eb38fb969c29f7f Mon Sep 17 00:00:00 2001
2From: Rabin Vincent <rabin@rab.in>
3Date: Sun, 2 May 2010 15:20:51 +0530
4Subject: [PATCH] arm_timer: reload timer when enabled
5
6commit id: d6759902cb467c002086853d2eb38fb969c29f7f in git://git.sv.gnu.org/qemu.git
7
8Reload the timer when TimerControl is written, if the timer is to be
9enabled. Otherwise, if an earlier write to TimerLoad was done while
10periodic mode was not set, s->delta may incorrectly still have the value
11of the maximum limit instead of the value written to TimerLoad.
12
13This problem is evident on versatileap on current linux-next, which
14enables TIMER_CTRL_32BIT before writing to TimerLoad and then enabling
15periodic mode and starting the timer. This causes the first periodic
16tick to be scheduled to occur after 0xffffffff periods, leading to a
17perceived hang while the kernel waits for the first timer tick.
18
19Signed-off-by: Rabin Vincent <rabin@rab.in>
20Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
21---
22 hw/arm_timer.c | 2 +-
23 1 files changed, 1 insertions(+), 1 deletions(-)
24
25diff --git a/hw/arm_timer.c b/hw/arm_timer.c
26index 9fef191..5b6947a 100644
27--- a/hw/arm_timer.c
28+++ b/hw/arm_timer.c
29@@ -113,7 +113,7 @@ static void arm_timer_write(void *opaque, target_phys_addr_t offset,
30 case 1: freq >>= 4; break;
31 case 2: freq >>= 8; break;
32 }
33- arm_timer_recalibrate(s, 0);
34+ arm_timer_recalibrate(s, s->control & TIMER_CTRL_ENABLE);
35 ptimer_set_freq(s->timer, freq);
36 if (s->control & TIMER_CTRL_ENABLE) {
37 /* Restart the timer if still enabled. */
38--
391.6.5.2
40
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/cursor-shadow-fix.patch b/meta/recipes-devtools/qemu/qemu-0.12.4/cursor-shadow-fix.patch
deleted file mode 100644
index 6600c4303f..0000000000
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/cursor-shadow-fix.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1Fix the mouse shadow in qemu
2
3the root cause is that the qemu cursor array is hardcoded to 256 bytes, while the sato use cursor of the size 64*64=4096, thus lead buffer overflow and abnormal mouse.
4
5This issue has been fixed in upstream starting from v0.13.0-rc0. v0.12.5 still has this issue. So when qemu is upgraded to 0.13.0 or above, this patch can be safely removed.
6
7Signed-off-by: Yu Ke <ke.yu@intel.com>
8
9diff --git a/sdl.c b/sdl.c
10index 7912c91..2f33cd2 100644
11--- a/sdl.c
12+++ b/sdl.c
13@@ -775,12 +775,12 @@ static void sdl_mouse_define(int width, int height, int bpp,
14 int hot_x, int hot_y,
15 uint8_t *image, uint8_t *mask)
16 {
17- uint8_t sprite[256], *line;
18+ uint8_t *sprite, *line;
19 int x, y, dst, bypl, src = 0;
20 if (guest_sprite)
21 SDL_FreeCursor(guest_sprite);
22
23- memset(sprite, 0, 256);
24+ sprite = (uint8_t*)qemu_mallocz(width * height);
25 bypl = ((width * bpp + 31) >> 5) << 2;
26 for (y = 0, dst = 0; y < height; y ++, image += bypl) {
27 line = image;
28@@ -818,6 +818,7 @@ static void sdl_mouse_define(int width, int height, int bpp,
29 if (guest_cursor &&
30 (gui_grab || kbd_mouse_is_absolute() || absolute_enabled))
31 SDL_SetCursor(guest_sprite);
32+ qemu_free(sprite);
33 }
34
35 static void sdl_cleanup(void)
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/qemu-ppc-hack.patch b/meta/recipes-devtools/qemu/qemu-0.12.4/qemu-ppc-hack.patch
deleted file mode 100644
index 3ed227ec35..0000000000
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/qemu-ppc-hack.patch
+++ /dev/null
@@ -1,136 +0,0 @@
1Quick fixes to get the ppc system model to boot a 603e based
2kernel.
3
4diff --git a/hw/m48t59.c b/hw/m48t59.c
5index ce38f8b..d99054f 100644
6--- a/hw/m48t59.c
7+++ b/hw/m48t59.c
8@@ -50,6 +50,7 @@
9 */
10
11 struct m48t59_t {
12+ SysBusDevice busdev;
13 /* Model parameters */
14 uint32_t type; // 2 = m48t02, 8 = m48t08, 59 = m48t59
15 /* Hardware parameters */
16@@ -74,11 +75,6 @@ typedef struct M48t59ISAState {
17 m48t59_t state;
18 } M48t59ISAState;
19
20-typedef struct M48t59SysBusState {
21- SysBusDevice busdev;
22- m48t59_t state;
23-} M48t59SysBusState;
24-
25 /* Fake timer functions */
26
27 /* Alarm management */
28@@ -629,8 +625,7 @@ static void m48t59_reset_isa(DeviceState *d)
29
30 static void m48t59_reset_sysbus(DeviceState *d)
31 {
32- M48t59SysBusState *sys = container_of(d, M48t59SysBusState, busdev.qdev);
33- m48t59_t *NVRAM = &sys->state;
34+ m48t59_t *NVRAM = container_of(d, m48t59_t, busdev.qdev);
35
36 m48t59_reset_common(NVRAM);
37 }
38@@ -642,7 +637,7 @@ m48t59_t *m48t59_init (qemu_irq IRQ, target_phys_addr_t mem_base,
39 {
40 DeviceState *dev;
41 SysBusDevice *s;
42- M48t59SysBusState *d;
43+ m48t59_t *d;
44
45 dev = qdev_create(NULL, "m48t59");
46 qdev_prop_set_uint32(dev, "type", type);
47@@ -659,9 +654,9 @@ m48t59_t *m48t59_init (qemu_irq IRQ, target_phys_addr_t mem_base,
48 sysbus_mmio_map(s, 0, mem_base);
49 }
50
51- d = FROM_SYSBUS(M48t59SysBusState, s);
52+ d = FROM_SYSBUS(m48t59_t, s);
53
54- return &d->state;
55+ return d;
56 }
57
58 m48t59_t *m48t59_init_isa(uint32_t io_base, uint16_t size, int type)
59@@ -711,8 +706,7 @@ static int m48t59_init_isa1(ISADevice *dev)
60
61 static int m48t59_init1(SysBusDevice *dev)
62 {
63- M48t59SysBusState *d = FROM_SYSBUS(M48t59SysBusState, dev);
64- m48t59_t *s = &d->state;
65+ m48t59_t *s = FROM_SYSBUS(m48t59_t, dev);
66 int mem_index;
67
68 sysbus_init_irq(dev, &s->IRQ);
69@@ -741,12 +735,12 @@ static ISADeviceInfo m48t59_isa_info = {
70 static SysBusDeviceInfo m48t59_info = {
71 .init = m48t59_init1,
72 .qdev.name = "m48t59",
73- .qdev.size = sizeof(M48t59SysBusState),
74+ .qdev.size = sizeof(m48t59_t),
75 .qdev.reset = m48t59_reset_sysbus,
76 .qdev.props = (Property[]) {
77- DEFINE_PROP_UINT32("size", M48t59SysBusState, state.size, -1),
78- DEFINE_PROP_UINT32("type", M48t59SysBusState, state.type, -1),
79- DEFINE_PROP_HEX32( "io_base", M48t59SysBusState, state.io_base, 0),
80+ DEFINE_PROP_UINT32("size", m48t59_t, size, -1),
81+ DEFINE_PROP_UINT32("type", m48t59_t, type, -1),
82+ DEFINE_PROP_HEX32( "io_base", m48t59_t, io_base, 0),
83 DEFINE_PROP_END_OF_LIST(),
84 }
85 };
86diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c
87index eb758f2..08db51b 100644
88--- a/hw/ppc_prep.c
89+++ b/hw/ppc_prep.c
90@@ -73,7 +73,7 @@ qemu_log_mask(CPU_LOG_IOPORT, fmt, ## __VA_ARGS__)
91 /* Constants for devices init */
92 static const int ide_iobase[2] = { 0x1f0, 0x170 };
93 static const int ide_iobase2[2] = { 0x3f6, 0x376 };
94-static const int ide_irq[2] = { 13, 13 };
95+static const int ide_irq[2] = { 13, 14 };
96
97 #define NE2000_NB_MAX 6
98
99@@ -620,9 +620,6 @@ static void ppc_prep_init (ram_addr_t ram_size,
100 if (filename) {
101 qemu_free(filename);
102 }
103- if (env->nip < 0xFFF80000 && bios_size < 0x00100000) {
104- hw_error("PowerPC 601 / 620 / 970 need a 1MB BIOS\n");
105- }
106
107 if (linux_boot) {
108 kernel_base = KERNEL_LOAD_ADDR;
109diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c
110index e3bd29c..1cb2e07 100644
111--- a/target-ppc/op_helper.c
112+++ b/target-ppc/op_helper.c
113@@ -1646,20 +1646,20 @@ static inline void do_rfi(target_ulong nip, target_ulong msr,
114 void helper_rfi (void)
115 {
116 do_rfi(env->spr[SPR_SRR0], env->spr[SPR_SRR1],
117- ~((target_ulong)0x0), 1);
118+ ~((target_ulong)0xFFFF0000), 1);
119 }
120
121 #if defined(TARGET_PPC64)
122 void helper_rfid (void)
123 {
124 do_rfi(env->spr[SPR_SRR0], env->spr[SPR_SRR1],
125- ~((target_ulong)0x0), 0);
126+ ~((target_ulong)0xFFFF0000), 0);
127 }
128
129 void helper_hrfid (void)
130 {
131 do_rfi(env->spr[SPR_HSRR0], env->spr[SPR_HSRR1],
132- ~((target_ulong)0x0), 0);
133+ ~((target_ulong)0xFFFF0000), 0);
134 }
135 #endif
136 #endif
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/enable-i386-linux-user.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/enable-i386-linux-user.patch
index 550d48b138..95420ef99e 100644
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/enable-i386-linux-user.patch
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/enable-i386-linux-user.patch
@@ -2,13 +2,13 @@ Enable i386-linux-user
2 2
3Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> 3Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
4 4
5Index: qemu-0.12.4/Makefile.target 5Index: qemu-0.13.0/Makefile.target
6=================================================================== 6===================================================================
7--- qemu-0.12.4.orig/Makefile.target 2010-08-31 13:57:01.000000000 +0800 7--- qemu-0.13.0.orig/Makefile.target 2011-01-17 16:50:39.000000000 +0800
8+++ qemu-0.12.4/Makefile.target 2010-08-31 14:03:06.000000000 +0800 8+++ qemu-0.13.0/Makefile.target 2011-01-17 16:50:41.000000000 +0800
9@@ -46,8 +46,13 @@ 9@@ -54,8 +54,13 @@
10 libobj-$(CONFIG_NOSOFTFLOAT) += fpu/softfloat-native.o 10 libobj-y += cpuid.o
11 libobj-y += op_helper.o helper.o 11 endif
12 libobj-$(CONFIG_NEED_MMU) += mmu.o 12 libobj-$(CONFIG_NEED_MMU) += mmu.o
13+ifndef CONFIG_LINUX_USER 13+ifndef CONFIG_LINUX_USER
14 libobj-$(TARGET_I386) += helper_opengl.o opengl_exec.o 14 libobj-$(TARGET_I386) += helper_opengl.o opengl_exec.o
@@ -20,10 +20,10 @@ Index: qemu-0.12.4/Makefile.target
20 libobj-$(TARGET_ARM) += dummygl.o 20 libobj-$(TARGET_ARM) += dummygl.o
21 libobj-$(TARGET_MIPS) += dummygl.o 21 libobj-$(TARGET_MIPS) += dummygl.o
22 libobj-$(TARGET_PPC) += dummygl.o 22 libobj-$(TARGET_PPC) += dummygl.o
23Index: qemu-0.12.4/target-i386/dummygl.c 23Index: qemu-0.13.0/target-i386/dummygl.c
24=================================================================== 24===================================================================
25--- /dev/null 1970-01-01 00:00:00.000000000 +0000 25--- /dev/null 1970-01-01 00:00:00.000000000 +0000
26+++ qemu-0.12.4/target-i386/dummygl.c 2010-08-31 15:25:25.000000000 +0800 26+++ qemu-0.13.0/target-i386/dummygl.c 2011-01-17 16:50:41.000000000 +0800
27@@ -0,0 +1,26 @@ 27@@ -0,0 +1,26 @@
28+#include <string.h> 28+#include <string.h>
29+#include <stdlib.h> 29+#include <stdlib.h>
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/fix-configure-checks.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/fix-configure-checks.patch
index 28ca2b3646..46ddc6e206 100644
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/fix-configure-checks.patch
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/fix-configure-checks.patch
@@ -6,15 +6,15 @@ added and files in the sysroot can be found.
6 6
7Patch from Paul Eggleton, Comments by RP 28/11/10 7Patch from Paul Eggleton, Comments by RP 28/11/10
8 8
9Index: qemu-0.12.4/configure 9Index: qemu-0.13.0/configure
10=================================================================== 10===================================================================
11--- qemu-0.12.4.orig/configure 11--- qemu-0.13.0.orig/configure 2010-10-16 04:56:09.000000000 +0800
12+++ qemu-0.12.4/configure 12+++ qemu-0.13.0/configure 2011-01-15 18:19:41.000000000 +0800
13@@ -99,6 +99,7 @@ QEMU_CFLAGS="-Wstrict-prototypes -Wredun 13@@ -134,6 +134,7 @@
14 QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $QEMU_CFLAGS" 14 QEMU_CFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $QEMU_CFLAGS"
15 QEMU_CFLAGS="-U_FORTIFY_SOURCE $QEMU_CFLAGS" 15 QEMU_CFLAGS="-D_FORTIFY_SOURCE=2 $QEMU_CFLAGS"
16 QEMU_CFLAGS="-I. -I\$(SRC_PATH) $QEMU_CFLAGS" 16 QEMU_CFLAGS="-I. -I\$(SRC_PATH) $QEMU_CFLAGS"
17+QEMU_CFLAGS="$QEMU_CFLAGS $CFLAGS" 17+QEMU_CFLAGS="$QEMU_CFLAGS $CFLAGS"
18 LDFLAGS="-g $LDFLAGS" 18 LDFLAGS="-g $LDFLAGS"
19 19
20 gcc_flags="-Wold-style-declaration -Wold-style-definition" 20 gcc_flags="-Wold-style-declaration -Wold-style-definition -fstack-protector-all"
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/fix-dirent.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/fix-dirent.patch
index 8bbfa0e88e..8bbfa0e88e 100644
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/fix-dirent.patch
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/fix-dirent.patch
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/fix-nogl.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/fix-nogl.patch
index 528b6f0d18..fa518abbf7 100644
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/fix-nogl.patch
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/fix-nogl.patch
@@ -1,9 +1,9 @@
1Index: qemu-0.12.4/Makefile.target 1Index: qemu-0.13.0/Makefile.target
2=================================================================== 2===================================================================
3--- qemu-0.12.4.orig/Makefile.target 2010-06-24 07:59:15.669394205 +0100 3--- qemu-0.13.0.orig/Makefile.target 2011-01-17 16:53:08.000000000 +0800
4+++ qemu-0.12.4/Makefile.target 2010-06-24 08:07:38.739399512 +0100 4+++ qemu-0.13.0/Makefile.target 2011-01-17 16:53:11.000000000 +0800
5@@ -47,6 +47,10 @@ 5@@ -55,6 +55,10 @@
6 libobj-y += op_helper.o helper.o 6 endif
7 libobj-$(CONFIG_NEED_MMU) += mmu.o 7 libobj-$(CONFIG_NEED_MMU) += mmu.o
8 libobj-$(TARGET_I386) += helper_opengl.o opengl_exec.o 8 libobj-$(TARGET_I386) += helper_opengl.o opengl_exec.o
9+libobj-$(TARGET_X86_64) += helper_opengl.o opengl_exec.o 9+libobj-$(TARGET_X86_64) += helper_opengl.o opengl_exec.o
@@ -11,12 +11,12 @@ Index: qemu-0.12.4/Makefile.target
11+libobj-$(TARGET_MIPS) += dummygl.o 11+libobj-$(TARGET_MIPS) += dummygl.o
12+libobj-$(TARGET_PPC) += dummygl.o 12+libobj-$(TARGET_PPC) += dummygl.o
13 libobj-$(TARGET_ARM) += neon_helper.o iwmmxt_helper.o 13 libobj-$(TARGET_ARM) += neon_helper.o iwmmxt_helper.o
14 libobj-$(TARGET_ALPHA) += alpha_palcode.o
15 14
16Index: qemu-0.12.4/target-arm/dummygl.c 15 libobj-y += disas.o
16Index: qemu-0.13.0/target-arm/dummygl.c
17=================================================================== 17===================================================================
18--- /dev/null 1970-01-01 00:00:00.000000000 +0000 18--- /dev/null 1970-01-01 00:00:00.000000000 +0000
19+++ qemu-0.12.4/target-arm/dummygl.c 2010-06-24 07:59:15.899401748 +0100 19+++ qemu-0.13.0/target-arm/dummygl.c 2011-01-17 16:53:11.000000000 +0800
20@@ -0,0 +1,22 @@ 20@@ -0,0 +1,22 @@
21+#include <string.h> 21+#include <string.h>
22+#include <stdlib.h> 22+#include <stdlib.h>
@@ -40,10 +40,10 @@ Index: qemu-0.12.4/target-arm/dummygl.c
40+{ 40+{
41+ 41+
42+} 42+}
43Index: qemu-0.12.4/target-mips/dummygl.c 43Index: qemu-0.13.0/target-mips/dummygl.c
44=================================================================== 44===================================================================
45--- /dev/null 1970-01-01 00:00:00.000000000 +0000 45--- /dev/null 1970-01-01 00:00:00.000000000 +0000
46+++ qemu-0.12.4/target-mips/dummygl.c 2010-06-24 07:59:15.899401748 +0100 46+++ qemu-0.13.0/target-mips/dummygl.c 2011-01-17 16:53:11.000000000 +0800
47@@ -0,0 +1,22 @@ 47@@ -0,0 +1,22 @@
48+#include <string.h> 48+#include <string.h>
49+#include <stdlib.h> 49+#include <stdlib.h>
@@ -67,10 +67,10 @@ Index: qemu-0.12.4/target-mips/dummygl.c
67+{ 67+{
68+ 68+
69+} 69+}
70Index: qemu-0.12.4/target-ppc/dummygl.c 70Index: qemu-0.13.0/target-ppc/dummygl.c
71=================================================================== 71===================================================================
72--- /dev/null 1970-01-01 00:00:00.000000000 +0000 72--- /dev/null 1970-01-01 00:00:00.000000000 +0000
73+++ qemu-0.12.4/target-ppc/dummygl.c 2010-06-24 08:07:59.070712946 +0100 73+++ qemu-0.13.0/target-ppc/dummygl.c 2011-01-17 16:53:11.000000000 +0800
74@@ -0,0 +1,22 @@ 74@@ -0,0 +1,22 @@
75+#include <string.h> 75+#include <string.h>
76+#include <stdlib.h> 76+#include <stdlib.h>
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/glflags.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/glflags.patch
index 0a27c2dee1..0a27c2dee1 100644
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/glflags.patch
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/glflags.patch
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/init-info.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/init-info.patch
index 8ba7d8ff4c..77022ae541 100644
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/init-info.patch
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/init-info.patch
@@ -2,11 +2,11 @@
2# makes info.info.x11.display zero and avoids the calls to 2# makes info.info.x11.display zero and avoids the calls to
3# opengl_exec_set_parent_window, one of which is crashing. 3# opengl_exec_set_parent_window, one of which is crashing.
4 4
5Index: qemu-0.12.4/sdl.c 5Index: qemu-0.13.0/ui/sdl.c
6=================================================================== 6===================================================================
7--- qemu-0.12.4.orig/sdl.c 7--- qemu-0.13.0.orig/ui/sdl.c 2011-01-15 17:40:59.000000000 +0800
8+++ qemu-0.12.4/sdl.c 8+++ qemu-0.13.0/ui/sdl.c 2011-01-15 17:41:04.000000000 +0800
9@@ -871,6 +871,7 @@ void sdl_display_init(DisplayState *ds, 9@@ -857,6 +857,7 @@
10 vi = SDL_GetVideoInfo(); 10 vi = SDL_GetVideoInfo();
11 host_format = *(vi->vfmt); 11 host_format = *(vi->vfmt);
12 12
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/linker-flags.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/linker-flags.patch
index 7b33aa4840..54c480f94b 100644
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/linker-flags.patch
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/linker-flags.patch
@@ -7,16 +7,16 @@ More information is available on the Fedora Wiki:
7https://fedoraproject.org/wiki/UnderstandingDSOLinkChange 7https://fedoraproject.org/wiki/UnderstandingDSOLinkChange
8 8
9JL - 15/06/10 9JL - 15/06/10
10Index: qemu-0.12.4/Makefile.target 10Index: qemu-0.13.0/Makefile.target
11=================================================================== 11===================================================================
12--- qemu-0.12.4.orig/Makefile.target 2010-06-15 11:21:52.000000000 +0100 12--- qemu-0.13.0.orig/Makefile.target 2011-01-15 17:30:45.000000000 +0800
13+++ qemu-0.12.4/Makefile.target 2010-06-15 11:25:27.212852910 +0100 13+++ qemu-0.13.0/Makefile.target 2011-01-15 17:33:22.000000000 +0800
14@@ -178,7 +178,7 @@ 14@@ -193,7 +193,7 @@
15 obj-y += virtio-blk.o virtio-balloon.o virtio-net.o virtio-console.o virtio-pci.o 15 obj-y += rwhandler.o
16 obj-$(CONFIG_KVM) += kvm.o kvm-all.o 16 obj-$(CONFIG_KVM) += kvm.o kvm-all.o
17 obj-$(CONFIG_ISA_MMIO) += isa_mmio.o 17 obj-$(CONFIG_NO_KVM) += kvm-stub.o
18-LIBS+=-lz 18-LIBS+=-lz
19+LIBS+=-lz -lX11 -ldl 19+LIBS+=-lz -lX11 -ldl
20 20
21 sound-obj-y = 21 QEMU_CFLAGS += $(VNC_TLS_CFLAGS)
22 sound-obj-$(CONFIG_SB16) += sb16.o 22 QEMU_CFLAGS += $(VNC_SASL_CFLAGS)
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/no-strip.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/no-strip.patch
index 8a95a688b3..62cdec6109 100644
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/no-strip.patch
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/no-strip.patch
@@ -1,9 +1,9 @@
1Index: qemu/Makefile 1Index: qemu-0.13.0/Makefile
2=================================================================== 2===================================================================
3--- qemu.orig/Makefile 2010-05-11 17:17:06.416912704 -0400 3--- qemu-0.13.0.orig/Makefile 2011-01-17 16:41:59.000000000 +0800
4+++ qemu/Makefile 2010-05-11 17:17:17.051812402 -0400 4+++ qemu-0.13.0/Makefile 2011-01-17 16:44:57.000000000 +0800
5@@ -300,7 +300,7 @@ endif 5@@ -185,7 +185,7 @@
6 install: all $(if $(BUILD_DOCS),install-doc) 6 install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig
7 $(INSTALL_DIR) "$(DESTDIR)$(bindir)" 7 $(INSTALL_DIR) "$(DESTDIR)$(bindir)"
8 ifneq ($(TOOLS),) 8 ifneq ($(TOOLS),)
9- $(INSTALL_PROG) $(STRIP_OPT) $(TOOLS) "$(DESTDIR)$(bindir)" 9- $(INSTALL_PROG) $(STRIP_OPT) $(TOOLS) "$(DESTDIR)$(bindir)"
@@ -11,11 +11,11 @@ Index: qemu/Makefile
11 endif 11 endif
12 ifneq ($(BLOBS),) 12 ifneq ($(BLOBS),)
13 $(INSTALL_DIR) "$(DESTDIR)$(datadir)" 13 $(INSTALL_DIR) "$(DESTDIR)$(datadir)"
14Index: qemu/Makefile.target 14Index: qemu-0.13.0/Makefile.target
15=================================================================== 15===================================================================
16--- qemu.orig/Makefile.target 2010-05-11 17:17:12.188784092 -0400 16--- qemu-0.13.0.orig/Makefile.target 2011-01-17 16:42:36.000000000 +0800
17+++ qemu/Makefile.target 2010-05-11 17:17:17.052808122 -0400 17+++ qemu-0.13.0/Makefile.target 2011-01-17 16:44:57.000000000 +0800
18@@ -351,7 +351,7 @@ clean: 18@@ -351,7 +351,7 @@
19 19
20 install: all 20 install: all
21 ifneq ($(PROGS),) 21 ifneq ($(PROGS),)
diff --git a/meta/recipes-devtools/qemu/qemu-0.13.0/parallel_make.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/parallel_make.patch
new file mode 100644
index 0000000000..278b1a759d
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/parallel_make.patch
@@ -0,0 +1,34 @@
1Make -j(>=6) always fail as some job depends on config-host.h. Added following
2patch in upstream to resolve it.
3
4Could remove it in next upgrade if necessary.
5
6Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
7
8commit f0acb38015409024683911380daa94cc974e4e0e
9Author: Paul Brook <paul@codesourcery.com>
10Date: Fri Nov 26 18:46:03 2010 +0000
11
12 Add missing dependency.
13
14 Teach Makefile that cmd.o depends on a generated header (specifically
15 config-host.h).
16
17 Signed-off-by: Paul Brook <paul@codesourcery.com>
18 (cherry picked from commit 6e14404aab26f74a448747d1e793ac16bde8a92b)
19
20 Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
21
22Index: qemu-0.13.0/Makefile
23===================================================================
24--- qemu-0.13.0.orig/Makefile 2011-01-18 09:45:45.000000000 +0800
25+++ qemu-0.13.0/Makefile 2011-01-18 09:45:45.000000000 +0800
26@@ -107,7 +107,7 @@
27 ######################################################################
28
29 qemu-img.o: qemu-img-cmds.h
30-qemu-img.o qemu-tool.o qemu-nbd.o qemu-io.o: $(GENERATED_HEADERS)
31+qemu-img.o qemu-tool.o qemu-nbd.o qemu-io.o cmd.o: $(GENERATED_HEADERS)
32
33 qemu-img$(EXESUF): qemu-img.o qemu-tool.o qemu-error.o $(block-obj-y) $(qobject-obj-y)
34
diff --git a/meta/recipes-devtools/qemu/qemu-0.13.0/port92_fix.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/port92_fix.patch
new file mode 100644
index 0000000000..e101c687c0
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/port92_fix.patch
@@ -0,0 +1,196 @@
1With qemu 0.13.0, poky failed to start on ppc arch because both ppc_prep_init
2and i8042_initfn try to register to port 0x92 then cause conflict. Introduce
3this patch from upstream to fix it.
4
5Could remove it in future if necessary.
6
7Signed-off-by: Zhai, Edwin <edwin.zhai@intel.com>
8
9commit 4b78a802ffaabb325a0f7b773031da92d173bde1
10Author: Blue Swirl <blauwirbel@gmail.com>
11Date: Thu Jan 6 18:24:35 2011 +0000
12
13 pc: move port 92 stuff back to pc.c from pckbd.c
14
15 956a3e6bb7386de48b642d4fee11f7f86a2fcf9a introduced a bug concerning
16 reset bit for port 92.
17
18 Since the keyboard output port and port 92 are not compatible anyway,
19 let's separate them.
20
21 Reported-by: Peter Lieven <pl@dlh.net>
22 Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
23 --
24 v2: added reset handler and VMState
25
26Index: qemu-0.13.0/hw/pc.c
27===================================================================
28--- qemu-0.13.0.orig/hw/pc.c 2010-10-16 04:56:09.000000000 +0800
29+++ qemu-0.13.0/hw/pc.c 2011-01-20 20:37:37.000000000 +0800
30@@ -409,11 +409,91 @@
31 qemu_register_reset(pc_cmos_init_late, &arg);
32 }
33
34+/* port 92 stuff: could be split off */
35+typedef struct Port92State {
36+ ISADevice dev;
37+ uint8_t outport;
38+ qemu_irq *a20_out;
39+} Port92State;
40+
41+static void port92_write(void *opaque, uint32_t addr, uint32_t val)
42+{
43+ Port92State *s = opaque;
44+
45+ DPRINTF("port92: write 0x%02x\n", val);
46+ s->outport = val;
47+ qemu_set_irq(*s->a20_out, (val >> 1) & 1);
48+ if (val & 1) {
49+ qemu_system_reset_request();
50+ }
51+}
52+
53+static uint32_t port92_read(void *opaque, uint32_t addr)
54+{
55+ Port92State *s = opaque;
56+ uint32_t ret;
57+
58+ ret = s->outport;
59+ DPRINTF("port92: read 0x%02x\n", ret);
60+ return ret;
61+}
62+
63+static void port92_init(ISADevice *dev, qemu_irq *a20_out)
64+{
65+ Port92State *s = DO_UPCAST(Port92State, dev, dev);
66+
67+ s->a20_out = a20_out;
68+}
69+
70+static const VMStateDescription vmstate_port92_isa = {
71+ .name = "port92",
72+ .version_id = 1,
73+ .minimum_version_id = 1,
74+ .minimum_version_id_old = 1,
75+ .fields = (VMStateField []) {
76+ VMSTATE_UINT8(outport, Port92State),
77+ VMSTATE_END_OF_LIST()
78+ }
79+};
80+
81+static void port92_reset(DeviceState *d)
82+{
83+ Port92State *s = container_of(d, Port92State, dev.qdev);
84+
85+ s->outport &= ~1;
86+}
87+
88+static int port92_initfn(ISADevice *dev)
89+{
90+ Port92State *s = DO_UPCAST(Port92State, dev, dev);
91+
92+ register_ioport_read(0x92, 1, 1, port92_read, s);
93+ register_ioport_write(0x92, 1, 1, port92_write, s);
94+ s->outport = 0;
95+ return 0;
96+}
97+
98+static ISADeviceInfo port92_info = {
99+ .qdev.name = "port92",
100+ .qdev.size = sizeof(Port92State),
101+ .qdev.vmsd = &vmstate_port92_isa,
102+ .qdev.no_user = 1,
103+ .qdev.reset = port92_reset,
104+ .init = port92_initfn,
105+};
106+
107+static void port92_register(void)
108+{
109+ isa_qdev_register(&port92_info);
110+}
111+device_init(port92_register)
112+
113 static void handle_a20_line_change(void *opaque, int irq, int level)
114 {
115 CPUState *cpu = opaque;
116
117 /* XXX: send to all CPUs ? */
118+ /* XXX: add logic to handle multiple A20 line sources */
119 cpu_x86_set_a20(cpu, level);
120 }
121
122@@ -1017,7 +1097,7 @@
123 PITState *pit;
124 qemu_irq rtc_irq = NULL;
125 qemu_irq *a20_line;
126- ISADevice *i8042;
127+ ISADevice *i8042, *port92;
128 qemu_irq *cpu_exit_irq;
129
130 register_ioport_write(0x80, 1, 1, ioport80_write, NULL);
131@@ -1051,10 +1131,12 @@
132 }
133 }
134
135- a20_line = qemu_allocate_irqs(handle_a20_line_change, first_cpu, 1);
136+ a20_line = qemu_allocate_irqs(handle_a20_line_change, first_cpu, 2);
137 i8042 = isa_create_simple("i8042");
138- i8042_setup_a20_line(i8042, a20_line);
139+ i8042_setup_a20_line(i8042, &a20_line[0]);
140 vmmouse_init(i8042);
141+ port92 = isa_create_simple("port92");
142+ port92_init(port92, &a20_line[1]);
143
144 cpu_exit_irq = qemu_allocate_irqs(cpu_request_exit, NULL, 1);
145 DMA_init(0, cpu_exit_irq);
146Index: qemu-0.13.0/hw/pckbd.c
147===================================================================
148--- qemu-0.13.0.orig/hw/pckbd.c 2010-10-16 04:56:09.000000000 +0800
149+++ qemu-0.13.0/hw/pckbd.c 2011-01-20 20:33:44.000000000 +0800
150@@ -209,10 +209,8 @@
151 ps2_queue(s->kbd, b);
152 }
153
154-static void ioport92_write(void *opaque, uint32_t addr, uint32_t val)
155+static void outport_write(KBDState *s, uint32_t val)
156 {
157- KBDState *s = opaque;
158-
159 DPRINTF("kbd: write outport=0x%02x\n", val);
160 s->outport = val;
161 if (s->a20_out) {
162@@ -223,16 +221,6 @@
163 }
164 }
165
166-static uint32_t ioport92_read(void *opaque, uint32_t addr)
167-{
168- KBDState *s = opaque;
169- uint32_t ret;
170-
171- ret = s->outport;
172- DPRINTF("kbd: read outport=0x%02x\n", ret);
173- return ret;
174-}
175-
176 static void kbd_write_command(void *opaque, uint32_t addr, uint32_t val)
177 {
178 KBDState *s = opaque;
179@@ -340,7 +328,7 @@
180 kbd_queue(s, val, 1);
181 break;
182 case KBD_CCMD_WRITE_OUTPORT:
183- ioport92_write(s, 0, val);
184+ outport_write(s, val);
185 break;
186 case KBD_CCMD_WRITE_MOUSE:
187 ps2_write_mouse(s->mouse, val);
188@@ -469,8 +457,6 @@
189 register_ioport_write(0x60, 1, 1, kbd_write_data, s);
190 register_ioport_read(0x64, 1, 1, kbd_read_status, s);
191 register_ioport_write(0x64, 1, 1, kbd_write_command, s);
192- register_ioport_read(0x92, 1, 1, ioport92_read, s);
193- register_ioport_write(0x92, 1, 1, ioport92_write, s);
194
195 s->kbd = ps2_kbd_init(kbd_update_kbd_irq, s);
196 s->mouse = ps2_mouse_init(kbd_update_aux_irq, s);
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/powerpc_rom.bin b/meta/recipes-devtools/qemu/qemu-0.13.0/powerpc_rom.bin
index c4044296c5..c4044296c5 100644
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/powerpc_rom.bin
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/powerpc_rom.bin
Binary files differ
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/qemu-git-qemugl-host.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/qemu-git-qemugl-host.patch
index ab31476218..085477c575 100644
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/qemu-git-qemugl-host.patch
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/qemu-git-qemugl-host.patch
@@ -1,16 +1,16 @@
1Index: qemu-0.12.4/Makefile.target 1Index: qemu-0.13.0/Makefile.target
2=================================================================== 2===================================================================
3--- qemu-0.12.4.orig/Makefile.target 3--- qemu-0.13.0.orig/Makefile.target 2011-01-17 16:41:59.000000000 +0800
4+++ qemu-0.12.4/Makefile.target 4+++ qemu-0.13.0/Makefile.target 2011-01-17 16:42:36.000000000 +0800
5@@ -46,6 +46,7 @@ libobj-$(CONFIG_SOFTFLOAT) += fpu/softfl 5@@ -54,6 +54,7 @@
6 libobj-$(CONFIG_NOSOFTFLOAT) += fpu/softfloat-native.o 6 libobj-y += cpuid.o
7 libobj-y += op_helper.o helper.o 7 endif
8 libobj-$(CONFIG_NEED_MMU) += mmu.o 8 libobj-$(CONFIG_NEED_MMU) += mmu.o
9+libobj-$(TARGET_I386) += helper_opengl.o opengl_exec.o 9+libobj-$(TARGET_I386) += helper_opengl.o opengl_exec.o
10 libobj-$(TARGET_ARM) += neon_helper.o iwmmxt_helper.o 10 libobj-$(TARGET_ARM) += neon_helper.o iwmmxt_helper.o
11 libobj-$(TARGET_ALPHA) += alpha_palcode.o
12 11
13@@ -82,6 +83,21 @@ op_helper.o cpu-exec.o: QEMU_CFLAGS += $ 12 libobj-y += disas.o
13@@ -76,6 +77,21 @@
14 # cpu_signal_handler() in cpu-exec.c. 14 # cpu_signal_handler() in cpu-exec.c.
15 signal.o: QEMU_CFLAGS += $(HELPER_CFLAGS) 15 signal.o: QEMU_CFLAGS += $(HELPER_CFLAGS)
16 16
@@ -32,31 +32,31 @@ Index: qemu-0.12.4/Makefile.target
32 ######################################################### 32 #########################################################
33 # Linux user emulator target 33 # Linux user emulator target
34 34
35@@ -196,6 +212,10 @@ obj-i386-y += usb-uhci.o vmmouse.o vmpor 35@@ -202,6 +218,10 @@
36 obj-i386-y += device-hotplug.o pci-hotplug.o smbios.o wdt_ib700.o 36 obj-i386-y += debugcon.o multiboot.o
37 obj-i386-y += ne2000-isa.o 37 obj-i386-y += pc_piix.o
38 38
39+ifeq ($(TARGET_BASE_ARCH), i386) 39+ifeq ($(TARGET_BASE_ARCH), i386)
40+QEMU_CFLAGS += -DTARGET_OPENGL_OK 40+QEMU_CFLAGS += -DTARGET_OPENGL_OK
41+endif 41+endif
42+ 42+
43 # shared objects 43 # shared objects
44 obj-ppc-y = ppc.o ide/core.o ide/qdev.o ide/isa.o ide/pci.o ide/macio.o 44 obj-ppc-y = ppc.o
45 obj-ppc-y += ide/cmd646.o 45 obj-ppc-y += vga.o
46@@ -303,6 +323,8 @@ vl.o: qemu-options.h 46@@ -301,6 +321,8 @@
47 47
48 monitor.o: qemu-monitor.h 48 monitor.o: qemu-monitor.h
49 49
50+LIBS += -lGL -lGLU 50+LIBS += -lGL -lGLU
51+ 51+
52 ARLIBS=../libqemu_common.a libqemu.a $(HWLIB) 52 $(obj-y) $(obj-$(TARGET_BASE_ARCH)-y): $(GENERATED_HEADERS)
53 53
54 endif # CONFIG_SOFTMMU 54 obj-y += $(addprefix ../, $(common-obj-y))
55Index: qemu-0.12.4/hw/pixel_ops.h 55Index: qemu-0.13.0/hw/pixel_ops.h
56=================================================================== 56===================================================================
57--- qemu-0.12.4.orig/hw/pixel_ops.h 57--- qemu-0.13.0.orig/hw/pixel_ops.h 2011-01-17 16:41:59.000000000 +0800
58+++ qemu-0.12.4/hw/pixel_ops.h 58+++ qemu-0.13.0/hw/pixel_ops.h 2011-01-17 16:42:36.000000000 +0800
59@@ -4,6 +4,12 @@ static inline unsigned int rgb_to_pixel8 59@@ -4,6 +4,12 @@
60 return ((r >> 5) << 5) | ((g >> 5) << 2) | (b >> 6); 60 return ((r >> 5) << 5) | ((g >> 5) << 2) | (b >> 6);
61 } 61 }
62 62
@@ -69,11 +69,11 @@ Index: qemu-0.12.4/hw/pixel_ops.h
69 static inline unsigned int rgb_to_pixel15(unsigned int r, unsigned int g, 69 static inline unsigned int rgb_to_pixel15(unsigned int r, unsigned int g,
70 unsigned int b) 70 unsigned int b)
71 { 71 {
72Index: qemu-0.12.4/hw/vmware_vga.c 72Index: qemu-0.13.0/hw/vmware_vga.c
73=================================================================== 73===================================================================
74--- qemu-0.12.4.orig/hw/vmware_vga.c 74--- qemu-0.13.0.orig/hw/vmware_vga.c 2011-01-17 16:41:59.000000000 +0800
75+++ qemu-0.12.4/hw/vmware_vga.c 75+++ qemu-0.13.0/hw/vmware_vga.c 2011-01-17 16:42:36.000000000 +0800
76@@ -489,6 +489,8 @@ static inline void vmsvga_cursor_define( 76@@ -519,6 +519,8 @@
77 77
78 #define CMD(f) le32_to_cpu(s->cmd->f) 78 #define CMD(f) le32_to_cpu(s->cmd->f)
79 79
@@ -82,7 +82,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c
82 static inline int vmsvga_fifo_empty(struct vmsvga_state_s *s) 82 static inline int vmsvga_fifo_empty(struct vmsvga_state_s *s)
83 { 83 {
84 if (!s->config || !s->enable) 84 if (!s->config || !s->enable)
85@@ -498,11 +500,18 @@ static inline int vmsvga_fifo_empty(stru 85@@ -528,11 +530,18 @@
86 86
87 static inline uint32_t vmsvga_fifo_read_raw(struct vmsvga_state_s *s) 87 static inline uint32_t vmsvga_fifo_read_raw(struct vmsvga_state_s *s)
88 { 88 {
@@ -105,7 +105,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c
105 } 105 }
106 106
107 static inline uint32_t vmsvga_fifo_read(struct vmsvga_state_s *s) 107 static inline uint32_t vmsvga_fifo_read(struct vmsvga_state_s *s)
108@@ -512,12 +521,12 @@ static inline uint32_t vmsvga_fifo_read( 108@@ -542,12 +551,12 @@
109 109
110 static void vmsvga_fifo_run(struct vmsvga_state_s *s) 110 static void vmsvga_fifo_run(struct vmsvga_state_s *s)
111 { 111 {
@@ -120,7 +120,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c
120 case SVGA_CMD_UPDATE: 120 case SVGA_CMD_UPDATE:
121 case SVGA_CMD_UPDATE_VERBOSE: 121 case SVGA_CMD_UPDATE_VERBOSE:
122 x = vmsvga_fifo_read(s); 122 x = vmsvga_fifo_read(s);
123@@ -624,7 +633,7 @@ static void vmsvga_fifo_run(struct vmsvg 123@@ -654,7 +663,7 @@
124 while (args --) 124 while (args --)
125 vmsvga_fifo_read(s); 125 vmsvga_fifo_read(s);
126 printf("%s: Unknown command 0x%02x in SVGA command FIFO\n", 126 printf("%s: Unknown command 0x%02x in SVGA command FIFO\n",
@@ -129,7 +129,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c
129 break; 129 break;
130 } 130 }
131 131
132@@ -1143,6 +1152,12 @@ static void vmsvga_init(struct vmsvga_st 132@@ -1173,6 +1182,12 @@
133 133
134 vga_init_vbe(&s->vga); 134 vga_init_vbe(&s->vga);
135 135
@@ -142,11 +142,11 @@ Index: qemu-0.12.4/hw/vmware_vga.c
142 rom_add_vga(VGABIOS_FILENAME); 142 rom_add_vga(VGABIOS_FILENAME);
143 143
144 vmsvga_reset(s); 144 vmsvga_reset(s);
145Index: qemu-0.12.4/qemu-char.c 145Index: qemu-0.13.0/qemu-char.c
146=================================================================== 146===================================================================
147--- qemu-0.12.4.orig/qemu-char.c 147--- qemu-0.13.0.orig/qemu-char.c 2011-01-17 16:41:59.000000000 +0800
148+++ qemu-0.12.4/qemu-char.c 148+++ qemu-0.13.0/qemu-char.c 2011-01-17 16:42:36.000000000 +0800
149@@ -2235,6 +2235,69 @@ static CharDriverState *qemu_chr_open_so 149@@ -2278,6 +2278,69 @@
150 return NULL; 150 return NULL;
151 } 151 }
152 152
@@ -216,7 +216,7 @@ Index: qemu-0.12.4/qemu-char.c
216 QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename) 216 QemuOpts *qemu_chr_parse_compat(const char *label, const char *filename)
217 { 217 {
218 char host[65], port[33], width[8], height[8]; 218 char host[65], port[33], width[8], height[8];
219@@ -2353,6 +2416,10 @@ QemuOpts *qemu_chr_parse_compat(const ch 219@@ -2396,6 +2459,10 @@
220 qemu_opt_set(opts, "path", filename); 220 qemu_opt_set(opts, "path", filename);
221 return opts; 221 return opts;
222 } 222 }
@@ -227,7 +227,7 @@ Index: qemu-0.12.4/qemu-char.c
227 227
228 fail: 228 fail:
229 qemu_opts_del(opts); 229 qemu_opts_del(opts);
230@@ -2368,6 +2435,7 @@ static const struct { 230@@ -2411,6 +2478,7 @@
231 { .name = "udp", .open = qemu_chr_open_udp }, 231 { .name = "udp", .open = qemu_chr_open_udp },
232 { .name = "msmouse", .open = qemu_chr_open_msmouse }, 232 { .name = "msmouse", .open = qemu_chr_open_msmouse },
233 { .name = "vc", .open = text_console_init }, 233 { .name = "vc", .open = text_console_init },
@@ -235,136 +235,19 @@ Index: qemu-0.12.4/qemu-char.c
235 #ifdef _WIN32 235 #ifdef _WIN32
236 { .name = "file", .open = qemu_chr_open_win_file_out }, 236 { .name = "file", .open = qemu_chr_open_win_file_out },
237 { .name = "pipe", .open = qemu_chr_open_win_pipe }, 237 { .name = "pipe", .open = qemu_chr_open_win_pipe },
238Index: qemu-0.12.4/sdl.c 238Index: qemu-0.13.0/slirp/udp.c
239=================================================================== 239===================================================================
240--- qemu-0.12.4.orig/sdl.c 240--- qemu-0.13.0.orig/slirp/udp.c 2011-01-17 16:41:59.000000000 +0800
241+++ qemu-0.12.4/sdl.c 241+++ qemu-0.13.0/slirp/udp.c 2011-01-17 16:42:36.000000000 +0800
242@@ -58,6 +58,8 @@ static uint8_t allocator;
243 static SDL_PixelFormat host_format;
244 static int scaling_active = 0;
245
246+extern void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window);
247+
248 static void sdl_update(DisplayState *ds, int x, int y, int w, int h)
249 {
250 // printf("updating x=%d y=%d w=%d h=%d\n", x, y, w, h);
251@@ -119,12 +121,22 @@ static void do_sdl_resize(int new_width,
252
253 static void sdl_resize(DisplayState *ds)
254 {
255- if (!allocator) {
256+ SDL_SysWMinfo info;
257+ static Display *dpy;
258+
259+ if (!allocator) {
260 if (!scaling_active)
261 do_sdl_resize(ds_get_width(ds), ds_get_height(ds), 0);
262 else if (real_screen->format->BitsPerPixel != ds_get_bits_per_pixel(ds))
263 do_sdl_resize(real_screen->w, real_screen->h, ds_get_bits_per_pixel(ds));
264 sdl_setdata(ds);
265+
266+ SDL_GetWMInfo(&info);
267+ if (info.subsystem == SDL_SYSWM_X11 && info.info.x11.display &&
268+ (!dpy || dpy == info.info.x11.display)) {
269+ dpy = info.info.x11.display;
270+ opengl_exec_set_parent_window(dpy, info.info.x11.window);
271+ }
272 } else {
273 if (guest_screen != NULL) {
274 SDL_FreeSurface(guest_screen);
275@@ -453,7 +465,7 @@ static void sdl_show_cursor(void)
276
277 if (!kbd_mouse_is_absolute()) {
278 SDL_ShowCursor(1);
279- if (guest_cursor &&
280+ if (guest_cursor && !force_pointer &&
281 (gui_grab || kbd_mouse_is_absolute() || absolute_enabled))
282 SDL_SetCursor(guest_sprite);
283 else
284@@ -464,7 +476,8 @@ static void sdl_show_cursor(void)
285 static void sdl_grab_start(void)
286 {
287 if (guest_cursor) {
288- SDL_SetCursor(guest_sprite);
289+ if (!force_pointer)
290+ SDL_SetCursor(guest_sprite);
291 if (!kbd_mouse_is_absolute() && !absolute_enabled)
292 SDL_WarpMouse(guest_x, guest_y);
293 } else
294@@ -505,8 +518,8 @@ static void sdl_send_mouse_event(int dx,
295 absolute_enabled = 1;
296 }
297
298- dx = x * 0x7FFF / (width - 1);
299- dy = y * 0x7FFF / (height - 1);
300+ dx = x * 0x7FFF / (width - 1);
301+ dy = y * 0x7FFF / (height - 1);
302 } else if (absolute_enabled) {
303 sdl_show_cursor();
304 absolute_enabled = 0;
305@@ -761,7 +774,8 @@ static void sdl_mouse_warp(int x, int y,
306 if (!guest_cursor)
307 sdl_show_cursor();
308 if (gui_grab || kbd_mouse_is_absolute() || absolute_enabled) {
309- SDL_SetCursor(guest_sprite);
310+ if (!force_pointer)
311+ SDL_SetCursor(guest_sprite);
312 if (!kbd_mouse_is_absolute() && !absolute_enabled)
313 SDL_WarpMouse(x, y);
314 }
315@@ -815,7 +829,7 @@ static void sdl_mouse_define(int width,
316 }
317 guest_sprite = SDL_CreateCursor(sprite, mask, width, height, hot_x, hot_y);
318
319- if (guest_cursor &&
320+ if (guest_cursor && !force_pointer &&
321 (gui_grab || kbd_mouse_is_absolute() || absolute_enabled))
322 SDL_SetCursor(guest_sprite);
323 }
324@@ -832,6 +846,7 @@ void sdl_display_init(DisplayState *ds,
325 int flags;
326 uint8_t data = 0;
327 DisplayAllocator *da;
328+ SDL_SysWMinfo info;
329 const SDL_VideoInfo *vi;
330
331 #if defined(__APPLE__)
332@@ -856,6 +871,12 @@ void sdl_display_init(DisplayState *ds,
333 vi = SDL_GetVideoInfo();
334 host_format = *(vi->vfmt);
335
336+ SDL_GetWMInfo(&info);
337+ if (info.subsystem == SDL_SYSWM_X11 && info.info.x11.display)
338+ opengl_exec_set_parent_window(info.info.x11.display,
339+ RootWindow(info.info.x11.display,
340+ DefaultScreen(info.info.x11.display)));
341+
342 dcl = qemu_mallocz(sizeof(DisplayChangeListener));
343 dcl->dpy_update = sdl_update;
344 dcl->dpy_resize = sdl_resize;
345@@ -891,4 +912,9 @@ void sdl_display_init(DisplayState *ds,
346 gui_fullscreen_initial_grab = 1;
347 sdl_grab_start();
348 }
349+
350+ SDL_GetWMInfo(&info);
351+ if (info.subsystem == SDL_SYSWM_X11 && info.info.x11.display)
352+ opengl_exec_set_parent_window(info.info.x11.display,
353+ info.info.x11.window);
354 }
355Index: qemu-0.12.4/slirp/udp.c
356===================================================================
357--- qemu-0.12.4.orig/slirp/udp.c
358+++ qemu-0.12.4/slirp/udp.c
359@@ -40,6 +40,7 @@ 242@@ -40,6 +40,7 @@
360 243
361 #include <slirp.h> 244 #include <slirp.h>
362 #include "ip_icmp.h" 245 #include "ip_icmp.h"
363+#include "bswap.h" 246+#include "bswap.h"
364 247
365 static u_int8_t udp_tos(struct socket *so); 248 static uint8_t udp_tos(struct socket *so);
366 249
367@@ -125,6 +126,11 @@ udp_input(register struct mbuf *m, int i 250@@ -125,6 +126,11 @@
368 goto bad; 251 goto bad;
369 } 252 }
370 253
@@ -376,11 +259,11 @@ Index: qemu-0.12.4/slirp/udp.c
376 if (slirp->restricted) { 259 if (slirp->restricted) {
377 goto bad; 260 goto bad;
378 } 261 }
379Index: qemu-0.12.4/sysemu.h 262Index: qemu-0.13.0/sysemu.h
380=================================================================== 263===================================================================
381--- qemu-0.12.4.orig/sysemu.h 264--- qemu-0.13.0.orig/sysemu.h 2011-01-17 16:41:59.000000000 +0800
382+++ qemu-0.12.4/sysemu.h 265+++ qemu-0.13.0/sysemu.h 2011-01-17 16:42:36.000000000 +0800
383@@ -141,6 +141,7 @@ extern int semihosting_enabled; 266@@ -133,6 +133,7 @@
384 extern int old_param; 267 extern int old_param;
385 extern int boot_menu; 268 extern int boot_menu;
386 extern QEMUClock *rtc_clock; 269 extern QEMUClock *rtc_clock;
@@ -388,10 +271,10 @@ Index: qemu-0.12.4/sysemu.h
388 271
389 #define MAX_NODES 64 272 #define MAX_NODES 64
390 extern int nb_numa_nodes; 273 extern int nb_numa_nodes;
391Index: qemu-0.12.4/target-i386/beginend_funcs.sh 274Index: qemu-0.13.0/target-i386/beginend_funcs.sh
392=================================================================== 275===================================================================
393--- /dev/null 276--- /dev/null 1970-01-01 00:00:00.000000000 +0000
394+++ qemu-0.12.4/target-i386/beginend_funcs.sh 277+++ qemu-0.13.0/target-i386/beginend_funcs.sh 2011-01-17 16:42:36.000000000 +0800
395@@ -0,0 +1,23 @@ 278@@ -0,0 +1,23 @@
396+#! /bin/sh 279+#! /bin/sh
397+# Copyright 2008 (C) Intel Corporation 280+# Copyright 2008 (C) Intel Corporation
@@ -416,10 +299,10 @@ Index: qemu-0.12.4/target-i386/beginend_funcs.sh
416+echo -e MAGIC_MACRO\(glCallList\)\\n 299+echo -e MAGIC_MACRO\(glCallList\)\\n
417+echo -e MAGIC_MACRO\(glCallLists\)\\n 300+echo -e MAGIC_MACRO\(glCallLists\)\\n
418+echo -e MAGIC_MACRO\(glEdgeFlag{,v}\)\\n 301+echo -e MAGIC_MACRO\(glEdgeFlag{,v}\)\\n
419Index: qemu-0.12.4/target-i386/ghash.c 302Index: qemu-0.13.0/target-i386/ghash.c
420=================================================================== 303===================================================================
421--- /dev/null 304--- /dev/null 1970-01-01 00:00:00.000000000 +0000
422+++ qemu-0.12.4/target-i386/ghash.c 305+++ qemu-0.13.0/target-i386/ghash.c 2011-01-17 16:42:36.000000000 +0800
423@@ -0,0 +1,347 @@ 306@@ -0,0 +1,347 @@
424+/* This is a modified and simplified version of original ghash.c */ 307+/* This is a modified and simplified version of original ghash.c */
425+ 308+
@@ -768,10 +651,10 @@ Index: qemu-0.12.4/target-i386/ghash.c
768+ hash_node = next; 651+ hash_node = next;
769+ } 652+ }
770+} 653+}
771Index: qemu-0.12.4/target-i386/ghash.h 654Index: qemu-0.13.0/target-i386/ghash.h
772=================================================================== 655===================================================================
773--- /dev/null 656--- /dev/null 1970-01-01 00:00:00.000000000 +0000
774+++ qemu-0.12.4/target-i386/ghash.h 657+++ qemu-0.13.0/target-i386/ghash.h 2011-01-17 16:42:36.000000000 +0800
775@@ -0,0 +1,59 @@ 658@@ -0,0 +1,59 @@
776+/* This is a modified and simplified version of original ghash.h */ 659+/* This is a modified and simplified version of original ghash.h */
777+ 660+
@@ -832,10 +715,10 @@ Index: qemu-0.12.4/target-i386/ghash.h
832+ 715+
833+#endif /* __SIMPLE_HASH_H__ */ 716+#endif /* __SIMPLE_HASH_H__ */
834+ 717+
835Index: qemu-0.12.4/target-i386/gl_func_perso.h 718Index: qemu-0.13.0/target-i386/gl_func_perso.h
836=================================================================== 719===================================================================
837--- /dev/null 720--- /dev/null 1970-01-01 00:00:00.000000000 +0000
838+++ qemu-0.12.4/target-i386/gl_func_perso.h 721+++ qemu-0.13.0/target-i386/gl_func_perso.h 2011-01-17 16:42:36.000000000 +0800
839@@ -0,0 +1,135 @@ 722@@ -0,0 +1,135 @@
840+/* 723+/*
841+ * Hand-implemented GL/GLX API 724+ * Hand-implemented GL/GLX API
@@ -972,11 +855,11 @@ Index: qemu-0.12.4/target-i386/gl_func_perso.h
972+MAGIC_MACRO(_glGetSelectBuffer_fake), 855+MAGIC_MACRO(_glGetSelectBuffer_fake),
973+MAGIC_MACRO(_glFeedbackBuffer_fake), 856+MAGIC_MACRO(_glFeedbackBuffer_fake),
974+MAGIC_MACRO(_glGetFeedbackBuffer_fake), 857+MAGIC_MACRO(_glGetFeedbackBuffer_fake),
975Index: qemu-0.12.4/target-i386/helper.c 858Index: qemu-0.13.0/target-i386/helper.c
976=================================================================== 859===================================================================
977--- qemu-0.12.4.orig/target-i386/helper.c 860--- qemu-0.13.0.orig/target-i386/helper.c 2011-01-17 16:41:59.000000000 +0800
978+++ qemu-0.12.4/target-i386/helper.c 861+++ qemu-0.13.0/target-i386/helper.c 2011-01-17 16:42:36.000000000 +0800
979@@ -1435,7 +1435,7 @@ target_phys_addr_t cpu_get_phys_page_deb 862@@ -914,7 +914,7 @@
980 } 863 }
981 864
982 page_offset = (addr & TARGET_PAGE_MASK) & (page_size - 1); 865 page_offset = (addr & TARGET_PAGE_MASK) & (page_size - 1);
@@ -985,21 +868,21 @@ Index: qemu-0.12.4/target-i386/helper.c
985 return paddr; 868 return paddr;
986 } 869 }
987 870
988Index: qemu-0.12.4/target-i386/helper.h 871Index: qemu-0.13.0/target-i386/helper.h
989=================================================================== 872===================================================================
990--- qemu-0.12.4.orig/target-i386/helper.h 873--- qemu-0.13.0.orig/target-i386/helper.h 2011-01-17 16:41:59.000000000 +0800
991+++ qemu-0.12.4/target-i386/helper.h 874+++ qemu-0.13.0/target-i386/helper.h 2011-01-17 16:42:36.000000000 +0800
992@@ -217,4 +217,6 @@ DEF_HELPER_2(rclq, tl, tl, tl) 875@@ -217,4 +217,6 @@
993 DEF_HELPER_2(rcrq, tl, tl, tl) 876 DEF_HELPER_2(rcrq, tl, tl, tl)
994 #endif 877 #endif
995 878
996+DEF_HELPER_0(opengl, void) 879+DEF_HELPER_0(opengl, void)
997+ 880+
998 #include "def-helper.h" 881 #include "def-helper.h"
999Index: qemu-0.12.4/target-i386/helper_opengl.c 882Index: qemu-0.13.0/target-i386/helper_opengl.c
1000=================================================================== 883===================================================================
1001--- /dev/null 884--- /dev/null 1970-01-01 00:00:00.000000000 +0000
1002+++ qemu-0.12.4/target-i386/helper_opengl.c 885+++ qemu-0.13.0/target-i386/helper_opengl.c 2011-01-17 16:44:27.000000000 +0800
1003@@ -0,0 +1,1207 @@ 886@@ -0,0 +1,1207 @@
1004+/* 887+/*
1005+ * Host-side implementation of GL/GLX API 888+ * Host-side implementation of GL/GLX API
@@ -1086,7 +969,7 @@ Index: qemu-0.12.4/target-i386/helper_opengl.c
1086+ cpu_x86_handle_mmu_fault((CPUState *) env, addr, 0, 1, 1)); 969+ cpu_x86_handle_mmu_fault((CPUState *) env, addr, 0, 1, 1));
1087+ return NULL; 970+ return NULL;
1088+ } else { 971+ } else {
1089+ if (ret + TARGET_PAGE_SIZE <= last_ram_offset) { 972+ if (ret + TARGET_PAGE_SIZE <= ram_bytes_total()) {
1090+ return qemu_get_ram_ptr(ret + 973+ return qemu_get_ram_ptr(ret +
1091+ (((target_ulong) addr) & (TARGET_PAGE_SIZE - 1))); 974+ (((target_ulong) addr) & (TARGET_PAGE_SIZE - 1)));
1092+ } else { 975+ } else {
@@ -1095,7 +978,7 @@ Index: qemu-0.12.4/target-i386/helper_opengl.c
1095+ TARGET_FMT_lx "\n", addr, ret); 978+ TARGET_FMT_lx "\n", addr, ret);
1096+ fprintf(stderr, 979+ fprintf(stderr,
1097+ "ret=" TARGET_FMT_lx " last_ram_offset= " TARGET_FMT_lx 980+ "ret=" TARGET_FMT_lx " last_ram_offset= " TARGET_FMT_lx
1098+ "\n", ret, (target_ulong) last_ram_offset); 981+ "\n", ret, (target_ulong) ram_bytes_total());
1099+ return NULL; 982+ return NULL;
1100+ } 983+ }
1101+ } 984+ }
@@ -2201,19 +2084,19 @@ Index: qemu-0.12.4/target-i386/helper_opengl.c
2201+ 2084+
2202+ allow_kernel = 0; 2085+ allow_kernel = 0;
2203+ if (kvm_enabled()) 2086+ if (kvm_enabled())
2204+ kvm_arch_put_registers(env); 2087+ kvm_arch_put_registers(env, KVM_PUT_RUNTIME_STATE);
2205+ 2088+
2206+ printf("Granted OpenGL access to process '%s'\n", name); 2089+ printf("Granted OpenGL access to process '%s'\n", name);
2207+ 2090+
2208+ io_register(); 2091+ io_register();
2209+} 2092+}
2210+#endif 2093+#endif
2211Index: qemu-0.12.4/target-i386/kvm.c 2094Index: qemu-0.13.0/target-i386/kvm.c
2212=================================================================== 2095===================================================================
2213--- qemu-0.12.4.orig/target-i386/kvm.c 2096--- qemu-0.13.0.orig/target-i386/kvm.c 2011-01-17 16:41:59.000000000 +0800
2214+++ qemu-0.12.4/target-i386/kvm.c 2097+++ qemu-0.13.0/target-i386/kvm.c 2011-01-17 16:42:36.000000000 +0800
2215@@ -529,7 +529,7 @@ static int kvm_get_fpu(CPUState *env) 2098@@ -746,7 +746,7 @@
2216 return 0; 2099 #endif
2217 } 2100 }
2218 2101
2219-static int kvm_get_sregs(CPUState *env) 2102-static int kvm_get_sregs(CPUState *env)
@@ -2221,10 +2104,10 @@ Index: qemu-0.12.4/target-i386/kvm.c
2221 { 2104 {
2222 struct kvm_sregs sregs; 2105 struct kvm_sregs sregs;
2223 uint32_t hflags; 2106 uint32_t hflags;
2224Index: qemu-0.12.4/target-i386/mesa_enums.c 2107Index: qemu-0.13.0/target-i386/mesa_enums.c
2225=================================================================== 2108===================================================================
2226--- /dev/null 2109--- /dev/null 1970-01-01 00:00:00.000000000 +0000
2227+++ qemu-0.12.4/target-i386/mesa_enums.c 2110+++ qemu-0.13.0/target-i386/mesa_enums.c 2011-01-17 16:42:36.000000000 +0800
2228@@ -0,0 +1,4890 @@ 2111@@ -0,0 +1,4890 @@
2229+/* DO NOT EDIT - This file generated automatically by gl_enums.py (from Mesa) script */ 2112+/* DO NOT EDIT - This file generated automatically by gl_enums.py (from Mesa) script */
2230+ 2113+
@@ -7116,10 +6999,10 @@ Index: qemu-0.12.4/target-i386/mesa_enums.c
7116+} 6999+}
7117+ 7000+
7118+ 7001+
7119Index: qemu-0.12.4/target-i386/mesa_get.c 7002Index: qemu-0.13.0/target-i386/mesa_get.c
7120=================================================================== 7003===================================================================
7121--- /dev/null 7004--- /dev/null 1970-01-01 00:00:00.000000000 +0000
7122+++ qemu-0.12.4/target-i386/mesa_get.c 7005+++ qemu-0.13.0/target-i386/mesa_get.c 2011-01-17 16:42:36.000000000 +0800
7123@@ -0,0 +1,5563 @@ 7006@@ -0,0 +1,5563 @@
7124+ 7007+
7125+/*** 7008+/***
@@ -12684,10 +12567,10 @@ Index: qemu-0.12.4/target-i386/mesa_get.c
12684+ params[i] = (GLdouble) values[i]; 12567+ params[i] = (GLdouble) values[i];
12685+} 12568+}
12686+ 12569+
12687Index: qemu-0.12.4/target-i386/mesa_gl.h 12570Index: qemu-0.13.0/target-i386/mesa_gl.h
12688=================================================================== 12571===================================================================
12689--- /dev/null 12572--- /dev/null 1970-01-01 00:00:00.000000000 +0000
12690+++ qemu-0.12.4/target-i386/mesa_gl.h 12573+++ qemu-0.13.0/target-i386/mesa_gl.h 2011-01-17 16:42:36.000000000 +0800
12691@@ -0,0 +1,2251 @@ 12574@@ -0,0 +1,2251 @@
12692+/* 12575+/*
12693+ * Mesa 3-D graphics library 12576+ * Mesa 3-D graphics library
@@ -14940,10 +14823,10 @@ Index: qemu-0.12.4/target-i386/mesa_gl.h
14940+#endif 14823+#endif
14941+ 14824+
14942+#endif /* __gl_h_ */ 14825+#endif /* __gl_h_ */
14943Index: qemu-0.12.4/target-i386/mesa_glext.h 14826Index: qemu-0.13.0/target-i386/mesa_glext.h
14944=================================================================== 14827===================================================================
14945--- /dev/null 14828--- /dev/null 1970-01-01 00:00:00.000000000 +0000
14946+++ qemu-0.12.4/target-i386/mesa_glext.h 14829+++ qemu-0.13.0/target-i386/mesa_glext.h 2011-01-17 16:42:36.000000000 +0800
14947@@ -0,0 +1,7279 @@ 14830@@ -0,0 +1,7279 @@
14948+#ifndef __glext_h_ 14831+#ifndef __glext_h_
14949+#define __glext_h_ 14832+#define __glext_h_
@@ -22224,10 +22107,10 @@ Index: qemu-0.12.4/target-i386/mesa_glext.h
22224+ 22107+
22225+/* ERO */ 22108+/* ERO */
22226+GLAPI void GLAPIENTRY fake_gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *data); 22109+GLAPI void GLAPIENTRY fake_gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *data);
22227Index: qemu-0.12.4/target-i386/mesa_glu.h 22110Index: qemu-0.13.0/target-i386/mesa_glu.h
22228=================================================================== 22111===================================================================
22229--- /dev/null 22112--- /dev/null 1970-01-01 00:00:00.000000000 +0000
22230+++ qemu-0.12.4/target-i386/mesa_glu.h 22113+++ qemu-0.13.0/target-i386/mesa_glu.h 2011-01-17 16:42:36.000000000 +0800
22231@@ -0,0 +1,354 @@ 22114@@ -0,0 +1,354 @@
22232+/* 22115+/*
22233+** License Applicability. Except to the extent portions of this file are 22116+** License Applicability. Except to the extent portions of this file are
@@ -22583,10 +22466,10 @@ Index: qemu-0.12.4/target-i386/mesa_glu.h
22583+#endif 22466+#endif
22584+ 22467+
22585+#endif /* __glu_h__ */ 22468+#endif /* __glu_h__ */
22586Index: qemu-0.12.4/target-i386/mesa_glx.h 22469Index: qemu-0.13.0/target-i386/mesa_glx.h
22587=================================================================== 22470===================================================================
22588--- /dev/null 22471--- /dev/null 1970-01-01 00:00:00.000000000 +0000
22589+++ qemu-0.12.4/target-i386/mesa_glx.h 22472+++ qemu-0.13.0/target-i386/mesa_glx.h 2011-01-17 16:42:36.000000000 +0800
22590@@ -0,0 +1,510 @@ 22473@@ -0,0 +1,510 @@
22591+/* 22474+/*
22592+ * Mesa 3-D graphics library 22475+ * Mesa 3-D graphics library
@@ -23098,10 +22981,10 @@ Index: qemu-0.12.4/target-i386/mesa_glx.h
23098+#endif 22981+#endif
23099+ 22982+
23100+#endif 22983+#endif
23101Index: qemu-0.12.4/target-i386/mesa_glxext.h 22984Index: qemu-0.13.0/target-i386/mesa_glxext.h
23102=================================================================== 22985===================================================================
23103--- /dev/null 22986--- /dev/null 1970-01-01 00:00:00.000000000 +0000
23104+++ qemu-0.12.4/target-i386/mesa_glxext.h 22987+++ qemu-0.13.0/target-i386/mesa_glxext.h 2011-01-17 16:42:36.000000000 +0800
23105@@ -0,0 +1,785 @@ 22988@@ -0,0 +1,785 @@
23106+#ifndef __glxext_h_ 22989+#ifndef __glxext_h_
23107+#define __glxext_h_ 22990+#define __glxext_h_
@@ -23888,10 +23771,10 @@ Index: qemu-0.12.4/target-i386/mesa_glxext.h
23888+#endif 23771+#endif
23889+ 23772+
23890+#endif 23773+#endif
23891Index: qemu-0.12.4/target-i386/mesa_mipmap.c 23774Index: qemu-0.13.0/target-i386/mesa_mipmap.c
23892=================================================================== 23775===================================================================
23893--- /dev/null 23776--- /dev/null 1970-01-01 00:00:00.000000000 +0000
23894+++ qemu-0.12.4/target-i386/mesa_mipmap.c 23777+++ qemu-0.13.0/target-i386/mesa_mipmap.c 2011-01-17 16:42:36.000000000 +0800
23895@@ -0,0 +1,824 @@ 23778@@ -0,0 +1,824 @@
23896+ 23779+
23897+/* 23780+/*
@@ -24717,10 +24600,10 @@ Index: qemu-0.12.4/target-i386/mesa_mipmap.c
24717+ 24600+
24718+ return retval; 24601+ return retval;
24719+} 24602+}
24720Index: qemu-0.12.4/target-i386/opengl_exec.c 24603Index: qemu-0.13.0/target-i386/opengl_exec.c
24721=================================================================== 24604===================================================================
24722--- /dev/null 24605--- /dev/null 1970-01-01 00:00:00.000000000 +0000
24723+++ qemu-0.12.4/target-i386/opengl_exec.c 24606+++ qemu-0.13.0/target-i386/opengl_exec.c 2011-01-17 16:42:36.000000000 +0800
24724@@ -0,0 +1,3931 @@ 24607@@ -0,0 +1,3931 @@
24725+/* 24608+/*
24726+ * Host-side implementation of GL/GLX API 24609+ * Host-side implementation of GL/GLX API
@@ -28653,10 +28536,10 @@ Index: qemu-0.12.4/target-i386/opengl_exec.c
28653+ 28536+
28654+ return ret_int; 28537+ return ret_int;
28655+} 28538+}
28656Index: qemu-0.12.4/target-i386/opengl_func.h 28539Index: qemu-0.13.0/target-i386/opengl_func.h
28657=================================================================== 28540===================================================================
28658--- /dev/null 28541--- /dev/null 1970-01-01 00:00:00.000000000 +0000
28659+++ qemu-0.12.4/target-i386/opengl_func.h 28542+++ qemu-0.13.0/target-i386/opengl_func.h 2011-01-17 16:42:36.000000000 +0800
28660@@ -0,0 +1,1108 @@ 28543@@ -0,0 +1,1108 @@
28661+/* 28544+/*
28662+ * Main header for both host and guest sides 28545+ * Main header for both host and guest sides
@@ -29766,10 +29649,10 @@ Index: qemu-0.12.4/target-i386/opengl_func.h
29766+#error Unsupported ABI 29649+#error Unsupported ABI
29767+#endif 29650+#endif
29768+#endif 29651+#endif
29769Index: qemu-0.12.4/target-i386/opengl_player.c 29652Index: qemu-0.13.0/target-i386/opengl_player.c
29770=================================================================== 29653===================================================================
29771--- /dev/null 29654--- /dev/null 1970-01-01 00:00:00.000000000 +0000
29772+++ qemu-0.12.4/target-i386/opengl_player.c 29655+++ qemu-0.13.0/target-i386/opengl_player.c 2011-01-17 16:42:36.000000000 +0800
29773@@ -0,0 +1,1461 @@ 29656@@ -0,0 +1,1461 @@
29774+/* 29657+/*
29775+ * Plays a sequence of OpenGL calls recorded either under qemu or with opengl_server 29658+ * Plays a sequence of OpenGL calls recorded either under qemu or with opengl_server
@@ -31232,10 +31115,10 @@ Index: qemu-0.12.4/target-i386/opengl_player.c
31232+ } 31115+ }
31233+ return 0; 31116+ return 0;
31234+} 31117+}
31235Index: qemu-0.12.4/target-i386/opengl_server.c 31118Index: qemu-0.13.0/target-i386/opengl_server.c
31236=================================================================== 31119===================================================================
31237--- /dev/null 31120--- /dev/null 1970-01-01 00:00:00.000000000 +0000
31238+++ qemu-0.12.4/target-i386/opengl_server.c 31121+++ qemu-0.13.0/target-i386/opengl_server.c 2011-01-17 16:42:36.000000000 +0800
31239@@ -0,0 +1,826 @@ 31122@@ -0,0 +1,826 @@
31240+/* 31123+/*
31241+ * TCP/IP OpenGL server 31124+ * TCP/IP OpenGL server
@@ -32063,10 +31946,10 @@ Index: qemu-0.12.4/target-i386/opengl_server.c
32063+ 31946+
32064+ return 0; 31947+ return 0;
32065+} 31948+}
32066Index: qemu-0.12.4/target-i386/opengl_utils.h 31949Index: qemu-0.13.0/target-i386/opengl_utils.h
32067=================================================================== 31950===================================================================
32068--- /dev/null 31951--- /dev/null 1970-01-01 00:00:00.000000000 +0000
32069+++ qemu-0.12.4/target-i386/opengl_utils.h 31952+++ qemu-0.13.0/target-i386/opengl_utils.h 2011-01-17 16:42:36.000000000 +0800
32070@@ -0,0 +1,453 @@ 31953@@ -0,0 +1,453 @@
32071+/* 31954+/*
32072+ * Functions used by host & client sides 31955+ * Functions used by host & client sides
@@ -32521,10 +32404,10 @@ Index: qemu-0.12.4/target-i386/opengl_utils.h
32521+} 32404+}
32522+ 32405+
32523+#endif 32406+#endif
32524Index: qemu-0.12.4/target-i386/parse_gl_h.c 32407Index: qemu-0.13.0/target-i386/parse_gl_h.c
32525=================================================================== 32408===================================================================
32526--- /dev/null 32409--- /dev/null 1970-01-01 00:00:00.000000000 +0000
32527+++ qemu-0.12.4/target-i386/parse_gl_h.c 32410+++ qemu-0.13.0/target-i386/parse_gl_h.c 2011-01-17 16:42:36.000000000 +0800
32528@@ -0,0 +1,1496 @@ 32411@@ -0,0 +1,1496 @@
32529+/* 32412+/*
32530+ * Parse gl.h et glx.h to auto-generate source code 32413+ * Parse gl.h et glx.h to auto-generate source code
@@ -34022,10 +33905,10 @@ Index: qemu-0.12.4/target-i386/parse_gl_h.c
34022+ 33905+
34023+ return 0; 33906+ return 0;
34024+} 33907+}
34025Index: qemu-0.12.4/target-i386/parse_mesa_get_c.c 33908Index: qemu-0.13.0/target-i386/parse_mesa_get_c.c
34026=================================================================== 33909===================================================================
34027--- /dev/null 33910--- /dev/null 1970-01-01 00:00:00.000000000 +0000
34028+++ qemu-0.12.4/target-i386/parse_mesa_get_c.c 33911+++ qemu-0.13.0/target-i386/parse_mesa_get_c.c 2011-01-17 16:42:36.000000000 +0800
34029@@ -0,0 +1,225 @@ 33912@@ -0,0 +1,225 @@
34030+/* 33913+/*
34031+ * Parse the "get.c" from mesa source tree to generate "glgetv_cst.h" 33914+ * Parse the "get.c" from mesa source tree to generate "glgetv_cst.h"
@@ -34252,11 +34135,11 @@ Index: qemu-0.12.4/target-i386/parse_mesa_get_c.c
34252+ fclose(outf); 34135+ fclose(outf);
34253+ return 0; 34136+ return 0;
34254+} 34137+}
34255Index: qemu-0.12.4/target-i386/translate.c 34138Index: qemu-0.13.0/target-i386/translate.c
34256=================================================================== 34139===================================================================
34257--- qemu-0.12.4.orig/target-i386/translate.c 34140--- qemu-0.13.0.orig/target-i386/translate.c 2011-01-17 16:41:59.000000000 +0800
34258+++ qemu-0.12.4/target-i386/translate.c 34141+++ qemu-0.13.0/target-i386/translate.c 2011-01-17 16:42:36.000000000 +0800
34259@@ -743,6 +743,8 @@ static void gen_check_io(DisasContext *s 34142@@ -745,6 +745,8 @@
34260 int state_saved; 34143 int state_saved;
34261 target_ulong next_eip; 34144 target_ulong next_eip;
34262 34145
@@ -34265,8 +34148,8 @@ Index: qemu-0.12.4/target-i386/translate.c
34265 state_saved = 0; 34148 state_saved = 0;
34266 if (s->pe && (s->cpl > s->iopl || s->vm86)) { 34149 if (s->pe && (s->cpl > s->iopl || s->vm86)) {
34267 if (s->cc_op != CC_OP_DYNAMIC) 34150 if (s->cc_op != CC_OP_DYNAMIC)
34268@@ -2676,11 +2678,18 @@ static void gen_exception(DisasContext * 34151@@ -2672,11 +2674,18 @@
34269 s->is_jmp = 3; 34152 s->is_jmp = DISAS_TB_JUMP;
34270 } 34153 }
34271 34154
34272+int enable_gl = 0; 34155+int enable_gl = 0;
@@ -34284,27 +34167,26 @@ Index: qemu-0.12.4/target-i386/translate.c
34284 if (s->cc_op != CC_OP_DYNAMIC) 34167 if (s->cc_op != CC_OP_DYNAMIC)
34285 gen_op_set_cc_op(s->cc_op); 34168 gen_op_set_cc_op(s->cc_op);
34286 gen_jmp_im(cur_eip); 34169 gen_jmp_im(cur_eip);
34287Index: qemu-0.12.4/vl.c 34170Index: qemu-0.13.0/vl.c
34288=================================================================== 34171===================================================================
34289--- qemu-0.12.4.orig/vl.c 34172--- qemu-0.13.0.orig/vl.c 2011-01-17 16:41:59.000000000 +0800
34290+++ qemu-0.12.4/vl.c 34173+++ qemu-0.13.0/vl.c 2011-01-17 16:42:36.000000000 +0800
34291@@ -238,6 +238,7 @@ int semihosting_enabled = 0; 34174@@ -217,12 +217,14 @@
34292 #ifdef TARGET_ARM 34175 int nb_option_roms;
34176 int semihosting_enabled = 0;
34293 int old_param = 0; 34177 int old_param = 0;
34294 #endif
34295+int force_pointer = 0; 34178+int force_pointer = 0;
34296 const char *qemu_name; 34179 const char *qemu_name;
34297 int alt_grab = 0; 34180 int alt_grab = 0;
34298 int ctrl_grab = 0; 34181 int ctrl_grab = 0;
34299@@ -246,6 +247,7 @@ unsigned int nb_prom_envs = 0; 34182 unsigned int nb_prom_envs = 0;
34300 const char *prom_envs[MAX_PROM_ENVS]; 34183 const char *prom_envs[MAX_PROM_ENVS];
34301 #endif
34302 int boot_menu; 34184 int boot_menu;
34303+extern int enable_gl; 34185+extern int enable_gl;
34304 34186
34305 int nb_numa_nodes; 34187 int nb_numa_nodes;
34306 uint64_t node_mem[MAX_NODES]; 34188 uint64_t node_mem[MAX_NODES];
34307@@ -4432,6 +4434,8 @@ static void select_vgahw (const char *p) 34189@@ -1433,6 +1435,8 @@
34308 } else if (strstart(p, "xenfb", &opts)) { 34190 } else if (strstart(p, "xenfb", &opts)) {
34309 vga_interface_type = VGA_XENFB; 34191 vga_interface_type = VGA_XENFB;
34310 } else if (!strstart(p, "none", &opts)) { 34192 } else if (!strstart(p, "none", &opts)) {
@@ -34313,17 +34195,17 @@ Index: qemu-0.12.4/vl.c
34313 invalid_vga: 34195 invalid_vga:
34314 fprintf(stderr, "Unknown vga type: %s\n", p); 34196 fprintf(stderr, "Unknown vga type: %s\n", p);
34315 exit(1); 34197 exit(1);
34316@@ -5563,6 +5567,9 @@ int main(int argc, char **argv, char **e 34198@@ -2535,6 +2539,9 @@
34199 case QEMU_OPTION_old_param:
34317 old_param = 1; 34200 old_param = 1;
34318 break; 34201 break;
34319 #endif
34320+ case QEMU_OPTION_force_pointer: 34202+ case QEMU_OPTION_force_pointer:
34321+ force_pointer = 1; 34203+ force_pointer = 1;
34322+ break; 34204+ break;
34323 case QEMU_OPTION_clock: 34205 case QEMU_OPTION_clock:
34324 configure_alarms(optarg); 34206 configure_alarms(optarg);
34325 break; 34207 break;
34326@@ -5577,6 +5584,12 @@ int main(int argc, char **argv, char **e 34208@@ -2548,6 +2555,12 @@
34327 } 34209 }
34328 configure_rtc(opts); 34210 configure_rtc(opts);
34329 break; 34211 break;
@@ -34336,9 +34218,9 @@ Index: qemu-0.12.4/vl.c
34336 case QEMU_OPTION_tb_size: 34218 case QEMU_OPTION_tb_size:
34337 tb_size = strtol(optarg, NULL, 0); 34219 tb_size = strtol(optarg, NULL, 0);
34338 if (tb_size < 0) 34220 if (tb_size < 0)
34339@@ -5933,6 +5946,14 @@ int main(int argc, char **argv, char **e 34221@@ -2887,6 +2900,14 @@
34340 } 34222 if (foreach_device_config(DEV_USB, usb_parse) < 0)
34341 } 34223 exit(1);
34342 } 34224 }
34343+#ifdef TARGET_OPENGL_OK 34225+#ifdef TARGET_OPENGL_OK
34344+ if (enable_gl) { 34226+ if (enable_gl) {
@@ -34349,24 +34231,24 @@ Index: qemu-0.12.4/vl.c
34349+ } 34231+ }
34350+#endif 34232+#endif
34351 34233
34352 if (foreach_device_config(DEV_SERIAL, serial_parse) < 0) 34234 /* init generic devices */
34353 exit(1); 34235 if (qemu_opts_foreach(&qemu_device_opts, device_init_func, NULL, 1) != 0)
34354Index: qemu-0.12.4/qemu-options.hx 34236Index: qemu-0.13.0/qemu-options.hx
34355=================================================================== 34237===================================================================
34356--- qemu-0.12.4.orig/qemu-options.hx 34238--- qemu-0.13.0.orig/qemu-options.hx 2011-01-17 16:41:59.000000000 +0800
34357+++ qemu-0.12.4/qemu-options.hx 34239+++ qemu-0.13.0/qemu-options.hx 2011-01-17 16:44:27.000000000 +0800
34358@@ -1789,6 +1789,18 @@ many timer interrupts were not processed 34240@@ -2024,6 +2024,18 @@
34359 re-inject them. 34241 re-inject them.
34360 ETEXI 34242 ETEXI
34361 34243
34362+DEF("enable-gl", 0, QEMU_OPTION_enable_gl, \ 34244+DEF("enable-gl", 0, QEMU_OPTION_enable_gl, \
34363+ "-enable-gl\n") 34245+ "-enable-gl\n", QEMU_ARCH_I386)
34364+STEXI 34246+STEXI
34365+@item -enable-gl 34247+@item -enable-gl
34366+ETEXI 34248+ETEXI
34367+ 34249+
34368+DEF("force-pointer", 0, QEMU_OPTION_force_pointer, \ 34250+DEF("force-pointer", 0, QEMU_OPTION_force_pointer, \
34369+ "-force-pointer\n") 34251+ "-force-pointer\n", QEMU_ARCH_ALL)
34370+STEXI 34252+STEXI
34371+@item -force-pointer 34253+@item -force-pointer
34372+ETEXI 34254+ETEXI
@@ -34374,3 +34256,109 @@ Index: qemu-0.12.4/qemu-options.hx
34374 DEF("icount", HAS_ARG, QEMU_OPTION_icount, \ 34256 DEF("icount", HAS_ARG, QEMU_OPTION_icount, \
34375 "-icount [N|auto]\n" \ 34257 "-icount [N|auto]\n" \
34376 " enable virtual instruction counter with 2^N clock ticks per\n" \ 34258 " enable virtual instruction counter with 2^N clock ticks per\n" \
34259Index: qemu-0.13.0/ui/sdl.c
34260===================================================================
34261--- qemu-0.13.0.orig/ui/sdl.c 2011-01-17 16:41:59.000000000 +0800
34262+++ qemu-0.13.0/ui/sdl.c 2011-01-17 16:42:36.000000000 +0800
34263@@ -59,6 +59,8 @@
34264 static int scaling_active = 0;
34265 static Notifier mouse_mode_notifier;
34266
34267+extern void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window);
34268+
34269 static void sdl_update(DisplayState *ds, int x, int y, int w, int h)
34270 {
34271 // printf("updating x=%d y=%d w=%d h=%d\n", x, y, w, h);
34272@@ -121,12 +123,22 @@
34273
34274 static void sdl_resize(DisplayState *ds)
34275 {
34276- if (!allocator) {
34277+ SDL_SysWMinfo info;
34278+ static Display *dpy;
34279+
34280+ if (!allocator) {
34281 if (!scaling_active)
34282 do_sdl_resize(ds_get_width(ds), ds_get_height(ds), 0);
34283 else if (real_screen->format->BitsPerPixel != ds_get_bits_per_pixel(ds))
34284 do_sdl_resize(real_screen->w, real_screen->h, ds_get_bits_per_pixel(ds));
34285 sdl_setdata(ds);
34286+
34287+ SDL_GetWMInfo(&info);
34288+ if (info.subsystem == SDL_SYSWM_X11 && info.info.x11.display &&
34289+ (!dpy || dpy == info.info.x11.display)) {
34290+ dpy = info.info.x11.display;
34291+ opengl_exec_set_parent_window(dpy, info.info.x11.window);
34292+ }
34293 } else {
34294 if (guest_screen != NULL) {
34295 SDL_FreeSurface(guest_screen);
34296@@ -455,7 +467,7 @@
34297
34298 if (!kbd_mouse_is_absolute()) {
34299 SDL_ShowCursor(1);
34300- if (guest_cursor &&
34301+ if (guest_cursor && !force_pointer &&
34302 (gui_grab || kbd_mouse_is_absolute() || absolute_enabled))
34303 SDL_SetCursor(guest_sprite);
34304 else
34305@@ -466,7 +478,8 @@
34306 static void sdl_grab_start(void)
34307 {
34308 if (guest_cursor) {
34309- SDL_SetCursor(guest_sprite);
34310+ if (!force_pointer)
34311+ SDL_SetCursor(guest_sprite);
34312 if (!kbd_mouse_is_absolute() && !absolute_enabled)
34313 SDL_WarpMouse(guest_x, guest_y);
34314 } else
34315@@ -768,7 +781,8 @@
34316 if (!guest_cursor)
34317 sdl_show_cursor();
34318 if (gui_grab || kbd_mouse_is_absolute() || absolute_enabled) {
34319- SDL_SetCursor(guest_sprite);
34320+ if (!force_pointer)
34321+ SDL_SetCursor(guest_sprite);
34322 if (!kbd_mouse_is_absolute() && !absolute_enabled)
34323 SDL_WarpMouse(x, y);
34324 }
34325@@ -796,7 +810,7 @@
34326 qemu_free(image);
34327 qemu_free(mask);
34328
34329- if (guest_cursor &&
34330+ if (guest_cursor && !force_pointer &&
34331 (gui_grab || kbd_mouse_is_absolute() || absolute_enabled))
34332 SDL_SetCursor(guest_sprite);
34333 }
34334@@ -813,6 +827,7 @@
34335 int flags;
34336 uint8_t data = 0;
34337 DisplayAllocator *da;
34338+ SDL_SysWMinfo info;
34339 const SDL_VideoInfo *vi;
34340
34341 #if defined(__APPLE__)
34342@@ -842,6 +857,12 @@
34343 vi = SDL_GetVideoInfo();
34344 host_format = *(vi->vfmt);
34345
34346+ SDL_GetWMInfo(&info);
34347+ if (info.subsystem == SDL_SYSWM_X11 && info.info.x11.display)
34348+ opengl_exec_set_parent_window(info.info.x11.display,
34349+ RootWindow(info.info.x11.display,
34350+ DefaultScreen(info.info.x11.display)));
34351+
34352 dcl = qemu_mallocz(sizeof(DisplayChangeListener));
34353 dcl->dpy_update = sdl_update;
34354 dcl->dpy_resize = sdl_resize;
34355@@ -876,4 +897,9 @@
34356 gui_fullscreen_initial_grab = 1;
34357 sdl_grab_start();
34358 }
34359+
34360+ SDL_GetWMInfo(&info);
34361+ if (info.subsystem == SDL_SYSWM_X11 && info.info.x11.display)
34362+ opengl_exec_set_parent_window(info.info.x11.display,
34363+ info.info.x11.window);
34364 }
diff --git a/meta/recipes-devtools/qemu/qemu-0.13.0/qemu-ppc-hack.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/qemu-ppc-hack.patch
new file mode 100644
index 0000000000..6f45788183
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/qemu-ppc-hack.patch
@@ -0,0 +1,108 @@
1Quick fixes to get the ppc system model to boot a 603e based
2kernel.
3
4Index: qemu-0.13.0/hw/m48t59.c
5===================================================================
6--- qemu-0.13.0.orig/hw/m48t59.c 2010-10-16 04:56:09.000000000 +0800
7+++ qemu-0.13.0/hw/m48t59.c 2011-01-17 16:40:09.000000000 +0800
8@@ -50,6 +50,7 @@
9 */
10
11 struct M48t59State {
12+ SysBusDevice busdev;
13 /* Model parameters */
14 uint32_t type; // 2 = m48t02, 8 = m48t08, 59 = m48t59
15 /* Hardware parameters */
16@@ -74,11 +75,6 @@
17 M48t59State state;
18 } M48t59ISAState;
19
20-typedef struct M48t59SysBusState {
21- SysBusDevice busdev;
22- M48t59State state;
23-} M48t59SysBusState;
24-
25 /* Fake timer functions */
26
27 /* Alarm management */
28@@ -629,8 +625,7 @@
29
30 static void m48t59_reset_sysbus(DeviceState *d)
31 {
32- M48t59SysBusState *sys = container_of(d, M48t59SysBusState, busdev.qdev);
33- M48t59State *NVRAM = &sys->state;
34+ M48t59State *NVRAM = container_of(d, M48t59State, busdev.qdev);
35
36 m48t59_reset_common(NVRAM);
37 }
38@@ -641,7 +636,7 @@
39 {
40 DeviceState *dev;
41 SysBusDevice *s;
42- M48t59SysBusState *d;
43+ M48t59State *d;
44
45 dev = qdev_create(NULL, "m48t59");
46 qdev_prop_set_uint32(dev, "type", type);
47@@ -658,9 +653,9 @@
48 sysbus_mmio_map(s, 0, mem_base);
49 }
50
51- d = FROM_SYSBUS(M48t59SysBusState, s);
52+ d = FROM_SYSBUS(M48t59State, s);
53
54- return &d->state;
55+ return d;
56 }
57
58 M48t59State *m48t59_init_isa(uint32_t io_base, uint16_t size, int type)
59@@ -710,8 +705,7 @@
60
61 static int m48t59_init1(SysBusDevice *dev)
62 {
63- M48t59SysBusState *d = FROM_SYSBUS(M48t59SysBusState, dev);
64- M48t59State *s = &d->state;
65+ M48t59State *s = FROM_SYSBUS(M48t59State, dev);
66 int mem_index;
67
68 sysbus_init_irq(dev, &s->IRQ);
69@@ -740,12 +734,12 @@
70 static SysBusDeviceInfo m48t59_info = {
71 .init = m48t59_init1,
72 .qdev.name = "m48t59",
73- .qdev.size = sizeof(M48t59SysBusState),
74+ .qdev.size = sizeof(M48t59State),
75 .qdev.reset = m48t59_reset_sysbus,
76 .qdev.props = (Property[]) {
77- DEFINE_PROP_UINT32("size", M48t59SysBusState, state.size, -1),
78- DEFINE_PROP_UINT32("type", M48t59SysBusState, state.type, -1),
79- DEFINE_PROP_HEX32( "io_base", M48t59SysBusState, state.io_base, 0),
80+ DEFINE_PROP_UINT32("size", M48t59State, size, -1),
81+ DEFINE_PROP_UINT32("type", M48t59State, type, -1),
82+ DEFINE_PROP_HEX32( "io_base", M48t59State, io_base, 0),
83 DEFINE_PROP_END_OF_LIST(),
84 }
85 };
86Index: qemu-0.13.0/hw/ppc_prep.c
87===================================================================
88--- qemu-0.13.0.orig/hw/ppc_prep.c 2010-10-16 04:56:09.000000000 +0800
89+++ qemu-0.13.0/hw/ppc_prep.c 2011-01-15 18:29:25.000000000 +0800
90@@ -74,7 +74,7 @@
91 /* Constants for devices init */
92 static const int ide_iobase[2] = { 0x1f0, 0x170 };
93 static const int ide_iobase2[2] = { 0x3f6, 0x376 };
94-static const int ide_irq[2] = { 13, 13 };
95+static const int ide_irq[2] = { 13, 14 };
96
97 #define NE2000_NB_MAX 6
98
99@@ -631,9 +631,6 @@
100 if (filename) {
101 qemu_free(filename);
102 }
103- if (env->nip < 0xFFF80000 && bios_size < 0x00100000) {
104- hw_error("PowerPC 601 / 620 / 970 need a 1MB BIOS\n");
105- }
106
107 if (linux_boot) {
108 kernel_base = KERNEL_LOAD_ADDR;
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/qemu-vmware-vga-depth.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/qemu-vmware-vga-depth.patch
index 43071868f3..5bdbaf3937 100644
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/qemu-vmware-vga-depth.patch
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/qemu-vmware-vga-depth.patch
@@ -1,11 +1,11 @@
1# fix VMware VGA driver depth calculation error, which may cause segmentation fault 1# fix VMware VGA driver depth calculation error, which may cause segmentation fault
2# 2#
3# ktian1, 06/29/2010 3# ktian1, 06/29/2010
4diff --git a/console.h b/console.h 4Index: qemu-0.13.0/console.h
5index dfc8ae4..05fbf17 100644 5===================================================================
6--- a/console.h 6--- qemu-0.13.0.orig/console.h 2011-01-17 16:41:58.000000000 +0800
7+++ b/console.h 7+++ qemu-0.13.0/console.h 2011-01-17 16:48:00.000000000 +0800
8@@ -122,6 +122,12 @@ struct DisplayAllocator { 8@@ -171,6 +171,12 @@
9 void (*free_displaysurface)(DisplaySurface *surface); 9 void (*free_displaysurface)(DisplaySurface *surface);
10 }; 10 };
11 11
@@ -18,15 +18,15 @@ index dfc8ae4..05fbf17 100644
18 struct DisplayState { 18 struct DisplayState {
19 struct DisplaySurface *surface; 19 struct DisplaySurface *surface;
20 void *opaque; 20 void *opaque;
21@@ -129,6 +135,7 @@ struct DisplayState { 21@@ -178,6 +184,7 @@
22 22
23 struct DisplayAllocator* allocator; 23 struct DisplayAllocator* allocator;
24 struct DisplayChangeListener* listeners; 24 struct DisplayChangeListener* listeners;
25+ struct DisplayPostCallback* postcalls; 25+ struct DisplayPostCallback* postcalls;
26 26
27 void (*mouse_set)(int x, int y, int on); 27 void (*mouse_set)(int x, int y, int on);
28 void (*cursor_define)(int width, int height, int bpp, int hot_x, int hot_y, 28 void (*cursor_define)(QEMUCursor *cursor);
29@@ -185,6 +192,12 @@ static inline void register_displaychangelistener(DisplayState *ds, DisplayChang 29@@ -229,6 +236,12 @@
30 ds->listeners = dcl; 30 ds->listeners = dcl;
31 } 31 }
32 32
@@ -39,11 +39,11 @@ index dfc8ae4..05fbf17 100644
39 static inline void dpy_update(DisplayState *s, int x, int y, int w, int h) 39 static inline void dpy_update(DisplayState *s, int x, int y, int w, int h)
40 { 40 {
41 struct DisplayChangeListener *dcl = s->listeners; 41 struct DisplayChangeListener *dcl = s->listeners;
42diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c 42Index: qemu-0.13.0/hw/vmware_vga.c
43index 01bb85b..d73cca6 100644 43===================================================================
44--- a/hw/vmware_vga.c 44--- qemu-0.13.0.orig/hw/vmware_vga.c 2011-01-17 16:42:36.000000000 +0800
45+++ b/hw/vmware_vga.c 45+++ qemu-0.13.0/hw/vmware_vga.c 2011-01-17 16:48:00.000000000 +0800
46@@ -927,8 +927,9 @@ static void vmsvga_update_display(void *opaque) 46@@ -957,8 +957,9 @@
47 } 47 }
48 } 48 }
49 49
@@ -54,7 +54,7 @@ index 01bb85b..d73cca6 100644
54 s->index = 0; 54 s->index = 0;
55 s->enable = 0; 55 s->enable = 0;
56 s->config = 0; 56 s->config = 0;
57@@ -1133,6 +1134,8 @@ static const VMStateDescription vmstate_vmware_vga = { 57@@ -1163,6 +1164,8 @@
58 58
59 static void vmsvga_init(struct vmsvga_state_s *s, int vga_ram_size) 59 static void vmsvga_init(struct vmsvga_state_s *s, int vga_ram_size)
60 { 60 {
@@ -63,7 +63,7 @@ index 01bb85b..d73cca6 100644
63 s->scratch_size = SVGA_SCRATCH_SIZE; 63 s->scratch_size = SVGA_SCRATCH_SIZE;
64 s->scratch = qemu_malloc(s->scratch_size * 4); 64 s->scratch = qemu_malloc(s->scratch_size * 4);
65 65
66@@ -1160,7 +1163,10 @@ static void vmsvga_init(struct vmsvga_state_s *s, int vga_ram_size) 66@@ -1190,7 +1193,10 @@
67 67
68 rom_add_vga(VGABIOS_FILENAME); 68 rom_add_vga(VGABIOS_FILENAME);
69 69
@@ -75,11 +75,11 @@ index 01bb85b..d73cca6 100644
75 } 75 }
76 76
77 static void pci_vmsvga_map_ioport(PCIDevice *pci_dev, int region_num, 77 static void pci_vmsvga_map_ioport(PCIDevice *pci_dev, int region_num,
78diff --git a/qemu-common.h b/qemu-common.h 78Index: qemu-0.13.0/qemu-common.h
79index a23afbc..19f107a 100644 79===================================================================
80--- a/qemu-common.h 80--- qemu-0.13.0.orig/qemu-common.h 2011-01-17 16:41:58.000000000 +0800
81+++ b/qemu-common.h 81+++ qemu-0.13.0/qemu-common.h 2011-01-17 16:48:00.000000000 +0800
82@@ -198,6 +198,7 @@ typedef struct DisplayState DisplayState; 82@@ -205,6 +205,7 @@
83 typedef struct DisplayChangeListener DisplayChangeListener; 83 typedef struct DisplayChangeListener DisplayChangeListener;
84 typedef struct DisplaySurface DisplaySurface; 84 typedef struct DisplaySurface DisplaySurface;
85 typedef struct DisplayAllocator DisplayAllocator; 85 typedef struct DisplayAllocator DisplayAllocator;
@@ -87,11 +87,11 @@ index a23afbc..19f107a 100644
87 typedef struct PixelFormat PixelFormat; 87 typedef struct PixelFormat PixelFormat;
88 typedef struct TextConsole TextConsole; 88 typedef struct TextConsole TextConsole;
89 typedef TextConsole QEMUConsole; 89 typedef TextConsole QEMUConsole;
90diff --git a/vl.c b/vl.c 90Index: qemu-0.13.0/vl.c
91index 39182ea..9a3e9fd 100644 91===================================================================
92--- a/vl.c 92--- qemu-0.13.0.orig/vl.c 2011-01-17 16:42:36.000000000 +0800
93+++ b/vl.c 93+++ qemu-0.13.0/vl.c 2011-01-17 16:48:00.000000000 +0800
94@@ -4863,6 +4863,7 @@ int main(int argc, char **argv, char **envp) 94@@ -1814,6 +1814,7 @@
95 char boot_devices[33] = "cad"; /* default to HD->floppy->CD-ROM */ 95 char boot_devices[33] = "cad"; /* default to HD->floppy->CD-ROM */
96 DisplayState *ds; 96 DisplayState *ds;
97 DisplayChangeListener *dcl; 97 DisplayChangeListener *dcl;
@@ -99,7 +99,7 @@ index 39182ea..9a3e9fd 100644
99 int cyls, heads, secs, translation; 99 int cyls, heads, secs, translation;
100 QemuOpts *hda_opts = NULL, *opts; 100 QemuOpts *hda_opts = NULL, *opts;
101 int optind; 101 int optind;
102@@ -6053,6 +6053,13 @@ int main(int argc, char **argv, char **envp) 102@@ -2960,6 +2961,13 @@
103 } 103 }
104 dpy_resize(ds); 104 dpy_resize(ds);
105 105
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/qemugl-allow-glxcontext-release.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/qemugl-allow-glxcontext-release.patch
index 43acc361a0..43acc361a0 100644
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/qemugl-allow-glxcontext-release.patch
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/qemugl-allow-glxcontext-release.patch
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/vmware-vga-fifo-rewind.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/vmware-vga-fifo-rewind.patch
index ef92f54c8b..867e54ba11 100644
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/vmware-vga-fifo-rewind.patch
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/vmware-vga-fifo-rewind.patch
@@ -14,11 +14,11 @@ Date: Fri Sep 10 02:23:31 2010 +0200
14 this should be relatively rare but it is suspected to have been the 14 this should be relatively rare but it is suspected to have been the
15 cause of the occasional FIFO overrun that killed the display. 15 cause of the occasional FIFO overrun that killed the display.
16 16
17Index: qemu-0.12.4/hw/vmware_vga.c 17Index: qemu-0.13.0/hw/vmware_vga.c
18=================================================================== 18===================================================================
19--- qemu-0.12.4.orig/hw/vmware_vga.c 2010-09-30 23:04:34.000000000 +0800 19--- qemu-0.13.0.orig/hw/vmware_vga.c 2011-01-15 18:06:06.000000000 +0800
20+++ qemu-0.12.4/hw/vmware_vga.c 2010-10-01 01:17:02.000000000 +0800 20+++ qemu-0.13.0/hw/vmware_vga.c 2011-01-15 18:17:04.000000000 +0800
21@@ -491,27 +491,37 @@ 21@@ -521,27 +521,37 @@
22 22
23 static uint32_t last_cmd; 23 static uint32_t last_cmd;
24 24
@@ -64,7 +64,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c
64 } 64 }
65 65
66 static inline uint32_t vmsvga_fifo_read(struct vmsvga_state_s *s) 66 static inline uint32_t vmsvga_fifo_read(struct vmsvga_state_s *s)
67@@ -522,13 +532,23 @@ 67@@ -552,13 +562,23 @@
68 static void vmsvga_fifo_run(struct vmsvga_state_s *s) 68 static void vmsvga_fifo_run(struct vmsvga_state_s *s)
69 { 69 {
70 uint32_t colour; 70 uint32_t colour;
@@ -90,7 +90,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c
90 x = vmsvga_fifo_read(s); 90 x = vmsvga_fifo_read(s);
91 y = vmsvga_fifo_read(s); 91 y = vmsvga_fifo_read(s);
92 width = vmsvga_fifo_read(s); 92 width = vmsvga_fifo_read(s);
93@@ -537,6 +557,10 @@ 93@@ -567,6 +587,10 @@
94 break; 94 break;
95 95
96 case SVGA_CMD_RECT_FILL: 96 case SVGA_CMD_RECT_FILL:
@@ -101,7 +101,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c
101 colour = vmsvga_fifo_read(s); 101 colour = vmsvga_fifo_read(s);
102 x = vmsvga_fifo_read(s); 102 x = vmsvga_fifo_read(s);
103 y = vmsvga_fifo_read(s); 103 y = vmsvga_fifo_read(s);
104@@ -546,10 +570,15 @@ 104@@ -576,10 +600,15 @@
105 vmsvga_fill_rect(s, colour, x, y, width, height); 105 vmsvga_fill_rect(s, colour, x, y, width, height);
106 break; 106 break;
107 #else 107 #else
@@ -117,7 +117,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c
117 x = vmsvga_fifo_read(s); 117 x = vmsvga_fifo_read(s);
118 y = vmsvga_fifo_read(s); 118 y = vmsvga_fifo_read(s);
119 dx = vmsvga_fifo_read(s); 119 dx = vmsvga_fifo_read(s);
120@@ -560,10 +589,15 @@ 120@@ -590,10 +619,15 @@
121 vmsvga_copy_rect(s, x, y, dx, dy, width, height); 121 vmsvga_copy_rect(s, x, y, dx, dy, width, height);
122 break; 122 break;
123 #else 123 #else
@@ -133,7 +133,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c
133 cursor.id = vmsvga_fifo_read(s); 133 cursor.id = vmsvga_fifo_read(s);
134 cursor.hot_x = vmsvga_fifo_read(s); 134 cursor.hot_x = vmsvga_fifo_read(s);
135 cursor.hot_y = vmsvga_fifo_read(s); 135 cursor.hot_y = vmsvga_fifo_read(s);
136@@ -572,11 +606,14 @@ 136@@ -602,11 +636,14 @@
137 vmsvga_fifo_read(s); 137 vmsvga_fifo_read(s);
138 cursor.bpp = vmsvga_fifo_read(s); 138 cursor.bpp = vmsvga_fifo_read(s);
139 139
@@ -151,7 +151,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c
151 151
152 for (args = 0; args < SVGA_BITMAP_SIZE(x, y); args ++) 152 for (args = 0; args < SVGA_BITMAP_SIZE(x, y); args ++)
153 cursor.mask[args] = vmsvga_fifo_read_raw(s); 153 cursor.mask[args] = vmsvga_fifo_read_raw(s);
154@@ -595,6 +632,10 @@ 154@@ -625,6 +662,10 @@
155 * for so we can avoid FIFO desync if driver uses them illegally. 155 * for so we can avoid FIFO desync if driver uses them illegally.
156 */ 156 */
157 case SVGA_CMD_DEFINE_ALPHA_CURSOR: 157 case SVGA_CMD_DEFINE_ALPHA_CURSOR:
@@ -162,7 +162,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c
162 vmsvga_fifo_read(s); 162 vmsvga_fifo_read(s);
163 vmsvga_fifo_read(s); 163 vmsvga_fifo_read(s);
164 vmsvga_fifo_read(s); 164 vmsvga_fifo_read(s);
165@@ -609,6 +650,10 @@ 165@@ -639,6 +680,10 @@
166 args = 7; 166 args = 7;
167 goto badcmd; 167 goto badcmd;
168 case SVGA_CMD_DRAW_GLYPH_CLIPPED: 168 case SVGA_CMD_DRAW_GLYPH_CLIPPED:
@@ -173,7 +173,7 @@ Index: qemu-0.12.4/hw/vmware_vga.c
173 vmsvga_fifo_read(s); 173 vmsvga_fifo_read(s);
174 vmsvga_fifo_read(s); 174 vmsvga_fifo_read(s);
175 args = 7 + (vmsvga_fifo_read(s) >> 2); 175 args = 7 + (vmsvga_fifo_read(s) >> 2);
176@@ -629,14 +674,22 @@ 176@@ -659,14 +704,22 @@
177 break; /* Nop */ 177 break; /* Nop */
178 178
179 default: 179 default:
diff --git a/meta/recipes-devtools/qemu/qemu-0.13.0/wacom-tablet-fix.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/wacom-tablet-fix.patch
new file mode 100644
index 0000000000..b8210db2b1
--- /dev/null
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/wacom-tablet-fix.patch
@@ -0,0 +1,65 @@
1qemu 0.13.0 cause seg fault in qemu_remove_mouse_event_handler, this patch from
2upstream can fix it.
3
4Should remove it in next upgrade if necessary.
5
6Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
7
8commit b2d4d8329963b13c5cebe5944dcc99f0e9d1b5c7
9Author: Gerd Hoffmann <kraxel@redhat.com>
10Date: Fri Oct 8 12:30:14 2010 +0200
11
12 wacom tablet: activate event handlers.
13
14 Add qemu_activate_mouse_event_handler() calls to the usb wavom tablet so
15 it actually receives events. Also make sure we only remove the handler
16 if we registered it before.
17
18 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
19 Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
20
21Index: qemu-0.13.0/hw/usb-wacom.c
22===================================================================
23--- qemu-0.13.0.orig/hw/usb-wacom.c 2010-10-16 04:56:09.000000000 +0800
24+++ qemu-0.13.0/hw/usb-wacom.c 2011-01-18 16:58:44.000000000 +0800
25@@ -160,6 +160,7 @@
26 if (!s->mouse_grabbed) {
27 s->eh_entry = qemu_add_mouse_event_handler(usb_mouse_event, s, 0,
28 "QEMU PenPartner tablet");
29+ qemu_activate_mouse_event_handler(s->eh_entry);
30 s->mouse_grabbed = 1;
31 }
32
33@@ -197,6 +198,7 @@
34 if (!s->mouse_grabbed) {
35 s->eh_entry = qemu_add_mouse_event_handler(usb_wacom_event, s, 1,
36 "QEMU PenPartner tablet");
37+ qemu_activate_mouse_event_handler(s->eh_entry);
38 s->mouse_grabbed = 1;
39 }
40
41@@ -334,8 +336,10 @@
42 ret = 0;
43 break;
44 case WACOM_SET_REPORT:
45- qemu_remove_mouse_event_handler(s->eh_entry);
46- s->mouse_grabbed = 0;
47+ if (s->mouse_grabbed) {
48+ qemu_remove_mouse_event_handler(s->eh_entry);
49+ s->mouse_grabbed = 0;
50+ }
51 s->mode = data[0];
52 ret = 0;
53 break;
54@@ -397,7 +401,10 @@
55 {
56 USBWacomState *s = (USBWacomState *) dev;
57
58- qemu_remove_mouse_event_handler(s->eh_entry);
59+ if (s->mouse_grabbed) {
60+ qemu_remove_mouse_event_handler(s->eh_entry);
61+ s->mouse_grabbed = 0;
62+ }
63 }
64
65 static int usb_wacom_initfn(USBDevice *dev)
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/workaround_bad_futex_headers.patch b/meta/recipes-devtools/qemu/qemu-0.13.0/workaround_bad_futex_headers.patch
index 7727a39f37..a08e2d9acd 100644
--- a/meta/recipes-devtools/qemu/qemu-0.12.4/workaround_bad_futex_headers.patch
+++ b/meta/recipes-devtools/qemu/qemu-0.13.0/workaround_bad_futex_headers.patch
@@ -2,11 +2,11 @@
2 linux-user/syscall.c | 10 +++++++++- 2 linux-user/syscall.c | 10 +++++++++-
3 1 file changed, 9 insertions(+), 1 deletion(-) 3 1 file changed, 9 insertions(+), 1 deletion(-)
4 4
5Index: qemu/linux-user/syscall.c 5Index: qemu-0.13.0/linux-user/syscall.c
6=================================================================== 6===================================================================
7--- qemu.orig/linux-user/syscall.c 2010-05-11 16:52:16.929785275 -0400 7--- qemu-0.13.0.orig/linux-user/syscall.c 2011-01-17 16:52:18.000000000 +0800
8+++ qemu/linux-user/syscall.c 2010-05-11 16:52:25.174783517 -0400 8+++ qemu-0.13.0/linux-user/syscall.c 2011-01-17 16:52:20.000000000 +0800
9@@ -94,6 +94,15 @@ 9@@ -99,6 +99,15 @@
10 #define CLONE_NPTL_FLAGS2 0 10 #define CLONE_NPTL_FLAGS2 0
11 #endif 11 #endif
12 12
diff --git a/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb b/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb
index 19fb6f4ff7..23771acf2b 100644
--- a/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb
+++ b/meta/recipes-devtools/qemu/qemu-helper-native_1.0.bb
@@ -1,7 +1,9 @@
1DESCRIPTION = "Qemu helper utilities from Poky" 1DESCRIPTION = "Qemu helper utilities from Poky"
2LICENSE = "GPLv2" 2LICENSE = "GPLv2"
3RDEPENDS = "qemu-native" 3RDEPENDS_${PN} = "qemu-native"
4PR = "r0" 4PR = "r1"
5
6LIC_FILES_CHKSUM = "file://${WORKDIR}/tunctl.c;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999"
5 7
6FILESPATH = "${FILE_DIRNAME}/qemu-helper" 8FILESPATH = "${FILE_DIRNAME}/qemu-helper"
7 9
diff --git a/meta/recipes-devtools/qemu/qemu-helper-nativesdk_1.0.bb b/meta/recipes-devtools/qemu/qemu-helper-nativesdk_1.0.bb
index 791465694b..18d278db7a 100644
--- a/meta/recipes-devtools/qemu/qemu-helper-nativesdk_1.0.bb
+++ b/meta/recipes-devtools/qemu/qemu-helper-nativesdk_1.0.bb
@@ -1,10 +1,14 @@
1DESCRIPTION = "Qemu helper scripts from Poky" 1DESCRIPTION = "Qemu helper scripts from Poky"
2LICENSE = "GPL" 2LICENSE = "GPLv2"
3RDEPENDS = "qemu-nativesdk" 3RDEPENDS_${PN} = "qemu-nativesdk"
4PR = "r8" 4PR = "r9"
5 5
6FILESPATH = "${FILE_DIRNAME}/qemu-helper" 6FILESPATH = "${FILE_DIRNAME}/qemu-helper"
7 7
8LIC_FILES_CHKSUM = "file://${WORKDIR}/tunctl.c;endline=4;md5=ff3a09996bc5fff6bc5d4e0b4c28f999 \
9 file://${POKYBASE}/scripts/poky-qemu;endline=18;md5=ce52af3dd295e20ad1d849611b83690b"
10
11
8SRC_URI = "file://${POKYBASE}/scripts/poky-qemu \ 12SRC_URI = "file://${POKYBASE}/scripts/poky-qemu \
9 file://${POKYBASE}/scripts/poky-qemu-internal \ 13 file://${POKYBASE}/scripts/poky-qemu-internal \
10 file://${POKYBASE}/scripts/poky-addptable2image \ 14 file://${POKYBASE}/scripts/poky-addptable2image \
diff --git a/meta/recipes-devtools/qemu/qemu_0.12.4.bb b/meta/recipes-devtools/qemu/qemu_0.13.0.bb
index 6125bca0d1..945c570f7c 100644
--- a/meta/recipes-devtools/qemu/qemu_0.12.4.bb
+++ b/meta/recipes-devtools/qemu/qemu_0.13.0.bb
@@ -3,7 +3,7 @@ require qemu.inc
3LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ 3LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
4 file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913" 4 file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913"
5 5
6PR = "r23" 6PR = "r0"
7 7
8FILESPATH = "${FILE_DIRNAME}/qemu-${PV}" 8FILESPATH = "${FILE_DIRNAME}/qemu-${PV}"
9FILESDIR = "${WORKDIR}" 9FILESDIR = "${WORKDIR}"
@@ -21,16 +21,15 @@ SRC_URI = "\
21 file://qemu-vmware-vga-depth.patch \ 21 file://qemu-vmware-vga-depth.patch \
22 file://qemu-ppc-hack.patch \ 22 file://qemu-ppc-hack.patch \
23 file://enable-i386-linux-user.patch \ 23 file://enable-i386-linux-user.patch \
24 file://arm-cp15-fix.patch \
25 file://cursor-shadow-fix.patch \
26 file://vmware-vga-fifo-rewind.patch \ 24 file://vmware-vga-fifo-rewind.patch \
27 file://fix-configure-checks.patch \ 25 file://fix-configure-checks.patch \
28 file://powerpc_rom.bin \ 26 file://parallel_make.patch \
29 file://arm_timer-fix-oneshot-mode.patch \ 27 file://wacom-tablet-fix.patch \
30 file://arm_timer-reload-timer-when-enabled.patch" 28 file://port92_fix.patch \
29 file://powerpc_rom.bin"
31 30
32SRC_URI[md5sum] = "93e6b134dff89b2799f57b7d9e0e0fc5" 31SRC_URI[md5sum] = "397a0d665da8ba9d3b9583629f3d6421"
33SRC_URI[sha256sum] = "1a29a5b5151162d1de035c4926d1a1dbffee4a145ef61ee865d6b82aaea0602e" 32SRC_URI[sha256sum] = "1e6f5851b05cea6e377c835f4668408d4124cfb845f9948d922808743c5fd877"
34 33
35do_install_append () { 34do_install_append () {
36 install -d ${D}${datadir}/qemu 35 install -d ${D}${datadir}/qemu
diff --git a/meta/recipes-devtools/rpm/rpm/header-include-fix.patch b/meta/recipes-devtools/rpm/rpm/header-include-fix.patch
new file mode 100644
index 0000000000..92c534e582
--- /dev/null
+++ b/meta/recipes-devtools/rpm/rpm/header-include-fix.patch
@@ -0,0 +1,24 @@
1diff --git a/rpmdb/rpmdb.h b/rpmdb/rpmdb.h
2index 0e1bdd7..8b522bb 100644
3--- a/rpmdb/rpmdb.h
4+++ b/rpmdb/rpmdb.h
5@@ -9,6 +9,7 @@
6
7 #include <assert.h>
8 #include <mire.h>
9+#include <errno.h>
10
11 #include <rpmtypes.h>
12 #include <rpmtag.h> /* XXX Header typedef */
13diff --git a/rpmdb/rpmtag.h b/rpmdb/rpmtag.h
14index 8af6480..2166b4c 100644
15--- a/rpmdb/rpmtag.h
16+++ b/rpmdb/rpmtag.h
17@@ -7,6 +7,7 @@
18
19 #include <rpmiotypes.h>
20 #include <rpmsw.h>
21+#include <stdint.h>
22
23 #ifdef __cplusplus
24 extern "C" {
diff --git a/meta/recipes-devtools/rpm/rpm/rpm-autogen.patch b/meta/recipes-devtools/rpm/rpm/rpm-autogen.patch
new file mode 100644
index 0000000000..323bb7151e
--- /dev/null
+++ b/meta/recipes-devtools/rpm/rpm/rpm-autogen.patch
@@ -0,0 +1,54 @@
1Remove the sanity checking from the rpm autogen.sh. This is required because
2we may have slightly different, but yet compatible versions. If we do end
3up breaking things, we'll deal with it at that time.
4
5Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
6
7diff -ur rpm-5.4.0.orig/autogen.sh rpm-5.4.0/autogen.sh
8--- rpm-5.4.0.orig/autogen.sh 2010-11-02 11:55:53.000000000 -0500
9+++ rpm-5.4.0/autogen.sh 2011-01-06 00:15:05.158946295 -0600
10@@ -34,12 +34,6 @@
11 eval $_libtoolize $_libtoolize_args
12 }
13
14-# requirements sanity check
15-[ "`automake --version | head -1`" != "$AMV" ] && echo "$USAGE" # && exit 1
16-[ "`autoconf --version | head -1`" != "$ACV" ] && echo "$USAGE" # && exit 1
17-[ "`libtoolize --version | head -1`" != "$LTV" ] && echo "$USAGE" # && exit 1
18-[ "`gettextize --version | head -1 | sed -e 's;^.*/\\(gettextize\\);\\1;'`" != "$GTT" ] && echo "$USAGE" # && exit 1
19-
20 for dir in bash beecrypt file neon pcre popt rc syck xar xz; do
21
22 if [ -d $dir ]; then
23diff -ur rpm-5.4.0.orig/neon/autogen.sh rpm-5.4.0/neon/autogen.sh
24--- rpm-5.4.0.orig/neon/autogen.sh 2010-10-30 19:11:33.000000000 -0500
25+++ rpm-5.4.0/neon/autogen.sh 2011-01-06 00:15:17.863962139 -0600
26@@ -34,12 +34,6 @@
27 eval $_libtoolize $_libtoolize_args
28 }
29
30-# requirements sanity check
31-[ "`automake --version | head -1`" != "$AMV" ] && echo "$USAGE" # && exit 1
32-[ "`autoconf --version | head -1`" != "$ACV" ] && echo "$USAGE" # && exit 1
33-[ "`libtoolize --version | head -1`" != "$LTV" ] && echo "$USAGE" # && exit 1
34-[ "`gettextize --version | head -1 | sed -e 's;^.*/\\(gettextize\\);\\1;'`" != "$GTT" ] && echo "$USAGE" # && exit 1
35-
36 echo "---> generate files via GNU libtool (libtoolize)"
37 libtoolize --quiet --copy --force --install
38 echo "---> generate files via GNU autoconf (aclocal, autoheader)"
39diff -ur rpm-5.4.0.orig/syck/autogen.sh rpm-5.4.0/syck/autogen.sh
40--- rpm-5.4.0.orig/syck/autogen.sh 2010-11-02 11:55:56.000000000 -0500
41+++ rpm-5.4.0/syck/autogen.sh 2011-01-06 00:15:27.103949601 -0600
42@@ -34,12 +34,6 @@
43 eval $_libtoolize $_libtoolize_args
44 }
45
46-# requirements sanity check
47-[ "`automake --version | head -1`" != "$AMV" ] && echo "$USAGE" # && exit 1
48-[ "`autoconf --version | head -1`" != "$ACV" ] && echo "$USAGE" # && exit 1
49-[ "`libtoolize --version | head -1`" != "$LTV" ] && echo "$USAGE" # && exit 1
50-[ "`gettextize --version | head -1 | sed -e 's;^.*/\\(gettextize\\);\\1;'`" != "$GTT" ] && echo "$USAGE" # && exit 1
51-
52 echo "---> generate files via GNU libtool (libtoolize)"
53 libtoolize --quiet --copy --force --install
54 echo "---> generate files via GNU autoconf (aclocal, autoheader)"
diff --git a/meta/recipes-devtools/rpm/rpm/rpm-libsql-fix.patch b/meta/recipes-devtools/rpm/rpm/rpm-libsql-fix.patch
new file mode 100644
index 0000000000..829399c95e
--- /dev/null
+++ b/meta/recipes-devtools/rpm/rpm/rpm-libsql-fix.patch
@@ -0,0 +1,18 @@
1During installation, the libtool relink attempts to link to -lrpm...
2The problem is that it hasn't been installed yet! So small change causes
3the libtool to instead use the build version.
4
5Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
6
7--- rpm-5.4.0/lib/Makefile.am.orig
8+++ rpm-5.4.0/lib/Makefile.am
9@@ -90,6 +90,9 @@
10 libsql_la_SOURCES = libsql.c
11 libsql_la_LIBADD = librpm.la $(RPMDB_LDADD_COMMON)
12
13+# pkglib libraries needs to have usrlib libraries already installed!
14+install-pkglibLTLIBRARIES: install-usrlibLTLIBRARIES
15+
16 install-data-hook:
17 if !ENABLE_BUILD_LAFILES
18 -for l in $(usrlib_LTLIBRARIES); do \
diff --git a/meta/recipes-devtools/rpm/rpm/rpm2cpio b/meta/recipes-devtools/rpm/rpm/rpm2cpio
new file mode 100755
index 0000000000..00c4ec549e
--- /dev/null
+++ b/meta/recipes-devtools/rpm/rpm/rpm2cpio
@@ -0,0 +1,51 @@
1#!/bin/sh
2
3pkg=$1
4if [ "$pkg" = "" -o ! -e "$pkg" ]; then
5 echo "no package supplied" 1>&2
6 exit 1
7fi
8
9leadsize=96
10o=`expr $leadsize + 8`
11set `od -j $o -N 8 -t u1 $pkg`
12il=`expr 256 \* \( 256 \* \( 256 \* $2 + $3 \) + $4 \) + $5`
13dl=`expr 256 \* \( 256 \* \( 256 \* $6 + $7 \) + $8 \) + $9`
14# echo "sig il: $il dl: $dl"
15
16sigsize=`expr 8 + 16 \* $il + $dl`
17o=`expr $o + $sigsize + \( 8 - \( $sigsize \% 8 \) \) \% 8 + 8`
18set `od -j $o -N 8 -t u1 $pkg`
19il=`expr 256 \* \( 256 \* \( 256 \* $2 + $3 \) + $4 \) + $5`
20dl=`expr 256 \* \( 256 \* \( 256 \* $6 + $7 \) + $8 \) + $9`
21# echo "hdr il: $il dl: $dl"
22
23hdrsize=`expr 8 + 16 \* $il + $dl`
24o=`expr $o + $hdrsize`
25EXTRACTOR="dd if=$pkg ibs=$o skip=1"
26
27COMPRESSION=`($EXTRACTOR |file -) 2>/dev/null`
28if echo $COMPRESSION |grep -q gzip; then
29 DECOMPRESSOR=gunzip
30elif echo $COMPRESSION |grep -q bzip2; then
31 DECOMPRESSOR=bunzip2
32elif echo $COMPRESSION |grep -q xz; then
33 DECOMPRESSOR=unxz
34elif echo $COMPRESSION |grep -q cpio; then
35 DECOMPRESSOR=cat
36else
37 # Most versions of file don't support LZMA, therefore we assume
38 # anything not detected is LZMA
39 DECOMPRESSOR=`which unlzma 2>/dev/null`
40 case "$DECOMPRESSOR" in
41 /* ) ;;
42 * ) DECOMPRESSOR=`which lzmash 2>/dev/null`
43 case "$DECOMPRESSOR" in
44 /* ) DECOMPRESSOR="lzmash -d -c" ;;
45 * ) DECOMPRESSOR=cat ;;
46 esac
47 ;;
48 esac
49fi
50
51$EXTRACTOR 2>/dev/null | $DECOMPRESSOR
diff --git a/meta/recipes-devtools/rpm/rpm_5.1.10.bb b/meta/recipes-devtools/rpm/rpm_5.1.10.bb
deleted file mode 100644
index efb4eae891..0000000000
--- a/meta/recipes-devtools/rpm/rpm_5.1.10.bb
+++ /dev/null
@@ -1,168 +0,0 @@
1DESCRIPTION = "The RPM Package Manager - relaunched"
2DESCRIPTION_rpm-build = "The RPM Package Manager rpmbuild and related commands."
3HOMEPAGE = "http://rpm5.org/"
4LICENSE = "LGPL 2.1"
5LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
6
7DEPENDS = "zlib perl popt beecrypt python libpcre elfutils"
8PR = "r7"
9
10SRC_URI = "http://www.rpm5.org/files/rpm/rpm-5.1/POKY/${BPN}-${PV}.tar.gz \
11 file://hdraddorappend.patch \
12 file://export-rpmbag-h.patch \
13 file://rpm-nrescan.patch \
14 file://rpm-autoconf.patch \
15 file://remove-compiled-tests.patch;apply=no \
16 file://perfile_rpmdeps.sh \
17 file://rpm-no-loop.patch \
18 "
19
20SRC_URI[md5sum] = "a5deb83b451f11c04461c630937b1189"
21SRC_URI[sha256sum] = "701726a6ae8283fcabc308dae523ad9599388296a562db1b3d7d7c871641af7e"
22inherit autotools gettext
23
24acpaths = "-I ${S}/db/dist/aclocal -I ${S}/db/dist/aclocal_java"
25
26# Specify the default rpm macros in terms of adjustable variables
27rpm_macros = "%{_usrlibrpm}/macros:%{_usrlibrpm}/poky/macros:%{_usrlibrpm}/poky/%{_target}/macros:~/.oerpmmacros"
28
29EXTRA_OECONF = "--with-python=${PYTHON_BASEVERSION} \
30 --with-python-inc-dir=${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \
31 --with-python-lib-dir=${libdir}/python${PYTHON_BASEVERSION} \
32 --with-db=internal \
33 --with-db-tools-integrated \
34 --with-libelf \
35 --with-file=internal \
36 --without-apidocs \
37 --without-selinux \
38 --without-lua \
39 --without-dmalloc \
40 --without-efence \
41 --without-neon \
42 --with-pcre=internal \
43 --with-path-macros=${rpm_macros} \
44 --with-bugreport=http://bugzilla.pokylinux.org"
45
46CFLAGS_append = " -DRPM_VENDOR_WINDRIVER"
47
48PACKAGES =+ "rpm-build python-rpm python-rpm-dbg"
49
50SOLIBS = "5.0.so"
51
52FILES_rpm-build = "${bindir}/*-rpmbuild \
53 ${bindir}/*-gendiff \
54 ${bindir}/*-rpmspecdump \
55 ${libdir}/rpm/helpers/* \
56 ${libdir}/rpm/*brp* \
57 ${libdir}/rpm/*check-files \
58 ${libdir}/rpm/*cross-build \
59 ${libdir}/rpm/*debugedit \
60 ${libdir}/rpm/*dep* \
61 ${libdir}/rpm/*prov* \
62 ${libdir}/rpm/*req* \
63 ${libdir}/rpm/*find* \
64 ${libdir}/rpm/qf/* \
65 "
66
67FILES_python-rpm = "${libdir}/python*/rpm/_*"
68FILES_python-rpm-dbg = "${libdir}/python*/rpm/.debug/_*"
69
70# The mutex needs to be POSIX/pthreads/library or we can't
71# share a database between host and target environments
72# (there is a minor performance penalty, but not one great enough
73# to justify the pain of a more optimized approach!)
74EXTRA_OECONF += "--with-mutex=POSIX/pthreads/library"
75
76do_configure() {
77 # Manually run through the steps of the autogen.sh
78 ( cd pcre
79 libtoolize --quiet --copy --force --install
80 aclocal
81 autoheader
82 automake -Wall -Wno-override -a -c
83 autoconf
84 )
85
86 ( cd xz
87 autopoint -f
88 rm -f \
89 codeset.m4 \
90 glibc2.m4 \
91 glibc21.m4 \
92 intdiv0.m4 \
93 intl.m4 \
94 intldir.m4 \
95 intmax.m4 \
96 inttypes-pri.m4 \
97 inttypes_h.m4 \
98 lcmessage.m4 \
99 lock.m4 \
100 longdouble.m4 \
101 longlong.m4 \
102 printf-posix.m4 \
103 size_max.m4 \
104 stdint_h.m4 \
105 uintmax_t.m4 \
106 ulonglong.m4 \
107 visibility.m4 \
108 wchar_t.m4 \
109 wint_t.m4 \
110 xsize.m4
111 libtoolize -c -f || glibtoolize -c -f
112 aclocal -I m4
113 autoconf
114 autoheader
115 automake -acf --foreign
116 )
117
118 ( cd file
119 libtoolize --quiet --copy --force --install
120 aclocal
121 autoheader
122 automake -Wall -Wno-override -a -c
123 autoconf
124 )
125
126 (cd syck
127 libtoolize --quiet --copy --force --install
128 aclocal
129 autoheader
130 automake -Wall -Wno-override -a -c
131 autoconf
132 )
133
134 (cd xar
135 libtoolize --quiet --copy --force --install
136 aclocal
137 autoheader
138 automake -Wall -Wno-override -a -c
139 autoconf
140 )
141
142 rm -rf autom4te.cache || true
143 libtoolize --quiet --copy --force --install
144 autopoint --force
145 rm -f aclocal.m4
146 aclocal -I m4
147 autoheader -I m4
148 automake -Wall -Wno-override -a -c
149 autoconf -I m4
150 # end of autogen.sh steps
151
152 export ac_cv_va_copy=C99
153 oe_runconf
154}
155
156do_install_append() {
157 sed -i -e 's,%__check_files,#%%__check_files,' ${D}/${libdir}/rpm/macros
158 sed -i -e 's,%__scriptlet_requires,#%%__scriptlet_requires,' ${D}/${libdir}/rpm/macros
159 sed -i -e 's,%__perl_provides,#%%__perl_provides,' ${D}/${libdir}/rpm/macros
160 sed -i -e 's,%__perl_requires,#%%__perl_requires,' ${D}/${libdir}/rpm/macros
161
162 # Enable Debian style arbitrary tags...
163 sed -i -e 's,%_arbitrary_tags[^_].*,%_arbitrary_tags %{_arbitrary_tags_debian},' ${D}/${libdir}/rpm/macros
164
165 install -m 0755 ${WORKDIR}/perfile_rpmdeps.sh ${D}/${libdir}/rpm/perfile_rpmdeps.sh
166}
167
168BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
new file mode 100644
index 0000000000..566325ea4a
--- /dev/null
+++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
@@ -0,0 +1,417 @@
1SUMMARY = "The RPM package management system"
2DESCRIPTION = "The RPM Package Manager (RPM) is a powerful command line driven \
3package management system capable of installing, uninstalling, \
4verifying, querying, and updating software packages. Each software \
5package consists of an archive of files along with information about \
6the package like its version, a description, etc."
7
8SUMMARY_${PN}-libs = "Libraries for manipulating RPM packages."
9DESCRIPTION_${PN}-libs = "This package contains the RPM shared libraries."
10
11SUMMARY_${PN}-dev = "Development files for manipulating RPM packages."
12DESCRIPTION_${PN}-dev = "This package contains the RPM C library and header files. These \
13development files will simplify the process of writing programs that \
14manipulate RPM packages and databases. These files are intended to \
15simplify the process of creating graphical package managers or any \
16other tools that need an intimate knowledge of RPM packages in order \
17to function."
18
19SUMMARY_${PN}-common = "Common RPM paths, scripts, documentation and configuration."
20DESCRIPTION_${PN}-common = "The rpm-common package contains paths, scripts, documentation \
21and configuration common between RPM Package Manager."
22
23SUMMARY_${PN}-build = "Scripts and executable programs used to build packages."
24DESCRIPTION_${PN}-build = "The rpm-build packagec ontains the scripts and executable programs \
25that are used to build packages using the RPM Package Manager."
26
27SUMMARY_python-rpm = "Python bindings for apps which will manupulate RPM packages."
28DESCRIPTION_python-rpm = "The rpm-python package contains a module that permits applications \
29written in the Python programming language to use the interface \
30supplied by the RPM Package Manager libraries."
31
32SUMMARY_perl-module-rpm = "Perl bindings for apps which will manipulate RPM packages."
33DESCRIPTION_perl-modules-rpm = "The perl-modules-rpm package contains a module that permits applications \
34written in the Perl programming language to use the interface \
35supplied by the RPM Package Manager libraries."
36
37SUMMARY_perl-module-rpm-dev = "Development components for perl bindings"
38DESCRIPTION_perl-modules-rpm-dev = "Development items such as man pages for use with the Perl \
39language bindings."
40
41HOMEPAGE = "http://rpm5.org/"
42LICENSE = "LGPL 2.1"
43LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
44
45DEPENDS = "bzip2 zlib python perl db openssl elfutils expat libpcre attr acl popt"
46PR = "r11"
47
48# rpm2cpio is a shell script, which is part of the rpm src.rpm. It is needed
49# in order to extract the distribution SRPM into a format we can extract...
50SRC_URI = "http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.0-0.20101229.src.rpm;unpack=rpm-5.4.0.tar.gz \
51 file://perfile_rpmdeps.sh \
52 file://rpm-autogen.patch \
53 file://rpm-libsql-fix.patch \
54 file://header-include-fix.patch \
55 "
56
57# file://hdraddorappend.patch \
58# file://export-rpmbag-h.patch \
59# file://rpm-nrescan.patch \
60# file://rpm-autoconf.patch \
61# file://remove-compiled-tests.patch;apply=no \
62# file://rpm-no-loop.patch \
63# "
64
65SRC_URI[md5sum] = "19c1a7f68d7765eeb7615c9c4e54e380"
66SRC_URI[sha256sum] = "887e76218308b570c33c8c2fb10b5298b3afd5d602860d281befc85357b3b923"
67
68inherit autotools gettext
69
70acpaths = "-I ${S}/db/dist/aclocal -I ${S}/db/dist/aclocal_java"
71
72# Specify the default rpm macros in terms of adjustable variables
73rpm_macros = "%{_usrlibrpm}/macros:%{_usrlibrpm}/poky/macros:%{_usrlibrpm}/poky/%{_target}/macros:~/.oerpmmacros"
74
75# Configure values taken from rpm.spec
76WITH_BZIP2 = "--with-bzip2"
77
78WITH_XZ = "--without-xz"
79
80WITH_Z = "--with-zlib $WITH_BZIP2 $WITH_XZ"
81
82WITH_PYTHON = " --with-python=${PYTHON_BASEVERSION} \
83 --with-python-inc-dir=${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \
84 --with-python-lib-dir=${libdir}/python${PYTHON_BASEVERSION} \
85 --without-pythonembed \
86 "
87
88WITH_PYTHON_native = " --without-python"
89
90# Perl modules are not built, but they could be enabled fairly easily
91# the perl module creation and installation would need to be patched.
92# (currently has host perl contamination issues)
93#WITH_PERL = " --with-perl --without-perlembed"
94WITH_PERL = " --without-perl"
95
96WITH_PERL_native = " --without-perl"
97
98WITH_DB = "--with-db --with-dbsql --without-db-tools-integrated --without-sqlite"
99
100WITH_CRYPTO = "--with-beecrypt=internal --with-openssl --without-nss --without-gcrypt"
101
102WITH_KEYUTILS = "--without-keyutils"
103WITH_LIBELF = "--with-libelf"
104WITH_SELINUX = "--without-selinux --without-sepol --without-semanage"
105#WITH_NEON = "--with-neon=internal --without-libproxy --with-expat --without-gssapi"
106WITH_NEON = "--without-neon --without-libproxy --without-expat --without-gssapi"
107
108EXTRA_OECONF = "--verbose \
109 --sysconfdir=/etc \
110 ${WITH_DB} \
111 ${WITH_Z} \
112 --with-file \
113 --with-path-magic=/usr/share/misc/magic \
114 --without-lua \
115 --without-tcl \
116 --with-syck=internal \
117 --without-readline \
118 --without-augeas \
119 ${WITH_CRYPTO} \
120 --without-libtasn1 \
121 --without-pakchois \
122 --without-gnutls \
123 ${WITH_NEON} \
124 --with-pcre \
125 --enable-utf8 \
126 --without-uuid \
127 --with-attr \
128 --with-acl \
129 --without-xar \
130 --with-popt=external \
131 ${WITH_KEYUTILS} \
132 --with-pthreads \
133 ${WITH_LIBELF} \
134 --without-cudf \
135 --without-ficl \
136 --without-aterm \
137 --without-nix \
138 --without-bash \
139 --without-rc \
140 --without-js \
141 --without-gpsee \
142 ${WITH_PYTHON} \
143 ${WITH_PERL} \
144 --without-ruby \
145 --without-squirrel \
146 --with-build-extlibdep \
147 --with-build-maxextlibdep \
148 --without-valgrind \
149 --disable-openmp \
150 --enable-build-pic \
151 --enable-build-versionscript \
152 --enable-build-warnings \
153 --enable-build-debug \
154 --enable-maintainer-mode \
155 --with-path-macros=${rpm_macros} \
156 --with-bugreport=http://bugzilla.pokylinux.org"
157
158CFLAGS_append = " -DRPM_VENDOR_WINDRIVER"
159
160PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-libs ${PN}-dev ${PN}-common ${PN}-build python-rpm-dbg python-rpm perl-module-rpm perl-module-rpm-dev ${PN}-locale"
161
162SOLIBS = "5.4.so"
163
164# Based on %files section in the rpm.spec
165
166FILES_${PN} = "${bindir}/rpm \
167 ${bindir}/rpmconstant \
168 ${libdir}/rpm/rpm.* \
169 ${libdir}/rpm/tgpg \
170 ${libdir}/rpm/macros \
171 ${libdir}/rpm/rpmpopt \
172 ${libdir}/rpm/rpmdb_loadcvt \
173 ${libdir}/rpm/rpm2cpio \
174 ${libdir}/rpm/vcheck \
175 ${libdir}/rpm/helpers \
176 ${libdir}/rpm/qf \
177 ${libdir}/rpm/cpuinfo.yaml \
178 ${libdir}/rpm/bin/mtree \
179 ${libdir}/rpm/bin/rpmkey \
180 ${libdir}/rpm/bin/rpmrepo \
181 ${libdir}/rpm/bin/rpmspecdump \
182 ${libdir}/rpm/bin/wget \
183 "
184
185# ${libdir}/rpm/magic \
186# ${libdir}/rpm/magic.mgc \
187# ${libdir}/rpm/magic.mime \
188# ${libdir}/rpm/magic.mime.mgc \
189# ${libdir}/rpm/bin/db_* \
190# ${libdir}/rpm/bin/grep \
191
192FILES_${PN}-dbg = "${bindir}/.debug \
193 ${libdir}/.debug \
194 ${libdir}/rpm/.debug \
195 ${libdir}/rpm/bin/.debug \
196 "
197
198FILES_${PN}-common = "${bindir}/rpm2cpio \
199 ${bindir}/gendiff \
200 /etc/rpm \
201 /var/lib/rpm \
202 /var/spool/repackage \
203 "
204
205FILES_${PN}-libs = "${libdir}/librpm-*.so \
206 ${libdir}/librpmconstant-*.so \
207 ${libdir}/librpmdb-*.so \
208 ${libdir}/librpmio-*.so \
209 ${libdir}/librpmmisc-*.so \
210 ${libdir}/librpmbuild-*.so \
211 "
212
213###%{_rpmhome}/lib/libxar.so.*
214###%{_rpmhome}/lib/libjs.so.*
215###%{_rpmhome}/lib/librpmjsm.so.*
216###%{_rpmhome}/lib/rpmjsm.so
217
218
219FILES_${PN}-build = "${prefix}/src/rpm \
220 ${bindir}/rpmbuild \
221 ${libdir}/rpm/brp-* \
222 ${libdir}/rpm/check-files \
223 ${libdir}/rpm/cross-build \
224 ${libdir}/rpm/find-debuginfo.sh \
225 ${libdir}/rpm/find-lang.sh \
226 ${libdir}/rpm/find-prov.pl \
227 ${libdir}/rpm/find-provides.perl \
228 ${libdir}/rpm/find-req.pl \
229 ${libdir}/rpm/find-requires.perl \
230 ${libdir}/rpm/getpo.sh \
231 ${libdir}/rpm/http.req \
232 ${libdir}/rpm/javadeps.sh \
233 ${libdir}/rpm/mono-find-provides \
234 ${libdir}/rpm/mono-find-requires \
235 ${libdir}/rpm/executabledeps.sh \
236 ${libdir}/rpm/libtooldeps.sh \
237 ${libdir}/rpm/osgideps.pl \
238 ${libdir}/rpm/perldeps.pl \
239 ${libdir}/rpm/perl.prov \
240 ${libdir}/rpm/perl.req \
241 ${libdir}/rpm/php.prov \
242 ${libdir}/rpm/php.req \
243 ${libdir}/rpm/pkgconfigdeps.sh \
244 ${libdir}/rpm/pythondeps.sh \
245 ${libdir}/rpm/bin/debugedit \
246 ${libdir}/rpm/bin/rpmcache \
247 ${libdir}/rpm/bin/rpmcmp \
248 ${libdir}/rpm/bin/rpmdeps \
249 ${libdir}/rpm/bin/rpmdigest \
250 ${libdir}/rpm/bin/abi-compliance-checker.pl \
251 ${libdir}/rpm/bin/api-sanity-autotest.pl \
252 ${libdir}/rpm/bin/chroot \
253 ${libdir}/rpm/bin/cp \
254 ${libdir}/rpm/bin/dbsql \
255 ${libdir}/rpm/bin/find \
256 ${libdir}/rpm/bin/install-sh \
257 ${libdir}/rpm/bin/lua \
258 ${libdir}/rpm/bin/luac \
259 ${libdir}/rpm/bin/mkinstalldirs \
260 ${libdir}/rpm/bin/rpmlua \
261 ${libdir}/rpm/bin/rpmluac \
262 ${libdir}/rpm/bin/sqlite3 \
263 ${libdir}/rpm/lib/liblua.a \
264 ${libdir}/rpm/lib/liblua.la \
265 ${libdir}/rpm/macros.d/cmake \
266 ${libdir}/rpm/macros.d/java \
267 ${libdir}/rpm/macros.d/libtool \
268 ${libdir}/rpm/macros.d/mandriva \
269 ${libdir}/rpm/macros.d/mono \
270 ${libdir}/rpm/macros.d/perl \
271 ${libdir}/rpm/macros.d/php \
272 ${libdir}/rpm/macros.d/pkgconfig \
273 ${libdir}/rpm/macros.d/python \
274 ${libdir}/rpm/macros.d/ruby \
275 ${libdir}/rpm/macros.d/selinux \
276 ${libdir}/rpm/macros.d/tcl \
277 ${libdir}/rpm/macros.rpmbuild \
278 ${libdir}/rpm/u_pkg.sh \
279 ${libdir}/rpm/vpkg-provides.sh \
280 ${libdir}/rpm/vpkg-provides2.sh \
281 ${libdir}/rpm/perfile_rpmdeps.sh \
282 "
283
284#%rpmattr %{_rpmhome}/gem_helper.rb
285#%rpmattr %{_rpmhome}/symclash.*
286
287FILES_python-rpm-dbg = "${libdir}/python*/rpm/.debug/_*"
288FILES_python-rpm = "${libdir}/python*/rpm"
289
290FILES_perl-module-rpm = "${libdir}/perl/*/* \
291 "
292
293FILES_perl-module-rpm-dev = "${prefix}/share/man/man3/RPM* \
294 "
295
296FILE_${PN}-dev = "${includedir}/rpm \
297 ${libdir}/librpm.a \
298 ${libdir}/librpm.la \
299 ${libdir}/librpm.so \
300 ${libdir}/librpmconstant.a \
301 ${libdir}/librpmconstant.la \
302 ${libdir}/librpmconstant.so \
303 ${libdir}/librpmdb.a \
304 ${libdir}/librpmdb.la \
305 ${libdir}/librpmdb.so \
306 ${libdir}/librpmio.a \
307 ${libdir}/librpmio.la \
308 ${libdir}/librpmio.so \
309 ${libdir}/librpmmisc.a \
310 ${libdir}/librpmmisc.la \
311 ${libdir}/librpmmisc.so \
312 ${libdir}/librpmbuild.a \
313 ${libdir}/librpmbuild.la \
314 ${libdir}/librpmbuild.so \
315 ${libdir}/pkgconfig/rpm.pc \
316 "
317
318###%{_rpmhome}/lib/libxar.a
319###%{_rpmhome}/lib/libxar.la
320###%{_rpmhome}/lib/libxar.so
321###%{_rpmhome}/lib/libjs.a
322###%{_rpmhome}/lib/libjs.la
323###%{_rpmhome}/lib/libjs.so
324###%{_rpmhome}/lib/librpmjsm.a
325###%{_rpmhome}/lib/librpmjsm.la
326###%{_rpmhome}/lib/librpmjsm.so
327
328do_configure() {
329 # Disable tests!
330 echo "all:" > tests/Makefile.am
331
332 ./autogen.sh
333
334 oe_runconf
335}
336
337do_install_append() {
338 sed -i -e 's,%__check_files,#%%__check_files,' ${D}/${libdir}/rpm/macros
339 sed -i -e 's,%__scriptlet_requires,#%%__scriptlet_requires,' ${D}/${libdir}/rpm/macros
340 sed -i -e 's,%__perl_provides,#%%__perl_provides,' ${D}/${libdir}/rpm/macros
341 sed -i -e 's,%__perl_requires,#%%__perl_requires,' ${D}/${libdir}/rpm/macros
342
343 # Enable Debian style arbitrary tags...
344 sed -i -e 's,%_arbitrary_tags[^_].*,%_arbitrary_tags %{_arbitrary_tags_debian},' ${D}/${libdir}/rpm/macros
345
346 install -m 0755 ${WORKDIR}/perfile_rpmdeps.sh ${D}/${libdir}/rpm/perfile_rpmdeps.sh
347
348 # Remove unpackaged files (based on list in rpm.spec)
349 rm -f ${D}/${libdir}/rpm/{Specfile.pm,cpanflute,cpanflute2,rpmdiff,rpmdiff.cgi,sql.prov,sql.req,tcl.req,trpm}
350
351 rm -f ${D}/${mandir}/man8/rpmcache.8*
352 rm -f ${D}/${mandir}/man8/rpmgraph.8*
353 rm -f ${D}/${mandir}/*/man8/rpmcache.8*
354 rm -f ${D}/${mandir}/*/man8/rpmgraph.8*
355 rm -rf ${D}/${mandir}/{fr,ko}
356
357 rm -f ${D}/${includedir}/popt.h
358 rm -f ${D}/${libdir}/libpopt.*
359 rm -f ${D}/${libdir}/pkgconfig/popt.pc
360 rm -f ${D}/${datadir}/locale/*/LC_MESSAGES/popt.mo
361 rm -f ${D}/${mandir}/man3/popt.3
362
363 rm -f ${D}/${mandir}/man1/xar.1*
364 rm -f ${D}/${bindir}/xar
365 rm -rf ${D}/${includedir}/xar
366 rm -f ${D}/${libdir}/libxar*
367
368 rm -f ${D}/${bindir}/lz*
369 rm -f ${D}/${bindir}/unlzma
370 rm -f ${D}/${bindir}/unxz
371 rm -f ${D}/${bindir}/xz*
372 rm -rf ${D}/${includedir}/lzma*
373 rm -f ${D}/${mandir}/man1/lz*.1
374 rm -f ${D}/${libdir}/pkgconfig/liblzma*
375
376 rm -f ${D}/${libdir}/python%{with_python_version}/site-packages/*.{a,la}
377 rm -f ${D}/${libdir}/python%{with_python_version}/site-packages/rpm/*.{a,la}
378
379 #find ${D}/${libdir}/perl5 -type f -a \( -name perllocal.pod -o -name .packlist \
380 # -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
381 #find ${D}/${libdir}/perl5 -type d -depth -exec rmdir {} 2>/dev/null ';'
382
383 # We don't want the default macro set
384 rm -rf ${D}/${libdir}/rpm/{i[3456]86*,athlon*,pentium*,x86_64*,alpha*,sparc*,ia64*,ppc*,s390*,armv[34][lb]*,armv[345]*,mips*,noarch*}
385
386 rm -f ${D}/${libdir}/rpm/dbconvert.sh
387
388 rm -f ${D}/${libdir}/rpm/libsqldb.*
389}
390
391do_install_append_virtclass-native() {
392 create_wrapper ${D}/${bindir}/rpm \
393 RPM_USRLIBRPM=${STAGING_LIBDIR_NATIVE}/rpm \
394 RPM_ETCRPM=${STAGING_ETCDIR_NATIVE}/rpm \
395 RPM_LOCALEDIRRPM=${STAGING_DATADIR_NATIVE}/locale
396
397 create_wrapper ${D}/${bindir}/rpm2cpio \
398 RPM_USRLIBRPM=${STAGING_LIBDIR_NATIVE}/rpm \
399 RPM_ETCRPM=${STAGING_ETCDIR_NATIVE}/rpm \
400 RPM_LOCALEDIRRPM=${STAGING_DATADIR_NATIVE}/locale
401
402 create_wrapper ${D}/${bindir}/rpmbuild \
403 RPM_USRLIBRPM=${STAGING_LIBDIR_NATIVE}/rpm \
404 RPM_ETCRPM=${STAGING_ETCDIR_NATIVE}/rpm \
405 RPM_LOCALEDIRRPM=${STAGING_DATADIR_NATIVE}/locale
406
407 create_wrapper ${D}/${bindir}/rpmconstant \
408 RPM_USRLIBRPM=${STAGING_LIBDIR_NATIVE}/rpm \
409 RPM_ETCRPM=${STAGING_ETCDIR_NATIVE}/rpm \
410 RPM_LOCALEDIRRPM=${STAGING_DATADIR_NATIVE}/locale
411
412 # Adjust popt macros to match...
413 cat ${D}/${libdir}/rpm/rpmpopt | sed -e "s,^\(rpm[^ ]*\)\([ ]\),\1.real\2," > ${D}/${libdir}/rpm/rpmpopt.new
414 mv ${D}/${libdir}/rpm/rpmpopt.new ${D}/${libdir}/rpm/rpmpopt
415}
416
417BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/sgml-common/sgml-common-0.6.3/autohell.patch b/meta/recipes-devtools/sgml-common/sgml-common-0.6.3/autohell.patch
new file mode 100644
index 0000000000..1366adabd8
--- /dev/null
+++ b/meta/recipes-devtools/sgml-common/sgml-common-0.6.3/autohell.patch
@@ -0,0 +1,58 @@
1Patch obtained from OpenEmbedded.
2
3Signed-off-by: Scott Garman <scott.a.garman@intel.com>
4--- sgml-common-0.6.3/bin/Makefile.am~autohell.patch 2001-01-30 15:42:21.000000000 +0100
5+++ sgml-common-0.6.3/bin/Makefile.am 2004-06-17 11:51:11.000000000 +0200
6@@ -1,6 +1,5 @@
7 primitive_scripts = sgmlwhich
8
9-bindir = $(prefix)/bin
10 bin_SCRIPTS = install-catalog $(primitive_scripts)
11
12 EXTRA_DIST = install-catalog.in $(primitive_scripts)
13--- /dev/null 2003-09-23 19:59:22.000000000 +0200
14+++ sgml-common-0.6.3/bin/sgmlwhich.in 2004-06-17 11:51:11.000000000 +0200
15@@ -0,0 +1,7 @@
16+#!/bin/sh
17+# Location of the main configuration file for consistency with non-LSB platforms
18+# Send any comments to Eric Bischoff <eric@caldera.de>
19+# This program is under GPL license. See LICENSE file for details.
20+
21+echo "@sysconfdir@/sgml/sgml.conf"
22+# Simple, isn't it? ;-)
23--- /dev/null 2003-09-23 19:59:22.000000000 +0200
24+++ sgml-common-0.6.3/config/sgml.conf.in 2004-06-17 11:51:11.000000000 +0200
25@@ -0,0 +1,2 @@
26+SGML_BASE_DIR=@datadir@/sgml
27+SGML_CATALOGS_DIR=@sysconfdir@/sgml
28--- sgml-common-0.6.3/configure.in~autohell.patch 2001-05-25 18:40:54.000000000 +0200
29+++ sgml-common-0.6.3/configure.in 2004-06-17 11:53:22.000000000 +0200
30@@ -3,11 +3,6 @@
31
32 AM_INIT_AUTOMAKE(sgml-common, 0.6.3)
33
34-docdir='$(prefix)/doc'
35-AC_SUBST(docdir)
36-
37-dnl Checks for programs.
38-
39 dnl Checks for libraries.
40
41 dnl Checks for header files.
42@@ -18,6 +13,5 @@
43
44 AC_OUTPUT(Makefile \
45 bin/Makefile bin/install-catalog \
46- config/Makefile \
47- doc/Makefile doc/HTML/Makefile doc/man/Makefile doc/refentry/Makefile \
48+ config/Makefile config/sgml.conf bin/sgmlwhich \
49 sgml-iso-entities/Makefile xml-iso-entities/Makefile)
50
51--- sgml-common-0.6.3/Makefile.am~no-docs 2001-05-25 18:22:01.000000000 +0200
52+++ sgml-common-0.6.3/Makefile.am 2004-06-17 11:49:09.000000000 +0200
53@@ -1,4 +1,4 @@
54-SUBDIRS = bin config doc sgml-iso-entities xml-iso-entities
55+SUBDIRS = bin config sgml-iso-entities xml-iso-entities
56
57 sgmlcodir = $(prefix)/share/sgml
58 sgmlco_DATA = xml.dcl
diff --git a/meta/recipes-devtools/sgml-common/sgml-common-0.6.3/license.patch b/meta/recipes-devtools/sgml-common/sgml-common-0.6.3/license.patch
new file mode 100644
index 0000000000..ec66aaefa2
--- /dev/null
+++ b/meta/recipes-devtools/sgml-common/sgml-common-0.6.3/license.patch
@@ -0,0 +1,26 @@
1The COPYING file sgml-common ships with is just a symlink to
2/usr/share/automake/COPYING, which means we can't verify it
3using our normal means. We workaround this by using this patch
4to create our own license file.
5
6Upstream was notified about this on 2011-01-24. When upgrading
7this recipe, this should be fixed and you should remove this
8patch.
9
10Signed-off-by: Scott Garman <scott.a.garman@intel.com>
11diff -urN sgml-common-0.6.3.orig/LICENSE-GPLv2 sgml-common-0.6.3/LICENSE-GPLv2
12--- sgml-common-0.6.3.orig/LICENSE-GPLv2 1969-12-31 16:00:00.000000000 -0800
13+++ sgml-common-0.6.3/LICENSE-GPLv2 2011-01-28 17:05:17.299528001 -0800
14@@ -0,0 +1,12 @@
15+Copyright (C) 1997 Christian Schwarz <schwarz@debian.org>.
16+Copyright (C) 2001-2004 Ardo van Rangelrooij <ardo@debian.org>
17+
18+This is free software; you may redistribute it and/or modify it under
19+the terms of the GNU General Public License as published by the Free
20+Software Foundation; either version 2, or (at your option) any later
21+version.
22+
23+This is distributed in the hope that it will be useful, but without
24+any warranty; without even the implied warranty of merchantability or
25+fitness for a particular purpose. See the GNU General Public License
26+for more details.
diff --git a/meta/recipes-devtools/sgml-common/sgml-common-native_0.6.3.bb b/meta/recipes-devtools/sgml-common/sgml-common-native_0.6.3.bb
new file mode 100644
index 0000000000..7e9b923622
--- /dev/null
+++ b/meta/recipes-devtools/sgml-common/sgml-common-native_0.6.3.bb
@@ -0,0 +1,50 @@
1SUMMARY = "Base utilities for working with SGML and XML"
2DESCRIPTION = "The sgml-common package gathers very basic \
3stuff necessary to work with SGML and XML, such as xml.dcl, \
4a SGML declaration of XML; iso-entities, a list of the basic \
5SGML ISO entities; and install-catalog, a script used to \
6add entries to (or remove entries from) centralized catalogs \
7whose entries are pointers to SGML open catalogs, \
8as defined by OASIS."
9HOMEPAGE = "http://sources.redhat.com/docbook-tools/"
10LICENSE = "GPLv2"
11# The COPYING file sgml-common ships with is just a symlink to
12# /usr/share/automake/COPYING, which means we can't verify it
13# using our normal means. :( Hash the README file instead as
14# LIC_FILES_CHKSUM is still required.
15LIC_FILES_CHKSUM = "file://README;md5=197bd940bf13548ac2198e4f77d3da92"
16SECTION = "base"
17
18PR = "r0"
19
20require sgml-common_${PV}.bb
21inherit native
22
23S = "${WORKDIR}/sgml-common-${PV}"
24
25SYSROOT_PREPROCESS_FUNCS += "sgml_common_native_mangle"
26
27do_install_append() {
28 # install-catalog script contains hard-coded references to
29 # {sysconfdir}. Change it to ${D}${sysconfdir}.
30 sed -i -e "s|${sysconfdir}/sgml|${D}${sysconfdir}/sgml|g" ${D}${bindir}/install-catalog
31
32 ${D}${bindir}/install-catalog \
33 --add ${D}${sysconfdir}/sgml/sgml-ent.cat \
34 ${D}${datadir}/sgml/sgml-iso-entities-8879.1986/catalog
35
36 ${D}${bindir}/install-catalog \
37 --add ${D}${sysconfdir}/sgml/sgml-docbook.cat \
38 ${D}${sysconfdir}/sgml/sgml-ent.cat
39}
40
41sgml_common_native_mangle () {
42 # Revert back to ${sysconfdir} path in install-catalog
43 sed -i -e "s|${D}${sysconfdir}/sgml|${sysconfdir}/sgml|g" ${SYSROOT_DESTDIR}${STAGING_BINDIR}/install-catalog
44 # Change path from ${D}${datadir}/sgml/sgml-iso-entities-8879.1986/catalog to ${datadir}/sgml/sgml-iso-entities-8879.1986/catalog in sgml-ent.cat
45 sed -i -e "s|${D}${datadir}/sgml/sgml-iso-entities-8879.1986/catalog|${datadir}/sgml/sgml-iso-entities-8879.1986/catalog|g" ${SYSROOT_DESTDIR}${sysconfdir}/sgml/sgml-ent.cat
46 # Change path from ${D}${sysconfdir}/sgml/sgml-ent.cat|${sysconfdir}/sgml/sgml-ent.cat to ${sysconfdir}/sgml/sgml-ent.cat in sgml-ent.cat
47 sed -i -e "s|${D}${sysconfdir}/sgml/sgml-ent.cat|${sysconfdir}/sgml/sgml-ent.cat|g" ${SYSROOT_DESTDIR}${sysconfdir}/sgml/sgml-docbook.cat
48 # Remove ${D} path from catalog file created by install-catalog script
49 sed -i -e "s|${D}||g" ${SYSROOT_DESTDIR}${sysconfdir}/sgml/catalog
50}
diff --git a/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb b/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb
new file mode 100644
index 0000000000..92014a80ee
--- /dev/null
+++ b/meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb
@@ -0,0 +1,52 @@
1SUMMARY = "Base utilities for working with SGML and XML"
2DESCRIPTION = "The sgml-common package gathers very basic \
3stuff necessary to work with SGML and XML, such as xml.dcl, \
4a SGML declaration of XML; iso-entities, a list of the basic \
5SGML ISO entities; and install-catalog, a script used to \
6add entries to (or remove entries from) centralized catalogs \
7whose entries are pointers to SGML open catalogs, \
8as defined by OASIS."
9HOMEPAGE = "http://sources.redhat.com/docbook-tools/"
10LICENSE = "GPLv2+"
11# See the comments in license.patch when upgrading this recipe.
12# This is inteded to be a temporary workaround.
13LIC_FILES_CHKSUM = "file://LICENSE-GPLv2;md5=ab8a50abe86dfc859e148baae043c89b"
14SECTION = "base"
15
16PR = "r0"
17
18SRC_URI = "ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/sgml-common-${PV}.tgz \
19 file://autohell.patch \
20 file://license.patch"
21
22SRC_URI[md5sum] = "103c9828f24820df86e55e7862e28974"
23SRC_URI[sha256sum] = "7dc418c1d361123ffc5e45d61f1b97257940a8eb35d0bfbbc493381cc5b1f959"
24
25inherit autotools
26
27do_compile_append() {
28 # install-catalog script contains hardcoded references to /etc/sgml
29 sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" bin/install-catalog
30}
31
32FILES_sgml-common_append = " ${datadir}/sgml"
33
34pkg_postinst() {
35 install-catalog \
36 --add ${sysconfdir}/sgml/sgml-ent.cat \
37 ${datadir}/sgml/sgml-iso-entities-8879.1986/catalog
38
39 install-catalog \
40 --add ${sysconfdir}/sgml/sgml-docbook.cat \
41 ${sysconfdir}/sgml/sgml-ent.cat
42}
43
44pkg_postrm() {
45 install-catalog \
46 --remove ${sysconfdir}/sgml/sgml-ent.cat \
47 ${datadir}/sgml/sgml-iso-entities-8879.1986/catalog
48
49 install-catalog \
50 --remove ${sysconfdir}/sgml/sgml-docbook.cat \
51 ${sysconfdir}/sgml/sgml-ent.cat
52}
diff --git a/meta/recipes-devtools/sgmlspl/files/combined.patch b/meta/recipes-devtools/sgmlspl/files/combined.patch
new file mode 100644
index 0000000000..31536f53e6
--- /dev/null
+++ b/meta/recipes-devtools/sgmlspl/files/combined.patch
@@ -0,0 +1,457 @@
1Patch obtained from OpenEmbedded.
2
3Signed-off-by: Scott Garman <scott.a.garman@intel.com>
4--- libsgmls-perl-1.03ii.orig/Makefile
5+++ libsgmls-perl-1.03ii/Makefile
6@@ -94,5 +94,5 @@
7 mv /tmp/${DIST} SGMLSpm
8
9 clean:
10- cd DOC; make clean
11+ #cd DOC; make clean
12 rm -f *~ core *.tar *.tar.gz
13--- libsgmls-perl-1.03ii.orig/Makefile.PL
14+++ libsgmls-perl-1.03ii/Makefile.PL
15@@ -0,0 +1,17 @@
16+use ExtUtils::MakeMaker;
17+# See lib/ExtUtils/MakeMaker.pm for details of how to influence
18+# the contents of the Makefile that is written.
19+WriteMakefile(
20+ 'NAME' => 'SGMLS',
21+ 'VERSION' => '1.03ii',
22+ 'PM' => { 'SGMLS.pm' => '$(INST_LIBDIR)/SGMLS.pm',
23+ 'Output.pm' => '$(INST_LIBDIR)/SGMLS/Output.pm',
24+ 'Refs.pm' => '$(INST_LIBDIR)/SGMLS/Refs.pm',
25+ 'skel.pl' => '$(INST_LIBDIR)/sgmlspl-specs/skel.pl',
26+ },
27+ 'MAN3PODS'=> { 'SGMLS.pm' => '$(INST_MAN3DIR)/SGMLS.3pm',
28+ 'Output.pm' => '$(INST_MAN3DIR)/SGMLS::Output.3pm',
29+ 'Refs.pm' => '$(INST_MAN3DIR)/SGMLS::Refs.3pm',
30+ },
31+ 'EXE_FILES' => [ 'sgmlspl', ],
32+);
33--- libsgmls-perl-1.03ii.orig/Output.pm
34+++ libsgmls-perl-1.03ii/Output.pm
35@@ -5,7 +5,7 @@
36 @ISA = Exporter;
37 @EXPORT = qw(output push_output pop_output);
38
39-$version = '$Id: Output.pm,v 1.6 1995/12/05 12:21:51 david Exp $';
40+$version = '$Id: Output.pm,v 1.1 1999/10/26 19:30:45 ardo Exp $';
41
42 =head1 NAME
43
44--- libsgmls-perl-1.03ii.orig/Refs.pm
45+++ libsgmls-perl-1.03ii/Refs.pm
46@@ -2,11 +2,11 @@
47
48 use Carp;
49
50-$version = '$Id: Refs.pm,v 1.5 1995/12/03 21:28:36 david Exp $';
51+$version = '$Id: Refs.pm,v 1.1 1999/10/26 19:30:45 ardo Exp $';
52
53 =head1 NAME
54
55-SGMLS::Refs
56+SGMLS::Refs - Forward refeence handling
57
58 =head1 SYNOPSIS
59
60--- libsgmls-perl-1.03ii.orig/sgmlspl.1
61+++ libsgmls-perl-1.03ii/sgmlspl.1
62@@ -0,0 +1,47 @@
63+.\" -*- nroff -*-
64+.\" ----------------------------------------------------------------------
65+.TH SGMLSPL 1 "October 26, 1999" "SGMLSPL" "SGMLSPL"
66+.\"
67+.\" ----------------------------------------------------------------------
68+.SH "NAME"
69+sgmlspl \- a simple post-processor for nsgmls
70+.\"
71+.\" ----------------------------------------------------------------------
72+.SH "SYNOPSIS"
73+.B sgmlspl
74+.I "spec file"
75+.\"
76+.\" ----------------------------------------------------------------------
77+.SH "DESCRIPTION"
78+sgmlspl is a sample application to convert SGML documents to other
79+formats by providing a specification file detailing exactly how to
80+handle each element, external data entity, subdocument entity, CDATA
81+string, record end, SDATA string, and processing instruction.
82+
83+To use sgmlspl, prepare a specification file containing regular perl5
84+code. If the SGML document were named doc.sgml, the sgmlspl
85+specification file were named, spec.pl, and the name of the new file
86+were doc.latex, then use the following command in a Unix shell to
87+convert the SGML document:
88+
89+nsgmls doc.sgml | sgmlspl spec.pl > doc.latex
90+
91+sgmlspl will pass any additional arguments on to the specification
92+file, which can then process them in the regular perl5 fashion.
93+.\"
94+.\" ----------------------------------------------------------------------
95+.SH "SEE ALSO"
96+.TP
97+.BR /usr/share/doc/sgmls-doc/sgmlspl/sgmlspl.html
98+sgmlspl documentation in HTML format
99+.TP
100+.BR /usr/share/doc/sgmls-doc/SGMLSpm/sgmls.html
101+SGMLS documentation in HTML format
102+.TP
103+.BR nsgmls (1)
104+.\"
105+.\" ----------------------------------------------------------------------
106+.SH "AUTHOR"
107+Ardo van Rangelrooij <ardo@debian.org>
108+.\"
109+.\" ----------------------------------------------------------------------
110--- libsgmls-perl-1.03ii.orig/sgmlspl
111+++ libsgmls-perl-1.03ii/sgmlspl
112@@ -0,0 +1,323 @@
113+#!/usr/bin/perl
114+########################################################################
115+# sgmlspl: a simple SGML postprocesser for the SGMLS and NSGMLS
116+# parsers (requires SGMLS.pm library).
117+#
118+# Copyright (c) 1995 by David Megginson <dmeggins@aix1.uottawa.ca>
119+#
120+# This program is free software; you can redistribute it and/or modify
121+# it under the terms of the GNU General Public License as published by
122+# the Free Software Foundation; either version 2 of the License, or
123+# (at your option) any later version.
124+#
125+# This program is distributed in the hope that it will be useful,
126+# but WITHOUT ANY WARRANTY; without even the implied warranty of
127+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
128+# GNU General Public License for more details.
129+#
130+# You should have received a copy of the GNU General Public License
131+# along with this program; if not, write to the Free Software
132+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
133+#
134+# $Log: sgmlspl,v $
135+# Revision 1.1 2004/02/23 01:23:07 ardo
136+# Added debian changes for version 1.03ii-27.
137+#
138+# Revision 1.1 2001/04/15 14:42:01 ardo
139+# *** empty log message ***
140+#
141+# Revision 1.8 1995/12/03 21:46:31 david
142+# Eliminated all use of the SGMLS_Event::key method.
143+#
144+# Revision 1.7 1995/11/15 20:22:24 david
145+# Changed "use Output" to "use SGMLS::Output". Qualified the STDIN
146+# filehandle for the SGMLS object with the main:: package name.
147+#
148+# Revision 1.6 1995/08/12 16:15:14 david
149+# Revised version for 1.01 distribution.
150+#
151+# Revision 1.5 1995/04/27 11:52:25 david
152+# Changed 'print' to 'main::output' for re handler; empty string
153+# translates into an empty sub {} rather than a sub printing an empty
154+# string; instead of evaluating every argument as a perl script, take
155+# only the first as a perl script and the rest as its arguments; allow
156+# empty scripts or scripts which do not end with '1;'; pass the event
157+# itself as the second argument to each handler, after the event data.
158+#
159+# Revision 1.4 1995/04/23 14:44:58 david
160+# Use the Output package. Fixed the $version variable.
161+#
162+# Revision 1.3 1995/04/22 21:02:49 david
163+# Added some missing 'last SWITCH;' statements in the sgmls function.
164+#
165+# Revision 1.2 1995/04/22 20:58:48 david
166+# Added $SGMLS_PL::version variable and changed SDATA notation from
167+# [SDATA] to |SDATA|.
168+#
169+# Revision 1.1 1995/04/22 14:40:50 david
170+# Initial revision
171+#
172+########################################################################
173+
174+use SGMLS::Output;
175+
176+package SGMLS_PL;
177+use SGMLS;
178+
179+$version = '$Id: sgmlspl,v 1.1 2004/02/23 01:23:07 ardo Exp $';
180+
181+#
182+# Set up handler defaults.
183+#
184+$start_document_handler = sub {};
185+$end_document_handler = sub {};
186+$start_element_handlers = { '' => sub {} };
187+$end_element_handlers = { '' => sub {} };
188+$cdata_handler = sub { main::output($_[0]); };
189+$sdata_handlers = { '' => sub { main::output($_[0]);} };
190+$re_handler = sub { main::output("\n"); };
191+$pi_handler = sub { '' => sub {} };
192+$entity_handlers = { '' => sub {} };
193+$start_subdoc_handlers = { '' => sub {} };
194+$end_subdoc_handlers = { '' => sub {} };
195+$conforming_handler = sub {};
196+
197+#
198+# Main access point: declare handlers for different SGML events.
199+#
200+# Usage: sgml(event, handler);
201+#
202+# The event may be one of the following strings, or a special pattern.
203+# The generic events are as follow:
204+#
205+# 'start' The beginning of the document.
206+# 'end' The end of the document.
207+# 'start_element' The beginning of an element.
208+# 'end_element' The end of an element.
209+# 'cdata' Regular character data.
210+# 'sdata' Special system-specific data.
211+# 're' A record-end.
212+# 'pi' A processing instruction.
213+# 'entity' An external-entity reference.
214+# 'start_subdoc' The beginning of a subdocument entity.
215+# 'end_subdoc' The end of a subdocument entity.
216+# 'conforming' The document is conforming.
217+#
218+# In addition to these generic events, it is possible to handlers
219+# for certain specific, named events, as follow:
220+#
221+# '<GI>' The beginning of element GI.
222+# '</GI>' The end of element GI.
223+# '[SDATA]' The system-specific data SDATA.
224+# '&ENAME;' A reference to the external entity ENAME.
225+# '{ENAME}' The beginning of the subdocument-entity ENAME.
226+# '{/ENAME}' The end of the subdocument-entity ENAME.
227+#
228+#
229+# The handler may be a string, which will simply be printed when the
230+# event occurs (this is usually useful only for the specific, named
231+# events), or a reference to an anonymous subroutine, which will
232+# receive two arguments: the event data and the event itself. For
233+# example,
234+#
235+# sgml('<FOO>', "\n\\begin{foo}\n");
236+#
237+# and
238+#
239+# sgml('<FOO>', sub { output("\n\\begin{foo}\n"); });
240+#
241+# will have identical results.
242+#
243+sub main::sgml {
244+ my ($spec,$handler) = (@_);
245+ if (ref($handler) ne 'CODE') {
246+ $handler =~ s/\\/\\\\/g;
247+ $handler =~ s/'/\\'/g;
248+ if ($handler eq '') {
249+ $handler = sub {};
250+ } else {
251+ $handler = eval "sub { main::output('$handler'); };";
252+ }
253+ }
254+ SWITCH: {
255+ # start-document handler
256+ $spec eq 'start' && do {
257+ $start_document_handler = $handler;
258+ last SWITCH;
259+ };
260+ # end-document handler
261+ $spec eq 'end' && do {
262+ $end_document_handler = $handler;
263+ last SWITCH;
264+ };
265+ # start-element handler
266+ $spec =~ /^<([^\/].*|)>$/ && do {
267+ $start_element_handlers->{$1} = $handler;
268+ last SWITCH;
269+ };
270+ # generic start-element handler
271+ $spec eq 'start_element' && do {
272+ $start_element_handlers->{''} = $handler;
273+ last SWITCH;
274+ };
275+ # end-element handler
276+ $spec =~ /^<\/(.*)>$/ && do {
277+ $end_element_handlers->{$1} = $handler;
278+ last SWITCH;
279+ };
280+ # generic end-element handler
281+ $spec =~ 'end_element' && do {
282+ $end_element_handlers->{''} = $handler;
283+ last SWITCH;
284+ };
285+ # cdata handler
286+ $spec eq 'cdata' && do {
287+ $cdata_handler = $handler;
288+ last SWITCH;
289+ };
290+ # sdata handler
291+ $spec =~ /^\|(.*)\|$/ && do {
292+ $sdata_handlers->{$1} = $handler;
293+ last SWITCH;
294+ };
295+ # generic sdata handler
296+ $spec eq 'sdata' && do {
297+ $sdata_handlers->{''} = $handler;
298+ last SWITCH;
299+ };
300+ # record-end handler
301+ $spec eq 're' && do {
302+ $re_handler = $handler;
303+ last SWITCH;
304+ };
305+ # processing-instruction handler
306+ $spec eq 'pi' && do {
307+ $pi_handler = $handler;
308+ last SWITCH;
309+ };
310+ # entity-reference handler
311+ $spec =~ /^\&(.*);$/ && do {
312+ $entity_handlers->{$1} = $handler;
313+ last SWITCH;
314+ };
315+ # generic entity-reference handler
316+ $spec eq 'entity' && do {
317+ $entity_handlers->{''} = $handler;
318+ last SWITCH;
319+ };
320+ # start-subdoc handler
321+ $spec =~ /^\{([^\/].*|)\}$/ && do {
322+ $start_subdoc_handlers->{$1} = $handler;
323+ last SWITCH;
324+ };
325+ # generic start-subdoc handler
326+ $spec eq 'start_subdoc' && do {
327+ $start_subdoc_handlers->{''} = $handler;
328+ last SWITCH;
329+ };
330+ # end-subdoc handler
331+ $spec =~ /^\{\/(.*)\}$/ && do {
332+ $end_subdoc_handlers->{$1} = $handler;
333+ last SWITCH;
334+ };
335+ # generic end-subdoc handler
336+ $spec eq 'end_subdoc' && do {
337+ $end_subdoc_handlers->{''} = $handler;
338+ last SWITCH;
339+ };
340+ # conforming handler
341+ $spec eq 'conforming' && do {
342+ $conforming_handler = $handler;
343+ last SWITCH;
344+ };
345+
346+ die "Bad SGML handler pattern: $spec\n";
347+ }
348+}
349+
350+
351+#
352+# The first argument on the command line is a perl module which will be
353+# read here and evaluated in the 'main' package -- everything else will
354+# be an argument to it.
355+#
356+package main;
357+
358+$ARGV = shift;
359+unless ($ARGV eq '' || do 'sgmlspl-specs/' . $ARGV || do $ARGV) {
360+ if (!-e $ARGV) {
361+ die "FATAL: $ARGV does not exist.\n";
362+ } elsif (!-r $ARGV) {
363+ die "FATAL: $ARGV exists but is read-protected.\n";
364+ } elsif ($@) {
365+ die "FATAL: $@\n";
366+ }
367+}
368+
369+
370+#
371+# Do the actual work, using the SGMLS package.
372+#
373+package SGMLS_PL;
374+
375+$parse = new SGMLS(main::STDIN); # a new parse object
376+
377+&{$start_document_handler}(); # run the start handler.
378+
379+ # run the appropriate handler for each
380+ # event
381+while ($event = $parse->next_event) {
382+ my $type = $event->type;
383+ SWITCH: {
384+ $type eq 'start_element' && do {
385+ &{($start_element_handlers->{$event->data->name}||
386+ $start_element_handlers->{''} || sub {})}($event->data,$event);
387+ last SWITCH;
388+ };
389+ $type eq 'end_element' && do {
390+ &{($end_element_handlers->{$event->data->name}||
391+ $end_element_handlers->{''} || sub {})}($event->data,$event);
392+ last SWITCH;
393+ };
394+ $type eq 'cdata' && do {
395+ &{$cdata_handler}($event->data,$event);
396+ last SWITCH;
397+ };
398+ $type eq 'sdata' && do {
399+ &{($sdata_handlers->{$event->data}||
400+ $sdata_handlers->{''} || sub {})}($event->data,$event);
401+ last SWITCH;
402+ };
403+ $type eq 're' && do {
404+ &{$re_handler}($event->data,$event);
405+ last SWITCH;
406+ };
407+ $type eq 'pi' && do {
408+ &{$pi_handler}($event->data,$event);
409+ last SWITCH;
410+ };
411+ $type eq 'entity' && do {
412+ &{($entity_handlers->{$event->data->name}||
413+ $entity_handlers->{''} || sub {})}($event->data,$event);
414+ last SWITCH;
415+ };
416+ $type eq 'start_subdoc' && do {
417+ &{($start_subdoc_handlers->{$event->data->name}||
418+ $start_subdoc_handlers->{''} || sub {})}($event->data,$event);
419+ last SWITCH;
420+ };
421+ $type eq 'end_subdoc' && do {
422+ &{($end_subdoc_handlers->{$event->data->name}||
423+ $end_subdoc_handlers->{''} || sub {})}($event->data,$event);
424+ last SWITCH;
425+ };
426+ $type eq 'conforming' && do {
427+ &{$conforming_handler}($event->data,$event);
428+ last SWITCH;
429+ };
430+
431+ die "Unknown SGML event type: $type\n";
432+ }
433+}
434+
435+&{$end_document_handler}(); # run the end handler
436--- libsgmls-perl-1.03ii.orig/sgmlspl.pl
437+++ libsgmls-perl-1.03ii/sgmlspl.pl
438@@ -238,7 +238,7 @@
439 package main;
440
441 $ARGV = shift;
442-unless ($ARGV eq '' || do $ARGV) {
443+unless ($ARGV eq '' || do 'sgmlspl-specs/' . $ARGV || do $ARGV) {
444 if (!-e $ARGV) {
445 die "FATAL: $ARGV does not exist.\n";
446 } elsif (!-r $ARGV) {
447--- libsgmls-perl-1.03ii.orig/SGMLS.pm
448+++ libsgmls-perl-1.03ii/SGMLS.pm
449@@ -1,7 +1,7 @@
450 package SGMLS;
451 use Carp;
452
453-$version = '$Revision: 1.14 $';
454+$version = '$Revision: 1.1 $';
455
456 =head1 NAME
457
diff --git a/meta/recipes-devtools/sgmlspl/sgmlspl-native_1.03ii.bb b/meta/recipes-devtools/sgmlspl/sgmlspl-native_1.03ii.bb
new file mode 100644
index 0000000000..1fab417f94
--- /dev/null
+++ b/meta/recipes-devtools/sgmlspl/sgmlspl-native_1.03ii.bb
@@ -0,0 +1,17 @@
1SUMMARY = "A simple post-processor for SGMLS and NSGMLS"
2DESCRIPTION = "A simple post-processor for SGMLS and NSGMLS"
3HOMEPAGE = "http://search.cpan.org/src/DMEGG/SGMLSpm-1.03ii/DOC/HTML/SGMLSpm/sgmlspm.html"
4SECTION = "libs"
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
7PR = "r0"
8
9SRC_URI = "http://www.cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-${PV}.tar.gz \
10 file://combined.patch"
11
12SRC_URI[md5sum] = "5bcb197fd42e67d51c739b1414d514a7"
13SRC_URI[sha256sum] = "f06895c0206dada9f9e7f07ecaeb6a3651fd648f4820f49c1f76bfeaec2f2913"
14
15S = "${WORKDIR}/SGMLSpm"
16
17inherit native cpan
diff --git a/meta/recipes-devtools/subversion/subversion/disable-revision-install.patch b/meta/recipes-devtools/subversion/subversion/disable-revision-install.patch
index a1c60654cb..ad716d05ff 100644
--- a/meta/recipes-devtools/subversion/subversion/disable-revision-install.patch
+++ b/meta/recipes-devtools/subversion/subversion/disable-revision-install.patch
@@ -1,6 +1,8 @@
1--- subversion-1.2.0-r0/Makefile.in.old 2005-07-17 22:28:21.898728312 +0200 1Index: subversion-1.6.15/Makefile.in
2+++ subversion-1.2.0-r0/Makefile.in 2005-07-17 22:30:05.361999504 +0200 2===================================================================
3@@ -260,7 +260,7 @@ 3--- subversion-1.6.15.orig/Makefile.in 2010-11-17 06:47:23.000000000 -0800
4+++ subversion-1.6.15/Makefile.in 2011-01-31 10:11:07.358779686 -0800
5@@ -305,7 +305,7 @@
4 clean: external-clean local-clean 6 clean: external-clean local-clean
5 distclean: external-distclean local-distclean 7 distclean: external-distclean local-distclean
6 extraclean: external-extraclean local-extraclean 8 extraclean: external-extraclean local-extraclean
@@ -9,14 +11,24 @@
9 11
10 @INCLUDE_OUTPUTS@ 12 @INCLUDE_OUTPUTS@
11 13
12@@ -320,8 +320,8 @@ 14@@ -363,13 +363,13 @@
13 local-install: @INSTALL_RULES@ 15 local-install: @INSTALL_RULES@
14 16
15 ### HACK!! Find a better way to do this 17 ### HACK!! Find a better way to do this
16-revision-install: 18-revision-install:
17- subversion/svnversion/svnversion $(top_srcdir) /repos/svn/trunk > $(DESTDIR)$(includedir)/subversion-1/svn-revision.txt 19- test -d $(DESTDIR)$(includedir)/subversion-1 || \
20- $(MKDIR) $(DESTDIR)$(includedir)/subversion-1
21- (subversion/svnversion/svnversion $(top_srcdir) || \
22- svnversion $(top_srcdir) || \
23- echo "unknown"; \
24- ) > $(DESTDIR)$(includedir)/subversion-1/svn-revision.txt
18+#revision-install: 25+#revision-install:
19+# subversion/svnversion/svnversion $(top_srcdir) /repos/svn/trunk > $(DESTDIR)$(includedir)/subversion-1/svn-revision.txt 26+# test -d $(DESTDIR)$(includedir)/subversion-1 || \
27+# $(MKDIR) $(DESTDIR)$(includedir)/subversion-1
28+# (subversion/svnversion/svnversion $(top_srcdir) || \
29+# svnversion $(top_srcdir) || \
30+# echo "unknown"; \
31+# ) > $(DESTDIR)$(includedir)/subversion-1/svn-revision.txt
20 32
21 install-static: @INSTALL_STATIC_RULES@ 33 install-static: @INSTALL_STATIC_RULES@
22 34
diff --git a/meta/recipes-devtools/subversion/subversion_1.6.13.bb b/meta/recipes-devtools/subversion/subversion_1.6.15.bb
index bcdb6c22ea..de40863cf5 100644
--- a/meta/recipes-devtools/subversion/subversion_1.6.13.bb
+++ b/meta/recipes-devtools/subversion/subversion_1.6.15.bb
@@ -1,7 +1,7 @@
1DESCRIPTION = "The Subversion (svn) client" 1DESCRIPTION = "The Subversion (svn) client"
2SECTION = "console/network" 2SECTION = "console/network"
3DEPENDS = "apr-util neon" 3DEPENDS = "apr-util neon"
4RDEPENDS = "neon" 4RDEPENDS_${PN} = "neon"
5LICENSE = "Apache BSD" 5LICENSE = "Apache BSD"
6HOMEPAGE = "http://subversion.tigris.org" 6HOMEPAGE = "http://subversion.tigris.org"
7 7
@@ -12,8 +12,8 @@ SRC_URI = "http://subversion.tigris.org/downloads/${P}.tar.bz2 \
12 file://neon-detection.patch;patch=1 \ 12 file://neon-detection.patch;patch=1 \
13 file://libtool2.patch;patch=1" 13 file://libtool2.patch;patch=1"
14 14
15SRC_URI[md5sum] = "7ae1c827689f21cf975804005be30aeb" 15SRC_URI[md5sum] = "113fca1d9e4aa389d7dc2b210010fa69"
16SRC_URI[sha256sum] = "3a30327bdb04109f369586196ee4a6993cdab2cfa85c3134549f02c229bf0d15" 16SRC_URI[sha256sum] = "b2919d603a5f3c19f42e3265c4b930e2376c43b3969b90ef9c42b2f72d5aaa45"
17 17
18LIC_FILES_CHKSUM = "file://COPYING;md5=2a69fef414e2cb907b4544298569300b" 18LIC_FILES_CHKSUM = "file://COPYING;md5=2a69fef414e2cb907b4544298569300b"
19 19
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb
index b4c70ec8b8..6f06a9c547 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent_svn.bb
@@ -6,7 +6,7 @@ LICENSE = "EPLv1.0 | EDLv1.0"
6LIC_FILES_CHKSUM = "file://../epl-v10.html;md5=7aa4215a330a0a4f6a1cbf8da1a0879f \ 6LIC_FILES_CHKSUM = "file://../epl-v10.html;md5=7aa4215a330a0a4f6a1cbf8da1a0879f \
7 file://../agent/edl-v10.html;md5=522a390a83dc186513f0500543ad3679" 7 file://../agent/edl-v10.html;md5=522a390a83dc186513f0500543ad3679"
8 8
9PV = "0.3.0+svnr${SRCREV}" 9PV = "0.3.0+svnr${SRCPV}"
10PR = "r0" 10PR = "r0"
11 11
12SRC_URI = "svn://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/;module=tags/0.3.0/;proto=http \ 12SRC_URI = "svn://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/;module=tags/0.3.0/;proto=http \
diff --git a/meta/recipes-devtools/ubootchart/ubootchart_svn.bb b/meta/recipes-devtools/ubootchart/ubootchart_svn.bb
index 6897f18153..c16be822da 100644
--- a/meta/recipes-devtools/ubootchart/ubootchart_svn.bb
+++ b/meta/recipes-devtools/ubootchart/ubootchart_svn.bb
@@ -2,10 +2,10 @@ DESCRIPTION = "A boot profiling tool"
2HOMEPAGE = "http://code.google.com/p/ubootchart/" 2HOMEPAGE = "http://code.google.com/p/ubootchart/"
3LICENSE = "GPLv3" 3LICENSE = "GPLv3"
4LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a" 4LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a"
5PV = "0.0+r${SRCREV}" 5PV = "0.0+r${SRCPV}"
6PR = "r4" 6PR = "r5"
7 7
8#RRECOMMENDS = "acct" 8#RRECOMMENDS_${PN} = "acct"
9 9
10SRC_URI = "svn://ubootchart.googlecode.com/svn/;proto=http;module=trunk \ 10SRC_URI = "svn://ubootchart.googlecode.com/svn/;proto=http;module=trunk \
11 file://sysvinit.patch;patch=1;pnum=0 \ 11 file://sysvinit.patch;patch=1;pnum=0 \
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/001-2.2b47-2.2b51.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/001-2.2b47-2.2b51.patch
index 886ce92b34..886ce92b34 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/001-2.2b47-2.2b51.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/001-2.2b47-2.2b51.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/002-destdir.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/002-destdir.patch
index 9388332675..9388332675 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/002-destdir.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/002-destdir.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/003-manpages.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/003-manpages.patch
index a17a8dcf55..a17a8dcf55 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/003-manpages.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/003-manpages.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/004-strsignal.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/004-strsignal.patch
index 3ac4ed740c..3ac4ed740c 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/004-strsignal.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/004-strsignal.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/005-sys-time.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/005-sys-time.patch
index c21fb05e8d..c21fb05e8d 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/005-sys-time.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/005-sys-time.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/006-reiserfs.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/006-reiserfs.patch
index abdc67476e..abdc67476e 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/006-reiserfs.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/006-reiserfs.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/007-map.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/007-map.patch
index 89baabe1c2..89baabe1c2 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/007-map.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/007-map.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/008-configure.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/008-configure.patch
index a6d45993ee..a6d45993ee 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/008-configure.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/008-configure.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/009-multirw.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/009-multirw.patch
index 65b0b9eee5..65b0b9eee5 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/009-multirw.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/009-multirw.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/010-realpath.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/010-realpath.patch
index c3b5d58151..c3b5d58151 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/010-realpath.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/010-realpath.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/011-fno-strict-aliasing.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/011-fno-strict-aliasing.patch
index 695b8c7d19..695b8c7d19 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/011-fno-strict-aliasing.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/011-fno-strict-aliasing.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/012-nostrip.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/012-nostrip.patch
index a815ee4373..a815ee4373 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/012-nostrip.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/012-nostrip.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/013-mntpathlen.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/013-mntpathlen.patch
index 1f10d3c941..1f10d3c941 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/013-mntpathlen.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/013-mntpathlen.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/014-uninitialized.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/014-uninitialized.patch
index 233c08a2f3..233c08a2f3 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/014-uninitialized.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/014-uninitialized.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/015-setattr.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/015-setattr.patch
index cbfb8e8214..cbfb8e8214 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/015-setattr.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/015-setattr.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/016-makefile.in.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/016-makefile.in.patch
index 634ce46090..634ce46090 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/016-makefile.in.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/016-makefile.in.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/017-wrs-dynamic-rpc.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/017-wrs-dynamic-rpc.patch
index 18e12de789..18e12de789 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/017-wrs-dynamic-rpc.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/017-wrs-dynamic-rpc.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/018-remove-tcp-wrappers.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/018-remove-tcp-wrappers.patch
index 95ecdee611..95ecdee611 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/018-remove-tcp-wrappers.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/018-remove-tcp-wrappers.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/019-pid-before-fork.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/019-pid-before-fork.patch
index 960ca8e47f..960ca8e47f 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/019-pid-before-fork.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/019-pid-before-fork.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/020-undefined-chmod-fix.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/020-undefined-chmod-fix.patch
index 0f1108c214..0f1108c214 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/020-undefined-chmod-fix.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/020-undefined-chmod-fix.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/021-nolibwrap.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/021-nolibwrap.patch
index c0901fadcc..c0901fadcc 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/021-nolibwrap.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/021-nolibwrap.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/022-add-close-on-exec-descriptors.patch b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/022-add-close-on-exec-descriptors.patch
index 011ae74cde..011ae74cde 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server-2.2beta47/022-add-close-on-exec-descriptors.patch
+++ b/meta/recipes-devtools/unfs-server/unfs-server-2.1+2.2beta47/022-add-close-on-exec-descriptors.patch
diff --git a/meta/recipes-devtools/unfs-server/unfs-server_2.2beta47.bb b/meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb
index 89313d6972..8ed2e33f95 100644
--- a/meta/recipes-devtools/unfs-server/unfs-server_2.2beta47.bb
+++ b/meta/recipes-devtools/unfs-server/unfs-server_2.1+2.2beta47.bb
@@ -3,12 +3,13 @@ SECTION = "console/network"
3LICENSE = "GPLv2+" 3LICENSE = "GPLv2+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" 4LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
5 5
6RDEPENDS = "pseudo" 6RDEPENDS_${PN} = "pseudo"
7RDEPENDS_virtclass-native = "pseudo-native" 7RDEPENDS_${PN}_virtclass-native = "pseudo-native"
8RDEPENDS_virtclass-nativesdk = "pseudo-nativesdk" 8RDEPENDS_${PN}_virtclass-nativesdk = "pseudo-nativesdk"
9PR = "r1" 9BASEPV = "2.2beta47"
10PR = "r0"
10 11
11SRC_URI = "ftp://linux.mathematik.tu-darmstadt.de/pub/linux/oldstuff/people/okir/nfs-server-${PV}.tar.gz \ 12SRC_URI = "ftp://linux.mathematik.tu-darmstadt.de/pub/linux/oldstuff/people/okir/nfs-server-${BASEPV}.tar.gz \
12 file://001-2.2b47-2.2b51.patch \ 13 file://001-2.2b47-2.2b51.patch \
13 file://002-destdir.patch \ 14 file://002-destdir.patch \
14 file://003-manpages.patch \ 15 file://003-manpages.patch \
@@ -36,7 +37,7 @@ SRC_URI = "ftp://linux.mathematik.tu-darmstadt.de/pub/linux/oldstuff/people/okir
36SRC_URI[md5sum] = "79a29fe9f79b2f3241d4915767b8c511" 37SRC_URI[md5sum] = "79a29fe9f79b2f3241d4915767b8c511"
37SRC_URI[sha256sum] = "7eeaf3cf0b9d96167a5ba03bf1046e39b4585de1339a55b285e673c06ba415cb" 38SRC_URI[sha256sum] = "7eeaf3cf0b9d96167a5ba03bf1046e39b4585de1339a55b285e673c06ba415cb"
38 39
39S = "${WORKDIR}/nfs-server-${PV}/" 40S = "${WORKDIR}/nfs-server-${BASEPV}/"
40 41
41inherit autotools 42inherit autotools
42 43
diff --git a/meta/recipes-devtools/unifdef/unifdef-native_2.6.18+git.bb b/meta/recipes-devtools/unifdef/unifdef-native_2.6.18+git.bb
index d879782b29..1b9381646c 100644
--- a/meta/recipes-devtools/unifdef/unifdef-native_2.6.18+git.bb
+++ b/meta/recipes-devtools/unifdef/unifdef-native_2.6.18+git.bb
@@ -2,6 +2,8 @@ DESCRIPTION = "Kernel header preprocessor"
2SECTION = "devel" 2SECTION = "devel"
3LICENSE = "GPL" 3LICENSE = "GPL"
4 4
5LIC_FILES_CHKSUM = "file://${WORKDIR}/unifdef.c;endline=32;md5=1a33f5c39aa718a89058721df61979bd"
6
5SRC_URI = "file://unifdef.c" 7SRC_URI = "file://unifdef.c"
6 8
7inherit native 9inherit native
diff --git a/meta/recipes-extended/at/at_3.1.12.bb b/meta/recipes-extended/at/at_3.1.12.bb
index c010b3946b..3a9449773e 100644
--- a/meta/recipes-extended/at/at_3.1.12.bb
+++ b/meta/recipes-extended/at/at_3.1.12.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"
7DEPENDS = "flex libpam initscripts" 7DEPENDS = "flex libpam initscripts"
8RCONFLICTS_${PN} = "atd" 8RCONFLICTS_${PN} = "atd"
9RREPLACES_${PN} = "atd" 9RREPLACES_${PN} = "atd"
10PR = "r3" 10PR = "r4"
11 11
12SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \ 12SRC_URI = "${DEBIAN_MIRROR}/main/a/at/at_${PV}.orig.tar.gz \
13 file://configure.patch \ 13 file://configure.patch \
@@ -25,8 +25,8 @@ SRC_URI[sha256sum] = "7c55c6ab4fbe8add9e68f31b2b0ebf3fe805c9a4e7cfb2623a3d8a4789
25EXTRA_OECONF += "ac_cv_path_SENDMAIL=/bin/true \ 25EXTRA_OECONF += "ac_cv_path_SENDMAIL=/bin/true \
26 --with-daemon_username=root \ 26 --with-daemon_username=root \
27 --with-daemon_groupname=root \ 27 --with-daemon_groupname=root \
28 --with-jobdir=/var/spool/cron/atjobs \ 28 --with-jobdir=/var/spool/at/jobs \
29 --with-atspool=/var/spool/cron/atspool" 29 --with-atspool=/var/spool/at/spool"
30 30
31inherit autotools 31inherit autotools
32 32
@@ -39,8 +39,27 @@ do_install () {
39 39
40 install -d ${D}${sysconfdir}/init.d 40 install -d ${D}${sysconfdir}/init.d
41 install -d ${D}${sysconfdir}/rcS.d 41 install -d ${D}${sysconfdir}/rcS.d
42 install -m 0755 ${WORKDIR}/S99at ${D}${sysconfdir}/init.d/at 42 install -m 0755 ${WORKDIR}/S99at ${D}${sysconfdir}/init.d/atd
43 ln -sf ../init.d/at ${D}${sysconfdir}/rcS.d/S99at 43 ln -sf ../init.d/atd ${D}${sysconfdir}/rcS.d/S99at
44}
45
46pkg_postinst_${PN} () {
47 if [ "x$D" != "x" ] ; then
48 exit 1
49 fi
50
51 # below is necessary to allow at usable to normal users
52 # now at is has its own /var/spool/at instead of under /var/spool/cron
53 # this way is better to allow setgid on both sides
54 grep "^daemon" /etc/group || groupadd daemon
55 chown root:daemon /usr/bin/at
56 chmod 2755 /usr/bin/at
57
58 chown root:daemon -R /var/spool/at
59 chmod 770 -R /var/spool/at
60
61 chown root:daemon /etc/at.deny
62 chmod 640 /etc/at.deny
44} 63}
45 64
46PARALLEL_MAKE = "" 65PARALLEL_MAKE = ""
diff --git a/meta/recipes-extended/augeas/augeas_0.7.3.bb b/meta/recipes-extended/augeas/augeas_0.7.3.bb
deleted file mode 100644
index 2549f6c89a..0000000000
--- a/meta/recipes-extended/augeas/augeas_0.7.3.bb
+++ /dev/null
@@ -1,6 +0,0 @@
1require augeas.inc
2
3PR = "r0"
4
5SRC_URI[md5sum] = "d907943fc21c2d1db5dc8d97ec02a9e5"
6SRC_URI[sha256sum] = "10be72446699fdcaad66e800bd83a74b4af4da40348eaca04effd8677c11514a"
diff --git a/meta/recipes-extended/augeas/augeas_0.7.4.bb b/meta/recipes-extended/augeas/augeas_0.7.4.bb
new file mode 100644
index 0000000000..eada58f103
--- /dev/null
+++ b/meta/recipes-extended/augeas/augeas_0.7.4.bb
@@ -0,0 +1,6 @@
1require augeas.inc
2
3PR = "r0"
4
5SRC_URI[md5sum] = "e3ddce5305a15bdb876ef7feec9214d1"
6SRC_URI[sha256sum] = "02ba7b4f1d0796dff6ea5f8cc5f4949e4ba30b7fa2f36a0c8a5079f9975060d1"
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index aa8cac8222..a87b87ff4b 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -17,6 +17,11 @@ sbindir = "/sbin"
17EXTRA_OECONF = "--enable-job-control" 17EXTRA_OECONF = "--enable-job-control"
18export CC_FOR_BUILD = "${BUILD_CC}" 18export CC_FOR_BUILD = "${BUILD_CC}"
19 19
20ALTERNATIVE_NAME = "sh"
21ALTERNATIVE_PATH = "${base_bindir}/bash"
22ALTERNATIVE_LINK = "${base_bindir}/sh"
23ALTERNATIVE_PRIORITY = "100"
24
20do_configure () { 25do_configure () {
21 gnu-configize 26 gnu-configize
22 oe_runconf 27 oe_runconf
diff --git a/meta/recipes-extended/bash/bash_3.2.48.bb b/meta/recipes-extended/bash/bash_3.2.48.bb
index ee563d626a..e5a3e3643d 100644
--- a/meta/recipes-extended/bash/bash_3.2.48.bb
+++ b/meta/recipes-extended/bash/bash_3.2.48.bb
@@ -6,7 +6,7 @@ LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=fd5d9bcabd8ed5a54a01ce8d183d592a" 6LIC_FILES_CHKSUM = "file://COPYING;md5=fd5d9bcabd8ed5a54a01ce8d183d592a"
7DEPENDS = "ncurses" 7DEPENDS = "ncurses"
8 8
9PR = "r6" 9PR = "r7"
10 10
11SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ 11SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
12 http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-049;apply=yes;striplevel=0 \ 12 http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-049;apply=yes;striplevel=0 \
diff --git a/meta/recipes-extended/bash/bash_4.1.bb b/meta/recipes-extended/bash/bash_4.1.bb
index 6a558ed2cd..cea40420cb 100644
--- a/meta/recipes-extended/bash/bash_4.1.bb
+++ b/meta/recipes-extended/bash/bash_4.1.bb
@@ -1,6 +1,6 @@
1require bash.inc 1require bash.inc
2 2
3PR = "r0" 3PR = "r1"
4 4
5SRC_URI = "${GNU_MIRROR}/bash/${BPN}-${PV}.tar.gz;name=tarball \ 5SRC_URI = "${GNU_MIRROR}/bash/${BPN}-${PV}.tar.gz;name=tarball \
6 http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-001;apply=yes;striplevel=0;name=patch001 \ 6 http://ftp.gnu.org/gnu/bash/bash-4.1-patches/bash41-001;apply=yes;striplevel=0;name=patch001 \
diff --git a/meta/recipes-extended/blktool/blktool_4-6.bb b/meta/recipes-extended/blktool/blktool_4-6.bb
index 1e4ca9dc15..86d2d0d3a1 100644
--- a/meta/recipes-extended/blktool/blktool_4-6.bb
+++ b/meta/recipes-extended/blktool/blktool_4-6.bb
@@ -1,10 +1,14 @@
1SUMMARY = "tune low-level block device parameters" 1SUMMARY = "Tune low-level block device parameters"
2DESCRIPTION = "blktool is used for querying and/or changing settings of a block device. It is like hdparm but a more general tool, as it works on SCSI, IDE and SATA devices" 2DESCRIPTION = "blktool is used for querying and/or changing settings \
3of a block device. It is like hdparm but a more general tool, as it \
4works on SCSI, IDE and SATA devices."
3HOMEPAGE = "http://packages.debian.org/unstable/admin/blktool" 5HOMEPAGE = "http://packages.debian.org/unstable/admin/blktool"
4LICENSE = "GPLv2+" 6LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ 7LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
6 file://blktool.c;beginline=7;endline=8;md5=a5e798ea98fd50972088968a15e5f373" 8 file://blktool.c;beginline=7;endline=8;md5=a5e798ea98fd50972088968a15e5f373"
9
7DEPENDS = "glib-2.0" 10DEPENDS = "glib-2.0"
11PR = "r0"
8 12
9SRC_URI = "${DEBIAN_MIRROR}/main/b/blktool/blktool_4.orig.tar.gz;name=tarball \ 13SRC_URI = "${DEBIAN_MIRROR}/main/b/blktool/blktool_4.orig.tar.gz;name=tarball \
10 ${DEBIAN_MIRROR}/main/b/blktool/blktool_4-6.diff.gz;apply=yes;name=patch" 14 ${DEBIAN_MIRROR}/main/b/blktool/blktool_4-6.diff.gz;apply=yes;name=patch"
@@ -15,7 +19,6 @@ SRC_URI[tarball.sha256sum] = "b1e6d5912546d2a4b704ec65c2b9664aa3b4663e7d800e0680
15SRC_URI[patch.md5sum] = "2d1bc2f2c38b65d47e27da7c7508d17f" 19SRC_URI[patch.md5sum] = "2d1bc2f2c38b65d47e27da7c7508d17f"
16SRC_URI[patch.sha256sum] = "999f2062203e389327d997724621be37bea9c98fa226238f9f4eb4a6ea25bd4b" 20SRC_URI[patch.sha256sum] = "999f2062203e389327d997724621be37bea9c98fa226238f9f4eb4a6ea25bd4b"
17 21
18PR = "r0"
19S = "${WORKDIR}/${PN}-4.orig" 22S = "${WORKDIR}/${PN}-4.orig"
20 23
21inherit autotools 24inherit autotools
diff --git a/meta/recipes-extended/byacc/byacc_20100610.bb b/meta/recipes-extended/byacc/byacc_20100610.bb
deleted file mode 100644
index f02a11ba47..0000000000
--- a/meta/recipes-extended/byacc/byacc_20100610.bb
+++ /dev/null
@@ -1,7 +0,0 @@
1PR = "r0"
2LICENSE="other-BSD"
3LIC_FILES_CHKSUM = "file://package/debian/copyright;md5=4dc4c30f840a7203fb6edf20b3db849e"
4require byacc.inc
5
6SRC_URI[md5sum] = "3063667be3bfcd844bdac9afd560954b"
7SRC_URI[sha256sum] = "02bcfb9262127fe23abe2c42f02de12c3ea51a9fffc9fb82ffa3bda7289d72c1"
diff --git a/meta/recipes-extended/byacc/byacc_20101127.bb b/meta/recipes-extended/byacc/byacc_20101127.bb
new file mode 100644
index 0000000000..b6b7b7058f
--- /dev/null
+++ b/meta/recipes-extended/byacc/byacc_20101127.bb
@@ -0,0 +1,7 @@
1PR = "r0"
2LICENSE="other-BSD"
3LIC_FILES_CHKSUM = "file://package/debian/copyright;md5=4dc4c30f840a7203fb6edf20b3db849e"
4require byacc.inc
5
6SRC_URI[md5sum] = "5931a27e43102dc868745bf4dce91fb4"
7SRC_URI[sha256sum] = "c172c7ed2ee2130510d4d6e134bcac791b217e4883051137690613ac011aca47"
diff --git a/meta/recipes-extended/cronie/cronie/crontab b/meta/recipes-extended/cronie/cronie/crontab
new file mode 100644
index 0000000000..cc9169eda9
--- /dev/null
+++ b/meta/recipes-extended/cronie/cronie/crontab
@@ -0,0 +1,10 @@
1# /etc/crontab: system-wide crontab
2# Unlike any other crontab you don't have to run the `crontab'
3# command to install the new version when you edit this file
4# and files in /etc/cron.d. These files also have username fields,
5# that none of the other crontabs do.
6
7SHELL=/bin/sh
8PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
9
10# m h dom mon dow user command
diff --git a/meta/recipes-extended/cronie/cronie_1.4.6.bb b/meta/recipes-extended/cronie/cronie_1.4.6.bb
index 6b4c64e3b1..09714c7f74 100644
--- a/meta/recipes-extended/cronie/cronie_1.4.6.bb
+++ b/meta/recipes-extended/cronie/cronie_1.4.6.bb
@@ -14,10 +14,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=963ea0772a2adbdcd607a9b2ec320c11 \
14 14
15SECTION = "utils" 15SECTION = "utils"
16 16
17PR = "r0" 17PR = "r1"
18 18
19SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \ 19SRC_URI = "https://fedorahosted.org/releases/c/r/cronie/cronie-${PV}.tar.gz \
20 file://crond.init" 20 file://crond.init \
21 file://crontab"
21 22
22SRC_URI[md5sum] = "968e3d3e7c8e1d0588d533883482d3fa" 23SRC_URI[md5sum] = "968e3d3e7c8e1d0588d533883482d3fa"
23SRC_URI[sha256sum] = "4435484c28a4452ee37db27182675660cdebf16d8956771b28c8a6f2e9c8048b" 24SRC_URI[sha256sum] = "4435484c28a4452ee37db27182675660cdebf16d8956771b28c8a6f2e9c8048b"
@@ -32,4 +33,32 @@ do_install_append () {
32 install -d ${D}${sysconfdir}/init.d/ 33 install -d ${D}${sysconfdir}/init.d/
33 install -m 0644 ${S}/crond.sysconfig ${D}${sysconfdir}/sysconfig/crond 34 install -m 0644 ${S}/crond.sysconfig ${D}${sysconfdir}/sysconfig/crond
34 install -m 0755 ${WORKDIR}/crond.init ${D}${sysconfdir}/init.d/crond 35 install -m 0755 ${WORKDIR}/crond.init ${D}${sysconfdir}/init.d/crond
36
37 # below are necessary for a complete cron environment
38 install -d ${D}${localstatedir}/spool/cron
39 install -m 0755 ${WORKDIR}/crontab ${D}${sysconfdir}/
40 mkdir -p ${D}${sysconfdir}/cron.d
41 mkdir -p ${D}${sysconfdir}/cron.hourly
42 mkdir -p ${D}${sysconfdir}/cron.daily
43 mkdir -p ${D}${sysconfdir}/cron.weekly
44 mkdir -p ${D}${sysconfdir}/cron.monthly
45}
46
47pkg_postinst_${PN} () {
48 if [ "x$D" != "x" ] ; then
49 exit 1
50 fi
51
52 # below setting is necessary to allow normal user using crontab
53
54 # add 'crontab' group and setgid for crontab binary
55 grep crontab /etc/group || addgroup crontab
56 chown root:crontab /usr/bin/crontab
57 chmod 2755 /usr/bin/crontab
58
59 # allow 'crontab' group write to /var/spool/cron
60 chown root:crontab /var/spool/cron
61 chmod 770 /var/spool/cron
62
63 chmod 600 /etc/crontab
35} 64}
diff --git a/meta/recipes-extended/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch b/meta/recipes-extended/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch
new file mode 100644
index 0000000000..7b544ca0e3
--- /dev/null
+++ b/meta/recipes-extended/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch
@@ -0,0 +1,68 @@
1From 90069586167b930befce7303aea57078f04b4ed8 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Sun, 30 Jan 2011 16:37:27 +0100
4Subject: [PATCH] don't try to run generated binaries
5
6Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7---
8 ppdc/Makefile | 30 +++++++++++++++---------------
9 1 files changed, 15 insertions(+), 15 deletions(-)
10
11diff --git a/ppdc/Makefile b/ppdc/Makefile
12index 0288d47..fc87f1b 100644
13--- a/ppdc/Makefile
14+++ b/ppdc/Makefile
15@@ -243,8 +243,8 @@ genstrings: genstrings.o libcupsppdc.a ../cups/libcups.a \
16 $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o genstrings genstrings.o \
17 libcupsppdc.a ../cups/libcups.a $(LIBGSSAPI) $(SSLLIBS) \
18 $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
19- echo Generating localization strings...
20- ./genstrings >sample.c
21+# echo Generating localization strings...
22+# ./genstrings >sample.c
23
24
25 #
26@@ -261,9 +261,9 @@ ppdc-static: ppdc.o libcupsppdc.a ../cups/libcups.a foo.drv foo-fr.po
27 $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o ppdc-static ppdc.o libcupsppdc.a \
28 ../cups/libcups.a $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
29 $(COMMONLIBS) $(LIBZ)
30- echo Testing PPD compiler...
31- ./ppdc-static -l en,fr -I ../data foo.drv
32- ./ppdc-static -l en,fr -z -I ../data foo.drv
33+# echo Testing PPD compiler...
34+# ./ppdc-static -l en,fr -I ../data foo.drv
35+# ./ppdc-static -l en,fr -z -I ../data foo.drv
36
37
38 #
39@@ -290,16 +290,16 @@ ppdi-static: ppdc-static ppdi.o libcupsppdc.a ../cups/libcups.a
40 ../cups/libcups.a $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
41 $(COMMONLIBS) $(LIBZ)
42 echo Testing PPD importer...
43- $(RM) -r ppd ppd2 sample-import.drv
44- ./ppdc-static -I ../data sample.drv
45- ./ppdi-static -I ../data -o sample-import.drv ppd/*
46- ./ppdc-static -I ../data -d ppd2 sample-import.drv
47- if diff -r ppd ppd2 >/dev/null; then \
48- echo PPD import OK; \
49- else \
50- echo PPD import FAILED; \
51- exit 1; \
52- fi
53+# $(RM) -r ppd ppd2 sample-import.drv
54+# ./ppdc-static -I ../data sample.drv
55+# ./ppdi-static -I ../data -o sample-import.drv ppd/*
56+# ./ppdc-static -I ../data -d ppd2 sample-import.drv
57+# if diff -r ppd ppd2 >/dev/null; then \
58+# echo PPD import OK; \
59+# else \
60+# echo PPD import FAILED; \
61+# exit 1; \
62+# fi
63
64
65 #
66--
671.6.6.1
68
diff --git a/meta/recipes-extended/cups/cups-1.4.6/use_echo_only_in_init.patch b/meta/recipes-extended/cups/cups-1.4.6/use_echo_only_in_init.patch
new file mode 100644
index 0000000000..21ff0e535b
--- /dev/null
+++ b/meta/recipes-extended/cups/cups-1.4.6/use_echo_only_in_init.patch
@@ -0,0 +1,11 @@
1--- a/init/cups.sh.in.orig 2008-10-04 16:50:46.000000000 -0300
2+++ b/init/cups.sh.in 2008-10-04 16:51:39.000000000 -0300
3@@ -68,7 +68,7 @@
4 ECHO_ERROR=:
5 ;;
6
7- Linux*)
8+ DISABLELinux*)
9 IS_ON=/bin/true
10 if test -f /etc/init.d/functions; then
11 . /etc/init.d/functions
diff --git a/meta/recipes-extended/cups/cups14.inc b/meta/recipes-extended/cups/cups14.inc
new file mode 100644
index 0000000000..e64f239a6a
--- /dev/null
+++ b/meta/recipes-extended/cups/cups14.inc
@@ -0,0 +1,85 @@
1SUMMARY = "An Internet printing system for Unix"
2DESCRIPTION = "An Internet printing system for Unix."
3SECTION = "console/utils"
4LICENSE = "GPLv2 LGPLv2"
5DEPENDS = "gnutls libpng jpeg dbus dbus-glib zlib"
6PROVIDES = "cups14"
7
8SRC_URI = "ftp://ftp.easysw.com/pub/cups/${PV}/cups-${PV}-source.tar.bz2"
9
10LEAD_SONAME = "libcupsdriver.so"
11
12inherit autotools binconfig
13
14EXTRA_OECONF = " \
15 --enable-gnutls \
16 --enable-dbus \
17 --enable-browsing \
18 --disable-openssl \
19 --disable-tiff \
20 --without-php \
21 --without-perl \
22 --without-python \
23 --without-java \
24 "
25
26
27do_configure() {
28 gnu-configize
29 libtoolize --force
30 DSOFLAGS="${LDFLAGS}" oe_runconf
31}
32
33do_compile () {
34 sed -i s:STRIP:NOSTRIP: Makedefs
35 sed -i s:serial:: backend/Makefile
36
37 echo "all:" > man/Makefile
38 echo "libs:" >> man/Makefile
39 echo "install:" >> man/Makefile
40 echo "install-data:" >> man/Makefile
41 echo "install-exec:" >> man/Makefile
42 echo "install-headers:" >> man/Makefile
43 echo "install-libs:" >> man/Makefile
44
45 oe_runmake "SSLLIBS=-lgnutls -L${STAGING_LIBDIR}" \
46 "LIBPNG=-lpng -lm -L${STAGING_LIBDIR}" \
47 "LIBJPEG=-ljpeg -L${STAGING_LIBDIR}" \
48 "LIBZ=-lz -L${STAGING_LIBDIR}" \
49 "-I."
50}
51
52fakeroot do_install () {
53 oe_runmake "DSTROOT=${D}" install
54
55 # This directory gets installed with perms 511, which makes packaging fail
56 chmod 0711 "${D}/${localstatedir}/run/cups/certs"
57}
58
59python do_package_append() {
60 # Change permissions back the way they were, they probably had a reason...
61 workdir = bb.data.getVar('WORKDIR', d, 1)
62 os.system('chmod 0511 %s/install/cups/var/run/cups/certs' % workdir)
63}
64
65PACKAGES =+ "${PN}-lib ${PN}-libimage"
66
67FILES_${PN}-lib = "${libdir}/libcups.so.*"
68
69FILES_${PN}-libimage = "${libdir}/libcupsimage.so.*"
70
71FILES_${PN}-dbg += "${libdir}/cups/backend/.debug \
72 ${libdir}/cups/cgi-bin/.debug \
73 ${libdir}/cups/filter/.debug \
74 ${libdir}/cups/monitor/.debug \
75 ${libdir}/cups/notifier/.debug \
76 ${libdir}/cups/daemon/.debug \
77 "
78
79#package the html for the webgui inside the main packages (~1MB uncompressed)
80
81FILES_${PN} += "${datadir}/doc/cups/images \
82 ${datadir}/doc/cups/*html \
83 ${datadir}/doc/cups/*.css \
84 ${datadir}/icons/ \
85 "
diff --git a/meta/recipes-extended/cups/cups_1.4.6.bb b/meta/recipes-extended/cups/cups_1.4.6.bb
new file mode 100644
index 0000000000..86b53403eb
--- /dev/null
+++ b/meta/recipes-extended/cups/cups_1.4.6.bb
@@ -0,0 +1,17 @@
1require cups14.inc
2
3PR = "r0"
4DEPENDS += "libusb"
5
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=956e7600195e6139f12de8c2a5bbefa9"
7SRC_URI += " \
8 file://use_echo_only_in_init.patch \
9 file://0001-don-t-try-to-run-generated-binaries.patch \
10 "
11
12SRC_URI[md5sum] = "de8fb5a29c36554925c0c6a6e2c0dae1"
13SRC_URI[sha256sum] = "f08711702a77b52c7150f96fe1f45482f6151cb95ef601268c528607fe6ad514"
14
15EXTRA_OECONF += " --disable-gssapi --enable-debug --disable-relro --enable-libusb"
16
17CONFFILES_${PN} += "${sysconfdir}/cups/cupsd.conf"
diff --git a/meta/recipes-extended/images/poky-image-lsb-dev.bb b/meta/recipes-extended/images/poky-image-lsb-dev.bb
new file mode 100644
index 0000000000..d490ee5277
--- /dev/null
+++ b/meta/recipes-extended/images/poky-image-lsb-dev.bb
@@ -0,0 +1,9 @@
1IMAGE_FEATURES += "apps-console-core dev-pkgs "
2
3IMAGE_INSTALL = "\
4 ${POKY_BASE_INSTALL} \
5 task-poky-basic \
6 task-poky-lsb \
7 "
8
9inherit poky-image
diff --git a/meta/recipes-extended/iputils/files/debian/CVE-2010-2529.diff b/meta/recipes-extended/iputils/files/debian/CVE-2010-2529.diff
deleted file mode 100644
index 98aae0d457..0000000000
--- a/meta/recipes-extended/iputils/files/debian/CVE-2010-2529.diff
+++ /dev/null
@@ -1,22 +0,0 @@
1Index: trunk/ping.c
2===================================================================
3--- trunk.orig/ping.c 2010-07-23 21:26:53.000000000 -0700
4+++ trunk/ping.c 2010-07-23 21:28:27.000000000 -0700
5@@ -1059,7 +1059,7 @@
6 i = j;
7 i -= IPOPT_MINOFF;
8 if (i <= 0)
9- continue;
10+ break;
11 if (i == old_rrlen
12 && !strncmp((char *)cp, old_rr, i)
13 && !(options & F_FLOOD)) {
14@@ -1096,7 +1096,7 @@
15 i = j;
16 i -= 5;
17 if (i <= 0)
18- continue;
19+ break;
20 flags = *++cp;
21 printf("\nTS: ");
22 cp++;
diff --git a/meta/recipes-extended/iputils/iputils_s20100418.bb b/meta/recipes-extended/iputils/iputils_s20101006.bb
index 2b2d76a515..0a4201787c 100644
--- a/meta/recipes-extended/iputils/iputils_s20100418.bb
+++ b/meta/recipes-extended/iputils/iputils_s20101006.bb
@@ -21,11 +21,10 @@ SRC_URI = "http://www.skbuff.net/iputils/${PN}-${PV}.tar.bz2 \
21 file://debian/use_gethostbyname2.diff \ 21 file://debian/use_gethostbyname2.diff \
22 file://debian/targets.diff \ 22 file://debian/targets.diff \
23 file://debian/fix-arping-timeouts.diff \ 23 file://debian/fix-arping-timeouts.diff \
24 file://debian/CVE-2010-2529.diff \
25 " 24 "
26 25
27SRC_URI[md5sum] = "df6b0062118cdc5c62e3c810f831e976" 26SRC_URI[md5sum] = "a36c25e9ec17e48be514dc0485e7376c"
28SRC_URI[sha256sum] = "d0e8cbe6ce6a484ffb81697425b3b933746882f6f1521ac71c5c88971cee7684" 27SRC_URI[sha256sum] = "fd3af46c80ebb99607c2ca1f2a3608b6fe828e25bbec6e54f2afd25f6ddb6ee7"
29 28
30# man is not compiled here, since it requires docbook-utils-native 29# man is not compiled here, since it requires docbook-utils-native
31# which is not available in poky 30# which is not available in poky
diff --git a/meta/recipes-extended/libuser/libuser-0.56.18/disable-sgml-doc.patch b/meta/recipes-extended/libuser/libuser-0.57.1/disable-sgml-doc.patch
index a2017c5724..a2017c5724 100644
--- a/meta/recipes-extended/libuser/libuser-0.56.18/disable-sgml-doc.patch
+++ b/meta/recipes-extended/libuser/libuser-0.57.1/disable-sgml-doc.patch
diff --git a/meta/recipes-extended/libuser/libuser_0.56.18.bb b/meta/recipes-extended/libuser/libuser_0.57.1.bb
index 4a10d8059c..d2e7c3aa2e 100644
--- a/meta/recipes-extended/libuser/libuser_0.56.18.bb
+++ b/meta/recipes-extended/libuser/libuser_0.57.1.bb
@@ -14,8 +14,8 @@ SECTION = "base"
14SRC_URI = "https://fedorahosted.org/releases/l/i/libuser/libuser-${PV}.tar.xz \ 14SRC_URI = "https://fedorahosted.org/releases/l/i/libuser/libuser-${PV}.tar.xz \
15 file://disable-sgml-doc.patch;patch=1" 15 file://disable-sgml-doc.patch;patch=1"
16 16
17SRC_URI[md5sum] = "de074409153f690821d9340cb33ee435" 17SRC_URI[md5sum] = "be82c6941264d0b4bd04f95fb342ec7d"
18SRC_URI[sha256sum] = "fc23d744f6853c213adb619cfb5b22c49a9ea8a5a75a1e4121f71b28cffa3a74" 18SRC_URI[sha256sum] = "a61289867581fa715354a3fafe09c3e481173ce0a2dcb33b04588b6ac13cead5"
19PR = "r0" 19PR = "r0"
20 20
21DEPENDS = "gettext libpam glib-2.0 xz-native" 21DEPENDS = "gettext libpam glib-2.0 xz-native"
diff --git a/meta/recipes-extended/libzypp/libzypp/rpm5-no-rpmdbinit.patch b/meta/recipes-extended/libzypp/libzypp/rpm5-no-rpmdbinit.patch
new file mode 100644
index 0000000000..f15bb68d51
--- /dev/null
+++ b/meta/recipes-extended/libzypp/libzypp/rpm5-no-rpmdbinit.patch
@@ -0,0 +1,25 @@
1diff --git a/zypp/target/rpm/librpmDb.cc b/zypp/target/rpm/librpmDb.cc
2index 1689fbb..4999cd9 100644
3--- a/zypp/target/rpm/librpmDb.cc
4+++ b/zypp/target/rpm/librpmDb.cc
5@@ -60,20 +60,6 @@ public:
6 const char * root = ( _root == "/" ? NULL : _root.asString().c_str() );
7 int perms = 0644;
8
9- // check whether to create a new db
10- PathInfo master( _root + _dbPath + "Packages" );
11- if ( ! master.isFile() )
12- {
13- // init database
14- int res = ::rpmdbInit( root, perms );
15- if ( res )
16- {
17- ERR << "rpmdbInit error(" << res << "): " << *this << endl;
18- _error = shared_ptr<RpmInitException>(new RpmInitException(_root, _dbPath));
19- ZYPP_THROW(*_error);
20- }
21- }
22-
23 // open database
24 int res = ::rpmdbOpen( root, &_db, (readonly_r ? O_RDONLY : O_RDWR ), perms );
25 if ( res || !_db )
diff --git a/meta/recipes-extended/libzypp/libzypp_git.bb b/meta/recipes-extended/libzypp/libzypp_git.bb
index e29556925a..b9110eb09e 100644
--- a/meta/recipes-extended/libzypp/libzypp_git.bb
+++ b/meta/recipes-extended/libzypp/libzypp_git.bb
@@ -9,15 +9,17 @@ inherit cmake
9DEPENDS = "rpm boost gettext curl libxml2 zlib sat-solver expat openssl udev" 9DEPENDS = "rpm boost gettext curl libxml2 zlib sat-solver expat openssl udev"
10 10
11# rpmdb2solv from sat-solver is run from libzypp 11# rpmdb2solv from sat-solver is run from libzypp
12RDEPENDS = "sat-solver" 12RDEPENDS_${PN} = "sat-solver"
13 13
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15PV = "0.0-git${SRCPV}" 15PV = "0.0-git${SRCPV}"
16PR = "r3" 16PR = "r6"
17 17
18SRC_URI = "git://gitorious.org/opensuse/libzypp.git;protocol=git \ 18SRC_URI = "git://gitorious.org/opensuse/libzypp.git;protocol=git \
19 file://no-doc.patch \ 19 file://no-doc.patch \
20 file://rpm5.patch" 20 file://rpm5.patch \
21 file://rpm5-no-rpmdbinit.patch \
22 "
21 23
22SRC_URI_append_mips = " file://mips-workaround-gcc-tribool-error.patch" 24SRC_URI_append_mips = " file://mips-workaround-gcc-tribool-error.patch"
23 25
diff --git a/meta/recipes-extended/mailx/mailx_12.4.bb b/meta/recipes-extended/mailx/mailx_12.4.bb
new file mode 100644
index 0000000000..7abce7a31c
--- /dev/null
+++ b/meta/recipes-extended/mailx/mailx_12.4.bb
@@ -0,0 +1,28 @@
1SUMMARY = "mailx is the traditional command-line-mode mail user agent."
2
3DESCRIPTION = "Mailx is derived from Berkeley Mail and is intended provide the \
4functionality of the POSIX mailx command with additional support \
5for MIME, IMAP, POP3, SMTP, and S/MIME."
6
7HOMEPAGE = "http://heirloom.sourceforge.net/mailx.html"
8SECTION = "console/network"
9PRIORITY = "required"
10PR = "r0"
11LICENSE = "GPL"
12LIC_FILES_CHKSUM = "file://COPYING;md5=4202a0a62910cf94f7af8a3436a2a2dd"
13
14SRC_URI = "${DEBIAN_MIRROR}/main/h/heirloom-mailx/heirloom-mailx_${PV}.orig.tar.gz;name=archive \
15 ${DEBIAN_MIRROR}/main/h/heirloom-mailx/heirloom-mailx_${PV}-2.diff.gz;name=patch \
16 "
17SRC_URI[archive.md5sum] = "17b8ff86795a118b199e041b66b7d1aa"
18SRC_URI[archive.sha256sum] = "946d822cbff70df2ecf5b78c8347fdd01fdc5873f7a7cf55932b3e07030fa370"
19SRC_URI[patch.md5sum] = "3233d1a85fcb4dcde689132a1bba7fc9"
20SRC_URI[patch.sha256sum] = "b15fac77973b7d787469e51bbbeae7ddbe922b02a0c23208b9779ce837eba861"
21
22S = "${WORKDIR}/mailx-${PV}"
23
24inherit autotools
25
26CFLAGS_append = " -D_BSD_SOURCE -DDEBIAN -I${S}/EXT"
27
28PARALLEL_MAKE = ""
diff --git a/meta/recipes-extended/man-pages/man-pages_3.25.bb b/meta/recipes-extended/man-pages/man-pages_3.32.bb
index b5b200c98a..daf22bc3c6 100644
--- a/meta/recipes-extended/man-pages/man-pages_3.25.bb
+++ b/meta/recipes-extended/man-pages/man-pages_3.32.bb
@@ -4,15 +4,15 @@ SECTION = "console/utils"
4PRIORITY = "required" 4PRIORITY = "required"
5HOMEPAGE = "http://www.kernel.org/pub/linux/docs/man-pages" 5HOMEPAGE = "http://www.kernel.org/pub/linux/docs/man-pages"
6LICENSE = "GPL" 6LICENSE = "GPL"
7PR = "r0" 7PR = "r1"
8 8
9LIC_FILES_CHKSUM = "file://README;md5=9dab010c5baa416669e5d17381799dd5" 9LIC_FILES_CHKSUM = "file://README;md5=0422377a748010b2b738342e24f141c1"
10SRC_URI = "http://www.kernel.org/pub/linux/docs/man-pages/Archive/${PN}-${PV}.tar.gz" 10SRC_URI = "http://www.kernel.org/pub/linux/docs/man-pages/Archive/${PN}-${PV}.tar.gz"
11 11
12SRC_URI[md5sum] = "98ec2324abea77d7a992470dd44d140c" 12SRC_URI[md5sum] = "cc6c2d4d4eb364fd8da718c412db09d4"
13SRC_URI[sha256sum] = "474242842a78dc2121687b7db6c32b6c78af5458f2bd809e23563dd185e2b169" 13SRC_URI[sha256sum] = "61ef2fc36421e72eb92d1f533576a439a2fcdae20269393f740dd98abd8be519"
14 14
15RDEPENDS = "man" 15RDEPENDS_${PN} = "man"
16 16
17do_configure_prepend() { 17do_configure_prepend() {
18 rm -rf not_installed 18 rm -rf not_installed
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.6e-lzma+xz-support.patch b/meta/recipes-extended/man/man-1.6e/man-1.6e-lzma+xz-support.patch
deleted file mode 100644
index 9aa5260b71..0000000000
--- a/meta/recipes-extended/man/man-1.6e/man-1.6e-lzma+xz-support.patch
+++ /dev/null
@@ -1,142 +0,0 @@
1diff -Naurp man-1.6e/configure man-1.6e.oden/configure
2--- man-1.6e/configure 2008-12-21 19:20:51.000000000 +0100
3+++ man-1.6e.oden/configure 2008-12-21 19:20:32.000000000 +0100
4@@ -1027,7 +1027,7 @@ then
5 then
6 DO_COMPRESSION=true
7 compress=
8- for i in bzip2 gzip bzip tzip pack compress freeze yabba
9+ for i in xz lzma bzip2 gzip bzip tzip pack compress freeze yabba
10 do
11 eval F$i=missing
12 for j in $DEFPATH
13@@ -1080,6 +1080,8 @@ then
14 fi
15
16 case $compress in
17+ *xz*) ext=".xz" ;;
18+ *lzma*) ext=".lzma" ;;
19 *bzip2*) ext=".bz2" ;;
20 *gzip*) ext=".gz" ;;
21 *bzip*) ext=".bz" ;;
22@@ -1122,7 +1124,7 @@ then
23 fi
24
25 # unconditionally handle uncompression
26-UNCOMPRESSORS="gunzip bzip2 pcat zcat fcat unyabba"
27+UNCOMPRESSORS="unxz unlzma gunzip bzip2 pcat zcat fcat unyabba"
28 for i in $UNCOMPRESSORS
29 do
30 eval F$i=missing
31@@ -1143,6 +1146,14 @@ bzip2=missing
32 if [ $Fbzip2 != missing ]; then
33 bzip2="$Fbzip2 -c -d"
34 fi
35+unxz=missing
36+if [ $Funxz != missing ]; then
37+ unxz="$Funxz -c -d"
38+fi
39+unlzma=missing
40+if [ $Funlzma != missing ]; then
41+ unlzma="$Funlzma -c -d"
42+fi
43 pcat="$Fpcat"
44 zcat="$Fzcat"
45 fcat="$Ffcat"
46@@ -1171,6 +1181,12 @@ if [ x$default = x ]; then
47 bzip2)
48 echo "Command to use for .bz2 files (standard bzip2)"
49 echo $n "[`eval echo \\$$filter`] $c" ;;
50+ xz)
51+ echo "Command to use for .xz files (standard xz)"
52+ echo $n "[`eval echo \\$$filter`] $c" ;;
53+ lzma)
54+ echo "Command to use for .lzma files (standard lzma)"
55+ echo $n "[`eval echo \\$$filter`] $c" ;;
56 pcat)
57 echo "Command to use for .z files (pack/unpack)"
58 echo $n "[`eval echo \\$$filter`] $c" ;;
59@@ -1232,6 +1248,8 @@ fi
60 case $compress_ext in
61 .gz) decompress=$gunzip ;;
62 .bz2) decompress=$bzip2 ;;
63+ .xz) decompress=$unlzma ;;
64+ .lzma) decompress=$unlzma ;;
65 .z) decompress=$pcat ;;
66 .Z) decompress=$zcat ;;
67 .F) decompress=$fcat ;;
68@@ -1319,6 +1337,8 @@ s,@pcat@,$pcat,
69 s,@zcat@,$zcat,
70 s,@gunzip@,$gunzip,
71 s,@bzip2@,$bzip2,
72+s,@unlzma@,$unlzma,
73+s,@unxz@,$unxz,
74 s,@unyabba@,$unyabba,
75 s,@compress@,$compress,
76 s,@compress_ext@,$compress_ext,
77diff -Naurp man-1.6e/src/makewhatis.sh man-1.6e.oden/src/makewhatis.sh
78--- man-1.6e/src/makewhatis.sh 2008-12-21 19:20:51.000000000 +0100
79+++ man-1.6e.oden/src/makewhatis.sh 2008-12-21 19:20:32.000000000 +0100
80@@ -220,7 +220,7 @@ do
81 find $mandir/${pages}$i/. -name '*' $findarg0 $findarg -print | LC_ALL=C $AWK -v MAN_NAME="$MAN_NAME" -v MAN_DESCRIPTION="$MAN_DESCRIPTION" '
82
83 function readline() {
84- if (use_zcat || use_bzcat) {
85+ if (use_zcat || use_bzcat || use_lzcat || use_xzcat) {
86 result = (pipe_cmd | getline);
87 if (result < 0) {
88 print "Pipe error: " pipe_cmd " " ERRNO > "/dev/stderr";
89@@ -235,7 +235,7 @@ do
90 }
91
92 function closeline() {
93- if (use_zcat || use_bzcat) {
94+ if (use_zcat || use_bzcat || use_lzcat || use_xzcat) {
95 return close(pipe_cmd);
96 } else {
97 return close(filename);
98@@ -254,7 +254,11 @@ do
99 match(filename,"\\.z$") || match(filename,"\\.gz$");
100 if (!use_zcat)
101 use_bzcat = match(filename,"\\.bz2");
102- if (use_zcat || use_bzcat) {
103+ if(!use_bzcat)
104+ use_lzcat = match(filename,"\\.lzma");
105+ if(!use_lzcat)
106+ use_xzcat = match(filename,"\\.xz");
107+ if (use_zcat || use_bzcat || use_lzcat || use_xz_cat) {
108 filename_no_gz = substr(filename, 0, RSTART - 1);
109 } else {
110 filename_no_gz = filename;
111@@ -267,12 +271,16 @@ do
112 actual_section = section;
113 }
114 sub(/\..*/, "", progname);
115- if (use_zcat || use_bzcat) {
116+ if (use_zcat || use_bzcat || use_lzcat || use_xz_cat) {
117 if (use_zcat) {
118 pipe_cmd = "zcat \"" filename "\"";
119- } else {
120+ } else if (use_bzcat) {
121 pipe_cmd = "bzcat \"" filename "\"";
122- }
123+ } else if (use_lzcat) {
124+ pipe_cmd = "lzcat \"" filename "\"";
125+ } else {
126+ pipe_cmd = "xzcat \"" filename "\"";
127+ }
128 # try to avoid suspicious stuff
129 if (filename ~ /[;&|`$(]/) {
130 print "ignored strange file name " filename " in " curdir > "/dev/stderr";
131diff -Naurp man-1.6e/src/man.conf.in man-1.6e.oden/src/man.conf.in
132--- man-1.6e/src/man.conf.in 2008-12-21 19:20:51.000000000 +0100
133+++ man-1.6e.oden/src/man.conf.in 2008-12-21 19:20:32.000000000 +0100
134@@ -139,6 +139,8 @@ MANSECT @sections@
135 #
136 .gz @gunzip@
137 .bz2 @bzip2@
138+.lzma @unlzma@
139+.xz @unxz@
140 .z @pcat@
141 .Z @zcat@
142 .F @fcat@
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.6e-ro_usr.patch b/meta/recipes-extended/man/man-1.6e/man-1.6e-ro_usr.patch
deleted file mode 100644
index 054054b521..0000000000
--- a/meta/recipes-extended/man/man-1.6e/man-1.6e-ro_usr.patch
+++ /dev/null
@@ -1,67 +0,0 @@
1--- man-1.6e.orig/src/makewhatis.sh 2006-07-19 01:58:08.000000000 -0300
2+++ man-1.6e/src/makewhatis.sh 2007-05-18 10:54:57.000000000 -0300
3@@ -124,7 +124,7 @@
4 continue;;
5 -s) setsections=1
6 continue;;
7- -u) findarg="-ctime 0"
8+ -u) findarg="-newer /var/cache/man/whatis"
9 update=1
10 continue;;
11 -v) verbose=1
12@@ -165,14 +165,7 @@
13 # first truncate all the whatis files that will be created new,
14 # then only update - we might visit the same directory twice
15 if [ x$update = x ]; then
16- for pages in man cat
17- do
18- eval path="\$$pages"path
19- for mandir in $path
20- do
21- cp /dev/null $mandir/whatis
22- done
23- done
24+ cp /dev/null /var/cache/man/whatis
25 fi
26
27 for pages in man cat
28@@ -184,11 +177,6 @@
29 if [ x$verbose != x ]; then
30 echo "about to enter $mandir" > /dev/stderr
31 fi
32- if [ -s ${mandir}/whatis -a $pages = man -a x$update = x ]; then
33- if [ x$verbose != x ]; then
34- echo skipping $mandir - we did it already > /dev/stderr
35- fi
36- else
37 here=`pwd`
38 cd $mandir
39 for i in $sections
40@@ -407,23 +395,14 @@
41
42 cd $here
43
44- # kludge for Slackware's /usr/man/preformat
45- if [ $mandir = /usr/man/preformat ]
46- then
47- mandir1=/usr/man
48- else
49- mandir1=$mandir
50- fi
51-
52- if [ -f ${mandir1}/whatis ]
53+ if [ -f /var/cache/man/whatis ]
54 then
55- cat ${mandir1}/whatis >> $TMPFILE
56+ cat /var/cache/man/whatis >> $TMPFILE
57 fi
58- tr -s '\n' < $TMPFILE | sort -u > ${mandir1}/whatis
59+ tr -s '\n' < $TMPFILE | sort -u > /var/cache/man/whatis
60
61- chmod 644 ${mandir1}/whatis
62+ chmod 644 /var/cache/man/whatis
63 rm $TMPFILE
64- fi
65 done
66 done
67
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.6e-whatis2.patch b/meta/recipes-extended/man/man-1.6e/man-1.6e-whatis2.patch
deleted file mode 100644
index 180d4a3178..0000000000
--- a/meta/recipes-extended/man/man-1.6e/man-1.6e-whatis2.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1--- man-1.6e-ro_usr/src/makewhatis.sh 2007-05-18 11:41:50.000000000 -0300
2+++ man-1.6e/src/makewhatis.sh 2007-05-18 13:27:16.000000000 -0300
3@@ -162,10 +162,15 @@
4 fi
5 catpath=`echo ${catpath} | tr : ' '`
6
7+#WHATIS_DIR=$DESTDIR/var/cache/man/`echo $here|sed -e 's!.*/man/!!g'`
8+WHATIS_DIR=$DESTDIR/var/cache/man/$LANG
9+[[ -d $WHATIS_DIR ]] || mkdir -p $WHATIS_DIR/
10+
11 # first truncate all the whatis files that will be created new,
12 # then only update - we might visit the same directory twice
13 if [ x$update = x ]; then
14- cp /dev/null /var/cache/man/whatis
15+ mkdir -p $WHATIS_DIR/
16+ /bin/echo -n > $WHATIS_DIR/whatis
17 fi
18
19 for pages in man cat
20@@ -395,13 +400,13 @@
21
22 cd $here
23
24- if [ -f /var/cache/man/whatis ]
25+ if [ -f $WHATIS_DIR/whatis ]
26 then
27- cat /var/cache/man/whatis >> $TMPFILE
28+ cat $WHATIS_DIR/whatis >> $TMPFILE
29 fi
30- tr -s '\n' < $TMPFILE | sort -u > /var/cache/man/whatis
31+ tr -s '\n' < $TMPFILE | sort -u > $WHATIS_DIR/whatis
32
33- chmod 644 /var/cache/man/whatis
34+ chmod 644 $WHATIS_DIR/whatis
35 rm $TMPFILE
36 done
37 done
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5g-nonrootbuild.patch b/meta/recipes-extended/man/man-1.6f/man-1.5g-nonrootbuild.patch
index ae2bc4d17f..ae2bc4d17f 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5g-nonrootbuild.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5g-nonrootbuild.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5h1-gencat.patch b/meta/recipes-extended/man/man-1.6f/man-1.5h1-gencat.patch
index 6409dfce55..6409dfce55 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5h1-gencat.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5h1-gencat.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5h1-make.patch b/meta/recipes-extended/man/man-1.6f/man-1.5h1-make.patch
index f9f91e4d0e..f9f91e4d0e 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5h1-make.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5h1-make.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5i2-initial.patch b/meta/recipes-extended/man/man-1.6f/man-1.5i2-initial.patch
index 1b1442385e..1b1442385e 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5i2-initial.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5i2-initial.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5i2-newline.patch b/meta/recipes-extended/man/man-1.6f/man-1.5i2-newline.patch
index da95d5ad18..da95d5ad18 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5i2-newline.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5i2-newline.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5i2-overflow.patch b/meta/recipes-extended/man/man-1.6f/man-1.5i2-overflow.patch
index f1ef06bab0..f1ef06bab0 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5i2-overflow.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5i2-overflow.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5j-i18n.patch b/meta/recipes-extended/man/man-1.6f/man-1.5j-i18n.patch
index 7645542e16..7645542e16 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5j-i18n.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5j-i18n.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5j-nocache.patch b/meta/recipes-extended/man/man-1.6f/man-1.5j-nocache.patch
index 267b34b93a..267b34b93a 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5j-nocache.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5j-nocache.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5j-utf8.patch b/meta/recipes-extended/man/man-1.6f/man-1.5j-utf8.patch
index c817763676..c817763676 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5j-utf8.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5j-utf8.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5k-confpath.patch b/meta/recipes-extended/man/man-1.6f/man-1.5k-confpath.patch
index 71ac9fcfc9..71ac9fcfc9 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5k-confpath.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5k-confpath.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5k-nonascii.patch b/meta/recipes-extended/man/man-1.6f/man-1.5k-nonascii.patch
index 465d839ea0..465d839ea0 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5k-nonascii.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5k-nonascii.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5k-sofix.patch b/meta/recipes-extended/man/man-1.6f/man-1.5k-sofix.patch
index d4522ea974..d4522ea974 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5k-sofix.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5k-sofix.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5m2-bug11621.patch b/meta/recipes-extended/man/man-1.6f/man-1.5m2-bug11621.patch
index 9c06c4c104..9c06c4c104 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5m2-bug11621.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5m2-bug11621.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5m2-buildroot.patch b/meta/recipes-extended/man/man-1.6f/man-1.5m2-buildroot.patch
index d84208390a..d84208390a 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5m2-buildroot.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5m2-buildroot.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5m2-multiple.patch b/meta/recipes-extended/man/man-1.6f/man-1.5m2-multiple.patch
index cc5bffde63..cc5bffde63 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5m2-multiple.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5m2-multiple.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5m2-no-color-for-printing.patch b/meta/recipes-extended/man/man-1.6f/man-1.5m2-no-color-for-printing.patch
index d1f810a442..d1f810a442 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5m2-no-color-for-printing.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5m2-no-color-for-printing.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5m2-sigpipe.patch b/meta/recipes-extended/man/man-1.6f/man-1.5m2-sigpipe.patch
index 81fb2d702a..81fb2d702a 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5m2-sigpipe.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5m2-sigpipe.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.5m2-tv_fhs.patch b/meta/recipes-extended/man/man-1.6f/man-1.5m2-tv_fhs.patch
index 20389d9c08..20389d9c08 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.5m2-tv_fhs.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.5m2-tv_fhs.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.6e-i18n_whatis.patch b/meta/recipes-extended/man/man-1.6f/man-1.6e-i18n_whatis.patch
index ad62a6016f..ad62a6016f 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.6e-i18n_whatis.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.6e-i18n_whatis.patch
diff --git a/meta/recipes-extended/man/man-1.6f/man-1.6e-lzma+xz-support.patch b/meta/recipes-extended/man/man-1.6f/man-1.6e-lzma+xz-support.patch
new file mode 100644
index 0000000000..f8ade4fc58
--- /dev/null
+++ b/meta/recipes-extended/man/man-1.6f/man-1.6e-lzma+xz-support.patch
@@ -0,0 +1,120 @@
1Index: man-1.6f/configure
2===================================================================
3--- man-1.6f.orig/configure 2010-12-29 14:00:35.000000000 -0800
4+++ man-1.6f/configure 2010-12-29 14:27:57.584431711 -0800
5@@ -1027,7 +1027,7 @@
6 then
7 DO_COMPRESSION=true
8 compress=
9- for i in lzma bzip2 gzip bzip tzip pack compress freeze yabba
10+ for i in xz lzma bzip2 gzip bzip tzip pack compress freeze yabba
11 do
12 eval F$i=missing
13 for j in $DEFPATH
14@@ -1080,6 +1080,7 @@
15 fi
16
17 case $compress in
18+ *xz*) ext=".xz" ;;
19 *lzma*) ext=".lzma" ;;
20 *bzip2*) ext=".bz2" ;;
21 *gzip*) ext=".gz" ;;
22@@ -1123,7 +1124,7 @@
23 fi
24
25 # unconditionally handle uncompression
26-UNCOMPRESSORS="unlzma gunzip bzip2 pcat zcat fcat unyabba"
27+UNCOMPRESSORS="unxz unlzma gunzip bzip2 pcat zcat fcat unyabba"
28 for i in $UNCOMPRESSORS
29 do
30 eval F$i=missing
31@@ -1144,6 +1145,10 @@
32 if [ $Fbzip2 != missing ]; then
33 bzip2="$Fbzip2 -c -d"
34 fi
35+unxz=missing
36+if [ $Funxz != missing ]; then
37+ unxz="$Funxz -c -d"
38+fi
39 unlzma=missing
40 if [ $Funlzma != missing ]; then
41 unlzma="$Funlzma -c -d"
42@@ -1176,6 +1181,9 @@
43 bzip2)
44 echo "Command to use for .bz2 files (standard bzip2)"
45 echo $n "[`eval echo \\$$filter`] $c" ;;
46+ xz)
47+ echo "Command to use for .xz files (standard xz)"
48+ echo $n "[`eval echo \\$$filter`] $c" ;;
49 lzma)
50 echo "Command to use for .lzma files (standard lzma)"
51 echo $n "[`eval echo \\$$filter`] $c" ;;
52@@ -1240,6 +1248,7 @@
53 case $compress_ext in
54 .gz) decompress=$gunzip ;;
55 .bz2) decompress=$bzip2 ;;
56+ .xz) decompress=$unxz ;;
57 .lzma) decompress=$unlzma ;;
58 .z) decompress=$pcat ;;
59 .Z) decompress=$zcat ;;
60@@ -1333,6 +1342,7 @@
61 s,@zcat@,$zcat,
62 s,@gunzip@,$gunzip,
63 s,@bzip2@,$bzip2,
64+s,@unxz@,$unxz,
65 s,@unlzma@,$unlzma,
66 s,@unyabba@,$unyabba,
67 s,@compress@,$compress,
68Index: man-1.6f/src/makewhatis.sh
69===================================================================
70--- man-1.6f.orig/src/makewhatis.sh 2010-12-29 14:00:35.000000000 -0800
71+++ man-1.6f/src/makewhatis.sh 2010-12-29 14:16:18.821555314 -0800
72@@ -242,7 +242,7 @@
73 find $mandir/${pages}$i/. -name '*' $findarg0 $findarg -print | LC_ALL=C $AWK -v MAN_NAME="$MAN_NAME" -v MAN_DESCRIPTION="$MAN_DESCRIPTION" '
74
75 function readline() {
76- if (use_zcat || use_bzcat || use_lzcat) {
77+ if (use_zcat || use_bzcat || use_lzcat || use_xzcat) {
78 result = (pipe_cmd | getline);
79 if (result < 0) {
80 print "Pipe error: " pipe_cmd " " ERRNO > "/dev/stderr";
81@@ -257,7 +257,7 @@
82 }
83
84 function closeline() {
85- if (use_zcat || use_bzcat || use_lzcat) {
86+ if (use_zcat || use_bzcat || use_lzcat || use_xzcat) {
87 return close(pipe_cmd);
88 } else {
89 return close(filename);
90@@ -278,7 +278,9 @@
91 use_bzcat = match(filename,"\\.bz2");
92 if(!use_bzcat)
93 use_lzcat = match(filename,"\\.lzma");
94- if (use_zcat || use_bzcat || use_lzcat ) {
95+ if(!use_xzcat)
96+ use_xzcat = match(filename,"\\.xz");
97+ if (use_zcat || use_bzcat || use_lzcat || use_xzcat ) {
98 filename_no_gz = substr(filename, 0, RSTART - 1);
99 } else {
100 filename_no_gz = filename;
101@@ -291,14 +293,16 @@
102 actual_section = section;
103 }
104 sub(/\..*/, "", progname);
105- if (use_zcat || use_bzcat || use_lzcat) {
106+ if (use_zcat || use_bzcat || use_lzcat || use_xzcat) {
107 if (use_zcat) {
108 pipe_cmd = "zcat \"" filename "\"";
109 } else if (use_bzcat) {
110 pipe_cmd = "bzcat \"" filename "\"";
111- } else {
112+ } else if (use_lzcat) {
113 pipe_cmd = "lzcat \"" filename "\"";
114- }
115+ } else {
116+ pipe_cmd = "xzcat \"" filename "\"";
117+ }
118 # try to avoid suspicious stuff
119 if (filename ~ /[;&|`$(]/) {
120 print "ignored strange file name " filename " in " curdir > "/dev/stderr";
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.6e-mandirs.patch b/meta/recipes-extended/man/man-1.6f/man-1.6e-mandirs.patch
index 06e9869754..06e9869754 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.6e-mandirs.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.6e-mandirs.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.6e-new_sections.patch b/meta/recipes-extended/man/man-1.6f/man-1.6e-new_sections.patch
index 51727588f4..51727588f4 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.6e-new_sections.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.6e-new_sections.patch
diff --git a/meta/recipes-extended/man/man-1.6f/man-1.6e-ro_usr.patch b/meta/recipes-extended/man/man-1.6f/man-1.6e-ro_usr.patch
new file mode 100644
index 0000000000..d330e62b0b
--- /dev/null
+++ b/meta/recipes-extended/man/man-1.6f/man-1.6e-ro_usr.patch
@@ -0,0 +1,29 @@
1Index: man-1.6f/src/makewhatis.sh
2===================================================================
3--- man-1.6f.orig/src/makewhatis.sh 2010-12-29 13:42:34.000000000 -0800
4+++ man-1.6f/src/makewhatis.sh 2010-12-29 13:42:35.667428347 -0800
5@@ -124,7 +124,7 @@
6 continue;;
7 -s) setsections=1
8 continue;;
9- -u) findarg="-ctime 0"
10+ -u) findarg="-newer /var/cache/man/whatis"
11 update=1
12 continue;;
13 -v) verbose=1
14@@ -165,14 +165,7 @@
15 # first truncate all the whatis files that will be created new,
16 # then only update - we might visit the same directory twice
17 if [ x$update = x ]; then
18- for pages in man cat
19- do
20- eval path="\$$pages"path
21- for mandir in $path
22- do
23- cp /dev/null $mandir/whatis
24- done
25- done
26+ cp /dev/null /var/cache/man/whatis
27 fi
28
29 for pages in man cat
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.6e-security.patch b/meta/recipes-extended/man/man-1.6f/man-1.6e-security.patch
index 85fdf4e5fc..85fdf4e5fc 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.6e-security.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.6e-security.patch
diff --git a/meta/recipes-extended/man/man-1.6e/man-1.6e-use_i18n_vars_in_a_std_way.patch b/meta/recipes-extended/man/man-1.6f/man-1.6e-use_i18n_vars_in_a_std_way.patch
index a448da54d7..a448da54d7 100644
--- a/meta/recipes-extended/man/man-1.6e/man-1.6e-use_i18n_vars_in_a_std_way.patch
+++ b/meta/recipes-extended/man/man-1.6f/man-1.6e-use_i18n_vars_in_a_std_way.patch
diff --git a/meta/recipes-extended/man/man-1.6f/man-1.6e-whatis2.patch b/meta/recipes-extended/man/man-1.6f/man-1.6e-whatis2.patch
new file mode 100644
index 0000000000..1a10be3611
--- /dev/null
+++ b/meta/recipes-extended/man/man-1.6f/man-1.6e-whatis2.patch
@@ -0,0 +1,48 @@
1Index: man-1.6f/src/makewhatis.sh
2===================================================================
3--- man-1.6f.orig/src/makewhatis.sh 2010-12-29 13:51:45.000000000 -0800
4+++ man-1.6f/src/makewhatis.sh 2010-12-29 13:59:35.399799412 -0800
5@@ -164,10 +164,15 @@
6 fi
7 catpath=`echo ${catpath} | tr : ' '`
8
9+#WHATIS_DIR=$DESTDIR/var/cache/man/`echo $here|sed -e 's!.*/man/!!g'`
10+WHATIS_DIR=$DESTDIR/var/cache/man/$LANG
11+[[ -d $WHATIS_DIR ]] || mkdir -p $WHATIS_DIR/
12+
13 # first truncate all the whatis files that will be created new,
14 # then only update - we might visit the same directory twice
15 if [ x$update = x ]; then
16- cp /dev/null /var/cache/man/whatis
17+ mkdir -p $WHATIS_DIR/
18+ /bin/echo -n > $WHATIS_DIR/whatis
19 fi
20
21 for pages in man cat
22@@ -180,13 +185,7 @@
23 echo "about to enter $mandir" > /dev/stderr
24 fi
25
26- # kludge for Slackware's /usr/man/preformat
27- if [ $mandir = /usr/man/preformat ]
28- then
29- mandir1=/usr/man
30- else
31- mandir1=$mandir
32- fi
33+ mandir1=$WHATIS_DIR
34
35 # if $mandir is on a readonly partition, and the whatis file
36 # is not a symlink, then let's skip trying to update it
37@@ -207,11 +206,6 @@
38 fi
39 fi
40
41- if [ -s ${mandir}/whatis -a $pages = man -a x$update = x ]; then
42- if [ x$verbose != x ]; then
43- echo skipping $mandir - we did it already > /dev/stderr
44- fi
45- else
46 here=`pwd`
47 cd $mandir
48 for i in $sections
diff --git a/meta/recipes-extended/man/man-1.6e/man.1.gz b/meta/recipes-extended/man/man-1.6f/man.1.gz
index c368045153..c368045153 100644
--- a/meta/recipes-extended/man/man-1.6e/man.1.gz
+++ b/meta/recipes-extended/man/man-1.6f/man.1.gz
Binary files differ
diff --git a/meta/recipes-extended/man/man-1.6e/man.7.gz b/meta/recipes-extended/man/man-1.6f/man.7.gz
index e85af82426..e85af82426 100644
--- a/meta/recipes-extended/man/man-1.6e/man.7.gz
+++ b/meta/recipes-extended/man/man-1.6f/man.7.gz
Binary files differ
diff --git a/meta/recipes-extended/man/man-1.6e/manpath.5.gz b/meta/recipes-extended/man/man-1.6f/manpath.5.gz
index c012ff8976..c012ff8976 100644
--- a/meta/recipes-extended/man/man-1.6e/manpath.5.gz
+++ b/meta/recipes-extended/man/man-1.6f/manpath.5.gz
Binary files differ
diff --git a/meta/recipes-extended/man/man_1.6e.bb b/meta/recipes-extended/man/man_1.6f.bb
index 930cca90c4..f1c9754434 100644
--- a/meta/recipes-extended/man/man_1.6e.bb
+++ b/meta/recipes-extended/man/man_1.6f.bb
@@ -10,7 +10,7 @@ DEPENDS = "groff less"
10 10
11LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" 11LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
12 12
13SRC_URI = "http://primates.ximian.com/~flucifredi/man/man-1.6e.tar.gz \ 13SRC_URI = "http://primates.ximian.com/~flucifredi/${PN}/${PN}-${PV}.tar.gz \
14 file://man-1.5k-confpath.patch;striplevel=0 \ 14 file://man-1.5k-confpath.patch;striplevel=0 \
15 file://man-1.5h1-make.patch;striplevel=1 \ 15 file://man-1.5h1-make.patch;striplevel=1 \
16 file://man-1.5k-nonascii.patch;striplevel=1 \ 16 file://man-1.5k-nonascii.patch;striplevel=1 \
@@ -38,8 +38,8 @@ SRC_URI = "http://primates.ximian.com/~flucifredi/man/man-1.6e.tar.gz \
38 file://man-1.6e-lzma+xz-support.patch;striplevel=1 \ 38 file://man-1.6e-lzma+xz-support.patch;striplevel=1 \
39 file://man*" 39 file://man*"
40 40
41SRC_URI[md5sum] = "d8187cd756398baefc48ba7d60ff6a8a" 41SRC_URI[md5sum] = "67aaaa6df35215e812fd7d89472c44b6"
42SRC_URI[sha256sum] = "022faf23844eabb3662eabb105836925dd83bedda10271e2450a5bc5b61a5b5f" 42SRC_URI[sha256sum] = "9f208c7e1981371ad4481d6e6c2c566bc726a15778723f94136d220fb9375f6c"
43 43
44 44
45do_configure () { 45do_configure () {
diff --git a/meta/recipes-extended/mc/mc_4.7.3.bb b/meta/recipes-extended/mc/mc_4.7.5.bb
index 22a1a9397d..2898f2cd8b 100644
--- a/meta/recipes-extended/mc/mc_4.7.3.bb
+++ b/meta/recipes-extended/mc/mc_4.7.5.bb
@@ -4,12 +4,16 @@ LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" 4LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
5SECTION = "console/utils" 5SECTION = "console/utils"
6DEPENDS = "ncurses glib-2.0" 6DEPENDS = "ncurses glib-2.0"
7RDEPENDS = "ncurses-terminfo" 7RDEPENDS_${PN} = "ncurses-terminfo"
8
9PR = "r1"
10
11PR = "r0"
8 12
9SRC_URI = "http://www.midnight-commander.org/downloads/${PN}-${PV}.tar.bz2" 13SRC_URI = "http://www.midnight-commander.org/downloads/${PN}-${PV}.tar.bz2"
10 14
11SRC_URI[md5sum] = "42eb806d733b11d0d13ff7ee5fd1a03c" 15SRC_URI[md5sum] = "4eb2438b168fb0f93b748889a9294f54"
12SRC_URI[sha256sum] = "4815184f28218a43080e4a425b5cd4e159277a10c56ff06d29bf441828fe5927" 16SRC_URI[sha256sum] = "0d2b4e87b8a4158edf54380df9402b4a1a19f7494ef06dd0a0a3e3ff6a2b50f1"
13 17
14inherit autotools gettext 18inherit autotools gettext
15 19
diff --git a/meta/recipes-extended/msmtp/msmtp_1.4.23.bb b/meta/recipes-extended/msmtp/msmtp_1.4.23.bb
new file mode 100644
index 0000000000..d72677cad2
--- /dev/null
+++ b/meta/recipes-extended/msmtp/msmtp_1.4.23.bb
@@ -0,0 +1,21 @@
1SUMMARY = "msmtp is an SMTP client."
2DESCRIPTION = "A sendmail replacement for use in MTAs like mutt"
3HOMEPAGE = "http://msmtp.sourceforge.net/"
4SECTION = "console/network"
5
6PRIORITY = "required"
7LICENSE = "GPLv3"
8DEPENDS = "zlib gnutls"
9PR = "r0"
10
11
12#COPYING or Licence
13LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
14
15SRC_URI = "http://sourceforge.net/projects/msmtp/files/msmtp/${PV}/${PN}-${PV}.tar.bz2 \
16 "
17
18SRC_URI[md5sum] = "5fb7ae88186624cdb125d3efad3fdc16"
19SRC_URI[sha256sum] = "269cd30eeb867167c6a599e23399f4fc24196fcdef3bac5b120d806b3b421810"
20
21inherit gettext autotools
diff --git a/meta/recipes-extended/parted/parted-1.9.0/no_check.patch b/meta/recipes-extended/parted/parted-2.3/no_check.patch
index 24a328ceea..24a328ceea 100644
--- a/meta/recipes-extended/parted/parted-1.9.0/no_check.patch
+++ b/meta/recipes-extended/parted/parted-2.3/no_check.patch
diff --git a/meta/recipes-extended/parted/parted-1.9.0/syscalls.patch b/meta/recipes-extended/parted/parted-2.3/syscalls.patch
index 6be49968f3..6be49968f3 100644
--- a/meta/recipes-extended/parted/parted-1.9.0/syscalls.patch
+++ b/meta/recipes-extended/parted/parted-2.3/syscalls.patch
diff --git a/meta/recipes-extended/parted/parted_1.9.0.bb b/meta/recipes-extended/parted/parted_2.3.bb
index 3601fb1006..14c9c256e1 100644
--- a/meta/recipes-extended/parted/parted_1.9.0.bb
+++ b/meta/recipes-extended/parted/parted_2.3.bb
@@ -1,17 +1,17 @@
1DESCRIPTION = "parted, the GNU partition resizing program" 1DESCRIPTION = "parted, the GNU partition resizing program"
2HOMEPAGE = "http://www.gnu.org/software/parted/parted.html" 2HOMEPAGE = "http://www.gnu.org/software/parted/parted.html"
3LICENSE = "GPLv3+" 3LICENSE = "GPLv3+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=4c61b8950dc1aab4d2aa7c2ae6b1cfb3" 4LIC_FILES_CHKSUM = "file://COPYING;md5=2f31b266d3440dd7ee50f92cf67d8e6c"
5SECTION = "console/tools" 5SECTION = "console/tools"
6DEPENDS = "readline e2fsprogs" 6DEPENDS = "readline e2fsprogs"
7PR = "r3" 7PR = "r0"
8 8
9SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.gz \ 9SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.gz \
10 file://no_check.patch;patch=1 \ 10 file://no_check.patch \
11 file://syscalls.patch;patch=1 " 11 file://syscalls.patch "
12 12
13SRC_URI[md5sum] = "055305bc7bcf472ce38f9abf69a9d94d" 13SRC_URI[md5sum] = "30ceb6df7e8681891e865e2fe5a7903d"
14SRC_URI[sha256sum] = "53231241ba24c104c207bd2920d70d31fda86df86a69c90e11f35144ffc55509" 14SRC_URI[sha256sum] = "e81fa140805b5cd029ff6dda5cfa94d223e83ac182ebcae94f841d62ce468829"
15 15
16EXTRA_OECONF = "--disable-Werror --disable-device-mapper" 16EXTRA_OECONF = "--disable-Werror --disable-device-mapper"
17 17
diff --git a/meta/recipes-extended/perl/libconvert-asn1-perl_0.21.bb b/meta/recipes-extended/perl/libconvert-asn1-perl_0.22.bb
index 660beecfbe..e3edc18933 100644
--- a/meta/recipes-extended/perl/libconvert-asn1-perl_0.21.bb
+++ b/meta/recipes-extended/perl/libconvert-asn1-perl_0.22.bb
@@ -6,13 +6,15 @@ PR = "r0"
6 6
7SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Convert-ASN1-${PV}.tar.gz" 7SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Convert-ASN1-${PV}.tar.gz"
8 8
9SRC_URI[md5sum] = "6f5c45724db1b09911e489275d19d0f5" 9SRC_URI[md5sum] = "64a555e44adc79d92072b9fc7a6779c4"
10SRC_URI[sha256sum] = "94e37fcb52148355cf9a0e96518c82bbb80b0b97adcce88bdb87766ca1cf9e45" 10SRC_URI[sha256sum] = "be63d5cc715d7306e54b41d3c68c3617ca306289cff619a2ca43505e35f2f6ee"
11 11
12S = "${WORKDIR}/Convert-ASN1-${PV}" 12S = "${WORKDIR}/Convert-ASN1-${PV}"
13 13
14inherit cpan 14inherit cpan
15 15
16EXTRA_PERLFLAGS = "-I ${STAGING_LIBDIR_NATIVE}/perl/${@get_perl_version(d)}"
17
16BBCLASSEXTEND="native" 18BBCLASSEXTEND="native"
17 19
18PACKAGE_ARCH = "all" 20PACKAGE_ARCH = "all"
diff --git a/meta/recipes-extended/polkit/polkit_0.99.bb b/meta/recipes-extended/polkit/polkit_0.99.bb
index f578ccad6b..7f969792ea 100644
--- a/meta/recipes-extended/polkit/polkit_0.99.bb
+++ b/meta/recipes-extended/polkit/polkit_0.99.bb
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb \
7 file://docs/polkit/html/license.html;md5=54750ec6ece444c50b823234d445dd99" 7 file://docs/polkit/html/license.html;md5=54750ec6ece444c50b823234d445dd99"
8 8
9SRC_URI = "http://hal.freedesktop.org/releases/polkit-${PV}.tar.gz" 9SRC_URI = "http://hal.freedesktop.org/releases/polkit-${PV}.tar.gz"
10PR = "r0" 10PR = "r1"
11DEPENDS = "libpam expat dbus-glib eggdbus intltool" 11DEPENDS = "libpam expat dbus-glib eggdbus intltool"
12RDEPENDS = "libpam" 12RDEPENDS_${PN} = "libpam"
13EXTRA_OECONF = "--with-authfw=pam --with-os-type=moblin --disable-man-pages --disable-gtk-doc --disable-introspection" 13EXTRA_OECONF = "--with-authfw=pam --with-os-type=moblin --disable-man-pages --disable-gtk-doc --disable-introspection"
14 14
15inherit autotools pkgconfig 15inherit autotools pkgconfig
diff --git a/meta/recipes-extended/sat-solver/sat-solver/cmake.patch b/meta/recipes-extended/sat-solver/sat-solver/cmake.patch
index a69d82590e..d7b80b0846 100644
--- a/meta/recipes-extended/sat-solver/sat-solver/cmake.patch
+++ b/meta/recipes-extended/sat-solver/sat-solver/cmake.patch
@@ -2,23 +2,56 @@ check rpm
2not building docs (need oxygen) 2not building docs (need oxygen)
3 3
48/19/2010 - created by Qing He <qing.he@intel.com> 48/19/2010 - created by Qing He <qing.he@intel.com>
51/24/2011 - Disable Fedora/Debian checking/settings by Mark Hatle <mark.hatle@windriver.com>
5 6
6diff --git a/CMakeLists.txt b/CMakeLists.txt
7index 24234db..69413e4 100644
8--- a/CMakeLists.txt 7--- a/CMakeLists.txt
9+++ b/CMakeLists.txt 8+++ b/CMakeLists.txt
10@@ -50,6 +50,10 @@ MESSAGE(STATUS "Enabling multi dist support") 9@@ -35,22 +35,15 @@
10 FIND_PACKAGE(Check REQUIRED)
11 FIND_PACKAGE(ZLIB REQUIRED)
12
13-IF ( FEDORA )
14-MESSAGE(STATUS "Building for Fedora")
15-ADD_DEFINITIONS( -DFEDORA )
16-ENDIF ( FEDORA)
17-
18-IF ( DEBIAN )
19-MESSAGE(STATUS "Building for Debian")
20-ADD_DEFINITIONS( -DDEBIAN -DDEBIAN_SEMANTICS)
21-ENDIF ( DEBIAN )
22-
23 IF ( MULTI_SEMANTICS )
24 MESSAGE(STATUS "Enabling multi dist support")
11 ADD_DEFINITIONS( -DMULTI_SEMANTICS) 25 ADD_DEFINITIONS( -DMULTI_SEMANTICS)
12 ENDIF ( MULTI_SEMANTICS ) 26 ENDIF ( MULTI_SEMANTICS )
13 27
28-IF ( NOT DEBIAN )
14+FIND_PACKAGE(PkgConfig REQUIRED) 29+FIND_PACKAGE(PkgConfig REQUIRED)
15+PKG_CHECK_MODULES(RPM REQUIRED rpm) 30+PKG_CHECK_MODULES(RPM REQUIRED rpm)
16+INCLUDE_DIRECTORIES( ${RPM_INCLUDE_DIRS} ) 31+INCLUDE_DIRECTORIES( ${RPM_INCLUDE_DIRS} )
17+ 32+
18 IF ( NOT DEBIAN )
19 FIND_LIBRARY(RPMDB_LIBRARY NAMES rpmdb) 33 FIND_LIBRARY(RPMDB_LIBRARY NAMES rpmdb)
20 IF ( NOT RPMDB_LIBRARY ) 34 IF ( NOT RPMDB_LIBRARY )
21@@ -159,22 +163,7 @@ ADD_SUBDIRECTORY(tools) 35 FIND_LIBRARY(RPMDB_LIBRARY NAMES rpm)
36@@ -59,13 +52,14 @@
37 IF ( RPMIO_LIBRARY )
38 SET( RPMDB_LIBRARY ${RPMIO_LIBRARY} ${RPMDB_LIBRARY} )
39 ENDIF ( RPMIO_LIBRARY )
40-IF ( FEDORA )
41+FIND_LIBRARY(RPMMISC_LIBRARY NAMES rpmmisc)
42+IF ( RPMMISC_LIBRARY )
43+SET( RPMDB_LIBRARY ${RPMMISC_LIBRARY} ${RPMDB_LIBRARY} )
44+ENDIF ( RPMMISC_LIBRARY )
45 FIND_LIBRARY(DB_LIBRARY NAMES db)
46 IF ( DB_LIBRARY )
47 SET( RPMDB_LIBRARY ${DB_LIBRARY} ${RPMDB_LIBRARY} )
48 ENDIF ( DB_LIBRARY )
49-ENDIF ( FEDORA )
50-ENDIF ( NOT DEBIAN )
51
52 SET( PACKAGE "satsolver" )
53 SET( VERSION "${LIBSATSOLVER_MAJOR}.${LIBSATSOLVER_MINOR}.${LIBSATSOLVER_PATCH}" )
54@@ -159,22 +153,7 @@
22 ADD_SUBDIRECTORY(applayer) 55 ADD_SUBDIRECTORY(applayer)
23 ADD_SUBDIRECTORY(tests) 56 ADD_SUBDIRECTORY(tests)
24 ADD_SUBDIRECTORY(examples) 57 ADD_SUBDIRECTORY(examples)
diff --git a/meta/recipes-extended/sat-solver/sat-solver/db5.patch b/meta/recipes-extended/sat-solver/sat-solver/db5.patch
new file mode 100644
index 0000000000..98f322ffbb
--- /dev/null
+++ b/meta/recipes-extended/sat-solver/sat-solver/db5.patch
@@ -0,0 +1,24 @@
1RPM no longer includes an internal version of db, it now relies on the system
2version. The system version in Poky is available at /usr/include/db51
3
4Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
5
6rebased to sat-solver commit 9e1f2a097965debebc69cebf8ed73c6ff31a5220
7
8Signed-off-by: Qing He <qing.he@intel.com>
9
10--- git/ext/repo_rpmdb.c.orig 2011-01-06 10:46:37.369900542 -0600
11+++ git/ext/repo_rpmdb.c 2011-01-06 10:48:35.482919434 -0600
12@@ -29,11 +29,7 @@
13 #include <rpm/rpmdb.h>
14
15 #ifndef DB_CREATE
16-# ifdef FEDORA
17-# include <db.h>
18-# else
19-# include <rpm/db.h>
20-# endif
21+# include <db.h>
22 #endif
23
24 #include "pool.h"
diff --git a/meta/recipes-extended/sat-solver/sat-solver/rpm5.patch b/meta/recipes-extended/sat-solver/sat-solver/rpm5.patch
index a44a07deef..5ab632155d 100644
--- a/meta/recipes-extended/sat-solver/sat-solver/rpm5.patch
+++ b/meta/recipes-extended/sat-solver/sat-solver/rpm5.patch
@@ -2,6 +2,11 @@ fix rpm5 build
2 2
38/19/2010 - created by Qing He <qing.he@intel.com> 38/19/2010 - created by Qing He <qing.he@intel.com>
4 4
5
6pgpDigNew/pgpDigFree has changed in RPM 5.4.0
7
8Signed-off-by: Qing He <qing.he@intel.com>
9
5diff --git a/ext/repo_rpmdb.c b/ext/repo_rpmdb.c 10diff --git a/ext/repo_rpmdb.c b/ext/repo_rpmdb.c
6index 34f2b65..3c6ab9a 100644 11index 34f2b65..3c6ab9a 100644
7--- a/ext/repo_rpmdb.c 12--- a/ext/repo_rpmdb.c
@@ -33,7 +38,7 @@ index 34f2b65..3c6ab9a 100644
33 /* only rpm knows how to do the release calculation, we don't dare 38 /* only rpm knows how to do the release calculation, we don't dare
34 * to recreate all the bugs */ 39 * to recreate all the bugs */
35- dig = pgpNewDig(); 40- dig = pgpNewDig();
36+ dig = pgpDigNew(0); 41+ dig = pgpDigNew(RPMVSF_DEFAULT, 0);
37 (void) pgpPrtPkts(pkts, pktsl, dig, 0); 42 (void) pgpPrtPkts(pkts, pktsl, dig, 0);
38 btime = dig->pubkey.time[0] << 24 | dig->pubkey.time[1] << 16 | dig->pubkey.time[2] << 8 | dig->pubkey.signid[3]; 43 btime = dig->pubkey.time[0] << 24 | dig->pubkey.time[1] << 16 | dig->pubkey.time[2] << 8 | dig->pubkey.signid[3];
39 sprintf(evrbuf, "%02x%02x%02x%02x-%02x%02x%02x%02x", dig->pubkey.signid[4], dig->pubkey.signid[5], dig->pubkey.signid[6], dig->pubkey.signid[7], dig->pubkey.time[0], dig->pubkey.time[1], dig->pubkey.time[2], dig->pubkey.time[3]); 44 sprintf(evrbuf, "%02x%02x%02x%02x-%02x%02x%02x%02x", dig->pubkey.signid[4], dig->pubkey.signid[5], dig->pubkey.signid[6], dig->pubkey.signid[7], dig->pubkey.time[0], dig->pubkey.time[1], dig->pubkey.time[2], dig->pubkey.time[3]);
@@ -42,7 +47,7 @@ index 34f2b65..3c6ab9a 100644
42 if (dig->pubkey.userid) 47 if (dig->pubkey.userid)
43 setutf8string(data, s - s->repo->pool->solvables, SOLVABLE_SUMMARY, dig->pubkey.userid); 48 setutf8string(data, s - s->repo->pool->solvables, SOLVABLE_SUMMARY, dig->pubkey.userid);
44- pgpFreeDig(dig); 49- pgpFreeDig(dig);
45+ (void) pgpDigFree(dig, ""); 50+ (void) pgpDigFree(dig);
46 sat_free((void *)pkts); 51 sat_free((void *)pkts);
47 return 1; 52 return 1;
48 } 53 }
diff --git a/meta/recipes-extended/sat-solver/sat-solver_git.bb b/meta/recipes-extended/sat-solver/sat-solver_git.bb
index db368b1e1e..02b6c75507 100644
--- a/meta/recipes-extended/sat-solver/sat-solver_git.bb
+++ b/meta/recipes-extended/sat-solver/sat-solver_git.bb
@@ -4,14 +4,15 @@ HOMEPAGE = "http://en.opensue.org/Portal:Libzypp"
4LICENSE = "BSD" 4LICENSE = "BSD"
5LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8" 5LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8"
6 6
7DEPENDS = "libcheck rpm zlib expat" 7DEPENDS = "libcheck rpm zlib expat db"
8 8
9PV = "0.0-git${SRCPV}" 9PV = "0.0-git${SRCPV}"
10PR = "r1" 10PR = "r3"
11 11
12SRC_URI = "git://gitorious.org/opensuse/sat-solver.git;protocol=git \ 12SRC_URI = "git://gitorious.org/opensuse/sat-solver.git;protocol=git \
13 file://cmake.patch \ 13 file://cmake.patch \
14 file://rpm5.patch" 14 file://rpm5.patch \
15 file://db5.patch"
15 16
16S = "${WORKDIR}/git" 17S = "${WORKDIR}/git"
17 18
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index fcbcb3eb75..42f92a7f4e 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -20,7 +20,7 @@ PAM_PLUGINS = " libpam-runtime \
20 pam-plugin-rootok" 20 pam-plugin-rootok"
21 21
22DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" 22DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
23RDEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_PLUGINS}', '', d)}" 23RDEPENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_PLUGINS}', '', d)}"
24 24
25# since we deduce from ${SERIAL_CONSOLE} 25# since we deduce from ${SERIAL_CONSOLE}
26PACKAGE_ARCH = "${MACHINE_ARCH}" 26PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/meta/recipes-extended/shadow/shadow_4.1.4.2.bb b/meta/recipes-extended/shadow/shadow_4.1.4.2.bb
index ca5f533f92..224ae5e38f 100644
--- a/meta/recipes-extended/shadow/shadow_4.1.4.2.bb
+++ b/meta/recipes-extended/shadow/shadow_4.1.4.2.bb
@@ -1,6 +1,6 @@
1require shadow.inc 1require shadow.inc
2 2
3PR = "r0" 3PR = "r1"
4 4
5SRC_URI += "file://shadow.automake-1.11.patch \ 5SRC_URI += "file://shadow.automake-1.11.patch \
6 file://shadow-4.1.3-dots-in-usernames.patch \ 6 file://shadow-4.1.3-dots-in-usernames.patch \
diff --git a/meta/recipes-extended/sudo/sudo_1.7.4p4.bb b/meta/recipes-extended/sudo/sudo_1.7.4p6.bb
index ee81b650ff..edc9a0e8bf 100644
--- a/meta/recipes-extended/sudo/sudo_1.7.4p4.bb
+++ b/meta/recipes-extended/sudo/sudo_1.7.4p6.bb
@@ -5,7 +5,7 @@ PR = "r0"
5SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \ 5SRC_URI = "http://ftp.sudo.ws/sudo/dist/sudo-${PV}.tar.gz \
6 file://libtool.patch" 6 file://libtool.patch"
7 7
8SRC_URI[md5sum] = "55d9906535d70a1de347cd3d3550ee87" 8SRC_URI[md5sum] = "1ae12d3d22e7ffedbf2db26f957676f0"
9SRC_URI[sha256sum] = "38de3c3e08346b2b8dcb3cf7ed0813300d1a1d5696d0f338ea8a4ef232aacf97" 9SRC_URI[sha256sum] = "20091ef71018698c674c779f4b57178b2ecb4275fa34909b06219d2688ad14d5"
10 10
11EXTRA_OECONF += " --with-pam=no" 11EXTRA_OECONF += " --with-pam=no"
diff --git a/meta/recipes-extended/tzcode/tzcode-native_2009r.bb b/meta/recipes-extended/tzcode/tzcode-native_2009r.bb
index 7fe1326ef1..dee81139a7 100644
--- a/meta/recipes-extended/tzcode/tzcode-native_2009r.bb
+++ b/meta/recipes-extended/tzcode/tzcode-native_2009r.bb
@@ -2,6 +2,8 @@ DESCRIPTION = "tzcode, timezone zoneinfo utils -- zic, zdump, tzselect"
2LICENSE = "Public Domain" 2LICENSE = "Public Domain"
3PR = "r0" 3PR = "r0"
4 4
5LIC_FILES_CHKSUM = "file://${WORKDIR}/README;md5=3ae8198f82258417ce29066d3b034035"
6
5SRC_URI = "ftp://elsie.nci.nih.gov/pub/tzcode${PV}.tar.gz \ 7SRC_URI = "ftp://elsie.nci.nih.gov/pub/tzcode${PV}.tar.gz \
6 ftp://elsie.nci.nih.gov/pub/tzdata2009s.tar.gz" 8 ftp://elsie.nci.nih.gov/pub/tzdata2009s.tar.gz"
7 9
diff --git a/meta/recipes-extended/zypper/zypper/dso_linking_change_build_fix.patch b/meta/recipes-extended/zypper/zypper/dso_linking_change_build_fix.patch
new file mode 100644
index 0000000000..a7d3fbe50c
--- /dev/null
+++ b/meta/recipes-extended/zypper/zypper/dso_linking_change_build_fix.patch
@@ -0,0 +1,58 @@
1after gcc linking has changed, all the libraries must be explicitely specified
2This patch avoids these linking errors:
3
4| Linking CXX executable zypp-refresh
5| cd /build_disk/poky_build/build0/tmp/work/i586-poky-linux/zypper-1.4.7-git0+9eb0e248e06c8d20ad054be2439149d9ede37531-r2/git/src && /build_disk/poky_build/build0/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_link_script CMakeFiles/zypp-refresh.dir/link.txt --verbose=1
6| /build_disk/poky_build/build0/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux/i586-poky-linux-g++ -march=i586 --sysroot=/build_disk/poky_build/build0/tmp/sysroots/i586-poky-linux -fpermissive -g -O2 -Wall -Woverloaded-virtual -fstack-protector -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/zypp-refresh.dir/zypp-refresh.cc.o -o zypp-refresh -rdynamic -lzypp
7| /build_disk/poky_build/build0/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: �: invalid DSO for symbol `pthread_cancel@@GLIBC_2.0' definition
8| /build_disk/poky_build/build0/tmp/sysroots/i586-poky-linux/lib/libpthread.so.0: could not read symbols: Bad value
9| collect2: ld returned 1 exit status
10| make[2]: *** [src/zypp-refresh] Error 1
11| make[2]: Leaving directory `/build_disk/poky_build/build0/tmp/work/i586-poky-linux/zypper-1.4.7-git0+9eb0e248e06c8d20ad054be2439149d9ede37531-r2/git'
12| make[1]: *** [src/CMakeFiles/zypp-refresh.dir/all] Error 2
13
14
15| Linking CXX executable zypper
16| cd /build_disk/poky_build/build0/tmp/work/i586-poky-linux/zypper-1.4.7-git0+9eb0e248e06c8d20ad054be2439149d9ede37531-r3/git/src && /build_disk/poky_build/build0/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_link_script CMakeFiles/zypper.dir/link.txt --verbose=1
17| /build_disk/poky_build/build0/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux/i586-poky-linux-g++ -march=i586 --sysroot=/build_disk/poky_build/build0/tmp/sysroots/i586-poky-linux -fpermissive -g -O2 -Wall -Woverloaded-virtual -fstack-protector -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/zypper.dir/main.cc.o -o zypper -rdynamic libzypper_lib.a -lzypp -lreadline -laugeas -laugeas
18| /build_disk/poky_build/build0/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: �: invalid DSO for symbol `pthread_cancel@@GLIBC_2.0' definition
19| /build_disk/poky_build/build0/tmp/sysroots/i586-poky-linux/lib/libpthread.so.0: could not read symbols: Bad value
20| collect2: ld returned 1 exit status
21| make[2]: *** [src/zypper] Error 1
22
23
24| Linking CXX executable zypper
25| cd /build_disk/poky_build/build0/tmp/work/i586-poky-linux/zypper-1.4.7-git0+9eb0e248e06c8d20ad054be2439149d9ede37531-r3/git/src && /build_disk/poky_build/build0/tmp/sysroots/x86_64-linux/usr/bin/cmake -E cmake_link_script CMakeFiles/zypper.dir/link.txt --verbose=1
26| /build_disk/poky_build/build0/tmp/sysroots/x86_64-linux/usr/bin/i586-poky-linux/i586-poky-linux-g++ -march=i586 --sysroot=/build_disk/poky_build/build0/tmp/sysroots/i586-poky-linux -fpermissive -g -O2 -Wall -Woverloaded-virtual -fstack-protector -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed CMakeFiles/zypper.dir/main.cc.o -o zypper -rdynamic libzypper_lib.a -lzypp -lreadline -laugeas -laugeas -lpthread
27| /build_disk/poky_build/build0/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: �: invalid DSO for symbol `clock_gettime@@GLIBC_2.2' definition
28| /build_disk/poky_build/build0/tmp/sysroots/i586-poky-linux/lib/librt.so.1: could not read symbols: Bad value
29| collect2: ld returned 1 exit status
30| make[2]: *** [src/zypper] Error 1
31
32
33Nitin A Kamble <nitin.a.kamble@intel.com>
34Date: 2011/01/19
35
36
37Index: git/src/CMakeLists.txt
38===================================================================
39--- git.orig/src/CMakeLists.txt 2010-12-20 00:02:02.000000000 -0800
40+++ git/src/CMakeLists.txt 2011-01-19 09:23:13.432758255 -0800
41@@ -93,7 +93,7 @@
42 TARGET_LINK_LIBRARIES( zypper_lib ${ZYPP_LIBRARY} ${READLINE_LIBRARY} -laugeas ${AUGEAS_LIBRARY} )
43
44 ADD_EXECUTABLE( zypper main.cc )
45-TARGET_LINK_LIBRARIES( zypper zypper_lib ${ZYPP_LIBRARY} ${READLINE_LIBRARY} -laugeas ${AUGEAS_LIBRARY} -lrt )
46+TARGET_LINK_LIBRARIES( zypper zypper_lib ${ZYPP_LIBRARY} ${READLINE_LIBRARY} -laugeas ${AUGEAS_LIBRARY} -lrt -lpthread )
47
48
49 INSTALL(
50@@ -115,7 +115,7 @@
51
52 # zypp-refresh utility
53 ADD_EXECUTABLE( zypp-refresh zypp-refresh.cc )
54-TARGET_LINK_LIBRARIES( zypp-refresh ${ZYPP_LIBRARY} )
55+TARGET_LINK_LIBRARIES( zypp-refresh ${ZYPP_LIBRARY} -lpthread )
56 INSTALL(
57 TARGETS zypp-refresh
58 RUNTIME DESTINATION ${INSTALL_PREFIX}/sbin
diff --git a/meta/recipes-extended/zypper/zypper/rpm5-flag.patch b/meta/recipes-extended/zypper/zypper/rpm5-flag.patch
new file mode 100644
index 0000000000..4403869cd2
--- /dev/null
+++ b/meta/recipes-extended/zypper/zypper/rpm5-flag.patch
@@ -0,0 +1,16 @@
1It's required by libzypp headers
2
3Signed-off-by: Qing He <qing.he@intel.com>
4
5diff --git a/CMakeLists.txt b/CMakeLists.txt
6index 6b040a6..84431c8 100644
7--- a/CMakeLists.txt
8+++ b/CMakeLists.txt
9@@ -15,6 +15,7 @@ INCLUDE( ${ZYPPER_SOURCE_DIR}/VERSION.cmake )
10 SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}" )
11 ADD_DEFINITIONS( -D_FILE_OFFSET_BITS=64 )
12 ADD_DEFINITIONS( -DVERSION="${VERSION}" )
13+ADD_DEFINITIONS( -D_RPM_5 )
14
15 SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O2 -Wall -Woverloaded-virtual -fstack-protector" )
16 SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O2 -Wall -fstack-protector" )
diff --git a/meta/recipes-extended/zypper/zypper_git.bb b/meta/recipes-extended/zypper/zypper_git.bb
index 8caf4db39e..729eabdaa8 100644
--- a/meta/recipes-extended/zypper/zypper_git.bb
+++ b/meta/recipes-extended/zypper/zypper_git.bb
@@ -5,14 +5,16 @@ LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=3201406e350b39e05a82e28b5020f413" 5LIC_FILES_CHKSUM = "file://COPYING;md5=3201406e350b39e05a82e28b5020f413"
6 6
7DEPENDS = "libzypp augeas" 7DEPENDS = "libzypp augeas"
8RRECOMMENDS = "procps" 8RRECOMMENDS_${PN} = "procps"
9PR = "r1" 9PR = "r3"
10 10
11inherit cmake 11inherit cmake
12 12
13SRC_URI = "git://gitorious.org/opensuse/zypper.git;protocol=git \ 13SRC_URI = "git://gitorious.org/opensuse/zypper.git;protocol=git \
14 file://cmake.patch \ 14 file://cmake.patch \
15 file://dso_linking_change_build_fix.patch \
16 file://rpm5-flag.patch \
15 " 17 "
16S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
17 19
18PV = "1.4.7-git${SRCPV}" 20PV = "1.5.3-git${SRCPV}"
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.22.1/configure_fix.patch b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.22.1/configure_fix.patch
new file mode 100644
index 0000000000..bbf239c8dd
--- /dev/null
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.22.1/configure_fix.patch
@@ -0,0 +1,19 @@
1can sniff check buillds and runs an C binary, which breaks configure in
2cross-compile environ.
3This patch simple disables it.
4
5Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
6
7Index: gdk-pixbuf-2.22.1/configure.ac
8===================================================================
9--- gdk-pixbuf-2.22.1.orig/configure.ac 2010-11-25 16:26:41.000000000 +0800
10+++ gdk-pixbuf-2.22.1/configure.ac 2010-11-25 16:29:22.000000000 +0800
11@@ -99,6 +99,8 @@
12 AC_MSG_CHECKING([for native Win32])
13 LIB_EXE_MACHINE_FLAG=X86
14 EXE_MANIFEST_ARCHITECTURE=X86
15+dnl disable can sniff check in cross compile
16+gio_can_sniff=no
17 case "$host" in
18 *-*-mingw*)
19 os_win32=yes
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.20.1/hardcoded_libtool.patch b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.22.1/hardcoded_libtool.patch
index 66be74475b..ae16927e73 100644
--- a/meta/recipes-gnome/gtk+/gtk+-2.20.1/hardcoded_libtool.patch
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf-2.22.1/hardcoded_libtool.patch
@@ -1,31 +1,31 @@
1Index: gtk+-2.21.2/configure.in 1Index: gdk-pixbuf-2.22.1/configure.ac
2=================================================================== 2===================================================================
3--- gtk+-2.21.2.orig/configure.in 2010-06-22 17:21:41.000000000 +0800 3--- gdk-pixbuf-2.22.1.orig/configure.ac 2010-11-26 09:06:34.000000000 +0800
4+++ gtk+-2.21.2/configure.in 2010-06-22 17:28:59.000000000 +0800 4+++ gdk-pixbuf-2.22.1/configure.ac 2010-11-26 09:07:33.000000000 +0800
5@@ -425,7 +425,7 @@ 5@@ -287,7 +287,7 @@
6 case $enable_explicit_deps in 6 case $enable_explicit_deps in
7 auto) 7 auto)
8 export SED 8 export SED
9- deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh` 9- deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
10+ deplibs_check_method=`(./$host_alias-libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh` 10+ deplibs_check_method=`(./$host_alias-libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
11 if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then 11 if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
12 enable_explicit_deps=yes 12 enable_explicit_deps=yes
13 else 13 else
14@@ -804,7 +804,7 @@ 14@@ -484,7 +484,7 @@
15 dnl Now we check to see if our libtool supports shared lib deps 15 dnl Now we check to see if our libtool supports shared lib deps
16 dnl (in a rather ugly way even) 16 dnl (in a rather ugly way even)
17 if $dynworks; then 17 if $dynworks; then
18- pixbuf_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config" 18- pixbuf_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config"
19+ pixbuf_libtool_config="${CONFIG_SHELL-/bin/sh} $host_alias-libtool --config" 19+ pixbuf_libtool_config="${CONFIG_SHELL-/bin/sh} ./$host_alias-libtool --config"
20 pixbuf_deplibs_check=`$pixbuf_libtool_config | \ 20 pixbuf_deplibs_check=`$pixbuf_libtool_config | \
21 grep '^[[a-z_]]*check[[a-z_]]*_method=[['\''"]]' | \ 21 grep '^[[a-z_]]*check[[a-z_]]*_method=[['\''"]]' | \
22 sed 's/.*[['\''"]]\(.*\)[['\''"]]$/\1/'` 22 sed 's/.*[['\''"]]\(.*\)[['\''"]]$/\1/'`
23@@ -1974,7 +1974,7 @@ 23@@ -957,7 +957,7 @@
24 # We are using gmodule-no-export now, but I'm leaving the stripping 24 # We are using gmodule-no-export now, but I'm leaving the stripping
25 # code in place for now, since pango and atk still require gmodule. 25 # code in place for now, since pango and atk still require gmodule.
26 export SED 26 export SED
27-export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` 27-export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
28+export_dynamic=`($host_alias-libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` 28+export_dynamic=`(./$host_alias-libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
29 if test -n "$export_dynamic"; then 29 if test -n "$export_dynamic"; then
30 GDK_PIXBUF_DEP_LIBS=`echo $GDK_PIXBUF_DEP_LIBS | sed -e "s/$export_dynamic//"` 30 GDK_PIXBUF_DEP_LIBS=`echo $GDK_PIXBUF_DEP_LIBS | sed -e "s/$export_dynamic//"`
31 GDK_PIXBUF_XLIB_DEP_LIBS=`echo $GDK_PIXBUF_XLIB_DEP_LIBS | sed -e "s/$export_dynamic//"` 31 fi
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.22.1.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.22.1.bb
new file mode 100644
index 0000000000..78f108a0a2
--- /dev/null
+++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.22.1.bb
@@ -0,0 +1,70 @@
1DESCRIPTION = "Image loading library for GTK+"
2HOMEPAGE = "http://www.gtk.org/"
3BUGTRACKER = "https://bugzilla.gnome.org/"
4
5LICENSE = "LGPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
7 file://gdk-pixbuf/gdk-pixbuf.h;endline=26;md5=5066b71daefeff678494fffa3040aba9"
8
9SECTION = "libs"
10PRIORITY = "optional"
11
12DEPENDS = "libpng gettext glib-2.0 jpeg"
13PR = "r0"
14
15SRC_URI = "http://ftp.acc.umu.se/pub/GNOME/sources/gdk-pixbuf/2.22/gdk-pixbuf-${PV}.tar.gz \
16 file://hardcoded_libtool.patch;patch=1 \
17 file://configure_fix.patch;patch=1 \
18 "
19
20SRC_URI[md5sum] = "fcfc854e9aec7dbb2bb3059484d44556"
21SRC_URI[sha256sum] = "bbb57364ffba70d64f5fcfe6eda1d67249b3d58844edb06dc0f94d1ad599b4ec"
22
23inherit autotools pkgconfig
24
25LIBV = "2.10.0"
26
27EXTRA_OECONF = "\
28 --without-libtiff \
29 --with-libpng \
30"
31
32FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \
33 ${libdir}/lib*.so.*"
34
35FILES_${PN}-dev += " \
36 ${bindir}/gdk-pixbuf-csource \
37 ${includedir}/*"
38
39FILES_${PN}-dbg += " \
40 ${libdir}/.debug/* \
41 ${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders/.debug/*"
42
43postinst_pixbufloader () {
44if [ "x$D" != "x" ]; then
45 exit 1
46fi
47
48GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders gdk-pixbuf-query-loaders --update-cache
49
50test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor
51}
52
53PACKAGES_DYNAMIC += "gdk-pixbuf-loader-*"
54PACKAGES_DYNAMIC_virtclass-native = ""
55
56python populate_packages_prepend () {
57 postinst_pixbufloader = bb.data.getVar("postinst_pixbufloader", d, 1)
58
59 loaders_root = bb.data.expand('${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders', d)
60
61 do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s', postinst_pixbufloader)
62}
63
64do_install_append_virtclass-native() {
65#Use wrapper script rather than binary as required libtool library is not installed now
66 GDK_PIXBUF_MODULEDIR=${D}${libdir}/gdk-pixbuf-2.0/2.10.0/loaders ${S}/gdk-pixbuf/gdk-pixbuf-query-loaders > ${D}${libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
67 sed -i -e 's#${D}##g' ${D}${libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
68 find ${D}${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \;
69}
70BBCLASSEXTEND = "native"
diff --git a/meta/recipes-gnome/gnome/gconf-dbus_svn.bb b/meta/recipes-gnome/gnome/gconf-dbus_svn.bb
index 879a0bb558..9fdd82c968 100644
--- a/meta/recipes-gnome/gnome/gconf-dbus_svn.bb
+++ b/meta/recipes-gnome/gnome/gconf-dbus_svn.bb
@@ -8,7 +8,7 @@ PROVIDES = "gconf"
8RPROVIDES_${PN} = "gconf" 8RPROVIDES_${PN} = "gconf"
9RPROVIDES_${PN}-dev = "gconf-dev" 9RPROVIDES_${PN}-dev = "gconf-dev"
10 10
11PV = "2.16.0+svnr${SRCREV}" 11PV = "2.16.0+svnr${SRCPV}"
12 12
13SRC_URI = "svn://developer.imendio.com/svn/gconf-dbus;module=trunk;proto=http" 13SRC_URI = "svn://developer.imendio.com/svn/gconf-dbus;module=trunk;proto=http"
14S = "${WORKDIR}/trunk" 14S = "${WORKDIR}/trunk"
diff --git a/meta/recipes-gnome/gnome/gnome-common_2.28.0.bb b/meta/recipes-gnome/gnome/gnome-common_2.28.0.bb
index b4adfe4126..c2e1c8279e 100644
--- a/meta/recipes-gnome/gnome/gnome-common_2.28.0.bb
+++ b/meta/recipes-gnome/gnome/gnome-common_2.28.0.bb
@@ -25,3 +25,5 @@ DEPENDS = ""
25 25
26FILES_${PN} += "${datadir}/aclocal" 26FILES_${PN} += "${datadir}/aclocal"
27FILES_${PN}-dev = "" 27FILES_${PN}-dev = ""
28
29BBCLASSEXTEND = "native"
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
index 00a64e2582..30cff36ddd 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils.inc
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
@@ -1,9 +1,8 @@
1LICENSE = "GPL LGPL" 1LICENSE = "GPL LGPL"
2DEPENDS = "libxml2 libxslt libxslt-native" 2DEPENDS = "libxml2 libxslt libxslt-native gnome-doc-utils-native"
3DEPENDS_virtclass-native = "libxml2-native libxslt-native"
3 4
4PR = "r1" 5inherit gnome gettext
5
6inherit gnome
7 6
8EXTRA_OECONF = "--disable-scrollkeeper" 7EXTRA_OECONF = "--disable-scrollkeeper"
9 8
@@ -13,3 +12,5 @@ do_install_append() {
13} 12}
14 13
15FILES_${PN} += "${datadir}/xml*" 14FILES_${PN} += "${datadir}/xml*"
15
16BBCLASSEXTEND = "native"
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.2.bb b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.2.bb
deleted file mode 100644
index 9bdcceda76..0000000000
--- a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.2.bb
+++ /dev/null
@@ -1,7 +0,0 @@
1require gnome-doc-utils.inc
2LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=eb723b61539feef013de476e68b5c50a \
3 file://COPYING.LGPL;md5=a6f89e2100d9b6cdffcea4f398e37343 "
4PR = "r1"
5
6SRC_URI[archive.md5sum] = "920914c13c57e67616c6ff8594579786"
7SRC_URI[archive.sha256sum] = "f6c0124f61b9400c63da630dd3a9ac1b738eac0058da245661ff699fad267aca"
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.4.bb b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.4.bb
new file mode 100644
index 0000000000..a8cbcf0fec
--- /dev/null
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.4.bb
@@ -0,0 +1,7 @@
1require gnome-doc-utils.inc
2LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=eb723b61539feef013de476e68b5c50a \
3 file://COPYING.LGPL;md5=a6f89e2100d9b6cdffcea4f398e37343"
4PR = "r0"
5
6SRC_URI[archive.md5sum] = "6872b68dd081fc033e07d5877b4c0645"
7SRC_URI[archive.sha256sum] = "97c6465ffb15969a9fe1761f16f30c1028977fb24ecda89a0b479170f6412e4d"
diff --git a/meta/recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb b/meta/recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb
index 9898428972..17fff1c53c 100644
--- a/meta/recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb
+++ b/meta/recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e7e289d90fc8bdceed5e3f142f98229e"
7 7
8SECTION = "x11/gnome" 8SECTION = "x11/gnome"
9DEPENDS = "icon-naming-utils-native glib-2.0 intltool-native" 9DEPENDS = "icon-naming-utils-native glib-2.0 intltool-native"
10RDEPENDS = "hicolor-icon-theme" 10RDEPENDS_${PN} = "hicolor-icon-theme"
11RRECOMMENDS = "librsvg-gtk" 11RRECOMMENDS_${PN} = "librsvg-gtk"
12PR = "r0" 12PR = "r1"
13 13
14FILES_${PN} += "${datadir}/*" 14FILES_${PN} += "${datadir}/*"
15 15
diff --git a/meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb b/meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb
index 153979e363..5932ddd8c2 100644
--- a/meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb
+++ b/meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb
@@ -11,12 +11,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
11 11
12SECTION = "x11/gnome" 12SECTION = "x11/gnome"
13 13
14PR = "r0" 14PR = "r1"
15 15
16inherit autotools gnome pkgconfig 16inherit autotools gnome pkgconfig
17 17
18DEPENDS = "gtk+ libgcrypt libtasn1 libtasn1-native gconf" 18DEPENDS = "gtk+ libgcrypt libtasn1 libtasn1-native gconf"
19RDEPENDS = "libgnome-keyring" 19RDEPENDS_${PN} = "libgnome-keyring"
20 20
21EXTRA_OECONF = "--disable-gtk-doc" 21EXTRA_OECONF = "--disable-gtk-doc"
22 22
diff --git a/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb b/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb
index 3bb50d1af3..b730daed34 100644
--- a/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb
+++ b/meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
8 8
9inherit gnome 9inherit gnome
10inherit autotools 10inherit autotools
11PR = "r3" 11PR = "r4"
12 12
13SRC_URI += "file://pkgconfig.patch;patch=1" 13SRC_URI += "file://pkgconfig.patch;patch=1"
14 14
@@ -16,4 +16,4 @@ SRC_URI[archive.md5sum] = "541858188f80090d12a33b5a7c34d42c"
16SRC_URI[archive.sha256sum] = "37196b5b37085bbcd45c338c36e26898fe35dd5975295f69f48028b1e8436fd7" 16SRC_URI[archive.sha256sum] = "37196b5b37085bbcd45c338c36e26898fe35dd5975295f69f48028b1e8436fd7"
17 17
18DEPENDS += "shared-mime-info intltool-native" 18DEPENDS += "shared-mime-info intltool-native"
19RDEPENDS = "shared-mime-info" 19RDEPENDS_${PN} = "shared-mime-info"
diff --git a/meta/recipes-gnome/gnome/gobject-introspection_git.bb b/meta/recipes-gnome/gnome/gobject-introspection_git.bb
index 81d279ac71..17a42a9a59 100644
--- a/meta/recipes-gnome/gnome/gobject-introspection_git.bb
+++ b/meta/recipes-gnome/gnome/gobject-introspection_git.bb
@@ -8,13 +8,13 @@ SRC_URI_virtclass-native = "git://git.gnome.org/gobject-introspection;protocol=g
8LICENSE = "GPLv2+ & LGPLv2+" 8LICENSE = "GPLv2+ & LGPLv2+"
9LIC_FILES_CHKSUM = "file://COPYING.tools;md5=94d55d512a9ba36caa9b7df079bae19f \ 9LIC_FILES_CHKSUM = "file://COPYING.tools;md5=94d55d512a9ba36caa9b7df079bae19f \
10 file://COPYING.lib;md5=3bf50002aefd002f49e7bb854063f7e7" 10 file://COPYING.lib;md5=3bf50002aefd002f49e7bb854063f7e7"
11PV = "0.0+git${SRCREV}" 11PV = "0.0+git${SRCPV}"
12PR = "r3" 12PR = "r3"
13 13
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
16DEPENDS = "libffi python-native gobject-introspection-native" 16DEPENDS = "libffi python-native gobject-introspection-native"
17DEPENDS_virtclass-native = "libffi-native python-native" 17DEPENDS_virtclass-native = "libffi-native python-native bison-native flex-native"
18 18
19inherit autotools 19inherit autotools
20 20
diff --git a/meta/recipes-gnome/gnome/libgdata_0.6.5.bb b/meta/recipes-gnome/gnome/libgdata_0.7.1.bb
index b5e6ee3a69..c3329945a1 100644
--- a/meta/recipes-gnome/gnome/libgdata_0.6.5.bb
+++ b/meta/recipes-gnome/gnome/libgdata_0.7.1.bb
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24 \
7 file://gdata/gdata.h;endline=20;md5=079a554efcf65d46f96a515806e7e99a \ 7 file://gdata/gdata.h;endline=20;md5=079a554efcf65d46f96a515806e7e99a \
8 file://gdata/gdata-types.h;endline=20;md5=7399b111aac8718da13888fc634be6ef" 8 file://gdata/gdata-types.h;endline=20;md5=7399b111aac8718da13888fc634be6ef"
9 9
10DEPENDS = "libxml2 glib-2.0 libsoup-2.4" 10DEPENDS = "gettext libxml2 glib-2.0 libsoup-2.4"
11 11
12inherit gnome pkgconfig autotools 12inherit gnome pkgconfig autotools
13 13
14SRC_URI[archive.md5sum] = "e12f52a3d25c25016856c64ca0331221" 14SRC_URI[archive.md5sum] = "ec5262cbcb07b63b58d45aa3ac636096"
15SRC_URI[archive.sha256sum] = "dcb82f7162d69549512444376da2cdea65650ee4dae4d00eed7fbbd3387ddf2c" 15SRC_URI[archive.sha256sum] = "fb244138276a5ce98510b0e2408bbf6f9ce0fd8cdcf86f07cd4be38afbb7c2bc"
diff --git a/meta/recipes-gnome/gnome/metacity/crosscompile.patch b/meta/recipes-gnome/gnome/metacity/crosscompile.patch
new file mode 100644
index 0000000000..8d86134fae
--- /dev/null
+++ b/meta/recipes-gnome/gnome/metacity/crosscompile.patch
@@ -0,0 +1,60 @@
1This patch is revised version from openembed. It build host native binary
2rather than target binary in cross-compile environment.
3
4Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
5
6Index: metacity-2.30.3/src/Makefile.am
7===================================================================
8--- metacity-2.30.3.orig/src/Makefile.am 2010-09-05 00:09:52.000000000 +0800
9+++ metacity-2.30.3/src/Makefile.am 2010-12-31 11:15:31.000000000 +0800
10@@ -134,11 +134,9 @@
11 metacity_theme_viewer_SOURCES= \
12 ui/theme-viewer.c
13
14-schema_bindings_SOURCES = \
15- core/schema-bindings.c \
16- metacity.schemas.in.in
17+schema_bindings:
18+ @CC_FOR_BUILD@ core/schema-bindings.c -I./include -I../ @CFLAGS_FOR_BUILD@ @LDFLAGS_FOR_BUILD@ -o schema_bindings
19
20-schema_bindings_LDADD = @METACITY_LIBS@
21 metacity.schemas.in: schema_bindings ${srcdir}/metacity.schemas.in.in
22 @echo Generating keybinding schemas... ${srcdir}/metacity.schemas.in.in
23 ${builddir}/schema_bindings ${srcdir}/metacity.schemas.in.in ${builddir}/metacity.schemas.in
24Index: metacity-2.30.3/configure.in
25===================================================================
26--- metacity-2.30.3.orig/configure.in 2010-09-22 22:14:06.000000000 +0800
27+++ metacity-2.30.3/configure.in 2010-12-31 11:15:31.000000000 +0800
28@@ -31,6 +31,32 @@
29 AC_LIBTOOL_WIN32_DLL
30 AM_PROG_LIBTOOL
31
32+if test x"$CC_FOR_BUILD" = x; then
33+ if test x"$cross_compiling" = xyes; then
34+ AC_CHECK_PROGS(CC_FOR_BUILD, gcc cc)
35+ else
36+ CC_FOR_BUILD="$CC"
37+ fi
38+fi
39+AC_SUBST([CC_FOR_BUILD])
40+if test x"$CFLAGS_FOR_BUILD" = x; then
41+ if test x"$cross_compiling" = xyes; then
42+ echo boo!
43+ else
44+ CFLAGS_FOR_BUILD="$CFLAGS"
45+ fi
46+fi
47+AC_SUBST([CFLAGS_FOR_BUILD])
48+if test x"$LDFLAGS_FOR_BUILD" = x; then
49+ if test x"$cross_compiling" = xyes; then
50+ echo boo!
51+ else
52+ LDFLAGS_FOR_BUILD="$LDFLAGS"
53+ fi
54+fi
55+AC_SUBST([LDFLAGS_FOR_BUILD])
56+
57+
58 #### Integer sizes
59
60 AC_CHECK_SIZEOF(char)
diff --git a/meta/recipes-gnome/gnome/metacity_2.22.0.bb b/meta/recipes-gnome/gnome/metacity_2.22.0.bb
deleted file mode 100644
index e698ec439d..0000000000
--- a/meta/recipes-gnome/gnome/metacity_2.22.0.bb
+++ /dev/null
@@ -1,23 +0,0 @@
1SECTION = "x11/wm"
2DESCRIPTION = "Metacity is the boring window manager for the adult in you."
3LICENSE = "GPLv2+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
5 file://src/include/main.h;endline=24;md5=c2242df552c880280315989bab626b90"
6
7DEPENDS = "startup-notification gtk+ gconf gdk-pixbuf-csource-native"
8PR = "r3"
9
10inherit gnome update-alternatives
11
12ALTERNATIVE_NAME = "x-window-manager"
13ALTERNATIVE_LINK = "${bindir}/x-window-manager"
14ALTERNATIVE_PATH = "${bindir}/metacity"
15ALTERNATIVE_PRIORITY = "10"
16
17EXTRA_OECONF += "--disable-verbose \
18 --disable-xinerama"
19
20FILES_${PN} += "${datadir}/themes"
21
22SRC_URI[archive.md5sum] = "8cb6d02cf66a1003532b4f5d2754d696"
23SRC_URI[archive.sha256sum] = "3c670b41a214311006dc05f9a005696b9d3fdcb5c80f1275367416600103b3bf"
diff --git a/meta/recipes-gnome/gnome/metacity_2.30.3.bb b/meta/recipes-gnome/gnome/metacity_2.30.3.bb
new file mode 100644
index 0000000000..18105f2d6f
--- /dev/null
+++ b/meta/recipes-gnome/gnome/metacity_2.30.3.bb
@@ -0,0 +1,29 @@
1SECTION = "x11/wm"
2DESCRIPTION = "Metacity is the boring window manager for the adult in you."
3LICENSE = "GPLv2+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
5 file://src/include/main.h;endline=24;md5=c2242df552c880280315989bab626b90"
6
7DEPENDS = "startup-notification gtk+ gconf gdk-pixbuf-native libcanberra"
8PR = "r0"
9
10inherit gnome update-alternatives
11
12SRC_URI += "file://crosscompile.patch;patch=1"
13
14ALTERNATIVE_NAME = "x-window-manager"
15ALTERNATIVE_LINK = "${bindir}/x-window-manager"
16ALTERNATIVE_PATH = "${bindir}/metacity"
17ALTERNATIVE_PRIORITY = "10"
18
19EXTRA_OECONF += "--disable-verbose \
20 --disable-xinerama"
21
22FILES_${PN} += "${datadir}/themes"
23
24export CC_FOR_BUILD = "${BUILD_CC}"
25export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS} -I${STAGING_LIBDIR_NATIVE}/glib-2.0/include -I${STAGING_INCDIR_NATIVE}/glib-2.0 -I${STAGING_INCDIR_NATIVE}/glib-2.0/include -I${STAGING_INCDIR_NATIVE}"
26export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS} -L${STAGING_LIBDIR_NATIVE} -lglib-2.0"
27
28SRC_URI[archive.md5sum] = "553784f376d96b902e19ff437cd5b339"
29SRC_URI[archive.sha256sum] = "08f887018fa5e447cf184d03bae3fe2c05fdb7583bed6768e3b4d66392fc18dd"
diff --git a/meta/recipes-gnome/gthumb/gthumb_2.12.0.bb b/meta/recipes-gnome/gthumb/gthumb_2.12.1.bb
index 7df9d5107b..8a88230cea 100644
--- a/meta/recipes-gnome/gthumb/gthumb_2.12.0.bb
+++ b/meta/recipes-gnome/gthumb/gthumb_2.12.1.bb
@@ -3,7 +3,7 @@ SECTION = "x11/gnome"
3LICENSE = "GPLv2" 3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" 4LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
5DEPENDS = "glib-2.0 gtk+ libxml2 gnome-doc-utils libunique gconf-dbus libpng gstreamer jpeg tiff" 5DEPENDS = "glib-2.0 gtk+ libxml2 gnome-doc-utils libunique gconf-dbus libpng gstreamer jpeg tiff"
6PR = "r1" 6PR = "r0"
7 7
8EXTRA_OECONF = "--disable-gnome-keyring --disable-libsoup --disable-exiv2 --disable-clutter" 8EXTRA_OECONF = "--disable-gnome-keyring --disable-libsoup --disable-exiv2 --disable-clutter"
9 9
@@ -12,5 +12,5 @@ inherit gnome pkgconfig
12FILES_${PN} += "${datadir}/icons" 12FILES_${PN} += "${datadir}/icons"
13FILES_${PN}-dbg += "${libdir}/gthumb/modules/.debug" 13FILES_${PN}-dbg += "${libdir}/gthumb/modules/.debug"
14 14
15SRC_URI[archive.md5sum] = "2911cd9b875efdfd554547176c59e309" 15SRC_URI[archive.md5sum] = "a89be18a9e6f7f9d65cef56f34eb3022"
16SRC_URI[archive.sha256sum] = "9bb32ee44647f3f934d41344e2c1dbbd1546bf4949824030b3b818545758118c" 16SRC_URI[archive.sha256sum] = "94d186db48e4527f1ba1dad41b860fc34b8f13da4228319dc742c91f45ddea64"
diff --git a/meta/recipes-gnome/gtk+/gdk-pixbuf-csource-native_2.12.7.bb b/meta/recipes-gnome/gtk+/gdk-pixbuf-csource-native_2.12.7.bb
deleted file mode 100644
index c88a79570a..0000000000
--- a/meta/recipes-gnome/gtk+/gdk-pixbuf-csource-native_2.12.7.bb
+++ /dev/null
@@ -1,37 +0,0 @@
1require gtk+_${PV}.bb
2inherit native
3DEPENDS = "jpeg-native libpng-native gettext-native glib-2.0-native libx11-native"
4S = "${WORKDIR}/gtk+-${PV}"
5FILESPATH = "${FILE_DIRNAME}/gdk-pixbuf-csource:${FILE_DIRNAME}/gtk+-${PV}:${FILE_DIRNAME}/files"
6SRC_URI += "file://reduce-dependencies.patch;patch=1"
7PR = "r11"
8
9#clear recommends for uclibc builds
10RRECOMMENDS = " "
11RRECOMMENDS_${PN}_linux = " "
12RRECOMMENDS_${PN}_linux-gnueabi = " "
13
14EXTRA_OECONF = "\
15 --with-gdktarget=x11 \
16 --without-libtiff \
17 --with-libjpeg \
18 --with-libpng \
19 --x-includes=${STAGING_INCDIR} \
20 --x-libraries=${STAGING_LIBDIR} \
21"
22
23PACKAGES_DYNAMIC = ""
24
25do_compile() {
26 cd gdk-pixbuf && oe_runmake
27}
28
29do_install() {
30 cd gdk-pixbuf
31 oe_runmake 'DESTDIR=${D}' install
32 install -d ${D}${sysconfdir}/gtk-2.0
33 GDK_PIXBUF_MODULEDIR=${D}${libdir}/gtk-2.0/2.10.0/loaders ${D}${bindir}/gdk-pixbuf-query-loaders > ${D}${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
34 sed -i -e 's#${D}##g' ${D}${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
35 find ${D}${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \;
36}
37
diff --git a/meta/recipes-gnome/gtk+/gdk-pixbuf-csource/reduce-dependencies.patch b/meta/recipes-gnome/gtk+/gdk-pixbuf-csource/reduce-dependencies.patch
deleted file mode 100644
index 6b030e8f16..0000000000
--- a/meta/recipes-gnome/gtk+/gdk-pixbuf-csource/reduce-dependencies.patch
+++ /dev/null
@@ -1,221 +0,0 @@
1#
2# strip unnecessary stuff out of configure, we just want
3# to build gdk-pixbuf-csource.
4# -- Michael 'Mickey' Lauer <mlauer@vanille-media.de>
5#
6---
7# configure.in | 116 ++---------------------------------------------------------
8# 1 file changed, 5 insertions(+), 111 deletions(-)
9#
10--- gtk+-2.12.7.orig/configure.in
11+++ gtk+-2.12.7/configure.in
12@@ -30,13 +30,10 @@ m4_define([gtk_api_version], [2.0])
13 #GTK_BINARY_VERSION=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION.$LT_CURRENT
14 m4_define([gtk_binary_version], [2.10.0])
15
16 # required versions of other packages
17 m4_define([glib_required_version], [2.13.5])
18-m4_define([pango_required_version], [1.17.3])
19-m4_define([atk_required_version], [1.9.0])
20-m4_define([cairo_required_version], [1.2.0])
21
22
23 AC_INIT([gtk+], [gtk_version],
24 [http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B],
25 [gtk+])
26@@ -347,14 +344,11 @@ ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
27 ## Later on we actually use the cflags/libs from separate pkg-config
28 ## calls. Oh, also the later pkg-config calls don't include
29 ## the version requirements since those make the module lists
30 ## annoying to construct
31 PKG_CHECK_MODULES(BASE_DEPENDENCIES,
32- [glib-2.0 >= glib_required_version dnl
33- atk >= atk_required_version dnl
34- pango >= pango_required_version dnl
35- cairo >= cairo_required_version])
36+ [glib-2.0 >= glib_required_version])
37
38 if test "$os_win32" != yes; then
39 # libtool option to control which symbols are exported
40 # right now, symbols starting with _ are not exported
41 LIBTOOL_EXPORT_OPTIONS='-export-symbols-regex "^[[^_]].*"'
42@@ -1059,27 +1053,19 @@ GDK_PIXBUF_DEP_CFLAGS="`$PKG_CONFIG --cf
43
44 GDK_PIXBUF_XLIB_PACKAGES=
45 GDK_PIXBUF_XLIB_EXTRA_CFLAGS=
46 GDK_PIXBUF_XLIB_EXTRA_LIBS=
47
48-X_PACKAGES=fontconfig
49+X_PACKAGES=
50 GDK_EXTRA_LIBS="$GDK_WLIBS"
51 GDK_EXTRA_CFLAGS=
52
53 # GTK+ uses some X calls, so needs to link against X directly
54 GTK_DEP_PACKAGES_FOR_X=
55 GTK_DEP_LIBS_FOR_X=
56
57 if test "x$gdktarget" = "xx11"; then
58- #
59- # We use fontconfig very peripherally when decoding the default
60- # settings.
61- #
62- if $PKG_CONFIG --exists fontconfig; then : ; else
63- AC_MSG_ERROR([
64-*** fontconfig (http://www.fontconfig.org) is required by the X11 backend.])
65- fi
66
67 #
68 # Check for basic X packages; we use pkg-config if available
69 #
70 if $PKG_CONFIG --exists x11 xext xrender; then
71@@ -1122,20 +1108,10 @@ if test "x$gdktarget" = "xx11"; then
72 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
73
74 gtk_save_LIBS=$LIBS
75 LIBS="$x_libs_for_checks $LIBS"
76
77- # Sanity check for the X11 and Xext libraries. While everything we need from
78- # Xext is optional, the chances a system has *none* of these things is so
79- # small that we just unconditionally require it.
80- AC_CHECK_FUNC(XOpenDisplay, :,
81- AC_MSG_ERROR([*** libX11 not found. Check 'config.log' for more details.]))
82- AC_CHECK_FUNC(XextFindDisplay, :,
83- AC_MSG_ERROR([*** libXext not found. Check 'config.log' for more details.]))
84- AC_CHECK_FUNC(XRenderQueryExtension, :,
85- AC_MSG_ERROR([*** libXrender not found. Check 'config.log' for more details.]))
86-
87 # Check for xReply
88
89 AC_MSG_CHECKING([if <X11/extensions/XIproto.h> is needed for xReply])
90 AC_TRY_COMPILE([#include <X11/Xlibint.h>],
91 [xReply *rep;],
92@@ -1416,104 +1392,33 @@ if test "x$gdktarget" = "xdirectfb"; the
93 AM_CONDITIONAL(USE_DIRECTFB, true)
94 else
95 AM_CONDITIONAL(USE_DIRECTFB, false)
96 fi
97
98-
99-# Check for Pango flags
100-
101-if test "x$gdktarget" = "xwin32"; then
102- PANGO_PACKAGES="pangowin32 pangocairo"
103-else
104- PANGO_PACKAGES="pango pangocairo"
105-fi
106-
107-AC_MSG_CHECKING(Pango flags)
108-if $PKG_CONFIG --exists $PANGO_PACKAGES ; then
109- PANGO_CFLAGS=`$PKG_CONFIG --cflags $PANGO_PACKAGES`
110- PANGO_LIBS=`$PKG_CONFIG --libs $PANGO_PACKAGES`
111-
112- AC_MSG_RESULT($PANGO_CFLAGS $PANGO_LIBS)
113-else
114- AC_MSG_ERROR([
115-*** Pango not found. Pango built with Cairo support is required
116-*** to build GTK+. See http://www.pango.org for Pango information.
117-])
118-fi
119-
120-CFLAGS="$CFLAGS $PANGO_CFLAGS"
121-
122-if $PKG_CONFIG --uninstalled $PANGO_PACKAGES; then
123- :
124-else
125- gtk_save_LIBS="$LIBS"
126- LIBS="$PANGO_LIBS $LIBS"
127- AC_TRY_LINK_FUNC(pango_context_new, :, AC_MSG_ERROR([
128-*** Can't link to Pango. Pango is required to build
129-*** GTK+. For more information see http://www.pango.org]))
130- LIBS="$gtk_save_LIBS"
131-fi
132-
133-CFLAGS="$saved_cflags"
134-LDFLAGS="$saved_ldflags"
135-
136-GDK_PACKAGES="$PANGO_PACKAGES"
137-if test "x$gdktarget" = "xx11"; then
138- GDK_PACKAGES="$GDK_PACKAGES $X_PACKAGES"
139-fi
140 GDK_DEP_LIBS="$GDK_EXTRA_LIBS `$PKG_CONFIG --libs $GDK_PIXBUF_PACKAGES $GDK_PACKAGES` $GDK_PIXBUF_EXTRA_LIBS"
141 GDK_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PIXBUF_PACKAGES $GDK_PACKAGES` $GDK_PIXBUF_EXTRA_CFLAGS $GDK_EXTRA_CFLAGS"
142
143 #
144 # If we aren't writing explicit dependencies, then don't put the extra libraries we need
145 # into the pkg-config files
146 #
147 if test $enable_explicit_deps != yes ; then
148- GDK_PACKAGES="$PANGO_PACKAGES"
149+ GDK_PACKAGES=
150 GDK_EXTRA_LIBS=
151 fi
152
153 AC_SUBST(GDK_PACKAGES)
154 AC_SUBST(GDK_EXTRA_LIBS)
155 AC_SUBST(GDK_EXTRA_CFLAGS)
156 AC_SUBST(GDK_DEP_LIBS)
157 AC_SUBST(GDK_DEP_CFLAGS)
158
159
160-########################################
161-# Check for Accessibility Toolkit flags
162-########################################
163-
164-ATK_PACKAGES=atk
165-AC_MSG_CHECKING(ATK flags)
166-if $PKG_CONFIG --exists $ATK_PACKAGES ; then
167- ATK_CFLAGS=`$PKG_CONFIG --cflags $ATK_PACKAGES`
168- ATK_LIBS=`$PKG_CONFIG --libs $ATK_PACKAGES`
169-
170- AC_MSG_RESULT($ATK_CFLAGS $ATK_LIBS)
171-else
172- AC_MSG_ERROR([
173-*** Accessibility Toolkit not found. Accessibility Toolkit is required
174-*** to build GTK+.
175-])
176-fi
177-
178-if $PKG_CONFIG --uninstalled $ATK_PACKAGES; then
179- :
180-else
181- gtk_save_LIBS="$LIBS"
182- LIBS="$ATK_LIBS $LIBS"
183- AC_TRY_LINK_FUNC(atk_object_get_type, : , AC_MSG_ERROR([
184- *** Cannot link to Accessibility Toolkit. Accessibility Toolkit is required
185- *** to build GTK+]))
186- LIBS="$gtk_save_LIBS"
187-fi
188-
189-GTK_PACKAGES="atk cairo"
190+GTK_PACKAGES=
191 GTK_EXTRA_LIBS=
192 GTK_EXTRA_CFLAGS=
193-GTK_DEP_LIBS="$GDK_EXTRA_LIBS $GTK_DEP_LIBS_FOR_X `$PKG_CONFIG --libs $GDK_PIXBUF_PACKAGES $PANGO_PACKAGES $GTK_PACKAGES_FOR_X $GTK_PACKAGES` $GTK_EXTRA_LIBS $GDK_PIXBUF_EXTRA_LIBS"
194+GTK_DEP_LIBS="$GDK_EXTRA_LIBS $GTK_DEP_LIBS_FOR_X `$PKG_CONFIG --libs $GDK_PIXBUF_PACKAGES $GTK_PACKAGES_FOR_X $GTK_PACKAGES` $GTK_EXTRA_LIBS $GDK_PIXBUF_EXTRA_LIBS"
195 GTK_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PIXBUF_PACKAGES $GDK_PACKAGES $GTK_PACKAGES` $GDK_PIXBUF_EXTRA_CFLAGS $GDK_EXTRA_CFLAGS $GTK_EXTRA_CFLAGS"
196
197 if test x"$os_win32" = xyes; then
198 GTK_EXTRA_CFLAGS="$msnative_struct"
199 fi
200@@ -1567,21 +1472,10 @@ LIBS="$CUPS_LIBS"
201 AC_CHECK_FUNCS(httpGetAuthString)
202 LIBS="$gtk_save_libs"
203
204 gtk_save_cppflags="$CPPFLAGS"
205 CPPFLAGS="$CPPFLAGS $GTK_DEP_CFLAGS"
206-
207-AC_CHECK_HEADER(cairo-pdf.h,,AC_MSG_ERROR([
208-*** Can't find cairo-pdf.h. You must build Cairo with the pdf
209-*** backend enabled.]))
210-
211-if test "$os_win32" != "yes"; then
212- AC_CHECK_HEADER(cairo-ps.h,,AC_MSG_ERROR([
213-*** Can't find cairo-ps.h. You must build Cairo with the
214-*** postscript backend enabled.]))
215-fi
216-
217 CPPFLAGS="$gtk_save_cppflags"
218
219
220 AC_ARG_ENABLE(test-print-backend,
221 [AC_HELP_STRING([--enable-test-print-backend],
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.20.1/disable-gio-png-sniff-test.diff b/meta/recipes-gnome/gtk+/gtk+-2.20.1/disable-gio-png-sniff-test.diff
deleted file mode 100644
index 13ae61ef88..0000000000
--- a/meta/recipes-gnome/gtk+/gtk+-2.20.1/disable-gio-png-sniff-test.diff
+++ /dev/null
@@ -1,97 +0,0 @@
1Index: gtk+-2.21.2/configure.in
2===================================================================
3--- gtk+-2.21.2.orig/configure.in 2010-06-22 18:14:40.000000000 +0800
4+++ gtk+-2.21.2/configure.in 2010-06-22 18:14:58.000000000 +0800
5@@ -1072,48 +1072,50 @@
6 # check one of the variables here
7 AM_CONDITIONAL(INCLUDE_GDIPLUS, [test x"$INCLUDE_gdip_ico" = xyes])
8
9-if test x$gio_can_sniff = x; then
10- AC_MSG_CHECKING([if gio can sniff png])
11- gtk_save_LIBS="$LIBS"
12- gtk_save_CFLAGS="$CFLAGS"
13- LIBS="`$PKG_CONFIG --libs gio-2.0`"
14- CFLAGS="`$PKG_CONFIG --cflags gio-2.0`"
15- AC_RUN_IFELSE([AC_LANG_SOURCE([[
16- #include <gio/gio.h>
17- static const gsize data_size = 159;
18- static const guint8 data[] =
19- {
20- 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
21- 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01,
22- 0x08, 0x02, 0x00, 0x00, 0x00, 0x90, 0x77, 0x53, 0xde, 0x00, 0x00, 0x00,
23- 0x01, 0x73, 0x52, 0x47, 0x42, 0x00, 0xae, 0xce, 0x1c, 0xe9, 0x00, 0x00,
24- 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0b, 0x13, 0x00, 0x00,
25- 0x0b, 0x13, 0x01, 0x00, 0x9a, 0x9c, 0x18, 0x00, 0x00, 0x00, 0x07, 0x74,
26- 0x49, 0x4d, 0x45, 0x07, 0xd8, 0x07, 0x0f, 0x10, 0x08, 0x15, 0x61, 0xd8,
27- 0x35, 0x37, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45, 0x58, 0x74, 0x43, 0x6f,
28- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x00, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
29- 0x64, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x47, 0x49, 0x4d, 0x50, 0x57,
30- 0x81, 0x0e, 0x17, 0x00, 0x00, 0x00, 0x0c, 0x49, 0x44, 0x41, 0x54, 0x08,
31- 0xd7, 0x63, 0xf8, 0xff, 0xff, 0x3f, 0x00, 0x05, 0xfe, 0x02, 0xfe, 0xdc,
32- 0xcc, 0x59, 0xe7, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae,
33- 0x42, 0x60, 0x82
34- };
35- int
36- main (int argc, char **argv)
37- {
38- char *content_type;
39- char *image_png;
40- content_type = g_content_type_guess (NULL, data, data_size, NULL);
41- image_png = g_content_type_from_mime_type ("image/png");
42- return !!strcmp (content_type, image_png);
43- }]])],
44- [gio_can_sniff=yes
45- AC_DEFINE(GDK_PIXBUF_USE_GIO_MIME, 1, [Define if gio can sniff image data])],
46- [gio_can_sniff=no])
47- AC_MSG_RESULT($gio_can_sniff)
48- LIBS="$gtk_save_LIBS"
49- CFLAGS="$gtk_save_CFLAGS"
50-fi
51+# Disabled due to cross-compile
52+#if test x$gio_can_sniff = x; then
53+# AC_MSG_CHECKING([if gio can sniff png])
54+# gtk_save_LIBS="$LIBS"
55+# gtk_save_CFLAGS="$CFLAGS"
56+# LIBS="`$PKG_CONFIG --libs gio-2.0`"
57+# CFLAGS="`$PKG_CONFIG --cflags gio-2.0`"
58+# AC_RUN_IFELSE([AC_LANG_SOURCE([[
59+# #include <gio/gio.h>
60+# static const gsize data_size = 159;
61+# static const guint8 data[] =
62+# {
63+# 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
64+# 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01,
65+# 0x08, 0x02, 0x00, 0x00, 0x00, 0x90, 0x77, 0x53, 0xde, 0x00, 0x00, 0x00,
66+# 0x01, 0x73, 0x52, 0x47, 0x42, 0x00, 0xae, 0xce, 0x1c, 0xe9, 0x00, 0x00,
67+# 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0b, 0x13, 0x00, 0x00,
68+# 0x0b, 0x13, 0x01, 0x00, 0x9a, 0x9c, 0x18, 0x00, 0x00, 0x00, 0x07, 0x74,
69+# 0x49, 0x4d, 0x45, 0x07, 0xd8, 0x07, 0x0f, 0x10, 0x08, 0x15, 0x61, 0xd8,
70+# 0x35, 0x37, 0x00, 0x00, 0x00, 0x19, 0x74, 0x45, 0x58, 0x74, 0x43, 0x6f,
71+# 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x00, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
72+# 0x64, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x47, 0x49, 0x4d, 0x50, 0x57,
73+# 0x81, 0x0e, 0x17, 0x00, 0x00, 0x00, 0x0c, 0x49, 0x44, 0x41, 0x54, 0x08,
74+# 0xd7, 0x63, 0xf8, 0xff, 0xff, 0x3f, 0x00, 0x05, 0xfe, 0x02, 0xfe, 0xdc,
75+# 0xcc, 0x59, 0xe7, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae,
76+# 0x42, 0x60, 0x82
77+# };
78+# int
79+# main (int argc, char **argv)
80+# {
81+# char *content_type;
82+# char *image_png;
83+# content_type = g_content_type_guess (NULL, data, data_size, NULL);
84+# image_png = g_content_type_from_mime_type ("image/png");
85+# return !!strcmp (content_type, image_png);
86+# }]])],
87+# [gio_can_sniff=yes
88+# [gio_can_sniff=no])
89+# AC_MSG_RESULT($gio_can_sniff)
90+# LIBS="$gtk_save_LIBS"
91+# CFLAGS="$gtk_save_CFLAGS"
92+#fi
93+
94+AC_DEFINE(GDK_PIXBUF_USE_GIO_MIME, 1, [Define if gio can sniff image data])],
95
96 #
97 # Allow building some or all immodules included
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.20.1/no-demos.patch b/meta/recipes-gnome/gtk+/gtk+-2.20.1/no-demos.patch
deleted file mode 100644
index 0fc4c48d1a..0000000000
--- a/meta/recipes-gnome/gtk+/gtk+-2.20.1/no-demos.patch
+++ /dev/null
@@ -1,10 +0,0 @@
1--- gtk+-2.10.1/Makefile.am.orig 2006-08-08 12:37:30.000000000 +0100
2+++ gtk+-2.10.1/Makefile.am 2006-08-08 12:37:48.000000000 +0100
3@@ -1,6 +1,6 @@
4 ## Makefile.am for GTK+
5
6-SRC_SUBDIRS = gdk-pixbuf gdk gtk modules demos tests perf contrib
7+SRC_SUBDIRS = gdk-pixbuf gdk gtk modules tests perf contrib
8 SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros
9
10 # require automake 1.4
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.20.1/0001-bgo-584832-Duplicate-the-exec-string-returned-by-gtk.patch b/meta/recipes-gnome/gtk+/gtk+-2.22.1/0001-bgo-584832-Duplicate-the-exec-string-returned-by-gtk.patch
index ee55f9cc3b..ee55f9cc3b 100644
--- a/meta/recipes-gnome/gtk+/gtk+-2.20.1/0001-bgo-584832-Duplicate-the-exec-string-returned-by-gtk.patch
+++ b/meta/recipes-gnome/gtk+/gtk+-2.22.1/0001-bgo-584832-Duplicate-the-exec-string-returned-by-gtk.patch
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.20.1/cellrenderer-cairo.patch b/meta/recipes-gnome/gtk+/gtk+-2.22.1/cellrenderer-cairo.patch
index 92ce643125..92ce643125 100644
--- a/meta/recipes-gnome/gtk+/gtk+-2.20.1/cellrenderer-cairo.patch
+++ b/meta/recipes-gnome/gtk+/gtk+-2.22.1/cellrenderer-cairo.patch
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.20.1/configurefix.patch b/meta/recipes-gnome/gtk+/gtk+-2.22.1/configurefix.patch
index 7f6c73be49..7f6c73be49 100644
--- a/meta/recipes-gnome/gtk+/gtk+-2.20.1/configurefix.patch
+++ b/meta/recipes-gnome/gtk+/gtk+-2.22.1/configurefix.patch
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.20.1/entry-cairo.patch b/meta/recipes-gnome/gtk+/gtk+-2.22.1/entry-cairo.patch
index 3313e7f132..3313e7f132 100644
--- a/meta/recipes-gnome/gtk+/gtk+-2.20.1/entry-cairo.patch
+++ b/meta/recipes-gnome/gtk+/gtk+-2.22.1/entry-cairo.patch
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.22.1/hardcoded_libtool.patch b/meta/recipes-gnome/gtk+/gtk+-2.22.1/hardcoded_libtool.patch
new file mode 100644
index 0000000000..7937ef2d07
--- /dev/null
+++ b/meta/recipes-gnome/gtk+/gtk+-2.22.1/hardcoded_libtool.patch
@@ -0,0 +1,31 @@
1Index: gtk+-2.23.2/configure.in
2===================================================================
3--- gtk+-2.23.2.orig/configure.in 2010-11-10 22:22:47.000000000 +0800
4+++ gtk+-2.23.2/configure.in 2010-11-25 13:32:40.000000000 +0800
5@@ -414,7 +414,7 @@
6 case $enable_explicit_deps in
7 auto)
8 export SED
9- deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
10+ deplibs_check_method=`(./$host_alias-libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh`
11 if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
12 enable_explicit_deps=yes
13 else
14@@ -773,7 +773,7 @@
15 dnl Now we check to see if our libtool supports shared lib deps
16 dnl (in a rather ugly way even)
17 if $dynworks; then
18- module_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config"
19+ module_libtool_config="${CONFIG_SHELL-/bin/sh} $host_alias-libtool --config"
20 module_deplibs_check=`$module_libtool_config | \
21 grep '^[[a-z_]]*check[[a-z_]]*_method=[['\''"]]' | \
22 sed 's/.*[['\''"]]\(.*\)[['\''"]]$/\1/'`
23@@ -1555,7 +1555,7 @@
24 # We are using gmodule-no-export now, but I'm leaving the stripping
25 # code in place for now, since pango and atk still require gmodule.
26 export SED
27-export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
28+export_dynamic=`($host_alias-libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
29 if test -n "$export_dynamic"; then
30 GDK_DEP_LIBS=`echo $GDK_DEP_LIBS | sed -e "s/$export_dynamic//"`
31 GTK_DEP_LIBS=`echo $GTK_DEP_LIBS | sed -e "s/$export_dynamic//"`
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.22.1/no-demos.patch b/meta/recipes-gnome/gtk+/gtk+-2.22.1/no-demos.patch
new file mode 100644
index 0000000000..21700161ea
--- /dev/null
+++ b/meta/recipes-gnome/gtk+/gtk+-2.22.1/no-demos.patch
@@ -0,0 +1,13 @@
1Index: gtk+-2.23.2/Makefile.am
2===================================================================
3--- gtk+-2.23.2.orig/Makefile.am 2010-11-10 20:34:42.000000000 +0800
4+++ gtk+-2.23.2/Makefile.am 2010-11-25 13:39:22.000000000 +0800
5@@ -1,7 +1,7 @@
6 ## Makefile.am for GTK+
7 include $(top_srcdir)/Makefile.decl
8
9-SRC_SUBDIRS = gdk gtk modules demos tests perf
10+SRC_SUBDIRS = gdk gtk modules tests perf
11 SUBDIRS = po po-properties $(SRC_SUBDIRS) docs m4macros build
12
13 # require automake 1.4
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.20.1/run-iconcache.patch b/meta/recipes-gnome/gtk+/gtk+-2.22.1/run-iconcache.patch
index 518875e6fd..518875e6fd 100644
--- a/meta/recipes-gnome/gtk+/gtk+-2.20.1/run-iconcache.patch
+++ b/meta/recipes-gnome/gtk+/gtk+-2.22.1/run-iconcache.patch
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.20.1/toggle-font.diff b/meta/recipes-gnome/gtk+/gtk+-2.22.1/toggle-font.diff
index 4853628c82..4853628c82 100644
--- a/meta/recipes-gnome/gtk+/gtk+-2.20.1/toggle-font.diff
+++ b/meta/recipes-gnome/gtk+/gtk+-2.22.1/toggle-font.diff
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.20.1/xsettings.patch b/meta/recipes-gnome/gtk+/gtk+-2.22.1/xsettings.patch
index 84231e9b91..84231e9b91 100644
--- a/meta/recipes-gnome/gtk+/gtk+-2.20.1/xsettings.patch
+++ b/meta/recipes-gnome/gtk+/gtk+-2.22.1/xsettings.patch
diff --git a/meta/recipes-gnome/gtk+/gtk+.inc b/meta/recipes-gnome/gtk+/gtk+.inc
index c34283eb8c..94a8fe618d 100644
--- a/meta/recipes-gnome/gtk+/gtk+.inc
+++ b/meta/recipes-gnome/gtk+/gtk+.inc
@@ -6,15 +6,16 @@ BUGTRACKER = "https://bugzilla.gnome.org/"
6 6
7LICENSE = "LGPLv2 & LGPLv2+ & LGPLv2.1+" 7LICENSE = "LGPLv2 & LGPLv2+ & LGPLv2.1+"
8 8
9LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
10
9SECTION = "libs" 11SECTION = "libs"
10PRIORITY = "optional" 12PRIORITY = "optional"
11DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc-native libxrandr \ 13DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor gtk-doc-native libxrandr \
12 libgcrypt libxdamage libxrender libxcomposite cairo" 14 libgcrypt libxdamage libxrender libxcomposite cairo gdk-pixbuf"
13 15
14inherit autotools pkgconfig 16inherit autotools pkgconfig
15 17
16FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \ 18FILES_${PN} = "${bindir}/gtk-update-icon-cache \
17 ${bindir}/gtk-update-icon-cache \
18 ${bindir}/gtk-query-immodules-2.0 \ 19 ${bindir}/gtk-query-immodules-2.0 \
19 ${libdir}/lib*${SOLIBS} \ 20 ${libdir}/lib*${SOLIBS} \
20 ${datadir}/themes ${sysconfdir} \ 21 ${datadir}/themes ${sysconfdir} \
@@ -26,7 +27,6 @@ FILES_${PN}-dev += " \
26 ${libdir}/gtk-2.0/${LIBV}/loaders/*.la \ 27 ${libdir}/gtk-2.0/${LIBV}/loaders/*.la \
27 ${libdir}/gtk-2.0/${LIBV}/immodules/*.la \ 28 ${libdir}/gtk-2.0/${LIBV}/immodules/*.la \
28 ${libdir}/gtk-2.0/${LIBV}/engines/*.la \ 29 ${libdir}/gtk-2.0/${LIBV}/engines/*.la \
29 ${bindir}/gdk-pixbuf-csource \
30 ${bindir}/gtk-builder-convert" 30 ${bindir}/gtk-builder-convert"
31 31
32FILES_${PN}-dbg += " \ 32FILES_${PN}-dbg += " \
@@ -38,7 +38,6 @@ FILES_${PN}-dbg += " \
38BASE_RRECOMMENDS = "ttf-dejavu-sans" 38BASE_RRECOMMENDS = "ttf-dejavu-sans"
39BASE_RRECOMMENDS_angstrom = "ttf-dejavu-sans gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm" 39BASE_RRECOMMENDS_angstrom = "ttf-dejavu-sans gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm"
40BASE_RRECOMMENDS_poky = "gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm shared-mime-info" 40BASE_RRECOMMENDS_poky = "gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm shared-mime-info"
41BASE_RRECOMMENDS_moblin = "gdk-pixbuf-loader-png gdk-pixbuf-loader-jpeg gdk-pixbuf-loader-gif gdk-pixbuf-loader-xpm shared-mime-info"
42 41
43GLIBC_RRECOMMENDS= "${BASE_RRECOMMENDS} glibc-gconv-iso8859-1" 42GLIBC_RRECOMMENDS= "${BASE_RRECOMMENDS} glibc-gconv-iso8859-1"
44 43
@@ -63,8 +62,8 @@ SYSROOT_PREPROCESS_FUNCS += "gtk_sysroot_preprocess"
63 62
64gtk_sysroot_preprocess () { 63gtk_sysroot_preprocess () {
65 if [ -e ${D}${bindir}/gtk-builder-convert ]; then 64 if [ -e ${D}${bindir}/gtk-builder-convert ]; then
66 install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/ 65 install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
67 install -m 755 ${D}${bindir}/gtk-builder-convert ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}/ 66 install -m 755 ${D}${bindir}/gtk-builder-convert ${SYSROOT_DESTDIR}${bindir_crossscripts}/
68 fi 67 fi
69} 68}
70 69
@@ -74,13 +73,3 @@ if [ "x$D" != "x" ]; then
74fi 73fi
75 74
76} 75}
77
78postinst_pixbufloader() {
79if [ "x$D" != "x" ]; then
80 exit 1
81fi
82
83gdk-pixbuf-query-loaders > ${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
84
85test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor
86}
diff --git a/meta/recipes-gnome/gtk+/gtk+_2.12.7.bb b/meta/recipes-gnome/gtk+/gtk+_2.12.7.bb
index d829308513..12193f9b97 100644
--- a/meta/recipes-gnome/gtk+/gtk+_2.12.7.bb
+++ b/meta/recipes-gnome/gtk+/gtk+_2.12.7.bb
@@ -1,6 +1,6 @@
1require gtk+.inc 1require gtk+.inc
2 2
3PR = "r9" 3PR = "r10"
4 4
5SRC_URI = "http://download.gnome.org/sources/gtk+/2.12/gtk+-${PV}.tar.bz2 \ 5SRC_URI = "http://download.gnome.org/sources/gtk+/2.12/gtk+-${PV}.tar.bz2 \
6 file://xsettings.patch;patch=1 \ 6 file://xsettings.patch;patch=1 \
diff --git a/meta/recipes-gnome/gtk+/gtk+_2.16.6.bb b/meta/recipes-gnome/gtk+/gtk+_2.16.6.bb
index becd2bc29c..1864d1ba06 100644
--- a/meta/recipes-gnome/gtk+/gtk+_2.16.6.bb
+++ b/meta/recipes-gnome/gtk+/gtk+_2.16.6.bb
@@ -1,6 +1,6 @@
1require gtk+.inc 1require gtk+.inc
2 2
3PR = "r5" 3PR = "r6"
4 4
5SRC_URI = "http://download.gnome.org/sources/gtk+/2.16/gtk+-${PV}.tar.bz2 \ 5SRC_URI = "http://download.gnome.org/sources/gtk+/2.16/gtk+-${PV}.tar.bz2 \
6 file://xsettings.patch;patch=1 \ 6 file://xsettings.patch;patch=1 \
diff --git a/meta/recipes-gnome/gtk+/gtk+_2.20.1.bb b/meta/recipes-gnome/gtk+/gtk+_2.22.1.bb
index dec518746b..35aa883251 100644
--- a/meta/recipes-gnome/gtk+/gtk+_2.20.1.bb
+++ b/meta/recipes-gnome/gtk+/gtk+_2.22.1.bb
@@ -4,9 +4,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
4 file://gtk/gtk.h;endline=27;md5=c59e0b4490dd135a5726ebf851f9b17f \ 4 file://gtk/gtk.h;endline=27;md5=c59e0b4490dd135a5726ebf851f9b17f \
5 file://gdk/gdk.h;endline=27;md5=07db285ec208fb3e0bf7d861b0614202 \ 5 file://gdk/gdk.h;endline=27;md5=07db285ec208fb3e0bf7d861b0614202 \
6 file://tests/testgtk.c;endline=27;md5=262db5db5f776f9863e56df31423e24c" 6 file://tests/testgtk.c;endline=27;md5=262db5db5f776f9863e56df31423e24c"
7PR = "r1" 7PR = "r0"
8 8
9SRC_URI = "http://download.gnome.org/sources/gtk+/2.20/gtk+-${PV}.tar.bz2 \ 9SRC_URI = "http://download.gnome.org/sources/gtk+/2.22/gtk+-${PV}.tar.bz2 \
10 file://xsettings.patch;patch=1 \ 10 file://xsettings.patch;patch=1 \
11 file://run-iconcache.patch;patch=1 \ 11 file://run-iconcache.patch;patch=1 \
12 file://hardcoded_libtool.patch;patch=1 \ 12 file://hardcoded_libtool.patch;patch=1 \
@@ -24,18 +24,17 @@ SRC_URI = "http://download.gnome.org/sources/gtk+/2.20/gtk+-${PV}.tar.bz2 \
24# file://gtklabel-resize-patch;patch=1 \ 24# file://gtklabel-resize-patch;patch=1 \
25# file://menu-deactivate.patch;patch=1 \ 25# file://menu-deactivate.patch;patch=1 \
26# file://combo-arrow-size.patch;patch=1;pnum=0 \ 26# file://combo-arrow-size.patch;patch=1;pnum=0 \
27 file://disable-gio-png-sniff-test.diff;patch=1 \ 27# file://configurefix.patch;patch=1 \
28 file://configurefix.patch;patch=1 \
29 " 28 "
30 29
31SRC_URI[md5sum] = "53e6f3a93bd22934878fc4a4a34c68aa" 30SRC_URI[md5sum] = "fdce46ba354c155230b7d4090b17f7d9"
32SRC_URI[sha256sum] = "0e081731d21e34ff45c82199490c2889504fa8b3c7e117c043e82ababaec0f65" 31SRC_URI[sha256sum] = "965bc124f0d25087c4cb2a64cbfd7e4f896e05be8d560fbba68dd8685ba24d07"
33 32
34EXTRA_OECONF = "--without-libtiff --without-libjasper --disable-xkb --disable-glibtest --disable-cups" 33EXTRA_OECONF = "--without-libtiff --without-libjasper --enable-xkb --disable-glibtest --disable-cups"
35 34
36LIBV = "2.10.0" 35LIBV = "2.10.0"
37 36
38PACKAGES_DYNAMIC += "gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*" 37PACKAGES_DYNAMIC += "gtk-immodule-* gtk-printbackend-*"
39 38
40#-fomit-frame-pointer in default FULL_OPTIMIZATION will cause matchbox-panel segfault on atom-pc & emenlow 39#-fomit-frame-pointer in default FULL_OPTIMIZATION will cause matchbox-panel segfault on atom-pc & emenlow
41FULL_OPTIMIZATION_emenlow = "-fexpensive-optimizations -frename-registers -O2 -ggdb -feliminate-unused-debug-types" 40FULL_OPTIMIZATION_emenlow = "-fexpensive-optimizations -frename-registers -O2 -ggdb -feliminate-unused-debug-types"
@@ -45,14 +44,11 @@ python populate_packages_prepend () {
45 import os.path 44 import os.path
46 45
47 prologue = bb.data.getVar("postinst_prologue", d, 1) 46 prologue = bb.data.getVar("postinst_prologue", d, 1)
48 postinst_pixbufloader = bb.data.getVar("postinst_pixbufloader", d, 1)
49 47
50 gtk_libdir = bb.data.expand('${libdir}/gtk-2.0/${LIBV}', d) 48 gtk_libdir = bb.data.expand('${libdir}/gtk-2.0/${LIBV}', d)
51 loaders_root = os.path.join(gtk_libdir, 'loaders')
52 immodules_root = os.path.join(gtk_libdir, 'immodules') 49 immodules_root = os.path.join(gtk_libdir, 'immodules')
53 printmodules_root = os.path.join(gtk_libdir, 'printbackends'); 50 printmodules_root = os.path.join(gtk_libdir, 'printbackends');
54 51
55 do_split_packages(d, loaders_root, '^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s', postinst_pixbufloader)
56 do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules') 52 do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules')
57 do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk-printbackend-%s', 'GTK printbackend module for %s') 53 do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk-printbackend-%s', 'GTK printbackend module for %s')
58 54
diff --git a/meta/recipes-gnome/gtk-theme-darkilouche/gtk-theme-darkilouche.bb b/meta/recipes-gnome/gtk-theme-darkilouche/gtk-theme-darkilouche.bb
deleted file mode 100644
index 6bf1eedafc..0000000000
--- a/meta/recipes-gnome/gtk-theme-darkilouche/gtk-theme-darkilouche.bb
+++ /dev/null
@@ -1,23 +0,0 @@
1DESCRIPTION = "Dark GTK+ theme"
2LICENSE = "GPL"
3DEPENDS = "gtk-engines"
4RDEPENDS = "gtk-engine-clearlooks gnome-icon-theme"
5SECTION = "x11/base"
6PACKAGE_ARCH = "all"
7
8PR = "r1"
9
10#SRC_URI = "http://art.gnome.org/download/themes/gtk2/1285/GTK2-Darkilouche.tar.bz2"
11SRC_URI = "git://people.freedesktop.org/~jimmac/Darkilouche.git;protocol=git \
12 file://change-colours.diff;patch=1"
13
14S = "${WORKDIR}/git"
15PACKAGES = ${PN}
16
17do_install () {
18 install -d ${D}${datadir}/themes/Darkilouche/gtk-2.0
19 install -m 0644 ${S}/index.theme ${D}${datadir}/themes/Darkilouche
20 install -m 0644 ${S}/gtk-2.0/gtkrc ${D}${datadir}/themes/Darkilouche/gtk-2.0
21}
22
23FILES_${PN} = "${datadir}/themes/Darkilouche/"
diff --git a/meta/recipes-gnome/gtk-theme-darkilouche/gtk-theme-darkilouche/change-colours.diff b/meta/recipes-gnome/gtk-theme-darkilouche/gtk-theme-darkilouche/change-colours.diff
deleted file mode 100644
index c9fb7bd73d..0000000000
--- a/meta/recipes-gnome/gtk-theme-darkilouche/gtk-theme-darkilouche/change-colours.diff
+++ /dev/null
@@ -1,13 +0,0 @@
1Index: git/index.theme
2===================================================================
3--- git.orig/index.theme 2008-09-22 18:54:50.000000000 +0100
4+++ git/index.theme 2008-09-22 18:55:02.000000000 +0100
5@@ -6,6 +6,6 @@
6
7 [X-GNOME-Metatheme]
8 GtkTheme=Darkilouche
9-GtkColorScheme=
10-MetacityTheme=Gilouche
11+GtkColorScheme=fg_color:#f5f5f5f5f5f5,bg_color:#88888a8a8585,text_color:#000000000000,base_color:#bababdbdb6b6,selected_fg_color:#ffffffffffff,selected_bg_color:#686890904343,tooltip_fg_color:#000000000000,tooltip_bg_color:#e5e5e5e5e5e5
12+MetacityTheme=Clearlooks
13 IconTheme=gnome
diff --git a/meta/recipes-gnome/gtkhtml2/gtkhtml2_svn.bb b/meta/recipes-gnome/gtkhtml2/gtkhtml2_svn.bb
index a217775170..ac921bf480 100644
--- a/meta/recipes-gnome/gtkhtml2/gtkhtml2_svn.bb
+++ b/meta/recipes-gnome/gtkhtml2/gtkhtml2_svn.bb
@@ -3,7 +3,7 @@ DEPENDS = "gtk+ glib-2.0 libxml2"
3DESCRIPTION = "A GTK+ HTML rendering library." 3DESCRIPTION = "A GTK+ HTML rendering library."
4LICENSE = "LGPLv2" 4LICENSE = "LGPLv2"
5LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605" 5LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605"
6PV = "2.11.0+svnr${SRCREV}" 6PV = "2.11.0+svnr${SRCPV}"
7PR = "r1" 7PR = "r1"
8 8
9SRC_URI = "svn://anonymous@svn.gnome.org/svn/gtkhtml2/;module=trunk \ 9SRC_URI = "svn://anonymous@svn.gnome.org/svn/gtkhtml2/;module=trunk \
diff --git a/meta/recipes-gnome/librsvg/librsvg-2.32.0/doc_Makefile.patch b/meta/recipes-gnome/librsvg/librsvg-2.32.1/doc_Makefile.patch
index 217573bd27..217573bd27 100644
--- a/meta/recipes-gnome/librsvg/librsvg-2.32.0/doc_Makefile.patch
+++ b/meta/recipes-gnome/librsvg/librsvg-2.32.1/doc_Makefile.patch
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.32.0.bb b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
index 35cf5a4fc9..ea9456dff8 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.32.0.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
@@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
8 8
9SECTION = "x11/utils" 9SECTION = "x11/utils"
10DEPENDS = "gtk+ libcroco cairo libxml2 popt" 10DEPENDS = "gtk+ libcroco cairo libxml2 popt"
11PR = "r2" 11
12PR = "r0"
12 13
13inherit autotools pkgconfig gnome 14inherit autotools pkgconfig gnome
14 15
@@ -16,8 +17,8 @@ EXTRA_OECONF = "--disable-mozilla-plugin --without-svgz --without-croco --disabl
16 17
17SRC_URI += "file://doc_Makefile.patch" 18SRC_URI += "file://doc_Makefile.patch"
18 19
19SRC_URI[archive.md5sum] = "b015a9bd80143ec876af489d882dc28b" 20SRC_URI[archive.md5sum] = "4b00d0fee130c936644892c152f42db7"
20SRC_URI[archive.sha256sum] = "e0f6f936dab583de317cc0c36a48f80bdb9c93775225ee84140c7e5e3f841068" 21SRC_URI[archive.sha256sum] = "91b98051f352fab8a6257688d6b2fd665b4648ed66144861f2f853ccf876d334"
21 22
22do_configure_prepend () { 23do_configure_prepend () {
23 export GDK_PIXBUF_QUERYLOADERS="${libdir}/gtk-2.0/version/loaders" 24 export GDK_PIXBUF_QUERYLOADERS="${libdir}/gtk-2.0/version/loaders"
@@ -42,6 +43,6 @@ if [ "x$D" != "x" ]; then
42 exit 1 43 exit 1
43fi 44fi
44 45
45test -x ${bindir}/gdk-pixbuf-query-loaders && { gdk-pixbuf-query-loaders > ${sysconfdir}/gtk-2.0/gdk-pixbuf.loaders ; } 46test -x ${bindir}/gdk-pixbuf-query-loaders && { GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/2.10.0/loaders gdk-pixbuf-query-loaders --update-cache ; }
46test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor 47test -x ${bindir}/gtk-update-icon-cache && gtk-update-icon-cache -q ${datadir}/icons/hicolor
47} 48}
diff --git a/meta/recipes-gnome/libunique/libunique_1.1.6.bb b/meta/recipes-gnome/libunique/libunique_1.1.6.bb
index 7eb64e0ea5..dcc65559af 100644
--- a/meta/recipes-gnome/libunique/libunique_1.1.6.bb
+++ b/meta/recipes-gnome/libunique/libunique_1.1.6.bb
@@ -1,8 +1,13 @@
1DESCRIPTION = "Unique is a library for writing single instance application. If you launch a single instance application twice, the second instance will either just quit or will send a message to the running instance."
2HOMEPAGE = "http://live.gnome.org/LibUnique"
3BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=libunique"
4
1SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libunique/1.1/libunique-${PV}.tar.bz2" 5SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/libunique/1.1/libunique-${PV}.tar.bz2"
2 6
3SRC_URI[md5sum] = "7955769ef31f1bc4f83446dbb3625e6d" 7SRC_URI[md5sum] = "7955769ef31f1bc4f83446dbb3625e6d"
4SRC_URI[sha256sum] = "e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb" 8SRC_URI[sha256sum] = "e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb"
5PR = "r1" 9
10PR = "r2"
6 11
7DEPENDS = "glib-2.0 gtk+ dbus" 12DEPENDS = "glib-2.0 gtk+ dbus"
8 13
diff --git a/meta/recipes-gnome/tasks/task-poky-sdk-gmae.bb b/meta/recipes-gnome/tasks/task-poky-sdk-gmae.bb
index b3b5ebbc10..d009e4ebe4 100644
--- a/meta/recipes-gnome/tasks/task-poky-sdk-gmae.bb
+++ b/meta/recipes-gnome/tasks/task-poky-sdk-gmae.bb
@@ -6,7 +6,7 @@ DESCRIPTION = "Gnome Mobile And Embedded Software Development Kit for OpenedHand
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ 7LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
8 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 8 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
9PR = "r9" 9PR = "r10"
10 10
11ALLOW_EMPTY = "1" 11ALLOW_EMPTY = "1"
12 12
@@ -14,7 +14,7 @@ require task-sdk-gmae.inc
14 14
15PACKAGES = "${PN}" 15PACKAGES = "${PN}"
16 16
17RDEPENDS = "\ 17RDEPENDS_${PN} = "\
18 task-poky-sdk \ 18 task-poky-sdk \
19 libglade-dev \ 19 libglade-dev \
20 ${SDK-GMAE} \ 20 ${SDK-GMAE} \
diff --git a/meta/recipes-gnome/tasks/task-poky-standalone-gmae-sdk-target.bb b/meta/recipes-gnome/tasks/task-poky-standalone-gmae-sdk-target.bb
index cf81bf387e..7dcad61943 100644
--- a/meta/recipes-gnome/tasks/task-poky-standalone-gmae-sdk-target.bb
+++ b/meta/recipes-gnome/tasks/task-poky-standalone-gmae-sdk-target.bb
@@ -6,7 +6,7 @@ DESCRIPTION = "Gnome Mobile And Embedded Software Development Kit for OpenedHand
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ 7LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
8 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 8 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
9PR = "r11" 9PR = "r12"
10 10
11ALLOW_EMPTY = "1" 11ALLOW_EMPTY = "1"
12 12
@@ -14,7 +14,7 @@ require task-sdk-gmae.inc
14 14
15PACKAGES = "${PN} ${PN}-dbg" 15PACKAGES = "${PN} ${PN}-dbg"
16 16
17RDEPENDS = "\ 17RDEPENDS_${PN} = "\
18 task-poky-standalone-sdk-target \ 18 task-poky-standalone-sdk-target \
19 libglade-dev \ 19 libglade-dev \
20 ${SDK-GMAE} \ 20 ${SDK-GMAE} \
diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-graphics/cairo/cairo.inc
index e750d6e990..e5b6e18514 100644
--- a/meta/recipes-graphics/cairo/cairo.inc
+++ b/meta/recipes-graphics/cairo/cairo.inc
@@ -1,7 +1,11 @@
1SUMMARY = "A 2D graphics library" 1SUMMARY = "The Cairo 2D vector graphics library"
2DESCRIPTION = "Cairo is a 2D graphics library designed to provide high-quality display \ 2DESCRIPTION = "Cairo is a multi-platform library providing anti-aliased \
3and print output. Cairo is designed to produce consistent output on all output media while \ 3vector-based rendering for multiple target backends. Paths consist \
4taking advantage of display hardware acceleration when available." 4of line segments and cubic splines and can be rendered at any width \
5with various join and cap styles. All colors may be specified with \
6optional translucence (opacity/alpha) and combined using the \
7extended Porter/Duff compositing algebra as found in the X Render \
8Extension."
5HOMEPAGE = "http://cairographics.org" 9HOMEPAGE = "http://cairographics.org"
6BUGTRACKER = "http://bugs.freedesktop.org" 10BUGTRACKER = "http://bugs.freedesktop.org"
7SECTION = "libs" 11SECTION = "libs"
diff --git a/meta/recipes-graphics/cairo/cairo_1.10.0.bb b/meta/recipes-graphics/cairo/cairo_1.10.0.bb
deleted file mode 100644
index d4d0703244..0000000000
--- a/meta/recipes-graphics/cairo/cairo_1.10.0.bb
+++ /dev/null
@@ -1,39 +0,0 @@
1require cairo.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=e73e999e0c72b5ac9012424fa157ad77"
4
5PR = "r0"
6
7SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz"
8
9SRC_URI[md5sum] = "70a2ece66cf473d976e2db0f75bf199e"
10SRC_URI[sha256sum] = "0f2ce4cc4615594088d74eb8b5360bad7c3cc3c3da9b61af9bfd979ed1ed94b2"
11
12RDEPENDS += "libcairo2 libcairo-gobject2 libcairo-script-interpreter2 \
13 cairo-perf-utils"
14
15ALLOW_EMPTY = "1"
16
17#
18# Old version (1.8.10 or below) is automatically named as libcairo2 by
19# debian_package_name_hook. To keep backword compatibility,
20# it is necessary to explicitly name the package as libcairo2 here
21#
22PACKAGES =+ "libcairo2 libcairo2-dev libcairo2-dbg \
23 libcairo-gobject2 \
24 libcairo-script-interpreter2 \
25 cairo-perf-utils \
26 "
27
28DESCRIPTION_libcairo2 = "The Cairo 2D vector graphics library"
29DESCRIPTION_libcairo-gobject2 = "The Cairo library GObject wrapper library"
30DESCRIPTION_libcairo-script-interpreter2 = "The Cairo library script interpreter"
31DESCRIPTION_cairo-perf-utils = "The Cairo library performance utilities"
32
33FILES_libcairo2 = "${libdir}/libcairo.so*"
34FILES_libcairo2-dev = "${includedir} ${libdir}/*.la ${libdir}/*.a \
35 ${libdir}/*.o ${libdir}/pkgconfig"
36FILES_libcairo2-dbg = "${libdir}/.debug ${libdir}/cairo/.debug"
37FILES_libcairo-gobject2 = "${libdir}/libcairo-gobject.so*"
38FILES_libcairo-script-interpreter2 = "${libdir}/libcairo-script-interpreter.so*"
39FILES_cairo-perf-utils = "${bindir}/cairo-trace ${libdir}/cairo/libcairo-trace.*"
diff --git a/meta/recipes-graphics/cairo/cairo_1.10.2.bb b/meta/recipes-graphics/cairo/cairo_1.10.2.bb
new file mode 100644
index 0000000000..572e1f6752
--- /dev/null
+++ b/meta/recipes-graphics/cairo/cairo_1.10.2.bb
@@ -0,0 +1,53 @@
1require cairo.inc
2
3LIC_FILES_CHKSUM = "file://COPYING;md5=e73e999e0c72b5ac9012424fa157ad77"
4
5PR = "r0"
6
7SRC_URI = "http://cairographics.org/releases/cairo-${PV}.tar.gz"
8
9SRC_URI[md5sum] = "f101a9e88b783337b20b2e26dfd26d5f"
10SRC_URI[sha256sum] = "32018c7998358eebc2ad578ff8d8559d34fc80252095f110a572ed23d989fc41"
11
12RDEPENDS_${PN} += "libcairo2 libcairo-gobject2 libcairo-script-interpreter2 \
13 cairo-perf-utils"
14
15ALLOW_EMPTY = "1"
16
17#
18# Old version (1.8.10 or below) is automatically named as libcairo2 by
19# debian_package_name_hook. To keep backword compatibility,
20# it is necessary to explicitly name the package as libcairo2 here
21#
22PACKAGES =+ "libcairo2 libcairo2-dev libcairo2-dbg \
23 libcairo-gobject2 \
24 libcairo-script-interpreter2 \
25 cairo-perf-utils \
26 "
27
28SUMMARY_libcairo2 = "The Cairo 2D vector graphics library"
29DESCRIPTION_libcairo2 = "Cairo is a multi-platform library providing anti-aliased \
30vector-based rendering for multiple target backends. Paths consist \
31of line segments and cubic splines and can be rendered at any width \
32with various join and cap styles. All colors may be specified with \
33optional translucence (opacity/alpha) and combined using the \
34extended Porter/Duff compositing algebra as found in the X Render \
35Extension."
36
37SUMMARY_libcairo-gobject2 = "The Cairo library GObject wrapper library"
38DESCRIPTION_libcairo-gobject2 = "A GObject wrapper library for the Cairo API."
39
40SUMMARY_libcairo-script-interpreter2 = "The Cairo library script interpreter"
41DESCRIPTION_libcairo-script-interpreter2 = "The Cairo script interpreter implements \
42CairoScript. CairoScript is used by tracing utilities to enable the ability \
43to replay rendering."
44
45DESCRIPTION_cairo-perf-utils = "The Cairo library performance utilities"
46
47FILES_libcairo2 = "${libdir}/libcairo.so*"
48FILES_libcairo2-dev = "${includedir} ${libdir}/*.la ${libdir}/*.a \
49 ${libdir}/*.o ${libdir}/pkgconfig"
50FILES_libcairo2-dbg = "${libdir}/.debug ${libdir}/cairo/.debug"
51FILES_libcairo-gobject2 = "${libdir}/libcairo-gobject.so*"
52FILES_libcairo-script-interpreter2 = "${libdir}/libcairo-script-interpreter.so*"
53FILES_cairo-perf-utils = "${bindir}/cairo-trace ${libdir}/cairo/libcairo-trace.*"
diff --git a/meta/recipes-graphics/clutter/clutter-1.0_git.bb b/meta/recipes-graphics/clutter/clutter-1.0_git.bb
deleted file mode 100644
index ec50f076ba..0000000000
--- a/meta/recipes-graphics/clutter/clutter-1.0_git.bb
+++ /dev/null
@@ -1,21 +0,0 @@
1require clutter.inc
2
3PV = "1.0+git${SRCPV}"
4PR = "r3"
5
6PACKAGES =+ "clutter-examples-1.0"
7FILES_clutter-examples-1.0 = "${bindir}/test-* ${pkgdatadir}/redhand.png"
8
9SRC_URI = "git://git.clutter-project.org/clutter.git;protocol=git;branch=clutter-1.0 \
10 file://enable_tests-1.0.patch;patch=1 "
11
12LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
13S = "${WORKDIR}/git"
14
15BASE_CONF += "--disable-introspection"
16
17
18do_configure_prepend () {
19 # Disable DOLT
20 sed -i -e 's/^DOLT//' ${S}/configure.ac
21}
diff --git a/meta/recipes-graphics/clutter/clutter-1.4_1.4.2.bb b/meta/recipes-graphics/clutter/clutter-1.4_1.4.2.bb
new file mode 100644
index 0000000000..998545ab21
--- /dev/null
+++ b/meta/recipes-graphics/clutter/clutter-1.4_1.4.2.bb
@@ -0,0 +1,25 @@
1require clutter.inc
2
3PR = "r0"
4
5PACKAGES =+ "${PN}-examples"
6FILES_${PN}-examples = "${bindir}/test-* ${pkgdatadir}/redhand.png"
7
8SRC_URI = "http://source.clutter-project.org/sources/clutter/1.4/clutter-${PV}.tar.bz2 \
9 file://enable_tests-1.4.patch;patch=1 \
10 file://test-conformance-fix.patch;patch=1 "
11
12LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
13S = "${WORKDIR}/clutter-1.4.2"
14
15BASE_CONF += "--disable-introspection"
16
17EXTRA_OECONF += "--with-json=check"
18
19do_configure_prepend () {
20 # Disable DOLT
21 sed -i -e 's/^DOLT//' ${S}/configure.ac
22}
23
24SRC_URI[md5sum] = "5a3c6d8414d4e286aba0a936f344c9b1"
25SRC_URI[sha256sum] = "92fd67acce5105c933e54ad0c87d0f5ace1202fd0f87949cb49a3759e6e38892"
diff --git a/meta/recipes-graphics/clutter/clutter-box2d.inc b/meta/recipes-graphics/clutter/clutter-box2d.inc
index 7de824495b..0249984b17 100644
--- a/meta/recipes-graphics/clutter/clutter-box2d.inc
+++ b/meta/recipes-graphics/clutter/clutter-box2d.inc
@@ -2,7 +2,7 @@ DESCRIPTION = "Clutter Box2D"
2HOMEPAGE = "http://www.clutter-project.org/" 2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "Catto" 3LICENSE = "Catto"
4 4
5DEPENDS = "clutter-1.0" 5DEPENDS = "clutter-1.4"
6 6
7# The main clutter lib is machine specific so we need to be too 7# The main clutter lib is machine specific so we need to be too
8PACKAGE_ARCH = "${MACHINE_ARCH}" 8PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/meta/recipes-graphics/clutter/clutter-box2d_git.bb b/meta/recipes-graphics/clutter/clutter-box2d_git.bb
index 6f795b9a3d..6b718d5bed 100644
--- a/meta/recipes-graphics/clutter/clutter-box2d_git.bb
+++ b/meta/recipes-graphics/clutter/clutter-box2d_git.bb
@@ -1,9 +1,9 @@
1require clutter-box2d.inc 1require clutter-box2d.inc
2 2
3LIC_FILES_CHKSUM = "file://box2d/License.txt;md5=d0a73d52dbe6da5d8cc0f28493defb26" 3LIC_FILES_CHKSUM = "file://box2d/License.txt;md5=e5d39ad91f7dc4692dcdb1d85139ec6b"
4 4
5PV = "0.0+git${SRCPV}" 5PV = "0.10.1+git${SRCPV}"
6PR = "r3" 6PR = "r0"
7 7
8SRC_URI = "git://git.clutter-project.org/clutter-box2d.git;protocol=git" 8SRC_URI = "git://git.clutter-project.org/clutter-box2d.git;protocol=git"
9 9
diff --git a/meta/recipes-graphics/clutter/clutter-gst-1.0_git.bb b/meta/recipes-graphics/clutter/clutter-gst-1.4_git.bb
index 46519a019d..f8ba3e7fac 100644
--- a/meta/recipes-graphics/clutter/clutter-gst-1.0_git.bb
+++ b/meta/recipes-graphics/clutter/clutter-gst-1.4_git.bb
@@ -1,13 +1,14 @@
1require clutter-gst.inc 1require clutter-gst.inc
2 2
3PV = "0.11.0+git${SRCPV}" 3PV = "1.3.4+git${SRCPV}"
4 4
5LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \ 5LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \
6 file://clutter-gst/clutter-gst.h;beginline=1;endline=24;md5=95baacba194e814c110ea3bdf25ddbf4" 6 file://clutter-gst/clutter-gst.h;beginline=1;endline=24;md5=95baacba194e814c110ea3bdf25ddbf4"
7 7
8DEPENDS += "clutter-1.0" 8DEPENDS += "clutter-1.4"
9 9
10SRC_URI = "git://git.clutter-project.org/clutter-gst.git;protocol=git;branch=master" 10SRC_URI = "git://git.clutter-project.org/clutter-gst.git;protocol=git;branch=master \
11 file://enable_tests.patch"
11 12
12S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
13 14
diff --git a/meta/recipes-graphics/clutter/clutter-gst.inc b/meta/recipes-graphics/clutter/clutter-gst.inc
index c46d0f0ae8..614c62d525 100644
--- a/meta/recipes-graphics/clutter/clutter-gst.inc
+++ b/meta/recipes-graphics/clutter/clutter-gst.inc
@@ -2,12 +2,12 @@ DESCRIPTION = "Clutter GStreamer"
2HOMEPAGE = "http://www.clutter-project.org/" 2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2+" 3LICENSE = "LGPLv2+"
4 4
5DEPENDS = "clutter-1.0 gstreamer gst-plugins-base" 5DEPENDS = "clutter-1.4 gstreamer gst-plugins-base"
6 6
7FILESPATH = "${FILE_DIRNAME}/clutter-gst" 7FILESPATH = "${FILE_DIRNAME}/clutter-gst"
8 8
9PACKAGES =+ "${PN}-examples" 9PACKAGES =+ "${PN}-examples"
10FILES_${PN}-examples = "${bindir}/video-player ${bindir}/video-sink ${bindir}/audio" 10FILES_${PN}-examples = "${bindir}/video-player ${bindir}/video-sink"
11 11
12inherit autotools pkgconfig gtk-doc 12inherit autotools pkgconfig gtk-doc
13 13
diff --git a/meta/recipes-graphics/clutter/clutter-gst/enable_tests.patch b/meta/recipes-graphics/clutter/clutter-gst/enable_tests.patch
new file mode 100644
index 0000000000..210b9492c6
--- /dev/null
+++ b/meta/recipes-graphics/clutter/clutter-gst/enable_tests.patch
@@ -0,0 +1,15 @@
1Install example binary needed for poky-image-clutter
2
3Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
4Index: git/examples/Makefile.am
5===================================================================
6--- git.orig/examples/Makefile.am 2011-01-31 10:14:23.000000000 +0800
7+++ git/examples/Makefile.am 2011-01-31 10:14:34.000000000 +0800
8@@ -1,6 +1,6 @@
9 NULL = #
10
11-noinst_PROGRAMS = video-player video-sink
12+bin_PROGRAMS = video-player video-sink
13
14 INCLUDES = -I$(top_srcdir) \
15 $(MAINTAINER_CFLAGS) \
diff --git a/meta/recipes-graphics/clutter/clutter-gtk-1.0_git.bb b/meta/recipes-graphics/clutter/clutter-gtk-1.0_git.bb
deleted file mode 100644
index 47667d0eed..0000000000
--- a/meta/recipes-graphics/clutter/clutter-gtk-1.0_git.bb
+++ /dev/null
@@ -1,15 +0,0 @@
1require clutter-gtk.inc
2
3PV = "0.90.0+git${SRCPV}"
4PR = "r2"
5
6SRC_URI = "git://git.clutter-project.org/clutter-gtk.git;protocol=git;branch=master \
7 file://disable_deprecated.patch"
8
9LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
10
11S = "${WORKDIR}/git"
12
13DEPENDS += "gtk+ clutter-1.0"
14
15EXTRA_OECONF += "--disable-introspection"
diff --git a/meta/recipes-graphics/clutter/clutter-gtk-1.4_git.bb b/meta/recipes-graphics/clutter/clutter-gtk-1.4_git.bb
new file mode 100644
index 0000000000..3822b31d5e
--- /dev/null
+++ b/meta/recipes-graphics/clutter/clutter-gtk-1.4_git.bb
@@ -0,0 +1,17 @@
1require clutter-gtk.inc
2
3PV = "0.90.0+git${SRCPV}"
4PR = "r0"
5
6SRC_URI = "git://git.clutter-project.org/clutter-gtk.git;protocol=git;branch=master \
7 file://disable_deprecated.patch \
8 file://enable_tests.patch \
9 "
10
11LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
12
13S = "${WORKDIR}/git"
14
15DEPENDS += "gtk+ clutter-1.4"
16
17EXTRA_OECONF += "--disable-introspection"
diff --git a/meta/recipes-graphics/clutter/clutter-gtk.inc b/meta/recipes-graphics/clutter/clutter-gtk.inc
index 25b5200ca2..8492d9f53f 100644
--- a/meta/recipes-graphics/clutter/clutter-gtk.inc
+++ b/meta/recipes-graphics/clutter/clutter-gtk.inc
@@ -7,7 +7,7 @@ DEPENDS = "gtk+"
7FILESPATH = "${FILE_DIRNAME}/clutter-gtk" 7FILESPATH = "${FILE_DIRNAME}/clutter-gtk"
8 8
9PACKAGES =+ "${PN}-examples" 9PACKAGES =+ "${PN}-examples"
10FILES_${PN}-examples = "${bindir}/gtk-clutter-test ${bindir}/gtk-clutter-events ${bindir}/gtk-clutter-multistage" 10FILES_${PN}-examples = "${bindir}/*"
11 11
12inherit autotools pkgconfig gtk-doc 12inherit autotools pkgconfig gtk-doc
13 13
diff --git a/meta/recipes-graphics/clutter/clutter-gtk/disable_deprecated.patch b/meta/recipes-graphics/clutter/clutter-gtk/disable_deprecated.patch
index fbfaceeefd..df0c52c1d6 100644
--- a/meta/recipes-graphics/clutter/clutter-gtk/disable_deprecated.patch
+++ b/meta/recipes-graphics/clutter/clutter-gtk/disable_deprecated.patch
@@ -6,12 +6,13 @@ Signed-off-by: Saul Wold <sgw@linux.intel.com>
6 6
7Index: git/clutter-gtk/Makefile.am 7Index: git/clutter-gtk/Makefile.am
8=================================================================== 8===================================================================
9--- git.orig/clutter-gtk/Makefile.am 2010-11-16 11:04:29.000000000 -0800 9--- git.orig/clutter-gtk/Makefile.am 2011-01-30 13:10:29.000000000 +0800
10+++ git/clutter-gtk/Makefile.am 2010-11-16 11:06:16.278993999 -0800 10+++ git/clutter-gtk/Makefile.am 2011-01-30 13:15:09.000000000 +0800
11@@ -16,7 +16,6 @@ 11@@ -15,8 +15,6 @@
12 -DCLUTTER_GTK_COMPILATION \
12 -DG_DISABLE_DEPRECATED \ 13 -DG_DISABLE_DEPRECATED \
13 -DGDK_PIXBUF_DISABLE_DEPRECATED \ 14 -DGDK_PIXBUF_DISABLE_DEPRECATED \
14 -DGDK_DISABLE_DEPRECATED \ 15- -DGDK_DISABLE_DEPRECATED \
15- -DGTK_DISABLE_DEPRECATED \ 16- -DGTK_DISABLE_DEPRECATED \
16 -DCLUTTER_DISABLE_DEPRECATED \ 17 -DCLUTTER_DISABLE_DEPRECATED \
17 $(CLUTTER_GTK_DEBUG_CFLAGS) \ 18 $(CLUTTER_GTK_DEBUG_CFLAGS) \
diff --git a/meta/recipes-graphics/clutter/clutter-gtk/enable_tests.patch b/meta/recipes-graphics/clutter/clutter-gtk/enable_tests.patch
new file mode 100644
index 0000000000..e91b8272f6
--- /dev/null
+++ b/meta/recipes-graphics/clutter/clutter-gtk/enable_tests.patch
@@ -0,0 +1,17 @@
1Install the test binary needed for poky-image-clutter
2
3Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
4
5Index: git/examples/Makefile.am
6===================================================================
7--- git.orig/examples/Makefile.am 2011-01-31 09:58:47.000000000 +0800
8+++ git/examples/Makefile.am 2011-01-31 09:59:02.000000000 +0800
9@@ -2,7 +2,7 @@
10
11 NULL =
12
13-noinst_PROGRAMS = \
14+bin_PROGRAMS = \
15 animated-notebook \
16 expose-test \
17 gtk-clutter-events \
diff --git a/meta/recipes-graphics/clutter/clutter.inc b/meta/recipes-graphics/clutter/clutter.inc
index a42a6c59d6..bdfcb9169b 100644
--- a/meta/recipes-graphics/clutter/clutter.inc
+++ b/meta/recipes-graphics/clutter/clutter.inc
@@ -7,7 +7,7 @@ COMPATIBLE_MACHINE = "(zylonite|mx31litekit|omap-3430ldp|omap-3430sdp|mx31ads|qe
7STDDEPENDS = "virtual/libx11 gtk-doc-native pango glib-2.0 libxfixes gtk+ libxi" 7STDDEPENDS = "virtual/libx11 gtk-doc-native pango glib-2.0 libxfixes gtk+ libxi"
8BASE_CONF = "--disable-gtk-doc ${@get_clutter_fpu_setting(bb, d)}" 8BASE_CONF = "--disable-gtk-doc ${@get_clutter_fpu_setting(bb, d)}"
9 9
10DEPENDS = "${STDDEPENDS} virtual/libgl" 10DEPENDS = "${STDDEPENDS} virtual/libgl gettext"
11EXTRA_OECONF = "${BASE_CONF} --with-flavour=glx" 11EXTRA_OECONF = "${BASE_CONF} --with-flavour=glx"
12 12
13DEPENDS_zylonite = "${STDDEPENDS} libgles-zylonite tslib" 13DEPENDS_zylonite = "${STDDEPENDS} libgles-zylonite tslib"
diff --git a/meta/recipes-graphics/clutter/clutter/enable_tests-1.4.patch b/meta/recipes-graphics/clutter/clutter/enable_tests-1.4.patch
new file mode 100644
index 0000000000..52fdcb4c1f
--- /dev/null
+++ b/meta/recipes-graphics/clutter/clutter/enable_tests-1.4.patch
@@ -0,0 +1,13 @@
1Index: git/tests/interactive/Makefile.am
2===================================================================
3--- git.orig/tests/interactive/Makefile.am 2011-01-28 14:06:29.000000000 +0800
4+++ git/tests/interactive/Makefile.am 2011-01-28 14:26:59.000000000 +0800
5@@ -107,7 +107,7 @@
6
7 common_ldadd = $(top_builddir)/clutter/libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
8
9-noinst_PROGRAMS = test-interactive
10+bin_PROGRAMS = test-interactive
11
12 test_interactive_SOURCES = test-main.c $(UNIT_TESTS)
13 test_interactive_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
diff --git a/meta/recipes-graphics/clutter/clutter/test-conformance-fix.patch b/meta/recipes-graphics/clutter/clutter/test-conformance-fix.patch
new file mode 100644
index 0000000000..ce412ff5af
--- /dev/null
+++ b/meta/recipes-graphics/clutter/clutter/test-conformance-fix.patch
@@ -0,0 +1,66 @@
1Compiling conformance test leads running test-conformance target binary, and
2gets failure in cross-compile environment. Introduce this commit from upstream
3to fix it.
4
5Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
6
7
8commit 7fd6273c25569fe4f37ad371532d93e5170e51f7
9Author: Neil Roberts <neil@linux.intel.com>
10Date: Mon Oct 11 16:16:45 2010 +0100
11
12 tests: Generate the stub scripts using sed
13
14 Instead of trying to run ./test-conformance with the -l option to
15 generate a list of available tests it now runs sed on the
16 test-conform-main.c file instead. Running the generated executable is
17 a pain for cross-compiling so it would be nice to avoid it unless it's
18 absolutely necessary. Although you could tell people who are cross
19 compiling to just disable the conformance tests, this seems a shame
20 because they could still be useful along with the wrappers for example
21 if the cross compile is built to a shared network folder where the
22 tests can be run on the actual device.
23
24 The sed script is a little more ugly than it could be because it tries
25 to avoid using the GNU extensions '\+' and '\|'.
26
27 The script ends up placing restrictions on the format of the C file
28 because the tests must all be listed on one line each. There is now a
29 comment to explain this. Hopefully the trade off is worth it.
30
31 http://bugzilla.clutter-project.org/show_bug.cgi?id=2363
32
33diff --git a/tests/conform/Makefile.am b/tests/conform/Makefile.am
34index 3036639..1e723e7 100644
35--- a/tests/conform/Makefile.am
36+++ b/tests/conform/Makefile.am
37@@ -89,9 +89,11 @@ test_conformance_SOURCES = $(common_sources) $(units_sources)
38
39 wrappers: stamp-test-conformance
40 @true
41-stamp-test-conformance: Makefile test-conformance$(EXEEXT)
42+stamp-test-conformance: Makefile $(srcdir)/test-conform-main.c
43 @mkdir -p wrappers
44- @( $(abs_builddir)/test-conformance$(EXEEXT) -l -m thorough | $(GREP) '^/' ) > unit-tests
45+ @sed -n -e 's/^ \{1,\}TEST_CONFORM_SIMPLE *(.*"\([^",]\{1,\}\)", *\([a-zA-Z0-9_]\{1,\}\).*/\/conform\1\/\2/p' \
46+ -e 's/^ \{1,\}TEST_CONFORM_SKIP *(.*"\([^",]\{1,\}\)", *\([a-zA-Z0-9_]\{1,\}\).*/\/conform\1\/\2/p' \
47+ $(srcdir)/test-conform-main.c > unit-tests
48 @chmod +x test-launcher.sh
49 @( echo "/stamp-test-conformance" ; \
50 echo "/test-conformance" ; \
51diff --git a/tests/conform/test-conform-main.c b/tests/conform/test-conform-main.c
52index a8b3cf8..2ae7a04 100644
53--- a/tests/conform/test-conform-main.c
54+++ b/tests/conform/test-conform-main.c
55@@ -92,6 +92,11 @@ main (int argc, char **argv)
56 {
57 clutter_test_init (&argc, &argv);
58
59+ /* This file is run through a sed script during the make step so the
60+ lines containing the tests need to be formatted on a single line
61+ each. To comment out a test use the SKIP or TODO macros. Using
62+ #if 0 would break the script. */
63+
64 TEST_CONFORM_SIMPLE ("/timeline", test_timeline);
65 TEST_CONFORM_SKIP (!g_test_slow (), "/timeline", test_timeline_interpolate);
66 TEST_CONFORM_SKIP (!g_test_slow (), "/timeline", test_timeline_rewind);
diff --git a/meta/recipes-graphics/clutter/table.inc b/meta/recipes-graphics/clutter/table.inc
index b645514835..937ad56b9c 100644
--- a/meta/recipes-graphics/clutter/table.inc
+++ b/meta/recipes-graphics/clutter/table.inc
@@ -2,7 +2,7 @@ DESCRIPTION = "Table Clutter Demo"
2HOMEPAGE = "http://www.clutter-project.org/" 2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2.1 & GPLv2" 3LICENSE = "LGPLv2.1 & GPLv2"
4 4
5DEPENDS = "clutter-gst-1.0 gnome-vfs" 5DEPENDS = "clutter-gst-1.4 gnome-vfs"
6 6
7inherit autotools pkgconfig 7inherit autotools pkgconfig
8 8
diff --git a/meta/recipes-graphics/clutter/tidy.inc b/meta/recipes-graphics/clutter/tidy.inc
index 19685918dc..13d6fc7686 100644
--- a/meta/recipes-graphics/clutter/tidy.inc
+++ b/meta/recipes-graphics/clutter/tidy.inc
@@ -2,7 +2,7 @@ DESCRIPTION = "Tidy library"
2HOMEPAGE = "http://www.clutter-project.org/" 2HOMEPAGE = "http://www.clutter-project.org/"
3LICENSE = "LGPLv2.1+" 3LICENSE = "LGPLv2.1+"
4 4
5STDDEPENDS = "clutter-1.0" 5STDDEPENDS = "clutter-1.4"
6BASE_CONF = "--disable-gtk-doc" 6BASE_CONF = "--disable-gtk-doc"
7 7
8DEPENDS = "${STDDEPENDS}" 8DEPENDS = "${STDDEPENDS}"
diff --git a/meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch b/meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch
new file mode 100644
index 0000000000..28bd534f37
--- /dev/null
+++ b/meta/recipes-graphics/directfb/directfb-1.4.6/mkdfiff.patch
@@ -0,0 +1,24 @@
1diff -uNr DirectFB-1.4.6.orig/tools/mkdfiff.c DirectFB-1.4.6/tools/mkdfiff.c
2--- DirectFB-1.4.6.orig/tools/mkdfiff.c 2010-10-15 10:54:57.000000000 +0200
3+++ DirectFB-1.4.6/tools/mkdfiff.c 2010-10-15 10:54:15.000000000 +0200
4@@ -50,6 +50,8 @@
5
6 #include <dfiff.h>
7
8+#include <unistd.h>
9+
10 static DirectFBPixelFormatNames( format_names );
11
12 static const char *filename;
13diff -uNr DirectFB-1.4.6.orig/tools/mkdgifft.cpp DirectFB-1.4.6/tools/mkdgifft.cpp
14--- DirectFB-1.4.6.orig/tools/mkdgifft.cpp 2010-10-08 14:02:57.000000000 +0200
15+++ DirectFB-1.4.6/tools/mkdgifft.cpp 2010-10-15 10:56:06.000000000 +0200
16@@ -40,6 +40,8 @@
17 #include <errno.h>
18 #include <stdio.h>
19 #include <stdlib.h>
20+#include <sys/stat.h>
21+#include <sys/types.h>
22 #include <unistd.h>
23 #include <fcntl.h>
24 #include <sys/mman.h>
diff --git a/meta/recipes-graphics/directfb/directfb.inc b/meta/recipes-graphics/directfb/directfb.inc
new file mode 100644
index 0000000000..e4cd00626a
--- /dev/null
+++ b/meta/recipes-graphics/directfb/directfb.inc
@@ -0,0 +1,69 @@
1SUMMARY = "Graphics abstraction library for the Linux Framebuffer Device"
2DESCRIPTION = "DirectFB is a thin library that provides developers \
3with hardware graphics acceleration, input device handling and \
4abstraction, an integrated windowing system with support for \
5translucent windows and multiple display layers on top of the \
6Linux framebuffer device."
7SECTION = "libs"
8LICENSE = "LGPLv2.1"
9LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589"
10
11HOMEPAGE = "http://directfb.org"
12DEPENDS = "jpeg libpng freetype zlib tslib"
13
14SRC_URI = " \
15 http://www.directfb.org/downloads/Old/DirectFB-${PV}.tar.gz \
16 file://fix-pkgconfig-cflags.patch \
17 file://fix-font-missing-char.patch \
18 file://getpagesize.patch \
19 file://mkdfiff.patch \
20 file://dont-use-linux-config.patch \
21 file://ts_lib_autotools.patch \
22"
23S = "${WORKDIR}/DirectFB-${PV}"
24
25LDFLAGS_append =" -lts -lm"
26
27inherit autotools binconfig pkgconfig
28
29EXTRA_OECONF = "\
30 --with-gfxdrivers=none \
31 --enable-libmpeg3=no \
32 --enable-freetype=yes \
33 --enable-sdl=no \
34 --enable-vnc=no \
35 --disable-x11 \
36"
37
38#PACKAGES_DYNAMIC = "directfb-inputdrivers-*"
39#
40#python populate_packages_prepend () {
41# import os.path
42# inputdrivers_libdir = bb.data.expand('${libdir}/directfb-${RV}/inputdrivers', d)
43# do_split_packages(d, inputdrivers_libdir, '*.so$', 'directfb-inputdrivers-%s', 'Directfb plugin for %s')
44#}
45
46# NOTE: monolithic packaging for now, should improve that eventually
47
48
49
50FILES_${PN}-dbg += "\
51 ${libdir}/directfb-${RV}/*/*/.debug/*.so \
52 ${libdir}/directfb-${RV}/*/.debug/*.so \
53"
54
55FILES_${PN}-dev += "\
56 ${bindir}/directfb-config \
57 ${libdir}/directfb-${RV}/systems/*.la \
58 ${libdir}/directfb-${RV}/inputdrivers/*.la \
59 ${libdir}/directfb-${RV}/interfaces/*/*.la \
60 ${libdir}/directfb-${RV}/wm/*.la \
61"
62
63FILES_${PN} += "\
64 ${libdir}/directfb-${RV}/systems/*.so \
65 ${libdir}/directfb-${RV}/inputdrivers/*.so \
66 ${libdir}/directfb-${RV}/interfaces/*/*.so \
67 ${libdir}/directfb-${RV}/wm/*.so \
68 ${datadir}/directfb-${PV} \
69"
diff --git a/meta/recipes-graphics/directfb/directfb_1.4.6.bb b/meta/recipes-graphics/directfb/directfb_1.4.6.bb
new file mode 100644
index 0000000000..70c0225bf7
--- /dev/null
+++ b/meta/recipes-graphics/directfb/directfb_1.4.6.bb
@@ -0,0 +1,27 @@
1require directfb.inc
2
3RV = "1.4-5"
4PR = "r2"
5
6DEPENDS += "sysfsutils"
7
8SRC_URI = " \
9 http://directfb.org/downloads/Core/DirectFB-1.4/DirectFB-${PV}.tar.gz \
10 file://directfb-1.2.x-fix-pkgconfig-cflags.patch \
11 file://mkdfiff.patch \
12 file://dont-use-linux-config.patch \
13 "
14
15EXTRA_OECONF = "\
16 --enable-freetype=yes \
17 --enable-zlib \
18 --with-gfxdrivers=none \
19 --disable-sdl \
20 --disable-vnc \
21 --disable-x11 \
22"
23
24LEAD_SONAME = "libdirectfb-1.4.so.5"
25
26SRC_URI[md5sum] = "dbe1957932f81790742b58b94c1c7b84"
27SRC_URI[sha256sum] = "b18121e60e9a084ee347037a53a46cfaea1c09505bd99d673c2e65eca285e69b"
diff --git a/meta/recipes-graphics/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch b/meta/recipes-graphics/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch
new file mode 100644
index 0000000000..745c561cc0
--- /dev/null
+++ b/meta/recipes-graphics/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch
@@ -0,0 +1,47 @@
1Index: DirectFB-1.1.1/directfb-internal.pc.in
2===================================================================
3--- DirectFB-1.1.1.orig/directfb-internal.pc.in 2007-08-07 21:43:00.000000000 +0200
4+++ DirectFB-1.1.1/directfb-internal.pc.in 2008-07-17 21:00:47.424654304 +0200
5@@ -2,10 +2,10 @@
6 exec_prefix=@exec_prefix@
7 moduledir=@MODULEDIR@
8 moduledirname=@MODULEDIRNAME@
9-includedir=@INTERNALINCLUDEDIR@
10+includedir=@includedir@
11
12 Name: DirectFB-Internal
13 Description: Third party module support package for DirectFB.
14 Version: @VERSION@
15 Requires: directfb = @VERSION@
16-Cflags: @DFB_INTERNAL_CFLAGS@ -I@INTERNALINCLUDEDIR@
17+Cflags: @DFB_INTERNAL_CFLAGS@ -I${includedir}/directfb -I${includedir}
18Index: DirectFB-1.1.1/directfb.pc.in
19===================================================================
20--- DirectFB-1.1.1.orig/directfb.pc.in 2007-12-15 16:23:16.000000000 +0100
21+++ DirectFB-1.1.1/directfb.pc.in 2008-07-17 20:59:58.044985193 +0200
22@@ -9,4 +9,4 @@
23 Requires: fusion direct
24 Libs: -L${libdir} -ldirectfb @THREADLIB@ @OSX_LIBS@
25 Libs.private: -L${libdir} @DYNLIB@ @ZLIB_LIBS@
26-Cflags: @THREADFLAGS@ -I@INCLUDEDIR@
27+Cflags: @THREADFLAGS@ -I${includedir}/directfb
28Index: DirectFB-1.1.1/lib/fusion/fusion.pc.in
29===================================================================
30--- DirectFB-1.1.1.orig/lib/fusion/fusion.pc.in 2007-08-07 21:43:00.000000000 +0200
31+++ DirectFB-1.1.1/lib/fusion/fusion.pc.in 2008-07-17 20:58:07.051338866 +0200
32@@ -8,4 +8,4 @@
33 Version: @VERSION@
34 Requires: direct
35 Libs: -L${libdir} -lfusion
36-Cflags: -I@INCLUDEDIR@
37+Cflags: -I${includedir}/directfb -I${includedir}
38Index: DirectFB-1.1.1/lib/voodoo/voodoo.pc.in
39===================================================================
40--- DirectFB-1.1.1.orig/lib/voodoo/voodoo.pc.in 2007-08-07 21:43:00.000000000 +0200
41+++ DirectFB-1.1.1/lib/voodoo/voodoo.pc.in 2008-07-17 20:58:07.054671842 +0200
42@@ -8,4 +8,4 @@
43 Version: @VERSION@
44 Requires: direct
45 Libs: -L${libdir} -lvoodoo
46-Cflags: -I@INCLUDEDIR@
47+Cflags: -I${includedir}/directfb -I${includedir}
diff --git a/meta/recipes-graphics/directfb/files/dont-use-linux-config.patch b/meta/recipes-graphics/directfb/files/dont-use-linux-config.patch
new file mode 100644
index 0000000000..f971660954
--- /dev/null
+++ b/meta/recipes-graphics/directfb/files/dont-use-linux-config.patch
@@ -0,0 +1,12 @@
1diff -urN DirectFB-1.1.0.orig/lib/direct/ppcasm_memcpy_cachable.S DirectFB-1.1.0/lib/direct/ppcasm_memcpy_cachable.S
2--- DirectFB-1.1.0.orig/lib/direct/ppcasm_memcpy_cachable.S 2007-08-07 21:43:00.000000000 +0200
3+++ DirectFB-1.1.0/lib/direct/ppcasm_memcpy_cachable.S 2008-06-07 04:14:26.000000000 +0200
4@@ -34,8 +34,6 @@
5
6 #define __ASSEMBLY__
7
8-#include <linux/config.h>
9-
10 #if defined(CONFIG_8xx) || defined(CONFIG_403GCX)
11 #define L1_CACHE_LINE_SIZE 16
12 #define LG_L1_CACHE_LINE_SIZE 4
diff --git a/meta/recipes-graphics/drm/libdrm-2.4.22/installtests.patch b/meta/recipes-graphics/drm/libdrm-2.4.23/installtests.patch
index 9d6a168bbc..9d6a168bbc 100644
--- a/meta/recipes-graphics/drm/libdrm-2.4.22/installtests.patch
+++ b/meta/recipes-graphics/drm/libdrm-2.4.23/installtests.patch
diff --git a/meta/recipes-graphics/drm/libdrm.inc b/meta/recipes-graphics/drm/libdrm.inc
index 54968dbd6a..a66afad803 100644
--- a/meta/recipes-graphics/drm/libdrm.inc
+++ b/meta/recipes-graphics/drm/libdrm.inc
@@ -1,5 +1,8 @@
1SUMMARY = "Direct Rendering Manager userspace library" 1SUMMARY = "Userspace interface to the kernel DRM services"
2DESCRIPTION = "userspace library for accessing the DRM(direct rendering manager)" 2DESCRIPTION = "The runtime library for accessing the kernel DRM services. DRM \
3stands for \"Direct Rendering Manager\", which is the kernel portion of the \
4\"Direct Rendering Infrastructure\" (DRI). DRI is required for many hardware \
5accelerated OpenGL drivers."
3HOMEPAGE = "http://dri.freedesktop.org" 6HOMEPAGE = "http://dri.freedesktop.org"
4SECTION = "x11/base" 7SECTION = "x11/base"
5LICENSE = "MIT" 8LICENSE = "MIT"
diff --git a/meta/recipes-graphics/drm/libdrm_2.4.22.bb b/meta/recipes-graphics/drm/libdrm_2.4.23.bb
index d8e0fffd96..1546ceae60 100644
--- a/meta/recipes-graphics/drm/libdrm_2.4.22.bb
+++ b/meta/recipes-graphics/drm/libdrm_2.4.23.bb
@@ -3,7 +3,7 @@ require libdrm.inc
3LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71" 3LIC_FILES_CHKSUM = "file://xf86drm.c;beginline=9;endline=32;md5=c8a3b961af7667c530816761e949dc71"
4 4
5SRC_URI += "file://installtests.patch" 5SRC_URI += "file://installtests.patch"
6SRC_URI[md5sum] = "3bdfa33f35d1c902e5115cceb5500c83" 6SRC_URI[md5sum] = "7577ff36ec364d88fae466d4f7fc5fc6"
7SRC_URI[sha256sum] = "0bb0e594e4094d9000d80f38e96e8f640b6364f96cfef5b970cf4481443c6b3d" 7SRC_URI[sha256sum] = "c0f06d68c3edba7a1ad937f5481a8c287efd4cd368cee66cd9e678b06a911c18"
8 8
9PR = "r0" 9PR = "r0"
diff --git a/meta/recipes-graphics/drm/libdrm_git.bb b/meta/recipes-graphics/drm/libdrm_git.bb
index d80dd5f433..866da5de25 100644
--- a/meta/recipes-graphics/drm/libdrm_git.bb
+++ b/meta/recipes-graphics/drm/libdrm_git.bb
@@ -4,5 +4,5 @@ SRC_URI = "git://anongit.freedesktop.org/git/mesa/drm;protocol=git"
4 4
5S = ${WORKDIR}/git 5S = ${WORKDIR}/git
6 6
7PV = "2.4.15+git${SRCREV}" 7PV = "2.4.15+git${SRCPV}"
8PR = "r0" 8PR = "r0"
diff --git a/meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb b/meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb
index 8d2d6b57df..3cdfc04076 100644
--- a/meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb
+++ b/meta/recipes-graphics/fontconfig/fontconfig_2.8.0.bb
@@ -1,5 +1,13 @@
1SUMMARY = "Font configuration and customization library" 1SUMMARY = "Generic font configuration library"
2DESCRIPTION = "A library for configuring and customizing font access." 2DESCRIPTION = "Fontconfig is a font configuration and customization library, which \
3does not depend on the X Window System. It is designed to locate \
4fonts within the system and select them according to requirements \
5specified by applications. \
6Fontconfig is not a rasterization library, nor does it impose a \
7particular rasterization library on the application. The X-specific \
8library 'Xft' uses fontconfig along with freetype to specify and \
9rasterize fonts."
10
3HOMEPAGE = "http://www.fontconfig.org" 11HOMEPAGE = "http://www.fontconfig.org"
4BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig" 12BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=fontconfig"
5 13
diff --git a/meta/recipes-graphics/freetype/freetype-2.4.3/no-hardcode.patch b/meta/recipes-graphics/freetype/freetype-2.4.4/no-hardcode.patch
index 44ae450a14..44ae450a14 100644
--- a/meta/recipes-graphics/freetype/freetype-2.4.3/no-hardcode.patch
+++ b/meta/recipes-graphics/freetype/freetype-2.4.4/no-hardcode.patch
diff --git a/meta/recipes-graphics/freetype/freetype_2.4.3.bb b/meta/recipes-graphics/freetype/freetype_2.4.4.bb
index 63061fbc17..661650cce7 100644
--- a/meta/recipes-graphics/freetype/freetype_2.4.3.bb
+++ b/meta/recipes-graphics/freetype/freetype_2.4.4.bb
@@ -18,8 +18,8 @@ PR = "r0"
18SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \ 18SRC_URI = "${SOURCEFORGE_MIRROR}/freetype/freetype-${PV}.tar.bz2 \
19 file://no-hardcode.patch" 19 file://no-hardcode.patch"
20 20
21SRC_URI[md5sum] = "75ac7082bde7b3805dc5d6bc806fa045" 21SRC_URI[md5sum] = "b3e2b6e2f1c3e0dffa1fd2a0f848b671"
22SRC_URI[sha256sum] = "b4e626db62fd1b4549ff5d57f5eca3a41631fd6066adf8a31c11879b51249afc" 22SRC_URI[sha256sum] = "4b8281c7dc4d375c6b65d3c6f4808e488a313fab47d7be82aad2c871c8480fef"
23 23
24S = "${WORKDIR}/freetype-${PV}" 24S = "${WORKDIR}/freetype-${PV}"
25 25
diff --git a/meta/recipes-graphics/fstests/files/dso_linking_change_build_fix.patch b/meta/recipes-graphics/fstests/files/dso_linking_change_build_fix.patch
new file mode 100644
index 0000000000..03645b8185
--- /dev/null
+++ b/meta/recipes-graphics/fstests/files/dso_linking_change_build_fix.patch
@@ -0,0 +1,72 @@
1after gcc linking has changed, all the libraries must be explicitely specified
2This patch avoids these linking errors:
3
4
5| make[1]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/fstests-0.0+svnr426-r0/fstests/tests'^M
6| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o test-gtk-layout test_gtk_layout-test-gtk-layout.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lpangoxft-1.0 -lpangoft2-1.0 -lXft -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0^M
7| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: t^A: invalid DSO for symbol `XSync' definition^M
8| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so.6: could not read symbols: Bad value^M
9| collect2: ld returned 1 exit status^M
10| make[1]: *** [test-gtk-layout] Error 1
11
12
13|ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o test-pango test_pango-test-pango.o -pthread -lpangoxft-1.0 -lpangoft2-1.0 -lXft -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
14| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: �: invalid DSO for symbol `XOpenDisplay' definition
15| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so.6: could not read symbols: Bad value
16| collect2: ld returned 1 exit status
17| make[1]: *** [test-pango] Error 1
18
19
20| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o test-pango-gdk test_pango_gdk-test-pango-gdk.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lpangoxft-1.0 -lpangoft2-1.0 -lXft -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
21| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: t: invalid DSO for symbol `XSync' definition
22| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so.6: could not read symbols: Bad value
23| collect2: ld returned 1 exit status
24| make[1]: *** [test-pango-gdk] Error 1
25
26
27| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o test-pango-gtk test_pango_gtk-test-pango-gtk.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lpangoxft-1.0 -lpangoft2-1.0 -lXft -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
28| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: t: invalid DSO for symbol `XSync' definition
29| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so.6: could not read symbols: Bad value
30| collect2: ld returned 1 exit status
31| make[1]: *** [test-pango-gtk] Error 1
32
33
34Nitin A Kamble <nitin.a.kamble@intel.com>
35Date: 2011/01/11
36
37Index: tests/Makefile.am
38===================================================================
39--- tests.orig/Makefile.am
40+++ tests/Makefile.am
41@@ -48,19 +48,19 @@ test_xft_CFLAGS = @XLIBS_CFLAGS@ @PANGO_
42
43 # draws pango strings with just x
44 test_pango_SOURCES = test-pango.c
45-test_pango_LDADD = @PANGO_LIBS@
46+test_pango_LDADD = @PANGO_LIBS@ @XLIBS_LIBS@
47 test_pango_CFLAGS = @PANGO_CFLAGS@
48
49 #below are as above but on
50
51 # Draws a list of Pango glyphs onto a GtkWindow with pango_xft_render
52 test_pango_gdk_SOURCES = test-pango-gdk.c
53-test_pango_gdk_LDADD = @GTK_LIBS@ @PANGO_LIBS@
54+test_pango_gdk_LDADD = @GTK_LIBS@ @PANGO_LIBS@ @XLIBS_LIBS@
55 test_pango_gdk_CFLAGS = @GTK_CFLAGS@ @PANGO_CFLAGS@
56
57 # Draws a list of Pango glyphs onto a GtkDrawingArea with pango_xft_render
58 test_pango_gtk_SOURCES = test-pango-gtk.c
59-test_pango_gtk_LDADD = @GTK_LIBS@ @PANGO_LIBS@
60+test_pango_gtk_LDADD = @GTK_LIBS@ @PANGO_LIBS@ @XLIBS_LIBS@
61 test_pango_gtk_CFLAGS = @GTK_CFLAGS@ @PANGO_CFLAGS@
62
63 # Draws a list of Pango glyphs onto a GtkWindow with gdk_draw_glyphs
64@@ -76,7 +76,7 @@ test_pango_layout_CFLAGS = @GTK_CFLAGS@
65
66 # As above PangoLayout onto a GtkWindow with gdk_draw_layout XXX TOGO ?
67 test_gtk_layout_SOURCES = test-gtk-layout.c
68-test_gtk_layout_LDADD = @GTK_LIBS@ @PANGO_LIBS@
69+test_gtk_layout_LDADD = @GTK_LIBS@ @PANGO_LIBS@ @XLIBS_LIBS@
70 test_gtk_layout_CFLAGS = @GTK_CFLAGS@ @PANGO_CFLAGS@
71
72
diff --git a/meta/recipes-graphics/fstests/fstests_svn.bb b/meta/recipes-graphics/fstests/fstests_svn.bb
index 9d26e0723b..3c0d7b0b12 100644
--- a/meta/recipes-graphics/fstests/fstests_svn.bb
+++ b/meta/recipes-graphics/fstests/fstests_svn.bb
@@ -3,12 +3,13 @@ HOMEPAGE = "http://www.o-hand.com"
3SECTION = "devel" 3SECTION = "devel"
4LICENSE = "ZLIB" 4LICENSE = "ZLIB"
5DEPENDS = "pango libxext libxft virtual/libx11 gtk+" 5DEPENDS = "pango libxext libxft virtual/libx11 gtk+"
6PV = "0.0+svnr${SRCREV}" 6PV = "0.0+svnr${SRCPV}"
7PR = "r0" 7PR = "r1"
8 8
9inherit autotools 9inherit autotools
10 10
11SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=fstests;proto=http" 11SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=fstests;proto=http \
12 file://dso_linking_change_build_fix.patch"
12 13
13S = "${WORKDIR}/fstests/tests" 14S = "${WORKDIR}/fstests/tests"
14 15
diff --git a/meta/recipes-graphics/libfakekey/libfakekey_svn.bb b/meta/recipes-graphics/libfakekey/libfakekey_git.bb
index 719a680a4e..8670ad8215 100644
--- a/meta/recipes-graphics/libfakekey/libfakekey_svn.bb
+++ b/meta/recipes-graphics/libfakekey/libfakekey_git.bb
@@ -9,11 +9,11 @@ LIC_FILES_CHKSUM = "file://src/libfakekey.c;endline=30;md5=602b5ccd48f6440751086
9 9
10DEPENDS = "libxtst" 10DEPENDS = "libxtst"
11SECTION = "x11/wm" 11SECTION = "x11/wm"
12PV = "0.0+svnr${SRCREV}" 12PV = "0.0+git${SRCPV}"
13PR = "r1" 13PR = "r0"
14 14
15SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http" 15SRC_URI = "git://git.pokylinux.org/${PN};protocol=git"
16 16
17S = "${WORKDIR}/${PN}" 17S = "${WORKDIR}/git"
18 18
19inherit autotools pkgconfig gettext 19inherit autotools pkgconfig gettext
diff --git a/meta/recipes-graphics/libmatchbox/libmatchbox_svn.bb b/meta/recipes-graphics/libmatchbox/libmatchbox_git.bb
index 98c901f678..f916889cc3 100644
--- a/meta/recipes-graphics/libmatchbox/libmatchbox_svn.bb
+++ b/meta/recipes-graphics/libmatchbox/libmatchbox_git.bb
@@ -1,16 +1,16 @@
1require libmatchbox.inc 1require libmatchbox.inc
2 2
3PV = "1.7+svnr${SRCREV}" 3PV = "1.9+git${SRCPV}"
4PR = "r5" 4PR = "r0"
5DEFAULT_PREFERENCE = "-1" 5DEFAULT_PREFERENCE = "-1"
6 6
7SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ 7SRC_URI = "git://git.pokylinux.org/${PN};protocol=git \
8 file://configure_fixes.patch;patch=1 \ 8 file://configure_fixes.patch;patch=1 \
9 file://check.m4 \ 9 file://check.m4 \
10 file://16bppfixes.patch;patch=1 \ 10 file://16bppfixes.patch;patch=1 \
11 file://matchbox-start-fix.patch;patch=1" 11 file://matchbox-start-fix.patch;patch=1"
12 12
13S = "${WORKDIR}/libmatchbox" 13S = "${WORKDIR}/git"
14 14
15do_configure_prepend () { 15do_configure_prepend () {
16 cp ${WORKDIR}/check.m4 ${S}/ 16 cp ${WORKDIR}/check.m4 ${S}/
diff --git a/meta/recipes-graphics/libsdl/libsdl-nativesdk_1.2.11.bb b/meta/recipes-graphics/libsdl/libsdl-nativesdk_1.2.11.bb
index 633a4c284b..2ef14b83a8 100644
--- a/meta/recipes-graphics/libsdl/libsdl-nativesdk_1.2.11.bb
+++ b/meta/recipes-graphics/libsdl/libsdl-nativesdk_1.2.11.bb
@@ -1,10 +1,12 @@
1DESCRIPTION = "Simple DirectMedia Layer - native Edition" 1DESCRIPTION = "Simple DirectMedia Layer - native Edition"
2HOMEPAGE = "http://www.libsdl.org" 2HOMEPAGE = "http://www.libsdl.org"
3SECTION = "libs" 3SECTION = "libs"
4LICENSE = "LGPL" 4LICENSE = "LGPLv2.1"
5DEPENDS = "libx11-nativesdk libxext-nativesdk libxrandr-nativesdk libxrender-nativesdk" 5DEPENDS = "libx11-nativesdk libxext-nativesdk libxrandr-nativesdk libxrender-nativesdk"
6RDEPENDS = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk" 6RDEPENDS_${PN} = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk"
7PR = "r4" 7PR = "r5"
8
9LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
8 10
9SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ 11SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
10 file://acinclude.m4 \ 12 file://acinclude.m4 \
diff --git a/meta/recipes-graphics/matchbox-wm-2/matchbox-wm-2_svn.bb b/meta/recipes-graphics/matchbox-wm-2/matchbox-wm-2_svn.bb
index 9c5cd939b5..2eb12e14e4 100644
--- a/meta/recipes-graphics/matchbox-wm-2/matchbox-wm-2_svn.bb
+++ b/meta/recipes-graphics/matchbox-wm-2/matchbox-wm-2_svn.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://matchbox/core/mb-wm.h;endline=21;md5=1b1d328a52790635
5 5
6DEPENDS = "virtual/libx11 libxext libxrender startup-notification expat gconf pango libxdamage libxcomposite gtk+" 6DEPENDS = "virtual/libx11 libxext libxrender startup-notification expat gconf pango libxdamage libxcomposite gtk+"
7 7
8PV = "0.0+svnr${SRCREV}" 8PV = "0.0+svnr${SRCPV}"
9PR = "r4" 9PR = "r4"
10 10
11SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-window-manager-2;proto=http \ 11SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-window-manager-2;proto=http \
diff --git a/meta/recipes-graphics/matchbox-wm/matchbox-wm_0.9.5.bb b/meta/recipes-graphics/matchbox-wm/matchbox-wm_0.9.5.bb
deleted file mode 100644
index e09eb00ed1..0000000000
--- a/meta/recipes-graphics/matchbox-wm/matchbox-wm_0.9.5.bb
+++ /dev/null
@@ -1,32 +0,0 @@
1SECTION = "x11/wm"
2DESCRIPTION = "Matchbox window manager"
3LICENSE = "GPL"
4DEPENDS = "libmatchbox virtual/libx11 libxext libxcomposite libxfixes xdamage libxrender startup-notification expat gconf"
5PR="r2"
6
7
8SRC_URI = "http://projects.o-hand.com/matchbox/sources/matchbox-window-manager/0.9/matchbox-window-manager-${PV}.tar.gz \
9 file://kbdconfig"
10
11S = "${WORKDIR}/matchbox-window-manager-${PV}"
12
13inherit autotools pkgconfig update-alternatives
14
15FILES_${PN} = "${bindir}/* \
16 ${datadir}/matchbox \
17 ${sysconfdir}/matchbox \
18 ${datadir}/themes/blondie/matchbox \
19 ${datadir}/themes/Default/matchbox \
20 ${datadir}/themes/MBOpus/matchbox"
21
22ALTERNATIVE_NAME = "x-session-manager"
23ALTERNATIVE_LINK = "${bindir}/x-session-manager"
24ALTERNATIVE_PATH = "${bindir}/matchbox-session"
25ALTERNATIVE_PRIORITY = "10"
26
27EXTRA_OECONF = " --enable-startup-notification --disable-xrm"
28
29do_install_prepend() {
30 install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig
31}
32
diff --git a/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.1.bb b/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.1.bb
deleted file mode 100644
index ebed31e2a5..0000000000
--- a/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.1.bb
+++ /dev/null
@@ -1,37 +0,0 @@
1SECTION = "x11/wm"
2DESCRIPTION = "Matchbox window manager"
3LICENSE = "GPL"
4DEPENDS = "libmatchbox virtual/libx11 libxext libxcomposite libxfixes xdamage libxrender startup-notification expat"
5PR="r4"
6
7
8SRC_URI = "http://projects.o-hand.com/matchbox/sources/matchbox-window-manager/1.1/matchbox-window-manager-${PV}.tar.gz \
9 file://kbdconfig \
10 file://gconf-2.m4"
11
12S = "${WORKDIR}/matchbox-window-manager-${PV}"
13
14inherit autotools pkgconfig update-alternatives
15
16FILES_${PN} = "${bindir}/* \
17 ${datadir}/matchbox \
18 ${sysconfdir}/matchbox \
19 ${datadir}/themes/blondie/matchbox \
20 ${datadir}/themes/Default/matchbox \
21 ${datadir}/themes/MBOpus/matchbox"
22
23ALTERNATIVE_NAME = "x-session-manager"
24ALTERNATIVE_LINK = "${bindir}/x-session-manager"
25ALTERNATIVE_PATH = "${bindir}/matchbox-session"
26ALTERNATIVE_PRIORITY = "10"
27
28EXTRA_OECONF = " --enable-startup-notification --disable-xrm"
29
30do_configure_prepend () {
31 cp ${WORKDIR}/gconf-2.m4 ${S}/
32}
33
34do_install_prepend() {
35 install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig
36}
37
diff --git a/meta/recipes-graphics/matchbox-wm/matchbox-wm_svn.bb b/meta/recipes-graphics/matchbox-wm/matchbox-wm_git.bb
index 09c0f70f47..086d4853e4 100644
--- a/meta/recipes-graphics/matchbox-wm/matchbox-wm_svn.bb
+++ b/meta/recipes-graphics/matchbox-wm/matchbox-wm_git.bb
@@ -10,14 +10,14 @@ LIC_FILES_CHKSUM = "file://src/wm.h;endline=21;md5=a7e844465edbcf79c282369f93caa
10SECTION = "x11/wm" 10SECTION = "x11/wm"
11DEPENDS = "libmatchbox virtual/libx11 libxext libxrender startup-notification expat gconf" 11DEPENDS = "libmatchbox virtual/libx11 libxext libxrender startup-notification expat gconf"
12 12
13PV = "1.2+svnr${SRCREV}" 13PV = "1.2+git${SRCPV}"
14PR = "r4" 14PR = "r0"
15 15
16SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-window-manager;proto=http \ 16SRC_URI = "git://git.pokylinux.org/matchbox-window-manager;protocol=git \
17 file://configure_fix.patch;patch=1;maxrev=1818 \ 17 file://configure_fix.patch;patch=1;maxrev=1818 \
18 file://kbdconfig" 18 file://kbdconfig"
19 19
20S = "${WORKDIR}/matchbox-window-manager" 20S = "${WORKDIR}/git"
21 21
22inherit autotools pkgconfig update-alternatives 22inherit autotools pkgconfig update-alternatives
23 23
diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index f029d3d6e7..d8e800ee11 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -1,11 +1,18 @@
1DESCRIPTION = "An open source implementation of the OpenGL spec" 1SUMMARY = "A free implementation of the OpenGL API"
2DESCRIPTION = "Mesa is an open-source implementation of the OpenGL specification - \
3a system for rendering interactive 3D graphics. \
4A variety of device drivers allows Mesa to be used in many different environments \
5ranging from software emulation to complete hardware acceleration for modern GPUs. \
6Mesa is used as part of the overall Direct Rendering Infrastructure and X.org \
7environment."
8
2HOMEPAGE = "http://mesa3d.org" 9HOMEPAGE = "http://mesa3d.org"
3BUGTRACKER = "https://bugs.freedesktop.org" 10BUGTRACKER = "https://bugs.freedesktop.org"
4SECTION = "x11" 11SECTION = "x11"
5LICENSE = "MIT" 12LICENSE = "MIT"
6 13
7SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ 14SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2;name=mesalib \
8 ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaDemos-${PV}.tar.bz2 " 15 ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaDemos-${PV}.tar.bz2;name=mesademos "
9 16
10S = "${WORKDIR}/Mesa-${PV}" 17S = "${WORKDIR}/Mesa-${PV}"
11 18
diff --git a/meta/recipes-graphics/mesa/mesa-demos/dso_linking_change_build_fix.patch b/meta/recipes-graphics/mesa/mesa-demos/dso_linking_change_build_fix.patch
new file mode 100644
index 0000000000..aa2faf9d13
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-demos/dso_linking_change_build_fix.patch
@@ -0,0 +1,23 @@
1after gcc linking has changed, all the libraries must be explicitely specified
2This patch avoids these linking errors:
3
4| CCLD xeglgears
5| /build_disk/poky_build/build0/tmp/sysroots/x86_64-linux/usr/libexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.5.1/ld: xeglthreads.o: undefined reference to symbol 'pthread_join@@GLIBC_2.4'
6| /build_disk/poky_build/build0/tmp/sysroots/x86_64-linux/usr/libexec/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.5.1/ld: note: 'pthread_join@@GLIBC_2.4' is defined in DSO /build_disk/poky_build/build0/tmp/sysroots/qemuarm/lib/libpthread.so.0 so try adding it to the linker command line
7| /build_disk/poky_build/build0/tmp/sysroots/qemuarm/lib/libpthread.so.0: could not read symbols: Invalid operation
8| collect2: ld returned 1 exit status
9
10
11Nitin A Kamble <nitin.a.kamble@intel.com>
12Date: 2011/02/03
13
14
15Index: mesa-demos-8.0.1/src/egl/opengl/Makefile.am
16===================================================================
17--- mesa-demos-8.0.1.orig/src/egl/opengl/Makefile.am 2010-07-07 10:57:15.000000000 -0700
18+++ mesa-demos-8.0.1/src/egl/opengl/Makefile.am 2011-02-03 14:30:13.928486381 -0800
19@@ -67,3 +67,4 @@
20
21 eglgears_x11_LDADD = ../eglut/libeglut_x11.la
22 egltri_x11_LDADD = ../eglut/libeglut_x11.la
23+xeglthreads_LDADD = -lpthread
diff --git a/meta/recipes-graphics/mesa/mesa-demos_8.0.1.bb b/meta/recipes-graphics/mesa/mesa-demos_8.0.1.bb
index fde2453193..504a8b7009 100644
--- a/meta/recipes-graphics/mesa/mesa-demos_8.0.1.bb
+++ b/meta/recipes-graphics/mesa/mesa-demos_8.0.1.bb
@@ -1,4 +1,6 @@
1DESCRIPTION = "mesa demo applications" 1SUMMARY = "Mesa demo applications"
2DESCRIPTION = "This package includes the demonstration application, such as glxgears. \
3These applications can be used for Mesa validation and benchmarking."
2HOMEPAGE = "http://mesa3d.org" 4HOMEPAGE = "http://mesa3d.org"
3BUGTRACKER = "https://bugs.freedesktop.org" 5BUGTRACKER = "https://bugs.freedesktop.org"
4SECTION = "x11" 6SECTION = "x11"
@@ -9,9 +11,10 @@ LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=9142
9 11
10DEPENDS = "virtual/libx11 virtual/libgl glew" 12DEPENDS = "virtual/libx11 virtual/libgl glew"
11 13
12PR = "r0" 14PR = "r1"
13 15
14SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/demos/${PV}/${PN}-${PV}.tar.bz2" 16SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/demos/${PV}/${PN}-${PV}.tar.bz2 \
17 file://dso_linking_change_build_fix.patch"
15 18
16inherit autotools pkgconfig 19inherit autotools pkgconfig
17 20
diff --git a/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.8.2.bb b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.8.2.bb
new file mode 100644
index 0000000000..d6f2c33ea8
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.8.2.bb
@@ -0,0 +1,27 @@
1DESCRIPTION = "gl shader language specific build from mesa-dri"
2HOMEPAGE = "http://mesa3d.org"
3BUGTRACKER = "https://bugs.freedesktop.org"
4SECTION = "x11"
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://apps/compile.c;endline=26;md5=27c2833286ce9566b162bcbe21d5b267"
7PR = "r0"
8
9DEPENDS = "makedepend-native"
10
11SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2"
12SRC_URI[md5sum] = "6be2d343a0089bfd395ce02aaf8adb57"
13SRC_URI[sha256sum] = "505bf418dceba05837f4ea1b1972b9620c35f8cb94bc4d1e6d573c15f562576d"
14
15S = "${WORKDIR}/Mesa-7.8.2/src/glsl/"
16
17inherit native
18
19# use default config for native build
20do_configure_prepend() {
21 ln -s ${S}/../../configs/default ${S}/../../configs/current
22}
23
24do_install() {
25 install -d ${D}/${bindir}
26 install -m 755 ${S}/apps/compile ${D}/${bindir}/glsl-compile
27}
diff --git a/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.9.bb b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.9.bb
deleted file mode 100644
index ffc113bfa7..0000000000
--- a/meta/recipes-graphics/mesa/mesa-dri-glsl-native_7.9.bb
+++ /dev/null
@@ -1,25 +0,0 @@
1DESCRIPTION = "gl shader language specific build from mesa-dri"
2HOMEPAGE = "http://mesa3d.org"
3BUGTRACKER = "https://bugs.freedesktop.org"
4SECTION = "x11"
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://main.cpp;endline=22;md5=a12a9c0208ee64a07ce314dfed4c81eb"
7PR = "r0"
8
9DEPENDS = "makedepend-native talloc-native"
10
11SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2"
12
13S = "${WORKDIR}/Mesa-${PV}/src/glsl"
14
15inherit native
16
17# use default config for native build
18do_configure_prepend() {
19 ln -sf ${S}/../../configs/default ${S}/../../configs/current
20}
21
22do_install() {
23 install -d ${D}/${bindir}
24 install -m 755 ${S}/glsl_compiler ${D}/${bindir}/
25}
diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.9.bb b/meta/recipes-graphics/mesa/mesa-dri_7.10.bb
index 313b655d21..3031e4b687 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_7.9.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_7.10.bb
@@ -6,19 +6,19 @@ PROTO_DEPS = "xf86driproto glproto dri2proto"
6LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat \ 6LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat \
7 libxml2-native talloc" 7 libxml2-native talloc"
8 8
9DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} mesa-dri-glsl-native" 9DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}"
10 10
11PR = "r1" 11PR = "r0"
12 12
13SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ 13SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \
14 file://crossfix.patch" 14 file://crossfix.patch"
15 15
16SRC_URI[md5sum] = "33fb94eccc02cbb4d8d1365615e38e46"
17SRC_URI[sha256sum] = "bcf28f43f39c28da271c0f5857fb32898d4ade3e035e80a0ceece1c2df6e0aca"
18
16# most of our targets do not have DRI so will use mesa-xlib 19# most of our targets do not have DRI so will use mesa-xlib
17DEFAULT_PREFERENCE = "-1" 20DEFAULT_PREFERENCE = "-1"
18 21
19# Atom PCs have DRI support so use mesa-dri by default
20DEFAULT_PREFERENCE_atom-pc = "1"
21
22LEAD_SONAME = "libGL.so.1" 22LEAD_SONAME = "libGL.so.1"
23 23
24EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium" 24EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium"
diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.8.2.bb b/meta/recipes-graphics/mesa/mesa-dri_7.8.2.bb
new file mode 100644
index 0000000000..60edddf641
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-dri_7.8.2.bb
@@ -0,0 +1,59 @@
1include mesa-common.inc
2
3LIC_FILES_CHKSUM = "file://docs/license.html;md5=7a3373c039b6b925c427755a4f779c1d"
4
5PROTO_DEPS = "xf86driproto glproto dri2proto"
6LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat"
7
8DEPENDS = "${PROTO_DEPS} ${LIB_DEPS} mesa-dri-glsl-native"
9
10PR = "r2"
11
12SRC_URI += "file://crossfix.patch"
13
14SRC_URI[mesalib.md5sum] = "6be2d343a0089bfd395ce02aaf8adb57"
15SRC_URI[mesalib.sha256sum] = "505bf418dceba05837f4ea1b1972b9620c35f8cb94bc4d1e6d573c15f562576d"
16
17SRC_URI[mesademos.md5sum] = "757d9e2e06f48b1a52848be9b0307ced"
18SRC_URI[mesademos.sha256sum] = "ea7b9ebfb7a80de2b275c0c9124c8a505382ec48411a2794ab82542f9885ac3c"
19
20# most of our targets do not have DRI so will use mesa-xlib
21DEFAULT_PREFERENCE = "-1"
22
23# Atom PCs have DRI support so use mesa-dri by default
24DEFAULT_PREFERENCE_atom-pc = "1"
25
26LEAD_SONAME = "libGL.so.1"
27
28EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium"
29
30# We need glsl-compile built for buildhost arch instead of target (is provided by mesa-dri-glsl-native)"
31do_configure_prepend() {
32 sed -i "s#^GLSL_CL = .*\$#GLSL_CL = ${STAGING_BINDIR_NATIVE}/glsl-compile#g" ${S}/src/mesa/shader/slang/library/Makefile
33}
34
35do_install_append () {
36 install -d ${D}/usr/bin
37 install -m 0755 ${S}/progs/xdemos/{glxdemo,glxgears,glxheads,glxinfo} ${D}/usr/bin/
38}
39
40python populate_packages_prepend() {
41 import os.path
42
43 dri_drivers_root = os.path.join(bb.data.getVar('libdir', d, 1), "dri")
44
45 do_split_packages(d, dri_drivers_root, '^(.*)_dri\.so$', 'mesa-dri-driver-%s', 'Mesa %s DRI driver', extra_depends='')
46}
47
48COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
49
50PACKAGES =+ "${PN}-xprogs"
51PACKAGES_DYNAMIC = "mesa-dri-driver-*"
52
53FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
54FILES_${PN}-xprogs = "${bindir}/glxdemo ${bindir}/glxgears ${bindir}/glxheads ${bindir}/glxinfo"
55
56#
57# Header generated by i586-poky-linux-gcc gen_matypes.c -o gen_matypes -I ../../../include/GL -I ../../../include -I .. -I ../main/ -I ../math -I ../glapi/ -I ../tnl
58# then run gen_matypes > matypes.h on device
59#
diff --git a/meta/recipes-graphics/mutter/mutter.inc b/meta/recipes-graphics/mutter/mutter.inc
index 456348754f..a734cdda46 100644
--- a/meta/recipes-graphics/mutter/mutter.inc
+++ b/meta/recipes-graphics/mutter/mutter.inc
@@ -1,7 +1,7 @@
1SECTION = "x11/wm" 1SECTION = "x11/wm"
2DESCRIPTION = "Metacity is the boring window manager for the adult in you. Mutter is metacity + clutter." 2DESCRIPTION = "Metacity is the boring window manager for the adult in you. Mutter is metacity + clutter."
3LICENSE = "GPLv2" 3LICENSE = "GPLv2"
4DEPENDS = "startup-notification gtk+ gconf clutter-1.0 gdk-pixbuf-csource-native intltool glib-2.0-native" 4DEPENDS = "startup-notification gtk+ gconf clutter-1.4 gdk-pixbuf-native intltool glib-2.0-native"
5# gobject-introspection 5# gobject-introspection
6inherit gnome update-alternatives 6inherit gnome update-alternatives
7 7
@@ -10,6 +10,9 @@ ALTERNATIVE_LINK = "${bindir}/x-window-manager"
10ALTERNATIVE_PATH = "${bindir}/mutter" 10ALTERNATIVE_PATH = "${bindir}/mutter"
11ALTERNATIVE_PRIORITY = "11" 11ALTERNATIVE_PRIORITY = "11"
12 12
13COMPATIBLE_MACHINE = "(zylonite|mx31litekit|omap-3430ldp|omap-3430sdp|mx31ads|qemuarm|qemux86|ipodtouch|atom-pc|menlow)"
14
15
13EXTRA_OECONF += "--disable-verbose \ 16EXTRA_OECONF += "--disable-verbose \
14 --disable-xinerama \ 17 --disable-xinerama \
15 --without-introspection \ 18 --without-introspection \
diff --git a/meta/recipes-graphics/mutter/mutter_git.bb b/meta/recipes-graphics/mutter/mutter_git.bb
index 6f88360fce..37e2361ca7 100644
--- a/meta/recipes-graphics/mutter/mutter_git.bb
+++ b/meta/recipes-graphics/mutter/mutter_git.bb
@@ -1,7 +1,7 @@
1require mutter.inc 1require mutter.inc
2 2
3PV = "2.28.1+git${SRCPV}" 3PV = "2.29.1+git${SRCPV}"
4PR = "r18" 4PR = "r0"
5 5
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7 7
diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc
index 38ca3bed5f..5a8a5aef75 100644
--- a/meta/recipes-graphics/pango/pango.inc
+++ b/meta/recipes-graphics/pango/pango.inc
@@ -1,7 +1,9 @@
1SUMMARY = "Framework for layout and rendering of internationalized text" 1SUMMARY = "Framework for layout and rendering of internationalized text"
2DESCRIPTION = "The goal of the Pango project is to provide an \ 2DESCRIPTION = "Pango is a library for laying out and rendering of text, \
3Open Source framework for the layout and rendering of \ 3with an emphasis on internationalization. Pango can be used anywhere \
4internationalized text." 4that text layout is needed, though most of the work on Pango so far has \
5been done in the context of the GTK+ widget toolkit. Pango forms the \
6core of text and font handling for GTK+-2.x."
5HOMEPAGE = "http://www.pango.org/" 7HOMEPAGE = "http://www.pango.org/"
6BUGTRACKER = "http://bugzilla.gnome.org" 8BUGTRACKER = "http://bugzilla.gnome.org"
7SECTION = "x11/libs" 9SECTION = "x11/libs"
diff --git a/meta/recipes-graphics/tasks/task-poky-clutter.bb b/meta/recipes-graphics/tasks/task-poky-clutter.bb
index 5e54f15a72..5fe23b92f0 100644
--- a/meta/recipes-graphics/tasks/task-poky-clutter.bb
+++ b/meta/recipes-graphics/tasks/task-poky-clutter.bb
@@ -7,7 +7,7 @@ LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ 7LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
8 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 8 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
9 9
10PR = "r3" 10PR = "r4"
11 11
12PACKAGES = "\ 12PACKAGES = "\
13 task-poky-clutter-core \ 13 task-poky-clutter-core \
@@ -24,13 +24,13 @@ PACKAGES = "\
24ALLOW_EMPTY = "1" 24ALLOW_EMPTY = "1"
25 25
26RDEPENDS_task-poky-clutter-core = "\ 26RDEPENDS_task-poky-clutter-core = "\
27 clutter-1.0 \ 27 clutter-1.4 \
28 clutter-gst-1.0 \ 28 clutter-gst-1.4 \
29 clutter-gtk-1.0" 29 clutter-gtk-1.4"
30 30
31RDEPENDS_task-poky-clutter-tests = "\ 31RDEPENDS_task-poky-clutter-tests = "\
32 clutter-gst-1.0-examples \ 32 clutter-gst-1.4-examples \
33 clutter-gtk-1.0-examples" 33 clutter-gtk-1.4-examples"
34 34
35RDEPENDS_task-poky-clutter-apps = "\ 35#RDEPENDS_task-poky-clutter-apps = "\
36 clutter-box2d " 36# clutter-box2d "
diff --git a/meta/recipes-graphics/tslib/tslib_1.0.bb b/meta/recipes-graphics/tslib/tslib_1.0.bb
index fd75d60647..51529e3f13 100644
--- a/meta/recipes-graphics/tslib/tslib_1.0.bb
+++ b/meta/recipes-graphics/tslib/tslib_1.0.bb
@@ -1,4 +1,8 @@
1DESCRIPTION = "tslib is a plugin-based flexible touchscreen access library." 1SUMMARY = "An abstraction layer for touchscreen panel events."
2DESCRIPTION = "Tslib is an abstraction layer for touchscreen panel \
3events, as well as a filter stack for the manipulation of those events. \
4Tslib is generally used on embedded devices to provide a common user \
5space interface to touchscreen functionality."
2HOMEPAGE = "http://tslib.berlios.de/" 6HOMEPAGE = "http://tslib.berlios.de/"
3 7
4AUTHOR = "Russell King w/ plugins by Chris Larson et. al." 8AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
diff --git a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb
index bba1c246a2..12d9d86721 100644
--- a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb
+++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb
@@ -1,5 +1,7 @@
1SUMMARY = "Liberation(tm) Fonts" 1SUMMARY = "Liberation(tm) Fonts"
2DESCRIPTION = "The Liberation(tm) Fonts is a font family originally created by Ascender(c) which aims metric compatibility as usage of Arial, Times New Roman, Courier New" 2DESCRIPTION = "The Liberation(tm) Fonts is a font family originally \
3created by Ascender(c) which aims at metric compatibility with \
4Arial, Times New Roman, Courier New."
3HOMEPAGE = "https://fedorahosted.org/liberation-fonts/" 5HOMEPAGE = "https://fedorahosted.org/liberation-fonts/"
4BUGTRACKER = "https://bugzilla.redhat.com/" 6BUGTRACKER = "https://bugzilla.redhat.com/"
5 7
diff --git a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb
index 210372be7d..887536a4f0 100644
--- a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb
+++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.06.bb
@@ -1,4 +1,7 @@
1DESCRIPTION = "The Liberation(tm) Fonts is a font family originally created by Ascender(c) which aims metric compatibility as usage of Arial, Times New Roman, Courier New" 1SUMMARY = "Liberation(tm) Fonts"
2DESCRIPTION = "The Liberation(tm) Fonts is a font family originally \
3created by Ascender(c) which aims at metric compatibility with \
4Arial, Times New Roman, Courier New."
2HOMEPAGE = "https://fedorahosted.org/liberation-fonts/" 5HOMEPAGE = "https://fedorahosted.org/liberation-fonts/"
3BUGTRACKER = "https://bugzilla.redhat.com/" 6BUGTRACKER = "https://bugzilla.redhat.com/"
4 7
diff --git a/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb b/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb
index ed64b1e05e..b9a75a77bb 100644
--- a/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb
+++ b/meta/recipes-graphics/ttf-fonts/ttf-bitstream-vera_1.10.bb
@@ -1,4 +1,9 @@
1DESCRIPTION = "The Bitstream Vera fonts - TTF Edition" 1SUMMARY = "The Bitstream Vera fonts - TTF Edition"
2DESCRIPTION = "The Bitstream Vera fonts include four monospace and sans \
3faces (normal, oblique, bold, bold oblique) and two serif faces (normal \
4and bold). In addition Fontconfig/Xft2 can artificially oblique the \
5serif faces for you: this loses hinting and distorts the faces slightly, \
6but is visibly different than normal and bold, and reasonably pleasing."
2SECTION = "x11/fonts" 7SECTION = "x11/fonts"
3PRIORITY = "optional" 8PRIORITY = "optional"
4LICENSE = "Bitstream Vera" 9LICENSE = "Bitstream Vera"
diff --git a/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession b/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession
index a87447a879..0b73127ae1 100644
--- a/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession
+++ b/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xsession
@@ -2,7 +2,7 @@
2 2
3if [ -x /usr/bin/dbus-launch ]; then 3if [ -x /usr/bin/dbus-launch ]; then
4 # As this is the X session script, always start a new DBus session. 4 # As this is the X session script, always start a new DBus session.
5 eval `dbus-launch --sh-syntax --exit-with-session` 5 eval `dbus-launch --sh-syntax --exit-with-session </dev/null`
6 echo "D-BUS per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS" 6 echo "D-BUS per-session daemon address is: $DBUS_SESSION_BUS_ADDRESS"
7fi 7fi
8 8
diff --git a/meta/recipes-graphics/x11-common/x11-common_0.1.bb b/meta/recipes-graphics/x11-common/x11-common_0.1.bb
index d15628560e..2d49951670 100644
--- a/meta/recipes-graphics/x11-common/x11-common_0.1.bb
+++ b/meta/recipes-graphics/x11-common/x11-common_0.1.bb
@@ -1,9 +1,9 @@
1DESCRIPTION = "Common X11 scripts" 1DESCRIPTION = "Common X11 scripts and configuration files"
2LICENSE = "GPLv2" 2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
4SECTION = "x11" 4SECTION = "x11"
5RDEPENDS_${PN} = "xmodmap xdpyinfo xtscal xinit formfactor" 5RDEPENDS_${PN} = "xmodmap xdpyinfo xtscal xinit formfactor"
6PR = "r39" 6PR = "r40"
7 7
8SRC_URI = "file://etc \ 8SRC_URI = "file://etc \
9 file://gplv2-license.patch" 9 file://gplv2-license.patch"
diff --git a/meta/recipes-graphics/xcb/libxcb.inc b/meta/recipes-graphics/xcb/libxcb.inc
index 37d1f86339..81d4a20c2f 100644
--- a/meta/recipes-graphics/xcb/libxcb.inc
+++ b/meta/recipes-graphics/xcb/libxcb.inc
@@ -1,4 +1,7 @@
1DESCRIPTION = "XCB: an X protocol C binding" 1SUMMARY = "XCB: The X protocol C binding library"
2DESCRIPTION = "The X protocol C-language Binding (XCB) is a replacement \
3for Xlib featuring a small footprint, latency hiding, direct access to \
4the protocol, improved threading support, and extensibility."
2HOMEPAGE = "http://xcb.freedesktop.org" 5HOMEPAGE = "http://xcb.freedesktop.org"
3BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB" 6BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB"
4 7
diff --git a/meta/recipes-graphics/xcb/libxcb_git.bb b/meta/recipes-graphics/xcb/libxcb_git.bb
index b9ac073410..faa52317c2 100644
--- a/meta/recipes-graphics/xcb/libxcb_git.bb
+++ b/meta/recipes-graphics/xcb/libxcb_git.bb
@@ -1,7 +1,7 @@
1DEFAULT_PREFERENCE = "-1" 1DEFAULT_PREFERENCE = "-1"
2 2
3include libxcb.inc 3include libxcb.inc
4PV = "1.1.90.1+gitr${SRCREV}" 4PV = "1.1.90.1+gitr${SRCPV}"
5 5
6DEPENDS += "libpthread-stubs xcb-proto-native" 6DEPENDS += "libpthread-stubs xcb-proto-native"
7 7
diff --git a/meta/recipes-graphics/xcb/xcb-proto.inc b/meta/recipes-graphics/xcb/xcb-proto.inc
index 2e1810f6f2..ae4028298a 100644
--- a/meta/recipes-graphics/xcb/xcb-proto.inc
+++ b/meta/recipes-graphics/xcb/xcb-proto.inc
@@ -1,4 +1,8 @@
1DESCRIPTION = "XCB: an X protocol C binding" 1SUMMARY = "XCB: The X protocol C binding headers"
2DESCRIPTION = "Function prototypes for the X protocol C-language Binding \
3(XCB). XCB is a replacement for Xlib featuring a small footprint, \
4latency hiding, direct access to the protocol, improved threading \
5support, and extensibility."
2HOMEPAGE = "http://xcb.freedesktop.org" 6HOMEPAGE = "http://xcb.freedesktop.org"
3BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB" 7BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB"
4 8
diff --git a/meta/recipes-graphics/xcb/xcb-proto_git.bb b/meta/recipes-graphics/xcb/xcb-proto_git.bb
index b96fc121c5..e4c238cfc7 100644
--- a/meta/recipes-graphics/xcb/xcb-proto_git.bb
+++ b/meta/recipes-graphics/xcb/xcb-proto_git.bb
@@ -1,7 +1,7 @@
1DEFAULT_PREFERENCE = "-1" 1DEFAULT_PREFERENCE = "-1"
2 2
3include xcb-proto.inc 3include xcb-proto.inc
4PV = "1.2+gitr${SRCREV}" 4PV = "1.2+gitr${SRCPV}"
5PR = "r1" 5PR = "r1"
6 6
7SRC_URI = "git://anongit.freedesktop.org/git/xcb/proto;protocol=git" 7SRC_URI = "git://anongit.freedesktop.org/git/xcb/proto;protocol=git"
diff --git a/meta/recipes-graphics/xcb/xcb-util.inc b/meta/recipes-graphics/xcb/xcb-util.inc
index 6bda3d0bfa..cd9923d2ff 100644
--- a/meta/recipes-graphics/xcb/xcb-util.inc
+++ b/meta/recipes-graphics/xcb/xcb-util.inc
@@ -1,4 +1,11 @@
1DESCRIPTION = "XCB: an X protocol C binding" 1SUMMARY = "XCB: The X protocol C binding utilities"
2DESCRIPTION = "The xcb-util module provides a number of libraries which \
3sit on top of libxcb, the core X protocol library, and some of the \
4extension libraries. These experimental libraries provide convenience \
5functions and interfaces which make the raw X protocol more usable. Some \
6of the libraries also provide client-side code which is not strictly \
7part of the X protocol but which have traditionally been provided by \
8Xlib."
2HOMEPAGE = "http://xcb.freedesktop.org/XcbUtil/" 9HOMEPAGE = "http://xcb.freedesktop.org/XcbUtil/"
3BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB" 10BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=XCB"
4 11
diff --git a/meta/recipes-graphics/xorg-app/mkfontdir_1.0.5.bb b/meta/recipes-graphics/xorg-app/mkfontdir_1.0.5.bb
deleted file mode 100644
index 729c2a5d4f..0000000000
--- a/meta/recipes-graphics/xorg-app/mkfontdir_1.0.5.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1require xorg-app-common.inc
2
3DESCRIPTION = "a program to create an index of X font files in a directory"
4
5PE = "1"
6
7RDEPENDS += "mkfontscale"
8
9BBCLASSEXTEND = "native"
10
11LIC_FILES_CHKSUM = "file://COPYING;md5=b4fcf2b90cadbfc15009b9e124dc3a3f"
12
13SRC_URI[md5sum] = "9365ac66d19186eaf030482d312fca06"
14SRC_URI[sha256sum] = "a534650cff503619f9101577d816cde283da993bc039273477bd8dfbd01a2d0b"
diff --git a/meta/recipes-graphics/xorg-app/mkfontdir_1.0.6.bb b/meta/recipes-graphics/xorg-app/mkfontdir_1.0.6.bb
new file mode 100644
index 0000000000..2657ecf71a
--- /dev/null
+++ b/meta/recipes-graphics/xorg-app/mkfontdir_1.0.6.bb
@@ -0,0 +1,21 @@
1require xorg-app-common.inc
2
3SUMMARY = "A program to create an index of X font files in a directory"
4
5DESCRIPTION = "For each directory argument, mkfontdir reads all of the \
6font files in the directory. The font names and related data are written \
7out to the files \"fonts.dir\", \"fonts.scale\", and \"fonts.alias\". \
8The X server and font server use these files to find the available font \
9files."
10
11PE = "1"
12PR = "r0"
13
14RDEPENDS_${PN} += "mkfontscale"
15
16BBCLASSEXTEND = "native"
17
18LIC_FILES_CHKSUM = "file://COPYING;md5=b4fcf2b90cadbfc15009b9e124dc3a3f"
19
20SRC_URI[md5sum] = "dc342dd8858416254bb5f71a9ddce589"
21SRC_URI[sha256sum] = "55d56c6310f8d2268cb8978e838d01d27c7d70e30282c373c5a935ab3fb8c859"
diff --git a/meta/recipes-graphics/xorg-app/mkfontscale_1.0.7.bb b/meta/recipes-graphics/xorg-app/mkfontscale_1.0.7.bb
deleted file mode 100644
index c1175194a6..0000000000
--- a/meta/recipes-graphics/xorg-app/mkfontscale_1.0.7.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1require xorg-app-common.inc
2
3DESCRIPTION = "a program to create an index of scalable font files for X"
4
5DEPENDS += " zlib libfontenc freetype virtual/libx11"
6
7BBCLASSEXTEND = "native"
8
9LIC_FILES_CHKSUM = "file://COPYING;md5=8ecbbbc1259a329e96ccc4dd86ad2ca2"
10
11SRC_URI[md5sum] = "96ca346f185c0ab48e42bf5bb0375da5"
12SRC_URI[sha256sum] = "8306b229cca233216a6582cb1ff60af78e37c47d6412ac823d7d41c3d7de7127"
diff --git a/meta/recipes-graphics/xorg-app/mkfontscale_1.0.8.bb b/meta/recipes-graphics/xorg-app/mkfontscale_1.0.8.bb
new file mode 100644
index 0000000000..3b21c1ee2a
--- /dev/null
+++ b/meta/recipes-graphics/xorg-app/mkfontscale_1.0.8.bb
@@ -0,0 +1,18 @@
1require xorg-app-common.inc
2
3SUMMARY = "A program to create an index of scalable font files for X"
4
5DESCRIPTION = "For each directory argument, mkfontscale reads all of the \
6scalable font files in the directory. For every font file found, an X11 \
7font name (XLFD) is generated, and is written together with the file \
8name to a file fonts.scale in the directory. The resulting fonts.scale \
9is used by the mkfontdir program."
10
11DEPENDS += " zlib libfontenc freetype virtual/libx11"
12
13BBCLASSEXTEND = "native"
14
15LIC_FILES_CHKSUM = "file://COPYING;md5=2e0d129d05305176d1a790e0ac1acb7f"
16
17SRC_URI[md5sum] = "5210c9385c6cc4a00ce829d8dc9c819b"
18SRC_URI[sha256sum] = "6eb57786cd79eebfbaca386fe24dcfe50689dbf433d052e58291c2925f2050f9"
diff --git a/meta/recipes-graphics/xorg-app/x11perf_1.5.2.bb b/meta/recipes-graphics/xorg-app/x11perf_1.5.2.bb
index 88dec1b780..e10fcf0b53 100644
--- a/meta/recipes-graphics/xorg-app/x11perf_1.5.2.bb
+++ b/meta/recipes-graphics/xorg-app/x11perf_1.5.2.bb
@@ -1,6 +1,11 @@
1require xorg-app-common.inc 1require xorg-app-common.inc
2 2
3DESCRIPTION = "X11 server performance test program" 3SUMMARY = "X11 server performance test program"
4
5DESCRIPTION = "The x11perf program runs one or more performance tests \
6and reports how fast an X server can execute the tests."
7
8
4DEPENDS += "libxmu libxrender libxft libxext fontconfig" 9DEPENDS += "libxmu libxrender libxft libxext fontconfig"
5 10
6LIC_FILES_CHKSUM = "file://COPYING;md5=428ca4d67a41fcd4fc3283dce9bbda7e \ 11LIC_FILES_CHKSUM = "file://COPYING;md5=428ca4d67a41fcd4fc3283dce9bbda7e \
diff --git a/meta/recipes-graphics/xorg-app/xauth_1.0.5.bb b/meta/recipes-graphics/xorg-app/xauth_1.0.5.bb
index 43e51c84df..23986ac1b2 100644
--- a/meta/recipes-graphics/xorg-app/xauth_1.0.5.bb
+++ b/meta/recipes-graphics/xorg-app/xauth_1.0.5.bb
@@ -1,7 +1,7 @@
1require xorg-app-common.inc 1require xorg-app-common.inc
2SUMMARY = "X authority utilities" 2SUMMARY = "X authority utilities"
3DESCRIPTION = "X application to edit and display the authorization \ 3DESCRIPTION = "X application to edit and display the authorization \
4information used in connecting to the X server" 4information used in connecting to the X server."
5 5
6LIC_FILES_CHKSUM = "file://COPYING;md5=5ec74dd7ea4d10c4715a7c44f159a40b" 6LIC_FILES_CHKSUM = "file://COPYING;md5=5ec74dd7ea4d10c4715a7c44f159a40b"
7 7
diff --git a/meta/recipes-graphics/xorg-app/xdpyinfo_1.1.0.bb b/meta/recipes-graphics/xorg-app/xdpyinfo_1.1.0.bb
deleted file mode 100644
index ff5a58f6f6..0000000000
--- a/meta/recipes-graphics/xorg-app/xdpyinfo_1.1.0.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1require xorg-app-common.inc
2
3DESCRIPTION = "X display information utility"
4LIC_FILES_CHKSUM = "file://COPYING;md5=4641deddaa80fe7ca88e944e1fd94a94"
5DEPENDS += "libxtst libxext libxxf86vm libxxf86dga libxxf86misc libxi libxrender libxinerama libdmx libxp libxau"
6PR = "r0"
7PE = "1"
8
9SRC_URI += "file://disable-xkb.patch"
10
11SRC_URI[md5sum] = "d1d516610316138105cd07064b257c5c"
12SRC_URI[sha256sum] = "780d8dfe65653f42ee26d35928ab7f72f5f27ab08eda692fe4baad05126a0631"
13
14EXTRA_OECONF = "--disable-xkb"
diff --git a/meta/recipes-graphics/xorg-app/xdpyinfo_1.2.0.bb b/meta/recipes-graphics/xorg-app/xdpyinfo_1.2.0.bb
new file mode 100644
index 0000000000..d975d82952
--- /dev/null
+++ b/meta/recipes-graphics/xorg-app/xdpyinfo_1.2.0.bb
@@ -0,0 +1,21 @@
1require xorg-app-common.inc
2
3SUMMARY = "Display information utility for X"
4
5DESCRIPTION = "Xdpyinfo is a utility for displaying information about an \
6X server. It is used to examine the capabilities of a server, the \
7predefined values for various parameters used in communicating between \
8clients and the server, and the different types of screens and visuals \
9that are available."
10
11LIC_FILES_CHKSUM = "file://COPYING;md5=f3d09e6b9e203a1af489e16c708f4fb3"
12DEPENDS += "libxtst libxext libxxf86vm libxxf86dga libxxf86misc libxi libxrender libxinerama libdmx libxp libxau"
13PR = "r0"
14PE = "1"
15
16SRC_URI += "file://disable-xkb.patch"
17
18SRC_URI[md5sum] = "c52fda7bbc80e74b7839f29298cb1d77"
19SRC_URI[sha256sum] = "fe5bad498ecfbf21f9a2a18eee5ece9de5d52f68878f250db8f575c9b872b5ce"
20
21EXTRA_OECONF = "--disable-xkb"
diff --git a/meta/recipes-graphics/xorg-app/xhost_1.0.3.bb b/meta/recipes-graphics/xorg-app/xhost_1.0.3.bb
deleted file mode 100644
index d39058a1e1..0000000000
--- a/meta/recipes-graphics/xorg-app/xhost_1.0.3.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1require xorg-app-common.inc
2
3DESCRIPTION = "Server access control program for X"
4LIC_FILES_CHKSUM = "file://COPYING;md5=cbe6a2ee97dc38c7265adfec5644689b"
5DEPENDS += "libxmu libxau"
6PR = "r0"
7PE = "1"
8
9SRC_URI[md5sum] = "c7f91b4a750d297f269c2a0a3206a1b2"
10SRC_URI[sha256sum] = "2d63007c65e89fe273a43f3e45b3c0133acbc3ceeda6bfc9671388409134ad17"
diff --git a/meta/recipes-graphics/xorg-app/xhost_1.0.4.bb b/meta/recipes-graphics/xorg-app/xhost_1.0.4.bb
new file mode 100644
index 0000000000..9330228a15
--- /dev/null
+++ b/meta/recipes-graphics/xorg-app/xhost_1.0.4.bb
@@ -0,0 +1,18 @@
1require xorg-app-common.inc
2
3SUMMARY = "Server access control program for X"
4
5DESCRIPTION = "The xhost program is used to add and delete host names or \
6user names to the list allowed to make connections to the X server. In \
7the case of hosts, this provides a rudimentary form of privacy control \
8and security. Environments which require more sophisticated measures \
9should implement the user-based mechanism or use the hooks in the \
10protocol for passing other authentication data to the server."
11
12LIC_FILES_CHKSUM = "file://COPYING;md5=8fbed71dddf48541818cef8079124199"
13DEPENDS += "libxmu libxau"
14PR = "r0"
15PE = "1"
16
17SRC_URI[md5sum] = "2be663a0afbcc0856c1591477d5bf32a"
18SRC_URI[sha256sum] = "5e02c06caeb7a258f3621bf11459a7820cfeaf9bf269c1f8da86d7071346a594"
diff --git a/meta/recipes-graphics/xorg-app/xinit_1.2.1.bb b/meta/recipes-graphics/xorg-app/xinit_1.2.1.bb
deleted file mode 100644
index 68150ca05d..0000000000
--- a/meta/recipes-graphics/xorg-app/xinit_1.2.1.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require xorg-app-common.inc
2
3DESCRIPTION = "X Window System initializer"
4LIC_FILES_CHKSUM = "file://COPYING;md5=0d4b5eef75f1584ccbdc5e4a34314407"
5PR = "r0"
6PE = "1"
7
8FILES_${PN} += "${libdir}X11/xinit"
9
10SRC_URI[md5sum] = "56f2d202b3dc10fcd21931a67bb270f7"
11SRC_URI[sha256sum] = "16bcc73ae81b6d80fd1a9419ea757f38870d1043d440b6d56fcaa79d4c6c9b07"
diff --git a/meta/recipes-graphics/xorg-app/xinit_1.3.0.bb b/meta/recipes-graphics/xorg-app/xinit_1.3.0.bb
new file mode 100644
index 0000000000..ee7c64d928
--- /dev/null
+++ b/meta/recipes-graphics/xorg-app/xinit_1.3.0.bb
@@ -0,0 +1,18 @@
1require xorg-app-common.inc
2
3SUMMARY = "X Window System initializer"
4
5DESCRIPTION = "The xinit program is used to start the X Window System \
6server and a first client program on systems that cannot start X \
7directly from /etc/init or in environments that use multiple window \
8systems. When this first client exits, xinit will kill the X server and \
9then terminate."
10
11LIC_FILES_CHKSUM = "file://COPYING;md5=0d4b5eef75f1584ccbdc5e4a34314407"
12PR = "r0"
13PE = "1"
14
15FILES_${PN} += "${libdir}X11/xinit"
16
17SRC_URI[md5sum] = "bc4e8b7d1919597cc37a0d24aa149dda"
18SRC_URI[sha256sum] = "ba76e36e1a42a7cf76505b7e6fc4777f5d14f45ddff74341abfb7dd10d5fe04c"
diff --git a/meta/recipes-graphics/xorg-app/xkbcomp/cross-compile-fix.patch b/meta/recipes-graphics/xorg-app/xkbcomp/cross-compile-fix.patch
new file mode 100644
index 0000000000..ca65345636
--- /dev/null
+++ b/meta/recipes-graphics/xorg-app/xkbcomp/cross-compile-fix.patch
@@ -0,0 +1,35 @@
1commit cc55d8f5ab021861308b071aab9c03016be15187
2Author: Gaetan Nadon <memsize@videotron.ca>
3Date: Sun Oct 31 20:35:24 2010 -0400
4
5 config: replace AC_CHECK_FILE with test -f as it fails to cross-compile
6
7 Testing for the presence of xkbparse.c is legitimate as this is a build
8 file, but the Autoconf macro assumes it is testing on the host system
9 and fails.
10
11 Tested-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
12 Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
13
14diff --git a/configure.ac b/configure.ac
15index c69230b..8e6bd6e 100644
16--- a/configure.ac
17+++ b/configure.ac
18@@ -34,11 +34,14 @@ XORG_DEFAULT_OPTIONS
19
20 AM_CONFIG_HEADER(config.h)
21
22+# If both the C file and YACC are missing, the package cannot be build.
23 AC_PROG_YACC
24 AC_PATH_PROG([YACC_INST], $YACC)
25-AC_CHECK_FILE([$srcdir/xkbparse.c], [],
26- [test -z "$YACC_INST" && AC_MSG_ERROR([yacc not found - unable to compile xkbparse.y])])
27-
28+if test ! -f "$srcdir/xkbparse.c"; then
29+ if test -z "$YACC_INST"; then
30+ AC_MSG_ERROR([yacc not found - unable to compile xkbparse.y])
31+ fi
32+fi
33
34 AC_CHECK_FUNCS([strdup strcasecmp])
35
diff --git a/meta/recipes-graphics/xorg-app/xkbcomp_1.1.1.bb b/meta/recipes-graphics/xorg-app/xkbcomp_1.1.1.bb
deleted file mode 100644
index bd40e4287d..0000000000
--- a/meta/recipes-graphics/xorg-app/xkbcomp_1.1.1.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1require xorg-app-common.inc
2
3SUMMARY = "X Keyboard Extensions"
4
5DESCRIPTION = "The X Keyboard Extension essentially replaces the core protocol definition of keyboard."
6
7LIC_FILES_CHKSUM = "file://COPYING;md5=08436e4f4476964e2e2dd7e7e41e076a"
8
9DEPENDS += "libxkbfile"
10
11BBCLASSEXTEND = "native"
12
13SRC_URI[md5sum] = "38c387bacdc01038c8ac280588792bcf"
14SRC_URI[sha256sum] = "9775bcfd43d9ffa41e2865e5b2c933f419bf983d7a529b3103656c76fd82e663"
diff --git a/meta/recipes-graphics/xorg-app/xkbcomp_1.2.0.bb b/meta/recipes-graphics/xorg-app/xkbcomp_1.2.0.bb
new file mode 100644
index 0000000000..f574690898
--- /dev/null
+++ b/meta/recipes-graphics/xorg-app/xkbcomp_1.2.0.bb
@@ -0,0 +1,19 @@
1require xorg-app-common.inc
2
3SUMMARY = "A program to compile XKB keyboard description"
4
5DESCRIPTION = "The xkbcomp keymap compiler converts a description of an \
6XKB keymap into one of several output formats. The most common use for \
7xkbcomp is to create a compiled keymap file (.xkm extension) which can \
8be read directly by XKB-capable X servers or utilities."
9
10LIC_FILES_CHKSUM = "file://COPYING;md5=08436e4f4476964e2e2dd7e7e41e076a"
11
12DEPENDS += "libxkbfile"
13
14SRC_URI += "file://cross-compile-fix.patch"
15
16BBCLASSEXTEND = "native"
17
18SRC_URI[md5sum] = "0f55995cd8da9b2d88553e1a2e17cd0a"
19SRC_URI[sha256sum] = "2c64aa414755e764ca548ae5c93e95f7b5bbd5e01bca16bf226fd32bfae77ea4"
diff --git a/meta/recipes-graphics/xorg-app/xmodmap_1.0.5.bb b/meta/recipes-graphics/xorg-app/xmodmap_1.0.5.bb
index 2d5ee24bc7..e98ed4fdfa 100644
--- a/meta/recipes-graphics/xorg-app/xmodmap_1.0.5.bb
+++ b/meta/recipes-graphics/xorg-app/xmodmap_1.0.5.bb
@@ -1,6 +1,13 @@
1require xorg-app-common.inc 1require xorg-app-common.inc
2 2
3DESCRIPTION = "utility for modifying keymaps and pointer button mappings in X" 3SUMMARY = "Utility for modifying keymaps and pointer button mappings in X"
4
5DESCRIPTION = "The xmodmap program is used to edit and display the \
6keyboard modifier map and keymap table that are used by client \
7applications to convert event keycodes into keysyms. It is usually run \
8from the user's session startup script to configure the keyboard \
9according to personal tastes."
10
4LICENSE = "MIT" 11LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=eef098b27f09d0ac39268df0cc2c00b5" 12LIC_FILES_CHKSUM = "file://COPYING;md5=eef098b27f09d0ac39268df0cc2c00b5"
6 13
diff --git a/meta/recipes-graphics/xorg-app/xprop_1.1.0.bb b/meta/recipes-graphics/xorg-app/xprop_1.1.0.bb
deleted file mode 100644
index cfa02dd31d..0000000000
--- a/meta/recipes-graphics/xorg-app/xprop_1.1.0.bb
+++ /dev/null
@@ -1,13 +0,0 @@
1require xorg-app-common.inc
2
3DESCRIPTION = "utility to display window and font properties of an X server"
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=4641deddaa80fe7ca88e944e1fd94a94"
6
7DEPENDS += " libxmu virtual/libx11"
8
9PR = "r0"
10PE = "1"
11
12SRC_URI[md5sum] = "f0bacbd30f0dd1c1e9ccafe97687b7a4"
13SRC_URI[sha256sum] = "cc8e07901574895f113baffda19272c54545879e02012314527ebbf2dcc66226"
diff --git a/meta/recipes-graphics/xorg-app/xprop_1.2.0.bb b/meta/recipes-graphics/xorg-app/xprop_1.2.0.bb
new file mode 100644
index 0000000000..dc53b987cd
--- /dev/null
+++ b/meta/recipes-graphics/xorg-app/xprop_1.2.0.bb
@@ -0,0 +1,19 @@
1require xorg-app-common.inc
2
3SUMMARY = "Utility to display window and font properties of an X server"
4
5DESCRIPTION = "The xprop utility is for displaying window and font \
6properties in an X server. One window or font is selected using the \
7command line arguments or possibly in the case of a window, by clicking \
8on the desired window. A list of properties is then given, possibly with \
9formatting information."
10
11LIC_FILES_CHKSUM = "file://COPYING;md5=e226ab8db88ac0bc0391673be40c9f91"
12
13DEPENDS += " libxmu virtual/libx11"
14
15PR = "r0"
16PE = "1"
17
18SRC_URI[md5sum] = "e6d0673a1e1e469f0a6220a6868fb94b"
19SRC_URI[sha256sum] = "53508c082b03dbbfd68489cb21392023f3e62ca9c921e1fb39b92ad10fbe6b9c"
diff --git a/meta/recipes-graphics/xorg-app/xrandr_1.3.4.bb b/meta/recipes-graphics/xorg-app/xrandr_1.3.4.bb
index 9a6e4702b9..ab298740af 100644
--- a/meta/recipes-graphics/xorg-app/xrandr_1.3.4.bb
+++ b/meta/recipes-graphics/xorg-app/xrandr_1.3.4.bb
@@ -1,6 +1,11 @@
1require xorg-app-common.inc 1require xorg-app-common.inc
2 2
3DESCRIPTION = "X Resize and Rotate extension command." 3SUMMARY = "XRandR: X Resize, Rotate and Reflect extension command"
4
5DESCRIPTION = "Xrandr is used to set the size, orientation and/or \
6reflection of the outputs for a screen. It can also set the screen \
7size."
8
4LICENSE= "BSD-X" 9LICENSE= "BSD-X"
5LIC_FILES_CHKSUM = "file://COPYING;md5=fe1608bdb33cf8c62a4438f7d34679b3" 10LIC_FILES_CHKSUM = "file://COPYING;md5=fe1608bdb33cf8c62a4438f7d34679b3"
6DEPENDS += "libxrandr libxrender" 11DEPENDS += "libxrandr libxrender"
diff --git a/meta/recipes-graphics/xorg-app/xset_1.2.1.bb b/meta/recipes-graphics/xorg-app/xset_1.2.1.bb
index 5ce0a5bb0b..b5d63bcd65 100644
--- a/meta/recipes-graphics/xorg-app/xset_1.2.1.bb
+++ b/meta/recipes-graphics/xorg-app/xset_1.2.1.bb
@@ -1,6 +1,10 @@
1require xorg-app-common.inc 1require xorg-app-common.inc
2 2
3DESCRIPTION = "Utility of setting various user preference options of the display" 3SUMMARY = "Utility for setting various user preference options of the display"
4
5DESCRIPTION = "xset is a utility that is used to set various user \
6preference options of the display."
7
4LICENSE = "MIT" 8LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=bea81cc9827cdf1af0e12c2b8228cf8d" 9LIC_FILES_CHKSUM = "file://COPYING;md5=bea81cc9827cdf1af0e12c2b8228cf8d"
6DEPENDS += "libxext libxxf86misc libxfontcache libxmu libxp libxau" 10DEPENDS += "libxext libxxf86misc libxfontcache libxmu libxp libxau"
diff --git a/meta/recipes-graphics/xorg-app/xvinfo_1.0.2.bb b/meta/recipes-graphics/xorg-app/xvinfo_1.0.2.bb
deleted file mode 100644
index 3c6f6678dc..0000000000
--- a/meta/recipes-graphics/xorg-app/xvinfo_1.0.2.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1require xorg-app-common.inc
2
3DESCRIPTION = "Print out X-Video extension adaptor information"
4LIC_FILES_CHKSUM = "file://COPYING;md5=4641deddaa80fe7ca88e944e1fd94a94"
5DEPENDS += " libxv"
6PE = "1"
7
8SRC_URI[md5sum] = "e1e318436f49e2f0f3764593dadd9ad2"
9SRC_URI[sha256sum] = "126e2a612ac723f9688904fcfa612688d62e520ce55c56eb34eb5390074cf150"
diff --git a/meta/recipes-graphics/xorg-app/xvinfo_1.1.1.bb b/meta/recipes-graphics/xorg-app/xvinfo_1.1.1.bb
new file mode 100644
index 0000000000..7a0b822aa9
--- /dev/null
+++ b/meta/recipes-graphics/xorg-app/xvinfo_1.1.1.bb
@@ -0,0 +1,14 @@
1require xorg-app-common.inc
2
3SUMMARY = "Print out X-Video extension adaptor information"
4
5DESCRIPTION = "xvinfo prints out the capabilities of any video adaptors \
6associated with the display that are accessible through the X-Video \
7extension."
8
9LIC_FILES_CHKSUM = "file://COPYING;md5=b664101ad7a1dc758a4c4109bf978e68"
10DEPENDS += " libxv"
11PE = "1"
12
13SRC_URI[md5sum] = "c88feb501083951a8f47a21aaeb1529d"
14SRC_URI[sha256sum] = "60c74aa190bcf1e244f6f1576dc43869018a8ed5ba319703a5c198d3466a3985"
diff --git a/meta/recipes-graphics/xorg-app/xwininfo_1.1.0.bb b/meta/recipes-graphics/xorg-app/xwininfo_1.1.0.bb
deleted file mode 100644
index 8e37294886..0000000000
--- a/meta/recipes-graphics/xorg-app/xwininfo_1.1.0.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require xorg-app-common.inc
2
3DESCRIPTION = "window information utility for X"
4LIC_FILES_CHKSUM = "file://COPYING;md5=78976cd3115f6faf615accc4e094d90e"
5DEPENDS += "libxext libxmu"
6
7PR = "r0"
8PE = "0"
9
10SRC_URI[md5sum] = "932cb1393dee3caaf26f3515f640d783"
11SRC_URI[sha256sum] = "759e03d80b2a8bc843d501d5fd91fe1506da403019b6f165d32aa1b9909f8cf8"
diff --git a/meta/recipes-graphics/xorg-app/xwininfo_1.1.1.bb b/meta/recipes-graphics/xorg-app/xwininfo_1.1.1.bb
new file mode 100644
index 0000000000..cabd4663a7
--- /dev/null
+++ b/meta/recipes-graphics/xorg-app/xwininfo_1.1.1.bb
@@ -0,0 +1,16 @@
1require xorg-app-common.inc
2
3SUMMARY = "Window information utility for X"
4
5DESCRIPTION = "Xwininfo is a utility for displaying information about \
6windows. Information may include window position, size, color depth, \
7and a number of other items."
8
9LIC_FILES_CHKSUM = "file://COPYING;md5=78976cd3115f6faf615accc4e094d90e"
10DEPENDS += "libxext libxmu"
11
12PR = "r0"
13PE = "0"
14
15SRC_URI[md5sum] = "7a7f44b826d877ba39c19cf5913978d7"
16SRC_URI[sha256sum] = "645a57be4870fb6aba459e7dc96f4d8eaafa3b31bbcd42c997ac4cb021a2343d"
diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.5.0.bb b/meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.5.0.bb
deleted file mode 100644
index 1b4470c17c..0000000000
--- a/meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.5.0.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1require xf86-input-common.inc
2
3DESCRIPTION = "X.Org X server -- evdev input driver"
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=fefe33b1cf0cacba0e72e3b0fa0f0e16"
6
7PR = "r0"
8
9SRC_URI[md5sum] = "eceb6dc517c0649b772f18708a1aade8"
10SRC_URI[sha256sum] = "9dec173ac9d8d09ef5cb2f79e74471f5f3ddd108827f3e95958b623766260333"
diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.6.0.bb b/meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.6.0.bb
new file mode 100644
index 0000000000..a37be179a1
--- /dev/null
+++ b/meta/recipes-graphics/xorg-driver/xf86-input-evdev_2.6.0.bb
@@ -0,0 +1,20 @@
1require xf86-input-common.inc
2
3SUMMARY = "X.Org X server -- event devices (evdev) input driver"
4
5DESCRIPTION = "evdev is an Xorg input driver for Linux's generic event \
6devices. It therefore supports all input devices that the kernel knows \
7about, including most mice and keyboards. \
8\
9The evdev driver can serve as both a pointer and a keyboard input \
10device, and may be used as both the core keyboard and the core pointer. \
11Multiple input devices are supported by multiple instances of this \
12driver, with one Load directive for evdev in the Module section of your \
13xorg.conf for each input device that will use this driver. "
14
15LIC_FILES_CHKSUM = "file://COPYING;md5=fefe33b1cf0cacba0e72e3b0fa0f0e16"
16
17PR = "r0"
18
19SRC_URI[md5sum] = "f33fe9413bde68936d8909206a13e8a1"
20SRC_URI[sha256sum] = "b0e7f3991a8183a4743196c3e16d7184d439b80bf43653aa2f45b0756a6753ac"
diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-keyboard_1.4.0.bb b/meta/recipes-graphics/xorg-driver/xf86-input-keyboard_1.4.0.bb
deleted file mode 100644
index f5e51e0229..0000000000
--- a/meta/recipes-graphics/xorg-driver/xf86-input-keyboard_1.4.0.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1require xf86-input-common.inc
2
3DESCRIPTION = "X.Org X server -- keyboard input driver"
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=eae2c98cbb8c60401893ff9313ff3826"
6
7PR = "r1"
8
9SRC_URI[md5sum] = "fd17158ffeacecc8cc670604460cb98b"
10SRC_URI[sha256sum] = "842d36cfca68ddab4f2c562c73bfd43ba76de2d490d60034f0c5dd524aa6d6a5"
diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-keyboard_1.5.0.bb b/meta/recipes-graphics/xorg-driver/xf86-input-keyboard_1.5.0.bb
new file mode 100644
index 0000000000..aa8be67445
--- /dev/null
+++ b/meta/recipes-graphics/xorg-driver/xf86-input-keyboard_1.5.0.bb
@@ -0,0 +1,15 @@
1require xf86-input-common.inc
2
3SUMMARY = "X.Org X server -- keyboard input driver"
4
5DESCRIPTION = "keyboard is an Xorg input driver for keyboards. The \
6driver supports the standard OS-provided keyboard interface. The driver \
7functions as a keyboard input device, and may be used as the X server's \
8core keyboard."
9
10LIC_FILES_CHKSUM = "file://COPYING;md5=ea2099d24ac9e316a6d4b9f20b3d4e10"
11
12PR = "r0"
13
14SRC_URI[md5sum] = "b74d7162db5ce7899c17927c6cfa9522"
15SRC_URI[sha256sum] = "2303510e905465ebee91f22cdd75706a15afb108258bc220c7500f213de19cb0"
diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-keyboard_git.bb b/meta/recipes-graphics/xorg-driver/xf86-input-keyboard_git.bb
index a6744bda64..57c601c12d 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-input-keyboard_git.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-input-keyboard_git.bb
@@ -1,6 +1,11 @@
1require xf86-input-common.inc 1require xf86-input-common.inc
2 2
3DESCRIPTION = "X.Org X server -- keyboard input driver" 3SUMMARY = "X.Org X server -- keyboard input driver"
4
5DESCRIPTION = "keyboard is an Xorg input driver for keyboards. The \
6driver supports the standard OS-provided keyboard interface. The driver \
7functions as a keyboard input device, and may be used as the X server's \
8core keyboard."
4 9
5PV = "1.3.2+git${SRCPV}" 10PV = "1.3.2+git${SRCPV}"
6 11
diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-mouse_1.6.0.bb b/meta/recipes-graphics/xorg-driver/xf86-input-mouse_1.6.0.bb
index d0914cff0a..61d73e191b 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-input-mouse_1.6.0.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-input-mouse_1.6.0.bb
@@ -1,6 +1,12 @@
1require xf86-input-common.inc 1require xf86-input-common.inc
2 2
3DESCRIPTION = "X.Org X server -- mouse input driver" 3SUMMARY = "X.Org X server -- mouse input driver"
4
5DESCRIPTION = "mouse is an Xorg input driver for mice. The driver \
6supports most available mouse types and interfaces. The mouse driver \
7functions as a pointer input device, and may be used as the X server's \
8core pointer. Multiple mice are supported by multiple instances of this \
9driver."
4 10
5LIC_FILES_CHKSUM = "file://COPYING;md5=237eb1d1a602d29ef2af62d8fba60f19" 11LIC_FILES_CHKSUM = "file://COPYING;md5=237eb1d1a602d29ef2af62d8fba60f19"
6 12
diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-mouse_git.bb b/meta/recipes-graphics/xorg-driver/xf86-input-mouse_git.bb
index 94dedf104d..bdf61c1155 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-input-mouse_git.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-input-mouse_git.bb
@@ -1,6 +1,12 @@
1require xf86-input-common.inc 1require xf86-input-common.inc
2 2
3DESCRIPTION = "X.Org X server -- mouse input driver" 3SUMMARY = "X.Org X server -- mouse input driver"
4
5DESCRIPTION = "mouse is an Xorg input driver for mice. The driver \
6supports most available mouse types and interfaces. The mouse driver \
7functions as a pointer input device, and may be used as the X server's \
8core pointer. Multiple mice are supported by multiple instances of this \
9driver."
4 10
5PV = "1.3.0+git${SRCPV}" 11PV = "1.3.0+git${SRCPV}"
6PR = "r2" 12PR = "r2"
diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-synaptics_1.2.1.bb b/meta/recipes-graphics/xorg-driver/xf86-input-synaptics_1.2.1.bb
deleted file mode 100644
index 84adb85ef9..0000000000
--- a/meta/recipes-graphics/xorg-driver/xf86-input-synaptics_1.2.1.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1require xf86-input-common.inc
2
3DESCRIPTION = "X.Org X server -- keyboard input driver"
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=08955125302e95a16628a4bec64ade5f"
6
7DEPENDS += "libxi"
8
9SRC_URI[md5sum] = "29a6f9da5123149e4abc8ff83880ed5c"
10SRC_URI[sha256sum] = "a63b48c5c8eb09416b941dea591a948e111d1b2e14d4620f25377cf47cf877e6"
diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-synaptics_1.3.0.bb b/meta/recipes-graphics/xorg-driver/xf86-input-synaptics_1.3.0.bb
new file mode 100644
index 0000000000..b0953bbe93
--- /dev/null
+++ b/meta/recipes-graphics/xorg-driver/xf86-input-synaptics_1.3.0.bb
@@ -0,0 +1,22 @@
1require xf86-input-common.inc
2
3SUMMARY = "X.Org X server -- synaptics touchpad input driver"
4
5DESCRIPTION = "synaptics is an Xorg input driver for the touchpads from \
6Synaptics Incorporated. Even though these touchpads (by default, \
7operating in a compatibility mode emulating a standard mouse) can be \
8handled by the normal evdev or mouse drivers, this driver allows more \
9advanced features of the touchpad to become available."
10
11LIC_FILES_CHKSUM = "file://COPYING;md5=e395e21f3c21d4fc3a243783e85e9ab5"
12
13DEPENDS += "libxi"
14
15#
16# the xorg-synaptics.pc has hardcoded sdkdir=/usr/include/xorg, which is not correct
17# for cross compiling, so pass the correct sdkdir as include path
18#
19EXTRA_OEMAKE += " sdkdir=${STAGING_INCDIR}/xorg "
20
21SRC_URI[md5sum] = "b4e58eba1bdca13f0929a4b03b262135"
22SRC_URI[sha256sum] = "30a33250c4f3d2daa8a61cab847dc7befd3248db0fca139d17fd7b890b5a8fd7"
diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-synaptics_git.bb b/meta/recipes-graphics/xorg-driver/xf86-input-synaptics_git.bb
index f7dc3b731c..70478d5202 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-input-synaptics_git.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-input-synaptics_git.bb
@@ -1,6 +1,12 @@
1require xf86-input-common.inc 1require xf86-input-common.inc
2 2
3DESCRIPTION = "X.Org X server -- keyboard input driver" 3SUMMARY = "X.Org X server -- synaptics touchpad input driver"
4
5DESCRIPTION = "synaptics is an Xorg input driver for the touchpads from \
6Synaptics Incorporated. Even though these touchpads (by default, \
7operating in a compatibility mode emulating a standard mouse) can be \
8handled by the normal evdev or mouse drivers, this driver allows more \
9advanced features of the touchpad to become available."
4 10
5PV = "0.15.2+git${SRCPV}" 11PV = "0.15.2+git${SRCPV}"
6 12
diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-vmmouse_12.6.10.bb b/meta/recipes-graphics/xorg-driver/xf86-input-vmmouse_12.6.10.bb
index 15aeb582dc..6288507398 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-input-vmmouse_12.6.10.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-input-vmmouse_12.6.10.bb
@@ -9,3 +9,5 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=622841c068a9d7625fbfe7acffb1a8fc"
9 9
10SRC_URI[md5sum] = "49c6e77851e9f7bc5cb7d85f061992f8" 10SRC_URI[md5sum] = "49c6e77851e9f7bc5cb7d85f061992f8"
11SRC_URI[sha256sum] = "a6369d5a860627f2a38842d5563045b263a459e534f6ae08df48f330f9a40910" 11SRC_URI[sha256sum] = "a6369d5a860627f2a38842d5563045b263a459e534f6ae08df48f330f9a40910"
12
13COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.13.0.bb b/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.13.0.bb
deleted file mode 100644
index 6f0c81c035..0000000000
--- a/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.13.0.bb
+++ /dev/null
@@ -1,15 +0,0 @@
1require xf86-video-common.inc
2
3DESCRIPTION = "X.Org X server -- Intel i8xx, i9xx display driver"
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=8730ad58d11c7bbad9a7066d69f7808e"
6
7EXTRA_OECONF += "--disable-xvmc"
8
9DEPENDS += "virtual/libx11 libxvmc drm xf86driproto glproto \
10 virtual/libgl xineramaproto xf86driproto libpciaccess"
11
12COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
13
14SRC_URI[md5sum] = "de2f8a5836d90c71f3175dcd46d03ec0"
15SRC_URI[sha256sum] = "d8b2fae8d0c4ae372994cb7df8de8aa995b8e89b1bc5766c53ea0751752fc887"
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.14.0.bb b/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.14.0.bb
new file mode 100644
index 0000000000..017a2e0a28
--- /dev/null
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.14.0.bb
@@ -0,0 +1,20 @@
1require xf86-video-common.inc
2
3SUMMARY = "X.Org X server -- Intel integrated graphics chipsets driver"
4
5DESCRIPTION = "intel is an Xorg driver for Intel integrated graphics \
6chipsets. The driver supports depths 8, 15, 16 and 24. On some chipsets, \
7the driver supports hardware accelerated 3D via the Direct Rendering \
8Infrastructure (DRI)."
9
10LIC_FILES_CHKSUM = "file://COPYING;md5=8730ad58d11c7bbad9a7066d69f7808e"
11
12EXTRA_OECONF += "--disable-xvmc"
13
14DEPENDS += "virtual/libx11 libxvmc drm xf86driproto glproto \
15 virtual/libgl xineramaproto xf86driproto libpciaccess"
16
17COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
18
19SRC_URI[md5sum] = "05f187582aeabda57fcd6f2782cfbf8e"
20SRC_URI[sha256sum] = "e18c37a579a960516e69de5c6f74750ca02208c0e41cf763ae5630c84db507df"
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb b/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb
index 30791b2247..4aac8039f6 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb
@@ -1,6 +1,12 @@
1require xf86-video-common.inc 1require xf86-video-common.inc
2 2
3DESCRIPTION = "X.Org X server -- Intel i8xx, i9xx display driver" 3SUMMARY = "X.Org X server -- Intel integrated graphics chipsets driver"
4
5DESCRIPTION = "intel is an Xorg driver for Intel integrated graphics \
6chipsets. The driver supports depths 8, 15, 16 and 24. On some chipsets, \
7the driver supports hardware accelerated 3D via the Direct Rendering \
8Infrastructure (DRI)."
9
4DEPENDS += "virtual/libx11 libxvmc drm dri2proto glproto \ 10DEPENDS += "virtual/libx11 libxvmc drm dri2proto glproto \
5 virtual/libgl xineramaproto libpciaccess" 11 virtual/libgl xineramaproto libpciaccess"
6 12
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-blacklist-tv-out.patch b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-blacklist-tv-out.patch
new file mode 100644
index 0000000000..506e174cb1
--- /dev/null
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-blacklist-tv-out.patch
@@ -0,0 +1,25 @@
1commit 05efb061f1945425d214ff6b6050883e6d8633bf
2Author: Koen Kooi <koen@dominion.thruhere.net>
3Date: Wed Jan 26 13:21:12 2011 +0100
4
5 blacklist tv out
6
7 The tv-out gets added last and the driver tries to reconfigure dvi to TV resolutions, which fails. so blacklist it
8
9 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
10
11diff --git a/src/omapfb-output-dss.c b/src/omapfb-output-dss.c
12index 6cc52de..83cb711 100644
13--- a/src/omapfb-output-dss.c
14+++ b/src/omapfb-output-dss.c
15@@ -205,6 +205,10 @@ OMAPFBDSSOutputDetect (xf86OutputPtr output)
16 if(ofb->timings[idx][0] == '\0')
17 return XF86OutputStatusDisconnected;
18
19+ // Hack to disable the tv out
20+ if (strncmp(output->name, "tv", 2) == 0)
21+ return XF86OutputStatusDisconnected;
22+
23 return XF86OutputStatusConnected;
24 }
25
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-force-plain-mode.patch b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-force-plain-mode.patch
new file mode 100644
index 0000000000..201a8b9588
--- /dev/null
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-force-plain-mode.patch
@@ -0,0 +1,23 @@
1commit d28a36bbadc360a9409bf9832f1d4171d7c33dad
2Author: Koen Kooi <koen@dominion.thruhere.net>
3Date: Wed Jan 26 13:20:20 2011 +0100
4
5 force 'plain' mode
6
7 The new DSS mode breaks XV, so force plain mode
8
9 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
10
11diff --git a/src/omapfb-driver.c b/src/omapfb-driver.c
12index 018e040..48aa09c 100644
13--- a/src/omapfb-driver.c
14+++ b/src/omapfb-driver.c
15@@ -326,7 +326,7 @@ OMAPFBPreInit(ScrnInfoPtr pScrn, int flags)
16 OMAPFBProbeController(ofb->ctrl_name);
17
18 /* Do we have the DSS kernel API? */
19- if (stat(SYSFS_DSS_DIR, &st) == 0) {
20+ if (0) { //stat(SYSFS_DSS_DIR, &st) == 0) {
21 ofb->dss = TRUE;
22 } else {
23 ofb->dss = FALSE;
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-CRTC-limit.patch b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-CRTC-limit.patch
new file mode 100644
index 0000000000..6a9e9058b9
--- /dev/null
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-CRTC-limit.patch
@@ -0,0 +1,32 @@
1commit 031516123d25a12808ab4e56ea8deda74946cdcd
2Author: Koen Kooi <koen@dominion.thruhere.net>
3Date: Wed Jan 26 12:04:36 2011 +0100
4
5 Revert "Set a large CRTC upper limit to not prune larger resolutions"
6
7 Picture is garbled after switching resolutions, so revert it.
8
9 Virtual size too big, revert the commit 9c4d7592dcb7dc20a48a6f941d9d94bd73d34153.
10
11diff --git a/src/omapfb-crtc.c b/src/omapfb-crtc.c
12index 9aaa52f..cbeff35 100644
13--- a/src/omapfb-crtc.c
14+++ b/src/omapfb-crtc.c
15@@ -190,13 +190,13 @@ OMAPFBCRTCInit(ScrnInfoPtr pScrn)
16 * In practise, this doesn't seem to be supported.
17 * (no way to setup the overlay offset/base address)
18 */
19- /* FIXME: figure out what makes sense here. A known max resolution?
20- * framebuffer size?
21- */
22 xf86CrtcSetSizeRange(pScrn,
23- 8, 8, 2048, 2048);
24+ 8, 8,
25+ ofb->state_info.xres_virtual,
26+ ofb->state_info.yres_virtual);
27
28 ofb->crtc = xf86CrtcCreate(pScrn, &OMAPFBCrtcFuncs);
29+
30 }
31
32
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-virtual-size.patch b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-virtual-size.patch
new file mode 100644
index 0000000000..a3fd0d5f90
--- /dev/null
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb/omap-revert-set-virtual-size.patch
@@ -0,0 +1,23 @@
1commit cbae688d7df59938ccb4af534ec2ff75cbbe9221
2Author: Koen Kooi <koen@dominion.thruhere.net>
3Date: Wed Jan 26 13:27:20 2011 +0100
4
5 Revert "Set virtual size when configuring framebuffer"
6
7 Virtual size too big, so revert it.
8
9 This reverts commit 2653ef07883fbd1a5e7025f9300cf89b79ba429a.
10
11diff --git a/src/omapfb-crtc.c b/src/omapfb-crtc.c
12index cbeff35..9655db2 100644
13--- a/src/omapfb-crtc.c
14+++ b/src/omapfb-crtc.c
15@@ -98,8 +98,6 @@ OMAPFBCrtcCommitChangeMode (xf86CrtcPtr crtc)
16 v = ofb->state_info;
17 v.xres = mode->HDisplay;
18 v.yres = mode->VDisplay;
19- v.xres_virtual = crtc->scrn->virtualX;
20- v.yres_virtual = crtc->scrn->virtualY;
21 v.activate = FB_ACTIVATE_NOW;
22 v.pixclock = KHZ2PICOS(mode->Clock ? mode->Clock : 56000);
23 v.left_margin = mode->HTotal - mode->HSyncEnd;
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb
index 2d9875e7e0..2714786acd 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-omapfb_git.bb
@@ -1,6 +1,10 @@
1require xf86-driver-common.inc 1require xf86-driver-common.inc
2 2
3DESCRIPTION = "X.Org X server -- OMAP display driver" 3SUMMARY = "X.Org X server -- Texas Instruments OMAP framebuffer driver"
4
5DESCRIPTION = "omapfb driver supports the basic Texas Instruments OMAP \
6framebuffer."
7
4LICENSE = "MIT-X" 8LICENSE = "MIT-X"
5LIC_FILES_CHKSUM = "file://src/omapfb-driver.c;beginline=1;endline=30;md5=a44c2a37e04d1c2c5f0313afb493f833" 9LIC_FILES_CHKSUM = "file://src/omapfb-driver.c;beginline=1;endline=30;md5=a44c2a37e04d1c2c5f0313afb493f833"
6DEPENDS += "virtual/libx11" 10DEPENDS += "virtual/libx11"
@@ -10,6 +14,10 @@ PR = "r1"
10PV = "0.1.1+git${SRCPV}" 14PV = "0.1.1+git${SRCPV}"
11 15
12SRC_URI = "git://git.pingu.fi/xf86-video-omapfb.git;protocol=http \ 16SRC_URI = "git://git.pingu.fi/xf86-video-omapfb.git;protocol=http \
17 file://omap-revert-set-CRTC-limit.patch \
18 file://omap-revert-set-virtual-size.patch \
19 file://omap-force-plain-mode.patch \
20 file://omap-blacklist-tv-out.patch \
13 " 21 "
14 22
15S = "${WORKDIR}/git" 23S = "${WORKDIR}/git"
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-vesa_2.3.0.bb b/meta/recipes-graphics/xorg-driver/xf86-video-vesa_2.3.0.bb
index 75274131a4..474c77950a 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-video-vesa_2.3.0.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-vesa_2.3.0.bb
@@ -4,7 +4,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e5418e7a75e21268637984e70265e146"
4 4
5EXTRA_OECONF += "--disable-xvmc" 5EXTRA_OECONF += "--disable-xvmc"
6 6
7DESCRIPTION = "X.Org X server -- Generic Vesa display driver" 7SUMMARY = "X.Org X server -- Generic Vesa video driver"
8
9DESCRIPTION = "vesa is an Xorg driver for generic VESA video cards. It \
10can drive most VESA-compatible video cards, but only makes use of the \
11basic standard VESA core that is common to these cards. The driver \
12supports depths 8, 15 16 and 24."
13
8DEPENDS += "virtual/libx11 libxvmc drm xf86driproto glproto \ 14DEPENDS += "virtual/libx11 libxvmc drm xf86driproto glproto \
9 virtual/libgl xineramaproto xf86driproto libpciaccess" 15 virtual/libgl xineramaproto xf86driproto libpciaccess"
10 16
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-vmware_11.0.3.bb b/meta/recipes-graphics/xorg-driver/xf86-video-vmware_11.0.3.bb
index c76248f6d1..a0f6041392 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-video-vmware_11.0.3.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-vmware_11.0.3.bb
@@ -1,6 +1,8 @@
1require xf86-video-common.inc 1require xf86-video-common.inc
2 2
3DESCRIPTION = "X.Org X server -- VMware SVGA II display driver" 3SUMMARY = "X.Org X server -- VMware SVGA display driver"
4
5DESCRIPTION = "vmware is an Xorg driver for VMware virtual video cards."
4 6
5LIC_FILES_CHKSUM = "file://COPYING;md5=5fcd7d437a959a15fbee8707747c6b53" 7LIC_FILES_CHKSUM = "file://COPYING;md5=5fcd7d437a959a15fbee8707747c6b53"
6 8
diff --git a/meta/recipes-graphics/xorg-font/encodings_1.0.4.bb b/meta/recipes-graphics/xorg-font/encodings_1.0.4.bb
index a5d901316f..897f0fa118 100644
--- a/meta/recipes-graphics/xorg-font/encodings_1.0.4.bb
+++ b/meta/recipes-graphics/xorg-font/encodings_1.0.4.bb
@@ -1,4 +1,8 @@
1DESCRIPTION = "The XFree86/Xorg encoding files" 1SUMMARY = "The Xorg font encoding files"
2
3DESCRIPTION = "The encodings that map to specific characters for a \
4number of Xorg and common fonts."
5
2require xorg-font-common.inc 6require xorg-font-common.inc
3LICENSE = "Public Domain" 7LICENSE = "Public Domain"
4LIC_FILES_CHKSUM = "file://COPYING;md5=9da93f2daf2d5572faa2bfaf0dbd9e76" 8LIC_FILES_CHKSUM = "file://COPYING;md5=9da93f2daf2d5572faa2bfaf0dbd9e76"
diff --git a/meta/recipes-graphics/xorg-font/font-alias_1.0.3.bb b/meta/recipes-graphics/xorg-font/font-alias_1.0.3.bb
index f3b3716355..a1c3c63dc7 100644
--- a/meta/recipes-graphics/xorg-font/font-alias_1.0.3.bb
+++ b/meta/recipes-graphics/xorg-font/font-alias_1.0.3.bb
@@ -10,11 +10,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bf0158b89be493d523d69d9f29265038 \
10 file://100dpi/fonts.alias;md5=85bebd6ca213aa656c301a72eb4397cb" 10 file://100dpi/fonts.alias;md5=85bebd6ca213aa656c301a72eb4397cb"
11 11
12DEPENDS = "virtual/xserver font-util" 12DEPENDS = "virtual/xserver font-util"
13RDEPENDS = "encodings font-util" 13RDEPENDS_${PN} = "encodings font-util"
14RDEPENDS_virtclass-native = "font-util" 14RDEPENDS_${PN}_virtclass-native = "font-util"
15 15
16PE = "1" 16PE = "1"
17PR = "${INC_PR}.0" 17PR = "${INC_PR}.1"
18 18
19SRC_URI[md5sum] = "6d25f64796fef34b53b439c2e9efa562" 19SRC_URI[md5sum] = "6d25f64796fef34b53b439c2e9efa562"
20SRC_URI[sha256sum] = "8b453b2aae1cfa8090009ca037037b8c5e333550651d5a158b7264ce1d472c9a" 20SRC_URI[sha256sum] = "8b453b2aae1cfa8090009ca037037b8c5e333550651d5a158b7264ce1d472c9a"
diff --git a/meta/recipes-graphics/xorg-font/font-util_1.2.0.bb b/meta/recipes-graphics/xorg-font/font-util_1.2.0.bb
index 972e9e3ae4..a04bd6d5a3 100644
--- a/meta/recipes-graphics/xorg-font/font-util_1.2.0.bb
+++ b/meta/recipes-graphics/xorg-font/font-util_1.2.0.bb
@@ -12,10 +12,10 @@ PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
12 12
13DEPENDS = "encodings util-macros" 13DEPENDS = "encodings util-macros"
14DEPENDS_virtclass-native = "util-macros-native" 14DEPENDS_virtclass-native = "util-macros-native"
15RDEPENDS = "mkfontdir mkfontscale encodings" 15RDEPENDS_${PN} = "mkfontdir mkfontscale encodings"
16RDEPENDS_virtclass-native = "mkfontdir-native mkfontscale-native" 16RDEPENDS_${PN}_virtclass-native = "mkfontdir-native mkfontscale-native"
17 17
18PR = "${INC_PR}.0" 18PR = "${INC_PR}.1"
19 19
20do_configure_prepend() { 20do_configure_prepend() {
21 sed -i "s#MAPFILES_PATH=\`pkg-config#MAPFILES_PATH=\`PKG_CONFIG_PATH=\"${STAGING_LIBDIR_NATIVE}/pkg-config\" pkg-config#g" fontutil.m4.in 21 sed -i "s#MAPFILES_PATH=\`pkg-config#MAPFILES_PATH=\`PKG_CONFIG_PATH=\"${STAGING_LIBDIR_NATIVE}/pkg-config\" pkg-config#g" fontutil.m4.in
diff --git a/meta/recipes-graphics/xorg-font/xorg-font-common.inc b/meta/recipes-graphics/xorg-font/xorg-font-common.inc
index c2175a9613..5d19b4c704 100644
--- a/meta/recipes-graphics/xorg-font/xorg-font-common.inc
+++ b/meta/recipes-graphics/xorg-font/xorg-font-common.inc
@@ -5,10 +5,10 @@ SECTION = "x11/fonts"
5LICENSE = "MIT-X" 5LICENSE = "MIT-X"
6 6
7DEPENDS = " encodings font-alias font-util-native mkfontdir-native mkfontscale-native" 7DEPENDS = " encodings font-alias font-util-native mkfontdir-native mkfontscale-native"
8RDEPENDS = "encodings font-util font-alias" 8RDEPENDS_${PN} = "encodings font-util font-alias"
9 9
10XORG_PN = "${BPN}" 10XORG_PN = "${BPN}"
11INC_PR = "r1" 11INC_PR = "r2"
12 12
13SRC_URI = "${XORG_MIRROR}/individual/font/${XORG_PN}-${PV}.tar.bz2" 13SRC_URI = "${XORG_MIRROR}/individual/font/${XORG_PN}-${PV}.tar.bz2"
14S = "${WORKDIR}/${XORG_PN}-${PV}" 14S = "${WORKDIR}/${XORG_PN}-${PV}"
diff --git a/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb b/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb
index 26a64cdd66..86d61944bc 100644
--- a/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb
+++ b/meta/recipes-graphics/xorg-font/xorg-minimal-fonts.bb
@@ -1,4 +1,5 @@
1DESCRIPTION = "Xorg minimal fonts data" 1SUMMARY = "Xorg minimal fonts data"
2DESCRIPTION = "Minimal fonts required by X.org."
2HOMEPAGE = "http://www.x.org" 3HOMEPAGE = "http://www.x.org"
3BUGTRACKER = "n/a" 4BUGTRACKER = "n/a"
4 5
diff --git a/meta/recipes-graphics/xorg-lib/libdmx_1.1.0.bb b/meta/recipes-graphics/xorg-lib/libdmx_1.1.0.bb
deleted file mode 100644
index 11845cc6b1..0000000000
--- a/meta/recipes-graphics/xorg-lib/libdmx_1.1.0.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1require xorg-lib-common.inc
2
3DESCRIPTION = "X11 Distributed Multihead extension library"
4
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=4641deddaa80fe7ca88e944e1fd94a94 \
7 file://src/dmx.c;endline=33;md5=79ff7aacf716dafea0d490316f998a11"
8
9DEPENDS += "libxext dmxproto"
10PR = "r1"
11PE = "1"
12
13SRC_URI[md5sum] = "a2fcf0382837888d3781b714489a8999"
14SRC_URI[sha256sum] = "1904a8f848cc5d76105cb07707890aca095540a37fb0a63d359f71da51d3e2d5"
diff --git a/meta/recipes-graphics/xorg-lib/libdmx_1.1.1.bb b/meta/recipes-graphics/xorg-lib/libdmx_1.1.1.bb
new file mode 100644
index 0000000000..cb49880680
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libdmx_1.1.1.bb
@@ -0,0 +1,21 @@
1require xorg-lib-common.inc
2
3SUMMARY = "DMX: Distributed Multihead X extension library"
4
5DESCRIPTION = "The DMX extension provides support for communication with \
6and control of Xdmx(1) server. Attributes of the Xdmx(1) server and of \
7the back-end screens attached to the server can be queried and modified \
8via this protocol."
9
10LICENSE = "MIT"
11LIC_FILES_CHKSUM = "file://COPYING;md5=a3c3499231a8035efd0e004cfbd3b72a \
12 file://src/dmx.c;endline=33;md5=c43f19af03c7c8619cadc9724ed9afe1"
13
14DEPENDS += "libxext dmxproto"
15
16PR = "r0"
17PE = "1"
18
19SRC_URI[md5sum] = "75fd328fab3bd4a55cccaa6d5dfff749"
20SRC_URI[sha256sum] = "a6de6e87470bc749de02056fa38758d0e633303789830fdafc56600e75b3de18"
21
diff --git a/meta/recipes-graphics/xorg-lib/libfontenc_1.1.0.bb b/meta/recipes-graphics/xorg-lib/libfontenc_1.1.0.bb
index 2933f930df..3d900428aa 100644
--- a/meta/recipes-graphics/xorg-lib/libfontenc_1.1.0.bb
+++ b/meta/recipes-graphics/xorg-lib/libfontenc_1.1.0.bb
@@ -1,4 +1,7 @@
1DESCRIPTION = "X11 font encoding library" 1SUMMARY = "X font encoding library"
2
3DESCRIPTION = "libfontenc is a library which helps font libraries \
4portably determine and deal with different encodings of fonts."
2 5
3require xorg-lib-common.inc 6require xorg-lib-common.inc
4 7
diff --git a/meta/recipes-graphics/xorg-lib/libice_1.0.7.bb b/meta/recipes-graphics/xorg-lib/libice_1.0.7.bb
index 7228a0228d..0a906d85e2 100644
--- a/meta/recipes-graphics/xorg-lib/libice_1.0.7.bb
+++ b/meta/recipes-graphics/xorg-lib/libice_1.0.7.bb
@@ -1,4 +1,10 @@
1DESCRIPTION = "X11 Inter-Client Exchange library" 1SUMMARY = "ICE: Inter-Client Exchange library"
2
3DESCRIPTION = "The Inter-Client Exchange (ICE) protocol provides a \
4generic framework for building protocols on top of reliable, byte-stream \
5transport connections. It provides basic mechanisms for setting up and \
6shutting down connections, for performing authentication, for \
7negotiating versions, and for reporting errors. "
2 8
3require xorg-lib-common.inc 9require xorg-lib-common.inc
4 10
diff --git a/meta/recipes-graphics/xorg-lib/libpciaccess_0.12.0.bb b/meta/recipes-graphics/xorg-lib/libpciaccess_0.12.0.bb
index b68f3ad2c0..d7417a222a 100644
--- a/meta/recipes-graphics/xorg-lib/libpciaccess_0.12.0.bb
+++ b/meta/recipes-graphics/xorg-lib/libpciaccess_0.12.0.bb
@@ -1,4 +1,7 @@
1DESCRIPTION = "Generic PCI access library" 1SUMMARY = "Generic PCI access library for X"
2
3DESCRIPTION = "libpciaccess provides functionality for X to access the \
4PCI bus and devices in a platform-independant way."
2 5
3require xorg-lib-common.inc 6require xorg-lib-common.inc
4 7
diff --git a/meta/recipes-graphics/xorg-lib/libsm_1.2.0.bb b/meta/recipes-graphics/xorg-lib/libsm_1.2.0.bb
index 5ce01b7e5b..bb384aa2f6 100644
--- a/meta/recipes-graphics/xorg-lib/libsm_1.2.0.bb
+++ b/meta/recipes-graphics/xorg-lib/libsm_1.2.0.bb
@@ -1,4 +1,10 @@
1DESCRIPTION = "X11 Session management library" 1SUMMARY = "SM: Session Management library"
2
3DESCRIPTION = "The Session Management Library (SMlib) is a low-level \"C\" \
4language interface to XSMP. The purpose of the X Session Management \
5Protocol (XSMP) is to provide a uniform mechanism for users to save and \
6restore their sessions. A session is a group of clients, each of which \
7has a particular state."
2 8
3require xorg-lib-common.inc 9require xorg-lib-common.inc
4 10
@@ -7,7 +13,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d98446615b962372d6a46057170043fa"
7 13
8DEPENDS += "libice xproto xtrans e2fsprogs" 14DEPENDS += "libice xproto xtrans e2fsprogs"
9 15
10PR = "r0" 16PR = "r1"
11PE = "1" 17PE = "1"
12 18
13XORG_PN = "libSM" 19XORG_PN = "libSM"
diff --git a/meta/recipes-graphics/xorg-lib/libx11-diet_1.3.bb b/meta/recipes-graphics/xorg-lib/libx11-diet_1.3.bb
index a76aba16e4..fee44ae8ba 100644
--- a/meta/recipes-graphics/xorg-lib/libx11-diet_1.3.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11-diet_1.3.bb
@@ -1,5 +1,8 @@
1require libx11.inc 1require libx11.inc
2 2
3DESCRIPTION += " Support for XCB, UDC, XCMS and XLOCALE is disabled in \
4this version."
5
3PR = "r1" 6PR = "r1"
4 7
5SRC_URI += "file://x11_disable_makekeys.patch;patch=1 \ 8SRC_URI += "file://x11_disable_makekeys.patch;patch=1 \
diff --git a/meta/recipes-graphics/xorg-lib/libx11-diet_git.bb b/meta/recipes-graphics/xorg-lib/libx11-diet_git.bb
index d1f0a753fa..458ba41a3e 100644
--- a/meta/recipes-graphics/xorg-lib/libx11-diet_git.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11-diet_git.bb
@@ -1,6 +1,9 @@
1require libx11.inc 1require libx11.inc
2require libx11_git.inc 2require libx11_git.inc
3 3
4DESCRIPTION += " Support for XCB, UDC, XCMS and XLOCALE is disabled in \
5this version."
6
4SRC_URI += "file://X18NCMSstubs.diff;patch=1 \ 7SRC_URI += "file://X18NCMSstubs.diff;patch=1 \
5 file://fix-disable-xlocale.diff;patch=1 \ 8 file://fix-disable-xlocale.diff;patch=1 \
6 file://fix-utf8-wrong-define.patch;patch=1" 9 file://fix-utf8-wrong-define.patch;patch=1"
diff --git a/meta/recipes-graphics/xorg-lib/libx11-trim_1.3.4.bb b/meta/recipes-graphics/xorg-lib/libx11-trim_1.3.4.bb
index 190217d387..b0134989ae 100644
--- a/meta/recipes-graphics/xorg-lib/libx11-trim_1.3.4.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11-trim_1.3.4.bb
@@ -1,5 +1,7 @@
1require libx11.inc 1require libx11.inc
2 2
3DESCRIPTION += " Support for XCB, and XCMS is disabled in this version."
4
3LICENSE = "MIT & MIT-style & BSD" 5LICENSE = "MIT & MIT-style & BSD"
4LIC_FILES_CHKSUM = "file://COPYING;md5=bf75bfe4d05068311b5e6862d4b5f2c5" 6LIC_FILES_CHKSUM = "file://COPYING;md5=bf75bfe4d05068311b5e6862d4b5f2c5"
5 7
diff --git a/meta/recipes-graphics/xorg-lib/libx11-trim_git.bb b/meta/recipes-graphics/xorg-lib/libx11-trim_git.bb
index 99426c3c5d..7044a0e3a3 100644
--- a/meta/recipes-graphics/xorg-lib/libx11-trim_git.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11-trim_git.bb
@@ -1,6 +1,8 @@
1require libx11.inc 1require libx11.inc
2require libx11_git.inc 2require libx11_git.inc
3 3
4DESCRIPTION += " Support for XCB, and XCMS is disabled in this version."
5
4PR = "r2" 6PR = "r2"
5 7
6DEPENDS += "libxcb xproto xextproto xtrans libxau kbproto inputproto xf86bigfontproto xproto-native" 8DEPENDS += "libxcb xproto xextproto xtrans libxau kbproto inputproto xf86bigfontproto xproto-native"
diff --git a/meta/recipes-graphics/xorg-lib/libx11.inc b/meta/recipes-graphics/xorg-lib/libx11.inc
index f8c17b1a6d..267a03a3be 100644
--- a/meta/recipes-graphics/xorg-lib/libx11.inc
+++ b/meta/recipes-graphics/xorg-lib/libx11.inc
@@ -1,4 +1,8 @@
1DESCRIPTION = "X11 protocol and utility library" 1SUMMARY = "Xlib: C Language X Interface library"
2
3DESCRIPTION = "This package provides a client interface to the X Window \
4System, otherwise known as 'Xlib'. It provides a complete API for the \
5basic functions of the window system."
2 6
3require xorg-lib-common.inc 7require xorg-lib-common.inc
4 8
diff --git a/meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb b/meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb
index 98c84e6dd6..79078efddd 100644
--- a/meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb
+++ b/meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb
@@ -1,4 +1,8 @@
1DESCRIPTION = "A Sample Authorization Protocol for X" 1SUMMARY = "Xau: X Authority Database library"
2
3DESCRIPTION = "libxau provides the main interfaces to the X11 \
4authorisation handling, which controls authorisation for X connections, \
5both client-side and server-side."
2 6
3require xorg-lib-common.inc 7require xorg-lib-common.inc
4 8
diff --git a/meta/recipes-graphics/xorg-lib/libxcalibrate_git.bb b/meta/recipes-graphics/xorg-lib/libxcalibrate_git.bb
index 8ca731b2ef..f27c595ec7 100644
--- a/meta/recipes-graphics/xorg-lib/libxcalibrate_git.bb
+++ b/meta/recipes-graphics/xorg-lib/libxcalibrate_git.bb
@@ -1,4 +1,7 @@
1DESCRIPTION = "Touchscreen calibration client library" 1SUMMARY = "XCalibrate: Touchscreen calibration library"
2
3DESCRIPTION = "libXCalibrate is a library for performing touchscreen \
4calibration with the kdrive tslib touchscreen driver."
2 5
3require xorg-lib-common.inc 6require xorg-lib-common.inc
4 7
diff --git a/meta/recipes-graphics/xorg-lib/libxcomposite_0.4.3.bb b/meta/recipes-graphics/xorg-lib/libxcomposite_0.4.3.bb
index e6a161178f..deaa36624a 100644
--- a/meta/recipes-graphics/xorg-lib/libxcomposite_0.4.3.bb
+++ b/meta/recipes-graphics/xorg-lib/libxcomposite_0.4.3.bb
@@ -1,4 +1,13 @@
1DESCRIPTION = "X Composite extension library." 1SUMMARY = "Xcomposite: X Composite extension library"
2
3DESCRIPTION = "The composite extension provides three related \
4mechanisms: per-hierarchy storage, automatic shadow update, and external \
5parent. In per-hierarchy storage, the rendering of an entire hierarchy \
6of windows is redirected to off-screen storage. In automatic shadow \
7update, when a hierarchy is rendered off-screen, the X server provides \
8an automatic mechanism for presenting those contents within the parent \
9window. In external parent, a mechanism for providing redirection of \
10compositing transformations through a client."
2 11
3require xorg-lib-common.inc 12require xorg-lib-common.inc
4 13
diff --git a/meta/recipes-graphics/xorg-lib/libxcursor_1.1.11.bb b/meta/recipes-graphics/xorg-lib/libxcursor_1.1.11.bb
index 0506079afe..a8dee4c0c3 100644
--- a/meta/recipes-graphics/xorg-lib/libxcursor_1.1.11.bb
+++ b/meta/recipes-graphics/xorg-lib/libxcursor_1.1.11.bb
@@ -1,4 +1,10 @@
1DESCRIPTION = "X cursor management library" 1SUMMARY = "Xcursor: X Cursor management library"
2
3DESCRIPTION = "Xcursor is a simple library designed to help locate and \
4load cursors. Cursors can be loaded from files or memory. A library of \
5common cursors exists which map to the standard X cursor names. Cursors \
6can exist in several sizes and the library automatically picks the best \
7size."
2 8
3require xorg-lib-common.inc 9require xorg-lib-common.inc
4 10
diff --git a/meta/recipes-graphics/xorg-lib/libxdamage_1.1.3.bb b/meta/recipes-graphics/xorg-lib/libxdamage_1.1.3.bb
index f2ed669e6a..81f90ba2db 100644
--- a/meta/recipes-graphics/xorg-lib/libxdamage_1.1.3.bb
+++ b/meta/recipes-graphics/xorg-lib/libxdamage_1.1.3.bb
@@ -1,4 +1,15 @@
1DESCRIPTION = "X11 damaged region extension library" 1SUMMARY = "Xdamage: X Damage extension library"
2
3DESCRIPTION = "'Damage' is a term that describes changes make to pixel \
4contents of windows and pixmaps. Damage accumulates as drawing occurs \
5in the drawable. Each drawing operation 'damages' one or more \
6rectangular areas within the drawable. The rectangles are guaranteed to \
7include the set of pixels modified by each operation, but may include \
8significantly more than just those pixels. The DAMAGE extension allows \
9applications to either receive the raw rectangles as a stream of events, \
10or to have them partially processed within the X server to reduce the \
11amount of data transmitted as well as reduce the processing latency once \
12the repaint operation has started."
2 13
3require xorg-lib-common.inc 14require xorg-lib-common.inc
4 15
diff --git a/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb b/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb
index 344bdb1cc4..d897dab0f5 100644
--- a/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb
+++ b/meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb
@@ -1,4 +1,10 @@
1DESCRIPTION = "X Display Manager Control Protocol library" 1SUMMARY = "XDMCP: X Display Manager Control Protocol library"
2
3DESCRIPTION = "The purpose of the X Display Manager Control Protocol \
4(XDMCP) is to provide a uniform mechanism for an autonomous display to \
5request login service from a remote host. An X terminal (screen, \
6keyboard, mouse, processor, network interface) is a prime example of an \
7autonomous display."
2 8
3require xorg-lib-common.inc 9require xorg-lib-common.inc
4 10
diff --git a/meta/recipes-graphics/xorg-lib/libxext_1.2.0.bb b/meta/recipes-graphics/xorg-lib/libxext_1.2.0.bb
index 75417c2996..b907b9f9da 100644
--- a/meta/recipes-graphics/xorg-lib/libxext_1.2.0.bb
+++ b/meta/recipes-graphics/xorg-lib/libxext_1.2.0.bb
@@ -1,4 +1,12 @@
1DESCRIPTION = "X11 miscellaneous extension library" 1SUMMARY = "XExt: X Extension library"
2
3DESCRIPTION = "libXext provides an X Window System client interface to \
4several extensions to the X protocol. The supported protocol extensions \
5are DOUBLE-BUFFER, DPMS, Extended-Visual-Information, LBX, MIT_SHM, \
6MIT_SUNDRY-NONSTANDARD, Multi-Buffering, SECURITY, SHAPE, SYNC, TOG-CUP, \
7XC-APPGROUP, XC-MISC, XTEST. libXext also provides a small set of \
8utility functions to aid authors of client APIs for X protocol \
9extensions."
2 10
3require xorg-lib-common.inc 11require xorg-lib-common.inc
4 12
diff --git a/meta/recipes-graphics/xorg-lib/libxext_git.bb b/meta/recipes-graphics/xorg-lib/libxext_git.bb
index d0b3d7fbf5..66bbbcb300 100644
--- a/meta/recipes-graphics/xorg-lib/libxext_git.bb
+++ b/meta/recipes-graphics/xorg-lib/libxext_git.bb
@@ -1,6 +1,15 @@
1require xorg-lib-common.inc 1require xorg-lib-common.inc
2 2
3DESCRIPTION = "X11 miscellaneous extension library" 3SUMMARY = "XExt: X Extension library"
4
5DESCRIPTION = "libXext provides an X Window System client interface to \
6several extensions to the X protocol. The supported protocol extensions \
7are DOUBLE-BUFFER, DPMS, Extended-Visual-Information, LBX, MIT_SHM, \
8MIT_SUNDRY-NONSTANDARD, Multi-Buffering, SECURITY, SHAPE, SYNC, TOG-CUP, \
9XC-APPGROUP, XC-MISC, XTEST. libXext also provides a small set of \
10utility functions to aid authors of client APIs for X protocol \
11extensions."
12
4DEPENDS += "xproto virtual/libx11 xextproto libxau libxdmcp" 13DEPENDS += "xproto virtual/libx11 xextproto libxau libxdmcp"
5PROVIDES = "xext" 14PROVIDES = "xext"
6PE = "1" 15PE = "1"
diff --git a/meta/recipes-graphics/xorg-lib/libxfixes_4.0.5.bb b/meta/recipes-graphics/xorg-lib/libxfixes_4.0.5.bb
index 8ecf1f8502..a69d5fda9c 100644
--- a/meta/recipes-graphics/xorg-lib/libxfixes_4.0.5.bb
+++ b/meta/recipes-graphics/xorg-lib/libxfixes_4.0.5.bb
@@ -1,4 +1,9 @@
1DESCRIPTION = "X Fixes extension library." 1SUMMARY = "XFixes: X Fixes extension library."
2
3DESCRIPTION = "X applications have often needed to work around various \
4shortcomings in the core X window system. This extension is designed to \
5provide the minimal server-side support necessary to eliminate problems \
6caused by these workarounds."
2 7
3require xorg-lib-common.inc 8require xorg-lib-common.inc
4 9
diff --git a/meta/recipes-graphics/xorg-lib/libxfont_1.4.3.bb b/meta/recipes-graphics/xorg-lib/libxfont_1.4.3.bb
index 2e19f8ff35..2f9516c2fc 100644
--- a/meta/recipes-graphics/xorg-lib/libxfont_1.4.3.bb
+++ b/meta/recipes-graphics/xorg-lib/libxfont_1.4.3.bb
@@ -1,4 +1,8 @@
1DESCRIPTION = "X11 font rasterisation library" 1SUMMARY = "XFont: X Font rasterisation library"
2
3DESCRIPTION = "libXfont provides various services for X servers, most \
4notably font selection and rasterisation (through external libraries \
5such as freetype)."
2 6
3require xorg-lib-common.inc 7require xorg-lib-common.inc
4 8
diff --git a/meta/recipes-graphics/xorg-lib/libxfontcache_1.0.5.bb b/meta/recipes-graphics/xorg-lib/libxfontcache_1.0.5.bb
index 5ee42befe2..b254eb94b5 100644
--- a/meta/recipes-graphics/xorg-lib/libxfontcache_1.0.5.bb
+++ b/meta/recipes-graphics/xorg-lib/libxfontcache_1.0.5.bb
@@ -1,6 +1,10 @@
1require xorg-lib-common.inc 1require xorg-lib-common.inc
2 2
3DESCRIPTION = "X-TrueType font cache extension client library" 3SUMMARY = "XFontCache: X Font Cache extension library"
4
5DESCRIPTION = "FontCache is an extension that is used by X-TrueType to cache \
6information about fonts."
7
4DEPENDS += "libxext fontcacheproto" 8DEPENDS += "libxext fontcacheproto"
5LIC_FILES_CHKSUM = "file://COPYING;md5=62a75d5d3da40f1f6eb1cbe3bcc0a5d0" 9LIC_FILES_CHKSUM = "file://COPYING;md5=62a75d5d3da40f1f6eb1cbe3bcc0a5d0"
6PR = "r0" 10PR = "r0"
diff --git a/meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb b/meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb
index fc9c0a7f03..1a56702e53 100644
--- a/meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb
+++ b/meta/recipes-graphics/xorg-lib/libxft_2.2.0.bb
@@ -1,4 +1,14 @@
1DESCRIPTION = "FreeType-based font drawing library for X" 1SUMMARY = "XFt: X FreeType libary"
2
3DESCRIPTION = "Xft was designed to provide good support for scalable \
4fonts, and to do so efficiently. Unlike the core fonts system, it \
5supports features such as anti-aliasing and sub-pixel rasterisation. \
6Perhaps more importantly, it gives applications full control over the \
7way glyphs are rendered, making fine typesetting and WYSIWIG display \
8possible. Finally, it allows applications to use fonts that are not \
9installed system-wide for displaying documents with embedded fonts. Xft \
10is not compatible with the core fonts system: usage of Xft requires \
11fairly extensive changes to toolkits (user-interface libraries)."
2 12
3require xorg-lib-common.inc 13require xorg-lib-common.inc
4 14
@@ -13,10 +23,9 @@ PE = "1"
13 23
14XORG_PN = "libXft" 24XORG_PN = "libXft"
15 25
16python do_package() { 26python () {
17 if bb.data.getVar('DEBIAN_NAMES', d, 1): 27 if bb.data.getVar('DEBIAN_NAMES', d, 1):
18 bb.data.setVar('PKG_${PN}', 'libxft2', d) 28 bb.data.setVar('PKG_${PN}', 'libxft2', d)
19 bb.build.exec_func('package_do_package', d)
20} 29}
21 30
22FILES_${PN} = "${libdir}/lib*${SOLIBS}" 31FILES_${PN} = "${libdir}/lib*${SOLIBS}"
diff --git a/meta/recipes-graphics/xorg-lib/libxi_1.4.0.bb b/meta/recipes-graphics/xorg-lib/libxi_1.4.0.bb
index 7820653480..c7fb9d5ac8 100644
--- a/meta/recipes-graphics/xorg-lib/libxi_1.4.0.bb
+++ b/meta/recipes-graphics/xorg-lib/libxi_1.4.0.bb
@@ -1,6 +1,11 @@
1require xorg-lib-common.inc 1require xorg-lib-common.inc
2 2
3DESCRIPTION = "X11 Input extension library" 3SUMMARY = "XI: X Input extension library"
4
5DESCRIPTION = "libxi is an extension to the X11 protocol to support \
6input devices other than the core X keyboard and pointer. It allows \
7client programs to select input from these devices independently from \
8each other and independently from the core devices."
4 9
5LICENSE = "MIT & MIT-style" 10LICENSE = "MIT & MIT-style"
6LIC_FILES_CHKSUM = "file://COPYING;md5=17b064789fab936a1c58c4e13d965b0f \ 11LIC_FILES_CHKSUM = "file://COPYING;md5=17b064789fab936a1c58c4e13d965b0f \
diff --git a/meta/recipes-graphics/xorg-lib/libxi_git.bb b/meta/recipes-graphics/xorg-lib/libxi_git.bb
index 30c1778c3e..fac32365e1 100644
--- a/meta/recipes-graphics/xorg-lib/libxi_git.bb
+++ b/meta/recipes-graphics/xorg-lib/libxi_git.bb
@@ -1,6 +1,12 @@
1require xorg-lib-common.inc 1require xorg-lib-common.inc
2 2
3DESCRIPTION = "X11 Input extension library" 3SUMMARY = "XI: X Input extension library"
4
5DESCRIPTION = "libxi is an extension to the X11 protocol to support \
6input devices other than the core X keyboard and pointer. It allows \
7client programs to select input from these devices independently from \
8each other and independently from the core devices."
9
4DEPENDS += "libxext inputproto" 10DEPENDS += "libxext inputproto"
5PE = "1" 11PE = "1"
6PV = "1.2.99.5+gitr${SRCPV}" 12PV = "1.2.99.5+gitr${SRCPV}"
diff --git a/meta/recipes-graphics/xorg-lib/libxinerama_1.1.1.bb b/meta/recipes-graphics/xorg-lib/libxinerama_1.1.1.bb
index a4048b7423..cbd7d4c34a 100644
--- a/meta/recipes-graphics/xorg-lib/libxinerama_1.1.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libxinerama_1.1.1.bb
@@ -1,6 +1,10 @@
1require xorg-lib-common.inc 1require xorg-lib-common.inc
2 2
3DESCRIPTION = "X11 Xinerama extension library" 3SUMMARY = "Xinerama: Xinerama extension library"
4
5DESCRIPTION = "Xinerama is a simple library designed to interface the \
6Xinerama Extension for retrieving information about physical output \
7devices which may be combined into a single logical X screen."
4 8
5LICENSE = "MIT" 9LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=6f4f634d1643a2e638bba3fcd19c2536 \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=6f4f634d1643a2e638bba3fcd19c2536 \
diff --git a/meta/recipes-graphics/xorg-lib/libxkbfile_1.0.7.bb b/meta/recipes-graphics/xorg-lib/libxkbfile_1.0.7.bb
index 17bbca0de1..ff2f90f4e4 100644
--- a/meta/recipes-graphics/xorg-lib/libxkbfile_1.0.7.bb
+++ b/meta/recipes-graphics/xorg-lib/libxkbfile_1.0.7.bb
@@ -1,4 +1,7 @@
1DESCRIPTION = "X11 keyboard file manipulation library" 1SUMMARY = "XKB: X Keyboard File manipulation library"
2
3DESCRIPTION = "libxkbfile provides an interface to read and manipulate \
4description files for XKB, the X11 keyboard configuration extension."
2 5
3require xorg-lib-common.inc 6require xorg-lib-common.inc
4 7
diff --git a/meta/recipes-graphics/xorg-lib/libxmu_1.1.0.bb b/meta/recipes-graphics/xorg-lib/libxmu_1.1.0.bb
index bea21791d5..59f2c28045 100644
--- a/meta/recipes-graphics/xorg-lib/libxmu_1.1.0.bb
+++ b/meta/recipes-graphics/xorg-lib/libxmu_1.1.0.bb
@@ -1,4 +1,12 @@
1DESCRIPTION = "X11 miscellaneous utility library" 1SUMMARY = "Xmu and Xmuu: X Miscellaneous Utility libraries"
2
3DESCRIPTION = "The Xmu Library is a collection of miscellaneous (some \
4might say random) utility functions that have been useful in building \
5various applications and widgets. This library is required by the Athena \
6Widgets. A subset of the functions that do not rely on the Athena \
7Widgets (libXaw) or X Toolkit Instrinsics (libXt) are provided in a \
8second library, libXmuu."
9
2 10
3require xorg-lib-common.inc 11require xorg-lib-common.inc
4 12
diff --git a/meta/recipes-graphics/xorg-lib/libxp_1.0.0.bb b/meta/recipes-graphics/xorg-lib/libxp_1.0.0.bb
deleted file mode 100644
index 5b412eced5..0000000000
--- a/meta/recipes-graphics/xorg-lib/libxp_1.0.0.bb
+++ /dev/null
@@ -1,18 +0,0 @@
1require xorg-lib-common.inc
2
3DESCRIPTION = "X Printing Extension (Xprint) client library"
4
5LICENSE = "MIT & MIT-style"
6LIC_FILES_CHKSUM = "file://COPYING;md5=329e54eb6793b3d4830a4f6f1ca16e3f \
7 file://src/XpPage.c;beginline=2;endline=37;md5=886b68ac3721003d54abfbd82bafc5ad"
8
9DEPENDS += "libxext libxau printproto"
10PR = "r1"
11PE = "1"
12
13XORG_PN = "libXp"
14
15CFLAGS_append += " -I ${S}/include/X11/XprintUtil -I ${S}/include/X11/extensions"
16
17SRC_URI[md5sum] = "0f4ac39108c1ae8c443cdfac259b58fa"
18SRC_URI[sha256sum] = "7e64b1550ce85b05762e960459ac676a0406c786756b200ff29c57f84bce9cae"
diff --git a/meta/recipes-graphics/xorg-lib/libxp_1.0.1.bb b/meta/recipes-graphics/xorg-lib/libxp_1.0.1.bb
new file mode 100644
index 0000000000..a19f561fa7
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxp_1.0.1.bb
@@ -0,0 +1,21 @@
1require xorg-lib-common.inc
2
3SUMMARY = "XP: X Printing extension library"
4
5DESCRIPTION = "libXp provides public APIs to allow client applications \
6to render to non-display devices, making use of the X Print Service."
7
8LICENSE = "MIT & MIT-style"
9LIC_FILES_CHKSUM = "file://COPYING;md5=9504a1264f5ddd4949254a57c0f8d6bb \
10 file://src/XpPage.c;beginline=2;endline=35;md5=2b7d3d2ba5505b19271cf31b6918997e"
11
12DEPENDS += "libxext libxau printproto"
13PR = "r0"
14PE = "1"
15
16XORG_PN = "libXp"
17
18CFLAGS_append += " -I ${S}/include/X11/XprintUtil -I ${S}/include/X11/extensions"
19
20SRC_URI[md5sum] = "7ae1d63748e79086bd51a633da1ff1a9"
21SRC_URI[sha256sum] = "71d1f260005616d646b8c8788365f2b7d93911dac57bb53b65753d9f9e6443d2"
diff --git a/meta/recipes-graphics/xorg-lib/libxpm_3.5.9.bb b/meta/recipes-graphics/xorg-lib/libxpm_3.5.9.bb
index ecb8ad71d9..1a548fa57a 100644
--- a/meta/recipes-graphics/xorg-lib/libxpm_3.5.9.bb
+++ b/meta/recipes-graphics/xorg-lib/libxpm_3.5.9.bb
@@ -1,6 +1,12 @@
1require xorg-lib-common.inc 1require xorg-lib-common.inc
2 2
3DESCRIPTION = "X11 Pixmap library" 3SUMMARY = "Xpm: X Pixmap extension library"
4
5DESCRIPTION = "libXpm provides support and common operation for the XPM \
6pixmap format, which is commonly used in legacy X applications. XPM is \
7an extension of the monochrome XBM bitmap specificied in the X \
8protocol."
9
4LICENSE = "X-BSD" 10LICENSE = "X-BSD"
5LIC_FILES_CHKSUM = "file://COPYING;md5=3e07763d16963c3af12db271a31abaa5" 11LIC_FILES_CHKSUM = "file://COPYING;md5=3e07763d16963c3af12db271a31abaa5"
6DEPENDS += "libxext libsm libxt" 12DEPENDS += "libxext libsm libxt"
diff --git a/meta/recipes-graphics/xorg-lib/libxprintapputil_1.0.1.bb b/meta/recipes-graphics/xorg-lib/libxprintapputil_1.0.1.bb
index cc547909a4..0f3892cf69 100644
--- a/meta/recipes-graphics/xorg-lib/libxprintapputil_1.0.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libxprintapputil_1.0.1.bb
@@ -1,6 +1,11 @@
1require xorg-lib-common.inc 1require xorg-lib-common.inc
2 2
3DESCRIPTION = "Xprint job utility client library" 3SUMMARY = "Xprint: Xprint job utility library"
4
5DESCRIPTION = "libxprintapputil provides utility Xpau APIs allowing \
6client applications to access information about and control Xprint jobs \
7from an Xprint server."
8
4DEPENDS += "libxp libxt libxprintutil" 9DEPENDS += "libxp libxt libxprintutil"
5PR = "r1" 10PR = "r1"
6LIC_FILES_CHKSUM = "file://src/xpapputil.c;beginline=2;endline=27;md5=be811cca90200613a672dc96206a767b" 11LIC_FILES_CHKSUM = "file://src/xpapputil.c;beginline=2;endline=27;md5=be811cca90200613a672dc96206a767b"
diff --git a/meta/recipes-graphics/xorg-lib/libxprintutil_1.0.1.bb b/meta/recipes-graphics/xorg-lib/libxprintutil_1.0.1.bb
index a499fe294e..8e3507c380 100644
--- a/meta/recipes-graphics/xorg-lib/libxprintutil_1.0.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libxprintutil_1.0.1.bb
@@ -1,7 +1,12 @@
1require xorg-lib-common.inc 1require xorg-lib-common.inc
2LIC_FILES_CHKSUM = "file://src/xprintutil.c;endline=29;md5=22d5a98494dd356a2c6c9c355886f3af" 2LIC_FILES_CHKSUM = "file://src/xprintutil.c;endline=29;md5=22d5a98494dd356a2c6c9c355886f3af"
3 3
4DESCRIPTION = "Xprint printer utility client library" 4SUMMARY = "Xprint: Xprint printer utility library"
5
6DESCRIPTION = "libxprintutil provides utility Xpu APIs allowing client \
7applications to access and manipulate information about printer \
8capabilities from an Xprint server."
9
5DEPENDS += "libxp libxt" 10DEPENDS += "libxp libxt"
6PR = "r1" 11PR = "r1"
7PE = "1" 12PE = "1"
diff --git a/meta/recipes-graphics/xorg-lib/libxrandr_1.3.1.bb b/meta/recipes-graphics/xorg-lib/libxrandr_1.3.1.bb
index 789d394011..917fe2067f 100644
--- a/meta/recipes-graphics/xorg-lib/libxrandr_1.3.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libxrandr_1.3.1.bb
@@ -1,4 +1,10 @@
1DESCRIPTION = "X11 Resize and Rotate extension library" 1SUMMARY = "XRandR: X Resize, Rotate and Reflect extension library"
2
3DESCRIPTION = "The X Resize, Rotate and Reflect Extension, called RandR \
4for short, brings the ability to resize, rotate and reflect the root \
5window of a screen. It is based on the X Resize and Rotate Extension as \
6specified in the Proceedings of the 2001 Usenix Technical Conference \
7[RANDR]."
2 8
3require xorg-lib-common.inc 9require xorg-lib-common.inc
4 10
diff --git a/meta/recipes-graphics/xorg-lib/libxrender_0.9.6.bb b/meta/recipes-graphics/xorg-lib/libxrender_0.9.6.bb
index 22418e3f82..a5c5ead27e 100644
--- a/meta/recipes-graphics/xorg-lib/libxrender_0.9.6.bb
+++ b/meta/recipes-graphics/xorg-lib/libxrender_0.9.6.bb
@@ -1,4 +1,10 @@
1DESCRIPTION = "X11 Rendering Extension client library" 1SUMMARY = "XRender: X Rendering Extension library"
2
3DESCRIPTION = "The X Rendering Extension (Render) introduces digital \
4image composition as the foundation of a new rendering model within the \
5X Window System. Rendering geometric figures is accomplished by \
6client-side tessellation into either triangles or trapezoids. Text is \
7drawn by loading glyphs into the server and rendering sets of them."
2 8
3require xorg-lib-common.inc 9require xorg-lib-common.inc
4 10
diff --git a/meta/recipes-graphics/xorg-lib/libxres_1.0.5.bb b/meta/recipes-graphics/xorg-lib/libxres_1.0.5.bb
index 5d8f946e87..3d9e8fc55b 100644
--- a/meta/recipes-graphics/xorg-lib/libxres_1.0.5.bb
+++ b/meta/recipes-graphics/xorg-lib/libxres_1.0.5.bb
@@ -1,4 +1,9 @@
1DESCRIPTION = "X11 Resource extension library" 1SUMMARY = "XRes: X Resource extension library"
2
3DESCRIPTION = "libXRes provides an X Window System client interface to \
4the Resource extension to the X protocol. The Resource extension allows \
5for X clients to see and monitor the X resource usage of various clients \
6(pixmaps, et al)."
2 7
3require xorg-lib-common.inc 8require xorg-lib-common.inc
4 9
diff --git a/meta/recipes-graphics/xorg-lib/libxscrnsaver_1.2.1.bb b/meta/recipes-graphics/xorg-lib/libxscrnsaver_1.2.1.bb
index 3df0aca85d..453c68f48a 100644
--- a/meta/recipes-graphics/xorg-lib/libxscrnsaver_1.2.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libxscrnsaver_1.2.1.bb
@@ -1,6 +1,14 @@
1require xorg-lib-common.inc 1require xorg-lib-common.inc
2 2
3DESCRIPTION = "X Screen Saver extension library" 3SUMMARY = "Xscrnsaver: X Screen Saver extension library"
4
5DESCRIPTION = "The X Window System provides support for changing the \
6image on a display screen after a user-settable period of inactivity to \
7avoid burning the cathode ray tube phosphors. However, no interfaces are \
8provided for the user to control the image that is drawn. This extension \
9allows an external \"screen saver\" client to detect when the alternate \
10image is to be displayed and to provide the graphics."
11
4LICENSE = "MIT" 12LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=21fd154ee757813632ada871a34113fb" 13LIC_FILES_CHKSUM = "file://COPYING;md5=21fd154ee757813632ada871a34113fb"
6 14
diff --git a/meta/recipes-graphics/xorg-lib/libxt_1.0.9.bb b/meta/recipes-graphics/xorg-lib/libxt_1.0.9.bb
index 7a62e7ba2d..63119ae1c5 100644
--- a/meta/recipes-graphics/xorg-lib/libxt_1.0.9.bb
+++ b/meta/recipes-graphics/xorg-lib/libxt_1.0.9.bb
@@ -1,4 +1,14 @@
1DESCRIPTION = "X11 toolkit intrinsics library" 1SUMMARY = "Xt: X Toolkit Intrinsics library"
2
3DESCRIPTION = "The Intrinsics are a programming library tailored to the \
4special requirements of user interface construction within a network \
5window system, specifically the X Window System. The Intrinsics and a \
6widget set make up an X Toolkit. The Intrinsics provide the base \
7mechanism necessary to build a wide variety of interoperating widget \
8sets and application environments. The Intrinsics are a layer on top of \
9Xlib, the C Library X Interface. They extend the fundamental \
10abstractions provided by the X Window System while still remaining \
11independent of any particular user interface policy or style."
2 12
3require xorg-lib-common.inc 13require xorg-lib-common.inc
4 14
diff --git a/meta/recipes-graphics/xorg-lib/libxtrap_1.0.0.bb b/meta/recipes-graphics/xorg-lib/libxtrap_1.0.0.bb
index 19b1c36763..4d1f791ace 100644
--- a/meta/recipes-graphics/xorg-lib/libxtrap_1.0.0.bb
+++ b/meta/recipes-graphics/xorg-lib/libxtrap_1.0.0.bb
@@ -1,6 +1,10 @@
1SUMMARY = "XTrap: X event trapping extension library"
2
3DESCRIPTION = "libXTrap provides an interface to the DEC-XTRAP \
4extension, which allows for capture and synthesis of core input events."
5
1require xorg-lib-common.inc 6require xorg-lib-common.inc
2LIC_FILES_CHKSUM = "file://COPYING;md5=fe7cbb8cc97683303f7814685cc47305" 7LIC_FILES_CHKSUM = "file://COPYING;md5=fe7cbb8cc97683303f7814685cc47305"
3DESCRIPTION = "X11 event trapping extension library"
4DEPENDS += "libxt trapproto libxext" 8DEPENDS += "libxt trapproto libxext"
5PR = "r1" 9PR = "r1"
6PE = "1" 10PE = "1"
diff --git a/meta/recipes-graphics/xorg-lib/libxtst_1.2.0.bb b/meta/recipes-graphics/xorg-lib/libxtst_1.2.0.bb
index 811a190fd3..2081f0ca92 100644
--- a/meta/recipes-graphics/xorg-lib/libxtst_1.2.0.bb
+++ b/meta/recipes-graphics/xorg-lib/libxtst_1.2.0.bb
@@ -1,6 +1,10 @@
1require xorg-lib-common.inc 1require xorg-lib-common.inc
2 2
3DESCRIPTION = "X Test Extension: client side library" 3SUMMARY = "XTest: X Test extension library"
4
5DESCRIPTION = "This extension is a minimal set of client and server \
6extensions required to completely test the X11 server with no user \
7intervention."
4 8
5LICENSE = "MIT-style" 9LICENSE = "MIT-style"
6LIC_FILES_CHKSUM = "file://COPYING;md5=cba677ca25c42ad29ee8ff351b50ece8 \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=cba677ca25c42ad29ee8ff351b50ece8 \
diff --git a/meta/recipes-graphics/xorg-lib/libxv_1.0.6.bb b/meta/recipes-graphics/xorg-lib/libxv_1.0.6.bb
index 0feecb4362..f3d8d27c5c 100644
--- a/meta/recipes-graphics/xorg-lib/libxv_1.0.6.bb
+++ b/meta/recipes-graphics/xorg-lib/libxv_1.0.6.bb
@@ -1,4 +1,9 @@
1DESCRIPTION = "X11 Video extension library" 1SUMMARY = "Xv: X Video extension library"
2
3DESCRIPTION = "libXv provides an X Window System client interface to the \
4X Video extension to the X protocol. The X Video extension allows for \
5accelerated drawing of videos. Hardware adaptors are exposed to \
6clients, which may draw in a number of colourspaces, including YUV."
2 7
3require xorg-lib-common.inc 8require xorg-lib-common.inc
4 9
diff --git a/meta/recipes-graphics/xorg-lib/libxvmc_1.0.6.bb b/meta/recipes-graphics/xorg-lib/libxvmc_1.0.6.bb
index 6f87f72ce6..1f690b8c42 100644
--- a/meta/recipes-graphics/xorg-lib/libxvmc_1.0.6.bb
+++ b/meta/recipes-graphics/xorg-lib/libxvmc_1.0.6.bb
@@ -1,4 +1,7 @@
1DESCRIPTION = "X Video Motion Compensation extension library" 1SUMMARY = "XvMC: X Video Motion Compensation extension library"
2
3DESCRIPTION = "XvMC extends the X Video extension (Xv) and enables \
4hardware rendered motion compensation support."
2 5
3require xorg-lib-common.inc 6require xorg-lib-common.inc
4 7
diff --git a/meta/recipes-graphics/xorg-lib/libxxf86dga_1.1.2.bb b/meta/recipes-graphics/xorg-lib/libxxf86dga_1.1.2.bb
index cc76861ec3..8e777c3db3 100644
--- a/meta/recipes-graphics/xorg-lib/libxxf86dga_1.1.2.bb
+++ b/meta/recipes-graphics/xorg-lib/libxxf86dga_1.1.2.bb
@@ -1,6 +1,12 @@
1require xorg-lib-common.inc 1require xorg-lib-common.inc
2 2
3DESCRIPTION = "X11 Direct Graphics Access extension library" 3SUMMARY = "XFree86-DGA: XFree86 Direct Graphics Access extension library"
4
5DESCRIPTION = "libXxf86dga provides the XFree86-DGA extension, which \
6allows direct graphics access to a framebuffer-like region, and also \
7allows relative mouse reporting, et al. It is mainly used by games and \
8emulators for games."
9
4DEPENDS += "libxext xf86dgaproto" 10DEPENDS += "libxext xf86dgaproto"
5PR = "r1" 11PR = "r1"
6PE = "1" 12PE = "1"
diff --git a/meta/recipes-graphics/xorg-lib/libxxf86misc_1.0.2.bb b/meta/recipes-graphics/xorg-lib/libxxf86misc_1.0.2.bb
deleted file mode 100644
index 12a1ad7ff1..0000000000
--- a/meta/recipes-graphics/xorg-lib/libxxf86misc_1.0.2.bb
+++ /dev/null
@@ -1,17 +0,0 @@
1DESCRIPTION = "X11 XFree86 miscellaneous extension library"
2
3require xorg-lib-common.inc
4
5LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=27c91ecc435bd3d2bfad868914c94b45"
7
8DEPENDS += "libxext xf86miscproto"
9PROVIDES = "xxf86misc"
10
11PR = "r0"
12PE = "1"
13
14XORG_PN = "libXxf86misc"
15
16SRC_URI[md5sum] = "51fed53e8de067d4b8666f75a0212400"
17SRC_URI[sha256sum] = "8e64b6b1bf34fcd112b1fd866d77e110b47794e825a996e4492c0ee408957cb3"
diff --git a/meta/recipes-graphics/xorg-lib/libxxf86misc_1.0.3.bb b/meta/recipes-graphics/xorg-lib/libxxf86misc_1.0.3.bb
new file mode 100644
index 0000000000..bda6da2aab
--- /dev/null
+++ b/meta/recipes-graphics/xorg-lib/libxxf86misc_1.0.3.bb
@@ -0,0 +1,21 @@
1SUMMARY = "XFree86-Misc: XFree86 miscellaneous extension library"
2
3DESCRIPTION = "The XFree86-Misc extension, provides a means to access \
4input device configuration settings specific to the XFree86/Xorg DDX."
5
6require xorg-lib-common.inc
7
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://COPYING;md5=27c91ecc435bd3d2bfad868914c94b45"
10
11DEPENDS += "libxext xf86miscproto"
12PROVIDES = "xxf86misc"
13
14PR = "r0"
15PE = "1"
16
17XORG_PN = "libXxf86misc"
18
19SRC_URI[md5sum] = "6bc0bf78909fd71021c466c793d4385c"
20SRC_URI[sha256sum] = "563f4200862efd3334c33a669e0a0aae5bab31f3998db75b87a99a697cc26b5b"
21
diff --git a/meta/recipes-graphics/xorg-lib/libxxf86vm_1.1.1.bb b/meta/recipes-graphics/xorg-lib/libxxf86vm_1.1.1.bb
index 0e4e95b1e2..4066f08910 100644
--- a/meta/recipes-graphics/xorg-lib/libxxf86vm_1.1.1.bb
+++ b/meta/recipes-graphics/xorg-lib/libxxf86vm_1.1.1.bb
@@ -1,4 +1,9 @@
1DESCRIPTION = "X11 XFree86 video mode extension library" 1SUMMARY = "XFree86-VM: XFree86 video mode extension library"
2
3DESCRIPTION = "libXxf86vm provides an interface to the \
4XFree86-VidModeExtension extension, which allows client applications to \
5get and set video mode timings in extensive detail. It is used by the \
6xvidtune program in particular."
2 7
3require xorg-lib-common.inc 8require xorg-lib-common.inc
4 9
diff --git a/meta/recipes-graphics/xorg-lib/pixman_0.20.0.bb b/meta/recipes-graphics/xorg-lib/pixman_0.20.2.bb
index 0ccadcd91b..9a97c3d603 100644
--- a/meta/recipes-graphics/xorg-lib/pixman_0.20.0.bb
+++ b/meta/recipes-graphics/xorg-lib/pixman_0.20.2.bb
@@ -1,4 +1,9 @@
1DESCRIPTION = "Library for lowlevel pixel operations" 1SUMMARY = "Pixman: Pixel Manipulation library"
2
3DESCRIPTION = "Pixman provides a library for manipulating pixel regions \
4-- a set of Y-X banded rectangles, image compositing using the \
5Porter/Duff model and implicit mask generation for geometric primitives \
6including trapezoids, triangles, and rectangles."
2 7
3require xorg-lib-common.inc 8require xorg-lib-common.inc
4 9
@@ -10,9 +15,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=fea989a44fb012b5e79584972a863d22 \
10 15
11DEPENDS = "virtual/libx11" 16DEPENDS = "virtual/libx11"
12 17
13PR="r0" 18PE = "1"
19PR = "r0"
14 20
15EXTRA_OECONF="--disable-gtk" 21EXTRA_OECONF="--disable-gtk"
16 22
17SRC_URI[md5sum] = "512ec766a911142b901157ba581f6e75" 23SRC_URI[md5sum] = "7ed10a0f0fde6853613105a99735e7e7"
18SRC_URI[sha256sum] = "4798a9961bf38a1b25cabef0a8a73fd7dcc6b98da187ce55b1420894360188b5" 24SRC_URI[sha256sum] = "30316f269a6b84c32b47545ca7fc428fd16875849fea644dc6910b3f8c33f4a9"
25
diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.0.bb b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb
index 358bf84952..e0aa7994c2 100644
--- a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.0.bb
+++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb
@@ -1,4 +1,11 @@
1DESCRIPTION = "Keyboard configuration database for X Window" 1SUMMARY = "Keyboard configuration database for X Window"
2
3DESCRIPTION = "The non-arch keyboard configuration database for X \
4Window. The goal is to provide the consistent, well-structured, \
5frequently released open source of X keyboard configuration data for X \
6Window System implementations. The project is targeted to XKB-based \
7systems."
8
2HOMEPAGE = "http://freedesktop.org/wiki/Software/XKeyboardConfig" 9HOMEPAGE = "http://freedesktop.org/wiki/Software/XKeyboardConfig"
3BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xkeyboard-config" 10BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xkeyboard-config"
4 11
@@ -6,9 +13,9 @@ LICENSE = "MIT & MIT-style"
6LIC_FILES_CHKSUM = "file://COPYING;md5=0e7f21ca7db975c63467d2e7624a12f9" 13LIC_FILES_CHKSUM = "file://COPYING;md5=0e7f21ca7db975c63467d2e7624a12f9"
7 14
8SRC_URI = "http://people.freedesktop.org/~svu/xkeyboard-config-${PV}.tar.bz2" 15SRC_URI = "http://people.freedesktop.org/~svu/xkeyboard-config-${PV}.tar.bz2"
16SRC_URI[md5sum] = "6ce65480445fb2d9c071ad1f002a7675"
17SRC_URI[sha256sum] = "e293aa4b0dd259dbb4f0e7f56fdd95db5047d052c7b3b80922fe5663923a805d"
9 18
10SRC_URI[md5sum] = "bb8a98ee61cdc4bd835fdfd2b5cee3e6"
11SRC_URI[sha256sum] = "175f275f5a041edda41fe0f27e59061d1d9c6615959475e4d68ad773b6a2e376"
12SECTION = "x11/libs" 19SECTION = "x11/libs"
13DEPENDS = "intltool xkbcomp-native glib-2.0" 20DEPENDS = "intltool xkbcomp-native glib-2.0"
14 21
diff --git a/meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb b/meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb
index f2d9394439..335f020a26 100644
--- a/meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb
+++ b/meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb
@@ -1,7 +1,11 @@
1SUMMARY = "X transport library" 1SUMMARY = "XTrans: X Transport library"
2 2
3DESCRIPTION = "network API translation layer to insulate X applications and \ 3DESCRIPTION = "The X Transport Interface is intended to combine all \
4libraries from OS network vageries." 4system and transport specific code into a single place. This API should \
5be used by all libraries, clients and servers of the X Window System. \
6Use of this API should allow the addition of new types of transports and \
7support for new platforms without making any changes to the source \
8except in the X Transport Interface code."
5 9
6require xorg-lib-common.inc 10require xorg-lib-common.inc
7 11
diff --git a/meta/recipes-graphics/xorg-proto/bigreqsproto_1.1.0.bb b/meta/recipes-graphics/xorg-proto/bigreqsproto_1.1.0.bb
deleted file mode 100644
index 894c141f1e..0000000000
--- a/meta/recipes-graphics/xorg-proto/bigreqsproto_1.1.0.bb
+++ /dev/null
@@ -1,15 +0,0 @@
1require xorg-proto-common.inc
2
3PR = "r2"
4PE = "1"
5
6DEPENDS += "gettext"
7
8DESCRIPTION = "X.Org BigReqs extension headers"
9
10BBCLASSEXTEND = "native nativesdk"
11
12LIC_FILES_CHKSUM = "file://COPYING;md5=b12715630da6f268d0d3712ee1a504f4"
13
14SRC_URI[md5sum] = "d30c5dbf19ca6dffcd9788227ecff8c5"
15SRC_URI[sha256sum] = "4864e12d3c5a99b0a9ee4704822455299345e6c65b23c688a4e4bf11481107bd"
diff --git a/meta/recipes-graphics/xorg-proto/bigreqsproto_1.1.1.bb b/meta/recipes-graphics/xorg-proto/bigreqsproto_1.1.1.bb
new file mode 100644
index 0000000000..19fe3286c8
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/bigreqsproto_1.1.1.bb
@@ -0,0 +1,19 @@
1require xorg-proto-common.inc
2
3PR = "r0"
4PE = "1"
5
6DEPENDS += "gettext"
7
8SUMMARY = "BigReqs: X Big Requests extension headers"
9
10DESCRIPTION = "This package provides the wire protocol for the \
11BIG-REQUESTS extension, used to send larger requests that usual in order \
12to avoid fragmentation."
13
14BBCLASSEXTEND = "native nativesdk"
15
16LIC_FILES_CHKSUM = "file://COPYING;md5=b12715630da6f268d0d3712ee1a504f4"
17
18SRC_URI[md5sum] = "6f6c24436c2b3ab235eb14a85b9aaacf"
19SRC_URI[sha256sum] = "1c3b85872b58d215e8fbfdc7c36bb397d10053324a5df8722227d35254fff09a"
diff --git a/meta/recipes-graphics/xorg-proto/calibrateproto_git.bb b/meta/recipes-graphics/xorg-proto/calibrateproto_git.bb
index 9fd5c3fe0b..f86ea4a7d4 100644
--- a/meta/recipes-graphics/xorg-proto/calibrateproto_git.bb
+++ b/meta/recipes-graphics/xorg-proto/calibrateproto_git.bb
@@ -1,6 +1,9 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3DESCRIPTION = "Touchscreen calibration protocol" 3SUMMARY = "XCalibrate: Touchscreen calibration headers"
4
5DESCRIPTION = "This package provides the wire protocol for the \
6Touchscreen calibration extension."
4 7
5LICENSE = "MIT-style" 8LICENSE = "MIT-style"
6LIC_FILES_CHKSUM = "file://xcalibratewire.h;endline=23;md5=7f86ef7b03cce6c4c9ebd59d20ca485f \ 9LIC_FILES_CHKSUM = "file://xcalibratewire.h;endline=23;md5=7f86ef7b03cce6c4c9ebd59d20ca485f \
diff --git a/meta/recipes-graphics/xorg-proto/compositeproto_0.4.2.bb b/meta/recipes-graphics/xorg-proto/compositeproto_0.4.2.bb
new file mode 100644
index 0000000000..5917f20bea
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/compositeproto_0.4.2.bb
@@ -0,0 +1,20 @@
1require xorg-proto-common.inc
2
3SUMMARY = "Xcomposite: X composite extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X \
6composite extension. The X composite extension provides three related \
7mechanisms for compositing and off-screen storage."
8
9LICENSE = "MIT & MIT-style"
10LIC_FILES_CHKSUM = "file://COPYING;md5=2c4bfe136f4a4418ea2f2a96b7c8f3c5 \
11 file://composite.h;endline=43;md5=cbd44d4079053aa75930ed2f02b92926"
12
13CONFLICTS = "compositeext"
14
15PR = "r0"
16PE = "1"
17
18SRC_URI[md5sum] = "98482f65ba1e74a08bf5b056a4031ef0"
19SRC_URI[sha256sum] = "049359f0be0b2b984a8149c966dd04e8c58e6eade2a4a309cf1126635ccd0cfc"
20
diff --git a/meta/recipes-graphics/xorg-proto/compositeproto_0.4.bb b/meta/recipes-graphics/xorg-proto/compositeproto_0.4.bb
deleted file mode 100644
index 37bbe31ef1..0000000000
--- a/meta/recipes-graphics/xorg-proto/compositeproto_0.4.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require xorg-proto-common.inc
2
3LICENSE = "MIT-style"
4LIC_FILES_CHKSUM = "file://COPYING;md5=f8cdfa47489609f305b91521f3a8803f \
5 file://composite.h;endline=43;md5=11420a347713de702a1fe60949085464"
6
7CONFLICTS = "compositeext"
8PE = "1"
9
10SRC_URI[md5sum] = "6281344d656d4e0c8e9db4918efe3d1d"
11SRC_URI[sha256sum] = "6013d1ca63b2b7540f6f99977090812b899852acfbd9df123b5ebaa911e30003"
diff --git a/meta/recipes-graphics/xorg-proto/damageproto_1.2.1.bb b/meta/recipes-graphics/xorg-proto/damageproto_1.2.1.bb
index 1f2c555896..6bfa1b2b15 100644
--- a/meta/recipes-graphics/xorg-proto/damageproto_1.2.1.bb
+++ b/meta/recipes-graphics/xorg-proto/damageproto_1.2.1.bb
@@ -1,5 +1,12 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "Xdamage: X Damage extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the DAMAGE \
6extension. The DAMAGE extension allows applications to receive \
7information about changes made to pixel contents of windows and \
8pixmaps."
9
3LICENSE = "MIT-style" 10LICENSE = "MIT-style"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d5f5a2de65c3a84cbde769f07a769608 \ 11LIC_FILES_CHKSUM = "file://COPYING;md5=d5f5a2de65c3a84cbde769f07a769608 \
5 file://damagewire.h;endline=23;md5=4a4501a592dbc7de5ce89255e50d0296" 12 file://damagewire.h;endline=23;md5=4a4501a592dbc7de5ce89255e50d0296"
diff --git a/meta/recipes-graphics/xorg-proto/dmxproto_2.3.1.bb b/meta/recipes-graphics/xorg-proto/dmxproto_2.3.1.bb
new file mode 100644
index 0000000000..c521071093
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/dmxproto_2.3.1.bb
@@ -0,0 +1,19 @@
1require xorg-proto-common.inc
2
3SUMMARY = "DMX: Distributed Multihead extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the DMX \
6extension. The DMX extension provides support for communication with \
7and control of Xdmx server. Attributes of the Xdmx server and of the \
8back-end screens attached to the server can be queried and modified via \
9this protocol."
10
11LICENSE = "MIT"
12LIC_FILES_CHKSUM = "file://COPYING;md5=a3c3499231a8035efd0e004cfbd3b72a \
13 file://dmxproto.h;endline=32;md5=ab8509955c3dd4c65fac728e1b367bc4"
14
15PR = "r0"
16PE = "1"
17
18SRC_URI[md5sum] = "4ee175bbd44d05c34d43bb129be5098a"
19SRC_URI[sha256sum] = "e72051e6a3e06b236d19eed56368117b745ca1e1a27bdc50fd51aa375bea6509"
diff --git a/meta/recipes-graphics/xorg-proto/dmxproto_2.3.bb b/meta/recipes-graphics/xorg-proto/dmxproto_2.3.bb
deleted file mode 100644
index da6262969d..0000000000
--- a/meta/recipes-graphics/xorg-proto/dmxproto_2.3.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require xorg-proto-common.inc
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=a3c3499231a8035efd0e004cfbd3b72a \
5 file://dmxproto.h;endline=32;md5=ab8509955c3dd4c65fac728e1b367bc4"
6
7PR = "r1"
8PE = "1"
9
10SRC_URI[md5sum] = "880a41720b2937e2660dcdc0d34a8791"
11SRC_URI[sha256sum] = "3a882ca43a1f359e3489468e6c407fd7d56d559f8895cf096a2ec877d6c403b0"
diff --git a/meta/recipes-graphics/xorg-proto/dri2proto_2.3.bb b/meta/recipes-graphics/xorg-proto/dri2proto_2.3.bb
index 849dc00dda..79f7dbc1ae 100644
--- a/meta/recipes-graphics/xorg-proto/dri2proto_2.3.bb
+++ b/meta/recipes-graphics/xorg-proto/dri2proto_2.3.bb
@@ -1,7 +1,11 @@
1DESCRIPTION = "DRI2 extension headers"
2
3require xorg-proto-common.inc 1require xorg-proto-common.inc
4 2
3SUMMARY = "DRI2: Direct Rendering Infrastructure 2 headers"
4
5DESCRIPTION = "This package provides the wire protocol for the Direct \
6Rendering Ifnrastructure 2. DIR is required for may hardware \
7accelerated OpenGL drivers."
8
5LICENSE = "MIT" 9LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://COPYING;md5=2e396fa91834f8786032cad2da5638f3 \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=2e396fa91834f8786032cad2da5638f3 \
7 file://dri2proto.h;endline=31;md5=22f28bf68d01b533f26195e94b3ed8ca" 11 file://dri2proto.h;endline=31;md5=22f28bf68d01b533f26195e94b3ed8ca"
diff --git a/meta/recipes-graphics/xorg-proto/dri2proto_git.bb b/meta/recipes-graphics/xorg-proto/dri2proto_git.bb
index a5ad7d0919..c1aa35ff2a 100644
--- a/meta/recipes-graphics/xorg-proto/dri2proto_git.bb
+++ b/meta/recipes-graphics/xorg-proto/dri2proto_git.bb
@@ -1,7 +1,11 @@
1DESCRIPTION = "DRI2 extension headers"
2
3require xorg-proto-common.inc 1require xorg-proto-common.inc
4 2
3SUMMARY = "DRI2: Direct Rendering Infrastructure 2 headers"
4
5DESCRIPTION = "This package provides the wire protocol for the Direct \
6Rendering Ifnrastructure 2. DIR is required for may hardware \
7accelerated OpenGL drivers."
8
5PV = "1.99.3+git${SRCPV}" 9PV = "1.99.3+git${SRCPV}"
6PR = "r2" 10PR = "r2"
7 11
diff --git a/meta/recipes-graphics/xorg-proto/evieext_1.1.0.bb b/meta/recipes-graphics/xorg-proto/evieext_1.1.0.bb
index 9e283041cc..5800af10d7 100644
--- a/meta/recipes-graphics/xorg-proto/evieext_1.1.0.bb
+++ b/meta/recipes-graphics/xorg-proto/evieext_1.1.0.bb
@@ -1,6 +1,10 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3DESCRIPTION = "X EVIE extension headers" 3SUMMARY = "EvIE: X Event Interception Extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X Event \
6Interception Extension. This extension allows the interception of \
7keyboard and mouse events."
4 8
5PR = "r1" 9PR = "r1"
6PE = "1" 10PE = "1"
diff --git a/meta/recipes-graphics/xorg-proto/fixesproto_4.1.2.bb b/meta/recipes-graphics/xorg-proto/fixesproto_4.1.2.bb
index 567f1fe530..853ffa88af 100644
--- a/meta/recipes-graphics/xorg-proto/fixesproto_4.1.2.bb
+++ b/meta/recipes-graphics/xorg-proto/fixesproto_4.1.2.bb
@@ -1,5 +1,13 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "XFixes: X Fixes extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X Fixes \
6extension. This extension is designed to provide server-side support \
7for application work arounds to shortcomings in the core X window \
8system."
9
10
3LICENSE = "MIT & MIT-style" 11LICENSE = "MIT & MIT-style"
4LIC_FILES_CHKSUM = "file://COPYING;md5=3bd0f26ecf86d0f24922125195d5b70a \ 12LIC_FILES_CHKSUM = "file://COPYING;md5=3bd0f26ecf86d0f24922125195d5b70a \
5 file://xfixesproto.h;endline=43;md5=27614675897bb1cdc611ba7de506cddc" 13 file://xfixesproto.h;endline=43;md5=27614675897bb1cdc611ba7de506cddc"
diff --git a/meta/recipes-graphics/xorg-proto/fontcacheproto_0.1.3.bb b/meta/recipes-graphics/xorg-proto/fontcacheproto_0.1.3.bb
index d4594b32aa..42c95882b9 100644
--- a/meta/recipes-graphics/xorg-proto/fontcacheproto_0.1.3.bb
+++ b/meta/recipes-graphics/xorg-proto/fontcacheproto_0.1.3.bb
@@ -1,5 +1,11 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "XFontCache: X Font Cache extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X Font \
6Cache extension. This extension is used by X-TrueType to cache \
7information about fonts."
8
3LICENSE = "BSD" 9LICENSE = "BSD"
4LIC_FILES_CHKSUM = "file://COPYING;md5=ba9fcd8fe6d09af9f733daccc1a21857 \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=ba9fcd8fe6d09af9f733daccc1a21857 \
5 file://fontcacheP.h;endline=28;md5=85c80bfa96c802ee85a570862ee60214" 11 file://fontcacheP.h;endline=28;md5=85c80bfa96c802ee85a570862ee60214"
diff --git a/meta/recipes-graphics/xorg-proto/fontsproto_2.1.1.bb b/meta/recipes-graphics/xorg-proto/fontsproto_2.1.1.bb
index 1ed81007b3..af59240fdf 100644
--- a/meta/recipes-graphics/xorg-proto/fontsproto_2.1.1.bb
+++ b/meta/recipes-graphics/xorg-proto/fontsproto_2.1.1.bb
@@ -1,5 +1,11 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "XFont: X Font rasterisation headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X Font \
6rasterisation extensions. These extensions are used to control \
7server-side font configurations."
8
3LICENSE = "MIT-style" 9LICENSE = "MIT-style"
4LIC_FILES_CHKSUM = "file://COPYING;md5=c3e48aa9ce868c8e90f0401db41c11a2 \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=c3e48aa9ce868c8e90f0401db41c11a2 \
5 file://FSproto.h;endline=44;md5=d2e58e27095e5ea7d4ad456ccb91986c" 11 file://FSproto.h;endline=44;md5=d2e58e27095e5ea7d4ad456ccb91986c"
diff --git a/meta/recipes-graphics/xorg-proto/glproto_1.4.12.bb b/meta/recipes-graphics/xorg-proto/glproto_1.4.12.bb
index 9c8e7030d5..7b32e70dae 100644
--- a/meta/recipes-graphics/xorg-proto/glproto_1.4.12.bb
+++ b/meta/recipes-graphics/xorg-proto/glproto_1.4.12.bb
@@ -1,5 +1,11 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "OpenGL: X OpenGL extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the \
6OpenGL-related extensions, used to enable the rendering of applications \
7using OpenGL."
8
3LICENSE = "MIT" 9LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d44ed0146997856304dfbb512a59a8de \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=d44ed0146997856304dfbb512a59a8de \
5 file://glxproto.h;beginline=4;endline=32;md5=6b79c570f644363b356456e7d44471d9" 11 file://glxproto.h;beginline=4;endline=32;md5=6b79c570f644363b356456e7d44471d9"
diff --git a/meta/recipes-graphics/xorg-proto/inputproto_2.0.1.bb b/meta/recipes-graphics/xorg-proto/inputproto_2.0.1.bb
new file mode 100644
index 0000000000..7103d0d171
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/inputproto_2.0.1.bb
@@ -0,0 +1,22 @@
1require xorg-proto-common.inc
2
3SUMMARY = "XI: X Input extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X Input \
6extension. The extension supports input devices other then the core X \
7keyboard and pointer."
8
9LICENSE = "MIT & MIT-style"
10LIC_FILES_CHKSUM = "file://COPYING;md5=e562cc0f6587b961f032211d8160f31e \
11 file://XI2proto.h;endline=48;md5=1ac1581e61188da2885cc14ff49b20be"
12
13PR = "r0"
14PE = "1"
15
16inherit gettext
17
18BBCLASSEXTEND = "native nativesdk"
19
20SRC_URI[md5sum] = "da9bf9e5d174163f597d2d72757d9038"
21SRC_URI[sha256sum] = "63663dd88df812738e0efdc52a18868c0756128f09748cbe89c8ec6d17124a44"
22
diff --git a/meta/recipes-graphics/xorg-proto/inputproto_2.0.bb b/meta/recipes-graphics/xorg-proto/inputproto_2.0.bb
deleted file mode 100644
index 1b63be58a7..0000000000
--- a/meta/recipes-graphics/xorg-proto/inputproto_2.0.bb
+++ /dev/null
@@ -1,15 +0,0 @@
1require xorg-proto-common.inc
2
3LICENSE = "MIT & MIT-style"
4LIC_FILES_CHKSUM = "file://COPYING;md5=b9f79c119df756aeffcb89ec96716a9e \
5 file://XI2proto.h;endline=48;md5=1ac1581e61188da2885cc14ff49b20be"
6
7PR = "r2"
8PE = "1"
9
10inherit gettext
11
12BBCLASSEXTEND = "native nativesdk"
13
14SRC_URI[md5sum] = "0f7acbc14a082f9ae03744396527d23d"
15SRC_URI[sha256sum] = "472f57f7928ab20a1303a25982c4091db9674c2729bbd692c9a7204e23ea1af4"
diff --git a/meta/recipes-graphics/xorg-proto/inputproto_git.bb b/meta/recipes-graphics/xorg-proto/inputproto_git.bb
index a97fb0bfab..f1cbbb86fb 100644
--- a/meta/recipes-graphics/xorg-proto/inputproto_git.bb
+++ b/meta/recipes-graphics/xorg-proto/inputproto_git.bb
@@ -1,5 +1,11 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "XI: X Input extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X Input \
6extension. The extension supports input devices other then the core X \
7keyboard and pointer."
8
3PR = "r1" 9PR = "r1"
4PE = "1" 10PE = "1"
5PV = "1.9.99.12+git${SRCPV}" 11PV = "1.9.99.12+git${SRCPV}"
diff --git a/meta/recipes-graphics/xorg-proto/kbproto_1.0.5.bb b/meta/recipes-graphics/xorg-proto/kbproto_1.0.5.bb
index affd62777a..cd62534fa0 100644
--- a/meta/recipes-graphics/xorg-proto/kbproto_1.0.5.bb
+++ b/meta/recipes-graphics/xorg-proto/kbproto_1.0.5.bb
@@ -1,5 +1,11 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "XKB: X Keyboard extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X \
6Keyboard extension. This extension is used to control options related \
7to keyboard handling and layout."
8
3LICENSE = "MIT-style" 9LICENSE = "MIT-style"
4LIC_FILES_CHKSUM = "file://COPYING;md5=7dd6ea99e2a83a552c02c80963623c38 \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=7dd6ea99e2a83a552c02c80963623c38 \
5 file://XKBproto.h;beginline=2;endline=26;md5=5744eeff407aeb6e7a1346eebab486a2" 11 file://XKBproto.h;beginline=2;endline=26;md5=5744eeff407aeb6e7a1346eebab486a2"
diff --git a/meta/recipes-graphics/xorg-proto/printproto_1.0.4.bb b/meta/recipes-graphics/xorg-proto/printproto_1.0.4.bb
deleted file mode 100644
index 6f8e2058e6..0000000000
--- a/meta/recipes-graphics/xorg-proto/printproto_1.0.4.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1require xorg-proto-common.inc
2
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=a2363c155fd3749a8cf436ef56c3070f \
6 file://Print.h;beginline=2;endline=59;md5=1a2ee3cbfe3e38e136ff1b8477b51f4a"
7
8PR = "r1"
9PE = "1"
10
11SRC_URI[md5sum] = "7321847a60748b4d2f1fa16db4b6ede8"
12SRC_URI[sha256sum] = "f059a93188e7143dbb6cc55e31ccf81b976776aa3023bfa57f47501fd1bfd3be"
diff --git a/meta/recipes-graphics/xorg-proto/printproto_1.0.5.bb b/meta/recipes-graphics/xorg-proto/printproto_1.0.5.bb
new file mode 100644
index 0000000000..2c8afbd7e2
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/printproto_1.0.5.bb
@@ -0,0 +1,17 @@
1require xorg-proto-common.inc
2
3SUMMARY = "XP: X Printing extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X \
6Printing extension. This extension provides a way for client \
7applications to render to non-display devices."
8
9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://COPYING;md5=658463213f19b48b81f8672d2696069f \
11 file://Print.h;beginline=2;endline=59;md5=db19e065445b3755c09432864dcd8a9b"
12
13PR = "r0"
14PE = "1"
15
16SRC_URI[md5sum] = "99d0e25feea2fead7d8325b7000b41c3"
17SRC_URI[sha256sum] = "1298316cf43b987365ab7764d61b022a3d7f180b67b423eed3456862d155911a"
diff --git a/meta/recipes-graphics/xorg-proto/randrproto_1.3.2.bb b/meta/recipes-graphics/xorg-proto/randrproto_1.3.2.bb
index c027bfaf8c..f0f81bc64c 100644
--- a/meta/recipes-graphics/xorg-proto/randrproto_1.3.2.bb
+++ b/meta/recipes-graphics/xorg-proto/randrproto_1.3.2.bb
@@ -1,5 +1,11 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "XRandR: X Resize, Rotate and Reflect extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X Resize, \
6Rotate and Reflect extension. This extension provides the ability to \
7resize, rotate and reflect the root window of a screen."
8
3LICENSE = "MIT-style" 9LICENSE = "MIT-style"
4LIC_FILES_CHKSUM = "file://COPYING;md5=5fa3f85d9eefaa3a945071485be11343 \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=5fa3f85d9eefaa3a945071485be11343 \
5 file://randrproto.h;endline=30;md5=3885957c6048fdf3310ac8ba54ca2c3f" 11 file://randrproto.h;endline=30;md5=3885957c6048fdf3310ac8ba54ca2c3f"
diff --git a/meta/recipes-graphics/xorg-proto/recordproto_1.14.1.bb b/meta/recipes-graphics/xorg-proto/recordproto_1.14.1.bb
index b5f68d3306..8ee2017886 100644
--- a/meta/recipes-graphics/xorg-proto/recordproto_1.14.1.bb
+++ b/meta/recipes-graphics/xorg-proto/recordproto_1.14.1.bb
@@ -1,5 +1,11 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "XRecord: X Record extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X Record \
6extension. This extension is used to record and play back event \
7sequences."
8
3LICENSE = "MIT-style" 9LICENSE = "MIT-style"
4LIC_FILES_CHKSUM = "file://COPYING;md5=575827a0f554bbed332542976d5f3d40 \ 10LIC_FILES_CHKSUM = "file://COPYING;md5=575827a0f554bbed332542976d5f3d40 \
5 file://recordproto.h;endline=19;md5=1cbb0dd45a0b060ff833901620a3e738" 11 file://recordproto.h;endline=19;md5=1cbb0dd45a0b060ff833901620a3e738"
diff --git a/meta/recipes-graphics/xorg-proto/renderproto_0.11.1.bb b/meta/recipes-graphics/xorg-proto/renderproto_0.11.1.bb
new file mode 100644
index 0000000000..a352b1ed0f
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/renderproto_0.11.1.bb
@@ -0,0 +1,21 @@
1require xorg-proto-common.inc
2
3SUMMARY = "XRender: X rendering Extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X \
6Rendering extension. This is the basis the image composition within the \
7X window system."
8
9LICENSE = "MIT-style"
10LIC_FILES_CHKSUM = "file://COPYING;md5=f826d99765196352e6122a406cf0d024 \
11 file://renderproto.h;beginline=4;endline=24;md5=3e5e2851dad240b0a3a27c4776b4fd1f"
12
13CONFLICTS = "renderext"
14PR = "r0"
15PE = "1"
16
17BBCLASSEXTEND = "nativesdk"
18
19SRC_URI[md5sum] = "a914ccc1de66ddeb4b611c6b0686e274"
20SRC_URI[sha256sum] = "06735a5b92b20759204e4751ecd6064a2ad8a6246bb65b3078b862a00def2537"
21
diff --git a/meta/recipes-graphics/xorg-proto/renderproto_0.11.bb b/meta/recipes-graphics/xorg-proto/renderproto_0.11.bb
deleted file mode 100644
index 50854f9d6f..0000000000
--- a/meta/recipes-graphics/xorg-proto/renderproto_0.11.bb
+++ /dev/null
@@ -1,14 +0,0 @@
1require xorg-proto-common.inc
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=f826d99765196352e6122a406cf0d024 \
5 file://renderproto.h;beginline=4;endline=24;md5=3e5e2851dad240b0a3a27c4776b4fd1f"
6
7CONFLICTS = "renderext"
8PR = "r1"
9PE = "1"
10
11BBCLASSEXTEND = "nativesdk"
12
13SRC_URI[md5sum] = "b160a9733fe91b666e74fca284333148"
14SRC_URI[sha256sum] = "c4d1d6d9b0b6ed9a328a94890c171d534f62708f0982d071ccd443322bedffc2"
diff --git a/meta/recipes-graphics/xorg-proto/resourceproto_1.1.0.bb b/meta/recipes-graphics/xorg-proto/resourceproto_1.1.0.bb
deleted file mode 100644
index 23afed7821..0000000000
--- a/meta/recipes-graphics/xorg-proto/resourceproto_1.1.0.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require xorg-proto-common.inc
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=e01e66e4b317088cf869bc98e6af4fb6"
5
6CONFLICTS = "resourceext"
7PR = "r1"
8PE = "1"
9
10SRC_URI[md5sum] = "84795594b3ebd2ee2570cf93340d152c"
11SRC_URI[sha256sum] = "408d9ab067e4141d1bb844d2d0d7d26ad177567384190c32a913131cf549b36b"
diff --git a/meta/recipes-graphics/xorg-proto/resourceproto_1.1.1.bb b/meta/recipes-graphics/xorg-proto/resourceproto_1.1.1.bb
new file mode 100644
index 0000000000..fa13970cf3
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/resourceproto_1.1.1.bb
@@ -0,0 +1,19 @@
1require xorg-proto-common.inc
2
3SUMMARY = "XRes: X Resource extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X \
6Resource extension. XRes provides an interface that allows X clients to \
7see and monitor X resource usage of various clients."
8
9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://COPYING;md5=e01e66e4b317088cf869bc98e6af4fb6"
11
12CONFLICTS = "resourceext"
13
14PR = "r0"
15PE = "1"
16
17SRC_URI[md5sum] = "8ff0525ae7502b48597b78d00bc22284"
18SRC_URI[sha256sum] = "8579818e99aa881c00c04eb5f96fcbeec463816ca8e3cda9d3d25562f7a4b8c6"
19
diff --git a/meta/recipes-graphics/xorg-proto/scrnsaverproto_1.2.0.bb b/meta/recipes-graphics/xorg-proto/scrnsaverproto_1.2.0.bb
deleted file mode 100644
index 0000a6b6b4..0000000000
--- a/meta/recipes-graphics/xorg-proto/scrnsaverproto_1.2.0.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1require xorg-proto-common.inc
2
3
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=eed49b78b15b436c933b6b8b054e3901 \
6 file://saverproto.h;endline=26;md5=a84c0637305159f3c0ab173aaeede48d"
7
8PR = "r1"
9PE = "1"
10
11SRC_URI[md5sum] = "9040c991a56ee9b5976936f8c65d5c8a"
12SRC_URI[sha256sum] = "deaf0a3212617e0dab353a3c3a66e0a1f2398306eca0fd882ac15996b0e44d99"
diff --git a/meta/recipes-graphics/xorg-proto/scrnsaverproto_1.2.1.bb b/meta/recipes-graphics/xorg-proto/scrnsaverproto_1.2.1.bb
new file mode 100644
index 0000000000..fe937eb6ec
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/scrnsaverproto_1.2.1.bb
@@ -0,0 +1,21 @@
1require xorg-proto-common.inc
2
3SUMMARY = "Xscrnsaver: X Screen Saver extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X Screen \
6Saver extension. This extension allows an external \"screen saver\" \
7client to detect when the alternative image is to be displayed and to \
8provide the graphics."
9
10LICENSE = "MIT"
11LIC_FILES_CHKSUM = "file://COPYING;md5=eed49b78b15b436c933b6b8b054e3901 \
12 file://saverproto.h;endline=26;md5=a84c0637305159f3c0ab173aaeede48d"
13
14PR = "r0"
15PE = "1"
16
17EXTRA_OECONF_append = " --enable-specs=no"
18
19SRC_URI[md5sum] = "6af0f2e3369f5f74e69345e214f5fd0d"
20SRC_URI[sha256sum] = "fad2f73cac136fcddd311d27a14ac7e519a9bec6ab272490d9c9b363556024f1"
21
diff --git a/meta/recipes-graphics/xorg-proto/trapproto_3.4.3.bb b/meta/recipes-graphics/xorg-proto/trapproto_3.4.3.bb
index c4a0780bdf..54d962e530 100644
--- a/meta/recipes-graphics/xorg-proto/trapproto_3.4.3.bb
+++ b/meta/recipes-graphics/xorg-proto/trapproto_3.4.3.bb
@@ -1,5 +1,11 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "XTrap: X event trapping extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X event \
6trapping extension. This extension provides the interface which allows \
7for capture and synthesis of core input events."
8
3LICENSE = "MIT-style" 9LICENSE = "MIT-style"
4LIC_FILES_CHKSUM = "file://COPYING;md5=0a984c8e242256a12f3b8dac085893db" 10LIC_FILES_CHKSUM = "file://COPYING;md5=0a984c8e242256a12f3b8dac085893db"
5 11
diff --git a/meta/recipes-graphics/xorg-proto/videoproto_2.3.1.bb b/meta/recipes-graphics/xorg-proto/videoproto_2.3.1.bb
index 827aa27aba..51132433ee 100644
--- a/meta/recipes-graphics/xorg-proto/videoproto_2.3.1.bb
+++ b/meta/recipes-graphics/xorg-proto/videoproto_2.3.1.bb
@@ -1,5 +1,10 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "Xv: X Video extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the X Video \
6extension. This extension alows for accerlated drawing of videos."
7
3LICENSE = "MIT & MIT-style" 8LICENSE = "MIT & MIT-style"
4LIC_FILES_CHKSUM = "file://COPYING;md5=59d089e37bf57b5206602da38f58ca5d" 9LIC_FILES_CHKSUM = "file://COPYING;md5=59d089e37bf57b5206602da38f58ca5d"
5 10
diff --git a/meta/recipes-graphics/xorg-proto/xcmiscproto_1.2.1.bb b/meta/recipes-graphics/xorg-proto/xcmiscproto_1.2.1.bb
index 9b677e6dea..1b34a5d878 100644
--- a/meta/recipes-graphics/xorg-proto/xcmiscproto_1.2.1.bb
+++ b/meta/recipes-graphics/xorg-proto/xcmiscproto_1.2.1.bb
@@ -1,5 +1,11 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "XC-MISC: X XC-Miscellaneous extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the XC-MISC \
6extension, which is used to get details of XID allocations within the \
7server."
8
3LICENSE = "MIT-style" 9LICENSE = "MIT-style"
4LIC_FILES_CHKSUM = "file://COPYING;md5=09d83047c15994e05db29b423ed6662e" 10LIC_FILES_CHKSUM = "file://COPYING;md5=09d83047c15994e05db29b423ed6662e"
5 11
diff --git a/meta/recipes-graphics/xorg-proto/xextproto_7.1.2.bb b/meta/recipes-graphics/xorg-proto/xextproto_7.1.2.bb
index 22897442a5..b079736623 100644
--- a/meta/recipes-graphics/xorg-proto/xextproto_7.1.2.bb
+++ b/meta/recipes-graphics/xorg-proto/xextproto_7.1.2.bb
@@ -1,5 +1,14 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "XExt: X Extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for several X \
6extensions. These protocol extensions include DOUBLE-BUFFER, DPMS, \
7Extended-Visual-Information, LBX, MIT_SHM, MIT_SUNDRY-NONSTANDARD, \
8Multi-Buffering, SECURITY, SHAPE, SYNC, TOG-CUP, XC-APPGROUP, XC-MISC, \
9XTEST. In addition a small set of utility functions are also \
10available."
11
3LICENSE = "MIT & MIT-style" 12LICENSE = "MIT & MIT-style"
4LIC_FILES_CHKSUM = "file://COPYING;md5=86f273291759d0ba2a22585cd1c06c53" 13LIC_FILES_CHKSUM = "file://COPYING;md5=86f273291759d0ba2a22585cd1c06c53"
5 14
diff --git a/meta/recipes-graphics/xorg-proto/xf86bigfontproto_1.2.0.bb b/meta/recipes-graphics/xorg-proto/xf86bigfontproto_1.2.0.bb
index 4bf6b5317d..d80c0f18c5 100644
--- a/meta/recipes-graphics/xorg-proto/xf86bigfontproto_1.2.0.bb
+++ b/meta/recipes-graphics/xorg-proto/xf86bigfontproto_1.2.0.bb
@@ -1,5 +1,11 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "XFree86-BIGFONT: XFree86 Big Font extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the XFree86 \
6Big Font extension. This extension makes larger font requests \
7possible."
8
3LICENSE = "MIT" 9LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=e01e66e4b317088cf869bc98e6af4fb6" 10LIC_FILES_CHKSUM = "file://COPYING;md5=e01e66e4b317088cf869bc98e6af4fb6"
5 11
diff --git a/meta/recipes-graphics/xorg-proto/xf86dgaproto_2.1.bb b/meta/recipes-graphics/xorg-proto/xf86dgaproto_2.1.bb
index 99f1f0ea6f..f70d79daeb 100644
--- a/meta/recipes-graphics/xorg-proto/xf86dgaproto_2.1.bb
+++ b/meta/recipes-graphics/xorg-proto/xf86dgaproto_2.1.bb
@@ -1,5 +1,12 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "XFree86-DGA: XFree86 Direct Graphics Access extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the XFree86 \
6Direct Graphics Access extension. This extension allows direct graphics \
7access to a framebuffer-like region, as well as relative mouse \
8reporting."
9
3LICENSE = "MIT" 10LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=e01e66e4b317088cf869bc98e6af4fb6" 11LIC_FILES_CHKSUM = "file://COPYING;md5=e01e66e4b317088cf869bc98e6af4fb6"
5 12
diff --git a/meta/recipes-graphics/xorg-proto/xf86driproto_2.1.0.bb b/meta/recipes-graphics/xorg-proto/xf86driproto_2.1.0.bb
deleted file mode 100644
index 9f76ddd830..0000000000
--- a/meta/recipes-graphics/xorg-proto/xf86driproto_2.1.0.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require xorg-proto-common.inc
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=4641deddaa80fe7ca88e944e1fd94a94 \
5 file://xf86driproto.h;endline=35;md5=42be3d8e6d429ab79172572bb0cff544"
6
7PR = "r1"
8PE = "1"
9
10SRC_URI[md5sum] = "309d552732666c3333d7dc63e80d042f"
11SRC_URI[sha256sum] = "d23f12deffd03e582e897ed6a7df3ea7f66ee8577f0f61374dcdf2ebffdce1be"
diff --git a/meta/recipes-graphics/xorg-proto/xf86driproto_2.1.1.bb b/meta/recipes-graphics/xorg-proto/xf86driproto_2.1.1.bb
new file mode 100644
index 0000000000..5b38117ec8
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/xf86driproto_2.1.1.bb
@@ -0,0 +1,18 @@
1require xorg-proto-common.inc
2
3SUMMARY = "XFree86-DRI: XFree86 Direct Rendering Infrastructure extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the XFree86 \
6Direct Rendering Infrastructure extension. The XFree86-DRI extension is \
7used to organize direct rendering support or 3D clients and help \
8arbitrate requests."
9
10LICENSE = "MIT"
11LIC_FILES_CHKSUM = "file://COPYING;md5=ef103b9d951e39ff7e23d386e2011fa3 \
12 file://xf86driproto.h;endline=35;md5=42be3d8e6d429ab79172572bb0cff544"
13
14PR = "r0"
15PE = "1"
16
17SRC_URI[md5sum] = "1d716d0dac3b664e5ee20c69d34bc10e"
18SRC_URI[sha256sum] = "9c4b8d7221cb6dc4309269ccc008a22753698ae9245a398a59df35f1404d661f"
diff --git a/meta/recipes-graphics/xorg-proto/xf86miscproto_0.9.3.bb b/meta/recipes-graphics/xorg-proto/xf86miscproto_0.9.3.bb
index 6046c7e3ee..d4663ea880 100644
--- a/meta/recipes-graphics/xorg-proto/xf86miscproto_0.9.3.bb
+++ b/meta/recipes-graphics/xorg-proto/xf86miscproto_0.9.3.bb
@@ -1,5 +1,12 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "XFree86-Misc: XFree86 miscellaneous extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the XFree \
6miscellaneous extension. The XFree86-Misc extension provides a means to \
7access input device configuration settings specific to the XFree86/Xorg \
8DDX."
9
3LICENSE = "MIT" 10LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=e01e66e4b317088cf869bc98e6af4fb6" 11LIC_FILES_CHKSUM = "file://COPYING;md5=e01e66e4b317088cf869bc98e6af4fb6"
5 12
diff --git a/meta/recipes-graphics/xorg-proto/xf86rushproto_1.1.2.bb b/meta/recipes-graphics/xorg-proto/xf86rushproto_1.1.2.bb
index 6f090d4a20..1548bd07f9 100644
--- a/meta/recipes-graphics/xorg-proto/xf86rushproto_1.1.2.bb
+++ b/meta/recipes-graphics/xorg-proto/xf86rushproto_1.1.2.bb
@@ -1,5 +1,11 @@
1require xorg-proto-common.inc 1require xorg-proto-common.inc
2 2
3SUMMARY = "XFree86-Rush: XFree86 Rush extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the XFree86 \
6Rush extension. This extension is there to allow Glide applications to \
7run."
8
3LICENSE = "MIT" 9LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=e01e66e4b317088cf869bc98e6af4fb6" 10LIC_FILES_CHKSUM = "file://COPYING;md5=e01e66e4b317088cf869bc98e6af4fb6"
5 11
diff --git a/meta/recipes-graphics/xorg-proto/xf86vidmodeproto_2.3.1.bb b/meta/recipes-graphics/xorg-proto/xf86vidmodeproto_2.3.1.bb
new file mode 100644
index 0000000000..721e7b0e13
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/xf86vidmodeproto_2.3.1.bb
@@ -0,0 +1,18 @@
1require xorg-proto-common.inc
2
3SUMMARY = "XFree86-VM: XFree86 video mode extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the XFree86 \
6video mode extension. This extension allows client applications to get \
7and set video mode timings."
8
9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://COPYING;md5=499be2ff387a42f84628c35f311f1502"
11
12CONFLICTS = "xxf86vmext"
13
14PR = "r0"
15PE = "1"
16
17SRC_URI[md5sum] = "e793ecefeaecfeabd1aed6a01095174e"
18SRC_URI[sha256sum] = "45d9499aa7b73203fd6b3505b0259624afed5c16b941bd04fcf123e5de698770"
diff --git a/meta/recipes-graphics/xorg-proto/xf86vidmodeproto_2.3.bb b/meta/recipes-graphics/xorg-proto/xf86vidmodeproto_2.3.bb
deleted file mode 100644
index 49f8c5c961..0000000000
--- a/meta/recipes-graphics/xorg-proto/xf86vidmodeproto_2.3.bb
+++ /dev/null
@@ -1,12 +0,0 @@
1require xorg-proto-common.inc
2
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=499be2ff387a42f84628c35f311f1502"
5
6CONFLICTS = "xxf86vmext"
7
8PR = "r0"
9PE = "1"
10
11SRC_URI[md5sum] = "4434894fc7d4eeb4a22e6b876d56fdaa"
12SRC_URI[sha256sum] = "8f704613a5407b31c594d05cf8e053f2b05777172a44e7cd2abd8090bd2ac247"
diff --git a/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb b/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb
new file mode 100644
index 0000000000..a68e4f5936
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.1.bb
@@ -0,0 +1,18 @@
1require xorg-proto-common.inc
2
3SUMMARY = "Xinerama: Xinerama extension headers"
4
5DESCRIPTION = "This package provides the wire protocol for the Xinerama \
6extension. This extension is used for retrieving information about \
7physical output devices which may be combined into a single logical X \
8screen."
9
10LICENSE = "MIT & MIT-style"
11LIC_FILES_CHKSUM = "file://COPYING;md5=3e397a5326c83d5d0ebf5b3f87163ac6 \
12 file://panoramiXproto.h;endline=24;md5=098e0bc089368a988092b3cbda617a57"
13
14PR = "r0"
15PE = "1"
16
17SRC_URI[md5sum] = "9959fe0bfb22a0e7260433b8d199590a"
18SRC_URI[sha256sum] = "977574bb3dc192ecd9c55f59f991ec1dff340be3e31392c95deff423da52485b"
diff --git a/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.bb b/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.bb
deleted file mode 100644
index 6b14b8f2f0..0000000000
--- a/meta/recipes-graphics/xorg-proto/xineramaproto_1.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require xorg-proto-common.inc
2
3LICENSE = "MIT & MIT-style"
4LIC_FILES_CHKSUM = "file://COPYING;md5=3e397a5326c83d5d0ebf5b3f87163ac6 \
5 file://panoramiXproto.h;endline=24;md5=098e0bc089368a988092b3cbda617a57"
6
7PR = "r1"
8PE = "1"
9
10SRC_URI[md5sum] = "a8aadcb281b9c11a91303e24cdea45f5"
11SRC_URI[sha256sum] = "58e88087ceec7201d918f94d6b1247325adca2a9903fed11291b412427a7ba64"
diff --git a/meta/recipes-graphics/xorg-proto/xproto_7.0.19.bb b/meta/recipes-graphics/xorg-proto/xproto_7.0.19.bb
deleted file mode 100644
index 1e968c53da..0000000000
--- a/meta/recipes-graphics/xorg-proto/xproto_7.0.19.bb
+++ /dev/null
@@ -1,13 +0,0 @@
1require xorg-proto-common.inc
2
3LICENSE = "MIT & MIT-style"
4LIC_FILES_CHKSUM = "file://COPYING;md5=70c104816b85de375ba1fc09199d0e69"
5
6PR = "r1"
7PE = "1"
8
9EXTRA_OECONF_append = "--enable-specs=no"
10BBCLASSEXTEND = "native nativesdk"
11
12SRC_URI[md5sum] = "700f8663c23713c2a81a6038a7d358f0"
13SRC_URI[sha256sum] = "47b14f6da8c57a726ef1cfa5964a4a6cf9505bc6d78f69d3ae89f4b19956fc2a"
diff --git a/meta/recipes-graphics/xorg-proto/xproto_7.0.20.bb b/meta/recipes-graphics/xorg-proto/xproto_7.0.20.bb
new file mode 100644
index 0000000000..58520d9768
--- /dev/null
+++ b/meta/recipes-graphics/xorg-proto/xproto_7.0.20.bb
@@ -0,0 +1,19 @@
1require xorg-proto-common.inc
2
3SUMMARY = "Xlib: C Language X interface headers"
4
5DESCRIPTION = "This package provides the basic headers for the X Window \
6System."
7
8LICENSE = "MIT & MIT-style"
9LIC_FILES_CHKSUM = "file://COPYING;md5=93ae8952e7d02d855516fbf2efb9a0d2"
10
11PR = "r0"
12PE = "1"
13
14EXTRA_OECONF_append = "--enable-specs=no"
15BBCLASSEXTEND = "native nativesdk"
16
17SRC_URI[md5sum] = "65633168e5315c19defb4652cd3d83c1"
18SRC_URI[sha256sum] = "3fe87fe47d9b795e60ba3715d71f90f9929d57e9048f1d2a6ebb558e5aee9e2a"
19
diff --git a/meta/recipes-graphics/xorg-util/gccmakedep_1.0.2.bb b/meta/recipes-graphics/xorg-util/gccmakedep_1.0.2.bb
index 9b89400bdb..23cef63ea2 100644
--- a/meta/recipes-graphics/xorg-util/gccmakedep_1.0.2.bb
+++ b/meta/recipes-graphics/xorg-util/gccmakedep_1.0.2.bb
@@ -1,10 +1,16 @@
1SUMMARY = "Program to create dependencies in makefiles"
2
3DESCRIPTION = "The gccmakedep program calls 'gcc -M' to output makefile \
4rules describing the dependencies of each sourcefile, so that make knows \
5which object files must be recompiled when a dependency has changed."
6
1require xorg-util-common.inc 7require xorg-util-common.inc
2LIC_FILES_CHKSUM = "file://Makefile.am;endline=20;md5=23c277396d690413245ebb89b18c5d4d" 8LIC_FILES_CHKSUM = "file://Makefile.am;endline=20;md5=23c277396d690413245ebb89b18c5d4d"
3DESCRIPTION = "create dependencies in makefiles using 'gcc -M'" 9DESCRIPTION = "create dependencies in makefiles using 'gcc -M'"
4DEPENDS = "util-macros" 10DEPENDS = "util-macros"
5RDEPENDS = "gcc" 11RDEPENDS_${PN} = "gcc"
6 12
7PR = "r2" 13PR = "r3"
8PE = "1" 14PE = "1"
9 15
10SRC_URI[md5sum] = "fc49f45251c1336fe1dad5dba1c83fcd" 16SRC_URI[md5sum] = "fc49f45251c1336fe1dad5dba1c83fcd"
diff --git a/meta/recipes-graphics/xorg-util/imake_1.0.4.bb b/meta/recipes-graphics/xorg-util/imake_1.0.4.bb
index 8943c2dd4c..9202317e10 100644
--- a/meta/recipes-graphics/xorg-util/imake_1.0.4.bb
+++ b/meta/recipes-graphics/xorg-util/imake_1.0.4.bb
@@ -1,12 +1,19 @@
1require xorg-util-common.inc 1require xorg-util-common.inc
2 2
3DESCRIPTION = "C preprocessor interface to the make utility" 3SUMMARY = "C preprocessor interface to the make utility"
4
5DESCRIPTION = "Imake is used to generate Makefiles from a template, a \
6set of cpp macro functions, and a per-directory input file called an \
7Imakefile. This allows machine dependencies (such as compiler options, \
8alternate command names, and special make rules) to be kept separate \
9from the descriptions of the various items to be built."
10
4DEPENDS = "util-macros" 11DEPENDS = "util-macros"
5RDEPENDS = "perl xproto" 12RDEPENDS_${PN} = "perl xproto"
6 13
7LIC_FILES_CHKSUM = "file://COPYING;md5=b9c6cfb044c6d0ff899eaafe4c729367" 14LIC_FILES_CHKSUM = "file://COPYING;md5=b9c6cfb044c6d0ff899eaafe4c729367"
8 15
9PR = "r0" 16PR = "r1"
10PE = "1" 17PE = "1"
11 18
12SRC_URI[md5sum] = "0fd1e53d94142ddee5340f87de0b9561" 19SRC_URI[md5sum] = "0fd1e53d94142ddee5340f87de0b9561"
diff --git a/meta/recipes-graphics/xorg-util/makedepend_1.0.3.bb b/meta/recipes-graphics/xorg-util/makedepend_1.0.3.bb
index a103700d84..342d1b8441 100644
--- a/meta/recipes-graphics/xorg-util/makedepend_1.0.3.bb
+++ b/meta/recipes-graphics/xorg-util/makedepend_1.0.3.bb
@@ -1,6 +1,14 @@
1require xorg-util-common.inc 1require xorg-util-common.inc
2 2
3DESCRIPTION = "create dependencies in makefiles" 3SUMMARY = "create dependencies in makefiles"
4
5DESCRIPTION = "The makedepend program reads each sourcefile in sequence \
6and parses it like a C-preprocessor, processing all #include, #define, \
7#undef, #ifdef, #ifndef, #endif, #if, #elif and #else directives so that \
8it can correctly tell which #include, directives would be used in a \
9compilation. Any #include, directives can reference files having other \
10#include directives, and parsing will occur in these files as well."
11
4DEPENDS = "xproto util-macros" 12DEPENDS = "xproto util-macros"
5PR = "r0" 13PR = "r0"
6PE = "1" 14PE = "1"
diff --git a/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb b/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
index 7130ea2b79..82423266f2 100644
--- a/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
+++ b/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
@@ -1,4 +1,6 @@
1DESCRIPTION = "X autotools macros" 1SUMMARY = "X autotools macros"
2
3DESCRIPTION = "M4 autotools macros used by various X.org programs."
2 4
3require xorg-util-common.inc 5require xorg-util-common.inc
4 6
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-kdrive.inc b/meta/recipes-graphics/xorg-xserver/xserver-kdrive.inc
index 8c93127657..920c03285a 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-kdrive.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-kdrive.inc
@@ -1,6 +1,10 @@
1LICENSE = "MIT" 1LICENSE = "MIT"
2DEPENDS = "compositeproto damageproto fixesproto recordproto resourceproto scrnsaverproto xineramaproto videoproto xextproto xproto \ 2DEPENDS = "compositeproto damageproto fixesproto recordproto resourceproto \
3 libxau libxext libxdmcp libxfont libxrandr tslib virtual/libx11 xtrans bigreqsproto xcmiscproto" 3 scrnsaverproto xineramaproto videoproto xextproto xproto libxau libxext \
4 libxdmcp libxfont libxrandr tslib virtual/libx11 xtrans bigreqsproto \
5 xcmiscproto libdrm"
6
7LIC_FILES_CHKSUM = "file://COPYING;md5=3dd2bbe3563837f80ed8926b06c1c353"
4 8
5PROVIDES = "virtual/xserver" 9PROVIDES = "virtual/xserver"
6PACKAGES =+ "xserver-kdrive-fbdev \ 10PACKAGES =+ "xserver-kdrive-fbdev \
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.7.99.2.bb b/meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.7.99.2.bb
index 7ca88e64e2..ea3268e78e 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.7.99.2.bb
+++ b/meta/recipes-graphics/xorg-xserver/xserver-kdrive_1.7.99.2.bb
@@ -1,6 +1,6 @@
1require xserver-kdrive.inc 1require xserver-kdrive.inc
2 2
3DEPENDS += "libxkbfile libxcalibrate font-util" 3DEPENDS += "libxkbfile libxcalibrate font-util pixman"
4 4
5RDEPENDS_${PN} += "xkeyboard-config" 5RDEPENDS_${PN} += "xkeyboard-config"
6 6
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc b/meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc
index cf69a1e156..f9ea0e4124 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-common.inc
@@ -3,6 +3,8 @@ HOMEPAGE = "http://www.x.org"
3SECTION = "x11/base" 3SECTION = "x11/base"
4LICENSE = "MIT-X" 4LICENSE = "MIT-X"
5 5
6LIC_FILES_CHKSUM = "file://COPYING;md5=3dd2bbe3563837f80ed8926b06c1c353"
7
6# xf86-*-* packages depend on an X server built with the xfree86 DDX 8# xf86-*-* packages depend on an X server built with the xfree86 DDX
7# so we have a virtual to represent that: 9# so we have a virtual to represent that:
8PROVIDES = "virtual/xserver-xf86" 10PROVIDES = "virtual/xserver-xf86"
@@ -31,3 +33,4 @@ FILES_${PN}-dbg += "${libdir}/xorg/modules/.debug \
31 " 33 "
32 34
33SRC_URI += "file://macro_tweak.patch" 35SRC_URI += "file://macro_tweak.patch"
36
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.9.2.bb b/meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.9.3.bb
index 0433fe33ba..9ff85de6c3 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.9.2.bb
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite_1.9.3.bb
@@ -1,6 +1,5 @@
1require xserver-xf86-dri-lite.inc 1require xserver-xf86-dri-lite.inc
2 2
3LIC_FILES_CHKSUM = "file://COPYING;md5=3dd2bbe3563837f80ed8926b06c1c353"
4 3
5PROTO_DEPS += "xf86driproto dri2proto" 4PROTO_DEPS += "xf86driproto dri2proto"
6 5
@@ -17,7 +16,7 @@ SRC_URI += "file://nodolt.patch \
17# Misc build failure for master HEAD 16# Misc build failure for master HEAD
18SRC_URI += "file://fix_open_max_preprocessor_error.patch" 17SRC_URI += "file://fix_open_max_preprocessor_error.patch"
19 18
20SRC_URI[md5sum] = "5c8773499a6a8c1ddaedf33577ec9634" 19SRC_URI[md5sum] = "5bef6839a76d029204ab31aa2fcb5201"
21SRC_URI[sha256sum] = "8b30800004c98fc7a8e6ff31a339f28451be5132e774443be22bf226e1791e34" 20SRC_URI[sha256sum] = "864831f51e841ff37f2445d1c85b86b559c8860a435fb496aead4f256a2b141d"
22 21
23EXTRA_OECONF += "--enable-dri --enable-dri2" 22EXTRA_OECONF += "--enable-dri --enable-dri2"
diff --git a/meta/recipes-graphics/xrestop/xrestop_0.4.bb b/meta/recipes-graphics/xrestop/xrestop_0.4.bb
index 915a375c18..bd4c25c469 100644
--- a/meta/recipes-graphics/xrestop/xrestop_0.4.bb
+++ b/meta/recipes-graphics/xrestop/xrestop_0.4.bb
@@ -1,4 +1,7 @@
1SUMMARY = "XRes: A top-like resource usage tool for X"
2
1DESCRIPTION = "top-like statistics of X11 server resource usage by clients" 3DESCRIPTION = "top-like statistics of X11 server resource usage by clients"
4
2HOMEPAGE = "http://www.freedesktop.org/wiki/Software/xrestop" 5HOMEPAGE = "http://www.freedesktop.org/wiki/Software/xrestop"
3BUGTRACKER = "https://bugs.freedesktop.org/" 6BUGTRACKER = "https://bugs.freedesktop.org/"
4 7
diff --git a/meta/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch b/meta/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch
new file mode 100644
index 0000000000..3ca14d7f4d
--- /dev/null
+++ b/meta/recipes-graphics/xtscal/xtscal/dso_linking_change_build_fix.patch
@@ -0,0 +1,25 @@
1after gcc linking has changed, all the libraries must be explicitely specified
2This patch avoids this linking error:
3
4| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o xtscal main.o calibrate.o -lX11 -lXft -lXext -lXcalibrate^M
5| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: ^?: invalid DSO for symbol `XRenderChangePicture' definition^M
6| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXrender.so.1: could not read symbols: Bad value^M
7| collect2: ld returned 1 exit status^M
8| make: *** [xtscal] Error 1
9
10Nitin A Kamble <nitin.a.kamble@intel.com>
11Date: 2011/01/11
12
13Index: xtscal-0.6.3/configure.ac
14===================================================================
15--- xtscal-0.6.3.orig/configure.ac
16+++ xtscal-0.6.3/configure.ac
17@@ -9,7 +9,7 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2])
18 # Checks for programs.
19 AC_PROG_CC
20
21-PKG_CHECK_MODULES(XTSCAL, x11 xft xext xcalibrate)
22+PKG_CHECK_MODULES(XTSCAL, x11 xft xext xcalibrate xrender)
23
24 AC_CONFIG_FILES([Makefile])
25 AC_OUTPUT
diff --git a/meta/recipes-graphics/xtscal/xtscal_0.6.3.bb b/meta/recipes-graphics/xtscal/xtscal_0.6.3.bb
index 2136f340e6..75013a26c6 100644
--- a/meta/recipes-graphics/xtscal/xtscal_0.6.3.bb
+++ b/meta/recipes-graphics/xtscal/xtscal_0.6.3.bb
@@ -1,4 +1,7 @@
1DESCRIPTION = "Touchscreen calibration utility" 1SUMMARY = "Touchscreen calibration utility"
2
3DESCRIPTION = "Basic touchscreen calibration utility"
4
2HOMEPAGE = "http://gpe.linuxtogo.org" 5HOMEPAGE = "http://gpe.linuxtogo.org"
3BUGTRACKER = "http://bugs.linuxtogo.org" 6BUGTRACKER = "http://bugs.linuxtogo.org"
4LICENSE = "GPLv2 & GPLv2+" 7LICENSE = "GPLv2 & GPLv2+"
@@ -9,11 +12,12 @@ SECTION = "x11/base"
9 12
10DEPENDS = "virtual/libx11 libxft libxcalibrate" 13DEPENDS = "virtual/libx11 libxft libxcalibrate"
11 14
12PR = "r12" 15PR = "r13"
13 16
14SRC_URI = "${GPE_MIRROR}/xtscal-${PV}.tar.bz2 \ 17SRC_URI = "${GPE_MIRROR}/xtscal-${PV}.tar.bz2 \
15 file://change-cross.patch;patch=1 \ 18 file://change-cross.patch;patch=1 \
16 file://cleanup.patch;patch=1 \ 19 file://cleanup.patch;patch=1 \
20 file://dso_linking_change_build_fix.patch \
17 file://30xTs_Calibrate.sh" 21 file://30xTs_Calibrate.sh"
18 22
19SRC_URI[md5sum] = "9bcab80b474d5454477d1ca166a68c34" 23SRC_URI[md5sum] = "9bcab80b474d5454477d1ca166a68c34"
diff --git a/meta/recipes-graphics/xvideo-tests/xvideo-tests_svn.bb b/meta/recipes-graphics/xvideo-tests/xvideo-tests_svn.bb
index 0aa861f688..a5ac25124f 100644
--- a/meta/recipes-graphics/xvideo-tests/xvideo-tests_svn.bb
+++ b/meta/recipes-graphics/xvideo-tests/xvideo-tests_svn.bb
@@ -3,7 +3,7 @@ LICENSE = "GPLv2+"
3LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ 3LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
4 file://src/test-xvideo.c;beginline=1;endline=20;md5=6ae3b4c3c2ff9e51dbbc35bb237afa00" 4 file://src/test-xvideo.c;beginline=1;endline=20;md5=6ae3b4c3c2ff9e51dbbc35bb237afa00"
5DEPENDS = "libxv" 5DEPENDS = "libxv"
6PV = "0.0+svnr${SRCREV}" 6PV = "0.0+svnr${SRCPV}"
7PR = "r0" 7PR = "r0"
8 8
9SRC_URI="svn://svn.o-hand.com/repos/misc/trunk;module=test-xvideo;proto=http" 9SRC_URI="svn://svn.o-hand.com/repos/misc/trunk;module=test-xvideo;proto=http"
diff --git a/meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch b/meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch
index 87ee24ea35..c6a06ed349 100644
--- a/meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch
+++ b/meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch
@@ -17,11 +17,11 @@ Index: git/Makefile
17 17
18 btreplay/btrecord: 18 btreplay/btrecord:
19- $(MAKE) -C btreplay 19- $(MAKE) -C btreplay
20+ CC="${CC}" CFLAGS="${CFLAGS}" $(MAKE) -C btreplay CC="${CC}" CFLAGS="${CFLAGS}" 20+ CC="${CC}" CFLAGS="${CFLAGS}" $(MAKE) -C btreplay CC="${CC}" CFLAGS="${CFLAGS}" btrecord
21 21
22 btreplay/btreplay: 22 btreplay/btreplay:
23- $(MAKE) -C btreplay 23- $(MAKE) -C btreplay
24+ CC="${CC}" CFLAGS="${CFLAGS}" $(MAKE) -C btreplay CC="${CC}" CFLAGS="${CFLAGS}" 24+ CC="${CC}" CFLAGS="${CFLAGS}" $(MAKE) -C btreplay CC="${CC}" CFLAGS="${CFLAGS}" btreplay
25 25
26 %.o: %.c 26 %.o: %.c
27 $(CC) -o $*.o -c $(ALL_CFLAGS) $< 27 $(CC) -o $*.o -c $(ALL_CFLAGS) $<
diff --git a/meta/recipes-kernel/blktrace/blktrace/dso_linking_change_build_fix.patch b/meta/recipes-kernel/blktrace/blktrace/dso_linking_change_build_fix.patch
new file mode 100644
index 0000000000..5b7433900d
--- /dev/null
+++ b/meta/recipes-kernel/blktrace/blktrace/dso_linking_change_build_fix.patch
@@ -0,0 +1,26 @@
1after gcc linking has changed, all the libraries must be explicitely specified
2This patch avoids this linking error:
3
4| make[1]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/blktrace-1.0.1+git0+1e09f6e9012826fca69fa07222b7bc53c3e629ee-r1/git/btreplay'^M
5| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -I. -I.. -I../btt -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -UCOUNT_IOS -UDEBUG -DNDEBUG -o btreplay btreplay.o -laio -lrt^M
6| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: >: invalid DSO for symbol `pthread_join@@GLIBC_2.0' definition^M
7| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/lib/libpthread.so.0: could not read symbols: Bad value^M
8| collect2: ld returned 1 exit status^M
9| make[1]: *** [btreplay] Error 1
10
11Nitin A Kamble <nitin.a.kamble@intel.com>
12Date: 2011/01/11
13
14Index: git/btreplay/Makefile
15===================================================================
16--- git.orig/btreplay/Makefile
17+++ git/btreplay/Makefile
18@@ -11,7 +11,7 @@ XCFLAGS = -D_GNU_SOURCE -D_LARGEFILE_SOU
19 override CFLAGS += $(INCS) $(XCFLAGS) $(OCFLAGS)
20
21 PROGS = btrecord btreplay
22-LIBS = -laio -lrt
23+LIBS = -laio -lrt -lpthread
24
25 all: depend $(PROGS)
26
diff --git a/meta/recipes-kernel/blktrace/blktrace_git.bb b/meta/recipes-kernel/blktrace/blktrace_git.bb
index 5690f1463b..7cd8127e8a 100644
--- a/meta/recipes-kernel/blktrace/blktrace_git.bb
+++ b/meta/recipes-kernel/blktrace/blktrace_git.bb
@@ -4,11 +4,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
4 4
5DEPENDS = "libaio" 5DEPENDS = "libaio"
6 6
7PR = r0 7PR = r2
8PV = "1.0.1+git${SRCPV}" 8PV = "1.0.1+git${SRCPV}"
9 9
10SRC_URI = "git://git.kernel.dk/blktrace.git;protocol=git \ 10SRC_URI = "git://git.kernel.dk/blktrace.git;protocol=git \
11 file://blktrace-makefile.patch" 11 file://blktrace-makefile.patch \
12 file://dso_linking_change_build_fix.patch"
12 13
13SRC_URI[md5sum] = "588aa9ab8a14d1766ab3f061d728ed89" 14SRC_URI[md5sum] = "588aa9ab8a14d1766ab3f061d728ed89"
14SRC_URI[sha256sum] = "f3cb6a3df1b3dc67369c7c4da3444a7897aa8a18e55937b368e0a6aa2f64b3aa" 15SRC_URI[sha256sum] = "f3cb6a3df1b3dc67369c7c4da3444a7897aa8a18e55937b368e0a6aa2f64b3aa"
diff --git a/meta/recipes-kernel/dtc/dtc-native_git.bb b/meta/recipes-kernel/dtc/dtc-native_git.bb
index 2d6f09217f..fd5bde5765 100644
--- a/meta/recipes-kernel/dtc/dtc-native_git.bb
+++ b/meta/recipes-kernel/dtc/dtc-native_git.bb
@@ -1,2 +1,5 @@
1LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \
2 file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c"
3
1require dtc-native.inc 4require dtc-native.inc
2require dtc_git.inc 5require dtc_git.inc
diff --git a/meta/recipes-kernel/dtc/dtc/remove_space_opt.patch b/meta/recipes-kernel/dtc/dtc/remove_space_opt.patch
new file mode 100644
index 0000000000..805bf58796
--- /dev/null
+++ b/meta/recipes-kernel/dtc/dtc/remove_space_opt.patch
@@ -0,0 +1,16 @@
1Remove the -Os flag
2
3Signed-off-by: Saul Wold <sgw@linux.intel.com>
4Index: git/Makefile
5===================================================================
6--- git.orig/Makefile
7+++ git/Makefile
8@@ -18,7 +18,7 @@ CONFIG_LOCALVERSION =
9 CPPFLAGS = -I libfdt
10 WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
11 -Wstrict-prototypes -Wmissing-prototypes
12-CFLAGS = -g -Os -fPIC -Werror $(WARNINGS)
13+CFLAGS = -g -fPIC -Werror $(WARNINGS)
14
15 BISON = bison
16 LEX = flex
diff --git a/meta/recipes-kernel/dtc/dtc_git.bb b/meta/recipes-kernel/dtc/dtc_git.bb
index 21f71e6e6a..1cca32cedb 100644
--- a/meta/recipes-kernel/dtc/dtc_git.bb
+++ b/meta/recipes-kernel/dtc/dtc_git.bb
@@ -4,3 +4,4 @@ LICENSE="GPLv2|BSD"
4LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \ 4LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \
5 file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c" 5 file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c"
6 6
7SRC_URI += " file://remove_space_opt.patch"
diff --git a/meta/recipes-kernel/dtc/dtc_git.inc b/meta/recipes-kernel/dtc/dtc_git.inc
index 9bcd636849..96542f999c 100644
--- a/meta/recipes-kernel/dtc/dtc_git.inc
+++ b/meta/recipes-kernel/dtc/dtc_git.inc
@@ -1,5 +1,5 @@
1SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git" 1SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git"
2PV = "1.2.0+git${SRCPV}" 2PV = "1.2.0+git${SRCPV}"
3PR = "r1" 3PR = "r2"
4 4
5S = "${WORKDIR}/git" 5S = "${WORKDIR}/git"
diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
index 7350746b8c..de5628cd02 100644
--- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
+++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
@@ -1,15 +1,15 @@
1DESCRIPTION = "Scripts and utilities for managing Wind River kernels." 1DESCRIPTION = "Scripts and utilities for managing Yocto branched kernels."
2LICENSE = "GPL" 2LICENSE = "GPL"
3LIC_FILES_CHKSUM = "file://git/tools/kgit;beginline=5;endline=9;md5=e2bf4415f3d843f43d2e22b0d91a6fee" 3LIC_FILES_CHKSUM = "file://git/tools/kgit;beginline=5;endline=9;md5=e2bf4415f3d843f43d2e22b0d91a6fee"
4 4
5DEPENDS = "git-native guilt-native" 5DEPENDS = "git-native guilt-native"
6 6
7PR = r8 7PR = r10
8PV = "0.1+git${SRCPV}" 8PV = "0.1+git${SRCPV}"
9 9
10inherit native 10inherit native
11 11
12SRC_URI = "git://git.pokylinux.org/wr-kernel-tools.git;protocol=git" 12SRC_URI = "git://git.pokylinux.org/yocto-kernel-tools.git;protocol=git"
13S = "${WORKDIR}" 13S = "${WORKDIR}"
14 14
15kern_tools_LIST = kgit kgit-init kgit-meta \ 15kern_tools_LIST = kgit kgit-init kgit-meta \
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
index a912c45e1f..3d3c579fa9 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb
@@ -18,7 +18,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.radeon_rlc;md5=4c243f7854d2884b483abda991adef
18 18
19PROVIDES += "linux-firmware-sd8686" 19PROVIDES += "linux-firmware-sd8686"
20 20
21PV = "0.0+git${SRCREV}" 21PV = "0.0+git${SRCPV}"
22 22
23SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git;protocol=git" 23SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git;protocol=git"
24 24
diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
index 0515233958..0d5835401e 100644
--- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
+++ b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb
@@ -6,14 +6,11 @@ B = "${S}"
6INHIBIT_DEFAULT_DEPS = "1" 6INHIBIT_DEFAULT_DEPS = "1"
7DEPENDS += "unifdef-native" 7DEPENDS += "unifdef-native"
8PROVIDES = "linux-libc-headers" 8PROVIDES = "linux-libc-headers"
9PV = "2.6.34+git-${SRCPV}" 9PV = "2.6.37+git-${SRCPV}"
10PR = "r1" 10PR = "r2"
11
12SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;fullclone=1"
13 11
14SRCREV_FORMAT = "meta_machine" 12SRCREV_FORMAT = "meta_machine"
15SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;fullclone=1;branch=${KBRANCH};name=machine \ 13SRC_URI = "git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
16 git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;noclone=1;branch=wrs_meta;name=meta"
17 14
18set_arch() { 15set_arch() {
19 case ${TARGET_ARCH} in 16 case ${TARGET_ARCH} in
diff --git a/meta/recipes-kernel/linux/linux-dtb.inc b/meta/recipes-kernel/linux/linux-dtb.inc
new file mode 100644
index 0000000000..0b27d18ded
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-dtb.inc
@@ -0,0 +1,27 @@
1# Support for device tree generation
2FILES_kernel_devicetree = "/boot/devicetree*"
3KERNEL_DEVICETREE_FLAGS = "-R 8 -p 0x3000"
4
5python __anonymous () {
6 import bb
7
8 devicetree = bb.data.getVar("KERNEL_DEVICETREE", d, 1) or ''
9 if devicetree:
10 depends = bb.data.getVar("DEPENDS", d, 1)
11 bb.data.setVar("DEPENDS", "%s dtc-native" % depends, d)
12 packages = bb.data.getVar("PACKAGES", d, 1)
13 bb.data.setVar("PACKAGES", "%s kernel-devicetree" % packages, d)
14}
15
16do_install_append() {
17 if test -n "${KERNEL_DEVICETREE}"; then
18 dtc -I dts -O dtb ${KERNEL_DEVICETREE_FLAGS} -o devicetree ${KERNEL_DEVICETREE}
19 install -m 0644 devicetree ${D}/boot/devicetree-${KERNEL_VERSION}
20 install -d ${DEPLOY_DIR_IMAGE}
21 install -m 0644 devicetree ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.dtb
22 cd ${DEPLOY_DIR_IMAGE}
23 rm -f ${KERNEL_IMAGE_SYMLINK_NAME}.dtb
24 ln -sf ${KERNEL_IMAGE_BASE_NAME}.dtb ${KERNEL_IMAGE_SYMLINK_NAME}.dtb
25 fi
26}
27
diff --git a/meta/recipes-kernel/linux/linux-dummy.bb b/meta/recipes-kernel/linux/linux-dummy.bb
index 3ea80b5374..518c74b317 100644
--- a/meta/recipes-kernel/linux/linux-dummy.bb
+++ b/meta/recipes-kernel/linux/linux-dummy.bb
@@ -2,6 +2,8 @@ SECTION = "kernel"
2DESCRIPTION = "Dummy Linux kernel" 2DESCRIPTION = "Dummy Linux kernel"
3LICENSE = "GPL" 3LICENSE = "GPL"
4 4
5LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
6
5PROVIDES += "virtual/kernel" 7PROVIDES += "virtual/kernel"
6 8
7PACKAGES_DYNAMIC += "kernel-module-*" 9PACKAGES_DYNAMIC += "kernel-module-*"
@@ -11,7 +13,8 @@ PACKAGES_DYNAMIC += "kernel-image-*"
11 13
12PR = "r1" 14PR = "r1"
13 15
14SRC_URI = "" 16SRC_URI = "file://COPYING.GPL"
17S = "${WORKDIR}"
15 18
16do_configure() { 19do_configure() {
17 : 20 :
diff --git a/meta/recipes-kernel/linux/linux-dummy/COPYING.GPL b/meta/recipes-kernel/linux/linux-dummy/COPYING.GPL
new file mode 100644
index 0000000000..d511905c16
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-dummy/COPYING.GPL
@@ -0,0 +1,339 @@
1 GNU GENERAL PUBLIC LICENSE
2 Version 2, June 1991
3
4 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6 Everyone is permitted to copy and distribute verbatim copies
7 of this license document, but changing it is not allowed.
8
9 Preamble
10
11 The licenses for most software are designed to take away your
12freedom to share and change it. By contrast, the GNU General Public
13License is intended to guarantee your freedom to share and change free
14software--to make sure the software is free for all its users. This
15General Public License applies to most of the Free Software
16Foundation's software and to any other program whose authors commit to
17using it. (Some other Free Software Foundation software is covered by
18the GNU Lesser General Public License instead.) You can apply it to
19your programs, too.
20
21 When we speak of free software, we are referring to freedom, not
22price. Our General Public Licenses are designed to make sure that you
23have the freedom to distribute copies of free software (and charge for
24this service if you wish), that you receive source code or can get it
25if you want it, that you can change the software or use pieces of it
26in new free programs; and that you know you can do these things.
27
28 To protect your rights, we need to make restrictions that forbid
29anyone to deny you these rights or to ask you to surrender the rights.
30These restrictions translate to certain responsibilities for you if you
31distribute copies of the software, or if you modify it.
32
33 For example, if you distribute copies of such a program, whether
34gratis or for a fee, you must give the recipients all the rights that
35you have. You must make sure that they, too, receive or can get the
36source code. And you must show them these terms so they know their
37rights.
38
39 We protect your rights with two steps: (1) copyright the software, and
40(2) offer you this license which gives you legal permission to copy,
41distribute and/or modify the software.
42
43 Also, for each author's protection and ours, we want to make certain
44that everyone understands that there is no warranty for this free
45software. If the software is modified by someone else and passed on, we
46want its recipients to know that what they have is not the original, so
47that any problems introduced by others will not reflect on the original
48authors' reputations.
49
50 Finally, any free program is threatened constantly by software
51patents. We wish to avoid the danger that redistributors of a free
52program will individually obtain patent licenses, in effect making the
53program proprietary. To prevent this, we have made it clear that any
54patent must be licensed for everyone's free use or not licensed at all.
55
56 The precise terms and conditions for copying, distribution and
57modification follow.
58
59 GNU GENERAL PUBLIC LICENSE
60 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
62 0. This License applies to any program or other work which contains
63a notice placed by the copyright holder saying it may be distributed
64under the terms of this General Public License. The "Program", below,
65refers to any such program or work, and a "work based on the Program"
66means either the Program or any derivative work under copyright law:
67that is to say, a work containing the Program or a portion of it,
68either verbatim or with modifications and/or translated into another
69language. (Hereinafter, translation is included without limitation in
70the term "modification".) Each licensee is addressed as "you".
71
72Activities other than copying, distribution and modification are not
73covered by this License; they are outside its scope. The act of
74running the Program is not restricted, and the output from the Program
75is covered only if its contents constitute a work based on the
76Program (independent of having been made by running the Program).
77Whether that is true depends on what the Program does.
78
79 1. You may copy and distribute verbatim copies of the Program's
80source code as you receive it, in any medium, provided that you
81conspicuously and appropriately publish on each copy an appropriate
82copyright notice and disclaimer of warranty; keep intact all the
83notices that refer to this License and to the absence of any warranty;
84and give any other recipients of the Program a copy of this License
85along with the Program.
86
87You may charge a fee for the physical act of transferring a copy, and
88you may at your option offer warranty protection in exchange for a fee.
89
90 2. You may modify your copy or copies of the Program or any portion
91of it, thus forming a work based on the Program, and copy and
92distribute such modifications or work under the terms of Section 1
93above, provided that you also meet all of these conditions:
94
95 a) You must cause the modified files to carry prominent notices
96 stating that you changed the files and the date of any change.
97
98 b) You must cause any work that you distribute or publish, that in
99 whole or in part contains or is derived from the Program or any
100 part thereof, to be licensed as a whole at no charge to all third
101 parties under the terms of this License.
102
103 c) If the modified program normally reads commands interactively
104 when run, you must cause it, when started running for such
105 interactive use in the most ordinary way, to print or display an
106 announcement including an appropriate copyright notice and a
107 notice that there is no warranty (or else, saying that you provide
108 a warranty) and that users may redistribute the program under
109 these conditions, and telling the user how to view a copy of this
110 License. (Exception: if the Program itself is interactive but
111 does not normally print such an announcement, your work based on
112 the Program is not required to print an announcement.)
113
114These requirements apply to the modified work as a whole. If
115identifiable sections of that work are not derived from the Program,
116and can be reasonably considered independent and separate works in
117themselves, then this License, and its terms, do not apply to those
118sections when you distribute them as separate works. But when you
119distribute the same sections as part of a whole which is a work based
120on the Program, the distribution of the whole must be on the terms of
121this License, whose permissions for other licensees extend to the
122entire whole, and thus to each and every part regardless of who wrote it.
123
124Thus, it is not the intent of this section to claim rights or contest
125your rights to work written entirely by you; rather, the intent is to
126exercise the right to control the distribution of derivative or
127collective works based on the Program.
128
129In addition, mere aggregation of another work not based on the Program
130with the Program (or with a work based on the Program) on a volume of
131a storage or distribution medium does not bring the other work under
132the scope of this License.
133
134 3. You may copy and distribute the Program (or a work based on it,
135under Section 2) in object code or executable form under the terms of
136Sections 1 and 2 above provided that you also do one of the following:
137
138 a) Accompany it with the complete corresponding machine-readable
139 source code, which must be distributed under the terms of Sections
140 1 and 2 above on a medium customarily used for software interchange; or,
141
142 b) Accompany it with a written offer, valid for at least three
143 years, to give any third party, for a charge no more than your
144 cost of physically performing source distribution, a complete
145 machine-readable copy of the corresponding source code, to be
146 distributed under the terms of Sections 1 and 2 above on a medium
147 customarily used for software interchange; or,
148
149 c) Accompany it with the information you received as to the offer
150 to distribute corresponding source code. (This alternative is
151 allowed only for noncommercial distribution and only if you
152 received the program in object code or executable form with such
153 an offer, in accord with Subsection b above.)
154
155The source code for a work means the preferred form of the work for
156making modifications to it. For an executable work, complete source
157code means all the source code for all modules it contains, plus any
158associated interface definition files, plus the scripts used to
159control compilation and installation of the executable. However, as a
160special exception, the source code distributed need not include
161anything that is normally distributed (in either source or binary
162form) with the major components (compiler, kernel, and so on) of the
163operating system on which the executable runs, unless that component
164itself accompanies the executable.
165
166If distribution of executable or object code is made by offering
167access to copy from a designated place, then offering equivalent
168access to copy the source code from the same place counts as
169distribution of the source code, even though third parties are not
170compelled to copy the source along with the object code.
171
172 4. You may not copy, modify, sublicense, or distribute the Program
173except as expressly provided under this License. Any attempt
174otherwise to copy, modify, sublicense or distribute the Program is
175void, and will automatically terminate your rights under this License.
176However, parties who have received copies, or rights, from you under
177this License will not have their licenses terminated so long as such
178parties remain in full compliance.
179
180 5. You are not required to accept this License, since you have not
181signed it. However, nothing else grants you permission to modify or
182distribute the Program or its derivative works. These actions are
183prohibited by law if you do not accept this License. Therefore, by
184modifying or distributing the Program (or any work based on the
185Program), you indicate your acceptance of this License to do so, and
186all its terms and conditions for copying, distributing or modifying
187the Program or works based on it.
188
189 6. Each time you redistribute the Program (or any work based on the
190Program), the recipient automatically receives a license from the
191original licensor to copy, distribute or modify the Program subject to
192these terms and conditions. You may not impose any further
193restrictions on the recipients' exercise of the rights granted herein.
194You are not responsible for enforcing compliance by third parties to
195this License.
196
197 7. If, as a consequence of a court judgment or allegation of patent
198infringement or for any other reason (not limited to patent issues),
199conditions are imposed on you (whether by court order, agreement or
200otherwise) that contradict the conditions of this License, they do not
201excuse you from the conditions of this License. If you cannot
202distribute so as to satisfy simultaneously your obligations under this
203License and any other pertinent obligations, then as a consequence you
204may not distribute the Program at all. For example, if a patent
205license would not permit royalty-free redistribution of the Program by
206all those who receive copies directly or indirectly through you, then
207the only way you could satisfy both it and this License would be to
208refrain entirely from distribution of the Program.
209
210If any portion of this section is held invalid or unenforceable under
211any particular circumstance, the balance of the section is intended to
212apply and the section as a whole is intended to apply in other
213circumstances.
214
215It is not the purpose of this section to induce you to infringe any
216patents or other property right claims or to contest validity of any
217such claims; this section has the sole purpose of protecting the
218integrity of the free software distribution system, which is
219implemented by public license practices. Many people have made
220generous contributions to the wide range of software distributed
221through that system in reliance on consistent application of that
222system; it is up to the author/donor to decide if he or she is willing
223to distribute software through any other system and a licensee cannot
224impose that choice.
225
226This section is intended to make thoroughly clear what is believed to
227be a consequence of the rest of this License.
228
229 8. If the distribution and/or use of the Program is restricted in
230certain countries either by patents or by copyrighted interfaces, the
231original copyright holder who places the Program under this License
232may add an explicit geographical distribution limitation excluding
233those countries, so that distribution is permitted only in or among
234countries not thus excluded. In such case, this License incorporates
235the limitation as if written in the body of this License.
236
237 9. The Free Software Foundation may publish revised and/or new versions
238of the General Public License from time to time. Such new versions will
239be similar in spirit to the present version, but may differ in detail to
240address new problems or concerns.
241
242Each version is given a distinguishing version number. If the Program
243specifies a version number of this License which applies to it and "any
244later version", you have the option of following the terms and conditions
245either of that version or of any later version published by the Free
246Software Foundation. If the Program does not specify a version number of
247this License, you may choose any version ever published by the Free Software
248Foundation.
249
250 10. If you wish to incorporate parts of the Program into other free
251programs whose distribution conditions are different, write to the author
252to ask for permission. For software which is copyrighted by the Free
253Software Foundation, write to the Free Software Foundation; we sometimes
254make exceptions for this. Our decision will be guided by the two goals
255of preserving the free status of all derivatives of our free software and
256of promoting the sharing and reuse of software generally.
257
258 NO WARRANTY
259
260 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268REPAIR OR CORRECTION.
269
270 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278POSSIBILITY OF SUCH DAMAGES.
279
280 END OF TERMS AND CONDITIONS
281
282 How to Apply These Terms to Your New Programs
283
284 If you develop a new program, and you want it to be of the greatest
285possible use to the public, the best way to achieve this is to make it
286free software which everyone can redistribute and change under these terms.
287
288 To do so, attach the following notices to the program. It is safest
289to attach them to the start of each source file to most effectively
290convey the exclusion of warranty; and each file should have at least
291the "copyright" line and a pointer to where the full notice is found.
292
293 <one line to give the program's name and a brief idea of what it does.>
294 Copyright (C) <year> <name of author>
295
296 This program is free software; you can redistribute it and/or modify
297 it under the terms of the GNU General Public License as published by
298 the Free Software Foundation; either version 2 of the License, or
299 (at your option) any later version.
300
301 This program is distributed in the hope that it will be useful,
302 but WITHOUT ANY WARRANTY; without even the implied warranty of
303 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304 GNU General Public License for more details.
305
306 You should have received a copy of the GNU General Public License along
307 with this program; if not, write to the Free Software Foundation, Inc.,
308 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
310Also add information on how to contact you by electronic and paper mail.
311
312If the program is interactive, make it output a short notice like this
313when it starts in an interactive mode:
314
315 Gnomovision version 69, Copyright (C) year name of author
316 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317 This is free software, and you are welcome to redistribute it
318 under certain conditions; type `show c' for details.
319
320The hypothetical commands `show w' and `show c' should show the appropriate
321parts of the General Public License. Of course, the commands you use may
322be called something other than `show w' and `show c'; they could even be
323mouse-clicks or menu items--whatever suits your program.
324
325You should also get your employer (if you work as a programmer) or your
326school, if any, to sign a "copyright disclaimer" for the program, if
327necessary. Here is a sample; alter the names:
328
329 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330 `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
332 <signature of Ty Coon>, 1 April 1989
333 Ty Coon, President of Vice
334
335This General Public License does not permit incorporating your program into
336proprietary programs. If your program is a subroutine library, you may
337consider it more useful to permit linking proprietary applications with the
338library. If this is what you want to do, use the GNU Lesser General
339Public License instead of this License.
diff --git a/meta/recipes-kernel/linux/linux-igep_2.6.33.5.bb b/meta/recipes-kernel/linux/linux-igep_2.6.33.5.bb
index 6e961b7efd..4cb7f40899 100644
--- a/meta/recipes-kernel/linux/linux-igep_2.6.33.5.bb
+++ b/meta/recipes-kernel/linux/linux-igep_2.6.33.5.bb
@@ -1,6 +1,7 @@
1DESCRIPTION = "2.6 Linux Kernel for IGEP based platforms" 1DESCRIPTION = "2.6 Linux Kernel for IGEP based platforms"
2SECTION = "kernel" 2SECTION = "kernel"
3LICENSE = "GPL" 3LICENSE = "GPL"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7 "
4 5
5DEFAULT_PREFERENCE = "-1" 6DEFAULT_PREFERENCE = "-1"
6DEFAULT_PREFERENCE_igep0020 = "1" 7DEFAULT_PREFERENCE_igep0020 = "1"
diff --git a/meta/recipes-kernel/linux/linux-omap2_git.bb b/meta/recipes-kernel/linux/linux-omap2_git.bb
index 39d08b714e..c29396f1ea 100644
--- a/meta/recipes-kernel/linux/linux-omap2_git.bb
+++ b/meta/recipes-kernel/linux/linux-omap2_git.bb
@@ -3,7 +3,7 @@ require linux-omap2.inc
3FILESPATH = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/linux-omap2-git/${MACHINE}:${@os.path.dirname(bb.data.getVar('FILE',d,1))}/linux-omap2-git" 3FILESPATH = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/linux-omap2-git/${MACHINE}:${@os.path.dirname(bb.data.getVar('FILE',d,1))}/linux-omap2-git"
4 4
5PV = "2.6.26" 5PV = "2.6.26"
6#PV = "2.6.26+2.6.27-rc1+${PR}+git${SRCREV}" 6#PV = "2.6.26+2.6.27-rc1+${PR}+git${SRCPV}"
7PR = "r53" 7PR = "r53"
8 8
9SRC_URI = "git://source.mvista.com/git/linux-omap-2.6.git;protocol=git \ 9SRC_URI = "git://source.mvista.com/git/linux-omap-2.6.git;protocol=git \
diff --git a/meta/recipes-kernel/linux/linux-omap3-pm_git.bb b/meta/recipes-kernel/linux/linux-omap3-pm_git.bb
index 4acf7934a1..d65ca50415 100644
--- a/meta/recipes-kernel/linux/linux-omap3-pm_git.bb
+++ b/meta/recipes-kernel/linux/linux-omap3-pm_git.bb
@@ -6,7 +6,7 @@ inherit kernel
6 6
7FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/${PN}-git/${MACHINE}" 7FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/${PN}-git/${MACHINE}"
8 8
9PV = "2.6.31-rc7+pm+${PR}+git${SRCREV}" 9PV = "2.6.31-rc7+pm+${PR}+git${SRCPV}"
10PR = "r3" 10PR = "r3"
11 11
12SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git;branch=pm;protocol=git" 12SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git;branch=pm;protocol=git"
diff --git a/meta/recipes-kernel/linux/linux-omap3_git.bb b/meta/recipes-kernel/linux/linux-omap3_git.bb
index f25c2c72fb..3d38ef2624 100644
--- a/meta/recipes-kernel/linux/linux-omap3_git.bb
+++ b/meta/recipes-kernel/linux/linux-omap3_git.bb
@@ -2,7 +2,7 @@ require linux-omap2.inc
2 2
3FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/linux-omap3-git/${MACHINE}" 3FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/linux-omap3-git/${MACHINE}"
4 4
5PV = "2.6.27-rc6+${PR}+git${SRCREV}" 5PV = "2.6.27-rc6+${PR}+git${SRCPV}"
6PR = "r30" 6PR = "r30"
7 7
8SRC_URI = "git://source.mvista.com/git/linux-omap-2.6.git;branch=master;protocol=git \ 8SRC_URI = "git://source.mvista.com/git/linux-omap-2.6.git;branch=master;protocol=git \
diff --git a/meta/recipes-kernel/linux/linux-rp-2.6.23/defconfig-bootcdx86 b/meta/recipes-kernel/linux/linux-rp-2.6.23/defconfig-bootcdx86
deleted file mode 100644
index 244df733ac..0000000000
--- a/meta/recipes-kernel/linux/linux-rp-2.6.23/defconfig-bootcdx86
+++ /dev/null
@@ -1,1579 +0,0 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.23
4# Wed Feb 6 18:24:38 2008
5#
6CONFIG_X86_32=y
7CONFIG_GENERIC_TIME=y
8CONFIG_GENERIC_CMOS_UPDATE=y
9CONFIG_CLOCKSOURCE_WATCHDOG=y
10CONFIG_GENERIC_CLOCKEVENTS=y
11CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
12CONFIG_LOCKDEP_SUPPORT=y
13CONFIG_STACKTRACE_SUPPORT=y
14CONFIG_SEMAPHORE_SLEEPERS=y
15CONFIG_X86=y
16CONFIG_MMU=y
17CONFIG_ZONE_DMA=y
18CONFIG_QUICKLIST=y
19CONFIG_GENERIC_ISA_DMA=y
20CONFIG_GENERIC_IOMAP=y
21CONFIG_GENERIC_BUG=y
22CONFIG_GENERIC_HWEIGHT=y
23CONFIG_ARCH_MAY_HAVE_PC_FDC=y
24CONFIG_DMI=y
25CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
26
27#
28# General setup
29#
30CONFIG_EXPERIMENTAL=y
31CONFIG_LOCK_KERNEL=y
32CONFIG_INIT_ENV_ARG_LIMIT=32
33CONFIG_LOCALVERSION=""
34# CONFIG_LOCALVERSION_AUTO is not set
35CONFIG_SWAP=y
36CONFIG_SYSVIPC=y
37CONFIG_SYSVIPC_SYSCTL=y
38CONFIG_POSIX_MQUEUE=y
39# CONFIG_BSD_PROCESS_ACCT is not set
40# CONFIG_TASKSTATS is not set
41# CONFIG_USER_NS is not set
42CONFIG_AUDIT=y
43CONFIG_AUDITSYSCALL=y
44# CONFIG_IKCONFIG is not set
45CONFIG_LOG_BUF_SHIFT=15
46# CONFIG_CPUSETS is not set
47# CONFIG_SYSFS_DEPRECATED is not set
48# CONFIG_RELAY is not set
49CONFIG_BLK_DEV_INITRD=y
50CONFIG_INITRAMFS_SOURCE=""
51# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
52CONFIG_SYSCTL=y
53CONFIG_EMBEDDED=y
54CONFIG_UID16=y
55CONFIG_SYSCTL_SYSCALL=y
56CONFIG_KALLSYMS=y
57# CONFIG_KALLSYMS_EXTRA_PASS is not set
58CONFIG_HOTPLUG=y
59CONFIG_PRINTK=y
60CONFIG_BUG=y
61CONFIG_ELF_CORE=y
62CONFIG_BASE_FULL=y
63CONFIG_FUTEX=y
64CONFIG_ANON_INODES=y
65CONFIG_EPOLL=y
66CONFIG_SIGNALFD=y
67CONFIG_EVENTFD=y
68CONFIG_SHMEM=y
69CONFIG_VM_EVENT_COUNTERS=y
70CONFIG_SLAB=y
71# CONFIG_SLUB is not set
72# CONFIG_SLOB is not set
73CONFIG_RT_MUTEXES=y
74# CONFIG_TINY_SHMEM is not set
75CONFIG_BASE_SMALL=0
76CONFIG_MODULES=y
77# CONFIG_MODULE_UNLOAD is not set
78# CONFIG_MODVERSIONS is not set
79# CONFIG_MODULE_SRCVERSION_ALL is not set
80CONFIG_KMOD=y
81CONFIG_STOP_MACHINE=y
82CONFIG_BLOCK=y
83# CONFIG_LBD is not set
84# CONFIG_BLK_DEV_IO_TRACE is not set
85# CONFIG_LSF is not set
86# CONFIG_BLK_DEV_BSG is not set
87
88#
89# IO Schedulers
90#
91CONFIG_IOSCHED_NOOP=y
92# CONFIG_IOSCHED_AS is not set
93# CONFIG_IOSCHED_DEADLINE is not set
94CONFIG_IOSCHED_CFQ=y
95# CONFIG_DEFAULT_AS is not set
96# CONFIG_DEFAULT_DEADLINE is not set
97CONFIG_DEFAULT_CFQ=y
98# CONFIG_DEFAULT_NOOP is not set
99CONFIG_DEFAULT_IOSCHED="cfq"
100
101#
102# Processor type and features
103#
104CONFIG_TICK_ONESHOT=y
105CONFIG_NO_HZ=y
106CONFIG_HIGH_RES_TIMERS=y
107CONFIG_SMP=y
108CONFIG_X86_PC=y
109# CONFIG_X86_ELAN is not set
110# CONFIG_X86_VOYAGER is not set
111# CONFIG_X86_NUMAQ is not set
112# CONFIG_X86_SUMMIT is not set
113# CONFIG_X86_BIGSMP is not set
114# CONFIG_X86_VISWS is not set
115# CONFIG_X86_GENERICARCH is not set
116# CONFIG_X86_ES7000 is not set
117# CONFIG_PARAVIRT is not set
118# CONFIG_M386 is not set
119# CONFIG_M486 is not set
120# CONFIG_M586 is not set
121# CONFIG_M586TSC is not set
122# CONFIG_M586MMX is not set
123# CONFIG_M686 is not set
124CONFIG_MPENTIUMII=y
125# CONFIG_MPENTIUMIII is not set
126# CONFIG_MPENTIUMM is not set
127# CONFIG_MCORE2 is not set
128# CONFIG_MPENTIUM4 is not set
129# CONFIG_MK6 is not set
130# CONFIG_MK7 is not set
131# CONFIG_MK8 is not set
132# CONFIG_MCRUSOE is not set
133# CONFIG_MEFFICEON is not set
134# CONFIG_MWINCHIPC6 is not set
135# CONFIG_MWINCHIP2 is not set
136# CONFIG_MWINCHIP3D is not set
137# CONFIG_MGEODEGX1 is not set
138# CONFIG_MGEODE_LX is not set
139# CONFIG_MCYRIXIII is not set
140# CONFIG_MVIAC3_2 is not set
141# CONFIG_MVIAC7 is not set
142CONFIG_X86_GENERIC=y
143CONFIG_X86_CMPXCHG=y
144CONFIG_X86_L1_CACHE_SHIFT=7
145CONFIG_X86_XADD=y
146CONFIG_RWSEM_XCHGADD_ALGORITHM=y
147# CONFIG_ARCH_HAS_ILOG2_U32 is not set
148# CONFIG_ARCH_HAS_ILOG2_U64 is not set
149CONFIG_GENERIC_CALIBRATE_DELAY=y
150CONFIG_X86_WP_WORKS_OK=y
151CONFIG_X86_INVLPG=y
152CONFIG_X86_BSWAP=y
153CONFIG_X86_POPAD_OK=y
154CONFIG_X86_GOOD_APIC=y
155CONFIG_X86_INTEL_USERCOPY=y
156CONFIG_X86_USE_PPRO_CHECKSUM=y
157CONFIG_X86_TSC=y
158CONFIG_X86_CMOV=y
159CONFIG_X86_MINIMUM_CPU_FAMILY=4
160CONFIG_HPET_TIMER=y
161CONFIG_NR_CPUS=8
162CONFIG_SCHED_SMT=y
163CONFIG_SCHED_MC=y
164CONFIG_PREEMPT_NONE=y
165# CONFIG_PREEMPT_VOLUNTARY is not set
166# CONFIG_PREEMPT is not set
167CONFIG_PREEMPT_BKL=y
168CONFIG_X86_LOCAL_APIC=y
169CONFIG_X86_IO_APIC=y
170CONFIG_X86_MCE=y
171CONFIG_X86_MCE_NONFATAL=y
172CONFIG_X86_MCE_P4THERMAL=y
173CONFIG_VM86=y
174# CONFIG_TOSHIBA is not set
175# CONFIG_I8K is not set
176# CONFIG_X86_REBOOTFIXUPS is not set
177# CONFIG_MICROCODE is not set
178# CONFIG_X86_MSR is not set
179# CONFIG_X86_CPUID is not set
180
181#
182# Firmware Drivers
183#
184# CONFIG_EDD is not set
185# CONFIG_DELL_RBU is not set
186# CONFIG_DCDBAS is not set
187CONFIG_DMIID=y
188CONFIG_NOHIGHMEM=y
189# CONFIG_HIGHMEM4G is not set
190# CONFIG_HIGHMEM64G is not set
191CONFIG_VMSPLIT_3G=y
192# CONFIG_VMSPLIT_3G_OPT is not set
193# CONFIG_VMSPLIT_2G is not set
194# CONFIG_VMSPLIT_2G_OPT is not set
195# CONFIG_VMSPLIT_1G is not set
196CONFIG_PAGE_OFFSET=0xC0000000
197# CONFIG_X86_PAE is not set
198CONFIG_ARCH_FLATMEM_ENABLE=y
199CONFIG_ARCH_SPARSEMEM_ENABLE=y
200CONFIG_ARCH_SELECT_MEMORY_MODEL=y
201CONFIG_ARCH_POPULATES_NODE_MAP=y
202CONFIG_SELECT_MEMORY_MODEL=y
203CONFIG_FLATMEM_MANUAL=y
204# CONFIG_DISCONTIGMEM_MANUAL is not set
205# CONFIG_SPARSEMEM_MANUAL is not set
206CONFIG_FLATMEM=y
207CONFIG_FLAT_NODE_MEM_MAP=y
208CONFIG_SPARSEMEM_STATIC=y
209CONFIG_SPLIT_PTLOCK_CPUS=4
210# CONFIG_RESOURCES_64BIT is not set
211CONFIG_ZONE_DMA_FLAG=1
212CONFIG_BOUNCE=y
213CONFIG_NR_QUICK=1
214CONFIG_VIRT_TO_BUS=y
215# CONFIG_MATH_EMULATION is not set
216CONFIG_MTRR=y
217# CONFIG_EFI is not set
218CONFIG_IRQBALANCE=y
219CONFIG_SECCOMP=y
220# CONFIG_HZ_100 is not set
221CONFIG_HZ_250=y
222# CONFIG_HZ_300 is not set
223# CONFIG_HZ_1000 is not set
224CONFIG_HZ=250
225CONFIG_KEXEC=y
226CONFIG_PHYSICAL_START=0x100000
227# CONFIG_RELOCATABLE is not set
228CONFIG_PHYSICAL_ALIGN=0x100000
229CONFIG_HOTPLUG_CPU=y
230# CONFIG_COMPAT_VDSO is not set
231
232#
233# Power management options (ACPI, APM)
234#
235CONFIG_PM=y
236CONFIG_PM_LEGACY=y
237# CONFIG_PM_DEBUG is not set
238CONFIG_PM_SLEEP_SMP=y
239CONFIG_PM_SLEEP=y
240CONFIG_SUSPEND_SMP_POSSIBLE=y
241CONFIG_SUSPEND=y
242CONFIG_HIBERNATION_SMP_POSSIBLE=y
243# CONFIG_HIBERNATION is not set
244CONFIG_ACPI=y
245CONFIG_ACPI_SLEEP=y
246CONFIG_ACPI_PROCFS=y
247CONFIG_ACPI_PROC_EVENT=y
248CONFIG_ACPI_AC=y
249CONFIG_ACPI_BATTERY=y
250CONFIG_ACPI_BUTTON=y
251CONFIG_ACPI_FAN=y
252# CONFIG_ACPI_DOCK is not set
253CONFIG_ACPI_PROCESSOR=y
254CONFIG_ACPI_HOTPLUG_CPU=y
255CONFIG_ACPI_THERMAL=y
256# CONFIG_ACPI_ASUS is not set
257# CONFIG_ACPI_TOSHIBA is not set
258CONFIG_ACPI_BLACKLIST_YEAR=0
259# CONFIG_ACPI_DEBUG is not set
260CONFIG_ACPI_EC=y
261CONFIG_ACPI_POWER=y
262CONFIG_ACPI_SYSTEM=y
263CONFIG_X86_PM_TIMER=y
264CONFIG_ACPI_CONTAINER=y
265# CONFIG_ACPI_SBS is not set
266# CONFIG_APM is not set
267
268#
269# CPU Frequency scaling
270#
271# CONFIG_CPU_FREQ is not set
272
273#
274# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
275#
276CONFIG_PCI=y
277# CONFIG_PCI_GOBIOS is not set
278# CONFIG_PCI_GOMMCONFIG is not set
279# CONFIG_PCI_GODIRECT is not set
280CONFIG_PCI_GOANY=y
281CONFIG_PCI_BIOS=y
282CONFIG_PCI_DIRECT=y
283CONFIG_PCI_MMCONFIG=y
284CONFIG_PCIEPORTBUS=y
285CONFIG_PCIEAER=y
286CONFIG_ARCH_SUPPORTS_MSI=y
287CONFIG_PCI_MSI=y
288CONFIG_HT_IRQ=y
289CONFIG_ISA_DMA_API=y
290CONFIG_ISA=y
291# CONFIG_EISA is not set
292# CONFIG_MCA is not set
293# CONFIG_SCx200 is not set
294CONFIG_K8_NB=y
295
296#
297# PCCARD (PCMCIA/CardBus) support
298#
299# CONFIG_PCCARD is not set
300# CONFIG_HOTPLUG_PCI is not set
301
302#
303# Executable file formats
304#
305CONFIG_BINFMT_ELF=y
306# CONFIG_BINFMT_AOUT is not set
307# CONFIG_BINFMT_MISC is not set
308
309#
310# Networking
311#
312CONFIG_NET=y
313
314#
315# Networking options
316#
317CONFIG_PACKET=m
318# CONFIG_PACKET_MMAP is not set
319CONFIG_UNIX=y
320# CONFIG_NET_KEY is not set
321CONFIG_INET=y
322CONFIG_IP_MULTICAST=y
323# CONFIG_IP_ADVANCED_ROUTER is not set
324CONFIG_IP_FIB_HASH=y
325CONFIG_IP_PNP=y
326CONFIG_IP_PNP_DHCP=y
327CONFIG_IP_PNP_BOOTP=y
328# CONFIG_IP_PNP_RARP is not set
329# CONFIG_NET_IPIP is not set
330# CONFIG_NET_IPGRE is not set
331# CONFIG_IP_MROUTE is not set
332# CONFIG_ARPD is not set
333# CONFIG_SYN_COOKIES is not set
334# CONFIG_INET_AH is not set
335# CONFIG_INET_ESP is not set
336# CONFIG_INET_IPCOMP is not set
337# CONFIG_INET_XFRM_TUNNEL is not set
338# CONFIG_INET_TUNNEL is not set
339# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
340# CONFIG_INET_XFRM_MODE_TUNNEL is not set
341# CONFIG_INET_XFRM_MODE_BEET is not set
342CONFIG_INET_DIAG=y
343CONFIG_INET_TCP_DIAG=y
344# CONFIG_TCP_CONG_ADVANCED is not set
345CONFIG_TCP_CONG_CUBIC=y
346CONFIG_DEFAULT_TCP_CONG="cubic"
347# CONFIG_TCP_MD5SIG is not set
348# CONFIG_IP_VS is not set
349# CONFIG_IPV6 is not set
350# CONFIG_INET6_XFRM_TUNNEL is not set
351# CONFIG_INET6_TUNNEL is not set
352# CONFIG_NETWORK_SECMARK is not set
353CONFIG_NETFILTER=y
354# CONFIG_NETFILTER_DEBUG is not set
355
356#
357# Core Netfilter Configuration
358#
359# CONFIG_NETFILTER_NETLINK is not set
360# CONFIG_NF_CONNTRACK_ENABLED is not set
361# CONFIG_NF_CONNTRACK is not set
362CONFIG_NETFILTER_XTABLES=m
363# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set
364# CONFIG_NETFILTER_XT_TARGET_DSCP is not set
365# CONFIG_NETFILTER_XT_TARGET_MARK is not set
366# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set
367# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
368# CONFIG_NETFILTER_XT_TARGET_TRACE is not set
369# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set
370# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set
371# CONFIG_NETFILTER_XT_MATCH_DCCP is not set
372# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
373# CONFIG_NETFILTER_XT_MATCH_ESP is not set
374# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set
375# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set
376# CONFIG_NETFILTER_XT_MATCH_MAC is not set
377# CONFIG_NETFILTER_XT_MATCH_MARK is not set
378# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set
379# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
380# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
381# CONFIG_NETFILTER_XT_MATCH_REALM is not set
382# CONFIG_NETFILTER_XT_MATCH_SCTP is not set
383# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set
384# CONFIG_NETFILTER_XT_MATCH_STRING is not set
385# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set
386# CONFIG_NETFILTER_XT_MATCH_U32 is not set
387# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
388
389#
390# IP: Netfilter Configuration
391#
392CONFIG_IP_NF_QUEUE=m
393CONFIG_IP_NF_IPTABLES=m
394CONFIG_IP_NF_MATCH_IPRANGE=m
395CONFIG_IP_NF_MATCH_TOS=m
396CONFIG_IP_NF_MATCH_RECENT=m
397CONFIG_IP_NF_MATCH_ECN=m
398CONFIG_IP_NF_MATCH_AH=m
399CONFIG_IP_NF_MATCH_TTL=m
400CONFIG_IP_NF_MATCH_OWNER=m
401CONFIG_IP_NF_MATCH_ADDRTYPE=m
402CONFIG_IP_NF_FILTER=m
403CONFIG_IP_NF_TARGET_REJECT=m
404CONFIG_IP_NF_TARGET_LOG=m
405CONFIG_IP_NF_TARGET_ULOG=m
406CONFIG_IP_NF_MANGLE=m
407CONFIG_IP_NF_TARGET_TOS=m
408CONFIG_IP_NF_TARGET_ECN=m
409CONFIG_IP_NF_TARGET_TTL=m
410CONFIG_IP_NF_RAW=m
411CONFIG_IP_NF_ARPTABLES=m
412CONFIG_IP_NF_ARPFILTER=m
413CONFIG_IP_NF_ARP_MANGLE=m
414# CONFIG_IP_DCCP is not set
415# CONFIG_IP_SCTP is not set
416# CONFIG_TIPC is not set
417# CONFIG_ATM is not set
418# CONFIG_BRIDGE is not set
419# CONFIG_VLAN_8021Q is not set
420# CONFIG_DECNET is not set
421# CONFIG_LLC2 is not set
422# CONFIG_IPX is not set
423# CONFIG_ATALK is not set
424# CONFIG_X25 is not set
425# CONFIG_LAPB is not set
426# CONFIG_ECONET is not set
427# CONFIG_WAN_ROUTER is not set
428
429#
430# QoS and/or fair queueing
431#
432# CONFIG_NET_SCHED is not set
433
434#
435# Network testing
436#
437# CONFIG_NET_PKTGEN is not set
438# CONFIG_HAMRADIO is not set
439# CONFIG_IRDA is not set
440# CONFIG_BT is not set
441# CONFIG_AF_RXRPC is not set
442
443#
444# Wireless
445#
446# CONFIG_CFG80211 is not set
447# CONFIG_WIRELESS_EXT is not set
448# CONFIG_MAC80211 is not set
449# CONFIG_IEEE80211 is not set
450# CONFIG_RFKILL is not set
451# CONFIG_NET_9P is not set
452
453#
454# Device Drivers
455#
456
457#
458# Generic Driver Options
459#
460CONFIG_STANDALONE=y
461CONFIG_PREVENT_FIRMWARE_BUILD=y
462CONFIG_FW_LOADER=m
463# CONFIG_SYS_HYPERVISOR is not set
464CONFIG_CONNECTOR=y
465CONFIG_PROC_EVENTS=y
466# CONFIG_MTD is not set
467# CONFIG_PARPORT is not set
468CONFIG_PNP=y
469# CONFIG_PNP_DEBUG is not set
470
471#
472# Protocols
473#
474# CONFIG_ISAPNP is not set
475# CONFIG_PNPBIOS is not set
476CONFIG_PNPACPI=y
477CONFIG_BLK_DEV=y
478# CONFIG_BLK_DEV_FD is not set
479# CONFIG_BLK_DEV_XD is not set
480# CONFIG_BLK_CPQ_DA is not set
481# CONFIG_BLK_CPQ_CISS_DA is not set
482# CONFIG_BLK_DEV_DAC960 is not set
483# CONFIG_BLK_DEV_UMEM is not set
484# CONFIG_BLK_DEV_COW_COMMON is not set
485# CONFIG_BLK_DEV_LOOP is not set
486# CONFIG_BLK_DEV_NBD is not set
487# CONFIG_BLK_DEV_SX8 is not set
488# CONFIG_BLK_DEV_UB is not set
489CONFIG_BLK_DEV_RAM=y
490CONFIG_BLK_DEV_RAM_COUNT=1
491CONFIG_BLK_DEV_RAM_SIZE=81920
492CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
493# CONFIG_CDROM_PKTCDVD is not set
494# CONFIG_ATA_OVER_ETH is not set
495CONFIG_MISC_DEVICES=y
496# CONFIG_IBM_ASM is not set
497# CONFIG_PHANTOM is not set
498# CONFIG_EEPROM_93CX6 is not set
499# CONFIG_SGI_IOC4 is not set
500# CONFIG_TIFM_CORE is not set
501# CONFIG_SONY_LAPTOP is not set
502# CONFIG_THINKPAD_ACPI is not set
503# CONFIG_IDE is not set
504
505#
506# SCSI device support
507#
508# CONFIG_RAID_ATTRS is not set
509CONFIG_SCSI=y
510CONFIG_SCSI_DMA=y
511# CONFIG_SCSI_TGT is not set
512# CONFIG_SCSI_NETLINK is not set
513CONFIG_SCSI_PROC_FS=y
514
515#
516# SCSI support type (disk, tape, CD-ROM)
517#
518CONFIG_BLK_DEV_SD=y
519# CONFIG_CHR_DEV_ST is not set
520# CONFIG_CHR_DEV_OSST is not set
521# CONFIG_BLK_DEV_SR is not set
522CONFIG_CHR_DEV_SG=y
523# CONFIG_CHR_DEV_SCH is not set
524
525#
526# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
527#
528CONFIG_SCSI_MULTI_LUN=y
529# CONFIG_SCSI_CONSTANTS is not set
530# CONFIG_SCSI_LOGGING is not set
531# CONFIG_SCSI_SCAN_ASYNC is not set
532CONFIG_SCSI_WAIT_SCAN=m
533
534#
535# SCSI Transports
536#
537# CONFIG_SCSI_SPI_ATTRS is not set
538# CONFIG_SCSI_FC_ATTRS is not set
539# CONFIG_SCSI_ISCSI_ATTRS is not set
540# CONFIG_SCSI_SAS_LIBSAS is not set
541CONFIG_SCSI_LOWLEVEL=y
542# CONFIG_ISCSI_TCP is not set
543# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
544# CONFIG_SCSI_3W_9XXX is not set
545# CONFIG_SCSI_7000FASST is not set
546# CONFIG_SCSI_ACARD is not set
547# CONFIG_SCSI_AHA152X is not set
548# CONFIG_SCSI_AHA1542 is not set
549# CONFIG_SCSI_AACRAID is not set
550# CONFIG_SCSI_AIC7XXX is not set
551# CONFIG_SCSI_AIC7XXX_OLD is not set
552# CONFIG_SCSI_AIC79XX is not set
553# CONFIG_SCSI_AIC94XX is not set
554# CONFIG_SCSI_DPT_I2O is not set
555# CONFIG_SCSI_ADVANSYS is not set
556# CONFIG_SCSI_IN2000 is not set
557# CONFIG_SCSI_ARCMSR is not set
558# CONFIG_MEGARAID_NEWGEN is not set
559# CONFIG_MEGARAID_LEGACY is not set
560# CONFIG_MEGARAID_SAS is not set
561# CONFIG_SCSI_HPTIOP is not set
562# CONFIG_SCSI_BUSLOGIC is not set
563# CONFIG_SCSI_DMX3191D is not set
564# CONFIG_SCSI_DTC3280 is not set
565# CONFIG_SCSI_EATA is not set
566# CONFIG_SCSI_FUTURE_DOMAIN is not set
567# CONFIG_SCSI_GDTH is not set
568# CONFIG_SCSI_GENERIC_NCR5380 is not set
569# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
570# CONFIG_SCSI_IPS is not set
571# CONFIG_SCSI_INITIO is not set
572# CONFIG_SCSI_INIA100 is not set
573# CONFIG_SCSI_NCR53C406A is not set
574# CONFIG_SCSI_STEX is not set
575# CONFIG_SCSI_SYM53C8XX_2 is not set
576# CONFIG_SCSI_PAS16 is not set
577# CONFIG_SCSI_PSI240I is not set
578# CONFIG_SCSI_QLOGIC_FAS is not set
579# CONFIG_SCSI_QLOGIC_1280 is not set
580# CONFIG_SCSI_QLA_FC is not set
581# CONFIG_SCSI_QLA_ISCSI is not set
582# CONFIG_SCSI_LPFC is not set
583# CONFIG_SCSI_SEAGATE is not set
584# CONFIG_SCSI_SYM53C416 is not set
585# CONFIG_SCSI_DC395x is not set
586# CONFIG_SCSI_DC390T is not set
587# CONFIG_SCSI_T128 is not set
588# CONFIG_SCSI_U14_34F is not set
589# CONFIG_SCSI_ULTRASTOR is not set
590# CONFIG_SCSI_NSP32 is not set
591# CONFIG_SCSI_DEBUG is not set
592# CONFIG_SCSI_SRP is not set
593# CONFIG_ATA is not set
594# CONFIG_MD is not set
595
596#
597# Fusion MPT device support
598#
599# CONFIG_FUSION is not set
600# CONFIG_FUSION_SPI is not set
601# CONFIG_FUSION_FC is not set
602# CONFIG_FUSION_SAS is not set
603
604#
605# IEEE 1394 (FireWire) support
606#
607# CONFIG_FIREWIRE is not set
608# CONFIG_IEEE1394 is not set
609# CONFIG_I2O is not set
610# CONFIG_MACINTOSH_DRIVERS is not set
611CONFIG_NETDEVICES=y
612# CONFIG_NETDEVICES_MULTIQUEUE is not set
613# CONFIG_DUMMY is not set
614# CONFIG_BONDING is not set
615# CONFIG_MACVLAN is not set
616# CONFIG_EQUALIZER is not set
617# CONFIG_TUN is not set
618# CONFIG_NET_SB1000 is not set
619# CONFIG_ARCNET is not set
620# CONFIG_PHYLIB is not set
621CONFIG_NET_ETHERNET=y
622CONFIG_MII=y
623# CONFIG_HAPPYMEAL is not set
624# CONFIG_SUNGEM is not set
625# CONFIG_CASSINI is not set
626CONFIG_NET_VENDOR_3COM=y
627# CONFIG_EL1 is not set
628# CONFIG_EL2 is not set
629# CONFIG_ELPLUS is not set
630# CONFIG_EL16 is not set
631# CONFIG_EL3 is not set
632# CONFIG_3C515 is not set
633CONFIG_VORTEX=m
634CONFIG_TYPHOON=m
635CONFIG_LANCE=m
636CONFIG_NET_VENDOR_SMC=y
637CONFIG_WD80x3=m
638CONFIG_ULTRA=m
639CONFIG_SMC9194=m
640# CONFIG_NET_VENDOR_RACAL is not set
641CONFIG_NET_TULIP=y
642# CONFIG_DE2104X is not set
643CONFIG_TULIP=m
644CONFIG_TULIP_MWI=y
645CONFIG_TULIP_MMIO=y
646CONFIG_TULIP_NAPI=y
647CONFIG_TULIP_NAPI_HW_MITIGATION=y
648CONFIG_DE4X5=m
649CONFIG_WINBOND_840=m
650CONFIG_DM9102=m
651CONFIG_ULI526X=m
652CONFIG_AT1700=m
653CONFIG_DEPCA=m
654CONFIG_HP100=m
655CONFIG_NET_ISA=y
656# CONFIG_E2100 is not set
657# CONFIG_EWRK3 is not set
658# CONFIG_EEXPRESS is not set
659# CONFIG_EEXPRESS_PRO is not set
660# CONFIG_HPLAN_PLUS is not set
661# CONFIG_HPLAN is not set
662# CONFIG_LP486E is not set
663# CONFIG_ETH16I is not set
664CONFIG_NE2000=y
665# CONFIG_ZNET is not set
666# CONFIG_SEEQ8005 is not set
667CONFIG_NET_PCI=y
668CONFIG_PCNET32=m
669CONFIG_PCNET32_NAPI=y
670CONFIG_AMD8111_ETH=m
671CONFIG_AMD8111E_NAPI=y
672CONFIG_ADAPTEC_STARFIRE=m
673CONFIG_ADAPTEC_STARFIRE_NAPI=y
674CONFIG_AC3200=m
675CONFIG_APRICOT=m
676CONFIG_B44=m
677CONFIG_FORCEDETH=m
678CONFIG_FORCEDETH_NAPI=y
679CONFIG_CS89x0=m
680CONFIG_DGRS=m
681CONFIG_EEPRO100=m
682CONFIG_E100=m
683CONFIG_FEALNX=m
684CONFIG_NATSEMI=m
685CONFIG_NE2K_PCI=y
686CONFIG_8139CP=m
687CONFIG_8139TOO=m
688CONFIG_8139TOO_PIO=y
689CONFIG_8139TOO_TUNE_TWISTER=y
690CONFIG_8139TOO_8129=y
691# CONFIG_8139_OLD_RX_RESET is not set
692CONFIG_SIS900=m
693CONFIG_EPIC100=m
694CONFIG_SUNDANCE=m
695CONFIG_SUNDANCE_MMIO=y
696CONFIG_TLAN=m
697CONFIG_VIA_RHINE=m
698CONFIG_VIA_RHINE_MMIO=y
699CONFIG_VIA_RHINE_NAPI=y
700CONFIG_SC92031=m
701CONFIG_NETDEV_1000=y
702CONFIG_ACENIC=m
703CONFIG_ACENIC_OMIT_TIGON_I=y
704CONFIG_DL2K=m
705CONFIG_E1000=m
706CONFIG_E1000_NAPI=y
707# CONFIG_E1000_DISABLE_PACKET_SPLIT is not set
708CONFIG_NS83820=m
709CONFIG_HAMACHI=m
710CONFIG_YELLOWFIN=m
711CONFIG_R8169=m
712CONFIG_R8169_NAPI=y
713CONFIG_SIS190=m
714CONFIG_SKGE=m
715CONFIG_SKY2=m
716CONFIG_SK98LIN=m
717CONFIG_VIA_VELOCITY=m
718CONFIG_TIGON3=m
719CONFIG_BNX2=m
720CONFIG_QLA3XXX=m
721CONFIG_ATL1=m
722CONFIG_NETDEV_10000=y
723# CONFIG_CHELSIO_T1 is not set
724# CONFIG_CHELSIO_T3 is not set
725# CONFIG_IXGB is not set
726# CONFIG_S2IO is not set
727# CONFIG_MYRI10GE is not set
728# CONFIG_NETXEN_NIC is not set
729# CONFIG_MLX4_CORE is not set
730# CONFIG_TR is not set
731
732#
733# Wireless LAN
734#
735# CONFIG_WLAN_PRE80211 is not set
736# CONFIG_WLAN_80211 is not set
737
738#
739# USB Network Adapters
740#
741# CONFIG_USB_CATC is not set
742# CONFIG_USB_KAWETH is not set
743# CONFIG_USB_PEGASUS is not set
744# CONFIG_USB_RTL8150 is not set
745# CONFIG_USB_USBNET_MII is not set
746# CONFIG_USB_USBNET is not set
747# CONFIG_WAN is not set
748# CONFIG_FDDI is not set
749# CONFIG_HIPPI is not set
750# CONFIG_PPP is not set
751# CONFIG_SLIP is not set
752# CONFIG_NET_FC is not set
753# CONFIG_SHAPER is not set
754# CONFIG_NETCONSOLE is not set
755# CONFIG_NETPOLL is not set
756# CONFIG_NET_POLL_CONTROLLER is not set
757# CONFIG_ISDN is not set
758# CONFIG_PHONE is not set
759
760#
761# Input device support
762#
763CONFIG_INPUT=y
764# CONFIG_INPUT_FF_MEMLESS is not set
765# CONFIG_INPUT_POLLDEV is not set
766
767#
768# Userland interfaces
769#
770CONFIG_INPUT_MOUSEDEV=m
771# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
772CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
773CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
774# CONFIG_INPUT_JOYDEV is not set
775# CONFIG_INPUT_TSDEV is not set
776CONFIG_INPUT_EVDEV=y
777# CONFIG_INPUT_EVBUG is not set
778# CONFIG_INPUT_POWER is not set
779
780#
781# Input Device Drivers
782#
783CONFIG_INPUT_KEYBOARD=y
784CONFIG_KEYBOARD_ATKBD=y
785# CONFIG_KEYBOARD_SUNKBD is not set
786# CONFIG_KEYBOARD_LKKBD is not set
787# CONFIG_KEYBOARD_XTKBD is not set
788# CONFIG_KEYBOARD_NEWTON is not set
789# CONFIG_KEYBOARD_STOWAWAY is not set
790CONFIG_INPUT_MOUSE=y
791CONFIG_MOUSE_PS2=y
792CONFIG_MOUSE_PS2_ALPS=y
793CONFIG_MOUSE_PS2_LOGIPS2PP=y
794CONFIG_MOUSE_PS2_SYNAPTICS=y
795CONFIG_MOUSE_PS2_LIFEBOOK=y
796CONFIG_MOUSE_PS2_TRACKPOINT=y
797# CONFIG_MOUSE_PS2_TOUCHKIT is not set
798# CONFIG_MOUSE_SERIAL is not set
799# CONFIG_MOUSE_APPLETOUCH is not set
800# CONFIG_MOUSE_INPORT is not set
801# CONFIG_MOUSE_LOGIBM is not set
802# CONFIG_MOUSE_PC110PAD is not set
803# CONFIG_MOUSE_VSXXXAA is not set
804# CONFIG_INPUT_JOYSTICK is not set
805# CONFIG_INPUT_TABLET is not set
806# CONFIG_INPUT_TOUCHSCREEN is not set
807# CONFIG_INPUT_MISC is not set
808
809#
810# Hardware I/O ports
811#
812CONFIG_SERIO=y
813CONFIG_SERIO_I8042=y
814# CONFIG_SERIO_SERPORT is not set
815# CONFIG_SERIO_CT82C710 is not set
816# CONFIG_SERIO_PCIPS2 is not set
817CONFIG_SERIO_LIBPS2=y
818# CONFIG_SERIO_RAW is not set
819# CONFIG_GAMEPORT is not set
820
821#
822# Character devices
823#
824CONFIG_VT=y
825CONFIG_VT_CONSOLE=y
826CONFIG_HW_CONSOLE=y
827# CONFIG_VT_HW_CONSOLE_BINDING is not set
828# CONFIG_SERIAL_NONSTANDARD is not set
829
830#
831# Serial drivers
832#
833CONFIG_SERIAL_8250=y
834# CONFIG_SERIAL_8250_CONSOLE is not set
835CONFIG_FIX_EARLYCON_MEM=y
836CONFIG_SERIAL_8250_PCI=y
837CONFIG_SERIAL_8250_PNP=y
838CONFIG_SERIAL_8250_NR_UARTS=4
839CONFIG_SERIAL_8250_RUNTIME_UARTS=4
840# CONFIG_SERIAL_8250_EXTENDED is not set
841
842#
843# Non-8250 serial port support
844#
845CONFIG_SERIAL_CORE=y
846# CONFIG_SERIAL_JSM is not set
847CONFIG_UNIX98_PTYS=y
848# CONFIG_LEGACY_PTYS is not set
849# CONFIG_IPMI_HANDLER is not set
850# CONFIG_WATCHDOG is not set
851# CONFIG_HW_RANDOM is not set
852# CONFIG_NVRAM is not set
853# CONFIG_RTC is not set
854# CONFIG_GEN_RTC is not set
855# CONFIG_DTLK is not set
856# CONFIG_R3964 is not set
857# CONFIG_APPLICOM is not set
858# CONFIG_SONYPI is not set
859CONFIG_AGP=m
860CONFIG_AGP_ALI=m
861CONFIG_AGP_ATI=m
862CONFIG_AGP_AMD=m
863CONFIG_AGP_AMD64=m
864CONFIG_AGP_INTEL=m
865CONFIG_AGP_NVIDIA=m
866CONFIG_AGP_SIS=m
867CONFIG_AGP_SWORKS=m
868CONFIG_AGP_VIA=m
869CONFIG_AGP_EFFICEON=m
870# CONFIG_DRM is not set
871# CONFIG_MWAVE is not set
872# CONFIG_PC8736x_GPIO is not set
873# CONFIG_NSC_GPIO is not set
874# CONFIG_CS5535_GPIO is not set
875# CONFIG_RAW_DRIVER is not set
876# CONFIG_HPET is not set
877# CONFIG_HANGCHECK_TIMER is not set
878# CONFIG_TCG_TPM is not set
879# CONFIG_TELCLOCK is not set
880CONFIG_DEVPORT=y
881# CONFIG_I2C is not set
882
883#
884# SPI support
885#
886# CONFIG_SPI is not set
887# CONFIG_SPI_MASTER is not set
888# CONFIG_W1 is not set
889# CONFIG_POWER_SUPPLY is not set
890# CONFIG_HWMON is not set
891
892#
893# Multifunction device drivers
894#
895# CONFIG_MFD_SM501 is not set
896# CONFIG_HTC_ASIC3 is not set
897# CONFIG_HTC_ASIC3_DS1WM is not set
898
899#
900# Multi-Function Devices
901#
902
903#
904# Multimedia devices
905#
906CONFIG_VIDEO_DEV=m
907CONFIG_VIDEO_V4L1=y
908CONFIG_VIDEO_V4L1_COMPAT=y
909CONFIG_VIDEO_V4L2=y
910CONFIG_VIDEO_CAPTURE_DRIVERS=y
911# CONFIG_VIDEO_ADV_DEBUG is not set
912CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
913# CONFIG_VIDEO_VIVI is not set
914# CONFIG_VIDEO_PMS is not set
915# CONFIG_VIDEO_CPIA is not set
916# CONFIG_VIDEO_CPIA2 is not set
917# CONFIG_VIDEO_STRADIS is not set
918CONFIG_V4L_USB_DRIVERS=y
919# CONFIG_USB_VICAM is not set
920# CONFIG_USB_IBMCAM is not set
921# CONFIG_USB_KONICAWC is not set
922# CONFIG_USB_QUICKCAM_MESSENGER is not set
923# CONFIG_USB_ET61X251 is not set
924# CONFIG_USB_OV511 is not set
925# CONFIG_USB_SE401 is not set
926# CONFIG_USB_SN9C102 is not set
927# CONFIG_USB_STV680 is not set
928# CONFIG_USB_ZC0301 is not set
929# CONFIG_USB_PWC is not set
930# CONFIG_USB_ZR364XX is not set
931CONFIG_RADIO_ADAPTERS=y
932# CONFIG_RADIO_CADET is not set
933# CONFIG_RADIO_RTRACK is not set
934# CONFIG_RADIO_RTRACK2 is not set
935# CONFIG_RADIO_AZTECH is not set
936# CONFIG_RADIO_GEMTEK is not set
937# CONFIG_RADIO_GEMTEK_PCI is not set
938# CONFIG_RADIO_MAXIRADIO is not set
939# CONFIG_RADIO_MAESTRO is not set
940# CONFIG_RADIO_SF16FMI is not set
941# CONFIG_RADIO_SF16FMR2 is not set
942# CONFIG_RADIO_TERRATEC is not set
943# CONFIG_RADIO_TRUST is not set
944# CONFIG_RADIO_TYPHOON is not set
945# CONFIG_RADIO_ZOLTRIX is not set
946# CONFIG_USB_DSBR is not set
947# CONFIG_DVB_CORE is not set
948CONFIG_DAB=y
949# CONFIG_USB_DABUSB is not set
950
951#
952# Graphics support
953#
954# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
955
956#
957# Display device support
958#
959# CONFIG_DISPLAY_SUPPORT is not set
960CONFIG_VGASTATE=y
961CONFIG_VIDEO_OUTPUT_CONTROL=m
962CONFIG_FB=y
963CONFIG_FIRMWARE_EDID=y
964# CONFIG_FB_DDC is not set
965CONFIG_FB_CFB_FILLRECT=y
966CONFIG_FB_CFB_COPYAREA=y
967CONFIG_FB_CFB_IMAGEBLIT=y
968# CONFIG_FB_SYS_FILLRECT is not set
969# CONFIG_FB_SYS_COPYAREA is not set
970# CONFIG_FB_SYS_IMAGEBLIT is not set
971# CONFIG_FB_SYS_FOPS is not set
972CONFIG_FB_DEFERRED_IO=y
973# CONFIG_FB_SVGALIB is not set
974# CONFIG_FB_MACMODES is not set
975# CONFIG_FB_BACKLIGHT is not set
976CONFIG_FB_MODE_HELPERS=y
977CONFIG_FB_TILEBLITTING=y
978
979#
980# Frame buffer hardware drivers
981#
982# CONFIG_FB_CIRRUS is not set
983# CONFIG_FB_PM2 is not set
984# CONFIG_FB_CYBER2000 is not set
985# CONFIG_FB_ARC is not set
986# CONFIG_FB_ASILIANT is not set
987# CONFIG_FB_IMSTT is not set
988# CONFIG_FB_VGA16 is not set
989CONFIG_FB_UVESA=m
990# CONFIG_FB_VESA is not set
991# CONFIG_FB_HECUBA is not set
992# CONFIG_FB_HGA is not set
993# CONFIG_FB_S1D13XXX is not set
994# CONFIG_FB_NVIDIA is not set
995# CONFIG_FB_RIVA is not set
996# CONFIG_FB_I810 is not set
997# CONFIG_FB_LE80578 is not set
998# CONFIG_FB_INTEL is not set
999# CONFIG_FB_MATROX is not set
1000# CONFIG_FB_RADEON is not set
1001# CONFIG_FB_ATY128 is not set
1002# CONFIG_FB_ATY is not set
1003# CONFIG_FB_S3 is not set
1004# CONFIG_FB_SAVAGE is not set
1005# CONFIG_FB_SIS is not set
1006# CONFIG_FB_NEOMAGIC is not set
1007# CONFIG_FB_KYRO is not set
1008# CONFIG_FB_3DFX is not set
1009# CONFIG_FB_VOODOO1 is not set
1010# CONFIG_FB_VT8623 is not set
1011# CONFIG_FB_CYBLA is not set
1012# CONFIG_FB_TRIDENT is not set
1013# CONFIG_FB_ARK is not set
1014# CONFIG_FB_PM3 is not set
1015# CONFIG_FB_GEODE is not set
1016# CONFIG_FB_VIRTUAL is not set
1017
1018#
1019# Console display driver support
1020#
1021CONFIG_VGA_CONSOLE=y
1022# CONFIG_VGACON_SOFT_SCROLLBACK is not set
1023CONFIG_VIDEO_SELECT=y
1024# CONFIG_MDA_CONSOLE is not set
1025CONFIG_DUMMY_CONSOLE=y
1026CONFIG_FRAMEBUFFER_CONSOLE=y
1027# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
1028# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
1029CONFIG_FONTS=y
1030CONFIG_FONT_8x8=y
1031CONFIG_FONT_8x16=y
1032# CONFIG_FONT_6x11 is not set
1033# CONFIG_FONT_7x14 is not set
1034# CONFIG_FONT_PEARL_8x8 is not set
1035# CONFIG_FONT_ACORN_8x8 is not set
1036# CONFIG_FONT_MINI_4x6 is not set
1037# CONFIG_FONT_SUN8x16 is not set
1038# CONFIG_FONT_SUN12x22 is not set
1039# CONFIG_FONT_10x18 is not set
1040CONFIG_LOGO=y
1041# CONFIG_LOGO_LINUX_MONO is not set
1042# CONFIG_LOGO_LINUX_VGA16 is not set
1043# CONFIG_LOGO_LINUX_CLUT224 is not set
1044CONFIG_LOGO_OHAND_CLUT224=y
1045
1046#
1047# Sound
1048#
1049CONFIG_SOUND=y
1050
1051#
1052# Advanced Linux Sound Architecture
1053#
1054CONFIG_SND=y
1055CONFIG_SND_TIMER=y
1056CONFIG_SND_PCM=y
1057CONFIG_SND_SEQUENCER=y
1058# CONFIG_SND_SEQ_DUMMY is not set
1059CONFIG_SND_OSSEMUL=y
1060CONFIG_SND_MIXER_OSS=y
1061CONFIG_SND_PCM_OSS=y
1062CONFIG_SND_PCM_OSS_PLUGINS=y
1063CONFIG_SND_SEQUENCER_OSS=y
1064# CONFIG_SND_DYNAMIC_MINORS is not set
1065CONFIG_SND_SUPPORT_OLD_API=y
1066CONFIG_SND_VERBOSE_PROCFS=y
1067# CONFIG_SND_VERBOSE_PRINTK is not set
1068# CONFIG_SND_DEBUG is not set
1069
1070#
1071# Generic devices
1072#
1073CONFIG_SND_AC97_CODEC=y
1074# CONFIG_SND_DUMMY is not set
1075# CONFIG_SND_VIRMIDI is not set
1076# CONFIG_SND_MTPAV is not set
1077# CONFIG_SND_SERIAL_U16550 is not set
1078# CONFIG_SND_MPU401 is not set
1079
1080#
1081# ISA devices
1082#
1083# CONFIG_SND_ADLIB is not set
1084# CONFIG_SND_AD1816A is not set
1085# CONFIG_SND_AD1848 is not set
1086# CONFIG_SND_ALS100 is not set
1087# CONFIG_SND_AZT2320 is not set
1088# CONFIG_SND_CMI8330 is not set
1089# CONFIG_SND_CS4231 is not set
1090# CONFIG_SND_CS4232 is not set
1091# CONFIG_SND_CS4236 is not set
1092# CONFIG_SND_DT019X is not set
1093# CONFIG_SND_ES968 is not set
1094# CONFIG_SND_ES1688 is not set
1095# CONFIG_SND_ES18XX is not set
1096# CONFIG_SND_GUSCLASSIC is not set
1097# CONFIG_SND_GUSEXTREME is not set
1098# CONFIG_SND_GUSMAX is not set
1099# CONFIG_SND_INTERWAVE is not set
1100# CONFIG_SND_INTERWAVE_STB is not set
1101# CONFIG_SND_OPL3SA2 is not set
1102# CONFIG_SND_OPTI92X_AD1848 is not set
1103# CONFIG_SND_OPTI92X_CS4231 is not set
1104# CONFIG_SND_OPTI93X is not set
1105# CONFIG_SND_MIRO is not set
1106# CONFIG_SND_SB8 is not set
1107# CONFIG_SND_SB16 is not set
1108# CONFIG_SND_SBAWE is not set
1109# CONFIG_SND_SGALAXY is not set
1110# CONFIG_SND_SSCAPE is not set
1111# CONFIG_SND_WAVEFRONT is not set
1112
1113#
1114# PCI devices
1115#
1116# CONFIG_SND_AD1889 is not set
1117# CONFIG_SND_ALS300 is not set
1118# CONFIG_SND_ALS4000 is not set
1119# CONFIG_SND_ALI5451 is not set
1120# CONFIG_SND_ATIIXP is not set
1121# CONFIG_SND_ATIIXP_MODEM is not set
1122# CONFIG_SND_AU8810 is not set
1123# CONFIG_SND_AU8820 is not set
1124# CONFIG_SND_AU8830 is not set
1125# CONFIG_SND_AZT3328 is not set
1126# CONFIG_SND_BT87X is not set
1127# CONFIG_SND_CA0106 is not set
1128# CONFIG_SND_CMIPCI is not set
1129# CONFIG_SND_CS4281 is not set
1130# CONFIG_SND_CS46XX is not set
1131# CONFIG_SND_CS5530 is not set
1132# CONFIG_SND_CS5535AUDIO is not set
1133# CONFIG_SND_DARLA20 is not set
1134# CONFIG_SND_GINA20 is not set
1135# CONFIG_SND_LAYLA20 is not set
1136# CONFIG_SND_DARLA24 is not set
1137# CONFIG_SND_GINA24 is not set
1138# CONFIG_SND_LAYLA24 is not set
1139# CONFIG_SND_MONA is not set
1140# CONFIG_SND_MIA is not set
1141# CONFIG_SND_ECHO3G is not set
1142# CONFIG_SND_INDIGO is not set
1143# CONFIG_SND_INDIGOIO is not set
1144# CONFIG_SND_INDIGODJ is not set
1145# CONFIG_SND_EMU10K1 is not set
1146# CONFIG_SND_EMU10K1X is not set
1147# CONFIG_SND_ENS1370 is not set
1148# CONFIG_SND_ENS1371 is not set
1149# CONFIG_SND_ES1938 is not set
1150# CONFIG_SND_ES1968 is not set
1151# CONFIG_SND_FM801 is not set
1152# CONFIG_SND_HDA_INTEL is not set
1153# CONFIG_SND_HDSP is not set
1154# CONFIG_SND_HDSPM is not set
1155# CONFIG_SND_ICE1712 is not set
1156# CONFIG_SND_ICE1724 is not set
1157CONFIG_SND_INTEL8X0=y
1158# CONFIG_SND_INTEL8X0M is not set
1159# CONFIG_SND_KORG1212 is not set
1160# CONFIG_SND_MAESTRO3 is not set
1161# CONFIG_SND_MIXART is not set
1162# CONFIG_SND_NM256 is not set
1163# CONFIG_SND_PCXHR is not set
1164# CONFIG_SND_RIPTIDE is not set
1165# CONFIG_SND_RME32 is not set
1166# CONFIG_SND_RME96 is not set
1167# CONFIG_SND_RME9652 is not set
1168# CONFIG_SND_SONICVIBES is not set
1169# CONFIG_SND_TRIDENT is not set
1170# CONFIG_SND_VIA82XX is not set
1171# CONFIG_SND_VIA82XX_MODEM is not set
1172# CONFIG_SND_VX222 is not set
1173# CONFIG_SND_YMFPCI is not set
1174CONFIG_SND_AC97_POWER_SAVE=y
1175
1176#
1177# USB devices
1178#
1179# CONFIG_SND_USB_AUDIO is not set
1180# CONFIG_SND_USB_USX2Y is not set
1181# CONFIG_SND_USB_CAIAQ is not set
1182
1183#
1184# System on Chip audio support
1185#
1186# CONFIG_SND_SOC is not set
1187
1188#
1189# SoC Audio support for SuperH
1190#
1191
1192#
1193# Open Sound System
1194#
1195# CONFIG_SOUND_PRIME is not set
1196CONFIG_AC97_BUS=y
1197CONFIG_HID_SUPPORT=y
1198CONFIG_HID=y
1199# CONFIG_HID_DEBUG is not set
1200
1201#
1202# USB Input Devices
1203#
1204CONFIG_USB_HID=y
1205# CONFIG_USB_HIDINPUT_POWERBOOK is not set
1206# CONFIG_HID_FF is not set
1207# CONFIG_USB_HIDDEV is not set
1208CONFIG_USB_SUPPORT=y
1209CONFIG_USB_ARCH_HAS_HCD=y
1210CONFIG_USB_ARCH_HAS_OHCI=y
1211CONFIG_USB_ARCH_HAS_EHCI=y
1212CONFIG_USB=y
1213# CONFIG_USB_DEBUG is not set
1214
1215#
1216# Miscellaneous USB options
1217#
1218CONFIG_USB_DEVICEFS=y
1219CONFIG_USB_DEVICE_CLASS=y
1220# CONFIG_USB_DYNAMIC_MINORS is not set
1221CONFIG_USB_SUSPEND=y
1222# CONFIG_USB_PERSIST is not set
1223# CONFIG_USB_OTG is not set
1224
1225#
1226# USB Host Controller Drivers
1227#
1228CONFIG_USB_EHCI_HCD=y
1229CONFIG_USB_EHCI_SPLIT_ISO=y
1230# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
1231# CONFIG_USB_EHCI_TT_NEWSCHED is not set
1232# CONFIG_USB_ISP116X_HCD is not set
1233CONFIG_USB_OHCI_HCD=y
1234# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
1235# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
1236CONFIG_USB_OHCI_LITTLE_ENDIAN=y
1237CONFIG_USB_UHCI_HCD=y
1238# CONFIG_USB_SL811_HCD is not set
1239# CONFIG_USB_R8A66597_HCD is not set
1240
1241#
1242# USB Device Class drivers
1243#
1244# CONFIG_USB_ACM is not set
1245# CONFIG_USB_PRINTER is not set
1246
1247#
1248# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
1249#
1250
1251#
1252# may also be needed; see USB_STORAGE Help for more information
1253#
1254# CONFIG_USB_STORAGE is not set
1255# CONFIG_USB_LIBUSUAL is not set
1256
1257#
1258# USB Imaging devices
1259#
1260# CONFIG_USB_MDC800 is not set
1261# CONFIG_USB_MICROTEK is not set
1262# CONFIG_USB_MON is not set
1263
1264#
1265# USB port drivers
1266#
1267
1268#
1269# USB Serial Converter support
1270#
1271# CONFIG_USB_SERIAL is not set
1272
1273#
1274# USB Miscellaneous drivers
1275#
1276# CONFIG_USB_EMI62 is not set
1277# CONFIG_USB_EMI26 is not set
1278# CONFIG_USB_ADUTUX is not set
1279# CONFIG_USB_AUERSWALD is not set
1280# CONFIG_USB_RIO500 is not set
1281# CONFIG_USB_LEGOTOWER is not set
1282# CONFIG_USB_LCD is not set
1283# CONFIG_USB_BERRY_CHARGE is not set
1284# CONFIG_USB_LED is not set
1285# CONFIG_USB_CYPRESS_CY7C63 is not set
1286# CONFIG_USB_CYTHERM is not set
1287# CONFIG_USB_PHIDGET is not set
1288# CONFIG_USB_IDMOUSE is not set
1289# CONFIG_USB_FTDI_ELAN is not set
1290# CONFIG_USB_APPLEDISPLAY is not set
1291# CONFIG_USB_SISUSBVGA is not set
1292# CONFIG_USB_LD is not set
1293# CONFIG_USB_TRANCEVIBRATOR is not set
1294# CONFIG_USB_IOWARRIOR is not set
1295# CONFIG_USB_TEST is not set
1296
1297#
1298# USB DSL modem support
1299#
1300
1301#
1302# USB Gadget Support
1303#
1304# CONFIG_USB_GADGET is not set
1305# CONFIG_MMC is not set
1306# CONFIG_NEW_LEDS is not set
1307# CONFIG_INFINIBAND is not set
1308# CONFIG_EDAC is not set
1309# CONFIG_RTC_CLASS is not set
1310
1311#
1312# DMA Engine support
1313#
1314# CONFIG_DMA_ENGINE is not set
1315
1316#
1317# DMA Clients
1318#
1319
1320#
1321# DMA Devices
1322#
1323CONFIG_VIRTUALIZATION=y
1324# CONFIG_KVM is not set
1325
1326#
1327# Userspace I/O
1328#
1329# CONFIG_UIO is not set
1330
1331#
1332# File systems
1333#
1334CONFIG_EXT2_FS=y
1335# CONFIG_EXT2_FS_XATTR is not set
1336# CONFIG_EXT2_FS_XIP is not set
1337CONFIG_EXT3_FS=m
1338CONFIG_EXT3_FS_XATTR=y
1339# CONFIG_EXT3_FS_POSIX_ACL is not set
1340# CONFIG_EXT3_FS_SECURITY is not set
1341# CONFIG_EXT4DEV_FS is not set
1342CONFIG_JBD=m
1343# CONFIG_JBD_DEBUG is not set
1344CONFIG_FS_MBCACHE=y
1345# CONFIG_REISERFS_FS is not set
1346# CONFIG_JFS_FS is not set
1347# CONFIG_FS_POSIX_ACL is not set
1348# CONFIG_XFS_FS is not set
1349# CONFIG_GFS2_FS is not set
1350# CONFIG_OCFS2_FS is not set
1351# CONFIG_MINIX_FS is not set
1352# CONFIG_ROMFS_FS is not set
1353CONFIG_INOTIFY=y
1354CONFIG_INOTIFY_USER=y
1355# CONFIG_QUOTA is not set
1356CONFIG_DNOTIFY=y
1357# CONFIG_AUTOFS_FS is not set
1358# CONFIG_AUTOFS4_FS is not set
1359# CONFIG_FUSE_FS is not set
1360
1361#
1362# CD-ROM/DVD Filesystems
1363#
1364CONFIG_ISO9660_FS=y
1365CONFIG_JOLIET=y
1366# CONFIG_ZISOFS is not set
1367# CONFIG_UDF_FS is not set
1368
1369#
1370# DOS/FAT/NT Filesystems
1371#
1372# CONFIG_MSDOS_FS is not set
1373# CONFIG_VFAT_FS is not set
1374# CONFIG_NTFS_FS is not set
1375
1376#
1377# Pseudo filesystems
1378#
1379CONFIG_PROC_FS=y
1380CONFIG_PROC_KCORE=y
1381CONFIG_PROC_SYSCTL=y
1382CONFIG_SYSFS=y
1383CONFIG_TMPFS=y
1384# CONFIG_TMPFS_POSIX_ACL is not set
1385# CONFIG_HUGETLBFS is not set
1386# CONFIG_HUGETLB_PAGE is not set
1387CONFIG_RAMFS=y
1388# CONFIG_CONFIGFS_FS is not set
1389
1390#
1391# Miscellaneous filesystems
1392#
1393# CONFIG_ADFS_FS is not set
1394# CONFIG_AFFS_FS is not set
1395# CONFIG_HFS_FS is not set
1396# CONFIG_HFSPLUS_FS is not set
1397# CONFIG_BEFS_FS is not set
1398# CONFIG_BFS_FS is not set
1399# CONFIG_EFS_FS is not set
1400# CONFIG_CRAMFS is not set
1401# CONFIG_SQUASHFS is not set
1402# CONFIG_VXFS_FS is not set
1403# CONFIG_HPFS_FS is not set
1404# CONFIG_QNX4FS_FS is not set
1405# CONFIG_SYSV_FS is not set
1406# CONFIG_UFS_FS is not set
1407
1408#
1409# Network File Systems
1410#
1411CONFIG_NFS_FS=y
1412# CONFIG_NFS_V3 is not set
1413# CONFIG_NFS_V4 is not set
1414# CONFIG_NFS_DIRECTIO is not set
1415# CONFIG_NFSD is not set
1416# CONFIG_ROOT_NFS is not set
1417CONFIG_LOCKD=y
1418CONFIG_NFS_COMMON=y
1419CONFIG_SUNRPC=y
1420# CONFIG_SUNRPC_BIND34 is not set
1421# CONFIG_RPCSEC_GSS_KRB5 is not set
1422# CONFIG_RPCSEC_GSS_SPKM3 is not set
1423# CONFIG_SMB_FS is not set
1424# CONFIG_CIFS is not set
1425# CONFIG_NCP_FS is not set
1426# CONFIG_CODA_FS is not set
1427# CONFIG_AFS_FS is not set
1428
1429#
1430# Partition Types
1431#
1432# CONFIG_PARTITION_ADVANCED is not set
1433CONFIG_MSDOS_PARTITION=y
1434
1435#
1436# Native Language Support
1437#
1438CONFIG_NLS=y
1439CONFIG_NLS_DEFAULT="utf-8"
1440CONFIG_NLS_CODEPAGE_437=y
1441# CONFIG_NLS_CODEPAGE_737 is not set
1442# CONFIG_NLS_CODEPAGE_775 is not set
1443# CONFIG_NLS_CODEPAGE_850 is not set
1444# CONFIG_NLS_CODEPAGE_852 is not set
1445# CONFIG_NLS_CODEPAGE_855 is not set
1446# CONFIG_NLS_CODEPAGE_857 is not set
1447# CONFIG_NLS_CODEPAGE_860 is not set
1448# CONFIG_NLS_CODEPAGE_861 is not set
1449# CONFIG_NLS_CODEPAGE_862 is not set
1450# CONFIG_NLS_CODEPAGE_863 is not set
1451# CONFIG_NLS_CODEPAGE_864 is not set
1452# CONFIG_NLS_CODEPAGE_865 is not set
1453# CONFIG_NLS_CODEPAGE_866 is not set
1454# CONFIG_NLS_CODEPAGE_869 is not set
1455# CONFIG_NLS_CODEPAGE_936 is not set
1456# CONFIG_NLS_CODEPAGE_950 is not set
1457# CONFIG_NLS_CODEPAGE_932 is not set
1458# CONFIG_NLS_CODEPAGE_949 is not set
1459# CONFIG_NLS_CODEPAGE_874 is not set
1460# CONFIG_NLS_ISO8859_8 is not set
1461# CONFIG_NLS_CODEPAGE_1250 is not set
1462# CONFIG_NLS_CODEPAGE_1251 is not set
1463# CONFIG_NLS_ASCII is not set
1464CONFIG_NLS_ISO8859_1=y
1465# CONFIG_NLS_ISO8859_2 is not set
1466# CONFIG_NLS_ISO8859_3 is not set
1467# CONFIG_NLS_ISO8859_4 is not set
1468# CONFIG_NLS_ISO8859_5 is not set
1469# CONFIG_NLS_ISO8859_6 is not set
1470# CONFIG_NLS_ISO8859_7 is not set
1471# CONFIG_NLS_ISO8859_9 is not set
1472# CONFIG_NLS_ISO8859_13 is not set
1473# CONFIG_NLS_ISO8859_14 is not set
1474# CONFIG_NLS_ISO8859_15 is not set
1475# CONFIG_NLS_KOI8_R is not set
1476# CONFIG_NLS_KOI8_U is not set
1477CONFIG_NLS_UTF8=y
1478
1479#
1480# Distributed Lock Manager
1481#
1482# CONFIG_DLM is not set
1483CONFIG_INSTRUMENTATION=y
1484CONFIG_PROFILING=y
1485CONFIG_OPROFILE=y
1486# CONFIG_KPROBES is not set
1487
1488#
1489# Kernel hacking
1490#
1491CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1492# CONFIG_PRINTK_TIME is not set
1493CONFIG_ENABLE_MUST_CHECK=y
1494CONFIG_MAGIC_SYSRQ=y
1495# CONFIG_UNUSED_SYMBOLS is not set
1496# CONFIG_DEBUG_FS is not set
1497# CONFIG_HEADERS_CHECK is not set
1498# CONFIG_DEBUG_KERNEL is not set
1499# CONFIG_DEBUG_BUGVERBOSE is not set
1500CONFIG_EARLY_PRINTK=y
1501CONFIG_X86_FIND_SMP_CONFIG=y
1502CONFIG_X86_MPPARSE=y
1503CONFIG_DOUBLEFAULT=y
1504
1505#
1506# Security options
1507#
1508# CONFIG_KEYS is not set
1509# CONFIG_SECURITY is not set
1510CONFIG_CRYPTO=y
1511CONFIG_CRYPTO_ALGAPI=m
1512CONFIG_CRYPTO_BLKCIPHER=m
1513CONFIG_CRYPTO_MANAGER=m
1514# CONFIG_CRYPTO_HMAC is not set
1515# CONFIG_CRYPTO_XCBC is not set
1516# CONFIG_CRYPTO_NULL is not set
1517# CONFIG_CRYPTO_MD4 is not set
1518# CONFIG_CRYPTO_MD5 is not set
1519CONFIG_CRYPTO_SHA1=m
1520CONFIG_CRYPTO_SHA256=m
1521# CONFIG_CRYPTO_SHA512 is not set
1522# CONFIG_CRYPTO_WP512 is not set
1523# CONFIG_CRYPTO_TGR192 is not set
1524# CONFIG_CRYPTO_GF128MUL is not set
1525CONFIG_CRYPTO_ECB=m
1526CONFIG_CRYPTO_CBC=m
1527CONFIG_CRYPTO_PCBC=m
1528# CONFIG_CRYPTO_LRW is not set
1529# CONFIG_CRYPTO_CRYPTD is not set
1530# CONFIG_CRYPTO_DES is not set
1531# CONFIG_CRYPTO_FCRYPT is not set
1532# CONFIG_CRYPTO_BLOWFISH is not set
1533# CONFIG_CRYPTO_TWOFISH is not set
1534# CONFIG_CRYPTO_TWOFISH_586 is not set
1535# CONFIG_CRYPTO_SERPENT is not set
1536# CONFIG_CRYPTO_AES is not set
1537# CONFIG_CRYPTO_AES_586 is not set
1538# CONFIG_CRYPTO_CAST5 is not set
1539# CONFIG_CRYPTO_CAST6 is not set
1540# CONFIG_CRYPTO_TEA is not set
1541# CONFIG_CRYPTO_ARC4 is not set
1542# CONFIG_CRYPTO_KHAZAD is not set
1543# CONFIG_CRYPTO_ANUBIS is not set
1544# CONFIG_CRYPTO_DEFLATE is not set
1545# CONFIG_CRYPTO_LZO is not set
1546# CONFIG_CRYPTO_MICHAEL_MIC is not set
1547# CONFIG_CRYPTO_CRC32C is not set
1548# CONFIG_CRYPTO_CAMELLIA is not set
1549# CONFIG_CRYPTO_TEST is not set
1550CONFIG_CRYPTO_HW=y
1551CONFIG_CRYPTO_DEV_PADLOCK=m
1552CONFIG_CRYPTO_DEV_PADLOCK_AES=m
1553CONFIG_CRYPTO_DEV_PADLOCK_SHA=m
1554CONFIG_CRYPTO_DEV_GEODE=m
1555
1556#
1557# Library routines
1558#
1559CONFIG_BITREVERSE=y
1560CONFIG_CRC_CCITT=m
1561# CONFIG_CRC16 is not set
1562# CONFIG_CRC_ITU_T is not set
1563CONFIG_CRC32=y
1564# CONFIG_CRC7 is not set
1565CONFIG_LIBCRC32C=m
1566CONFIG_AUDIT_GENERIC=y
1567CONFIG_ZLIB_INFLATE=m
1568CONFIG_PLIST=y
1569CONFIG_HAS_IOMEM=y
1570CONFIG_HAS_IOPORT=y
1571CONFIG_HAS_DMA=y
1572CONFIG_GENERIC_HARDIRQS=y
1573CONFIG_GENERIC_IRQ_PROBE=y
1574CONFIG_GENERIC_PENDING_IRQ=y
1575CONFIG_X86_SMP=y
1576CONFIG_X86_HT=y
1577CONFIG_X86_BIOS_REBOOT=y
1578CONFIG_X86_TRAMPOLINE=y
1579CONFIG_KTIME_SCALAR=y
diff --git a/meta/recipes-kernel/linux/linux-rp-2.6.24/defconfig-bootcdx86 b/meta/recipes-kernel/linux/linux-rp-2.6.24/defconfig-bootcdx86
deleted file mode 100644
index 397468a366..0000000000
--- a/meta/recipes-kernel/linux/linux-rp-2.6.24/defconfig-bootcdx86
+++ /dev/null
@@ -1,1994 +0,0 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.24-rc8
4# Sun Jan 20 18:34:58 2008
5#
6# CONFIG_64BIT is not set
7CONFIG_X86_32=y
8# CONFIG_X86_64 is not set
9CONFIG_X86=y
10CONFIG_GENERIC_TIME=y
11CONFIG_GENERIC_CMOS_UPDATE=y
12CONFIG_CLOCKSOURCE_WATCHDOG=y
13CONFIG_GENERIC_CLOCKEVENTS=y
14CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
15CONFIG_LOCKDEP_SUPPORT=y
16CONFIG_STACKTRACE_SUPPORT=y
17CONFIG_SEMAPHORE_SLEEPERS=y
18CONFIG_MMU=y
19CONFIG_ZONE_DMA=y
20CONFIG_QUICKLIST=y
21CONFIG_GENERIC_ISA_DMA=y
22CONFIG_GENERIC_IOMAP=y
23CONFIG_GENERIC_BUG=y
24CONFIG_GENERIC_HWEIGHT=y
25CONFIG_ARCH_MAY_HAVE_PC_FDC=y
26CONFIG_DMI=y
27# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
28CONFIG_RWSEM_XCHGADD_ALGORITHM=y
29# CONFIG_ARCH_HAS_ILOG2_U32 is not set
30# CONFIG_ARCH_HAS_ILOG2_U64 is not set
31CONFIG_GENERIC_CALIBRATE_DELAY=y
32# CONFIG_GENERIC_TIME_VSYSCALL is not set
33CONFIG_ARCH_SUPPORTS_OPROFILE=y
34# CONFIG_ZONE_DMA32 is not set
35CONFIG_ARCH_POPULATES_NODE_MAP=y
36# CONFIG_AUDIT_ARCH is not set
37CONFIG_GENERIC_HARDIRQS=y
38CONFIG_GENERIC_IRQ_PROBE=y
39CONFIG_GENERIC_PENDING_IRQ=y
40CONFIG_X86_SMP=y
41CONFIG_X86_HT=y
42CONFIG_X86_BIOS_REBOOT=y
43CONFIG_X86_TRAMPOLINE=y
44CONFIG_KTIME_SCALAR=y
45CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
46
47#
48# General setup
49#
50CONFIG_EXPERIMENTAL=y
51CONFIG_LOCK_KERNEL=y
52CONFIG_INIT_ENV_ARG_LIMIT=32
53CONFIG_LOCALVERSION=""
54# CONFIG_LOCALVERSION_AUTO is not set
55CONFIG_SWAP=y
56CONFIG_SYSVIPC=y
57CONFIG_SYSVIPC_SYSCTL=y
58CONFIG_POSIX_MQUEUE=y
59# CONFIG_BSD_PROCESS_ACCT is not set
60# CONFIG_TASKSTATS is not set
61# CONFIG_USER_NS is not set
62# CONFIG_PID_NS is not set
63CONFIG_AUDIT=y
64CONFIG_AUDITSYSCALL=y
65CONFIG_AUDIT_TREE=y
66# CONFIG_IKCONFIG is not set
67CONFIG_LOG_BUF_SHIFT=15
68# CONFIG_CGROUPS is not set
69CONFIG_FAIR_GROUP_SCHED=y
70CONFIG_FAIR_USER_SCHED=y
71# CONFIG_FAIR_CGROUP_SCHED is not set
72CONFIG_SYSFS_DEPRECATED=y
73# CONFIG_RELAY is not set
74CONFIG_BLK_DEV_INITRD=y
75CONFIG_INITRAMFS_SOURCE=""
76# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
77CONFIG_SYSCTL=y
78CONFIG_EMBEDDED=y
79CONFIG_UID16=y
80CONFIG_SYSCTL_SYSCALL=y
81CONFIG_KALLSYMS=y
82# CONFIG_KALLSYMS_EXTRA_PASS is not set
83CONFIG_HOTPLUG=y
84CONFIG_PRINTK=y
85CONFIG_BUG=y
86CONFIG_ELF_CORE=y
87CONFIG_BASE_FULL=y
88CONFIG_FUTEX=y
89CONFIG_ANON_INODES=y
90CONFIG_EPOLL=y
91CONFIG_SIGNALFD=y
92CONFIG_EVENTFD=y
93CONFIG_SHMEM=y
94CONFIG_VM_EVENT_COUNTERS=y
95CONFIG_SLAB=y
96# CONFIG_SLUB is not set
97# CONFIG_SLOB is not set
98CONFIG_SLABINFO=y
99CONFIG_RT_MUTEXES=y
100# CONFIG_TINY_SHMEM is not set
101CONFIG_BASE_SMALL=0
102CONFIG_MODULES=y
103CONFIG_MODULE_UNLOAD=y
104CONFIG_MODULE_FORCE_UNLOAD=y
105# CONFIG_MODVERSIONS is not set
106# CONFIG_MODULE_SRCVERSION_ALL is not set
107CONFIG_KMOD=y
108CONFIG_STOP_MACHINE=y
109CONFIG_BLOCK=y
110CONFIG_LBD=y
111# CONFIG_BLK_DEV_IO_TRACE is not set
112# CONFIG_LSF is not set
113# CONFIG_BLK_DEV_BSG is not set
114
115#
116# IO Schedulers
117#
118CONFIG_IOSCHED_NOOP=y
119CONFIG_IOSCHED_AS=y
120CONFIG_IOSCHED_DEADLINE=m
121CONFIG_IOSCHED_CFQ=m
122CONFIG_DEFAULT_AS=y
123# CONFIG_DEFAULT_DEADLINE is not set
124# CONFIG_DEFAULT_CFQ is not set
125# CONFIG_DEFAULT_NOOP is not set
126CONFIG_DEFAULT_IOSCHED="anticipatory"
127
128#
129# Processor type and features
130#
131CONFIG_TICK_ONESHOT=y
132CONFIG_NO_HZ=y
133CONFIG_HIGH_RES_TIMERS=y
134CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
135CONFIG_SMP=y
136CONFIG_X86_PC=y
137# CONFIG_X86_ELAN is not set
138# CONFIG_X86_VOYAGER is not set
139# CONFIG_X86_NUMAQ is not set
140# CONFIG_X86_SUMMIT is not set
141# CONFIG_X86_BIGSMP is not set
142# CONFIG_X86_VISWS is not set
143# CONFIG_X86_GENERICARCH is not set
144# CONFIG_X86_ES7000 is not set
145# CONFIG_X86_VSMP is not set
146CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
147# CONFIG_PARAVIRT_GUEST is not set
148# CONFIG_M386 is not set
149# CONFIG_M486 is not set
150# CONFIG_M586 is not set
151# CONFIG_M586TSC is not set
152# CONFIG_M586MMX is not set
153CONFIG_M686=y
154# CONFIG_MPENTIUMII is not set
155# CONFIG_MPENTIUMIII is not set
156# CONFIG_MPENTIUMM is not set
157# CONFIG_MPENTIUM4 is not set
158# CONFIG_MK6 is not set
159# CONFIG_MK7 is not set
160# CONFIG_MK8 is not set
161# CONFIG_MCRUSOE is not set
162# CONFIG_MEFFICEON is not set
163# CONFIG_MWINCHIPC6 is not set
164# CONFIG_MWINCHIP2 is not set
165# CONFIG_MWINCHIP3D is not set
166# CONFIG_MGEODEGX1 is not set
167# CONFIG_MGEODE_LX is not set
168# CONFIG_MCYRIXIII is not set
169# CONFIG_MVIAC3_2 is not set
170# CONFIG_MVIAC7 is not set
171# CONFIG_MPSC is not set
172# CONFIG_MCORE2 is not set
173# CONFIG_GENERIC_CPU is not set
174CONFIG_X86_GENERIC=y
175CONFIG_X86_CMPXCHG=y
176CONFIG_X86_L1_CACHE_SHIFT=7
177CONFIG_X86_XADD=y
178CONFIG_X86_PPRO_FENCE=y
179CONFIG_X86_WP_WORKS_OK=y
180CONFIG_X86_INVLPG=y
181CONFIG_X86_BSWAP=y
182CONFIG_X86_POPAD_OK=y
183CONFIG_X86_GOOD_APIC=y
184CONFIG_X86_INTEL_USERCOPY=y
185CONFIG_X86_USE_PPRO_CHECKSUM=y
186CONFIG_X86_TSC=y
187CONFIG_X86_CMOV=y
188CONFIG_X86_MINIMUM_CPU_FAMILY=4
189CONFIG_HPET_TIMER=y
190CONFIG_NR_CPUS=8
191CONFIG_SCHED_SMT=y
192CONFIG_SCHED_MC=y
193CONFIG_PREEMPT_NONE=y
194# CONFIG_PREEMPT_VOLUNTARY is not set
195# CONFIG_PREEMPT is not set
196CONFIG_PREEMPT_BKL=y
197CONFIG_X86_LOCAL_APIC=y
198CONFIG_X86_IO_APIC=y
199CONFIG_X86_MCE=y
200CONFIG_X86_MCE_NONFATAL=y
201CONFIG_X86_MCE_P4THERMAL=y
202CONFIG_VM86=y
203# CONFIG_TOSHIBA is not set
204# CONFIG_I8K is not set
205# CONFIG_X86_REBOOTFIXUPS is not set
206# CONFIG_MICROCODE is not set
207# CONFIG_X86_MSR is not set
208# CONFIG_X86_CPUID is not set
209CONFIG_NOHIGHMEM=y
210# CONFIG_HIGHMEM4G is not set
211# CONFIG_HIGHMEM64G is not set
212CONFIG_VMSPLIT_3G=y
213# CONFIG_VMSPLIT_3G_OPT is not set
214# CONFIG_VMSPLIT_2G is not set
215# CONFIG_VMSPLIT_2G_OPT is not set
216# CONFIG_VMSPLIT_1G is not set
217CONFIG_PAGE_OFFSET=0xC0000000
218# CONFIG_X86_PAE is not set
219CONFIG_ARCH_FLATMEM_ENABLE=y
220CONFIG_ARCH_SPARSEMEM_ENABLE=y
221CONFIG_ARCH_SELECT_MEMORY_MODEL=y
222CONFIG_SELECT_MEMORY_MODEL=y
223CONFIG_FLATMEM_MANUAL=y
224# CONFIG_DISCONTIGMEM_MANUAL is not set
225# CONFIG_SPARSEMEM_MANUAL is not set
226CONFIG_FLATMEM=y
227CONFIG_FLAT_NODE_MEM_MAP=y
228CONFIG_SPARSEMEM_STATIC=y
229# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
230CONFIG_SPLIT_PTLOCK_CPUS=4
231# CONFIG_RESOURCES_64BIT is not set
232CONFIG_ZONE_DMA_FLAG=1
233CONFIG_BOUNCE=y
234CONFIG_NR_QUICK=1
235CONFIG_VIRT_TO_BUS=y
236# CONFIG_MATH_EMULATION is not set
237CONFIG_MTRR=y
238# CONFIG_EFI is not set
239CONFIG_IRQBALANCE=y
240CONFIG_SECCOMP=y
241# CONFIG_HZ_100 is not set
242CONFIG_HZ_250=y
243# CONFIG_HZ_300 is not set
244# CONFIG_HZ_1000 is not set
245CONFIG_HZ=250
246CONFIG_KEXEC=y
247CONFIG_PHYSICAL_START=0x100000
248# CONFIG_RELOCATABLE is not set
249CONFIG_PHYSICAL_ALIGN=0x100000
250CONFIG_HOTPLUG_CPU=y
251CONFIG_COMPAT_VDSO=y
252
253#
254# Power management options
255#
256CONFIG_PM=y
257CONFIG_PM_LEGACY=y
258# CONFIG_PM_DEBUG is not set
259CONFIG_PM_SLEEP_SMP=y
260CONFIG_PM_SLEEP=y
261CONFIG_SUSPEND_SMP_POSSIBLE=y
262CONFIG_SUSPEND=y
263CONFIG_HIBERNATION_SMP_POSSIBLE=y
264# CONFIG_HIBERNATION is not set
265CONFIG_ACPI=y
266CONFIG_ACPI_SLEEP=y
267# CONFIG_ACPI_PROCFS is not set
268CONFIG_ACPI_PROCFS_POWER=y
269CONFIG_ACPI_SYSFS_POWER=y
270CONFIG_ACPI_PROC_EVENT=y
271CONFIG_ACPI_AC=y
272CONFIG_ACPI_BATTERY=y
273CONFIG_ACPI_BUTTON=y
274# CONFIG_ACPI_VIDEO is not set
275CONFIG_ACPI_FAN=y
276# CONFIG_ACPI_DOCK is not set
277CONFIG_ACPI_PROCESSOR=y
278CONFIG_ACPI_HOTPLUG_CPU=y
279CONFIG_ACPI_THERMAL=y
280# CONFIG_ACPI_ASUS is not set
281# CONFIG_ACPI_TOSHIBA is not set
282CONFIG_ACPI_BLACKLIST_YEAR=0
283# CONFIG_ACPI_DEBUG is not set
284CONFIG_ACPI_EC=y
285CONFIG_ACPI_POWER=y
286CONFIG_ACPI_SYSTEM=y
287CONFIG_X86_PM_TIMER=y
288CONFIG_ACPI_CONTAINER=y
289# CONFIG_ACPI_SBS is not set
290# CONFIG_APM is not set
291
292#
293# CPU Frequency scaling
294#
295# CONFIG_CPU_FREQ is not set
296# CONFIG_CPU_IDLE is not set
297
298#
299# Bus options (PCI etc.)
300#
301CONFIG_PCI=y
302# CONFIG_PCI_GOBIOS is not set
303# CONFIG_PCI_GOMMCONFIG is not set
304# CONFIG_PCI_GODIRECT is not set
305CONFIG_PCI_GOANY=y
306CONFIG_PCI_BIOS=y
307CONFIG_PCI_DIRECT=y
308CONFIG_PCI_MMCONFIG=y
309CONFIG_PCI_DOMAINS=y
310CONFIG_PCIEPORTBUS=y
311CONFIG_PCIEAER=y
312CONFIG_ARCH_SUPPORTS_MSI=y
313CONFIG_PCI_MSI=y
314CONFIG_PCI_LEGACY=y
315CONFIG_HT_IRQ=y
316CONFIG_ISA_DMA_API=y
317CONFIG_ISA=y
318# CONFIG_EISA is not set
319# CONFIG_MCA is not set
320# CONFIG_SCx200 is not set
321CONFIG_K8_NB=y
322# CONFIG_PCCARD is not set
323# CONFIG_HOTPLUG_PCI is not set
324
325#
326# Executable file formats / Emulations
327#
328CONFIG_BINFMT_ELF=y
329CONFIG_BINFMT_AOUT=m
330CONFIG_BINFMT_MISC=m
331
332#
333# Networking
334#
335CONFIG_NET=y
336
337#
338# Networking options
339#
340CONFIG_PACKET=m
341CONFIG_PACKET_MMAP=y
342CONFIG_UNIX=y
343CONFIG_XFRM=y
344# CONFIG_XFRM_USER is not set
345# CONFIG_XFRM_SUB_POLICY is not set
346# CONFIG_XFRM_MIGRATE is not set
347# CONFIG_NET_KEY is not set
348CONFIG_INET=y
349# CONFIG_IP_MULTICAST is not set
350# CONFIG_IP_ADVANCED_ROUTER is not set
351CONFIG_IP_FIB_HASH=y
352CONFIG_IP_PNP=y
353CONFIG_IP_PNP_DHCP=y
354CONFIG_IP_PNP_BOOTP=y
355# CONFIG_IP_PNP_RARP is not set
356# CONFIG_NET_IPIP is not set
357# CONFIG_NET_IPGRE is not set
358# CONFIG_ARPD is not set
359CONFIG_SYN_COOKIES=y
360# CONFIG_INET_AH is not set
361# CONFIG_INET_ESP is not set
362# CONFIG_INET_IPCOMP is not set
363# CONFIG_INET_XFRM_TUNNEL is not set
364CONFIG_INET_TUNNEL=m
365CONFIG_INET_XFRM_MODE_TRANSPORT=m
366CONFIG_INET_XFRM_MODE_TUNNEL=m
367CONFIG_INET_XFRM_MODE_BEET=m
368# CONFIG_INET_LRO is not set
369CONFIG_INET_DIAG=m
370CONFIG_INET_TCP_DIAG=m
371# CONFIG_TCP_CONG_ADVANCED is not set
372CONFIG_TCP_CONG_CUBIC=y
373CONFIG_DEFAULT_TCP_CONG="cubic"
374# CONFIG_TCP_MD5SIG is not set
375# CONFIG_IP_VS is not set
376CONFIG_IPV6=m
377# CONFIG_IPV6_PRIVACY is not set
378# CONFIG_IPV6_ROUTER_PREF is not set
379# CONFIG_IPV6_OPTIMISTIC_DAD is not set
380CONFIG_INET6_AH=m
381CONFIG_INET6_ESP=m
382CONFIG_INET6_IPCOMP=m
383# CONFIG_IPV6_MIP6 is not set
384CONFIG_INET6_XFRM_TUNNEL=m
385CONFIG_INET6_TUNNEL=m
386CONFIG_INET6_XFRM_MODE_TRANSPORT=m
387CONFIG_INET6_XFRM_MODE_TUNNEL=m
388CONFIG_INET6_XFRM_MODE_BEET=m
389# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
390CONFIG_IPV6_SIT=m
391CONFIG_IPV6_TUNNEL=m
392# CONFIG_IPV6_MULTIPLE_TABLES is not set
393# CONFIG_NETWORK_SECMARK is not set
394CONFIG_NETFILTER=y
395# CONFIG_NETFILTER_DEBUG is not set
396
397#
398# Core Netfilter Configuration
399#
400# CONFIG_NETFILTER_NETLINK is not set
401# CONFIG_NF_CONNTRACK_ENABLED is not set
402# CONFIG_NF_CONNTRACK is not set
403CONFIG_NETFILTER_XTABLES=m
404# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set
405# CONFIG_NETFILTER_XT_TARGET_DSCP is not set
406# CONFIG_NETFILTER_XT_TARGET_MARK is not set
407# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set
408# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
409# CONFIG_NETFILTER_XT_TARGET_TRACE is not set
410# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set
411# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set
412# CONFIG_NETFILTER_XT_MATCH_DCCP is not set
413# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
414# CONFIG_NETFILTER_XT_MATCH_ESP is not set
415# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set
416# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set
417# CONFIG_NETFILTER_XT_MATCH_MAC is not set
418# CONFIG_NETFILTER_XT_MATCH_MARK is not set
419# CONFIG_NETFILTER_XT_MATCH_POLICY is not set
420# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set
421# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
422# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
423# CONFIG_NETFILTER_XT_MATCH_REALM is not set
424# CONFIG_NETFILTER_XT_MATCH_SCTP is not set
425# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set
426# CONFIG_NETFILTER_XT_MATCH_STRING is not set
427# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set
428# CONFIG_NETFILTER_XT_MATCH_TIME is not set
429# CONFIG_NETFILTER_XT_MATCH_U32 is not set
430# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
431
432#
433# IP: Netfilter Configuration
434#
435CONFIG_IP_NF_QUEUE=m
436CONFIG_IP_NF_IPTABLES=m
437CONFIG_IP_NF_MATCH_IPRANGE=m
438CONFIG_IP_NF_MATCH_TOS=m
439CONFIG_IP_NF_MATCH_RECENT=m
440CONFIG_IP_NF_MATCH_ECN=m
441CONFIG_IP_NF_MATCH_AH=m
442CONFIG_IP_NF_MATCH_TTL=m
443CONFIG_IP_NF_MATCH_OWNER=m
444CONFIG_IP_NF_MATCH_ADDRTYPE=m
445CONFIG_IP_NF_FILTER=m
446CONFIG_IP_NF_TARGET_REJECT=m
447CONFIG_IP_NF_TARGET_LOG=m
448CONFIG_IP_NF_TARGET_ULOG=m
449CONFIG_IP_NF_MANGLE=m
450CONFIG_IP_NF_TARGET_TOS=m
451CONFIG_IP_NF_TARGET_ECN=m
452CONFIG_IP_NF_TARGET_TTL=m
453CONFIG_IP_NF_RAW=m
454CONFIG_IP_NF_ARPTABLES=m
455CONFIG_IP_NF_ARPFILTER=m
456CONFIG_IP_NF_ARP_MANGLE=m
457
458#
459# IPv6: Netfilter Configuration (EXPERIMENTAL)
460#
461# CONFIG_IP6_NF_QUEUE is not set
462# CONFIG_IP6_NF_IPTABLES is not set
463# CONFIG_IP_DCCP is not set
464# CONFIG_IP_SCTP is not set
465# CONFIG_TIPC is not set
466# CONFIG_ATM is not set
467# CONFIG_BRIDGE is not set
468# CONFIG_VLAN_8021Q is not set
469# CONFIG_DECNET is not set
470# CONFIG_LLC2 is not set
471# CONFIG_IPX is not set
472# CONFIG_ATALK is not set
473# CONFIG_X25 is not set
474# CONFIG_LAPB is not set
475# CONFIG_ECONET is not set
476# CONFIG_WAN_ROUTER is not set
477# CONFIG_NET_SCHED is not set
478
479#
480# Network testing
481#
482# CONFIG_NET_PKTGEN is not set
483# CONFIG_HAMRADIO is not set
484CONFIG_IRDA=m
485
486#
487# IrDA protocols
488#
489CONFIG_IRLAN=m
490CONFIG_IRNET=m
491CONFIG_IRCOMM=m
492# CONFIG_IRDA_ULTRA is not set
493
494#
495# IrDA options
496#
497# CONFIG_IRDA_CACHE_LAST_LSAP is not set
498# CONFIG_IRDA_FAST_RR is not set
499# CONFIG_IRDA_DEBUG is not set
500
501#
502# Infrared-port device drivers
503#
504
505#
506# SIR device drivers
507#
508# CONFIG_IRTTY_SIR is not set
509
510#
511# Dongle support
512#
513# CONFIG_KINGSUN_DONGLE is not set
514# CONFIG_KSDAZZLE_DONGLE is not set
515# CONFIG_KS959_DONGLE is not set
516
517#
518# Old SIR device drivers
519#
520
521#
522# Old Serial dongle support
523#
524
525#
526# FIR device drivers
527#
528# CONFIG_USB_IRDA is not set
529# CONFIG_SIGMATEL_FIR is not set
530# CONFIG_NSC_FIR is not set
531# CONFIG_WINBOND_FIR is not set
532# CONFIG_TOSHIBA_FIR is not set
533# CONFIG_SMC_IRCC_FIR is not set
534# CONFIG_ALI_FIR is not set
535# CONFIG_VLSI_FIR is not set
536# CONFIG_VIA_FIR is not set
537# CONFIG_MCS_FIR is not set
538CONFIG_BT=m
539CONFIG_BT_L2CAP=m
540CONFIG_BT_SCO=m
541CONFIG_BT_RFCOMM=m
542CONFIG_BT_RFCOMM_TTY=y
543CONFIG_BT_BNEP=m
544CONFIG_BT_BNEP_MC_FILTER=y
545CONFIG_BT_BNEP_PROTO_FILTER=y
546CONFIG_BT_HIDP=m
547
548#
549# Bluetooth device drivers
550#
551CONFIG_BT_HCIUSB=m
552# CONFIG_BT_HCIUSB_SCO is not set
553CONFIG_BT_HCIUART=m
554CONFIG_BT_HCIUART_H4=y
555CONFIG_BT_HCIUART_BCSP=y
556# CONFIG_BT_HCIUART_LL is not set
557CONFIG_BT_HCIBCM203X=m
558CONFIG_BT_HCIBPA10X=m
559CONFIG_BT_HCIBFUSB=m
560CONFIG_BT_HCIVHCI=m
561# CONFIG_AF_RXRPC is not set
562
563#
564# Wireless
565#
566# CONFIG_CFG80211 is not set
567CONFIG_WIRELESS_EXT=y
568# CONFIG_MAC80211 is not set
569CONFIG_IEEE80211=m
570# CONFIG_IEEE80211_DEBUG is not set
571CONFIG_IEEE80211_CRYPT_WEP=m
572CONFIG_IEEE80211_CRYPT_CCMP=m
573CONFIG_IEEE80211_CRYPT_TKIP=m
574CONFIG_IEEE80211_SOFTMAC=m
575# CONFIG_IEEE80211_SOFTMAC_DEBUG is not set
576# CONFIG_RFKILL is not set
577# CONFIG_NET_9P is not set
578
579#
580# Device Drivers
581#
582
583#
584# Generic Driver Options
585#
586CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
587CONFIG_STANDALONE=y
588CONFIG_PREVENT_FIRMWARE_BUILD=y
589CONFIG_FW_LOADER=y
590# CONFIG_SYS_HYPERVISOR is not set
591CONFIG_CONNECTOR=y
592CONFIG_PROC_EVENTS=y
593# CONFIG_MTD is not set
594CONFIG_PARPORT=y
595CONFIG_PARPORT_PC=y
596# CONFIG_PARPORT_SERIAL is not set
597# CONFIG_PARPORT_PC_FIFO is not set
598# CONFIG_PARPORT_PC_SUPERIO is not set
599# CONFIG_PARPORT_GSC is not set
600# CONFIG_PARPORT_AX88796 is not set
601# CONFIG_PARPORT_1284 is not set
602CONFIG_PNP=y
603# CONFIG_PNP_DEBUG is not set
604
605#
606# Protocols
607#
608# CONFIG_ISAPNP is not set
609# CONFIG_PNPBIOS is not set
610CONFIG_PNPACPI=y
611CONFIG_BLK_DEV=y
612CONFIG_BLK_DEV_FD=y
613# CONFIG_BLK_DEV_XD is not set
614# CONFIG_PARIDE is not set
615# CONFIG_BLK_CPQ_DA is not set
616# CONFIG_BLK_CPQ_CISS_DA is not set
617# CONFIG_BLK_DEV_DAC960 is not set
618# CONFIG_BLK_DEV_UMEM is not set
619# CONFIG_BLK_DEV_COW_COMMON is not set
620CONFIG_BLK_DEV_LOOP=y
621# CONFIG_BLK_DEV_CRYPTOLOOP is not set
622# CONFIG_BLK_DEV_NBD is not set
623# CONFIG_BLK_DEV_SX8 is not set
624# CONFIG_BLK_DEV_UB is not set
625CONFIG_BLK_DEV_RAM=y
626CONFIG_BLK_DEV_RAM_COUNT=16
627CONFIG_BLK_DEV_RAM_SIZE=65536
628CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
629# CONFIG_CDROM_PKTCDVD is not set
630# CONFIG_ATA_OVER_ETH is not set
631CONFIG_MISC_DEVICES=y
632# CONFIG_IBM_ASM is not set
633# CONFIG_PHANTOM is not set
634# CONFIG_EEPROM_93CX6 is not set
635# CONFIG_SGI_IOC4 is not set
636# CONFIG_TIFM_CORE is not set
637# CONFIG_ASUS_LAPTOP is not set
638# CONFIG_FUJITSU_LAPTOP is not set
639# CONFIG_MSI_LAPTOP is not set
640# CONFIG_SONY_LAPTOP is not set
641# CONFIG_THINKPAD_ACPI is not set
642CONFIG_IDE=y
643CONFIG_IDE_MAX_HWIFS=4
644CONFIG_BLK_DEV_IDE=y
645
646#
647# Please see Documentation/ide.txt for help/info on IDE drives
648#
649# CONFIG_BLK_DEV_IDE_SATA is not set
650# CONFIG_BLK_DEV_HD_IDE is not set
651CONFIG_BLK_DEV_IDEDISK=y
652CONFIG_IDEDISK_MULTI_MODE=y
653CONFIG_BLK_DEV_IDECD=y
654# CONFIG_BLK_DEV_IDETAPE is not set
655# CONFIG_BLK_DEV_IDEFLOPPY is not set
656# CONFIG_BLK_DEV_IDESCSI is not set
657# CONFIG_BLK_DEV_IDEACPI is not set
658# CONFIG_IDE_TASK_IOCTL is not set
659CONFIG_IDE_PROC_FS=y
660
661#
662# IDE chipset support/bugfixes
663#
664CONFIG_IDE_GENERIC=y
665# CONFIG_BLK_DEV_PLATFORM is not set
666CONFIG_BLK_DEV_CMD640=y
667# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
668# CONFIG_BLK_DEV_IDEPNP is not set
669
670#
671# PCI IDE chipsets support
672#
673CONFIG_BLK_DEV_IDEPCI=y
674CONFIG_IDEPCI_SHARE_IRQ=y
675CONFIG_IDEPCI_PCIBUS_ORDER=y
676# CONFIG_BLK_DEV_OFFBOARD is not set
677CONFIG_BLK_DEV_GENERIC=y
678# CONFIG_BLK_DEV_OPTI621 is not set
679CONFIG_BLK_DEV_RZ1000=y
680CONFIG_BLK_DEV_IDEDMA_PCI=y
681# CONFIG_BLK_DEV_AEC62XX is not set
682# CONFIG_BLK_DEV_ALI15X3 is not set
683# CONFIG_BLK_DEV_AMD74XX is not set
684# CONFIG_BLK_DEV_ATIIXP is not set
685# CONFIG_BLK_DEV_CMD64X is not set
686# CONFIG_BLK_DEV_TRIFLEX is not set
687# CONFIG_BLK_DEV_CY82C693 is not set
688# CONFIG_BLK_DEV_CS5520 is not set
689# CONFIG_BLK_DEV_CS5530 is not set
690# CONFIG_BLK_DEV_CS5535 is not set
691# CONFIG_BLK_DEV_HPT34X is not set
692# CONFIG_BLK_DEV_HPT366 is not set
693# CONFIG_BLK_DEV_JMICRON is not set
694# CONFIG_BLK_DEV_SC1200 is not set
695CONFIG_BLK_DEV_PIIX=y
696# CONFIG_BLK_DEV_IT8213 is not set
697# CONFIG_BLK_DEV_IT821X is not set
698# CONFIG_BLK_DEV_NS87415 is not set
699# CONFIG_BLK_DEV_PDC202XX_OLD is not set
700# CONFIG_BLK_DEV_PDC202XX_NEW is not set
701# CONFIG_BLK_DEV_SVWKS is not set
702# CONFIG_BLK_DEV_SIIMAGE is not set
703# CONFIG_BLK_DEV_SIS5513 is not set
704# CONFIG_BLK_DEV_SLC90E66 is not set
705# CONFIG_BLK_DEV_TRM290 is not set
706# CONFIG_BLK_DEV_VIA82CXXX is not set
707# CONFIG_BLK_DEV_TC86C001 is not set
708# CONFIG_IDE_ARM is not set
709
710#
711# Other IDE chipsets support
712#
713
714#
715# Note: most of these also require special kernel boot parameters
716#
717# CONFIG_BLK_DEV_4DRIVES is not set
718# CONFIG_BLK_DEV_ALI14XX is not set
719# CONFIG_BLK_DEV_DTC2278 is not set
720# CONFIG_BLK_DEV_HT6560B is not set
721# CONFIG_BLK_DEV_QD65XX is not set
722# CONFIG_BLK_DEV_UMC8672 is not set
723CONFIG_BLK_DEV_IDEDMA=y
724CONFIG_IDE_ARCH_OBSOLETE_INIT=y
725# CONFIG_BLK_DEV_HD is not set
726
727#
728# SCSI device support
729#
730# CONFIG_RAID_ATTRS is not set
731CONFIG_SCSI=y
732CONFIG_SCSI_DMA=y
733# CONFIG_SCSI_TGT is not set
734# CONFIG_SCSI_NETLINK is not set
735CONFIG_SCSI_PROC_FS=y
736
737#
738# SCSI support type (disk, tape, CD-ROM)
739#
740CONFIG_BLK_DEV_SD=y
741# CONFIG_CHR_DEV_ST is not set
742# CONFIG_CHR_DEV_OSST is not set
743# CONFIG_BLK_DEV_SR is not set
744CONFIG_CHR_DEV_SG=y
745# CONFIG_CHR_DEV_SCH is not set
746
747#
748# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
749#
750CONFIG_SCSI_MULTI_LUN=y
751# CONFIG_SCSI_CONSTANTS is not set
752# CONFIG_SCSI_LOGGING is not set
753# CONFIG_SCSI_SCAN_ASYNC is not set
754CONFIG_SCSI_WAIT_SCAN=m
755
756#
757# SCSI Transports
758#
759CONFIG_SCSI_SPI_ATTRS=y
760# CONFIG_SCSI_FC_ATTRS is not set
761# CONFIG_SCSI_ISCSI_ATTRS is not set
762# CONFIG_SCSI_SAS_LIBSAS is not set
763# CONFIG_SCSI_SRP_ATTRS is not set
764CONFIG_SCSI_LOWLEVEL=y
765# CONFIG_ISCSI_TCP is not set
766# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
767# CONFIG_SCSI_3W_9XXX is not set
768# CONFIG_SCSI_7000FASST is not set
769# CONFIG_SCSI_ACARD is not set
770# CONFIG_SCSI_AHA152X is not set
771# CONFIG_SCSI_AHA1542 is not set
772# CONFIG_SCSI_AACRAID is not set
773# CONFIG_SCSI_AIC7XXX is not set
774# CONFIG_SCSI_AIC7XXX_OLD is not set
775# CONFIG_SCSI_AIC79XX is not set
776# CONFIG_SCSI_AIC94XX is not set
777CONFIG_SCSI_DPT_I2O=m
778# CONFIG_SCSI_ADVANSYS is not set
779# CONFIG_SCSI_IN2000 is not set
780# CONFIG_SCSI_ARCMSR is not set
781# CONFIG_MEGARAID_NEWGEN is not set
782# CONFIG_MEGARAID_LEGACY is not set
783# CONFIG_MEGARAID_SAS is not set
784# CONFIG_SCSI_HPTIOP is not set
785# CONFIG_SCSI_BUSLOGIC is not set
786# CONFIG_SCSI_DMX3191D is not set
787# CONFIG_SCSI_DTC3280 is not set
788# CONFIG_SCSI_EATA is not set
789# CONFIG_SCSI_FUTURE_DOMAIN is not set
790# CONFIG_SCSI_GDTH is not set
791# CONFIG_SCSI_GENERIC_NCR5380 is not set
792# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
793# CONFIG_SCSI_IPS is not set
794# CONFIG_SCSI_INITIO is not set
795# CONFIG_SCSI_INIA100 is not set
796# CONFIG_SCSI_PPA is not set
797# CONFIG_SCSI_IMM is not set
798# CONFIG_SCSI_NCR53C406A is not set
799# CONFIG_SCSI_STEX is not set
800# CONFIG_SCSI_SYM53C8XX_2 is not set
801# CONFIG_SCSI_PAS16 is not set
802# CONFIG_SCSI_PSI240I is not set
803# CONFIG_SCSI_QLOGIC_FAS is not set
804# CONFIG_SCSI_QLOGIC_1280 is not set
805# CONFIG_SCSI_QLA_FC is not set
806# CONFIG_SCSI_QLA_ISCSI is not set
807# CONFIG_SCSI_LPFC is not set
808# CONFIG_SCSI_SEAGATE is not set
809# CONFIG_SCSI_SYM53C416 is not set
810# CONFIG_SCSI_DC395x is not set
811# CONFIG_SCSI_DC390T is not set
812# CONFIG_SCSI_T128 is not set
813# CONFIG_SCSI_U14_34F is not set
814# CONFIG_SCSI_ULTRASTOR is not set
815# CONFIG_SCSI_NSP32 is not set
816# CONFIG_SCSI_DEBUG is not set
817# CONFIG_SCSI_SRP is not set
818# CONFIG_ATA is not set
819CONFIG_MD=y
820# CONFIG_BLK_DEV_MD is not set
821CONFIG_BLK_DEV_DM=m
822# CONFIG_DM_DEBUG is not set
823CONFIG_DM_CRYPT=m
824CONFIG_DM_SNAPSHOT=m
825CONFIG_DM_MIRROR=m
826CONFIG_DM_ZERO=m
827CONFIG_DM_MULTIPATH=m
828CONFIG_DM_MULTIPATH_EMC=m
829# CONFIG_DM_MULTIPATH_RDAC is not set
830# CONFIG_DM_MULTIPATH_HP is not set
831# CONFIG_DM_DELAY is not set
832# CONFIG_DM_UEVENT is not set
833# CONFIG_FUSION is not set
834
835#
836# IEEE 1394 (FireWire) support
837#
838# CONFIG_FIREWIRE is not set
839# CONFIG_IEEE1394 is not set
840# CONFIG_I2O is not set
841# CONFIG_MACINTOSH_DRIVERS is not set
842CONFIG_NETDEVICES=y
843# CONFIG_NETDEVICES_MULTIQUEUE is not set
844# CONFIG_DUMMY is not set
845# CONFIG_BONDING is not set
846# CONFIG_MACVLAN is not set
847# CONFIG_EQUALIZER is not set
848CONFIG_TUN=m
849# CONFIG_VETH is not set
850# CONFIG_NET_SB1000 is not set
851# CONFIG_ARCNET is not set
852# CONFIG_PHYLIB is not set
853CONFIG_NET_ETHERNET=y
854CONFIG_MII=y
855# CONFIG_HAPPYMEAL is not set
856# CONFIG_SUNGEM is not set
857# CONFIG_CASSINI is not set
858CONFIG_NET_VENDOR_3COM=y
859# CONFIG_EL1 is not set
860# CONFIG_EL2 is not set
861# CONFIG_ELPLUS is not set
862# CONFIG_EL16 is not set
863# CONFIG_EL3 is not set
864# CONFIG_3C515 is not set
865CONFIG_VORTEX=m
866CONFIG_TYPHOON=m
867CONFIG_LANCE=m
868CONFIG_NET_VENDOR_SMC=y
869CONFIG_WD80x3=m
870CONFIG_ULTRA=m
871CONFIG_SMC9194=m
872# CONFIG_NET_VENDOR_RACAL is not set
873CONFIG_NET_TULIP=y
874# CONFIG_DE2104X is not set
875CONFIG_TULIP=m
876CONFIG_TULIP_MWI=y
877CONFIG_TULIP_MMIO=y
878CONFIG_TULIP_NAPI=y
879CONFIG_TULIP_NAPI_HW_MITIGATION=y
880CONFIG_DE4X5=m
881CONFIG_WINBOND_840=m
882CONFIG_DM9102=m
883CONFIG_ULI526X=m
884CONFIG_AT1700=m
885CONFIG_DEPCA=m
886CONFIG_HP100=m
887CONFIG_NET_ISA=y
888# CONFIG_E2100 is not set
889# CONFIG_EWRK3 is not set
890# CONFIG_EEXPRESS is not set
891# CONFIG_EEXPRESS_PRO is not set
892# CONFIG_HPLAN_PLUS is not set
893# CONFIG_HPLAN is not set
894# CONFIG_LP486E is not set
895# CONFIG_ETH16I is not set
896CONFIG_NE2000=y
897# CONFIG_ZNET is not set
898# CONFIG_SEEQ8005 is not set
899# CONFIG_IBM_NEW_EMAC_ZMII is not set
900# CONFIG_IBM_NEW_EMAC_RGMII is not set
901# CONFIG_IBM_NEW_EMAC_TAH is not set
902# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
903CONFIG_NET_PCI=y
904CONFIG_PCNET32=m
905CONFIG_PCNET32_NAPI=y
906CONFIG_AMD8111_ETH=m
907CONFIG_AMD8111E_NAPI=y
908CONFIG_ADAPTEC_STARFIRE=m
909CONFIG_ADAPTEC_STARFIRE_NAPI=y
910CONFIG_AC3200=m
911CONFIG_APRICOT=m
912CONFIG_B44=m
913CONFIG_B44_PCI_AUTOSELECT=y
914CONFIG_B44_PCICORE_AUTOSELECT=y
915CONFIG_B44_PCI=y
916CONFIG_FORCEDETH=m
917CONFIG_FORCEDETH_NAPI=y
918CONFIG_CS89x0=m
919CONFIG_EEPRO100=m
920CONFIG_E100=m
921CONFIG_FEALNX=m
922CONFIG_NATSEMI=m
923CONFIG_NE2K_PCI=y
924CONFIG_8139CP=m
925CONFIG_8139TOO=m
926CONFIG_8139TOO_PIO=y
927CONFIG_8139TOO_TUNE_TWISTER=y
928CONFIG_8139TOO_8129=y
929# CONFIG_8139_OLD_RX_RESET is not set
930CONFIG_SIS900=m
931CONFIG_EPIC100=m
932CONFIG_SUNDANCE=m
933CONFIG_SUNDANCE_MMIO=y
934CONFIG_TLAN=m
935CONFIG_VIA_RHINE=m
936CONFIG_VIA_RHINE_MMIO=y
937CONFIG_VIA_RHINE_NAPI=y
938CONFIG_SC92031=m
939# CONFIG_NET_POCKET is not set
940CONFIG_NETDEV_1000=y
941CONFIG_ACENIC=m
942CONFIG_ACENIC_OMIT_TIGON_I=y
943CONFIG_DL2K=m
944CONFIG_E1000=m
945CONFIG_E1000_NAPI=y
946# CONFIG_E1000_DISABLE_PACKET_SPLIT is not set
947# CONFIG_E1000E is not set
948# CONFIG_IP1000 is not set
949CONFIG_NS83820=m
950CONFIG_HAMACHI=m
951CONFIG_YELLOWFIN=m
952CONFIG_R8169=m
953CONFIG_R8169_NAPI=y
954CONFIG_SIS190=m
955CONFIG_SKGE=m
956CONFIG_SKY2=m
957CONFIG_SK98LIN=m
958CONFIG_VIA_VELOCITY=m
959CONFIG_TIGON3=m
960CONFIG_BNX2=m
961CONFIG_QLA3XXX=m
962CONFIG_ATL1=m
963CONFIG_NETDEV_10000=y
964# CONFIG_CHELSIO_T1 is not set
965# CONFIG_CHELSIO_T3 is not set
966# CONFIG_IXGBE is not set
967# CONFIG_IXGB is not set
968CONFIG_S2IO=m
969# CONFIG_S2IO_NAPI is not set
970# CONFIG_MYRI10GE is not set
971# CONFIG_NETXEN_NIC is not set
972# CONFIG_NIU is not set
973# CONFIG_MLX4_CORE is not set
974# CONFIG_TEHUTI is not set
975# CONFIG_TR is not set
976
977#
978# Wireless LAN
979#
980# CONFIG_WLAN_PRE80211 is not set
981CONFIG_WLAN_80211=y
982# CONFIG_IPW2100 is not set
983# CONFIG_IPW2200 is not set
984# CONFIG_LIBERTAS is not set
985# CONFIG_AIRO is not set
986CONFIG_HERMES=m
987# CONFIG_PLX_HERMES is not set
988# CONFIG_TMD_HERMES is not set
989# CONFIG_NORTEL_HERMES is not set
990# CONFIG_PCI_HERMES is not set
991# CONFIG_ATMEL is not set
992# CONFIG_PRISM54 is not set
993# CONFIG_USB_ZD1201 is not set
994CONFIG_HOSTAP=m
995CONFIG_HOSTAP_FIRMWARE=y
996# CONFIG_HOSTAP_FIRMWARE_NVRAM is not set
997# CONFIG_HOSTAP_PLX is not set
998# CONFIG_HOSTAP_PCI is not set
999# CONFIG_BCM43XX is not set
1000# CONFIG_ZD1211RW is not set
1001
1002#
1003# USB Network Adapters
1004#
1005# CONFIG_USB_CATC is not set
1006# CONFIG_USB_KAWETH is not set
1007# CONFIG_USB_PEGASUS is not set
1008# CONFIG_USB_RTL8150 is not set
1009# CONFIG_USB_USBNET is not set
1010# CONFIG_WAN is not set
1011# CONFIG_FDDI is not set
1012# CONFIG_HIPPI is not set
1013# CONFIG_PLIP is not set
1014CONFIG_PPP=m
1015# CONFIG_PPP_MULTILINK is not set
1016# CONFIG_PPP_FILTER is not set
1017CONFIG_PPP_ASYNC=m
1018# CONFIG_PPP_SYNC_TTY is not set
1019CONFIG_PPP_DEFLATE=m
1020CONFIG_PPP_BSDCOMP=m
1021# CONFIG_PPP_MPPE is not set
1022# CONFIG_PPPOE is not set
1023# CONFIG_PPPOL2TP is not set
1024# CONFIG_SLIP is not set
1025CONFIG_SLHC=m
1026# CONFIG_NET_FC is not set
1027# CONFIG_SHAPER is not set
1028# CONFIG_NETCONSOLE is not set
1029# CONFIG_NETPOLL is not set
1030# CONFIG_NET_POLL_CONTROLLER is not set
1031# CONFIG_ISDN is not set
1032# CONFIG_PHONE is not set
1033
1034#
1035# Input device support
1036#
1037CONFIG_INPUT=y
1038# CONFIG_INPUT_FF_MEMLESS is not set
1039# CONFIG_INPUT_POLLDEV is not set
1040
1041#
1042# Userland interfaces
1043#
1044CONFIG_INPUT_MOUSEDEV=m
1045# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
1046CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
1047CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
1048# CONFIG_INPUT_JOYDEV is not set
1049CONFIG_INPUT_EVDEV=y
1050# CONFIG_INPUT_EVBUG is not set
1051
1052#
1053# Input Device Drivers
1054#
1055CONFIG_INPUT_KEYBOARD=y
1056CONFIG_KEYBOARD_ATKBD=y
1057# CONFIG_KEYBOARD_SUNKBD is not set
1058# CONFIG_KEYBOARD_LKKBD is not set
1059# CONFIG_KEYBOARD_XTKBD is not set
1060# CONFIG_KEYBOARD_NEWTON is not set
1061# CONFIG_KEYBOARD_STOWAWAY is not set
1062CONFIG_INPUT_MOUSE=y
1063CONFIG_MOUSE_PS2=y
1064CONFIG_MOUSE_PS2_ALPS=y
1065CONFIG_MOUSE_PS2_LOGIPS2PP=y
1066CONFIG_MOUSE_PS2_SYNAPTICS=y
1067CONFIG_MOUSE_PS2_LIFEBOOK=y
1068CONFIG_MOUSE_PS2_TRACKPOINT=y
1069# CONFIG_MOUSE_PS2_TOUCHKIT is not set
1070# CONFIG_MOUSE_SERIAL is not set
1071# CONFIG_MOUSE_APPLETOUCH is not set
1072# CONFIG_MOUSE_INPORT is not set
1073# CONFIG_MOUSE_LOGIBM is not set
1074# CONFIG_MOUSE_PC110PAD is not set
1075# CONFIG_MOUSE_VSXXXAA is not set
1076# CONFIG_INPUT_JOYSTICK is not set
1077CONFIG_INPUT_TABLET=y
1078# CONFIG_TABLET_USB_ACECAD is not set
1079# CONFIG_TABLET_USB_AIPTEK is not set
1080# CONFIG_TABLET_USB_GTCO is not set
1081# CONFIG_TABLET_USB_KBTAB is not set
1082CONFIG_TABLET_USB_WACOM=y
1083# CONFIG_INPUT_TOUCHSCREEN is not set
1084CONFIG_INPUT_MISC=y
1085# CONFIG_INPUT_PCSPKR is not set
1086# CONFIG_INPUT_WISTRON_BTNS is not set
1087# CONFIG_INPUT_ATLAS_BTNS is not set
1088# CONFIG_INPUT_ATI_REMOTE is not set
1089# CONFIG_INPUT_ATI_REMOTE2 is not set
1090# CONFIG_INPUT_KEYSPAN_REMOTE is not set
1091# CONFIG_INPUT_POWERMATE is not set
1092# CONFIG_INPUT_YEALINK is not set
1093CONFIG_INPUT_UINPUT=m
1094
1095#
1096# Hardware I/O ports
1097#
1098CONFIG_SERIO=y
1099CONFIG_SERIO_I8042=y
1100# CONFIG_SERIO_SERPORT is not set
1101# CONFIG_SERIO_CT82C710 is not set
1102# CONFIG_SERIO_PARKBD is not set
1103# CONFIG_SERIO_PCIPS2 is not set
1104CONFIG_SERIO_LIBPS2=y
1105# CONFIG_SERIO_RAW is not set
1106# CONFIG_GAMEPORT is not set
1107
1108#
1109# Character devices
1110#
1111CONFIG_VT=y
1112CONFIG_VT_CONSOLE=y
1113CONFIG_HW_CONSOLE=y
1114# CONFIG_VT_HW_CONSOLE_BINDING is not set
1115# CONFIG_SERIAL_NONSTANDARD is not set
1116
1117#
1118# Serial drivers
1119#
1120CONFIG_SERIAL_8250=y
1121# CONFIG_SERIAL_8250_CONSOLE is not set
1122CONFIG_FIX_EARLYCON_MEM=y
1123CONFIG_SERIAL_8250_PCI=y
1124CONFIG_SERIAL_8250_PNP=y
1125CONFIG_SERIAL_8250_NR_UARTS=4
1126CONFIG_SERIAL_8250_RUNTIME_UARTS=4
1127# CONFIG_SERIAL_8250_EXTENDED is not set
1128
1129#
1130# Non-8250 serial port support
1131#
1132CONFIG_SERIAL_CORE=y
1133# CONFIG_SERIAL_JSM is not set
1134CONFIG_UNIX98_PTYS=y
1135# CONFIG_LEGACY_PTYS is not set
1136CONFIG_PRINTER=y
1137# CONFIG_LP_CONSOLE is not set
1138# CONFIG_PPDEV is not set
1139# CONFIG_IPMI_HANDLER is not set
1140# CONFIG_HW_RANDOM is not set
1141# CONFIG_NVRAM is not set
1142# CONFIG_RTC is not set
1143# CONFIG_GEN_RTC is not set
1144# CONFIG_DTLK is not set
1145# CONFIG_R3964 is not set
1146# CONFIG_APPLICOM is not set
1147# CONFIG_SONYPI is not set
1148# CONFIG_MWAVE is not set
1149# CONFIG_PC8736x_GPIO is not set
1150# CONFIG_NSC_GPIO is not set
1151# CONFIG_CS5535_GPIO is not set
1152# CONFIG_RAW_DRIVER is not set
1153# CONFIG_HPET is not set
1154# CONFIG_HANGCHECK_TIMER is not set
1155# CONFIG_TCG_TPM is not set
1156# CONFIG_TELCLOCK is not set
1157CONFIG_DEVPORT=y
1158# CONFIG_I2C is not set
1159
1160#
1161# SPI support
1162#
1163# CONFIG_SPI is not set
1164# CONFIG_SPI_MASTER is not set
1165# CONFIG_W1 is not set
1166CONFIG_POWER_SUPPLY=y
1167# CONFIG_POWER_SUPPLY_DEBUG is not set
1168# CONFIG_PDA_POWER is not set
1169# CONFIG_BATTERY_DS2760 is not set
1170# CONFIG_HWMON is not set
1171# CONFIG_WATCHDOG is not set
1172
1173#
1174# Sonics Silicon Backplane
1175#
1176CONFIG_SSB_POSSIBLE=y
1177CONFIG_SSB=m
1178CONFIG_SSB_PCIHOST_POSSIBLE=y
1179CONFIG_SSB_PCIHOST=y
1180# CONFIG_SSB_SILENT is not set
1181# CONFIG_SSB_DEBUG is not set
1182CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
1183CONFIG_SSB_DRIVER_PCICORE=y
1184
1185#
1186# Multifunction device drivers
1187#
1188# CONFIG_MFD_SM501 is not set
1189# CONFIG_HTC_ASIC3 is not set
1190# CONFIG_HTC_ASIC3_DS1WM is not set
1191
1192#
1193# Multimedia devices
1194#
1195CONFIG_VIDEO_DEV=m
1196CONFIG_VIDEO_V4L1=y
1197CONFIG_VIDEO_V4L1_COMPAT=y
1198CONFIG_VIDEO_V4L2=y
1199CONFIG_VIDEO_CAPTURE_DRIVERS=y
1200# CONFIG_VIDEO_ADV_DEBUG is not set
1201CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
1202# CONFIG_VIDEO_VIVI is not set
1203# CONFIG_VIDEO_PMS is not set
1204# CONFIG_VIDEO_BWQCAM is not set
1205# CONFIG_VIDEO_CQCAM is not set
1206# CONFIG_VIDEO_CPIA is not set
1207# CONFIG_VIDEO_CPIA2 is not set
1208# CONFIG_VIDEO_STRADIS is not set
1209CONFIG_V4L_USB_DRIVERS=y
1210# CONFIG_USB_VICAM is not set
1211# CONFIG_USB_IBMCAM is not set
1212# CONFIG_USB_KONICAWC is not set
1213# CONFIG_USB_QUICKCAM_MESSENGER is not set
1214# CONFIG_USB_ET61X251 is not set
1215CONFIG_USB_OV511=m
1216CONFIG_USB_SE401=m
1217CONFIG_USB_SN9C102=m
1218CONFIG_USB_STV680=m
1219# CONFIG_USB_ZC0301 is not set
1220# CONFIG_USB_PWC is not set
1221# CONFIG_USB_ZR364XX is not set
1222CONFIG_RADIO_ADAPTERS=y
1223# CONFIG_RADIO_CADET is not set
1224# CONFIG_RADIO_RTRACK is not set
1225# CONFIG_RADIO_RTRACK2 is not set
1226# CONFIG_RADIO_AZTECH is not set
1227# CONFIG_RADIO_GEMTEK is not set
1228# CONFIG_RADIO_GEMTEK_PCI is not set
1229# CONFIG_RADIO_MAXIRADIO is not set
1230# CONFIG_RADIO_MAESTRO is not set
1231# CONFIG_RADIO_SF16FMI is not set
1232# CONFIG_RADIO_SF16FMR2 is not set
1233# CONFIG_RADIO_TERRATEC is not set
1234# CONFIG_RADIO_TRUST is not set
1235# CONFIG_RADIO_TYPHOON is not set
1236# CONFIG_RADIO_ZOLTRIX is not set
1237CONFIG_USB_DSBR=m
1238# CONFIG_DVB_CORE is not set
1239CONFIG_DAB=y
1240# CONFIG_USB_DABUSB is not set
1241
1242#
1243# Graphics support
1244#
1245CONFIG_AGP=m
1246CONFIG_AGP_ALI=m
1247CONFIG_AGP_ATI=m
1248CONFIG_AGP_AMD=m
1249CONFIG_AGP_AMD64=m
1250CONFIG_AGP_INTEL=m
1251CONFIG_AGP_NVIDIA=m
1252CONFIG_AGP_SIS=m
1253CONFIG_AGP_SWORKS=m
1254CONFIG_AGP_VIA=m
1255CONFIG_AGP_EFFICEON=m
1256CONFIG_DRM=m
1257# CONFIG_DRM_TDFX is not set
1258# CONFIG_DRM_R128 is not set
1259# CONFIG_DRM_RADEON is not set
1260# CONFIG_DRM_I810 is not set
1261# CONFIG_DRM_I830 is not set
1262# CONFIG_DRM_I915 is not set
1263# CONFIG_DRM_MGA is not set
1264# CONFIG_DRM_SIS is not set
1265# CONFIG_DRM_VIA is not set
1266# CONFIG_DRM_SAVAGE is not set
1267# CONFIG_VGASTATE is not set
1268CONFIG_VIDEO_OUTPUT_CONTROL=m
1269CONFIG_FB=y
1270# CONFIG_FIRMWARE_EDID is not set
1271# CONFIG_FB_DDC is not set
1272CONFIG_FB_CFB_FILLRECT=m
1273CONFIG_FB_CFB_COPYAREA=m
1274CONFIG_FB_CFB_IMAGEBLIT=m
1275# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
1276# CONFIG_FB_SYS_FILLRECT is not set
1277# CONFIG_FB_SYS_COPYAREA is not set
1278# CONFIG_FB_SYS_IMAGEBLIT is not set
1279# CONFIG_FB_SYS_FOPS is not set
1280# CONFIG_FB_DEFERRED_IO is not set
1281# CONFIG_FB_SVGALIB is not set
1282# CONFIG_FB_MACMODES is not set
1283# CONFIG_FB_BACKLIGHT is not set
1284CONFIG_FB_MODE_HELPERS=y
1285# CONFIG_FB_TILEBLITTING is not set
1286
1287#
1288# Frame buffer hardware drivers
1289#
1290# CONFIG_FB_CIRRUS is not set
1291# CONFIG_FB_PM2 is not set
1292# CONFIG_FB_CYBER2000 is not set
1293# CONFIG_FB_ARC is not set
1294# CONFIG_FB_ASILIANT is not set
1295# CONFIG_FB_IMSTT is not set
1296# CONFIG_FB_VGA16 is not set
1297CONFIG_FB_UVESA=m
1298# CONFIG_FB_VESA is not set
1299# CONFIG_FB_EFI is not set
1300# CONFIG_FB_HECUBA is not set
1301# CONFIG_FB_HGA is not set
1302# CONFIG_FB_S1D13XXX is not set
1303# CONFIG_FB_NVIDIA is not set
1304# CONFIG_FB_RIVA is not set
1305# CONFIG_FB_I810 is not set
1306# CONFIG_FB_LE80578 is not set
1307# CONFIG_FB_INTEL is not set
1308# CONFIG_FB_MATROX is not set
1309# CONFIG_FB_RADEON is not set
1310# CONFIG_FB_ATY128 is not set
1311# CONFIG_FB_ATY is not set
1312# CONFIG_FB_S3 is not set
1313# CONFIG_FB_SAVAGE is not set
1314# CONFIG_FB_SIS is not set
1315# CONFIG_FB_NEOMAGIC is not set
1316# CONFIG_FB_KYRO is not set
1317# CONFIG_FB_3DFX is not set
1318# CONFIG_FB_VOODOO1 is not set
1319# CONFIG_FB_VT8623 is not set
1320# CONFIG_FB_CYBLA is not set
1321# CONFIG_FB_TRIDENT is not set
1322# CONFIG_FB_ARK is not set
1323# CONFIG_FB_PM3 is not set
1324# CONFIG_FB_GEODE is not set
1325# CONFIG_FB_VIRTUAL is not set
1326CONFIG_BACKLIGHT_LCD_SUPPORT=y
1327CONFIG_LCD_CLASS_DEVICE=m
1328CONFIG_BACKLIGHT_CLASS_DEVICE=m
1329CONFIG_BACKLIGHT_CORGI=m
1330# CONFIG_BACKLIGHT_PROGEAR is not set
1331
1332#
1333# Display device support
1334#
1335# CONFIG_DISPLAY_SUPPORT is not set
1336
1337#
1338# Console display driver support
1339#
1340CONFIG_VGA_CONSOLE=y
1341# CONFIG_VGACON_SOFT_SCROLLBACK is not set
1342CONFIG_VIDEO_SELECT=y
1343# CONFIG_MDA_CONSOLE is not set
1344CONFIG_DUMMY_CONSOLE=y
1345CONFIG_FRAMEBUFFER_CONSOLE=y
1346# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
1347CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
1348CONFIG_FONTS=y
1349CONFIG_FONT_8x8=y
1350CONFIG_FONT_8x16=y
1351# CONFIG_FONT_6x11 is not set
1352# CONFIG_FONT_7x14 is not set
1353# CONFIG_FONT_PEARL_8x8 is not set
1354# CONFIG_FONT_ACORN_8x8 is not set
1355# CONFIG_FONT_MINI_4x6 is not set
1356# CONFIG_FONT_SUN8x16 is not set
1357# CONFIG_FONT_SUN12x22 is not set
1358# CONFIG_FONT_10x18 is not set
1359CONFIG_LOGO=y
1360CONFIG_LOGO_LINUX_MONO=y
1361CONFIG_LOGO_LINUX_VGA16=y
1362# CONFIG_LOGO_LINUX_CLUT224 is not set
1363CONFIG_LOGO_OHAND_CLUT224=y
1364
1365#
1366# Sound
1367#
1368CONFIG_SOUND=y
1369
1370#
1371# Advanced Linux Sound Architecture
1372#
1373CONFIG_SND=y
1374CONFIG_SND_TIMER=y
1375CONFIG_SND_PCM=y
1376CONFIG_SND_SEQUENCER=y
1377# CONFIG_SND_SEQ_DUMMY is not set
1378CONFIG_SND_OSSEMUL=y
1379CONFIG_SND_MIXER_OSS=y
1380CONFIG_SND_PCM_OSS=y
1381CONFIG_SND_PCM_OSS_PLUGINS=y
1382CONFIG_SND_SEQUENCER_OSS=y
1383# CONFIG_SND_DYNAMIC_MINORS is not set
1384CONFIG_SND_SUPPORT_OLD_API=y
1385CONFIG_SND_VERBOSE_PROCFS=y
1386# CONFIG_SND_VERBOSE_PRINTK is not set
1387# CONFIG_SND_DEBUG is not set
1388
1389#
1390# Generic devices
1391#
1392CONFIG_SND_AC97_CODEC=y
1393# CONFIG_SND_DUMMY is not set
1394# CONFIG_SND_VIRMIDI is not set
1395# CONFIG_SND_MTPAV is not set
1396# CONFIG_SND_MTS64 is not set
1397# CONFIG_SND_SERIAL_U16550 is not set
1398# CONFIG_SND_MPU401 is not set
1399# CONFIG_SND_PORTMAN2X4 is not set
1400
1401#
1402# ISA devices
1403#
1404# CONFIG_SND_ADLIB is not set
1405# CONFIG_SND_AD1816A is not set
1406# CONFIG_SND_AD1848 is not set
1407# CONFIG_SND_ALS100 is not set
1408# CONFIG_SND_AZT2320 is not set
1409# CONFIG_SND_CMI8330 is not set
1410# CONFIG_SND_CS4231 is not set
1411# CONFIG_SND_CS4232 is not set
1412# CONFIG_SND_CS4236 is not set
1413# CONFIG_SND_DT019X is not set
1414# CONFIG_SND_ES968 is not set
1415# CONFIG_SND_ES1688 is not set
1416# CONFIG_SND_ES18XX is not set
1417# CONFIG_SND_SC6000 is not set
1418# CONFIG_SND_GUSCLASSIC is not set
1419# CONFIG_SND_GUSEXTREME is not set
1420# CONFIG_SND_GUSMAX is not set
1421# CONFIG_SND_INTERWAVE is not set
1422# CONFIG_SND_INTERWAVE_STB is not set
1423# CONFIG_SND_OPL3SA2 is not set
1424# CONFIG_SND_OPTI92X_AD1848 is not set
1425# CONFIG_SND_OPTI92X_CS4231 is not set
1426# CONFIG_SND_OPTI93X is not set
1427# CONFIG_SND_MIRO is not set
1428# CONFIG_SND_SB8 is not set
1429# CONFIG_SND_SB16 is not set
1430# CONFIG_SND_SBAWE is not set
1431# CONFIG_SND_SGALAXY is not set
1432# CONFIG_SND_SSCAPE is not set
1433# CONFIG_SND_WAVEFRONT is not set
1434
1435#
1436# PCI devices
1437#
1438# CONFIG_SND_AD1889 is not set
1439# CONFIG_SND_ALS300 is not set
1440# CONFIG_SND_ALS4000 is not set
1441# CONFIG_SND_ALI5451 is not set
1442# CONFIG_SND_ATIIXP is not set
1443# CONFIG_SND_ATIIXP_MODEM is not set
1444# CONFIG_SND_AU8810 is not set
1445# CONFIG_SND_AU8820 is not set
1446# CONFIG_SND_AU8830 is not set
1447# CONFIG_SND_AZT3328 is not set
1448# CONFIG_SND_BT87X is not set
1449# CONFIG_SND_CA0106 is not set
1450# CONFIG_SND_CMIPCI is not set
1451# CONFIG_SND_CS4281 is not set
1452# CONFIG_SND_CS46XX is not set
1453# CONFIG_SND_CS5530 is not set
1454# CONFIG_SND_CS5535AUDIO is not set
1455# CONFIG_SND_DARLA20 is not set
1456# CONFIG_SND_GINA20 is not set
1457# CONFIG_SND_LAYLA20 is not set
1458# CONFIG_SND_DARLA24 is not set
1459# CONFIG_SND_GINA24 is not set
1460# CONFIG_SND_LAYLA24 is not set
1461# CONFIG_SND_MONA is not set
1462# CONFIG_SND_MIA is not set
1463# CONFIG_SND_ECHO3G is not set
1464# CONFIG_SND_INDIGO is not set
1465# CONFIG_SND_INDIGOIO is not set
1466# CONFIG_SND_INDIGODJ is not set
1467# CONFIG_SND_EMU10K1 is not set
1468# CONFIG_SND_EMU10K1X is not set
1469# CONFIG_SND_ENS1370 is not set
1470# CONFIG_SND_ENS1371 is not set
1471# CONFIG_SND_ES1938 is not set
1472# CONFIG_SND_ES1968 is not set
1473# CONFIG_SND_FM801 is not set
1474# CONFIG_SND_HDA_INTEL is not set
1475# CONFIG_SND_HDSP is not set
1476# CONFIG_SND_HDSPM is not set
1477# CONFIG_SND_ICE1712 is not set
1478# CONFIG_SND_ICE1724 is not set
1479CONFIG_SND_INTEL8X0=y
1480# CONFIG_SND_INTEL8X0M is not set
1481# CONFIG_SND_KORG1212 is not set
1482# CONFIG_SND_MAESTRO3 is not set
1483# CONFIG_SND_MIXART is not set
1484# CONFIG_SND_NM256 is not set
1485# CONFIG_SND_PCXHR is not set
1486# CONFIG_SND_RIPTIDE is not set
1487# CONFIG_SND_RME32 is not set
1488# CONFIG_SND_RME96 is not set
1489# CONFIG_SND_RME9652 is not set
1490# CONFIG_SND_SONICVIBES is not set
1491# CONFIG_SND_TRIDENT is not set
1492# CONFIG_SND_VIA82XX is not set
1493# CONFIG_SND_VIA82XX_MODEM is not set
1494# CONFIG_SND_VX222 is not set
1495# CONFIG_SND_YMFPCI is not set
1496# CONFIG_SND_AC97_POWER_SAVE is not set
1497
1498#
1499# USB devices
1500#
1501# CONFIG_SND_USB_AUDIO is not set
1502# CONFIG_SND_USB_USX2Y is not set
1503# CONFIG_SND_USB_CAIAQ is not set
1504
1505#
1506# System on Chip audio support
1507#
1508# CONFIG_SND_SOC is not set
1509
1510#
1511# SoC Audio support for SuperH
1512#
1513
1514#
1515# Open Sound System
1516#
1517# CONFIG_SOUND_PRIME is not set
1518CONFIG_AC97_BUS=y
1519CONFIG_HID_SUPPORT=y
1520CONFIG_HID=y
1521# CONFIG_HID_DEBUG is not set
1522# CONFIG_HIDRAW is not set
1523
1524#
1525# USB Input Devices
1526#
1527CONFIG_USB_HID=y
1528# CONFIG_USB_HIDINPUT_POWERBOOK is not set
1529# CONFIG_HID_FF is not set
1530# CONFIG_USB_HIDDEV is not set
1531CONFIG_USB_SUPPORT=y
1532CONFIG_USB_ARCH_HAS_HCD=y
1533CONFIG_USB_ARCH_HAS_OHCI=y
1534CONFIG_USB_ARCH_HAS_EHCI=y
1535CONFIG_USB=y
1536# CONFIG_USB_DEBUG is not set
1537
1538#
1539# Miscellaneous USB options
1540#
1541CONFIG_USB_DEVICEFS=y
1542CONFIG_USB_DEVICE_CLASS=y
1543# CONFIG_USB_DYNAMIC_MINORS is not set
1544CONFIG_USB_SUSPEND=y
1545# CONFIG_USB_PERSIST is not set
1546# CONFIG_USB_OTG is not set
1547
1548#
1549# USB Host Controller Drivers
1550#
1551CONFIG_USB_EHCI_HCD=y
1552CONFIG_USB_EHCI_SPLIT_ISO=y
1553# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
1554# CONFIG_USB_EHCI_TT_NEWSCHED is not set
1555# CONFIG_USB_ISP116X_HCD is not set
1556CONFIG_USB_OHCI_HCD=y
1557# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
1558# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
1559CONFIG_USB_OHCI_LITTLE_ENDIAN=y
1560CONFIG_USB_UHCI_HCD=y
1561CONFIG_USB_SL811_HCD=m
1562# CONFIG_USB_R8A66597_HCD is not set
1563
1564#
1565# USB Device Class drivers
1566#
1567CONFIG_USB_ACM=m
1568CONFIG_USB_PRINTER=m
1569
1570#
1571# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
1572#
1573
1574#
1575# may also be needed; see USB_STORAGE Help for more information
1576#
1577CONFIG_USB_STORAGE=m
1578# CONFIG_USB_STORAGE_DEBUG is not set
1579# CONFIG_USB_STORAGE_DATAFAB is not set
1580# CONFIG_USB_STORAGE_FREECOM is not set
1581# CONFIG_USB_STORAGE_ISD200 is not set
1582# CONFIG_USB_STORAGE_DPCM is not set
1583# CONFIG_USB_STORAGE_USBAT is not set
1584# CONFIG_USB_STORAGE_SDDR09 is not set
1585# CONFIG_USB_STORAGE_SDDR55 is not set
1586# CONFIG_USB_STORAGE_JUMPSHOT is not set
1587# CONFIG_USB_STORAGE_ALAUDA is not set
1588# CONFIG_USB_STORAGE_KARMA is not set
1589# CONFIG_USB_LIBUSUAL is not set
1590
1591#
1592# USB Imaging devices
1593#
1594CONFIG_USB_MDC800=m
1595CONFIG_USB_MICROTEK=m
1596CONFIG_USB_MON=y
1597
1598#
1599# USB port drivers
1600#
1601# CONFIG_USB_USS720 is not set
1602
1603#
1604# USB Serial Converter support
1605#
1606CONFIG_USB_SERIAL=m
1607CONFIG_USB_SERIAL_GENERIC=y
1608# CONFIG_USB_SERIAL_AIRCABLE is not set
1609# CONFIG_USB_SERIAL_AIRPRIME is not set
1610# CONFIG_USB_SERIAL_ARK3116 is not set
1611CONFIG_USB_SERIAL_BELKIN=m
1612# CONFIG_USB_SERIAL_CH341 is not set
1613# CONFIG_USB_SERIAL_WHITEHEAT is not set
1614CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m
1615CONFIG_USB_SERIAL_CP2101=m
1616CONFIG_USB_SERIAL_CYPRESS_M8=m
1617CONFIG_USB_SERIAL_EMPEG=m
1618CONFIG_USB_SERIAL_FTDI_SIO=m
1619# CONFIG_USB_SERIAL_FUNSOFT is not set
1620CONFIG_USB_SERIAL_VISOR=m
1621CONFIG_USB_SERIAL_IPAQ=m
1622CONFIG_USB_SERIAL_IR=m
1623CONFIG_USB_SERIAL_EDGEPORT=m
1624CONFIG_USB_SERIAL_EDGEPORT_TI=m
1625CONFIG_USB_SERIAL_GARMIN=m
1626CONFIG_USB_SERIAL_IPW=m
1627CONFIG_USB_SERIAL_KEYSPAN_PDA=m
1628CONFIG_USB_SERIAL_KEYSPAN=m
1629# CONFIG_USB_SERIAL_KEYSPAN_MPR is not set
1630# CONFIG_USB_SERIAL_KEYSPAN_USA28 is not set
1631# CONFIG_USB_SERIAL_KEYSPAN_USA28X is not set
1632# CONFIG_USB_SERIAL_KEYSPAN_USA28XA is not set
1633# CONFIG_USB_SERIAL_KEYSPAN_USA28XB is not set
1634# CONFIG_USB_SERIAL_KEYSPAN_USA19 is not set
1635# CONFIG_USB_SERIAL_KEYSPAN_USA18X is not set
1636# CONFIG_USB_SERIAL_KEYSPAN_USA19W is not set
1637# CONFIG_USB_SERIAL_KEYSPAN_USA19QW is not set
1638# CONFIG_USB_SERIAL_KEYSPAN_USA19QI is not set
1639# CONFIG_USB_SERIAL_KEYSPAN_USA49W is not set
1640# CONFIG_USB_SERIAL_KEYSPAN_USA49WLC is not set
1641CONFIG_USB_SERIAL_KLSI=m
1642CONFIG_USB_SERIAL_KOBIL_SCT=m
1643CONFIG_USB_SERIAL_MCT_U232=m
1644# CONFIG_USB_SERIAL_MOS7720 is not set
1645# CONFIG_USB_SERIAL_MOS7840 is not set
1646# CONFIG_USB_SERIAL_NAVMAN is not set
1647CONFIG_USB_SERIAL_PL2303=m
1648# CONFIG_USB_SERIAL_OTI6858 is not set
1649# CONFIG_USB_SERIAL_HP4X is not set
1650CONFIG_USB_SERIAL_SAFE=m
1651# CONFIG_USB_SERIAL_SAFE_PADDED is not set
1652# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
1653CONFIG_USB_SERIAL_TI=m
1654CONFIG_USB_SERIAL_CYBERJACK=m
1655CONFIG_USB_SERIAL_XIRCOM=m
1656# CONFIG_USB_SERIAL_OPTION is not set
1657CONFIG_USB_SERIAL_OMNINET=m
1658# CONFIG_USB_SERIAL_DEBUG is not set
1659CONFIG_USB_EZUSB=y
1660
1661#
1662# USB Miscellaneous drivers
1663#
1664CONFIG_USB_EMI62=m
1665CONFIG_USB_EMI26=m
1666# CONFIG_USB_ADUTUX is not set
1667CONFIG_USB_AUERSWALD=m
1668CONFIG_USB_RIO500=m
1669CONFIG_USB_LEGOTOWER=m
1670CONFIG_USB_LCD=m
1671# CONFIG_USB_BERRY_CHARGE is not set
1672CONFIG_USB_LED=m
1673# CONFIG_USB_CYPRESS_CY7C63 is not set
1674CONFIG_USB_CYTHERM=m
1675# CONFIG_USB_PHIDGET is not set
1676CONFIG_USB_IDMOUSE=m
1677# CONFIG_USB_FTDI_ELAN is not set
1678# CONFIG_USB_APPLEDISPLAY is not set
1679# CONFIG_USB_SISUSBVGA is not set
1680# CONFIG_USB_LD is not set
1681# CONFIG_USB_TRANCEVIBRATOR is not set
1682# CONFIG_USB_IOWARRIOR is not set
1683# CONFIG_USB_TEST is not set
1684
1685#
1686# USB DSL modem support
1687#
1688
1689#
1690# USB Gadget Support
1691#
1692# CONFIG_USB_GADGET is not set
1693# CONFIG_MMC is not set
1694CONFIG_NEW_LEDS=y
1695CONFIG_LEDS_CLASS=y
1696
1697#
1698# LED drivers
1699#
1700
1701#
1702# LED Triggers
1703#
1704# CONFIG_LEDS_TRIGGERS is not set
1705# CONFIG_INFINIBAND is not set
1706# CONFIG_EDAC is not set
1707# CONFIG_RTC_CLASS is not set
1708# CONFIG_DMADEVICES is not set
1709# CONFIG_AUXDISPLAY is not set
1710CONFIG_VIRTUALIZATION=y
1711# CONFIG_KVM is not set
1712# CONFIG_LGUEST is not set
1713
1714#
1715# Userspace I/O
1716#
1717# CONFIG_UIO is not set
1718
1719#
1720# Firmware Drivers
1721#
1722# CONFIG_EDD is not set
1723# CONFIG_DELL_RBU is not set
1724# CONFIG_DCDBAS is not set
1725CONFIG_DMIID=y
1726
1727#
1728# File systems
1729#
1730CONFIG_EXT2_FS=y
1731# CONFIG_EXT2_FS_XATTR is not set
1732# CONFIG_EXT2_FS_XIP is not set
1733CONFIG_EXT3_FS=y
1734# CONFIG_EXT3_FS_XATTR is not set
1735# CONFIG_EXT4DEV_FS is not set
1736CONFIG_JBD=y
1737# CONFIG_REISERFS_FS is not set
1738# CONFIG_JFS_FS is not set
1739# CONFIG_FS_POSIX_ACL is not set
1740# CONFIG_XFS_FS is not set
1741# CONFIG_GFS2_FS is not set
1742# CONFIG_OCFS2_FS is not set
1743# CONFIG_MINIX_FS is not set
1744# CONFIG_ROMFS_FS is not set
1745CONFIG_INOTIFY=y
1746CONFIG_INOTIFY_USER=y
1747# CONFIG_QUOTA is not set
1748CONFIG_DNOTIFY=y
1749# CONFIG_AUTOFS_FS is not set
1750# CONFIG_AUTOFS4_FS is not set
1751# CONFIG_FUSE_FS is not set
1752
1753#
1754# CD-ROM/DVD Filesystems
1755#
1756CONFIG_ISO9660_FS=y
1757CONFIG_JOLIET=y
1758# CONFIG_ZISOFS is not set
1759CONFIG_UDF_FS=y
1760CONFIG_UDF_NLS=y
1761
1762#
1763# DOS/FAT/NT Filesystems
1764#
1765CONFIG_FAT_FS=y
1766# CONFIG_MSDOS_FS is not set
1767CONFIG_VFAT_FS=y
1768CONFIG_FAT_DEFAULT_CODEPAGE=437
1769CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1770# CONFIG_NTFS_FS is not set
1771
1772#
1773# Pseudo filesystems
1774#
1775CONFIG_PROC_FS=y
1776CONFIG_PROC_KCORE=y
1777CONFIG_PROC_SYSCTL=y
1778CONFIG_SYSFS=y
1779CONFIG_TMPFS=y
1780# CONFIG_TMPFS_POSIX_ACL is not set
1781# CONFIG_HUGETLBFS is not set
1782# CONFIG_HUGETLB_PAGE is not set
1783# CONFIG_CONFIGFS_FS is not set
1784
1785#
1786# Miscellaneous filesystems
1787#
1788# CONFIG_ADFS_FS is not set
1789# CONFIG_AFFS_FS is not set
1790# CONFIG_HFS_FS is not set
1791# CONFIG_HFSPLUS_FS is not set
1792# CONFIG_BEFS_FS is not set
1793# CONFIG_BFS_FS is not set
1794# CONFIG_EFS_FS is not set
1795CONFIG_CRAMFS=m
1796CONFIG_SQUASHFS=m
1797# CONFIG_SQUASHFS_EMBEDDED is not set
1798CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
1799# CONFIG_VXFS_FS is not set
1800# CONFIG_HPFS_FS is not set
1801# CONFIG_QNX4FS_FS is not set
1802# CONFIG_SYSV_FS is not set
1803# CONFIG_UFS_FS is not set
1804CONFIG_NETWORK_FILESYSTEMS=y
1805CONFIG_NFS_FS=y
1806CONFIG_NFS_V3=y
1807# CONFIG_NFS_V3_ACL is not set
1808# CONFIG_NFS_V4 is not set
1809# CONFIG_NFS_DIRECTIO is not set
1810CONFIG_NFSD=y
1811CONFIG_NFSD_V3=y
1812# CONFIG_NFSD_V3_ACL is not set
1813# CONFIG_NFSD_V4 is not set
1814# CONFIG_NFSD_TCP is not set
1815CONFIG_ROOT_NFS=y
1816CONFIG_LOCKD=y
1817CONFIG_LOCKD_V4=y
1818CONFIG_EXPORTFS=y
1819CONFIG_NFS_COMMON=y
1820CONFIG_SUNRPC=y
1821# CONFIG_SUNRPC_BIND34 is not set
1822# CONFIG_RPCSEC_GSS_KRB5 is not set
1823# CONFIG_RPCSEC_GSS_SPKM3 is not set
1824CONFIG_SMB_FS=y
1825# CONFIG_SMB_NLS_DEFAULT is not set
1826CONFIG_CIFS=m
1827# CONFIG_CIFS_STATS is not set
1828# CONFIG_CIFS_WEAK_PW_HASH is not set
1829# CONFIG_CIFS_XATTR is not set
1830# CONFIG_CIFS_DEBUG2 is not set
1831# CONFIG_CIFS_EXPERIMENTAL is not set
1832# CONFIG_NCP_FS is not set
1833# CONFIG_CODA_FS is not set
1834# CONFIG_AFS_FS is not set
1835
1836#
1837# Partition Types
1838#
1839CONFIG_PARTITION_ADVANCED=y
1840# CONFIG_ACORN_PARTITION is not set
1841# CONFIG_OSF_PARTITION is not set
1842# CONFIG_AMIGA_PARTITION is not set
1843# CONFIG_ATARI_PARTITION is not set
1844# CONFIG_MAC_PARTITION is not set
1845CONFIG_MSDOS_PARTITION=y
1846# CONFIG_BSD_DISKLABEL is not set
1847# CONFIG_MINIX_SUBPARTITION is not set
1848# CONFIG_SOLARIS_X86_PARTITION is not set
1849# CONFIG_UNIXWARE_DISKLABEL is not set
1850# CONFIG_LDM_PARTITION is not set
1851# CONFIG_SGI_PARTITION is not set
1852# CONFIG_ULTRIX_PARTITION is not set
1853# CONFIG_SUN_PARTITION is not set
1854# CONFIG_KARMA_PARTITION is not set
1855# CONFIG_EFI_PARTITION is not set
1856# CONFIG_SYSV68_PARTITION is not set
1857CONFIG_NLS=y
1858CONFIG_NLS_DEFAULT="cp437"
1859CONFIG_NLS_CODEPAGE_437=y
1860CONFIG_NLS_CODEPAGE_737=m
1861CONFIG_NLS_CODEPAGE_775=m
1862CONFIG_NLS_CODEPAGE_850=m
1863CONFIG_NLS_CODEPAGE_852=m
1864CONFIG_NLS_CODEPAGE_855=m
1865CONFIG_NLS_CODEPAGE_857=m
1866CONFIG_NLS_CODEPAGE_860=m
1867CONFIG_NLS_CODEPAGE_861=m
1868CONFIG_NLS_CODEPAGE_862=m
1869CONFIG_NLS_CODEPAGE_863=m
1870CONFIG_NLS_CODEPAGE_864=m
1871CONFIG_NLS_CODEPAGE_865=m
1872CONFIG_NLS_CODEPAGE_866=m
1873CONFIG_NLS_CODEPAGE_869=m
1874CONFIG_NLS_CODEPAGE_936=m
1875CONFIG_NLS_CODEPAGE_950=m
1876CONFIG_NLS_CODEPAGE_932=m
1877CONFIG_NLS_CODEPAGE_949=m
1878CONFIG_NLS_CODEPAGE_874=m
1879CONFIG_NLS_ISO8859_8=m
1880CONFIG_NLS_CODEPAGE_1250=m
1881CONFIG_NLS_CODEPAGE_1251=m
1882CONFIG_NLS_ASCII=m
1883CONFIG_NLS_ISO8859_1=y
1884CONFIG_NLS_ISO8859_2=m
1885CONFIG_NLS_ISO8859_3=m
1886CONFIG_NLS_ISO8859_4=m
1887CONFIG_NLS_ISO8859_5=m
1888CONFIG_NLS_ISO8859_6=m
1889CONFIG_NLS_ISO8859_7=m
1890CONFIG_NLS_ISO8859_9=m
1891CONFIG_NLS_ISO8859_13=m
1892CONFIG_NLS_ISO8859_14=m
1893CONFIG_NLS_ISO8859_15=m
1894CONFIG_NLS_KOI8_R=m
1895CONFIG_NLS_KOI8_U=m
1896CONFIG_NLS_UTF8=y
1897# CONFIG_DLM is not set
1898CONFIG_INSTRUMENTATION=y
1899CONFIG_PROFILING=y
1900CONFIG_OPROFILE=m
1901# CONFIG_KPROBES is not set
1902# CONFIG_MARKERS is not set
1903
1904#
1905# Kernel hacking
1906#
1907CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1908# CONFIG_PRINTK_TIME is not set
1909CONFIG_ENABLE_WARN_DEPRECATED=y
1910CONFIG_ENABLE_MUST_CHECK=y
1911CONFIG_MAGIC_SYSRQ=y
1912# CONFIG_UNUSED_SYMBOLS is not set
1913# CONFIG_DEBUG_FS is not set
1914# CONFIG_HEADERS_CHECK is not set
1915# CONFIG_DEBUG_KERNEL is not set
1916# CONFIG_DEBUG_BUGVERBOSE is not set
1917# CONFIG_SAMPLES is not set
1918CONFIG_EARLY_PRINTK=y
1919CONFIG_X86_FIND_SMP_CONFIG=y
1920CONFIG_X86_MPPARSE=y
1921CONFIG_DOUBLEFAULT=y
1922
1923#
1924# Security options
1925#
1926# CONFIG_KEYS is not set
1927# CONFIG_SECURITY is not set
1928# CONFIG_SECURITY_FILE_CAPABILITIES is not set
1929CONFIG_CRYPTO=y
1930CONFIG_CRYPTO_ALGAPI=m
1931CONFIG_CRYPTO_BLKCIPHER=m
1932CONFIG_CRYPTO_HASH=m
1933CONFIG_CRYPTO_MANAGER=m
1934CONFIG_CRYPTO_HMAC=m
1935# CONFIG_CRYPTO_XCBC is not set
1936CONFIG_CRYPTO_NULL=m
1937CONFIG_CRYPTO_MD4=m
1938CONFIG_CRYPTO_MD5=m
1939CONFIG_CRYPTO_SHA1=m
1940CONFIG_CRYPTO_SHA256=m
1941CONFIG_CRYPTO_SHA512=m
1942CONFIG_CRYPTO_WP512=m
1943# CONFIG_CRYPTO_TGR192 is not set
1944# CONFIG_CRYPTO_GF128MUL is not set
1945CONFIG_CRYPTO_ECB=m
1946CONFIG_CRYPTO_CBC=m
1947CONFIG_CRYPTO_PCBC=m
1948# CONFIG_CRYPTO_LRW is not set
1949# CONFIG_CRYPTO_XTS is not set
1950# CONFIG_CRYPTO_CRYPTD is not set
1951CONFIG_CRYPTO_DES=m
1952# CONFIG_CRYPTO_FCRYPT is not set
1953CONFIG_CRYPTO_BLOWFISH=m
1954CONFIG_CRYPTO_TWOFISH=m
1955CONFIG_CRYPTO_TWOFISH_COMMON=m
1956# CONFIG_CRYPTO_TWOFISH_586 is not set
1957CONFIG_CRYPTO_SERPENT=m
1958CONFIG_CRYPTO_AES=m
1959# CONFIG_CRYPTO_AES_586 is not set
1960CONFIG_CRYPTO_CAST5=m
1961CONFIG_CRYPTO_CAST6=m
1962CONFIG_CRYPTO_TEA=m
1963CONFIG_CRYPTO_ARC4=m
1964CONFIG_CRYPTO_KHAZAD=m
1965CONFIG_CRYPTO_ANUBIS=m
1966# CONFIG_CRYPTO_SEED is not set
1967CONFIG_CRYPTO_DEFLATE=m
1968CONFIG_CRYPTO_LZO=m
1969CONFIG_CRYPTO_MICHAEL_MIC=m
1970CONFIG_CRYPTO_CRC32C=m
1971CONFIG_CRYPTO_CAMELLIA=m
1972CONFIG_CRYPTO_TEST=m
1973# CONFIG_CRYPTO_AUTHENC is not set
1974# CONFIG_CRYPTO_HW is not set
1975
1976#
1977# Library routines
1978#
1979CONFIG_BITREVERSE=y
1980CONFIG_CRC_CCITT=y
1981# CONFIG_CRC16 is not set
1982# CONFIG_CRC_ITU_T is not set
1983CONFIG_CRC32=y
1984# CONFIG_CRC7 is not set
1985CONFIG_LIBCRC32C=m
1986CONFIG_AUDIT_GENERIC=y
1987CONFIG_ZLIB_INFLATE=m
1988CONFIG_ZLIB_DEFLATE=m
1989CONFIG_LZO_COMPRESS=m
1990CONFIG_LZO_DECOMPRESS=m
1991CONFIG_PLIST=y
1992CONFIG_HAS_IOMEM=y
1993CONFIG_HAS_IOPORT=y
1994CONFIG_HAS_DMA=y
diff --git a/meta/recipes-kernel/linux/linux-rp-2.6.26/defconfig-bootcdx86 b/meta/recipes-kernel/linux/linux-rp-2.6.26/defconfig-bootcdx86
deleted file mode 100644
index 35e9b5cd22..0000000000
--- a/meta/recipes-kernel/linux/linux-rp-2.6.26/defconfig-bootcdx86
+++ /dev/null
@@ -1,1994 +0,0 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.24-rc8
4# Sun Jan 20 18:34:58 2008
5#
6# CONFIG_64BIT is not set
7CONFIG_X86_32=y
8# CONFIG_X86_64 is not set
9CONFIG_X86=y
10CONFIG_GENERIC_TIME=y
11CONFIG_GENERIC_CMOS_UPDATE=y
12CONFIG_CLOCKSOURCE_WATCHDOG=y
13CONFIG_GENERIC_CLOCKEVENTS=y
14CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
15CONFIG_LOCKDEP_SUPPORT=y
16CONFIG_STACKTRACE_SUPPORT=y
17CONFIG_SEMAPHORE_SLEEPERS=y
18CONFIG_MMU=y
19CONFIG_ZONE_DMA=y
20CONFIG_QUICKLIST=y
21CONFIG_GENERIC_ISA_DMA=y
22CONFIG_GENERIC_IOMAP=y
23CONFIG_GENERIC_BUG=y
24CONFIG_GENERIC_HWEIGHT=y
25CONFIG_ARCH_MAY_HAVE_PC_FDC=y
26CONFIG_DMI=y
27# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
28CONFIG_RWSEM_XCHGADD_ALGORITHM=y
29# CONFIG_ARCH_HAS_ILOG2_U32 is not set
30# CONFIG_ARCH_HAS_ILOG2_U64 is not set
31CONFIG_GENERIC_CALIBRATE_DELAY=y
32# CONFIG_GENERIC_TIME_VSYSCALL is not set
33CONFIG_ARCH_SUPPORTS_OPROFILE=y
34# CONFIG_ZONE_DMA32 is not set
35CONFIG_ARCH_POPULATES_NODE_MAP=y
36# CONFIG_AUDIT_ARCH is not set
37CONFIG_GENERIC_HARDIRQS=y
38CONFIG_GENERIC_IRQ_PROBE=y
39CONFIG_GENERIC_PENDING_IRQ=y
40CONFIG_X86_SMP=y
41CONFIG_X86_HT=y
42CONFIG_X86_BIOS_REBOOT=y
43CONFIG_X86_TRAMPOLINE=y
44CONFIG_KTIME_SCALAR=y
45CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
46
47#
48# General setup
49#
50CONFIG_EXPERIMENTAL=y
51CONFIG_LOCK_KERNEL=y
52CONFIG_INIT_ENV_ARG_LIMIT=32
53CONFIG_LOCALVERSION=""
54# CONFIG_LOCALVERSION_AUTO is not set
55CONFIG_SWAP=y
56CONFIG_SYSVIPC=y
57CONFIG_SYSVIPC_SYSCTL=y
58CONFIG_POSIX_MQUEUE=y
59# CONFIG_BSD_PROCESS_ACCT is not set
60# CONFIG_TASKSTATS is not set
61# CONFIG_USER_NS is not set
62# CONFIG_PID_NS is not set
63CONFIG_AUDIT=y
64CONFIG_AUDITSYSCALL=y
65CONFIG_AUDIT_TREE=y
66# CONFIG_IKCONFIG is not set
67CONFIG_LOG_BUF_SHIFT=15
68# CONFIG_CGROUPS is not set
69CONFIG_FAIR_GROUP_SCHED=y
70CONFIG_FAIR_USER_SCHED=y
71# CONFIG_FAIR_CGROUP_SCHED is not set
72CONFIG_SYSFS_DEPRECATED=y
73# CONFIG_RELAY is not set
74CONFIG_BLK_DEV_INITRD=y
75CONFIG_INITRAMFS_SOURCE=""
76# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
77CONFIG_SYSCTL=y
78CONFIG_EMBEDDED=y
79CONFIG_UID16=y
80CONFIG_SYSCTL_SYSCALL=y
81CONFIG_KALLSYMS=y
82# CONFIG_KALLSYMS_EXTRA_PASS is not set
83CONFIG_HOTPLUG=y
84CONFIG_PRINTK=y
85CONFIG_BUG=y
86CONFIG_ELF_CORE=y
87CONFIG_BASE_FULL=y
88CONFIG_FUTEX=y
89CONFIG_ANON_INODES=y
90CONFIG_EPOLL=y
91CONFIG_SIGNALFD=y
92CONFIG_EVENTFD=y
93CONFIG_SHMEM=y
94CONFIG_VM_EVENT_COUNTERS=y
95CONFIG_SLAB=y
96# CONFIG_SLUB is not set
97# CONFIG_SLOB is not set
98CONFIG_SLABINFO=y
99CONFIG_RT_MUTEXES=y
100# CONFIG_TINY_SHMEM is not set
101CONFIG_BASE_SMALL=0
102CONFIG_MODULES=y
103CONFIG_MODULE_UNLOAD=y
104CONFIG_MODULE_FORCE_UNLOAD=y
105# CONFIG_MODVERSIONS is not set
106# CONFIG_MODULE_SRCVERSION_ALL is not set
107CONFIG_KMOD=y
108CONFIG_STOP_MACHINE=y
109CONFIG_BLOCK=y
110CONFIG_LBD=y
111# CONFIG_BLK_DEV_IO_TRACE is not set
112# CONFIG_LSF is not set
113# CONFIG_BLK_DEV_BSG is not set
114
115#
116# IO Schedulers
117#
118CONFIG_IOSCHED_NOOP=y
119CONFIG_IOSCHED_AS=y
120CONFIG_IOSCHED_DEADLINE=m
121CONFIG_IOSCHED_CFQ=m
122CONFIG_DEFAULT_AS=y
123# CONFIG_DEFAULT_DEADLINE is not set
124# CONFIG_DEFAULT_CFQ is not set
125# CONFIG_DEFAULT_NOOP is not set
126CONFIG_DEFAULT_IOSCHED="anticipatory"
127
128#
129# Processor type and features
130#
131CONFIG_TICK_ONESHOT=y
132CONFIG_NO_HZ=y
133CONFIG_HIGH_RES_TIMERS=y
134CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
135CONFIG_SMP=y
136CONFIG_X86_PC=y
137# CONFIG_X86_ELAN is not set
138# CONFIG_X86_VOYAGER is not set
139# CONFIG_X86_NUMAQ is not set
140# CONFIG_X86_SUMMIT is not set
141# CONFIG_X86_BIGSMP is not set
142# CONFIG_X86_VISWS is not set
143# CONFIG_X86_GENERICARCH is not set
144# CONFIG_X86_ES7000 is not set
145# CONFIG_X86_VSMP is not set
146CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
147# CONFIG_PARAVIRT_GUEST is not set
148# CONFIG_M386 is not set
149# CONFIG_M486 is not set
150# CONFIG_M586 is not set
151# CONFIG_M586TSC is not set
152# CONFIG_M586MMX is not set
153CONFIG_M686=y
154# CONFIG_MPENTIUMII is not set
155# CONFIG_MPENTIUMIII is not set
156# CONFIG_MPENTIUMM is not set
157# CONFIG_MPENTIUM4 is not set
158# CONFIG_MK6 is not set
159# CONFIG_MK7 is not set
160# CONFIG_MK8 is not set
161# CONFIG_MCRUSOE is not set
162# CONFIG_MEFFICEON is not set
163# CONFIG_MWINCHIPC6 is not set
164# CONFIG_MWINCHIP2 is not set
165# CONFIG_MWINCHIP3D is not set
166# CONFIG_MGEODEGX1 is not set
167# CONFIG_MGEODE_LX is not set
168# CONFIG_MCYRIXIII is not set
169# CONFIG_MVIAC3_2 is not set
170# CONFIG_MVIAC7 is not set
171# CONFIG_MPSC is not set
172# CONFIG_MCORE2 is not set
173# CONFIG_GENERIC_CPU is not set
174CONFIG_X86_GENERIC=y
175CONFIG_X86_CMPXCHG=y
176CONFIG_X86_L1_CACHE_SHIFT=7
177CONFIG_X86_XADD=y
178CONFIG_X86_PPRO_FENCE=y
179CONFIG_X86_WP_WORKS_OK=y
180CONFIG_X86_INVLPG=y
181CONFIG_X86_BSWAP=y
182CONFIG_X86_POPAD_OK=y
183CONFIG_X86_GOOD_APIC=y
184CONFIG_X86_INTEL_USERCOPY=y
185CONFIG_X86_USE_PPRO_CHECKSUM=y
186CONFIG_X86_TSC=y
187CONFIG_X86_CMOV=y
188CONFIG_X86_MINIMUM_CPU_FAMILY=4
189CONFIG_HPET_TIMER=y
190CONFIG_NR_CPUS=8
191CONFIG_SCHED_SMT=y
192CONFIG_SCHED_MC=y
193CONFIG_PREEMPT_NONE=y
194# CONFIG_PREEMPT_VOLUNTARY is not set
195# CONFIG_PREEMPT is not set
196CONFIG_PREEMPT_BKL=y
197CONFIG_X86_LOCAL_APIC=y
198CONFIG_X86_IO_APIC=y
199CONFIG_X86_MCE=y
200CONFIG_X86_MCE_NONFATAL=y
201CONFIG_X86_MCE_P4THERMAL=y
202CONFIG_VM86=y
203# CONFIG_TOSHIBA is not set
204# CONFIG_I8K is not set
205# CONFIG_X86_REBOOTFIXUPS is not set
206# CONFIG_MICROCODE is not set
207# CONFIG_X86_MSR is not set
208# CONFIG_X86_CPUID is not set
209CONFIG_NOHIGHMEM=y
210# CONFIG_HIGHMEM4G is not set
211# CONFIG_HIGHMEM64G is not set
212CONFIG_VMSPLIT_3G=y
213# CONFIG_VMSPLIT_3G_OPT is not set
214# CONFIG_VMSPLIT_2G is not set
215# CONFIG_VMSPLIT_2G_OPT is not set
216# CONFIG_VMSPLIT_1G is not set
217CONFIG_PAGE_OFFSET=0xC0000000
218# CONFIG_X86_PAE is not set
219CONFIG_ARCH_FLATMEM_ENABLE=y
220CONFIG_ARCH_SPARSEMEM_ENABLE=y
221CONFIG_ARCH_SELECT_MEMORY_MODEL=y
222CONFIG_SELECT_MEMORY_MODEL=y
223CONFIG_FLATMEM_MANUAL=y
224# CONFIG_DISCONTIGMEM_MANUAL is not set
225# CONFIG_SPARSEMEM_MANUAL is not set
226CONFIG_FLATMEM=y
227CONFIG_FLAT_NODE_MEM_MAP=y
228CONFIG_SPARSEMEM_STATIC=y
229# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set
230CONFIG_SPLIT_PTLOCK_CPUS=4
231# CONFIG_RESOURCES_64BIT is not set
232CONFIG_ZONE_DMA_FLAG=1
233CONFIG_BOUNCE=y
234CONFIG_NR_QUICK=1
235CONFIG_VIRT_TO_BUS=y
236# CONFIG_MATH_EMULATION is not set
237CONFIG_MTRR=y
238# CONFIG_EFI is not set
239CONFIG_IRQBALANCE=y
240CONFIG_SECCOMP=y
241# CONFIG_HZ_100 is not set
242CONFIG_HZ_250=y
243# CONFIG_HZ_300 is not set
244# CONFIG_HZ_1000 is not set
245CONFIG_HZ=250
246CONFIG_KEXEC=y
247CONFIG_PHYSICAL_START=0x100000
248# CONFIG_RELOCATABLE is not set
249CONFIG_PHYSICAL_ALIGN=0x100000
250CONFIG_HOTPLUG_CPU=y
251CONFIG_COMPAT_VDSO=y
252
253#
254# Power management options
255#
256CONFIG_PM=y
257CONFIG_PM_LEGACY=y
258# CONFIG_PM_DEBUG is not set
259CONFIG_PM_SLEEP_SMP=y
260CONFIG_PM_SLEEP=y
261CONFIG_SUSPEND_SMP_POSSIBLE=y
262CONFIG_SUSPEND=y
263CONFIG_HIBERNATION_SMP_POSSIBLE=y
264# CONFIG_HIBERNATION is not set
265CONFIG_ACPI=y
266CONFIG_ACPI_SLEEP=y
267# CONFIG_ACPI_PROCFS is not set
268CONFIG_ACPI_PROCFS_POWER=y
269CONFIG_ACPI_SYSFS_POWER=y
270CONFIG_ACPI_PROC_EVENT=y
271CONFIG_ACPI_AC=y
272CONFIG_ACPI_BATTERY=y
273CONFIG_ACPI_BUTTON=y
274# CONFIG_ACPI_VIDEO is not set
275CONFIG_ACPI_FAN=y
276# CONFIG_ACPI_DOCK is not set
277CONFIG_ACPI_PROCESSOR=y
278CONFIG_ACPI_HOTPLUG_CPU=y
279CONFIG_ACPI_THERMAL=y
280# CONFIG_ACPI_ASUS is not set
281# CONFIG_ACPI_TOSHIBA is not set
282CONFIG_ACPI_BLACKLIST_YEAR=0
283# CONFIG_ACPI_DEBUG is not set
284CONFIG_ACPI_EC=y
285CONFIG_ACPI_POWER=y
286CONFIG_ACPI_SYSTEM=y
287CONFIG_X86_PM_TIMER=y
288CONFIG_ACPI_CONTAINER=y
289# CONFIG_ACPI_SBS is not set
290# CONFIG_APM is not set
291
292#
293# CPU Frequency scaling
294#
295# CONFIG_CPU_FREQ is not set
296# CONFIG_CPU_IDLE is not set
297
298#
299# Bus options (PCI etc.)
300#
301CONFIG_PCI=y
302# CONFIG_PCI_GOBIOS is not set
303# CONFIG_PCI_GOMMCONFIG is not set
304# CONFIG_PCI_GODIRECT is not set
305CONFIG_PCI_GOANY=y
306CONFIG_PCI_BIOS=y
307CONFIG_PCI_DIRECT=y
308CONFIG_PCI_MMCONFIG=y
309CONFIG_PCI_DOMAINS=y
310CONFIG_PCIEPORTBUS=y
311CONFIG_PCIEAER=y
312CONFIG_ARCH_SUPPORTS_MSI=y
313CONFIG_PCI_MSI=y
314CONFIG_PCI_LEGACY=y
315CONFIG_HT_IRQ=y
316CONFIG_ISA_DMA_API=y
317CONFIG_ISA=y
318# CONFIG_EISA is not set
319# CONFIG_MCA is not set
320# CONFIG_SCx200 is not set
321CONFIG_K8_NB=y
322# CONFIG_PCCARD is not set
323# CONFIG_HOTPLUG_PCI is not set
324
325#
326# Executable file formats / Emulations
327#
328CONFIG_BINFMT_ELF=y
329CONFIG_BINFMT_AOUT=m
330CONFIG_BINFMT_MISC=m
331
332#
333# Networking
334#
335CONFIG_NET=y
336
337#
338# Networking options
339#
340CONFIG_PACKET=m
341CONFIG_PACKET_MMAP=y
342CONFIG_UNIX=y
343CONFIG_XFRM=y
344# CONFIG_XFRM_USER is not set
345# CONFIG_XFRM_SUB_POLICY is not set
346# CONFIG_XFRM_MIGRATE is not set
347# CONFIG_NET_KEY is not set
348CONFIG_INET=y
349# CONFIG_IP_MULTICAST is not set
350# CONFIG_IP_ADVANCED_ROUTER is not set
351CONFIG_IP_FIB_HASH=y
352CONFIG_IP_PNP=y
353CONFIG_IP_PNP_DHCP=y
354CONFIG_IP_PNP_BOOTP=y
355# CONFIG_IP_PNP_RARP is not set
356# CONFIG_NET_IPIP is not set
357# CONFIG_NET_IPGRE is not set
358# CONFIG_ARPD is not set
359CONFIG_SYN_COOKIES=y
360# CONFIG_INET_AH is not set
361# CONFIG_INET_ESP is not set
362# CONFIG_INET_IPCOMP is not set
363# CONFIG_INET_XFRM_TUNNEL is not set
364CONFIG_INET_TUNNEL=m
365CONFIG_INET_XFRM_MODE_TRANSPORT=m
366CONFIG_INET_XFRM_MODE_TUNNEL=m
367CONFIG_INET_XFRM_MODE_BEET=m
368# CONFIG_INET_LRO is not set
369CONFIG_INET_DIAG=m
370CONFIG_INET_TCP_DIAG=m
371# CONFIG_TCP_CONG_ADVANCED is not set
372CONFIG_TCP_CONG_CUBIC=y
373CONFIG_DEFAULT_TCP_CONG="cubic"
374# CONFIG_TCP_MD5SIG is not set
375# CONFIG_IP_VS is not set
376CONFIG_IPV6=m
377# CONFIG_IPV6_PRIVACY is not set
378# CONFIG_IPV6_ROUTER_PREF is not set
379# CONFIG_IPV6_OPTIMISTIC_DAD is not set
380CONFIG_INET6_AH=m
381CONFIG_INET6_ESP=m
382CONFIG_INET6_IPCOMP=m
383# CONFIG_IPV6_MIP6 is not set
384CONFIG_INET6_XFRM_TUNNEL=m
385CONFIG_INET6_TUNNEL=m
386CONFIG_INET6_XFRM_MODE_TRANSPORT=m
387CONFIG_INET6_XFRM_MODE_TUNNEL=m
388CONFIG_INET6_XFRM_MODE_BEET=m
389# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
390CONFIG_IPV6_SIT=m
391CONFIG_IPV6_TUNNEL=m
392# CONFIG_IPV6_MULTIPLE_TABLES is not set
393# CONFIG_NETWORK_SECMARK is not set
394CONFIG_NETFILTER=y
395# CONFIG_NETFILTER_DEBUG is not set
396
397#
398# Core Netfilter Configuration
399#
400# CONFIG_NETFILTER_NETLINK is not set
401# CONFIG_NF_CONNTRACK_ENABLED is not set
402# CONFIG_NF_CONNTRACK is not set
403CONFIG_NETFILTER_XTABLES=m
404# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set
405# CONFIG_NETFILTER_XT_TARGET_DSCP is not set
406# CONFIG_NETFILTER_XT_TARGET_MARK is not set
407# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set
408# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
409# CONFIG_NETFILTER_XT_TARGET_TRACE is not set
410# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set
411# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set
412# CONFIG_NETFILTER_XT_MATCH_DCCP is not set
413# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
414# CONFIG_NETFILTER_XT_MATCH_ESP is not set
415# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set
416# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set
417# CONFIG_NETFILTER_XT_MATCH_MAC is not set
418# CONFIG_NETFILTER_XT_MATCH_MARK is not set
419# CONFIG_NETFILTER_XT_MATCH_POLICY is not set
420# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set
421# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
422# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
423# CONFIG_NETFILTER_XT_MATCH_REALM is not set
424# CONFIG_NETFILTER_XT_MATCH_SCTP is not set
425# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set
426# CONFIG_NETFILTER_XT_MATCH_STRING is not set
427# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set
428# CONFIG_NETFILTER_XT_MATCH_TIME is not set
429# CONFIG_NETFILTER_XT_MATCH_U32 is not set
430# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
431
432#
433# IP: Netfilter Configuration
434#
435CONFIG_IP_NF_QUEUE=m
436CONFIG_IP_NF_IPTABLES=m
437CONFIG_IP_NF_MATCH_IPRANGE=m
438CONFIG_IP_NF_MATCH_TOS=m
439CONFIG_IP_NF_MATCH_RECENT=m
440CONFIG_IP_NF_MATCH_ECN=m
441CONFIG_IP_NF_MATCH_AH=m
442CONFIG_IP_NF_MATCH_TTL=m
443CONFIG_IP_NF_MATCH_OWNER=m
444CONFIG_IP_NF_MATCH_ADDRTYPE=m
445CONFIG_IP_NF_FILTER=m
446CONFIG_IP_NF_TARGET_REJECT=m
447CONFIG_IP_NF_TARGET_LOG=m
448CONFIG_IP_NF_TARGET_ULOG=m
449CONFIG_IP_NF_MANGLE=m
450CONFIG_IP_NF_TARGET_TOS=m
451CONFIG_IP_NF_TARGET_ECN=m
452CONFIG_IP_NF_TARGET_TTL=m
453CONFIG_IP_NF_RAW=m
454CONFIG_IP_NF_ARPTABLES=m
455CONFIG_IP_NF_ARPFILTER=m
456CONFIG_IP_NF_ARP_MANGLE=m
457
458#
459# IPv6: Netfilter Configuration (EXPERIMENTAL)
460#
461# CONFIG_IP6_NF_QUEUE is not set
462# CONFIG_IP6_NF_IPTABLES is not set
463# CONFIG_IP_DCCP is not set
464# CONFIG_IP_SCTP is not set
465# CONFIG_TIPC is not set
466# CONFIG_ATM is not set
467# CONFIG_BRIDGE is not set
468# CONFIG_VLAN_8021Q is not set
469# CONFIG_DECNET is not set
470# CONFIG_LLC2 is not set
471# CONFIG_IPX is not set
472# CONFIG_ATALK is not set
473# CONFIG_X25 is not set
474# CONFIG_LAPB is not set
475# CONFIG_ECONET is not set
476# CONFIG_WAN_ROUTER is not set
477# CONFIG_NET_SCHED is not set
478
479#
480# Network testing
481#
482# CONFIG_NET_PKTGEN is not set
483# CONFIG_HAMRADIO is not set
484CONFIG_IRDA=m
485
486#
487# IrDA protocols
488#
489CONFIG_IRLAN=m
490CONFIG_IRNET=m
491CONFIG_IRCOMM=m
492# CONFIG_IRDA_ULTRA is not set
493
494#
495# IrDA options
496#
497# CONFIG_IRDA_CACHE_LAST_LSAP is not set
498# CONFIG_IRDA_FAST_RR is not set
499# CONFIG_IRDA_DEBUG is not set
500
501#
502# Infrared-port device drivers
503#
504
505#
506# SIR device drivers
507#
508# CONFIG_IRTTY_SIR is not set
509
510#
511# Dongle support
512#
513# CONFIG_KINGSUN_DONGLE is not set
514# CONFIG_KSDAZZLE_DONGLE is not set
515# CONFIG_KS959_DONGLE is not set
516
517#
518# Old SIR device drivers
519#
520
521#
522# Old Serial dongle support
523#
524
525#
526# FIR device drivers
527#
528# CONFIG_USB_IRDA is not set
529# CONFIG_SIGMATEL_FIR is not set
530# CONFIG_NSC_FIR is not set
531# CONFIG_WINBOND_FIR is not set
532# CONFIG_TOSHIBA_FIR is not set
533# CONFIG_SMC_IRCC_FIR is not set
534# CONFIG_ALI_FIR is not set
535# CONFIG_VLSI_FIR is not set
536# CONFIG_VIA_FIR is not set
537# CONFIG_MCS_FIR is not set
538CONFIG_BT=m
539CONFIG_BT_L2CAP=m
540CONFIG_BT_SCO=m
541CONFIG_BT_RFCOMM=m
542CONFIG_BT_RFCOMM_TTY=y
543CONFIG_BT_BNEP=m
544CONFIG_BT_BNEP_MC_FILTER=y
545CONFIG_BT_BNEP_PROTO_FILTER=y
546CONFIG_BT_HIDP=m
547
548#
549# Bluetooth device drivers
550#
551CONFIG_BT_HCIUSB=m
552# CONFIG_BT_HCIUSB_SCO is not set
553CONFIG_BT_HCIUART=m
554CONFIG_BT_HCIUART_H4=y
555CONFIG_BT_HCIUART_BCSP=y
556# CONFIG_BT_HCIUART_LL is not set
557CONFIG_BT_HCIBCM203X=m
558CONFIG_BT_HCIBPA10X=m
559CONFIG_BT_HCIBFUSB=m
560CONFIG_BT_HCIVHCI=m
561# CONFIG_AF_RXRPC is not set
562
563#
564# Wireless
565#
566# CONFIG_CFG80211 is not set
567CONFIG_WIRELESS_EXT=y
568# CONFIG_MAC80211 is not set
569CONFIG_IEEE80211=m
570# CONFIG_IEEE80211_DEBUG is not set
571CONFIG_IEEE80211_CRYPT_WEP=m
572CONFIG_IEEE80211_CRYPT_CCMP=m
573CONFIG_IEEE80211_CRYPT_TKIP=m
574CONFIG_IEEE80211_SOFTMAC=m
575# CONFIG_IEEE80211_SOFTMAC_DEBUG is not set
576# CONFIG_RFKILL is not set
577# CONFIG_NET_9P is not set
578
579#
580# Device Drivers
581#
582
583#
584# Generic Driver Options
585#
586CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
587CONFIG_STANDALONE=y
588CONFIG_PREVENT_FIRMWARE_BUILD=y
589CONFIG_FW_LOADER=y
590# CONFIG_SYS_HYPERVISOR is not set
591CONFIG_CONNECTOR=y
592CONFIG_PROC_EVENTS=y
593# CONFIG_MTD is not set
594CONFIG_PARPORT=y
595CONFIG_PARPORT_PC=y
596# CONFIG_PARPORT_SERIAL is not set
597# CONFIG_PARPORT_PC_FIFO is not set
598# CONFIG_PARPORT_PC_SUPERIO is not set
599# CONFIG_PARPORT_GSC is not set
600# CONFIG_PARPORT_AX88796 is not set
601# CONFIG_PARPORT_1284 is not set
602CONFIG_PNP=y
603# CONFIG_PNP_DEBUG is not set
604
605#
606# Protocols
607#
608# CONFIG_ISAPNP is not set
609# CONFIG_PNPBIOS is not set
610CONFIG_PNPACPI=y
611CONFIG_BLK_DEV=y
612CONFIG_BLK_DEV_FD=y
613# CONFIG_BLK_DEV_XD is not set
614# CONFIG_PARIDE is not set
615# CONFIG_BLK_CPQ_DA is not set
616# CONFIG_BLK_CPQ_CISS_DA is not set
617# CONFIG_BLK_DEV_DAC960 is not set
618# CONFIG_BLK_DEV_UMEM is not set
619# CONFIG_BLK_DEV_COW_COMMON is not set
620CONFIG_BLK_DEV_LOOP=y
621# CONFIG_BLK_DEV_CRYPTOLOOP is not set
622# CONFIG_BLK_DEV_NBD is not set
623# CONFIG_BLK_DEV_SX8 is not set
624# CONFIG_BLK_DEV_UB is not set
625CONFIG_BLK_DEV_RAM=y
626CONFIG_BLK_DEV_RAM_COUNT=16
627CONFIG_BLK_DEV_RAM_SIZE=65536
628CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
629# CONFIG_CDROM_PKTCDVD is not set
630# CONFIG_ATA_OVER_ETH is not set
631CONFIG_MISC_DEVICES=y
632# CONFIG_IBM_ASM is not set
633# CONFIG_PHANTOM is not set
634# CONFIG_EEPROM_93CX6 is not set
635# CONFIG_SGI_IOC4 is not set
636# CONFIG_TIFM_CORE is not set
637# CONFIG_ASUS_LAPTOP is not set
638# CONFIG_FUJITSU_LAPTOP is not set
639# CONFIG_MSI_LAPTOP is not set
640# CONFIG_SONY_LAPTOP is not set
641# CONFIG_THINKPAD_ACPI is not set
642CONFIG_IDE=y
643CONFIG_IDE_MAX_HWIFS=4
644CONFIG_BLK_DEV_IDE=y
645
646#
647# Please see Documentation/ide.txt for help/info on IDE drives
648#
649# CONFIG_BLK_DEV_IDE_SATA is not set
650# CONFIG_BLK_DEV_HD_IDE is not set
651CONFIG_BLK_DEV_IDEDISK=y
652CONFIG_IDEDISK_MULTI_MODE=y
653CONFIG_BLK_DEV_IDECD=y
654# CONFIG_BLK_DEV_IDETAPE is not set
655# CONFIG_BLK_DEV_IDEFLOPPY is not set
656# CONFIG_BLK_DEV_IDESCSI is not set
657# CONFIG_BLK_DEV_IDEACPI is not set
658# CONFIG_IDE_TASK_IOCTL is not set
659CONFIG_IDE_PROC_FS=y
660
661#
662# IDE chipset support/bugfixes
663#
664CONFIG_IDE_GENERIC=y
665# CONFIG_BLK_DEV_PLATFORM is not set
666CONFIG_BLK_DEV_CMD640=y
667# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
668# CONFIG_BLK_DEV_IDEPNP is not set
669
670#
671# PCI IDE chipsets support
672#
673CONFIG_BLK_DEV_IDEPCI=y
674CONFIG_IDEPCI_SHARE_IRQ=y
675CONFIG_IDEPCI_PCIBUS_ORDER=y
676# CONFIG_BLK_DEV_OFFBOARD is not set
677CONFIG_BLK_DEV_GENERIC=y
678# CONFIG_BLK_DEV_OPTI621 is not set
679CONFIG_BLK_DEV_RZ1000=y
680CONFIG_BLK_DEV_IDEDMA_PCI=y
681# CONFIG_BLK_DEV_AEC62XX is not set
682# CONFIG_BLK_DEV_ALI15X3 is not set
683# CONFIG_BLK_DEV_AMD74XX is not set
684# CONFIG_BLK_DEV_ATIIXP is not set
685# CONFIG_BLK_DEV_CMD64X is not set
686# CONFIG_BLK_DEV_TRIFLEX is not set
687# CONFIG_BLK_DEV_CY82C693 is not set
688# CONFIG_BLK_DEV_CS5520 is not set
689# CONFIG_BLK_DEV_CS5530 is not set
690# CONFIG_BLK_DEV_CS5535 is not set
691# CONFIG_BLK_DEV_HPT34X is not set
692# CONFIG_BLK_DEV_HPT366 is not set
693# CONFIG_BLK_DEV_JMICRON is not set
694# CONFIG_BLK_DEV_SC1200 is not set
695CONFIG_BLK_DEV_PIIX=y
696# CONFIG_BLK_DEV_IT8213 is not set
697# CONFIG_BLK_DEV_IT821X is not set
698# CONFIG_BLK_DEV_NS87415 is not set
699# CONFIG_BLK_DEV_PDC202XX_OLD is not set
700# CONFIG_BLK_DEV_PDC202XX_NEW is not set
701# CONFIG_BLK_DEV_SVWKS is not set
702# CONFIG_BLK_DEV_SIIMAGE is not set
703# CONFIG_BLK_DEV_SIS5513 is not set
704# CONFIG_BLK_DEV_SLC90E66 is not set
705# CONFIG_BLK_DEV_TRM290 is not set
706# CONFIG_BLK_DEV_VIA82CXXX is not set
707# CONFIG_BLK_DEV_TC86C001 is not set
708# CONFIG_IDE_ARM is not set
709
710#
711# Other IDE chipsets support
712#
713
714#
715# Note: most of these also require special kernel boot parameters
716#
717# CONFIG_BLK_DEV_4DRIVES is not set
718# CONFIG_BLK_DEV_ALI14XX is not set
719# CONFIG_BLK_DEV_DTC2278 is not set
720# CONFIG_BLK_DEV_HT6560B is not set
721# CONFIG_BLK_DEV_QD65XX is not set
722# CONFIG_BLK_DEV_UMC8672 is not set
723CONFIG_BLK_DEV_IDEDMA=y
724CONFIG_IDE_ARCH_OBSOLETE_INIT=y
725# CONFIG_BLK_DEV_HD is not set
726
727#
728# SCSI device support
729#
730# CONFIG_RAID_ATTRS is not set
731CONFIG_SCSI=y
732CONFIG_SCSI_DMA=y
733# CONFIG_SCSI_TGT is not set
734# CONFIG_SCSI_NETLINK is not set
735CONFIG_SCSI_PROC_FS=y
736
737#
738# SCSI support type (disk, tape, CD-ROM)
739#
740CONFIG_BLK_DEV_SD=y
741# CONFIG_CHR_DEV_ST is not set
742# CONFIG_CHR_DEV_OSST is not set
743# CONFIG_BLK_DEV_SR is not set
744CONFIG_CHR_DEV_SG=y
745# CONFIG_CHR_DEV_SCH is not set
746
747#
748# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
749#
750CONFIG_SCSI_MULTI_LUN=y
751# CONFIG_SCSI_CONSTANTS is not set
752# CONFIG_SCSI_LOGGING is not set
753# CONFIG_SCSI_SCAN_ASYNC is not set
754CONFIG_SCSI_WAIT_SCAN=m
755
756#
757# SCSI Transports
758#
759CONFIG_SCSI_SPI_ATTRS=y
760# CONFIG_SCSI_FC_ATTRS is not set
761# CONFIG_SCSI_ISCSI_ATTRS is not set
762# CONFIG_SCSI_SAS_LIBSAS is not set
763# CONFIG_SCSI_SRP_ATTRS is not set
764CONFIG_SCSI_LOWLEVEL=y
765# CONFIG_ISCSI_TCP is not set
766# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
767# CONFIG_SCSI_3W_9XXX is not set
768# CONFIG_SCSI_7000FASST is not set
769# CONFIG_SCSI_ACARD is not set
770# CONFIG_SCSI_AHA152X is not set
771# CONFIG_SCSI_AHA1542 is not set
772# CONFIG_SCSI_AACRAID is not set
773# CONFIG_SCSI_AIC7XXX is not set
774# CONFIG_SCSI_AIC7XXX_OLD is not set
775# CONFIG_SCSI_AIC79XX is not set
776# CONFIG_SCSI_AIC94XX is not set
777CONFIG_SCSI_DPT_I2O=m
778# CONFIG_SCSI_ADVANSYS is not set
779# CONFIG_SCSI_IN2000 is not set
780# CONFIG_SCSI_ARCMSR is not set
781# CONFIG_MEGARAID_NEWGEN is not set
782# CONFIG_MEGARAID_LEGACY is not set
783# CONFIG_MEGARAID_SAS is not set
784# CONFIG_SCSI_HPTIOP is not set
785# CONFIG_SCSI_BUSLOGIC is not set
786# CONFIG_SCSI_DMX3191D is not set
787# CONFIG_SCSI_DTC3280 is not set
788# CONFIG_SCSI_EATA is not set
789# CONFIG_SCSI_FUTURE_DOMAIN is not set
790# CONFIG_SCSI_GDTH is not set
791# CONFIG_SCSI_GENERIC_NCR5380 is not set
792# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
793# CONFIG_SCSI_IPS is not set
794# CONFIG_SCSI_INITIO is not set
795# CONFIG_SCSI_INIA100 is not set
796# CONFIG_SCSI_PPA is not set
797# CONFIG_SCSI_IMM is not set
798# CONFIG_SCSI_NCR53C406A is not set
799# CONFIG_SCSI_STEX is not set
800# CONFIG_SCSI_SYM53C8XX_2 is not set
801# CONFIG_SCSI_PAS16 is not set
802# CONFIG_SCSI_PSI240I is not set
803# CONFIG_SCSI_QLOGIC_FAS is not set
804# CONFIG_SCSI_QLOGIC_1280 is not set
805# CONFIG_SCSI_QLA_FC is not set
806# CONFIG_SCSI_QLA_ISCSI is not set
807# CONFIG_SCSI_LPFC is not set
808# CONFIG_SCSI_SEAGATE is not set
809# CONFIG_SCSI_SYM53C416 is not set
810# CONFIG_SCSI_DC395x is not set
811# CONFIG_SCSI_DC390T is not set
812# CONFIG_SCSI_T128 is not set
813# CONFIG_SCSI_U14_34F is not set
814# CONFIG_SCSI_ULTRASTOR is not set
815# CONFIG_SCSI_NSP32 is not set
816# CONFIG_SCSI_DEBUG is not set
817# CONFIG_SCSI_SRP is not set
818# CONFIG_ATA is not set
819CONFIG_MD=y
820# CONFIG_BLK_DEV_MD is not set
821CONFIG_BLK_DEV_DM=m
822# CONFIG_DM_DEBUG is not set
823CONFIG_DM_CRYPT=m
824CONFIG_DM_SNAPSHOT=m
825CONFIG_DM_MIRROR=m
826CONFIG_DM_ZERO=m
827CONFIG_DM_MULTIPATH=m
828CONFIG_DM_MULTIPATH_EMC=m
829# CONFIG_DM_MULTIPATH_RDAC is not set
830# CONFIG_DM_MULTIPATH_HP is not set
831# CONFIG_DM_DELAY is not set
832# CONFIG_DM_UEVENT is not set
833# CONFIG_FUSION is not set
834
835#
836# IEEE 1394 (FireWire) support
837#
838# CONFIG_FIREWIRE is not set
839# CONFIG_IEEE1394 is not set
840# CONFIG_I2O is not set
841# CONFIG_MACINTOSH_DRIVERS is not set
842CONFIG_NETDEVICES=y
843# CONFIG_NETDEVICES_MULTIQUEUE is not set
844# CONFIG_DUMMY is not set
845# CONFIG_BONDING is not set
846# CONFIG_MACVLAN is not set
847# CONFIG_EQUALIZER is not set
848CONFIG_TUN=m
849# CONFIG_VETH is not set
850# CONFIG_NET_SB1000 is not set
851# CONFIG_ARCNET is not set
852# CONFIG_PHYLIB is not set
853CONFIG_NET_ETHERNET=y
854CONFIG_MII=y
855# CONFIG_HAPPYMEAL is not set
856# CONFIG_SUNGEM is not set
857# CONFIG_CASSINI is not set
858CONFIG_NET_VENDOR_3COM=y
859# CONFIG_EL1 is not set
860# CONFIG_EL2 is not set
861# CONFIG_ELPLUS is not set
862# CONFIG_EL16 is not set
863# CONFIG_EL3 is not set
864# CONFIG_3C515 is not set
865CONFIG_VORTEX=m
866CONFIG_TYPHOON=m
867CONFIG_LANCE=m
868CONFIG_NET_VENDOR_SMC=y
869CONFIG_WD80x3=m
870CONFIG_ULTRA=m
871CONFIG_SMC9194=m
872# CONFIG_NET_VENDOR_RACAL is not set
873CONFIG_NET_TULIP=y
874# CONFIG_DE2104X is not set
875CONFIG_TULIP=m
876CONFIG_TULIP_MWI=y
877CONFIG_TULIP_MMIO=y
878CONFIG_TULIP_NAPI=y
879CONFIG_TULIP_NAPI_HW_MITIGATION=y
880CONFIG_DE4X5=m
881CONFIG_WINBOND_840=m
882CONFIG_DM9102=m
883CONFIG_ULI526X=m
884CONFIG_AT1700=m
885CONFIG_DEPCA=m
886CONFIG_HP100=m
887CONFIG_NET_ISA=y
888# CONFIG_E2100 is not set
889# CONFIG_EWRK3 is not set
890# CONFIG_EEXPRESS is not set
891# CONFIG_EEXPRESS_PRO is not set
892# CONFIG_HPLAN_PLUS is not set
893# CONFIG_HPLAN is not set
894# CONFIG_LP486E is not set
895# CONFIG_ETH16I is not set
896CONFIG_NE2000=y
897# CONFIG_ZNET is not set
898# CONFIG_SEEQ8005 is not set
899# CONFIG_IBM_NEW_EMAC_ZMII is not set
900# CONFIG_IBM_NEW_EMAC_RGMII is not set
901# CONFIG_IBM_NEW_EMAC_TAH is not set
902# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
903CONFIG_NET_PCI=y
904CONFIG_PCNET32=m
905CONFIG_PCNET32_NAPI=y
906CONFIG_AMD8111_ETH=m
907CONFIG_AMD8111E_NAPI=y
908CONFIG_ADAPTEC_STARFIRE=m
909CONFIG_ADAPTEC_STARFIRE_NAPI=y
910CONFIG_AC3200=m
911CONFIG_APRICOT=m
912CONFIG_B44=m
913CONFIG_B44_PCI_AUTOSELECT=y
914CONFIG_B44_PCICORE_AUTOSELECT=y
915CONFIG_B44_PCI=y
916CONFIG_FORCEDETH=m
917CONFIG_FORCEDETH_NAPI=y
918CONFIG_CS89x0=m
919CONFIG_EEPRO100=m
920CONFIG_E100=m
921CONFIG_FEALNX=m
922CONFIG_NATSEMI=m
923CONFIG_NE2K_PCI=y
924CONFIG_8139CP=m
925CONFIG_8139TOO=m
926CONFIG_8139TOO_PIO=y
927CONFIG_8139TOO_TUNE_TWISTER=y
928CONFIG_8139TOO_8129=y
929# CONFIG_8139_OLD_RX_RESET is not set
930CONFIG_SIS900=m
931CONFIG_EPIC100=m
932CONFIG_SUNDANCE=m
933CONFIG_SUNDANCE_MMIO=y
934CONFIG_TLAN=m
935CONFIG_VIA_RHINE=m
936CONFIG_VIA_RHINE_MMIO=y
937CONFIG_VIA_RHINE_NAPI=y
938CONFIG_SC92031=m
939# CONFIG_NET_POCKET is not set
940CONFIG_NETDEV_1000=y
941CONFIG_ACENIC=m
942CONFIG_ACENIC_OMIT_TIGON_I=y
943CONFIG_DL2K=m
944CONFIG_E1000=m
945CONFIG_E1000_NAPI=y
946# CONFIG_E1000_DISABLE_PACKET_SPLIT is not set
947# CONFIG_E1000E is not set
948# CONFIG_IP1000 is not set
949CONFIG_NS83820=m
950CONFIG_HAMACHI=m
951CONFIG_YELLOWFIN=m
952CONFIG_R8169=m
953CONFIG_R8169_NAPI=y
954CONFIG_SIS190=m
955CONFIG_SKGE=m
956CONFIG_SKY2=m
957CONFIG_SK98LIN=m
958CONFIG_VIA_VELOCITY=m
959CONFIG_TIGON3=m
960CONFIG_BNX2=m
961CONFIG_QLA3XXX=m
962CONFIG_ATL1=m
963CONFIG_NETDEV_10000=y
964# CONFIG_CHELSIO_T1 is not set
965# CONFIG_CHELSIO_T3 is not set
966# CONFIG_IXGBE is not set
967# CONFIG_IXGB is not set
968CONFIG_S2IO=m
969# CONFIG_S2IO_NAPI is not set
970# CONFIG_MYRI10GE is not set
971# CONFIG_NETXEN_NIC is not set
972# CONFIG_NIU is not set
973# CONFIG_MLX4_CORE is not set
974# CONFIG_TEHUTI is not set
975# CONFIG_TR is not set
976
977#
978# Wireless LAN
979#
980# CONFIG_WLAN_PRE80211 is not set
981CONFIG_WLAN_80211=y
982# CONFIG_IPW2100 is not set
983# CONFIG_IPW2200 is not set
984# CONFIG_LIBERTAS is not set
985# CONFIG_AIRO is not set
986CONFIG_HERMES=m
987# CONFIG_PLX_HERMES is not set
988# CONFIG_TMD_HERMES is not set
989# CONFIG_NORTEL_HERMES is not set
990# CONFIG_PCI_HERMES is not set
991# CONFIG_ATMEL is not set
992# CONFIG_PRISM54 is not set
993# CONFIG_USB_ZD1201 is not set
994CONFIG_HOSTAP=m
995CONFIG_HOSTAP_FIRMWARE=y
996# CONFIG_HOSTAP_FIRMWARE_NVRAM is not set
997# CONFIG_HOSTAP_PLX is not set
998# CONFIG_HOSTAP_PCI is not set
999# CONFIG_BCM43XX is not set
1000# CONFIG_ZD1211RW is not set
1001
1002#
1003# USB Network Adapters
1004#
1005# CONFIG_USB_CATC is not set
1006# CONFIG_USB_KAWETH is not set
1007# CONFIG_USB_PEGASUS is not set
1008# CONFIG_USB_RTL8150 is not set
1009# CONFIG_USB_USBNET is not set
1010# CONFIG_WAN is not set
1011# CONFIG_FDDI is not set
1012# CONFIG_HIPPI is not set
1013# CONFIG_PLIP is not set
1014CONFIG_PPP=m
1015# CONFIG_PPP_MULTILINK is not set
1016# CONFIG_PPP_FILTER is not set
1017CONFIG_PPP_ASYNC=m
1018# CONFIG_PPP_SYNC_TTY is not set
1019CONFIG_PPP_DEFLATE=m
1020CONFIG_PPP_BSDCOMP=m
1021# CONFIG_PPP_MPPE is not set
1022# CONFIG_PPPOE is not set
1023# CONFIG_PPPOL2TP is not set
1024# CONFIG_SLIP is not set
1025CONFIG_SLHC=m
1026# CONFIG_NET_FC is not set
1027# CONFIG_SHAPER is not set
1028# CONFIG_NETCONSOLE is not set
1029# CONFIG_NETPOLL is not set
1030# CONFIG_NET_POLL_CONTROLLER is not set
1031# CONFIG_ISDN is not set
1032# CONFIG_PHONE is not set
1033
1034#
1035# Input device support
1036#
1037CONFIG_INPUT=y
1038# CONFIG_INPUT_FF_MEMLESS is not set
1039# CONFIG_INPUT_POLLDEV is not set
1040
1041#
1042# Userland interfaces
1043#
1044CONFIG_INPUT_MOUSEDEV=m
1045# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
1046CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
1047CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
1048# CONFIG_INPUT_JOYDEV is not set
1049CONFIG_INPUT_EVDEV=y
1050# CONFIG_INPUT_EVBUG is not set
1051
1052#
1053# Input Device Drivers
1054#
1055CONFIG_INPUT_KEYBOARD=y
1056CONFIG_KEYBOARD_ATKBD=y
1057# CONFIG_KEYBOARD_SUNKBD is not set
1058# CONFIG_KEYBOARD_LKKBD is not set
1059# CONFIG_KEYBOARD_XTKBD is not set
1060# CONFIG_KEYBOARD_NEWTON is not set
1061# CONFIG_KEYBOARD_STOWAWAY is not set
1062CONFIG_INPUT_MOUSE=y
1063CONFIG_MOUSE_PS2=y
1064CONFIG_MOUSE_PS2_ALPS=y
1065CONFIG_MOUSE_PS2_LOGIPS2PP=y
1066CONFIG_MOUSE_PS2_SYNAPTICS=y
1067CONFIG_MOUSE_PS2_LIFEBOOK=y
1068CONFIG_MOUSE_PS2_TRACKPOINT=y
1069# CONFIG_MOUSE_PS2_TOUCHKIT is not set
1070# CONFIG_MOUSE_SERIAL is not set
1071# CONFIG_MOUSE_APPLETOUCH is not set
1072# CONFIG_MOUSE_INPORT is not set
1073# CONFIG_MOUSE_LOGIBM is not set
1074# CONFIG_MOUSE_PC110PAD is not set
1075# CONFIG_MOUSE_VSXXXAA is not set
1076# CONFIG_INPUT_JOYSTICK is not set
1077CONFIG_INPUT_TABLET=y
1078# CONFIG_TABLET_USB_ACECAD is not set
1079# CONFIG_TABLET_USB_AIPTEK is not set
1080# CONFIG_TABLET_USB_GTCO is not set
1081# CONFIG_TABLET_USB_KBTAB is not set
1082CONFIG_TABLET_USB_WACOM=y
1083# CONFIG_INPUT_TOUCHSCREEN is not set
1084CONFIG_INPUT_MISC=y
1085# CONFIG_INPUT_PCSPKR is not set
1086# CONFIG_INPUT_WISTRON_BTNS is not set
1087# CONFIG_INPUT_ATLAS_BTNS is not set
1088# CONFIG_INPUT_ATI_REMOTE is not set
1089# CONFIG_INPUT_ATI_REMOTE2 is not set
1090# CONFIG_INPUT_KEYSPAN_REMOTE is not set
1091# CONFIG_INPUT_POWERMATE is not set
1092# CONFIG_INPUT_YEALINK is not set
1093CONFIG_INPUT_UINPUT=m
1094
1095#
1096# Hardware I/O ports
1097#
1098CONFIG_SERIO=y
1099CONFIG_SERIO_I8042=y
1100# CONFIG_SERIO_SERPORT is not set
1101# CONFIG_SERIO_CT82C710 is not set
1102# CONFIG_SERIO_PARKBD is not set
1103# CONFIG_SERIO_PCIPS2 is not set
1104CONFIG_SERIO_LIBPS2=y
1105# CONFIG_SERIO_RAW is not set
1106# CONFIG_GAMEPORT is not set
1107
1108#
1109# Character devices
1110#
1111CONFIG_VT=y
1112CONFIG_VT_CONSOLE=y
1113CONFIG_HW_CONSOLE=y
1114# CONFIG_VT_HW_CONSOLE_BINDING is not set
1115# CONFIG_SERIAL_NONSTANDARD is not set
1116
1117#
1118# Serial drivers
1119#
1120CONFIG_SERIAL_8250=y
1121# CONFIG_SERIAL_8250_CONSOLE is not set
1122CONFIG_FIX_EARLYCON_MEM=y
1123CONFIG_SERIAL_8250_PCI=y
1124CONFIG_SERIAL_8250_PNP=y
1125CONFIG_SERIAL_8250_NR_UARTS=4
1126CONFIG_SERIAL_8250_RUNTIME_UARTS=4
1127# CONFIG_SERIAL_8250_EXTENDED is not set
1128
1129#
1130# Non-8250 serial port support
1131#
1132CONFIG_SERIAL_CORE=y
1133# CONFIG_SERIAL_JSM is not set
1134CONFIG_UNIX98_PTYS=y
1135# CONFIG_LEGACY_PTYS is not set
1136CONFIG_PRINTER=y
1137# CONFIG_LP_CONSOLE is not set
1138# CONFIG_PPDEV is not set
1139# CONFIG_IPMI_HANDLER is not set
1140# CONFIG_HW_RANDOM is not set
1141# CONFIG_NVRAM is not set
1142# CONFIG_RTC is not set
1143# CONFIG_GEN_RTC is not set
1144# CONFIG_DTLK is not set
1145# CONFIG_R3964 is not set
1146# CONFIG_APPLICOM is not set
1147# CONFIG_SONYPI is not set
1148# CONFIG_MWAVE is not set
1149# CONFIG_PC8736x_GPIO is not set
1150# CONFIG_NSC_GPIO is not set
1151# CONFIG_CS5535_GPIO is not set
1152# CONFIG_RAW_DRIVER is not set
1153# CONFIG_HPET is not set
1154# CONFIG_HANGCHECK_TIMER is not set
1155# CONFIG_TCG_TPM is not set
1156# CONFIG_TELCLOCK is not set
1157CONFIG_DEVPORT=y
1158# CONFIG_I2C is not set
1159
1160#
1161# SPI support
1162#
1163# CONFIG_SPI is not set
1164# CONFIG_SPI_MASTER is not set
1165# CONFIG_W1 is not set
1166CONFIG_POWER_SUPPLY=y
1167# CONFIG_POWER_SUPPLY_DEBUG is not set
1168# CONFIG_PDA_POWER is not set
1169# CONFIG_BATTERY_DS2760 is not set
1170# CONFIG_HWMON is not set
1171# CONFIG_WATCHDOG is not set
1172
1173#
1174# Sonics Silicon Backplane
1175#
1176CONFIG_SSB_POSSIBLE=y
1177CONFIG_SSB=m
1178CONFIG_SSB_PCIHOST_POSSIBLE=y
1179CONFIG_SSB_PCIHOST=y
1180# CONFIG_SSB_SILENT is not set
1181# CONFIG_SSB_DEBUG is not set
1182CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
1183CONFIG_SSB_DRIVER_PCICORE=y
1184
1185#
1186# Multifunction device drivers
1187#
1188# CONFIG_MFD_SM501 is not set
1189# CONFIG_HTC_ASIC3 is not set
1190# CONFIG_HTC_ASIC3_DS1WM is not set
1191
1192#
1193# Multimedia devices
1194#
1195CONFIG_VIDEO_DEV=m
1196CONFIG_VIDEO_V4L1=y
1197CONFIG_VIDEO_V4L1_COMPAT=y
1198CONFIG_VIDEO_V4L2=y
1199CONFIG_VIDEO_CAPTURE_DRIVERS=y
1200# CONFIG_VIDEO_ADV_DEBUG is not set
1201CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
1202# CONFIG_VIDEO_VIVI is not set
1203# CONFIG_VIDEO_PMS is not set
1204# CONFIG_VIDEO_BWQCAM is not set
1205# CONFIG_VIDEO_CQCAM is not set
1206# CONFIG_VIDEO_CPIA is not set
1207# CONFIG_VIDEO_CPIA2 is not set
1208# CONFIG_VIDEO_STRADIS is not set
1209CONFIG_V4L_USB_DRIVERS=y
1210# CONFIG_USB_VICAM is not set
1211# CONFIG_USB_IBMCAM is not set
1212# CONFIG_USB_KONICAWC is not set
1213# CONFIG_USB_QUICKCAM_MESSENGER is not set
1214# CONFIG_USB_ET61X251 is not set
1215CONFIG_USB_OV511=m
1216CONFIG_USB_SE401=m
1217CONFIG_USB_SN9C102=m
1218CONFIG_USB_STV680=m
1219# CONFIG_USB_ZC0301 is not set
1220# CONFIG_USB_PWC is not set
1221# CONFIG_USB_ZR364XX is not set
1222CONFIG_RADIO_ADAPTERS=y
1223# CONFIG_RADIO_CADET is not set
1224# CONFIG_RADIO_RTRACK is not set
1225# CONFIG_RADIO_RTRACK2 is not set
1226# CONFIG_RADIO_AZTECH is not set
1227# CONFIG_RADIO_GEMTEK is not set
1228# CONFIG_RADIO_GEMTEK_PCI is not set
1229# CONFIG_RADIO_MAXIRADIO is not set
1230# CONFIG_RADIO_MAESTRO is not set
1231# CONFIG_RADIO_SF16FMI is not set
1232# CONFIG_RADIO_SF16FMR2 is not set
1233# CONFIG_RADIO_TERRATEC is not set
1234# CONFIG_RADIO_TRUST is not set
1235# CONFIG_RADIO_TYPHOON is not set
1236# CONFIG_RADIO_ZOLTRIX is not set
1237CONFIG_USB_DSBR=m
1238# CONFIG_DVB_CORE is not set
1239CONFIG_DAB=y
1240# CONFIG_USB_DABUSB is not set
1241
1242#
1243# Graphics support
1244#
1245CONFIG_AGP=m
1246CONFIG_AGP_ALI=m
1247CONFIG_AGP_ATI=m
1248CONFIG_AGP_AMD=m
1249CONFIG_AGP_AMD64=m
1250CONFIG_AGP_INTEL=m
1251CONFIG_AGP_NVIDIA=m
1252CONFIG_AGP_SIS=m
1253CONFIG_AGP_SWORKS=m
1254CONFIG_AGP_VIA=m
1255CONFIG_AGP_EFFICEON=m
1256CONFIG_DRM=m
1257# CONFIG_DRM_TDFX is not set
1258# CONFIG_DRM_R128 is not set
1259# CONFIG_DRM_RADEON is not set
1260# CONFIG_DRM_I810 is not set
1261# CONFIG_DRM_I830 is not set
1262# CONFIG_DRM_I915 is not set
1263# CONFIG_DRM_MGA is not set
1264# CONFIG_DRM_SIS is not set
1265# CONFIG_DRM_VIA is not set
1266# CONFIG_DRM_SAVAGE is not set
1267# CONFIG_VGASTATE is not set
1268CONFIG_VIDEO_OUTPUT_CONTROL=m
1269CONFIG_FB=y
1270# CONFIG_FIRMWARE_EDID is not set
1271# CONFIG_FB_DDC is not set
1272CONFIG_FB_CFB_FILLRECT=m
1273CONFIG_FB_CFB_COPYAREA=m
1274CONFIG_FB_CFB_IMAGEBLIT=m
1275# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
1276# CONFIG_FB_SYS_FILLRECT is not set
1277# CONFIG_FB_SYS_COPYAREA is not set
1278# CONFIG_FB_SYS_IMAGEBLIT is not set
1279# CONFIG_FB_SYS_FOPS is not set
1280# CONFIG_FB_DEFERRED_IO is not set
1281# CONFIG_FB_SVGALIB is not set
1282# CONFIG_FB_MACMODES is not set
1283# CONFIG_FB_BACKLIGHT is not set
1284CONFIG_FB_MODE_HELPERS=y
1285# CONFIG_FB_TILEBLITTING is not set
1286
1287#
1288# Frame buffer hardware drivers
1289#
1290# CONFIG_FB_CIRRUS is not set
1291# CONFIG_FB_PM2 is not set
1292# CONFIG_FB_CYBER2000 is not set
1293# CONFIG_FB_ARC is not set
1294# CONFIG_FB_ASILIANT is not set
1295# CONFIG_FB_IMSTT is not set
1296# CONFIG_FB_VGA16 is not set
1297CONFIG_FB_UVESA=m
1298# CONFIG_FB_VESA is not set
1299# CONFIG_FB_EFI is not set
1300# CONFIG_FB_HECUBA is not set
1301# CONFIG_FB_HGA is not set
1302# CONFIG_FB_S1D13XXX is not set
1303# CONFIG_FB_NVIDIA is not set
1304# CONFIG_FB_RIVA is not set
1305# CONFIG_FB_I810 is not set
1306# CONFIG_FB_LE80578 is not set
1307# CONFIG_FB_INTEL is not set
1308# CONFIG_FB_MATROX is not set
1309# CONFIG_FB_RADEON is not set
1310# CONFIG_FB_ATY128 is not set
1311# CONFIG_FB_ATY is not set
1312# CONFIG_FB_S3 is not set
1313# CONFIG_FB_SAVAGE is not set
1314# CONFIG_FB_SIS is not set
1315# CONFIG_FB_NEOMAGIC is not set
1316# CONFIG_FB_KYRO is not set
1317# CONFIG_FB_3DFX is not set
1318# CONFIG_FB_VOODOO1 is not set
1319# CONFIG_FB_VT8623 is not set
1320# CONFIG_FB_CYBLA is not set
1321# CONFIG_FB_TRIDENT is not set
1322# CONFIG_FB_ARK is not set
1323# CONFIG_FB_PM3 is not set
1324# CONFIG_FB_GEODE is not set
1325# CONFIG_FB_VIRTUAL is not set
1326CONFIG_BACKLIGHT_LCD_SUPPORT=y
1327CONFIG_LCD_CLASS_DEVICE=m
1328CONFIG_BACKLIGHT_CLASS_DEVICE=m
1329CONFIG_BACKLIGHT_CORGI=m
1330# CONFIG_BACKLIGHT_PROGEAR is not set
1331
1332#
1333# Display device support
1334#
1335# CONFIG_DISPLAY_SUPPORT is not set
1336
1337#
1338# Console display driver support
1339#
1340CONFIG_VGA_CONSOLE=y
1341# CONFIG_VGACON_SOFT_SCROLLBACK is not set
1342CONFIG_VIDEO_SELECT=y
1343# CONFIG_MDA_CONSOLE is not set
1344CONFIG_DUMMY_CONSOLE=y
1345CONFIG_FRAMEBUFFER_CONSOLE=y
1346# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
1347CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
1348CONFIG_FONTS=y
1349CONFIG_FONT_8x8=y
1350CONFIG_FONT_8x16=y
1351# CONFIG_FONT_6x11 is not set
1352# CONFIG_FONT_7x14 is not set
1353# CONFIG_FONT_PEARL_8x8 is not set
1354# CONFIG_FONT_ACORN_8x8 is not set
1355# CONFIG_FONT_MINI_4x6 is not set
1356# CONFIG_FONT_SUN8x16 is not set
1357# CONFIG_FONT_SUN12x22 is not set
1358# CONFIG_FONT_10x18 is not set
1359CONFIG_LOGO=y
1360CONFIG_LOGO_LINUX_MONO=y
1361CONFIG_LOGO_LINUX_VGA16=y
1362# CONFIG_LOGO_LINUX_CLUT224 is not set
1363CONFIG_LOGO_OHAND_CLUT224=y
1364
1365#
1366# Sound
1367#
1368CONFIG_SOUND=y
1369
1370#
1371# Advanced Linux Sound Architecture
1372#
1373CONFIG_SND=y
1374CONFIG_SND_TIMER=y
1375CONFIG_SND_PCM=y
1376CONFIG_SND_SEQUENCER=y
1377# CONFIG_SND_SEQ_DUMMY is not set
1378CONFIG_SND_OSSEMUL=y
1379CONFIG_SND_MIXER_OSS=y
1380CONFIG_SND_PCM_OSS=y
1381CONFIG_SND_PCM_OSS_PLUGINS=y
1382CONFIG_SND_SEQUENCER_OSS=y
1383# CONFIG_SND_DYNAMIC_MINORS is not set
1384CONFIG_SND_SUPPORT_OLD_API=y
1385CONFIG_SND_VERBOSE_PROCFS=y
1386# CONFIG_SND_VERBOSE_PRINTK is not set
1387# CONFIG_SND_DEBUG is not set
1388
1389#
1390# Generic devices
1391#
1392CONFIG_SND_AC97_CODEC=y
1393# CONFIG_SND_DUMMY is not set
1394# CONFIG_SND_VIRMIDI is not set
1395# CONFIG_SND_MTPAV is not set
1396# CONFIG_SND_MTS64 is not set
1397# CONFIG_SND_SERIAL_U16550 is not set
1398# CONFIG_SND_MPU401 is not set
1399# CONFIG_SND_PORTMAN2X4 is not set
1400
1401#
1402# ISA devices
1403#
1404# CONFIG_SND_ADLIB is not set
1405# CONFIG_SND_AD1816A is not set
1406# CONFIG_SND_AD1848 is not set
1407# CONFIG_SND_ALS100 is not set
1408# CONFIG_SND_AZT2320 is not set
1409# CONFIG_SND_CMI8330 is not set
1410# CONFIG_SND_CS4231 is not set
1411# CONFIG_SND_CS4232 is not set
1412# CONFIG_SND_CS4236 is not set
1413# CONFIG_SND_DT019X is not set
1414# CONFIG_SND_ES968 is not set
1415# CONFIG_SND_ES1688 is not set
1416# CONFIG_SND_ES18XX is not set
1417# CONFIG_SND_SC6000 is not set
1418# CONFIG_SND_GUSCLASSIC is not set
1419# CONFIG_SND_GUSEXTREME is not set
1420# CONFIG_SND_GUSMAX is not set
1421# CONFIG_SND_INTERWAVE is not set
1422# CONFIG_SND_INTERWAVE_STB is not set
1423# CONFIG_SND_OPL3SA2 is not set
1424# CONFIG_SND_OPTI92X_AD1848 is not set
1425# CONFIG_SND_OPTI92X_CS4231 is not set
1426# CONFIG_SND_OPTI93X is not set
1427# CONFIG_SND_MIRO is not set
1428# CONFIG_SND_SB8 is not set
1429# CONFIG_SND_SB16 is not set
1430# CONFIG_SND_SBAWE is not set
1431# CONFIG_SND_SGALAXY is not set
1432# CONFIG_SND_SSCAPE is not set
1433# CONFIG_SND_WAVEFRONT is not set
1434
1435#
1436# PCI devices
1437#
1438# CONFIG_SND_AD1889 is not set
1439# CONFIG_SND_ALS300 is not set
1440# CONFIG_SND_ALS4000 is not set
1441# CONFIG_SND_ALI5451 is not set
1442# CONFIG_SND_ATIIXP is not set
1443# CONFIG_SND_ATIIXP_MODEM is not set
1444# CONFIG_SND_AU8810 is not set
1445# CONFIG_SND_AU8820 is not set
1446# CONFIG_SND_AU8830 is not set
1447# CONFIG_SND_AZT3328 is not set
1448# CONFIG_SND_BT87X is not set
1449# CONFIG_SND_CA0106 is not set
1450# CONFIG_SND_CMIPCI is not set
1451# CONFIG_SND_CS4281 is not set
1452# CONFIG_SND_CS46XX is not set
1453# CONFIG_SND_CS5530 is not set
1454# CONFIG_SND_CS5535AUDIO is not set
1455# CONFIG_SND_DARLA20 is not set
1456# CONFIG_SND_GINA20 is not set
1457# CONFIG_SND_LAYLA20 is not set
1458# CONFIG_SND_DARLA24 is not set
1459# CONFIG_SND_GINA24 is not set
1460# CONFIG_SND_LAYLA24 is not set
1461# CONFIG_SND_MONA is not set
1462# CONFIG_SND_MIA is not set
1463# CONFIG_SND_ECHO3G is not set
1464# CONFIG_SND_INDIGO is not set
1465# CONFIG_SND_INDIGOIO is not set
1466# CONFIG_SND_INDIGODJ is not set
1467# CONFIG_SND_EMU10K1 is not set
1468# CONFIG_SND_EMU10K1X is not set
1469# CONFIG_SND_ENS1370 is not set
1470# CONFIG_SND_ENS1371 is not set
1471# CONFIG_SND_ES1938 is not set
1472# CONFIG_SND_ES1968 is not set
1473# CONFIG_SND_FM801 is not set
1474# CONFIG_SND_HDA_INTEL is not set
1475# CONFIG_SND_HDSP is not set
1476# CONFIG_SND_HDSPM is not set
1477# CONFIG_SND_ICE1712 is not set
1478# CONFIG_SND_ICE1724 is not set
1479CONFIG_SND_INTEL8X0=y
1480# CONFIG_SND_INTEL8X0M is not set
1481# CONFIG_SND_KORG1212 is not set
1482# CONFIG_SND_MAESTRO3 is not set
1483# CONFIG_SND_MIXART is not set
1484# CONFIG_SND_NM256 is not set
1485# CONFIG_SND_PCXHR is not set
1486# CONFIG_SND_RIPTIDE is not set
1487# CONFIG_SND_RME32 is not set
1488# CONFIG_SND_RME96 is not set
1489# CONFIG_SND_RME9652 is not set
1490# CONFIG_SND_SONICVIBES is not set
1491# CONFIG_SND_TRIDENT is not set
1492# CONFIG_SND_VIA82XX is not set
1493# CONFIG_SND_VIA82XX_MODEM is not set
1494# CONFIG_SND_VX222 is not set
1495# CONFIG_SND_YMFPCI is not set
1496# CONFIG_SND_AC97_POWER_SAVE is not set
1497
1498#
1499# USB devices
1500#
1501# CONFIG_SND_USB_AUDIO is not set
1502# CONFIG_SND_USB_USX2Y is not set
1503# CONFIG_SND_USB_CAIAQ is not set
1504
1505#
1506# System on Chip audio support
1507#
1508# CONFIG_SND_SOC is not set
1509
1510#
1511# SoC Audio support for SuperH
1512#
1513
1514#
1515# Open Sound System
1516#
1517# CONFIG_SOUND_PRIME is not set
1518CONFIG_AC97_BUS=y
1519CONFIG_HID_SUPPORT=y
1520CONFIG_HID=y
1521# CONFIG_HID_DEBUG is not set
1522# CONFIG_HIDRAW is not set
1523
1524#
1525# USB Input Devices
1526#
1527CONFIG_USB_HID=y
1528# CONFIG_USB_HIDINPUT_POWERBOOK is not set
1529# CONFIG_HID_FF is not set
1530# CONFIG_USB_HIDDEV is not set
1531CONFIG_USB_SUPPORT=y
1532CONFIG_USB_ARCH_HAS_HCD=y
1533CONFIG_USB_ARCH_HAS_OHCI=y
1534CONFIG_USB_ARCH_HAS_EHCI=y
1535CONFIG_USB=y
1536# CONFIG_USB_DEBUG is not set
1537
1538#
1539# Miscellaneous USB options
1540#
1541CONFIG_USB_DEVICEFS=y
1542CONFIG_USB_DEVICE_CLASS=y
1543# CONFIG_USB_DYNAMIC_MINORS is not set
1544CONFIG_USB_SUSPEND=y
1545# CONFIG_USB_PERSIST is not set
1546# CONFIG_USB_OTG is not set
1547
1548#
1549# USB Host Controller Drivers
1550#
1551CONFIG_USB_EHCI_HCD=y
1552CONFIG_USB_EHCI_SPLIT_ISO=y
1553# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
1554# CONFIG_USB_EHCI_TT_NEWSCHED is not set
1555# CONFIG_USB_ISP116X_HCD is not set
1556CONFIG_USB_OHCI_HCD=y
1557# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
1558# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
1559CONFIG_USB_OHCI_LITTLE_ENDIAN=y
1560CONFIG_USB_UHCI_HCD=y
1561CONFIG_USB_SL811_HCD=m
1562# CONFIG_USB_R8A66597_HCD is not set
1563
1564#
1565# USB Device Class drivers
1566#
1567CONFIG_USB_ACM=m
1568CONFIG_USB_PRINTER=m
1569
1570#
1571# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
1572#
1573
1574#
1575# may also be needed; see USB_STORAGE Help for more information
1576#
1577CONFIG_USB_STORAGE=m
1578# CONFIG_USB_STORAGE_DEBUG is not set
1579# CONFIG_USB_STORAGE_DATAFAB is not set
1580# CONFIG_USB_STORAGE_FREECOM is not set
1581# CONFIG_USB_STORAGE_ISD200 is not set
1582# CONFIG_USB_STORAGE_DPCM is not set
1583# CONFIG_USB_STORAGE_USBAT is not set
1584# CONFIG_USB_STORAGE_SDDR09 is not set
1585# CONFIG_USB_STORAGE_SDDR55 is not set
1586# CONFIG_USB_STORAGE_JUMPSHOT is not set
1587# CONFIG_USB_STORAGE_ALAUDA is not set
1588# CONFIG_USB_STORAGE_KARMA is not set
1589# CONFIG_USB_LIBUSUAL is not set
1590
1591#
1592# USB Imaging devices
1593#
1594CONFIG_USB_MDC800=m
1595CONFIG_USB_MICROTEK=m
1596CONFIG_USB_MON=y
1597
1598#
1599# USB port drivers
1600#
1601# CONFIG_USB_USS720 is not set
1602
1603#
1604# USB Serial Converter support
1605#
1606CONFIG_USB_SERIAL=m
1607CONFIG_USB_SERIAL_GENERIC=y
1608# CONFIG_USB_SERIAL_AIRCABLE is not set
1609# CONFIG_USB_SERIAL_AIRPRIME is not set
1610# CONFIG_USB_SERIAL_ARK3116 is not set
1611CONFIG_USB_SERIAL_BELKIN=m
1612# CONFIG_USB_SERIAL_CH341 is not set
1613# CONFIG_USB_SERIAL_WHITEHEAT is not set
1614CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m
1615# CONFIG_USB_SERIAL_CP2101 is not set
1616CONFIG_USB_SERIAL_CYPRESS_M8=m
1617CONFIG_USB_SERIAL_EMPEG=m
1618CONFIG_USB_SERIAL_FTDI_SIO=m
1619# CONFIG_USB_SERIAL_FUNSOFT is not set
1620CONFIG_USB_SERIAL_VISOR=m
1621CONFIG_USB_SERIAL_IPAQ=m
1622CONFIG_USB_SERIAL_IR=m
1623CONFIG_USB_SERIAL_EDGEPORT=m
1624CONFIG_USB_SERIAL_EDGEPORT_TI=m
1625CONFIG_USB_SERIAL_GARMIN=m
1626CONFIG_USB_SERIAL_IPW=m
1627CONFIG_USB_SERIAL_KEYSPAN_PDA=m
1628CONFIG_USB_SERIAL_KEYSPAN=m
1629# CONFIG_USB_SERIAL_KEYSPAN_MPR is not set
1630# CONFIG_USB_SERIAL_KEYSPAN_USA28 is not set
1631# CONFIG_USB_SERIAL_KEYSPAN_USA28X is not set
1632# CONFIG_USB_SERIAL_KEYSPAN_USA28XA is not set
1633# CONFIG_USB_SERIAL_KEYSPAN_USA28XB is not set
1634# CONFIG_USB_SERIAL_KEYSPAN_USA19 is not set
1635# CONFIG_USB_SERIAL_KEYSPAN_USA18X is not set
1636# CONFIG_USB_SERIAL_KEYSPAN_USA19W is not set
1637# CONFIG_USB_SERIAL_KEYSPAN_USA19QW is not set
1638# CONFIG_USB_SERIAL_KEYSPAN_USA19QI is not set
1639# CONFIG_USB_SERIAL_KEYSPAN_USA49W is not set
1640# CONFIG_USB_SERIAL_KEYSPAN_USA49WLC is not set
1641CONFIG_USB_SERIAL_KLSI=m
1642CONFIG_USB_SERIAL_KOBIL_SCT=m
1643CONFIG_USB_SERIAL_MCT_U232=m
1644# CONFIG_USB_SERIAL_MOS7720 is not set
1645# CONFIG_USB_SERIAL_MOS7840 is not set
1646# CONFIG_USB_SERIAL_NAVMAN is not set
1647CONFIG_USB_SERIAL_PL2303=m
1648# CONFIG_USB_SERIAL_OTI6858 is not set
1649# CONFIG_USB_SERIAL_HP4X is not set
1650CONFIG_USB_SERIAL_SAFE=m
1651# CONFIG_USB_SERIAL_SAFE_PADDED is not set
1652# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
1653CONFIG_USB_SERIAL_TI=m
1654CONFIG_USB_SERIAL_CYBERJACK=m
1655CONFIG_USB_SERIAL_XIRCOM=m
1656# CONFIG_USB_SERIAL_OPTION is not set
1657CONFIG_USB_SERIAL_OMNINET=m
1658# CONFIG_USB_SERIAL_DEBUG is not set
1659CONFIG_USB_EZUSB=y
1660
1661#
1662# USB Miscellaneous drivers
1663#
1664CONFIG_USB_EMI62=m
1665CONFIG_USB_EMI26=m
1666# CONFIG_USB_ADUTUX is not set
1667CONFIG_USB_AUERSWALD=m
1668CONFIG_USB_RIO500=m
1669CONFIG_USB_LEGOTOWER=m
1670CONFIG_USB_LCD=m
1671# CONFIG_USB_BERRY_CHARGE is not set
1672CONFIG_USB_LED=m
1673# CONFIG_USB_CYPRESS_CY7C63 is not set
1674CONFIG_USB_CYTHERM=m
1675# CONFIG_USB_PHIDGET is not set
1676CONFIG_USB_IDMOUSE=m
1677# CONFIG_USB_FTDI_ELAN is not set
1678# CONFIG_USB_APPLEDISPLAY is not set
1679# CONFIG_USB_SISUSBVGA is not set
1680# CONFIG_USB_LD is not set
1681# CONFIG_USB_TRANCEVIBRATOR is not set
1682# CONFIG_USB_IOWARRIOR is not set
1683# CONFIG_USB_TEST is not set
1684
1685#
1686# USB DSL modem support
1687#
1688
1689#
1690# USB Gadget Support
1691#
1692# CONFIG_USB_GADGET is not set
1693# CONFIG_MMC is not set
1694CONFIG_NEW_LEDS=y
1695CONFIG_LEDS_CLASS=y
1696
1697#
1698# LED drivers
1699#
1700
1701#
1702# LED Triggers
1703#
1704# CONFIG_LEDS_TRIGGERS is not set
1705# CONFIG_INFINIBAND is not set
1706# CONFIG_EDAC is not set
1707# CONFIG_RTC_CLASS is not set
1708# CONFIG_DMADEVICES is not set
1709# CONFIG_AUXDISPLAY is not set
1710CONFIG_VIRTUALIZATION=y
1711# CONFIG_KVM is not set
1712# CONFIG_LGUEST is not set
1713
1714#
1715# Userspace I/O
1716#
1717# CONFIG_UIO is not set
1718
1719#
1720# Firmware Drivers
1721#
1722# CONFIG_EDD is not set
1723# CONFIG_DELL_RBU is not set
1724# CONFIG_DCDBAS is not set
1725CONFIG_DMIID=y
1726
1727#
1728# File systems
1729#
1730CONFIG_EXT2_FS=y
1731# CONFIG_EXT2_FS_XATTR is not set
1732# CONFIG_EXT2_FS_XIP is not set
1733CONFIG_EXT3_FS=y
1734# CONFIG_EXT3_FS_XATTR is not set
1735# CONFIG_EXT4DEV_FS is not set
1736CONFIG_JBD=y
1737# CONFIG_REISERFS_FS is not set
1738# CONFIG_JFS_FS is not set
1739# CONFIG_FS_POSIX_ACL is not set
1740# CONFIG_XFS_FS is not set
1741# CONFIG_GFS2_FS is not set
1742# CONFIG_OCFS2_FS is not set
1743# CONFIG_MINIX_FS is not set
1744# CONFIG_ROMFS_FS is not set
1745CONFIG_INOTIFY=y
1746CONFIG_INOTIFY_USER=y
1747# CONFIG_QUOTA is not set
1748CONFIG_DNOTIFY=y
1749# CONFIG_AUTOFS_FS is not set
1750# CONFIG_AUTOFS4_FS is not set
1751# CONFIG_FUSE_FS is not set
1752
1753#
1754# CD-ROM/DVD Filesystems
1755#
1756CONFIG_ISO9660_FS=y
1757CONFIG_JOLIET=y
1758# CONFIG_ZISOFS is not set
1759CONFIG_UDF_FS=y
1760CONFIG_UDF_NLS=y
1761
1762#
1763# DOS/FAT/NT Filesystems
1764#
1765CONFIG_FAT_FS=y
1766# CONFIG_MSDOS_FS is not set
1767CONFIG_VFAT_FS=y
1768CONFIG_FAT_DEFAULT_CODEPAGE=437
1769CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1770# CONFIG_NTFS_FS is not set
1771
1772#
1773# Pseudo filesystems
1774#
1775CONFIG_PROC_FS=y
1776CONFIG_PROC_KCORE=y
1777CONFIG_PROC_SYSCTL=y
1778CONFIG_SYSFS=y
1779CONFIG_TMPFS=y
1780# CONFIG_TMPFS_POSIX_ACL is not set
1781# CONFIG_HUGETLBFS is not set
1782# CONFIG_HUGETLB_PAGE is not set
1783# CONFIG_CONFIGFS_FS is not set
1784
1785#
1786# Miscellaneous filesystems
1787#
1788# CONFIG_ADFS_FS is not set
1789# CONFIG_AFFS_FS is not set
1790# CONFIG_HFS_FS is not set
1791# CONFIG_HFSPLUS_FS is not set
1792# CONFIG_BEFS_FS is not set
1793# CONFIG_BFS_FS is not set
1794# CONFIG_EFS_FS is not set
1795CONFIG_CRAMFS=m
1796CONFIG_SQUASHFS=m
1797# CONFIG_SQUASHFS_EMBEDDED is not set
1798CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
1799# CONFIG_VXFS_FS is not set
1800# CONFIG_HPFS_FS is not set
1801# CONFIG_QNX4FS_FS is not set
1802# CONFIG_SYSV_FS is not set
1803# CONFIG_UFS_FS is not set
1804CONFIG_NETWORK_FILESYSTEMS=y
1805CONFIG_NFS_FS=y
1806CONFIG_NFS_V3=y
1807# CONFIG_NFS_V3_ACL is not set
1808# CONFIG_NFS_V4 is not set
1809# CONFIG_NFS_DIRECTIO is not set
1810CONFIG_NFSD=y
1811CONFIG_NFSD_V3=y
1812# CONFIG_NFSD_V3_ACL is not set
1813# CONFIG_NFSD_V4 is not set
1814# CONFIG_NFSD_TCP is not set
1815CONFIG_ROOT_NFS=y
1816CONFIG_LOCKD=y
1817CONFIG_LOCKD_V4=y
1818CONFIG_EXPORTFS=y
1819CONFIG_NFS_COMMON=y
1820CONFIG_SUNRPC=y
1821# CONFIG_SUNRPC_BIND34 is not set
1822# CONFIG_RPCSEC_GSS_KRB5 is not set
1823# CONFIG_RPCSEC_GSS_SPKM3 is not set
1824CONFIG_SMB_FS=y
1825# CONFIG_SMB_NLS_DEFAULT is not set
1826CONFIG_CIFS=m
1827# CONFIG_CIFS_STATS is not set
1828# CONFIG_CIFS_WEAK_PW_HASH is not set
1829# CONFIG_CIFS_XATTR is not set
1830# CONFIG_CIFS_DEBUG2 is not set
1831# CONFIG_CIFS_EXPERIMENTAL is not set
1832# CONFIG_NCP_FS is not set
1833# CONFIG_CODA_FS is not set
1834# CONFIG_AFS_FS is not set
1835
1836#
1837# Partition Types
1838#
1839CONFIG_PARTITION_ADVANCED=y
1840# CONFIG_ACORN_PARTITION is not set
1841# CONFIG_OSF_PARTITION is not set
1842# CONFIG_AMIGA_PARTITION is not set
1843# CONFIG_ATARI_PARTITION is not set
1844# CONFIG_MAC_PARTITION is not set
1845CONFIG_MSDOS_PARTITION=y
1846# CONFIG_BSD_DISKLABEL is not set
1847# CONFIG_MINIX_SUBPARTITION is not set
1848# CONFIG_SOLARIS_X86_PARTITION is not set
1849# CONFIG_UNIXWARE_DISKLABEL is not set
1850# CONFIG_LDM_PARTITION is not set
1851# CONFIG_SGI_PARTITION is not set
1852# CONFIG_ULTRIX_PARTITION is not set
1853# CONFIG_SUN_PARTITION is not set
1854# CONFIG_KARMA_PARTITION is not set
1855# CONFIG_EFI_PARTITION is not set
1856# CONFIG_SYSV68_PARTITION is not set
1857CONFIG_NLS=y
1858CONFIG_NLS_DEFAULT="cp437"
1859CONFIG_NLS_CODEPAGE_437=y
1860CONFIG_NLS_CODEPAGE_737=m
1861CONFIG_NLS_CODEPAGE_775=m
1862CONFIG_NLS_CODEPAGE_850=m
1863CONFIG_NLS_CODEPAGE_852=m
1864CONFIG_NLS_CODEPAGE_855=m
1865CONFIG_NLS_CODEPAGE_857=m
1866CONFIG_NLS_CODEPAGE_860=m
1867CONFIG_NLS_CODEPAGE_861=m
1868CONFIG_NLS_CODEPAGE_862=m
1869CONFIG_NLS_CODEPAGE_863=m
1870CONFIG_NLS_CODEPAGE_864=m
1871CONFIG_NLS_CODEPAGE_865=m
1872CONFIG_NLS_CODEPAGE_866=m
1873CONFIG_NLS_CODEPAGE_869=m
1874CONFIG_NLS_CODEPAGE_936=m
1875CONFIG_NLS_CODEPAGE_950=m
1876CONFIG_NLS_CODEPAGE_932=m
1877CONFIG_NLS_CODEPAGE_949=m
1878CONFIG_NLS_CODEPAGE_874=m
1879CONFIG_NLS_ISO8859_8=m
1880CONFIG_NLS_CODEPAGE_1250=m
1881CONFIG_NLS_CODEPAGE_1251=m
1882CONFIG_NLS_ASCII=m
1883CONFIG_NLS_ISO8859_1=y
1884CONFIG_NLS_ISO8859_2=m
1885CONFIG_NLS_ISO8859_3=m
1886CONFIG_NLS_ISO8859_4=m
1887CONFIG_NLS_ISO8859_5=m
1888CONFIG_NLS_ISO8859_6=m
1889CONFIG_NLS_ISO8859_7=m
1890CONFIG_NLS_ISO8859_9=m
1891CONFIG_NLS_ISO8859_13=m
1892CONFIG_NLS_ISO8859_14=m
1893CONFIG_NLS_ISO8859_15=m
1894CONFIG_NLS_KOI8_R=m
1895CONFIG_NLS_KOI8_U=m
1896CONFIG_NLS_UTF8=y
1897# CONFIG_DLM is not set
1898CONFIG_INSTRUMENTATION=y
1899CONFIG_PROFILING=y
1900CONFIG_OPROFILE=m
1901# CONFIG_KPROBES is not set
1902# CONFIG_MARKERS is not set
1903
1904#
1905# Kernel hacking
1906#
1907CONFIG_TRACE_IRQFLAGS_SUPPORT=y
1908# CONFIG_PRINTK_TIME is not set
1909CONFIG_ENABLE_WARN_DEPRECATED=y
1910CONFIG_ENABLE_MUST_CHECK=y
1911CONFIG_MAGIC_SYSRQ=y
1912# CONFIG_UNUSED_SYMBOLS is not set
1913# CONFIG_DEBUG_FS is not set
1914# CONFIG_HEADERS_CHECK is not set
1915# CONFIG_DEBUG_KERNEL is not set
1916# CONFIG_DEBUG_BUGVERBOSE is not set
1917# CONFIG_SAMPLES is not set
1918CONFIG_EARLY_PRINTK=y
1919CONFIG_X86_FIND_SMP_CONFIG=y
1920CONFIG_X86_MPPARSE=y
1921CONFIG_DOUBLEFAULT=y
1922
1923#
1924# Security options
1925#
1926# CONFIG_KEYS is not set
1927# CONFIG_SECURITY is not set
1928# CONFIG_SECURITY_FILE_CAPABILITIES is not set
1929CONFIG_CRYPTO=y
1930CONFIG_CRYPTO_ALGAPI=m
1931CONFIG_CRYPTO_BLKCIPHER=m
1932CONFIG_CRYPTO_HASH=m
1933CONFIG_CRYPTO_MANAGER=m
1934CONFIG_CRYPTO_HMAC=m
1935# CONFIG_CRYPTO_XCBC is not set
1936CONFIG_CRYPTO_NULL=m
1937CONFIG_CRYPTO_MD4=m
1938CONFIG_CRYPTO_MD5=m
1939CONFIG_CRYPTO_SHA1=m
1940CONFIG_CRYPTO_SHA256=m
1941CONFIG_CRYPTO_SHA512=m
1942CONFIG_CRYPTO_WP512=m
1943# CONFIG_CRYPTO_TGR192 is not set
1944# CONFIG_CRYPTO_GF128MUL is not set
1945CONFIG_CRYPTO_ECB=m
1946CONFIG_CRYPTO_CBC=m
1947CONFIG_CRYPTO_PCBC=m
1948# CONFIG_CRYPTO_LRW is not set
1949# CONFIG_CRYPTO_XTS is not set
1950# CONFIG_CRYPTO_CRYPTD is not set
1951CONFIG_CRYPTO_DES=m
1952# CONFIG_CRYPTO_FCRYPT is not set
1953CONFIG_CRYPTO_BLOWFISH=m
1954CONFIG_CRYPTO_TWOFISH=m
1955CONFIG_CRYPTO_TWOFISH_COMMON=m
1956# CONFIG_CRYPTO_TWOFISH_586 is not set
1957CONFIG_CRYPTO_SERPENT=m
1958CONFIG_CRYPTO_AES=m
1959# CONFIG_CRYPTO_AES_586 is not set
1960CONFIG_CRYPTO_CAST5=m
1961CONFIG_CRYPTO_CAST6=m
1962CONFIG_CRYPTO_TEA=m
1963CONFIG_CRYPTO_ARC4=m
1964CONFIG_CRYPTO_KHAZAD=m
1965CONFIG_CRYPTO_ANUBIS=m
1966# CONFIG_CRYPTO_SEED is not set
1967CONFIG_CRYPTO_DEFLATE=m
1968CONFIG_CRYPTO_LZO=m
1969CONFIG_CRYPTO_MICHAEL_MIC=m
1970CONFIG_CRYPTO_CRC32C=m
1971CONFIG_CRYPTO_CAMELLIA=m
1972CONFIG_CRYPTO_TEST=m
1973# CONFIG_CRYPTO_AUTHENC is not set
1974# CONFIG_CRYPTO_HW is not set
1975
1976#
1977# Library routines
1978#
1979CONFIG_BITREVERSE=y
1980CONFIG_CRC_CCITT=y
1981# CONFIG_CRC16 is not set
1982# CONFIG_CRC_ITU_T is not set
1983CONFIG_CRC32=y
1984# CONFIG_CRC7 is not set
1985CONFIG_LIBCRC32C=m
1986CONFIG_AUDIT_GENERIC=y
1987CONFIG_ZLIB_INFLATE=m
1988CONFIG_ZLIB_DEFLATE=m
1989CONFIG_LZO_COMPRESS=m
1990CONFIG_LZO_DECOMPRESS=m
1991CONFIG_PLIST=y
1992CONFIG_HAS_IOMEM=y
1993CONFIG_HAS_IOPORT=y
1994CONFIG_HAS_DMA=y
diff --git a/meta/recipes-kernel/linux/linux-rp.inc b/meta/recipes-kernel/linux/linux-rp.inc
index 8b86bdee1f..400b1128cd 100644
--- a/meta/recipes-kernel/linux/linux-rp.inc
+++ b/meta/recipes-kernel/linux/linux-rp.inc
@@ -15,7 +15,7 @@ CHSRC = "http://oz.drigon.com/patches"
15TKSRC = "http://www.informatik.hu-berlin.de/~tkunze/zaurus/patches" 15TKSRC = "http://www.informatik.hu-berlin.de/~tkunze/zaurus/patches"
16 16
17COMPATIBLE_HOST = "(arm|i.86|mips).*-linux" 17COMPATIBLE_HOST = "(arm|i.86|mips).*-linux"
18COMPATIBLE_MACHINE = '(collie|poodle|c7x0|akita|spitz|tosa|hx2000|qemuarm|qemux86|qemumips|bootcdx86|htcuniversal|zylonite)' 18COMPATIBLE_MACHINE = '(collie|poodle|c7x0|akita|spitz|tosa|hx2000|qemuarm|qemux86|qemumips|htcuniversal|zylonite)'
19 19
20KERNEL_CUSTOM_NAME ?= "" 20KERNEL_CUSTOM_NAME ?= ""
21KERNEL_DEPLOY_NAME ?= "${KERNEL_IMAGETYPE}-${PV}-${KERNEL_CUSTOM_NAME}${MACHINE}-${DATETIME}.bin" 21KERNEL_DEPLOY_NAME ?= "${KERNEL_IMAGETYPE}-${PV}-${KERNEL_CUSTOM_NAME}${MACHINE}-${DATETIME}.bin"
diff --git a/meta/recipes-kernel/linux/linux-rp_2.6.23.bb b/meta/recipes-kernel/linux/linux-rp_2.6.23.bb
index 0c67fd4ea6..3392ca854a 100644
--- a/meta/recipes-kernel/linux/linux-rp_2.6.23.bb
+++ b/meta/recipes-kernel/linux/linux-rp_2.6.23.bb
@@ -69,7 +69,6 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.23.tar.bz2 \
69 file://defconfig-spitz \ 69 file://defconfig-spitz \
70 file://defconfig-qemuarm \ 70 file://defconfig-qemuarm \
71 file://defconfig-qemux86 \ 71 file://defconfig-qemux86 \
72 file://defconfig-bootcdx86 \
73 file://defconfig-htcuniversal \ 72 file://defconfig-htcuniversal \
74 file://defconfig-zylonite \ 73 file://defconfig-zylonite \
75 file://defconfig-tosa " 74 file://defconfig-tosa "
diff --git a/meta/recipes-kernel/linux/linux-rp_2.6.24.bb b/meta/recipes-kernel/linux/linux-rp_2.6.24.bb
index 1d927e3ff1..bfa3ecfe7a 100644
--- a/meta/recipes-kernel/linux/linux-rp_2.6.24.bb
+++ b/meta/recipes-kernel/linux/linux-rp_2.6.24.bb
@@ -73,7 +73,6 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 \
73 file://defconfig-spitz \ 73 file://defconfig-spitz \
74 file://defconfig-qemuarm \ 74 file://defconfig-qemuarm \
75 file://defconfig-qemux86 \ 75 file://defconfig-qemux86 \
76 file://defconfig-bootcdx86 \
77 file://defconfig-htcuniversal \ 76 file://defconfig-htcuniversal \
78 file://defconfig-tosa \ 77 file://defconfig-tosa \
79 file://defconfig-zylonite" 78 file://defconfig-zylonite"
diff --git a/meta/recipes-kernel/linux/linux-rp_2.6.26.bb b/meta/recipes-kernel/linux/linux-rp_2.6.26.bb
index 67d674b7be..1af90529a7 100644
--- a/meta/recipes-kernel/linux/linux-rp_2.6.26.bb
+++ b/meta/recipes-kernel/linux/linux-rp_2.6.26.bb
@@ -64,7 +64,6 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.26.tar.bz2 \
64 file://defconfig-qemuarmv6 \ 64 file://defconfig-qemuarmv6 \
65 file://defconfig-qemuarmv7 \ 65 file://defconfig-qemuarmv7 \
66 file://defconfig-qemux86 \ 66 file://defconfig-qemux86 \
67 file://defconfig-bootcdx86 \
68 file://defconfig-htcuniversal \ 67 file://defconfig-htcuniversal \
69 file://defconfig-zylonite" 68 file://defconfig-zylonite"
70# Disabled until the patchset is updated: 69# Disabled until the patchset is updated:
diff --git a/meta/recipes-kernel/linux/linux-tools.inc b/meta/recipes-kernel/linux/linux-tools.inc
index 714207f860..e42c8e3be7 100644
--- a/meta/recipes-kernel/linux/linux-tools.inc
+++ b/meta/recipes-kernel/linux/linux-tools.inc
@@ -2,11 +2,11 @@
2# perf functionality from their tree. 2# perf functionality from their tree.
3 3
4do_compile_perf() { 4do_compile_perf() {
5 oe_runmake -C ${S}/tools/perf CC="${KERNEL_CC}" LD="${KERNEL_LD}" prefix=${prefix} 5 oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix}
6} 6}
7 7
8do_install_perf() { 8do_install_perf() {
9 oe_runmake -C ${S}/tools/perf CC="${KERNEL_CC}" LD="${KERNEL_LD}" prefix=${prefix} DESTDIR=${D} install 9 oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} DESTDIR=${D} install
10} 10}
11 11
12 12
diff --git a/meta/recipes-kernel/linux/linux-yocto-stable_git.bb b/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
index dd4d176ac5..3c1e669733 100644
--- a/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
@@ -1,7 +1,8 @@
1inherit kernel 1inherit kernel
2require linux-yocto.inc 2require linux-yocto.inc
3 3
4KMACHINE_qemux86 = "common_pc/base" 4KMACHINE = "common_pc"
5KMACHINE_qemux86 = "common_pc"
5KMACHINE_qemux86-64 = "common_pc_64" 6KMACHINE_qemux86-64 = "common_pc_64"
6KMACHINE_qemuppc = "qemu_ppc32" 7KMACHINE_qemuppc = "qemu_ppc32"
7KMACHINE_qemumips = "mti_malta32_be" 8KMACHINE_qemumips = "mti_malta32_be"
@@ -12,25 +13,26 @@ KMACHINE_mpc8315e-rdb = "fsl-mpc8315e-rdb"
12KMACHINE_beagleboard = "beagleboard" 13KMACHINE_beagleboard = "beagleboard"
13 14
14LINUX_VERSION ?= "2.6.34" 15LINUX_VERSION ?= "2.6.34"
15LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}" 16LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE_EXTENSION}"
16PR = "r0" 17
18KMETA = wrs_meta
19KBRANCH = ${KMACHINE}-${LINUX_KERNEL_TYPE_EXTENSION}
20
21PR = "r1"
17PV = "${LINUX_VERSION}+git${SRCPV}" 22PV = "${LINUX_VERSION}+git${SRCPV}"
18SRCREV_FORMAT = "meta_machine" 23SRCREV_FORMAT = "meta_machine"
19 24
20COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64|atom-pc|routerstationpro|mpc8315e-rdb|beagleboard)" 25COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64|atom-pc|routerstationpro|mpc8315e-rdb|beagleboard)"
21 26
22# this performs a fixup on the SRCREV for new/undefined BSPs 27# this performs a fixup on historical kernel types with embedded _'s
23python __anonymous () { 28python __anonymous () {
24 import bb, re 29 import bb, re, string
25 30
26 rev = bb.data.getVar("SRCREV_machine", d, 1) 31 kerntype = string.replace(bb.data.expand("${LINUX_KERNEL_TYPE}", d), "_", "-")
27 if rev == "standard": 32 bb.data.setVar("LINUX_KERNEL_TYPE_EXTENSION", kerntype, d)
28 bb.data.setVar("SRCREV_machine", "${SRCREV_meta}", d)
29} 33}
30 34
31SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;fullclone=1;branch=${KBRANCH};name=machine \ 35SRC_URI = "git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;nocheckout=1;branch=${KBRANCH},wrs_meta;name=machine,meta"
32 git://git.pokylinux.org/linux-2.6-windriver.git;protocol=git;noclone=1;branch=wrs_meta;name=meta"
33
34 36
35# Functionality flags 37# Functionality flags
36KERNEL_REVISION_CHECKING ?= "t" 38KERNEL_REVISION_CHECKING ?= "t"
diff --git a/meta/recipes-kernel/linux/linux-yocto.inc b/meta/recipes-kernel/linux/linux-yocto.inc
index 2a77f4a9c4..0812144d46 100644
--- a/meta/recipes-kernel/linux/linux-yocto.inc
+++ b/meta/recipes-kernel/linux/linux-yocto.inc
@@ -2,10 +2,12 @@ DESCRIPTION = "Yocto Kernel"
2SECTION = "kernel" 2SECTION = "kernel"
3LICENSE = "GPL" 3LICENSE = "GPL"
4 4
5LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
6
5# A KMACHINE is the mapping of a yocto $MACHINE to what is built 7# A KMACHINE is the mapping of a yocto $MACHINE to what is built
6# by the kernel. This is typically the branch that should be built, 8# by the kernel. This is typically the branch that should be built,
7# and it can be specific to the machine or shared 9# and it can be specific to the machine or shared
8KMACHINE = "UNDEFINED" 10# KMACHINE = "UNDEFINED"
9 11
10# Set this to 'preempt_rt' in the local.conf if you want a real time kernel 12# Set this to 'preempt_rt' in the local.conf if you want a real time kernel
11LINUX_KERNEL_TYPE ?= standard 13LINUX_KERNEL_TYPE ?= standard
@@ -13,9 +15,9 @@ LINUX_KERNEL_TYPE ?= standard
13do_patch[depends] = "kern-tools-native:do_populate_sysroot" 15do_patch[depends] = "kern-tools-native:do_populate_sysroot"
14 16
15addtask kernel_configme before do_configure after do_patch 17addtask kernel_configme before do_configure after do_patch
16addtask kernel_configcheck after do_configure before do_compile
17 18
18# Pick up shared functions 19# Pick up shared functions
19inherit kernel-yocto 20inherit kernel-yocto
21require linux-dtb.inc
20 22
21B = "${WORKDIR}/linux-${KMACHINE}-${LINUX_KERNEL_TYPE}-build" 23B = "${WORKDIR}/linux-${MACHINE}-${LINUX_KERNEL_TYPE}-build"
diff --git a/meta/recipes-kernel/linux/linux-yocto/tools-perf-no-scripting.patch b/meta/recipes-kernel/linux/linux-yocto/tools-perf-no-scripting.patch
new file mode 100644
index 0000000000..e0ad9997f7
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-yocto/tools-perf-no-scripting.patch
@@ -0,0 +1,49 @@
1Index: tools/perf/Makefile
2===================================================================
3--- a/tools/perf/Makefile 2011-01-14 14:17:33.127008554 -0600
4+++ b/tools/perf/Makefile 2011-01-14 14:18:14.227008548 -0600
5@@ -588,42 +588,8 @@
6 endif
7 endif
8
9-ifdef NO_LIBPERL
10- BASIC_CFLAGS += -DNO_LIBPERL
11-else
12- PERL_EMBED_LDOPTS = $(shell perl -MExtUtils::Embed -e ldopts 2>/dev/null)
13- PERL_EMBED_LDFLAGS = $(call strip-libs,$(PERL_EMBED_LDOPTS))
14- PERL_EMBED_LIBADD = $(call grep-libs,$(PERL_EMBED_LDOPTS))
15- PERL_EMBED_CCOPTS = `perl -MExtUtils::Embed -e ccopts 2>/dev/null`
16- FLAGS_PERL_EMBED=$(PERL_EMBED_CCOPTS) $(PERL_EMBED_LDOPTS)
17-
18- ifneq ($(call try-cc,$(SOURCE_PERL_EMBED),$(FLAGS_PERL_EMBED)),y)
19- BASIC_CFLAGS += -DNO_LIBPERL
20- else
21- ALL_LDFLAGS += $(PERL_EMBED_LDFLAGS)
22- EXTLIBS += $(PERL_EMBED_LIBADD)
23- LIB_OBJS += $(OUTPUT)util/scripting-engines/trace-event-perl.o
24- LIB_OBJS += $(OUTPUT)scripts/perl/Perf-Trace-Util/Context.o
25- endif
26-endif
27-
28-ifdef NO_LIBPYTHON
29- BASIC_CFLAGS += -DNO_LIBPYTHON
30-else
31- PYTHON_EMBED_LDOPTS = $(shell python-config --ldflags 2>/dev/null)
32- PYTHON_EMBED_LDFLAGS = $(call strip-libs,$(PYTHON_EMBED_LDOPTS))
33- PYTHON_EMBED_LIBADD = $(call grep-libs,$(PYTHON_EMBED_LDOPTS))
34- PYTHON_EMBED_CCOPTS = `python-config --cflags 2>/dev/null`
35- FLAGS_PYTHON_EMBED=$(PYTHON_EMBED_CCOPTS) $(PYTHON_EMBED_LDOPTS)
36- ifneq ($(call try-cc,$(SOURCE_PYTHON_EMBED),$(FLAGS_PYTHON_EMBED)),y)
37- BASIC_CFLAGS += -DNO_LIBPYTHON
38- else
39- ALL_LDFLAGS += $(PYTHON_EMBED_LDFLAGS)
40- EXTLIBS += $(PYTHON_EMBED_LIBADD)
41- LIB_OBJS += $(OUTPUT)util/scripting-engines/trace-event-python.o
42- LIB_OBJS += $(OUTPUT)scripts/python/Perf-Trace-Util/Context.o
43- endif
44-endif
45+BASIC_CFLAGS += -DNO_LIBPERL
46+BASIC_CFLAGS += -DNO_LIBPYTHON
47
48 ifdef NO_DEMANGLE
49 BASIC_CFLAGS += -DNO_DEMANGLE
diff --git a/meta/recipes-kernel/linux/linux-yocto_git.bb b/meta/recipes-kernel/linux/linux-yocto_git.bb
index f40fe38fcd..75c6fb1653 100644
--- a/meta/recipes-kernel/linux/linux-yocto_git.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_git.bb
@@ -1,26 +1,30 @@
1inherit kernel 1inherit kernel
2require linux-yocto.inc 2require linux-yocto.inc
3 3
4KMACHINE_qemux86 = "common_pc/base" 4KMACHINE = "yocto/standard/base"
5KMACHINE_qemux86-64 = "common_pc_64" 5KMACHINE_qemux86 = "yocto/standard/common-pc/base"
6KMACHINE_qemuppc = "qemu_ppc32" 6KMACHINE_qemux86-64 = "yocto/standard/common-pc-64/base"
7KMACHINE_qemumips = "mti_malta32_be" 7KMACHINE_qemuppc = "yocto/standard/qemu-ppc32"
8KMACHINE_qemuarm = "arm_versatile_926ejs" 8KMACHINE_qemumips = "yocto/standard/mti-malta32-be"
9KMACHINE_atom-pc = "atom-pc" 9KMACHINE_qemuarm = "yocto/standard/arm-versatile-926ejs"
10KMACHINE_routerstationpro = "routerstationpro" 10KMACHINE_atom-pc = "yocto/standard/common-pc/atom-pc"
11KMACHINE_mpc8315e-rdb = "fsl-mpc8315e-rdb" 11KMACHINE_routerstationpro = "yocto/standard/routerstationpro"
12KMACHINE_beagleboard = "beagleboard" 12KMACHINE_mpc8315e-rdb = "yocto/standard/fsl-mpc8315e-rdb"
13KMACHINE_beagleboard = "yocto/standard/beagleboard"
14
15KBRANCH = ${KMACHINE}
16KMETA = meta
13 17
14LINUX_VERSION ?= "2.6.37" 18LINUX_VERSION ?= "2.6.37"
15LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}" 19LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
16PR = "r14" 20PR = "r15"
17PV = "${LINUX_VERSION}+git${SRCPV}" 21PV = "${LINUX_VERSION}+git${SRCPV}"
18SRCREV_FORMAT = "meta_machine" 22SRCREV_FORMAT = "meta_machine"
19 23
20SRC_URI = "git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;fullclone=1;branch=${KBRANCH};name=machine \ 24SRC_URI = "git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta \
21 git://git.pokylinux.org/linux-yocto-2.6.37;protocol=git;noclone=1;branch=meta;name=meta" 25 file://tools-perf-no-scripting.patch"
22 26
23COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64)" 27COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64|mpc8315e-rdb|routerstationpro|beagleboard)"
24 28
25# Functionality flags 29# Functionality flags
26KERNEL_REVISION_CHECKING ?= "t" 30KERNEL_REVISION_CHECKING ?= "t"
@@ -29,5 +33,6 @@ KERNEL_FEATURES=features/netfilter
29# extra tasks 33# extra tasks
30addtask kernel_link_vmlinux after do_compile before do_install 34addtask kernel_link_vmlinux after do_compile before do_install
31addtask validate_branches before do_patch after do_kernel_checkout 35addtask validate_branches before do_patch after do_kernel_checkout
36addtask kernel_configcheck after do_configure before do_compile
32 37
33require linux-tools.inc 38require linux-tools.inc
diff --git a/meta/recipes-kernel/linux/linux.inc b/meta/recipes-kernel/linux/linux.inc
index 93859bb5a8..726d3d6904 100644
--- a/meta/recipes-kernel/linux/linux.inc
+++ b/meta/recipes-kernel/linux/linux.inc
@@ -3,6 +3,7 @@ SECTION = "kernel"
3LICENSE = "GPL" 3LICENSE = "GPL"
4 4
5inherit kernel 5inherit kernel
6require linux-dtb.inc
6 7
7DEPENDS_append_em-x270 = " mtd-utils " 8DEPENDS_append_em-x270 = " mtd-utils "
8 9
@@ -15,21 +16,6 @@ CMDLINE_at91sam9263ek = "mem=64M console=ttyS0,115200 root=/dev/mmcblk0p1 rootfs
15#boot from nfs 16#boot from nfs
16#CMDLINE_at91sam9263ek = "mem=64M console=ttyS0,115200 root=301 root=/dev/nfs nfsroot=172.20.3.1:/data/at91 ip=172.20.0.5:::255.255.0.0" 17#CMDLINE_at91sam9263ek = "mem=64M console=ttyS0,115200 root=301 root=/dev/nfs nfsroot=172.20.3.1:/data/at91 ip=172.20.0.5:::255.255.0.0"
17 18
18# Support for device tree generation
19FILES_kernel_devicetree = "/boot/devicetree*"
20KERNEL_DEVICETREE_FLAGS = "-R 8 -p 0x3000"
21
22python __anonymous () {
23 import bb
24
25 devicetree = bb.data.getVar("KERNEL_DEVICETREE", d, 1) or ''
26 if devicetree:
27 depends = bb.data.getVar("DEPENDS", d, 1)
28 bb.data.setVar("DEPENDS", "%s dtc-native" % depends, d)
29 packages = bb.data.getVar("PACKAGES", d, 1)
30 bb.data.setVar("PACKAGES", "%s kernel-devicetree" % packages, d)
31}
32
33do_configure_prepend() { 19do_configure_prepend() {
34 echo "" > ${S}/.config 20 echo "" > ${S}/.config
35 21
@@ -105,14 +91,3 @@ do_install_prepend() {
105 fi 91 fi
106} 92}
107 93
108do_install_append() {
109 if test -n "${KERNEL_DEVICETREE}"; then
110 dtc -I dts -O dtb ${KERNEL_DEVICETREE_FLAGS} -o devicetree ${KERNEL_DEVICETREE}
111 install -m 0644 devicetree ${D}/boot/devicetree-${KERNEL_VERSION}
112 install -d ${DEPLOY_DIR_IMAGE}
113 install -m 0644 devicetree ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.dtb
114 cd ${DEPLOY_DIR_IMAGE}
115 rm -f ${KERNEL_IMAGE_SYMLINK_NAME}.dtb
116 ln -sf ${KERNEL_IMAGE_BASE_NAME}.dtb ${KERNEL_IMAGE_SYMLINK_NAME}.dtb
117 fi
118}
diff --git a/meta/recipes-kernel/linux/linux_2.6.33.2.bb b/meta/recipes-kernel/linux/linux_2.6.33.2.bb
index 0f1a9f4e08..2c9817f296 100644
--- a/meta/recipes-kernel/linux/linux_2.6.33.2.bb
+++ b/meta/recipes-kernel/linux/linux_2.6.33.2.bb
@@ -1,5 +1,8 @@
1require linux.inc 1require linux.inc
2 2
3LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
4
5
3# Mark archs/machines that this kernel supports 6# Mark archs/machines that this kernel supports
4DEFAULT_PREFERENCE = "-1" 7DEFAULT_PREFERENCE = "-1"
5DEFAULT_PREFERENCE_mpc8313erdb = "1" 8DEFAULT_PREFERENCE_mpc8313erdb = "1"
diff --git a/meta/recipes-kernel/lttng/lttng-ust_0.8.bb b/meta/recipes-kernel/lttng/lttng-ust_0.11.bb
index 507ee501e3..575e35ac9c 100644
--- a/meta/recipes-kernel/lttng/lttng-ust_0.8.bb
+++ b/meta/recipes-kernel/lttng/lttng-ust_0.11.bb
@@ -3,10 +3,7 @@ DESCRIPTION = "The LTTng Userspace Tracer (UST) is a library accompanied by a se
3HOMEPAGE = "http://lttng.org/ust" 3HOMEPAGE = "http://lttng.org/ust"
4BUGTRACKER = "n/a" 4BUGTRACKER = "n/a"
5 5
6# In the source directory, doc/manual/ust.html says ustctl/libustcmd/ustd are 6LICENSE = "LGPLv2.1+ & BSD"
7# licensed as GPL v2, but the source codes of ustctl/libustcmd/ustd have a
8# LGPLv2.1+ header; the files in snprintf/ have a BSD header.
9LICENSE = "LGPV2.1+ & BSD"
10LIC_FILES_CHKSUM = "file://COPYING;md5=e647752e045a8c45b6f583771bd561ef \ 7LIC_FILES_CHKSUM = "file://COPYING;md5=e647752e045a8c45b6f583771bd561ef \
11 file://ustctl/ustctl.c;endline=16;md5=eceeaab8a5574f24d62f7950b9d1adf4 \ 8 file://ustctl/ustctl.c;endline=16;md5=eceeaab8a5574f24d62f7950b9d1adf4 \
12 file://snprintf/various.h;endline=31;md5=89f2509b6b4682c4fc95255eec4abe44" 9 file://snprintf/various.h;endline=31;md5=89f2509b6b4682c4fc95255eec4abe44"
@@ -17,10 +14,17 @@ PR = "r0"
17 14
18SRC_URI = "http://lttng.org/files/ust/releases/ust-${PV}.tar.gz" 15SRC_URI = "http://lttng.org/files/ust/releases/ust-${PV}.tar.gz"
19 16
20SRC_URI[md5sum] = "333ff7c8fef92b31dff85789865bb791" 17SRC_URI[md5sum] = "0a23fa60df4da3fb5188e314001eb49c"
21SRC_URI[sha256sum] = "802398bc2c3ad5c80bd236d1ee24968f4da8a1401695e8dc15cb396ac836abb4" 18SRC_URI[sha256sum] = "af8f699019ae260103bb401b6738d5e417e79732a509859b42a52e9a0f5edb35"
22 19
23S = "${WORKDIR}/ust-${PV}" 20S = "${WORKDIR}/ust-${PV}"
24 21
25inherit autotools 22inherit autotools
26 23
24# Due to liburcu not building on ARM or MIPS currently this recipe needs to
25# be limited also.
26# So here let us first suppport x86/powerpc platforms now.
27COMPATIBLE_HOST = '(x86_64.*|i.86.*|powerpc.*)-linux'
28
29
30
diff --git a/meta/recipes-kernel/lttng/lttng-viewer_0.12.35.bb b/meta/recipes-kernel/lttng/lttng-viewer_0.12.36.bb
index 94c615502f..e3054957d2 100644
--- a/meta/recipes-kernel/lttng/lttng-viewer_0.12.35.bb
+++ b/meta/recipes-kernel/lttng/lttng-viewer_0.12.36.bb
@@ -14,12 +14,12 @@ DEPENDS = "gtk+ pango popt"
14 14
15SECTION = "devel" 15SECTION = "devel"
16 16
17ALTNAME = "lttv-${PV}-20082010" 17ALTNAME = "lttv-${PV}-18112010"
18 18
19SRC_URI = "http://lttng.org/files/packages/${ALTNAME}.tar.gz" 19SRC_URI = "http://lttng.org/files/packages/${ALTNAME}.tar.gz"
20 20
21SRC_URI[md5sum] = "ebcbc4e21184b4b0dcb0611b4977dad8" 21SRC_URI[md5sum] = "967f7c9c843a43e2ec2ef9216edabc70"
22SRC_URI[sha256sum] = "d258b13cd76c37e4f8395c06159986dd45517bef312895ffa59722087a2879e7" 22SRC_URI[sha256sum] = "a7d14ae84f9bb123298840922730d3121fa073dc036dccac63083d9686adeacd"
23S = "${WORKDIR}/${ALTNAME}" 23S = "${WORKDIR}/${ALTNAME}"
24 24
25inherit autotools 25inherit autotools
diff --git a/meta/recipes-kernel/modutils/files/gcc4.patch b/meta/recipes-kernel/modutils/files/gcc4.patch
index e204898f05..53750bc617 100644
--- a/meta/recipes-kernel/modutils/files/gcc4.patch
+++ b/meta/recipes-kernel/modutils/files/gcc4.patch
@@ -1,6 +1,8 @@
1--- modutils-2.4.27/depmod/depmod.c.old 2005-06-05 23:25:28.000000000 +0100 1Index: modutils-2.4.27/depmod/depmod.c
2+++ modutils-2.4.27/depmod/depmod.c 2005-06-05 23:25:38.000000000 +0100 2===================================================================
3@@ -1133,7 +1133,7 @@ 3--- modutils-2.4.27.orig/depmod/depmod.c
4+++ modutils-2.4.27/depmod/depmod.c
5@@ -1133,7 +1133,7 @@ static int addksyms(char *file_syms)
4 6
5 for (ksym = ksyms; so_far < nksyms; ++so_far, ksym++) { 7 for (ksym = ksyms; so_far < nksyms; ++so_far, ksym++) {
6 if (strncmp((char *)ksym->name, "GPLONLY_", 8) == 0) 8 if (strncmp((char *)ksym->name, "GPLONLY_", 8) == 0)
@@ -9,9 +11,11 @@
9 assert(n_syms < MAX_MAP_SYM); 11 assert(n_syms < MAX_MAP_SYM);
10 symtab[n_syms++] = addsym((char *)ksym->name, mod, SYM_DEFINED, 0); 12 symtab[n_syms++] = addsym((char *)ksym->name, mod, SYM_DEFINED, 0);
11 } 13 }
12--- modutils-2.4.27/genksyms/genksyms.c.old 2005-06-05 23:24:16.000000000 +0100 14Index: modutils-2.4.27/genksyms/genksyms.c
13+++ modutils-2.4.27/genksyms/genksyms.c 2005-06-05 23:24:35.000000000 +0100 15===================================================================
14@@ -45,7 +45,7 @@ 16--- modutils-2.4.27.orig/genksyms/genksyms.c
17+++ modutils-2.4.27/genksyms/genksyms.c
18@@ -45,7 +45,7 @@ char *cur_filename, *output_directory;
15 int flag_debug, flag_dump_defs, flag_warnings; 19 int flag_debug, flag_dump_defs, flag_warnings;
16 int checksum_version = 1, kernel_version = version(2,0,0); 20 int checksum_version = 1, kernel_version = version(2,0,0);
17 21
@@ -20,9 +24,11 @@
20 static int nsyms; 24 static int nsyms;
21 25
22 static struct symbol *expansion_trail; 26 static struct symbol *expansion_trail;
23--- modutils-2.4.27/insmod/insmod.c.old 2005-06-05 23:21:47.000000000 +0100 27Index: modutils-2.4.27/insmod/insmod.c
24+++ modutils-2.4.27/insmod/insmod.c 2005-06-05 23:22:34.000000000 +0100 28===================================================================
25@@ -275,7 +275,7 @@ 29--- modutils-2.4.27.orig/insmod/insmod.c
30+++ modutils-2.4.27/insmod/insmod.c
31@@ -275,7 +275,7 @@ static int add_symbols_from(struct obj_f
26 if (strncmp((char *)s->name, "GPLONLY_", 8) == 0) { 32 if (strncmp((char *)s->name, "GPLONLY_", 8) == 0) {
27 gplonly_seen = 1; 33 gplonly_seen = 1;
28 if (gpl) 34 if (gpl)
@@ -31,9 +37,11 @@
31 else 37 else
32 continue; 38 continue;
33 } 39 }
34--- modutils-2.4.27/obj/obj_kallsyms.c.old 2005-06-05 23:20:08.000000000 +0100 40Index: modutils-2.4.27/obj/obj_kallsyms.c
35+++ modutils-2.4.27/obj/obj_kallsyms.c 2005-06-05 23:20:24.000000000 +0100 41===================================================================
36@@ -200,7 +200,7 @@ 42--- modutils-2.4.27.orig/obj/obj_kallsyms.c
43+++ modutils-2.4.27/obj/obj_kallsyms.c
44@@ -200,7 +200,7 @@ obj_kallsyms (struct obj_file *fin, stru
37 45
38 /* Initial contents, header + one entry per input section. No strings. */ 46 /* Initial contents, header + one entry per input section. No strings. */
39 osec->header.sh_size = sizeof(*a_hdr) + loaded*sizeof(*a_sec); 47 osec->header.sh_size = sizeof(*a_hdr) + loaded*sizeof(*a_sec);
@@ -42,7 +50,7 @@
42 xmalloc(osec->header.sh_size); 50 xmalloc(osec->header.sh_size);
43 memset(osec->contents, 0, osec->header.sh_size); 51 memset(osec->contents, 0, osec->header.sh_size);
44 a_hdr->size = sizeof(*a_hdr); 52 a_hdr->size = sizeof(*a_hdr);
45@@ -275,7 +275,7 @@ 53@@ -275,7 +275,7 @@ obj_kallsyms (struct obj_file *fin, stru
46 a_hdr->symbol_off + 54 a_hdr->symbol_off +
47 a_hdr->symbols*a_hdr->symbol_size + 55 a_hdr->symbols*a_hdr->symbol_size +
48 strings_size - strings_left; 56 strings_size - strings_left;
@@ -51,9 +59,11 @@
51 xrealloc(a_hdr, a_hdr->total_size); 59 xrealloc(a_hdr, a_hdr->total_size);
52 p = (char *)a_hdr + a_hdr->symbol_off; 60 p = (char *)a_hdr + a_hdr->symbol_off;
53 memcpy(p, symbols, a_hdr->symbols*a_hdr->symbol_size); 61 memcpy(p, symbols, a_hdr->symbols*a_hdr->symbol_size);
54--- modutils-2.4.27/obj/obj_mips.c.orig 2003-04-05 00:47:17.000000000 +0200 62Index: modutils-2.4.27/obj/obj_mips.c
55+++ modutils-2.4.27/obj/obj_mips.c 2005-07-21 12:51:48.000000000 +0200 63===================================================================
56@@ -244,7 +244,9 @@ 64--- modutils-2.4.27.orig/obj/obj_mips.c
65+++ modutils-2.4.27/obj/obj_mips.c
66@@ -244,7 +244,9 @@ arch_archdata (struct obj_file *f, struc
57 archdata_sec->header.sh_size = 0; 67 archdata_sec->header.sh_size = 0;
58 sec = obj_find_section(f, "__dbe_table"); 68 sec = obj_find_section(f, "__dbe_table");
59 if (sec) { 69 if (sec) {
@@ -64,3 +74,18 @@
64 memset(ad, 0, sizeof(*ad)); 74 memset(ad, 0, sizeof(*ad));
65 archdata_sec->header.sh_size = sizeof(*ad); 75 archdata_sec->header.sh_size = sizeof(*ad);
66 ad->__start___dbe_table = sec->header.sh_addr; 76 ad->__start___dbe_table = sec->header.sh_addr;
77Index: modutils-2.4.27/obj/obj_ppc.c
78===================================================================
79--- modutils-2.4.27.orig/obj/obj_ppc.c
80+++ modutils-2.4.27/obj/obj_ppc.c
81@@ -255,7 +255,9 @@ arch_archdata (struct obj_file *f, struc
82 archdata_sec->header.sh_size = 0;
83 sec = obj_find_section(f, "__ftr_fixup");
84 if (sec) {
85- ad = (struct archdata *) (archdata_sec->contents) = xmalloc(sizeof(*ad));
86+ /* ad = (struct archdata *) (archdata_sec->contents) = xmalloc(sizeof(*ad)); */
87+ archdata_sec->contents = xmalloc(sizeof(*ad));
88+ ad = (struct archdata *) (archdata_sec->contents);
89 memset(ad, 0, sizeof(*ad));
90 archdata_sec->header.sh_size = sizeof(*ad);
91 ad->__start___ftr_fixup = sec->header.sh_addr;
diff --git a/meta/recipes-kernel/oprofile/oprofile_0.9.6.bb b/meta/recipes-kernel/oprofile/oprofile_0.9.6.bb
index 85e065f999..eb707e06d1 100644
--- a/meta/recipes-kernel/oprofile/oprofile_0.9.6.bb
+++ b/meta/recipes-kernel/oprofile/oprofile_0.9.6.bb
@@ -12,10 +12,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
12SECTION = "devel" 12SECTION = "devel"
13 13
14DEPENDS = "popt binutils" 14DEPENDS = "popt binutils"
15RDEPENDS = "binutils-symlinks" 15RDEPENDS_${PN} = "binutils-symlinks"
16RRECOMMENDS = "kernel-vmlinux" 16RRECOMMENDS_${PN} = "kernel-vmlinux"
17 17
18PR = "r0" 18PR = "r1"
19 19
20SRC_URI = "${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \ 20SRC_URI = "${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \
21 file://opstart.patch \ 21 file://opstart.patch \
diff --git a/meta/recipes-kernel/oprofile/oprofile_cvs.bb b/meta/recipes-kernel/oprofile/oprofile_cvs.bb
index f2ff5adfc2..f2b5520f63 100644
--- a/meta/recipes-kernel/oprofile/oprofile_cvs.bb
+++ b/meta/recipes-kernel/oprofile/oprofile_cvs.bb
@@ -1,13 +1,13 @@
1PV = "0.9.4+cvs${SRCDATE}" 1PV = "0.9.4+cvs${SRCDATE}"
2PR = "r0" 2PR = "r1"
3SECTION = "devel" 3SECTION = "devel"
4SUMMARY = "System-Wide Profiler" 4SUMMARY = "System-Wide Profiler"
5DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \ 5DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \
6of profiling all running code at low overhead." 6of profiling all running code at low overhead."
7LICENSE = "GPL" 7LICENSE = "GPL"
8DEPENDS = "popt binutils" 8DEPENDS = "popt binutils"
9RDEPENDS = "binutils-symlinks" 9RDEPENDS_${PN} = "binutils-symlinks"
10RRECOMMENDS = "kernel-vmlinux" 10RRECOMMENDS_${PN} = "kernel-vmlinux"
11 11
12DEFAULT_PREFERENCE = "-1" 12DEFAULT_PREFERENCE = "-1"
13 13
diff --git a/meta/recipes-kernel/oprofile/oprofileui-svn.inc b/meta/recipes-kernel/oprofile/oprofileui-svn.inc
index 4c9211cc05..5d40914734 100644
--- a/meta/recipes-kernel/oprofile/oprofileui-svn.inc
+++ b/meta/recipes-kernel/oprofile/oprofileui-svn.inc
@@ -1,8 +1,9 @@
1require oprofileui.inc 1require oprofileui.inc
2 2
3PV = "0.0+svnr${SRCREV}" 3PV = "0.0+svnr${SRCPV}"
4PR = "r0" 4PR = "r1"
5 5
6S = "${WORKDIR}/trunk" 6S = "${WORKDIR}/trunk"
7 7
8SRC_URI = "svn://svn.o-hand.com/repos/oprofileui;module=trunk;proto=http" 8SRC_URI = "svn://svn.o-hand.com/repos/oprofileui;module=trunk;proto=http \
9 file://dso_linking_change_build_fix.patch "
diff --git a/meta/recipes-kernel/oprofile/oprofileui/dso_linking_change_build_fix.patch b/meta/recipes-kernel/oprofile/oprofileui/dso_linking_change_build_fix.patch
new file mode 100644
index 0000000000..4b44c69bcf
--- /dev/null
+++ b/meta/recipes-kernel/oprofile/oprofileui/dso_linking_change_build_fix.patch
@@ -0,0 +1,25 @@
1With dso linking change in gcc, all the libraries are needed to be explicitely specified to linker now. It breaks this package in following way. The libm library needs to be specified explicitely.
2
3| make[2]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/oprofileui-0.0+svnr197-r0/trunk/src'^M
4| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -Wall -g -std=gnu99 -DPKG_DATA_DIR=\""/usr/share/oprofileui"\" -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o oprofile-viewer main.o client.o archive.o archive_window.o archive_save_window.o view.o report.o parser.o image.o symbol.o module.o symbol_instance.o module_instance.o callee_symbol_instance.o caller_symbol_instance.o state-util.o -pthread -lglade-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lxml2 -lgnomevfs-2 -lgmodule-2.0 -lgconf-2 -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lavahi-ui -lgtk-x11-2.0 -lavahi-common -lavahi-client -lavahi-glib -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 ../protocol/libop.a^M
5| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: ^X^B: invalid DSO for symbol `log@@GLIBC_2.0' definition^M
6| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/lib/libm.so.6: could not read symbols: Bad value^M
7| collect2: ld returned 1 exit status^M
8| make[2]: *** [oprofile-viewer] Error 1^M
9
10Nitin A Kamble <nitin.a.kamble@intel.com>
11Date: 2011/01/11
12
13Index: trunk/src/Makefile.am
14===================================================================
15--- trunk.orig/src/Makefile.am
16+++ trunk/src/Makefile.am
17@@ -56,7 +56,7 @@ oprofile_viewer_SOURCES = \
18
19 oprofile_viewer_LDFLAGS =
20
21-oprofile_viewer_LDADD = $(OPROFILEUI_LIBS) $(AVAHI_LIBS) $(top_builddir)/protocol/libop.a
22+oprofile_viewer_LDADD = $(OPROFILEUI_LIBS) -lm $(AVAHI_LIBS) $(top_builddir)/protocol/libop.a
23
24 testparser_SOURCES = \
25 parser.c \
diff --git a/meta/recipes-kernel/systemtap/systemtap_git.bb b/meta/recipes-kernel/systemtap/systemtap_git.bb
new file mode 100644
index 0000000000..f28c946a18
--- /dev/null
+++ b/meta/recipes-kernel/systemtap/systemtap_git.bb
@@ -0,0 +1,28 @@
1DESCRIPTION = "SystemTap - script-directed dynamic tracing and performance analysis tool for Linux"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
4
5DEPENDS = "elfutils"
6
7PR = r0
8PV = "1.4+git${SRCPV}"
9
10SRC_URI = "git://sources.redhat.com/git/systemtap.git;protocol=git \
11 "
12
13EXTRA_OECONF = "--prefix=${D} --with-libelf=${STAGING_DIR_TARGET} --without-rpm \
14 ac_cv_file__usr_include_nss=no \
15 ac_cv_file__usr_include_nss3=no \
16 ac_cv_file__usr_include_nspr=no \
17 ac_cv_file__usr_include_nspr4=no \
18 ac_cv_file__usr_include_avahi_client=no \
19 ac_cv_file__usr_include_avahi_common=no "
20
21SRC_URI[md5sum] = "cb202866ed704c44a876d041f788bdee"
22SRC_URI[sha256sum] = "8ffe35caec0d937bd23fd78a3a8d94b58907cc0de0330b35e38f9f764815c459"
23
24COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuppc|emenlow|crownbay|atom-pc|n450)"
25
26S = "${WORKDIR}/git"
27
28inherit autotools
diff --git a/meta/recipes-kernel/trace-cmd/kernelshark_git.bb b/meta/recipes-kernel/trace-cmd/kernelshark_git.bb
new file mode 100644
index 0000000000..bfe7d997f4
--- /dev/null
+++ b/meta/recipes-kernel/trace-cmd/kernelshark_git.bb
@@ -0,0 +1,21 @@
1DESCRIPTION = "Graphical trace viewer for Ftrace"
2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
4 file://kernel-shark.c;beginline=6;endline=8;md5=2c22c965a649ddd7973d7913c5634a5e"
5
6PR = r0
7PV = "1.0.5+git${SRCPV}"
8
9DEPENDS = "gtk+"
10RDEPENDS_${PN} = "trace-cmd"
11
12inherit pkgconfig
13
14SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;protocol=git"
15S = "${WORKDIR}/git"
16
17EXTRA_OEMAKE = "'CC=${CC}' 'AR=${AR}' 'prefix=${prefix}' gui"
18
19do_install() {
20 oe_runmake CC="${CC}" AR="${AR}" prefix="${prefix}" DESTDIR="${D}" install_gui
21}
diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb b/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb
index e375afcade..8fe62d4f35 100644
--- a/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb
+++ b/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb
@@ -1,19 +1,18 @@
1DESCRIPTION = "User interface to Ftrace" 1DESCRIPTION = "User interface to Ftrace"
2LICENSE = "GPL" 2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 3LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
4 file://trace-cmd.c;beginline=6;endline=8;md5=2c22c965a649ddd7973d7913c5634a5e"
4 5
5PR = r1 6PR = r0
6PV = "1.0.4+git${SRCPV}" 7PV = "1.0.5+git${SRCPV}"
8
9inherit pkgconfig
7 10
8SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;protocol=git" 11SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;protocol=git"
9S = "${WORKDIR}/git" 12S = "${WORKDIR}/git"
10 13
11 14EXTRA_OEMAKE = "'prefix=${prefix}'"
12do_compile() {
13 oe_runmake ARCH="${ARCH}" CC="${CC}" LD="${LD}" prefix=${prefix}
14}
15 15
16do_install() { 16do_install() {
17 oe_runmake ARCH="${ARCH}" CC="${CC}" LD="${LD}" \ 17 oe_runmake prefix="${prefix}" DESTDIR="${D}" install
18 prefix=${prefix} DESTDIR=${D} install
19} 18}
diff --git a/meta/recipes-kernel/update-modules/update-modules_1.0.bb b/meta/recipes-kernel/update-modules/update-modules_1.0.bb
index 93bc1493d9..a473bb58c7 100644
--- a/meta/recipes-kernel/update-modules/update-modules_1.0.bb
+++ b/meta/recipes-kernel/update-modules/update-modules_1.0.bb
@@ -4,8 +4,8 @@ LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe" 4LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
5 5
6PACKAGE_ARCH = "all" 6PACKAGE_ARCH = "all"
7RDEPENDS = "${@base_contains("MACHINE_FEATURES", "kernel26", "module-init-tools-depmod","modutils-depmod",d)} " 7RDEPENDS_${PN} = "${@base_contains("MACHINE_FEATURES", "kernel26", "module-init-tools-depmod","modutils-depmod",d)} "
8PR = "r7" 8PR = "r8"
9 9
10SRC_URI = "file://update-modules \ 10SRC_URI = "file://update-modules \
11 file://COPYING.GPL" 11 file://COPYING.GPL"
@@ -25,7 +25,7 @@ do_install() {
25# The Unslung distro uses a 2.4 kernel for a machine (the NSLU2) which 25# The Unslung distro uses a 2.4 kernel for a machine (the NSLU2) which
26# supports both 2.4 and 2.6 kernels. Rather than forcing OE to have 26# supports both 2.4 and 2.6 kernels. Rather than forcing OE to have
27# to deal with that unique legacy corner case, we just nullify the 27# to deal with that unique legacy corner case, we just nullify the
28# RDEPENDS here and handle it in the Unslung image recipe. I know this 28# RDEPENDS_${PN} here and handle it in the Unslung image recipe. I know this
29# is ugly. Please don't remove it unless you first make the RDEPENDS 29# is ugly. Please don't remove it unless you first make the RDEPENDS
30# line at the top of this file understand that a machine can be used 30# line at the top of this file understand that a machine can be used
31# in both a 2.4 kernel distro and a 2.6 kernel distro. Really, it's 31# in both a 2.4 kernel distro and a 2.6 kernel distro. Really, it's
diff --git a/meta/recipes-multimedia/gstreamer/gst-openmax_0.10.1.bb b/meta/recipes-multimedia/gstreamer/gst-openmax_0.10.1.bb
index a4cf815336..5eb7e425c1 100644
--- a/meta/recipes-multimedia/gstreamer/gst-openmax_0.10.1.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-openmax_0.10.1.bb
@@ -1,5 +1,5 @@
1DEPENDS = "gstreamer" 1DEPENDS = "gstreamer"
2RDEPENDS = "libomxil" 2RDEPENDS_${PN} = "libomxil"
3LICENSE = "LGPLv2.1" 3LICENSE = "LGPLv2.1"
4LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24 \ 4LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24 \
5 file://util/sem.h;beginline=1;endline=20;md5=accce5550d5583b839b441a0623f09fc" 5 file://util/sem.h;beginline=1;endline=20;md5=accce5550d5583b839b441a0623f09fc"
@@ -10,7 +10,7 @@ inherit autotools
10 10
11EXTRA_OECONF += "--disable-valgrind" 11EXTRA_OECONF += "--disable-valgrind"
12 12
13PR = "r0" 13PR = "r1"
14 14
15FILES_${PN} += "${libdir}/gstreamer-0.10/libgstomx.so" 15FILES_${PN} += "${libdir}/gstreamer-0.10/libgstomx.so"
16FILES_${PN}-dev += "${libdir}/gstreamer-0.10/libgstomx.*a" 16FILES_${PN}-dev += "${libdir}/gstreamer-0.10/libgstomx.*a"
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.30/gst-plugins-base-tremor.patch b/meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.31/gst-plugins-base-tremor.patch
index a6494fd4a9..a6494fd4a9 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.30/gst-plugins-base-tremor.patch
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-base-0.10.31/gst-plugins-base-tremor.patch
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.30.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.31.bb
index aac630291a..8bf243ed60 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.30.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.31.bb
@@ -6,14 +6,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
6 file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \ 6 file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
7 file://gst/ffmpegcolorspace/utils.c;beginline=1;endline=20;md5=9c83a200b8e597b26ca29df20fc6ecd0" 7 file://gst/ffmpegcolorspace/utils.c;beginline=1;endline=20;md5=9c83a200b8e597b26ca29df20fc6ecd0"
8 8
9DEPENDS += "virtual/libx11 alsa-lib freetype gnome-vfs liboil libogg libvorbis libxv libtheora avahi" 9DEPENDS += "virtual/libx11 alsa-lib freetype gnome-vfs liboil libogg libvorbis libxv libtheora avahi util-linux"
10RDEPENDS += "gnome-vfs-plugin-file gnome-vfs-plugin-http gnome-vfs-plugin-ftp \ 10RDEPENDS_${PN} += "gnome-vfs-plugin-file gnome-vfs-plugin-http gnome-vfs-plugin-ftp \
11 gnome-vfs-plugin-sftp" 11 gnome-vfs-plugin-sftp"
12 12
13SRC_URI += " file://gst-plugins-base-tremor.patch" 13SRC_URI += " file://gst-plugins-base-tremor.patch"
14 14
15SRC_URI[md5sum] = "3ad90152b58563e1314af26c263f3c4c" 15SRC_URI[md5sum] = "9baa0d87e81c88b2477a3554ab629c46"
16SRC_URI[sha256sum] = "63938641380be9935c804ae8d55acdcfd93920ed2deb72dcf70f027a78b085d7" 16SRC_URI[sha256sum] = "abb006c78222cfb69d31e983268d1d5219e9d4e0da24c6c4cd687968af7a33bd"
17 17
18PR = "r1" 18PR = "r1"
19 19
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.25.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.26.bb
index 83b43b6f9e..78b24fe8d3 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.25.bb
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.26.bb
@@ -18,5 +18,5 @@ do_configure_prepend() {
18 rm ${S}/m4/lib-link.m4 || true 18 rm ${S}/m4/lib-link.m4 || true
19} 19}
20 20
21SRC_URI[md5sum] = "d734bc866788d1d6fc74c4ff1318926c" 21SRC_URI[md5sum] = "e1ed191adbf81edff04f348f8ce8e198"
22SRC_URI[sha256sum] = "b5d5750c12412c47d85ba9391c842f6f02cad9511876695e48b15fb37e4699f6" 22SRC_URI[sha256sum] = "ceb3bbea5ce18463b8fe470d34786bc846469e800305c436d799af9fe22bdcc4"
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins.inc b/meta/recipes-multimedia/gstreamer/gst-plugins.inc
index cd3e0a0a95..4edca95611 100644
--- a/meta/recipes-multimedia/gstreamer/gst-plugins.inc
+++ b/meta/recipes-multimedia/gstreamer/gst-plugins.inc
@@ -7,6 +7,8 @@ DEPENDS = "gstreamer"
7 7
8inherit autotools pkgconfig 8inherit autotools pkgconfig
9 9
10FILESPATH =. "${FILE_DIRNAME}/gst-plugins:"
11
10SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2" 12SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2"
11 13
12EXTRA_OECONF = "--disable-valgrind --disable-debug --disable-examples " 14EXTRA_OECONF = "--disable-valgrind --disable-debug --disable-examples "
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/make-382.patch b/meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/make-382.patch
deleted file mode 100644
index 1af2a81325..0000000000
--- a/meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/make-382.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1The whitespaces instead of tabs here cause the new, stricter, parser in make
23.82 to barf on the doc makefiles.
3
4This patch should no longer be required in more recent gstreamer version
5
6JL - 14/12/10
7
8Index: gstreamer-0.10.29/common/gtk-doc.mak
9===================================================================
10--- gstreamer-0.10.29.orig/common/gtk-doc.mak
11+++ gstreamer-0.10.29/common/gtk-doc.mak
12@@ -232,6 +232,6 @@ dist-hook: dist-check-gtkdoc dist-hook-l
13 -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
14 -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
15 cd $(distdir) && rm -f $(DISTCLEANFILES)
16- -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
17+ -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
18
19 .PHONY : dist-hook-local docs
20Index: gstreamer-0.10.29/common/gtk-doc-plugins.mak
21===================================================================
22--- gstreamer-0.10.29.orig/common/gtk-doc-plugins.mak
23+++ gstreamer-0.10.29/common/gtk-doc-plugins.mak
24@@ -352,7 +352,7 @@ dist-hook: dist-check-gtkdoc dist-hook-l
25 -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
26 -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
27 cd $(distdir) && rm -f $(DISTCLEANFILES)
28- -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
29+ -gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
30
31 .PHONY : dist-hook-local docs
32
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/check_fix.patch b/meta/recipes-multimedia/gstreamer/gstreamer-0.10.31/check_fix.patch
index 72c3f6407e..72c3f6407e 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/check_fix.patch
+++ b/meta/recipes-multimedia/gstreamer/gstreamer-0.10.31/check_fix.patch
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/gst-inspect-check-error.patch b/meta/recipes-multimedia/gstreamer/gstreamer-0.10.31/gst-inspect-check-error.patch
index 4ca1dbe6ab..4ca1dbe6ab 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/gst-inspect-check-error.patch
+++ b/meta/recipes-multimedia/gstreamer/gstreamer-0.10.31/gst-inspect-check-error.patch
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/gstregistrybinary.c b/meta/recipes-multimedia/gstreamer/gstreamer-0.10.31/gstregistrybinary.c
index c1f3e71af6..c1f3e71af6 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/gstregistrybinary.c
+++ b/meta/recipes-multimedia/gstreamer/gstreamer-0.10.31/gstregistrybinary.c
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/gstregistrybinary.h b/meta/recipes-multimedia/gstreamer/gstreamer-0.10.31/gstregistrybinary.h
index 2ef24d765d..2ef24d765d 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer-0.10.30/gstregistrybinary.h
+++ b/meta/recipes-multimedia/gstreamer/gstreamer-0.10.31/gstregistrybinary.h
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer_0.10.30.bb b/meta/recipes-multimedia/gstreamer/gstreamer_0.10.31.bb
index 538884e3d0..e7b00adfa0 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer_0.10.30.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer_0.10.31.bb
@@ -10,15 +10,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \
10 file://gst/gst.h;beginline=1;endline=21;md5=8e5fe5e87d33a04479fde862e238eaa4" 10 file://gst/gst.h;beginline=1;endline=21;md5=8e5fe5e87d33a04479fde862e238eaa4"
11DEPENDS = "glib-2.0 gettext libxml2 bison-native flex-native" 11DEPENDS = "glib-2.0 gettext libxml2 bison-native flex-native"
12 12
13PR = "r1" 13PR = "r0"
14 14
15SRC_URI = "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.bz2 \ 15SRC_URI = "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.bz2 \
16 file://check_fix.patch \ 16 file://check_fix.patch \
17 file://gst-inspect-check-error.patch \ 17 file://gst-inspect-check-error.patch"
18 file://make-382.patch"
19 18
20SRC_URI[md5sum] = "de01f73f71d97c5854badd363ca06509" 19SRC_URI[md5sum] = "a21fb08bdb578d972c7c14e77da8fbb6"
21SRC_URI[sha256sum] = "e8ef301be423797ff36a0bb3615930b112b4175634051d19fd655e0ed974532a" 20SRC_URI[sha256sum] = "7f737e6d047c1ebeb4e1e0725fc377c5d9f12ee89186de7960be3cbba709ab84"
22 21
23inherit autotools pkgconfig 22inherit autotools pkgconfig
24 23
diff --git a/meta/recipes-multimedia/libogg/libogg_1.2.1.bb b/meta/recipes-multimedia/libogg/libogg_1.2.2.bb
index 37b6c090b7..83454c8d09 100644
--- a/meta/recipes-multimedia/libogg/libogg_1.2.1.bb
+++ b/meta/recipes-multimedia/libogg/libogg_1.2.2.bb
@@ -13,7 +13,7 @@ PR = "r0"
13 13
14SRC_URI = "http://downloads.xiph.org/releases/ogg/libogg-${PV}.tar.gz" 14SRC_URI = "http://downloads.xiph.org/releases/ogg/libogg-${PV}.tar.gz"
15 15
16SRC_URI[md5sum] = "b998c2420721146df3b3d0e7776c97b9" 16SRC_URI[md5sum] = "5a9fcabc9a1b7c6f1cd75ddc78f36c56"
17SRC_URI[sha256sum] = "6858848617bca6eab01e7d8526bc0d2a417e95070a255cbf9c881881365e36c0" 17SRC_URI[sha256sum] = "ab000574bc26d5f01284f5b0f50e12dc761d035c429f2e9c70cb2a9487d8cfba"
18 18
19inherit autotools pkgconfig 19inherit autotools pkgconfig
diff --git a/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb b/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb
index 080c1bf36e..861e6fc72f 100644
--- a/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb
+++ b/meta/recipes-multimedia/musicbrainz/libmusicbrainz_3.0.3.bb
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=fbc093901857fcd118f065f900982c24 \
6 file://include/musicbrainz3/includes.h;beginline=1;endline=21;md5=9ab2846573f560cea7561da472803a72" 6 file://include/musicbrainz3/includes.h;beginline=1;endline=21;md5=9ab2846573f560cea7561da472803a72"
7DEPENDS = "expat neon" 7DEPENDS = "expat neon"
8 8
9PR = "r0" 9PR = "r2"
10 10
11SRC_URI = "http://ftp.musicbrainz.org/pub/musicbrainz/${PN}-${PV}.tar.gz \ 11SRC_URI = "http://ftp.musicbrainz.org/pub/musicbrainz/${PN}-${PV}.tar.gz \
12 file://fix_build_issue_for_gcc_4.5.0.patch" 12 file://fix_build_issue_for_gcc_4.5.0.patch "
13 13
14SRC_URI[md5sum] = "f4824d0a75bdeeef1e45cc88de7bb58a" 14SRC_URI[md5sum] = "f4824d0a75bdeeef1e45cc88de7bb58a"
15SRC_URI[sha256sum] = "7fd459a9fd05be9faec60a9a21caa9a1e9fda03147d58d8c7c95f33582a738c5" 15SRC_URI[sha256sum] = "7fd459a9fd05be9faec60a9a21caa9a1e9fda03147d58d8c7c95f33582a738c5"
diff --git a/meta/recipes-multimedia/pulseaudio/libcanberra/autoconf_version.patch b/meta/recipes-multimedia/pulseaudio/libcanberra/autoconf_version.patch
deleted file mode 100644
index 73a2ea6e49..0000000000
--- a/meta/recipes-multimedia/pulseaudio/libcanberra/autoconf_version.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1Allow a slightly older autoconf and disable the inbuild libltdl
2
3RP - 16/4/09
4
5Index: libcanberra-0.10/Makefile.am
6===================================================================
7--- libcanberra-0.10.orig/Makefile.am 2009-04-16 14:38:53.000000000 +0100
8+++ libcanberra-0.10/Makefile.am 2009-04-16 14:39:04.000000000 +0100
9@@ -19,7 +19,7 @@
10 dist_doc_DATA = README
11
12 EXTRA_DIST = bootstrap.sh autogen.sh LGPL libcanberra.schemas
13-SUBDIRS = src gtkdoc libltdl doc
14+SUBDIRS = src gtkdoc doc
15
16 MAINTAINERCLEANFILES = README
17 noinst_DATA = README
18Index: libcanberra-0.10/configure.ac
19===================================================================
20--- libcanberra-0.10.orig/configure.ac 2009-04-16 14:32:33.000000000 +0100
21+++ libcanberra-0.10/configure.ac 2009-04-16 14:37:50.000000000 +0100
22@@ -19,7 +19,7 @@
23 # License along with libcanberra. If not, see
24 # <http://www.gnu.org/licenses/>.
25
26-AC_PREREQ(2.62)
27+AC_PREREQ(2.61)
28
29 AC_INIT([libcanberra], 0.10, [mzyvopnaoreen (at) 0pointer (dot) de])
30 AC_CONFIG_SRCDIR([src/common.c])
31@@ -70,7 +70,6 @@
32 AC_PROG_LIBTOOL
33 AC_SUBST(LTDLINCL)
34 AC_SUBST(LIBLTDL)
35-AC_CONFIG_SUBDIRS(libltdl)
36
37 #### Determine build environment ####
38
diff --git a/meta/recipes-multimedia/pulseaudio/libcanberra/nofallbackfix.patch b/meta/recipes-multimedia/pulseaudio/libcanberra/nofallbackfix.patch
deleted file mode 100644
index 89a4fbf9f1..0000000000
--- a/meta/recipes-multimedia/pulseaudio/libcanberra/nofallbackfix.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1Index: libcanberra-0.10/src/sound-theme-spec.c
2===================================================================
3--- libcanberra-0.10.orig/src/sound-theme-spec.c 2009-05-22 17:08:23.000000000 +0100
4+++ libcanberra-0.10/src/sound-theme-spec.c 2009-05-22 17:12:50.000000000 +0100
5@@ -398,9 +398,9 @@
6 if ((ret = load_theme_dir(t, name)) < 0)
7 goto fail;
8
9+ /* The fallback theme may intentionally not exist so ignore failure */
10 if (!t->loaded_fallback_theme)
11- if ((ret = load_theme_dir(t, FALLBACK_THEME)) < 0)
12- goto fail;
13+ load_theme_dir(t, FALLBACK_THEME);
14
15 if (*_t)
16 ca_theme_data_free(*_t);
diff --git a/meta/recipes-multimedia/pulseaudio/libcanberra_0.10.bb b/meta/recipes-multimedia/pulseaudio/libcanberra_0.26.bb
index a94be2076c..0daeb0e6c5 100644
--- a/meta/recipes-multimedia/pulseaudio/libcanberra_0.10.bb
+++ b/meta/recipes-multimedia/pulseaudio/libcanberra_0.26.bb
@@ -2,19 +2,17 @@ SUMMARY = "Implementation of XDG Sound Theme and Name Specifications"
2DESCRIPTION = "Libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops." 2DESCRIPTION = "Libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops."
3LICENSE = "LGPLv2.1" 3LICENSE = "LGPLv2.1"
4LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ 4LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \
5 file://src/canberra.h;endline=24;md5=8dd99ba690687f5816f711d9313c8967" 5 file://src/canberra.h;beginline=7;endline=24;md5=c616c687cf8da540a14f917e0d23ab03"
6 6
7DEPENDS = "gtk+ pulseaudio alsa-lib libtool" 7DEPENDS = "gtk+ pulseaudio alsa-lib libtool"
8PR = "r3" 8PR = "r0"
9 9
10inherit gconf autotools 10inherit gconf autotools
11 11
12SRC_URI = "http://0pointer.de/lennart/projects/libcanberra/libcanberra-${PV}.tar.gz \ 12SRC_URI = "http://0pointer.de/lennart/projects/libcanberra/libcanberra-${PV}.tar.gz"
13 file://nofallbackfix.patch;patch=1 \
14 file://autoconf_version.patch;patch=1"
15 13
16SRC_URI[md5sum] = "2623370bfcecaeecaeb85e5ec445f340" 14SRC_URI[md5sum] = "ee2c66ada7c851a4e7b6eb1682285a24"
17SRC_URI[sha256sum] = "b0e3cb59e605412a52352cf9cf36344b165463d4e65916c95deb73fc51838272" 15SRC_URI[sha256sum] = "4b5d8d2c2835133620adbc53745dd107b6e58b9a2963059e8f457143fee00982"
18 16
19EXTRA_OECONF = " --disable-oss --disable-ltdl-install" 17EXTRA_OECONF = " --disable-oss --disable-ltdl-install"
20 18
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/armv4+v5asm.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/armv4+v5asm.patch
index f07ee672ee..f07ee672ee 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/armv4+v5asm.patch
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/armv4+v5asm.patch
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/autoconf_version.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/autoconf_version.patch
index 80d0003d12..80d0003d12 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/autoconf_version.patch
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/autoconf_version.patch
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/buildfix.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/buildfix.patch
index ea8d769abc..ea8d769abc 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/buildfix.patch
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/buildfix.patch
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/configure_silent_rules.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/configure_silent_rules.patch
index fd5abd5225..fd5abd5225 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/configure_silent_rules.patch
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/configure_silent_rules.patch
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/gcc4-compile-fix.patch
index 2969cbaa5a..2969cbaa5a 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/gcc4-compile-fix.patch
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/gcc4-compile-fix.patch
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/tls_m4.patch b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/tls_m4.patch
index a8292b2e1c..a8292b2e1c 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/tls_m4.patch
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/tls_m4.patch
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/volatiles.04_pulse b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/volatiles.04_pulse
index 5b1998032b..5b1998032b 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.21/volatiles.04_pulse
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.22/volatiles.04_pulse
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.21.bb b/meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.22.bb
index d2c21c47b7..0d2f3286e9 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.21.bb
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.22.bb
@@ -24,5 +24,5 @@ do_compile_prepend() {
24 cp ${STAGING_LIBDIR}/libltdl* ${S}/libltdl 24 cp ${STAGING_LIBDIR}/libltdl* ${S}/libltdl
25} 25}
26 26
27SRC_URI[md5sum] = "76e623c4c72e2258bc8bdeb1599bad74" 27SRC_URI[md5sum] = "ca85ab470669b05e100861654cf5eb3c"
28SRC_URI[sha256sum] = "94e22356ac70ee95388ae58da90d88c6b3186d1938618d21671627ff56cee254" 28SRC_URI[sha256sum] = "c6019324395117a258c048a6db5e9734551cc2c61dc35b46403ff00d64be55f0"
diff --git a/meta/recipes-multimedia/tremor/tremor_20101027.bb b/meta/recipes-multimedia/tremor/tremor_20101121.bb
index c0a24645a4..157b3025eb 100644
--- a/meta/recipes-multimedia/tremor/tremor_20101027.bb
+++ b/meta/recipes-multimedia/tremor/tremor_20101121.bb
@@ -9,7 +9,7 @@ DEPENDS = "libogg"
9SRCDATE = "${PV}" 9SRCDATE = "${PV}"
10PR = "r0" 10PR = "r0"
11 11
12SRC_URI = "svn://svn.xiph.org/trunk;module=Tremor;rev=17572;proto=http" 12SRC_URI = "svn://svn.xiph.org/trunk;module=Tremor;rev=17636;proto=http"
13 13
14S = "${WORKDIR}/Tremor" 14S = "${WORKDIR}/Tremor"
15 15
diff --git a/meta/recipes-qt/meta/meta-toolchain-qte.bb b/meta/recipes-qt/meta/meta-toolchain-qte.bb
new file mode 100644
index 0000000000..da0dda77c9
--- /dev/null
+++ b/meta/recipes-qt/meta/meta-toolchain-qte.bb
@@ -0,0 +1,26 @@
1# Qt Embedded toolchain
2PR = "r5"
3TOOLCHAIN_HOST_TASK = "task-qte-toolchain-host"
4TOOLCHAIN_TARGET_TASK = "task-qte-toolchain-target"
5
6require recipes-core/meta/meta-toolchain.bb
7SDK_SUFFIX = "toolchain-qte"
8
9QT_DIR_NAME = "qtopia"
10
11toolchain_create_sdk_env_script_append() {
12 echo 'export OE_QMAKE_CC=${TARGET_SYS}-gcc' >> $script
13 echo 'export OE_QMAKE_CXX=${TARGET_SYS}-g++' >> $script
14 echo 'export OE_QMAKE_LINK=${TARGET_SYS}-g++' >> $script
15 echo 'export OE_QMAKE_AR=${TARGET_SYS}-ar' >> $script
16 echo 'export OE_QMAKE_LIBDIR_QT=${SDKPATH}/${TARGET_SYS}/${libdir}' >> $script
17 echo 'export OE_QMAKE_INCDIR_QT=${SDKPATH}/${TARGET_SYS}/${includedir}/${QT_DIR_NAME}' >> $script
18 echo 'export OE_QMAKE_MOC=${SDKPATH}/bin/moc4' >> $script
19 echo 'export OE_QMAKE_UIC=${SDKPATH}/bin/uic4' >> $script
20 echo 'export OE_QMAKE_UIC3=${SDKPATH}/bin/uic34' >> $script
21 echo 'export OE_QMAKE_RCC=${SDKPATH}/bin/rcc4' >> $script
22 echo 'export OE_QMAKE_QDBUSCPP2XML=${SDKPATH}/bin/qdbuscpp2xml4' >> $script
23 echo 'export OE_QMAKE_QDBUSXML2CPP=${SDKPATH}/bin/qdbusxml2cpp4' >> $script
24 echo 'export OE_QMAKE_QT_CONFIG=${SDKPATH}/${TARGET_SYS}/${datadir}/${QT_DIR_NAME}/mkspecs/qconfig.pri' >> $script
25 echo 'export QMAKESPEC=${SDKPATH}/${TARGET_SYS}/${datadir}/${QT_DIR_NAME}/mkspecs/linux-g++' >> $script
26}
diff --git a/meta/recipes-qt/qt-apps/fotowall_0.9.bb b/meta/recipes-qt/qt-apps/fotowall_0.9.bb
index 30dca4eebd..c5c751d9ac 100644
--- a/meta/recipes-qt/qt-apps/fotowall_0.9.bb
+++ b/meta/recipes-qt/qt-apps/fotowall_0.9.bb
@@ -7,8 +7,10 @@ LIC_FILES_CHKSUM = "file://GPL_V2;md5=79808397c3355f163c012616125c9e26 \
7 file://main.cpp;beginline=6;endline=11;md5=b569acc2bf8974a3082b58fc53b9d8dc" 7 file://main.cpp;beginline=6;endline=11;md5=b569acc2bf8974a3082b58fc53b9d8dc"
8SECTION = "x11/apps" 8SECTION = "x11/apps"
9 9
10PR = "r1"
11
10DEPENDS = "qt4-x11-free" 12DEPENDS = "qt4-x11-free"
11RDEPENDS = "qt4-x11-free" 13RRECOMMENDS_${PN} += "qt4-plugin-imageformat-gif qt4-plugin-imageformat-jpeg qt4-plugin-imageformat-tiff"
12 14
13SRC_URI = "http://qt-apps.org/CONTENT/content-files/71316-Fotowall-0.9.tar.bz2" 15SRC_URI = "http://qt-apps.org/CONTENT/content-files/71316-Fotowall-0.9.tar.bz2"
14 16
diff --git a/meta/recipes-qt/qt-apps/qmmp_0.4.1.bb b/meta/recipes-qt/qt-apps/qmmp_0.4.1.bb
deleted file mode 100644
index c5afd91ea7..0000000000
--- a/meta/recipes-qt/qt-apps/qmmp_0.4.1.bb
+++ /dev/null
@@ -1,35 +0,0 @@
1DESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library"
2HOMEPAGE = "http://qmmp.ylsoftware.com"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
5SECTION = "multimedia"
6
7PR = "r1"
8
9DEPENDS = "qt4-x11-free taglib"
10RDEPENDS = "qt4-x11-free libmad libvorbis libogg taglib alsa-lib curl"
11
12SRC_URI = "http://qmmp.ylsoftware.com/files/qmmp-0.4.1.tar.bz2"
13
14PARALLEL_MAKE = ""
15
16inherit qmake2 pkgconfig
17
18do_configure_prepend() {
19 # fix qt4 lrelease name
20 sed -i -e 's/lrelease-qt4/lrelease4/' ${S}/qmmp.pro
21
22 # disable the unsupported plugin
23 for plugin in sndfile wavpack ; do
24 sed -i -e "s/$plugin//" ${S}/src/plugins/Input/Input.pro
25 done
26 sed -i -e 's/mms//' ${S}/src/plugins/Transports/Transports.pro
27 sed -i -e 's/srconverter//' ${S}/src/plugins/Effect/Effect.pro
28
29 sed -i -e 's/^CONFIG/#CONFIG/' ${S}/qmmp.pri
30 sed -i -e 's/CONFIG += WITH_ENCA/#CONFIG += WITH_ENCA/' ${S}/qmmp.pri
31}
32
33do_install() {
34 oe_runmake INSTALL_ROOT=${D} install
35}
diff --git a/meta/recipes-qt/qt-apps/qmmp_0.4.3.bb b/meta/recipes-qt/qt-apps/qmmp_0.4.3.bb
new file mode 100644
index 0000000000..b01c616607
--- /dev/null
+++ b/meta/recipes-qt/qt-apps/qmmp_0.4.3.bb
@@ -0,0 +1,46 @@
1DESCRIPTION = "Qmmp (Qt-based Multimedia Player) is an audio-player, written with help of Qt library"
2HOMEPAGE = "http://qmmp.ylsoftware.com"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
5SECTION = "multimedia"
6
7PR = "r0"
8
9DEPENDS = "qt4-x11-free taglib libmad libvorbis libogg alsa-lib"
10RDEPENDS_${PN} += "taglib alsa-lib curl"
11
12SRC_URI = "http://qmmp.ylsoftware.com/files/${PN}-${PV}.tar.bz2"
13
14SRC_URI[md5sum] = "b79ce55ed8aca31a29360ff828ce1881"
15SRC_URI[sha256sum] = "a75c2c676515182ecfbe811cba29ba4ca736912e52fde283db4d03eb116457a4"
16
17PARALLEL_MAKE = ""
18
19inherit qmake2 cmake
20
21export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \
22 -DQT_LRELEASE_EXECUTABLE=${OE_QMAKE_LRELEASE} \
23 -DQT_MOC_EXECUTABLE=${OE_QMAKE_MOC} \
24 -DQT_UIC_EXECUTABLE=${OE_QMAKE_UIC} \
25 -DQT_RCC_EXECUTABLE=${OE_QMAKE_RCC} \
26 -DQT_LIBRARY_DIR=${OE_QMAKE_LIBDIR_QT} \
27 -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \
28 -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \
29 "
30
31FILES_${PN} = "${bindir}/qmmp ${libdir}/*.so* \
32 ${libdir}/qmmp/PlaylistFormats/*.so \
33 ${libdir}/qmmp/Output/libalsa.so \
34 ${libdir}/qmmp/Transports/libhttp.so \
35 ${libdir}/qmmp/Visual/libanalyzer.so \
36 ${datadir}/icons/* \
37 ${datadir}/qmmp/images/* \
38 ${datadir}/applications/qmmp.desktop \
39 "
40
41PACKAGES += "${PN}-plugin-input-mad ${PN}-plugin-input-vorbis"
42
43FILES_${PN}-plugin-input-mad = "${libdir}/qmmp/Input/libmad.so"
44RDEPENDS_${PN}-plugin-input-mad = "libmad"
45FILES_${PN}-plugin-input-vorbis = "${libdir}/qmmp/Input/libvorbis.so"
46RDEPENDS_${PN}-plugin-input-vorbis = "libvorbis libogg"
diff --git a/meta/recipes-qt/qt-apps/quicky_0.4.bb b/meta/recipes-qt/qt-apps/quicky_0.4.bb
index 004e029405..20c04f8db0 100644
--- a/meta/recipes-qt/qt-apps/quicky_0.4.bb
+++ b/meta/recipes-qt/qt-apps/quicky_0.4.bb
@@ -4,8 +4,9 @@ LICENSE = "GPLv2+"
4LIC_FILES_CHKSUM = "file://version.h;endline=19;md5=878bdaff438dab86298301fd1a210e14" 4LIC_FILES_CHKSUM = "file://version.h;endline=19;md5=878bdaff438dab86298301fd1a210e14"
5SECTION = "x11/apps" 5SECTION = "x11/apps"
6 6
7PR = "r1"
8
7DEPENDS = "qt4-x11-free" 9DEPENDS = "qt4-x11-free"
8RDEPENDS = "qt4-x11-free"
9 10
10SRC_URI = "http://qt-apps.org/CONTENT/content-files/80325-quicky-0.4.tar.gz" 11SRC_URI = "http://qt-apps.org/CONTENT/content-files/80325-quicky-0.4.tar.gz"
11 12
diff --git a/meta/recipes-qt/qt4/files/compile.test-lflags.patch b/meta/recipes-qt/qt4/files/compile.test-lflags.patch
new file mode 100644
index 0000000000..e4b256b0ce
--- /dev/null
+++ b/meta/recipes-qt/qt4/files/compile.test-lflags.patch
@@ -0,0 +1,13 @@
1Index: qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test
2===================================================================
3--- qt-everywhere-opensource-src-4.6.3.orig/config.tests/unix/compile.test 2010-06-02 06:03:18.000000000 +0400
4+++ qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test 2010-10-04 17:35:07.587783460 +0400
5@@ -11,7 +11,7 @@
6 EXE=`basename "$6"`
7 DESCRIPTION=$7
8 shift 7
9-LFLAGS=""
10+LFLAGS="$LDFLAGS"
11 INCLUDEPATH=""
12 CXXFLAGS=""
13 MAC_ARCH_CXXFLAGS=""
diff --git a/meta/recipes-qt/qt4/files/configure-lflags.patch b/meta/recipes-qt/qt4/files/configure-lflags.patch
new file mode 100644
index 0000000000..df195494ee
--- /dev/null
+++ b/meta/recipes-qt/qt4/files/configure-lflags.patch
@@ -0,0 +1,13 @@
1Index: qtopia-core-opensource-src-4.3.3/configure
2===================================================================
3--- qtopia-core-opensource-src-4.3.3.orig/configure 2008-01-14 08:53:51.000000000 +0000
4+++ qtopia-core-opensource-src-4.3.3/configure 2008-01-14 08:54:07.000000000 +0000
5@@ -447,7 +447,7 @@
6 # initalize variables
7 #-------------------------------------------------------------------------------
8
9-SYSTEM_VARIABLES="CC CXX CFLAGS CXXFLAGS LDFLAGS"
10+SYSTEM_VARIABLES="CC CXX CFLAGS CXXFLAGS LDFLAGS LFLAGS"
11 for varname in $SYSTEM_VARIABLES; do
12 cmd=`echo \
13 'if [ -n "\$'${varname}'" ]; then
diff --git a/meta/recipes-qt/qt4/files/configure-paths.patch b/meta/recipes-qt/qt4/files/configure-paths.patch
new file mode 100644
index 0000000000..c9259a1159
--- /dev/null
+++ b/meta/recipes-qt/qt4/files/configure-paths.patch
@@ -0,0 +1,21 @@
1Index: qt-everywhere-opensource-src-4.6.3/configure
2===================================================================
3--- qt-everywhere-opensource-src-4.6.3.orig/configure 2011-01-10 15:47:37.100607001 +0000
4+++ qt-everywhere-opensource-src-4.6.3/configure 2011-01-10 15:49:14.576606999 +0000
5@@ -7198,11 +7198,11 @@
6 QMAKE_MOC_SRC = \$\$QT_BUILD_TREE/src/moc
7
8 #local paths that cannot be queried from the QT_INSTALL_* properties while building QTDIR
9-QMAKE_MOC = \$\$QT_BUILD_TREE/bin/moc
10-QMAKE_UIC = \$\$QT_BUILD_TREE/bin/uic
11-QMAKE_UIC3 = \$\$QT_BUILD_TREE/bin/uic3
12-QMAKE_RCC = \$\$QT_BUILD_TREE/bin/rcc
13-QMAKE_QDBUSXML2CPP = \$\$QT_BUILD_TREE/bin/qdbusxml2cpp
14+QMAKE_MOC = \${OE_QMAKE_MOC}
15+QMAKE_UIC = \${OE_QMAKE_UIC}
16+QMAKE_UIC3 = \${OE_QMAKE_UIC3}
17+QMAKE_RCC = \${OE_QMAKE_RCC}
18+QMAKE_QDBUSXML2CPP = \${OE_QMAKE_QDBUSXML2CPP}
19 QMAKE_INCDIR_QT = \$\$QT_BUILD_TREE/include
20 QMAKE_LIBDIR_QT = \$\$QT_BUILD_TREE/lib
21
diff --git a/meta/recipes-qt/qt4/files/qmake-exists-check.patch b/meta/recipes-qt/qt4/files/qmake-exists-check.patch
new file mode 100644
index 0000000000..cc73837e53
--- /dev/null
+++ b/meta/recipes-qt/qt4/files/qmake-exists-check.patch
@@ -0,0 +1,18 @@
1qt4-tools-nativesdk: avoid rebuilding qmake
2
3qt4-tools-nativesdk patch to avoids building qmake in configure if it already exists
4(as it will, since we symlink it in from the native sysroot in do_configure)
5
6Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
7
8--- qt-everywhere-opensource-src-4.6.3.orig/configure 2011-01-10 12:01:56.260607001 +0000
9+++ qt-everywhere-opensource-src-4.6.3/configure 2011-01-10 12:02:20.584607015 +0000
10@@ -4286,7 +4286,7 @@
11 }
12
13 # build qmake
14-if true; then ###[ '!' -f "$outpath/bin/qmake" ];
15+if [ '!' -f "$outpath/bin/qmake" ]; then
16 echo "Creating qmake. Please wait..."
17
18 OLD_QCONFIG_H=
diff --git a/meta/recipes-qt/qt4/files/qte.sh b/meta/recipes-qt/qt4/files/qte.sh
new file mode 100644
index 0000000000..21d6ecbd6a
--- /dev/null
+++ b/meta/recipes-qt/qt4/files/qte.sh
@@ -0,0 +1,7 @@
1#!/bin/sh
2
3if [ -e /dev/input/touchscreen0 ]
4then
5 QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0
6 export QWS_MOUSE_PROTO
7fi
diff --git a/meta/recipes-qt/qt4/files/qthelp-lib-qtclucene.patch b/meta/recipes-qt/qt4/files/qthelp-lib-qtclucene.patch
new file mode 100644
index 0000000000..1d250d8a98
--- /dev/null
+++ b/meta/recipes-qt/qt4/files/qthelp-lib-qtclucene.patch
@@ -0,0 +1,86 @@
1qt-embedded: fix linker error in do_compile
2
3This patch ensures that we link to libQtCLucene where required (i.e. when
4linking to libQtHelp) avoiding a linker error.
5
6Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
7
8Index: qt-everywhere-opensource-src-4.6.3/demos/qtdemo/qtdemo.pro
9===================================================================
10--- qt-everywhere-opensource-src-4.6.3.orig/demos/qtdemo/qtdemo.pro 2011-01-11 16:06:47.382828004 +0000
11+++ qt-everywhere-opensource-src-4.6.3/demos/qtdemo/qtdemo.pro 2011-01-11 16:10:06.906828001 +0000
12@@ -76,3 +76,10 @@
13 sources.files = $$SOURCES $$HEADERS $$FORMS $$RESOURCES qtdemo.pro images xml *.ico *.icns *.rc *.plist
14 sources.path = $$[QT_INSTALL_DEMOS]/qtdemo
15
16+qclucene = QtCLucene$${QT_LIBINFIX}
17+if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
18+ mac:qclucene = $${qclucene}_debug
19+ win32:qclucene = $${qclucene}d
20+}
21+linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene
22+LIBS_PRIVATE += -l$$qclucene
23Index: qt-everywhere-opensource-src-4.6.3/examples/help/contextsensitivehelp/contextsensitivehelp.pro
24===================================================================
25--- qt-everywhere-opensource-src-4.6.3.orig/examples/help/contextsensitivehelp/contextsensitivehelp.pro 2011-01-11 16:05:56.598828002 +0000
26+++ qt-everywhere-opensource-src-4.6.3/examples/help/contextsensitivehelp/contextsensitivehelp.pro 2011-01-11 16:09:57.762828002 +0000
27@@ -18,3 +18,11 @@
28 INSTALLS += target sources
29
30 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
31+
32+qclucene = QtCLucene$${QT_LIBINFIX}
33+if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
34+ mac:qclucene = $${qclucene}_debug
35+ win32:qclucene = $${qclucene}d
36+}
37+linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene
38+LIBS_PRIVATE += -l$$qclucene
39Index: qt-everywhere-opensource-src-4.6.3/tools/assistant/tools/assistant/assistant.pro
40===================================================================
41--- qt-everywhere-opensource-src-4.6.3.orig/tools/assistant/tools/assistant/assistant.pro 2011-01-11 14:56:50.902828001 +0000
42+++ qt-everywhere-opensource-src-4.6.3/tools/assistant/tools/assistant/assistant.pro 2011-01-11 16:09:39.914828003 +0000
43@@ -85,3 +85,11 @@
44 DEFINES += USE_STATIC_SQLITE_PLUGIN
45 }
46 }
47+
48+qclucene = QtCLucene$${QT_LIBINFIX}
49+if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
50+ mac:qclucene = $${qclucene}_debug
51+ win32:qclucene = $${qclucene}d
52+}
53+linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene
54+LIBS_PRIVATE += -l$$qclucene
55Index: qt-everywhere-opensource-src-4.6.3/tools/assistant/tools/qcollectiongenerator/qcollectiongenerator.pro
56===================================================================
57--- qt-everywhere-opensource-src-4.6.3.orig/tools/assistant/tools/qcollectiongenerator/qcollectiongenerator.pro 2011-01-11 14:56:50.918828002 +0000
58+++ qt-everywhere-opensource-src-4.6.3/tools/assistant/tools/qcollectiongenerator/qcollectiongenerator.pro 2011-01-11 16:09:44.538828001 +0000
59@@ -12,3 +12,11 @@
60 main.cpp
61
62 HEADERS += ../shared/helpgenerator.h
63+
64+qclucene = QtCLucene$${QT_LIBINFIX}
65+if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
66+ mac:qclucene = $${qclucene}_debug
67+ win32:qclucene = $${qclucene}d
68+}
69+linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene
70+LIBS_PRIVATE += -l$$qclucene
71Index: qt-everywhere-opensource-src-4.6.3/tools/assistant/tools/qhelpgenerator/qhelpgenerator.pro
72===================================================================
73--- qt-everywhere-opensource-src-4.6.3.orig/tools/assistant/tools/qhelpgenerator/qhelpgenerator.pro 2011-01-11 14:56:50.930828002 +0000
74+++ qt-everywhere-opensource-src-4.6.3/tools/assistant/tools/qhelpgenerator/qhelpgenerator.pro 2011-01-11 16:09:50.274828003 +0000
75@@ -12,3 +12,11 @@
76 main.cpp
77
78 HEADERS += ../shared/helpgenerator.h
79+
80+qclucene = QtCLucene$${QT_LIBINFIX}
81+if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
82+ mac:qclucene = $${qclucene}_debug
83+ win32:qclucene = $${qclucene}d
84+}
85+linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene
86+LIBS_PRIVATE += -l$$qclucene
diff --git a/meta/recipes-qt/qt4/qt-4.6.3.inc b/meta/recipes-qt/qt4/qt-4.6.3.inc
index 155af66b89..ec2c9208d5 100644
--- a/meta/recipes-qt/qt4/qt-4.6.3.inc
+++ b/meta/recipes-qt/qt4/qt-4.6.3.inc
@@ -19,6 +19,9 @@ SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.
19 file://mips-relocate.patch \ 19 file://mips-relocate.patch \
20 " 20 "
21 21
22SRC_URI[md5sum] = "5c69f16d452b0bb3d44bc3c10556c072"
23SRC_URI[sha256sum] = "f4e0ada8d4d516bbb8600a3ee7d9046c9c79e38cd781df9ffc46d8f16acd1768"
24
22S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}" 25S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
23 26
24do_configure_prepend() { 27do_configure_prepend() {
@@ -40,7 +43,7 @@ do_configure_append() {
40} 43}
41 44
42QT_GLFLAGS ?= "" 45QT_GLFLAGS ?= ""
43QT_CONFIG_FLAGS += " -no-rpath -qt3support -silent ${QT_GLFLAGS}" 46QT_CONFIG_FLAGS += " -no-rpath -qt3support -reduce-relocations -silent ${QT_GLFLAGS}"
44 47
45do_compile() { 48do_compile() {
46 # Fixup missing wsegl header in some SGX SDKs 49 # Fixup missing wsegl header in some SGX SDKs
@@ -51,16 +54,3 @@ do_compile() {
51 unset CFLAGS CXXFLAGS 54 unset CFLAGS CXXFLAGS
52 oe_runmake ${EXTRA_ENV} 55 oe_runmake ${EXTRA_ENV}
53} 56}
54
55do_install_append() {
56 install -d ${D}${bindir}
57 for i in rcc uic moc ; do
58 install -m 0755 ${S}/bin/$i ${D}${bindir}/
59 done
60
61 #Append an E to the qtdemo file
62 if [ -n "${QT_LIBINFIX}" ] ; then
63 mv ${D}${bindir}/qtdemo ${D}${bindir}/qtdemo${QT_LIBINFIX}
64 fi
65}
66
diff --git a/meta/recipes-qt/qt4/qt-4.7.1.inc b/meta/recipes-qt/qt4/qt-4.7.1.inc
new file mode 100644
index 0000000000..70ee59697c
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt-4.7.1.inc
@@ -0,0 +1,58 @@
1LICENSE = "LGPLv2.1 | GPLv3"
2LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \
3 file://LICENSE.GPL3;md5=babc5b6b77441da277f5c06b2e547720 \
4 file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354"
5
6FILESPATH =. "${FILE_DIRNAME}/qt-${PV}:"
7
8SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
9 file://0004-no-qmake.patch \
10 file://hack-out-pg2-4.7.0.patch \
11 file://0006-freetype-host-includes.patch \
12 file://0001-Added-Openembedded-crossarch-option.patch \
13 file://g++.conf \
14 file://linux.conf \
15 "
16
17SRC_URI[md5sum] = "6f88d96507c84e9fea5bf3a71ebeb6d7"
18SRC_URI[sha256sum] = "8cb5277c41f824cfc6dcee0e95e0bf23a9ad2c8d18d245105137481d092b124a"
19
20S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
21
22FILES_${QT_BASE_NAME}-tools += "${bindir}/qml"
23
24do_configure_prepend() {
25 for pro in $(find ${S} -name "*.pro") ; do
26 sed -i 's:$$QT_BUILD_TREE/bin/lrelease:${OE_QMAKE_LRELEASE}:g' $pro
27 done
28
29 sed -i s:SEDME:${S}: ${WORKDIR}/linux.conf
30 sed -i \
31 -e /QMAKE_MOC\ /d \
32 -e /QMAKE_UIC\ /d \
33 -e /QMAKE_UIC3\ /d \
34 -e /QMAKE_RCC\ /d \
35 ${S}/configure
36}
37
38do_configure_append() {
39 sed -e '/QMAKE_TARGET /d' -e '/TARGET /d' -i ${S}/translations/Makefile
40}
41
42QT_GLFLAGS ?= ""
43QT_CONFIG_FLAGS += " -xmlpatterns -no-rpath -qt3support -reduce-relocations -silent ${QT_GLFLAGS}"
44
45do_compile() {
46 # Fixup missing wsegl header in some SGX SDKs
47 if ! [ -e ${STAGING_INCDIR}/wsegl.h ] ; then
48 cp src/3rdparty/powervr/wsegl.h src/plugins/gfxdrivers/powervr/QWSWSEGL/
49 fi
50
51 unset CFLAGS CXXFLAGS
52 install -m 0755 ${STAGING_BINDIR_NATIVE}/rcc4 ${S}/bin/rcc
53 install -m 0755 ${STAGING_BINDIR_NATIVE}/moc4 ${S}/bin/moc
54 install -m 0755 ${STAGING_BINDIR_NATIVE}/uic4 ${S}/bin/uic
55 install -m 0755 ${STAGING_BINDIR_NATIVE}/lrelease4 ${S}/bin/lrelease
56
57 oe_runmake ${EXTRA_ENV}
58}
diff --git a/meta/recipes-qt/qt4/qt-4.7.1/0001-Added-Openembedded-crossarch-option.patch b/meta/recipes-qt/qt4/qt-4.7.1/0001-Added-Openembedded-crossarch-option.patch
new file mode 100644
index 0000000000..71a04a59d2
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt-4.7.1/0001-Added-Openembedded-crossarch-option.patch
@@ -0,0 +1,44 @@
1From b1ba119f6a824dc01bd42ee00dba4a1653867b72 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Matthias=20G=C3=BCnther?= <matgnt@gmail.com>
3Date: Wed, 12 May 2010 16:52:45 +0200
4Subject: [PATCH 1/9] Added Openembedded "-crossarch" option
5
6---
7 configure | 7 ++++++-
8 1 files changed, 6 insertions(+), 1 deletions(-)
9
10diff --git a/configure b/configure
11index facd192..9d15136 100755
12--- a/configure
13+++ b/configure
14@@ -954,7 +954,7 @@ while [ "$#" -gt 0 ]; do
15 shift
16 VAL=$1
17 ;;
18- -prefix|-docdir|-headerdir|-plugindir|-importdir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-sdk|-arch|-host-arch|-mysql_config)
19+ -prefix|-docdir|-headerdir|-plugindir|-importdir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-sdk|-arch|-host-arch|-mysql_config|-crossarch)
20 VAR=`echo $1 | sed "s,^-\(.*\),\1,"`
21 shift
22 VAL="$1"
23@@ -1443,6 +1443,9 @@ while [ "$#" -gt 0 ]; do
24 xplatform)
25 XPLATFORM="$VAL"
26 ;;
27+ crossarch)
28+ CROSSARCH="$VAL"
29+ ;;
30 debug-and-release)
31 if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
32 CFG_DEBUG_RELEASE="$VAL"
33@@ -2918,6 +2921,8 @@ elif [ "$PLATFORM_MAC" = "yes" ] || [ -z "$CFG_ARCH" ]; then
34 CFG_ARCH=$CFG_HOST_ARCH
35 fi
36
37+CFG_ARCH="$CROSSARCH"
38+
39 if [ -d "$relpath/src/corelib/arch/$CFG_ARCH" ]; then
40 if [ "$OPT_VERBOSE" = "yes" ]; then
41 echo " '$CFG_ARCH' is supported"
42--
431.7.0.4
44
diff --git a/meta/recipes-qt/qt4/qt-4.7.1/g++.conf b/meta/recipes-qt/qt4/qt-4.7.1/g++.conf
new file mode 100644
index 0000000000..80f925cc5e
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt-4.7.1/g++.conf
@@ -0,0 +1,60 @@
1#
2# qmake configuration for common gcc
3#
4
5QMAKE_CC = $(OE_QMAKE_CC)
6QMAKE_CFLAGS += -pipe $(OE_QMAKE_CFLAGS)
7QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $(OE_QMAKE_CFLAGS)
8QMAKE_CFLAGS_DEPS += -M
9QMAKE_CFLAGS_WARN_ON += -Wall -W
10QMAKE_CFLAGS_WARN_OFF += -w
11QMAKE_CFLAGS_RELEASE +=
12QMAKE_CFLAGS_DEBUG += -g
13QMAKE_CFLAGS_SHLIB += -fPIC
14QMAKE_CFLAGS_STATIC_LIB += -fPIC
15QMAKE_CFLAGS_YACC += -Wno-unused -Wno-parentheses
16QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden
17QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
18QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE}
19
20QMAKE_CXX = $(OE_QMAKE_CXX)
21QMAKE_CXXFLAGS += $$QMAKE_CFLAGS $(OE_QMAKE_CXXFLAGS)
22QMAKE_CXXFLAGS_DEPS += $$QMAKE_CFLAGS_DEPS
23QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON
24QMAKE_CXXFLAGS_WARN_OFF += $$QMAKE_CFLAGS_WARN_OFF
25QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE
26QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
27QMAKE_CXXFLAGS_DEBUG += $$QMAKE_CFLAGS_DEBUG
28QMAKE_CXXFLAGS_SHLIB += $$QMAKE_CFLAGS_SHLIB
29QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB
30QMAKE_CXXFLAGS_YACC += $$QMAKE_CFLAGS_YACC
31QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
32QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
33QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
34
35QMAKE_LINK = $(OE_QMAKE_LINK)
36QMAKE_LINK_SHLIB = $(OE_QMAKE_LINK)
37QMAKE_LINK_C = $(OE_QMAKE_LINK)
38QMAKE_LINK_C_SHLIB = $(OE_QMAKE_LINK)
39QMAKE_LFLAGS += $(OE_QMAKE_LDFLAGS)
40QMAKE_LFLAGS_RELEASE +=
41QMAKE_LFLAGS_DEBUG +=
42QMAKE_LFLAGS_APP +=
43QMAKE_LFLAGS_SHLIB += -shared
44QMAKE_LFLAGS_PLUGIN += $$QMAKE_LFLAGS_SHLIB
45QMAKE_LFLAGS_SONAME += -Wl,-soname,
46QMAKE_LFLAGS_THREAD +=
47QMAKE_LFLAGS_NOUNDEF += -Wl,--no-undefined
48QMAKE_LFLAGS_RPATH = -Wl,-rpath-link,
49
50QMAKE_PCH_OUTPUT_EXT = .gch
51
52# -Bsymbolic-functions (ld) support
53QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions
54QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,
55
56# some linking helper...
57CONFIG += rpath_libdirs
58
59# for the SDK
60isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $(OE_QMAKE_QT_CONFIG)
diff --git a/meta/recipes-qt/qt4/qt-4.7.1/hack-out-pg2-4.7.0.patch b/meta/recipes-qt/qt4/qt-4.7.1/hack-out-pg2-4.7.0.patch
new file mode 100644
index 0000000000..5c588ff0f7
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt-4.7.1/hack-out-pg2-4.7.0.patch
@@ -0,0 +1,19 @@
1Index: qt-everywhere-opensource-src-4.7.0/configure
2===================================================================
3--- qt-everywhere-opensource-src-4.7.0.orig/configure 2010-09-22 15:43:51.191162141 -0400
4+++ qt-everywhere-opensource-src-4.7.0/configure 2010-09-22 15:44:35.179981232 -0400
5@@ -4921,10 +4921,10 @@
6 psql)
7 if [ "$CFG_SQL_psql" != "no" ]; then
8 # Be careful not to use native pg_config when cross building.
9- if [ "$XPLATFORM_MINGW" != "yes" ] && "$WHICH" pg_config >/dev/null 2>&1; then
10- QT_CFLAGS_PSQL=`pg_config --includedir 2>/dev/null`
11- QT_LFLAGS_PSQL=`pg_config --libdir 2>/dev/null`
12- fi
13+# if [ "$XPLATFORM_MINGW" != "yes" ] && "$WHICH" pg_config >/dev/null 2>&1; then
14+# QT_CFLAGS_PSQL=`pg_config --includedir 2>/dev/null`
15+# QT_LFLAGS_PSQL=`pg_config --libdir 2>/dev/null`
16+# fi
17 [ -z "$QT_CFLAGS_PSQL" ] || QT_CFLAGS_PSQL="-I$QT_CFLAGS_PSQL"
18 [ -z "$QT_LFLAGS_PSQL" ] || QT_LFLAGS_PSQL="-L$QT_LFLAGS_PSQL"
19 # But, respect PSQL_LIBS if set
diff --git a/meta/recipes-qt/qt4/qt-4.7.1/linux.conf b/meta/recipes-qt/qt4/qt-4.7.1/linux.conf
new file mode 100644
index 0000000000..a54135513b
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt-4.7.1/linux.conf
@@ -0,0 +1,66 @@
1#
2# qmake configuration for common linux
3#
4
5QMAKE_CFLAGS_THREAD += -D_REENTRANT
6QMAKE_CXXFLAGS_THREAD += $$QMAKE_CFLAGS_THREAD
7
8QMAKE_INCDIR =
9QMAKE_LIBDIR =
10QMAKE_INCDIR_X11 =
11QMAKE_LIBDIR_X11 =
12QMAKE_INCDIR_QT = $(OE_QMAKE_INCDIR_QT)
13QMAKE_LIBDIR_QT = $(OE_QMAKE_LIBDIR_QT)
14QMAKE_INCDIR_OPENGL =
15QMAKE_LIBDIR_OPENGL =
16QMAKE_INCDIR_OPENGL_ES1 = $$QMAKE_INCDIR_OPENGL
17QMAKE_LIBDIR_OPENGL_ES1 = $$QMAKE_LIBDIR_OPENGL
18QMAKE_INCDIR_OPENGL_ES2 = $$QMAKE_INCDIR_OPENGL
19QMAKE_LIBDIR_OPENGL_ES2 = $$QMAKE_LIBDIR_OPENGL
20QMAKE_INCDIR_EGL =
21QMAKE_LIBDIR_EGL =
22QMAKE_INCDIR_OPENVG =
23QMAKE_LIBDIR_OPENVG =
24
25
26QMAKE_LIBS =
27QMAKE_LIBS_DYNLOAD = -ldl
28QMAKE_LIBS_X11 = $(OE_QMAKE_LIBS_X11)
29QMAKE_LIBS_X11SM = $(OE_QMAKE_LIBS_X11SM)
30QMAKE_LIBS_NIS = -lnsl
31QMAKE_LIBS_EGL = -lEGL
32QMAKE_LIBS_OPENGL = -lGLU -lGL
33QMAKE_LIBS_OPENGL_QT = -lGL
34QMAKE_LIBS_OPENGL_ES1 = -lGLES_CM
35QMAKE_LIBS_OPENGL_ES2 = -lGLESv2
36QMAKE_LIBS_OPENVG = -lOpenVG
37QMAKE_LIBS_THREAD = -lpthread
38
39QMAKE_MOC = $(OE_QMAKE_MOC)
40QMAKE_UIC = $(OE_QMAKE_UIC)
41QMAKE_UIC3 = $(OE_QMAKE_UIC3)
42QMAKE_RCC = $(OE_QMAKE_RCC)
43QMAKE_QDBUSCPP2XML = $(OE_QMAKE_QDBUSCPP2XML)
44QMAKE_QDBUSXML2CPP = $(OE_QMAKE_QDBUSXML2CPP)
45
46QMAKE_AR = $(OE_QMAKE_AR) cqs
47QMAKE_OBJCOPY = objcopy
48QMAKE_RANLIB =
49
50QMAKE_TAR = tar -cf
51QMAKE_GZIP = gzip -9f
52
53QMAKE_COPY = cp -f
54QMAKE_COPY_FILE = $(COPY)
55QMAKE_COPY_DIR = $(COPY) -r
56QMAKE_MOVE = mv -f
57QMAKE_DEL_FILE = rm -f
58QMAKE_DEL_DIR = rmdir
59QMAKE_STRIP = $(OE_QMAKE_STRIP)
60QMAKE_STRIPFLAGS_LIB += --strip-unneeded
61QMAKE_CHK_DIR_EXISTS = test -d
62QMAKE_MKDIR = mkdir -p
63QMAKE_INSTALL_FILE = install -m 644 -p
64QMAKE_INSTALL_PROGRAM = install -m 755 -p
65
66include(unix.conf)
diff --git a/meta/recipes-qt/qt4/qt4-embedded.inc b/meta/recipes-qt/qt4/qt4-embedded.inc
new file mode 100644
index 0000000000..2ed1819f6f
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt4-embedded.inc
@@ -0,0 +1,34 @@
1DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is the embedded version."
2SECTION = "libs"
3LICENSE = "LGPLv2.1 | GPLv3"
4PRIORITY = "optional"
5HOMEPAGE = "http://qt.nokia.com"
6DEPENDS += "directfb tslib"
7INC_PR = "r26"
8
9QT_BASE_NAME ?= "qt4-embedded"
10QT_BASE_LIB ?= "libqt-embedded"
11
12# Set necessary variables in the profile
13SRC_URI += "file://qte.sh"
14
15QT_CONFIG_FLAGS += " \
16 -embedded ${QT_ARCH} \
17 -qtlibinfix ${QT_LIBINFIX} \
18 -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb \
19 -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb -qt-mouse-linuxinput \
20 -qt-kbd-tty \
21 -DQT_KEYPAD_NAVIGATION \
22 "
23
24require qt4.inc
25
26do_install_append() {
27 install -d ${D}${sysconfdir}/profile.d/
28 install -m 0755 ${WORKDIR}/qte.sh ${D}${sysconfdir}/profile.d/
29}
30
31FILES_${PN} += " ${sysconfdir}/profile.d/qte.sh"
32
33inherit qt4e
34
diff --git a/meta/recipes-qt/qt4/qt4-embedded_4.6.3.bb b/meta/recipes-qt/qt4/qt4-embedded_4.6.3.bb
new file mode 100644
index 0000000000..dd662aa3d8
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt4-embedded_4.6.3.bb
@@ -0,0 +1,9 @@
1require qt-${PV}.inc
2require qt4-embedded.inc
3
4SRC_URI += "file://qthelp-lib-qtclucene.patch"
5
6PR = "${INC_PR}.1"
7
8QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
9
diff --git a/meta/recipes-qt/qt4/qt4-embedded_4.7.1.bb b/meta/recipes-qt/qt4/qt4-embedded_4.7.1.bb
new file mode 100644
index 0000000000..c3f6713199
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt4-embedded_4.7.1.bb
@@ -0,0 +1,10 @@
1require qt-${PV}.inc
2require qt4-embedded.inc
3
4PR = "${INC_PR}.1"
5
6QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
7
8QT_CONFIG_FLAGS += " \
9 -exceptions \
10"
diff --git a/meta/recipes-qt/qt4/qt4-tools-native.inc b/meta/recipes-qt/qt4/qt4-tools-native.inc
index 6dca218578..0c4d2c7760 100644
--- a/meta/recipes-qt/qt4/qt4-tools-native.inc
+++ b/meta/recipes-qt/qt4/qt4-tools-native.inc
@@ -1,9 +1,16 @@
1DESCRIPTION = "Native tools for Qt/[X11|Mac|Embedded] version 4.x" 1DESCRIPTION = "Native tools for Qt/[X11|Mac|Embedded] version 4.x"
2DEPENDS = "zlib-native dbus-native libsm-native" 2DEPENDS = "zlib-native dbus-native"
3SECTION = "libs" 3SECTION = "libs"
4HOMEPAGE = "http://qt.nokia.com" 4HOMEPAGE = "http://qt.nokia.com"
5PRIORITY = "optional" 5PRIORITY = "optional"
6 6
7LICENSE = "LGPLv2.1 | GPLv3"
8LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \
9 file://LICENSE.GPL3;md5=babc5b6b77441da277f5c06b2e547720 \
10 file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354"
11
12INC_PR = "r11"
13
7inherit native 14inherit native
8 15
9SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \ 16SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
@@ -16,13 +23,14 @@ EXTRA_OECONF = "-prefix ${prefix} \
16 -L ${STAGING_LIBDIR_NATIVE} \ 23 -L ${STAGING_LIBDIR_NATIVE} \
17 -I ${STAGING_INCDIR_NATIVE} \ 24 -I ${STAGING_INCDIR_NATIVE} \
18 -qt-libjpeg -qt-gif -system-zlib \ 25 -qt-libjpeg -qt-gif -system-zlib \
19 -no-libjpeg -no-libpng \ 26 -no-libjpeg -no-libpng -no-libmng -no-libtiff \
20 -no-accessibility \ 27 -no-accessibility \
21 -no-cups \ 28 -no-cups \
22 -no-exceptions \ 29 -no-exceptions \
23 -no-nas-sound \ 30 -no-nas-sound \
24 -no-nis \ 31 -no-nis -no-openssl \
25 -verbose -release -static \ 32 -verbose -release -static \
33 -embedded -no-freetype -no-glib -no-iconv \
26 -qt3support" 34 -qt3support"
27 35
28# yank default -e, otherwise we get the following error: 36# yank default -e, otherwise we get the following error:
@@ -59,7 +67,7 @@ do_install() {
59 for i in moc uic rcc lrelease lupdate; do 67 for i in moc uic rcc lrelease lupdate; do
60 install -m 0755 bin/${i} ${D}${bindir}/${i}4 68 install -m 0755 bin/${i} ${D}${bindir}/${i}4
61 done 69 done
62 70
63 install -d ${D}${datadir}/qt4/ 71 install -d ${D}${datadir}/qt4/
64 cp -PfR mkspecs ${D}${datadir}/qt4/ 72 cp -PfR mkspecs ${D}${datadir}/qt4/
65 ln -sf linux-g++ ${D}${datadir}/qt4/mkspecs/${BUILD_OS}-oe-g++ 73 ln -sf linux-g++ ${D}${datadir}/qt4/mkspecs/${BUILD_OS}-oe-g++
diff --git a/meta/recipes-qt/qt4/qt4-tools-native_4.6.3.bb b/meta/recipes-qt/qt4/qt4-tools-native_4.6.3.bb
index ac66eb3d5a..dae8cd19e3 100644
--- a/meta/recipes-qt/qt4/qt4-tools-native_4.6.3.bb
+++ b/meta/recipes-qt/qt4/qt4-tools-native_4.6.3.bb
@@ -1,11 +1,11 @@
1require qt4-tools-native.inc 1require qt4-tools-native.inc
2 2
3LICENSE = "LGPLv2.1 | GPLv3" 3PR = "${INC_PR}.0"
4LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \
5 file://LICENSE.GPL3;md5=babc5b6b77441da277f5c06b2e547720 \
6 file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354"
7PR = "r2"
8 4
9EXTRA_OECONF += " -no-fast -silent -no-rpath -no-freetype -no-fontconfig" 5EXTRA_OECONF += " -no-fast -silent -no-rpath"
10 6
11TOBUILD := "src/tools/bootstrap ${TOBUILD}" 7TOBUILD := "src/tools/bootstrap ${TOBUILD}"
8
9SRC_URI[md5sum] = "5c69f16d452b0bb3d44bc3c10556c072"
10SRC_URI[sha256sum] = "f4e0ada8d4d516bbb8600a3ee7d9046c9c79e38cd781df9ffc46d8f16acd1768"
11
diff --git a/meta/recipes-qt/qt4/qt4-tools-native_4.7.1.bb b/meta/recipes-qt/qt4/qt4-tools-native_4.7.1.bb
new file mode 100644
index 0000000000..e9de510fea
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt4-tools-native_4.7.1.bb
@@ -0,0 +1,13 @@
1require qt4-tools-native.inc
2
3PR = "${INC_PR}.0"
4
5# Find the g++.conf/linux.conf in the right directory.
6FILESPATHPKG =. "qt-${PV}:"
7
8EXTRA_OECONF += " -no-fast -silent -no-rpath"
9
10TOBUILD := "src/tools/bootstrap ${TOBUILD}"
11
12SRC_URI[md5sum] = "6f88d96507c84e9fea5bf3a71ebeb6d7"
13SRC_URI[sha256sum] = "8cb5277c41f824cfc6dcee0e95e0bf23a9ad2c8d18d245105137481d092b124a"
diff --git a/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc b/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
new file mode 100644
index 0000000000..f273c9fab8
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
@@ -0,0 +1,111 @@
1DESCRIPTION = "SDK tools for Qt/[X11|Mac|Embedded] version 4.x"
2DEPENDS = "zlib-nativesdk dbus-nativesdk libx11-nativesdk qt4-tools-native"
3SECTION = "libs"
4HOMEPAGE = "http://qt.nokia.com"
5PRIORITY = "optional"
6LICENSE = "LGPLv2.1 | GPLv3"
7
8INC_PR = "r3"
9
10FILESPATHPKG =. "qt-${PV}:"
11inherit nativesdk qmake2
12
13SRC_URI = "http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-${PV}.tar.gz \
14 file://configure-lflags.patch \
15 file://compile.test-lflags.patch \
16 file://qt-config.patch \
17 file://qmake-exists-check.patch \
18 file://configure-paths.patch \
19 file://g++.conf \
20 file://linux.conf"
21
22S = "${WORKDIR}/qt-everywhere-opensource-src-${PV}"
23
24LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \
25 file://LICENSE.GPL3;md5=babc5b6b77441da277f5c06b2e547720 \
26 file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354"
27
28# FIXME: make it work with "${STAGING_BINDIR_NATIVE}/pkg-config --cflags dbus-1"
29EXTRA_OECONF = "-prefix ${prefix} \
30 -qt-libjpeg -qt-gif -system-zlib \
31 -no-libjpeg -no-libpng -no-libmng -no-libtiff \
32 -no-accessibility \
33 -no-cups \
34 -no-exceptions \
35 -no-nas-sound \
36 -no-nis -no-openssl \
37 -verbose -release -fast -static \
38 -platform ${TARGET_OS}-oe-g++ \
39 -xplatform ${TARGET_OS}-oe-g++ \
40 -embedded -no-freetype -no-glib -no-iconv \
41 -qt3support \
42 -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include \
43 -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/freetype2 \
44 -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/dbus-1.0 \
45 -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/lib/dbus-1.0/include \
46 -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/c++ \
47 -I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include/c++/${TARGET_SYS} \
48 -L${STAGING_DIR_HOST}${SDKPATHNATIVE}/lib \
49 -L${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/lib"
50
51# yank default -e, otherwise we get the following error:
52# moc_qbuffer.cpp: No such file or directory
53EXTRA_OEMAKE = " "
54
55do_configure() {
56 if [ ! -e bin/qmake ]; then
57 ln -sf ${STAGING_BINDIR_NATIVE}/qmake2 bin/qmake
58 fi
59
60 if [ ! -e mkspecs/${TARGET_OS}-oe-g++ ]; then
61 ln -sf linux-g++ mkspecs/${TARGET_OS}-oe-g++
62 fi
63
64 cp ../g++.conf mkspecs/common
65 cp ../linux.conf mkspecs/common
66
67 (echo o; echo yes) | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}"
68}
69
70TOBUILD = "\
71 src/tools/bootstrap \
72 src/tools/moc \
73 src/corelib \
74 src/sql \
75 src/dbus \
76 src/qt3support \
77 src/xml \
78 src/tools/uic \
79 src/tools/rcc \
80 src/network \
81 src/gui \
82 src/tools/uic3 \
83 tools/linguist/lrelease \
84 tools/linguist/lupdate \
85 tools/qdbus \
86"
87
88do_compile() {
89 for i in ${TOBUILD}; do
90 cd ${S}/$i && oe_runmake CC="${CC}" CXX="${CXX}"
91 done
92}
93
94do_install() {
95 install -d ${D}${bindir}
96 install -m 0755 bin/qmake ${D}${bindir}/qmake2
97 for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do
98 install -m 0755 bin/${i} ${D}${bindir}/${i}4
99 done
100
101 (cd ${D}${bindir}; \
102 ln -s qmake2 qmake; \
103 for i in moc uic uic3 rcc lrelease lupdate qdbuscpp2xml qdbusxml2cpp; do \
104 ln -s ${i}4 ${i}; \
105 done)
106
107 # make a symbolic link to mkspecs for compatibility with Nokia's SDK
108 # and QTCreator
109 (cd ${D}${bindir}/..; ln -s ${TARGET_SYS}/usr/share/qtopia/mkspecs mkspecs;)
110}
111
diff --git a/meta/recipes-qt/qt4/qt4-tools-nativesdk_4.6.3.bb b/meta/recipes-qt/qt4/qt4-tools-nativesdk_4.6.3.bb
new file mode 100644
index 0000000000..d64542b5fe
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt4-tools-nativesdk_4.6.3.bb
@@ -0,0 +1,6 @@
1require qt4-tools-nativesdk.inc
2
3PR = "${INC_PR}.0"
4
5SRC_URI[md5sum] = "5c69f16d452b0bb3d44bc3c10556c072"
6SRC_URI[sha256sum] = "f4e0ada8d4d516bbb8600a3ee7d9046c9c79e38cd781df9ffc46d8f16acd1768"
diff --git a/meta/recipes-qt/qt4/qt4-tools-nativesdk_4.7.1.bb b/meta/recipes-qt/qt4/qt4-tools-nativesdk_4.7.1.bb
new file mode 100644
index 0000000000..091a539271
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt4-tools-nativesdk_4.7.1.bb
@@ -0,0 +1,6 @@
1require qt4-tools-nativesdk.inc
2
3PR = "${INC_PR}.0"
4
5SRC_URI[md5sum] = "6f88d96507c84e9fea5bf3a71ebeb6d7"
6SRC_URI[sha256sum] = "8cb5277c41f824cfc6dcee0e95e0bf23a9ad2c8d18d245105137481d092b124a"
diff --git a/meta/recipes-qt/qt4/qt4-x11-free.inc b/meta/recipes-qt/qt4/qt4-x11-free.inc
index 22eef7c0eb..057a129ecf 100644
--- a/meta/recipes-qt/qt4/qt4-x11-free.inc
+++ b/meta/recipes-qt/qt4/qt4-x11-free.inc
@@ -1,9 +1,13 @@
1require qt4.inc 1require qt4.inc
2 2
3DESCRIPTION = "Qt is a versatile cross-platform application framework -- this is the X11 version."
4HOMEPAGE = "http://qt.nokia.com"
3SECTION = "x11/libs" 5SECTION = "x11/libs"
4PRIORITY = "optional" 6PRIORITY = "optional"
5DEPENDS += "virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor" 7DEPENDS += "virtual/libx11 fontconfig libxft libxext libxrender libxrandr libxcursor"
6 8
9INC_PR = "r21"
10
7QT_GLFLAGS ?= "-no-opengl" 11QT_GLFLAGS ?= "-no-opengl"
8QT_GLFLAGS_qemux86 = "-opengl" 12QT_GLFLAGS_qemux86 = "-opengl"
9QT_GLFLAGS_emenlow = "-opengl" 13QT_GLFLAGS_emenlow = "-opengl"
@@ -11,7 +15,6 @@ QT_GLFLAGS_atom-pc = "-opengl"
11QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}" 15QT_CONFIG_FLAGS += "-no-xinerama -no-xkb ${QT_GLFLAGS}"
12QT_BASE_NAME ?= "qt4" 16QT_BASE_NAME ?= "qt4"
13QT_BASE_LIB ?= "libqt" 17QT_BASE_LIB ?= "libqt"
14QT_DIR_NAME = "qt4"
15QT_LIBINFIX = ""
16 18
17inherit qmake2 19inherit qt4x11
20
diff --git a/meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb b/meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb
index 0a03e9b5a3..8cf5449254 100644
--- a/meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb
+++ b/meta/recipes-qt/qt4/qt4-x11-free_4.6.3.bb
@@ -1,9 +1,6 @@
1require qt-${PV}.inc
1require qt4-x11-free.inc 2require qt4-x11-free.inc
2require qt-4.6.3.inc
3 3
4PR = "r1" 4PR = "${INC_PR}.0"
5 5
6QT_CONFIG_FLAGS += " -xrandr " 6QT_CONFIG_FLAGS += " -xrandr "
7
8SRC_URI[md5sum] = "5c69f16d452b0bb3d44bc3c10556c072"
9SRC_URI[sha256sum] = "f4e0ada8d4d516bbb8600a3ee7d9046c9c79e38cd781df9ffc46d8f16acd1768"
diff --git a/meta/recipes-qt/qt4/qt4-x11-free_4.7.1.bb b/meta/recipes-qt/qt4/qt4-x11-free_4.7.1.bb
new file mode 100644
index 0000000000..75c6314e7f
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt4-x11-free_4.7.1.bb
@@ -0,0 +1,12 @@
1require qt4-x11-free.inc
2require qt-${PV}.inc
3
4PR = "${INC_PR}.1"
5
6QT_CONFIG_FLAGS_append_armv6 = " -no-neon "
7
8QT_CONFIG_FLAGS += " \
9 -no-embedded \
10 -xrandr \
11 -x11"
12
diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc
index 16d5bebd36..de8cb691e3 100644
--- a/meta/recipes-qt/qt4/qt4.inc
+++ b/meta/recipes-qt/qt4/qt4.inc
@@ -1,15 +1,20 @@
1DESCRIPTION = "Qt is a comprehensive cross-platform C++ application framework" 1inherit qmake_base
2HOMEPAGE = "http://qt.nokia.com"
3 2
4DEPENDS += "qt4-tools-native freetype jpeg libpng zlib dbus openssl glib-2.0 gstreamer gst-plugins-base sqlite3" 3DEPENDS += "qt4-tools-native freetype jpeg libpng zlib dbus openssl glib-2.0 gstreamer gst-plugins-base sqlite3"
5 4
6inherit qmake_base 5require qt4_arch.inc
6QT_ARCH := "${@qt_arch(d)}"
7QT_ENDIAN = "${@qt_endian(d)}"
7 8
8QT_CONFIG_FLAGS += "-release -no-cups -no-accessibility -reduce-relocations \ 9QT_DISTRO_FLAGS ?= "-no-accessibility -no-sm"
9 -shared -no-nas-sound -no-sm -no-nis \ 10QT_DISTRO_FLAGS_poky-lsb = "-sm"
11
12QT_CONFIG_FLAGS += "-release -no-cups -reduce-relocations \
13 -shared -no-nas-sound -no-nis \
10 -qt-gif -system-libjpeg -system-libpng -system-zlib \ 14 -qt-gif -system-libjpeg -system-libpng -system-zlib \
11 -no-sql-ibase -no-sql-mysql -no-sql-psql -no-sql-odbc -plugin-sql-sqlite \ 15 -no-sql-ibase -no-sql-mysql -no-sql-psql -no-sql-odbc -plugin-sql-sqlite \
12 -no-pch -dbus -stl -glib -phonon -webkit" 16 -no-pch -qdbus -stl -glib -phonon -webkit \
17 ${QT_DISTRO_FLAGS} "
13 18
14EXTRA_OEMAKE = "-e" 19EXTRA_OEMAKE = "-e"
15 20
@@ -22,7 +27,7 @@ EXTRA_ENV = 'QMAKE="${STAGING_BINDIR_NATIVE}/qmake2 -after \
22export QT_CONF_PATH="${WORKDIR}/qt.conf" 27export QT_CONF_PATH="${WORKDIR}/qt.conf"
23 28
24# Library packages 29# Library packages
25QT_LIB_NAMES = "Qt3Support QtAssistantClient QtCLucene QtCore QtDBus QtDesigner QtDesignerComponents QtGui QtHelp QtNetwork QtOpenGL QtScript QtScriptTools QtSql QtSvg QtTest QtUiTools QtWebKit QtXml QtXmlPatterns phonon QtMultimedia QtOpenVG QtMediaServices" 30QT_LIB_NAMES = "Qt3Support QtAssistantClient QtCLucene QtCore QtDBus QtDesigner QtDesignerComponents QtGui QtHelp QtNetwork QtOpenGL QtScript QtScriptTools QtSql QtSvg QtTest QtUiTools QtWebKit QtXml QtXmlPatterns phonon QtMultimedia QtOpenVG QtMediaServices QtDeclarative"
26 31
27QT_EXTRA_LIBS = "pvrQWSWSEGL" 32QT_EXTRA_LIBS = "pvrQWSWSEGL"
28 33
@@ -33,7 +38,7 @@ python __anonymous () {
33 dev_packages = [] 38 dev_packages = []
34 dbg_packages = [] 39 dbg_packages = []
35 for name in bb.data.getVar("QT_LIB_NAMES", d, 1).split(): 40 for name in bb.data.getVar("QT_LIB_NAMES", d, 1).split():
36 pkg = "${QT_BASE_LIB}" + name.lower().replace("qt", "") + "4" 41 pkg = "${QT_BASE_LIB}" + name.lower().replace("qt", "").replace("_", "-") + "4"
37 # NOTE: the headers for QtAssistantClient are different 42 # NOTE: the headers for QtAssistantClient are different
38 incname = name.replace("QtAssistantClient", "QtAssistant") 43 incname = name.replace("QtAssistantClient", "QtAssistant")
39 bb.data.setVar("FILES_%s" % pkg, "${libdir}/lib%(name)s${QT_LIBINFIX}.so.*" % locals(), d) 44 bb.data.setVar("FILES_%s" % pkg, "${libdir}/lib%(name)s${QT_LIBINFIX}.so.*" % locals(), d)
@@ -51,7 +56,7 @@ python __anonymous () {
51 dbg_packages.append("%s-dbg" % name) 56 dbg_packages.append("%s-dbg" % name)
52 57
53 for name in bb.data.getVar("QT_EXTRA_LIBS", d, 1).split(): 58 for name in bb.data.getVar("QT_EXTRA_LIBS", d, 1).split():
54 pkg = "${QT_BASE_LIB}" + name.lower().replace("qt", "") + "4" 59 pkg = "${QT_BASE_LIB}" + name.lower().replace("qt", "").replace("_", "-") + "4"
55 bb.data.setVar("FILES_%s" % pkg, "${libdir}/lib%(name)s.so.*" % locals(), d) 60 bb.data.setVar("FILES_%s" % pkg, "${libdir}/lib%(name)s.so.*" % locals(), d)
56 bb.data.setVar("FILES_%s-dev" % pkg, """${libdir}/lib%(name)s.prl 61 bb.data.setVar("FILES_%s-dev" % pkg, """${libdir}/lib%(name)s.prl
57 ${libdir}/lib%(name)s.a 62 ${libdir}/lib%(name)s.a
@@ -87,6 +92,8 @@ OTHER_PACKAGES = "\
87 ${QT_BASE_NAME}-makeqpf \ 92 ${QT_BASE_NAME}-makeqpf \
88 ${QT_BASE_NAME}-mkspecs \ 93 ${QT_BASE_NAME}-mkspecs \
89 ${QT_BASE_NAME}-pixeltool \ 94 ${QT_BASE_NAME}-pixeltool \
95 ${QT_BASE_NAME}-qmlviewer \
96 ${QT_BASE_NAME}-xmlpatterns \
90 ${QT_BASE_NAME}-qt3to4" 97 ${QT_BASE_NAME}-qt3to4"
91 98
92PACKAGES += "${LIB_PACKAGES} ${DEV_PACKAGES} ${DBG_PACKAGES} ${OTHER_PACKAGES}" 99PACKAGES += "${LIB_PACKAGES} ${DEV_PACKAGES} ${DBG_PACKAGES} ${OTHER_PACKAGES}"
@@ -106,8 +113,19 @@ RRECOMMENDS_${QT_BASE_NAME}-fonts = " \
106 ${QT_BASE_NAME}-fonts-pfa \ 113 ${QT_BASE_NAME}-fonts-pfa \
107 ${QT_BASE_NAME}-fonts-pfb \ 114 ${QT_BASE_NAME}-fonts-pfb \
108 ${QT_BASE_NAME}-fonts-qpf" 115 ${QT_BASE_NAME}-fonts-qpf"
116RRECOMMENDS_${QT_BASE_NAME}-demos += " \
117 ${QT_BASE_NAME}-fonts \
118 ${QT_BASE_NAME}-examples \
119 ${QT_BASE_NAME}-plugin-sqldriver-sqlite \
120 ${QT_BASE_NAME}-plugin-imageformat-jpeg \
121 ${QT_BASE_NAME}-assistant \
122 ${PN}-doc"
123RRECOMMENDS_${QT_BASE_NAME}-examples += " \
124 ${QT_BASE_NAME}-plugin-sqldriver-sqlite \
125 ${QT_BASE_NAME}-plugin-imageformat-jpeg"
109 126
110FILES_${QT_BASE_NAME}-tools = "${bindir}/uic* ${bindir}/moc ${bindir}/rcc ${bindir}/qttracereplay ${bindir}/qdoc*" 127FILES_${QT_BASE_NAME}-tools = "${bindir}/uic* ${bindir}/moc ${bindir}/rcc ${bindir}/qttracereplay ${bindir}/qdoc*"
128FILES_${QT_BASE_NAME}-tools-dbg = "${bindir}/.debug/uic* ${bindir}/.debug/moc ${bindir}/.debug/rcc ${bindir}/.debug/qttracereplay ${bindir}/.debug/qdoc*"
111FILES_${QT_BASE_NAME}-assistant = "${bindir}/*assistant* ${bindir}/qcollectiongenerator ${bindir}/qhelpconverter ${bindir}/qhelpgenerator" 129FILES_${QT_BASE_NAME}-assistant = "${bindir}/*assistant* ${bindir}/qcollectiongenerator ${bindir}/qhelpconverter ${bindir}/qhelpgenerator"
112FILES_${QT_BASE_NAME}-assistant-dbg = "${bindir}/.debug/*assistant* ${bindir}/.debug/qcollectiongenerator ${bindir}/.debug/qhelpconverter ${bindir}/.debug/qhelpgenerator" 130FILES_${QT_BASE_NAME}-assistant-dbg = "${bindir}/.debug/*assistant* ${bindir}/.debug/qcollectiongenerator ${bindir}/.debug/qhelpconverter ${bindir}/.debug/qhelpgenerator"
113FILES_${QT_BASE_NAME}-common = "${bindir}/qtconfig" 131FILES_${QT_BASE_NAME}-common = "${bindir}/qtconfig"
@@ -119,7 +137,7 @@ FILES_${QT_BASE_NAME}-demos-dbg = "${bindir}/.debug/qtdemo* ${bindir}
119FILES_${QT_BASE_NAME}-designer = "${bindir}/*designer*" 137FILES_${QT_BASE_NAME}-designer = "${bindir}/*designer*"
120FILES_${QT_BASE_NAME}-designer-dbg = "${bindir}/.debug/*designer*" 138FILES_${QT_BASE_NAME}-designer-dbg = "${bindir}/.debug/*designer*"
121FILES_${QT_BASE_NAME}-examples = "${bindir}/${QT_DIR_NAME}/examples/*" 139FILES_${QT_BASE_NAME}-examples = "${bindir}/${QT_DIR_NAME}/examples/*"
122FILES_${QT_BASE_NAME}-examples-dbg = "${bindir}/${QT_DIR_NAME}/examples/.debug ${bindir}/${QT_DIR_NAME}/examples/*/.debug ${bindir}/${QT_DIR_NAME}/examples/*/*/.debug ${bindir}/${QT_DIR_NAME}/examples/*/*/*/.debug ${bindir}/${QT_DIR_NAME}/examples/*/*/*/*/.debug" 140FILES_${QT_BASE_NAME}-examples-dbg = "${bindir}/${QT_DIR_NAME}/examples/.debug ${bindir}/${QT_DIR_NAME}/examples/*/.debug ${bindir}/${QT_DIR_NAME}/examples/*/*/.debug ${bindir}/${QT_DIR_NAME}/examples/*/*/*/.debug ${bindir}/${QT_DIR_NAME}/examples/*/*/*/*/.debug ${bindir}/${QT_DIR_NAME}/examples/declarative/*/*/*/*/*/.debug/* ${bindir}/${QT_DIR_NAME}/examples/declarative/*/*/*/*/.debug/*"
123FILES_${QT_BASE_NAME}-fonts-ttf-vera = "${libdir}/fonts/Vera*.ttf" 141FILES_${QT_BASE_NAME}-fonts-ttf-vera = "${libdir}/fonts/Vera*.ttf"
124FILES_${QT_BASE_NAME}-fonts-ttf-dejavu = "${libdir}/fonts/DejaVu*.ttf" 142FILES_${QT_BASE_NAME}-fonts-ttf-dejavu = "${libdir}/fonts/DejaVu*.ttf"
125FILES_${QT_BASE_NAME}-fonts-pfa = "${libdir}/fonts/*.pfa" 143FILES_${QT_BASE_NAME}-fonts-pfa = "${libdir}/fonts/*.pfa"
@@ -131,28 +149,19 @@ FILES_${QT_BASE_NAME}-pixeltool = "${bindir}/pixeltool"
131FILES_${QT_BASE_NAME}-pixeltool-dbg = "${bindir}/.debug/pixeltool" 149FILES_${QT_BASE_NAME}-pixeltool-dbg = "${bindir}/.debug/pixeltool"
132FILES_${QT_BASE_NAME}-qt3to4 = "${bindir}/qt3to4 ${datadir}/${QT_DIR_NAME}/q3porting.xml" 150FILES_${QT_BASE_NAME}-qt3to4 = "${bindir}/qt3to4 ${datadir}/${QT_DIR_NAME}/q3porting.xml"
133FILES_${QT_BASE_NAME}-qt3to4-dbg = "${bindir}/.debug/qt3to4" 151FILES_${QT_BASE_NAME}-qt3to4-dbg = "${bindir}/.debug/qt3to4"
152FILES_${QT_BASE_NAME}-qmlviewer = "${bindir}/qmlviewer"
153FILES_${QT_BASE_NAME}-qmlviewer-dbg = "${bindir}/.debug/qmlviewer"
134FILES_${QT_BASE_NAME}-makeqpf = "${bindir}/makeqpf" 154FILES_${QT_BASE_NAME}-makeqpf = "${bindir}/makeqpf"
135FILES_${QT_BASE_NAME}-makeqpf-dbg = "${bindir}/.debug/makeqpf" 155FILES_${QT_BASE_NAME}-makeqpf-dbg = "${bindir}/.debug/makeqpf"
136FILES_${QT_BASE_NAME}-mkspecs = "${datadir}/${QT_DIR_NAME}/mkspecs/*" 156FILES_${QT_BASE_NAME}-mkspecs = "${datadir}/${QT_DIR_NAME}/mkspecs/*"
157FILES_${QT_BASE_NAME}-xmlpatterns = "${bindir}/xmlpatterns*"
158FILES_${QT_BASE_NAME}-xmlpatterns-dbg = "${bindir}/.debug/xmlpatterns*"
137 159
138ARM_INSTRUCTION_SET = "arm"
139
140set_arch() {
141 case ${TARGET_ARCH} in
142 arm*) QT_ARCH=arm ;;
143 i*86*) QT_ARCH=i386 ;;
144 mips*) QT_ARCH=mips ;;
145 powerpc*) QT_ARCH=powerpc ;;
146 x86_64*) QT_ARCH=x86_64 ;;
147 esac
148}
149 160
150do_configure() { 161do_configure() {
151 unset QMAKESPEC 162 unset QMAKESPEC
152 unset QTDIR 163 unset QTDIR
153 164
154 set_arch
155
156 if [ ! -e bin/qmake ]; then 165 if [ ! -e bin/qmake ]; then
157 ln -sf ${STAGING_BINDIR_NATIVE}/qmake2 bin/qmake 166 ln -sf ${STAGING_BINDIR_NATIVE}/qmake2 bin/qmake
158 fi 167 fi
@@ -192,30 +201,22 @@ do_configure() {
192 -demosdir ${bindir}/${QT_DIR_NAME}/demos \ 201 -demosdir ${bindir}/${QT_DIR_NAME}/demos \
193 -platform ${TARGET_OS}-oe-g++ \ 202 -platform ${TARGET_OS}-oe-g++ \
194 -xplatform ${TARGET_OS}-oe-g++ \ 203 -xplatform ${TARGET_OS}-oe-g++ \
204 ${QT_ENDIAN} \
195 -crossarch ${QT_ARCH} \ 205 -crossarch ${QT_ARCH} \
196 ${QT_CONFIG_FLAGS} -no-fast \ 206 ${QT_CONFIG_FLAGS} -no-fast \
197 -L${STAGING_LIBDIR} -I${STAGING_INCDIR} \ 207 -L${STAGING_LIBDIR} -I${STAGING_INCDIR} \
198 -I${STAGING_INCDIR}/freetype2 208 -I${STAGING_INCDIR}/freetype2
199} 209}
200 210
201do_compile() {
202 unset CFLAGS CXXFLAGS
203 install -m 0755 ${STAGING_BINDIR_NATIVE}/rcc4 ${S}/bin/rcc
204 install -m 0755 ${STAGING_BINDIR_NATIVE}/moc4 ${S}/bin/moc
205 install -m 0755 ${STAGING_BINDIR_NATIVE}/uic4 ${S}/bin/uic
206
207 oe_runmake ${EXTRA_ENV}
208}
209
210python populate_packages_prepend() { 211python populate_packages_prepend() {
211 translation_dir = bb.data.expand('${datadir}/${QT_DIR_NAME}/translations/', d) 212 translation_dir = bb.data.expand('${datadir}/${QT_DIR_NAME}/translations/', d)
212 translation_name = bb.data.expand('${QT_BASE_NAME}-translation-%s', d) 213 translation_name = bb.data.expand('${QT_BASE_NAME}-translation-%s', d)
213 do_split_packages(d, translation_dir, '^(assistant|designer|linguist|qt|qtconfig|qvfb)_(.*)\.qm$', translation_name, '${PN} translation for %s', extra_depends='' ) 214 do_split_packages(d, translation_dir, '^(assistant|designer|linguist|qt|qtconfig|qvfb)_(.*)\.qm$', translation_name, '${PN} translation for %s', extra_depends='' )
214 215
215 phrasebook_dir = bb.data.expand('${datadir}/${QT_DIR_NAME}/phrasebooks/', d) 216 phrasebook_dir = bb.data.expand('${datadir}/${QT_DIR_NAME}/phrasebooks/', d)
216 phrasebook_name = bb.data.expand('${QT_BASE_NAME}-phrasebook-%s', d) 217 phrasebook_name = bb.data.expand('${QT_BASE_NAME}-phrasebook-%s', d)
217 do_split_packages(d, phrasebook_dir, '^(.*)\.qph$', phrasebook_name, '${PN} phrasebook for %s', extra_depends='' ) 218 do_split_packages(d, phrasebook_dir, '^(.*)\.qph$', phrasebook_name, '${PN} phrasebook for %s', extra_depends='' )
218 219
219 # Package all the plugins and their -dbg version and create a meta package 220 # Package all the plugins and their -dbg version and create a meta package
220 import os 221 import os
221 def qtopia_split(path, name, glob): 222 def qtopia_split(path, name, glob):
@@ -227,7 +228,7 @@ python populate_packages_prepend() {
227 if not os.path.exists("%s%s" % (bb.data.expand('${D}',d), plugin_dir)): 228 if not os.path.exists("%s%s" % (bb.data.expand('${D}',d), plugin_dir)):
228 bb.note("The path does not exist:", bb.data.expand('${D}', d), plugin_dir) 229 bb.note("The path does not exist:", bb.data.expand('${D}', d), plugin_dir)
229 return 230 return
230 231
231 plugin_name = bb.data.expand('${QT_BASE_NAME}-plugin-%s-%%s' % name, d) 232 plugin_name = bb.data.expand('${QT_BASE_NAME}-plugin-%s-%%s' % name, d)
232 dev_packages = [] 233 dev_packages = []
233 dev_hook = lambda file,pkg,b,c,d:dev_packages.append((file,pkg)) 234 dev_hook = lambda file,pkg,b,c,d:dev_packages.append((file,pkg))
@@ -257,6 +258,7 @@ python populate_packages_prepend() {
257 qtopia_split('script', 'script', '^libqtscript(.*)\.so$') 258 qtopia_split('script', 'script', '^libqtscript(.*)\.so$')
258 qtopia_split('styles', 'style', '^libq(.*)\.so$') 259 qtopia_split('styles', 'style', '^libq(.*)\.so$')
259 qtopia_split('phonon_backend','phonon-backend','^libphonon_(.*)\.so$') 260 qtopia_split('phonon_backend','phonon-backend','^libphonon_(.*)\.so$')
261 qtopia_split('bearer', 'bearer', '^libq(.*)bearer\.so$')
260} 262}
261 263
262do_install() { 264do_install() {
@@ -285,7 +287,7 @@ do_install() {
285 -e s#"uic_location=.*$"#"uic_location=${bindir}/uic4"# \ 287 -e s#"uic_location=.*$"#"uic_location=${bindir}/uic4"# \
286 ${D}${libdir}/pkgconfig/*.pc 288 ${D}${libdir}/pkgconfig/*.pc
287 for name in ${QT_LIB_NAMES}; do 289 for name in ${QT_LIB_NAMES}; do
288 sed -i -e /Requires/s#"${name}"#"${name}${QT_LIBINFIX}"#g ${D}${libdir}/pkgconfig/*.pc 290 sed -i -e /Requires/s#"${name}"#"${name}${QT_LIBINFIX}"#g ${D}${libdir}/pkgconfig/*.pc
289 done 291 done
290 292
291 # QT abuses $includedir to point to its headers, which breaks pkgconfig sysroot, so manually fix it up here: 293 # QT abuses $includedir to point to its headers, which breaks pkgconfig sysroot, so manually fix it up here:
@@ -297,4 +299,14 @@ do_install() {
297 299
298 install -d ${D}/${libdir}/fonts 300 install -d ${D}/${libdir}/fonts
299 touch ${D}/${libdir}/fonts/fontdir 301 touch ${D}/${libdir}/fonts/fontdir
302
303 install -d ${D}${bindir}
304 for i in rcc uic moc ; do
305 install -m 0755 ${S}/bin/$i ${D}${bindir}/
306 done
307
308 #Append an E to the qtdemo file
309 if [ -n "${QT_LIBINFIX}" ] ; then
310 mv ${D}${bindir}/qtdemo ${D}${bindir}/qtdemo${QT_LIBINFIX}
311 fi
300} 312}
diff --git a/meta/recipes-qt/qt4/qt4_arch.inc b/meta/recipes-qt/qt4/qt4_arch.inc
new file mode 100644
index 0000000000..7f4be63bca
--- /dev/null
+++ b/meta/recipes-qt/qt4/qt4_arch.inc
@@ -0,0 +1,25 @@
1inherit siteinfo
2
3ARM_INSTRUCTION_SET = "arm"
4
5def qt_arch(d):
6 import bb, re
7 arch = bb.data.getVar('TARGET_ARCH', d, 1)
8 if re.match("^i.86$", arch):
9 arch = "i386"
10 elif re.match("^arm.*", arch):
11 arch = "arm"
12 elif arch == "x86_64":
13 arch = "x86"
14 elif arch == "mipsel":
15 arch = "mips"
16 return arch
17
18def qt_endian(d):
19 import bb
20 if bb.data.getVar('SITEINFO_ENDIANESS', d, True) == "le":
21 return "-little-endian"
22 elif bb.data.getVar('SITEINFO_ENDIANESS', d, True) == "be":
23 return "-big-endian"
24 else:
25 assert False
diff --git a/meta/recipes-qt/tasks/task-poky-qt.bb b/meta/recipes-qt/tasks/task-poky-qt.bb
index e82e277586..da960db5b0 100644
--- a/meta/recipes-qt/tasks/task-poky-qt.bb
+++ b/meta/recipes-qt/tasks/task-poky-qt.bb
@@ -6,7 +6,7 @@ DESCRIPTION = "Qt Tasks for Poky"
6LICENSE = "MIT" 6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ 7LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
8 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 8 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
9PR = "r2" 9PR = "r3"
10 10
11PACKAGES = "\ 11PACKAGES = "\
12 task-poky-qt-demos \ 12 task-poky-qt-demos \
@@ -16,7 +16,7 @@ PACKAGES = "\
16 16
17ALLOW_EMPTY = "1" 17ALLOW_EMPTY = "1"
18 18
19QTDEMOS ?= "quicky ${COMMERCIAL_QT}" 19QTDEMOS ?= "quicky ${COMMERCIAL_QT} fotowall"
20QTDEMOS_disabled = "fotowall" 20#QTDEMOS_disabled = "fotowall"
21 21
22RDEPENDS_task-poky-qt-demos = "${QTDEMOS}" 22RDEPENDS_task-poky-qt-demos = "${QTDEMOS}"
diff --git a/meta/recipes-qt/tasks/task-qte-toolchain-host.bb b/meta/recipes-qt/tasks/task-qte-toolchain-host.bb
new file mode 100644
index 0000000000..2ab6ccf6b9
--- /dev/null
+++ b/meta/recipes-qt/tasks/task-qte-toolchain-host.bb
@@ -0,0 +1,7 @@
1require recipes-core/tasks/task-sdk-host.bb
2
3DESCRIPTION = "Host packages for Qt Embedded SDK"
4LICENSE = "MIT"
5ALLOW_EMPTY = "1"
6
7RDEPENDS_${PN} += "qt4-tools-nativesdk"
diff --git a/meta/recipes-qt/tasks/task-qte-toolchain-target.bb b/meta/recipes-qt/tasks/task-qte-toolchain-target.bb
new file mode 100644
index 0000000000..98fe47794f
--- /dev/null
+++ b/meta/recipes-qt/tasks/task-qte-toolchain-target.bb
@@ -0,0 +1,35 @@
1DESCRIPTION = "Target packages for Qt Embedded SDK"
2LICENSE = "MIT"
3ALLOW_EMPTY = "1"
4
5PR = "r5"
6
7LIC_FILES_CHKSUM = "file://${POKYBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
8 file://${POKYBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
9
10RDEPENDS_${PN} += " \
11 task-poky-standalone-sdk-target \
12 qt4-embedded-mkspecs \
13 libqt-embeddedmultimedia4-dev \
14 libqt-embeddedphonon4-dev \
15 libqt-embedded3support4-dev \
16 libqt-embeddedclucene4-dev \
17 libqt-embeddedcore4-dev \
18 libqt-embeddeddbus4-dev \
19 libqt-embeddeddesignercomponents4-dev \
20 libqt-embeddeddesigner4-dev \
21 libqt-embeddeduitools4-dev \
22 libqt-embeddedgui4-dev \
23 libqt-embeddedhelp4-dev \
24 libqt-embeddednetwork4-dev \
25 libqt-embeddedscript4-dev \
26 libqt-embeddedscripttools4-dev \
27 libqt-embeddedsql4-dev \
28 libqt-embeddedsvg4-dev \
29 libqt-embeddedtest4-dev \
30 libqt-embeddedwebkit4-dev \
31 libqt-embeddedxml4-dev \
32 libsqlite3-dev \
33 expat-dev \
34 "
35
diff --git a/meta/recipes-sato/eds/eds-dbus/old-gdk-api.patch b/meta/recipes-sato/eds/eds-dbus/old-gdk-api.patch
new file mode 100644
index 0000000000..8b600698bf
--- /dev/null
+++ b/meta/recipes-sato/eds/eds-dbus/old-gdk-api.patch
@@ -0,0 +1,17 @@
1Do not disable old API after upgrading gtk+.
2This avoid build error due to defination missing.
3
4Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
5
6Index: git/configure.ac
7===================================================================
8--- git.orig/configure.ac 2010-12-16 10:25:24.000000000 +0800
9+++ git/configure.ac 2010-12-16 10:25:58.000000000 +0800
10@@ -147,7 +147,6 @@
11 AS_COMPILER_FLAGS(WARNING_FLAGS,
12 "-DG_DISABLE_DEPRECATED
13 -DPANGO_DISABLE_DEPRECATED
14- -DGDK_DISABLE_DEPRECATED
15 -DGDK_PIXBUF_DISABLE_DEPRECATED
16 -DG_DISABLE_SINGLE_INCLUDES
17 -DGTK_DISABLE_SINGLE_INCLUDES
diff --git a/meta/recipes-sato/eds/eds-dbus_git.bb b/meta/recipes-sato/eds/eds-dbus_git.bb
index e5b7e15f71..5ab96a7efb 100644
--- a/meta/recipes-sato/eds/eds-dbus_git.bb
+++ b/meta/recipes-sato/eds/eds-dbus_git.bb
@@ -18,6 +18,7 @@ SRC_URI = "git://git.gnome.org/evolution-data-server;protocol=git \
18 file://nossl.patch;patch=1 \ 18 file://nossl.patch;patch=1 \
19 file://optional_imapx_provider.patch;patch=1 \ 19 file://optional_imapx_provider.patch;patch=1 \
20 file://new-contact-fix.patch;patch=1 \ 20 file://new-contact-fix.patch;patch=1 \
21 file://old-gdk-api.patch;patch=1 \
21 file://iconv-detect.h" 22 file://iconv-detect.h"
22 23
23S = "${WORKDIR}/git" 24S = "${WORKDIR}/git"
diff --git a/meta/recipes-sato/eds/eds-tools_bzr.bb b/meta/recipes-sato/eds/eds-tools_bzr.bb
index 0dfcf593c0..9cead16516 100644
--- a/meta/recipes-sato/eds/eds-tools_bzr.bb
+++ b/meta/recipes-sato/eds/eds-tools_bzr.bb
@@ -1,10 +1,10 @@
1LICENSE = "GPLv2" 1LICENSE = "GPLv2"
2SECTION = "x11" 2SECTION = "x11"
3DEPENDS = "dbus-glib eds-dbus" 3DEPENDS = "dbus-glib eds-dbus"
4RDEPENDS = "libedata-book" 4RDEPENDS_${PN} = "libedata-book"
5DESCRIPTION = "Test applications for EDS" 5DESCRIPTION = "Test applications for EDS"
6 6
7PR = "r0" 7PR = "r1"
8 8
9SRC_URI = "bzr://burtonini.com/bzr/eds-tools;proto=http" 9SRC_URI = "bzr://burtonini.com/bzr/eds-tools;proto=http"
10 10
diff --git a/meta/recipes-sato/gaku/gaku_svn.bb b/meta/recipes-sato/gaku/gaku_svn.bb
index a70863e6bc..594b03736b 100644
--- a/meta/recipes-sato/gaku/gaku_svn.bb
+++ b/meta/recipes-sato/gaku/gaku_svn.bb
@@ -4,20 +4,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
4 file://main.c;beginline=1;endline=20;md5=0c02b4ef945956832b37a036b9cc103a" 4 file://main.c;beginline=1;endline=20;md5=0c02b4ef945956832b37a036b9cc103a"
5DEPENDS = "gtk+ gstreamer libowl-av" 5DEPENDS = "gtk+ gstreamer libowl-av"
6 6
7RDEPENDS = "gst-plugins-base-audioconvert \ 7RDEPENDS_${PN} = "gst-plugins-base-audioconvert \
8 gst-plugins-base-audioresample \ 8 gst-plugins-base-audioresample \
9 gst-plugins-base-typefindfunctions \ 9 gst-plugins-base-typefindfunctions \
10 gst-plugins-base-playbin" 10 gst-plugins-base-playbin"
11 11
12RRECOMMENDS = "gst-plugins-good-id3demux \ 12RRECOMMENDS_${PN} = "gst-plugins-good-id3demux \
13 gst-plugins-base-vorbis \ 13 gst-plugins-base-vorbis \
14 gst-plugins-base-alsa \ 14 gst-plugins-base-alsa \
15 gst-plugins-base-ogg \ 15 gst-plugins-base-ogg \
16 ${COMMERCIAL_AUDIO_PLUGINS}" 16 ${COMMERCIAL_AUDIO_PLUGINS}"
17 17
18PV = "0.0+svnr${SRCREV}" 18PV = "0.0+svnr${SRCPV}"
19 19
20PR = "r3" 20PR = "r4"
21 21
22SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${PN};proto=http" 22SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${PN};proto=http"
23 23
diff --git a/meta/recipes-sato/gtk-engines/gtk-sato-engine_svn.bb b/meta/recipes-sato/gtk-engines/gtk-sato-engine_svn.bb
index a7ee6c6e43..3c7f1b5429 100644
--- a/meta/recipes-sato/gtk-engines/gtk-sato-engine_svn.bb
+++ b/meta/recipes-sato/gtk-engines/gtk-sato-engine_svn.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
4 file://src/sato-utils.h;endline=24;md5=708f28cfe7fe028d497aaf4389b80b62 \ 4 file://src/sato-utils.h;endline=24;md5=708f28cfe7fe028d497aaf4389b80b62 \
5 file://src/sato-main.c;endline=24;md5=b5e5dddebca570275becb51b526e4c5a" 5 file://src/sato-main.c;endline=24;md5=b5e5dddebca570275becb51b526e4c5a"
6 6
7PV = "0.3.2+svnr${SRCREV}" 7PV = "0.3.2+svnr${SRCPV}"
8PR = "r0" 8PR = "r0"
9 9
10SRC_URI = "svn://svn.o-hand.com/repos/sato/trunk;module=gtk-engine;proto=http" 10SRC_URI = "svn://svn.o-hand.com/repos/sato/trunk;module=gtk-engine;proto=http"
diff --git a/meta/recipes-sato/images/poky-image-sato-dev.bb b/meta/recipes-sato/images/poky-image-sato-dev.bb
new file mode 100644
index 0000000000..429095e19e
--- /dev/null
+++ b/meta/recipes-sato/images/poky-image-sato-dev.bb
@@ -0,0 +1,9 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd.
3#
4
5IMAGE_FEATURES += "apps-console-core ${SATO_IMAGE_FEATURES} dev-pkgs"
6
7LICENSE = "MIT"
8
9inherit poky-image
diff --git a/meta/recipes-sato/images/poky-image-sato-sdk-directdisk.bb b/meta/recipes-sato/images/poky-image-sato-sdk-directdisk.bb
new file mode 100644
index 0000000000..b69780fa03
--- /dev/null
+++ b/meta/recipes-sato/images/poky-image-sato-sdk-directdisk.bb
@@ -0,0 +1,9 @@
1require recipes-core/images/poky-image-directdisk.inc
2
3DESCRIPTION = "Sato SDK Direct Disk Image"
4
5LICENSE = "MIT"
6
7ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-sato-sdk-${MACHINE}.ext3"
8
9do_bootdirectdisk[depends] += "poky-image-sato-sdk:do_rootfs"
diff --git a/meta/recipes-sato/images/poky-image-sato-sdk-live.bb b/meta/recipes-sato/images/poky-image-sato-sdk-live.bb
new file mode 100644
index 0000000000..b5e786e983
--- /dev/null
+++ b/meta/recipes-sato/images/poky-image-sato-sdk-live.bb
@@ -0,0 +1,11 @@
1DESCRIPTION = "Bootable Live Sato SDK Image"
2
3require recipes-core/images/poky-image-live.inc
4
5LABELS += "boot install"
6
7ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-sato-sdk-${MACHINE}.ext3"
8
9LICENSE = "MIT"
10
11do_bootimg[depends] += "poky-image-sato-sdk:do_rootfs"
diff --git a/meta/recipes-sato/images/poky-image-sdk.bb b/meta/recipes-sato/images/poky-image-sato-sdk.bb
index 9f8eef9a52..9f8eef9a52 100644
--- a/meta/recipes-sato/images/poky-image-sdk.bb
+++ b/meta/recipes-sato/images/poky-image-sato-sdk.bb
diff --git a/meta/recipes-sato/images/poky-image-sdk-directdisk.bb b/meta/recipes-sato/images/poky-image-sdk-directdisk.bb
deleted file mode 100644
index 17dcdc5f03..0000000000
--- a/meta/recipes-sato/images/poky-image-sdk-directdisk.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1require recipes-core/images/poky-image-directdisk.inc
2
3DESCRIPTION = "SDK Direct Disk Image"
4
5LICENSE = "MIT"
6
7ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-sdk-${MACHINE}.ext3"
8
9do_bootdirectdisk[depends] += "poky-image-sdk:do_rootfs"
diff --git a/meta/recipes-sato/images/poky-image-sdk-live.bb b/meta/recipes-sato/images/poky-image-sdk-live.bb
deleted file mode 100644
index b96cd925ac..0000000000
--- a/meta/recipes-sato/images/poky-image-sdk-live.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1DESCRIPTION = "Bootable Live SDK Image"
2
3require recipes-core/images/poky-image-live.inc
4
5LABELS += "boot install"
6
7ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-sdk-${MACHINE}.ext3"
8
9LICENSE = "MIT"
10
11do_bootimg[depends] += "poky-image-sdk:do_rootfs"
diff --git a/meta/recipes-sato/leafpad/leafpad_0.8.17.bb b/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb
index 6291b95eef..5024e7cf4a 100644
--- a/meta/recipes-sato/leafpad/leafpad_0.8.17.bb
+++ b/meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb
@@ -12,8 +12,8 @@ DEPENDS_append_poky = " libowl"
12SRC_URI = "http://savannah.nongnu.org/download/${PN}/${PN}-${PV}.tar.gz \ 12SRC_URI = "http://savannah.nongnu.org/download/${PN}/${PN}-${PV}.tar.gz \
13 file://leafpad.desktop" 13 file://leafpad.desktop"
14 14
15SRC_URI[md5sum] = "d39acdf4d31de309d484511bdc9f5924" 15SRC_URI[md5sum] = "254a72fc67505e3aa52884c729cd7b97"
16SRC_URI[sha256sum] = "8df8de7aaea26148225b6120631b4fe6b89d36d2b52962e7c9cc0ce07bfdbd4c" 16SRC_URI[sha256sum] = "959d22ae07f22803bc66ff40d373a854532a6e4732680bf8a96a3fbcb9f80a2c"
17PR = "r0" 17PR = "r0"
18 18
19SRC_URI_append_poky += " file://owl-menu.patch;apply=yes " 19SRC_URI_append_poky += " file://owl-menu.patch;apply=yes "
diff --git a/meta/recipes-sato/libowl/libowl_svn.bb b/meta/recipes-sato/libowl/libowl_svn.bb
index 31a142c930..74d0d77981 100644
--- a/meta/recipes-sato/libowl/libowl_svn.bb
+++ b/meta/recipes-sato/libowl/libowl_svn.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
10 10
11SECTION = "libs" 11SECTION = "libs"
12DEPENDS = "gtk+" 12DEPENDS = "gtk+"
13PV = "0.0+svnr${SRCREV}" 13PV = "0.0+svnr${SRCPV}"
14PR = "r6" 14PR = "r6"
15 15
16SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${PN};proto=http" 16SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${PN};proto=http"
diff --git a/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_svn.bb b/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_git.bb
index af748f14ff..9f4e4d3e01 100644
--- a/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_svn.bb
+++ b/meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_git.bb
@@ -7,13 +7,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
7 file://appearance/mb-appearance.c;endline=25;md5=ea92333cf8a6802639d62d874c114a28" 7 file://appearance/mb-appearance.c;endline=25;md5=ea92333cf8a6802639d62d874c114a28"
8 8
9DEPENDS = "gconf gtk+" 9DEPENDS = "gconf gtk+"
10RDEPENDS = "settings-daemon" 10RDEPENDS_${PN} = "settings-daemon"
11 11
12PV = "0.0+svnr${SRCREV}" 12PV = "0.0+git${SRCPV}"
13PR = "r0"
13 14
14S = "${WORKDIR}/${PN}" 15S = "${WORKDIR}/git"
15 16
16SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ 17SRC_URI = "git://git.pokylinux.org/${PN};protocol=git \
17 file://no-handed.patch;patch=1;pnum=0" 18 file://no-handed.patch;patch=1;pnum=0"
18 19
19inherit autotools pkgconfig 20inherit autotools pkgconfig
diff --git a/meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_svn.bb b/meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_svn.bb
index bdae33d5a3..617fb6dbe0 100644
--- a/meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_svn.bb
+++ b/meta/recipes-sato/matchbox-desktop-sato/matchbox-desktop-sato_svn.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
8SECTION = "x11" 8SECTION = "x11"
9DEPENDS = "" 9DEPENDS = ""
10CONFLICTS = "matchbox-common" 10CONFLICTS = "matchbox-common"
11PV = "0.0+svnr${SRCREV}" 11PV = "0.0+svnr${SRCPV}"
12PR = "r0" 12PR = "r0"
13 13
14SRC_URI = "svn://svn.o-hand.com/repos/sato/trunk;module=desktop-folders;proto=http" 14SRC_URI = "svn://svn.o-hand.com/repos/sato/trunk;module=desktop-folders;proto=http"
diff --git a/meta/recipes-sato/matchbox-desktop/files/dso_linking_change_build_fix.patch b/meta/recipes-sato/matchbox-desktop/files/dso_linking_change_build_fix.patch
new file mode 100644
index 0000000000..54f3670e9b
--- /dev/null
+++ b/meta/recipes-sato/matchbox-desktop/files/dso_linking_change_build_fix.patch
@@ -0,0 +1,26 @@
1after gcc linking has changed, all the libraries must be explicitely specified to for linking.
2This patch avoids this linking error:
3
4| make[2]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/matchbox-desktop-2.0+svnr2096-r0/matchbox-desktop-2/src'^M
5| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -Wall -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o matchbox-desktop main.o taku-category-bar.o desktop.o ../libtaku/libtaku.a -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -ldbus-1 -lpthread -lrt -lstartup-notification-1 ../libtaku/libinotify.a^M
6| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: F^A: invalid DSO for symbol `XFree' definition^M
7| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so.6: could not read symbols: Bad value^M
8| collect2: ld returned 1 exit status^M
9| make[2]: *** [matchbox-desktop] Error 1
10
11Nitin A Kamble <nitin.a.kamble@intel.com>
12Date: 2011/01/11
13
14Index: matchbox-desktop-2/configure.ac
15===================================================================
16--- matchbox-desktop-2.orig/configure.ac
17+++ matchbox-desktop-2/configure.ac
18@@ -14,7 +14,7 @@ if test x$inotify_support = xyes; then
19 AC_DEFINE(WITH_INOTIFY, [1], [If inotify is enabled])
20 fi
21
22-PKG_CHECK_MODULES(GTK, gtk+-2.0)
23+PKG_CHECK_MODULES(GTK, [gtk+-2.0 x11])
24
25 AC_ARG_ENABLE(startup_notification,
26 AC_HELP_STRING([--disable-startup-notification], [disable startup notification support]),
diff --git a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.0.bb b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.0.bb
index 83d4d0b3fd..2943e4d0ab 100644
--- a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.0.bb
+++ b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_2.0.bb
@@ -2,9 +2,10 @@ DESCRIPTION = "Matchbox Window Manager Desktop"
2LICENSE = "GPL" 2LICENSE = "GPL"
3DEPENDS = "gtk+ startup-notification" 3DEPENDS = "gtk+ startup-notification"
4SECTION = "x11/wm" 4SECTION = "x11/wm"
5PR = "r1" 5PR = "r2"
6 6
7SRC_URI = "http://projects.o-hand.com/matchbox/sources/matchbox-desktop/2.0/matchbox-desktop-${PV}.tar.bz2" 7SRC_URI = "http://projects.o-hand.com/matchbox/sources/matchbox-desktop/2.0/matchbox-desktop-${PV}.tar.bz2 \
8 file://dso_linking_change_build_fix.patch"
8 9
9EXTRA_OECONF = "--enable-startup-notification" 10EXTRA_OECONF = "--enable-startup-notification"
10 11
diff --git a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_svn.bb b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_git.bb
index 324c81ff27..09f79138ca 100644
--- a/meta/recipes-sato/matchbox-desktop/matchbox-desktop_svn.bb
+++ b/meta/recipes-sato/matchbox-desktop/matchbox-desktop_git.bb
@@ -10,13 +10,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
10 10
11DEPENDS = "gtk+ startup-notification dbus" 11DEPENDS = "gtk+ startup-notification dbus"
12SECTION = "x11/wm" 12SECTION = "x11/wm"
13PV = "2.0+svnr${SRCREV}" 13PV = "2.0+git${SRCPV}"
14PR = "r0" 14PR = "r0"
15 15
16SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN}-2;proto=http" 16SRC_URI = "git://git.pokylinux.org/${PN}-2;protocol=git \
17 file://dso_linking_change_build_fix.patch"
17 18
18EXTRA_OECONF = "--enable-startup-notification --with-dbus" 19EXTRA_OECONF = "--enable-startup-notification --with-dbus"
19 20
20S = "${WORKDIR}/${PN}-2" 21S = "${WORKDIR}/git"
21 22
22inherit autotools pkgconfig 23inherit autotools pkgconfig
diff --git a/meta/recipes-sato/matchbox-keyboard/files/single-instance.patch b/meta/recipes-sato/matchbox-keyboard/files/single-instance.patch
new file mode 100644
index 0000000000..d0adc47f75
--- /dev/null
+++ b/meta/recipes-sato/matchbox-keyboard/files/single-instance.patch
@@ -0,0 +1,22 @@
1Multiple matchbox-keyboard instances would occupy whole screen and cause X
2window segfault(Bug 509). Making matchbox-keyboard singleton is one work
3around.
4
5This patch allow only one instance of matchbox-keyboard based on some mechanism
6in matchbox-desktop. In future, an applet and GTK-IM modules in
7matchbox-keyboard can be used to automatically map/unmap the virtual keyboard
8on demand.
9
10Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
11
12
13Index: matchbox-keyboard/matchbox-keyboard.desktop
14===================================================================
15--- matchbox-keyboard.orig/matchbox-keyboard.desktop 2010-12-22 20:41:40.000000000 +0800
16+++ matchbox-keyboard/matchbox-keyboard.desktop 2010-12-22 20:42:12.000000000 +0800
17@@ -6,3 +6,5 @@
18 Icon=matchbox-keyboard.png
19 Categories=Panel;Utility;MB
20 X-MB-INPUT-MECHANSIM=True
21+X-MB-SingleInstance=true
22+StartupNotify=true
diff --git a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_svn.bb b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb
index 0425fec78a..245f999335 100644
--- a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_svn.bb
+++ b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb
@@ -8,16 +8,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
8 file://applet/applet.c;endline=20;md5=e9201b3efa0a81a160b88d6feb5cf75b" 8 file://applet/applet.c;endline=20;md5=e9201b3efa0a81a160b88d6feb5cf75b"
9 9
10DEPENDS = "libfakekey expat libxft gtk+ matchbox-panel-2" 10DEPENDS = "libfakekey expat libxft gtk+ matchbox-panel-2"
11RDEPENDS = "formfactor dbus-wait" 11RDEPENDS_${PN} = "formfactor dbus-wait"
12SECTION = "x11" 12SECTION = "x11"
13PV = "0.0+svnr${SRCREV}" 13PV = "0.0+git${SRCPV}"
14PR = "r4" 14PR = "r0"
15 15
16SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ 16SRC_URI = "git://git.pokylinux.org/${PN};protocol=git \
17 file://configure_fix.patch;patch=1;maxrev=1819 \ 17 file://configure_fix.patch;patch=1;maxrev=1819 \
18 file://single-instance.patch;patch=1 \
18 file://80matchboxkeyboard.shbg" 19 file://80matchboxkeyboard.shbg"
19 20
20S = "${WORKDIR}/${PN}" 21S = "${WORKDIR}/git"
21 22
22inherit autotools pkgconfig gettext 23inherit autotools pkgconfig gettext
23 24
diff --git a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_svn.bb b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_git.bb
index 8f5ccc84f7..256b5a22da 100644
--- a/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_svn.bb
+++ b/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_git.bb
@@ -12,21 +12,21 @@ DEPENDS = "gtk+ startup-notification dbus dbus-glib"
12DEPENDS += " ${@base_contains("MACHINE_FEATURES", "acpi", "libacpi", "",d)}" 12DEPENDS += " ${@base_contains("MACHINE_FEATURES", "acpi", "libacpi", "",d)}"
13DEPENDS += " ${@base_contains("MACHINE_FEATURES", "apm", "apmd", "",d)}" 13DEPENDS += " ${@base_contains("MACHINE_FEATURES", "apm", "apmd", "",d)}"
14 14
15PV = "0.0+svnr${SRCREV}" 15PV = "0.0+git${SRCPV}"
16PR = "r7" 16PR = "r0"
17 17
18RPROVIDES_${PN} = "matchbox-panel" 18RPROVIDES_${PN} = "matchbox-panel"
19RREPLACES_${PN} = "matchbox-panel" 19RREPLACES_${PN} = "matchbox-panel"
20RCONFLICTS_${PN} = "matchbox-panel" 20RCONFLICTS_${PN} = "matchbox-panel"
21 21
22SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ 22SRC_URI = "git://git.pokylinux.org/${PN};protocol=git \
23 file://startup_fix.diff;patch=1" 23 file://startup_fix.diff;patch=1"
24 24
25EXTRA_OECONF = "--enable-startup-notification --enable-dbus" 25EXTRA_OECONF = "--enable-startup-notification --enable-dbus"
26EXTRA_OECONF += " ${@base_contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}" 26EXTRA_OECONF += " ${@base_contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}"
27EXTRA_OECONF += " ${@base_contains("MACHINE_FEATURES", "apm", "--with-battery=apm", "",d)}" 27EXTRA_OECONF += " ${@base_contains("MACHINE_FEATURES", "apm", "--with-battery=apm", "",d)}"
28 28
29S = "${WORKDIR}/${PN}" 29S = "${WORKDIR}/git"
30 30
31FILES_${PN} += "${libdir}/matchbox-panel/*.so \ 31FILES_${PN} += "${libdir}/matchbox-panel/*.so \
32 ${datadir}/matchbox-panel/brightness/*.png \ 32 ${datadir}/matchbox-panel/brightness/*.png \
diff --git a/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb b/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb
index 96d644c3c9..a4abea4b8b 100644
--- a/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb
+++ b/meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb
@@ -6,8 +6,8 @@ LICENSE = "GPL"
6LIC_FILES_CHKSUM = "file://session;endline=3;md5=f8a5c5b9c279e52dc094d10e11c2be63" 6LIC_FILES_CHKSUM = "file://session;endline=3;md5=f8a5c5b9c279e52dc094d10e11c2be63"
7 7
8SECTION = "x11" 8SECTION = "x11"
9RDEPENDS = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato initscripts matchbox-session" 9RDEPENDS_${PN} = "formfactor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato initscripts matchbox-session"
10PR = "r27" 10PR = "r28"
11 11
12# This package is architecture specific because the session script is modified 12# This package is architecture specific because the session script is modified
13# based on the machine architecture. 13# based on the machine architecture.
diff --git a/meta/recipes-sato/matchbox-stroke/files/dso_linking_change_build_fix.patch b/meta/recipes-sato/matchbox-stroke/files/dso_linking_change_build_fix.patch
new file mode 100644
index 0000000000..dd45341190
--- /dev/null
+++ b/meta/recipes-sato/matchbox-stroke/files/dso_linking_change_build_fix.patch
@@ -0,0 +1,36 @@
1after gcc linking has changed, all the libraries must be explicitely specified
2This patch avoids these linking errors:
3
4| make[1]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/matchbox-stroke-0.0+svnr1820-r0/matchbox-stroke'^M
5| Making all in src^M
6| make[2]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/matchbox-stroke-0.0+svnr1820-r0/matchbox-stroke/src'^M
7| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o matchbox-stroke matchbox-stroke.o matchbox-stroke-ui.o matchbox-stroke-recog.o matchbox-stroke-mode.o matchbox-stroke-action.o config-parser.o util-hash.o util.o -lXft -lX11 -lXtst -lfakekey -lexpat -lm^M
8| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: u: invalid DSO for symbol `XRenderFindVisualFormat' definition^M
9| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXrender.so.1: could not read symbols: Bad value^M
10| collect2: ld returned 1 exit status^M
11| make[2]: *** [matchbox-stroke] Error 1
12
13Nitin A Kamble <nitin.a.kamble@intel.com>
14Date: 2011/01/11
15
16
17Index: matchbox-stroke/configure.ac
18===================================================================
19--- matchbox-stroke.orig/configure.ac
20+++ matchbox-stroke/configure.ac
21@@ -38,7 +38,7 @@ AC_ARG_WITH(expat-lib,
22 expat_lib=$withval, expat_lib=yes)
23
24
25-PKG_CHECK_MODULES(MBSTROKE, xft libfakekey,,
26+PKG_CHECK_MODULES(MBSTROKE, xft libfakekey xrender,,
27 AC_MSG_ERROR([*** Required Librarys not found ***]))
28
29 dnl ------ Expat ------------------------------------------------------------
30@@ -160,4 +160,4 @@ echo "
31 compiler: ${CC}
32
33 Building with Debug: ${enable_debug}
34-"
35\ No newline at end of file
36+"
diff --git a/meta/recipes-sato/matchbox-stroke/files/single-instance.patch b/meta/recipes-sato/matchbox-stroke/files/single-instance.patch
new file mode 100644
index 0000000000..f4fec079b5
--- /dev/null
+++ b/meta/recipes-sato/matchbox-stroke/files/single-instance.patch
@@ -0,0 +1,19 @@
1Multiple matchbox-stroke instances would occupy whole screen and cause end user
2confusing. Making matchbox-stroke singleton is one work around.
3
4This patch allow only one instance of matchbox-stroke based on some mechanism
5in matchbox-desktop.
6
7Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
8
9
10Index: matchbox-stroke/matchbox-stroke.desktop
11===================================================================
12--- matchbox-stroke.orig/matchbox-stroke.desktop 2010-07-10 10:23:26.000000000 +0800
13+++ matchbox-stroke/matchbox-stroke.desktop 2010-12-22 20:59:26.000000000 +0800
14@@ -6,3 +6,5 @@
15 Icon=matchbox-stroke.png
16 Categories=Panel;Utility;MB
17 X-MB-INPUT-MECHANSIM=True
18+X-MB-SingleInstance=true
19+StartupNotify=true
diff --git a/meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb b/meta/recipes-sato/matchbox-stroke/matchbox-stroke_git.bb
index 1e25369e37..8077a56e1c 100644
--- a/meta/recipes-sato/matchbox-stroke/matchbox-stroke_svn.bb
+++ b/meta/recipes-sato/matchbox-stroke/matchbox-stroke_git.bb
@@ -7,12 +7,15 @@ LIC_FILES_CHKSUM = "file://src/matchbox-stroke.h;endline=12;md5=8ed5c5bbec2321fb
7 7
8DEPENDS = "libfakekey expat libxft" 8DEPENDS = "libfakekey expat libxft"
9SECTION = "x11/wm" 9SECTION = "x11/wm"
10PV = "0.0+svnr${SRCREV}" 10PV = "0.0+git${SRCPV}"
11PR = "r0"
11 12
12SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ 13SRC_URI = "git://git.pokylinux.org/${PN};protocol=git \
13 file://configure_fix.patch;patch=1;maxrev=1819 " 14 file://single-instance.patch;patch=1 \
15 file://configure_fix.patch;patch=1;maxrev=1819 \
16 file://dso_linking_change_build_fix.patch "
14 17
15S = "${WORKDIR}/${PN}" 18S = "${WORKDIR}/git"
16 19
17inherit autotools pkgconfig gettext 20inherit autotools pkgconfig gettext
18 21
diff --git a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_svn.bb b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb
index 169223f84e..c26c33861f 100644
--- a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_svn.bb
+++ b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb
@@ -8,11 +8,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
8 8
9DEPENDS = "gtk+ vte" 9DEPENDS = "gtk+ vte"
10SECTION = "x11/utils" 10SECTION = "x11/utils"
11PV = "0.0+svnr${SRCREV}" 11PV = "0.0+git${SRCPV}"
12PR = "r0" 12PR = "r0"
13 13
14SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http" 14SRC_URI = "git://git.pokylinux.org/${PN};protocol=git"
15 15
16S = "${WORKDIR}/${PN}" 16S = "${WORKDIR}/git"
17 17
18inherit autotools pkgconfig 18inherit autotools pkgconfig
diff --git a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2/png_rename.patch b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2/png_rename.patch
new file mode 100644
index 0000000000..b12e920004
--- /dev/null
+++ b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2/png_rename.patch
@@ -0,0 +1,14 @@
1Background Image name was changed from background.png to template.png
2
3Signed-off-by: Saul Wold <sgw@linux.intel.com>
4
5Index: matchbox-sato/Sato/matchbox2/Makefile.am
6===================================================================
7--- matchbox-sato.orig/Sato/matchbox2/Makefile.am 2010-12-29 13:08:43.000000000 -0800
8+++ matchbox-sato/Sato/matchbox2/Makefile.am 2010-12-29 22:14:45.690428881 -0800
9@@ -1,4 +1,4 @@
10-pngs = background.png
11+pngs = template.png
12
13 themesdir = $(datadir)/themes/Sato/matchbox2
14 themes_DATA = theme.xml $(pngs)
diff --git a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2_svn.bb b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2_svn.bb
index 30b632934e..36bde38fcc 100644
--- a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2_svn.bb
+++ b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato-2_svn.bb
@@ -1,9 +1,11 @@
1require matchbox-theme-sato.inc 1require matchbox-theme-sato.inc
2 2
3DEPENDS = "matchbox-wm-2" 3DEPENDS = "matchbox-wm-2"
4PV = "0.1+svnr${SRCREV}" 4PV = "0.1+svnr${SRCPV}"
5
6SRC_URI = "svn://svn.o-hand.com/repos/sato/trunk;module=matchbox-sato;proto=http \
7 file://png_rename.patch"
5 8
6SRC_URI = "svn://svn.o-hand.com/repos/sato/trunk;module=matchbox-sato;proto=http"
7S = "${WORKDIR}/matchbox-sato" 9S = "${WORKDIR}/matchbox-sato"
8 10
9EXTRA_OECONF = "--disable-matchbox-1 --enable-matchbox-2" 11EXTRA_OECONF = "--disable-matchbox-1 --enable-matchbox-2"
diff --git a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_svn.bb b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_svn.bb
index 7d492353bf..16ea8251b1 100644
--- a/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_svn.bb
+++ b/meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_svn.bb
@@ -1,6 +1,6 @@
1require matchbox-theme-sato.inc 1require matchbox-theme-sato.inc
2 2
3PV = "0.1+svnr${SRCREV}" 3PV = "0.1+svnr${SRCPV}"
4PR = "r0" 4PR = "r0"
5 5
6SRC_URI = "svn://svn.o-hand.com/repos/sato/trunk;module=matchbox-sato;proto=http" 6SRC_URI = "svn://svn.o-hand.com/repos/sato/trunk;module=matchbox-sato;proto=http"
diff --git a/meta/recipes-sato/owl-video-widget/libowl-av_svn.bb b/meta/recipes-sato/owl-video-widget/libowl-av_svn.bb
index 4eeeed6d24..b9612c0741 100644
--- a/meta/recipes-sato/owl-video-widget/libowl-av_svn.bb
+++ b/meta/recipes-sato/owl-video-widget/libowl-av_svn.bb
@@ -9,11 +9,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ac14b7ca45afea5af040da54db270eb0 \
9 9
10SECTION = "x11" 10SECTION = "x11"
11DEPENDS = "gtk+ gstreamer gst-plugins-base" 11DEPENDS = "gtk+ gstreamer gst-plugins-base"
12RDEPENDS = "gst-meta-base" 12RDEPENDS_${PN} = "gst-meta-base"
13RRECOMMENDS = "gst-meta-audio gst-meta-video" 13RRECOMMENDS_${PN} = "gst-meta-audio gst-meta-video"
14 14
15PV = "0.0+svnr${SRCREV}" 15PV = "0.0+svnr${SRCPV}"
16PR = "r5" 16PR = "r6"
17 17
18S = "${WORKDIR}/${PN}" 18S = "${WORKDIR}/${PN}"
19 19
diff --git a/meta/recipes-sato/owl-video-widget/owl-video_svn.bb b/meta/recipes-sato/owl-video-widget/owl-video_svn.bb
index 5419beacad..f83dbdc5d6 100644
--- a/meta/recipes-sato/owl-video-widget/owl-video_svn.bb
+++ b/meta/recipes-sato/owl-video-widget/owl-video_svn.bb
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ac14b7ca45afea5af040da54db270eb0 \
8SECTION = "x11" 8SECTION = "x11"
9DEPENDS = "libowl-av" 9DEPENDS = "libowl-av"
10 10
11PV = "0.0+svnr${SRCREV}" 11PV = "0.0+svnr${SRCPV}"
12PR = "r2" 12PR = "r3"
13 13
14S = "${WORKDIR}/video" 14S = "${WORKDIR}/video"
15 15
diff --git a/meta/recipes-sato/pimlico/contacts.inc b/meta/recipes-sato/pimlico/contacts.inc
index a424295aca..ce990d7ddd 100644
--- a/meta/recipes-sato/pimlico/contacts.inc
+++ b/meta/recipes-sato/pimlico/contacts.inc
@@ -6,7 +6,7 @@ LICENSE = "GPLv2 & GPLv2+ & GPLv3+ "
6SECTION = "x11" 6SECTION = "x11"
7DEPENDS = "glib-2.0 gtk+ eds-dbus" 7DEPENDS = "glib-2.0 gtk+ eds-dbus"
8DEPENDS_append_poky = " libowl" 8DEPENDS_append_poky = " libowl"
9RDEPENDS = "libedata-book" 9RDEPENDS_${PN} = "libedata-book"
10 10
11inherit autotools pkgconfig 11inherit autotools pkgconfig
12 12
diff --git a/meta/recipes-sato/pimlico/contacts_0.9.bb b/meta/recipes-sato/pimlico/contacts_0.9.bb
index 1e4628737d..a9e3f15ad1 100644
--- a/meta/recipes-sato/pimlico/contacts_0.9.bb
+++ b/meta/recipes-sato/pimlico/contacts_0.9.bb
@@ -1,5 +1,5 @@
1require contacts.inc 1require contacts.inc
2 2
3PR = "r2" 3PR = "r3"
4 4
5SRC_URI =+ "http://pimlico-project.org/sources/${PN}/${PN}-${PV}.tar.gz" 5SRC_URI =+ "http://pimlico-project.org/sources/${PN}/${PN}-${PV}.tar.gz"
diff --git a/meta/recipes-sato/pimlico/contacts_git.bb b/meta/recipes-sato/pimlico/contacts_git.bb
index c375435309..0d2e235e56 100644
--- a/meta/recipes-sato/pimlico/contacts_git.bb
+++ b/meta/recipes-sato/pimlico/contacts_git.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
6 file://src/contacts-gtk.c;endline=23;md5=e1ee9b9e72045f2d3aa44cf17313b46e" 6 file://src/contacts-gtk.c;endline=23;md5=e1ee9b9e72045f2d3aa44cf17313b46e"
7 7
8PV = "0.12+git${SRCPV}" 8PV = "0.12+git${SRCPV}"
9PR = "r1" 9PR = "r2"
10 10
11S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
12 12
diff --git a/meta/recipes-sato/pimlico/dates.inc b/meta/recipes-sato/pimlico/dates.inc
index 6ef7b60611..01ab409625 100644
--- a/meta/recipes-sato/pimlico/dates.inc
+++ b/meta/recipes-sato/pimlico/dates.inc
@@ -6,7 +6,7 @@ LICENSE = "GPLv2 & GPLv2+ & LGPLv2+"
6 6
7SECTION = "x11" 7SECTION = "x11"
8DEPENDS = "glib-2.0 gtk+ libglade eds-dbus" 8DEPENDS = "glib-2.0 gtk+ libglade eds-dbus"
9RDEPENDS = "libedata-cal" 9RDEPENDS_${PN} = "libedata-cal"
10 10
11inherit autotools pkgconfig gtk-icon-cache 11inherit autotools pkgconfig gtk-icon-cache
12 12
diff --git a/meta/recipes-sato/pimlico/dates/dso_linking_change_build_fix.patch b/meta/recipes-sato/pimlico/dates/dso_linking_change_build_fix.patch
new file mode 100644
index 0000000000..07a0264c14
--- /dev/null
+++ b/meta/recipes-sato/pimlico/dates/dso_linking_change_build_fix.patch
@@ -0,0 +1,44 @@
1after gcc linking has changed, all the libraries must be explicitely specified
2This patch avoids these linking errors:
3
4
5| make[2]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/dates-0.4.11+git0+514185dc1f6588085fda41eb59898b93d0487dd4-r2/git/src'^M
6| /bin/sh ../i586-poky-linux-libtool --tag=CC --mode=link ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -std=gnu99 -Wall -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/evolution-data-server-2.30 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/dbus-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libxml2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gconf/2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libsoup-2.4 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/dbus-1.0/include -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libowl -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -DUSE_OWL=1 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o dates dates_gtk.o dates_main.o dates_callbacks.o gconf-bridge.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lecal-1.2 -lical -licalss -licalvcal -ledataserver-1.2 -lxml2 -lsoup-2.4 -lgio-2.0 -lgmodule-2.0 -lgconf-2 -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lowl -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 libgtkdatesview.la
7| i586-poky-linux-libtool: link: ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -std=gnu99 -Wall -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/evolution-data-server-2.30 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/dbus-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libxml2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gconf/2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libsoup-2.4 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/dbus-1.0/include -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libowl -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -DUSE_OWL=1 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/dates dates_gtk.o dates_main.o dates_callbacks.o gconf-bridge.o -pthread -pthread -L/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libecal-1.2.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libicalss.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libicalvcal.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libical.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libedataserver-1.2.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libsoup-2.4.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libxml2.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgnutls.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libtasn1.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgcrypt.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgpg-error.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgconf-2.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libdbus-glib-1.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libdbus-1.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libowl.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgtk-x11-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk-x11-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libatk-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk_pixbuf-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgio-2.0.so -lresolv /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangocairo-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangoft2-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libstdc++.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libcairo.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpixman-1.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpng12.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXrender.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libxcb.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXau.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXdmcp.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libz.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpango-1.0.so -lm /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfontconfig.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfreetype.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libexpat.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgobject-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgmodule-2.0.so -ldl /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgthread-2.0.so -lpthread /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libglib-2.0.so -lrt ./.libs/libgtkdatesview.a -pthread
8|
9| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: e: invalid DSO for symbol `pow@@GLIBC_2.0' definition^M
10| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libm.so: could not read symbols: Bad value^M
11| collect2: ld returned 1 exit status^M
12| make[2]: *** [dates] Error 1
13
14
15
16| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: z: invalid DSO for symbol `pango_layout_get_extents' definition
17| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpango-1.0.so: could not read symbols: Bad value
18| collect2: ld returned 1 exit status
19| make[2]: *** [dates] Error 1
20
21
22Nitin A Kamble <nitin.a.kamble@intel.com>
23Date: 2011/01/11
24
25Update:
26This is identified as a libtool issue. While creating the libgtkdatesview.la
27file, libtool should have added these needed libraries in there.
28 A bug has been created for this issue:
29 http://bugzilla.pokylinux.org/show_bug.cgi?id=664
30Nitin A Kamble <nitin.a.kamble@intel.com>
31Date: 2011/01/19
32
33Index: git/src/Makefile.am
34===================================================================
35--- git.orig/src/Makefile.am
36+++ git/src/Makefile.am
37@@ -34,6 +34,6 @@ dates_SOURCES = $(platform) \
38 gconf-bridge.h \
39 gconf-bridge.c
40
41-dates_LDADD = $(DATES_LIBS) $(OWL_LIBS) libgtkdatesview.la
42+dates_LDADD = $(DATES_LIBS) $(OWL_LIBS) libgtkdatesview.la -lm -lpango-1.0
43
44 MAINTAINERCLEANFILES = config.h.in Makefile.in
diff --git a/meta/recipes-sato/pimlico/dates_0.4.8.bb b/meta/recipes-sato/pimlico/dates_0.4.8.bb
index 13afc157d0..ca88a7301e 100644
--- a/meta/recipes-sato/pimlico/dates_0.4.8.bb
+++ b/meta/recipes-sato/pimlico/dates_0.4.8.bb
@@ -1,5 +1,5 @@
1require dates.inc 1require dates.inc
2 2
3PR = "r3" 3PR = "r4"
4 4
5SRC_URI = "http://pimlico-project.org/sources/dates/dates-${PV}.tar.gz" 5SRC_URI = "http://pimlico-project.org/sources/dates/dates-${PV}.tar.gz"
diff --git a/meta/recipes-sato/pimlico/dates_git.bb b/meta/recipes-sato/pimlico/dates_git.bb
index d09f4e6216..973c42d85a 100644
--- a/meta/recipes-sato/pimlico/dates_git.bb
+++ b/meta/recipes-sato/pimlico/dates_git.bb
@@ -6,9 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
6 file://src/gconf-bridge.c;endline=22;md5=ad7626c6daf4aec590474a243f4912fa" 6 file://src/gconf-bridge.c;endline=22;md5=ad7626c6daf4aec590474a243f4912fa"
7 7
8PV = "0.4.11+git${SRCPV}" 8PV = "0.4.11+git${SRCPV}"
9PR = "r1" 9PR = "r3"
10 10
11S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
12 12
13SRC_URI = "git://git.gnome.org/${PN};protocol=git \ 13SRC_URI = "git://git.gnome.org/${PN};protocol=git \
14 file://make-382.patch" 14 file://make-382.patch \
15 file://dso_linking_change_build_fix.patch"
diff --git a/meta/recipes-sato/puzzles/oh-puzzles_svn.bb b/meta/recipes-sato/puzzles/oh-puzzles_svn.bb
index 5fcea24b37..3bee48687a 100644
--- a/meta/recipes-sato/puzzles/oh-puzzles_svn.bb
+++ b/meta/recipes-sato/puzzles/oh-puzzles_svn.bb
@@ -11,7 +11,7 @@ SECTION = "x11"
11DEPENDS = "gtk+ gconf intltool-native librsvg" 11DEPENDS = "gtk+ gconf intltool-native librsvg"
12DEPENDS_append_poky = " libowl" 12DEPENDS_append_poky = " libowl"
13 13
14PV = "0.1+svnr${SRCREV}" 14PV = "0.1+svnr${SRCPV}"
15PR = "r10" 15PR = "r10"
16 16
17bindir = "/usr/games" 17bindir = "/usr/games"
diff --git a/meta/recipes-sato/puzzles/puzzles_r9023.bb b/meta/recipes-sato/puzzles/puzzles_r9076.bb
index acf61de6a6..fbd0e37d55 100644
--- a/meta/recipes-sato/puzzles/puzzles_r9023.bb
+++ b/meta/recipes-sato/puzzles/puzzles_r9076.bb
@@ -10,8 +10,9 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=9928b60f3b78be315b7ab699c1b03ff5"
10 10
11SRC_URI = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.tar.gz" 11SRC_URI = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.tar.gz"
12 12
13SRC_URI[md5sum] = "ce3b8b49a4970cdecbd3c0deb236802c" 13# Checksums seem to be changing regularly right now, need to verify with upstream
14SRC_URI[sha256sum] = "52ac700d8ecb6bc51c8892f12f0212a6f12504eaae4cf95bb6fe084889ac5932" 14#SRC_URI[md5sum] = "e8b4c7e2341264789f3cd6733857bf1c"
15#SRC_URI[sha256sum] = "69f37e497e63b2f7ab44e7bbd50aee078269c16dbc2d78ec1b00257678f2cbd2"
15#SRC_URI = "svn://ixion.tartarus.org/main;module=puzzles;rev=${MOD_PV}" 16#SRC_URI = "svn://ixion.tartarus.org/main;module=puzzles;rev=${MOD_PV}"
16 17
17S = "${WORKDIR}/${PN}-${PV}" 18S = "${WORKDIR}/${PN}-${PV}"
diff --git a/meta/recipes-sato/screenshot/files/dso_linking_change_build_fix.patch b/meta/recipes-sato/screenshot/files/dso_linking_change_build_fix.patch
new file mode 100644
index 0000000000..d3a9ed1a74
--- /dev/null
+++ b/meta/recipes-sato/screenshot/files/dso_linking_change_build_fix.patch
@@ -0,0 +1,49 @@
1after gcc linking has changed, all the libraries must be explicitely specified
2This patch avoids these linking errors:
3
4
5
6| i586-poky-linux-libtool: link: ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -Wall -g -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/screenshot main.o -pthread /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgtk-x11-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk-x11-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libatk-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk_pixbuf-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgio-2.0.so -lresolv /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangocairo-1.0.so -L/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangoft2-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libstdc++.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libcairo.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpixman-1.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpng12.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXrender.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libxcb.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXau.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXdmcp.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libz.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpango-1.0.so -lm /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfontconfig.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfreetype.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libexpat.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgobject-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgmodule-2.0.so -ldl /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgthread-2.0.so -lpthread /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libglib-2.0.so -lrt ./.libs/libshot.a -pthread
7| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: L: invalid DSO for symbol `gdk_cursor_unref' definition
8| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk-x11-2.0.so: could not read symbols: Bad value
9| collect2: ld returned 1 exit status
10| make[1]: *** [screenshot] Error 1
11
12
13
14
15| i586-poky-linux-libtool: link: ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -Wall -g -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/screenshot main.o -pthread /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgtk-x11-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libatk-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk_pixbuf-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgio-2.0.so -lresolv /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangocairo-1.0.so -L/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangoft2-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libstdc++.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libcairo.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpixman-1.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpng12.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXrender.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libxcb.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXau.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXdmcp.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libz.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpango-1.0.so -lm /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfontconfig.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfreetype.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libexpat.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgobject-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgmodule-2.0.so -ldl /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgthread-2.0.so -lpthread /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libglib-2.0.so -lrt ./.libs/libshot.a /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk-x11-2.0.so -pthread
16| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: a: invalid DSO for symbol `gdk_pixbuf_unref' definition
17| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk_pixbuf-2.0.so: could not read symbols: Bad value
18| collect2: ld returned 1 exit status
19| make[1]: *** [screenshot] Error 1
20
21
22| i586-poky-linux-libtool: link: ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -Wall -g -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -pthread -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/glib-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/glib-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/gtk-2.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/gtk-2.0/include -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/atk-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/cairo -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pango-1.0 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/pixman-1 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/freetype2 -I/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/include/libpng12 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/screenshot main.o -pthread /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgtk-x11-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libatk-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangocairo-1.0.so -L/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpangoft2-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libstdc++.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libcairo.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpixman-1.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpng12.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXrender.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libxcb.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXau.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libXdmcp.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libpango-1.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfontconfig.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libfreetype.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libexpat.so ./.libs/libshot.a /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk-x11-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgdk_pixbuf-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgio-2.0.so -lresolv /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libz.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgobject-2.0.so /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgmodule-2.0.so -ldl /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libgthread-2.0.so -lpthread /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libglib-2.0.so -lrt -lm -pthread
23| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: }: invalid DSO for symbol `XUngrabServer' definition
24| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so: could not read symbols: Bad value
25| collect2: ld returned 1 exit status
26| make[1]: *** [screenshot] Error 1
27
28Nitin A Kamble <nitin.a.kamble@intel.com>
29Date: 2011/01/11
30
31Update:
32This is identified as a libtool issue. While creating the libshot.la
33file, libtool should have added these needed libraries in there.
34 A bug has been created for this issue:
35 http://bugzilla.pokylinux.org/show_bug.cgi?id=664
36Nitin A Kamble <nitin.a.kamble@intel.com>
37Date: 2011/01/19
38
39
40Index: screenshot/Makefile.am
41===================================================================
42--- screenshot.orig/Makefile.am
43+++ screenshot/Makefile.am
44@@ -23,4 +23,4 @@ endif
45 # A standalone tool for running from a terminal and scripts
46 bin_PROGRAMS = screenshot
47 screenshot_SOURCES = main.c
48-screenshot_LDADD = $(GTK_LIBS) libshot.la
49+screenshot_LDADD = $(GTK_LIBS) libshot.la -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lX11
diff --git a/meta/recipes-sato/screenshot/screenshot_svn.bb b/meta/recipes-sato/screenshot/screenshot_svn.bb
index a95ba2d54d..ff2b7c8945 100644
--- a/meta/recipes-sato/screenshot/screenshot_svn.bb
+++ b/meta/recipes-sato/screenshot/screenshot_svn.bb
@@ -9,9 +9,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
9 9
10PRIORITY = "optional" 10PRIORITY = "optional"
11DEPENDS = "matchbox-panel-2" 11DEPENDS = "matchbox-panel-2"
12PV = "0.0+svnr${SRCREV}" 12PV = "0.0+svnr${SRCPV}"
13PR = "r1"
13 14
14SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${PN};proto=http" 15SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=${PN};proto=http\
16 file://dso_linking_change_build_fix.patch"
15 17
16S = ${WORKDIR}/${PN} 18S = ${WORKDIR}/${PN}
17 19
diff --git a/meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch b/meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch
new file mode 100644
index 0000000000..5fd96d4645
--- /dev/null
+++ b/meta/recipes-sato/settings-daemon/files/dso_linking_change_build_fix.patch
@@ -0,0 +1,29 @@
1after gcc linking has changed, all the libraries must be explicitely specified to for linking.
2This patch avoids this linking error:
3
4| make all-am^M
5| make[1]: Entering directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/settings-daemon-0.0+svnr2059-r3/settings-daemon'^M
6| ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux -Wall -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o settings-daemon settings_daemon-xsettings-common.o settings_daemon-xsettings-manager.o settings_daemon-settings-daemon.o -pthread -lgconf-2 -ldbus-glib-1 -ldbus-1 -lpthread -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0^M
7| /disk0/pokybuild/build1/tmp/sysroots/x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.5.1/ld: *^A: invalid DSO for symbol `XCreateSimpleWindow' definition^M
8| /disk0/pokybuild/build1/tmp/sysroots/i586-poky-linux/usr/lib/libX11.so.6: could not read symbols: Bad value^M
9| collect2: ld returned 1 exit status^M
10| make[1]: *** [settings-daemon] Error 1^M
11| make[1]: Leaving directory `/disk0/pokybuild/build1/tmp/work/i586-poky-linux/settings-daemon-0.0+svnr2059-r3/settings-daemon'^M
12| make: *** [all] Error 2^M
13
14Nitin A Kamble <nitin.a.kamble@intel.com>
15Date: 2011/01/11
16
17Index: settings-daemon/configure.ac
18===================================================================
19--- settings-daemon.orig/configure.ac
20+++ settings-daemon/configure.ac
21@@ -14,7 +14,7 @@ AC_PROG_CC
22
23
24 dnl TODO: make gconf optional
25-PKG_CHECK_MODULES(APP, [gconf-2.0 gdk-x11-2.0])
26+PKG_CHECK_MODULES(APP, [gconf-2.0 gdk-x11-2.0 x11])
27
28
29 AC_SUBST(APP_CFLAGS)
diff --git a/meta/recipes-sato/settings-daemon/settings-daemon_svn.bb b/meta/recipes-sato/settings-daemon/settings-daemon_git.bb
index 4d1d9baf40..f7dc86fec9 100644
--- a/meta/recipes-sato/settings-daemon/settings-daemon_svn.bb
+++ b/meta/recipes-sato/settings-daemon/settings-daemon_git.bb
@@ -6,15 +6,16 @@ LIC_FILES_CHKSUM = "file://xsettings-manager.h;endline=22;md5=7cfac9d2d4dc3694cc
6 file://xsettings-common.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b" 6 file://xsettings-common.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b"
7DEPENDS = "gconf glib-2.0 gtk+" 7DEPENDS = "gconf glib-2.0 gtk+"
8SECTION = "x11" 8SECTION = "x11"
9PV = "0.0+svnr${SRCREV}" 9PV = "0.0+git${SRCPV}"
10 10
11PR = "r3" 11PR = "r0"
12 12
13SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ 13SRC_URI = "git://git.pokylinux.org/xsettings-daemon;protocol=git \
14 file://addsoundkeys.patch;apply=yes \ 14 file://addsoundkeys.patch;apply=yes \
15 file://70settings-daemon.sh" 15 file://70settings-daemon.sh \
16 file://dso_linking_change_build_fix.patch"
16 17
17S = "${WORKDIR}/${PN}" 18S = "${WORKDIR}/git"
18 19
19inherit autotools pkgconfig gconf 20inherit autotools pkgconfig gconf
20 21
diff --git a/meta/recipes-sato/web/web-webkit_svn.bb b/meta/recipes-sato/web/web-webkit_svn.bb
index 895d49b27f..3df2bd8baa 100644
--- a/meta/recipes-sato/web/web-webkit_svn.bb
+++ b/meta/recipes-sato/web/web-webkit_svn.bb
@@ -2,12 +2,13 @@ DESCRIPTION = "Multi-platform web browsing application."
2HOMEPAGE = "http://o-hand.com/" 2HOMEPAGE = "http://o-hand.com/"
3BUGTRACKER = "http://bugzilla.openedhand.com/" 3BUGTRACKER = "http://bugzilla.openedhand.com/"
4 4
5LICENSE = "GPLv2" 5LICENSE = "LGPLv2.1"
6LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
6 7
7SECTION = "x11" 8SECTION = "x11"
8DEPENDS = "libxml2 glib-2.0 gtk+ libglade webkit-gtk curl gconf js libowl" 9DEPENDS = "libxml2 glib-2.0 gtk+ libglade webkit-gtk curl gconf js libowl"
9 10
10PV = "0.0+svnr${SRCREV}" 11PV = "0.0+svnr${SRCPV}"
11PR = "r3" 12PR = "r3"
12 13
13SRC_URI = "svn://svn.o-hand.com/repos/web/branches;module=webkit;proto=http \ 14SRC_URI = "svn://svn.o-hand.com/repos/web/branches;module=webkit;proto=http \
diff --git a/meta/recipes-sato/web/web_svn.bb b/meta/recipes-sato/web/web_svn.bb
index 79838cef73..bdcdaba009 100644
--- a/meta/recipes-sato/web/web_svn.bb
+++ b/meta/recipes-sato/web/web_svn.bb
@@ -4,7 +4,7 @@ DEPENDS = "libxml2 glib-2.0 gtk+ libglade gtkhtml2 curl gconf js libowl"
4DESCRIPTION = "Web is a multi-platform web browsing application." 4DESCRIPTION = "Web is a multi-platform web browsing application."
5PR = "r4" 5PR = "r4"
6 6
7PV = "0.0+svnr${SRCREV}" 7PV = "0.0+svnr${SRCPV}"
8 8
9SRC_URI = "svn://svn.o-hand.com/repos/${PN};module=trunk;proto=http \ 9SRC_URI = "svn://svn.o-hand.com/repos/${PN};module=trunk;proto=http \
10 file://owl-window-menu.patch \ 10 file://owl-window-menu.patch \
diff --git a/meta/recipes-sato/webkit/files/GNUmakefile.am b/meta/recipes-sato/webkit/files/GNUmakefile.am
index 39817f1dd5..8884fcb6f9 100644
--- a/meta/recipes-sato/webkit/files/GNUmakefile.am
+++ b/meta/recipes-sato/webkit/files/GNUmakefile.am
@@ -16,15 +16,11 @@
16# webcore_sources, gtk port API and WebCoreSupport parts to webkitgtk_sources, 16# webcore_sources, gtk port API and WebCoreSupport parts to webkitgtk_sources,
17# etc... The only exceptions are the global variables. See Global Variables 17# etc... The only exceptions are the global variables. See Global Variables
18# below. 18# below.
19# 19
20# Global Variables 20# Global Variables Reference
21# 21# global_cppflags = CPPFLAGS that apply to all C/C++ files that are built for any project.
22# global_cppflags = CPPFLAGS that apply to JSC, WebCore, and to any 22# global_cflags = CFLAGS that apply to all C files that are built for any project.
23# specific port 23# global_cxxflags = CXXFLAGS that apply to all C++ files that are bult for any project.
24# global_cflags = CFLAGS that apply to JSC, WebCore, and to
25# any specific port
26# global_cxxflags = CXXFLAGS that apply to JSC, WebCore, and to any
27# specific port
28 24
29srcdir = @srcdir@ 25srcdir = @srcdir@
30VPATH = @srcdir@ 26VPATH = @srcdir@
@@ -35,18 +31,13 @@ DISTCHECK_CONFIGURE_FLAGS = \
35 31
36# Directory for autogenerated sources 32# Directory for autogenerated sources
37GENSOURCES := $(top_builddir)/DerivedSources 33GENSOURCES := $(top_builddir)/DerivedSources
38GENSOURCESWEBKITDOM := $(top_builddir)/DerivedSources/webkit 34GENSOURCES_JAVASCRIPTCORE := $(top_builddir)/DerivedSources/JavaScriptCore
35GENSOURCES_WEBCORE := $(top_builddir)/DerivedSources/WebCore
36GENSOURCES_WEBKIT := $(top_builddir)/DerivedSources/webkit
39GENPROGRAMS := $(top_builddir)/Programs 37GENPROGRAMS := $(top_builddir)/Programs
40 38GENSOURCES_INSPECTOR := $(GENPROGRAMS)/resources/inspector
41# Script for creating hash tables 39WebCore := $(srcdir)/WebCore
42CREATE_HASH_TABLE = $(srcdir)/JavaScriptCore/create_hash_table 40WebKit := $(srcdir)/WebKit/gtk
43
44# Script for creating regexp tables
45CREATE_REGEXP_TABLES = $(srcdir)/JavaScriptCore/create_regex_tables
46
47# Programs to run the WebKitGtk unit tests
48GTESTER = gtester
49GTESTER_REPORT = gtester-report
50 41
51# Libraries and support components 42# Libraries and support components
52bin_PROGRAMS := 43bin_PROGRAMS :=
@@ -63,36 +54,27 @@ javascriptcore_cppflags:=
63javascriptcore_sources := 54javascriptcore_sources :=
64javascriptcore_built_sources := 55javascriptcore_built_sources :=
65javascriptcore_built_nosources := 56javascriptcore_built_nosources :=
66javascriptcore_dist :=
67webcore_cppflags := 57webcore_cppflags :=
68webcore_sources := 58webcore_sources :=
69webcore_libadd := 59webcore_libadd :=
70webcore_built_sources := 60webcore_built_sources :=
71webcore_built_nosources := 61webcore_built_nosources :=
72webcore_dist :=
73webcoregtk_cppflags :=
74webcoregtk_sources := 62webcoregtk_sources :=
75IDL_BINDINGS_GDOM := 63webcoregtk_cppflags :=
76GDOM_AUTO_CLASSES := 64webkitgtk_built_h_api :=
77GDOM_FIXED_CLASSES := 65webkitgtk_static_h_api :=
78GDOM_CLASSES :=
79GDOM_HEADERS_BUILT :=
80GDOM_HEADERS_FIXED :=
81libgdom_h_api :=
82libgdom_cleanfiles :=
83webkitgtk_h_api := 66webkitgtk_h_api :=
84webkitgtk_sources := 67webkitgtk_sources :=
85webkitgtk_cppflags := 68webkitgtk_cppflags :=
69webkitgtk_gdom_built_sources :=
86webkitgtk_built_sources := 70webkitgtk_built_sources :=
87webkitgtk_built_nosources := 71webkitgtk_built_nosources :=
88webkitgtk_cleanfiles :=
89global_cppflags := 72global_cppflags :=
90global_cflags := 73global_cflags :=
91global_cxxflags := 74global_cxxflags :=
92corekit_cflags :=
93corekit_cppflags :=
94JSCORE_GIRSOURCES := 75JSCORE_GIRSOURCES :=
95WEBKIT_GIRSOURCES := 76WEBKIT_GIRSOURCES :=
77FEATURE_DEFINES :=
96typelibsdir := 78typelibsdir :=
97typelibs_DATA := 79typelibs_DATA :=
98EXTRA_DIST := 80EXTRA_DIST :=
@@ -101,57 +83,15 @@ CLEANFILES :=
101DISTCLEANFILES := 83DISTCLEANFILES :=
102MAINTAINERCLEANFILES := 84MAINTAINERCLEANFILES :=
103 85
104webcoregtk_cppflags += \ 86global_cppflags += \
105 -I$(top_builddir)/DerivedSources/webkit \
106 -I$(srcdir)/WebCore/bindings \
107 -I$(srcdir)/WebCore/bindings/gobject
108
109# CFLAGS/CXXFLAGS used by WebCore and WebKit
110#
111# gtk+.pc already include glib, cairo, freetype and pango CFLAGS
112# Don't include them for now to reduce the noise when compiling
113# $(GLIB_CFLAGS) $(CAIRO_CFLAGS) $(PANGO_CFLAGS) $(FREETYPE_CFLAGS)
114corekit_cflags += \
115 -fno-strict-aliasing \
116 $(COVERAGE_CFLAGS) \
117 $(ENCHANT_CFLAGS) \
118 $(GAIL_CFLAGS) \
119 $(GEOCLUE_CFLAGS) \
120 $(GLIB_CFLAGS) \
121 $(GSTREAMER_CFLAGS) \
122 $(GTK_CFLAGS) \
123 $(HILDON_CFLAGS) \
124 $(LIBSOUP_CFLAGS) \
125 $(LIBXML_CFLAGS) \
126 $(LIBXSLT_CFLAGS) \
127 $(SQLITE3_CFLAGS) \
128 $(UNICODE_CFLAGS) \
129 $(XT_CFLAGS)
130
131# When building webcore/webkit, we want WebCore/config.h and NOT
132# JavaScriptCore/config.h, hence, it's important that WebCore/ should come first
133# before JavaScriptCore in the include path.
134corekit_cppflags += \
135 $(global_cppflags) \
136 $(webcore_cppflags) \
137 $(webcoregtk_cppflags) \
138 $(javascriptcore_cppflags)
139
140# For the Gtk port we want to use XP_UNIX both in X11 and Mac
141if !TARGET_WIN32
142corekit_cppflags += -DXP_UNIX
143endif
144
145# Default compiler flags
146global_cflags += \
147 -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type \ 87 -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type \
148 -Wformat -Wformat-security -Wno-format-y2k -Wundef \ 88 -Wformat -Wformat-security -Wno-format-y2k -Wundef \
149 -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings \ 89 -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings \
150 -Wno-unused-parameter -Wno-parentheses \ 90 -Wno-unused-parameter -Wno-parentheses \
151 -fno-exceptions 91 -fno-exceptions -DENABLE_GLIB_SUPPORT=1
92
152 93
153global_cxxflags += \ 94global_cxxflags += \
154 $(global_cflags) \
155 $(SYMBOL_VISIBILITY_INLINES) \ 95 $(SYMBOL_VISIBILITY_INLINES) \
156 -fno-rtti 96 -fno-rtti
157 97
@@ -159,30 +99,17 @@ global_cxxflags += \
159# It breaks the build on other platforms, so we use it conditionally 99# It breaks the build on other platforms, so we use it conditionally
160if OS_WIN32 100if OS_WIN32
161no_undefined = -no-undefined 101no_undefined = -no-undefined
162version_script = -export-symbols-regex "^(webkit_|JS).*" 102version_script = -export-symbols-regex "^(webkit_|k?JS).*"
163endif 103endif
164 104
165if OS_GNU 105if OS_GNU
166version_script = -Wl,--version-script,$(srcdir)/autotools/symbols.filter 106version_script = -Wl,--version-script,$(srcdir)/autotools/symbols.filter
167endif 107endif
168 108
169# Shared libraries
170lib_LTLIBRARIES += \
171 libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
172
173# Convenience libraries 109# Convenience libraries
174noinst_LTLIBRARIES += \ 110noinst_LTLIBRARIES += \
175 libJavaScriptCore.la 111 libJavaScriptCore.la
176 112
177# JavaScriptCore
178javascriptcore_cppflags += \
179 -I$(srcdir)/JavaScriptCore/ForwardingHeaders \
180 -I$(srcdir)/JavaScriptCore/parser \
181 -I$(srcdir)/JavaScriptCore/wtf \
182 -I$(srcdir)/JavaScriptCore/wtf/gtk \
183 -I$(srcdir)/JavaScriptCore/wtf/gobject \
184 -I$(top_builddir)/DerivedSources
185
186nodist_EXTRA_libJavaScriptCore_la_SOURCES = \ 113nodist_EXTRA_libJavaScriptCore_la_SOURCES = \
187 $(javascriptcore_built_nosources) 114 $(javascriptcore_built_nosources)
188 115
@@ -215,78 +142,6 @@ libJavaScriptCore_la_CPPFLAGS = \
215 $(global_cppflags) \ 142 $(global_cppflags) \
216 $(javascriptcore_cppflags) 143 $(javascriptcore_cppflags)
217 144
218# WebKit
219nodist_EXTRA_libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
220 $(webcore_built_nosources)
221
222nodist_libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
223 $(webcore_built_sources) \
224 $(webkitgtk_built_sources)
225
226libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_ladir = $(prefix)/include/webkit-@WEBKITGTK_API_VERSION@/webkit
227libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_HEADERS = \
228 $(webkitgtk_h_api) \
229 WebKit/gtk/webkit/webkitenumtypes.h
230
231libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
232 $(webcore_sources) \
233 $(webcoregtk_sources) \
234 $(webkitgtk_sources)
235
236libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CXXFLAGS = \
237 $(global_cxxflags) \
238 $(corekit_cflags)
239
240libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CFLAGS = \
241 $(global_cflags) \
242 $(corekit_cflags)
243
244libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CPPFLAGS = \
245 $(corekit_cppflags) \
246 $(webkitgtk_cppflags) \
247 $(HILDON_CPPFLAGS)
248
249libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LDFLAGS = \
250 -version-info @LIBWEBKITGTK_VERSION@ \
251 $(version_script) \
252 $(no_undefined)
253
254libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD = \
255 -lpthread \
256 libJavaScriptCore.la \
257 libWebCoreJS.la \
258 libgdom.la \
259 $(webcore_ldflags) \
260 $(CAIRO_LIBS) \
261 $(COVERAGE_LDFLAGS) \
262 $(ENCHANT_LIBS) \
263 $(FREETYPE_LIBS) \
264 $(GAIL_LIBS) \
265 $(GEOCLUE_LIBS) \
266 $(GLIB_LIBS) \
267 $(GSTREAMER_LIBS) \
268 $(GTK_LIBS) \
269 $(HILDON_LIBS) \
270 $(JPEG_LIBS) \
271 $(LIBSOUP_LIBS) \
272 $(LIBXML_LIBS) \
273 $(LIBXSLT_LIBS) \
274 $(PANGO_LIBS) \
275 $(PNG_LIBS) \
276 $(SQLITE3_LIBS) \
277 $(UNICODE_LIBS) \
278 $(XT_LIBS)
279
280libgdom_ladir = $(prefix)/include/webkit-@WEBKITGTK_API_VERSION@/webkit
281nodist_libgdom_la_HEADERS = \
282 $(libgdom_h_api)
283
284libgdom_cleanfiles += \
285 $(top_builddir)/WebKit/gtk/webkit/webkitdomenumtypes.h \
286 $(top_builddir)/libgdom.la \
287 $(top_builddir)/stamp-webkitdomenumtypes.h
288
289#
290# Extra checks and flags 145# Extra checks and flags
291global_cppflags += \ 146global_cppflags += \
292 -DBUILDING_CAIRO__=1 \ 147 -DBUILDING_CAIRO__=1 \
@@ -308,17 +163,29 @@ global_cppflags += \
308 -DUSE_SYSTEM_MALLOC 163 -DUSE_SYSTEM_MALLOC
309endif 164endif
310 165
166if USE_GSTREAMER
167global_cppflags += \
168 -DWTF_USE_GSTREAMER=1
169endif
170
171# ----
172# GTK+ 2.x/3.x support
173# ----
174if GTK_API_VERSION_2
175global_cppflags += \
176 -DGTK_API_VERSION_2=1
177endif
178
311if !ENABLE_DEBUG 179if !ENABLE_DEBUG
312global_cppflags += -DNDEBUG 180global_cppflags += -DNDEBUG
313global_cflags += $(SYMBOL_VISIBILITY) 181global_cflags += $(SYMBOL_VISIBILITY)
314else 182else
315webcoregtk_cppflags += \ 183global_cppflags += \
316 -DG_DISABLE_DEPRECATED \ 184 -DG_DISABLE_DEPRECATED \
317 -DGDK_PIXBUF_DISABLE_DEPRECATED \ 185 -DGDK_PIXBUF_DISABLE_DEPRECATED \
318 -DGDK_DISABLE_DEPRECATED \ 186 -DGDK_DISABLE_DEPRECATED \
319 -DGTK_DISABLE_DEPRECATED \ 187 -DGTK_DISABLE_DEPRECATED \
320 -DPANGO_DISABLE_DEPRECATED 188 -DPANGO_DISABLE_DEPRECATED
321
322# Might be useful in the future 189# Might be useful in the future
323# -DGDK_MULTIHEAD_SAFE \ 190# -DGDK_MULTIHEAD_SAFE \
324# -DGTK_MULTIHEAD_SAFE 191# -DGTK_MULTIHEAD_SAFE
@@ -330,454 +197,19 @@ global_cppflags += \
330 -DGCC_INSTRUMENT_PROGRAM_FLOW_ARCS 197 -DGCC_INSTRUMENT_PROGRAM_FLOW_ARCS
331endif 198endif
332 199
333webkitgtk_h_api += \
334 $(srcdir)/WebKit/gtk/webkit/webkit.h \
335 $(srcdir)/WebKit/gtk/webkit/webkitdefines.h \
336 $(srcdir)/WebKit/gtk/webkit/webkitdownload.h \
337 $(srcdir)/WebKit/gtk/webkit/webkiterror.h \
338 $(srcdir)/WebKit/gtk/webkit/webkithittestresult.h \
339 $(srcdir)/WebKit/gtk/webkit/webkitnetworkrequest.h \
340 $(srcdir)/WebKit/gtk/webkit/webkitnetworkresponse.h \
341 $(srcdir)/WebKit/gtk/webkit/webkitsoupauthdialog.h \
342 $(srcdir)/WebKit/gtk/webkit/webkitwebbackforwardlist.h \
343 $(srcdir)/WebKit/gtk/webkit/webkitwebdatasource.h \
344 $(srcdir)/WebKit/gtk/webkit/webkitwebframe.h \
345 $(srcdir)/WebKit/gtk/webkit/webkitwebhistoryitem.h \
346 $(srcdir)/WebKit/gtk/webkit/webkitwebinspector.h \
347 $(srcdir)/WebKit/gtk/webkit/webkitwebnavigationaction.h \
348 $(srcdir)/WebKit/gtk/webkit/webkitwebpolicydecision.h \
349 $(srcdir)/WebKit/gtk/webkit/webkitgeolocationpolicydecision.h \
350 $(srcdir)/WebKit/gtk/webkit/webkitwebresource.h \
351 $(srcdir)/WebKit/gtk/webkit/webkitwebsettings.h \
352 $(srcdir)/WebKit/gtk/webkit/webkitwebwindowfeatures.h \
353 $(srcdir)/WebKit/gtk/webkit/webkitwebview.h \
354 $(srcdir)/WebKit/gtk/webkit/webkitwebdatabase.h \
355 $(srcdir)/WebKit/gtk/webkit/webkitsecurityorigin.h \
356 $(top_builddir)/WebKit/gtk/webkit/webkitversion.h
357
358webkitgtk_built_sources += \
359 DerivedSources/webkitenumtypes.cpp \
360 DerivedSources/webkitdomenumtypes.cpp \
361 DerivedSources/webkitmarshal.cpp \
362 DerivedSources/webkitmarshal.h \
363 WebKit/gtk/webkit/webkitenumtypes.h
364
365webkitgtk_sources += \
366 WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp \
367 WebKit/gtk/WebCoreSupport/ChromeClientGtk.h \
368 WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp \
369 WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.h \
370 WebKit/gtk/WebCoreSupport/DocumentLoaderGtk.cpp \
371 WebKit/gtk/WebCoreSupport/DocumentLoaderGtk.h \
372 WebKit/gtk/WebCoreSupport/DragClientGtk.cpp \
373 WebKit/gtk/WebCoreSupport/DragClientGtk.h \
374 WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp \
375 WebKit/gtk/WebCoreSupport/EditorClientGtk.h \
376 WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp \
377 WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h \
378 WebKit/gtk/WebCoreSupport/InspectorClientGtk.cpp \
379 WebKit/gtk/WebCoreSupport/InspectorClientGtk.h \
380 WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.cpp \
381 WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.h \
382 WebKit/gtk/webkit/webkitapplicationcache.cpp \
383 WebKit/gtk/webkit/webkitdownload.cpp \
384 WebKit/gtk/webkit/webkiterror.cpp \
385 WebKit/gtk/webkit/webkithittestresult.cpp \
386 WebKit/gtk/webkit/webkitnetworkrequest.cpp \
387 WebKit/gtk/webkit/webkitnetworkresponse.cpp \
388 WebKit/gtk/webkit/webkitprivate.cpp \
389 WebKit/gtk/webkit/webkitprivate.h \
390 WebKit/gtk/webkit/webkitsoupauthdialog.c \
391 WebKit/gtk/webkit/webkitversion.cpp \
392 WebKit/gtk/webkit/webkitwebbackforwardlist.cpp \
393 WebKit/gtk/webkit/webkitwebdatasource.cpp \
394 WebKit/gtk/webkit/webkitwebframe.cpp \
395 WebKit/gtk/webkit/webkitwebhistoryitem.cpp \
396 WebKit/gtk/webkit/webkitwebinspector.cpp \
397 WebKit/gtk/webkit/webkitwebnavigationaction.cpp \
398 WebKit/gtk/webkit/webkitwebpolicydecision.cpp \
399 WebKit/gtk/webkit/webkitgeolocationpolicydecision.cpp \
400 WebKit/gtk/webkit/webkitwebresource.cpp \
401 WebKit/gtk/webkit/webkitwebdatabase.cpp \
402 WebKit/gtk/webkit/webkitsecurityorigin.cpp \
403 WebKit/gtk/webkit/webkitwebsettings.cpp \
404 WebKit/gtk/webkit/webkitwebview.cpp \
405 WebKit/gtk/webkit/webkitwebwindowfeatures.cpp \
406 WebKit/gtk/webkit/webkitworkers.cpp
407
408webkitgtk_cppflags += \
409 -DBUILDING_WEBKIT \
410 -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
411 -DDATA_DIR=\"${datadir}\" \
412 -I$(srcdir)/WebKit/gtk \
413 -I$(srcdir)/WebKit/gtk/WebCoreSupport \
414 -I$(srcdir)/WebKit/gtk/webkit \
415 -I$(top_builddir)/WebKit/gtk \
416 -I$(top_builddir)/WebKit/gtk/webkit \
417 -I$(GENSOURCESWEBKITDOM)
418
419webkitgtk_cleanfiles += \
420 $(top_builddir)/stamp-webkitmarshal.cpp \
421 $(top_builddir)/stamp-webkitmarshal.h \
422 $(top_builddir)/stamp-webkitenumtypes.cpp \
423 $(top_builddir)/stamp-webkitenumtypes.h \
424 $(top_builddir)/Programs/GtkLauncher \
425 $(top_builddir)/WebKit/gtk/docs/version.xml \
426 $(top_builddir)/WebKit/gtk/docs/GNUmakefile \
427 $(top_builddir)/WebKit/gtk/@WEBKITGTK_PC_NAME@-@WEBKITGTK_API_VERSION@.pc \
428 $(top_builddir)/WebKit/gtk/webkit/webkitenumtypes.h \
429 $(top_builddir)/WebKit/gtk/webkit/webkitversion.h
430
431pkgconfigdir = $(libdir)/pkgconfig
432pkgconfig_DATA = WebKit/gtk/@WEBKITGTK_PC_NAME@-@WEBKITGTK_API_VERSION@.pc
433
434if ENABLE_INTROSPECTION
435
436JSCore-@WEBKITGTK_API_VERSION@.gir: $(builddir)/WebKit/gtk/JSCore-@WEBKITGTK_API_VERSION@.gir
437 cp $(builddir)/WebKit/gtk/JSCore-@WEBKITGTK_API_VERSION@.gir $(builddir)/
438
439JSCORE_GIRSOURCES += JSCore-@WEBKITGTK_API_VERSION@.gir
440WEBKIT_GIRSOURCES += WebKit-@WEBKITGTK_API_VERSION@.gir
441
442$(WEBKIT_GIRSOURCES): $(G_IR_SCANNER) $(JSCORE_GIRSOURCES) libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
443 $(AM_V_GEN)$(G_IR_SCANNER) -v --namespace WebKit --nsversion=@WEBKITGTK_API_VERSION@ \
444 --include=GObject-2.0 \
445 --include=Gtk-@GTK_API_VERSION@ \
446 --include=JSCore-@WEBKITGTK_API_VERSION@ \
447 --include=Soup-2.4 \
448 --library=webkitgtk-@WEBKITGTK_API_VERSION@ \
449 --libtool="$(LIBTOOL)" \
450 --pkg gobject-2.0 \
451 --pkg gtk+-@GTK_API_VERSION@ \
452 --pkg libsoup-2.4 \
453 --output $@ \
454 --add-include-path $(top_srcdir)/WebKit/gtk \
455 --add-include-path $(builddir) \
456 -I$(top_srcdir)/WebKit/gtk \
457 -I$(top_builddir)/WebKit/gtk \
458 -I$(top_builddir)/DerivedSources \
459 -I$(top_srcdir)/JavaScriptCore/ForwardingHeaders \
460 -I$(top_srcdir) \
461 $(webkitgtk_h_api) \
462 $(libgdom_h_api)
463
464girdir = $(datadir)/gir-1.0
465gir_DATA = $(WEBKIT_GIRSOURCES) $(JSCORE_GIRSOURCES)
466
467typelibsdir += $(libdir)/girepository-1.0
468typelibs_DATA += $(JSCORE_GIRSOURCES:.gir=.typelib) $(WEBKIT_GIRSOURCES:.gir=.typelib)
469
470%.typelib: %.gir $(G_IR_COMPILER)
471 $(AM_V_GEN)$(G_IR_COMPILER) --includedir $(top_srcdir)/WebKit/gtk --includedir $(builddir) $< -o $@
472
473CLEANFILES += $(JSCORE_GIRSOURCES) $(WEBKIT_GIRSOURCES) $(typelibs_DATA)
474
475endif
476
477EXTRA_DIST += $(builddir)/WebKit/gtk/JSCore-@WEBKITGTK_API_VERSION@.gir
478
479WEBKIT_MARSHAL = $(GENSOURCES)/webkitmarshal
480WEBKIT_MARSHAL_LIST = $(top_srcdir)/WebKit/gtk/webkitmarshal.list
481
482$(WEBKIT_MARSHAL).cpp: stamp-webkitmarshal.cpp
483 @true
484
485$(WEBKIT_MARSHAL).h: stamp-webkitmarshal.h
486 @true
487
488stamp-webkitmarshal.cpp: $(WEBKIT_MARSHAL_LIST)
489 $(AM_V_GEN) echo "extern \"C\" {" > $(WEBKIT_MARSHAL).cpp && \
490 $(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --body >> $(WEBKIT_MARSHAL).cpp && echo '}' >> $(WEBKIT_MARSHAL).cpp && \
491 echo timestamp > $(@F)
492
493stamp-webkitmarshal.h: $(WEBKIT_MARSHAL_LIST)
494 $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=webkit_marshal $(WEBKIT_MARSHAL_LIST) --header > $(WEBKIT_MARSHAL).h && \
495 echo timestamp > $(@F)
496
497WebKit/gtk/webkit/webkitenumtypes.h: stamp-webkitenumtypes.h
498 @true
499stamp-webkitenumtypes.h: $(webkitgtk_h_api) GNUmakefile
500 $(AM_V_GEN)glib-mkenums \
501 --fhead "#ifndef WEBKIT_ENUM_TYPES_H\n" \
502 --fhead "#define WEBKIT_ENUM_TYPES_H\n\n" \
503 --fhead "#include <glib-object.h>\n\n" \
504 --fhead "#include <webkit/webkitdefines.h>\n\n" \
505 --fhead "G_BEGIN_DECLS\n\n" \
506 --ftail "G_END_DECLS\n\n" \
507 --ftail "#endif\n" \
508 --fprod "#include <webkit/@basename@>\n\n" \
509 --eprod "#define WEBKIT_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n\n" \
510 --eprod "WEBKIT_API GType\n@enum_name@_get_type(void);\n\n" \
511 $(webkitgtk_h_api) | \
512 sed 's,web_kit,webkit,' | \
513 sed 's,WEBKIT_TYPE_KIT,WEBKIT_TYPE,' \
514 > xgen-gth \
515 && (cmp -s xgen-gth WebKit/gtk/webkit/webkitenumtypes.h || cp xgen-gth WebKit/gtk/webkit/webkitenumtypes.h) \
516 && rm -f xgen-gth \
517 && echo timestamp > $(@F)
518
519DerivedSources/webkitenumtypes.cpp: $(webkitgtk_h_api) GNUmakefile
520 $(AM_V_GEN)glib-mkenums \
521 --fhead "#include <config.h>\n" \
522 --fhead "#include <glib-object.h>\n" \
523 --fhead "#include \"$(top_builddir)/WebKit/gtk/webkit/webkitenumtypes.h\"\n\n" \
524 --fhead "extern \"C\" {\n\n" \
525 --fprod "\n/* enumerations from \"@filename@\" */" \
526 --vhead "static const G@Type@Value _@enum_name@_values[] = {" \
527 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
528 --vtail " { 0, NULL, NULL }\n};\n\n" \
529 --vtail "GType @enum_name@_get_type(void)\n{\n" \
530 --vtail " static GType type = 0;\n\n" \
531 --vtail " if (!type)\n" \
532 --vtail " type = g_@type@_register_static(\"@EnumName@\", _@enum_name@_values);\n\n" \
533 --vtail " return type;\n}\n\n" \
534 --ftail "}\n" \
535 $(webkitgtk_h_api) | \
536 sed 's,web_kit,webkit,' \
537 > xgen-gtc \
538 && cp xgen-gtc $@ \
539 && rm -f xgen-gtc
540
541WebKit/gtk/webkit/webkitdomenumtypes.h: stamp-webkitdomenumtypes.h
542 @true
543stamp-webkitdomenumtypes.h: $(libgdom_h_api) GNUmakefile
544 $(AM_V_GEN)glib-mkenums \
545 --fhead "#ifndef WEBKIT_DOM_ENUM_TYPES_H\n" \
546 --fhead "#define WEBKIT_DOM_ENUM_TYPES_H\n\n" \
547 --fhead "#include <glib-object.h>\n\n" \
548 --fhead "G_BEGIN_DECLS\n\n" \
549 --ftail "G_END_DECLS\n\n" \
550 --ftail "#endif\n" \
551 --fprod "#include <webkit/@basename@>\n\n" \
552 --eprod "#define WEBKIT_DOM_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n\n" \
553 --eprod "WEBKIT_API GType\n@enum_name@_get_type(void);n\n" \
554 $(libgdom_h_api) | \
555 sed 's,web_kit,webkit_dom,' | \
556 sed 's,WEBKIT_DOM_TYPE_KIT,WEBKIT_DOM_TYPE,' \
557 > xgen-cgth \
558 && (cmp -s xgen-cgth WebKit/gtk/webkit/webkitdomenumtypes.h || cp xgen-cgth WebKit/gtk/webkit/webkitdomenumtypes.h) \
559 && rm -f xgen-cgth \
560 && echo timestamp > $(@F)
561
562DerivedSources/webkitdomenumtypes.cpp: $(top_builddir)/WebKit/gtk/webkit/webkitdomenumtypes.h $(libgdom_h_api) GNUmakefile
563 $(AM_V_GEN)glib-mkenums \
564 --fhead "#include <config.h>\n" \
565 --fhead "#include <glib-object.h>\n" \
566 --fhead "#include \"$(top_builddir)/WebKit/gtk/webkit/webkitdomenumtypes.h\"\n\n" \
567 --fhead "extern \"C\" {\n\n" \
568 --fprod "\n/* enumerations from \"@filename@\" */" \
569 --vhead "static const G@Type@Value _@enum_name@_values] = {" \
570 --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
571 --vtail " { 0, NULL, NULL }\n};\n\n" \
572 --vtail "GType @enum_name@_get_type(void)\n{\n" \
573 --vtail " static GType type = 0;\n\n" \
574 --vtail " if (!type)\n" \
575 --vtail " type = g_@type@_register_static(\"@EnumName@\", _@enum_name@_values);\n\n" \
576 --vtail " return type;\n}\n\n" \
577 --ftail "}\n" \
578 $(libgdom_h_api) | \
579 sed 's,web_kit,webkitdom,' \
580 > xgen-cgtc \
581 && cp xgen-cgtc $@ \
582 && rm -f xgen-cgtc
583
584# Files that will be distributed
585EXTRA_DIST += \ 200EXTRA_DIST += \
586 $(srcdir)/gtk-doc.make \
587 WebKit/LICENSE \
588 $(javascriptcore_dist) \
589 $(webcore_dist) \
590 $(srcdir)/autotools/symbols.filter \ 201 $(srcdir)/autotools/symbols.filter \
591 $(srcdir)/WebKit/gtk/ChangeLog \ 202 $(srcdir)/gtk-doc.make \
592 $(srcdir)/WebKit/gtk/NEWS \ 203 $(srcdir)/WebKit/LICENSE
593 $(srcdir)/WebKit/gtk/webkitmarshal.list \
594 $(srcdir)/WebKit/gtk/docs/GNUmakefile.* \
595 $(srcdir)/WebKit/gtk/docs/webkitenvironment.xml \
596 $(srcdir)/WebKit/gtk/docs/webkitgtk-docs.sgml \
597 $(srcdir)/WebKit/gtk/docs/webkitgtk-sections.txt \
598 $(srcdir)/WebKit/gtk/docs/version.xml.in \
599 $(srcdir)/WebKit/gtk/po/* \
600 $(srcdir)/WebKit/gtk/resources/* \
601 $(srcdir)/WebKit/gtk/tests/resources/* \
602 $(srcdir)/WebKit/gtk/tests/test_utils.h
603
604# extra resource files
605resourcesdir = ${datadir}/webkit-@WEBKITGTK_API_VERSION@/resources
606dist_resources_DATA = \
607 $(shell ls $(srcdir)/WebKit/gtk/resources/*.html)
608
609# END WEBKIT GTK+
610 204
611# Include module makefiles 205# Include module makefiles
612include JavaScriptCore/GNUmakefile.am 206include JavaScriptCore/GNUmakefile.am
613include WebCore/GNUmakefile.am 207include WebCore/GNUmakefile.am
208include WebKit/gtk/GNUmakefile.am
209include WebCore/bindings/gobject/GNUmakefile.am
614include WebKitTools/GNUmakefile.am 210include WebKitTools/GNUmakefile.am
615include WebKit/gtk/po/GNUmakefile.am 211include WebKit/gtk/po/GNUmakefile.am
616 212
617# Build unit tests
618noinst_PROGRAMS += $(TEST_PROGS)
619
620webkit_tests_cflags = \
621 -fno-strict-aliasing \
622 -I$(srcdir)/JavaScriptCore/ForwardingHeaders \
623 -I$(srcdir)/WebKit/gtk \
624 -I$(top_builddir)/WebKit/gtk \
625 -I$(top_builddir)/DerivedSources \
626 -I$(top_srcdir)/WebCore/bindings \
627 -I$(top_srcdir)/WebCore/bindings/gobject \
628 $(global_cflags) \
629 $(GLIB_CFLAGS) \
630 $(GTK_CFLAGS) \
631 $(LIBSOUP_CFLAGS)
632
633webkit_tests_ldadd = \
634 libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
635 $(GTK_LIBS) \
636 $(GLIB_LIBS) \
637 $(LIBSOUP_LIBS)
638
639webkit_tests_ldflags = \
640 -no-install \
641 -no-fast-install
642
643TEST_PROGS += \
644 Programs/unittests/testdomdocument \
645 Programs/unittests/testdomdomwindow \
646 Programs/unittests/testdomnode \
647 Programs/unittests/testhttpbackend \
648 Programs/unittests/testloading \
649 Programs/unittests/testglobals \
650 Programs/unittests/testmimehandling \
651 Programs/unittests/testnetworkrequest \
652 Programs/unittests/testnetworkresponse \
653 Programs/unittests/testwebframe \
654 Programs/unittests/testwebbackforwardlist \
655 Programs/unittests/testwebhistoryitem \
656 Programs/unittests/testwindow \
657 Programs/unittests/testdownload \
658 Programs/unittests/testatk \
659 Programs/unittests/testatkroles \
660 Programs/unittests/testhittestresult \
661 Programs/unittests/testwebsettings \
662 Programs/unittests/testwebresource \
663 Programs/unittests/testwebdatasource \
664 Programs/unittests/testwebview \
665 Programs/unittests/testkeyevents \
666 Programs/unittests/testcopyandpaste
667
668# Add additional tests here
669Programs_unittests_testdomdocument_SOURCES = WebKit/gtk/tests/testdomdocument.c
670Programs_unittests_testdomdocument_CFLAGS = $(webkit_tests_cflags)
671Programs_unittests_testdomdocument_LDADD = $(webkit_tests_ldadd)
672Programs_unittests_testdomdocument_LDFLAGS = $(webkit_tests_ldflags)
673
674Programs_unittests_testdomdomwindow_SOURCES = WebKit/gtk/tests/testdomdomwindow.c
675Programs_unittests_testdomdomwindow_CFLAGS = $(webkit_tests_cflags)
676Programs_unittests_testdomdomwindow_LDADD = $(webkit_tests_ldadd)
677Programs_unittests_testdomdomwindow_LDFLAGS = $(webkit_tests_ldflags)
678
679Programs_unittests_testdomnode_SOURCES = WebKit/gtk/tests/testdomnode.c
680Programs_unittests_testdomnode_CFLAGS = $(webkit_tests_cflags)
681Programs_unittests_testdomnode_LDADD = $(webkit_tests_ldadd)
682Programs_unittests_testdomnode_LDFLAGS = $(webkit_tests_ldflags)
683
684Programs_unittests_testhttpbackend_SOURCES = WebKit/gtk/tests/testhttpbackend.c
685Programs_unittests_testhttpbackend_CFLAGS = $(webkit_tests_cflags)
686Programs_unittests_testhttpbackend_LDADD = $(webkit_tests_ldadd)
687Programs_unittests_testhttpbackend_LDFLAGS = $(webkit_tests_ldflags)
688
689Programs_unittests_testglobals_SOURCES = WebKit/gtk/tests/testglobals.c
690Programs_unittests_testglobals_CFLAGS = $(webkit_tests_cflags)
691Programs_unittests_testglobals_LDADD = $(webkit_tests_ldadd)
692Programs_unittests_testglobals_LDFLAGS = $(webkit_tests_ldflags)
693
694Programs_unittests_testloading_SOURCES = WebKit/gtk/tests/testloading.c
695Programs_unittests_testloading_CFLAGS = $(webkit_tests_cflags)
696Programs_unittests_testloading_LDADD = $(webkit_tests_ldadd)
697Programs_unittests_testloading_LDFLAGS = $(webkit_tests_ldflags)
698
699Programs_unittests_testmimehandling_SOURCES = WebKit/gtk/tests/testmimehandling.c WebKit/gtk/tests/test_utils.c
700Programs_unittests_testmimehandling_CFLAGS = $(webkit_tests_cflags)
701Programs_unittests_testmimehandling_LDADD = $(webkit_tests_ldadd)
702Programs_unittests_testmimehandling_LDFLAGS = $(webkit_tests_ldflags)
703
704Programs_unittests_testnetworkrequest_SOURCES = WebKit/gtk/tests/testnetworkrequest.c
705Programs_unittests_testnetworkrequest_CFLAGS = $(webkit_tests_cflags)
706Programs_unittests_testnetworkrequest_LDADD = $(webkit_tests_ldadd)
707Programs_unittests_testnetworkrequest_LDFLAGS = $(webkit_tests_ldflags)
708
709Programs_unittests_testnetworkresponse_SOURCES = WebKit/gtk/tests/testnetworkresponse.c
710Programs_unittests_testnetworkresponse_CFLAGS = $(webkit_tests_cflags)
711Programs_unittests_testnetworkresponse_LDADD = $(webkit_tests_ldadd)
712Programs_unittests_testnetworkresponse_LDFLAGS = $(webkit_tests_ldflags)
713
714Programs_unittests_testwebframe_SOURCES = WebKit/gtk/tests/testwebframe.c
715Programs_unittests_testwebframe_CFLAGS = $(webkit_tests_cflags)
716Programs_unittests_testwebframe_LDADD = $(webkit_tests_ldadd)
717Programs_unittests_testwebframe_LDFLAGS = $(webkit_tests_ldflags)
718
719Programs_unittests_testwebbackforwardlist_SOURCES = WebKit/gtk/tests/testwebbackforwardlist.c
720Programs_unittests_testwebbackforwardlist_CFLAGS = $(webkit_tests_cflags)
721Programs_unittests_testwebbackforwardlist_LDADD = $(webkit_tests_ldadd)
722Programs_unittests_testwebbackforwardlist_LDFLAGS = $(webkit_tests_ldflags)
723
724Programs_unittests_testwebhistoryitem_SOURCES = WebKit/gtk/tests/testwebhistoryitem.c
725Programs_unittests_testwebhistoryitem_CFLAGS = $(webkit_tests_cflags)
726Programs_unittests_testwebhistoryitem_LDADD = $(webkit_tests_ldadd)
727Programs_unittests_testwebhistoryitem_LDFLAGS = $(webkit_tests_ldflags)
728
729Programs_unittests_testwindow_SOURCES = WebKit/gtk/tests/testwindow.c
730Programs_unittests_testwindow_CFLAGS = $(webkit_tests_cflags)
731Programs_unittests_testwindow_LDADD = $(webkit_tests_ldadd)
732Programs_unittests_testwindow_LDFLAGS = $(webkit_tests_ldflags)
733
734Programs_unittests_testdownload_SOURCES = WebKit/gtk/tests/testdownload.c
735Programs_unittests_testdownload_CFLAGS = $(webkit_tests_cflags)
736Programs_unittests_testdownload_LDADD = $(webkit_tests_ldadd)
737Programs_unittests_testdownload_LDFLAGS = $(webkit_tests_ldflags)
738
739Programs_unittests_testatk_SOURCES = WebKit/gtk/tests/testatk.c
740Programs_unittests_testatk_CFLAGS = $(webkit_tests_cflags)
741Programs_unittests_testatk_LDADD = $(webkit_tests_ldadd)
742Programs_unittests_testatk_LDFLAGS = $(webkit_tests_ldflags)
743
744Programs_unittests_testatkroles_SOURCES = WebKit/gtk/tests/testatkroles.c
745Programs_unittests_testatkroles_CFLAGS = $(webkit_tests_cflags)
746Programs_unittests_testatkroles_LDADD = $(webkit_tests_ldadd)
747Programs_unittests_testatkroles_LDFLAGS = $(webkit_tests_ldflags)
748
749Programs_unittests_testwebsettings_SOURCES = WebKit/gtk/tests/testwebsettings.c
750Programs_unittests_testwebsettings_CFLAGS = $(webkit_tests_cflags)
751Programs_unittests_testwebsettings_LDADD = $(webkit_tests_ldadd)
752Programs_unittests_testwebsettings_LDFLAGS = $(webkit_tests_ldflags)
753
754Programs_unittests_testwebresource_SOURCES = WebKit/gtk/tests/testwebresource.c
755Programs_unittests_testwebresource_CFLAGS = $(webkit_tests_cflags)
756Programs_unittests_testwebresource_LDADD = $(webkit_tests_ldadd)
757
758Programs_unittests_testwebdatasource_SOURCES = WebKit/gtk/tests/testwebdatasource.c
759Programs_unittests_testwebdatasource_CFLAGS = $(webkit_tests_cflags)
760Programs_unittests_testwebdatasource_LDADD = $(webkit_tests_ldadd)
761
762Programs_unittests_testwebview_SOURCES = WebKit/gtk/tests/testwebview.c WebKit/gtk/tests/test_utils.c
763Programs_unittests_testwebview_CFLAGS = $(webkit_tests_cflags)
764Programs_unittests_testwebview_LDADD = $(webkit_tests_ldadd)
765Programs_unittests_testwebview_LDFLAGS = $(webkit_tests_ldflags)
766
767Programs_unittests_testhittestresult_SOURCES = WebKit/gtk/tests/testhittestresult.c
768Programs_unittests_testhittestresult_CFLAGS = $(webkit_tests_cflags)
769Programs_unittests_testhittestresult_LDADD = $(webkit_tests_ldadd)
770
771Programs_unittests_testkeyevents_SOURCES = WebKit/gtk/tests/testkeyevents.c
772Programs_unittests_testkeyevents_CFLAGS = $(webkit_tests_cflags)
773Programs_unittests_testkeyevents_LDADD = $(webkit_tests_ldadd)
774Programs_unittests_testkeyevents_LDFLAGS = $(webkit_tests_ldflags)
775
776Programs_unittests_testcopyandpaste_SOURCES = WebKit/gtk/tests/testcopyandpaste.c
777Programs_unittests_testcopyandpaste_CFLAGS = $(webkit_tests_cflags)
778Programs_unittests_testcopyandpaste_LDADD = $(webkit_tests_ldadd)
779Programs_unittests_testcopyandpaste_LDFLAGS = $(webkit_tests_ldflags)
780
781# Autogenerated sources 213# Autogenerated sources
782BUILT_SOURCES += \ 214BUILT_SOURCES += \
783 $(javascriptcore_built_sources) \ 215 $(javascriptcore_built_sources) \
@@ -785,21 +217,17 @@ BUILT_SOURCES += \
785 $(webcore_built_sources) \ 217 $(webcore_built_sources) \
786 $(webcore_built_nosources) \ 218 $(webcore_built_nosources) \
787 $(webkitgtk_built_sources) \ 219 $(webkitgtk_built_sources) \
788 $(webkitgtk_built_nosources) \ 220 $(webkitgtk_built_nosources)
789 $(gdom_built_nosources)
790
791# Project-wide clean rules
792# Files that will be cleaned
793CLEANFILES += \
794 $(BUILT_SOURCES) \
795 $(webkitgtk_cleanfiles) \
796 $(libgdom_cleanfiles)
797 221
798DISTCLEANFILES += \ 222DISTCLEANFILES += \
799 $(CLEANFILES) 223 $(CLEANFILES) \
224 $(builddir)/doltcompile \
225 $(builddir)/doltlibtool
800 226
801MAINTAINERCLEANFILES += \ 227MAINTAINERCLEANFILES += \
802 $(CLEANFILES) \ 228 $(CLEANFILES) \
229 $(builddir)/doltcompile \
230 $(builddir)/doltlibtool \
803 $(srcdir)/aconfig.h.in \ 231 $(srcdir)/aconfig.h.in \
804 $(srcdir)/autotools/config.* \ 232 $(srcdir)/autotools/config.* \
805 $(srcdir)/autotools/compile \ 233 $(srcdir)/autotools/compile \
@@ -814,7 +242,7 @@ MAINTAINERCLEANFILES += \
814 242
815# Older automake versions (1.7) place Plo files in a different place so we need 243# Older automake versions (1.7) place Plo files in a different place so we need
816# to create the output directory manually. 244# to create the output directory manually.
817all-local: stamp-po 245all-local:
818 $(mkdir_p) $(top_builddir)/$(DEPDIR)/DerivedSources 246 $(mkdir_p) $(top_builddir)/$(DEPDIR)/DerivedSources
819 247
820# remove built sources and program directories 248# remove built sources and program directories
@@ -822,35 +250,5 @@ clean-local:
822 -rm -rf $(GENPROGRAMS) 250 -rm -rf $(GENPROGRAMS)
823 251
824maintainer-clean-local: distclean-local 252maintainer-clean-local: distclean-local
825
826distclean-local: 253distclean-local:
827 -rm -rf $(GENSOURCES) $(GENPROGRAMS) 254 -rm -rf $(GENSOURCES) $(GENPROGRAMS)
828
829dist-hook:
830 cp $(srcdir)/WebKit/gtk/NEWS $(distdir)/
831
832install-data-local: po-install-data-local
833
834installdirs-data-local: po-installdirs-data-local
835
836uninstall-local: po-uninstall-local
837
838# Run all tests in cwd
839# FIXME: we should run this under xvfb
840test: $(TEST_PROGS)
841 $(GTESTER) --verbose $(TEST_PROGS);
842
843# test-report: run tests in cwd and generate report
844# full-report: run tests in cwd with -m perf and -m slow and generate report
845# perf-report: run tests in cwd with -m perf and generate report
846test-report full-report perf-report: $(TEST_PROGS)
847 @ case $@ in \
848 test-report) test_options="-k";; \
849 full-report) test_options="-k -m=perf";; \
850 perf-report) test_options="-k -m=perf -m=slow";; \
851 esac ; \
852 $(GTESTER) --verbose $$test_options -o test-report.xml $(TEST_PROGS); \
853 $(GTESTER_REPORT) test-report.xml > test-report.html ;
854
855.PHONY: test test-report perf-report full-report
856check-local: test
diff --git a/meta/recipes-sato/webkit/files/Makefile b/meta/recipes-sato/webkit/files/Makefile
index 1e50d1d358..cdee9da7a6 100644
--- a/meta/recipes-sato/webkit/files/Makefile
+++ b/meta/recipes-sato/webkit/files/Makefile
@@ -1,4 +1,4 @@
1MODULES = JavaScriptCore JavaScriptGlue WebCore WebKit WebKit2 WebKitTools 1MODULES = JavaScriptCore JavaScriptGlue ANGLE WebCore WebKit WebKit2 WebKitTools
2 2
3all: 3all:
4 @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \ 4 @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
diff --git a/meta/recipes-sato/webkit/files/autogen.sh b/meta/recipes-sato/webkit/files/autogen.sh
index 97beb209d2..60b163d550 100755
--- a/meta/recipes-sato/webkit/files/autogen.sh
+++ b/meta/recipes-sato/webkit/files/autogen.sh
@@ -10,7 +10,7 @@ cd $srcdir
10 10
11GTKDOCIZE_FLAGS="--copy" 11GTKDOCIZE_FLAGS="--copy"
12LIBTOOLIZE_FLAGS="--force --automake" 12LIBTOOLIZE_FLAGS="--force --automake"
13ACLOCAL_FLAGS="-I autotools" 13ACLOCAL_FLAGS="-I autotools $ACLOCAL_FLAGS"
14AUTOMAKE_FLAGS="--foreign --add-missing" 14AUTOMAKE_FLAGS="--foreign --add-missing"
15 15
16DIE=0 16DIE=0
diff --git a/meta/recipes-sato/webkit/files/configure.ac b/meta/recipes-sato/webkit/files/configure.ac
index d4f3e749fc..bb703b4bf7 100644
--- a/meta/recipes-sato/webkit/files/configure.ac
+++ b/meta/recipes-sato/webkit/files/configure.ac
@@ -2,14 +2,14 @@ AC_PREREQ(2.59)
2 2
3m4_define([webkit_major_version], [1]) 3m4_define([webkit_major_version], [1])
4m4_define([webkit_minor_version], [3]) 4m4_define([webkit_minor_version], [3])
5m4_define([webkit_micro_version], [2]) 5m4_define([webkit_micro_version], [7])
6 6
7# This is the version we'll be using as part of our User-Agent string 7# This is the version we'll be using as part of our User-Agent string
8# e.g., AppleWebKit/$(webkit_user_agent_version) ... 8# e.g., AppleWebKit/$(webkit_user_agent_version) ...
9# 9#
10# Sourced from WebCore/Configurations/Version.xcconfig 10# Sourced from WebCore/Configurations/Version.xcconfig
11m4_define([webkit_user_agent_major_version], [531]) 11m4_define([webkit_user_agent_major_version], [534])
12m4_define([webkit_user_agent_minor_version], [2]) 12m4_define([webkit_user_agent_minor_version], [7])
13 13
14AC_INIT([WebKit],[webkit_major_version.webkit_minor_version.webkit_micro_version],[http://bugs.webkit.org/]) 14AC_INIT([WebKit],[webkit_major_version.webkit_minor_version.webkit_micro_version],[http://bugs.webkit.org/])
15 15
@@ -34,8 +34,8 @@ AC_SUBST(WEBKIT_USER_AGENT_MINOR_VERSION)
34AC_CONFIG_SRCDIR([WebCore/config.h]) 34AC_CONFIG_SRCDIR([WebCore/config.h])
35 35
36dnl # Libtool library version, not to confuse with API version 36dnl # Libtool library version, not to confuse with API version
37dnl # see http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html#Libtool-versioning 37dnl # see http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html
38LIBWEBKITGTK_VERSION=0:0:0 38LIBWEBKITGTK_VERSION=4:0:4
39AC_SUBST([LIBWEBKITGTK_VERSION]) 39AC_SUBST([LIBWEBKITGTK_VERSION])
40 40
41AM_INIT_AUTOMAKE([foreign subdir-objects tar-ustar]) 41AM_INIT_AUTOMAKE([foreign subdir-objects tar-ustar])
@@ -82,6 +82,8 @@ WEBKIT_INIT
82AC_DISABLE_STATIC 82AC_DISABLE_STATIC
83AC_LIBTOOL_WIN32_DLL 83AC_LIBTOOL_WIN32_DLL
84AC_PROG_LIBTOOL 84AC_PROG_LIBTOOL
85# use dolt to speedup the build
86DOLT
85 87
86AC_PATH_PROG(FLEX, flex) 88AC_PATH_PROG(FLEX, flex)
87if test -z "$FLEX"; then 89if test -z "$FLEX"; then
@@ -165,6 +167,17 @@ if test "$png_ok" != yes; then
165fi 167fi
166AC_SUBST([PNG_LIBS]) 168AC_SUBST([PNG_LIBS])
167 169
170
171if test "$os_win32" = "yes"; then
172 WINMM_LIBS=-lwinmm
173 SHLWAPI_LIBS=-lshlwapi
174 OLE32_LIBS=-lole32
175fi
176AC_SUBST([WINMM_LIBS])
177AC_SUBST([SHLWAPI_LIBS])
178AC_SUBST([OLE32_LIBS])
179
180
168# determine the GTK+ version to use 181# determine the GTK+ version to use
169AC_MSG_CHECKING([the GTK+ version to use]) 182AC_MSG_CHECKING([the GTK+ version to use])
170AC_ARG_WITH([gtk], 183AC_ARG_WITH([gtk],
@@ -186,7 +199,7 @@ case "$with_gtk" in
186 GAIL_PC_NAME=gail 199 GAIL_PC_NAME=gail
187 GAIL_REQUIRED_VERSION=1.8 200 GAIL_REQUIRED_VERSION=1.8
188 ;; 201 ;;
189 3.0) GTK_REQUIRED_VERSION=2.90 202 3.0) GTK_REQUIRED_VERSION=2.91
190 GTK_API_VERSION=3.0 203 GTK_API_VERSION=3.0
191 WEBKITGTK_API_MAJOR_VERSION=3 204 WEBKITGTK_API_MAJOR_VERSION=3
192 WEBKITGTK_API_MINOR_VERSION=0 205 WEBKITGTK_API_MINOR_VERSION=0
@@ -258,7 +271,17 @@ ENCHANT_REQUIRED_VERSION=0.22
258# todo: webcore gtk 271# todo: webcore gtk
259WEBKIT_CHECK_DEPENDENCIES([glib unicode]) 272WEBKIT_CHECK_DEPENDENCIES([glib unicode])
260 273
261GETTEXT_PACKAGE=$PACKAGE 274# Check if we can use GSettings
275PKG_CHECK_MODULES([GSETTINGS],
276 [gio-2.0 >= 2.25.0],
277 [have_gsettings=yes],
278 [have_gsettings=no])
279if test "$have_gsettings" = "yes"; then
280 AC_DEFINE([HAVE_GSETTINGS], 1, [Whether we can use GSettings])
281 GLIB_GSETTINGS
282fi
283
284GETTEXT_PACKAGE=$PACKAGE-$GTK_API_VERSION
262AC_SUBST(GETTEXT_PACKAGE) 285AC_SUBST(GETTEXT_PACKAGE)
263AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", 286AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",
264 [The gettext catalog name]) 287 [The gettext catalog name])
@@ -430,14 +453,6 @@ AC_ARG_ENABLE(datalist,
430 [],[enable_datalist="yes"]) 453 [],[enable_datalist="yes"])
431AC_MSG_RESULT([$enable_datalist]) 454AC_MSG_RESULT([$enable_datalist])
432 455
433# check whether to enable HTML5 ruby support
434AC_MSG_CHECKING([whether to enable HTML5 ruby support])
435AC_ARG_ENABLE(ruby,
436 AC_HELP_STRING([--enable-ruby],
437 [enable HTML5 ruby support [default=yes]]),
438 [],[enable_ruby="yes"])
439AC_MSG_RESULT([$enable_ruby])
440
441# check whether to enable HTML5 sandbox iframe support 456# check whether to enable HTML5 sandbox iframe support
442AC_MSG_CHECKING([whether to enable HTML5 sandboxed iframe support]) 457AC_MSG_CHECKING([whether to enable HTML5 sandboxed iframe support])
443AC_ARG_ENABLE(sandbox, 458AC_ARG_ENABLE(sandbox,
@@ -526,6 +541,22 @@ AC_ARG_ENABLE(workers,
526 [],[enable_workers="yes"]) 541 [],[enable_workers="yes"])
527AC_MSG_RESULT([$enable_workers]) 542AC_MSG_RESULT([$enable_workers])
528 543
544# check whether to enable directory upload support
545AC_MSG_CHECKING([whether to enable directory upload support])
546AC_ARG_ENABLE(directory_upload,
547 AC_HELP_STRING([--enable-directory-upload],
548 [enable support for directory upload [default=no]]),
549 [], [enable_directory_upload="no"])
550AC_MSG_RESULT([$enable_directory_upload])
551
552# check whether to enable HTML5 FileSystem API support
553AC_MSG_CHECKING([whether to enable HTML5 FileSystem API support])
554AC_ARG_ENABLE(file_system,
555 AC_HELP_STRING([--enable-file-system],
556 [enable support for HTML5 FileSystem API [default=no]]),
557 [], [enable_file_system="no"])
558AC_MSG_RESULT([$enable_file_system])
559
529# turn off svg features if --disable-svg is requested 560# turn off svg features if --disable-svg is requested
530if test "$enable_svg" = "no"; then 561if test "$enable_svg" = "no"; then
531 enable_svg_animation=no 562 enable_svg_animation=no
@@ -600,8 +631,8 @@ fi
600AC_MSG_CHECKING([whether to enable Web Sockets support]) 631AC_MSG_CHECKING([whether to enable Web Sockets support])
601AC_ARG_ENABLE(web_sockets, 632AC_ARG_ENABLE(web_sockets,
602 AC_HELP_STRING([--enable-web-sockets], 633 AC_HELP_STRING([--enable-web-sockets],
603 [enable support for Web Sockets [default=no]]), 634 [enable support for Web Sockets [default=yes]]),
604 [],[enable_web_sockets="no"]) 635 [],[enable_web_sockets="yes"])
605AC_MSG_RESULT([$enable_web_sockets]) 636AC_MSG_RESULT([$enable_web_sockets])
606 637
607# check whether to enable Web Timing support 638# check whether to enable Web Timing support
@@ -612,13 +643,13 @@ AC_ARG_ENABLE(web_timing,
612 [],[enable_web_timing="no"]) 643 [],[enable_web_timing="no"])
613AC_MSG_RESULT([$enable_web_timing]) 644AC_MSG_RESULT([$enable_web_timing])
614 645
615# check whether to enable Blob.slice support 646# check whether to enable Blob support
616AC_MSG_CHECKING([whether to enable Blob.slice support]) 647AC_MSG_CHECKING([whether to enable Blob support])
617AC_ARG_ENABLE(blob_slice, 648AC_ARG_ENABLE(blob,
618 AC_HELP_STRING([--enable-blob-slice], 649 AC_HELP_STRING([--enable-blob],
619 [enable support for Blob.slice [default=no]]), 650 [enable support for Blob [default=no]]),
620 [],[enable_blob_slice="no"]) 651 [],[enable_blob="no"])
621AC_MSG_RESULT([$enable_blob_slice]) 652AC_MSG_RESULT([$enable_blob])
622 653
623# check whether to enable Fast Mobile Scrolling support 654# check whether to enable Fast Mobile Scrolling support
624AC_MSG_CHECKING([whether to enable Fast Mobile Scrolling]) 655AC_MSG_CHECKING([whether to enable Fast Mobile Scrolling])
@@ -628,22 +659,6 @@ AC_ARG_ENABLE(fast_mobile_scrolling,
628 [],[enable_fast_mobile_scrolling="no"]) 659 [],[enable_fast_mobile_scrolling="no"])
629AC_MSG_RESULT([$enable_fast_mobile_scrolling]) 660AC_MSG_RESULT([$enable_fast_mobile_scrolling])
630 661
631# check whether to enable FileReader support
632AC_MSG_CHECKING([whether to enable FileReader support])
633AC_ARG_ENABLE(file_reader,
634 AC_HELP_STRING([--enable-file-reader],
635 [enable support for FileReader [default=no]]),
636 [],[enable_file_reader="no"])
637AC_MSG_RESULT([$enable_file_reader])
638
639# check whether to enable FileWriter support
640AC_MSG_CHECKING([whether to enable FileWriter support])
641AC_ARG_ENABLE(file_writer,
642 AC_HELP_STRING([--enable-file-writer],
643 [enable support for FileWriter [default=no]]),
644 [],[enable_file_writer="no"])
645AC_MSG_RESULT([$enable_file_writer])
646
647# check whether to enable code coverage 662# check whether to enable code coverage
648AC_MSG_CHECKING([whether to enable code coverage support]) 663AC_MSG_CHECKING([whether to enable code coverage support])
649AC_ARG_ENABLE(coverage, 664AC_ARG_ENABLE(coverage,
@@ -667,6 +682,11 @@ AC_ARG_ENABLE([jit],
667 [],[enable_jit="yes"]) 682 [],[enable_jit="yes"])
668if test "$enable_jit" = "yes"; then 683if test "$enable_jit" = "yes"; then
669 case "$host_cpu" in 684 case "$host_cpu" in
685 arm*)
686 AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT])
687 AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR])
688 AC_DEFINE([ENABLE_YARR_JIT], [1], [Define to enable YARR JIT])
689 ;;
670 i*86|x86_64) 690 i*86|x86_64)
671 AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT]) 691 AC_DEFINE([ENABLE_JIT], [1], [Define to enable JIT])
672 AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR]) 692 AC_DEFINE([ENABLE_YARR], [1], [Define to enable YARR])
@@ -688,9 +708,36 @@ if test "$enable_jit" = "yes"; then
688 enable_jit="no (CPU '$host_cpu' not supported)" 708 enable_jit="no (CPU '$host_cpu' not supported)"
689 ;; 709 ;;
690 esac 710 esac
711else
712 AC_DEFINE([ENABLE_JIT], [0], [Define to enable JIT])
691fi 713fi
692AC_MSG_RESULT([$enable_jit]) 714AC_MSG_RESULT([$enable_jit])
693 715
716# Opcode stats
717AC_MSG_CHECKING([whether to enable opcode stats])
718AC_ARG_ENABLE([opcode-stats],
719 [AS_HELP_STRING([--enable-opcode-stats], [Enable Opcode statistics (default: disabled)])],
720 [], [enable_opcode_stats=no])
721AC_MSG_RESULT([$enable_opcode_stats])
722
723if test "$enable_opcode_stats" = "yes"; then
724 if test "$enable_jit" = "yes"; then
725 AC_MSG_ERROR([JIT must be disabled for Opcode stats to work.])
726 fi
727 AC_DEFINE([ENABLE_OPCODE_STATS], [1], [Define to enable Opcode statistics])
728fi
729
730# Link prefetch
731AC_MSG_CHECKING([whether to enable link prefetch support])
732AC_ARG_ENABLE([link-prefetch],
733 [AS_HELP_STRING([--enable-link-prefetch], [Enable Link prefetch support (default: disabled)])],
734 [],[enable_link_prefetch=no])
735AC_MSG_RESULT([$enable_link_prefetch])
736
737if test "$enable_link_prefetch" = "yes"; then
738 AC_DEFINE([ENABLE_LINK_PREFETCH], [1], [Define to enable link prefetch support])
739fi
740
694# GObject Introspection 741# GObject Introspection
695AC_MSG_CHECKING([whether to enable GObject introspection support]) 742AC_MSG_CHECKING([whether to enable GObject introspection support])
696AC_ARG_ENABLE([introspection], 743AC_ARG_ENABLE([introspection],
@@ -705,7 +752,7 @@ GIRDIR=
705GIRTYPELIBDIR= 752GIRTYPELIBDIR=
706 753
707if test "$enable_introspection" = "yes"; then 754if test "$enable_introspection" = "yes"; then
708 GOBJECT_INTROSPECTION_REQUIRED=0.6.15 755 GOBJECT_INTROSPECTION_REQUIRED=0.9.5
709 PKG_CHECK_MODULES([INTROSPECTION],[gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED]) 756 PKG_CHECK_MODULES([INTROSPECTION],[gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED])
710 757
711 G_IR_SCANNER="$($PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0)" 758 G_IR_SCANNER="$($PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0)"
@@ -816,9 +863,13 @@ if test "$enable_video" = "yes"; then
816 [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION 863 [gstreamer-0.10 >= $GSTREAMER_REQUIRED_VERSION
817 gstreamer-app-0.10 864 gstreamer-app-0.10
818 gstreamer-base-0.10 865 gstreamer-base-0.10
866 gstreamer-interfaces-0.10
819 gstreamer-pbutils-0.10 867 gstreamer-pbutils-0.10
820 gstreamer-plugins-base-0.10 >= $GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION 868 gstreamer-plugins-base-0.10 >= $GSTREAMER_PLUGINS_BASE_REQUIRED_VERSION
821 gstreamer-video-0.10]) 869 gstreamer-video-0.10],
870 [have_gstreamer=yes],
871 [have_gstreamer=no])
872
822 AC_SUBST([GSTREAMER_CFLAGS]) 873 AC_SUBST([GSTREAMER_CFLAGS])
823 AC_SUBST([GSTREAMER_LIBS]) 874 AC_SUBST([GSTREAMER_LIBS])
824fi 875fi
@@ -859,18 +910,26 @@ AM_CONDITIONAL([USE_GLIB_UNICODE], [test "$with_unicode_backend" = "glib"])
859AM_CONDITIONAL([USE_FREETYPE], [test "$with_font_backend" = "freetype"]) 910AM_CONDITIONAL([USE_FREETYPE], [test "$with_font_backend" = "freetype"])
860AM_CONDITIONAL([USE_PANGO], [test "$with_font_backend" = "pango"]) 911AM_CONDITIONAL([USE_PANGO], [test "$with_font_backend" = "pango"])
861 912
913# GLib/GIO feature conditionals
914AM_CONDITIONAL([USE_GSETTINGS], [test "$have_gsettings" = "yes"])
915
916# GStreamer feature conditional
917AM_CONDITIONAL([USE_GSTREAMER], [test "$have_gstreamer" = "yes"])
918
862# WebKit feature conditionals 919# WebKit feature conditionals
863AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug" = "yes"]) 920AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug" = "yes"])
864AM_CONDITIONAL([ENABLE_3D_TRANSFORMS],[test "$enable_3D_transforms" = "yes"]) 921AM_CONDITIONAL([ENABLE_3D_TRANSFORMS],[test "$enable_3D_transforms" = "yes"])
865AM_CONDITIONAL([ENABLE_BLOB_SLICE],[test "$enable_blob_slice" = "yes"]) 922AM_CONDITIONAL([ENABLE_BLOB],[test "$enable_blob" = "yes"])
866AM_CONDITIONAL([ENABLE_CHANNEL_MESSAGING],[test "$enable_channel_messaging" = "yes"]) 923AM_CONDITIONAL([ENABLE_CHANNEL_MESSAGING],[test "$enable_channel_messaging" = "yes"])
867AM_CONDITIONAL([ENABLE_JAVASCRIPT_DEBUGGER],[test "$enable_javascript_debugger" = "yes"]) 924AM_CONDITIONAL([ENABLE_JAVASCRIPT_DEBUGGER],[test "$enable_javascript_debugger" = "yes"])
868AM_CONDITIONAL([ENABLE_OFFLINE_WEB_APPLICATIONS],[test "$enable_offline_web_applications" = "yes"]) 925AM_CONDITIONAL([ENABLE_OFFLINE_WEB_APPLICATIONS],[test "$enable_offline_web_applications" = "yes"])
926AM_CONDITIONAL([ENABLE_DIRECTORY_UPLOAD],[test "$enable_directory_upload" = "yes"])
869AM_CONDITIONAL([ENABLE_DOM_STORAGE],[test "$enable_dom_storage" = "yes"]) 927AM_CONDITIONAL([ENABLE_DOM_STORAGE],[test "$enable_dom_storage" = "yes"])
870AM_CONDITIONAL([ENABLE_DATABASE],[test "$enable_database" = "yes"]) 928AM_CONDITIONAL([ENABLE_DATABASE],[test "$enable_database" = "yes"])
871AM_CONDITIONAL([ENABLE_DATALIST],[test "$enable_datalist" = "yes"]) 929AM_CONDITIONAL([ENABLE_DATALIST],[test "$enable_datalist" = "yes"])
872AM_CONDITIONAL([ENABLE_EVENTSOURCE],[test "$enable_eventsource" = "yes"]) 930AM_CONDITIONAL([ENABLE_EVENTSOURCE],[test "$enable_eventsource" = "yes"])
873AM_CONDITIONAL([ENABLE_FAST_MOBILE_SCROLLING],[test "$enable_fast_mobile_scrolling" = "yes"]) 931AM_CONDITIONAL([ENABLE_FAST_MOBILE_SCROLLING],[test "$enable_fast_mobile_scrolling" = "yes"])
932AM_CONDITIONAL([ENABLE_FILE_SYSTEM],[test "$enable_file_system" = "yes"])
874AM_CONDITIONAL([ENABLE_ICONDATABASE],[test "$enable_icon_database" = "yes"]) 933AM_CONDITIONAL([ENABLE_ICONDATABASE],[test "$enable_icon_database" = "yes"])
875AM_CONDITIONAL([ENABLE_IMAGE_RESIZER],[test "$enable_image_resizer" = "yes"]) 934AM_CONDITIONAL([ENABLE_IMAGE_RESIZER],[test "$enable_image_resizer" = "yes"])
876AM_CONDITIONAL([ENABLE_INDEXED_DATABASE],[test "$enable_indexed_database" = "yes"]) 935AM_CONDITIONAL([ENABLE_INDEXED_DATABASE],[test "$enable_indexed_database" = "yes"])
@@ -879,12 +938,8 @@ AM_CONDITIONAL([ENABLE_XHTMLMP],[test "$enable_xhtmlmp" = "yes"])
879AM_CONDITIONAL([ENABLE_XPATH],[test "$enable_xpath" = "yes"]) 938AM_CONDITIONAL([ENABLE_XPATH],[test "$enable_xpath" = "yes"])
880AM_CONDITIONAL([ENABLE_XSLT],[test "$enable_xslt" = "yes"]) 939AM_CONDITIONAL([ENABLE_XSLT],[test "$enable_xslt" = "yes"])
881AM_CONDITIONAL([ENABLE_FILTERS],[test "$enable_filters" = "yes"]) 940AM_CONDITIONAL([ENABLE_FILTERS],[test "$enable_filters" = "yes"])
882AM_CONDITIONAL([ENABLE_FILE_READER],[test "$enable_file_reader" = "yes"])
883AM_CONDITIONAL([ENABLE_FILE_WRITER],[test "$enable_file_writer" = "yes"])
884AM_CONDITIONAL([ENABLE_GEOLOCATION], [test "$enable_geolocation" = "yes"]) 941AM_CONDITIONAL([ENABLE_GEOLOCATION], [test "$enable_geolocation" = "yes"])
885AM_CONDITIONAL([ENABLE_MATHML], [test "$enable_mathml" = "yes"]) 942AM_CONDITIONAL([ENABLE_MATHML], [test "$enable_mathml" = "yes"])
886AM_CONDITIONAL([ENABLE_RUBY],[test "$enable_ruby" = "yes"])
887AM_CONDITIONAL([ENABLE_SANDBOX],[test "$enable_sandbox" = "yes"])
888AM_CONDITIONAL([ENABLE_VIDEO],[test "$enable_video" = "yes"]) 943AM_CONDITIONAL([ENABLE_VIDEO],[test "$enable_video" = "yes"])
889AM_CONDITIONAL([ENABLE_NOTIFICATIONS],[test "$enable_notifications" = "yes"]) 944AM_CONDITIONAL([ENABLE_NOTIFICATIONS],[test "$enable_notifications" = "yes"])
890AM_CONDITIONAL([ENABLE_ORIENTATION_EVENTS],[test "$enable_orientation_events" = "yes"]) 945AM_CONDITIONAL([ENABLE_ORIENTATION_EVENTS],[test "$enable_orientation_events" = "yes"])
@@ -903,6 +958,7 @@ AM_CONDITIONAL([SVG_FLAGS],[test "$svg_flags" = "yes"])
903AM_CONDITIONAL([HTML_FLAGS],[test "$html_flags" = "yes"]) 958AM_CONDITIONAL([HTML_FLAGS],[test "$html_flags" = "yes"])
904AM_CONDITIONAL([ENABLE_WEB_SOCKETS],[test "$enable_web_sockets" = "yes"]) 959AM_CONDITIONAL([ENABLE_WEB_SOCKETS],[test "$enable_web_sockets" = "yes"])
905AM_CONDITIONAL([ENABLE_WEB_TIMING],[test "$enable_web_timing" = "yes"]) 960AM_CONDITIONAL([ENABLE_WEB_TIMING],[test "$enable_web_timing" = "yes"])
961AM_CONDITIONAL([ENABLE_OPCODE_STATS],[test "$enable_opcode_stats" = "yes"])
906 962
907# Gtk conditionals 963# Gtk conditionals
908AM_CONDITIONAL([ENABLE_INTROSPECTION],[test "$enable_introspection" = "yes"]) 964AM_CONDITIONAL([ENABLE_INTROSPECTION],[test "$enable_introspection" = "yes"])
@@ -918,7 +974,9 @@ WebKit/gtk/docs/version.xml
918 974
919AC_CONFIG_FILES([ 975AC_CONFIG_FILES([
920WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:WebKit/gtk/webkit.pc.in 976WebKit/gtk/${WEBKITGTK_PC_NAME}-${WEBKITGTK_API_VERSION}.pc:WebKit/gtk/webkit.pc.in
921WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:WebKit/gtk/JSCore.gir.in] 977WebKit/gtk/JSCore-${WEBKITGTK_API_VERSION}.gir:WebKit/gtk/JSCore.gir.in
978WebKit/gtk/org.webkitgtk-${WEBKITGTK_API_VERSION}.gschema.xml:WebKit/gtk/org.webkitgtk.gschema.xml.in
979]
922,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME] 980,[WEBKITGTK_API_VERSION=$WEBKITGTK_API_VERSION,WEBKITGTK_PC_NAME=$WEBKITGTK_PC_NAME]
923) 981)
924 982
@@ -936,12 +994,11 @@ Build configuration:
936 Optimized memory allocator : $enable_fast_malloc 994 Optimized memory allocator : $enable_fast_malloc
937Features: 995Features:
938 3D Transforms : $enable_3D_transforms 996 3D Transforms : $enable_3D_transforms
939 Blob.slice support : $enable_blob_slice 997 Blob support : $enable_blob
998 Directory upload : $enable_directory_upload
940 Fast Mobile Scrolling : $enable_fast_mobile_scrolling 999 Fast Mobile Scrolling : $enable_fast_mobile_scrolling
941 JIT compilation : $enable_jit 1000 JIT compilation : $enable_jit
942 Filters support : $enable_filters 1001 Filters support : $enable_filters
943 FileReader support : $enable_file_reader
944 FileWriter support : $enable_file_writer
945 Geolocation support : $enable_geolocation 1002 Geolocation support : $enable_geolocation
946 JavaScript debugger/profiler support : $enable_javascript_debugger 1003 JavaScript debugger/profiler support : $enable_javascript_debugger
947 MathML support : $enable_mathml 1004 MathML support : $enable_mathml
@@ -949,12 +1006,14 @@ Features:
949 HTML5 channel messaging support : $enable_channel_messaging 1006 HTML5 channel messaging support : $enable_channel_messaging
950 HTML5 client-side session and persistent storage support : $enable_dom_storage 1007 HTML5 client-side session and persistent storage support : $enable_dom_storage
951 HTML5 client-side database storage support : $enable_database 1008 HTML5 client-side database storage support : $enable_database
952 HTML5 ruby support : $enable_ruby 1009 HTML5 FileSystem API support : $enable_file_system
953 HTML5 sandboxed iframe support : $enable_sandbox 1010 HTML5 sandboxed iframe support : $enable_sandbox
954 HTML5 server-sent events support : $enable_eventsource 1011 HTML5 server-sent events support : $enable_eventsource
955 HTML5 video element support : $enable_video 1012 HTML5 video element support : $enable_video
956 Icon database support : $enable_icon_database 1013 Icon database support : $enable_icon_database
957 Image resizer support : $enable_image_resizer 1014 Image resizer support : $enable_image_resizer
1015 Link prefetch support : $enable_link_prefetch
1016 Opcode stats : $enable_opcode_stats
958 SharedWorkers support : $enable_shared_workers 1017 SharedWorkers support : $enable_shared_workers
959 Speech input support : $enable_input_speech 1018 Speech input support : $enable_input_speech
960 SVG support : $enable_svg 1019 SVG support : $enable_svg
@@ -970,6 +1029,7 @@ Features:
970 XHTML-MP support : $enable_xhtmlmp 1029 XHTML-MP support : $enable_xhtmlmp
971 XPATH support : $enable_xpath 1030 XPATH support : $enable_xpath
972 XSLT support : $enable_xslt 1031 XSLT support : $enable_xslt
1032
973GTK+ configuration: 1033GTK+ configuration:
974 GTK+ version : $with_gtk 1034 GTK+ version : $with_gtk
975 GDK target : $with_target 1035 GDK target : $with_target
diff --git a/meta/recipes-sato/webkit/files/nodolt.patch b/meta/recipes-sato/webkit/files/nodolt.patch
new file mode 100644
index 0000000000..53313671f4
--- /dev/null
+++ b/meta/recipes-sato/webkit/files/nodolt.patch
@@ -0,0 +1,16 @@
1Dolt cause build error on some platform, so disable it.
2
3Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
4Index: webkit-gtk-1.3.7+svnr72836-r72836-r0/configure.ac
5===================================================================
6--- webkit-gtk-1.3.7+svnr72836-r72836-r0.orig/configure.ac 2011-01-21 11:11:07.000000000 +0800
7+++ webkit-gtk-1.3.7+svnr72836-r72836-r0/configure.ac 2011-01-21 11:11:15.000000000 +0800
8@@ -82,8 +82,6 @@
9 AC_DISABLE_STATIC
10 AC_LIBTOOL_WIN32_DLL
11 AC_PROG_LIBTOOL
12-# use dolt to speedup the build
13-DOLT
14
15 AC_PATH_PROG(FLEX, flex)
16 if test -z "$FLEX"; then
diff --git a/meta/recipes-sato/webkit/webkit-gtk_svn.bb b/meta/recipes-sato/webkit/webkit-gtk_svn.bb
index fe31b9c24c..1b5e276739 100644
--- a/meta/recipes-sato/webkit/webkit-gtk_svn.bb
+++ b/meta/recipes-sato/webkit/webkit-gtk_svn.bb
@@ -12,7 +12,7 @@ DEPENDS_darwin8 = "curl icu libxml2 cairo libxslt libidn gnutls gtk+ gstreamer f
12 12
13SRCREV_FORMAT = "webcore-rwebkit" 13SRCREV_FORMAT = "webcore-rwebkit"
14 14
15PV = "1.3.2+svnr${SRCREV}" 15PV = "1.3.7+svnr${SRCPV}"
16PR = "r0" 16PR = "r0"
17 17
18SRC_URI = "\ 18SRC_URI = "\
@@ -29,6 +29,7 @@ SRC_URI = "\
29 file://configure.ac \ 29 file://configure.ac \
30 file://GNUmakefile.am \ 30 file://GNUmakefile.am \
31 file://gtk-doc.make \ 31 file://gtk-doc.make \
32 file://nodolt.patch \
32 " 33 "
33 34
34S = "${WORKDIR}/" 35S = "${WORKDIR}/"
@@ -60,6 +61,11 @@ do_compile_prepend() {
60 cd ${S} 61 cd ${S}
61} 62}
62 63
64do_install_prepend() {
65 cp ${S}/Programs/.libs/jsc ${S}/Programs/jsc-1 || true
66}
67
68
63PACKAGES =+ "${PN}-webinspector ${PN}launcher-dbg ${PN}launcher libjavascriptcore" 69PACKAGES =+ "${PN}-webinspector ${PN}launcher-dbg ${PN}launcher libjavascriptcore"
64FILES_${PN}launcher = "${bindir}/GtkLauncher" 70FILES_${PN}launcher = "${bindir}/GtkLauncher"
65FILES_${PN}launcher-dbg = "${bindir}/.debug/GtkLauncher" 71FILES_${PN}launcher-dbg = "${bindir}/.debug/GtkLauncher"
diff --git a/meta/recipes-support/apr/apr-util_1.3.4.bb b/meta/recipes-support/apr/apr-util_1.3.10.bb
index b2d6cc44f2..930f757ffd 100644
--- a/meta/recipes-support/apr/apr-util_1.3.4.bb
+++ b/meta/recipes-support/apr/apr-util_1.3.10.bb
@@ -1,18 +1,23 @@
1DESCRIPTION = "Apache Portable Runtime (APR) companion library" 1DESCRIPTION = "Apache Portable Runtime (APR) companion library"
2HOMEPAGE = "http://apr.apache.org/"
2SECTION = "libs" 3SECTION = "libs"
3DEPENDS = "apr expat gdbm" 4DEPENDS = "apr expat gdbm"
5
4LICENSE = "Apache License, Version 2.0" 6LICENSE = "Apache License, Version 2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb" 7LIC_FILES_CHKSUM = "file://LICENSE;md5=519e0a18e03f7c023070568c14b077bb \
6PR = "r5" 8 file://include/apu_version.h;endline=17;md5=806685a84e71f10c80144c48eb35df42"
9
10PR = "r0"
7 11
8SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.gz \ 12SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.gz \
9 file://configfix.patch;patch=1 \ 13 file://configfix.patch;patch=1 \
10 file://configure_fixes.patch;patch=1" 14 file://configure_fixes.patch;patch=1"
11 15
12SRC_URI[md5sum] = "a10e2ca150ff07f484c724c36142211f" 16SRC_URI[md5sum] = "82acd25cf3df8c72eba44eaee8b80c19"
13SRC_URI[sha256sum] = "3f07ffdb18fb853290c9b83e82cd5cae66b8fbc357bd391e846c0afdd24fed7e" 17SRC_URI[sha256sum] = "7c37ac40b2351bfc23000fb6b7b54a67e0872255df315c82eb60c821bcef4b23"
14 18
15EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \ 19EXTRA_OECONF = "--with-apr=${STAGING_BINDIR_CROSS}/apr-1-config \
20 --without-odbc \
16 --with-dbm=gdbm \ 21 --with-dbm=gdbm \
17 --with-gdbm=${STAGING_DIR_HOST}${prefix} \ 22 --with-gdbm=${STAGING_DIR_HOST}${prefix} \
18 --without-sqlite2 \ 23 --without-sqlite2 \
diff --git a/meta/recipes-support/apr/apr/buildconf_fix.patch b/meta/recipes-support/apr/apr/buildconf_fix.patch
new file mode 100644
index 0000000000..641340b2a4
--- /dev/null
+++ b/meta/recipes-support/apr/apr/buildconf_fix.patch
@@ -0,0 +1,25 @@
1Remove the new libtool detection method to avoid config failure. Poky's libtool
2has different format for "aclocaldir", and there is no elegant parsing method,
3so fall back to old detection.
4
5Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
6
7Index: apr-1.4.2/buildconf
8===================================================================
9--- apr-1.4.2.orig/buildconf 2009-11-13 06:19:49.000000000 +0800
10+++ apr-1.4.2/buildconf 2010-11-29 14:39:19.000000000 +0800
11@@ -50,14 +50,6 @@
12
13 if [ -f libtool.m4 ]; then
14 ltfile=`pwd`/libtool.m4
15-elif grep all_pkgmacro_files $libtoolize > /dev/null; then
16- # libtool 2.x
17- aclocal_dir=`sed -n '/^aclocaldir=/{s/.*=//;p;q;}' < $libtoolize`
18- ltfiles=`sed -n '/^all_pkgmacro_files=/{s/.*=//;;s/"//;p;q;}' < $libtoolize`
19- for f in $ltfiles; do
20- test -f "$aclocal_dir/$f" && cp "$aclocal_dir/$f" build
21- done
22- ltfile=$aclocal_dir/libtool.m4
23 else
24 ltfindcmd="`sed -n \"/=[^\\\`]/p;/libtool_m4=/{s/.*=/echo /p;q;}\" \
25 < $libtoolize`"
diff --git a/meta/recipes-support/apr/apr/cleanup.patch b/meta/recipes-support/apr/apr/cleanup.patch
index fd74826480..47f1c42c5c 100644
--- a/meta/recipes-support/apr/apr/cleanup.patch
+++ b/meta/recipes-support/apr/apr/cleanup.patch
@@ -1,7 +1,7 @@
1Index: apr-1.3.3/build/buildcheck.sh 1Index: apr-1.4.2/build/buildcheck.sh
2=================================================================== 2===================================================================
3--- apr-1.3.3.orig/build/buildcheck.sh 2009-01-15 13:32:33.000000000 +0000 3--- apr-1.4.2.orig/build/buildcheck.sh 2009-11-13 08:27:16.000000000 +0800
4+++ apr-1.3.3/build/buildcheck.sh 2009-01-15 13:33:06.000000000 +0000 4+++ apr-1.4.2/build/buildcheck.sh 2010-11-26 15:44:00.000000000 +0800
5@@ -32,35 +32,4 @@ 5@@ -32,35 +32,4 @@
6 echo "buildconf: autoconf version $ac_version (ok)" 6 echo "buildconf: autoconf version $ac_version (ok)"
7 fi 7 fi
@@ -12,7 +12,7 @@ Index: apr-1.3.3/build/buildcheck.sh
12-# output is multiline from 1.5 onwards 12-# output is multiline from 1.5 onwards
13- 13-
14-# Require libtool 1.4 or newer 14-# Require libtool 1.4 or newer
15-libtool=`build/PrintPath glibtool libtool libtool15 libtool14` 15-libtool=`build/PrintPath glibtool1 glibtool libtool libtool15 libtool14`
16-lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'` 16-lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
17-if test -z "$lt_pversion"; then 17-if test -z "$lt_pversion"; then
18-echo "buildconf: libtool not found." 18-echo "buildconf: libtool not found."
@@ -39,4 +39,3 @@ Index: apr-1.3.3/build/buildcheck.sh
39- 39-
40-exit 1 40-exit 1
41+exit 0 41+exit 0
42\ No newline at end of file
diff --git a/meta/recipes-support/apr/apr_1.3.3.bb b/meta/recipes-support/apr/apr_1.4.2.bb
index 26cc01fe7a..ce26ef17cb 100644
--- a/meta/recipes-support/apr/apr_1.3.3.bb
+++ b/meta/recipes-support/apr/apr_1.4.2.bb
@@ -1,16 +1,21 @@
1DESCRIPTION = "Apache Portable Runtime (APR) library" 1DESCRIPTION = "Apache Portable Runtime (APR) library"
2HOMEPAGE = "http://apr.apache.org/"
2SECTION = "libs" 3SECTION = "libs"
4
3LICENSE = "Apache License, Version 2.0" 5LICENSE = "Apache License, Version 2.0"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b" 6LIC_FILES_CHKSUM = "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \
5PR = "r5" 7 file://include/apr_lib.h;endline=17;md5=ee42fa7575dc40580a9e01c1b75fae96"
8
9PR = "r0"
6 10
7SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2 \ 11SRC_URI = "${APACHE_MIRROR}/apr/${P}.tar.bz2 \
8 file://configure_fixes.patch;patch=1 \ 12 file://configure_fixes.patch;patch=1 \
9 file://cleanup.patch;patch=1 \ 13 file://cleanup.patch;patch=1 \
10 file://configfix.patch;patch=1" 14 file://configfix.patch;patch=1 \
15 file://buildconf_fix.patch;patch=1"
11 16
12SRC_URI[md5sum] = "2090c21dee4f0eb1512604127dcd158f" 17SRC_URI[md5sum] = "4b00e8f70c067893d075577962656b35"
13SRC_URI[sha256sum] = "d95f3b78366c86317043304864bb08cb836312c87ea7d142a4c02154e7e0dd37" 18SRC_URI[sha256sum] = "2017ca700694d09d2b0b21dd7c4d195e43a48735aac88526160c6195ee8f5391"
14 19
15inherit autotools lib_package binconfig 20inherit autotools lib_package binconfig
16 21
@@ -21,10 +26,18 @@ do_configure_prepend() {
21 ./buildconf 26 ./buildconf
22} 27}
23 28
29#for some reason, build/libtool.m4 handled by buildconf still be overwritten
30#when autoconf, so handle it again.
31do_configure_append() {
32 cd ${S}
33 sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' build/libtool.m4
34 sed -i -e 's/LIBTOOL=\(.*\)top_build/LIBTOOL=\1apr_build/' build/apr_rules.mk
35}
36
24SYSROOT_PREPROCESS_FUNCS += "apr_sysroot_preprocess" 37SYSROOT_PREPROCESS_FUNCS += "apr_sysroot_preprocess"
25 38
26apr_sysroot_preprocess () { 39apr_sysroot_preprocess () {
27 d=${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/apr 40 d=${SYSROOT_DESTDIR}${datadir}/apr
28 install -d $d/ 41 install -d $d/
29 cp ${S}/build/apr_rules.mk $d/ 42 cp ${S}/build/apr_rules.mk $d/
30 sed -i s,apr_builddir=.*,apr_builddir=,g $d/apr_rules.mk 43 sed -i s,apr_builddir=.*,apr_builddir=,g $d/apr_rules.mk
diff --git a/meta/recipes-support/attr/acl.inc b/meta/recipes-support/attr/acl.inc
index 68745dd728..15a87a5a0f 100644
--- a/meta/recipes-support/attr/acl.inc
+++ b/meta/recipes-support/attr/acl.inc
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \
9 file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764" 9 file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764"
10 10
11DEPENDS = "attr" 11DEPENDS = "attr"
12SRC_URI = "http://mirror.cinquix.com/pub/savannah/acl/${BP}.src.tar.gz" 12SRC_URI = "http://download.savannah.gnu.org/releases/acl/${BP}.src.tar.gz"
13 13
14require ea-acl.inc 14require ea-acl.inc
15 15
diff --git a/meta/recipes-support/attr/acl_2.2.49.bb b/meta/recipes-support/attr/acl_2.2.49.bb
index 2e0e0d3078..197ac7d8a7 100644
--- a/meta/recipes-support/attr/acl_2.2.49.bb
+++ b/meta/recipes-support/attr/acl_2.2.49.bb
@@ -1,6 +1,6 @@
1require acl.inc 1require acl.inc
2 2
3PR = "r0" 3PR = "r1"
4 4
5SRC_URI[md5sum] = "181445894cca986da9ae0099d5ce2d08" 5SRC_URI[md5sum] = "181445894cca986da9ae0099d5ce2d08"
6SRC_URI[sha256sum] = "b9c7f4752e4ef4930a62fa5aa0d7efe1cba2b5a3a2d6ee2b45c0a70c72b7e5d5" 6SRC_URI[sha256sum] = "b9c7f4752e4ef4930a62fa5aa0d7efe1cba2b5a3a2d6ee2b45c0a70c72b7e5d5"
diff --git a/meta/recipes-support/attr/attr.inc b/meta/recipes-support/attr/attr.inc
index da7924631e..9a8b0f6abc 100644
--- a/meta/recipes-support/attr/attr.inc
+++ b/meta/recipes-support/attr/attr.inc
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://doc/COPYING;md5=2d0aa14b3fce4694e4f615e30186335f \
9 file://attr/attr.c;endline=17;md5=be0403261f0847e5f43ed5b08d19593c \ 9 file://attr/attr.c;endline=17;md5=be0403261f0847e5f43ed5b08d19593c \
10 file://libattr/libattr.c;endline=17;md5=7970f77049f8fa1199fff62a7ab724fb" 10 file://libattr/libattr.c;endline=17;md5=7970f77049f8fa1199fff62a7ab724fb"
11 11
12SRC_URI = "http://nongnu.askapache.com/attr/${BP}.src.tar.gz" 12SRC_URI = "http://download.savannah.gnu.org/attr/${BP}.src.tar.gz"
13 13
14require ea-acl.inc 14require ea-acl.inc
15 15
diff --git a/meta/recipes-support/attr/attr_2.4.44.bb b/meta/recipes-support/attr/attr_2.4.44.bb
index e22e158c7b..4be27d0d61 100644
--- a/meta/recipes-support/attr/attr_2.4.44.bb
+++ b/meta/recipes-support/attr/attr_2.4.44.bb
@@ -1,6 +1,6 @@
1require attr.inc 1require attr.inc
2 2
3PR = "r1" 3PR = "r2"
4 4
5SRC_URI += "file://memory-leak-in-copy.patch \ 5SRC_URI += "file://memory-leak-in-copy.patch \
6 file://memory-leak2.patch \ 6 file://memory-leak2.patch \
diff --git a/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch b/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch
index 3e18a87c3f..4a2f414778 100644
--- a/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch
+++ b/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch
@@ -2,11 +2,11 @@ We are unable to run code at configure time in a cross environemnt, but as we
2control the build we can be fairly certain this dependency is met. 2control the build we can be fairly certain this dependency is met.
3 3
4JL 05/07/10 4JL 05/07/10
5Index: beecrypt-4.1.2/configure.ac 5Index: beecrypt-4.2.1/configure.ac
6=================================================================== 6===================================================================
7--- beecrypt-4.1.2.orig/configure.ac 2004-12-21 11:37:56.000000000 +0000 7--- beecrypt-4.2.1.orig/configure.ac 2010-11-26 17:12:25.000000000 +0800
8+++ beecrypt-4.1.2/configure.ac 2010-07-05 16:09:50.390083494 +0100 8+++ beecrypt-4.2.1/configure.ac 2010-11-26 17:12:30.000000000 +0800
9@@ -243,32 +243,6 @@ 9@@ -292,32 +292,6 @@
10 # Predefines and checks for C++ API support 10 # Predefines and checks for C++ API support
11 AH_TEMPLATE([CPPGLUE],[Define to 1 if you want to include the C++ code]) 11 AH_TEMPLATE([CPPGLUE],[Define to 1 if you want to include the C++ code])
12 12
@@ -36,6 +36,6 @@ Index: beecrypt-4.1.2/configure.ac
36- AC_LANG_POP(C) 36- AC_LANG_POP(C)
37-fi 37-fi
38- 38-
39 AM_CONDITIONAL([WITH_CPLUSPLUS],[test "$ac_with_cplusplus" = yes])
40
39 if test "$ac_with_cplusplus" = yes ; then 41 if test "$ac_with_cplusplus" = yes ; then
40 AC_DEFINE([CPPGLUE],1)
41 fi
diff --git a/meta/recipes-support/beecrypt/beecrypt/fix-security.patch b/meta/recipes-support/beecrypt/beecrypt/fix-security.patch
index 6103562e0a..f28e393ca7 100644
--- a/meta/recipes-support/beecrypt/beecrypt/fix-security.patch
+++ b/meta/recipes-support/beecrypt/beecrypt/fix-security.patch
@@ -3,20 +3,38 @@ project:
3http://www.mail-archive.com/fink-commits@lists.sourceforge.net/msg75742.html 3http://www.mail-archive.com/fink-commits@lists.sourceforge.net/msg75742.html
4 4
5JL 05/07/10 5JL 05/07/10
6Index: beecrypt-4.1.2/c++/security/Security.h 6Index: beecrypt-4.2.1/include/beecrypt/c++/beeyond/BeeCertificate.h
7=================================================================== 7===================================================================
8--- beecrypt-4.1.2.orig/c++/security/Security.h 2010-07-05 17:15:34.811273306 +0100 8--- beecrypt-4.2.1.orig/include/beecrypt/c++/beeyond/BeeCertificate.h 2010-11-26 17:22:57.000000000 +0800
9+++ beecrypt-4.1.2/c++/security/Security.h 2010-07-05 17:15:38.696388531 +0100 9+++ beecrypt-4.2.1/include/beecrypt/c++/beeyond/BeeCertificate.h 2010-11-26 17:23:01.000000000 +0800
10@@ -75,8 +75,6 @@ 10@@ -147,13 +147,13 @@
11 mutable bytearray* enc;
12
13 BeeCertificate();
14- BeeCertificate(InputStream& in) throw (IOException);
15
16 void encodeTBS(DataOutputStream& out) const throw (IOException);
17
18 bytearray* encodeTBS() const throw (CertificateEncodingException);
19
11 public: 20 public:
12 typedef vector<const Provider*> provider_vector; 21+ BeeCertificate(InputStream& in) throw (IOException);
13 typedef provider_vector::iterator provider_vector_iterator; 22 BeeCertificate(const BeeCertificate&) throw (CloneNotSupportedException);
14- 23 virtual ~BeeCertificate();
24
25Index: beecrypt-4.2.1/include/beecrypt/c++/security/Security.h
26===================================================================
27--- beecrypt-4.2.1.orig/include/beecrypt/c++/security/Security.h 2010-11-26 17:20:55.000000000 +0800
28+++ beecrypt-4.2.1/include/beecrypt/c++/security/Security.h 2010-11-26 17:21:36.000000000 +0800
29@@ -61,7 +61,6 @@
30 friend class SecureRandom;
31 friend class Signature;
32
15- private: 33- private:
16 struct spi 34 struct spi
17 { 35 {
18 Object* cspi; 36 Object* cspi;
19@@ -91,6 +89,7 @@ 37@@ -76,6 +75,7 @@
20 static spi* getSpi(const String& algo, const String& type, const Provider&) throw (NoSuchAlgorithmException); 38 static spi* getSpi(const String& algo, const String& type, const Provider&) throw (NoSuchAlgorithmException);
21 static spi* getFirstSpi(const String& type); 39 static spi* getFirstSpi(const String& type);
22 40
@@ -24,20 +42,3 @@ Index: beecrypt-4.1.2/c++/security/Security.h
24 static const String& getKeyStoreDefault(); 42 static const String& getKeyStoreDefault();
25 43
26 static bool _init; 44 static bool _init;
27Index: beecrypt-4.1.2/c++/beeyond/BeeCertificate.h
28===================================================================
29--- beecrypt-4.1.2.orig/c++/beeyond/BeeCertificate.h 2004-11-03 09:37:27.000000000 +0000
30+++ beecrypt-4.1.2/c++/beeyond/BeeCertificate.h 2010-07-05 17:16:25.216332324 +0100
31@@ -150,11 +150,11 @@
32 mutable String* str;
33
34 BeeCertificate();
35- BeeCertificate(InputStream& in) throw (IOException);
36
37 bytearray* encodeTBS() const;
38
39 public:
40+ BeeCertificate(InputStream& in) throw (IOException);
41 BeeCertificate(const BeeCertificate&);
42 virtual ~BeeCertificate();
43
diff --git a/meta/recipes-support/beecrypt/beecrypt/x64fix.patch b/meta/recipes-support/beecrypt/beecrypt/x64fix.patch
deleted file mode 100644
index ac02425d51..0000000000
--- a/meta/recipes-support/beecrypt/beecrypt/x64fix.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1Don't have 64 appended to the libdir for 64bit platforms.
2
3JL 05/07/10
4Index: beecrypt-4.1.2/configure.ac
5===================================================================
6--- beecrypt-4.1.2.orig/configure.ac 2010-07-05 16:39:43.000000000 +0100
7+++ beecrypt-4.1.2/configure.ac 2010-07-05 16:40:27.521082866 +0100
8@@ -585,15 +585,6 @@
9
10 # Check where to install the libraries
11 bc_libalt=
12-case $target_os in
13-linux*)
14- case $bc_target_arch in
15- powerpc64 | s390x | x86_64)
16- bc_libalt="64"
17- ;;
18- esac
19- ;;
20-esac
21 AC_SUBST(LIBALT,$bc_libalt)
22
23 # Generate output files.
diff --git a/meta/recipes-support/beecrypt/beecrypt_4.1.2.bb b/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb
index e381a6bfa9..d4c7972167 100644
--- a/meta/recipes-support/beecrypt/beecrypt_4.1.2.bb
+++ b/meta/recipes-support/beecrypt/beecrypt_4.2.1.bb
@@ -5,15 +5,16 @@
5DESCRIPTION="Beecrypt is a general-purpose cryptography library." 5DESCRIPTION="Beecrypt is a general-purpose cryptography library."
6HOMEPAGE="http://sourceforge.net/projects/beecrypt" 6HOMEPAGE="http://sourceforge.net/projects/beecrypt"
7SRC_URI="${SOURCEFORGE_MIRROR}/beecrypt/beecrypt-${PV}.tar.gz \ 7SRC_URI="${SOURCEFORGE_MIRROR}/beecrypt/beecrypt-${PV}.tar.gz \
8 file://x64fix.patch \
9 file://disable-icu-check.patch \ 8 file://disable-icu-check.patch \
10 file://fix-security.patch" 9 file://fix-security.patch"
11 10
12SRC_URI[md5sum] = "820d26437843ab0a6a8a5151a73a657c" 11SRC_URI[md5sum] = "8441c014170823f2dff97e33df55af1e"
13SRC_URI[sha256sum] = "f29eb246947677a9e7870521e3d576fd0d91a7072210a4404ed137e40cfc18fd" 12SRC_URI[sha256sum] = "286f1f56080d1a6b1d024003a5fa2158f4ff82cae0c6829d3c476a4b5898c55d"
14LICENSE = "GPLv2&LGPLv2.1" 13LICENSE = "GPLv2 & LGPLv2.1"
15LIC_FILES_CHKSUM = "file://COPYING;md5=9894370afd5dfe7d02b8d14319e729a1 \ 14LIC_FILES_CHKSUM = "file://COPYING;md5=9894370afd5dfe7d02b8d14319e729a1 \
16 file://COPYING.LIB;md5=dcf3c825659e82539645da41a7908589" 15 file://COPYING.LIB;md5=dcf3c825659e82539645da41a7908589 \
16 file://include/beecrypt/beecrypt.h;endline=20;md5=47a93eef539aac237eef86297a4d71c1"
17
17DEPENDS = "icu" 18DEPENDS = "icu"
18 19
19PR = "r0" 20PR = "r0"
@@ -21,6 +22,6 @@ PR = "r0"
21inherit autotools 22inherit autotools
22acpaths="" 23acpaths=""
23 24
24EXTRA_OECONF="--with-arch=${TARGET_ARCH} --without-python --enable-shared --enable-static" 25EXTRA_OECONF="--without-python --enable-shared --enable-static --disable-openmp"
25 26
26BBCLASSEXTEND = "native" 27BBCLASSEXTEND = "native"
diff --git a/meta/recipes-support/boost/boost-jam-native.inc b/meta/recipes-support/boost/boost-jam-native.inc
index fe181ad00f..f0fac09361 100644
--- a/meta/recipes-support/boost/boost-jam-native.inc
+++ b/meta/recipes-support/boost/boost-jam-native.inc
@@ -10,6 +10,8 @@ PRIORITY = "optional"
10LICENSE = "Boost Software License" 10LICENSE = "Boost Software License"
11PR = "r0" 11PR = "r0"
12 12
13LIC_FILES_CHKSUM = "file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
14
13SRC_URI = "${SOURCEFORGE_MIRROR}/boost/boost-jam-${PV}.tgz" 15SRC_URI = "${SOURCEFORGE_MIRROR}/boost/boost-jam-${PV}.tgz"
14S = "${WORKDIR}/boost-jam-${PV}" 16S = "${WORKDIR}/boost-jam-${PV}"
15 17
diff --git a/meta/recipes-support/createrepo/createrepo/fix-native-install.patch b/meta/recipes-support/createrepo/createrepo/fix-native-install.patch
new file mode 100644
index 0000000000..2ed2202e77
--- /dev/null
+++ b/meta/recipes-support/createrepo/createrepo/fix-native-install.patch
@@ -0,0 +1,161 @@
1Date: Jan 31, 2011
2
3There are two fixes:
4 1. -native needs to customize prefix
5 2. needs to change python reference in binaries
6
7Signed-off-by: Qing He <qing.he@intel.com>
8
9diff --git a/Makefile b/Makefile
10index b2d1a32..3c3639f 100644
11--- a/Makefile
12+++ b/Makefile
13@@ -3,22 +3,22 @@ VERSION = 0.4.11
14 SHELL = /bin/sh
15 top_srcdir = .
16 srcdir = .
17-prefix = /usr
18-exec_prefix = ${prefix}
19-
20-bindir = ${exec_prefix}/bin
21-sbindir = ${exec_prefix}/sbin
22-libexecdir = ${exec_prefix}/libexec
23-datadir = ${prefix}/share
24-sysconfdir = ${prefix}/etc
25-sharedstatedir = ${prefix}/com
26-localstatedir = ${prefix}/var
27-libdir = ${exec_prefix}/lib
28-infodir = ${prefix}/info
29+prefix ?= /usr
30+exec_prefix ?= ${prefix}
31+
32+bindir ?= ${exec_prefix}/bin
33+sbindir ?= ${exec_prefix}/sbin
34+libexecdir ?= ${exec_prefix}/libexec
35+datadir ?= ${prefix}/share
36+sysconfdir ?= ${prefix}/etc
37+sharedstatedir ?= ${prefix}/com
38+localstatedir ?= ${prefix}/var
39+libdir ?= ${exec_prefix}/lib
40+infodir ?= ${prefix}/info
41 docdir =
42-includedir = ${prefix}/include
43+includedir ?= ${prefix}/include
44 oldincludedir = /usr/include
45-mandir = ${prefix}/share/man
46+mandir ?= ${prefix}/share/man
47
48 pkgdatadir = $(datadir)/$(PACKAGE)
49 pkglibdir = $(libdir)/$(PACKAGE)
50diff --git a/bin/Makefile b/bin/Makefile
51index 52c1f50..e30610e 100644
52--- a/bin/Makefile
53+++ b/bin/Makefile
54@@ -1,22 +1,22 @@
55 SHELL = /bin/sh
56 top_srcdir = ..
57 srcdir = ../bin
58-prefix = /usr
59-exec_prefix = ${prefix}
60-
61-bindir = ${exec_prefix}/bin
62-sbindir = ${exec_prefix}/sbin
63-libexecdir = ${exec_prefix}/libexec
64-datadir = ${prefix}/share
65-sysconfdir = ${prefix}/etc
66-sharedstatedir = ${prefix}/com
67-localstatedir = ${prefix}/var
68-libdir = ${exec_prefix}/lib
69-infodir = ${prefix}/info
70+prefix ?= /usr
71+exec_prefix ?= ${prefix}
72+
73+bindir ?= ${exec_prefix}/bin
74+sbindir ?= ${exec_prefix}/sbin
75+libexecdir ?= ${exec_prefix}/libexec
76+datadir ?= ${prefix}/share
77+sysconfdir ?= ${prefix}/etc
78+sharedstatedir ?= ${prefix}/com
79+localstatedir ?= ${prefix}/var
80+libdir ?= ${exec_prefix}/lib
81+infodir ?= ${prefix}/info
82 docdir =
83-includedir = ${prefix}/include
84+includedir ?= ${prefix}/include
85 oldincludedir = /usr/include
86-mandir = ${prefix}/man
87+mandir ?= ${prefix}/man
88
89 pkgdatadir = $(datadir)/$(PACKAGE)
90 pkglibdir = $(libdir)/$(PACKAGE)
91@@ -40,8 +40,11 @@ all: $(srcdir)/$(PACKAGE)
92
93
94 install: all installdirs
95- $(INSTALL_BIN) $(srcdir)/$(PACKAGE) $(DESTDIR)$(bindir)/$(PACKAGE)
96- $(INSTALL_BIN) $(srcdir)/modifyrepo $(DESTDIR)$(bindir)/modifyrepo
97+ sed -e "s|@DATADIR@|$(datadir)|" $(srcdir)/$(PACKAGE) > $(srcdir)/$(PACKAGE).tmp
98+ sed -e "s|@DATADIR@|$(datadir)|" $(srcdir)/modifyrepo > $(srcdir)/modifyrepo.tmp
99+ $(INSTALL_BIN) $(srcdir)/$(PACKAGE).tmp $(DESTDIR)$(bindir)/$(PACKAGE)
100+ $(INSTALL_BIN) $(srcdir)/modifyrepo.tmp $(DESTDIR)$(bindir)/modifyrepo
101+ rm -f $(srcdir)/$(PACKAGE).tmp $(srcdir)/modifyrepo.tmp
102
103
104 uninstall:
105diff --git a/bin/createrepo b/bin/createrepo
106index b0de515..eaacb39 100755
107--- a/bin/createrepo
108+++ b/bin/createrepo
109@@ -1,2 +1,2 @@
110 #!/bin/sh
111-exec /usr/share/createrepo/genpkgmetadata.py "$@"
112+exec @DATADIR@/createrepo/genpkgmetadata.py "$@"
113diff --git a/bin/modifyrepo b/bin/modifyrepo
114index c9732d8..6f7c1d4 100755
115--- a/bin/modifyrepo
116+++ b/bin/modifyrepo
117@@ -1,2 +1,2 @@
118 #!/bin/sh
119-exec /usr/share/createrepo/modifyrepo.py "$@"
120+exec @DATADIR@/createrepo/modifyrepo.py "$@"
121diff --git a/docs/Makefile b/docs/Makefile
122index 0a41179..e128c85 100644
123--- a/docs/Makefile
124+++ b/docs/Makefile
125@@ -1,22 +1,22 @@
126 SHELL = /bin/sh
127 top_srcdir = ..
128 srcdir = ../docs
129-prefix = /usr
130-exec_prefix = ${prefix}
131-
132-bindir = ${exec_prefix}/bin
133-sbindir = ${exec_prefix}/sbin
134-libexecdir = ${exec_prefix}/libexec
135-datadir = ${prefix}/share
136-sysconfdir = ${prefix}/etc
137-sharedstatedir = ${prefix}/com
138-localstatedir = ${prefix}/var
139-libdir = ${exec_prefix}/lib
140-infodir = ${prefix}/info
141+prefix ?= /usr
142+exec_prefix ?= ${prefix}
143+
144+bindir ?= ${exec_prefix}/bin
145+sbindir ?= ${exec_prefix}/sbin
146+libexecdir ?= ${exec_prefix}/libexec
147+datadir ?= ${prefix}/share
148+sysconfdir ?= ${prefix}/etc
149+sharedstatedir ?= ${prefix}/com
150+localstatedir ?= ${prefix}/var
151+libdir ?= ${exec_prefix}/lib
152+infodir ?= ${prefix}/info
153 docdir =
154-includedir = ${prefix}/include
155+includedir ?= ${prefix}/include
156 oldincludedir = /usr/include
157-mandir = ${datadir}/man
158+mandir ?= ${datadir}/man
159
160 pkgdatadir = $(datadir)/$(PACKAGE)
161 pkglibdir = $(libdir)/$(PACKAGE)
diff --git a/meta/recipes-support/createrepo/createrepo_0.4.11.bb b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
new file mode 100644
index 0000000000..ba1d04b2bd
--- /dev/null
+++ b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
@@ -0,0 +1,20 @@
1DESCRIPTION = "createrepo creates rpm-metadata for rpms to build the repository"
2HOMEPAGE = "http://createrepo.baseurl.org/"
3
4LICENSE = "GPLv2+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
6
7PR = "r1"
8
9SRC_URI= "http://createrepo.baseurl.org/download/${BP}.tar.gz \
10 file://fix-native-install.patch \
11 "
12
13SRC_URI[md5sum] = "3e9ccf4abcffe3f49af078c83611eda2"
14SRC_URI[sha256sum] = "a73ae11a0dcde8bde36d900bc3f7f8f1083ba752c70a5c61b72d1e1e7608f21b"
15
16BBCLASSEXTEND = "native"
17
18do_install () {
19 oe_runmake -e 'DESTDIR=${D}' install
20}
diff --git a/meta/recipes-support/db/db/arm-thumb-mutex.patch b/meta/recipes-support/db/db/arm-thumb-mutex.patch
deleted file mode 100644
index acd446fcd8..0000000000
--- a/meta/recipes-support/db/db/arm-thumb-mutex.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1--- db-4.3.29-dist/../dbinc/mutex.h 2005-11-15 07:33:27.761042518 -0800
2+++ db-4.3.29-dist/../dbinc/mutex.h 2005-11-15 07:55:24.823920060 -0800
3@@ -470,6 +470,25 @@
4 #ifdef LOAD_ACTUAL_MUTEX_CODE
5 #define MUTEX_SET_TEST 1 /* gcc/arm: 0 is clear, 1 is set. */
6
7+#if defined __thumb__
8+#define MUTEX_SET(tsl) ({ \
9+ int __r, __p; \
10+ asm volatile( \
11+ ".align 2\n\t" \
12+ "bx pc\n\t" \
13+ "nop\n\t" \
14+ ".arm\n\t" \
15+ "swpb %0, %2, [%3]\n\t" \
16+ "eor %0, %0, #1\n\t" \
17+ "orr %1, pc, #1\n\t" \
18+ "bx %1\n\t" \
19+ ".force_thumb" \
20+ : "=&r" (__r), "=r" (__p) \
21+ : "r" (1), "r" (tsl) \
22+ ); \
23+ __r & 1; \
24+})
25+#else
26 #define MUTEX_SET(tsl) ({ \
27 int __r; \
28 asm volatile( \
29@@ -480,6 +499,7 @@
30 ); \
31 __r & 1; \
32 })
33+#endif
34
35 #define MUTEX_UNSET(tsl) (*(volatile tsl_t *)(tsl) = 0)
36 #define MUTEX_INIT(tsl) MUTEX_UNSET(tsl)
diff --git a/meta/recipes-support/db/db/arm-thumb-mutex_db5.patch b/meta/recipes-support/db/db/arm-thumb-mutex_db5.patch
new file mode 100644
index 0000000000..37d0d93abd
--- /dev/null
+++ b/meta/recipes-support/db/db/arm-thumb-mutex_db5.patch
@@ -0,0 +1,36 @@
1--- db-5.1.19/../src/dbinc/mutex_int.h.orig 2011-01-05 19:21:42.181805366 -0600
2+++ db-5.1.19/../src/dbinc/mutex_int.h 2011-01-05 19:24:53.141853117 -0600
3@@ -474,6 +474,25 @@
4
5 #ifdef LOAD_ACTUAL_MUTEX_CODE
6 /* gcc/arm: 0 is clear, 1 is set. */
7+#if defined __thumb__
8+#define MUTEX_SET(tsl) ({ \
9+ int __r, __p; \
10+ __asm__ volatile( \
11+ ".align 2\n\t" \
12+ "bx pc\n\t" \
13+ "nop\n\t" \
14+ ".arm\n\t" \
15+ "swpb %0, %2, [%3]\n\t" \
16+ "eor %0, %0, #1\n\t" \
17+ "orr %1, pc, #1\n\t" \
18+ "bx %1\n\t" \
19+ ".force_thumb" \
20+ : "=&r" (__r), "=r" (__p) \
21+ : "r" (1), "r" (tsl) \
22+ ); \
23+ __r & 1; \
24+})
25+#else
26 #define MUTEX_SET(tsl) ({ \
27 int __r; \
28 __asm__ volatile( \
29@@ -484,6 +503,7 @@
30 ); \
31 __r & 1; \
32 })
33+#endif
34
35 #define MUTEX_UNSET(tsl) (*(volatile tsl_t *)(tsl) = 0)
36 #define MUTEX_INIT(tsl) (MUTEX_UNSET(tsl), 0)
diff --git a/meta/recipes-support/db/db/configure_fixes.patch b/meta/recipes-support/db/db/configure_fixes.patch
deleted file mode 100644
index 80aa0e7c1c..0000000000
--- a/meta/recipes-support/db/db/configure_fixes.patch
+++ /dev/null
@@ -1,18 +0,0 @@
1If LD is a binary name + parameters db will fail to work out its GNU ld
2and disable shared libraries. We don't want this.
3
4RP - 22/11/2007
5
6Index: dist/configure
7===================================================================
8--- dist.orig/configure 2007-11-23 00:47:27.000000000 +0000
9+++ dist/configure 2007-11-23 00:53:22.000000000 +0000
10@@ -5658,7 +5661,7 @@ if test "${lt_cv_prog_gnu_ld+set}" = set
11 echo $ECHO_N "(cached) $ECHO_C" >&6
12 else
13 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14-case `"$LD" -v 2>&1 </dev/null` in
15+case `$LD -v 2>&1 </dev/null` in
16 *GNU* | *'with BFD'*)
17 lt_cv_prog_gnu_ld=yes
18 ;;
diff --git a/meta/recipes-support/db/db_4.2.52.bb b/meta/recipes-support/db/db_4.2.52.bb
deleted file mode 100644
index bd0511dbe6..0000000000
--- a/meta/recipes-support/db/db_4.2.52.bb
+++ /dev/null
@@ -1,100 +0,0 @@
1# Version 4 of the Berkeley DB from Sleepycat
2#
3# At present this package only installs the DB code
4# itself (shared libraries, .a in the dev package),
5# documentation and headers.
6#
7# The headers have the same names as those as v3
8# of the DB, only one version can be used *for dev*
9# at once - DB3 and DB4 can both be installed on the
10# same system at the same time if really necessary.
11SECTION = "libs"
12DESCRIPTION = "Berkeley DB v4."
13HOMEPAGE = "http://www.oracle.com/technology/products/berkeley-db/db/index.html"
14LICENSE = "BSD Sleepycat"
15VIRTUAL_NAME = "virtual/db"
16VIRTUAL_NAME_virtclass-native = "virtual/db-native"
17
18CONFLICTS = "db3"
19CONFLICTS_virtclass-native = "db3-native"
20PR = "r8"
21
22SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz \
23 file://configure_fixes.patch;patch=1 "
24
25SRC_URI[md5sum] = "8b5cff6eb83972afdd8e0b821703c33c"
26SRC_URI[sha256sum] = "f4bddd8d1b4cde0daf5e13e3493ed62a25b736b0bf258e1d929e47bc6a82a28c"
27#SRC_URI_MD5 = "http://downloads.sleepycat.com/db-${PV}.tar.gz.md5"
28#TODO SRC_URI += "file://arm-thumb-mutex.patch;patch=1"
29
30inherit autotools
31
32# Put virtual/db in any appropriate provider of a
33# relational database, use it as a dependency in
34# place of a specific db and use:
35#
36# PREFERRED_PROVIDER_virtual/db
37#
38# to select the correct db in the build (distro) .conf
39PROVIDES += "${VIRTUAL_NAME}"
40
41# bitbake isn't quite clever enough to deal with sleepycat,
42# the distribution sits in the expected directory, but all
43# the builds must occur from a sub-directory. The following
44# persuades bitbake to go to the right place
45S = "${WORKDIR}/db-${PV}/dist"
46B = "${WORKDIR}/db-${PV}/build_unix"
47
48# The executables go in a separate package - typically there
49# is no need to install these unless doing real database
50# management on the system.
51PACKAGES += " ${PN}-bin"
52
53# Package contents
54FILES_${PN} = "${libdir}/libdb-4*so*"
55FILES_${PN}-bin = "${bindir}/*"
56# The dev package has the .so link (as in db3) and the .a's -
57# it is therefore incompatible (cannot be installed at the
58# same time) as the db3 package
59FILES_${PN}-dev = "${includedir} ${libdir}/*"
60
61#configuration - set in local.conf to override
62DB4_CONFIG ?= " --disable-cryptography --disable-queue --disable-replication --disable-verify --enable-hash"
63EXTRA_OECONF = "${DB4_CONFIG}"
64
65# Override the MUTEX setting here, the POSIX library is
66# the default - "POSIX/pthreads/library".
67# Don't ignore the nice SWP instruction on the ARM:
68# These enable the ARM assembler mutex code, this won't
69# work with thumb compilation...
70ARM_MUTEX = "--with-mutex=ARM/gcc-assembly"
71MUTEX = ""
72MUTEX_arm = "${ARM_MUTEX}"
73MUTEX_armeb = "${ARM_MUTEX}"
74EXTRA_OECONF += "${MUTEX}"
75
76ARM_INSTRUCTION_SET = "arm"
77
78# Cancel the site stuff - it's set for db3 and destroys the
79# configure.
80CONFIG_SITE = ""
81do_configure() {
82 rm -f ${S}/config.sub
83 cp ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}/config.sub
84 oe_runconf
85}
86
87do_install_append() {
88 # The docs end up in /usr/docs - not right.
89 if test -d "${D}/${prefix}/docs"
90 then
91 mkdir -p "${D}/${datadir}"
92 test ! -d "${D}/${docdir}" || rm -rf "${D}/${docdir}"
93 mv "${D}/${prefix}/docs" "${D}/${docdir}"
94 fi
95}
96
97# The db package contains symlinks that trip up insane
98INSANE_SKIP_db = "1"
99
100BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-support/db/db_4.3.29.bb b/meta/recipes-support/db/db_5.1.19.bb
index 04a6680f07..919e532be1 100644
--- a/meta/recipes-support/db/db_4.3.29.bb
+++ b/meta/recipes-support/db/db_5.1.19.bb
@@ -1,7 +1,4 @@
1# Has issues with eds 1# Version 5 of the Berkeley DB from Sleepycat
2DEFAULT_PREFERENCE = "-1"
3
4# Version 4 of the Berkeley DB from Sleepycat
5# 2#
6# At present this package only installs the DB code 3# At present this package only installs the DB code
7# itself (shared libraries, .a in the dev package), 4# itself (shared libraries, .a in the dev package),
@@ -9,19 +6,24 @@ DEFAULT_PREFERENCE = "-1"
9# 6#
10# The headers have the same names as those as v3 7# The headers have the same names as those as v3
11# of the DB, only one version can be used *for dev* 8# of the DB, only one version can be used *for dev*
12# at once - DB3 and DB4 can both be installed on the 9# at once - DB3 and DB5 can both be installed on the
13# same system at the same time if really necessary. 10# same system at the same time if really necessary.
14SECTION = "libs" 11SECTION = "libs"
15DESCRIPTION = "Berkeley DB v4." 12DESCRIPTION = "Berkeley DB v5."
16HOMEPAGE = "http://www.oracle.com/technology/products/berkeley-db/db/index.html" 13HOMEPAGE = "http://www.oracle.com/technology/products/berkeley-db/db/index.html"
17LICENSE = "BSD Sleepycat" 14LICENSE = "BSD Sleepycat"
18VIRTUAL_NAME ?= "virtual/db" 15VIRTUAL_NAME ?= "virtual/db"
19CONFLICTS = "db3" 16CONFLICTS = "db3"
20PR = "r8" 17PR = "r1"
21 18
22SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz" 19SRC_URI = "http://download.oracle.com/berkeley-db/db-${PV}.tar.gz"
23#SRC_URI_MD5 = "http://downloads.sleepycat.com/db-${PV}.tar.gz.md5" 20#SRC_URI_MD5 = "http://downloads.sleepycat.com/db-${PV}.tar.gz.md5"
24SRC_URI += "file://arm-thumb-mutex.patch;patch=1" 21SRC_URI += "file://arm-thumb-mutex_db5.patch;patch=1"
22
23SRC_URI[md5sum] = "76fcbfeebfcd09ba0b4d96bfdf8d884d"
24SRC_URI[sha256sum] = "0194d4ca9266ba1a1c0bfbc233b18bfd05f63163453c81ebcdfdc7112d5ac850"
25
26LIC_FILES_CHKSUM = "file://../LICENSE;md5=86f9294f39f38ef9e89690bcd2320e7a"
25 27
26inherit autotools 28inherit autotools
27 29
@@ -47,7 +49,7 @@ B = "${WORKDIR}/db-${PV}/build_unix"
47PACKAGES += " ${PN}-bin" 49PACKAGES += " ${PN}-bin"
48 50
49# Package contents 51# Package contents
50FILES_${PN} = "${libdir}/libdb-4*so*" 52FILES_${PN} = "${libdir}/libdb-5*so*"
51FILES_${PN}-bin = "${bindir}/*" 53FILES_${PN}-bin = "${bindir}/*"
52# The dev package has the .so link (as in db3) and the .a's - 54# The dev package has the .so link (as in db3) and the .a's -
53# it is therefore incompatible (cannot be installed at the 55# it is therefore incompatible (cannot be installed at the
@@ -56,9 +58,9 @@ FILES_${PN}-dev = "${includedir} ${libdir}/*"
56 58
57#configuration - set in local.conf to override 59#configuration - set in local.conf to override
58# All the --disable-* options replace --enable-smallbuild, which breaks a bunch of stuff (eg. postfix) 60# All the --disable-* options replace --enable-smallbuild, which breaks a bunch of stuff (eg. postfix)
59DB4_CONFIG ?= "--enable-o_direct --disable-cryptography --disable-queue --disable-replication --disable-statistics --disable-verify --enable-compat185" 61DB5_CONFIG ?= "--enable-o_direct --disable-cryptography --disable-queue --disable-replication --disable-statistics --disable-verify --disable-compat185 --disable-sql"
60 62
61EXTRA_OECONF = "${DB4_CONFIG}" 63EXTRA_OECONF = "${DB5_CONFIG}"
62 64
63# Override the MUTEX setting here, the POSIX library is 65# Override the MUTEX setting here, the POSIX library is
64# the default - "POSIX/pthreads/library". 66# the default - "POSIX/pthreads/library".
@@ -79,11 +81,24 @@ do_configure() {
79} 81}
80 82
81do_install_append() { 83do_install_append() {
84 mkdir -p ${D}/${includedir}/db51
85 #mv ${D}/${includedir}/db_185.h ${D}/${includedir}/db51/.
86 mv ${D}/${includedir}/db.h ${D}/${includedir}/db51/.
87 mv ${D}/${includedir}/db_cxx.h ${D}/${includedir}/db51/.
88 #mv ${D}/${includedir}/dbsql.h ${D}/${includedir}/db51/.
89 #ln -s db51/db_185.h ${D}/${includedir}/db_185.h
90 ln -s db51/db.h ${D}/${includedir}/db.h
91 ln -s db51/db_cxx.h ${D}/${includedir}/db_cxx.h
92 #ln -s db51/dbsql.h ${D}/${includedir}/dbsql.h
93
82 # The docs end up in /usr/docs - not right. 94 # The docs end up in /usr/docs - not right.
83 if test -d "${D}/${prefix}/docs" 95 if test -d "${D}/${prefix}/docs"
84 then 96 then
85 mkdir -p "${D}/${datadir}" 97 mkdir -p "${D}/${datadir}"
86 test ! -d "${D}/${docdir}" || rmdir "${D}/${docdir}" 98 test ! -d "${D}/${docdir}" || rm -rf "${D}/${docdir}"
87 mv "${D}/${prefix}/docs" "${D}/${docdir}" 99 mv "${D}/${prefix}/docs" "${D}/${docdir}"
88 fi 100 fi
89} 101}
102
103BBCLASSEXTEND = "native nativesdk"
104
diff --git a/meta/recipes-support/enchant/enchant_1.6.0.bb b/meta/recipes-support/enchant/enchant_1.6.0.bb
index 7df4f9738b..a3ef37912a 100644
--- a/meta/recipes-support/enchant/enchant_1.6.0.bb
+++ b/meta/recipes-support/enchant/enchant_1.6.0.bb
@@ -6,11 +6,11 @@ LICENSE = "LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=dfcbabf9131dc9a95febef6753a2958b \ 6LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=dfcbabf9131dc9a95febef6753a2958b \
7 file://src/enchant.h;beginline=1;endline=29;md5=8d881caa1d37523567e1d8f726675a18" 7 file://src/enchant.h;beginline=1;endline=29;md5=8d881caa1d37523567e1d8f726675a18"
8DEPENDS = "aspell glib-2.0" 8DEPENDS = "aspell glib-2.0"
9RDEPENDS = "aspell" 9RDEPENDS_${PN} = "aspell"
10 10
11inherit autotools pkgconfig 11inherit autotools pkgconfig
12 12
13PR = "r0" 13PR = "r1"
14 14
15SRC_URI = "http://www.abisource.com/downloads/enchant/${PV}/enchant-${PV}.tar.gz" 15SRC_URI = "http://www.abisource.com/downloads/enchant/${PV}/enchant-${PV}.tar.gz"
16 16
diff --git a/meta/recipes-support/gnutls/gnutls-2.8.6/configure-fix.patch b/meta/recipes-support/gnutls/gnutls-2.10.4/configure-fix.patch
index 247e324564..247e324564 100644
--- a/meta/recipes-support/gnutls/gnutls-2.8.6/configure-fix.patch
+++ b/meta/recipes-support/gnutls/gnutls-2.10.4/configure-fix.patch
diff --git a/meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-openssl.patch b/meta/recipes-support/gnutls/gnutls-2.10.4/gnutls-openssl.patch
index 413de06472..413de06472 100644
--- a/meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-openssl.patch
+++ b/meta/recipes-support/gnutls/gnutls-2.10.4/gnutls-openssl.patch
diff --git a/meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-texinfo-euro.patch b/meta/recipes-support/gnutls/gnutls-2.10.4/gnutls-texinfo-euro.patch
index a2d2f03870..a2d2f03870 100644
--- a/meta/recipes-support/gnutls/gnutls-2.8.6/gnutls-texinfo-euro.patch
+++ b/meta/recipes-support/gnutls/gnutls-2.10.4/gnutls-texinfo-euro.patch
diff --git a/meta/recipes-support/gnutls/gnutls_2.8.6.bb b/meta/recipes-support/gnutls/gnutls_2.10.4.bb
index 59fc2266a0..3924ecdf9a 100644
--- a/meta/recipes-support/gnutls/gnutls_2.8.6.bb
+++ b/meta/recipes-support/gnutls/gnutls_2.10.4.bb
@@ -6,5 +6,5 @@ SRC_URI += "file://gnutls-openssl.patch \
6 file://gnutls-texinfo-euro.patch \ 6 file://gnutls-texinfo-euro.patch \
7 file://configure-fix.patch" 7 file://configure-fix.patch"
8 8
9SRC_URI[md5sum] = "eb0a6d7d3cb9ac684d971c14f9f6d3ba" 9SRC_URI[md5sum] = "4e1517084018a8b1fdc96daabea40528"
10SRC_URI[sha256sum] = "d6f846a7064af3ee2c9aebd65dcee76953b767170cbcd719e990ed6b9688a356" 10SRC_URI[sha256sum] = "b8bfe36450fe671e99db5ff1e44e6b65fda8a79cacd9e77d550eff7da3745fc8"
diff --git a/meta/recipes-support/gnutls/libtasn1_2.8.bb b/meta/recipes-support/gnutls/libtasn1_2.9.bb
index a10d2ace5c..63bb3c85f6 100644
--- a/meta/recipes-support/gnutls/libtasn1_2.8.bb
+++ b/meta/recipes-support/gnutls/libtasn1_2.9.bb
@@ -14,8 +14,8 @@ PR = "r0"
14 14
15SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/libtasn1/libtasn1-${PV}.tar.gz" 15SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/libtasn1/libtasn1-${PV}.tar.gz"
16 16
17SRC_URI[md5sum] = "53fd164f8670e55a9964666990fb358f" 17SRC_URI[md5sum] = "f4f4035b84550100ffeb8ad4b261dea9"
18SRC_URI[sha256sum] = "2b7d74f4b10b18ae2f0291fcafabe30e42c9ededdea41add8c622302132d545a" 18SRC_URI[sha256sum] = "fac46855fac8b08cf6f5a1b60cebad8e090bac1f06c335a044e84110d0b412c4"
19 19
20inherit autotools binconfig lib_package 20inherit autotools binconfig lib_package
21 21
diff --git a/meta/recipes-support/hal/hal.inc b/meta/recipes-support/hal/hal.inc
index 839dfd0652..ee6c7ba15d 100644
--- a/meta/recipes-support/hal/hal.inc
+++ b/meta/recipes-support/hal/hal.inc
@@ -7,7 +7,7 @@ LICENSE = "GPLv2+ | AFL"
7LIC_FILES_CHKSUM = "file://COPYING;md5=5b5ffd59fbb7c2fff6de76c94177af31" 7LIC_FILES_CHKSUM = "file://COPYING;md5=5b5ffd59fbb7c2fff6de76c94177af31"
8 8
9DEPENDS = "virtual/kernel dbus-glib udev util-linux intltool intltool-native expat libusb gperf-native" 9DEPENDS = "virtual/kernel dbus-glib udev util-linux intltool intltool-native expat libusb gperf-native"
10RDEPENDS += "udev hal-info" 10RDEPENDS_${PN} += "udev hal-info"
11 11
12SRC_URI = "http://hal.freedesktop.org/releases/hal-${PV}.tar.gz \ 12SRC_URI = "http://hal.freedesktop.org/releases/hal-${PV}.tar.gz \
13 file://20hal" 13 file://20hal"
diff --git a/meta/recipes-support/hal/hal_0.5.14.bb b/meta/recipes-support/hal/hal_0.5.14.bb
index f9437f8d60..8b82ca8502 100644
--- a/meta/recipes-support/hal/hal_0.5.14.bb
+++ b/meta/recipes-support/hal/hal_0.5.14.bb
@@ -1,6 +1,6 @@
1require hal.inc 1require hal.inc
2 2
3PR = "r2" 3PR = "r3"
4 4
5EXTRA_OECONF += "--with-linux-input-header=${STAGING_INCDIR}/linux/input.h" 5EXTRA_OECONF += "--with-linux-input-header=${STAGING_INCDIR}/linux/input.h"
6EXTRA_OEMAKE += "-e 'udevrulesdir=$(sysconfdir)/udev/rules.d'" 6EXTRA_OEMAKE += "-e 'udevrulesdir=$(sysconfdir)/udev/rules.d'"
diff --git a/meta/recipes-support/hal/hal_git.bb b/meta/recipes-support/hal/hal_git.bb
index baed472375..483867f267 100644
--- a/meta/recipes-support/hal/hal_git.bb
+++ b/meta/recipes-support/hal/hal_git.bb
@@ -1,7 +1,7 @@
1require hal.inc 1require hal.inc
2 2
3PV = "0.5.9.1+git${SRCDATE}" 3PV = "0.5.9.1+git${SRCDATE}"
4PR = "r7" 4PR = "r8"
5 5
6SRC_URI = "git://anongit.freedesktop.org/hal/;protocol=git \ 6SRC_URI = "git://anongit.freedesktop.org/hal/;protocol=git \
7 file://20hal \ 7 file://20hal \
diff --git a/meta/recipes-support/libfm/libfm-0.1.14/add_missing.patch b/meta/recipes-support/libfm/libfm-0.1.14/add_missing.patch
deleted file mode 100644
index 3739d8056e..0000000000
--- a/meta/recipes-support/libfm/libfm-0.1.14/add_missing.patch
+++ /dev/null
@@ -1,50 +0,0 @@
1Add missing definitions and declarations for libfm which are
2needed by libfm.
3
4Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
5
6diff -ruN libfm-0.1.12-orig/src/gio/fm-app-lookup.h libfm-0.1.12/src/gio/fm-app-lookup.h
7--- libfm-0.1.12-orig/src/gio/fm-app-lookup.h 2010-11-17 22:00:48.000000000 +0800
8+++ libfm-0.1.12/src/gio/fm-app-lookup.h 2010-11-17 22:01:13.000000000 +0800
9@@ -53,6 +53,41 @@
10 GType fm_app_lookup_get_type(void);
11 void fm_app_lookup_register(GIOModule *module);
12
13+#define G_TYPE_DESKTOP_APP_INFO_LOOKUP (g_desktop_app_info_lookup_get_type ())
14+#define G_DESKTOP_APP_INFO_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP, GDesktopAppInfoLookup))
15+#define G_IS_DESKTOP_APP_INFO_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP))
16+#define G_DESKTOP_APP_INFO_LOOKUP_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP, GDesktopAppInfoLookupIface))
17+
18+/**
19+ * G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME:
20+ *
21+ * Extension point for default handler to URI association. See
22+ * <link linkend="extending-gio">Extending GIO</link>.
23+ */
24+#define G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME "gio-desktop-app-info-lookup"
25+
26+/**
27+ * GDesktopAppInfoLookup:
28+ *
29+ * Interface that is used by backends to associate default
30+ * handlers with URI schemes.
31+ */
32+typedef struct _GDesktopAppInfoLookup GDesktopAppInfoLookup;
33+typedef struct _GDesktopAppInfoLookupIface GDesktopAppInfoLookupIface;
34+
35+struct _GDesktopAppInfoLookupIface
36+{
37+ GTypeInterface g_iface;
38+
39+ GAppInfo * (* get_default_for_uri_scheme) (GDesktopAppInfoLookup *lookup,
40+ const char *uri_scheme);
41+};
42+
43+GType g_desktop_app_info_lookup_get_type (void) G_GNUC_CONST;
44+
45+GAppInfo *g_desktop_app_info_lookup_get_default_for_uri_scheme (GDesktopAppInfoLookup *lookup,
46+ const char *uri_scheme);
47+
48 G_END_DECLS
49
50 #endif /* __FM_APP_LOOKUP_H__ */
diff --git a/meta/recipes-support/libfm/libfm_0.1.14.bb b/meta/recipes-support/libfm/libfm_0.1.14.bb
index e8e672cf83..c56ad331c1 100644
--- a/meta/recipes-support/libfm/libfm_0.1.14.bb
+++ b/meta/recipes-support/libfm/libfm_0.1.14.bb
@@ -10,10 +10,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
10SECTION = "x11/libs" 10SECTION = "x11/libs"
11DEPENDS = "gtk+ menu-cache intltool" 11DEPENDS = "gtk+ menu-cache intltool"
12 12
13PR = "r1" 13PR = "r2"
14 14
15SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.gz \ 15SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.gz"
16 file://add_missing.patch"
17 16
18SRC_URI[md5sum] = "d55e51dced6bb9ef46665243b079761f" 17SRC_URI[md5sum] = "d55e51dced6bb9ef46665243b079761f"
19SRC_URI[sha256sum] = "e97bf3f9ed4f33b9f0be73e67d360b89337cccf816361faacd8422722269806b" 18SRC_URI[sha256sum] = "e97bf3f9ed4f33b9f0be73e67d360b89337cccf816361faacd8422722269806b"
diff --git a/meta/recipes-support/libgdbus/libgdbus_git.bb b/meta/recipes-support/libgdbus/libgdbus_git.bb
index c465023d1a..40b44de88e 100644
--- a/meta/recipes-support/libgdbus/libgdbus_git.bb
+++ b/meta/recipes-support/libgdbus/libgdbus_git.bb
@@ -1,12 +1,18 @@
1HOMEPAGE = "http://www.moblin.org/projects/projects_connman.php" 1SUMMARY = "Library for simple D-Bus integration with GLib"
2SUMMARY = "Moblin Glib D-Bus integration" 2DESCRIPTION = "Library for simple D-Bus integration with GLib"
3LICENSE = "GPLv2&LGPLv2.1" 3HOMEPAGE = "http://www.bluez.org"
4SECTION = "libs"
5PRIORITY = "optional"
6LICENSE = "GPLv2&LGPLv2.1"
4LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ 7LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
5 file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09" 8 file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09"
6DEPENDS = "glib-2.0 dbus"
7PV = "0.0+git${SRCREV}"
8S = "${WORKDIR}/git"
9 9
10SRC_URI = "git://git.kernel.org/pub/scm/bluetooth/libgdbus.git;protocol=git" 10DEPENDS = "glib-2.0 dbus"
11PV = "0.0+git${SRCPV}"
12PR = "r0"
13
14SRC_URI = "git://git.kernel.org/pub/scm/bluetooth/libgdbus.git;protocol=git"
15
16S = "${WORKDIR}/git"
11 17
12inherit autotools pkgconfig 18inherit autotools pkgconfig
diff --git a/meta/recipes-support/liburcu/liburcu_0.4.8.bb b/meta/recipes-support/liburcu/liburcu_0.5.2.bb
index 655685a650..fa9ddb3612 100644
--- a/meta/recipes-support/liburcu/liburcu_0.4.8.bb
+++ b/meta/recipes-support/liburcu/liburcu_0.5.2.bb
@@ -11,8 +11,8 @@ PR = "r0"
11 11
12SRC_URI = "http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2" 12SRC_URI = "http://lttng.org/files/urcu/userspace-rcu-${PV}.tar.bz2"
13 13
14SRC_URI[md5sum] = "408b67506808a1bff2313d83607dbcfe" 14SRC_URI[md5sum] = "a2978395806eed5d9a2de1e22efe70e0"
15SRC_URI[sha256sum] = "43783a298b5adcfe273878194b28b9dcb95cbe8948a918caaf492c7bcb8c2ff6" 15SRC_URI[sha256sum] = "2f22966fe4b00ef547976a31c1c6a7c7bea3449ffa838806d9610e7424e184dd"
16 16
17S = "${WORKDIR}/userspace-rcu-${PV}" 17S = "${WORKDIR}/userspace-rcu-${PV}"
18 18
diff --git a/meta/recipes-support/lzo/lzo-2.03/autofoo.patch b/meta/recipes-support/lzo/lzo-2.03/autofoo.patch
deleted file mode 100644
index 5762f4c6e2..0000000000
--- a/meta/recipes-support/lzo/lzo-2.03/autofoo.patch
+++ /dev/null
@@ -1,17 +0,0 @@
1---
2 configure.ac | 2 +-
3 1 file changed, 1 insertion(+), 1 deletion(-)
4
5Index: lzo-2.02/configure.ac
6===================================================================
7--- lzo-2.02.orig/configure.ac 2007-08-08 15:28:14.000000000 +0100
8+++ lzo-2.02/configure.ac 2007-08-08 15:28:21.000000000 +0100
9@@ -47,7 +47,7 @@ AC_CANONICAL_TARGET
10 AM_MAINTAINER_MODE
11
12 if test -z "$ac_abs_top_srcdir"; then
13- _AC_SRCPATHS(.)
14+ _AC_SRCDIRS(.)
15 fi
16 if test -r .Conf.settings1; then
17 . ./.Conf.settings1
diff --git a/meta/recipes-support/lzo/lzo-2.03/acinclude.m4 b/meta/recipes-support/lzo/lzo-2.04/acinclude.m4
index c4d2ccd5b5..c4d2ccd5b5 100644
--- a/meta/recipes-support/lzo/lzo-2.03/acinclude.m4
+++ b/meta/recipes-support/lzo/lzo-2.04/acinclude.m4
diff --git a/meta/recipes-support/lzo/lzo-2.04/autoconf.patch b/meta/recipes-support/lzo/lzo-2.04/autoconf.patch
new file mode 100644
index 0000000000..c342387107
--- /dev/null
+++ b/meta/recipes-support/lzo/lzo-2.04/autoconf.patch
@@ -0,0 +1,19 @@
1Date: 12/31/2010
2Didn't find 2.67 specific features, so lower the requirement
3to pass build
4
5Signed-off-by: Qing He <qing.he@intel.com>
6---
7diff --git a/configure.ac b/configure.ac
8index 650749a..2a78845 100644
9--- a/configure.ac
10+++ b/configure.ac
11@@ -36,7 +36,7 @@ All Rights Reserved.
12 This configure script may be copied, distributed and modified under the
13 terms of the GNU General Public License; see COPYING for more details.])
14
15-AC_PREREQ(2.67)
16+AC_PREREQ(2.65)
17 AC_INIT([LZO],[2.04],[markus@oberhumer.com],[lzo],[http://www.oberhumer.com/opensource/lzo/])
18 AC_MSG_NOTICE([Configuring LZO $PACKAGE_VERSION])
19 AC_CONFIG_SRCDIR(src/lzo_init.c)
diff --git a/meta/recipes-support/lzo/lzo_2.03.bb b/meta/recipes-support/lzo/lzo_2.04.bb
index 05b10ee9f7..f8c8aba3a3 100644
--- a/meta/recipes-support/lzo/lzo_2.03.bb
+++ b/meta/recipes-support/lzo/lzo_2.04.bb
@@ -4,15 +4,16 @@ SECTION = "libs"
4PRIORITY = "optional" 4PRIORITY = "optional"
5LICENSE = "GPLv2+" 5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=8cad52263e636e25377bc18420118101 \ 6LIC_FILES_CHKSUM = "file://COPYING;md5=8cad52263e636e25377bc18420118101 \
7 file://src/lzo_init.c;beginline=5;endline=33;md5=094776237523b2e93124cf09b9c76aef" 7 file://src/lzo_init.c;beginline=5;endline=36;md5=454f781644dfe945e3634a9b699e91f3"
8PR = "r0" 8PR = "r0"
9 9
10SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \ 10SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz \
11 file://autofoo.patch \ 11 file://autoconf.patch \
12 file://acinclude.m4" 12 file://acinclude.m4 \
13 "
13 14
14SRC_URI[md5sum] = "0c3d078c2e8ea5a88971089a2f02a726" 15SRC_URI[md5sum] = "a383c7055a310e2a71b9ecd19cfea238"
15SRC_URI[sha256sum] = "8b1b0da8f757b9ac318e1c15a0eac8bdb56ca902a2dd25beda06c0f265f22591" 16SRC_URI[sha256sum] = "4ee3a040facf39561f13e4ef2ab99a886fd68251a35d612486ed0625cc6ab428"
16 17
17inherit autotools 18inherit autotools
18 19
diff --git a/meta/recipes-tbd/consolekit/consolekit_0.4.3.bb b/meta/recipes-tbd/consolekit/consolekit_0.4.3.bb
deleted file mode 100644
index f1da72bb78..0000000000
--- a/meta/recipes-tbd/consolekit/consolekit_0.4.3.bb
+++ /dev/null
@@ -1,21 +0,0 @@
1DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login sessions, and seats."
2HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit"
3BUGTRACKER="https://bugs.freedesktop.org/buglist.cgi?query_format=specific&product=ConsoleKit"
4
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
7 file://src/main.c;endline=21;md5=0a994e09769780220163255d8f9071c3"
8
9DEPENDS = "dbus"
10
11inherit gnome
12
13SRC_URI = "http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-0.4.3.tar.bz2 \
14 file://nopolkit.patch;patch=1"
15S = "${WORKDIR}/ConsoleKit-${PV}"
16
17FILES_${PN} += "${libdir}/ConsoleKit ${datadir}/dbus-1 ${datadir}/PolicyKit"
18
19
20
21
diff --git a/meta/site/mips-common b/meta/site/mips-common
index 85e4696cbd..6408baa59f 100644
--- a/meta/site/mips-common
+++ b/meta/site/mips-common
@@ -29,3 +29,6 @@ ac_cv_alignof_CORBA_struct=1
29# dpkg 29# dpkg
30dpkg_cv_va_copy=${ac_cv_va_copy=yes} 30dpkg_cv_va_copy=${ac_cv_va_copy=yes}
31dpkg_cv___va_copy=${ac_cv___va_copy=yes} 31dpkg_cv___va_copy=${ac_cv___va_copy=yes}
32
33# apr
34apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
diff --git a/meta/site/x86_64-linux b/meta/site/x86_64-linux
index 31acb34437..9c9e0f82a8 100644
--- a/meta/site/x86_64-linux
+++ b/meta/site/x86_64-linux
@@ -114,3 +114,11 @@ as_cv_unaligned_access=${as_cv_unaligned_access=yes}
114nfsd_cv_broken_setfsuid=${nfsd_cv_broken_setfsuid=0} 114nfsd_cv_broken_setfsuid=${nfsd_cv_broken_setfsuid=0}
115nfsd_cv_func_statfs=${nfsd_cv_func_statfs=statfs2_bsize} 115nfsd_cv_func_statfs=${nfsd_cv_func_statfs=statfs2_bsize}
116nfsd_cv_bsd_signals=${nfsd_cv_bsd_signals=yes} 116nfsd_cv_bsd_signals=${nfsd_cv_bsd_signals=yes}
117
118#apr
119apr_cv_tcp_nodelay_with_cork=${apr_cv_tcp_nodelay_with_cork=yes}
120
121# rpm
122rpm_ac_cv_va_copy=${ac_cv_va_copy=yes}
123rpm_ac_cv___va_copy=${ac_cv___va_copy=yes}
124
diff --git a/poky-init-build-env b/poky-init-build-env
index 075070370b..82590f2012 100755
--- a/poky-init-build-env
+++ b/poky-init-build-env
@@ -18,12 +18,27 @@
18# along with this program; if not, write to the Free Software 18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 20
21 21#
22# Normally this is called as '. ./poky-init-buildenv builddir'
23#
24# This works in most shells (not dash), but not all of them pass arg1 when
25# being sourced. To workaround the shell limitation use "set arg1" prior
26# to sourcing this script.
27#
22if [ "x$0" = "x./poky-init-build-env" ]; then 28if [ "x$0" = "x./poky-init-build-env" ]; then
23 echo "Error: This script needs to be sourced. Please run as '. ./poky-init-build-env'" 29 echo "Error: This script needs to be sourced. Please run as '. ./poky-init-build-env'"
24elif [ "x$BASH_SOURCE" = "x" ]; then
25 echo "Error: You are not running a Bash shell. Please use Bash or add support for your shell to the init scripts"
26else 30else
27 . `dirname $BASH_SOURCE`/scripts/poky-env-internal 31 if [ -n "$BASH_SOURCE" ]; then
32 OEROOT="`dirname $BASH_SOURCE`"
33 else
34 OEROOT="`pwd`"
35 fi
36 OEROOT=`readlink -f "$OEROOT"`
37 export OEROOT
38 . $OEROOT/scripts/poky-env-internal
39 $OEROOT/scripts/poky-setup-builddir
40 unset OEROOT
41 unset BBPATH
42 [ -n "$BUILDDIR" ] && cd $BUILDDIR
28fi 43fi
29 44
diff --git a/scripts/bitbake b/scripts/bitbake
index 2c03314e0b..f40bd28260 100755
--- a/scripts/bitbake
+++ b/scripts/bitbake
@@ -1,9 +1,33 @@
1#!/bin/sh 1#!/bin/sh
2NO_BUILD_OPTS="--version -h --help -p --parse-only -s --show-versions -e --environment"
3needpseudo="1"
4for opt in $@; do
5for key in $NO_BUILD_OPTS; do
6 if [ $opt = $key ]
7 then
8 needpseudo="0"
9 break
10 fi
11done
12[ $needpseudo = "0" ] && break
13done
14
15buildpseudo="1"
16if [ $needpseudo = "1" ] && [ -e "$BUILDDIR/pseudodone" ]; then
17 PSEUDOBINDIR=`cat $BUILDDIR/pseudodone`
18 if [ -e "$PSEUDOBINDIR/pseudo" ]; then
19 buildpseudo="0"
20 fi
21fi
22if [ $needpseudo = "0" ]; then
23 buildpseudo="0"
24fi
25
2OLDPATH=$PATH 26OLDPATH=$PATH
3export PATH=`echo $PATH | sed s#[^:]*/scripts:##` 27export PATH=`echo $PATH | sed s#[^:]*/scripts:##`
4if [ ! -e "$BUILDDIR/pseudodone" ]; then 28if [ $buildpseudo = "1" ]; then
5 echo "Pseudo has not been built, building this first before the main build" 29 echo "Pseudo is not present but is required, building this first before the main build"
6 bitbake pseudo-native 30 bitbake pseudo-native -c populate_sysroot
7 ret=$? 31 ret=$?
8 if [ "$ret" != "0" ]; then 32 if [ "$ret" != "0" ]; then
9 exit 1 33 exit 1
@@ -19,7 +43,11 @@ if [ ! -e "$BUILDDIR/pseudodone" ]; then
19fi 43fi
20BITBAKE=`which bitbake` 44BITBAKE=`which bitbake`
21export PATH=$OLDPATH 45export PATH=$OLDPATH
22PSEUDOBINDIR=`cat $BUILDDIR/pseudodone` 46if [ $needpseudo = "1" ]; then
23PSEUDO_BINDIR=$PSEUDOBINDIR PSEUDO_LIBDIR=$PSEUDOBINDIR/../lib/pseudo/lib PSEUDO_PREFIX=$PSEUDOBINDIR/../../ PSEUDO_DISABLED=1 $PSEUDOBINDIR/pseudo $BITBAKE $@ 47 PSEUDOBINDIR=`cat $BUILDDIR/pseudodone`
48 PSEUDO_BINDIR=$PSEUDOBINDIR PSEUDO_LIBDIR=$PSEUDOBINDIR/../lib/pseudo/lib PSEUDO_PREFIX=$PSEUDOBINDIR/../../ PSEUDO_DISABLED=1 $PSEUDOBINDIR/pseudo $BITBAKE $@
49else
50 $BITBAKE $@
51fi
24ret=$? 52ret=$?
25exit $ret 53exit $ret
diff --git a/scripts/contrib/bbvars.py b/scripts/contrib/bbvars.py
new file mode 100755
index 0000000000..0896d64445
--- /dev/null
+++ b/scripts/contrib/bbvars.py
@@ -0,0 +1,186 @@
1#!/usr/bin/env python
2
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 2 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program; if not, write to the Free Software
15# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16#
17# Copyright (C) Darren Hart <dvhart@linux.intel.com>, 2010
18
19
20import sys
21import getopt
22import os
23import os.path
24import re
25
26def usage():
27 print 'Usage: %s -d FILENAME [-d FILENAME]* -m METADIR [-m MATADIR]*' % os.path.basename(sys.argv[0])
28 print ' -d FILENAME documentation file to search'
29 print ' -h, --help display this help and exit'
30 print ' -m METADIR meta directory to search for recipes'
31 print ' -t FILENAME documentation config file (for doc tags)'
32 print ' -T Only display variables with doc tags (requires -t)'
33
34def recipe_bbvars(recipe):
35 ''' Return a unique set of every bbvar encountered in the recipe '''
36 prog = re.compile("[A-Z_]+")
37 vset = set()
38 try:
39 r = open(recipe)
40 except IOError as (errno, strerror):
41 print 'WARNING: Failed to open recipe ', recipe
42 print strerror
43
44 for line in r:
45 # Strip any comments from the line
46 line = line.rsplit('#')[0]
47 vset = vset.union(set(prog.findall(line)))
48 r.close()
49
50 bbvars = {}
51 for v in vset:
52 bbvars[v] = 1
53
54 return bbvars
55
56def collect_bbvars(metadir):
57 ''' Walk the metadir and collect the bbvars from each recipe found '''
58 bbvars = {}
59 for root,dirs,files in os.walk(metadir):
60 for name in files:
61 if name.find(".bb") >= 0:
62 for key in recipe_bbvars(os.path.join(root,name)).iterkeys():
63 if bbvars.has_key(key):
64 bbvars[key] = bbvars[key] + 1
65 else:
66 bbvars[key] = 1
67 return bbvars
68
69def bbvar_is_documented(var, docfiles):
70 prog = re.compile(".*($|[^A-Z_])%s([^A-Z_]|$)" % (var))
71 for doc in docfiles:
72 try:
73 f = open(doc)
74 except IOError as (errno, strerror):
75 print 'WARNING: Failed to open doc ', doc
76 print strerror
77 for line in f:
78 if prog.match(line):
79 return True
80 f.close()
81 return False
82
83def bbvar_doctag(var, docconf):
84 prog = re.compile('^%s\[doc\] *= *"(.*)"' % (var))
85 if docconf == "":
86 return "?"
87
88 try:
89 f = open(docconf)
90 except IOError as (errno, strerror):
91 return strerror
92
93 for line in f:
94 m = prog.search(line)
95 if m:
96 return m.group(1)
97
98 f.close()
99 return ""
100
101def main():
102 docfiles = []
103 metadirs = []
104 bbvars = {}
105 undocumented = []
106 docconf = ""
107 onlydoctags = False
108
109 # Collect and validate input
110 try:
111 opts, args = getopt.getopt(sys.argv[1:], "d:hm:t:T", ["help"])
112 except getopt.GetoptError, err:
113 print '%s' % str(err)
114 usage()
115 sys.exit(2)
116
117 for o, a in opts:
118 if o in ('-h', '--help'):
119 usage()
120 sys.exit(0)
121 elif o == '-d':
122 if os.path.isfile(a):
123 docfiles.append(a)
124 else:
125 print 'ERROR: documentation file %s is not a regular file' % (a)
126 sys.exit(3)
127 elif o == '-m':
128 if os.path.isdir(a):
129 metadirs.append(a)
130 else:
131 print 'ERROR: meta directory %s is not a directory' % (a)
132 sys.exit(4)
133 elif o == "-t":
134 if os.path.isfile(a):
135 docconf = a
136 elif o == "-T":
137 onlydoctags = True
138 else:
139 assert False, "unhandled option"
140
141 if len(docfiles) == 0:
142 print 'ERROR: no docfile specified'
143 usage()
144 sys.exit(5)
145
146 if len(metadirs) == 0:
147 print 'ERROR: no metadir specified'
148 usage()
149 sys.exit(6)
150
151 if onlydoctags and docconf == "":
152 print 'ERROR: no docconf specified'
153 usage()
154 sys.exit(7)
155
156 # Collect all the variable names from the recipes in the metadirs
157 for m in metadirs:
158 for key,cnt in collect_bbvars(m).iteritems():
159 if bbvars.has_key(key):
160 bbvars[key] = bbvars[key] + cnt
161 else:
162 bbvars[key] = cnt
163
164 # Check each var for documentation
165 varlen = 0
166 for v in bbvars.iterkeys():
167 if len(v) > varlen:
168 varlen = len(v)
169 if not bbvar_is_documented(v, docfiles):
170 undocumented.append(v)
171 undocumented.sort()
172 varlen = varlen + 1
173
174 # Report all undocumented variables
175 print 'Found %d undocumented bb variables (out of %d):' % (len(undocumented), len(bbvars))
176 header = '%s%s%s' % (str("VARIABLE").ljust(varlen), str("COUNT").ljust(6), str("DOCTAG").ljust(7))
177 print header
178 print str("").ljust(len(header), '=')
179 for v in undocumented:
180 doctag = bbvar_doctag(v, docconf)
181 if not onlydoctags or not doctag == "":
182 print '%s%s%s' % (v.ljust(varlen), str(bbvars[v]).ljust(6), doctag)
183
184
185if __name__ == "__main__":
186 main()
diff --git a/scripts/poky-env-internal b/scripts/poky-env-internal
index 1557f9ddbd..80b7a125df 100755
--- a/scripts/poky-env-internal
+++ b/scripts/poky-env-internal
@@ -18,9 +18,11 @@
18# along with this program; if not, write to the Free Software 18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 20
21# scripts/ is a sub-directory of OEROOT, we use readlink to get the full path 21# It is assumed OEROOT is already defined when this is called
22SCRIPTPATH=`readlink -f "$BASH_SOURCE"` 22if [ -z "$OEROOT" ]; then
23OEROOT="`dirname $SCRIPTPATH`/../" 23 echo >&2 "Error: OEROOT is not defined!"
24 return
25fi
24 26
25if [ "x$BDIR" = "x" ]; then 27if [ "x$BDIR" = "x" ]; then
26 if [ "x$1" = "x" ]; then 28 if [ "x$1" = "x" ]; then
@@ -29,116 +31,28 @@ if [ "x$BDIR" = "x" ]; then
29 BDIR=`readlink -f "$1"` 31 BDIR=`readlink -f "$1"`
30 fi 32 fi
31fi 33fi
32if [[ "$BDIR" = /* ]] ; then 34if expr "$BDIR" : '/.*' > /dev/null ; then
33 BUILDDIR="$BDIR" 35 BUILDDIR="$BDIR"
34else 36else
35 BUILDDIR="`pwd`/$BDIR" 37 BUILDDIR="`pwd`/$BDIR"
36fi 38fi
37unset BDIR 39unset BDIR
38 40
39mkdir -p $BUILDDIR/conf
40if ! (test -w "$BUILDDIR"); then
41 echo >&2 "Error: Cannot write to $BUILDDIR, perhaps try sourcing with a writable path? i.e. . poky-init-build-env ~/my-build"
42 return
43fi
44
45BITBAKEDIR="$OEROOT/bitbake$BBEXTRA/" 41BITBAKEDIR="$OEROOT/bitbake$BBEXTRA/"
46 42
47PATH="${OEROOT}/scripts:$BITBAKEDIR/bin/:$PATH"
48
49# Remove any symlinks from paths
50BITBAKEDIR=`readlink -f "$BITBAKEDIR"` 43BITBAKEDIR=`readlink -f "$BITBAKEDIR"`
51BUILDDIR=`readlink -f "$BUILDDIR"` 44BUILDDIR=`readlink -f "$BUILDDIR"`
52OEROOT=`readlink -f "$OEROOT"`
53
54cd "$BUILDDIR"
55 45
56if ! (test -d "$BITBAKEDIR" && test -d "$BUILDDIR"); then 46if ! (test -d "$BITBAKEDIR"); then
57 echo >&2 "Error: Not all directories exist! Did you run this script in poky directory?" 47 echo >&2 "Error: The bitbake directory ($BITBAKEDIR) does not exist! Did you source the script in the poky directory?"
58 return 48 return
59fi 49fi
60 50
61# 51PATH="${OEROOT}/scripts:$BITBAKEDIR/bin/:$PATH"
62# $POKYCONF can point to a directory for the template local.conf & bblayers.conf
63#
64if [ "x" != "x$POKYCONF" ]; then
65 if ! (test -d "$POKYCONF"); then
66 # Allow POKYCONF=meta-xyz/conf as a shortcut
67 if [ -d "$OEROOT/$POKYCONF" ]; then
68 POKYCONF="$OEROOT/$POKYCONF"
69 fi
70 if ! (test -d "$POKYCONF"); then
71 echo >&2 "Error: '$POKYCONF' must be a directory containing local.conf & bblayers.conf"
72 return
73 fi
74 fi
75 POKYLAYERCONF="$POKYCONF/bblayers.conf"
76 POKYLOCALCONF="$POKYCONF/local.conf"
77fi
78
79if [ "x" = "x$POKYLOCALCONF" ]; then
80 POKYLOCALCONF="$OEROOT/meta/conf/local.conf.sample"
81fi
82if ! (test -r "$BUILDDIR/conf/local.conf"); then
83cat <<EOM
84You had no conf/local.conf file. Poky has created this configuration file for
85you with some default values. You may wish to edit it to use a different MACHINE
86(target hardware) or enable parallel build options to take advantage of multiple
87cores for example. See the file for more information as common configuration
88options are commented.
89
90Also, for more information see the Poky handbook:
91http://pokylinux.org/doc/poky-handbook.html
92
93EOM
94 cp -f $POKYLOCALCONF $BUILDDIR/conf/local.conf
95fi
96
97if [ "x" = "x$POKYLAYERCONF" ]; then
98 POKYLAYERCONF="$OEROOT/meta/conf/bblayers.conf.sample"
99fi
100if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then
101cat <<EOM
102You had no conf/bblayers.conf file. Poky has created this configuration file for
103you with some default values. To add additional metadata layers into your
104configuration please add entries to this file.
105
106For more information see the Poky handbook:
107 http://pokylinux.org/doc/poky-handbook.html
108
109EOM
110
111 # Put the abosolute path to the layers in bblayers.conf so we can run
112 # bitbake without the init script after the first run
113 sed "s|##POKYBASE##|$OEROOT|g" $POKYLAYERCONF > $BUILDDIR/conf/bblayers.conf
114fi
115
116# Prevent disturbing a new GIT clone in same console
117unset POKYLOCALCONF
118unset POKYLAYERCONF
119unset BITBAKEDIR 52unset BITBAKEDIR
120unset OEROOT
121 53
122# Used by the poky-qemu script 54# Used by the poky-qemu script
123export BUILDDIR 55export BUILDDIR
124export PATH 56export PATH
125# Stop multi byte characters breaking the patcher stuff - This is for Redhat / Fedora people really
126export LANG=C
127export BB_ENV_EXTRAWHITE="MACHINE DISTRO POKYMODE POKYLIBC http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS GIT_PROXY_COMMAND PSEUDO_DISABLED"
128
129cat <<EOM
130
131### Shell environment set up for Poky builds. ###
132
133You can now run 'bitbake <target>'
134
135Common targets are:
136 poky-image-minimal
137 poky-image-sato
138 meta-toolchain
139 meta-toolchain-sdk
140
141You can also run generated qemu images with a command like 'poky-qemu qemux86'
142
143EOM
144 57
58export BB_ENV_EXTRAWHITE="MACHINE DISTRO POKYMODE POKYLIBC http_proxy ftp_proxy https_proxy all_proxy ALL_PROXY no_proxy SSH_AGENT_PID SSH_AUTH_SOCK BB_SRCREV_POLICY SDKMACHINE BB_NUMBER_THREADS GIT_PROXY_COMMAND PSEUDO_DISABLED"
diff --git a/scripts/poky-extract-sdk b/scripts/poky-extract-sdk
index 977adde1a6..a36d79d31c 100755
--- a/scripts/poky-extract-sdk
+++ b/scripts/poky-extract-sdk
@@ -47,6 +47,11 @@ if [ ! -e "$ROOTFS_TARBALL" ]; then
47 exit 1 47 exit 1
48fi 48fi
49 49
50# Convert SDK_ROOTFS_DIR to a full pathname
51if [[ ${SDK_ROOTFS_DIR:0:1} != "/" ]]; then
52 SDK_ROOTFS_DIR=$(pwd)/$SDK_ROOTFS_DIR
53fi
54
50TAR_OPTS="" 55TAR_OPTS=""
51if [[ "$ROOTFS_TARBALL" =~ tar\.bz2$ ]]; then 56if [[ "$ROOTFS_TARBALL" =~ tar\.bz2$ ]]; then
52 TAR_OPTS="-xjf" 57 TAR_OPTS="-xjf"
diff --git a/scripts/poky-qemu b/scripts/poky-qemu
index 313248ff49..b19a89ddab 100755
--- a/scripts/poky-qemu
+++ b/scripts/poky-qemu
@@ -29,7 +29,7 @@ usage() {
29 echo " Additional QEMU command-line options can be passed with:" 29 echo " Additional QEMU command-line options can be passed with:"
30 echo " nographic - disables video console" 30 echo " nographic - disables video console"
31 echo " serial - enables a serial console on /dev/ttyS0" 31 echo " serial - enables a serial console on /dev/ttyS0"
32 echo " kvm - enables kvm" 32 echo " kvm - enables KVM when running qemux86/qemux86-64, VT capable CPU required"
33 echo " \"<extra-qemu-options>\" - enables extra qemu options, excluding serial and kvm" 33 echo " \"<extra-qemu-options>\" - enables extra qemu options, excluding serial and kvm"
34 echo "" 34 echo ""
35 echo "Examples:" 35 echo "Examples:"
@@ -171,10 +171,29 @@ while [ $i -le $# ]; do
171 i=$((i + 1)) 171 i=$((i + 1))
172done 172done
173 173
174POKY_KVM_WIKI="https://wiki.yoctoproject.org/wiki/How_to_enable_KVM_for_Poky_qemu"
174# Detect KVM configuration 175# Detect KVM configuration
175if [[ "x$KVM_ENABLED" == "xyes" && ! -z "$KVM_CAPABLE" ]]; then 176if [[ "x$KVM_ENABLED" == "xyes" ]]; then
176 if [[ "x$MACHINE" == "xqemux86" || "x$MACHINE" == "xqemux86-64" ]]; then 177 if [[ -z "$KVM_CAPABLE" ]]; then
178 echo "You are tring to enable KVM on cpu without VT support. Remove kvm from the command-line, or refer";
179 echo "$POKY_KVM_WIKI";
180 exit 1;
181 fi
182 if [[ "x$MACHINE" != "xqemux86" && "x$MACHINE" != "xqemux86-64" ]]; then
183 echo "KVM only support x86 & x86-64. Remove kvm from the command-line";
184 exit 1;
185 fi
186 if [ ! -e /dev/kvm ]; then
187 echo "Missing KVM device. Have you inserted kvm modules? Pls. refer";
188 echo "$POKY_KVM_WIKI";
189 exit 1;
190 fi
191 if 9<>/dev/kvm ; then
177 SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -enable-kvm" 192 SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -enable-kvm"
193 else
194 echo "You have no rights on /dev/kvm. Pls. change the owndership as described at";
195 echo "$POKY_KVM_WIKI";
196 exit 1;
178 fi 197 fi
179fi 198fi
180 199
diff --git a/scripts/poky-setup-builddir b/scripts/poky-setup-builddir
new file mode 100755
index 0000000000..7a1452f7ce
--- /dev/null
+++ b/scripts/poky-setup-builddir
@@ -0,0 +1,113 @@
1#!/bin/sh
2
3# Poky Build Enviroment Setup Script
4#
5# Copyright (C) 2006-2007 OpenedHand Ltd.
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20
21if [ -z "$BUILDDIR" ]; then
22 echo >&2 "Error: The build directory (BUILDDIR) must be set!"
23 exit 1
24fi
25
26mkdir -p $BUILDDIR/conf
27
28if ! (test -d "$BUILDDIR"); then
29 echo >&2 "Error: The builddir ($BUILDDIR) does not exist!"
30 exit 1
31fi
32
33if ! (test -w "$BUILDDIR"); then
34 echo >&2 "Error: Cannot write to $BUILDDIR, perhaps try sourcing with a writable path? i.e. . poky-init-build-env ~/my-build"
35 exit 1
36fi
37
38cd "$BUILDDIR"
39
40#
41# $POKYCONF can point to a directory for the template local.conf & bblayers.conf
42#
43if [ "x" != "x$POKYCONF" ]; then
44 if ! (test -d "$POKYCONF"); then
45 # Allow POKYCONF=meta-xyz/conf as a shortcut
46 if [ -d "$OEROOT/$POKYCONF" ]; then
47 POKYCONF="$OEROOT/$POKYCONF"
48 fi
49 if ! (test -d "$POKYCONF"); then
50 echo >&2 "Error: '$POKYCONF' must be a directory containing local.conf & bblayers.conf"
51 return
52 fi
53 fi
54 POKYLAYERCONF="$POKYCONF/bblayers.conf"
55 POKYLOCALCONF="$POKYCONF/local.conf"
56fi
57
58if [ "x" = "x$POKYLOCALCONF" ]; then
59 POKYLOCALCONF="$OEROOT/meta/conf/local.conf.sample"
60fi
61if ! (test -r "$BUILDDIR/conf/local.conf"); then
62cat <<EOM
63You had no conf/local.conf file. Poky has created this configuration file for
64you with some default values. You may wish to edit it to use a different MACHINE
65(target hardware) or enable parallel build options to take advantage of multiple
66cores for example. See the file for more information as common configuration
67options are commented.
68
69Also, for more information see the Poky handbook:
70http://pokylinux.org/doc/poky-handbook.html
71
72EOM
73 cp -f $POKYLOCALCONF $BUILDDIR/conf/local.conf
74fi
75
76if [ "x" = "x$POKYLAYERCONF" ]; then
77 POKYLAYERCONF="$OEROOT/meta/conf/bblayers.conf.sample"
78fi
79if ! (test -r "$BUILDDIR/conf/bblayers.conf"); then
80cat <<EOM
81You had no conf/bblayers.conf file. Poky has created this configuration file for
82you with some default values. To add additional metadata layers into your
83configuration please add entries to this file.
84
85For more information see the Poky handbook:
86 http://pokylinux.org/doc/poky-handbook.html
87
88EOM
89
90 # Put the abosolute path to the layers in bblayers.conf so we can run
91 # bitbake without the init script after the first run
92 sed "s|##POKYBASE##|$OEROOT|g" $POKYLAYERCONF > $BUILDDIR/conf/bblayers.conf
93fi
94
95# Prevent disturbing a new GIT clone in same console
96unset POKYLOCALCONF
97unset POKYLAYERCONF
98
99cat <<EOM
100
101### Shell environment set up for Poky builds. ###
102
103You can now run 'bitbake <target>'
104
105Common targets are:
106 poky-image-minimal
107 poky-image-sato
108 meta-toolchain
109 meta-toolchain-sdk
110
111You can also run generated qemu images with a command like 'poky-qemu qemux86'
112
113EOM
diff --git a/scripts/poky-setup-rpmrepo b/scripts/poky-setup-rpmrepo
new file mode 100755
index 0000000000..42a9b6aedf
--- /dev/null
+++ b/scripts/poky-setup-rpmrepo
@@ -0,0 +1,89 @@
1#!/bin/bash
2#
3# This utility setup the necessary metadata for an rpm repo
4#
5# Copyright (c) 2011 Intel Corp.
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License version 2 as
9# published by the Free Software Foundation.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14# See the GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
20function usage() {
21 echo "Usage: $0 <rpm-dir>"
22 echo " <rpm-dir>: default is $TPMDIR/deploy/rpm"
23}
24
25if [ $# -gt 1 ]; then
26 usage
27 exit 1
28fi
29
30setup_tmpdir() {
31 if [ -z "$TMPDIR" ]; then
32 if [ "x$BUILDDIR" = "x" -o ! -d "$BUILDDIR/tmp" ]; then
33 # BUILDDIR unset, try and get TMPDIR from bitbake
34 type -P bitbake &>/dev/null || {
35 echo "In order for this script to dynamically infer paths";
36 echo "to kernels or filesystem images, you either need";
37 echo "bitbake in your PATH or to source poky-init-build-env";
38 echo "before running this script" >&2;
39 exit 1; }
40
41 # We have bitbake in PATH, get TMPDIR from bitbake
42 TMPDIR=`bitbake -e | grep TMPDIR=\" | cut -d '=' -f2 | cut -d '"' -f2`
43 else
44 TMPDIR=$BUILDDIR/tmp
45 fi
46 fi
47}
48
49setup_sysroot() {
50 # Toolchain installs set up $POKY_NATIVE_SYSROOT in their
51 # environment script. If that variable isn't set, we're
52 # either in an in-tree poky scenario or the environment
53 # script wasn't source'd.
54 if [ -z "$POKY_NATIVE_SYSROOT" ]; then
55 setup_tmpdir
56 BUILD_ARCH=`uname -m`
57 BUILD_OS=`uname | tr '[A-Z]' '[a-z]'`
58 BUILD_SYS="$BUILD_ARCH-$BUILD_OS"
59
60 POKY_NATIVE_SYSROOT=$TMPDIR/sysroots/$BUILD_SYS
61 fi
62}
63
64setup_tmpdir
65setup_sysroot
66
67
68if [ -n "$1" ]; then
69 RPM_DIR="$1"
70else
71 RPM_DIR="$TMPDIR/deploy/rpm"
72fi
73
74if [ ! -d "$RPM_DIR" ]; then
75 echo "Error: rpm dir $RPM_DIR doesn't exist"
76 exit 1
77fi
78
79CREATEREPO=$POKY_NATIVE_SYSROOT/usr/bin/createrepo
80if [ ! -e "$CREATEREPO" ]; then
81 echo "Error: can't find createrepo binary"
82 echo "please run bitbake createrepo-native first"
83 exit 1
84fi
85
86
87$CREATEREPO "$RPM_DIR"
88
89exit 0
diff --git a/scripts/qemuimage-testlib b/scripts/qemuimage-testlib
index c2c394d5ed..823cbfa18b 100644
--- a/scripts/qemuimage-testlib
+++ b/scripts/qemuimage-testlib
@@ -39,6 +39,19 @@ Test_Info()
39 echo -e "\tTest_Info: $*" 39 echo -e "\tTest_Info: $*"
40} 40}
41 41
42# function to update target ip address
43# $1 is the process id of the process, which starts the qemu target
44# $2 is the ip address of the target
45Test_Update_IPSAVE()
46{
47 local pid=$1
48 local ip_addr=$2
49
50 if [ "$TEST_SERIALIZE" -eq 1 ]; then
51 echo "$pid $ip_addr" > $TARGET_IPSAVE
52 fi
53}
54
42# function to copy files from host into target 55# function to copy files from host into target
43# $1 is the ip address of target 56# $1 is the ip address of target
44# $2 is the files, which need to be copied into target 57# $2 is the files, which need to be copied into target
@@ -99,6 +112,11 @@ Test_SSH_UP()
99 local timeout=$2 112 local timeout=$2
100 local interval=0 113 local interval=0
101 114
115 # If TEST_SERIALIZE is set, use existing running qemu for testing
116 if [ ${TEST_SERIALIZE} -eq 1 -a -e ${TARGET_IPSAVE} ]; then
117 timeout=50
118 fi
119
102 while [ ${interval} -lt ${timeout} ] 120 while [ ${interval} -lt ${timeout} ]
103 do 121 do
104 Test_SSH ${ip_addr} "hostname" 122 Test_SSH ${ip_addr} "hostname"
@@ -106,13 +124,13 @@ Test_SSH_UP()
106 interval=`expr $interval + 10` 124 interval=`expr $interval + 10`
107 sleep 10 125 sleep 10
108 else 126 else
109 Test_Info "We can ssh on ${ip_addr} now" 127 Test_Info "We can ssh on ${ip_addr} within ${interval} seconds"
110 return 0 128 return 0
111 fi 129 fi
112 130
113 done 131 done
114 132
115 Test_Info "We can not ssh on ${ip_addr} in ${timeout}" 133 Test_Info "We can not ssh on ${ip_addr} in ${timeout} seconds"
116 return 1 134 return 1
117} 135}
118 136
@@ -162,6 +180,8 @@ Test_Kill_Qemu()
162 local ret=0 180 local ret=0
163 local ppid=0 181 local ppid=0
164 local i=0 182 local i=0
183 local index=0
184 local total=0
165 declare local pid 185 declare local pid
166 186
167 # Check if $1 pid exists and is a qemu process 187 # Check if $1 pid exists and is a qemu process
@@ -186,16 +206,39 @@ Test_Kill_Qemu()
186 ret=$? 206 ret=$?
187 done 207 done
188 208
189 # Kill these children pids from the last one 209 # When TEST_SERIALIZE is set, qemu process will not be
190 while [ $i -ne 0 ] 210 # killed until all the cases are finished
191 do 211 if [ ${TEST_SERIALIZE} -eq 1 -a -e ${TEST_STATUS} ]; then
192 i=$((i-1)) 212 index=`sed -n 2p ${TEST_STATUS} | awk '{print $3}'`
193 kill ${pid[$i]} 213 total=`sed -n 2p ${TEST_STATUS} | awk '{print $4}'`
194 sleep 2 214 if [ ${index} != ${total} ]; then
195 done 215 Test_Info "Do not kill the qemu process and use it for later testing"
216 Test_Update_IPSAVE $PID $TARGET_IPADDR
217 else
218 # If it is the last case, let's kill it
219 while [ $i -ne 0 ]
220 do
221 i=$((i-1))
222 kill ${pid[$i]}
223 sleep 2
224 done
225
226 # Kill the parent id
227 kill $PID
228 fi
196 229
197 # Kill the parent id 230 else
198 kill $PID 231 # Kill these children pids from the last one
232 while [ $i -ne 0 ]
233 do
234 i=$((i-1))
235 kill ${pid[$i]}
236 sleep 2
237 done
238
239 # Kill the parent id
240 kill $PID
241 fi
199 fi 242 fi
200 243
201 return 244 return
@@ -204,12 +247,12 @@ Test_Kill_Qemu()
204# function to check if there is any qemu process 247# function to check if there is any qemu process
205Test_Check_Qemu_UP() 248Test_Check_Qemu_UP()
206{ 249{
207 local count=`ps -ef | grep -c qemu` 250 local count=`ps -eo command | cut -d " " -f 1 | grep -c "\(^qemu\|.*/qemu\)"`
208 if [ ${count} -lt 2 ]; then 251 if [ ${count} -lt 1 ]; then
209 Test_Info "There is no Qemu process" 252 Test_Info "There is no Qemu process"
210 return 1 253 return 1
211 else 254 else
212 Test_Info "There is at least Qemu process running" 255 Test_Info "There is at least one Qemu process running"
213 return 0 256 return 0
214 fi 257 fi
215} 258}
@@ -365,27 +408,49 @@ Test_Create_Qemu()
365 elif [ "$QEMUARCH" = "qemumips" ]; then 408 elif [ "$QEMUARCH" = "qemumips" ]; then
366 KERNEL=$(Test_Find_Image -l ${DEPLOY_DIR}/images -k vmlinux -a ${QEMUARCH}) 409 KERNEL=$(Test_Find_Image -l ${DEPLOY_DIR}/images -k vmlinux -a ${QEMUARCH})
367 fi 410 fi
411
412 # If there is no kernel image found, return failed directly
413 if [ $? -eq 1 ]; then
414 Test_Info "No kernel image file found under ${DEPLOY_DIR}/images for ${QEMUARCH}, pls. have a check"
415 return $ret
416 fi
368 417
369 ROOTFS_IMAGE=$(Test_Find_Image -l ${DEPLOY_DIR}/images -t ${QEMUTARGET} -a ${QEMUARCH}) 418 ROOTFS_IMAGE=$(Test_Find_Image -l ${DEPLOY_DIR}/images -t ${QEMUTARGET} -a ${QEMUARCH})
419
420 # If there is no rootfs image found, return failed directly
421 if [ $? -eq 1 ]; then
422 Test_Info "No ${QEMUTARGET} rootfs image file found under ${DEPLOY_DIR}/images for ${QEMUARCH}, pls. have a check"
423 return $ret
424 fi
425
370 TEST_ROOTFS_IMAGE="${TEST_TMP}/${QEMUTARGET}-${QEMUARCH}-test.ext3" 426 TEST_ROOTFS_IMAGE="${TEST_TMP}/${QEMUTARGET}-${QEMUARCH}-test.ext3"
371 427
372 CP=`which cp` 428 CP=`which cp`
373 if [ -e "$TEST_ROOTFS_IMAGE" ]; then
374 rm -rf $TEST_ROOTFS_IMAGE
375 fi
376 $CP $ROOTFS_IMAGE $TEST_ROOTFS_IMAGE
377
378 export MACHINE=$QEMUARCH
379 429
380 # Create Qemu in localhost VNC Port 1 430 # When TEST_SERIALIZE is set, we use the existing image under tmp folder
381 xterm -display ${DISPLAY} -e "${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE}" & 431 if [ ${TEST_SERIALIZE} -eq 1 -a -e "$TARGET_IPSAVE" ]; then
432 # If TARGET_IPSAVE exists, check PID of the qemu process from it
433 PID=`awk '{print $1}' $TARGET_IPSAVE`
434 timeout=50
435 else
436 rm -rf $TEST_ROOTFS_IMAGE
437 $CP $ROOTFS_IMAGE $TEST_ROOTFS_IMAGE
438 if [ $? -ne 0 ]; then
439 Test_Info "Image ${ROOTFS_IMAGE} copy to ${TEST_ROOTFS_IMAGE} failed, return fail"
440 return $ret
441 fi
382 442
383 # Get the pid of the xterm processor, which will be used in Test_Kill_Qemu 443 export MACHINE=$QEMUARCH
384 PID=$!
385 444
386 sleep 5 445 # Create Qemu in localhost VNC Port 1
446 echo "Running xterm -display ${DISPLAY} -e 'BUILDDIR=${TOPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE}' &"
447 xterm -display ${DISPLAY} -e "BUILDDIR=${TOPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE}" &
387 448
388 while [ ${up_time} -lt ${timeout} ] 449 # Get the pid of the xterm processor, which will be used in Test_Kill_Qemu
450 PID=$!
451 fi
452
453 while [ ${up_time} -lt 10 ]
389 do 454 do
390 Test_Check_Qemu_UP 455 Test_Check_Qemu_UP
391 if [ $? -ne 0 ]; then 456 if [ $? -ne 0 ]; then
@@ -402,13 +467,18 @@ Test_Create_Qemu()
402 if [ ${up_time} -lt ${timeout} ]; then 467 if [ ${up_time} -lt ${timeout} ]; then
403 sleep 5 468 sleep 5
404 TARGET_IPADDR=`Test_Fetch_Target_IP $PID` 469 TARGET_IPADDR=`Test_Fetch_Target_IP $PID`
470 # If IP address is 0, means there is no qemu process found
471 if [ ${TARGET_IPADDR} == "0" ]; then
472 Test_Info "There is no qemu process or qemu ip address found, return failed"
473 return $ret
474 fi
405 fi 475 fi
406 476
407 while [ ${up_time} -lt ${timeout} ] 477 while [ ${up_time} -lt ${timeout} ]
408 do 478 do
409 Test_Check_IP_UP ${TARGET_IPADDR} 479 Test_Check_IP_UP ${TARGET_IPADDR}
410 if [ $? -eq 0 ]; then 480 if [ $? -eq 0 ]; then
411 Test_Info "Qemu Network is up, ping with ${TARGET_IPADDR} is OK" 481 Test_Info "Qemu Network is up, ping with ${TARGET_IPADDR} is OK within ${up_time} seconds"
412 ret=0 482 ret=0
413 break 483 break
414 else 484 else
@@ -422,7 +492,8 @@ Test_Create_Qemu()
422 Test_Info "Qemu and its network is up" 492 Test_Info "Qemu and its network is up"
423 return $ret 493 return $ret
424 else 494 else
425 Test_Info "Qemu or its network is not up in ${timeout}" 495 Test_Info "Qemu or its network is not up in ${timeout} seconds"
496 Test_Update_IPSAVE $PID $TARGET_IPADDR
426 return $ret 497 return $ret
427 fi 498 fi
428} 499}
diff --git a/scripts/qemuimage-tests/sanity/compiler b/scripts/qemuimage-tests/sanity/compiler
new file mode 100755
index 0000000000..29dbfd9bb9
--- /dev/null
+++ b/scripts/qemuimage-tests/sanity/compiler
@@ -0,0 +1,52 @@
1#!/bin/bash
2# Compiler Test Case for Sanity Test
3# The case boot up the Qemu target with `poky-qemu qemuxxx`.
4# Then check if gcc/g++/make command can work in target.
5#
6# Author: Jiajun Xu <jiajun.xu@intel.com>
7#
8# This file is licensed under the GNU General Public License,
9# Version 2.
10#
11
12. $POKYBASE/scripts/qemuimage-testlib
13
14TIMEOUT=400
15RET=1
16
17# Start qemu and check its network
18Test_Create_Qemu ${TIMEOUT}
19
20# If qemu network is up, check ssh service in qemu
21if [ $? -eq 0 ]; then
22 Test_Info "Begin to Test SSH Service in Qemu"
23 Test_SSH_UP ${TARGET_IPADDR} ${TIMEOUT}
24 RET=$?
25else
26 RET=1
27fi
28
29# Check if gcc/g++/make can work in target
30if [ $RET -eq 0 -a -f $TOOLS/compiler_test.sh ]; then
31 # Copy compiler_test.sh into target
32 Test_Target_Pre ${TARGET_IPADDR} $TOOLS/compiler_test.sh
33 if [ $? -eq 0 ]; then
34 # Run compiler_test.sh to check if gcc/g++/make can work in target
35 Test_SSH ${TARGET_IPADDR} "sh $TARGET_TEST_DIR/compiler_test.sh"
36 RET=$?
37 else
38 RET=1
39 fi
40fi
41
42if [ ${RET} -eq 0 ]; then
43 Test_Info "Compiler Test PASS"
44 Test_Kill_Qemu
45 Test_Print_Result "compiler" 0
46 exit 0
47else
48 Test_Info "Compiler FAIL, Pls. check above error log"
49 Test_Kill_Qemu
50 Test_Print_Result "compiler" 1
51 exit 1
52fi
diff --git a/scripts/qemuimage-tests/sanity/connman b/scripts/qemuimage-tests/sanity/connman
new file mode 100755
index 0000000000..fca6a27845
--- /dev/null
+++ b/scripts/qemuimage-tests/sanity/connman
@@ -0,0 +1,52 @@
1#!/bin/bash
2# Conmman Check Test Case for Sanity Test
3# The case boot up the Qemu target with `poky-qemu qemuxxx`.
4# Then check if connman can work in target.
5#
6# Author: Jiajun Xu <jiajun.xu@intel.com>
7#
8# This file is licensed under the GNU General Public License,
9# Version 2.
10#
11
12. $POKYBASE/scripts/qemuimage-testlib
13
14TIMEOUT=400
15RET=1
16
17# Start qemu and check its network
18Test_Create_Qemu ${TIMEOUT}
19
20# If qemu network is up, check ssh service in qemu
21if [ $? -eq 0 ]; then
22 Test_Info "Begin to Test SSH Service in Qemu"
23 Test_SSH_UP ${TARGET_IPADDR} ${TIMEOUT}
24 RET=$?
25else
26 RET=1
27fi
28
29# Check if connman can work in target
30if [ $RET -eq 0 -a -f $TOOLS/connman_test.sh ]; then
31 # Copy connman_test.sh into target
32 Test_Target_Pre ${TARGET_IPADDR} $TOOLS/connman_test.sh
33 if [ $? -eq 0 ]; then
34 # Run connman_test.sh to check if connman can work in target
35 Test_SSH ${TARGET_IPADDR} "sh $TARGET_TEST_DIR/connman_test.sh"
36 RET=$?
37 else
38 RET=1
39 fi
40fi
41
42if [ ${RET} -eq 0 ]; then
43 Test_Info "Connman Test PASS"
44 Test_Kill_Qemu
45 Test_Print_Result "connman" 0
46 exit 0
47else
48 Test_Info "Connman Test FAIL, Pls. check above error log"
49 Test_Kill_Qemu
50 Test_Print_Result "connman" 1
51 exit 1
52fi
diff --git a/scripts/qemuimage-tests/sanity/dmesg b/scripts/qemuimage-tests/sanity/dmesg
index 36813dcd43..5ed31b735f 100755
--- a/scripts/qemuimage-tests/sanity/dmesg
+++ b/scripts/qemuimage-tests/sanity/dmesg
@@ -11,7 +11,7 @@
11 11
12. $POKYBASE/scripts/qemuimage-testlib 12. $POKYBASE/scripts/qemuimage-testlib
13 13
14TIMEOUT=360 14TIMEOUT=400
15RET=1 15RET=1
16 16
17# Start qemu and check its network 17# Start qemu and check its network
diff --git a/scripts/qemuimage-tests/sanity/rpm_query b/scripts/qemuimage-tests/sanity/rpm_query
new file mode 100755
index 0000000000..08017ffbe6
--- /dev/null
+++ b/scripts/qemuimage-tests/sanity/rpm_query
@@ -0,0 +1,52 @@
1#!/bin/bash
2# RPM Check Test Case for Sanity Test
3# The case boot up the Qemu target with `poky-qemu qemuxxx`.
4# Then check if rpm command can work in target.
5#
6# Author: Jiajun Xu <jiajun.xu@intel.com>
7#
8# This file is licensed under the GNU General Public License,
9# Version 2.
10#
11
12. $POKYBASE/scripts/qemuimage-testlib
13
14TIMEOUT=400
15RET=1
16
17# Start qemu and check its network
18Test_Create_Qemu ${TIMEOUT}
19
20# If qemu network is up, check ssh service in qemu
21if [ $? -eq 0 ]; then
22 Test_Info "Begin to Test SSH Service in Qemu"
23 Test_SSH_UP ${TARGET_IPADDR} ${TIMEOUT}
24 RET=$?
25else
26 RET=1
27fi
28
29# Check if rpm query can work in target
30if [ $RET -eq 0 -a -f $TOOLS/rpm_test.sh ]; then
31 # Copy rpm_test.sh into target
32 Test_Target_Pre ${TARGET_IPADDR} $TOOLS/rpm_test.sh
33 if [ $? -eq 0 ]; then
34 # Run rpm_test.sh to check if rpm query can work in target
35 Test_SSH ${TARGET_IPADDR} "sh $TARGET_TEST_DIR/rpm_test.sh -qa"
36 RET=$?
37 else
38 RET=1
39 fi
40fi
41
42if [ ${RET} -eq 0 ]; then
43 Test_Info "rpm query Test PASS"
44 Test_Kill_Qemu
45 Test_Print_Result "rpm_query" 0
46 exit 0
47else
48 Test_Info "rpm query FAIL, Pls. check above error log"
49 Test_Kill_Qemu
50 Test_Print_Result "rpm_query" 1
51 exit 1
52fi
diff --git a/scripts/qemuimage-tests/sanity/scp b/scripts/qemuimage-tests/sanity/scp
index ce3489d664..c72cdc9d65 100755
--- a/scripts/qemuimage-tests/sanity/scp
+++ b/scripts/qemuimage-tests/sanity/scp
@@ -11,7 +11,7 @@
11 11
12. $POKYBASE/scripts/qemuimage-testlib 12. $POKYBASE/scripts/qemuimage-testlib
13 13
14TIMEOUT=360 14TIMEOUT=400
15RET=1 15RET=1
16SPID=0 16SPID=0
17i=0 17i=0
diff --git a/scripts/qemuimage-tests/sanity/shutdown b/scripts/qemuimage-tests/sanity/shutdown
index e36b4a983d..bc08cf0fdc 100755
--- a/scripts/qemuimage-tests/sanity/shutdown
+++ b/scripts/qemuimage-tests/sanity/shutdown
@@ -13,7 +13,8 @@
13 13
14. $POKYBASE/scripts/qemuimage-testlib 14. $POKYBASE/scripts/qemuimage-testlib
15 15
16TIMEOUT=360 16TIMEOUT=400
17
17RET=1 18RET=1
18i=0 19i=0
19 20
@@ -61,6 +62,11 @@ fi
61if [ ${RET} -eq 0 ]; then 62if [ ${RET} -eq 0 ]; then
62 Test_Info "Shutdown Test PASS" 63 Test_Info "Shutdown Test PASS"
63 Test_Print_Result "shutdown" 0 64 Test_Print_Result "shutdown" 0
65
66 # Remove TARGET_IPSAVE since no existing qemu running now
67 if [ -e ${TARGET_IPSAVE} ]; then
68 rm -rf ${TARGET_IPSAVE}
69 fi
64 exit 0 70 exit 0
65else 71else
66 Test_Info "Shutdown Test FAIL" 72 Test_Info "Shutdown Test FAIL"
diff --git a/scripts/qemuimage-tests/sanity/ssh b/scripts/qemuimage-tests/sanity/ssh
index 084530adfb..2a0e934392 100755
--- a/scripts/qemuimage-tests/sanity/ssh
+++ b/scripts/qemuimage-tests/sanity/ssh
@@ -11,7 +11,7 @@
11 11
12. $POKYBASE/scripts/qemuimage-testlib 12. $POKYBASE/scripts/qemuimage-testlib
13 13
14TIMEOUT=360 14TIMEOUT=400
15RET=1 15RET=1
16 16
17# Start qemu and check its network 17# Start qemu and check its network
diff --git a/scripts/qemuimage-tests/sanity/zypper_help b/scripts/qemuimage-tests/sanity/zypper_help
new file mode 100755
index 0000000000..1ab6d2407f
--- /dev/null
+++ b/scripts/qemuimage-tests/sanity/zypper_help
@@ -0,0 +1,52 @@
1#!/bin/bash
2# Zypper Check Test Case for Sanity Test
3# The case boot up the Qemu target with `poky-qemu qemuxxx`.
4# Then check if zypper command can work in target.
5#
6# Author: Jiajun Xu <jiajun.xu@intel.com>
7#
8# This file is licensed under the GNU General Public License,
9# Version 2.
10#
11
12. $POKYBASE/scripts/qemuimage-testlib
13
14TIMEOUT=400
15RET=1
16
17# Start qemu and check its network
18Test_Create_Qemu ${TIMEOUT}
19
20# If qemu network is up, check ssh service in qemu
21if [ $? -eq 0 ]; then
22 Test_Info "Begin to Test SSH Service in Qemu"
23 Test_SSH_UP ${TARGET_IPADDR} ${TIMEOUT}
24 RET=$?
25else
26 RET=1
27fi
28
29# Check if zypper help can work in target
30if [ $RET -eq 0 -a -f $TOOLS/zypper_test.sh ]; then
31 # Copy zypper_test.sh into target
32 Test_Target_Pre ${TARGET_IPADDR} $TOOLS/zypper_test.sh
33 if [ $? -eq 0 ]; then
34 # Run zypper_test.sh to check if zypper help can work in target
35 Test_SSH ${TARGET_IPADDR} "sh $TARGET_TEST_DIR/zypper_test.sh help"
36 RET=$?
37 else
38 RET=1
39 fi
40fi
41
42if [ ${RET} -eq 0 ]; then
43 Test_Info "zypper help Test PASS"
44 Test_Kill_Qemu
45 Test_Print_Result "zypper_help" 0
46 exit 0
47else
48 Test_Info "zypper help FAIL, Pls. check above error log"
49 Test_Kill_Qemu
50 Test_Print_Result "zypper_help" 1
51 exit 1
52fi
diff --git a/scripts/qemuimage-tests/sanity/zypper_search b/scripts/qemuimage-tests/sanity/zypper_search
new file mode 100755
index 0000000000..d6bcd27a34
--- /dev/null
+++ b/scripts/qemuimage-tests/sanity/zypper_search
@@ -0,0 +1,52 @@
1#!/bin/bash
2# Zypper Check Test Case for Sanity Test
3# The case boot up the Qemu target with `poky-qemu qemuxxx`.
4# Then check if zypper command can work in target.
5#
6# Author: Jiajun Xu <jiajun.xu@intel.com>
7#
8# This file is licensed under the GNU General Public License,
9# Version 2.
10#
11
12. $POKYBASE/scripts/qemuimage-testlib
13
14TIMEOUT=400
15RET=1
16
17# Start qemu and check its network
18Test_Create_Qemu ${TIMEOUT}
19
20# If qemu network is up, check ssh service in qemu
21if [ $? -eq 0 ]; then
22 Test_Info "Begin to Test SSH Service in Qemu"
23 Test_SSH_UP ${TARGET_IPADDR} ${TIMEOUT}
24 RET=$?
25else
26 RET=1
27fi
28
29# Check if zypper search can work in target
30if [ $RET -eq 0 -a -f $TOOLS/zypper_test.sh ]; then
31 # Copy zypper_test.sh into target
32 Test_Target_Pre ${TARGET_IPADDR} $TOOLS/zypper_test.sh
33 if [ $? -eq 0 ]; then
34 # Run zypper_test.sh to check if zypper search can work in target
35 Test_SSH ${TARGET_IPADDR} "sh $TARGET_TEST_DIR/zypper_test.sh search avahi"
36 RET=$?
37 else
38 RET=1
39 fi
40fi
41
42if [ ${RET} -eq 0 ]; then
43 Test_Info "zypper search package avahi Test PASS"
44 Test_Kill_Qemu
45 Test_Print_Result "zypper_search" 0
46 exit 0
47else
48 Test_Info "zypper search package avahi FAIL, Pls. check above error log"
49 Test_Kill_Qemu
50 Test_Print_Result "zypper_search" 1
51 exit 1
52fi
diff --git a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb
index b8e9847b48..4fa6068768 100644
--- a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb
+++ b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb
@@ -1,5 +1,7 @@
1sanity boot
2sanity ssh 1sanity ssh
3sanity scp 2sanity scp
4sanity dmesg 3sanity dmesg
4sanity zypper_help
5sanity zypper_search
6sanity rpm_query
5sanity shutdown 7sanity shutdown
diff --git a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato
index b8e9847b48..7a6353e1af 100644
--- a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato
+++ b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato
@@ -1,5 +1,8 @@
1sanity boot
2sanity ssh 1sanity ssh
3sanity scp 2sanity scp
4sanity dmesg 3sanity dmesg
4sanity zypper_help
5sanity zypper_search
6sanity rpm_query
7sanity connman
5sanity shutdown 8sanity shutdown
diff --git a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk
index b8e9847b48..42b8e19026 100644
--- a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk
+++ b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk
@@ -1,5 +1,9 @@
1sanity boot
2sanity ssh 1sanity ssh
3sanity scp 2sanity scp
4sanity dmesg 3sanity dmesg
4sanity zypper_help
5sanity zypper_search
6sanity rpm_query
7sanity compiler
8sanity connman
5sanity shutdown 9sanity shutdown
diff --git a/scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb b/scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb
index b8e9847b48..4fa6068768 100644
--- a/scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb
+++ b/scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb
@@ -1,5 +1,7 @@
1sanity boot
2sanity ssh 1sanity ssh
3sanity scp 2sanity scp
4sanity dmesg 3sanity dmesg
4sanity zypper_help
5sanity zypper_search
6sanity rpm_query
5sanity shutdown 7sanity shutdown
diff --git a/scripts/qemuimage-tests/scenario/qemumips/poky-image-sato b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sato
index b8e9847b48..7a6353e1af 100644
--- a/scripts/qemuimage-tests/scenario/qemumips/poky-image-sato
+++ b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sato
@@ -1,5 +1,8 @@
1sanity boot
2sanity ssh 1sanity ssh
3sanity scp 2sanity scp
4sanity dmesg 3sanity dmesg
4sanity zypper_help
5sanity zypper_search
6sanity rpm_query
7sanity connman
5sanity shutdown 8sanity shutdown
diff --git a/scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk
index b8e9847b48..42b8e19026 100644
--- a/scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk
+++ b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk
@@ -1,5 +1,9 @@
1sanity boot
2sanity ssh 1sanity ssh
3sanity scp 2sanity scp
4sanity dmesg 3sanity dmesg
4sanity zypper_help
5sanity zypper_search
6sanity rpm_query
7sanity compiler
8sanity connman
5sanity shutdown 9sanity shutdown
diff --git a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb
index b8e9847b48..4fa6068768 100644
--- a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb
+++ b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb
@@ -1,5 +1,7 @@
1sanity boot
2sanity ssh 1sanity ssh
3sanity scp 2sanity scp
4sanity dmesg 3sanity dmesg
4sanity zypper_help
5sanity zypper_search
6sanity rpm_query
5sanity shutdown 7sanity shutdown
diff --git a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato
index b8e9847b48..7a6353e1af 100644
--- a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato
+++ b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato
@@ -1,5 +1,8 @@
1sanity boot
2sanity ssh 1sanity ssh
3sanity scp 2sanity scp
4sanity dmesg 3sanity dmesg
4sanity zypper_help
5sanity zypper_search
6sanity rpm_query
7sanity connman
5sanity shutdown 8sanity shutdown
diff --git a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk
index b8e9847b48..42b8e19026 100644
--- a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk
+++ b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk
@@ -1,5 +1,9 @@
1sanity boot
2sanity ssh 1sanity ssh
3sanity scp 2sanity scp
4sanity dmesg 3sanity dmesg
4sanity zypper_help
5sanity zypper_search
6sanity rpm_query
7sanity compiler
8sanity connman
5sanity shutdown 9sanity shutdown
diff --git a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb
index b8e9847b48..4fa6068768 100644
--- a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb
+++ b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb
@@ -1,5 +1,7 @@
1sanity boot
2sanity ssh 1sanity ssh
3sanity scp 2sanity scp
4sanity dmesg 3sanity dmesg
4sanity zypper_help
5sanity zypper_search
6sanity rpm_query
5sanity shutdown 7sanity shutdown
diff --git a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato
index b8e9847b48..7a6353e1af 100644
--- a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato
+++ b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato
@@ -1,5 +1,8 @@
1sanity boot
2sanity ssh 1sanity ssh
3sanity scp 2sanity scp
4sanity dmesg 3sanity dmesg
4sanity zypper_help
5sanity zypper_search
6sanity rpm_query
7sanity connman
5sanity shutdown 8sanity shutdown
diff --git a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk
index b8e9847b48..42b8e19026 100644
--- a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk
+++ b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk
@@ -1,5 +1,9 @@
1sanity boot
2sanity ssh 1sanity ssh
3sanity scp 2sanity scp
4sanity dmesg 3sanity dmesg
4sanity zypper_help
5sanity zypper_search
6sanity rpm_query
7sanity compiler
8sanity connman
5sanity shutdown 9sanity shutdown
diff --git a/scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb b/scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb
index b8e9847b48..4fa6068768 100644
--- a/scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb
+++ b/scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb
@@ -1,5 +1,7 @@
1sanity boot
2sanity ssh 1sanity ssh
3sanity scp 2sanity scp
4sanity dmesg 3sanity dmesg
4sanity zypper_help
5sanity zypper_search
6sanity rpm_query
5sanity shutdown 7sanity shutdown
diff --git a/scripts/qemuimage-tests/scenario/qemux86/poky-image-sato b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sato
index b8e9847b48..7a6353e1af 100644
--- a/scripts/qemuimage-tests/scenario/qemux86/poky-image-sato
+++ b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sato
@@ -1,5 +1,8 @@
1sanity boot
2sanity ssh 1sanity ssh
3sanity scp 2sanity scp
4sanity dmesg 3sanity dmesg
4sanity zypper_help
5sanity zypper_search
6sanity rpm_query
7sanity connman
5sanity shutdown 8sanity shutdown
diff --git a/scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk
index b8e9847b48..42b8e19026 100644
--- a/scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk
+++ b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk
@@ -1,5 +1,9 @@
1sanity boot
2sanity ssh 1sanity ssh
3sanity scp 2sanity scp
4sanity dmesg 3sanity dmesg
4sanity zypper_help
5sanity zypper_search
6sanity rpm_query
7sanity compiler
8sanity connman
5sanity shutdown 9sanity shutdown
diff --git a/scripts/qemuimage-tests/tools/compiler_test.sh b/scripts/qemuimage-tests/tools/compiler_test.sh
new file mode 100644
index 0000000000..9c30d6d78b
--- /dev/null
+++ b/scripts/qemuimage-tests/tools/compiler_test.sh
@@ -0,0 +1,137 @@
1#!/bin/bash
2# compiler test script running in target
3#
4# Author: Jiajun Xu <jiajun.xu@intel.com>
5#
6# This file is licensed under the GNU General Public License,
7# Version 2.
8#
9
10# Prepare test folder for compiler test
11COMPILE_FOLDER="/opt/test/compile_test"
12TEST_FILE="$COMPILE_FOLDER/compile_test.c"
13EXECUTE_FILE="$COMPILE_FOLDER/compile_test"
14TEST_MAKEFILE="$COMPILE_FOLDER/makefile"
15TEST_LIST="gcc g++ make"
16
17if [ ! -d $COMPILE_FOLDER ]; then
18 mkdir -p $COMPILE_FOLDER
19fi
20
21Target_Info()
22{
23 echo -e "\tTARGET: $*"
24}
25
26Target_Err()
27{
28 echo -e "\tTARGET: ##### Error Log #####"
29 $@
30 echo -e "\tTARGET: ##### End #####"
31}
32
33# Function to generate a c test file for compiler testing
34Gen_File()
35{
36 temp=`mktemp`
37
38 # Generate c/c++ test file for compiler testing
39 echo "#include <stdio.h>" >> $temp
40 echo "#include <math.h>" >> $temp
41 echo "" >> $temp
42 echo "double" >> $temp
43 echo "convert(long long l)" >> $temp
44 echo "{" >> $temp
45 echo " return (double)l; // or double(l)" >> $temp
46 echo "}" >> $temp
47 echo "" >> $temp
48 echo "int" >> $temp
49 echo "main(int argc, char * argv[])" >> $temp
50 echo "{" >> $temp
51 echo " long long l = 10;" >> $temp
52 echo " double f;" >> $temp
53 echo "" >> $temp
54 echo " f = convert(l);" >> $temp
55 echo " printf(\"convert: %lld => %f\n\", l, f);" >> $temp
56 echo "" >> $temp
57 echo " f = 1234.67;" >> $temp
58 echo " printf(\"floorf(%f) = %f\n\", f, floorf(f));" >> $temp
59 echo " return 0;" >> $temp
60 echo "}" >> $temp
61 echo $temp
62}
63
64# Function to generate a makefile for compiler testing
65Gen_Makefile()
66{
67 temp=`mktemp`
68 basename=`basename $EXECUTE_FILE`
69
70 echo -e "$basename: $basename.o" >> $temp
71 echo -e "\tgcc -o $basename $basename.o -lm" >> $temp
72 echo -e "$basename.o: $basename.c" >> $temp
73 echo -e "\tgcc -c $basename.c" >> $temp
74
75 echo $temp
76}
77
78# Generate a c test file for compiler testing
79test_file=`Gen_File`
80
81MOVE=`which mv`
82$MOVE $test_file $TEST_FILE
83
84# Begin compiler test in target
85for cmd in $TEST_LIST
86do
87 which $cmd
88 if [ $? -ne 0 ]; then
89 Target_Info "No $cmd command found"
90 exit 1
91 fi
92
93 if [ "$cmd" == "make" ]; then
94 rm -rf $EXECUTE_FILE
95
96 # For makefile test, we need to generate a makefile and run with a c file
97 makefile=`Gen_Makefile`
98 $MOVE $makefile $TEST_MAKEFILE
99
100 cd `dirname $TEST_MAKEFILE`
101 make
102
103 if [ $? -ne 0 ]; then
104 Target_Info "$cmd running with error, Pls. check error in following"
105 Target_Err make
106 exit 1
107 fi
108 else
109 rm -rf $EXECUTE_FILE
110
111 # For gcc/g++, we compile a c test file and check the output
112 $cmd $TEST_FILE -o $EXECUTE_FILE -lm
113
114 if [ $? -ne 0 ]; then
115 Target_Info "$cmd running with error, Pls. check error in following"
116 Target_Err $cmd $TEST_FILE -o $EXECUTE_FILE -lm
117 exit 1
118 fi
119 fi
120
121 # Check if the binary file generated by $cmd can work without error
122 if [ -f $EXECUTE_FILE ]; then
123 $EXECUTE_FILE
124 if [ $? -ne 0 ]; then
125 Target_Info "$EXECUTE_FILE running with error, Pls. check error in following"
126 Target_Err $EXECUTE_FILE
127 exit 1
128 else
129 Target_Info "$cmd can work without problem in target"
130 fi
131 else
132 Target_Info "No executalbe file $EXECUTE_FILE found, Pls. check the error log"
133 exit 1
134 fi
135done
136
137exit 0
diff --git a/scripts/qemuimage-tests/tools/connman_test.sh b/scripts/qemuimage-tests/tools/connman_test.sh
new file mode 100644
index 0000000000..d7e63e7dba
--- /dev/null
+++ b/scripts/qemuimage-tests/tools/connman_test.sh
@@ -0,0 +1,55 @@
1#!/bin/bash
2# connman test script running in target
3#
4# Author: Jiajun Xu <jiajun.xu@intel.com>
5#
6# This file is licensed under the GNU General Public License,
7# Version 2.
8#
9
10Target_Info()
11{
12 echo -e "\tTARGET: $*"
13}
14
15Target_Err()
16{
17 echo -e "\tTARGET: connman has issue when running, Pls. check the error log"
18 echo -e "\tTARGET: ##### Error Log #####"
19 $1
20 echo -e "\tTARGET: ##### End #####"
21}
22
23# Check if connmand is in target
24if [ ! -f /usr/sbin/connmand ]; then
25 Target_Info "No connmand command found"
26 exit 1
27fi
28
29# Check if connmand is running in background
30count=`ps -eo cmd | cut -d " " -f 1 | grep -c connmand`
31
32if [ $count -ne 1 ]; then
33 Target_Info "connmand has issue when running in background, Pls, check the output of ps"
34 ps -ef cmd | grep connmand
35 exit 1
36fi
37
38# Check if there is always only one connmand running in background
39if [ connmand > /dev/null 2>&1 ]; then
40 Target_Info "connmand command run without problem"
41 count=`ps -eo cmd | cut -d " " -f 1 | grep -c connmand`
42 if [ $count -ne 1 ]; then
43 Target_Info "There are more than one connmand running in background, Pls, check the output of ps"
44 ps -ef cmd | grep connmand
45 exit 1
46 else
47 Target_Info "There is always one connmand running in background, test pass"
48 exit 0
49 fi
50else
51 Target_Err connmand
52 exit 1
53fi
54
55exit 0
diff --git a/scripts/qemuimage-tests/tools/rpm_test.sh b/scripts/qemuimage-tests/tools/rpm_test.sh
new file mode 100644
index 0000000000..6e6f9112ca
--- /dev/null
+++ b/scripts/qemuimage-tests/tools/rpm_test.sh
@@ -0,0 +1,45 @@
1#!/bin/bash
2# rpm test script running in target
3#
4# Author: Jiajun Xu <jiajun.xu@intel.com>
5#
6# This file is licensed under the GNU General Public License,
7# Version 2.
8#
9
10Target_Info()
11{
12 echo -e "\tTARGET: $*"
13}
14
15Target_Err()
16{
17 echo -e "\tTARGET: rpm command has issue when running, Pls. check the error log"
18 echo -e "\tTARGET: ##### Error Log #####"
19 $1
20 echo -e "\tTARGET: ##### End #####"
21}
22
23which rpm
24if [ $? -ne 0 ]; then
25 Target_Info "No rpm command found"
26 exit 1
27fi
28
29if [ rpm > /dev/null 2>&1 ]; then
30 Target_Info "rpm command run without problem"
31else
32 Target_Err rpm
33 exit 1
34fi
35
36# run rpm with specific command parsed to rpm_test.sh
37rpm $* > /dev/null 2>&1
38
39if [ $? -eq 0 ]; then
40 Target_Info "rpm $* work without problem"
41 exit 0
42else
43 Target_Err rpm $*
44 exit 1
45fi
diff --git a/scripts/qemuimage-tests/tools/zypper_test.sh b/scripts/qemuimage-tests/tools/zypper_test.sh
new file mode 100644
index 0000000000..5e8e7aaacf
--- /dev/null
+++ b/scripts/qemuimage-tests/tools/zypper_test.sh
@@ -0,0 +1,45 @@
1#!/bin/bash
2# zypper test script running in target
3#
4# Author: Jiajun Xu <jiajun.xu@intel.com>
5#
6# This file is licensed under the GNU General Public License,
7# Version 2.
8#
9
10Target_Info()
11{
12 echo -e "\tTARGET: $*"
13}
14
15Target_Err()
16{
17 echo -e "\tTARGET: zypper command has issue when running, Pls. check the error log"
18 echo -e "\tTARGET: ##### Error Log #####"
19 $1
20 echo -e "\tTARGET: ##### End #####"
21}
22
23which zypper
24if [ $? -ne 0 ]; then
25 Target_Info "No zypper command found"
26 exit 1
27fi
28
29if [ zypper > /dev/null 2>&1 ]; then
30 Target_Info "zypper command run without problem"
31else
32 Target_Err zypper
33 exit 1
34fi
35
36# run zypper with specific command parsed to zypper_test.sh
37zypper $* > /dev/null 2>&1
38
39if [ $? -eq 0 ]; then
40 Target_Info "zypper $* work without problem"
41 exit 0
42else
43 Target_Err zypper $*
44 exit 1
45fi
diff --git a/scripts/rpm2cpio.sh b/scripts/rpm2cpio.sh
new file mode 100755
index 0000000000..426fd77bb7
--- /dev/null
+++ b/scripts/rpm2cpio.sh
@@ -0,0 +1,53 @@
1#!/bin/sh
2
3# This comes from the RPM5 5.4.0 distribution.
4
5pkg=$1
6if [ "$pkg" = "" -o ! -e "$pkg" ]; then
7 echo "no package supplied" 1>&2
8 exit 1
9fi
10
11leadsize=96
12o=`expr $leadsize + 8`
13set `od -j $o -N 8 -t u1 $pkg`
14il=`expr 256 \* \( 256 \* \( 256 \* $2 + $3 \) + $4 \) + $5`
15dl=`expr 256 \* \( 256 \* \( 256 \* $6 + $7 \) + $8 \) + $9`
16# echo "sig il: $il dl: $dl"
17
18sigsize=`expr 8 + 16 \* $il + $dl`
19o=`expr $o + $sigsize + \( 8 - \( $sigsize \% 8 \) \) \% 8 + 8`
20set `od -j $o -N 8 -t u1 $pkg`
21il=`expr 256 \* \( 256 \* \( 256 \* $2 + $3 \) + $4 \) + $5`
22dl=`expr 256 \* \( 256 \* \( 256 \* $6 + $7 \) + $8 \) + $9`
23# echo "hdr il: $il dl: $dl"
24
25hdrsize=`expr 8 + 16 \* $il + $dl`
26o=`expr $o + $hdrsize`
27EXTRACTOR="dd if=$pkg ibs=$o skip=1"
28
29COMPRESSION=`($EXTRACTOR |file -) 2>/dev/null`
30if echo $COMPRESSION |grep -q gzip; then
31 DECOMPRESSOR=gunzip
32elif echo $COMPRESSION |grep -q bzip2; then
33 DECOMPRESSOR=bunzip2
34elif echo $COMPRESSION |grep -q xz; then
35 DECOMPRESSOR=unxz
36elif echo $COMPRESSION |grep -q cpio; then
37 DECOMPRESSOR=cat
38else
39 # Most versions of file don't support LZMA, therefore we assume
40 # anything not detected is LZMA
41 DECOMPRESSOR=`which unlzma 2>/dev/null`
42 case "$DECOMPRESSOR" in
43 /* ) ;;
44 * ) DECOMPRESSOR=`which lzmash 2>/dev/null`
45 case "$DECOMPRESSOR" in
46 /* ) DECOMPRESSOR="lzmash -d -c" ;;
47 * ) DECOMPRESSOR=cat ;;
48 esac
49 ;;
50 esac
51fi
52
53$EXTRACTOR 2>/dev/null | $DECOMPRESSOR
diff --git a/scripts/send-pull-request b/scripts/send-pull-request
index 0576a5dd44..7f51a1b259 100755
--- a/scripts/send-pull-request
+++ b/scripts/send-pull-request
@@ -1,6 +1,16 @@
1#!/bin/bash 1#!/bin/bash
2AUTO=0 2AUTO=0
3 3
4# Check env for any default settings, command line options will override these.
5if [ -z "$PULL_MTA" ]; then
6 PULL_MTA="sendmail"
7fi
8
9# Prevent environment leakage to these vars.
10unset TO
11unset CC
12# allow the user to set FROM in the environment
13
4usage() 14usage()
5{ 15{
6cat <<EOM 16cat <<EOM
@@ -8,6 +18,10 @@ Usage: $(basename $0) [-h] [-a] [[-t email]...] -p pull-dir
8 -t email Explicitly add email to the recipients 18 -t email Explicitly add email to the recipients
9 -a Automatically harvest recipients from "*-by: email" lines 19 -a Automatically harvest recipients from "*-by: email" lines
10 in the patches in the pull-dir 20 in the patches in the pull-dir
21 -f Specify a FROM address, you can also use the FROM environment
22 variable. If you do not specify one, it will try to use the one
23 from your git config. This is ignored if -g is used.
24 -g Use git-send-email to send mail instead of sendmail
11 -p pull-dir Directory containing summary and patch files 25 -p pull-dir Directory containing summary and patch files
12EOM 26EOM
13} 27}
@@ -35,11 +49,17 @@ harvest_recipients()
35 49
36 50
37# Parse and verify arguments 51# Parse and verify arguments
38while getopts "ahp:t:" OPT; do 52while getopts "af:ghp:t:" OPT; do
39 case $OPT in 53 case $OPT in
40 a) 54 a)
41 AUTO=1 55 AUTO=1
42 ;; 56 ;;
57 f)
58 FROM="$OPTARG"
59 ;;
60 g)
61 PULL_MTA="git"
62 ;;
43 h) 63 h)
44 usage 64 usage
45 exit 0 65 exit 0
@@ -95,13 +115,29 @@ if [ -z "$TO" ] && [ -z "$CC" ]; then
95 exit 1 115 exit 1
96fi 116fi
97 117
118case "$PULL_MTA" in
119 git)
120 FROM="$(git config sendemail.from)"
121 ;;
122 sendmail)
123 if [ -z "$FROM" ]; then
124 FROM="$(git config user.name) <$(git config user.email)>"
125 if [ -z "$FROM" ]; then
126 echo "ERROR: unable to determine a FROM address"
127 usage
128 exit 1
129 fi
130 fi
131 ;;
132esac
98 133
99# Generate report for the user and require confirmation before sending 134# Generate report for the user and require confirmation before sending
100cat <<EOM 135cat <<EOM
101The following patches: 136The following patches:
102$(for PATCH in $PDIR/*.patch; do echo " $PATCH"; done) 137$(for PATCH in $PDIR/*.patch; do echo " $PATCH"; done)
103 138
104will be sent to the following recipients: 139will be sent with the following headers:
140 From: $FROM
105 To: $TO 141 To: $TO
106 CC: $CC 142 CC: $CC
107 143
@@ -111,21 +147,52 @@ read cont
111 147
112if [ "$cont" == "y" ] || [ "$cont" == "Y" ]; then 148if [ "$cont" == "y" ] || [ "$cont" == "Y" ]; then
113 ERROR=0 149 ERROR=0
114 for PATCH in $PDIR/*patch; do 150 case "$PULL_MTA" in
115 # Insert To and CC headers via formail to keep them separate and 151 git)
116 # appending them to the sendmail command as -- $TO $CC has proven 152 export IFS=$','
117 # to be an exercise in futility. 153 GIT_TO=$(for R in $TO; do echo -n "--to='$R' "; done)
118 # 154 GIT_CC=$(for R in $CC; do echo -n "--cc='$R' "; done)
119 # Use tail to remove the email envelope from git or formail as 155 unset IFS
120 # msmtp (sendmail) would choke on them. 156 for PATCH in $PDIR/*patch; do
121 cat $PATCH | formail -I "To: $TO" -I "CC: $CC" | tail -n +2 | sendmail -t 157 # We harvest the emails manually, so force git not to.
122 if [ $? -eq 1 ]; then 158 eval "git send-email $GIT_TO $GIT_CC --no-chain-reply-to --suppress-cc=all $PATCH"
123 ERROR=1 159 if [ $? -eq 1 ]; then
124 fi 160 ERROR=1
125 done 161 fi
162 done
163 ;;
164 sendmail)
165 for PATCH in $PDIR/*patch; do
166 # Insert To and CC headers via formail to keep them separate and
167 # appending them to the sendmail command as -- $TO $CC has
168 # proven to be an exercise in futility.
169 #
170 # Clear the From header, leaving it up to sendmail to insert an
171 # appropriate one. Insert the original sender (per git) into the
172 # body of the message.
173 #
174 # Use tail to remove the email envelope from git or formail as
175 # msmtp (sendmail) would choke on them.
176 #
177 # Modify the patch date for sequential delivery, but retain the
178 # original date as "Old-Date".
179 DATE=$(date +"%a, %d %b %Y %k:%M:%S %z")
180 GIT_FROM=$(cat $PATCH | formail -X "From:")
181 cat $PATCH | formail -I "To: $TO" -I "CC: $CC" -I "From: $FROM" -i "Date: $DATE" | sed "0,/^$/s/^$/\n$GIT_FROM\n/" | tail -n +2 | sendmail -t
182 if [ $? -eq 1 ]; then
183 ERROR=1
184 fi
185 done
186 ;;
187 *)
188 echo "ERROR: unknown MTA: $PULL_MTA"
189 usage
190 exit 1
191 ;;
192 esac
193
126 if [ $ERROR -eq 1 ]; then 194 if [ $ERROR -eq 1 ]; then
127 echo "ERROR: sendmail failed to send one or more messages. Check your" 195 echo "ERROR: Failed to send one or more messages. Check your MTA log for details."
128 echo " sendmail log for details."
129 fi 196 fi
130else 197else
131 echo "Send aborted." 198 echo "Send aborted."