# changelog

author: lars@linux-schulserver.de
changelog:
  - update to 1.7.1:
    Many new versifications and locale, large scale refactoring and
    standardisation of many methods and the addition of filters for
    standard compliant XHTML output are probably the most important
    improvements.
    Improved output in various formats, handling of bibliographic data
    and addition of new transports to the install manager are other
    changes.
    We will from now on maintain both a maintenance branch for 1.7 and
    a development branch for new features.
    Some entries from Changelog:
    + Add a new Option filter, OSISReferenceLinks
    + Removed PLAINHTML and PLAINFootnotes filters
    + More examples, including: show a chapter, verse range
    + Greatly improved navigation with intros and normalization
      turned on/off
    + New .conf entries honored:
      StrongsPadding=false, which turns off
      logic to detect strongs numbers and add padding
      CaseSensitiveKeys=true, which makes a lexicon case sensitive
    + Added support to install from SFTP sources using username/password
      authentication in places where cURL has SFTP support (no support
      for public-key auth yet)
    + Starting (very minimal) support for TEI in xml2gbs
    + Changed default log level to WARN from INFO
    + New Lucene index field for searching 'morph'
    + InstallMgr now supports HTTPS connections where cURL has support
      for that transport
    + Allow div in header of osis document
    + Allow comments to be in osis document and to be stripped out
    + Added ability for *HTML* wrappers to render n attribute from notes
    + Removed SynodalP v11n from library
    + Improved handling of CLucene and included support for CLucene 2
    + Added RTFHTML parsing of rtf \\number codes to facilitate .conf files
    + Added sane parameter parsing to imp2ld
    + Added methods for utf8 / wchar conversion to help clucene
    + added Faroese, Pohnpeian Locale
  - disabled osis testsuite for the moment
  - removed sword-gcc47.patch and
  - adapted sword-1.6.1-curl.patch (sword-1.7.1-curl.patch)
  - removed sword-1.6.1-fix_compiler_warnings.patch
  - added rpmlintrc to ignore notes for the examples


author: riggwelter@opensuse.org
changelog:
  - update to 1.7.3:
    + Added support for xz (LZMA2) module compression via liblzma
    + Added support for bzip2 (Burrows-Wheeler) module compression via
      libbz2
    + Added zVerse4, zText4, & zCom4 classes to support compressed
      text/commentary modules with entry sizes > 64k
    + Added C# bindings contributed by Daniel Hughes
      <trampster@gmail.com>


author: lars@linux-schulserver.de
changelog:
  - update to 1.7.4:
    + Fixed endless loop in osis2mod for some inputs.
    + Added support for Psalm Book divisions using
      <div type=majorSection> from GHellings
    + Corrected anomalous OSIS highlighting output w/GHellings'
      patches in src/modules/filters/osis{plain,xhtml}.cpp


author: i@marguerite.su
changelog:
  - update version 1.7.5a1
  - add sword-gcc6-ftemplate-depth.patch, fixed boo#985162
    * fix: template instantiation depth exceeds maximum of 25
    * according to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65042
      we can only increase -ftemplate-depth to greater number than 25
      there's no better way.


author: mpluskal@suse.com
changelog:
  - Use pkgconfig style dependencies and drop distro specific
    conditions
  - Let rpm generate dependencies/requirements and do not inject them
    manually
  - Cleanup with spec-cleaner
  - Do not strip created libraries


author: kkirill@opensuse.org
changelog:
  - update to 1.8.1:
    + Added bindings: Android and cordova
    + Added French mapping data
    + Added --with-icuregex option to use ICU regex engine
  - remove sword-gcc6-ftemplate-depth.patch as fixed upstream
  - add -DU_USING_ICU_NAMESPACE=1 to fix boo#1095666


author: pth@suse.de
changelog:
  - Create a .chnages file.
  - Add BuildRequires for Test::Pod::Coverage and Test::Pod for
    complete testing.


