Skip to content

Commit

Permalink
recode: update to 3.7.14.
Browse files Browse the repository at this point in the history
Version 3.7.14
==============


+ No user-visible changes; minor clean-ups as part of the Debian
  packaging process.


Version 3.7.13
==============


+ Fix request diagnostics with --verbose: avoid output of confusing and
  possibly incorrect diagnostics.
+ Fix a file descriptor leak.


Version 3.7.12
==============


+ Simplify support for ignoring invalid input with iconv, integrated with
  the --strict and --force mechanisms.
+ Various documentation improvements.


Version 3.7.11
==============


+ Re-add support for transliteration with iconv (removed in 3.7).
+ Add support for ignoring invalid input with iconv.
+ Fix a bug introduced in 3.7.10 that prevented building the code.


Version 3.7.10
==============


+ In recode program, only use iconv if needed; add --prefer-iconv option to
  allow its use in all cases.
+ Remove support for pre-3.5 request syntax (colon as charset separator).
+ PO files have been updated from the Translation Project.
+ Build system fixes and improvements.
+ Update gnulib to fix a problem building on Android.
+ Fix confusingly wrong NEWS entry for 3.7.4.


Version 3.7.9
=============


+ A fix to the CP1252 encoding: U+017E LATIN SMALL LETTER Z WITH CARON is at
  byte 0x9e, not byte 0x8f.
+ Minor documentation fixes.


Version 3.7.8
=============


+ Improvements to the build system.
+ Fix man page generation, and document that help2man must be built with
  gettext.
+ Updates to nl, pt, sv translations (thanks, translators!).


Version 3.7.7
=============


+ Improvements to the build system.
+ Updates to nl, pt, sv translations (thanks, translators!).


Version 3.7.6
=============


+ Improvements to the build system.


Version 3.7.5
=============


+ Port tests to Python 3.


Version 3.7.4
=============


+ Fixes to file handling in recode program.
+ Fix tests on Windows.


Version 3.7.3
=============


+ No code changes to recode itself; this release features a properly
versioned shared library.


Version 3.7.2
=============


+ No code changes to recode itself; this release includes updates to license
headers to guide users to the GPL online, corrects the version of
COPYING-LIB shipped with the sources, and updates the message files for
various languages.


Version 3.7.1
=============


+ No code changes to recode itself; this release just updates the version of
gnulib to fix a bug in glibc 2.28: (GitHub issue #11
rrthomas/recode#11


Version 3.7
===========


+ Converters for BibTeX (from Vincent Danjean) and the ANSEL and ISO 5426
  character sets (from Wolfram Schneider) have been added.
+ The conversion strategies (whether to use pipes, memory or files) are
  no longer available.  Now it is reasonable to assume virtual memory, so
  files and memory have similar performance characteristics (in
  particular, the memory method is not limited by physical memory.)
  Further, tests showed that even for runs on little data, the pipes
  method has minimal performance impact (none was measured).  This is
  not a surprise, as for one-step recodings, the commonest case, no
  forking is needed.  The command-line options -i, -p and
  --sequence=STRATEGY are ignored for backwards compatibility.
+ Recode does not include libiconv anymore, but uses an external iconv
  library if one was available at installation time.  The -x: option
  to the program, or a new flag to the library recode_new_outer
  function, inhibits the initialisation and usage of iconv.
+ The experimental ``tree`` surface is removed.  Structured data
  needs a proper parser, and that doesn't fit the framework of Recode.
+ Many bug fixes.
+ Long ago, I renamed GNU recode to Free recode: the permission for
  using the GNU prefix mandated a level of obedience to the FSF that
  once went overboard, in my opinion.  After that change, I realized
  that some people read Free as a four letter word!  To be peaceful,
  this version changes the name again, to merely Recode.  recode
  (no capital) still names the executable program specifically, or
  the distribution archive itself.
+ make check accepts a LIMIT= option, for limiting tests to one or a
  few cases.  See tests/Makefile.am.
+ PO files have been updated from the Translation Project.
+ The test system has been overhauled.  Tests now run much faster, and
  require Python and Cython.
+ Overhauled build system, now using gnulib for portability.  This reduces
  the amount of code in the Recode tree considerably.
  • Loading branch information
0-wiz-0 committed May 17, 2023
1 parent a750917 commit 7915e3f
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 151 deletions.
36 changes: 20 additions & 16 deletions converters/recode/Makefile
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
# $NetBSD: Makefile,v 1.35 2023/05/17 11:22:57 wiz Exp $
#
# $NetBSD: Makefile,v 1.36 2023/05/17 11:53:23 wiz Exp $

DISTNAME= recode-3.6
PKGREVISION= 6
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_GNU:=recode/}
DISTNAME= recode-3.7.14
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_GITHUB:=rrthomas/}
GITHUB_RELEASE= v${PKGVERSION_NOREV}

MAINTAINER= [email protected]
HOMEPAGE= https://www.gnu.org/software/recode/recode.html
COMMENT= Convert files between character sets and usages
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
MAINTAINER= [email protected]
HOMEPAGE= https://github.com/rrthomas/recode/
COMMENT= Convert files between character sets and usages
LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3

USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
BROKEN_GETTEXT_DETECTION= yes
# needed only for tests, but detected at configure time
BUILD_DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython

