summaryrefslogtreecommitdiff
path: root/converters/libiconv
AgeCommit message (Collapse)AuthorFilesLines
2012-10-03Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-2/+1
2012-05-12Add CONFLICTS with new man-pages package. For details, seewiz1-1/+3
man-pages/Makefile.
2011-09-08Revert recent commit, add a (hopefully) correct patch instead. Bump rev.bsiegert4-22/+22
In the Makefile.in, libcharset is copied with pax into lib/ along with its object files. This overwrites relocatable.lo from libiconv, which is then relinked against the wrong object. Use "libtool --mode=install cp" instead to only copy the library. Should hopefully fix PR pkg/45341.
2011-09-06Link libiconv.la against libcharset.la to fix the build on MirBSD.bsiegert3-6/+17
Bump PKGREVISION. Patch was first sent to tech-pkg, no one objected.
2011-08-22Update to 1.14; disable cp932 option for now, no patch available yet.wiz3-9/+11
New in 1.14: * The 'iconv' program now produces its output as soon as it can. It no longer unnecessarily waits for more input. * Updated the GB18030 converter to map 25 characters to code points that have been to Unicode since 2000, rather than to code points in the Private Use Area. * Updated the BIG5-HKSCS converter. The old BIG5-HKSCS converter is renamed to BIG5-HKSCS:2004. A new converter BIG5-HKSCS:2008 is added. BIG5-HKSCS is now an alias for BIG5-HKSCS:2008. * Fixed a bug in the conversion to wchar_t. * Fixed a small bug in the CP1258 converter.
2011-01-16Remove "--without-libiconv-prefix", almost no configure script recognizes it.wiz1-3/+1
2010-11-10Changes 1.13.1:adam11-125/+42
* The library and the iconv program now understand platform dependent aliases, for better compatibility with the platform's own iconv_open function. Examples: "646" on Solaris, "iso88591" on HP-UX, "IBM-1252" on AIX. * For stateful encodings, when the input ends with a shift sequence followed by invalid input, the iconv function now increments the input pointer past the shift sequence before returning (size_t)(-1) with errno = EILSEQ. This is also like GNU libc's iconv() behaves. * The library exports a new function iconv_open_into() that stores the conversion descriptor in pre-allocated memory, rather than allocating fresh memory for it. * Added CP1131 converter.
2010-11-05s/LIBEXIF_HACKS_MK/LIBICONV_HACKS_MK/shattered1-3/+3
2010-08-30tell iconv.h for Haiku.obache1-3/+5
2010-01-30Treat Haiku like BeOS.obache2-1/+21
2010-01-06Use "libtool" rules similar to those in version 1.13.1 of "libiconv"tron2-14/+49
to build "preloadable_libiconv.so". This should fix the build under Linux, OSF1 and Solaris with any supported compiler.
2010-01-06Fix the part of the makefile that builds "preloadable_libiconv.so" undertron2-6/+16
Solaris if GCC is used. As this bit is both operating system and compiler specific we can simple bypass "libtool" which is what must have happened with the old "libtool". The build in the non-GCC case or under Linux respectively OSF1 might still be broken. But I don't have a setup to test that.
2009-06-14Remove @dirrm entries from PLISTsjoerg1-3/+1
2009-05-19Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENTwiz1-2/+2
block). Uncomment some commented out LICENSE lines while here.
2009-03-20Simply and speed up buildlink3.mk files and processing.joerg1-13/+6
This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time.
2008-05-26Second round of explicit pax dependencies. As reminded by tnn@,joerg1-1/+2
many packages used to use ${PAX}. Use the common way of directly calling pax, it is created as tool after all.
2008-04-12Convert to use PLIST_VARS instead of manually passing "@comment "jlam2-7/+6
through PLIST_SUBST to the plist module.
2008-02-27Greatly simplify the logic that tries to determine whether -lintljlam2-36/+37
needs -liconv in order to satisfy linkage requirements. This is now patterned after the approach taken with readline and termlib. Examples on NetBSD for a package that includes only gettext-lib/buildlink3.mk: PREFER_NATIVE= yes PREFER_PKGSRC= # empty # This uses the native gettext and native iconv, with: # BUILDLINK_LDADD.gettext == "-lintl" PREFER_NATIVE= yes PREFER_PKGSRC= iconv # This uses the native gettext and native iconv, with: # BUILDLINK_LDADD.gettext == "-lintl" PREFER_NATIVE= yes PREFER_PKGSRC= gettext # This uses the pkgsrc gettext and native iconv, with: # BUILDLINK_LDADD.gettext == "-lintl" PREFER_NATIVE= yes PREFER_PKGSRC= gettext iconv # This uses the pkgsrc gettext and pkgsrc iconv, with: # BUILDLINK_LDADD.gettext == "-lintl -liconv" PREFER_NATIVE= # empty PREFER_PKGSRC= yes # This uses the pkgsrc gettext and pkgsrc iconv, with: # BUILDLINK_LDADD.gettext == "-lintl -liconv" PREFER_NATIVE= iconv PREFER_PKGSRC= yes # This uses the pkgsrc gettext and native iconv, with: # BUILDLINK_LDADD.gettext == "-lintl" PREFER_NATIVE= gettext PREFER_PKGSRC= yes # This uses the native gettext and native iconv, with: # BUILDLINK_LDADD.gettext == "-lintl" PREFER_NATIVE= gettext iconv PREFER_PKGSRC= yes # This uses the native gettext and native iconv, with: # BUILDLINK_LDADD.gettext == "-lintl"
2008-02-27Whitespace.jlam1-6/+7
2008-01-13Regen.joerg1-2/+2
2008-01-13Keep locale_alias symbol and don't hide it when visibility supportjoerg3-2/+19
exists and libiconv is compiled. This restores symmetry between libiconv.so, libiconv.a and libintl and fixes the build of gettext-tools on Linux. Bump revision.
2008-01-08Remove the preprocessor test for 'long long int', it fails with SunProsketch2-1/+20
causing later compile-time tests to break. Taken from gnulib change in http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00075.html
2007-11-29Update to 1.12:wiz6-42/+29
New in libiconv-1.12-cp932.patch: * Changed CP932 converter to use exact mapping table. * Added WINDOWS-31J, csWINDOWS31J, SJIS-OPEN, SJIS-WIN as aliases for CP932. * Added EUCJP-MS converter. * Added EUC-JP-MS, EUCJP-OPEN, EUCJP-WIN as aliases for EUCJP-MS. New in 1.12: * The iconv program is now licensed under the GPL version 3, instead of the GPL version 2. The libiconv library continues to be licensed under LGPL. * Added RK1048 converter. * On AIX, an existing system libiconv no longer causes setlocale() to fail. * Upgraded EUC-KR, JOHAB to include the Korean postal code sign.
2007-11-07Fix version detection when the version number contains capital letters.minskim1-5/+5
2007-10-28Add cp932-patch which was ja-patch as PKG_OPTION and enabled default.taca3-10/+21
Bump PKGREVISION.
2007-10-16Fix abusers of LOWER_OPSYS to check OPSYS or MACHINE_PLATFORM instead.tnn1-2/+2
2007-06-02Don't require c99 in USE_LANGUAGES. libiconv builds fine with gccschmonz1-2/+9
2.95.4 on FreeBSD 4.11 without it; with it, pkgsrc wants gcc3-c, which results in a circular dependency. The addition of c99 to USE_LANGUAGES appears to have been intended to benefit IRIX with MIPSPro, so also restore the old behavior of appending "-c99" to CFLAGS in that case.
2007-04-12Merge platform-specific PLISTs. Suggested by <joerg>tnn5-8/+11
2007-04-11Add custom PLIST for OSF1, due to libiconv installing a preloadable_libiconv.sotnn1-0/+2
like it does on SunOS.
2007-03-20Update to 1.11:wiz9-61/+39
New in 1.11: * The iconv program has new options --unicode-subst, --byte-subst, --widechar-subst that allow to specify substitutions for characters that cannot be converted. * The iconv program now understands long options: long option equivalent to --from-code -f --to-code -t --list -l --silent -s * The CP936 converter is now different from the GBK converter: it has changed to include the Euro sign and private area characters. CP936 is no longer an alias of GBK. * Updated GB18030 converter to include all private area characters. * Updated CP950 converter to include the Euro sign and private area characters. * Updated CP949 converter to include private area characters. * Updated the BIG5-HKSCS converter. The old BIG5-HKSCS converter is renamed to BIG5-HKSCS:1999 and updated to Unicode 4. New converters BIG5-HKSCS:2001 and BIG5-HKSCS:2004 are added. BIG5-HKSCS is now an alias for BIG5-HKSCS:2004. * Added a few irreversible mappings to the CP932 converter. * Tidy up the list of symbols exported from libiconv (assumes gcc >= 4.0).
2007-01-30This package is not MAKE_JOBS_SAFE.rillig1-1/+2
2006-12-03Added c++ to USE_LANGUAGES because configure (unnecessarily) looks forcbiere1-2/+2
a working C++ preprocessor and the build breaks if there's a non-working CC in PATH otherwise.
2006-12-02Instead of setting compiler flags in each package if it uses C99,jschauma1-7/+2
allow USE_LANGUAGES+=c99 and let gcc and mipspro do the right thing. May need to be reviewed/added for other compilers. ok rillig@
2006-11-14DESTDIR support. Use modular Xorg for wv.joerg3-14/+24
XXX Remove pre-install in libiconv?
2006-07-08Change the format of BUILDLINK_ORDER to contain depth information as well,jlam1-2/+2
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
2006-07-08Track information in a new variable BUILDLINK_ORDER that informs usjlam1-1/+2
of the order in which buildlink3.mk files are (recursively) included by a package Makefile.
2006-06-08Explicitly disable NLS. This should fix PLIST problems on Linux,jlam1-1/+7
where glibc has its own gettext functions and the configure script was picking it up and as a result the install process copied a lot of *.mo files into ${PREFIX}.
2006-04-14added a hack to work around the conflict of sys/types.h and inttypes.h onschwarz1-0/+17
IRIX 5.3.
2006-04-06Over 1200 files touched but no revisions bumped :)reed2-5/+5
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-03-30Avoid extra stat() calls by not repeatedly checking whether a filejlam1-3/+3
exists on the disk -- we can just check whether a variable defined by find-files.mk is "__nonexistent__" or not.
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-2/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig1-2/+2
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-10-02Update libiconv-1.10-cp932.patch to libiconv-1.10-ja-1.patch,taca2-7/+7
approved by wiz. Bump PKGREVISION. New in libiconv-1.10-ja.patch: * Changed EUC-JP, SHIFT_JIS, ISO-2022-JP, ISO-2022-JP-1, ISO-2022-JP-2, ISO-2022-JP-3, DEC-KANJI converters, so that JIS X 0208 1-29(0x815C )EM DASH is converted into U+2014 EM DASH instead of U+2015 HORIZONTAL BAR. * Changed SHIFT_JIS, SHIFT_JISX0213, ISO-2022-JP, ISO-2022-JP-1, ISO-2022-JP-2, ISO-2022-JP-3 converters, so that JIS X 0201 5/12(0x5C) YEN SIGN is converted into U+005C REVERSE SOLIDUS instead of U+00A5 YEN SIGN and JIS X 0201 7/14(0x7E) OVER LINE is converted into U+007E TILDE instead of U+203E OVER LINE. * Changed EUC-JP, SHIFT_JIS converters to exclude UDC mappings. * Added Shift_JIS-MS, SJIS-MS, MS932 as aliases for CP932. * Added CP51932 converter. * Added ISO-2022-JP-MS converter. * Added CP50221 as aliases for ISO-2022-JP-MS. New in libiconv-1.10-ja-1.patch: * Fixed output JIS X 0201 kata-kana character as raw 8bit when converted to iso-2022-jp-ms. * Fixed check tests/SHIFT_JISX0213.TXT * Add WINDOWS-932 as alias of CP932. * Add WINDOWS-51932 and MS51932 as alias of CP51932. * Add WINDOWS-50221 and MS50221 as alias of ISO-2022-JP-MS. * Add eucjpms (from MySQL) as alias of eucJP-ms. * Introduce CHARSET_ALIAS environment variable support. Example) with /bin/sh: $ CHARSET_ALIAS="Shift_JIS=WINDOWS-932:EUC-JP=EUC-JP-MS:ISO-2022-JP=ISO-2022-JP-MS" $ export CHARSET_ALIAS
2005-09-27add -c99 to CFLAGS for IRIX' MIPSPro compilers.jschauma1-1/+7
2005-09-12Added cp932 patch; closing PR-31142adam2-3/+10
2005-08-19Put the charset.alias file into place using REQD_FILES instead ofjlam2-4/+4
CONF_FILES since we need it to always be present for libiconv to function properly. It's now no longer removed automatically at deinstallation if it differs from the stock charset.alias file, meaning it's now preserved in case the user made modifications to the file; however a warning will be output that the file can be safely removed if you don't need it anymore. Bump the PKGREVISION to 1.
2005-08-19Merge CONF_FILES/SUPPORT_FILES and CONF_FILES_PERMS/SUPPORT_FILES_PERMSjlam1-2/+2
as the INSTALL and DEINSTALL scripts no longer distinguish between the two types of files. Drop SUPPORT_FILES{,_PERMS} and modify the packages in pkgsrc accordingly.
2005-07-28Changes 1.10:adam7-36/+22
* Added ISO-8859-11 converter. * Updated the ISO-8859-7 converter. * Added ATARIST converter, available through --enable-extra-encodings. * Added BIG5-2003 converter (experimental), available through --enable-extra-encodings. * Updated EUC-TW converter to include the Euro sign. * The preloadable library has been renamed from libiconv_plug.so to preloadable_libiconv.so. * Portability to mingw.
2005-06-06Back out previous and reset the BUILTIN_VERSION.iconv variable instead.jlam1-3/+3
This should fix functioning on Linux systems that actually use GNU libiconv as the builtin iconv implementation.
2005-06-05Make BUILTIN_PKG.iconv follow what the comment says.minskim1-2/+2