author: Stephan Kulow <coolo@suse.com>
changelog:
  - updated to 1.049
    see /usr/share/doc/packages/perl-PAR-Packer/Changes
    1.049  2019-05-31
    - Fix RT#129312: Code signing for OSX
      Avoid Archive::Zip::Archive error "can't find EOCD signature" for pp'ed
      executables with lots of stuff appended (e.g. by OSX codesign).
      Note: This requires the corresponding fix in PAR in 1.016,
      hence bump its required version.
      Add a test by appending 512 kB to a pp'ed executable.
    - Fix issue GitHub#15 (doesn't build with a relocatable version of perl)
      If the perl used to build PAR::Packer is a relocatable perl,
      i.e. it was build with -Duserelocatableinc, then myldr/par will
      also be relocatable. Hence, the automagical default @INC for myldr/par
      is something like ("myldr/../lib/5.x.y",
      "myldr/../lib/site_perl/5.x.y", ...) which won't find any modules.


author: <timueller+perl@suse.de>
changelog:
  - updated to 1.050
    see /usr/share/doc/packages/perl-PAR-Packer/Changes
    1.050  2020-03-18
    - Rethink use of Filter::PodStrip.
      Do not add directives
      [#]line 1 "file"
      to packed modules except for "embdeded" files.
      We still add these directives to "embedded" files as these are extracted
      with mangled names which makes it hard to make sense of warn() or die() messages
      caused by them. These are all core modules and don't reference __FILE__.
      This should make use of __FILE__ in packed modules work without
      workarounds. __FILE__ is typically used to refer to installed non-module
      resources, e.g.
      [#] MIME::Types
      my $db = File::Spec->catfile(dirname(__FILE__), 'types.db');
      [#] Mozilla::CA
      my $ca_file = File::Spec->catfile(dirname(__FILE__), "CA", "cacert.pem");
      [#] Mojo::File (__FILE__ used implicitly by caller())
      sub curfile { __PACKAGE__->new(Cwd::realpath((caller)[1])) }
      Hence, remove known workarounds from Filter::PatchContent and add a test.
    - Fix RT#130685: core module detection doesn't work with -Duserelocatableinc
      Original patch by Frank.Lichtenheld@Sophos.com, thanx!
      Added a test for this.


author: Tina Müller <timueller+perl@suse.de>
changelog:
  - updated to 1.051
    see /usr/share/doc/packages/perl-PAR-Packer/Changes
    1.051  2020-11-29
    - Fix #27: "pp -u broken in perl 5.32"
      ignore "pp -u ..." (with a warning) for Perl >= 5.31.6
    - Fix #25: unexpected interaction between pp options "--compile" and "--module Foo::"
      scan_deps_runtime() is called for all detected Foo:: modules, but
      modules by themselves are typically not suitable for dynamic scanning
      (causing lots of spurious warnings for "--compile").
    - cleanup argv handling in myldr/main.c
    - placate cperl ("Attempt to change hash while iterating over it.")


author: Tina Müller <timueller+perl@suse.de>
changelog:
  - updated to 1.052
    see /usr/share/doc/packages/perl-PAR-Packer/Changes
    1.052  2021-01-13
    - add note that --filter and __DATA__ are incompatible (cf. #36, #39)
    - change bugtracker to GitHub issues
    - when embedding FILEs, normalize paths in @INC
    - code cleanup:
    - rename _tempfile() to _save_as()
    - there is no $PAR::Heavy::ModuleCache, so make it a "my" variable
    - consistent formatting in outs() calls
    - demystify reading <$fh> with $/ = \$number: use "read $fh, $buf, $number" instead
    - use "open $fh, '<:raw', ..." instead of "open $fh, '<', ...; binmode($fh);"
    - make error messages more consistent
    - make extract-embedded.pl more robust
    - t/90-rt129312.t fails when Archive::Unzip::Burst is used


author: Tina Müller <timueller+perl@suse.de>
changelog:
  - updated to 1.053
    see /usr/share/doc/packages/perl-PAR-Packer/Changes
    1.053  2022-01-25
    - Fix: merge PR #56 from from Philip Kime <Philip@kime.org.uk>:
      Updating OSX codesign fix util with fix for automatically added ad-hoc signatures on OSX 12+
    - Fix: merge PR #42 from Andrew-Kulpa/master:
      Get exe size from file handle instead of path
    - Fix: prevent TABs in literal makefile fragments from being expanded
    - Cleanups:
    - par_findprog(): pass a copy of argument `path´ to strtok()
    - simplify searching for PAR magic
    - consolidate die()s
    - add a test for GitHub #41
    - add error message when exec'ing the custom perl fails in myldr/boot
    - untangle %require_list and %ModuleCache


author: Tina Müller <timueller+perl@suse.de>
changelog:
  - updated to 1.054
    see /usr/share/doc/packages/perl-PAR-Packer/Changes
    1.054  2022-01-27
    - Temporarily disable t/90-gh41.t (system("\\\\?\\some-absolute-path") fails)


author: Tina Müller <timueller+perl@suse.de>
changelog:
  - updated to 1.055
    see /usr/share/doc/packages/perl-PAR-Packer/Changes
    1.055  2022-07-03
    - Fix #62: rs6000_71 (AIX) "An offset in the .loader section header is too large."
      Communicate pp option "--clean" to the generated executable in a
      different way. Previously this was done by patching "__ENV_PAR_..." strings
    * *in the executable being built** and interpreting these strings in
      par.pl **at runtime**. Though hacky, this seemingly worked on any OS
      (without rendering the executable invalid).
      But the only information ever passed was the value of PAR_CLEAN and this was
      gleaned at build time from the value of JSONPath $par.clean from META.yml
      in the zip (set by pp by option "--clean").
      Instead read and interpret "META.yml" in par.pl **at runtime**.
    - Fix: merge PR #58 from Philip@kime.org.uk:
      Adding support for running MacOS Universal binaries created via 'lipo'
      from already pp'ed and signed thin binaries
    - Make writing stuff more robust: check return value of print()
      and close() in some places.


author: Tina Müller <timueller+perl@suse.de>
changelog:
  - updated to 1.056
    see /usr/share/doc/packages/perl-PAR-Packer/Changes
    1.056  2022-09-05
    - Fix #66: patch myldr/boot for "pp --clean ..." without side effects
    - make sure myldr/boot contains exactly one string of the form
      "__PASS_PAR_CLEAN__               \0" so that there are no
      duplicates that may get split on chunk boundaries
      (myldr/boot_embedded_files.c)
    - simplify patching of this string (in $loader) to
      "__PASS_PAR_CLEAN__=1             \0" in script/par.pl
    - add a test for #66 (check for ephemeral vs persistent cache directory)
    - Revert "Fixes #62: rs6000_71 (AIX) "An offset in the .loader section header is too large.""
      PAR_CLEAN is set too late: at this point PAR_TEMP has already
      been set (and populated) to a persistent cache directory
      (/tmp/par-USER/cache-SHA1) instead of an ephemeral one (/tmp/par-USER/temp-PID).
    - Some code cleanup
    - replace some magic numbers with constants
    - use string interpolation (instead of concatenation)
    - clean up some convoluted C code


author: Tina Müller <timueller+perl@suse.de>
changelog:
  - updated to 1.057
    see /usr/share/doc/packages/perl-PAR-Packer/Changes
    1.057  2022-11029
    - use a different method to mark executable built from "pp --clean ..."
    - scripts/par.pl: don't patch the string "__PASS_PAR_CLEAN__               \0" in the
      "boot" section of the executable and ...
    - myldr/boot.c: ... stop looking for the patched string
    - scripts/par.pl: add "\0CLEAN" in lieu of "\0CACHE" (and drop the 40-byte
      cache name below that) in the "trailer" section when generating a packed
      executable when META.yml indicates "--clean" was specified)
    - myldr/mktmpdir.c: allow "\0CLEAN" as an alternative to "\0CACHE"
      and set PAR_CLEAN=1 in that case
    - myldr/mktmpdir.c: implement find_par_magic() akin the one in script/par.pl
    - better CLT detection in MacOS (#70) [plk <Philip@kime.org.uk>]
    - use Getopt::ArgvFile with resolveEnvVars=1
      suggested by Johan Vromans (@sciurius on GitHub)


