Updated Consolidated pull
cover Updated Consolidated pull
From: Saul Wold <[email protected]>
Richard,
This has been reviewed and build on x86 and ARM, I have worked also to build full world, it's almost there, qemu on the target needs a few more tweaks, it's closer!
Please consider these changes.
Thanks
Sau!
Pull URL: git://git.openembedded.org/openembedded-core-contrib
Branch: sgw/stage
Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/stage
Thanks,
Saul Wold <[email protected]>
---
Darren Hart (3):
logging: fix oedebug loglevel test
logging: remove unused BBDEBUG from local.conf.sample
logging: add bb* logging mechanisms for bash recipe functions
Dongxiao Xu (13):
rxvt-unicode: upgrade to version 9.10
valgrind: upgrade to version 3.6.1
bluez-hcidump: upgrade to version 2.0
gupnp-av: upgrade to version 0.8.0
libsndfile1: upgrade to version 1.0.24 glib-2.0: upgrade to version 2.28.6
libfm: Remove the flag of G_DISABLE_DEPRECATED
polkit: upgrade to version 0.101.
gst-fluendo-mpegdemux: upgrade to version 0.10.67
libsamplerate0: upgrade to version 0.1.7
alsa-utils: upgrade to version 1.0.24.2
cwautomacros: upgrade to version 20110201
distro_tracking_fields: cwautomacros, valgrind, etc
Khem Raj (19):
gcc: Add recipes for 4.6.0
sstate.bbclass: Reduce SSTATE_MANIFESTS assignment to be weak
libiconv: update from 1.9.2 -> 1.11.1
elfutils_0.148.bb: Fix compilation issues on uclibc perl_5.12.2.bb: Undefine features not found in uclibc
xorg-lib: inherit gettext class instead of adding gettext to DEPENDS
directly
attr: Fix compilation on uclibc
linux-tools.inc: Dummify do_compile_perf and do_install_perf for
uclibc
gettext.bbclass: Use _append instead of =+
insane.bbclass: Move code to add function to tasks toward the end insane.bbclass: Checking for NLS too when checking gettext dependency autotools.bbclass: Copy gettext files only if --disable-nls is not
set
gettext: Divide packaging into gettext-runtime and rest gettext_0.17.bb: PROVIDE virtual/gettext and RCONFLICT with
proxy-libintl
poky-default.inc: Weakly assign gettext to provide virtual/gettext glib-2.0: Inherit gettext should provide right libintl so remove from
DEPENDS
util-linux.inc: remove virtual/libintl from DEPENDS perl_5.12.2.bb: Undefine features not found in uclibc alsa-utils_1.0.23.bb: Fix compilation for uclibc targets
Nitin A Kamble (3):
perl: upgrade from 5.12.2 to 5.12.3
tar-1.17 (GPLv2) bugfix
cpio-2.8 (GPLv2) bug fix
Qing He (2):
sat-solver: fix arch=all packages
quilt: fix test for target build
Saul Wold (10):
gdb: set --without-ust for EXTRA_OEFLAGS
web: update svn to 131 to fix build issue
python: add missing cytpes modules
libsdl: add SRC_URI Checksums
clutter-box2d: add DEPENDS for clutter-1.6
table: move old clutter demo to meta-demoapps
tidy: move old clutter demo to meta-demoapps
alsa-tools: Add checksums
world-broken: add older clutters since we don't want clutter
confusion
qemu: Fix non-sdl/opengl build
Scott Garman (2):
cdrtools: recipe and patch cleanup
distro_tracking_fields.inc: add cdrtools recipe
.../recipes-graphics/clutter/table.inc | 0
.../recipes-graphics/clutter/table/fixes.patch | 0
.../recipes-graphics/clutter/table_git.bb | 0
.../recipes-graphics/clutter/tidy.inc | 0
.../recipes-graphics/clutter/tidy/autofoo.patch | 0
.../clutter/tidy/tidy-enable-tests.patch | 0
.../recipes-graphics/clutter/tidy_git.bb | 0
meta/classes/autotools.bbclass | 19 +-
meta/classes/base.bbclass | 9 +-
meta/classes/gettext.bbclass | 38 +-
meta/classes/insane.bbclass | 24 +-
meta/classes/logging.bbclass | 72 +
meta/classes/sstate.bbclass | 2 +-
.../conf/distro/include/distro_tracking_fields.inc | 83 +-
.../conf/distro/include/poky-default-revisions.inc | 2 +-
meta/conf/distro/include/poky-default.inc | 1 +
meta/conf/distro/include/world-broken.inc | 9 +-
meta/conf/local.conf.sample | 2 -
...{bluez-hcidump_1.42.bb => bluez-hcidump_2.0.bb} | 8 +-
.../gupnp/{gupnp-av_0.7.0.bb => gupnp-av_0.8.0.bb} | 4 +-
meta/recipes-core/gettext/gettext_0.17.bb | 39 +-
.../60_wait-longer-for-threads-to-die.patch | 2 +
.../glib-2.0/glib-2.0/configure-libtool.patch | 2 +
.../glib-2.0/glib-2.0/g_once_init_enter.patch | 2 +
.../glib-2.0/glib-2.0/glib-gettextize-dir.patch | 2 +
meta/recipes-core/glib-2.0/glib-2.0/no-iconv.patch | 104 +
meta/recipes-core/glib-2.0/glib-2.0_2.26.1.bb | 16 -
meta/recipes-core/glib-2.0/glib-2.0_2.27.5.bb | 5 +-
meta/recipes-core/glib-2.0/glib-2.0_2.28.6.bb | 18 +
meta/recipes-core/glib-2.0/glib.inc | 4 +-
meta/recipes-core/util-linux/util-linux.inc | 6 +-
.../cdrtools-native/glibc-conflict-rename.patch | 8 +
.../cdrtools/cdrtools-native/no_usr_src.patch | 7 +
.../cdrtools/cdrtools-native_2.01.bb | 22 +-
.../elfutils/elfutils-0.148/mempcpy.patch | 23 +
meta/recipes-devtools/elfutils/elfutils_0.148.bb | 6 +-
meta/recipes-devtools/gcc/gcc-4.6.0.inc | 82 +
.../gcc/gcc-4.6.0/100-uclibc-conf.patch | 37 +
.../gcc/gcc-4.6.0/103-uclibc-conf-noupstream.patch | 15 +
.../gcc/gcc-4.6.0/200-uclibc-locale.patch | 2840 ++++++++++++++++++++
.../gcc/gcc-4.6.0/203-uclibc-locale-no__x.patch | 233 ++
.../gcc-4.6.0/204-uclibc-locale-wchar_fix.patch | 52 +
.../gcc/gcc-4.6.0/205-uclibc-locale-update.patch | 519 ++++
.../gcc/gcc-4.6.0/301-missing-execinfo_h.patch | 13 +
.../gcc/gcc-4.6.0/302-c99-snprintf.patch | 13 +
.../gcc/gcc-4.6.0/303-c99-complex-ugly-hack.patch | 14 +
.../gcc/gcc-4.6.0/304-index_macro.patch | 28 +
.../gcc-4.6.0/305-libmudflap-susv3-legacy.patch | 49 +
.../gcc/gcc-4.6.0/306-libstdc++-namespace.patch | 38 +
.../gcc/gcc-4.6.0/307-locale_facets.patch | 19 +
.../gcc/gcc-4.6.0/602-sdk-libstdc++-includes.patch | 20 +
.../recipes-devtools/gcc/gcc-4.6.0/64bithack.patch | 33 +
.../gcc/gcc-4.6.0/740-sh-pr24836.patch | 29 +
.../gcc/gcc-4.6.0/800-arm-bigendian.patch | 34 +
.../gcc/gcc-4.6.0/904-flatten-switch-stmt-00.patch | 74 +
.../gcc/gcc-4.6.0/COLLECT_GCC_OPTIONS.patch | 23 +
.../GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch | 33 +
.../gcc/gcc-4.6.0/arm-bswapsi2.patch | 13 +
.../gcc/gcc-4.6.0/arm-nolibfloat.patch | 24 +
.../gcc/gcc-4.6.0/arm-softfloat.patch | 16 +
.../gcc/gcc-4.6.0/arm-unbreak-eabi-armv4t.dpatch | 36 +
.../gcc/gcc-4.6.0/cache-amnesia.patch | 31 +
.../gcc-4.6.0/disable_relax_pic_calls_flag.patch | 46 +
.../gcc/gcc-4.6.0/fortran-cross-compile-hack.patch | 30 +
.../gcc/gcc-4.6.0/gcc-4.0.2-e300c2c3.patch | 319 +++
.../gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 31 +
.../gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 114 +
.../gcc/gcc-4.6.0/gcc-arm-frename-registers.patch | 25 +
.../gcc/gcc-4.6.0/gcc-flags-for-build.patch | 178 ++
.../gcc/gcc-4.6.0/gcc-ice-hack.dpatch | 331 +++
.../gcc/gcc-4.6.0/gcc-poison-dir-extend.patch | 25 +
.../gcc/gcc-4.6.0/gcc-poison-parameters.patch | 74 +
.../gcc-4.6.0/gcc-poison-system-directories.patch | 221 ++
.../gcc-uclibc-locale-ctype_touplow_t.patch | 70 +
.../gcc/gcc-4.6.0/libstdc++-pic.dpatch | 71 +
.../gcc/gcc-4.6.0/optional_libstdc.patch | 84 +
meta/recipes-devtools/gcc/gcc-4.6.0/pr30961.dpatch | 179 ++
meta/recipes-devtools/gcc/gcc-4.6.0/pr35942.patch | 38 +
.../gcc/gcc-4.6.0/zecke-xgcc-cpp.patch | 28 +
.../gcc/gcc-cross-initial_4.6.0.bb | 2 +
.../gcc/gcc-cross-intermediate_4.6.0.bb | 3 +
meta/recipes-devtools/gcc/gcc-cross_4.6.0.bb | 8 +
.../gcc/gcc-crosssdk-initial_4.6.0.bb | 4 +
.../gcc/gcc-crosssdk-intermediate_4.6.0.bb | 4 +
meta/recipes-devtools/gcc/gcc-runtime_4.6.0.bb | 10 +
meta/recipes-devtools/gcc/gcc_4.6.0.bb | 7 +
meta/recipes-devtools/gcc/libgcc_4.6.0.bb | 46 +
meta/recipes-devtools/gdb/gdb-common.inc | 5 +-
.../perl/perl-5.12.2/native-ssp.patch | 16 -
.../09_fix_installperl.patch | 6 +-
.../Configure-multilib.patch | 6 +-
.../{perl-5.12.2 => perl-5.12.3}/Makefile.SH.patch | 44 +-
.../{perl-5.12.2 => perl-5.12.3}/Makefile.patch | 6 +-
.../asm-pageh-fix.patch | 6 +-
.../perl/{perl-5.12.2 => perl-5.12.3}/config.sh | 46 +-
.../perl/{perl-5.12.2 => perl-5.12.3}/config.sh-32 | 0
.../{perl-5.12.2 => perl-5.12.3}/config.sh-32-be | 0
.../{perl-5.12.2 => perl-5.12.3}/config.sh-32-le | 0
.../perl/{perl-5.12.2 => perl-5.12.3}/config.sh-64 | 0
.../{perl-5.12.2 => perl-5.12.3}/config.sh-64-be | 0
.../{perl-5.12.2 => perl-5.12.3}/config.sh-64-le | 0
.../cross-generate_uudmap.patch | 0
.../debian/arm_optim.diff | 2 +-
.../debian/arm_thread_stress_timeout.diff | 2 +-
.../debian/cpan_config_path.diff | 2 +-
.../debian/cpan_definstalldirs.diff | 2 +-
.../debian/cpanplus_config_path.diff | 2 +-
.../debian/cpanplus_definstalldirs.diff | 2 +-
.../debian/db_file_ver.diff | 2 +-
.../debian/deprecate-with-apt.diff | 2 +-
.../debian/devel-ppport-ia64-optim.diff | 2 +-
.../debian/disable-zlib-bundling.diff | 2 +-
.../debian/doc_info.diff | 6 +-
.../debian/enc2xs_inc.diff | 9 +-
.../debian/errno_ver.diff | 2 +-
.../debian/extutils_hacks.diff | 2 +-
.../debian/fakeroot.diff | 4 +-
.../debian/fixes/autodie-flock.diff | 2 +-
.../debian/fixes/concat-stack-corruption.diff | 4 +-
.../debian/fixes/cpanplus-without-home.diff | 2 +-
.../debian/fixes/h2ph-gcc-4.5.diff | 2 +-
.../debian/fixes/hurd-ccflags.diff | 2 +-
.../debian/fixes/lc-numeric-docs.diff | 2 +-
.../debian/fixes/lc-numeric-sprintf.diff | 2 +-
.../debian/fixes/net_smtp_docs.diff | 2 +-
.../debian/fixes/processPL.diff | 2 +-
.../debian/instmodsh_doc.diff | 2 +-
.../debian/ld_run_path.diff | 2 +-
.../debian/libnet_config_path.diff | 2 +-
.../debian/m68k_thread_stress.diff | 2 +-
.../debian/mod_paths.diff | 2 +-
.../debian/module_build_man_extensions.diff | 2 +-
.../perl/perl-5.12.3/debian/patchlevel | 45 +
.../debian/perlivp.diff | 2 +-
.../debian/prune_libs.diff | 2 +-
.../perl/perl-5.12.3/debian/series | 34 +
.../debian/squelch-locale-warnings.diff | 2 +-
.../{perl-5.12.2 => perl-5.12.3}/generate-sh.patch | 0
.../{perl-5.12.2 => perl-5.12.3}/installperl.patch | 6 +-
.../letgcc-find-errno.patch | 6 +-
.../native-nopacklist.patch | 6 +-
.../native-perlinc.patch | 4 +-
.../parallel_build_fix_1.patch | 0
.../parallel_build_fix_2.patch | 0
.../parallel_build_fix_3.patch | 0
.../parallel_build_fix_4.patch | 0
.../parallel_build_fix_5.patch | 52 +-
.../parallel_build_fix_6.patch | 36 +-
.../perl-configpm-switch.patch | 0
.../{perl-5.12.2 => perl-5.12.3}/perl-configure.sh | 2 +-
.../perl-dynloader.patch | 4 +-
.../perl-enable-gdbm.patch | 0
.../perl-moreconfig.patch | 0
...perl-native_5.12.2.bb => perl-native_5.12.3.bb} | 8 +-
...depends_5.12.2.inc => perl-rdepends_5.12.3.inc} | 0
...ovides_5.12.2.inc => perl-rprovides_5.12.3.inc} | 0
.../perl/{perl_5.12.2.bb => perl_5.12.3.bb} | 111 +-
.../python/06-ctypes-libffi-fix-configure.patch | 58 +
meta/recipes-devtools/python/python_2.6.6.bb | 3 +-
.../qemu/qemu-0.14.0/opengl-sdl-fix.patch | 41 +
meta/recipes-devtools/qemu/qemu.inc | 2 +
meta/recipes-devtools/qemu/qemu_0.14.0.bb | 3 +-
.../quilt/quilt/gnu_patch_test_fix_target.patch | 26 +
meta/recipes-devtools/quilt/quilt_0.48.bb | 6 +-
.../fix_issue_caused_by_ccache.patch | 2 +
.../fixed-perl-path.patch | 2 +
.../{valgrind_3.6.0.bb => valgrind_3.6.1.bb} | 4 +-
.../cpio/cpio-2.8/avoid_heap_overflow.patch | 25 +
meta/recipes-extended/cpio/cpio_2.8.bb | 6 +-
...macros_20090610.bb => cwautomacros_20110201.bb} | 4 +-
.../polkit/polkit-0.101/introspection.patch | 104 +
.../polkit/{polkit_0.99.bb => polkit_0.101.bb} | 11 +-
...sat-solver_poky.patch => sat-solver_core.patch} | 27 +-
meta/recipes-extended/sat-solver/sat-solver_git.bb | 16 +-
.../tar/tar-1.17/avoid_heap_overflow.patch | 22 +
meta/recipes-extended/tar/tar_1.17.bb | 3 +-
.../clutter/clutter-box2d-1.6_0.10.0.bb | 2 +
.../libsdl/libsdl-nativesdk_1.2.11.bb | 3 +
meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb | 4 +-
meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb | 4 +-
meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb | 3 +-
meta/recipes-kernel/linux/linux-tools.inc | 17 +-
meta/recipes-multimedia/alsa/alsa-tools_1.0.20.bb | 8 +-
.../ncursesfix.patch | 22 +-
...alsa-utils_1.0.23.bb => alsa-utils_1.0.24.2.bb} | 13 +-
...0.10.62.bb => gst-fluendo-mpegdemux_0.10.67.bb} | 4 +-
.../libsamplerate-0.1.7-macro-quoting.patch | 22 +
...amplerate0_0.1.2.bb => libsamplerate0_0.1.7.bb} | 11 +-
.../libsndfile/libsndfile1/acincludefix.patch | 26 -
.../libsndfile/libsndfile1/add-cxx.patch | 18 -
...libsndfile1_1.0.23.bb => libsndfile1_1.0.24.bb} | 4 +-
.../recipes-sato/rxvt-unicode/files/makefile.patch | 20 -
meta/recipes-sato/rxvt-unicode/files/rxvt.desktop | 11 -
.../rxvt-unicode/files/signedchar.patch | 11 -
meta/recipes-sato/rxvt-unicode/files/xwc.patch | 28 -
.../rxvt-unicode/rxvt-unicode-5.6/xwc.patch | 24 -
.../rxvt-unicode/rxvt-unicode-9.10/rxvt.desktop | 9 +
.../{files => rxvt-unicode-9.10}/rxvt.png | Bin 2847 -> 2847 bytes
.../rxvt-unicode/rxvt-unicode-9.10/xwc.patch | 26 +
.../{rxvt-unicode_5.6.bb => rxvt-unicode_9.10.bb} | 39 +-
meta/recipes-support/attr/attr.inc | 4 +
meta/recipes-support/attr/ea-acl.inc | 4 +-
.../libfm/libfm-0.1.14/use_deprecate_func.patch | 11 +
meta/recipes-support/libfm/libfm_0.1.14.bb | 5 +-
.../libiconv/libiconv-1.11.1/autoconf.patch | 48 +
.../shared_preloadable_libiconv_linux.patch | 24 +
meta/recipes-support/libiconv/libiconv_1.11.1.bb | 30 +
meta/recipes-support/libiconv/libiconv_1.9.2.bb | 21 -
208 files changed, 7583 insertions(+), 593 deletions(-)
rename {meta => meta-demoapps}/recipes-graphics/clutter/table.inc (100%)
rename {meta => meta-demoapps}/recipes-graphics/clutter/table/fixes.patch (100%)
rename {meta => meta-demoapps}/recipes-graphics/clutter/table_git.bb (100%)
rename {meta => meta-demoapps}/recipes-graphics/clutter/tidy.inc (100%)
rename {meta => meta-demoapps}/recipes-graphics/clutter/tidy/autofoo.patch (100%)
rename {meta => meta-demoapps}/recipes-graphics/clutter/tidy/tidy-enable-tests.patch (100%)
rename {meta => meta-demoapps}/recipes-graphics/clutter/tidy_git.bb (100%)
create mode 100644 meta/classes/logging.bbclass
rename meta/recipes-connectivity/bluez/{bluez-hcidump_1.42.bb => bluez-hcidump_2.0.bb} (69%)
rename meta/recipes-connectivity/gupnp/{gupnp-av_0.7.0.bb => gupnp-av_0.8.0.bb} (77%)
create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/no-iconv.patch
delete mode 100644 meta/recipes-core/glib-2.0/glib-2.0_2.26.1.bb
create mode 100644 meta/recipes-core/glib-2.0/glib-2.0_2.28.6.bb
create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0.inc
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/100-uclibc-conf.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/103-uclibc-conf-noupstream.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/200-uclibc-locale.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/203-uclibc-locale-no__x.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/204-uclibc-locale-wchar_fix.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/205-uclibc-locale-update.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/301-missing-execinfo_h.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/302-c99-snprintf.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/303-c99-complex-ugly-hack.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/304-index_macro.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/305-libmudflap-susv3-legacy.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/306-libstdc++-namespace.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/307-locale_facets.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/602-sdk-libstdc++-includes.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/64bithack.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/740-sh-pr24836.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/800-arm-bigendian.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/904-flatten-switch-stmt-00.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/COLLECT_GCC_OPTIONS.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/arm-bswapsi2.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/arm-nolibfloat.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/arm-softfloat.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/arm-unbreak-eabi-armv4t.dpatch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/cache-amnesia.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/disable_relax_pic_calls_flag.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/fortran-cross-compile-hack.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4.0.2-e300c2c3.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-arm-frename-registers.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-flags-for-build.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-ice-hack.dpatch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-poison-dir-extend.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-poison-parameters.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-poison-system-directories.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-uclibc-locale-ctype_touplow_t.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/libstdc++-pic.dpatch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/optional_libstdc.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/pr30961.dpatch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/pr35942.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/zecke-xgcc-cpp.patch
create mode 100644 meta/recipes-devtools/gcc/gcc-cross-initial_4.6.0.bb
create mode 100644 meta/recipes-devtools/gcc/gcc-cross-intermediate_4.6.0.bb
create mode 100644 meta/recipes-devtools/gcc/gcc-cross_4.6.0.bb
create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.6.0.bb
create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.6.0.bb
create mode 100644 meta/recipes-devtools/gcc/gcc-runtime_4.6.0.bb
create mode 100644 meta/recipes-devtools/gcc/gcc_4.6.0.bb
create mode 100644 meta/recipes-devtools/gcc/libgcc_4.6.0.bb
delete mode 100644 meta/recipes-devtools/perl/perl-5.12.2/native-ssp.patch
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/09_fix_installperl.patch (87%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/Configure-multilib.patch (89%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/Makefile.SH.patch (89%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/Makefile.patch (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/asm-pageh-fix.patch (77%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/config.sh (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/config.sh-32 (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/config.sh-32-be (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/config.sh-32-le (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/config.sh-64 (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/config.sh-64-be (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/config.sh-64-le (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/cross-generate_uudmap.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/arm_optim.diff (92%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/arm_thread_stress_timeout.diff (90%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/cpan_config_path.diff (92%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/cpan_definstalldirs.diff (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/cpanplus_config_path.diff (96%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/cpanplus_definstalldirs.diff (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/db_file_ver.diff (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/deprecate-with-apt.diff (97%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/devel-ppport-ia64-optim.diff (93%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/disable-zlib-bundling.diff (92%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/doc_info.diff (88%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/enc2xs_inc.diff (82%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/errno_ver.diff (94%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/extutils_hacks.diff (99%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fakeroot.diff (93%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/autodie-flock.diff (98%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/concat-stack-corruption.diff (91%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/cpanplus-without-home.diff (94%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/h2ph-gcc-4.5.diff (98%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/hurd-ccflags.diff (92%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/lc-numeric-docs.diff (98%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/lc-numeric-sprintf.diff (93%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/net_smtp_docs.diff (91%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/processPL.diff (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/instmodsh_doc.diff (93%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/ld_run_path.diff (93%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/libnet_config_path.diff (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/m68k_thread_stress.diff (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/mod_paths.diff (97%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/module_build_man_extensions.diff (96%)
create mode 100644 meta/recipes-devtools/perl/perl-5.12.3/debian/patchlevel
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/perlivp.diff (96%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/prune_libs.diff (96%)
create mode 100644 meta/recipes-devtools/perl/perl-5.12.3/debian/series
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/squelch-locale-warnings.diff (96%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/generate-sh.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/installperl.patch (81%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/letgcc-find-errno.patch (92%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/native-nopacklist.patch (94%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/native-perlinc.patch (88%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/parallel_build_fix_1.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/parallel_build_fix_2.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/parallel_build_fix_3.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/parallel_build_fix_4.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/parallel_build_fix_5.patch (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/parallel_build_fix_6.patch (89%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/perl-configpm-switch.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/perl-configure.sh (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/perl-dynloader.patch (90%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/perl-enable-gdbm.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/perl-moreconfig.patch (100%)
rename meta/recipes-devtools/perl/{perl-native_5.12.2.bb => perl-native_5.12.3.bb} (94%)
rename meta/recipes-devtools/perl/{perl-rdepends_5.12.2.inc => perl-rdepends_5.12.3.inc} (100%)
rename meta/recipes-devtools/perl/{perl-rprovides_5.12.2.inc => perl-rprovides_5.12.3.inc} (100%)
rename meta/recipes-devtools/perl/{perl_5.12.2.bb => perl_5.12.3.bb} (79%)
create mode 100644 meta/recipes-devtools/python/python/06-ctypes-libffi-fix-configure.patch
create mode 100644 meta/recipes-devtools/qemu/qemu-0.14.0/opengl-sdl-fix.patch
create mode 100644 meta/recipes-devtools/quilt/quilt/gnu_patch_test_fix_target.patch
rename meta/recipes-devtools/valgrind/{valgrind-3.6.0 => valgrind-3.6.1}/fix_issue_caused_by_ccache.patch (94%)
rename meta/recipes-devtools/valgrind/{valgrind-3.6.0 => valgrind-3.6.1}/fixed-perl-path.patch (97%)
rename meta/recipes-devtools/valgrind/{valgrind_3.6.0.bb => valgrind_3.6.1.bb} (86%)
create mode 100644 meta/recipes-extended/cpio/cpio-2.8/avoid_heap_overflow.patch
rename meta/recipes-extended/cwautomacros/{cwautomacros_20090610.bb => cwautomacros_20110201.bb} (74%)
create mode 100644 meta/recipes-extended/polkit/polkit-0.101/introspection.patch
rename meta/recipes-extended/polkit/{polkit_0.99.bb => polkit_0.101.bb} (77%)
rename meta/recipes-extended/sat-solver/sat-solver/{sat-solver_poky.patch => sat-solver_core.patch} (81%)
create mode 100644 meta/recipes-extended/tar/tar-1.17/avoid_heap_overflow.patch
rename meta/recipes-multimedia/alsa/{alsa-utils-1.0.23 => alsa-utils-1.0.24.2}/ncursesfix.patch (70%)
rename meta/recipes-multimedia/alsa/{alsa-utils_1.0.23.bb => alsa-utils_1.0.24.2.bb} (89%)
rename meta/recipes-multimedia/gstreamer/{gst-fluendo-mpegdemux_0.10.62.bb => gst-fluendo-mpegdemux_0.10.67.bb} (71%)
create mode 100644 meta/recipes-multimedia/libsamplerate/libsamplerate0-0.1.7/libsamplerate-0.1.7-macro-quoting.patch
rename meta/recipes-multimedia/libsamplerate/{libsamplerate0_0.1.2.bb => libsamplerate0_0.1.7.bb} (59%)
delete mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/acincludefix.patch
delete mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/add-cxx.patch
rename meta/recipes-multimedia/libsndfile/{libsndfile1_1.0.23.bb => libsndfile1_1.0.24.bb} (80%)
delete mode 100644 meta/recipes-sato/rxvt-unicode/files/makefile.patch
delete mode 100644 meta/recipes-sato/rxvt-unicode/files/rxvt.desktop
delete mode 100644 meta/recipes-sato/rxvt-unicode/files/signedchar.patch
delete mode 100644 meta/recipes-sato/rxvt-unicode/files/xwc.patch
delete mode 100644 meta/recipes-sato/rxvt-unicode/rxvt-unicode-5.6/xwc.patch
create mode 100644 meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.10/rxvt.desktop
rename meta/recipes-sato/rxvt-unicode/{files => rxvt-unicode-9.10}/rxvt.png (100%)
create mode 100644 meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.10/xwc.patch
rename meta/recipes-sato/rxvt-unicode/{rxvt-unicode_5.6.bb => rxvt-unicode_9.10.bb} (69%)
create mode 100644 meta/recipes-support/libfm/libfm-0.1.14/use_deprecate_func.patch
create mode 100644 meta/recipes-support/libiconv/libiconv-1.11.1/autoconf.patch
create mode 100644 meta/recipes-support/libiconv/libiconv-1.11.1/shared_preloadable_libiconv_linux.patch
create mode 100644 meta/recipes-support/libiconv/libiconv_1.11.1.bb
delete mode 100644 meta/recipes-support/libiconv/libiconv_1.9.2.bbPATCH 2/52 quilt: fix test for target build
From: Qing He <[email protected]>
fixes [YOCTO #969]
--- .../quilt/quilt/gnu_patch_test_fix_target.patch | 26 ++++++++++++++++++++ meta/recipes-devtools/quilt/quilt_0.48.bb | 6 +++- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-devtools/quilt/quilt/gnu_patch_test_fix_target.patch
meta/recipes-devtools/quilt/quilt/gnu_patch_test_fix_target.patch new file +26 -0
@@ -0,0 +1,26 @@ +Upstream-Status: Pending + +the test should be skipped for cross compiling. + +Signed-off-by: Qing He <[email protected]> + +diff --git a/configure.ac b/configure.ac +index 026a36c..8af591b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -245,6 +245,7 @@ fi + QUILT_COMPAT_PROG_PATH(DIFF, diff) + QUILT_COMPAT_PROG_PATH(PATCH, patch) + ++if test "x$cross_compiling" != "xyes"; then + # Sun diff and others will not work because GNU patch options are used. + AC_MSG_CHECKING([the version of $DIFF]) + if $DIFF --version 2>/dev/null | grep GNU >/dev/null; then +@@ -293,6 +294,7 @@ current version of patch from ftp.gnu.org, or if you already have GNU patch + then you can supply its path with the '--with-patch=' option. + ]) + fi ++fi + + QUILT_COMPAT_PROG_PATH(FIND, find) +
meta/recipes-devtools/quilt/quilt_0.48.bb +4 -2
@@ -2,8 +2,10 @@ require quilt.inc LICENSE="GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" RDEPENDS_${PN} += "patch diffstat bzip2 util-linux" -PR = "r0" -SRC_URI += "file://aclocal.patch" +PR = "r1" +SRC_URI += "file://aclocal.patch \ + file://gnu_patch_test_fix_target.patch \ + " SRC_URI[md5sum] = "f77adda60039ffa753f3c584a286f12b" SRC_URI[sha256sum] = "73fd760d3b5cbf06417576591dc37d67380d189392db9000c21b7cbebee49ffc"
Signature · 1 line
1.7.1.1
PATCH 1/52 sat-solver: fix arch=all packages
In reply to Saul WoldFrom: Qing He <[email protected]>
add a new options to set noarch archs as all so platform independent packages can be recognized and installed.
fixes [YOCTO #993]
---
...sat-solver_poky.patch => sat-solver_core.patch} | 27 +++++++++++++++++--
meta/recipes-extended/sat-solver/sat-solver_git.bb | 16 ++++++------
2 files changed, 32 insertions(+), 11 deletions(-)
rename meta/recipes-extended/sat-solver/sat-solver/{sat-solver_poky.patch => sat-solver_core.patch} (81%)meta/recipes-extended/sat-solver/sat-solver/sat-solver_core.patch renamed from meta/recipes-extended/sat-solver/sat-solver/sat-solver_poky.patch +24 -3
@@ -1,3 +1,5 @@ +Upstream-Status: Inappropriate [distribution] + Fix "arch" integration with Poky. Add a missing "any" architecture type and update the semantics to use it.
@@ -5,8 +7,27 @@ Add a missing "any" architecture type and update the semantics to use it. Disable the built-in archpolicies structure, and replace it with one we generate in the recipe. +Also add poky semantics option in CMake. + Signed-off-by: Mark Hatle <[email protected]> +Signed-off-by: Qing He <[email protected]> +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 443281e..4456a87 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -45,6 +45,11 @@ MESSAGE(STATUS "Building for Debian") + ADD_DEFINITIONS( -DDEBIAN -DDEBIAN_SEMANTICS) + ENDIF ( DEBIAN ) + ++IF ( OE_CORE ) ++MESSAGE(STATUS "Building for OE core") ++ADD_DEFINITIONS( -DOE_CORE -DOE_CORE_SEMANTICS) ++ENDIF ( OE_CORE ) ++ + IF ( MULTI_SEMANTICS ) + MESSAGE(STATUS "Enabling multi dist support") + ADD_DEFINITIONS( -DMULTI_SEMANTICS) diff --git a/src/knownid.h b/src/knownid.h index 7757ae0..4b8bee7 100644 --- a/src/knownid.h
@@ -27,7 +48,7 @@ index 55c8677..3356ff8 100644 } /* we allow changes to/from noarch */ -+#ifdef POKY_SEMANTICS ++#ifdef OE_CORE_SEMANTICS + if (a1 == a2 || + a1 == ARCH_NOARCH || a2 == ARCH_NOARCH || + a1 == ARCH_ANY || a2 == ARCH_ANY ||
@@ -86,7 +107,7 @@ index 34a14a3..2d7cd70 100644 - 0 -}; +/* Provide the const char *archpolicies structure */ -+#include "poky-arch.h" ++#include "core-arch.h" void pool_setarch(Pool *pool, const char *arch)
@@ -97,7 +118,7 @@ index 34a14a3..2d7cd70 100644 -#ifndef DEBIAN_SEMANTICS - id = ARCH_NOARCH; -#else -+#if defined(DEBIAN_SEMANTICS) || defined(POKY_SEMANTICS) ++#if defined(DEBIAN_SEMANTICS) || defined(OE_CORE_SEMANTICS) id = ARCH_ALL; +#else + id = ARCH_NOARCH;
meta/recipes-extended/sat-solver/sat-solver_git.bb +8 -8
@@ -7,19 +7,19 @@ LIC_FILES_CHKSUM = "file://LICENSE.BSD;md5=62272bd11c97396d4aaf1c41bc11f7d8" DEPENDS = "libcheck rpm zlib expat db" PV = "0.0-git${SRCPV}" -PR = "r8" +PR = "r9" SRC_URI = "git://gitorious.org/opensuse/sat-solver.git;protocol=git \ file://sat-solver_rpm5.patch \ file://sat-solver_obsolete.patch \ file://cmake.patch \ file://db5.patch \ - file://sat-solver_poky.patch \ + file://sat-solver_core.patch \ " S = "${WORKDIR}/git" -EXTRA_OECMAKE += "-DLIB=lib -DRPM5=RPM5" +EXTRA_OECMAKE += "-DLIB=lib -DRPM5=RPM5 -DOE_CORE=OE_CORE" inherit cmake pkgconfig
@@ -38,18 +38,18 @@ do_archgen () { INSTALL_PLATFORM_ARCHS="$each_arch $INSTALL_PLATFORM_ARCHS" done - echo "/* Automatically generated by the sat-solver recipe */" > src/poky-arch.h - echo "const char *archpolicies[] = {" >> src/poky-arch.h + echo "/* Automatically generated by the sat-solver recipe */" > src/core-arch.h + echo "const char *archpolicies[] = {" >> src/core-arch.h set -- $INSTALL_PLATFORM_ARCHS save_IFS=$IFS IFS=: - while [ $# -gt 0 ]; do echo " \"$1\", "\""$*"\", >> src/poky-arch.h ; shift; done + while [ $# -gt 0 ]; do echo " \"$1\", "\""$*"\", >> src/core-arch.h ; shift; done IFS=$save_IFS - echo " 0" >> src/poky-arch.h - echo "};" >> src/poky-arch.h + echo " 0" >> src/core-arch.h + echo "};" >> src/core-arch.h } addtask archgen before do_configure after do_patch
Signature · 1 line
1.7.1.1
PATCH 6/52 web: update svn to 131 to fix build issue
In reply to Saul WoldFrom: Saul Wold <[email protected]>
Fixes [YOCTO #974]
--- .../conf/distro/include/poky-default-revisions.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/conf/distro/include/poky-default-revisions.inc +1 -1
@@ -182,7 +182,7 @@ SRCREV_pn-u-boot ??= "v2010.12" SRCREV_pn-ubootchart ??= "10" SRCREV_pn-webkit-gtk ??= "72836" SRCREV_pn-web-webkit ??= "130" -SRCREV_pn-web ??= "129" +SRCREV_pn-web ??= "131" SRCREV_pn-xcb-proto ??= "d81ca233e98be8fa59e8c90d262c0516944c5a66" SRCREV_pn-xcb-proto-native ??= "d81ca233e98be8fa59e8c90d262c0516944c5a66" SRCREV_pn-xf86-video-intel ??= "87ea531c5dc5b39809395b277c330854aaaaf019"
Signature · 1 line
1.7.1.1
PATCH 7/52 tar-1.17 (GPLv2) bugfix
In reply to Saul WoldFrom: Nitin A Kamble <[email protected]>
This fixes bug [YOCTO #982]
--- .../tar/tar-1.17/avoid_heap_overflow.patch | 22 ++++++++++++++++++++ meta/recipes-extended/tar/tar_1.17.bb | 3 +- 2 files changed, 24 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-extended/tar/tar-1.17/avoid_heap_overflow.patch
meta/recipes-extended/tar/tar-1.17/avoid_heap_overflow.patch new file +22 -0
@@ -0,0 +1,22 @@ +Upstream-Status="Inappropriate [bugfix: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-0624]" + +This patch avoids heap overflow reported by : +http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-0624 + +This is a clean patch for the GPLv2 tar recipe. + +Nitin A Kamble <[email protected]> 2011/04/25 + +Index: tar-1.17/lib/rtapelib.c +=================================================================== +--- tar-1.17.orig/lib/rtapelib.c ++++ tar-1.17/lib/rtapelib.c +@@ -570,7 +570,7 @@ rmt_read__ (int handle, char *buffer, si + + sprintf (command_buffer, "R%lu\n", (unsigned long) length); + if (do_command (handle, command_buffer) == -1 +- || (status = get_status (handle)) == SAFE_READ_ERROR) ++ || ((status = get_status (handle)) == SAFE_READ_ERROR) || (status > length)) + return SAFE_READ_ERROR; + + for (counter = 0; counter < status; counter += rlen, buffer += rlen)
meta/recipes-extended/tar/tar_1.17.bb +2 -1
@@ -3,10 +3,11 @@ require tar.inc LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" -PR = "r0" +PR = "r1" SRC_URI += "file://m4extensions.patch \ file://gcc43build.patch \ + file://avoid_heap_overflow.patch \ " SRC_URI[md5sum] = "c6c4f1c075dbf0f75c29737faa58f290"
Signature · 1 line
1.7.1.1
PATCH 8/52 cpio-2.8 (GPLv2) bug fix
In reply to Saul WoldFrom: Nitin A Kamble <[email protected]>
This fixes bug [YOCTO #982]
--- .../cpio/cpio-2.8/avoid_heap_overflow.patch | 25 ++++++++++++++++++++ meta/recipes-extended/cpio/cpio_2.8.bb | 6 +++- 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-extended/cpio/cpio-2.8/avoid_heap_overflow.patch
meta/recipes-extended/cpio/cpio-2.8/avoid_heap_overflow.patch new file +25 -0
@@ -0,0 +1,25 @@ +Upstream-Status="Inappropriate [bugfix: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-0624]" + +This patch avoids heap overflow reported by : +http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-0624 + +This is a clean patch for the GPLv2 tar recipe. + +the GPLv2 tar recipe patch is also applicable to this GPLv2 cpio +recipe, as they share code. + +Nitin A Kamble <[email protected]> 2011/04/25 + +Index: tar-1.17/lib/rtapelib.c +=================================================================== +--- tar-1.17.orig/lib/rtapelib.c ++++ tar-1.17/lib/rtapelib.c +@@ -570,7 +570,7 @@ rmt_read__ (int handle, char *buffer, si + + sprintf (command_buffer, "R%lu\n", (unsigned long) length); + if (do_command (handle, command_buffer) == -1 +- || (status = get_status (handle)) == SAFE_READ_ERROR) ++ || ((status = get_status (handle)) == SAFE_READ_ERROR) || (status > length)) + return SAFE_READ_ERROR; + + for (counter = 0; counter < status; counter += rlen, buffer += rlen)
meta/recipes-extended/cpio/cpio_2.8.bb +4 -2
@@ -3,9 +3,11 @@ require cpio_v2.inc LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b7f772ea3a2489231cb4872656cac34b" -PR = "r0" +PR = "r1" -SRC_URI += "file://m4extensions.patch" +SRC_URI += "file://m4extensions.patch \ + file://avoid_heap_overflow.patch \ + " SRC_URI[md5sum] = "0caa356e69e149fb49b76bacc64615a1" SRC_URI[sha256sum] = "1b203248874c3b5a728b351f06513e5282f73e0170b7f207fbf8c39f28f6b4ad"
Signature · 1 line
1.7.1.1
PATCH 4/52 perl: upgrade from 5.12.2 to 5.12.3
In reply to Saul WoldFrom: Nitin A Kamble <[email protected]>
And changed the perl tarball URL to more stable cpan location.
---
.../09_fix_installperl.patch | 6 +-
.../Configure-multilib.patch | 6 +-
.../{perl-5.12.2 => perl-5.12.3}/Makefile.SH.patch | 44 ++++++------
.../{perl-5.12.2 => perl-5.12.3}/Makefile.patch | 6 +-
.../asm-pageh-fix.patch | 6 +-
.../perl/{perl-5.12.2 => perl-5.12.3}/config.sh | 46 ++++++------
.../perl/{perl-5.12.2 => perl-5.12.3}/config.sh-32 | 0
.../{perl-5.12.2 => perl-5.12.3}/config.sh-32-be | 0
.../{perl-5.12.2 => perl-5.12.3}/config.sh-32-le | 0
.../perl/{perl-5.12.2 => perl-5.12.3}/config.sh-64 | 0
.../{perl-5.12.2 => perl-5.12.3}/config.sh-64-be | 0
.../{perl-5.12.2 => perl-5.12.3}/config.sh-64-le | 0
.../cross-generate_uudmap.patch | 0
.../debian/arm_optim.diff | 2 +-
.../debian/arm_thread_stress_timeout.diff | 2 +-
.../debian/cpan_config_path.diff | 2 +-
.../debian/cpan_definstalldirs.diff | 2 +-
.../debian/cpanplus_config_path.diff | 2 +-
.../debian/cpanplus_definstalldirs.diff | 2 +-
.../debian/db_file_ver.diff | 2 +-
.../debian/deprecate-with-apt.diff | 2 +-
.../debian/devel-ppport-ia64-optim.diff | 2 +-
.../debian/disable-zlib-bundling.diff | 2 +-
.../debian/doc_info.diff | 6 +-
.../debian/enc2xs_inc.diff | 9 +-
.../debian/errno_ver.diff | 2 +-
.../debian/extutils_hacks.diff | 2 +-
.../debian/fakeroot.diff | 4 +-
.../debian/fixes/autodie-flock.diff | 2 +-
.../debian/fixes/concat-stack-corruption.diff | 4 +-
.../debian/fixes/cpanplus-without-home.diff | 2 +-
.../debian/fixes/h2ph-gcc-4.5.diff | 2 +-
.../debian/fixes/hurd-ccflags.diff | 2 +-
.../debian/fixes/lc-numeric-docs.diff | 2 +-
.../debian/fixes/lc-numeric-sprintf.diff | 2 +-
.../debian/fixes/net_smtp_docs.diff | 2 +-
.../debian/fixes/processPL.diff | 2 +-
.../debian/instmodsh_doc.diff | 2 +-
.../debian/ld_run_path.diff | 2 +-
.../debian/libnet_config_path.diff | 2 +-
.../debian/m68k_thread_stress.diff | 2 +-
.../debian/mod_paths.diff | 2 +-
.../debian/module_build_man_extensions.diff | 2 +-
.../perl/perl-5.12.3/debian/patchlevel | 45 +++++++++++
.../debian/perlivp.diff | 2 +-
.../debian/prune_libs.diff | 2 +-
.../perl/perl-5.12.3/debian/series | 34 +++++++++
.../debian/squelch-locale-warnings.diff | 2 +-
.../{perl-5.12.2 => perl-5.12.3}/generate-sh.patch | 0
.../{perl-5.12.2 => perl-5.12.3}/installperl.patch | 6 +-
.../letgcc-find-errno.patch | 6 +-
.../native-nopacklist.patch | 6 +-
.../native-perlinc.patch | 4 +-
.../{perl-5.12.2 => perl-5.12.3}/native-ssp.patch | 0
.../parallel_build_fix_1.patch | 0
.../parallel_build_fix_2.patch | 0
.../parallel_build_fix_3.patch | 0
.../parallel_build_fix_4.patch | 0
.../parallel_build_fix_5.patch | 52 +++++++-------
.../parallel_build_fix_6.patch | 36 +++++-----
.../perl-configpm-switch.patch | 0
.../{perl-5.12.2 => perl-5.12.3}/perl-configure.sh | 2 +-
.../perl-dynloader.patch | 4 +-
.../perl-enable-gdbm.patch | 0
.../perl-moreconfig.patch | 0
...perl-native_5.12.2.bb => perl-native_5.12.3.bb} | 8 +-
...depends_5.12.2.inc => perl-rdepends_5.12.3.inc} | 0
...ovides_5.12.2.inc => perl-rprovides_5.12.3.inc} | 0
.../perl/{perl_5.12.2.bb => perl_5.12.3.bb} | 79 ++++++++++----------
69 files changed, 280 insertions(+), 197 deletions(-)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/09_fix_installperl.patch (87%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/Configure-multilib.patch (89%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/Makefile.SH.patch (89%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/Makefile.patch (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/asm-pageh-fix.patch (77%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/config.sh (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/config.sh-32 (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/config.sh-32-be (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/config.sh-32-le (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/config.sh-64 (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/config.sh-64-be (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/config.sh-64-le (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/cross-generate_uudmap.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/arm_optim.diff (92%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/arm_thread_stress_timeout.diff (90%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/cpan_config_path.diff (92%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/cpan_definstalldirs.diff (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/cpanplus_config_path.diff (96%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/cpanplus_definstalldirs.diff (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/db_file_ver.diff (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/deprecate-with-apt.diff (97%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/devel-ppport-ia64-optim.diff (93%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/disable-zlib-bundling.diff (92%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/doc_info.diff (88%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/enc2xs_inc.diff (82%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/errno_ver.diff (94%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/extutils_hacks.diff (99%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fakeroot.diff (93%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/autodie-flock.diff (98%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/concat-stack-corruption.diff (91%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/cpanplus-without-home.diff (94%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/h2ph-gcc-4.5.diff (98%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/hurd-ccflags.diff (92%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/lc-numeric-docs.diff (98%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/lc-numeric-sprintf.diff (93%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/net_smtp_docs.diff (91%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/fixes/processPL.diff (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/instmodsh_doc.diff (93%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/ld_run_path.diff (93%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/libnet_config_path.diff (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/m68k_thread_stress.diff (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/mod_paths.diff (97%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/module_build_man_extensions.diff (96%)
create mode 100644 meta/recipes-devtools/perl/perl-5.12.3/debian/patchlevel
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/perlivp.diff (96%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/prune_libs.diff (96%)
create mode 100644 meta/recipes-devtools/perl/perl-5.12.3/debian/series
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/debian/squelch-locale-warnings.diff (96%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/generate-sh.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/installperl.patch (81%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/letgcc-find-errno.patch (92%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/native-nopacklist.patch (94%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/native-perlinc.patch (88%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/native-ssp.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/parallel_build_fix_1.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/parallel_build_fix_2.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/parallel_build_fix_3.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/parallel_build_fix_4.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/parallel_build_fix_5.patch (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/parallel_build_fix_6.patch (89%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/perl-configpm-switch.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/perl-configure.sh (95%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/perl-dynloader.patch (90%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/perl-enable-gdbm.patch (100%)
rename meta/recipes-devtools/perl/{perl-5.12.2 => perl-5.12.3}/perl-moreconfig.patch (100%)
rename meta/recipes-devtools/perl/{perl-native_5.12.2.bb => perl-native_5.12.3.bb} (94%)
rename meta/recipes-devtools/perl/{perl-rdepends_5.12.2.inc => perl-rdepends_5.12.3.inc} (100%)
rename meta/recipes-devtools/perl/{perl-rprovides_5.12.2.inc => perl-rprovides_5.12.3.inc} (100%)
rename meta/recipes-devtools/perl/{perl_5.12.2.bb => perl_5.12.3.bb} (85%)meta/recipes-devtools/perl/perl-5.12.3/09_fix_installperl.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/09_fix_installperl.patch +3 -3
@@ -6,10 +6,10 @@ are under lib. Ensure that POSIX/SigAction is kept with the rest of the POSIX module under archlib. -Index: perl-5.12.2/installperl +Index: perl-5.12.3/installperl =================================================================== ---- perl-5.12.2.orig/installperl -+++ perl-5.12.2/installperl +--- perl-5.12.3.orig/installperl ++++ perl-5.12.3/installperl @@ -750,7 +750,7 @@ sub installlib { }
meta/recipes-devtools/perl/perl-5.12.3/Configure-multilib.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/Configure-multilib.patch +3 -3
@@ -1,9 +1,9 @@ Upstream-Status:Pending -Index: perl-5.12.2/Configure +Index: perl-5.12.3/Configure =================================================================== ---- perl-5.12.2.orig/Configure -+++ perl-5.12.2/Configure +--- perl-5.12.3.orig/Configure ++++ perl-5.12.3/Configure @@ -1316,8 +1316,9 @@ loclibpth="/usr/local/lib /opt/local/lib loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
meta/recipes-devtools/perl/perl-5.12.3/Makefile.SH.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/Makefile.SH.patch +22 -22
151 lines not on this page · raw message
meta/recipes-devtools/perl/perl-5.12.3/Makefile.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/Makefile.patch +3 -3
@@ -1,9 +1,9 @@ Upstream-Status:Inappropriate [embedded specific] -Index: perl-5.12.2/Cross/Makefile +Index: perl-5.12.3/Cross/Makefile =================================================================== ---- perl-5.12.2.orig/Cross/Makefile -+++ perl-5.12.2/Cross/Makefile +--- perl-5.12.3.orig/Cross/Makefile ++++ perl-5.12.3/Cross/Makefile @@ -2,7 +2,8 @@ # ## $Id: Makefile,v 1.5 2003/12/12 00:48:19 red Exp red $
meta/recipes-devtools/perl/perl-5.12.3/asm-pageh-fix.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/asm-pageh-fix.patch +3 -3
@@ -5,10 +5,10 @@ has been definied in unistd.h since glibc 2.1. Some recent version of linux libc headers removed the asm/page.h resulting in failures here for some people. -Index: perl-5.12.2/cpan/IPC-SysV/SysV.xs +Index: perl-5.12.3/cpan/IPC-SysV/SysV.xs =================================================================== ---- perl-5.12.2.orig/cpan/IPC-SysV/SysV.xs 2001-07-01 04:46:07.000000000 +1000 -+++ perl-5.12.2/cpan/IPC-SysV/SysV.xs 2001-07-01 04:46:07.000000000 +1000 +--- perl-5.12.3.orig/cpan/IPC-SysV/SysV.xs 2001-07-01 04:46:07.000000000 +1000 ++++ perl-5.12.3/cpan/IPC-SysV/SysV.xs 2001-07-01 04:46:07.000000000 +1000 @@ -3,9 +3,6 @@ #include "XSUB.h"
meta/recipes-devtools/perl/perl-5.12.3/config.sh renamed from meta/recipes-devtools/perl/perl-5.12.2/config.sh +23 -23
138 lines not on this page · raw message
meta/recipes-devtools/perl/perl-5.12.3/config.sh-32 renamed from meta/recipes-devtools/perl/perl-5.12.2/config.sh-32 +0 -0
meta/recipes-devtools/perl/perl-5.12.3/config.sh-32-be renamed from meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-be +0 -0
meta/recipes-devtools/perl/perl-5.12.3/config.sh-32-le renamed from meta/recipes-devtools/perl/perl-5.12.2/config.sh-32-le +0 -0
meta/recipes-devtools/perl/perl-5.12.3/config.sh-64 renamed from meta/recipes-devtools/perl/perl-5.12.2/config.sh-64 +0 -0
meta/recipes-devtools/perl/perl-5.12.3/config.sh-64-be renamed from meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-be +0 -0
meta/recipes-devtools/perl/perl-5.12.3/config.sh-64-le renamed from meta/recipes-devtools/perl/perl-5.12.2/config.sh-64-le +0 -0
meta/recipes-devtools/perl/perl-5.12.3/cross-generate_uudmap.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/cross-generate_uudmap.patch +0 -0
meta/recipes-devtools/perl/perl-5.12.3/debian/arm_optim.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/arm_optim.diff +1 -1
@@ -31,4 +31,4 @@ index a5d71b9..6914ba6 100755 toke) ;; universal) ;; -- -tg: (c823880..) debian/arm_optim (depends on: upstream) +tg: (a508b62..) debian/arm_optim (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/arm_thread_stress_timeout.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/arm_thread_stress_timeout.diff +1 -1
@@ -22,4 +22,4 @@ index adfd1ed..652a3e6 100755 my $mutex = 1; share($mutex); -- -tg: (c823880..) debian/arm_thread_stress_timeout (depends on: upstream) +tg: (a508b62..) debian/arm_thread_stress_timeout (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/cpan_config_path.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_config_path.diff +1 -1
@@ -21,4 +21,4 @@ index 76cd81e..65a3b27 100644 my($configpmtest) = File::Spec->catfile($configpmdir,"Config.pm"); my $inc_key; -- -tg: (c823880..) debian/cpan_config_path (depends on: upstream) +tg: (a508b62..) debian/cpan_config_path (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/cpan_definstalldirs.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/cpan_definstalldirs.diff +1 -1
@@ -34,4 +34,4 @@ index 53ffbf1..53976ff 100644 if (exists $CPAN::HandleConfig::keys{mbuild_install_build_command} -- -tg: (c823880..) debian/cpan_definstalldirs (depends on: upstream) +tg: (a508b62..) debian/cpan_definstalldirs (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/cpanplus_config_path.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_config_path.diff +1 -1
@@ -42,4 +42,4 @@ index 1a38200..6ee0d82 100644 require File::Basename; my $dir = File::Basename::dirname( -- -tg: (c823880..) debian/cpanplus_config_path (depends on: upstream) +tg: (a508b62..) debian/cpanplus_config_path (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/cpanplus_definstalldirs.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/cpanplus_definstalldirs.diff +1 -1
@@ -51,4 +51,4 @@ index 0000000..5e6e11e + +1; -- -tg: (c823880..) debian/cpanplus_definstalldirs (depends on: upstream) +tg: (a508b62..) debian/cpanplus_definstalldirs (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/db_file_ver.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/db_file_ver.diff +1 -1
@@ -31,4 +31,4 @@ index 47158d3..67ccdff 100644 /* check that libdb is recent enough -- we need 2.3.4 or greater */ if (Major == 2 && (Minor < 3 || (Minor == 3 && Patch < 4))) -- -tg: (c823880..) debian/db_file_ver (depends on: upstream) +tg: (a508b62..) debian/db_file_ver (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/deprecate-with-apt.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/deprecate-with-apt.diff +1 -1
@@ -58,4 +58,4 @@ index 7b92e0b..9db7330 100644 return; } -- -tg: (c823880..) debian/deprecate-with-apt (depends on: upstream) +tg: (a508b62..) debian/deprecate-with-apt (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/devel-ppport-ia64-optim.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/devel-ppport-ia64-optim.diff +1 -1
@@ -31,4 +31,4 @@ index 67eebc1..f1ef7a2 100644 $PL_FILES{'apicheck_c.PL'} = 'apicheck.c'; push @C_FILES, qw{ apicheck.c }; -- -tg: (c823880..) debian/devel-ppport-ia64-optim (depends on: upstream) +tg: (a508b62..) debian/devel-ppport-ia64-optim (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/disable-zlib-bundling.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/disable-zlib-bundling.diff +1 -1
@@ -28,4 +28,4 @@ index c56cc03..2c6659b 100644 OLD_ZLIB = False GZIP_OS_CODE = AUTO_DETECT -- -tg: (c823880..) debian/disable-zlib-bundling (depends on: upstream) +tg: (a508b62..) debian/disable-zlib-bundling (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/doc_info.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/doc_info.diff +3 -3
@@ -10,10 +10,10 @@ Indicate that the user needs to install the perl-doc package. 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/pod/perl.pod b/pod/perl.pod -index e48e526..3b0bbf6 100644 +index e67f062..3b8ae83 100644 --- a/pod/perl.pod +++ b/pod/perl.pod -@@ -241,8 +241,16 @@ For ease of access, the Perl manual has been split up into several sections. +@@ -242,8 +242,16 @@ For ease of access, the Perl manual has been split up into several sections. perlwin32 Perl notes for Windows
@@ -33,4 +33,4 @@ index e48e526..3b0bbf6 100644 In general, if something strange has gone wrong with your program and you're not sure where you should look for help, try the B<-w> switch first. It will -- -tg: (c823880..) debian/doc_info (depends on: upstream) +tg: (a508b62..) debian/doc_info (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/enc2xs_inc.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/enc2xs_inc.diff +5 -4
@@ -5,14 +5,15 @@ Bug-Debian: http://bugs.debian.org/290336 - ignore missing directories, - follow symlinks (/usr/share/perl/5.8 -> 5.8.4). - +- filter "." out when running "enc2xs -C", it's unnecessary and causes + issues with follow => 1 (see #603686 and [rt.cpan.org #64585]) --- cpan/Encode/bin/enc2xs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpan/Encode/bin/enc2xs b/cpan/Encode/bin/enc2xs -index 773c0a0..049ecf9 100644 +index 773c0a0..bc1ae1b 100644 --- a/cpan/Encode/bin/enc2xs +++ b/cpan/Encode/bin/enc2xs @@ -924,11 +924,11 @@ use vars qw(
@@ -43,9 +44,9 @@ index 773c0a0..049ecf9 100644 } }; - File::Find::find({wanted => $wanted}, @INC); -+ File::Find::find({wanted => $wanted, follow => 1}, grep -d, @INC); ++ File::Find::find({wanted => $wanted, follow => 1}, grep -d && !/^\./, @INC); $_ModLines = ""; for my $enc ( sort keys %LocalMod ) { $_ModLines .= -- -tg: (c823880..) debian/enc2xs_inc (depends on: upstream) +tg: (a508b62..) debian/enc2xs_inc (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/errno_ver.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/errno_ver.diff +1 -1
@@ -31,4 +31,4 @@ index 124b8fc..b554cd4 100644 \$VERSION = eval \$VERSION; \@ISA = qw(Exporter); -- -tg: (c823880..) debian/errno_ver (depends on: upstream) +tg: (a508b62..) debian/errno_ver (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/extutils_hacks.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/extutils_hacks.diff +1 -1
@@ -312,4 +312,4 @@ index 24ae909..12d421d 100644 ExtUtils::Embed exports the following functions: -- -tg: (c823880..) debian/extutils_hacks (depends on: upstream) +tg: (a508b62..) debian/extutils_hacks (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/fakeroot.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/fakeroot.diff +2 -2
@@ -15,7 +15,7 @@ rule where the Makefile is created, but is for the clean/binary* targets. 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Makefile.SH b/Makefile.SH -index c039938..15184d8 100755 +index fc13b2b..d420229 100755 --- a/Makefile.SH +++ b/Makefile.SH @@ -50,12 +50,7 @@ case "$useshrplib" in
@@ -42,4 +42,4 @@ index c039938..15184d8 100755 case "$osname" in os2) -- -tg: (c823880..) debian/fakeroot (depends on: upstream) +tg: (a508b62..) debian/fakeroot (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/autodie-flock.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/autodie-flock.diff +1 -1
@@ -97,4 +97,4 @@ index a7550ba..6421a56 100755 is($@, "", "Non-blocking flock should not fail on EWOULDBLOCK"); -- -tg: (c823880..) fixes/autodie-flock (depends on: upstream) +tg: (a508b62..) fixes/autodie-flock (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/concat-stack-corruption.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/concat-stack-corruption.diff +2 -2
@@ -15,7 +15,7 @@ and the like. 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/pp_hot.c b/pp_hot.c -index 3371e88..e9cccf3 100644 +index ee699ef..c5ed14e 100644 --- a/pp_hot.c +++ b/pp_hot.c @@ -271,6 +271,8 @@ PP(pp_concat)
@@ -36,4 +36,4 @@ index 3371e88..e9cccf3 100644 sv_catpvn_nomg(TARG, rpv, rlen); -- -tg: (c823880..) fixes/concat-stack-corruption (depends on: upstream) +tg: (a508b62..) fixes/concat-stack-corruption (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/cpanplus-without-home.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/cpanplus-without-home.diff +1 -1
@@ -29,4 +29,4 @@ index 27d2abc..8475c36 100644 use Params::Check qw[check]; use Module::Load::Conditional qw[can_load]; -- -tg: (c823880..) fixes/cpanplus-without-home (depends on: upstream) +tg: (a508b62..) fixes/cpanplus-without-home (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/h2ph-gcc-4.5.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/h2ph-gcc-4.5.diff +1 -1
@@ -105,4 +105,4 @@ index 8f56db4..1255807 100644 print PREAMBLE "unless (defined &$_) { sub $_() { \"", -- -tg: (c823880..) fixes/h2ph-gcc-4.5 (depends on: upstream) +tg: (a508b62..) fixes/h2ph-gcc-4.5 (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/hurd-ccflags.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/hurd-ccflags.diff +1 -1
@@ -25,4 +25,4 @@ index 2cfce54..c1ba2db 100644 # The following routines are only available as stubs in GNU libc. # XXX remove this once metaconf detects the GNU libc stubs. -- -tg: (c823880..) fixes/hurd-ccflags (depends on: upstream) +tg: (a508b62..) fixes/hurd-ccflags (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/lc-numeric-docs.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-docs.diff +1 -1
@@ -94,4 +94,4 @@ index 0dbabe7..0bec423 100644 =head2 Freely available locale definitions -- -tg: (c823880..) fixes/lc-numeric-docs (depends on: upstream) +tg: (a508b62..) fixes/lc-numeric-docs (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/lc-numeric-sprintf.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/lc-numeric-sprintf.diff +1 -1
@@ -28,4 +28,4 @@ index e94f158..3c6badb 100644 if (PL_hints & HINT_LOCALE) goto nope; -- -tg: (c823880..) fixes/lc-numeric-sprintf (depends on: upstream) +tg: (a508b62..) fixes/lc-numeric-sprintf (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/net_smtp_docs.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/net_smtp_docs.diff +1 -1
@@ -22,4 +22,4 @@ index a28496d..07b2498 100644 Example: -- -tg: (c823880..) fixes/net_smtp_docs (depends on: upstream) +tg: (a508b62..) fixes/net_smtp_docs (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/fixes/processPL.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/fixes/processPL.diff +1 -1
@@ -42,4 +42,4 @@ index 239d6df..294d266 100644 } -- -tg: (c823880..) fixes/processPL (depends on: upstream) +tg: (a508b62..) fixes/processPL (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/instmodsh_doc.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/instmodsh_doc.diff +1 -1
@@ -25,4 +25,4 @@ index 5874aa6..6a2f03e 100644 ExtUtils::Installed -- -tg: (c823880..) debian/instmodsh_doc (depends on: upstream) +tg: (a508b62..) debian/instmodsh_doc (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/ld_run_path.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/ld_run_path.diff +1 -1
@@ -22,4 +22,4 @@ index b807e97..6c955d7 100644 # Handle possible linker path arguments. -- -tg: (c823880..) debian/ld_run_path (depends on: upstream) +tg: (a508b62..) debian/ld_run_path (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/libnet_config_path.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/libnet_config_path.diff +1 -1
@@ -34,4 +34,4 @@ index db51c1f..8404593 100644 should return a reference to a HASH containing the keys described below. For example -- -tg: (c823880..) debian/libnet_config_path (depends on: upstream) +tg: (a508b62..) debian/libnet_config_path (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/m68k_thread_stress.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/m68k_thread_stress.diff +1 -1
@@ -42,4 +42,4 @@ index e3a1086..633374e 100755 use ExtUtils::testlib; -- -tg: (c823880..) debian/m68k_thread_stress (depends on: upstream) +tg: (a508b62..) debian/m68k_thread_stress (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/mod_paths.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/mod_paths.diff +1 -1
@@ -97,4 +97,4 @@ index 05cea40..023d6a0 100644 S_incpush_use_sep(aTHX_ STR_WITH_LEN(PERL_OTHERLIBDIRS), INCPUSH_ADD_OLD_VERS|INCPUSH_ADD_ARCHONLY_SUB_DIRS -- -tg: (c823880..) debian/mod_paths (depends on: upstream) +tg: (a508b62..) debian/mod_paths (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/module_build_man_extensions.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/module_build_man_extensions.diff +1 -1
@@ -30,4 +30,4 @@ index 5bd8ec7..b4e606a 100644 $self->config( 'man3ext' ); my $outfile = File::Spec->catfile( $mandir, $manpage); -- -tg: (c823880..) debian/module_build_man_extensions (depends on: upstream) +tg: (a508b62..) debian/module_build_man_extensions (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/patchlevel new file +45 -0
45 lines not on this page · raw message
meta/recipes-devtools/perl/perl-5.12.3/debian/perlivp.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/perlivp.diff +1 -1
@@ -37,4 +37,4 @@ index 9783261..156146f 100644 next if $_ eq ':'; # skip -d test here next if $_ eq 'Dev:Pseudo:'; # why is this in @INC? -- -tg: (c823880..) debian/perlivp (depends on: upstream) +tg: (a508b62..) debian/perlivp (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/prune_libs.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/prune_libs.diff +1 -1
@@ -35,4 +35,4 @@ index 3a8732b..6013c86 100755 perllibs="$*" ;; -- -tg: (c823880..) debian/prune_libs (depends on: upstream) +tg: (a508b62..) debian/prune_libs (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/debian/series new file +34 -0
@@ -0,0 +1,34 @@ +debian/arm_thread_stress_timeout.diff -p1 +debian/cpan_config_path.diff -p1 +debian/cpan_definstalldirs.diff -p1 +debian/db_file_ver.diff -p1 +debian/doc_info.diff -p1 +debian/enc2xs_inc.diff -p1 +debian/errno_ver.diff -p1 +debian/extutils_hacks.diff -p1 +debian/fakeroot.diff -p1 +debian/instmodsh_doc.diff -p1 +debian/ld_run_path.diff -p1 +debian/libnet_config_path.diff -p1 +debian/m68k_thread_stress.diff -p1 +debian/mod_paths.diff -p1 +debian/module_build_man_extensions.diff -p1 +debian/prune_libs.diff -p1 +fixes/net_smtp_docs.diff -p1 +fixes/processPL.diff -p1 +debian/perlivp.diff -p1 +debian/disable-zlib-bundling.diff -p1 +debian/cpanplus_definstalldirs.diff -p1 +debian/cpanplus_config_path.diff -p1 +fixes/autodie-flock.diff -p1 +debian/devel-ppport-ia64-optim.diff -p1 +fixes/cpanplus-without-home.diff -p1 +debian/arm_optim.diff -p1 +debian/deprecate-with-apt.diff -p1 +fixes/hurd-ccflags.diff -p1 +debian/squelch-locale-warnings.diff -p1 +fixes/lc-numeric-docs.diff -p1 +fixes/lc-numeric-sprintf.diff -p1 +fixes/concat-stack-corruption.diff -p1 +fixes/h2ph-gcc-4.5.diff -p1 +patchlevel -p1
meta/recipes-devtools/perl/perl-5.12.3/debian/squelch-locale-warnings.diff renamed from meta/recipes-devtools/perl/perl-5.12.2/debian/squelch-locale-warnings.diff +1 -1
@@ -52,4 +52,4 @@ index 0dbabe7..60b7bab 100644 The following environment variables are not specific to Perl: They are -- -tg: (c823880..) debian/squelch-locale-warnings (depends on: upstream) +tg: (a508b62..) debian/squelch-locale-warnings (depends on: upstream)
meta/recipes-devtools/perl/perl-5.12.3/generate-sh.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/generate-sh.patch +0 -0
meta/recipes-devtools/perl/perl-5.12.3/installperl.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/installperl.patch +3 -3
@@ -1,9 +1,9 @@ Upstream-Status:Inappropriate [embedded specific] -Index: perl-5.12.2/installperl +Index: perl-5.12.3/installperl =================================================================== ---- perl-5.12.2.orig/installperl -+++ perl-5.12.2/installperl +--- perl-5.12.3.orig/installperl ++++ perl-5.12.3/installperl @@ -3,8 +3,8 @@ BEGIN { require 5.004;
meta/recipes-devtools/perl/perl-5.12.3/letgcc-find-errno.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/letgcc-find-errno.patch +3 -3
@@ -10,10 +10,10 @@ external toolchain since perl will search in ${STAGING_INCDIR} for errno.h (when using gcc) and that isn't where it's located - its wherever the external toolchain keeps it's headers. -Index: perl-5.12.2/ext/Errno/Errno_pm.PL +Index: perl-5.12.3/ext/Errno/Errno_pm.PL =================================================================== ---- perl-5.12.2.orig/ext/Errno/Errno_pm.PL -+++ perl-5.12.2/ext/Errno/Errno_pm.PL +--- perl-5.12.3.orig/ext/Errno/Errno_pm.PL ++++ perl-5.12.3/ext/Errno/Errno_pm.PL @@ -17,8 +17,18 @@ unlink "Errno.tmp" if -f "Errno.tmp"; open OUT, ">Errno.tmp" or die "Cannot open Errno.tmp: $!"; select OUT;
meta/recipes-devtools/perl/perl-5.12.3/native-nopacklist.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/native-nopacklist.patch +3 -3
@@ -2,10 +2,10 @@ Upstream-Status:Inappropriate [debian patch] Part of 52_debian_extutils_hacks.patch just to exclude the installation of .packlist files -Index: perl-5.12.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm +Index: perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm =================================================================== ---- perl-5.12.2.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm -+++ perl-5.12.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm +--- perl-5.12.3.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm ++++ perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm @@ -2047,8 +2047,6 @@ doc__install : doc_site_install pure_perl_install :: all
meta/recipes-devtools/perl/perl-5.12.3/native-perlinc.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/native-perlinc.patch +2 -2
@@ -2,8 +2,8 @@ Upstream-Status:Inappropriate [embedded specific] Index: perl-5.8.8/lib/ExtUtils/MM_Unix.pm =================================================================== ---- perl-5.12.2.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000 -+++ perl-5.12.2/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000 +--- perl-5.12.3.orig/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000 ++++ perl-5.12.3/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm 2008-10-31 22:01:35.000000000 +0000 @@ -1597,6 +1597,19 @@ $self->{PERL_LIB} ||= $Config{privlibexp}; $self->{PERL_ARCHLIB} ||= $Config{archlibexp};
meta/recipes-devtools/perl/perl-5.12.3/native-ssp.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/native-ssp.patch +0 -0
meta/recipes-devtools/perl/perl-5.12.3/parallel_build_fix_1.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_1.patch +0 -0
meta/recipes-devtools/perl/perl-5.12.3/parallel_build_fix_2.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_2.patch +0 -0
meta/recipes-devtools/perl/perl-5.12.3/parallel_build_fix_3.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_3.patch +0 -0
meta/recipes-devtools/perl/perl-5.12.3/parallel_build_fix_4.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_4.patch +0 -0
meta/recipes-devtools/perl/perl-5.12.3/parallel_build_fix_5.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_5.patch +26 -26
116 lines not on this page · raw message
meta/recipes-devtools/perl/perl-5.12.3/parallel_build_fix_6.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/parallel_build_fix_6.patch +18 -18
@@ -13,10 +13,10 @@ Date: Mon Feb 14 20:36:36 2011 +0000 simplifies many [Mm]akefile* rules, which previously had a special case to copy it early. -Index: perl-5.12.2/Cross/Makefile-cross-SH +Index: perl-5.12.3/Cross/Makefile-cross-SH =================================================================== ---- perl-5.12.2.orig/Cross/Makefile-cross-SH -+++ perl-5.12.2/Cross/Makefile-cross-SH +--- perl-5.12.3.orig/Cross/Makefile-cross-SH ++++ perl-5.12.3/Cross/Makefile-cross-SH @@ -727,7 +727,7 @@ fi $spitshell >>$Makefile <<'!NO!SUBS!'
@@ -46,10 +46,10 @@ Index: perl-5.12.2/Cross/Makefile-cross-SH - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \ && $(LDLIBPTH) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty -Index: perl-5.12.2/Makefile.SH +Index: perl-5.12.3/Makefile.SH =================================================================== ---- perl-5.12.2.orig/Makefile.SH -+++ perl-5.12.2/Makefile.SH +--- perl-5.12.3.orig/Makefile.SH ++++ perl-5.12.3/Makefile.SH @@ -970,7 +970,7 @@ esac $spitshell >>$Makefile <<'!NO!SUBS!'
@@ -88,10 +88,10 @@ Index: perl-5.12.2/Makefile.SH - cd t && (rm -f $(PERL_EXE); $(LNS) ../$(MINIPERL_EXE) $(PERL_EXE)) \ && $(RUN_PERL) TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t re/*.t op/*.t uni/*.t </dev/tty -Index: perl-5.12.2/vms/descrip_mms.template +Index: perl-5.12.3/vms/descrip_mms.template =================================================================== ---- perl-5.12.2.orig/vms/descrip_mms.template -+++ perl-5.12.2/vms/descrip_mms.template +--- perl-5.12.3.orig/vms/descrip_mms.template ++++ perl-5.12.3/vms/descrip_mms.template @@ -360,7 +360,7 @@ CRTLOPTS =,$(CRTL)/Options unidatadirs = lib/unicore/To lib/unicore/lib
@@ -120,10 +120,10 @@ Index: perl-5.12.2/vms/descrip_mms.template @ PERL_TEST_DRIVER == "minitest" - @[.vms]test.com "$(E)" "$(__DEBUG__)" -Index: perl-5.12.2/win32/Makefile +Index: perl-5.12.3/win32/Makefile =================================================================== ---- perl-5.12.2.orig/win32/Makefile -+++ perl-5.12.2/win32/Makefile +--- perl-5.12.3.orig/win32/Makefile ++++ perl-5.12.3/win32/Makefile @@ -918,7 +918,6 @@ $(CONFIGPM) : $(MINIPERL) ..\config.sh c if exist lib\* $(RCOPY) lib\*.* ..\lib\$(NULL) $(XCOPY) ..\*.h $(COREDIR)\*.*
@@ -132,10 +132,10 @@ Index: perl-5.12.2/win32/Makefile $(RCOPY) include $(COREDIR)\*.* -$(MINIPERL) -I..\lib $(ICWD) config_h.PL "INST_VER=$(INST_VER)" if errorlevel 1 $(MAKE) /$(MAKEFLAGS) $(CONFIGPM) -Index: perl-5.12.2/win32/makefile.mk +Index: perl-5.12.3/win32/makefile.mk =================================================================== ---- perl-5.12.2.orig/win32/makefile.mk -+++ perl-5.12.2/win32/makefile.mk +--- perl-5.12.3.orig/win32/makefile.mk ++++ perl-5.12.3/win32/makefile.mk @@ -1210,7 +1210,6 @@ $(CONFIGPM) : $(MINIPERL) ..\config.sh c if exist lib\* $(RCOPY) lib\*.* ..\lib\$(NULL) $(XCOPY) ..\*.h $(COREDIR)\*.*
@@ -144,10 +144,10 @@ Index: perl-5.12.2/win32/makefile.mk $(RCOPY) include $(COREDIR)\*.* $(MINIPERL) -I..\lib $(ICWD) config_h.PL "INST_VER=$(INST_VER)" \ || $(MAKE) $(MAKEMACROS) $(CONFIGPM) $(MAKEFILE) -Index: perl-5.12.2/write_buildcustomize.pl +Index: perl-5.12.3/write_buildcustomize.pl =================================================================== ---- perl-5.12.2.orig/write_buildcustomize.pl -+++ perl-5.12.2/write_buildcustomize.pl +--- perl-5.12.3.orig/write_buildcustomize.pl ++++ perl-5.12.3/write_buildcustomize.pl @@ -24,6 +24,7 @@ my @toolchain = qw(cpan/AutoLoader/lib cpan/ExtUtils-MakeMaker/lib dist/ExtUtils-Manifest/lib
meta/recipes-devtools/perl/perl-5.12.3/perl-configpm-switch.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/perl-configpm-switch.patch +0 -0
meta/recipes-devtools/perl/perl-5.12.3/perl-configure.sh renamed from meta/recipes-devtools/perl/perl-5.12.2/perl-configure.sh +1 -1
@@ -15,7 +15,7 @@ echo sh Configure -des \ -Dprefix=/usr \ -Dvendorprefix=/usr \ -Dsiteprefix=/usr \ - -Dotherlibdirs=/usr/lib/perl5/5.12.2 \ + -Dotherlibdirs=/usr/lib/perl5/5.12.3 \ -Duseshrplib \ -Dusethreads \ -Duseithreads \
meta/recipes-devtools/perl/perl-5.12.3/perl-dynloader.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/perl-dynloader.patch +2 -2
@@ -7,8 +7,8 @@ system. Update by Nitin A Kamble <[email protected]> 2011/04/21 ---- perl-5.12.2/dist/XSLoader/XSLoader_pm.PL 2007/04/20 09:03:08 1.1 -+++ perl-5.12.2/dist/XSLoader/XSLoader_pm.PL 2007/04/20 09:03:08 +--- perl-5.12.3/dist/XSLoader/XSLoader_pm.PL 2007/04/20 09:03:08 1.1 ++++ perl-5.12.3/dist/XSLoader/XSLoader_pm.PL 2007/04/20 09:03:08 @@ -65,6 +65,19 @@ print OUT <<'EOT'; my $modpname = join('/',@modparts);
meta/recipes-devtools/perl/perl-5.12.3/perl-enable-gdbm.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/perl-enable-gdbm.patch +0 -0
meta/recipes-devtools/perl/perl-5.12.3/perl-moreconfig.patch renamed from meta/recipes-devtools/perl/perl-5.12.2/perl-moreconfig.patch +0 -0
meta/recipes-devtools/perl/perl-native_5.12.3.bb renamed from meta/recipes-devtools/perl/perl-native_5.12.2.bb +4 -4
@@ -4,7 +4,7 @@ SECTION = "libs" LICENSE = "Artistic|GPL" LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8" -PR = "r8" +PR = "r0" LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \ file://Artistic;md5=f921793d03cc6d63ec4b15e9be8fd3f8"
@@ -21,8 +21,8 @@ SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ file://native-nopacklist.patch;patch=1 \ file://native-perlinc.patch;patch=1" -SRC_URI[md5sum] = "af2df531d46b77fdf0d97eecb03eddb2" -SRC_URI[sha256sum] = "cf888340021d5a2d1238bbd9b8b55aaf420a848d46e4d317cb8567f86ceb1022" +SRC_URI[md5sum] = "29975a69dce54e47fcd6331c085c6c99" +SRC_URI[sha256sum] = "5678bfd5c2cd59253a26171bf3e681235433b00c730eea8a8046e1b225c11d2f" S = "${WORKDIR}/perl-${PV}"
@@ -96,7 +96,7 @@ do_install () { install $i ${D}${libdir}/perl/${PV}/CORE done - create_wrapper ${D}${bindir}/perl PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/5.12.2:${STAGING_LIBDIR}/perl/' + create_wrapper ${D}${bindir}/perl PERL5LIB='$PERL5LIB:${STAGING_LIBDIR}/perl/${PV}:${STAGING_LIBDIR}/perl/' } do_install_append_nylon() { # get rid of definitions not supported by the gcc version we use for nylon...
meta/recipes-devtools/perl/perl-rdepends_5.12.3.inc renamed from meta/recipes-devtools/perl/perl-rdepends_5.12.2.inc +0 -0
meta/recipes-devtools/perl/perl-rprovides_5.12.3.inc renamed from meta/recipes-devtools/perl/perl-rprovides_5.12.2.inc +0 -0
meta/recipes-devtools/perl/perl_5.12.3.bb renamed from meta/recipes-devtools/perl/perl_5.12.2.bb +42 -39
105 lines not on this page · raw message
Signature · 1 line
1.7.1.1
PATCH 5/52 gdb: set --without-ust for EXTRA_OEFLAGS
In reply to Saul WoldFrom: Saul Wold <[email protected]>
Disable using UST since there are some compiler errors with the newer version of lttng-ust 0.12, there may be other unknow problems, so wait for upstream fixes.
--- meta/recipes-devtools/gdb/gdb-common.inc | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
meta/recipes-devtools/gdb/gdb-common.inc +4 -1
@@ -29,7 +29,10 @@ EXPAT = "--without-expat" EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \ --with-curses --disable-multilib --with-system-readline --disable-sim \ - ${GDBPROPREFIX} --with-libelf=${STAGING_DIR_TARGET} ${EXPAT}" + ${GDBPROPREFIX} --with-libelf=${STAGING_DIR_TARGET} ${EXPAT} \ + --without-ust \ + " + GDBPROPREFIX = "--program-prefix=''" do_configure () {
Signature · 1 line
1.7.1.1
PATCH 11/52 bluez-hcidump: upgrade to version 2.0
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
---
...{bluez-hcidump_1.42.bb => bluez-hcidump_2.0.bb} | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-connectivity/bluez/{bluez-hcidump_1.42.bb => bluez-hcidump_2.0.bb} (69%)meta/recipes-connectivity/bluez/bluez-hcidump_2.0.bb renamed from meta/recipes-connectivity/bluez/bluez-hcidump_1.42.bb +4 -4
@@ -7,13 +7,13 @@ PRIORITY = "optional" DEPENDS = "bluez4" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ - file://src/hcidump.c;beginline=1;endline=23;md5=22f51010959a0cd483c4d7f0bd77aaa3" + file://src/hcidump.c;beginline=1;endline=23;md5=3bee3a162dff43a5be7470710b99fbcf" PR = "r0" -SRC_URI = "http://bluez.sourceforge.net/download/bluez-hcidump-${PV}.tar.gz" +SRC_URI = "http://www.kernel.org/pub/linux/bluetooth/bluez-hcidump-${PV}.tar.gz" -SRC_URI[md5sum] = "5704737aaf72104eeaf77335218a1827" -SRC_URI[sha256sum] = "689e39f9432ab90af5f390d86cb46e06c35693d01ea29aec4e41c4f9e315f49f" +SRC_URI[md5sum] = "5c2e3ef0a68b2845047867ba51ff8ac9" +SRC_URI[sha256sum] = "b3b64fd0b18301df07d3aaf34c037c1e4808b4aaf702294822d62b5424f617fd" S = "${WORKDIR}/bluez-hcidump-${PV}" EXTRA_OECONF = "--with-bluez-libs=${STAGING_LIBDIR} --with-bluez-includes=${STAGING_INCDIR}"
Signature · 1 line
1.7.1.1
PATCH 3/52 gcc: Add recipes for 4.6.0
In reply to Saul WoldFrom: Khem Raj <[email protected]>
Hi
This is initial set of patches for testing them out The patches need documentation is pending Some patches especially uclibc related are not needed they must be dropped.
This is not the final version yet. But I would like folks to help trying them out and report issues
I have tried to boot uclibc/arm on it but qemu
died on me. so please boot the images you build
and I would be interested to know the results.
-Khem
--- meta/recipes-devtools/gcc/gcc-4.6.0.inc | 82 + .../gcc/gcc-4.6.0/100-uclibc-conf.patch | 37 + .../gcc/gcc-4.6.0/103-uclibc-conf-noupstream.patch | 15 + .../gcc/gcc-4.6.0/200-uclibc-locale.patch | 2840 ++++++++++++++++++++ .../gcc/gcc-4.6.0/203-uclibc-locale-no__x.patch | 233 ++ .../gcc-4.6.0/204-uclibc-locale-wchar_fix.patch | 52 + .../gcc/gcc-4.6.0/205-uclibc-locale-update.patch | 519 ++++ .../gcc/gcc-4.6.0/301-missing-execinfo_h.patch | 13 + .../gcc/gcc-4.6.0/302-c99-snprintf.patch | 13 + .../gcc/gcc-4.6.0/303-c99-complex-ugly-hack.patch | 14 + .../gcc/gcc-4.6.0/304-index_macro.patch | 28 + .../gcc-4.6.0/305-libmudflap-susv3-legacy.patch | 49 + .../gcc/gcc-4.6.0/306-libstdc++-namespace.patch | 38 + .../gcc/gcc-4.6.0/307-locale_facets.patch | 19 + .../gcc/gcc-4.6.0/602-sdk-libstdc++-includes.patch | 20 + .../recipes-devtools/gcc/gcc-4.6.0/64bithack.patch | 33 + .../gcc/gcc-4.6.0/740-sh-pr24836.patch | 29 + .../gcc/gcc-4.6.0/800-arm-bigendian.patch | 34 + .../gcc/gcc-4.6.0/904-flatten-switch-stmt-00.patch | 74 + .../gcc/gcc-4.6.0/COLLECT_GCC_OPTIONS.patch | 23 + .../GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch | 33 + .../gcc/gcc-4.6.0/arm-bswapsi2.patch | 13 + .../gcc/gcc-4.6.0/arm-nolibfloat.patch | 24 + .../gcc/gcc-4.6.0/arm-softfloat.patch | 16 + .../gcc/gcc-4.6.0/arm-unbreak-eabi-armv4t.dpatch | 36 + .../gcc/gcc-4.6.0/cache-amnesia.patch | 31 + .../gcc-4.6.0/disable_relax_pic_calls_flag.patch | 46 + .../gcc/gcc-4.6.0/fortran-cross-compile-hack.patch | 30 + .../gcc/gcc-4.6.0/gcc-4.0.2-e300c2c3.patch | 319 +++ .../gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch | 31 + .../gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch | 114 + .../gcc/gcc-4.6.0/gcc-arm-frename-registers.patch | 25 + .../gcc/gcc-4.6.0/gcc-flags-for-build.patch | 178 ++ .../gcc/gcc-4.6.0/gcc-ice-hack.dpatch | 331 +++ .../gcc/gcc-4.6.0/gcc-poison-dir-extend.patch | 25 + .../gcc/gcc-4.6.0/gcc-poison-parameters.patch | 74 + .../gcc-4.6.0/gcc-poison-system-directories.patch | 221 ++ .../gcc-uclibc-locale-ctype_touplow_t.patch | 70 + .../gcc/gcc-4.6.0/libstdc++-pic.dpatch | 71 + .../gcc/gcc-4.6.0/optional_libstdc.patch | 84 + meta/recipes-devtools/gcc/gcc-4.6.0/pr30961.dpatch | 179 ++ meta/recipes-devtools/gcc/gcc-4.6.0/pr35942.patch | 38 + .../gcc/gcc-4.6.0/zecke-xgcc-cpp.patch | 28 + .../gcc/gcc-cross-initial_4.6.0.bb | 2 + .../gcc/gcc-cross-intermediate_4.6.0.bb | 3 + meta/recipes-devtools/gcc/gcc-cross_4.6.0.bb | 8 + .../gcc/gcc-crosssdk-initial_4.6.0.bb | 4 + .../gcc/gcc-crosssdk-intermediate_4.6.0.bb | 4 + meta/recipes-devtools/gcc/gcc-runtime_4.6.0.bb | 10 + meta/recipes-devtools/gcc/gcc_4.6.0.bb | 7 + meta/recipes-devtools/gcc/libgcc_4.6.0.bb | 46 + 51 files changed, 6266 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0.inc create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/100-uclibc-conf.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/103-uclibc-conf-noupstream.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/200-uclibc-locale.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/203-uclibc-locale-no__x.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/204-uclibc-locale-wchar_fix.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/205-uclibc-locale-update.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/301-missing-execinfo_h.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/302-c99-snprintf.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/303-c99-complex-ugly-hack.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/304-index_macro.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/305-libmudflap-susv3-legacy.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/306-libstdc++-namespace.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/307-locale_facets.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/602-sdk-libstdc++-includes.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/64bithack.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/740-sh-pr24836.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/800-arm-bigendian.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/904-flatten-switch-stmt-00.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/COLLECT_GCC_OPTIONS.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/arm-bswapsi2.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/arm-nolibfloat.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/arm-softfloat.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/arm-unbreak-eabi-armv4t.dpatch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/cache-amnesia.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/disable_relax_pic_calls_flag.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/fortran-cross-compile-hack.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4.0.2-e300c2c3.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-arm-frename-registers.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-flags-for-build.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-ice-hack.dpatch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-poison-dir-extend.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-poison-parameters.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-poison-system-directories.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/gcc-uclibc-locale-ctype_touplow_t.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/libstdc++-pic.dpatch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/optional_libstdc.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/pr30961.dpatch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/pr35942.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.6.0/zecke-xgcc-cpp.patch create mode 100644 meta/recipes-devtools/gcc/gcc-cross-initial_4.6.0.bb create mode 100644 meta/recipes-devtools/gcc/gcc-cross-intermediate_4.6.0.bb create mode 100644 meta/recipes-devtools/gcc/gcc-cross_4.6.0.bb create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.6.0.bb create mode 100644 meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.6.0.bb create mode 100644 meta/recipes-devtools/gcc/gcc-runtime_4.6.0.bb create mode 100644 meta/recipes-devtools/gcc/gcc_4.6.0.bb create mode 100644 meta/recipes-devtools/gcc/libgcc_4.6.0.bb
meta/recipes-devtools/gcc/gcc-4.6.0.inc new file +82 -0
@@ -0,0 +1,82 @@ +require gcc-common.inc + +DEPENDS =+ "mpfr gmp libmpc" +NATIVEDEPS = "mpfr-native gmp-native gettext-native libmpc-native" + +LICENSE="GCC RUNTIME LIBRARY EXCEPTION & GPLv3" + +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ + file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ + file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ + file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ + file://COPYING.RUNTIME;md5=fe60d87048567d4fe8c8a0ed2448bcc8" + +SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ + file://gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ + file://100-uclibc-conf.patch \ + file://gcc-uclibc-locale-ctype_touplow_t.patch \ + file://cache-amnesia.patch \ + file://gcc-flags-for-build.patch \ + file://103-uclibc-conf-noupstream.patch \ + file://200-uclibc-locale.patch \ + file://203-uclibc-locale-no__x.patch;striplevel=1 \ + file://204-uclibc-locale-wchar_fix.patch;striplevel=1 \ + file://205-uclibc-locale-update.patch;striplevel=1 \ + file://301-missing-execinfo_h.patch \ + file://302-c99-snprintf.patch \ + file://303-c99-complex-ugly-hack.patch \ + file://304-index_macro.patch \ + file://305-libmudflap-susv3-legacy.patch \ + file://306-libstdc++-namespace.patch \ + file://740-sh-pr24836.patch \ + file://800-arm-bigendian.patch \ + file://904-flatten-switch-stmt-00.patch \ + file://arm-nolibfloat.patch \ + file://arm-softfloat.patch \ + file://zecke-xgcc-cpp.patch \ + file://gcc-poison-system-directories.patch \ + file://gcc-poison-dir-extend.patch \ + file://gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch \ + file://64bithack.patch \ + file://optional_libstdc.patch \ + file://disable_relax_pic_calls_flag.patch \ + file://gcc-poison-parameters.patch \ + file://GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch \ + file://COLLECT_GCC_OPTIONS.patch \ + " +SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " + +SRC_URI[md5sum] = "93d1c436bf991564524701259b6285a2" +SRC_URI[sha256sum] = "23bd0013d76ac6fb4537e5e8f4e5947129362dcc32f0d08563b7d4d9e44c0e17" + + +# Language Overrides +FORTRAN = "" +JAVA = "" + +#EXTRA_OECONF_BASE = " --enable-cheaders=c_std \ +# --enable-libssp \ +# --disable-bootstrap \ +# --disable-libgomp \ +# --disable-libmudflap" +EXTRA_OECONF_BASE = " --enable-lto \ + --enable-libssp \ + --disable-bootstrap \ + --disable-libgomp \ + --disable-libmudflap \ + --enable-cheaders=c_global " + +EXTRA_OECONF_INITIAL = "--disable-libmudflap \ + --disable-libgomp \ + --disable-libssp \ + --disable-libquadmath \ + --enable-decimal-float=no" + +EXTRA_OECONF_INTERMEDIATE = "--disable-libmudflap \ + --disable-libgomp \ + --disable-libquadmath \ + --disable-libssp" + +EXTRA_OECONF_append_linux-uclibc = " --disable-decimal-float " +EXTRA_OECONF_append_linux-uclibceabi = " --disable-decimal-float " +EXTRA_OECONF_append_linux-uclibcspe = " --disable-decimal-float "
meta/recipes-devtools/gcc/gcc-4.6.0/100-uclibc-conf.patch new file +37 -0
@@ -0,0 +1,37 @@ +Index: gcc-4.6.0/contrib/regression/objs-gcc.sh +=================================================================== +--- gcc-4.6.0.orig/contrib/regression/objs-gcc.sh ++++ gcc-4.6.0/contrib/regression/objs-gcc.sh +@@ -106,6 +106,10 @@ if [ $H_REAL_TARGET = $H_REAL_HOST -a $H + then + make all-gdb all-dejagnu all-ld || exit 1 + make install-gdb install-dejagnu install-ld || exit 1 ++elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ] ++ then ++ make all-gdb all-dejagnu all-ld || exit 1 ++ make install-gdb install-dejagnu install-ld || exit 1 + elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then + make bootstrap || exit 1 + make install || exit 1 +Index: gcc-4.6.0/libjava/classpath/ltconfig +=================================================================== +--- gcc-4.6.0.orig/libjava/classpath/ltconfig ++++ gcc-4.6.0/libjava/classpath/ltconfig +@@ -603,7 +603,7 @@ host_os=`echo $host | sed 's/^\([^-]*\)- + + # Transform linux* to *-*-linux-gnu*, to support old configure scripts. + case $host_os in +-linux-gnu*) ;; ++linux-gnu*|linux-uclibc*) ;; + linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` + esac + +@@ -1247,7 +1247,7 @@ linux-gnuoldld* | linux-gnuaout* | linux + ;; + + # This must be Linux ELF. +-linux-gnu*) ++linux*) + version_type=linux + need_lib_prefix=no + need_version=no
meta/recipes-devtools/gcc/gcc-4.6.0/103-uclibc-conf-noupstream.patch new file +15 -0
@@ -0,0 +1,15 @@ +Corrects sub machine arch corectly + +Index: gcc-4.6.0/gcc/config.gcc +=================================================================== +--- gcc-4.6.0.orig/gcc/config.gcc ++++ gcc-4.6.0/gcc/config.gcc +@@ -2316,7 +2316,7 @@ score-*-elf) + ;; + sh-*-elf* | sh[12346l]*-*-elf* | \ + sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \ +- sh-*-linux* | sh[2346lbe]*-*-linux* | \ ++ sh*-*-linux* | sh[2346lbe]*-*-linux* | \ + sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \ + sh64-*-netbsd* | sh64l*-*-netbsd*) + tmake_file="${tmake_file} sh/t-sh sh/t-elf"
meta/recipes-devtools/gcc/gcc-4.6.0/200-uclibc-locale.patch new file +2840 -0
2,840 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/203-uclibc-locale-no__x.patch new file +233 -0
26 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/204-uclibc-locale-wchar_fix.patch new file +52 -0
52 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/205-uclibc-locale-update.patch new file +519 -0
519 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/301-missing-execinfo_h.patch new file +13 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/302-c99-snprintf.patch new file +13 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/303-c99-complex-ugly-hack.patch new file +14 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/304-index_macro.patch new file +28 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/305-libmudflap-susv3-legacy.patch new file +49 -0
49 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/306-libstdc++-namespace.patch new file +38 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/307-locale_facets.patch new file +19 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/602-sdk-libstdc++-includes.patch new file +20 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/64bithack.patch new file +33 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/740-sh-pr24836.patch new file +29 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/800-arm-bigendian.patch new file +34 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/904-flatten-switch-stmt-00.patch new file +74 -0
74 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/COLLECT_GCC_OPTIONS.patch new file +23 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch new file +33 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/arm-bswapsi2.patch new file +13 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/arm-nolibfloat.patch new file +24 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/arm-softfloat.patch new file +16 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/arm-unbreak-eabi-armv4t.dpatch new file +36 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/cache-amnesia.patch new file +31 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/disable_relax_pic_calls_flag.patch new file +46 -0
46 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/fortran-cross-compile-hack.patch new file +30 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4.0.2-e300c2c3.patch new file +319 -0
319 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch new file +31 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4.3.3-SYSROOT_CFLAGS_FOR_TARGET.patch new file +114 -0
114 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/gcc-arm-frename-registers.patch new file +25 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/gcc-flags-for-build.patch new file +178 -0
178 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/gcc-ice-hack.dpatch new file +331 -0
331 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/gcc-poison-dir-extend.patch new file +25 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/gcc-poison-parameters.patch new file +74 -0
74 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/gcc-poison-system-directories.patch new file +221 -0
221 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/gcc-uclibc-locale-ctype_touplow_t.patch new file +70 -0
70 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/libstdc++-pic.dpatch new file +71 -0
71 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/optional_libstdc.patch new file +84 -0
84 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/pr30961.dpatch new file +179 -0
179 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.6.0/pr35942.patch new file +38 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-4.6.0/zecke-xgcc-cpp.patch new file +28 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-cross-initial_4.6.0.bb new file +2 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-cross-intermediate_4.6.0.bb new file +3 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-cross_4.6.0.bb new file +8 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-crosssdk-initial_4.6.0.bb new file +4 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-crosssdk-intermediate_4.6.0.bb new file +4 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc-runtime_4.6.0.bb new file +10 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/gcc_4.6.0.bb new file +7 -0
Lines of this file are not shown. View the raw message.
meta/recipes-devtools/gcc/libgcc_4.6.0.bb new file +46 -0
46 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.7.1.1
Part of the diff is not shown here. View the raw message.
PATCH 10/52 valgrind: upgrade to version 3.6.1
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
---
.../fix_issue_caused_by_ccache.patch | 2 ++
.../fixed-perl-path.patch | 2 ++
.../{valgrind_3.6.0.bb => valgrind_3.6.1.bb} | 4 ++--
3 files changed, 6 insertions(+), 2 deletions(-)
rename meta/recipes-devtools/valgrind/{valgrind-3.6.0 => valgrind-3.6.1}/fix_issue_caused_by_ccache.patch (94%)
rename meta/recipes-devtools/valgrind/{valgrind-3.6.0 => valgrind-3.6.1}/fixed-perl-path.patch (97%)
rename meta/recipes-devtools/valgrind/{valgrind_3.6.0.bb => valgrind_3.6.1.bb} (86%)meta/recipes-devtools/valgrind/valgrind-3.6.1/fix_issue_caused_by_ccache.patch renamed from meta/recipes-devtools/valgrind/valgrind-3.6.0/fix_issue_caused_by_ccache.patch +2 -0
@@ -3,6 +3,8 @@ The script does not expect use of ccache, hence fix it to recognise it. 2010/08/17 Nitin A Kamble <[email protected]> +Upstream-Status: Inappropriate [configuration] + Index: valgrind-3.5.0/coregrind/link_tool_exe_linux.in =================================================================== --- valgrind-3.5.0.orig/coregrind/link_tool_exe_linux.in
meta/recipes-devtools/valgrind/valgrind-3.6.1/fixed-perl-path.patch renamed from meta/recipes-devtools/valgrind/valgrind-3.6.0/fixed-perl-path.patch +2 -0
@@ -9,6 +9,8 @@ a better fix would need: 8/31/2010 - created by Qing He <[email protected]> +Upstream-Status: Inappropriate [configuration] + diff --git a/cachegrind/cg_annotate.in b/cachegrind/cg_annotate.in index 9dc9565..cc4ef05 100644 --- a/cachegrind/cg_annotate.in
meta/recipes-devtools/valgrind/valgrind_3.6.1.bb renamed from meta/recipes-devtools/valgrind/valgrind_3.6.0.bb +2 -2
@@ -13,8 +13,8 @@ SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2 \ file://fix_issue_caused_by_ccache.patch \ file://fixed-perl-path.patch" -SRC_URI[md5sum] = "b289c5f4ab8e39741602445f1dd09b34" -SRC_URI[sha256sum] = "bc0f0153b5a47b986f1d8efa2c488e0aea85a1cf2c4b11c52be127903080285f" +SRC_URI[md5sum] = "2c3aa122498baecc9d69194057ca88f5" +SRC_URI[sha256sum] = "49bdcc4fbcf060049b5f0dcfd8a187a6e90e0b0e57309f633b64e44430726a0e" COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
Signature · 1 line
1.7.1.1
PATCH 9/52 rxvt-unicode: upgrade to version 9.10
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
Remove some patches since some logic doesn't exist in upstream. This upgrades fixes CVE:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2006-0126
Also it fixes [Yocto #980]
---
.../recipes-sato/rxvt-unicode/files/makefile.patch | 20 ----------
meta/recipes-sato/rxvt-unicode/files/rxvt.desktop | 11 ------
.../rxvt-unicode/files/signedchar.patch | 11 ------
meta/recipes-sato/rxvt-unicode/files/xwc.patch | 28 --------------
.../rxvt-unicode/rxvt-unicode-5.6/xwc.patch | 24 ------------
.../rxvt-unicode/rxvt-unicode-9.10/rxvt.desktop | 9 +++++
.../{files => rxvt-unicode-9.10}/rxvt.png | Bin 2847 -> 2847 bytes
.../rxvt-unicode/rxvt-unicode-9.10/xwc.patch | 26 +++++++++++++
.../{rxvt-unicode_5.6.bb => rxvt-unicode_9.10.bb} | 39 ++++++++------------
9 files changed, 51 insertions(+), 117 deletions(-)
delete mode 100644 meta/recipes-sato/rxvt-unicode/files/makefile.patch
delete mode 100644 meta/recipes-sato/rxvt-unicode/files/rxvt.desktop
delete mode 100644 meta/recipes-sato/rxvt-unicode/files/signedchar.patch
delete mode 100644 meta/recipes-sato/rxvt-unicode/files/xwc.patch
delete mode 100644 meta/recipes-sato/rxvt-unicode/rxvt-unicode-5.6/xwc.patch
create mode 100644 meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.10/rxvt.desktop
rename meta/recipes-sato/rxvt-unicode/{files => rxvt-unicode-9.10}/rxvt.png (100%)
create mode 100644 meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.10/xwc.patch
rename meta/recipes-sato/rxvt-unicode/{rxvt-unicode_5.6.bb => rxvt-unicode_9.10.bb} (69%)meta/recipes-sato/rxvt-unicode/files/makefile.patch deleted +0 -20
@@ -1,20 +0,0 @@ ---- ../rxvt-unicode-cvs-r0/rxvt-unicode/Makefile.in 2004-08-12 22:32:40 +01:00 -+++ rxvt-unicode/Makefile.in 2004-12-24 03:09:00 +00:00 -@@ -9,7 +9,7 @@ - first_rule: all - dummy: - --subdirs = src doc src/test -+subdirs = src src/test - allsubdirs = W11 $(subdirs) - - DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog -@@ -24,7 +24,7 @@ - - #------------------------------------------------------------------------- - --all allbin alldoc tags: -+all allbin tags: - @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi - @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done -
meta/recipes-sato/rxvt-unicode/files/rxvt.desktop deleted +0 -11
@@ -1,11 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Name=Terminal -Comment=When all else fails. -Exec=/usr/bin/rxvt -Icon=utilities-terminal.png -Terminal=false -Type=Application -Categories=Utility -StartupNotify=false -
meta/recipes-sato/rxvt-unicode/files/signedchar.patch deleted +0 -11
@@ -1,11 +0,0 @@ ---- ../rxvt-unicode-cvs-r0/rxvt-unicode/src/command.C 2004-12-21 06:43:00 +00:00 -+++ rxvt-unicode/src/command.C 2004-12-24 02:31:36 +00:00 -@@ -1862,7 +1862,7 @@ - #endif /* NO_SCROLLBAR_REPORT */ - - { -- char upordown = 0; -+ signed char upordown = 0; - - if (scrollBar.style == R_SB_NEXT) - {
meta/recipes-sato/rxvt-unicode/files/xwc.patch deleted +0 -28
@@ -1,28 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- rxvt-unicode-4.8/src/screen.C~xwc.c -+++ rxvt-unicode-4.8/src/screen.C -@@ -3058,7 +3058,7 @@ - else - rxvt_warn ("can't get primary selection, ignoring.\n"); - --#if 0 -+#ifdef HAVE_XWC - XTextProperty ct; - - if (XwcTextListToTextProperty (display->display, &selection.text, 1, XStringStyle, &ct) >= 0) -@@ -3632,9 +3632,11 @@ - } - else - #endif -+#ifdef HAVE_XWC - if (XwcTextListToTextProperty (display->display, &cl, 1, (XICCEncodingStyle) style, &ct) >= 0) - freect = 1; - else -+#endif - { - /* if we failed to convert then send it raw */ - ct.value = (unsigned char *)cl;
meta/recipes-sato/rxvt-unicode/rxvt-unicode-5.6/xwc.patch deleted +0 -24
@@ -1,24 +0,0 @@ -diff -urNd ../rxvt-unicode-5.3-r2/rxvt-unicode-5.3/src/screen.C rxvt-unicode-5.3/src/screen.C ---- ../rxvt-unicode-5.3-r2/rxvt-unicode-5.3/src/screen.C 2005-02-22 21:39:10 +00:00 -+++ rxvt-unicode-5.3/src/screen.C 2005-04-05 22:12:45 +01:00 -@@ -3064,7 +3064,7 @@ - else - rxvt_warn ("can't get primary selection, ignoring.\n"); - --#if 0 -+#ifdef HAVE_XWC - XTextProperty ct; - - if (XwcTextListToTextProperty (display->display, &selection.text, 1, XStringStyle, &ct) >= 0) -@@ -3648,9 +3648,11 @@ - } - else - #endif -+#ifdef HAVE_XWC - if (XwcTextListToTextProperty (disp, &cl, 1, (XICCEncodingStyle) style, &ct) >= 0) - freect = 1; - else -+#endif - { - /* if we failed to convert then send it raw */ - ct.value = (unsigned char *)cl;
meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.10/rxvt.desktop new file +9 -0
@@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Name=Terminal +Comment=A unicode capable rxvt clone +Exec=rxvt +Icon=terminal +Terminal=false +Type=Application +Categories=Utility;TerminalEmulator;
meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.10/rxvt.png renamed from meta/recipes-sato/rxvt-unicode/files/rxvt.png +0 -0
meta/recipes-sato/rxvt-unicode/rxvt-unicode-9.10/xwc.patch new file +26 -0
@@ -0,0 +1,26 @@ +Upstream-Status: Pending + +diff -ruN rxvt-unicode-9.10-orig//src/screen.C rxvt-unicode-9.10/src/screen.C +--- rxvt-unicode-9.10-orig//src/screen.C 2011-04-19 13:34:01.327664984 +0800 ++++ rxvt-unicode-9.10/src/screen.C 2011-04-19 13:34:47.037665001 +0800 +@@ -3152,7 +3152,7 @@ + return false; + } + +-#if 0 ++#if HAVE_XWC + XTextProperty ct; + + if (XwcTextListToTextProperty (dpy, &selection.text, 1, XStringStyle, &ct) >= 0) +@@ -3734,9 +3734,11 @@ + } + else + #endif ++#ifdef HAVE_XWC + if (XwcTextListToTextProperty (dpy, &cl, 1, (XICCEncodingStyle) style, &ct) >= 0) + freect = 1; + else ++#endif + { + /* if we failed to convert then send it raw */ + ct.value = (unsigned char *)cl;
meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.10.bb renamed from meta/recipes-sato/rxvt-unicode/rxvt-unicode_5.6.bb +16 -23
@@ -5,13 +5,14 @@ terminal emulator rxvt, modified to store text in Unicode \ (either UCS-2 or UCS-4) and to use locale-correct input and \ output. It also supports mixing multiple fonts at the \ same time, including Xft fonts." -LICENSE = "GPL" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ + file://src/main.C;beginline=1;endline=31;md5=633e23cdeb89fe980ded9a3af4f335c2" SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2 \ - file://xwc.patch;patch=1 \ - file://signedchar.patch;patch=1 \ + file://xwc.patch \ file://rxvt.desktop \ file://rxvt.png" -PR = "r5" +PR = "r0" inherit autotools update-alternatives
@@ -35,29 +36,18 @@ EXTRA_OECONF = "--enable-menubar --enable-xim \ --enable-text-blink --enable-rxvt-scroll \ --enable-combining --enable-shared \ --enable-xgetdefault \ + --disable-perl \ --with-x=${STAGING_DIR_HOST}${prefix}" -EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \ - 'XLIB=-L${STAGING_LIBDIR} -lX11'" -do_configure () { - mv autoconf/configure.in . || true - rm autoconf/libtool.m4 - libtoolize --force - autotools_do_configure - echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h - echo '#define RXVT_WTMP_FILE "${localstatedir}/log/wtmp"' >> config.h - echo '#define RXVT_LASTLOG_FILE "${localstatedir}/log/lastlog"' >> config.h - echo '#define HAVE_XLOCALE 1' >> config.h +do_configure_prepend () { + cp aclocal.m4 acinclude.m4 } -do_compile () { - if test -e ${S}/${HOST_SYS}-libtool; then - LIBTOOL=${S}/${HOST_SYS}-libtool - else - LIBTOOL=${S}/libtool - fi - # docs need "yodl" and I have no idea what that is - oe_runmake -C src "LIBTOOL=$LIBTOOL" +do_compile_prepend () { + echo '#define UTMP_FILE "${localstatedir}/run/utmp"' >> config.h + echo '#define WTMP_FILE "${localstatedir}/log/wtmp"' >> config.h + echo '#define LASTLOG_FILE "${localstatedir}/log/lastlog"' >> config.h + echo '#define HAVE_XLOCALE 1' >> config.h } do_install_append () {
@@ -70,3 +60,6 @@ do_install_append () { } FILES_${PN} += "${datadir}/applications/rxvt.desktop ${datadir}/pixmaps/rxvt.png" + +SRC_URI[md5sum] = "a23aa40b31e843878b6f9c44768de430" +SRC_URI[sha256sum] = "1c238f7e545b1a8da81239b826fb2a7d196c73effbcbd211db7a50995a0a067a"
Signature · 1 line
1.7.1.1
PATCH 12/52 gupnp-av: upgrade to version 0.8.0
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
---
.../gupnp/{gupnp-av_0.7.0.bb => gupnp-av_0.8.0.bb} | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-connectivity/gupnp/{gupnp-av_0.7.0.bb => gupnp-av_0.8.0.bb} (77%)meta/recipes-connectivity/gupnp/gupnp-av_0.8.0.bb renamed from meta/recipes-connectivity/gupnp/gupnp-av_0.7.0.bb +2 -2
@@ -11,5 +11,5 @@ PR = "r0" inherit autotools pkgconfig -SRC_URI[md5sum] = "6eace748e9869cddb27daab46eb50635" -SRC_URI[sha256sum] = "e13018d24abec9fafd75ef59c365adbb2ea3712fe5e69fff8c7284dc3f13cdeb" +SRC_URI[md5sum] = "8a41a3bb60b50fceb5ece71c0dc4dcfb" +SRC_URI[sha256sum] = "e6aa032377488cedc4e347519bd30701c583780b7c54f00bab083f2316a93dc9"
Signature · 1 line
1.7.1.1
PATCH 14/52 glib-2.0: upgrade to version 2.28.6
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
---
.../60_wait-longer-for-threads-to-die.patch | 2 ++
.../glib-2.0/glib-2.0/configure-libtool.patch | 2 ++
.../glib-2.0/glib-2.0/g_once_init_enter.patch | 2 ++
.../glib-2.0/glib-2.0/glib-gettextize-dir.patch | 2 ++
.../{glib-2.0_2.26.1.bb => glib-2.0_2.28.6.bb} | 6 +++---
meta/recipes-core/glib-2.0/glib.inc | 2 +-
6 files changed, 12 insertions(+), 4 deletions(-)
rename meta/recipes-core/glib-2.0/{glib-2.0_2.26.1.bb => glib-2.0_2.28.6.bb} (59%)meta/recipes-core/glib-2.0/glib-2.0/60_wait-longer-for-threads-to-die.patch +2 -0
@@ -2,6 +2,8 @@ copy from OE, said to borrow from Ubuntu. Not in glib-2.0 upstream yet. Add for Added to poky by Kevin Tian <[email protected]>, 06/25/2010 Rebased for glib-2.27.3 by Dongxiao Xu <[email protected]>, 11/16/2010 +Upstream-Status: Inappropriate [patches for test code] + diff -ruN glib-2.27.3-orig/tests/threadpool-test.c glib-2.27.3/tests/threadpool-test.c --- glib-2.27.3-orig/tests/threadpool-test.c 2009-04-01 07:04:21.000000000 +0800 +++ glib-2.27.3/tests/threadpool-test.c 2010-11-16 12:28:09.002172678 +0800
meta/recipes-core/glib-2.0/glib-2.0/configure-libtool.patch +2 -0
@@ -4,6 +4,8 @@ # from PATH though # Rebased to glib-2.27.3 by Dongxiao Xu <[email protected]> +Upstream-Status: Inappropriate [configuration] + diff -ruN glib-2.27.3-orig/configure.ac glib-2.27.3/configure.ac --- glib-2.27.3-orig/configure.ac 2010-11-03 11:02:05.000000000 +0800 +++ glib-2.27.3/configure.ac 2010-11-16 12:38:12.610485990 +0800
meta/recipes-core/glib-2.0/glib-2.0/g_once_init_enter.patch +2 -0
@@ -7,6 +7,8 @@ http://www.mail-archive.com/[email protected]/msg005 Signed-off-by: Darren Hart <[email protected]> +Upstream-Status: Pending + Index: glib-2.27.5/glib/gthread.h =================================================================== --- glib-2.27.5.orig/glib/gthread.h
meta/recipes-core/glib-2.0/glib-2.0/glib-gettextize-dir.patch +2 -0
@@ -8,6 +8,8 @@ # by Kevin Tian <[email protected]>, 06/25/2010 # Rebased by Dongxiao Xu <[email protected]>, 11/16/2010 +Upstream-Status: Inappropriate [configuration] + diff -ruN glib-2.27.3-orig/glib-gettextize.in glib-2.27.3/glib-gettextize.in --- glib-2.27.3-orig/glib-gettextize.in 2009-04-01 07:04:20.000000000 +0800 +++ glib-2.27.3/glib-gettextize.in 2010-11-16 12:55:06.874605916 +0800
meta/recipes-core/glib-2.0/glib-2.0_2.28.6.bb renamed from meta/recipes-core/glib-2.0/glib-2.0_2.26.1.bb +3 -3
@@ -3,14 +3,14 @@ require glib.inc PE = "1" PR = "r0" -SRC_URI = "${GNOME_MIRROR}/glib/2.26/glib-${PV}.tar.bz2 \ +SRC_URI = "${GNOME_MIRROR}/glib/2.28/glib-${PV}.tar.bz2 \ file://configure-libtool.patch \ file://60_wait-longer-for-threads-to-die.patch \ file://g_once_init_enter.patch \ " -SRC_URI[md5sum] = "17535accceef55bcb17a74d73f9c2aef" -SRC_URI[sha256sum] = "7a74ff12b6b9dee1f2d0e520b56b68b621920c4f4250bdf23468e515625c28d5" +SRC_URI[md5sum] = "7d8fc15ae70d5111c0cf2a79d50ef717" +SRC_URI[sha256sum] = "557fb7c39d21b9359fbac51fd6b0b883bc97a2561c0166eef993a4078312f578" SRC_URI_append_virtclass-native = " file://glib-gettextize-dir.patch" BBCLASSEXTEND = "native"
meta/recipes-core/glib-2.0/glib.inc +1 -1
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ file://gmodule/COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ file://gmodule/gmodule.h;startline=4;endline=17;md5=76ab161b37202cd004073c42fac276ed \ file://glib/pcre/COPYING;md5=266ebc3ff74ee9ce6fad65577667c0f4 \ - file://glib/pcre/pcre.h;startline=11;endline=35;md5=cc0858840d3c312ec3e45b28077eb0d8 \ + file://glib/pcre/pcre.h;startline=11;endline=35;md5=ce867cf87ebbd2bb55e980d90328390d \ file://docs/reference/COPYING;md5=f51a5100c17af6bae00735cd791e1fcc" BUGTRACKER = "http://bugzilla.gnome.org" SECTION = "libs"
Signature · 1 line
1.7.1.1
PATCH 13/52 libsndfile1: upgrade to version 1.0.24
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
---
.../libsndfile/libsndfile1/acincludefix.patch | 26 --------------------
.../libsndfile/libsndfile1/add-cxx.patch | 18 -------------
...libsndfile1_1.0.23.bb => libsndfile1_1.0.24.bb} | 4 +-
3 files changed, 2 insertions(+), 46 deletions(-)
delete mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/acincludefix.patch
delete mode 100644 meta/recipes-multimedia/libsndfile/libsndfile1/add-cxx.patch
rename meta/recipes-multimedia/libsndfile/{libsndfile1_1.0.23.bb => libsndfile1_1.0.24.bb} (80%)meta/recipes-multimedia/libsndfile/libsndfile1/acincludefix.patch deleted +0 -26
@@ -1,26 +0,0 @@ -Fix m4 quoting to avoid an infinite loop in m4 with recent autoconf/automake - -RP 1/2/10 - -Index: libsndfile-1.0.17/acinclude.m4 -=================================================================== ---- libsndfile-1.0.17.orig/acinclude.m4 2010-02-01 14:53:35.517826746 +0000 -+++ libsndfile-1.0.17/acinclude.m4 2010-02-01 14:53:51.409122706 +0000 -@@ -255,7 +255,7 @@ - - ) - ] -- -+[ - if test $ac_cv_c_byte_order = big ; then - ac_cv_c_big_endian=1 - ac_cv_c_little_endian=0 -@@ -272,7 +272,7 @@ - AC_MSG_WARN([[*** src/config.h may need to be hand editied. ]]) - AC_MSG_WARN([[*****************************************************************]]) - fi -- -+] - )# AC_C_FIND_ENDIAN - -
meta/recipes-multimedia/libsndfile/libsndfile1/add-cxx.patch deleted +0 -18
@@ -1,18 +0,0 @@ ---- - configure.ac | 1 + - 1 file changed, 1 insertion(+) - ---- libsndfile-1.0.17.orig/configure.ac -+++ libsndfile-1.0.17/configure.ac -@@ -29,10 +29,11 @@ AC_LANG([C]) - # to 0. - - SHARED_VERSION_INFO="1:17:0" - - AC_PROG_CC -+AC_PROG_CXX - AM_PROG_LIBTOOL - - AC_CHECK_PROG(autogen, autogen, yes, no) - - AC_PROG_INSTALL
meta/recipes-multimedia/libsndfile/libsndfile1_1.0.24.bb renamed from meta/recipes-multimedia/libsndfile/libsndfile1_1.0.23.bb +2 -2
@@ -8,8 +8,8 @@ PR = "r0" SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-${PV}.tar.gz" -SRC_URI[md5sum] = "d0e22b5ff2ef945615db33960376d733" -SRC_URI[sha256sum] = "54c9c375598538263395a691f9b30987a2faa3d8a166d27e6a09ba4700223d4d" +SRC_URI[md5sum] = "8f823c30c1d8d44830db6ab845d6679e" +SRC_URI[sha256sum] = "b6050e6fbfbb72c8bfbc895104697a4af1d49077a64e4846e0be7af87c9e56a4" LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a"
Signature · 1 line
1.7.1.1
PATCH 15/52 libfm: Remove the flag of G_DISABLE_DEPRECATED
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
Latest glib-2.0 changes some macros and function definitions to be deprecated. However libfm still uses them. Therefore the flag G_DISABLE_DEPRECATED should be removed in libfm's Makefile.
--- .../libfm/libfm-0.1.14/use_deprecate_func.patch | 11 +++++++++++ meta/recipes-support/libfm/libfm_0.1.14.bb | 5 +++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-support/libfm/libfm-0.1.14/use_deprecate_func.patch
meta/recipes-support/libfm/libfm-0.1.14/use_deprecate_func.patch new file +11 -0
@@ -0,0 +1,11 @@ +diff -ruN libfm-0.1.14-orig//src/Makefile.am libfm-0.1.14/src/Makefile.am +--- libfm-0.1.14-orig//src/Makefile.am 2011-04-26 10:01:44.297664993 +0800 ++++ libfm-0.1.14/src/Makefile.am 2011-04-26 10:02:10.637665004 +0800 +@@ -285,7 +285,6 @@ + $(GIO_CFLAGS) \ + -DGIO_MODULE_DIR=\"$(giomodulesdir)\" \ + -DGVFS_LOCALEDIR=\""$(localedir)"\" \ +- -DG_DISABLE_DEPRECATED \ + $(NULL) + + libgiofm_la_LDFLAGS = \
meta/recipes-support/libfm/libfm_0.1.14.bb +3 -2
@@ -10,9 +10,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ SECTION = "x11/libs" DEPENDS = "gtk+ menu-cache intltool" -PR = "r2" +PR = "r3" -SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.gz" +SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.gz \ + file://use_deprecate_func.patch" SRC_URI[md5sum] = "d55e51dced6bb9ef46665243b079761f" SRC_URI[sha256sum] = "e97bf3f9ed4f33b9f0be73e67d360b89337cccf816361faacd8422722269806b"
Signature · 1 line
1.7.1.1
PATCH 17/52 gst-fluendo-mpegdemux: upgrade to version 0.10.67
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
---
...0.10.62.bb => gst-fluendo-mpegdemux_0.10.67.bb} | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-multimedia/gstreamer/{gst-fluendo-mpegdemux_0.10.62.bb => gst-fluendo-mpegdemux_0.10.67.bb} (71%)meta/recipes-multimedia/gstreamer/gst-fluendo-mpegdemux_0.10.67.bb renamed from meta/recipes-multimedia/gstreamer/gst-fluendo-mpegdemux_0.10.62.bb +2 -2
@@ -9,5 +9,5 @@ acpaths = "-I ${S}/common/m4 -I ${S}/m4" PR = "r0" -SRC_URI[md5sum] = "de2a22760f73ba678b7cb51e9f94bc21" -SRC_URI[sha256sum] = "c4ba24502f59849fc2f3948389213c99e23a0986506111cc22cce3a64a33ac05" +SRC_URI[md5sum] = "4ee0353eaa386f9b1c5570298d204357" +SRC_URI[sha256sum] = "410897527f8bd8f007c9915c9450113c9e73c76f89aee3d36da825422a83a621"
Signature · 1 line
1.7.1.1
PATCH 18/52 libsamplerate0: upgrade to version 0.1.7
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
Add libsamplerate-0.1.7-macro-quoting.patch to fix autoreconf issue
---
.../libsamplerate-0.1.7-macro-quoting.patch | 22 ++++++++++++++++++++
...amplerate0_0.1.2.bb => libsamplerate0_0.1.7.bb} | 11 +++++----
2 files changed, 28 insertions(+), 5 deletions(-)
create mode 100644 meta/recipes-multimedia/libsamplerate/libsamplerate0-0.1.7/libsamplerate-0.1.7-macro-quoting.patch
rename meta/recipes-multimedia/libsamplerate/{libsamplerate0_0.1.2.bb => libsamplerate0_0.1.7.bb} (59%)meta/recipes-multimedia/libsamplerate/libsamplerate0-0.1.7/libsamplerate-0.1.7-macro-quoting.patch new file +22 -0
@@ -0,0 +1,22 @@ +Upstream-Status: Pending + +diff -ruN libsamplerate-0.1.7-orig//acinclude.m4 libsamplerate-0.1.7/acinclude.m4 +--- libsamplerate-0.1.7-orig//acinclude.m4 2011-04-20 15:04:25.147664992 +0800 ++++ libsamplerate-0.1.7/acinclude.m4 2011-04-20 15:04:45.397665029 +0800 +@@ -135,7 +135,6 @@ + fi + + ) +-] + + if test $ac_cv_c_byte_order = big ; then + ac_cv_c_big_endian=1 +@@ -154,7 +153,7 @@ + AC_MSG_WARN([[*****************************************************************]]) + fi + +-)# AC_C_FIND_ENDIAN ++])# AC_C_FIND_ENDIAN + + +
meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.7.bb renamed from meta/recipes-multimedia/libsamplerate/libsamplerate0_0.1.2.bb +6 -5
@@ -2,14 +2,15 @@ DESCRIPTION = "An audio Sample Rate Conversion library" SECTION = "libs" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ - file://src/samplerate.c;beginline=1;endline=17;md5=2deac26142757e825d957e5ac149b292" + file://src/samplerate.c;beginline=1;endline=17;md5=ed4dfdaa3bdf0f817ebc70cee0cccc88" DEPENDS = "flac" -PR = "r3" +PR = "r0" -SRC_URI = "http://www.mega-nerd.com/SRC/libsamplerate-${PV}.tar.gz" +SRC_URI = "http://www.mega-nerd.com/SRC/libsamplerate-${PV}.tar.gz \ + file://libsamplerate-0.1.7-macro-quoting.patch" -SRC_URI[md5sum] = "06861c2c6b8e5273c9b80cf736b9fd0e" -SRC_URI[sha256sum] = "98b8766323c78b7b718dfd4ef6b9292bbf0796b742abb2319b8278cbeee731d4" +SRC_URI[md5sum] = "6731a81cb0c622c483b28c0d7f90867d" +SRC_URI[sha256sum] = "78ed5d9ff1bf162c4a078f6a3e7432a537dd2f22dc58872b081fb01156027fcc" S = "${WORKDIR}/libsamplerate-${PV}" inherit autotools pkgconfig
Signature · 1 line
1.7.1.1
PATCH 20/52 cwautomacros: upgrade to version 20110201
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
---
...macros_20090610.bb => cwautomacros_20110201.bb} | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-extended/cwautomacros/{cwautomacros_20090610.bb => cwautomacros_20110201.bb} (74%)meta/recipes-extended/cwautomacros/cwautomacros_20110201.bb renamed from meta/recipes-extended/cwautomacros/cwautomacros_20090610.bb +2 -2
@@ -8,8 +8,8 @@ SRC_URI = http://download.berlios.de/cwautomacros/cwautomacros-${PV}.tar.bz2 PR = "r0" -SRC_URI[md5sum] = "352b295897ddb30c0d7d0acdd0b2313a" -SRC_URI[sha256sum] = "8f683713baa63e6b5c2ea72067f77cbacf0bee7d4efa907951c6bb5ac1ffd6b0" +SRC_URI[md5sum] = "074afcb50d0a8bff10786a2954b2b02d" +SRC_URI[sha256sum] = "3115603b891f3a163c0bbb5fea2f3742113a183fa6745ee5e89e5f6d0e9f6121" do_install() { oe_runmake CWAUTOMACROSPREFIX=${D}${prefix} install
Signature · 1 line
1.7.1.1
PATCH 19/52 alsa-utils: upgrade to version 1.0.24.2
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
---
.../ncursesfix.patch | 22 ++++++++++---------
...alsa-utils_1.0.23.bb => alsa-utils_1.0.24.2.bb} | 4 +-
2 files changed, 14 insertions(+), 12 deletions(-)
rename meta/recipes-multimedia/alsa/{alsa-utils-1.0.23 => alsa-utils-1.0.24.2}/ncursesfix.patch (70%)
rename meta/recipes-multimedia/alsa/{alsa-utils_1.0.23.bb => alsa-utils_1.0.24.2.bb} (95%)meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/ncursesfix.patch renamed from meta/recipes-multimedia/alsa/alsa-utils-1.0.23/ncursesfix.patch +12 -10
@@ -1,11 +1,13 @@ -# alsa-utils: Fix ncurses build failures -# Richard Purdie <[email protected]> -# Rebased to 1.0.23, Dongxiao Xu <[email protected]> +Rebase the patch to fit 1.0.24.2 -diff -ruN alsa-utils-1.0.23-orig/configure.in alsa-utils-1.0.23/configure.in ---- alsa-utils-1.0.23-orig/configure.in 2010-04-16 19:19:12.000000000 +0800 -+++ alsa-utils-1.0.23/configure.in 2010-06-22 15:22:06.731202478 +0800 -@@ -109,34 +109,16 @@ +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Dongxiao Xu <[email protected]> + +diff -ruN alsa-utils-1.0.24.2-orig//configure.in alsa-utils-1.0.24.2/configure.in +--- alsa-utils-1.0.24.2-orig//configure.in 2011-04-13 13:51:20.337665010 +0800 ++++ alsa-utils-1.0.24.2/configure.in 2011-04-13 13:51:54.437664986 +0800 +@@ -127,34 +127,16 @@ NCURSESLIBSUFFIX="" CURSES_NLS="no" if test "$curseslib" = "ncursesw" -o \( "$curseslib" = "auto" -a "$USE_NLS" = "yes" \); then
@@ -17,7 +19,7 @@ diff -ruN alsa-utils-1.0.23-orig/configure.in alsa-utils-1.0.23/configure.in - CURSES_CFLAGS=`ncursesw5-config --cflags` - curseslib="ncursesw" - else - AC_CHECK_LIB(ncursesw, initscr, + AC_CHECK_LIB(ncursesw, initscr, [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncursesw'; curseslib="ncursesw"]) - fi if test -n "$CURSESINC"; then
@@ -34,9 +36,9 @@ diff -ruN alsa-utils-1.0.23-orig/configure.in alsa-utils-1.0.23/configure.in - CURSES_CFLAGS=`ncurses5-config --cflags` - curseslib="ncurses" - else - AC_CHECK_LIB(ncurses, initscr, + AC_CHECK_LIB(ncurses, initscr, [ CURSESINC='<ncurses.h>'; CURSESLIB='-lncurses'; curseslib="ncurses"]) - fi fi if test "$curseslib" = "curses" -o "$curseslib" = "auto"; then - AC_CHECK_LIB(curses, initscr, + AC_CHECK_LIB(curses, initscr,
meta/recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb renamed from meta/recipes-multimedia/alsa/alsa-utils_1.0.23.bb +2 -2
@@ -11,8 +11,8 @@ PR = "r0" SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \ file://ncursesfix.patch;patch=1 " -SRC_URI[md5sum] = "cb0cf46029ac9549cf3a31bff6a4f4e1" -SRC_URI[sha256sum] = "b7d05e915e25f8540ad151c6dd558cf0fc1e9bb0ee23052d531c983666a1f7b0" +SRC_URI[md5sum] = "8238cd57cb301d1c36bcf0ecb59ce6b2" +SRC_URI[sha256sum] = "95127f740291086486c06c28118cabca0814bde48fd14dac041a9812a5ac1be2" # lazy hack. needs proper fixing in gettext.m4, see # http://bugs.openembedded.org/show_bug.cgi?id=2348
Signature · 1 line
1.7.1.1
PATCH 21/52 distro_tracking_fields: cwautomacros, valgrind, etc
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
--- .../conf/distro/include/distro_tracking_fields.inc | 72 ++++++++++--------- 1 files changed, 38 insertions(+), 34 deletions(-)
meta/conf/distro/include/distro_tracking_fields.inc +38 -34
@@ -169,16 +169,15 @@ RECIPE_MAINTAINER_pn-libdaemon = "Yu Ke <[email protected]>" RECIPE_STATUS_pn-glib-2.0 = "green" DISTRO_PN_ALIAS_pn-glib-2.0 = "Meego=glib2 Fedora=glib2 OpenSuSE=glib2 Ubuntu=glib2.0 Mandriva=glib2.0 Debian=glib2.0" RECIPE_DEPENDENCY_CHECK_pn-glib-2.0 = "not done" -RECIPE_LATEST_VERSION_pn-glib-2.0 = "2.27.5" +RECIPE_LATEST_VERSION_pn-glib-2.0 = "2.28.6" RECIPE_PATCH_pn-glib-2.0+60_wait-longer-for-threads-to-die = "to be pushed upstream" RECIPE_PATCH_pn-glib-2.0+configure-libtool = "local" RECIPE_PATCH_pn-glib-2.0+glib-gettextize-dir = "marked as REMOVAL" RECIPE_INTEL_SECTION_pn-glib-2.0 = "base libs" -RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-glib-2.0 = "1 month" -RECIPE_LATEST_RELEASE_DATE_pn-glib-2.0 = "2010/12/20" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-glib-2.0 = "15 days" +RECIPE_LATEST_RELEASE_DATE_pn-glib-2.0 = "2011/04/14" RECIPE_COMMENTS_pn-glib-2.0 = "" -RECIPE_LAST_UPDATE_pn-glib-2.0 = "Dec 30, 2010" -RECIPE_NO_UPDATE_REASON_pn-glib-2.0 ="do not upgrade to 2.27.5 because it is unstable version" +RECIPE_LAST_UPDATE_pn-glib-2.0 = "Apr 26, 2011" RECIPE_MAINTAINER_pn-glib-2.0 = "Dongxiao Xu <[email protected]>" RECIPE_STATUS_pn-libpam = "green"
@@ -761,12 +760,12 @@ DISTRO_PN_ALIAS_pn-opkg-utils = "OSPDT upstream=http://svn.openmoko.org/trunk/sr RECIPE_STATUS_pn-polkit = "green" RECIPE_DEPENDENCY_CHECK_pn-polkit = "not done" -RECIPE_LATEST_VERSION_pn-polkit = "0.99" +RECIPE_LATEST_VERSION_pn-polkit = "0.101" RECIPE_INTEL_SECTION_pn-polkit = "base utils" RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-polkit = "1 months" -RECIPE_LATEST_RELEASE_DATE_pn-polkit = "2010/09/15" +RECIPE_LATEST_RELEASE_DATE_pn-polkit = "2011/03/03" RECIPE_COMMENTS_pn-polkit = "" -RECIPE_LAST_UPDATE_pn-polkit = "Nov 18, 2010" +RECIPE_LAST_UPDATE_pn-polkit = "Apr 26, 2011" RECIPE_MAINTAINER_pn-polkit = "Dongxiao Xu <[email protected]>" RECIPE_STATUS_pn-psplash = "not done"
@@ -916,12 +915,12 @@ RECIPE_MAINTAINER_pn-gperf = "Scott Garman <[email protected]>" RECIPE_STATUS_pn-valgrind = "green" RECIPE_DEPENDENCY_CHECK_pn-valgrind = "not done" -RECIPE_LATEST_VERSION_pn-valgrind = "3.6.0" +RECIPE_LATEST_VERSION_pn-valgrind = "3.6.1" RECIPE_INTEL_SECTION_pn-valgrind = "base utils" -RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-valgrind = "6 months" -RECIPE_LATEST_RELEASE_DATE_pn-valgrind = "2010/10/21" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-valgrind = "4 months" +RECIPE_LATEST_RELEASE_DATE_pn-valgrind = "2011/02/16" RECIPE_COMMENTS_pn-valgrind = "" -RECIPE_LAST_UPDATE_pn-valgrind = "Nov 16, 2010" +RECIPE_LAST_UPDATE_pn-valgrind = "Apr 26, 2011" RECIPE_MAINTAINER_pn-valgrind = "Dongxiao Xu <[email protected]>" RECIPE_STATUS_pn-formfactor = "green"
@@ -946,12 +945,12 @@ RECIPE_MAINTAINER_pn-makedevs = "Dongxiao Xu <[email protected]>" RECIPE_STATUS_pn-cwautomacros = "green" RECIPE_DEPENDENCY_CHECK_pn-cwautomacros = "not done" -RECIPE_LATEST_VERSION_pn-cwautomacros = "20090610" +RECIPE_LATEST_VERSION_pn-cwautomacros = "20110201" RECIPE_INTEL_SECTION_pn-cwautomacros = "base utils" -RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cwautomacros = "6 months" -RECIPE_LATEST_RELEASE_DATE_pn-cwautomacros = "06/2009" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cwautomacros = "3 days" +RECIPE_LATEST_RELEASE_DATE_pn-cwautomacros = "2011/02/01" RECIPE_COMMENTS_pn-cwautomacros = "" -RECIPE_LAST_UPDATE_pn-cwautomacros = "Aug 6, 2010" +RECIPE_LAST_UPDATE_pn-cwautomacros = "Apr 26, 2011" RECIPE_MAINTAINER_pn-cwautomacros = "Dongxiao Xu <[email protected]>" DISTRO_PN_ALIAS_pn-cwautomacros= "OSPDT upstream=http://cwautomacros.berlios.de/"
@@ -2093,12 +2092,11 @@ RECIPE_LAST_UPDATE_pn-gupnp = "Apr 15, 2011" RECIPE_MAINTAINER_pn-gupnp= "Dongxiao Xu <[email protected]>" RECIPE_STATUS_pn-gupnp-av = "green" -RECIPE_LATEST_VERSION_pn-gupnp-av = "0.7.1" +RECIPE_LATEST_VERSION_pn-gupnp-av = "0.8.0" RECIPE_NO_OF_PATCHES_pn-gupnp-av= "0" -RECIPE_LATEST_RELEASE_DATE_pn-gupnp-av= "2010/11/08" -RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gupnp-av= "15 days" -RECIPE_LAST_UPDATE_pn-gupnp-av = "Nov 25, 2010" -RECIPE_MANUAL_CHECK_DATE_pn-gupnp-av = "Jan 30, 2011" +RECIPE_LATEST_RELEASE_DATE_pn-gupnp-av= "2011/04/08" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gupnp-av= "4 months" +RECIPE_LAST_UPDATE_pn-gupnp-av = "Apr 26, 2011" RECIPE_MAINTAINER_pn-gupnp-av = "Dongxiao Xu <[email protected]>" RECIPE_STATUS_pn-gupnp-tools = "green"
@@ -2182,9 +2180,12 @@ RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-telepathy-python="4 months" RECIPE_LAST_UPDATE_pn-telepathy-python = "Dec 30, 2010" RECIPE_MAINTAINER_pn-telepathy-python = "Dongxiao Xu <[email protected]>" -RECIPE_STATUS_pn-bluez-hcidump = "red" -RECIPE_LATEST_VERSION_pn-bluez-hcidump = "1.42" -RECIPE_LAST_UPDATE_pn-bluez-hcidump = "Nov 7, 2008" +RECIPE_STATUS_pn-bluez-hcidump = "green" +RECIPE_LATEST_VERSION_pn-bluez-hcidump = "2.0" +RECIPE_NO_OF_PATCHES_pn-bluez-hcidump = "0" +RECIPE_LATEST_RELEASE_DATE_pn-bluez-hcidump = "2011/01/27" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-bluez-hcidump = "4 months" +RECIPE_LAST_UPDATE_pn-bluez-hcidump = "Apr 26, 2011" RECIPE_MAINTAINER_pn-bluez-hcidump = "Dongxiao Xu <[email protected]>" RECIPE_STATUS_pn-ppp-dialin = "red"
@@ -2624,10 +2625,13 @@ RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-ffmpeg = "4 months" RECIPE_LAST_UPDATE_pn-gst-ffmpeg = "Dec 14, 2010" RECIPE_MAINTAINER_pn-gst-ffmpeg = "Dongxiao Xu <[email protected]>" -RECIPE_STATUS_pn-libsndfile1 = "red" +RECIPE_STATUS_pn-libsndfile1 = "green" DISTRO_PN_ALIAS_pn-libsndfile1 = "Meego=libsndfile Fedora=libsndfile OpenSuSE=libsndfile Ubuntu=libsndfile Mandriva=libsndfile Debian=libsndfile" -RECIPE_LATEST_VERSION_pn-libsndfile1 = "1.0.21 " -RECIPE_LAST_UPDATE_pn-libsndfile1 = "Nov 11, 2010" +RECIPE_LATEST_VERSION_pn-libsndfile1 = "1.0.24" +RECIPE_NO_OF_PATCHES_pn-libsndfile1 = "0" +RECIPE_LATEST_RELEASE_DATE_pn-libsndfile1 = "2011/03/23" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-libsndfile1 = "5 months" +RECIPE_LAST_UPDATE_pn-libsndfile1 = "Apr 26, 2011" RECIPE_MAINTAINER_pn-libsndfile1 = "Dongxiao Xu <[email protected]>" RECIPE_STATUS_pn-pulseaudio = "green"
@@ -2662,11 +2666,11 @@ RECIPE_MAINTAINER_pn-gst-fluendo-mp3 = "Dongxiao Xu <[email protected]>" DISTRO_PN_ALIAS_pn-gst-fluendo-mp3 = "Debian=gstreamer0.10-fluendo-mp3 Ubuntu=gstreamer0.10-fluendo-mp3" RECIPE_STATUS_pn-gst-fluendo-mpegdemux = "green" -RECIPE_LATEST_VERSION_pn-gst-fluendo-mpegdemux = "0.10.20" +RECIPE_LATEST_VERSION_pn-gst-fluendo-mpegdemux = "0.10.67" RECIPE_NO_OF_PATCHES_pn-gst-fluendo-mpegdemux = "0" -RECIPE_LATEST_RELEASE_DATE_pn-gst-fluendo-mpegdemux = "2010/10/20" -RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-fluendo-mpegdemux = "1 months" -RECIPE_LAST_UPDATE_pn-gst-fluendo-mpegdemux = "Dec 7, 2010" +RECIPE_LATEST_RELEASE_DATE_pn-gst-fluendo-mpegdemux = "2011/03/17" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-gst-fluendo-mpegdemux = "6 days" +RECIPE_LAST_UPDATE_pn-gst-fluendo-mpegdemux = "Apr 26, 2011" RECIPE_MAINTAINER_pn-gst-fluendo-mpegdemux = "Dongxiao Xu <[email protected]>" DISTRO_PN_ALIAS_pn-gst-fluendo-mpegdemux = "Ubuntu=gstreamer0.10-fluendo-mpegdemux Debian=gstreamer0.10-fluendo-mpegdemux"
@@ -2676,11 +2680,11 @@ RECIPE_LAST_UPDATE_pn-libomxil = "Jan 11, 2008" RECIPE_MAINTAINER_pn-libomxil = "Dongxiao Xu <[email protected]>" DISTRO_PN_ALIAS_pn-libomxil = "OSPDT upstream=http://omxil.sourceforge.net/" -RECIPE_STATUS_pn-libsamplerate0 = "red" +RECIPE_STATUS_pn-libsamplerate0 = "green" DISTRO_PN_ALIAS_pn-libsamplerate0 = "Meego=libsamplerate Fedora=libsamplerate OpenSuSE=libsamplerate Ubuntu=libsamplerate Mandriva=libsamplerate Debian=libsamplerate" RECIPE_LATEST_VERSION_pn-libsamplerate0 = "0.1.7" -RECIPE_LAST_UPDATE_pn-libsamplerate0 = "Nov 22, 2010" -RECIPE_MANUAL_CHECK_DATE_pn-libsamplerate0 = "Jan 30, 2011" +RECIPE_LAST_UPDATE_pn-libsamplerate0 = "Apr 26, 2011" +RECIPE_MANUAL_CHECK_DATE_pn-libsamplerate0 = "Apr 26, 2011" RECIPE_MAINTAINER_pn-libsamplerate0 = "Dongxiao Xu <[email protected]>" RECIPE_STATUS_pn-oprofileui = "green"
Signature · 1 line
1.7.1.1
PATCH 22/52 sstate.bbclass: Reduce SSTATE_MANIFESTS assignment to be weak
In reply to Saul WoldFrom: Khem Raj <[email protected]>
Distributions can then override this variable if needed useful e.g. when building uclibc/eglibc both using same tmpdir
--- meta/classes/sstate.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/sstate.bbclass +1 -1
@@ -1,6 +1,6 @@ SSTATE_VERSION = "2" -SSTATE_MANIFESTS = "${TMPDIR}/sstate-control" +SSTATE_MANIFESTS ?= "${TMPDIR}/sstate-control" SSTATE_MANFILEBASE = "${SSTATE_MANIFESTS}/manifest-${SSTATE_MANMACH}-" SSTATE_MANFILEPREFIX = "${SSTATE_MANFILEBASE}${PN}"
Signature · 1 line
1.7.1.1
PATCH 23/52 libiconv: update from 1.9.2 -> 1.11.1
In reply to Saul WoldFrom: Khem Raj <[email protected]>
1.11.1 was the last LGPLv2 release shared_preloadable_libiconv_linux.patch is needed to make libtool 2.4 happy
Autoconf patch is similarly made to point m4 directory and update to newer autoconf
--- .../libiconv/libiconv-1.11.1/autoconf.patch | 48 ++++++++++++++++++++ .../shared_preloadable_libiconv_linux.patch | 24 ++++++++++ meta/recipes-support/libiconv/libiconv_1.11.1.bb | 30 ++++++++++++ meta/recipes-support/libiconv/libiconv_1.9.2.bb | 21 --------- 4 files changed, 102 insertions(+), 21 deletions(-) create mode 100644 meta/recipes-support/libiconv/libiconv-1.11.1/autoconf.patch create mode 100644 meta/recipes-support/libiconv/libiconv-1.11.1/shared_preloadable_libiconv_linux.patch create mode 100644 meta/recipes-support/libiconv/libiconv_1.11.1.bb delete mode 100644 meta/recipes-support/libiconv/libiconv_1.9.2.bb
meta/recipes-support/libiconv/libiconv-1.11.1/autoconf.patch new file +48 -0
@@ -0,0 +1,48 @@ +It adds the variables that are needed +for autoconf 2.65 to reconfigure libiconv and defines the m4 macros +directory. Its imported from OE. + +Signed-off-by: Khem Raj <[email protected]> + +Index: libiconv-1.11.1/configure.ac +=================================================================== +--- libiconv-1.11.1.orig/configure.ac ++++ libiconv-1.11.1/configure.ac +@@ -23,7 +23,7 @@ AC_CONFIG_AUX_DIR(build-aux) + AM_INIT_AUTOMAKE(libiconv, 1.11) + AC_CONFIG_HEADERS(config.h lib/config.h) + AC_PROG_MAKE_SET +- ++AC_CONFIG_MACRO_DIR([m4]) + dnl checks for basic programs + + AC_PROG_CC +Index: libiconv-1.11.1/libcharset/configure.ac +=================================================================== +--- libiconv-1.11.1.orig/libcharset/configure.ac ++++ libiconv-1.11.1/libcharset/configure.ac +@@ -16,17 +16,17 @@ dnl along with the GNU CHARSET Library; + dnl write to the Free Software Foundation, Inc., 51 Franklin Street, + dnl Fifth Floor, Boston, MA 02110-1301, USA. + +-AC_PREREQ(2.13) ++AC_PREREQ(2.61) ++AC_INIT([libcharset],[1.4] ) ++AC_CONFIG_SRCDIR([lib/localcharset.c]) + +-PACKAGE=libcharset +-VERSION=1.4 +- +-AC_INIT(lib/localcharset.c) + AC_CONFIG_AUX_DIR(build-aux) + AC_CONFIG_HEADER(config.h) + AC_PROG_MAKE_SET +-AC_SUBST(PACKAGE) +-AC_SUBST(VERSION) ++dnl AC_SUBST(PACKAGE) ++dnl AC_SUBST(VERSION) ++ ++AC_CONFIG_MACRO_DIR([m4]) + + dnl checks for basic programs +
meta/recipes-support/libiconv/libiconv-1.11.1/shared_preloadable_libiconv_linux.patch new file +24 -0
@@ -0,0 +1,24 @@ +With libtool generating shared and static version of libraries needs -fPIC flags +without this it will not generate the commands to create shared linked library +Its more enforced by libtool 2.4. I have not checked it with older libtool +libiconv 1.11.x is relatively old release and libtool 2.4 did not exist when it +was released these kind of problem are more likely + +Signed-off-by: Khem Raj <[email protected]> + +Index: libiconv-1.11.1/lib/Makefile.in +=================================================================== +--- libiconv-1.11.1.orig/lib/Makefile.in ++++ libiconv-1.11.1/lib/Makefile.in +@@ -70,9 +70,9 @@ preloadable_libiconv.so : preloadable_li + + preloadable_libiconv_linux.so : $(SOURCES) + if test -n "@GCC@"; then \ +- $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -shared -o preloadable_libiconv_linux.so; \ ++ $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -fPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -rpath $(libdir) -o libpreload_iconv.la && cp .libs/libpreload_iconv.so preloadable_libiconv_linux.so; \ + else \ +- $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -KPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -shared -o preloadable_libiconv_linux.so; \ ++ $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) $(DEFS) -KPIC -DPIC -DLIBICONV_PLUG $(SOURCES) -rpath $(libdir) -o libpreload_iconv.la && cp .libs/libpreload_iconv.so preloadable_libiconv_linux.so; \ + fi + + preloadable_libiconv_solaris.so : $(SOURCES)
meta/recipes-support/libiconv/libiconv_1.11.1.bb new file +30 -0
@@ -0,0 +1,30 @@ +DESCRIPTION = "GNU libiconv - libiconv is for you if your application needs to support \ +multiple character encodings, but that support lacks from your system." +HOMEPAGE = "http://www.gnu.org/software/libiconv" +SECTION = "libs" +PRIORITY = "optional" +NOTES = "Needs to be stripped down to: ascii iso8859-1 eucjp iso-2022jp gb utf8" +PROVIDES = "virtual/libiconv" +PR = "r0" +LICENSE = "LGPL" +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674 \ + file://libcharset/COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674" +SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ + file://autoconf.patch \ + file://shared_preloadable_libiconv_linux.patch \ + " + +SRC_URI[md5sum] = "d42b97f6ef5dd0ba4469d520ed732fed" +SRC_URI[sha256sum] = "e78c347a1a0cb15f2648519e9799151f4b4a934b61ad9ee7424478efe2b8257f" + +S = "${WORKDIR}/libiconv-${PV}" + +inherit autotools pkgconfig gettext + +EXTRA_OECONF += "--enable-shared --enable-static --enable-relocatable" + +LEAD_SONAME = "libiconv.so" + +do_configure_prepend () { + rm -f m4/libtool.m4 libcharset/m4/libtool.m4 +}
meta/recipes-support/libiconv/libiconv_1.9.2.bb deleted +0 -21
@@ -1,21 +0,0 @@ -DESCRIPTION = "GNU libiconv - libiconv is for you if your application needs to support \ -multiple character encodings, but that support lacks from your system." -HOMEPAGE = "http://www.gnu.org/software/libiconv" -SECTION = "libs" -PRIORITY = "optional" -NOTES = "Needs to be stripped down to: ascii iso8859-1 eucjp iso-2022jp gb utf8" -PROVIDES = "virtual/libiconv" -PR = "r4" -LICENSE = "LGPL" -SRC_URI = "${GNU_MIRROR}/libiconv/libiconv-${PV}.tar.gz" - -S = "${WORKDIR}/libiconv-${PV}" - -inherit autotools pkgconfig - -EXTRA_OECONF += "--enable-shared --enable-static" - -do_configure () { - rm -f m4/libtool.m4 libcharset/m4/libtool.m4 - autotools_do_configure -}
Signature · 1 line
1.7.1.1
PATCH 24/52 elfutils_0.148.bb: Fix compilation issues on uclibc
In reply to Saul WoldFrom: Khem Raj <[email protected]>
* Add -luargp and -lintl to linker flags
* __mempcpy is not there on uclibc so define it to mempcpy
--- .../elfutils/elfutils-0.148/mempcpy.patch | 23 ++++++++++++++++++++ meta/recipes-devtools/elfutils/elfutils_0.148.bb | 6 +++- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch
meta/recipes-devtools/elfutils/elfutils-0.148/mempcpy.patch new file +23 -0
@@ -0,0 +1,23 @@ +uclibc does not export __mempcpy like glibc so we alias it here. +This patch may make sense for upstream but elfutils uses more +glibc specific features like obstack_printf which are missing in +uclibc they need to be fixed along to make it work all the way + +Upstream-status: Inappropriate[Elfutils uses more glibc specific features] + +Signed-off-by: Khem Raj <[email protected]> + +Index: elfutils-0.148/libelf/elf_begin.c +=================================================================== +--- elfutils-0.148.orig/libelf/elf_begin.c ++++ elfutils-0.148/libelf/elf_begin.c +@@ -68,6 +68,9 @@ + #include "libelfP.h" + #include "common.h" + ++#ifdef __UCLIBC__ ++#define __mempcpy mempcpy ++#endif + + /* Create descriptor for archive in memory. */ + static inline Elf *
meta/recipes-devtools/elfutils/elfutils_0.148.bb +4 -2
@@ -28,8 +28,8 @@ SRC_URI += "\ file://elf_additions.diff \ file://elfutils-fsize.patch \ file://remove-unused.patch \ + file://mempcpy.patch \ " - # The buildsystem wants to generate 2 .h files from source using a binary it just built, # which can not pass the cross compiling, so let's work around it by adding 2 .h files # along with the do_configure_prepend()
@@ -38,7 +38,6 @@ SRC_URI += "\ file://i386_dis.h \ file://x86_64_dis.h \ " - inherit autotools EXTRA_OECONF = "--program-prefix=eu-"
@@ -49,6 +48,9 @@ do_configure_prepend() { cp ${WORKDIR}/*dis.h ${S}/libcpu } +# Only append ldflags for target recipe +TARGET_LDFLAGS_libc-uclibc += "${@['', '-lintl -luargp']['${PN}' == '${BPN}']}" + BBCLASSEXTEND = "native nativesdk" # Package utilities separately
Signature · 1 line
1.7.1.1
PATCH 26/52 xorg-lib: inherit gettext class instead of adding gettext to DEPENDS directly
In reply to Saul WoldFrom: Khem Raj <[email protected]>
--- meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb | 4 +++- meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb | 4 ++-- meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-)
meta/recipes-graphics/xorg-lib/libxau_1.0.6.bb +3 -1
@@ -6,10 +6,12 @@ both client-side and server-side." require xorg-lib-common.inc +inherit gettext + LICENSE = "MIT-style" LIC_FILES_CHKSUM = "file://COPYING;md5=7908e342491198401321cec1956807ec" -DEPENDS += " xproto gettext" +DEPENDS += " xproto" PROVIDES = "xau" PR = "r0"
meta/recipes-graphics/xorg-lib/libxdmcp_1.1.0.bb +2 -2
@@ -8,6 +8,8 @@ autonomous display." require xorg-lib-common.inc +inherit gettext + LICENSE = "MIT-style" LIC_FILES_CHKSUM = "file://COPYING;md5=d559fb26e129626022e052a5e6e0e123"
@@ -17,8 +19,6 @@ PROVIDES = "xdmcp" PR = "r0" PE = "1" -DEPENDS += "gettext" - XORG_PN = "libXdmcp" BBCLASSEXTEND = "native nativesdk"
meta/recipes-graphics/xorg-lib/xtrans_1.2.6.bb +2 -1
@@ -16,7 +16,8 @@ PE = "1" PR = "r0" RDEPENDS_${PN}-dev = "" -DEPENDS += "gettext" + +inherit gettext BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
1.7.1.1
PATCH 25/52 perl_5.12.2.bb: Undefine features not found in uclibc
In reply to Saul WoldFrom: Khem Raj <[email protected]>
--- meta/recipes-devtools/perl/perl_5.12.3.bb | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-)
meta/recipes-devtools/perl/perl_5.12.3.bb +16 -0
@@ -134,6 +134,12 @@ do_configure() { -e "s,\(getnetent_r_proto=\)'\w+',\1'0',g" \ -e "s,\(d_sockatmark=\)'define',\1'undef',g" \ -e "s,\(d_sockatmarkproto=\)'\w+',\1'0',g" \ + -e "s,\(d_eaccess=\)'define',\1'undef',g" \ + -e "s,\(d_stdio_ptr_lval=\)'define',\1'undef',g" \ + -e "s,\(d_stdio_ptr_lval_sets_cnt=\)'define',\1'undef',g" \ + -e "s,\(d_stdiobase=\)'define',\1'undef',g" \ + -e "s,\(d_stdstdio=\)'define',\1'undef',g" \ + -e "s,-fstack-protector,-fno-stack-protector,g" \ config.sh-${TARGET_ARCH}-${TARGET_OS} fi
@@ -148,6 +154,16 @@ do_configure() { -e 's,/perl5,/perl,g' \ config.sh-${TARGET_ARCH}-${TARGET_OS} + case "${TARGET_ARCH}" in + x86_64 | powerpc | s390) + sed -i -e "s,\(need_va_copy=\)'undef',\1'define',g" \ + config.sh-${TARGET_ARCH}-${TARGET_OS} + ;; + arm) + sed -i -e "s,\(d_u32align=\)'undef',\1'define',g" \ + config.sh-${TARGET_ARCH}-${TARGET_OS} + ;; + esac # These are strewn all over the source tree for foo in `grep -I -m1 \/usr\/include\/.*\\.h ${WORKDIR}/* -r | cut -f 1 -d ":"` ; do echo Fixing: $foo
Signature · 1 line
1.7.1.1
PATCH 27/52 attr: Fix compilation on uclibc
In reply to Saul WoldFrom: Khem Raj <[email protected]>
It needs -lintl added to LDFLAGS for uclibc
inherit gettext class instead of adding gettext to DEPENDS directly
--- meta/recipes-support/attr/attr.inc | 4 ++++ meta/recipes-support/attr/ea-acl.inc | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-)
meta/recipes-support/attr/attr.inc +4 -0
@@ -20,3 +20,7 @@ do_install_append() { sed -i ${D}${libdir}/libattr.la -e \ s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\', } + +# Only append ldflags for target recipe +LDFLAGS_libc-uclibc += "${@['', '-lintl']['${PN}' == '${BPN}']}" +
meta/recipes-support/attr/ea-acl.inc +1 -3
@@ -1,11 +1,9 @@ # this build system is mostly shared by attr and acl -DEPENDS =+ "gettext" - SRC_URI += "file://relative-libdir.patch;striplevel=0 \ file://no-fixed-prog-path.patch" -inherit autotools +inherit autotools gettext # the package comes with a custom config.h.in, it cannot be # overwritten by autoheader
Signature · 1 line
1.7.1.1
PATCH 28/52 linux-tools.inc: Dummify do_compile_perf and do_install_perf for uclibc
In reply to Saul WoldFrom: Khem Raj <[email protected]>
Perf wants elfutils and elfutils on uclibc does not work due to its usage of obstack_printf functionality missing from uclibc.
--- meta/recipes-kernel/linux/linux-tools.inc | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-)
meta/recipes-kernel/linux/linux-tools.inc +13 -4
@@ -1,6 +1,11 @@ # included by kernel recipes if they want to build/provide # perf functionality from their tree. - +do_compile_perf_libc-uclibc () { + : +} +do_install_perf_libc-uclibc () { + : +} do_compile_perf() { oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} NO_NEWT=1 NO_DWARF=1 }
@@ -14,6 +19,10 @@ do_install_perf() { addtask compile_perf after do_compile before do_install addtask install_perf after do_install before do_package -do_compile_perf[depends] = "virtual/libc:do_populate_sysroot" -do_compile_perf[depends] =+ "elfutils:do_populate_sysroot" -RDEPENDS_perf += "python perl elfutils" + +PERFDEPENDS = "virtual/libc:do_populate_sysroot elfutils:do_populate_sysroot" +PERFDEPENDS_libc-uclibc = "" +PERFRDEPENDS = "python perl elfutils" +PERFRDEPENDS_libc-uclibc = "" +do_compile_perf[depends] = "${PERFDEPENDS}" +RDEPENDS_perf += "${PERFRDEPENDS}"
Signature · 1 line
1.7.1.1
PATCH 29/52 python: add missing cytpes modules
In reply to Saul WoldFrom: Saul Wold <[email protected]>
Contributed by Martin Jansa via OE
Fixes [YOCTO #1003]
--- .../python/06-ctypes-libffi-fix-configure.patch | 58 ++++++++++++++++++++ meta/recipes-devtools/python/python_2.6.6.bb | 3 +- 2 files changed, 60 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-devtools/python/python/06-ctypes-libffi-fix-configure.patch
meta/recipes-devtools/python/python/06-ctypes-libffi-fix-configure.patch new file +58 -0
@@ -0,0 +1,58 @@ +This fixes configure issues with recent autoconf, e.g: + autoreconf: Entering directory `Modules/_ctypes/libffi' + autoreconf: configure.ac: not using Gettext + autoreconf: running: aclocal --force + configure.ac:26: error: m4_copy: won't overwrite defined macro: _AC_ARG_VAR_PRECIOUS + configure.ac:26: the top level + +The problem is still present in python-2.6.5 but fixed in python-svn. + +Upstream-Status: Accepted [python-svn] + +Signed-off-by: Antonio Ospite <[email protected]> +Acked-by: Martin Jansa <[email protected]> +Signed-off-by: Martin Jansa <[email protected]> +Signed-off-by: Saul Wold <[email protected]> + +diff -pruN Python-2.6.4.orig//Modules/_ctypes/libffi/configure.ac Python-2.6.4/Modules/_ctypes/libffi/configure.ac +--- Python-2.6.4.orig//Modules/_ctypes/libffi/configure.ac 2009-04-28 22:01:18.000000000 +0200 ++++ Python-2.6.4/Modules/_ctypes/libffi/configure.ac 2010-04-20 22:46:02.000000000 +0200 +@@ -23,6 +23,7 @@ AM_INIT_AUTOMAKE + m4_rename([_AC_ARG_VAR_PRECIOUS],[real_PRECIOUS]) + m4_define([_AC_ARG_VAR_PRECIOUS],[]) + AC_PROG_CC ++m4_undefine([_AC_ARG_VAR_PRECIOUS]) + m4_rename([real_PRECIOUS],[_AC_ARG_VAR_PRECIOUS]) + + AC_SUBST(CFLAGS) +@@ -366,7 +367,7 @@ test -d src/$TARGETDIR || mkdir src/$TAR + + AC_CONFIG_LINKS(include/ffitarget.h:src/$TARGETDIR/ffitarget.h) + +-AC_CONFIG_FILES(include/ffi.h) ++AC_CONFIG_FILES(include/ffi.h include/Makefile Makefile) + + AC_CONFIG_LINKS(include/ffi_common.h:include/ffi_common.h) + +diff -pruN Python-2.6.4.orig//Modules/_ctypes/libffi/Makefile.am Python-2.6.4/Modules/_ctypes/libffi/Makefile.am +--- Python-2.6.4.orig//Modules/_ctypes/libffi/Makefile.am 2008-03-04 21:09:11.000000000 +0100 ++++ Python-2.6.4/Modules/_ctypes/libffi/Makefile.am 2010-04-20 22:54:03.000000000 +0200 +@@ -2,7 +2,7 @@ + + AUTOMAKE_OPTIONS = foreign subdir-objects + +-SUBDIRS = include testsuite man ++SUBDIRS = include + + EXTRA_DIST = LICENSE ChangeLog.v1 ChangeLog.libgcj configure.host \ + src/alpha/ffi.c src/alpha/osf.S src/alpha/ffitarget.h \ +@@ -32,8 +32,6 @@ EXTRA_DIST = LICENSE ChangeLog.v1 Change + src/frv/ffi.c src/frv/eabi.S src/frv/ffitarget.h src/dlmalloc.c \ + libtool-version ChangeLog.libffi + +-info_TEXINFOS = doc/libffi.texi +- + ## ################################################################ + + ## +
meta/recipes-devtools/python/python_2.6.6.bb +2 -1
@@ -1,7 +1,7 @@ require python.inc DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib" DEPENDS_sharprom = "python-native db readline zlib gdbm openssl" -PR = "${INC_PR}.1" +PR = "${INC_PR}.2" LIC_FILES_CHKSUM = "file://LICENSE;md5=38fdd546420fab09ac6bd3d8a1c83eb6" DISTRO_SRC_URI ?= "file://sitecustomize.py"
@@ -13,6 +13,7 @@ SRC_URI = "\ file://03-fix-tkinter-detection.patch \ file://04-default-is-optimized.patch \ file://05-enable-ctypes-cross-build.patch \ + file://06-ctypes-libffi-fix-configure.patch \ file://06-avoid_usr_lib_termcap_path_in_linking.patch \ file://99-ignore-optimization-flag.patch \ ${DISTRO_SRC_URI} \
Signature · 1 line
1.7.1.1
PATCH 16/52 polkit: upgrade to version 0.101.
In reply to Saul WoldFrom: Dongxiao Xu <[email protected]>
Derive introspection.patch from gobject to fix autoconf issue.
---
.../polkit/polkit-0.101/introspection.patch | 104 ++++++++++++++++++++
.../polkit/{polkit_0.99.bb => polkit_0.101.bb} | 11 +-
2 files changed, 110 insertions(+), 5 deletions(-)
create mode 100644 meta/recipes-extended/polkit/polkit-0.101/introspection.patch
rename meta/recipes-extended/polkit/{polkit_0.99.bb => polkit_0.101.bb} (77%)meta/recipes-extended/polkit/polkit-0.101/introspection.patch new file +104 -0
@@ -0,0 +1,104 @@ +Copied from gobject-introspection/m4/introspection.m4 + +Upstream-Status: Inappropriate [configuration] + +Signed-off-By: Dongxiao Xu <[email protected]> + +diff -ruN polkit-0.101-orig/m4/introspection.m4 polkit-0.101/m4/introspection.m4 +--- polkit-0.101-orig/m4/introspection.m4 1970-01-01 08:00:00.000000000 +0800 ++++ polkit-0.101/m4/introspection.m4 2010-12-06 11:08:16.000000000 +0800 +@@ -0,0 +1,94 @@ ++dnl -*- mode: autoconf -*- ++dnl Copyright 2009 Johan Dahlin ++dnl ++dnl This file is free software; the author(s) gives unlimited ++dnl permission to copy and/or distribute it, with or without ++dnl modifications, as long as this notice is preserved. ++dnl ++ ++# serial 1 ++ ++m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL], ++[ ++ AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first ++ AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first ++ AC_BEFORE([LT_INIT],[$0])dnl setup libtool first ++ ++ dnl enable/disable introspection ++ m4_if([$2], [require], ++ [dnl ++ enable_introspection=yes ++ ],[dnl ++ AC_ARG_ENABLE(introspection, ++ AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]], ++ [Enable introspection for this build]),, ++ [enable_introspection=auto]) ++ ])dnl ++ ++ AC_MSG_CHECKING([for gobject-introspection]) ++ ++ dnl presence/version checking ++ AS_CASE([$enable_introspection], ++ [no], [dnl ++ found_introspection="no (disabled, use --enable-introspection to enable)" ++ ],dnl ++ [yes],[dnl ++ PKG_CHECK_EXISTS([gobject-introspection-1.0],, ++ AC_MSG_ERROR([gobject-introspection-1.0 is not installed])) ++ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], ++ found_introspection=yes, ++ AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME])) ++ ],dnl ++ [auto],[dnl ++ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no) ++ ],dnl ++ [dnl ++ AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@]) ++ ])dnl ++ ++ AC_MSG_RESULT([$found_introspection]) ++ ++ INTROSPECTION_SCANNER= ++ INTROSPECTION_COMPILER= ++ INTROSPECTION_GENERATE= ++ INTROSPECTION_GIRDIR= ++ INTROSPECTION_TYPELIBDIR= ++ if test "x$found_introspection" = "xyes"; then ++ INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` ++ INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` ++ INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` ++ INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` ++ INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)" ++ INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` ++ INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` ++ INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection ++ fi ++ AC_SUBST(INTROSPECTION_SCANNER) ++ AC_SUBST(INTROSPECTION_COMPILER) ++ AC_SUBST(INTROSPECTION_GENERATE) ++ AC_SUBST(INTROSPECTION_GIRDIR) ++ AC_SUBST(INTROSPECTION_TYPELIBDIR) ++ AC_SUBST(INTROSPECTION_CFLAGS) ++ AC_SUBST(INTROSPECTION_LIBS) ++ AC_SUBST(INTROSPECTION_MAKEFILE) ++ ++ AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes") ++]) ++ ++ ++dnl Usage: ++dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version]) ++ ++AC_DEFUN([GOBJECT_INTROSPECTION_CHECK], ++[ ++ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1]) ++]) ++ ++dnl Usage: ++dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version]) ++ ++ ++AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE], ++[ ++ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require]) ++])
meta/recipes-extended/polkit/polkit_0.101.bb renamed from meta/recipes-extended/polkit/polkit_0.99.bb +6 -5
@@ -4,10 +4,11 @@ HOMEPAGE = "http://code.google.com/p/polkit/" LICENSE = "LGPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb \ file://src/polkit/polkit.h;beginline=1;endilne=20;md5=9f797b8912dac8a806be820c14e783f8 \ - file://docs/polkit/html/license.html;md5=54750ec6ece444c50b823234d445dd99" + file://docs/polkit/html/license.html;md5=07ddbf5f29e44c80c99be19c1690ec1f" -SRC_URI = "http://hal.freedesktop.org/releases/polkit-${PV}.tar.gz" -PR = "r1" +SRC_URI = "http://hal.freedesktop.org/releases/polkit-${PV}.tar.gz \ + file://introspection.patch" +PR = "r0" DEPENDS = "libpam expat dbus-glib eggdbus intltool" RDEPENDS_${PN} = "libpam" EXTRA_OECONF = "--with-authfw=pam --with-os-type=moblin --disable-man-pages --disable-gtk-doc --disable-introspection"
@@ -19,5 +20,5 @@ FILES_${PN} += "${libdir}/${PN}-1/extensions/*.so \ ${datadir}/dbus-1/system-services/*" FILES_${PN}-dbg += "${libdir}/${PN}-1/extensions/.debug/*.so" -SRC_URI[md5sum] = "fcc4d7b19c08ad54d3ce0eae0ab12398" -SRC_URI[sha256sum] = "f612c7c26ec822f67751420057a4ae113fc50ab51070758faacf2ad30bb3583f" +SRC_URI[md5sum] = "f925ac93aba3c072977370c1e27feb7f" +SRC_URI[sha256sum] = "927f65760e4fce23d7cdeae90245c22986eb0a39335a344915302158f73f9f1b"
Signature · 1 line
1.7.1.1
PATCH 30/52 cdrtools: recipe and patch cleanup
In reply to Saul WoldFrom: Scott Garman <[email protected]>
* Recipe cleanup, added missing metadata fields and fixed whitespace issues
* Added Upstream-Status to patches
* Confirmed that CVE-2003-0655 does not apply to this recipe as rscsi is not packaged
--- .../cdrtools-native/glibc-conflict-rename.patch | 8 +++++++ .../cdrtools/cdrtools-native/no_usr_src.patch | 7 ++++++ .../cdrtools/cdrtools-native_2.01.bb | 22 +++++++++++-------- 3 files changed, 28 insertions(+), 9 deletions(-)
meta/recipes-devtools/cdrtools/cdrtools-native/glibc-conflict-rename.patch +8 -0
@@ -1,3 +1,11 @@ +This patch fixes collisions between locally defined functions +and glibc's fexecve() and getline() functions. + +Upstream-Status: Inappropriate [Other] +Upstream no longer maintains a GPL version of this utility. + +Signed-off-by: Scott Garman <[email protected]> + Index: cdrtools-2.01/include/schily.h =================================================================== --- cdrtools-2.01.orig/include/schily.h 2009-06-18 11:30:45.000000000 +0100
meta/recipes-devtools/cdrtools/cdrtools-native/no_usr_src.patch +7 -0
@@ -1,3 +1,10 @@ +Remove hard-coded references to /usr/src/linux/include to avoid +host contamination. + +Upstream-Status: [Other (build-system specific)] + +Signed-off-by: Scott Garman <[email protected]> + Index: cdrtools-2.01/DEFAULTS/Defaults.gnu =================================================================== --- cdrtools-2.01.orig/DEFAULTS/Defaults.gnu 2008-09-22 12:42:12.000000000 +0100
meta/recipes-devtools/cdrtools/cdrtools-native_2.01.bb +13 -9
@@ -1,21 +1,25 @@ # cdrtools-native OE build file # Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved # Released under the MIT license (see packages/COPYING) - -LICENSE="GPL" -DESCRIPTION="A set of tools for CD recording, including cdrecord" -HOMEPAGE="http://cdrecord.berlios.de/old/private/cdrecord.html" +SUMMARY = "A set of tools for CD recording, including cdrecord" +DESCRIPTION = "A set of tools for CD recording, including cdrecord" +HOMEPAGE = "http://cdrecord.berlios.de/private/cdrecord.html" +SECTION = "console/utils" +PRIORITY = "optional" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" PR = "r2" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +SRC_URI = "ftp://ftp.berlios.de/pub/cdrecord/cdrtools-${PV}.tar.bz2 \ + file://no_usr_src.patch \ + file://glibc-conflict-rename.patch" -SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/cdrtools-${PV}.tar.bz2 \ - file://no_usr_src.patch;patch=1 \ - file://glibc-conflict-rename.patch;patch=1" +SRC_URI[md5sum] = "d44a81460e97ae02931c31188fe8d3fd" +SRC_URI[sha256sum] = "728b6175069a77c4d7d92ae60108cbda81fbbf7bc7aa02e25153ccf2092f6c22" inherit native -STAGE_TEMP="${WORKDIR}/image-temp" +STAGE_TEMP = "${WORKDIR}/image-temp" do_install() { install -d ${STAGE_TEMP}
Signature · 1 line
1.7.1.1
PATCH 31/52 distro_tracking_fields.inc: add cdrtools recipe
In reply to Saul WoldFrom: Scott Garman <[email protected]>
--- .../conf/distro/include/distro_tracking_fields.inc | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)
meta/conf/distro/include/distro_tracking_fields.inc +11 -0
@@ -5676,3 +5676,14 @@ RECIPE_STATUS_pn-createrepo = "green" RECIPE_LATEST_VERSION_pn-createrepo = "2.2.3" RECIPE_MAINTAINER_pn-createrepo = "Qing He <[email protected]>" RECIPE_LAST_UPDATE_pn-createrepo = "Apr 6, 2011" + +RECIPE_STATUS_pn-cdrtools = "green" +RECIPE_DEPENDENCY_CHECK_pn-cdrtools = "not done" +RECIPE_LATEST_VERSION_pn-cdrtools = "3.00" +RECIPE_NO_UPDATE_REASON_pn-cdrtools = "v3.x uses incompatible CDDL license" +RECIPE_NO_OF_PATCHES_pn-cdrtools = "2" +RECIPE_LATEST_RELEASE_DATE_pn-cdrtools = "2010/06/02" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-cdrtools = "6 years 2 months" +RECIPE_COMMENTS_pn-cdrtools = "This is the last GPL licensed version of cdrtools" +RECIPE_LAST_UPDATE_pn-cdrtools = "Apr 25, 2011" +RECIPE_MAINTAINER_pn-cdrtools = "Scott Garman <[email protected]>"
Signature · 1 line
1.7.1.1
PATCH 32/52 logging: fix oedebug loglevel test
In reply to Saul WoldFrom: Darren Hart <[email protected]>
When the existing test for loglevel fails, the syntax used results in the recipe exiting with a silent failure. Performing any bash command after the test block resolves the problem, such as "shift" or "echo ''". Rewriting with 'if []; then' blocks provides a cleaner syntax and also resolves the failure.
--- meta/classes/base.bbclass | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
meta/classes/base.bbclass +4 -4
@@ -53,15 +53,15 @@ oefatal() { } oedebug() { - test $# -ge 2 || { + if [ $# -lt 2]; then echo "Usage: oedebug level \"message\"" exit 1 - } + fi - test ${OEDEBUG:-0} -ge $1 && { + if [ ${OEDEBUG:-0} -ge $1 ]; then shift echo "DEBUG:" $* - } + fi } oe_runmake() {
Signature · 1 line
1.7.1.1
PATCH 33/52 logging: remove unused BBDEBUG from local.conf.sample
In reply to Saul WoldFrom: Darren Hart <[email protected]>
The boolean BBDEBUG described in local.conf.sample is no longer referenced by any other sources. It also conflicts with the OS environment variable of the same name which maps to the debug log level also specified by the -D[D[D]] argument.
Remove the boolean BBDEBUG from local.conf.sample.
--- meta/conf/local.conf.sample | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
meta/conf/local.conf.sample +0 -2
@@ -115,8 +115,6 @@ PACKAGE_DEBUG_SPLIT_STYLE = '.debug' # SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}" # LDFLAGS =+ "-pg" -# Uncomment this if you want BitBake to emit debugging output -# BBDEBUG = "yes" # Uncomment this if you want BitBake to emit the log if a build fails. BBINCLUDELOGS = "yes"
Signature · 1 line
1.7.1.1
PATCH 36/52 gettext.bbclass: Use _append instead of =+
In reply to Saul WoldFrom: Khem Raj <[email protected]>
Ensure gettext and gettext-native are removed from DEPENDS when not using NLS
Use append instead of += to get gettext dependecies processed correctly in all cases
Dont remove gettext-native for native recipes as ENABLE_NLS is only for target and not for native recipes
Replace using 1 for a boolean type with True
Honor INHIBIT_DEFAULT_DEPS
Remove the added dependencies for gettext if INHIBIT_DEFAULT_DEPS is non null
operate on virtclass overrides individually
virtclass classes are parsed at the end hence
just doing DEPENDS munging is not enough since
it will be overridden
--- meta/classes/gettext.bbclass | 38 ++++++++++++++++++++++++++------------ 1 files changed, 26 insertions(+), 12 deletions(-)
meta/classes/gettext.bbclass +26 -12
@@ -1,17 +1,31 @@ def gettext_after_parse(d): - # Remove the NLS bits if USE_NLS is no. - if bb.data.getVar('USE_NLS', d, 1) == 'no': - cfg = oe_filter_out('^--(dis|en)able-nls$', bb.data.getVar('EXTRA_OECONF', d, 1) or "", d) - cfg += " --disable-nls" - depends = bb.data.getVar('DEPENDS', d, 1) or "" - bb.data.setVar('DEPENDS', oe_filter_out('^(virtual/libiconv|virtual/libintl)$', depends, d), d) - bb.data.setVar('EXTRA_OECONF', cfg, d) - + # Remove the NLS bits if USE_NLS is no. + if bb.data.getVar('USE_NLS', d, True) == 'no': + cfg = oe_filter_out('^--(dis|en)able-nls$', bb.data.getVar('EXTRA_OECONF', d, 1) or "", d) + cfg += " --disable-nls" + depends = bb.data.getVar('DEPENDS', d, True) or "" + depends = oe_filter_out('^(virtual/libiconv|virtual/libintl|virtual/gettext|gettext)$', depends, d) + if not oe.utils.inherits(d, 'native', 'nativesdk', 'cross', 'crosssdk'): + depends = oe_filter_out('^(gettext-native)$', depends, d) + bb.data.setVar('DEPENDS', depends, d) + bb.data.setVar('EXTRA_OECONF', cfg, d) + # check if INHIBIT_DEFAULT_DEPS is 1 then we forcibly remove dependencies + # added by this class through DEPENDS_GETTEXT + if bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True): + depends_native = bb.data.getVar('DEPENDS_virtclass-native', d, True) or "" + depends_nativesdk = bb.data.getVar('DEPENDS_virtclass-nativesdk', d, True) or "" + depends = bb.data.getVar('DEPENDS', d, True) or "" + gettext_deps = bb.data.getVar('DEPENDS_GETTEXT', d, True).replace(' ','|') + gettext_deps = '^(' + gettext_deps + ')$' + depends_native = oe_filter_out(gettext_deps, depends_native, d) + depends_nativesdk = oe_filter_out(gettext_deps, depends_nativesdk, d) + depends = oe_filter_out(gettext_deps, depends, d) + bb.data.setVar('DEPENDS_virtclass-native', depends, d) + bb.data.setVar('DEPENDS_virtclass-nativesdk', depends, d) + bb.data.setVar('DEPENDS', depends, d) python () { gettext_after_parse(d) } - -DEPENDS_GETTEXT = "gettext gettext-native" - -DEPENDS =+ "${DEPENDS_GETTEXT}" EXTRA_OECONF += "--enable-nls" +DEPENDS_GETTEXT ?= "virtual/gettext" +DEPENDS_append = " ${DEPENDS_GETTEXT} "
Signature · 1 line
1.7.1.1
PATCH 37/52 insane.bbclass: Move code to add function to tasks toward the end
In reply to Saul WoldFrom: Khem Raj <[email protected]>
Cosmetic change to make syntax highlighters happy
--- meta/classes/insane.bbclass | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-)
meta/classes/insane.bbclass +8 -7
@@ -554,9 +554,6 @@ python do_package_qa () { } -# The Staging Func, to check all staging -#addtask qa_staging after do_populate_sysroot before do_build -do_populate_sysroot[postfuncs] += "do_qa_staging " python do_qa_staging() { bb.note("QA checking staging")
@@ -564,10 +561,6 @@ python do_qa_staging() { bb.fatal("QA staging was broken by the package built above") } -# Check broken config.log files, for packages requiring Gettext which don't -# have it in DEPENDS and for correct LIC_FILES_CHKSUM -#addtask qa_configure after do_configure before do_compile -do_configure[postfuncs] += "do_qa_configure " python do_qa_configure() { configs = [] workdir = bb.data.getVar('WORKDIR', d, True)
@@ -603,3 +596,11 @@ Missing inherit gettext?""" % config) if not package_qa_check_license(workdir, d): bb.fatal("Licensing Error: LIC_FILES_CHKSUM does not match, please fix") } +# The Staging Func, to check all staging +#addtask qa_staging after do_populate_sysroot before do_build +do_populate_sysroot[postfuncs] += "do_qa_staging " + +# Check broken config.log files, for packages requiring Gettext which don't +# have it in DEPENDS and for correct LIC_FILES_CHKSUM +#addtask qa_configure after do_configure before do_compile +do_configure[postfuncs] += "do_qa_configure "
Signature · 1 line
1.7.1.1
PATCH 34/52 logging: add bb* logging mechanisms for bash recipe functions
In reply to Saul WoldFrom: Darren Hart <[email protected]>
The following logging mechanisms are to be used in bash functions of recipes. They are intended to map one to one in intention and output format with the python recipe logging functions of a similar naming convention: bb.plain(), bb.note(), etc.
For the time being, all of these print only to the task logs. Future enhancements may integrate these calls with the bitbake logging infrastructure, allowing for printing to the console as appropriate. The interface and intention statements reflect that future goal. Once it is in place, no changes will be necessary to recipes using these logging mechanisms.
I opted to write new functions instead of modifying the oe* logging functions from base.bbclass (and utils.bbclass in oe) for a couple reasons. First, one of my goals was to generate a uniform logging API between bash and python in recipes. Second, there are no users of oe* logging in meta (oe-core) or meta-yocto, while several oe recipes do use them. I wanted to make a clean start with the freedom to change behavior without forcing the oe recipes to change or experience unexpected logging changes. Eventually, the oe recipes can be migrated to the new bb* logging routines and the existing oe* routines can be retired (deleted).
--- meta/classes/base.bbclass | 1 + meta/classes/logging.bbclass | 72 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+), 0 deletions(-) create mode 100644 meta/classes/logging.bbclass
meta/classes/base.bbclass +1 -0
@@ -8,6 +8,7 @@ inherit utils inherit utility-tasks inherit metadata_scm inherit buildstats +inherit logging python sys_path_eh () { if isinstance(e, bb.event.ConfigParsed):
meta/classes/logging.bbclass new file +72 -0
72 lines not on this page · raw message
Signature · 1 line
1.7.1.1
PATCH 38/52 insane.bbclass: Checking for NLS too when checking gettext dependency
In reply to Saul WoldFrom: Khem Raj <[email protected]>
Checking for gettext is not needed when --disable-nls is used
Let user know what variant of gettext is missing e.g. gettext-native, gettext-nativesdk etc, reveals a bit more for user
Check for virtual/gettext
--- meta/classes/insane.bbclass | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-)
meta/classes/insane.bbclass +5 -4
@@ -578,20 +578,21 @@ Rerun configure task after fixing this. The path was '%s'""" % root) if "configure.in" in files: configs.append(os.path.join(root, "configure.in")) - if "gettext" not in bb.data.getVar('P', d, True) and "gcc-runtime" not in bb.data.getVar('P', d, True): + cnf = bb.data.getVar('EXTRA_OECONF', d, True) or "" + if "gettext" not in bb.data.getVar('P', d, True) and "gcc-runtime" not in bb.data.getVar('P', d, True) and "--disable-nls" not in cnf: if bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherits_class('nativesdk', d): gt = "gettext-native" elif bb.data.inherits_class('cross-canadian', d): gt = "gettext-nativesdk" else: - gt = "gettext" + gt = "virtual/gettext" deps = bb.utils.explode_deps(bb.data.getVar('DEPENDS', d, True) or "") if gt not in deps: for config in configs: gnu = "grep \"^[[:space:]]*AM_GNU_GETTEXT\" %s >/dev/null" % config if os.system(gnu) == 0: - bb.fatal("""Gettext required but not in DEPENDS for file %s. -Missing inherit gettext?""" % config) + bb.fatal("""%s required but not in DEPENDS for file %s. +Missing inherit gettext?""" % (gt, config)) if not package_qa_check_license(workdir, d): bb.fatal("Licensing Error: LIC_FILES_CHKSUM does not match, please fix")
Signature · 1 line
1.7.1.1
PATCH 41/52 gettext_0.17.bb: PROVIDE virtual/gettext and RCONFLICT with proxy-libintl
In reply to Saul WoldFrom: Khem Raj <[email protected]>
--- meta/recipes-core/gettext/gettext_0.17.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/gettext/gettext_0.17.bb +2 -2
@@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" PR = "r5" DEPENDS = "gettext-native virtual/libiconv ncurses expat" DEPENDS_virtclass-native = "" -PROVIDES = "virtual/libintl" +PROVIDES = "virtual/libintl virtual/gettext" PROVIDES_virtclass-native = "" - +CONFLICTS_${PN} = "proxy-libintl" SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ file://autotools.patch;patch=1 \ file://wchar-uclibc.patch;patch=1 \
Signature · 1 line
1.7.1.1
PATCH 42/52 poky-default.inc: Weakly assign gettext to provide virtual/gettext
In reply to Saul WoldFrom: Khem Raj <[email protected]>
--- meta/conf/distro/include/poky-default.inc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
meta/conf/distro/include/poky-default.inc +1 -0
@@ -14,6 +14,7 @@ PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}compilerlibs = "gcc-runtime" PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-initial = "${POKYLIBC}-initial" PREFERRED_PROVIDER_virtual/${SDK_PREFIX}libc-for-gcc-nativesdk ?= "${POKYLIBC}-nativesdk" +PREFERRED_PROVIDER_virtual/gettext ??= "gettext" GCCVERSION ?= "4.5.1" SDKGCCVERSION ?= "4.5.1"
Signature · 1 line
1.7.1.1
PATCH 35/52 libsdl: add SRC_URI Checksums
In reply to Saul WoldFrom: Saul Wold <[email protected]>
--- .../libsdl/libsdl-nativesdk_1.2.11.bb | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
meta/recipes-graphics/libsdl/libsdl-nativesdk_1.2.11.bb +3 -0
@@ -14,6 +14,9 @@ SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ file://kernel-asm-page.patch;patch=1 " S = "${WORKDIR}/SDL-${PV}" +SRC_URI[md5sum] = "418b42956b7cd103bfab1b9077ccc149" +SRC_URI[sha256sum] = "6985823287b224b57390b1c1b6cbc54cc9a7d7757fbf9934ed20754b4cd23730" + inherit autotools binconfig pkgconfig nativesdk EXTRA_OECONF = "--disable-static --disable-debug --disable-cdrom --enable-threads --enable-timers --enable-endian \
Signature · 1 line
1.7.1.1
PATCH 39/52 autotools.bbclass: Copy gettext files only if --disable-nls is not set
In reply to Saul WoldFrom: Khem Raj <[email protected]>
--- meta/classes/autotools.bbclass | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-)
meta/classes/autotools.bbclass +10 -9
@@ -127,17 +127,18 @@ autotools_do_configure() { else CONFIGURE_AC=configure.ac fi - if grep "^[[:space:]]*AM_GLIB_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then - if grep "sed.*POTFILES" $CONFIGURE_AC >/dev/null; then - : do nothing -- we still have an old unmodified configure.ac - else - oenote Executing glib-gettextize --force --copy - echo "no" | glib-gettextize --force --copy + if ! echo ${EXTRA_OECONF} | grep -q "\-\-disable-nls"; then + if grep "^[[:space:]]*AM_GLIB_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then + if grep "sed.*POTFILES" $CONFIGURE_AC >/dev/null; then + : do nothing -- we still have an old unmodified configure.ac + else + oenote Executing glib-gettextize --force --copy + echo "no" | glib-gettextize --force --copy + fi + else if grep "^[[:space:]]*AM_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then + cp ${STAGING_DATADIR}/gettext/config.rpath ${S}/ fi - else if grep "^[[:space:]]*AM_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then - cp ${STAGING_DATADIR}/gettext/config.rpath ${S}/ fi - fi mkdir -p m4 if grep "^[[:space:]]*[AI][CT]_PROG_INTLTOOL" $CONFIGURE_AC >/dev/null; then
Signature · 1 line
1.7.1.1
PATCH 43/52 glib-2.0: Inherit gettext should provide right libintl so remove from DEPENDS
In reply to Saul WoldFrom: Khem Raj <[email protected]>
Add no-iconv.patch to provide dummy libiconv in case of uclibc
--- meta/recipes-core/glib-2.0/glib-2.0/no-iconv.patch | 104 ++++++++++++++++++++ meta/recipes-core/glib-2.0/glib-2.0_2.27.5.bb | 5 +- meta/recipes-core/glib-2.0/glib-2.0_2.28.6.bb | 4 +- meta/recipes-core/glib-2.0/glib.inc | 2 +- 4 files changed, 112 insertions(+), 3 deletions(-) create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/no-iconv.patch
meta/recipes-core/glib-2.0/glib-2.0/no-iconv.patch new file +104 -0
@@ -0,0 +1,104 @@ +We provide dummy implementation of iconv functionality if it does not find +iconv which will be case with uclibc. We remove the check for iconv in configure + +This is needed when libintl and libiconv is not available. It wont have any +impact on case when they are available. + +Signed-off-by: Khem Raj <[email protected]> + + +Index: glib-2.26.1/glib/gconvert.c +=================================================================== +--- glib-2.26.1.orig/glib/gconvert.c ++++ glib-2.26.1/glib/gconvert.c +@@ -23,7 +23,7 @@ + #include "config.h" + #include "glibconfig.h" + +-#ifndef G_OS_WIN32 ++#if !defined G_OS_WIN32 && defined HAVE_ICONV_H + #include <iconv.h> + #endif + #include <errno.h> +@@ -65,6 +65,28 @@ + #error GNU libiconv not in use but included iconv.h is from libiconv + #endif + ++#ifndef HAVE_ICONV_H ++typedef void *iconv_t; ++ ++iconv_t iconv_open(const char *tocode, const char *fromcode) ++{ ++ return (iconv_t)(-1); ++} ++ ++int iconv_close(iconv_t cd) ++{ ++ free(cd); ++ ++ return 0; ++} ++size_t iconv (iconv_t __cd, char **__inbuf, ++ size_t *__inbytesleft, ++ char **__outbuf, ++ size_t *__outbytesleft) ++{ ++ return 0; ++} ++#endif + + /** + * SECTION:conversions +Index: glib-2.26.1/configure.ac +=================================================================== +--- glib-2.26.1.orig/configure.ac ++++ glib-2.26.1/configure.ac +@@ -373,46 +373,8 @@ dnl *** Tests for iconv *** + dnl *********************** + dnl + dnl We do this before the gettext checks, to avoid distortion +- +-dnl On Windows we use a native implementation +- +-if test x"$glib_native_win32" = xyes; then +- with_libiconv=native +-else +- AC_ARG_WITH(libiconv, +- [AC_HELP_STRING([--with-libiconv=@<:@no/gnu/native@:>@], +- [use the libiconv library])],, +- [with_libiconv=maybe]) +- +- found_iconv=no +- case $with_libiconv in +- maybe) +- # Check in the C library first +- AC_CHECK_FUNC(iconv_open, [with_libiconv=no; found_iconv=yes]) +- # Check if we have GNU libiconv +- if test $found_iconv = "no"; then +- AC_CHECK_LIB(iconv, libiconv_open, [with_libiconv=gnu; found_iconv=yes]) +- fi +- # Check if we have a iconv in -liconv, possibly from vendor +- if test $found_iconv = "no"; then +- AC_CHECK_LIB(iconv, iconv_open, [with_libiconv=native; found_iconv=yes]) +- fi +- ;; +- no) +- AC_CHECK_FUNC(iconv_open, [with_libiconv=no; found_iconv=yes]) +- ;; +- gnu|yes) +- AC_CHECK_LIB(iconv, libiconv_open, [with_libiconv=gnu; found_iconv=yes]) +- ;; +- native) +- AC_CHECK_LIB(iconv, iconv_open, [with_libiconv=native; found_iconv=yes]) +- ;; +- esac +- +- if test "x$found_iconv" = "xno" ; then +- AC_MSG_ERROR([*** No iconv() implementation found in C library or libiconv]) +- fi +-fi ++found_iconv=yes ++with_libiconv=no + + gl_GLIBC21 + AC_ARG_ENABLE(iconv-cache,
meta/recipes-core/glib-2.0/glib-2.0_2.27.5.bb +4 -1
@@ -1,6 +1,6 @@ require glib.inc -PR = "r3" +PR = "r4" SRC_URI = "${GNOME_MIRROR}/glib/2.27/glib-${PV}.tar.bz2 \ file://configure-libtool.patch \
@@ -13,6 +13,9 @@ SRC_URI[sha256sum] = "aad3038db865b762e01b1dc455ffd601b4083c069018d290e5fdfe1a61 SRC_URI_append_virtclass-native = " file://glib-gettextize-dir.patch" +# Only apply this patch for target recipe on uclibc +SRC_URI_append_libc-uclibc = " ${@['', 'file://no-iconv.patch']['${PN}' == '${BPN}']}" + BBCLASSEXTEND = "native nativesdk" DEFAULT_PREFERENCE = "-1"
meta/recipes-core/glib-2.0/glib-2.0_2.28.6.bb +3 -1
@@ -1,13 +1,15 @@ require glib.inc PE = "1" -PR = "r0" +PR = "r1" SRC_URI = "${GNOME_MIRROR}/glib/2.28/glib-${PV}.tar.bz2 \ file://configure-libtool.patch \ file://60_wait-longer-for-threads-to-die.patch \ file://g_once_init_enter.patch \ " +# Only apply this patch for target recipe on uclibc +SRC_URI_append_libc-uclibc = " ${@['', 'file://no-iconv.patch']['${PN}' == '${BPN}']}" SRC_URI[md5sum] = "7d8fc15ae70d5111c0cf2a79d50ef717" SRC_URI[sha256sum] = "557fb7c39d21b9359fbac51fd6b0b883bc97a2561c0166eef993a4078312f578"
meta/recipes-core/glib-2.0/glib.inc +1 -1
@@ -15,7 +15,7 @@ SECTION = "libs" require glib-2.0.inc -DEPENDS = "glib-2.0-native gtk-doc-native virtual/libiconv virtual/libintl zip dbus" +DEPENDS = "glib-2.0-native gtk-doc-native zip dbus" DEPENDS_virtclass-native = "gtk-doc-native pkgconfig-native gettext-native dbus-native" DEPENDS_virtclass-nativesdk = "libtool-nativesdk" PACKAGES =+ "glib-2.0-utils "
Signature · 1 line
1.7.1.1
PATCH 44/52 util-linux.inc: remove virtual/libintl from DEPENDS
In reply to Saul WoldFrom: Khem Raj <[email protected]>
inherit gettext should do it.
--- meta/recipes-core/util-linux/util-linux.inc | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-core/util-linux/util-linux.inc +3 -3
@@ -13,10 +13,10 @@ LIC_FILES_CHKSUM = "file://README.licensing;md5=1530e36fe1304d4535513de90a290df9 file://licenses/COPYING.UCB;md5=263860f8968d8bafa5392cab74285262 \ file://getopt/COPYING;md5=8ca43cbc842c2336e835926c2166c28b" -DEPENDS = "zlib ncurses virtual/libintl" -DEPENDS_virtclass-native = "zlib-native ncurses-native lzo-native gettext-native" - inherit autotools gettext +DEPENDS = "zlib ncurses" +DEPENDS_virtclass-native_append = " lzo-native" + SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux-ng/v${MAJOR_VERSION}/util-linux-ng-${PV}.tar.bz2 \ file://MCONFIG \
Signature · 1 line
1.7.1.1
PATCH 40/52 gettext: Divide packaging into gettext-runtime and rest
In reply to Saul WoldFrom: Khem Raj <[email protected]>
This helps in footprint on space constrained systems e.g. uclibc based systems where packaging full gettext just for libintl can be waste of space.
--- meta/recipes-core/gettext/gettext_0.17.bb | 35 +++++++++++++++++++++++++--- 1 files changed, 31 insertions(+), 4 deletions(-)
meta/recipes-core/gettext/gettext_0.17.bb +31 -4
@@ -53,9 +53,36 @@ acpaths = '-I ${S}/autoconf-lib-link/m4/ \ # 1300 KiB /ep93xx/uclibc-dev_0.9.29-r8_ep93xx.ipk # 140 KiB /armv4t/gettext-dev_0.14.1-r6_armv4t.ipk # 4 KiB /ep93xx/libgcc-s-dev_4.2.2-r2_ep93xx.ipk +PACKAGES =+ "gettext-runtime gettext-runtime-dev gettext-runtime-doc" -PACKAGES =+ "libgettextlib libgettextsrc" -FILES_libgettextlib = "${libdir}/libgettextlib-*.so*" -FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*" - +FILES_gettext-runtime = "${bindir}/gettext \ + ${bindir}/ngettext \ + ${bindir}/envsubst \ + ${bindir}/gettext.sh \ + ${libdir}/libasprintf.so* \ + ${libdir}/GNU.Gettext.dll \ + " +FILES_gettext-runtime_append_libc-uclibc = " ${libdir}/libintl.so* \ + ${libdir}/charset.alias \ + " +FILES_gettext-runtime-dev += "${libdir}/libasprintf.a \ + ${includedir}/autosprintf.h \ + " +FILES_gettext-runtime-dev_append_libc-uclibc = " ${libdir}/libintl.a \ + ${includedir}/libintl.h \ + " +FILES_gettext-runtime-doc = "${mandir}/man1/gettext.* \ + ${mandir}/man1/ngettext.* \ + ${mandir}/man1/envsubst.* \ + ${mandir}/man1/.* \ + ${mandir}/man3/* \ + ${docdir}/gettext/gettext.* \ + ${docdir}/gettext/ngettext.* \ + ${docdir}/gettext/envsubst.* \ + ${docdir}/gettext/*.3.html \ + ${datadir}/gettext/ABOUT-NLS \ + ${docdir}/gettext/csharpdoc/* \ + ${docdir}/libasprintf/autosprintf.html \ + ${infodir}/autosprintf.info \ + " BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
1.7.1.1
PATCH 47/52 clutter-box2d: add DEPENDS for clutter-1.6
In reply to Saul WoldFrom: Saul Wold <[email protected]>
--- .../clutter/clutter-box2d-1.6_0.10.0.bb | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
meta/recipes-graphics/clutter/clutter-box2d-1.6_0.10.0.bb +2 -0
@@ -2,6 +2,8 @@ require clutter-box2d.inc PR = "r0" +DEPENDS += "clutter-1.6" + SRC_URI = "http://source.clutter-project.org/sources/clutter-box2d/0.10/clutter-box2d-${PV}.tar.bz2 \ file://fix-disable-introspection.patch"
Signature · 1 line
1.7.1.1
PATCH 46/52 alsa-utils_1.0.23.bb: Fix compilation for uclibc targets
In reply to Saul WoldFrom: Khem Raj <[email protected]>
Use libc-uclibc override to cover all uclibc cases
inherit gettext class instead of adding gettext to DEPENDS directly
--- .../recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-)
meta/recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb +4 -5
@@ -5,11 +5,11 @@ SECTION = "console/utils" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \ file://alsactl/utils.c;beginline=1;endline=20;md5=fe9526b055e246b5558809a5ae25c0b9" -DEPENDS = "alsa-lib ncurses gettext" +DEPENDS = "alsa-lib ncurses" PR = "r0" SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2 \ - file://ncursesfix.patch;patch=1 " + file://ncursesfix.patch" SRC_URI[md5sum] = "8238cd57cb301d1c36bcf0ecb59ce6b2" SRC_URI[sha256sum] = "95127f740291086486c06c28118cabca0814bde48fd14dac041a9812a5ac1be2"
@@ -19,10 +19,9 @@ SRC_URI[sha256sum] = "95127f740291086486c06c28118cabca0814bde48fd14dac041a9812a5 # please close bug and remove this comment when properly fixed # EXTRA_OECONF = "--disable-xmlto" -EXTRA_OECONF_linux-uclibc = "--disable-nls" -EXTRA_OECONF_linux-uclibcgnueabi = "--disable-nls" +EXTRA_OECONF_append_libc-uclibc = " --disable-nls" -inherit autotools +inherit autotools gettext # This are all packages that we need to make. Also, the now empty alsa-utils # ipk depend on them.
Signature · 1 line
1.7.1.1
PATCH 48/52 table: move old clutter demo to meta-demoapps
In reply to Saul WoldFrom: Saul Wold <[email protected]>
---
.../recipes-graphics/clutter/table.inc | 0
.../recipes-graphics/clutter/table/fixes.patch | 0
.../recipes-graphics/clutter/table_git.bb | 0
3 files changed, 0 insertions(+), 0 deletions(-)
rename {meta => meta-demoapps}/recipes-graphics/clutter/table.inc (100%)
rename {meta => meta-demoapps}/recipes-graphics/clutter/table/fixes.patch (100%)
rename {meta => meta-demoapps}/recipes-graphics/clutter/table_git.bb (100%)meta-demoapps/recipes-graphics/clutter/table.inc renamed from meta/recipes-graphics/clutter/table.inc +0 -0
meta-demoapps/recipes-graphics/clutter/table/fixes.patch renamed from meta/recipes-graphics/clutter/table/fixes.patch +0 -0
meta-demoapps/recipes-graphics/clutter/table_git.bb renamed from meta/recipes-graphics/clutter/table_git.bb +0 -0
Signature · 1 line
1.7.1.1
PATCH 49/52 tidy: move old clutter demo to meta-demoapps
In reply to Saul WoldFrom: Saul Wold <[email protected]>
---
.../recipes-graphics/clutter/tidy.inc | 0
.../recipes-graphics/clutter/tidy/autofoo.patch | 0
.../clutter/tidy/tidy-enable-tests.patch | 0
.../recipes-graphics/clutter/tidy_git.bb | 0
4 files changed, 0 insertions(+), 0 deletions(-)
rename {meta => meta-demoapps}/recipes-graphics/clutter/tidy.inc (100%)
rename {meta => meta-demoapps}/recipes-graphics/clutter/tidy/autofoo.patch (100%)
rename {meta => meta-demoapps}/recipes-graphics/clutter/tidy/tidy-enable-tests.patch (100%)
rename {meta => meta-demoapps}/recipes-graphics/clutter/tidy_git.bb (100%)meta-demoapps/recipes-graphics/clutter/tidy.inc renamed from meta/recipes-graphics/clutter/tidy.inc +0 -0
meta-demoapps/recipes-graphics/clutter/tidy/autofoo.patch renamed from meta/recipes-graphics/clutter/tidy/autofoo.patch +0 -0
meta-demoapps/recipes-graphics/clutter/tidy/tidy-enable-tests.patch renamed from meta/recipes-graphics/clutter/tidy/tidy-enable-tests.patch +0 -0
meta-demoapps/recipes-graphics/clutter/tidy_git.bb renamed from meta/recipes-graphics/clutter/tidy_git.bb +0 -0
Signature · 1 line
1.7.1.1
PATCH 51/52 world-broken: add older clutters since we don't want clutter confusion
In reply to Saul WoldFrom: Saul Wold <[email protected]>
--- meta/conf/distro/include/world-broken.inc | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-)
meta/conf/distro/include/world-broken.inc +6 -3
@@ -1,13 +1,16 @@ # # Exclude known broken packages # -EXCLUDE_FROM_WORLD_pn-psb-kernel-source = "1" EXCLUDE_FROM_WORLD_pn-gobject-introspection = "1" # Need bzr EXCLUDE_FROM_WORLD_pn-eds-tools = "1" # Need Updates from Clutter 0.8 -EXCLUDE_FROM_WORLD_pn-tidy = "1" -EXCLUDE_FROM_WORLD_pn-table = "1" EXCLUDE_FROM_WORLD_pn-clutter-box2d = "1" + +# Don't build older versions of clutter +EXCLUDE_FROM_WORLD_pn-clutter = "1" +EXCLUDE_FROM_WORLD_pn-clutter-1.4 = "1" +EXCLUDE_FROM_WORLD_pn-clutter-gst-1.4 = "1" +EXCLUDE_FROM_WORLD_pn-clutter-gtk-1.4 = "1"
Signature · 1 line
1.7.1.1
PATCH 52/52 qemu: Fix non-sdl/opengl build
In reply to Saul WoldFrom: Saul Wold <[email protected]>
--- .../qemu/qemu-0.14.0/opengl-sdl-fix.patch | 41 ++++++++++++++++++++ meta/recipes-devtools/qemu/qemu.inc | 2 + meta/recipes-devtools/qemu/qemu_0.14.0.bb | 3 +- 3 files changed, 45 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-devtools/qemu/qemu-0.14.0/opengl-sdl-fix.patch
meta/recipes-devtools/qemu/qemu-0.14.0/opengl-sdl-fix.patch new file +41 -0
@@ -0,0 +1,41 @@ +diff -u -r qemu-0.14.0/Makefile.target qemu-0.14.0-fixed/Makefile.target +--- qemu-0.14.0/Makefile.target 2011-04-26 21:22:17.627637741 -0700 ++++ qemu-0.14.0-fixed/Makefile.target 2011-04-26 21:23:02.767637747 -0700 +@@ -82,8 +82,10 @@ + libobj-$(TARGET_I386) += helper_opengl.o opengl_exec.o + libobj-$(TARGET_X86_64) += helper_opengl.o opengl_exec.o + else ++ifdef CONFIG_SDL + libobj-$(TARGET_I386) += dummygl.o + libobj-$(TARGET_X86_64) += dummygl.o ++endif + endif #CONFIG_LINUX_USER + libobj-$(TARGET_ARM) += dummygl.o + libobj-$(TARGET_MIPS) += dummygl.o +Only in qemu-0.14.0-fixed: config.log +diff -u -r qemu-0.14.0/target-i386/helper.h qemu-0.14.0-fixed/target-i386/helper.h +--- qemu-0.14.0/target-i386/helper.h 2011-04-26 21:22:11.418637742 -0700 ++++ qemu-0.14.0-fixed/target-i386/helper.h 2011-04-26 21:23:02.539637747 -0700 +@@ -217,6 +217,9 @@ + DEF_HELPER_2(rcrq, tl, tl, tl) + #endif + ++#ifdef CONFIG_SDL + DEF_HELPER_0(opengl, void) ++#endif ++ + + #include "def-helper.h" +diff -u -r qemu-0.14.0/target-i386/translate.c qemu-0.14.0-fixed/target-i386/translate.c +--- qemu-0.14.0/target-i386/translate.c 2011-04-26 21:22:21.600637743 -0700 ++++ qemu-0.14.0-fixed/target-i386/translate.c 2011-04-26 21:23:02.538637747 -0700 +@@ -2659,7 +2659,7 @@ + static void gen_interrupt(DisasContext *s, int intno, + target_ulong cur_eip, target_ulong next_eip) + { +-#if !defined(CONFIG_USER_ONLY) ++#if !defined(CONFIG_USER_ONLY) && defined(CONFIG_SDL) + if (enable_gl && intno == 0x99) { + gen_helper_opengl(); + return; +
meta/recipes-devtools/qemu/qemu.inc +2 -0
@@ -16,6 +16,8 @@ EXTRA_OECONF += "--target-list=${@get_qemu_target_list(d)} --disable-werror --di #EXTRA_OECONF += "--disable-sdl" +COMPATIBLE_MACHINES = "qemux86 qemuppc" + inherit autotools # For our gl powered QEMU you need libGL and SDL headers
meta/recipes-devtools/qemu/qemu_0.14.0.bb +2 -1
@@ -3,7 +3,7 @@ require qemu.inc LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913" -PR = "r0" +PR = "r1" FILESPATH = "${FILE_DIRNAME}/qemu-${PV}" FILESDIR = "${WORKDIR}"
@@ -25,6 +25,7 @@ SRC_URI = "\ file://Detect-and-use-GCC-atomic-builtins-for-locking.patch \ file://larger_default_ram_size.patch \ file://qemugl-fix.patch \ + file://opengl-sdl-fix.patch \ " SRC_URI[md5sum] = "f9d145d5c09de9f0984ffe9bd1229970" SRC_URI[sha256sum] = "ba21e84d7853217830e167dae9999cdbff481189c6a0bb600ac7fb7201453108"
Signature · 1 line
1.7.1.1
PATCH 45/52 perl_5.12.2.bb: Undefine features not found in uclibc
In reply to Saul WoldFrom: Khem Raj <[email protected]>
--- .../perl/perl-5.12.3/native-ssp.patch | 16 ---------------- meta/recipes-devtools/perl/perl_5.12.3.bb | 14 +++++++------- 2 files changed, 7 insertions(+), 23 deletions(-) delete mode 100644 meta/recipes-devtools/perl/perl-5.12.3/native-ssp.patch
meta/recipes-devtools/perl/perl-5.12.3/native-ssp.patch deleted +0 -16
@@ -1,16 +0,0 @@ -Upstream-Status:Inappropriate [embedded specific] - -Fix for compiling with ssp enabled gcc: -See http://bugs.openembedded.net/show_bug.cgi?id=1980 - -diff -Naur perl-5.8.7.orig/cflags.SH perl-5.8.7/cflags.SH ---- perl-5.8.7.orig/cflags.SH 2002-09-30 10:59:07.000000000 +0000 -+++ perl-5.8.7/cflags.SH 2005-10-02 04:08:39.000000000 +0000 -@@ -165,6 +165,8 @@ - esac - - : Can we perhaps use $ansi2knr here -+ [[ $file == regcomp ]] && export ccflags="${ccflags} -fno-stack-protector" -+ [[ $file == regexec ]] && export ccflags="${ccflags} -fno-stack-protector" - echo "$cc -c -DPERL_CORE $ccflags $optimize $warn" - eval "$also "'"$cc -DPERL_CORE -c $ccflags $optimize $warn"'
meta/recipes-devtools/perl/perl_5.12.3.bb +7 -7
@@ -58,13 +58,13 @@ SRC_URI = "http://www.cpan.org/src/5.0/perl-${PV}.tar.gz \ file://parallel_build_fix_4.patch \ file://parallel_build_fix_5.patch \ file://parallel_build_fix_6.patch \ - file://Makefile.SH.patch;patch=1 \ - file://installperl.patch;patch=1 \ - file://perl-dynloader.patch;patch=1 \ - file://perl-moreconfig.patch;patch=1 \ - file://letgcc-find-errno.patch;patch=1 \ - file://generate-sh.patch;patch=1 \ - file://09_fix_installperl.patch;patch=1 \ + file://Makefile.SH.patch \ + file://installperl.patch \ + file://perl-dynloader.patch \ + file://perl-moreconfig.patch \ + file://letgcc-find-errno.patch \ + file://generate-sh.patch \ + file://09_fix_installperl.patch \ file://native-perlinc.patch \ file://perl-enable-gdbm.patch \ file://cross-generate_uudmap.patch \
Signature · 1 line
1.7.1.1
PATCH 50/52 alsa-tools: Add checksums
In reply to Saul WoldFrom: Saul Wold <[email protected]>
--- meta/recipes-multimedia/alsa/alsa-tools_1.0.20.bb | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-)
meta/recipes-multimedia/alsa/alsa-tools_1.0.20.bb +7 -1
@@ -2,9 +2,15 @@ BROKEN = "1" DESCRIPTION = "Alsa Tools" SECTION = "console/utils" -LICENSE = "GPL" +LICENSE = "GPLv2" DEPENDS = "alsa-lib ncurses" +LIC_FILES_CHKSUM = "file://hdsploader/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" + SRC_URI = "ftp://ftp.alsa-project.org/pub/tools/alsa-tools-${PV}.tar.bz2" +SRC_URI[md5sum] = "6b9d146af621dd712472b3ebb519c596" +SRC_URI[sha256sum] = "2a05047363b20f16820f36198ed3b139d1c55f55464750ea11d350e00b09cb86" + + inherit autotools
Signature · 1 line
1.7.1.1
Re: [PATCH 21/52] distro_tracking_fields: cwautomacros, valgrind, etc
In reply to Saul WoldQuoted 3 lines · On Wed, 27 Apr 2011 0:29:41 -0700 Saul Wold <[email protected]> wrote:
From: Dongxiao Xu <[email protected]>
Signed-off-by Dongxiao Xu <[email protected]>
When I see an 'etc' in the short commit message I'd expect it to be _expanded_ in the full commit message.
Quoted 4 lines
--- .../conf/distro/include/distro_tracking_fields.inc | 72 ++++++++++--------- 1 files changed, 38 insertions(+), 34 deletions(-)
Signature · 8 lines
Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing?
Quoted 2 lines · On Wed, 27 Apr 2011 0:29:17 -0700 Saul Wold <[email protected]> wrote:
From: Saul Wold <[email protected]>
Hi Saul, any particular reason I am in CC on this? I mean my involvement in OE has been quite marginal so far.
Anyhow, since I'm in on this one I do have a couple of minor comments, see replies to the corresponding messages.
Regards,
Antonio
Signature · 8 lines
Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing?
Re: [PATCH 03/52] gcc: Add recipes for 4.6.0
In reply to Saul WoldQuoted 4 lines · On Wed, 27 Apr 2011 0:29:21 -0700 Saul Wold <[email protected]> wrote:
From: Khem Raj <[email protected]>
Hi
Quoted 8 lines
This is initial set of patches for testing them out The patches need documentation is pending Some patches especially uclibc related are not needed they must be dropped.
This is not the final version yet. But I would like folks to help trying them out and report issues
If these changes turned to be the final ones then the commit message should be updated, shouldn't it?
Quoted 9 lines
I have tried to boot uclibc/arm on it but qemu died on me. so please boot the images you build and I would be interested to know the results.
-Khem
Signed-off-by Khem Raj <[email protected]>Signed-off-by Saul Wold <[email protected]>---
[...]
Signature · 8 lines
Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing?
Re: [PATCH 01/52] sat-solver: fix arch=all packages
In reply to Saul WoldQuoted 7 lines · On Wed, 27 Apr 2011 0:29:19 -0700 Saul Wold <[email protected]> wrote:
From: Qing He <[email protected]>
add a new options to set noarch archs as all so platform independent packages can be recognized and installed.
fixes [YOCTO #993]
This is a question rather than a comment: would it make sense to use an actual URL for issues? I mean can [YOCTO #993] be found in some publicly accessible bug tracking system for people to see what it is about?
Quoted 2 lines
Signed-off-by Qing He <[email protected]>---
Signature · 8 lines
Antonio Ospite http://ao2.it PGP public key ID: 0x4553B001 A: Because it messes up the order in which people normally read text. See http://en.wikipedia.org/wiki/Posting_style Q: Why is top-posting such a bad thing?
Re: [PATCH 28/52] linux-tools.inc: Dummify do_compile_perf and do_install_perf for uclibc
In reply to Saul WoldQuoted 4 lines · Saul Wold
From: Khem Raj <[email protected]>
Perf wants elfutils and elfutils on uclibc does not work due to its usage of
obstack_printffunctionality missing from uclibc.
This appears to silently not build perf when uclibc is being used. Do I have that right? I don't care for implicit changes in functionality without any notification to the user (even then...). However, perf is just automatically built IIRC, and not specified in the image recipe, so there isn't a lot we can do about it without major changes.
Perhaps a simple warning in the do_compile_perf_libc-uclibc() and do_install_perf_libc-uclibc() would be sufficient until such time as perf has a real option to explicitly enable it.
my bash logging.bbclass hasn't been merged yet, so for now:
oe_warn "using uclibc, perf will not be (compiled|installed)"
Thanks,
--
Darren
Quoted 37 lines
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-kernel/linux/linux-tools.inc | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-)meta/recipes-kernel/linux/linux-tools.inc +13
-4@@ -1,6 +1,11 @@ # included by kernel recipes if they want to build/provide # perf functionality from their tree. - +do_compile_perf_libc-uclibc () { + : +} +do_install_perf_libc-uclibc () { + : +} do_compile_perf() { oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} NO_NEWT=1 NO_DWARF=1 }@@ -14,6 +19,10 @@ do_install_perf() { addtask compile_perf after do_compile before do_install addtask install_perf after do_install before do_package -do_compile_perf[depends] = "virtual/libc:do_populate_sysroot" -do_compile_perf[depends] =+ "elfutils:do_populate_sysroot" -RDEPENDS_perf += "python perl elfutils" + +PERFDEPENDS = "virtual/libc:do_populate_sysroot elfutils:do_populate_sysroot" +PERFDEPENDS_libc-uclibc = "" +PERFRDEPENDS = "python perl elfutils" +PERFRDEPENDS_libc-uclibc = "" +do_compile_perf[depends] = "${PERFDEPENDS}" +RDEPENDS_perf += "${PERFRDEPENDS}"
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Darren Hart
Acked-byRe: [PATCH 28/52] linux-tools.inc: Dummify do_compile_perf and do_install_perf for uclibc
Quoted 12 lines · Darren Hart
Quoted 4 lines · Saul Wold
From: Khem Raj <[email protected]>
Perf wants elfutils and elfutils on uclibc does not work due to its usage of
obstack_printffunctionality missing from uclibc.This appears to silently not build perf when uclibc is being used. Do I have that right? I don't care for implicit changes in functionality without any notification to the user (even then...). However, perf is just automatically built IIRC, and not specified in the image recipe, so there isn't a lot we can do about it without major changes.
Quoted 7 lines
Perhaps a simple warning in the do_compile_perf_libc-uclibc() and do_install_perf_libc-uclibc() would be sufficient until such time as perf has a real option to explicitly enable it.
my bash logging.bbclass hasn't been merged yet, so for now:
oe_warn"using uclibc, perf will not be (compiled|installed)"
Actually, I see Saul included the logging patches later in the series. For the sake of simplicity, I'm fine with this going in as is - if Khem will submit a follow-on patch to add the warning using the new bash logging API:
bbwarn "using uclibc, perf cannot be compiled"
bbwarn "using uclibc, perf cannot be installed"
or something to that effect.
Quoted 2 lines
Quoted 2 lines
Signed-off-by Khem Raj <[email protected]>
Quoted 36 lines
Quoted 35 lines
--- meta/recipes-kernel/linux/linux-tools.inc | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-)meta/recipes-kernel/linux/linux-tools.inc +13
-4@@ -1,6 +1,11 @@ # included by kernel recipes if they want to build/provide # perf functionality from their tree. - +do_compile_perf_libc-uclibc () { + : +} +do_install_perf_libc-uclibc () { + : +} do_compile_perf() { oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} NO_NEWT=1 NO_DWARF=1 }@@ -14,6 +19,10 @@ do_install_perf() { addtask compile_perf after do_compile before do_install addtask install_perf after do_install before do_package -do_compile_perf[depends] = "virtual/libc:do_populate_sysroot" -do_compile_perf[depends] =+ "elfutils:do_populate_sysroot" -RDEPENDS_perf += "python perl elfutils" + +PERFDEPENDS = "virtual/libc:do_populate_sysroot elfutils:do_populate_sysroot" +PERFDEPENDS_libc-uclibc = "" +PERFRDEPENDS = "python perl elfutils" +PERFRDEPENDS_libc-uclibc = "" +do_compile_perf[depends] = "${PERFDEPENDS}" +RDEPENDS_perf += "${PERFRDEPENDS}"
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Re: [PATCH 28/52] linux-tools.inc: Dummify do_compile_perf and do_install_perf for uclibc
Quoted 28 lines · Darren Hart
Quoted 12 lines · Darren Hart
Quoted 4 lines · Saul Wold
From: Khem Raj <[email protected]>
Perf wants elfutils and elfutils on uclibc does not work due to its usage of
obstack_printffunctionality missing from uclibc.This appears to silently not build perf when uclibc is being used. Do I have that right? I don't care for implicit changes in functionality without any notification to the user (even then...). However, perf is just automatically built IIRC, and not specified in the image recipe, so there isn't a lot we can do about it without major changes.
Quoted 7 lines
Perhaps a simple warning in the do_compile_perf_libc-uclibc() and do_install_perf_libc-uclibc() would be sufficient until such time as perf has a real option to explicitly enable it.
my bash logging.bbclass hasn't been merged yet, so for now:
oe_warn"using uclibc, perf will not be (compiled|installed)"Actually, I see Saul included the logging patches later in the series. For the sake of simplicity, I'm fine with this going in as is - if Khem will submit a follow-on patch to add the warning using the new bash logging API:
Quoted 4 lines
bbwarn "using uclibc, perf cannot be compiled"
bbwarn "using uclibc, perf cannot be installed"or something to that effect.
yes that will come with another set of patches.
Quoted 51 lines
Quoted 4 lines
Quoted 4 lines
Signed-off-by Khem Raj <[email protected]>Acked-by Darren Hart <[email protected]>Quoted 25 lines
Quoted 25 lines
---
meta/recipes-kernel/linux/linux-tools.inc | 17 +++++++++++++----1 files changed, 13 insertions(+), 4 deletions(-)meta/recipes-kernel/linux/linux-tools.inc +6
-1@@ -1,6 +1,11 @@ # included by kernel recipes if they want to build/provide # perf functionality from their tree. - +do_compile_perf_libc-uclibc () { + : +} +do_install_perf_libc-uclibc () { + : +} do_compile_perf() {oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} NO_NEWT=1 NO_DWARF=1 }
meta/recipes-kernel/linux/linux-tools.inc +0
-0@@ -14,6 +19,10 @@ do_install_perf() {addtask
compile_perfafterdo_compilebeforedo_installaddtaskinstall_perfafterdo_installbeforedo_packageQuoted 11 lines
meta/recipes-kernel/linux/linux-tools.inc do_install_perf() { · line 28
Quoted 10 lines
meta/recipes-kernel/linux/linux-tools.inc +7
-3-do_compile_perf[depends] = "virtual/libc:do_populate_sysroot" -do_compile_perf[depends] =+ "elfutils:do_populate_sysroot" -RDEPENDS_perf += "python perl elfutils" + +PERFDEPENDS = "virtual/libc:do_populate_sysroot elfutils:do_populate_sysroot" +PERFDEPENDS_libc-uclibc = "" +PERFRDEPENDS = "python perl elfutils" +PERFRDEPENDS_libc-uclibc = "" +do_compile_perf[depends] = "${PERFDEPENDS}" +RDEPENDS_perf += "${PERFRDEPENDS}"--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
Quoted 9 lines · Antonio Ospite
Quoted 2 lines · On Wed, 27 Apr 2011 0:29:17 -0700 Saul Wold<[email protected]> wrote:
From: Saul Wold<[email protected]>
Hi Saul, any particular reason I am in CC on this? I mean my involvement in OE has been quite marginal so far.
Antonio,
I pulled in a patch of your from OE-Dev and since you had the Signed-off-by, it cc'ed you (as it should).
Quoted 3 lines
Anyhow, since I'm in on this one I do have a couple of minor comments, see replies to the corresponding messages.
Yes, thanks for those comments.
Sau!
Quoted 3 lines
Regards,
Antonio
Re: [PATCH 03/52] gcc: Add recipes for 4.6.0
In reply to Antonio OspiteQuoted 12 lines · Antonio Ospite
Quoted 9 lines · On Wed, 27 Apr 2011 0:29:21 -0700 Saul Wold<[email protected]> wrote:
From: Khem Raj<[email protected]>
Hi
This is initial set of patches for testing them out The patches need documentation is pending Some patches especially uclibc related are not needed they must be dropped.
Quoted 7 lines
Quoted 3 lines
This is not the final version yet. But I would like folks to help trying them out and report issues
If these changes turned to be the final ones then the commit message should be updated, shouldn't it?
Not final yet, I am pushing it now so people can set their local GCCVERSION and SDKGCCVERSION to test if they would like.
Sau!
Quoted 12 lines
Quoted 9 lines
I have tried to boot uclibc/arm on it but qemu died on me. so please boot the images you build and I would be interested to know the results.
-Khem
Signed-off-by Khem Raj<[email protected]>Signed-off-by Saul Wold<[email protected]>---
[...]
Re: [PATCH 01/52] sat-solver: fix arch=all packages
In reply to Antonio OspiteQuoted 11 lines · Antonio Ospite
Quoted 7 lines · On Wed, 27 Apr 2011 0:29:19 -0700 Saul Wold<[email protected]> wrote:
From: Qing He<[email protected]>
add a new options to set noarch archs as all so platform independent packages can be recognized and installed.
fixes [YOCTO #993]
Yes this is the Yocto Project Bugzilla, located at http://bugzilla.yoctoproject.org.
Quoted 9 lines
This is a question rather than a comment: would it make sense to use an actual URL for issues? I mean can [YOCTO #993] be found in some publicly accessible bug tracking system for people to see what it is about?
Quoted 2 lines
Signed-off-by Qing He<[email protected]>---
Re: [PATCH 03/52] gcc: Add recipes for 4.6.0
In reply to Saul WoldQuoted 18 lines · Saul Wold
Quoted 17 lines · Antonio Ospite
Quoted 12 lines · On Wed, 27 Apr 2011 0:29:21 -0700 Saul Wold<[email protected]> wrote:
From: Khem Raj<[email protected]>
Hi
This is initial set of patches for testing them out The patches need documentation is pending Some patches especially uclibc related are not needed they must be dropped.
This is not the final version yet. But I would like folks to help trying them out and report issues
Quoted 6 lines
Quoted 3 lines
If these changes turned to be the final ones then the commit message should be updated, shouldn't it?
Not final yet, I am pushing it now so people can set their local GCCVERSION and SDKGCCVERSION to test if they would like.
There are some patches which seem redundant. So there will be updates but for major testing this should do.
Quoted 15 lines
Sau!
Quoted 12 lines
Quoted 9 lines
I have tried to boot uclibc/arm on it but qemu died on me. so please boot the images you build and I would be interested to know the results.
-Khem
Signed-off-by Khem Raj<[email protected]>Signed-off-by Saul Wold<[email protected]>---
[...]
Re: [PATCH 37/52] insane.bbclass: Move code to add function to tasks toward the end
In reply to Saul WoldQuoted 5 lines · Saul Wold
From: Khem Raj <[email protected]>
Cosmetic change to make syntax highlighters happy
Signed-off-by Khem Raj <[email protected]>
I'll take the patch but shouldn't someone fix the syntax highlighters as the syntax is obviously correct and works ;-).
Cheers,
Richard
Re: [PATCH 03/52] gcc: Add recipes for 4.6.0
In reply to Saul WoldQuoted 12 lines · Saul Wold
From: Khem Raj <[email protected]>
Hi
This is initial set of patches for testing them out The patches need documentation is pending Some patches especially uclibc related are not needed they must be dropped.
This is not the final version yet. But I would like folks to help trying them out and report issues
Quoted 8 lines
I have tried to boot uclibc/arm on it but qemu died on me. so please boot the images you build and I would be interested to know the results.
-Khem
Signed-off-by Khem Raj <[email protected]>Signed-off-by Saul Wold <[email protected]>
I trimmed this commit message a little - I'm hoping Saul did intend to include this patch but the commit message makes me wonder ;-).
Cheers,
Richard
Re: [PATCH 36/52] gettext.bbclass: Use _append instead of =+
In reply to Saul WoldQuoted 15 lines · Saul Wold
From: Khem Raj <[email protected]>
Ensure gettext and gettext-native are removed from DEPENDS when not using NLS
Use append instead of += to get gettext dependecies processed correctly in all cases
Dont remove gettext-native for native recipes as
ENABLE_NLSis only for target and not for native recipesReplace using 1 for a boolean type with True
Honor
INHIBIT_DEFAULT_DEPS
Quoted 8 lines
Remove the added dependencies for gettext if
INHIBIT_DEFAULT_DEPSis non nulloperate on virtclass overrides individually
virtclass classes are parsed at the end hence
just doing DEPENDS munging is not enough since
it will be overridden
This patch is better but I have a couple of things I'd like to see tweaked.
Quoted 14 lines
Signed-off-by Khem Raj <[email protected]>--- meta/classes/gettext.bbclass | 38 ++++++++++++++++++++++++++------------ 1 files changed, 26 insertions(+), 12 deletions(-)meta/classes/gettext.bbclass +0
-3@@ -1,17 +1,31 @@ def gettext_after_parse(d): - # Remove the NLS bits if USE_NLS is no. - if bb.data.getVar('USE_NLS', d, 1) == 'no': - cfg = oe_filter_out('^--(dis|en)able-nls$', bb.data.getVar('EXTRA_OECONF', d, 1) or "", d)
meta/classes/gettext.bbclass line 6
Quoted 10 lines
meta/classes/gettext.bbclass +5
-5- cfg += " --disable-nls" - depends = bb.data.getVar('DEPENDS', d, 1) or "" - bb.data.setVar('DEPENDS', oe_filter_out('^(virtual/libiconv|virtual/libintl)$', depends, d), d) - bb.data.setVar('EXTRA_OECONF', cfg, d) - + # Remove the NLS bits if USE_NLS is no. + if bb.data.getVar('USE_NLS', d, True) == 'no': + cfg = oe_filter_out('^--(dis|en)able-nls$', bb.data.getVar('EXTRA_OECONF', d, 1) or "", d) + cfg += " --disable-nls" + depends = bb.data.getVar('DEPENDS', d, True) or ""
These lines all look the same but the indentation is different. Python should always be four spaces and indentation changes should always be as a separate patch from code changes anyway. Please fix :)
Quoted 9 lines
meta/classes/gettext.bbclass +9
-0+ depends = oe_filter_out('^(virtual/libiconv|virtual/libintl|virtual/gettext|gettext)$', depends, d) + if not oe.utils.inherits(d, 'native', 'nativesdk', 'cross', 'crosssdk'): + depends = oe_filter_out('^(gettext-native)$', depends, d) + bb.data.setVar('DEPENDS', depends, d) + bb.data.setVar('EXTRA_OECONF', cfg, d) + # check if INHIBIT_DEFAULT_DEPS is 1 then we forcibly remove dependencies + # added by this class through DEPENDS_GETTEXT + if bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True): + depends_native = bb.data.getVar('DEPENDS_virtclass-native', d, True) or ""
meta/classes/gettext.bbclass line 25
Quoted 10 lines
meta/classes/gettext.bbclass +10
-0+ depends_nativesdk = bb.data.getVar('DEPENDS_virtclass-nativesdk', d, True) or "" + depends = bb.data.getVar('DEPENDS', d, True) or "" + gettext_deps = bb.data.getVar('DEPENDS_GETTEXT', d, True).replace(' ','|') + gettext_deps = '^(' + gettext_deps + ')$' + depends_native = oe_filter_out(gettext_deps, depends_native, d) + depends_nativesdk = oe_filter_out(gettext_deps, depends_nativesdk, d) + depends = oe_filter_out(gettext_deps, depends, d) + bb.data.setVar('DEPENDS_virtclass-native', depends, d) + bb.data.setVar('DEPENDS_virtclass-nativesdk', depends, d) + bb.data.setVar('DEPENDS', depends, d)
We can make this simpler. We should just setVar("DEPENDS_GETTEXT", "") in the INHIBIT_DEFAULT_DEPS case. If anything is expanding the variables somewhere, we should fix that.
In fact, rather than all this ugly manipulation can't we just set DEPENDS_GETTEXT to "" in the INHIBIT_DEFAULT_DEPS or USE_NLS cases? If that doesn't work, the recipes dependencies are broken and should be fixed to inherit this class, right?
meta/classes/gettext.bbclass line 31
Quoted 10 lines
meta/classes/gettext.bbclass +2
-4python () { gettext_after_parse(d) } - -DEPENDS_GETTEXT = "gettext gettext-native" - -DEPENDS =+ "${DEPENDS_GETTEXT}" EXTRA_OECONF += "--enable-nls" +DEPENDS_GETTEXT ?= "virtual/gettext" +DEPENDS_append = " ${DEPENDS_GETTEXT} "
I think this needs to be:
DEPENDS_GETTEXT ?= "virtual/gettext virtual/gettext-native"
as I'm sure we're been bitten by a lack of the native dependency before :/. Target packages using gettext do definitely need both to be available.
Cheers,
Richard
Re: [PATCH 38/52] insane.bbclass: Checking for NLS too when checking gettext dependency
In reply to Saul WoldQuoted 7 lines · Saul Wold
From: Khem Raj <[email protected]>
Checking for gettext is not needed when --disable-nls is used
Let user know what variant of gettext is missing e.g. gettext-native, gettext-nativesdk etc, reveals a bit more for user
Quoted 6 lines
Check for virtual/gettext
Signed-off-by Khem Raj <[email protected]>--- meta/classes/insane.bbclass | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-)
This depends on the gettext.bbclass changes so I didn't take this either.
Cheers,
Richard
Re: [PATCH 44/52] util-linux.inc: remove virtual/libintl from DEPENDS
In reply to Saul WoldQuoted 17 lines · Saul Wold
From: Khem Raj <[email protected]>
inherit gettext should do it.
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-core/util-linux/util-linux.inc | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)meta/recipes-core/util-linux/util-linux.inc +0
-0@@ -13,10 +13,10 @@ LIC_FILES_CHKSUM = "file://README.licensing;md5=1530e36fe1304d4535513de90a290df9 file://licenses/COPYING.UCB;md5=263860f8968d8bafa5392cab74285262 \ file://getopt/COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
meta/recipes-core/util-linux/util-linux.inc LIC_FILES_CHKSUM = "file://README.licensing;md5=1530e36fe1304d4535513de90a290df9 · line 22
Quoted 10 lines
meta/recipes-core/util-linux/util-linux.inc +3
-3-DEPENDS = "zlib ncurses virtual/libintl" -DEPENDS_virtclass-native = "zlib-native ncurses-native lzo-native gettext-native" - inherit autotools gettext +DEPENDS = "zlib ncurses" +DEPENDS_virtclass-native_append = " lzo-native" + SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux-ng/v${MAJOR_VERSION}/util-linux-ng-${PV}.tar.bz2 \ file://MCONFIG \
I wasn't sure if this depended on the gettext.bbclass changes so again, I didn't take it.
Cheers,
Richard
Re: [PATCH 34/52] logging: add bb* logging mechanisms for bash recipe functions
In reply to Saul WoldHi Darren,
Quoted 10 lines · Saul Wold
The following logging mechanisms are to be used in bash functions of recipes. They are intended to map one to one in intention and output format with the python recipe logging functions of a similar naming convention:
bb.plain(),bb.note(), etc.For the time being, all of these print only to the task logs. Future enhancements may integrate these calls with the bitbake logging infrastructure, allowing for printing to the console as appropriate. The interface and intention statements reflect that future goal. Once it is in place, no changes will be necessary to recipes using these logging mechanisms.
This looks good but could you do a search and replace of any existing users of the oe* functions and then remove them from base.bbclass please? At the very least they should be calling the bb* equivalents. I'd like to clean up this kind of thing as we go.
Cheers,
Richard
Hi Saul,
Quoted 3 lines · Saul Wold
This has been reviewed and build on x86 and ARM, I have worked also to build full world, it's almost there, qemu on the target needs a few more tweaks, it's closer!
Thanks, I merged apart from 3 patches which I've replied to with the details of why not.
Cheers,
Richard
Re: [PATCH 03/52] gcc: Add recipes for 4.6.0
In reply to Saul WoldQuoted 17 lines · Saul Wold
Quoted 16 lines · Antonio Ospite
Quoted 12 lines · On Wed, 27 Apr 2011 0:29:21 -0700 Saul Wold<[email protected]> wrote:
From: Khem Raj<[email protected]>
Hi
This is initial set of patches for testing them out The patches need documentation is pending Some patches especially uclibc related are not needed they must be dropped.
This is not the final version yet. But I would like folks to help trying them out and report issues
Quoted 5 lines
Quoted 3 lines
If these changes turned to be the final ones then the commit message should be updated, shouldn't it?
Not final yet, I am pushing it now so people can set their local GCCVERSION and SDKGCCVERSION to test if they would like.
Independently, I also thought the commit messaged should have been tweaked, see the other emails ;-).
The original message read like a request for testing but it wasn't ready for merging into the repo. Now its being submitted, it either is ready or it was a mistake and it could easily look like the latter.
Cheers,
Richard
Re: [PATCH 34/52] logging: add bb* logging mechanisms for bash recipe functions
In reply to Richard PurdieQuoted 14 lines · Richard Purdie
Hi Darren,
Quoted 10 lines · Saul Wold
The following logging mechanisms are to be used in bash functions of recipes. They are intended to map one to one in intention and output format with the python recipe logging functions of a similar naming convention:
bb.plain(),bb.note(), etc.For the time being, all of these print only to the task logs. Future enhancements may integrate these calls with the bitbake logging infrastructure, allowing for printing to the console as appropriate. The interface and intention statements reflect that future goal. Once it is in place, no changes will be necessary to recipes using these logging mechanisms.
Quoted 4 lines
This looks good but could you do a search and replace of any existing users of the oe* functions and then remove them from base.bbclass please? At the very least they should be calling the bb* equivalents. I'd like to clean up this kind of thing as we go.
Sure thing. Is a follow-up patch acceptable or do you want me to resubmit these in one series?
--
Darren
Quoted 11 lines
Cheers,
Richard
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Re: [PATCH 34/52] logging: add bb* logging mechanisms for bash recipe functions
Quoted 17 lines · Darren Hart
Quoted 14 lines · Richard Purdie
Hi Darren,
Quoted 10 lines · Saul Wold
The following logging mechanisms are to be used in bash functions of recipes. They are intended to map one to one in intention and output format with the python recipe logging functions of a similar naming convention:
bb.plain(),bb.note(), etc.For the time being, all of these print only to the task logs. Future enhancements may integrate these calls with the bitbake logging infrastructure, allowing for printing to the console as appropriate. The interface and intention statements reflect that future goal. Once it is in place, no changes will be necessary to recipes using these logging mechanisms.
Quoted 8 lines
Quoted 4 lines
This looks good but could you do a search and replace of any existing users of the oe* functions and then remove them from base.bbclass please? At the very least they should be calling the bb* equivalents. I'd like to clean up this kind of thing as we go.
Sure thing. Is a follow-up patch acceptable or do you want me to resubmit these in one series?
Since we have pulled this set, a follow-up patch would be most excellent!
Thanks
Sau!
Quoted 15 lines
--
DarrenQuoted 11 lines
Cheers,
Richard
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [PATCH 36/52] gettext.bbclass: Use _append instead of =+
In reply to Richard PurdieQuoted 4 lines · Richard Purdie
We can make this simpler. We should just
setVar("DEPENDS_GETTEXT", "")in theINHIBIT_DEFAULT_DEPScase. If anything is expanding the variables somewhere, we should fix that.
Infact the virtclass stuff complicates this since they are evaluated specially and I am not clear weather _append gets evaluation before that or after and also the anon python function evaluation as the one we are defining in this class.
I tried to empty out DEPENDS_GETTEXT but it does not work in nativesdk cases.
Quoted 5 lines
In fact, rather than all this ugly manipulation can't we just set
DEPENDS_GETTEXTto "" in theINHIBIT_DEFAULT_DEPSorUSE_NLScases? If that doesn't work, the recipes dependencies are broken and should be fixed to inherit this class, right?
Re: [PATCH 36/52] gettext.bbclass: Use _append instead of =+
Quoted 7 lines · Khem Raj
Quoted 4 lines · Richard Purdie
We can make this simpler. We should just
setVar("DEPENDS_GETTEXT", "")in theINHIBIT_DEFAULT_DEPScase. If anything is expanding the variables somewhere, we should fix that.
Quoted 6 lines
Infact the virtclass stuff complicates this since they are evaluated specially and I am not clear weather
_appendgets evaluation before that or after and also the anon python function evaluation as the one we are defining in this class.I tried to empty out
DEPENDS_GETTEXTbut it does not work in nativesdk cases.
I still think we can simplify this. Could you try the following patch please?:
meta/classes/base.bbclass +5 -3
@@ -89,9 +89,11 @@ def base_dep_prepend(d): deps += " virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc " return deps -DEPENDS_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-native_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-nativesdk_prepend="${@base_dep_prepend(d)} " +BASEDEPENDS = "${@base_dep_prepend(d)}" + +DEPENDS_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-native_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-nativesdk_prepend="${BASEDEPENDS} " FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ], d)}" # THISDIR only works properly with imediate expansion as it has to run
meta/classes/gettext.bbclass +9 -9
@@ -1,17 +1,17 @@ def gettext_after_parse(d): # Remove the NLS bits if USE_NLS is no. - if bb.data.getVar('USE_NLS', d, 1) == 'no': - cfg = oe_filter_out('^--(dis|en)able-nls$', bb.data.getVar('EXTRA_OECONF', d, 1) or "", d) - cfg += " --disable-nls" - depends = bb.data.getVar('DEPENDS', d, 1) or "" - bb.data.setVar('DEPENDS', oe_filter_out('^(virtual/libiconv|virtual/libintl)$', depends, d), d) - bb.data.setVar('EXTRA_OECONF', cfg, d) + if bb.data.getVar('USE_NLS', d, True) == 'no': + bb.data.setVar('DEPENDS_GETTEXT', "", d) + bb.data.setVar('OECONFNLSOPTION', '--disable-nls', d) + if bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True) and not oe.utils.inherits(d, 'cross-canadian'): + bb.data.setVar('DEPENDS_GETTEXT', "", d) python () { gettext_after_parse(d) } -DEPENDS_GETTEXT = "gettext gettext-native" +DEPENDS_GETTEXT = "virtual/gettext gettext-native" +OECONFNLSOPTION = "--enable-nls" -DEPENDS =+ "${DEPENDS_GETTEXT}" -EXTRA_OECONF += "--enable-nls" +BASEDEPENDS =+ "${DEPENDS_GETTEXT}" +EXTRA_OECONF += "${OECONFNLSOPTION}"
Re: [PATCH 36/52] gettext.bbclass: Use _append instead of =+
Quoted 61 lines · Richard Purdie
Quoted 7 lines · Khem Raj
Quoted 4 lines · Richard Purdie
We can make this simpler. We should just
setVar("DEPENDS_GETTEXT", "")in theINHIBIT_DEFAULT_DEPScase. If anything is expanding the variables somewhere, we should fix that.Quoted 6 lines
Infact the virtclass stuff complicates this since they are evaluated specially and I am not clear weather
_appendgets evaluation before that or after and also the anon python function evaluation as the one we are defining in this class.I tried to empty out
DEPENDS_GETTEXTbut it does not work in nativesdk cases.I still think we can simplify this. Could you try the following patch please?:
meta/classes/base.bbclass +5
-3@@ -89,9 +89,11 @@ def base_dep_prepend(d): deps += " virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc " return deps -DEPENDS_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-native_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-nativesdk_prepend="${@base_dep_prepend(d)} " +BASEDEPENDS = "${@base_dep_prepend(d)}" + +DEPENDS_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-native_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-nativesdk_prepend="${BASEDEPENDS} " FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ], d)}" # THISDIR only works properly with imediate expansion as it has to runmeta/classes/gettext.bbclass +5
-6@@ -1,17 +1,17 @@ def gettext_after_parse(d): # Remove the NLS bits if USE_NLS is no. - if bb.data.getVar('USE_NLS', d, 1) == 'no': - cfg = oe_filter_out('^--(dis|en)able-nls$', bb.data.getVar('EXTRA_OECONF', d, 1) or "", d) - cfg += " --disable-nls" - depends = bb.data.getVar('DEPENDS', d, 1) or "" - bb.data.setVar('DEPENDS', oe_filter_out('^(virtual/libiconv|virtual/libintl)$', depends, d), d) - bb.data.setVar('EXTRA_OECONF', cfg, d) + if bb.data.getVar('USE_NLS', d, True) == 'no': + bb.data.setVar('DEPENDS_GETTEXT', "", d) + bb.data.setVar('OECONFNLSOPTION', '--disable-nls', d) + if bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True) and not oe.utils.inherits(d, 'cross-canadian'): + bb.data.setVar('DEPENDS_GETTEXT', "", d) python () { gettext_after_parse(d)
meta/classes/gettext.bbclass line 17
Quoted 10 lines
meta/classes/gettext.bbclass +4
-3} -DEPENDS_GETTEXT = "gettext gettext-native" +DEPENDS_GETTEXT = "virtual/gettext gettext-native" +OECONFNLSOPTION = "--enable-nls" -DEPENDS =+ "${DEPENDS_GETTEXT}" -EXTRA_OECONF += "--enable-nls" +BASEDEPENDS =+ "${DEPENDS_GETTEXT}" +EXTRA_OECONF += "${OECONFNLSOPTION}"
This has the same problem It empties out DEPENDS_GETTEXT after they have have already been added to DEPENDS via virtclass e.g. when you build gcc-runtime-nativesdk it will report a dep loop since now it depends on virtual/gettext-nativesdk (added by gettext class)
and virtual/gettext-nativesdk depends on compilerlibs provided by gcc-runtime-nativesdk. This was same problem I was trying to circumvent
Signature · 1 line
-Khem
Re: [PATCH 36/52] gettext.bbclass: Use _append instead of =+
Quoted 7 lines · Khem Raj
This has the same problem It empties out
DEPENDS_GETTEXTafter they have have already been added to DEPENDS via virtclass e.g. when you build gcc-runtime-nativesdk it will report a dep loop since now it depends on virtual/gettext-nativesdk (added by gettext class)
and virtual/gettext-nativesdk depends on compilerlibs provided by gcc-runtime-nativesdk. This was same problem I was trying to circumvent
Ok, how about this version:
meta/classes/base.bbclass +5 -3
@@ -89,9 +89,11 @@ def base_dep_prepend(d): deps += " virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc " return deps -DEPENDS_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-native_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-nativesdk_prepend="${@base_dep_prepend(d)} " +BASEDEPENDS = "${@base_dep_prepend(d)}" + +DEPENDS_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-native_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-nativesdk_prepend="${BASEDEPENDS} " FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ], d)}" # THISDIR only works properly with imediate expansion as it has to run
meta/classes/gettext.bbclass +14 -14
@@ -1,17 +1,17 @@ -def gettext_after_parse(d): - # Remove the NLS bits if USE_NLS is no. - if bb.data.getVar('USE_NLS', d, 1) == 'no': - cfg = oe_filter_out('^--(dis|en)able-nls$', bb.data.getVar('EXTRA_OECONF', d, 1) or "", d) - cfg += " --disable-nls" - depends = bb.data.getVar('DEPENDS', d, 1) or "" - bb.data.setVar('DEPENDS', oe_filter_out('^(virtual/libiconv|virtual/libintl)$', depends, d), d) - bb.data.setVar('EXTRA_OECONF', cfg, d) +def gettext_dependencies(d): + if d.getVar('USE_NLS', True) == 'no': + return "" + if bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True) and not oe.utils.inherits(d, 'cross-canadian'): + return "" + return d.getVar('DEPENDS_GETTEXT', False) -python () { - gettext_after_parse(d) -} +def gettext_oeconf(d): + # Remove the NLS bits if USE_NLS is no. + if d.getVar('USE_NLS', True) == 'no': + return '--disable-nls' + return "--enable-nls" -DEPENDS_GETTEXT = "gettext gettext-native" +DEPENDS_GETTEXT = "virtual/gettext gettext-native" -DEPENDS =+ "${DEPENDS_GETTEXT}" -EXTRA_OECONF += "--enable-nls" +BASEDEPENDS =+ "${@gettext_dependencies(d)}" +EXTRA_OECONF += "${@gettext_oeconf(d)}"
Re: [PATCH 36/52] gettext.bbclass: Use _append instead of =+
Quoted 58 lines · Richard Purdie
Quoted 7 lines · Khem Raj
This has the same problem It empties out
DEPENDS_GETTEXTafter they have have already been added to DEPENDS via virtclass e.g. when you build gcc-runtime-nativesdk it will report a dep loop since now it depends on virtual/gettext-nativesdk (added by gettext class)
and virtual/gettext-nativesdk depends on compilerlibs provided by gcc-runtime-nativesdk. This was same problem I was trying to circumventOk, how about this version:
meta/classes/base.bbclass +0
-0@@ -89,9 +89,11 @@ def base_dep_prepend(d):deps += " virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc " return deps
meta/classes/base.bbclass +5
-3-DEPENDS_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-native_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-nativesdk_prepend="${@base_dep_prepend(d)} " +BASEDEPENDS = "${@base_dep_prepend(d)}" + +DEPENDS_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-native_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-nativesdk_prepend="${BASEDEPENDS} "FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ], d)}" # THISDIR only works properly with imediate expansion as it has to run
meta/classes/gettext.bbclass +9
-11@@ -1,17 +1,17 @@ -def gettext_after_parse(d): - # Remove the NLS bits if USE_NLS is no. - if bb.data.getVar('USE_NLS', d, 1) == 'no': - cfg = oe_filter_out('^--(dis|en)able-nls$', bb.data.getVar('EXTRA_OECONF', d, 1) or "", d) - cfg += " --disable-nls" - depends = bb.data.getVar('DEPENDS', d, 1) or "" - bb.data.setVar('DEPENDS', oe_filter_out('^(virtual/libiconv|virtual/libintl)$', depends, d), d) - bb.data.setVar('EXTRA_OECONF', cfg, d) +def gettext_dependencies(d): + if d.getVar('USE_NLS', True) == 'no': + return "" + if bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True) and not oe.utils.inherits(d, 'cross-canadian'): + return "" + return d.getVar('DEPENDS_GETTEXT', False) -python () { - gettext_after_parse(d) -} +def gettext_oeconf(d): + # Remove the NLS bits if USE_NLS is no. + if d.getVar('USE_NLS', True) == 'no':
meta/classes/gettext.bbclass line 17
Quoted 10 lines
meta/classes/gettext.bbclass +5
-3+ return '--disable-nls' + return "--enable-nls" -DEPENDS_GETTEXT = "gettext gettext-native" +DEPENDS_GETTEXT = "virtual/gettext gettext-native" -DEPENDS =+ "${DEPENDS_GETTEXT}" -EXTRA_OECONF += "--enable-nls" +BASEDEPENDS =+ "${@gettext_dependencies(d)}" +EXTRA_OECONF += "${@gettext_oeconf(d)}"
a build from scratch revealed few more issues with this patch too.
1. We have to only remove gettext from dependencies if its a target package for all other it still it needed otherwise all native and cross tools start failing to build
e.g. binutils-cross this can be easily solved by a patch
iff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass index 6f79e5e..cc39204 100644
meta/classes/gettext.bbclass +1 -1
@@ -1,5 +1,5 @@ def gettext_dependencies(d): - if d.getVar('USE_NLS', True) == 'no': + if d.getVar('USE_NLS', True) == 'no' and not oe.utils.inherits(d,
'native', 'nativesdk', 'cross')
return ""
if bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True) and notoe.utils.inherits(d, 'cross-canadian')
return ""
second problem is that EXTRA_OECONF when recipes override it instead of += or appending etc.
then --enable|--disable-nls that we added via gettext_oeconf() is lost as a result some packages complain about config.rpath
when USE_NLS is set to no the reason is their configure is missing the argument --disable-nls this works ok
for eglibc based targets since default is to enable-nls if nothing is specified but uclibc fails. As a testcase try to preprocess utils-linux
recipe and check the contents of EXTRA_OECONF
Re: [PATCH 36/52] gettext.bbclass: Use _append instead of =+
Quoted 93 lines · Khem Raj
Quoted 58 lines · Richard Purdie
Quoted 7 lines · Khem Raj
This has the same problem It empties out
DEPENDS_GETTEXTafter they have have already been added to DEPENDS via virtclass e.g. when you build gcc-runtime-nativesdk it will report a dep loop since now it depends on virtual/gettext-nativesdk (added by gettext class)
and virtual/gettext-nativesdk depends on compilerlibs provided by gcc-runtime-nativesdk. This was same problem I was trying to circumventOk, how about this version:
meta/classes/base.bbclass +0
-0@@ -89,9 +89,11 @@ def base_dep_prepend(d):deps += " virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc " return deps
meta/classes/base.bbclass +5
-3-DEPENDS_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-native_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-nativesdk_prepend="${@base_dep_prepend(d)} " +BASEDEPENDS = "${@base_dep_prepend(d)}" + +DEPENDS_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-native_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-nativesdk_prepend="${BASEDEPENDS} "FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ], d)}" # THISDIR only works properly with imediate expansion as it has to run
meta/classes/gettext.bbclass +9
-11@@ -1,17 +1,17 @@ -def gettext_after_parse(d): - # Remove the NLS bits if USE_NLS is no. - if bb.data.getVar('USE_NLS', d, 1) == 'no': - cfg = oe_filter_out('^--(dis|en)able-nls$', bb.data.getVar('EXTRA_OECONF', d, 1) or "", d) - cfg += " --disable-nls" - depends = bb.data.getVar('DEPENDS', d, 1) or "" - bb.data.setVar('DEPENDS', oe_filter_out('^(virtual/libiconv|virtual/libintl)$', depends, d), d) - bb.data.setVar('EXTRA_OECONF', cfg, d) +def gettext_dependencies(d): + if d.getVar('USE_NLS', True) == 'no': + return "" + if bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True) and not oe.utils.inherits(d, 'cross-canadian'): + return "" + return d.getVar('DEPENDS_GETTEXT', False) -python () { - gettext_after_parse(d) -} +def gettext_oeconf(d): + # Remove the NLS bits if USE_NLS is no. + if d.getVar('USE_NLS', True) == 'no':meta/classes/gettext.bbclass line 17
Quoted 10 lines
meta/classes/gettext.bbclass +5
-3+ return '--disable-nls' + return "--enable-nls" -DEPENDS_GETTEXT = "gettext gettext-native" +DEPENDS_GETTEXT = "virtual/gettext gettext-native" -DEPENDS =+ "${DEPENDS_GETTEXT}" -EXTRA_OECONF += "--enable-nls" +BASEDEPENDS =+ "${@gettext_dependencies(d)}" +EXTRA_OECONF += "${@gettext_oeconf(d)}"a build from scratch revealed few more issues with this patch too.
1. We have to only remove gettext from dependencies if its a target package for all other it still it needed otherwise all native and cross tools start failing to build
e.g. binutils-cross this can be easily solved by a patchiff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass index 6f79e5e..cc39204 100644
meta/classes/gettext.bbclass +1
-1@@ -1,5 +1,5 @@ def gettext_dependencies(d): - if d.getVar('USE_NLS', True) == 'no': + if d.getVar('USE_NLS', True) == 'no' and not oe.utils.inherits(d, 'native', 'nativesdk', 'cross') return "" if bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True) and not
oe.utils.inherits(d, 'cross-canadian')
return ""
Quoted 10 lines
second problem is that
EXTRA_OECONFwhen recipes override it instead of += or appending etc.
then --enable|--disable-nls that we added viagettext_oeconf()is lost as a result some packages complain about config.rpath
whenUSE_NLSis set to no the reason is their configure is missing the argument --disable-nls this works ok
for eglibc based targets since default is to enable-nls if nothing is specified but uclibc fails. As a testcase try to preprocess utils-linux
recipe and check the contents ofEXTRA_OECONF
attached is a patch on top of this patch which fixes both the issues I mentioned. I also thought of defining USE_NLS to yes in native/cross/nativesdk classes but then I resorted to add the check in gettext.bbclass
Please review and apply if appropriate
Thanks
Signature · 1 line
-Khem
Re: [PATCH 36/52] gettext.bbclass: Use _append instead of =+
Quoted 94 lines · Khem Raj
Quoted 93 lines · Khem Raj
Quoted 58 lines · Richard Purdie
Quoted 7 lines · Khem Raj
This has the same problem It empties out
DEPENDS_GETTEXTafter they have have already been added to DEPENDS via virtclass e.g. when you build gcc-runtime-nativesdk it will report a dep loop since now it depends on virtual/gettext-nativesdk (added by gettext class)
and virtual/gettext-nativesdk depends on compilerlibs provided by gcc-runtime-nativesdk. This was same problem I was trying to circumventOk, how about this version:
meta/classes/base.bbclass +5
-3@@ -89,9 +89,11 @@ def base_dep_prepend(d): deps += " virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc " return deps -DEPENDS_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-native_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-nativesdk_prepend="${@base_dep_prepend(d)} " +BASEDEPENDS = "${@base_dep_prepend(d)}" + +DEPENDS_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-native_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-nativesdk_prepend="${BASEDEPENDS} " FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ], d)}" # THISDIR only works properly with imediate expansion as it has to runmeta/classes/gettext.bbclass +9
-11@@ -1,17 +1,17 @@ -def gettext_after_parse(d): - # Remove the NLS bits if USE_NLS is no. - if bb.data.getVar('USE_NLS', d, 1) == 'no': - cfg = oe_filter_out('^--(dis|en)able-nls$', bb.data.getVar('EXTRA_OECONF', d, 1) or "", d) - cfg += " --disable-nls" - depends = bb.data.getVar('DEPENDS', d, 1) or "" - bb.data.setVar('DEPENDS', oe_filter_out('^(virtual/libiconv|virtual/libintl)$', depends, d), d) - bb.data.setVar('EXTRA_OECONF', cfg, d) +def gettext_dependencies(d): + if d.getVar('USE_NLS', True) == 'no': + return "" + if bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True) and not oe.utils.inherits(d, 'cross-canadian'): + return "" + return d.getVar('DEPENDS_GETTEXT', False) -python () { - gettext_after_parse(d) -} +def gettext_oeconf(d): + # Remove the NLS bits if USE_NLS is no. + if d.getVar('USE_NLS', True) == 'no':meta/classes/gettext.bbclass line 17
Quoted 10 lines
meta/classes/gettext.bbclass +5
-3+ return '--disable-nls' + return "--enable-nls" -DEPENDS_GETTEXT = "gettext gettext-native" +DEPENDS_GETTEXT = "virtual/gettext gettext-native" -DEPENDS =+ "${DEPENDS_GETTEXT}" -EXTRA_OECONF += "--enable-nls" +BASEDEPENDS =+ "${@gettext_dependencies(d)}" +EXTRA_OECONF += "${@gettext_oeconf(d)}"a build from scratch revealed few more issues with this patch too.
1. We have to only remove gettext from dependencies if its a target package for all other it still it needed otherwise all native and cross tools start failing to build
e.g. binutils-cross this can be easily solved by a patchiff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass index 6f79e5e..cc39204 100644
meta/classes/gettext.bbclass +1
-1@@ -1,5 +1,5 @@ def gettext_dependencies(d): - if d.getVar('USE_NLS', True) == 'no': + if d.getVar('USE_NLS', True) == 'no' and not oe.utils.inherits(d, 'native', 'nativesdk', 'cross') return "" if bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True) and not
oe.utils.inherits(d, 'cross-canadian')
return ""
Quoted 16 lines
Quoted 10 lines
second problem is that
EXTRA_OECONFwhen recipes override it instead of += or appending etc.
then --enable|--disable-nls that we added viagettext_oeconf()is lost as a result some packages complain about config.rpath
whenUSE_NLSis set to no the reason is their configure is missing the argument --disable-nls this works ok
for eglibc based targets since default is to enable-nls if nothing is specified but uclibc fails. As a testcase try to preprocess utils-linux
recipe and check the contents ofEXTRA_OECONFattached is a patch on top of this patch which fixes both the issues I mentioned. I also thought of defining
USE_NLSto yes in native/cross/nativesdk classes but then I resorted to add the check in gettext.bbclass
Khem,
Are you refering to the changes above? If so, it would be better to have it in a proper patch email, if you could resend with just the patch and comments that would be most appreciated.
Thanks
Sau!
Quoted 11 lines
Please review and apply if appropriate
Thanks
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [PATCH 36/52] gettext.bbclass: Use _append instead of =+
Quoted 111 lines · Saul Wold
Quoted 94 lines · Khem Raj
Quoted 93 lines · Khem Raj
Quoted 58 lines · Richard Purdie
Quoted 7 lines · Khem Raj
This has the same problem It empties out
DEPENDS_GETTEXTafter they have have already been added to DEPENDS via virtclass e.g. when you build gcc-runtime-nativesdk it will report a dep loop since now it depends on virtual/gettext-nativesdk (added by gettext class)
and virtual/gettext-nativesdk depends on compilerlibs provided by gcc-runtime-nativesdk. This was same problem I was trying to circumventOk, how about this version:
meta/classes/base.bbclass +5
-3@@ -89,9 +89,11 @@ def base_dep_prepend(d): deps += " virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc " return deps -DEPENDS_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-native_prepend="${@base_dep_prepend(d)} " -DEPENDS_virtclass-nativesdk_prepend="${@base_dep_prepend(d)} " +BASEDEPENDS = "${@base_dep_prepend(d)}" + +DEPENDS_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-native_prepend="${BASEDEPENDS} " +DEPENDS_virtclass-nativesdk_prepend="${BASEDEPENDS} " FILESPATH = "${@base_set_filespath([ "${FILE_DIRNAME}/${PF}", "${FILE_DIRNAME}/${P}", "${FILE_DIRNAME}/${PN}", "${FILE_DIRNAME}/${BP}", "${FILE_DIRNAME}/${BPN}", "${FILE_DIRNAME}/files", "${FILE_DIRNAME}" ], d)}" # THISDIR only works properly with imediate expansion as it has to runmeta/classes/gettext.bbclass +9
-11@@ -1,17 +1,17 @@ -def gettext_after_parse(d): - # Remove the NLS bits if USE_NLS is no. - if bb.data.getVar('USE_NLS', d, 1) == 'no': - cfg = oe_filter_out('^--(dis|en)able-nls$', bb.data.getVar('EXTRA_OECONF', d, 1) or "", d) - cfg += " --disable-nls" - depends = bb.data.getVar('DEPENDS', d, 1) or "" - bb.data.setVar('DEPENDS', oe_filter_out('^(virtual/libiconv|virtual/libintl)$', depends, d), d) - bb.data.setVar('EXTRA_OECONF', cfg, d) +def gettext_dependencies(d): + if d.getVar('USE_NLS', True) == 'no': + return "" + if bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True) and not oe.utils.inherits(d, 'cross-canadian'): + return "" + return d.getVar('DEPENDS_GETTEXT', False) -python () { - gettext_after_parse(d) -} +def gettext_oeconf(d): + # Remove the NLS bits if USE_NLS is no. + if d.getVar('USE_NLS', True) == 'no':meta/classes/gettext.bbclass line 17
Quoted 10 lines
meta/classes/gettext.bbclass +5
-3+ return '--disable-nls' + return "--enable-nls" -DEPENDS_GETTEXT = "gettext gettext-native" +DEPENDS_GETTEXT = "virtual/gettext gettext-native" -DEPENDS =+ "${DEPENDS_GETTEXT}" -EXTRA_OECONF += "--enable-nls" +BASEDEPENDS =+ "${@gettext_dependencies(d)}" +EXTRA_OECONF += "${@gettext_oeconf(d)}"a build from scratch revealed few more issues with this patch too.
1. We have to only remove gettext from dependencies if its a target package for all other it still it needed otherwise all native and cross tools start failing to build
e.g. binutils-cross this can be easily solved by a patchiff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass index 6f79e5e..cc39204 100644
meta/classes/gettext.bbclass +1
-1@@ -1,5 +1,5 @@ def gettext_dependencies(d): - if d.getVar('USE_NLS', True) == 'no': + if d.getVar('USE_NLS', True) == 'no' and not oe.utils.inherits(d, 'native', 'nativesdk', 'cross') return "" if bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True) and not
oe.utils.inherits(d, 'cross-canadian')
return ""Quoted 16 lines
Quoted 10 lines
second problem is that
EXTRA_OECONFwhen recipes override it instead of += or appending etc.
then --enable|--disable-nls that we added viagettext_oeconf()is lost as a result some packages complain about config.rpath
whenUSE_NLSis set to no the reason is their configure is missing the argument --disable-nls this works ok
for eglibc based targets since default is to enable-nls if nothing is specified but uclibc fails. As a testcase try to preprocess utils-linux
recipe and check the contents ofEXTRA_OECONFattached is a patch on top of this patch which fixes both the issues I mentioned. I also thought of defining
USE_NLSto yes in native/cross/nativesdk classes but then I resorted to add the check in gettext.bbclass
Quoted 5 lines
Khem,
Are you refering to the changes above? If so, it would be better to have it in a proper patch email, if you could resend with just the patch and comments that would be most appreciated.
As it was untested. I wanted to run through RP and see if he sees any issues before I put out a pull request
-Khem
Re: [PATCH 36/52] gettext.bbclass: Use _append instead of =+
In reply to Khem RajQuoted 18 lines · Khem Raj
a build from scratch revealed few more issues with this patch too.
1. We have to only remove gettext from dependencies if its a target package for all other it still it needed otherwise all native and cross tools start failing to build
e.g. binutils-cross this can be easily solved by a patchiff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass index 6f79e5e..cc39204 100644
meta/classes/gettext.bbclass +1
-1@@ -1,5 +1,5 @@ def gettext_dependencies(d): - if d.getVar('USE_NLS', True) == 'no': + if d.getVar('USE_NLS', True) == 'no' and not oe.utils.inherits(d, 'native', 'nativesdk', 'cross') return "" if bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True) and not
Quoted 2 lines
oe.utils.inherits(d, 'cross-canadian')
return ""
This looks reasonable, its still much clearer what is happening and why compared to the original version...
Quoted 10 lines
second problem is that
EXTRA_OECONFwhen recipes override it instead of += or appending etc.
then --enable|--disable-nls that we added viagettext_oeconf()is lost as a result some packages complain about config.rpath
whenUSE_NLSis set to no the reason is their configure is missing the argument --disable-nls this works ok
for eglibc based targets since default is to enable-nls if nothing is specified but uclibc fails. As a testcase try to preprocess utils-linux
recipe and check the contents ofEXTRA_OECONF
I suspect we can fix this with:
-EXTRA_OECONF += "${@gettext_oeconf(d)}"
+EXTRA_OECONF_append = " ${@gettext_oeconf(d)}"
?
Cheers,
Richard
Re: [PATCH 36/52] gettext.bbclass: Use _append instead of =+
Quoted 41 lines · Richard Purdie
Quoted 12 lines · Khem Raj
a build from scratch revealed few more issues with this patch too.
1. We have to only remove gettext from dependencies if its a target package for all other it still it needed otherwise all native and cross tools start failing to build
e.g. binutils-cross this can be easily solved by a patchiff --git a/meta/classes/gettext.bbclass b/meta/classes/gettext.bbclass index 6f79e5e..cc39204 100644
meta/classes/gettext.bbclass +0
-0@@ -1,5 +1,5 @@Quoted 8 lines
def
gettext_dependencies(d):
- ifd.getVar('USE_NLS', True)== 'no':
+ ifd.getVar('USE_NLS', True)== 'no' and notoe.utils.inherits(d, 'native', 'nativesdk', 'cross')
return ""
ifbb.data.getVar('INHIBIT_DEFAULT_DEPS', d, True)and notoe.utils.inherits(d, 'cross-canadian')
return ""This looks reasonable, its still much clearer what is happening and why compared to the original version...
Quoted 10 lines
second problem is that
EXTRA_OECONFwhen recipes override it instead of += or appending etc.
then --enable|--disable-nls that we added viagettext_oeconf()is lost as a result some packages complain about config.rpath
whenUSE_NLSis set to no the reason is their configure is missing the argument --disable-nls this works ok
for eglibc based targets since default is to enable-nls if nothing is specified but uclibc fails. As a testcase try to preprocess utils-linux
recipe and check the contents ofEXTRA_OECONFI suspect we can fix this with:
(quoted diff) +1
-1-EXTRA_OECONF += "${@gettext_oeconf(d)}" +EXTRA_OECONF_append = " ${@gettext_oeconf(d)}"
Quoted 2 lines
?
yes something like that
somehow the patch I attached did not make it to ml I have sent it separately now.
Quoted 5 lines
Cheers,
Richard