PaulHowarth/Blog/2016-06-14

Tuesday 14th June 2016

Fedora Project

  • Updated perl-Event to 1.26 in Rawhide:

    • Fix documentation typos
  • Updated perl-Hash-Util-FieldHash-Compat to 0.11 in Rawhide:

    • Be gentle to older toolchains by avoiding the use of Module::Metadata in configure-requires (CPAN RT#115310)

  • Updated perl-Test-Simple to 1.302026 in Rawhide:

    • Do not fail if Test2::API::Breakage cannot load (rare 5.10.0 issue)

    • Potential fix for t/Legacy/Regression/637.t

    • Make t/Legacy/Regression/637.t AUTHOR_TESTING for now

    • Add Generic event type

    • Make sure enabling culling/shm sets pid and tid (fix GH#679)

Local Packages

  • Updated perl-Event to 1.26 as per the Fedora version

  • Updated perl-Hash-Util-FieldHash-Compat to 0.11 as per the Fedora version

  • Updated perl-Term-ReadLine-Gnu to 1.34:

    • Improve UTF-8 handling
      • UTF-8 decoding is done at the interface between Perl and XS; this makes it possible for UTF-8 strings to be read from the GNU Readline Library functions and variables
      • Add enableUTF8() method

      • UTF-8 support is enabled when STDIN is in UTF-8 by the -C command-line switch, or PERL_UNICODE environment variable, or IN file handle has utf8 IO layer, or -enableUTF8 method is called

      • Pop IO layer only when stdio layer is pushed on utf8 layer to support Perl 5.8.x

    • rl_save_state(), rl_restore_state(), history_get_history_state() and history_set_history_state() are finally implemented

    • Update RL_STATE_* definitions

    • Fix rl_readline_state and history_length variable to be writeable

    • Fix rl_completion_quote_character and rl_completion_found_quote variable to be read-only

    • Update POD document
    • t/*.t: Improve and use Test::More

    • t/utf8_binary.t, t/utf8_text.t:

      • Use en_US.UTF-8 instead of en_US.utf8 for locale

      • Force the GNU Readline Library 8bit

      • Add variable access test, IO layer check, verbose mode, etc.
      • Use camel characters instead of Japanese kanji characters
    • t/utf8_binary.t: Skip when PERL_UNICODE is set (CPAN RT#114185)

    • t/utf8.txt: Use camel characters instead of Japanese kanji characters

    • t/callback.t: Update comments and code clean-up

    • Use some modern Perl features (but still in 5.8 era)
      • Use file handle references
      • Define export tags
      • Comment out 'use vars' for subroutine name alias

    • Gnu.pm, t/utf8_text.t: Fix version checks for perl 5.10.0

    • t/utf8_text.t: Fix the number of skip for systems that do not support the en_US.UTF-8 locale

    • Gnu.pm: Delete old formatted 'use VERSION'

    • ppport.h: Update from version 1.0007 to version 3.31

    • t/utf8_text.t: Fix for the fail when PERL_UNICODE environment variable is set

  • I had to add a patch for the t/utf8_binary.t and t/utf8_text.t tests as Red Hat/Fedora versions of Perl 5.8.8 behave more like as expected for Perl 5.10 onwards in these tests, possibly due to patching of perl for UTF8 issues


Recent