diff options
author | fhajny <fhajny@pkgsrc.org> | 2016-10-26 10:50:33 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2016-10-26 10:50:33 +0000 |
commit | 2b636167f18c728f03ca2543df5331c642d50c17 (patch) | |
tree | 4c44b60b4e1921a64b3ee5e0f49639359f6439c1 /geography/mapcode | |
parent | e3f2fadbdb659f195c44225e99ebd3b70959e58f (diff) | |
download | pkgsrc-2b636167f18c728f03ca2543df5331c642d50c17.tar.gz |
Update geography/mapcode to 2.4.0. Build with thread support.
Changes in 2.4.0
- Added scripts for Korean (Choson'gul / Hangul), Burmese, Khmer,
Sinhalese, Thaana (Maldivan), Chinese (Zhuyin, Bopomofo), Tifinagh
(Berber), Tamil, Amharic, Telugu, Odia, Kannada, Gujarati.
- Renamed constants to more correct terms (Malay to Malayalam, Hindi to
Devanagari).
- Added getAlphabetsForTerritory(t), returning the most commonly used
alphabets for territory t.
- Improved some characters for Arabic and Devanagari.
- Fixed Bengali to also support Assamese.
- Improved readability of implementation.
- Added conditional define option for unittest: NO_POSIX_THREADS. Add
-DNO_POSIX_THREADS to your compiler command-line to not use
pthreads.h, for example, on MSVC platforms.
- Added conditional define option library: NO_FAST_ENCODE. Add
-DNO_FAST_ENCODE to your compiler command-line to not use the fast
encoding (default is to use fast encoding). Using fast encoding speeds
up de encoding by a factor of 2. For normal use, there is no reason not
to use fast encoding.
- Added parseMapcodeString to get individual mapcode elements, like the
territory code, the 'proper' mapcode (without the territory and
precision extension) and the precision extension parsed from a (user)
input string.
- Additional bug fixes.
Diffstat (limited to 'geography/mapcode')
-rw-r--r-- | geography/mapcode/Makefile | 7 | ||||
-rw-r--r-- | geography/mapcode/distinfo | 10 |
2 files changed, 10 insertions, 7 deletions
diff --git a/geography/mapcode/Makefile b/geography/mapcode/Makefile index f6680a56ffc..d92f74545e5 100644 --- a/geography/mapcode/Makefile +++ b/geography/mapcode/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.1 2016/10/25 08:22:27 fhajny Exp $ +# $NetBSD: Makefile,v 1.2 2016/10/26 10:50:33 fhajny Exp $ -DISTNAME= mapcode-cpp-2.3.0 +DISTNAME= mapcode-cpp-2.4.0 PKGNAME= ${DISTNAME:S/-cpp//} CATEGORIES= geography MASTER_SITES= ${MASTER_SITE_GITHUB:=mapcode-foundation/} @@ -18,6 +18,8 @@ USE_LANGUAGES= c c++ # Included CMakeLists is nonsensical # USE_CMAKE= yes +PTHREAD_AUTO_VARS= yes + INSTALLATION_DIRS= bin include lib do-build: @@ -29,4 +31,5 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/mapcodelib/mapcoder.h ${DESTDIR}${PREFIX}/include/mapcode.h ${INSTALL_LIB} ${WRKSRC}/mapcodelib/libmapcode.so ${DESTDIR}${PREFIX}/lib +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/geography/mapcode/distinfo b/geography/mapcode/distinfo index 982789b9a87..34c27cda7a4 100644 --- a/geography/mapcode/distinfo +++ b/geography/mapcode/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2016/10/25 08:22:27 fhajny Exp $ +$NetBSD: distinfo,v 1.2 2016/10/26 10:50:33 fhajny Exp $ -SHA1 (mapcode-cpp-2.3.0.tar.gz) = 6c0a8520bb42ac635849b52e94bcd90cb29348ef -RMD160 (mapcode-cpp-2.3.0.tar.gz) = ffc35adac1255c77df6c9f4b7b347341c177300c -SHA512 (mapcode-cpp-2.3.0.tar.gz) = 7ed70930ae6444d3d5ef7b82c1e719dc179ec18e204c892d0c140e30dddd68021f684d9ab4cae8be7998a290f999b740af4c42fee6b147718cdfc6b2aa743975 -Size (mapcode-cpp-2.3.0.tar.gz) = 919736 bytes +SHA1 (mapcode-cpp-2.4.0.tar.gz) = 393cdb4cb935847d122bc09f351c9f639b6fa96e +RMD160 (mapcode-cpp-2.4.0.tar.gz) = 2ffff7a096bbab58571f7ac8223ad86f602a67e4 +SHA512 (mapcode-cpp-2.4.0.tar.gz) = 657543dcc31433d48a33cf3e499f33581d7f2b01c6fe5f203a811d31d82df13e869a914098ed9d1ade349b929012d2b91175f55074b34a9fcb7af49fa556fc7a +Size (mapcode-cpp-2.4.0.tar.gz) = 990523 bytes |