# to detect cython properly, configure is only looking for unversioned cython
CONFIGURE_ENV+= CYTHON=cython-${PYVERSSUFFIX}

GNU_CONFIGURE= yes
USE_LIBTOOL= yes
INFO_FILES= yes
TEST_TARGET= check

post-extract:
${CP} ${WRKSRC}/lib/error.c ${WRKSRC}/src/error.c
PYTHON_VERSIONS_INCOMPATIBLE= 27
PYTHON_FOR_BUILD_ONLY= yes

.include "../../lang/python/tool.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
22 changes: 21 additions & 1 deletion converters/recode/PLIST
Original file line number Diff line number Diff line change
@@ -1,19 +1,39 @@
@comment $NetBSD: PLIST,v 1.9 2011/12/20 17:20:02 dholland Exp $
@comment $NetBSD: PLIST,v 1.10 2023/05/17 11:53:23 wiz Exp $
bin/recode
include/recode.h
include/recodext.h
info/recode.info
lib/librecode.la
man/man1/recode.1
share/locale/be/LC_MESSAGES/recode.mo
share/locale/ca/LC_MESSAGES/recode.mo
share/locale/cs/LC_MESSAGES/recode.mo
share/locale/da/LC_MESSAGES/recode.mo
share/locale/de/LC_MESSAGES/recode.mo
share/locale/el/LC_MESSAGES/recode.mo
share/locale/eo/LC_MESSAGES/recode.mo
share/locale/es/LC_MESSAGES/recode.mo
share/locale/fi/LC_MESSAGES/recode.mo
share/locale/fr/LC_MESSAGES/recode.mo
share/locale/ga/LC_MESSAGES/recode.mo
share/locale/gl/LC_MESSAGES/recode.mo
share/locale/he/LC_MESSAGES/recode.mo
share/locale/hr/LC_MESSAGES/recode.mo
share/locale/hu/LC_MESSAGES/recode.mo
share/locale/id/LC_MESSAGES/recode.mo
share/locale/it/LC_MESSAGES/recode.mo
share/locale/nb/LC_MESSAGES/recode.mo
share/locale/nl/LC_MESSAGES/recode.mo
share/locale/pl/LC_MESSAGES/recode.mo
share/locale/pt/LC_MESSAGES/recode.mo
share/locale/pt_BR/LC_MESSAGES/recode.mo
share/locale/ro/LC_MESSAGES/recode.mo
share/locale/ru/LC_MESSAGES/recode.mo
share/locale/sk/LC_MESSAGES/recode.mo
share/locale/sl/LC_MESSAGES/recode.mo
share/locale/sr/LC_MESSAGES/recode.mo
share/locale/sv/LC_MESSAGES/recode.mo
share/locale/tr/LC_MESSAGES/recode.mo
share/locale/uk/LC_MESSAGES/recode.mo
share/locale/vi/LC_MESSAGES/recode.mo
share/locale/zh_CN/LC_MESSAGES/recode.mo
12 changes: 4 additions & 8 deletions converters/recode/distinfo
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
$NetBSD: distinfo,v 1.12 2021/10/26 10:06:51 nia Exp $
$NetBSD: distinfo,v 1.13 2023/05/17 11:53:23 wiz Exp $

BLAKE2s (recode-3.6.tar.gz) = e65845fff7caca553a03765fbfbcc75cc0d6e6039481517e9be27ef4dda143f7
SHA512 (recode-3.6.tar.gz) = 68de277ac8cd5f6023bb077b959ab5778a78edac1299d507bab906824080b6f86e9bfcd89169aa474197c2faa9af2ceb1ed272c8dd4d50caef373afa05daed1b
Size (recode-3.6.tar.gz) = 1751886 bytes
SHA1 (patch-aa) = bc1fcbced4af16cb059beabbc34009e3dcd960d7
SHA1 (patch-libiconv_aliases.h) = c0f4b390cb87157b0a46436f04291a2f10332f6f
SHA1 (patch-src_Makefile_in) = 7f0d2a585aa18af817c221a2c4934550fdb5c7e6
SHA1 (patch-src_recodext.h) = f404830d5573e86ce5f9c9ce6477110f6c9dc1c0
BLAKE2s (recode-3.7.14.tar.gz) = cb1c0c3eb297df8f31162c09fede81a010c9969f41b797a538713d5e3d7137ec
SHA512 (recode-3.7.14.tar.gz) = ca0e9aa392f0571cfd1cf9566a15d7651a80edf40d603eadaa4c4ee2d7843ffa9d6074be30a21dac2ab192fe601f8581721d719d055911eeccb455acfe112596
Size (recode-3.7.14.tar.gz) = 2297471 bytes
42 changes: 0 additions & 42 deletions converters/recode/patches/patch-aa

This file was deleted.

12 changes: 0 additions & 12 deletions converters/recode/patches/patch-libiconv_aliases.h

This file was deleted.

51 changes: 0 additions & 51 deletions converters/recode/patches/patch-src_Makefile_in

This file was deleted.

21 changes: 0 additions & 21 deletions converters/recode/patches/patch-src_recodext.h

This file was deleted.

0 comments on commit 7915e3f

Please sign in to comment.