pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/mapcode Update geography/mapcode to 2.4.0. B...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e1e9f5964ba7
branches:  trunk
changeset: 354297:e1e9f5964ba7
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Wed Oct 26 10:50:33 2016 +0000

description:
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:

 geography/mapcode/Makefile |   7 +++++--
 geography/mapcode/distinfo |  10 +++++-----
 2 files changed, 10 insertions(+), 7 deletions(-)

diffs (42 lines):

diff -r 974655b888f0 -r e1e9f5964ba7 geography/mapcode/Makefile
--- a/geography/mapcode/Makefile        Wed Oct 26 07:51:56 2016 +0000
+++ b/geography/mapcode/Makefile        Wed Oct 26 10:50:33 2016 +0000
@@ -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 @@
 # Included CMakeLists is nonsensical
 # USE_CMAKE=   yes
 
+PTHREAD_AUTO_VARS=     yes
+
 INSTALLATION_DIRS=     bin include lib
 
 do-build:
@@ -29,4 +31,5 @@
        ${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 -r 974655b888f0 -r e1e9f5964ba7 geography/mapcode/distinfo
--- a/geography/mapcode/distinfo        Wed Oct 26 07:51:56 2016 +0000
+++ b/geography/mapcode/distinfo        Wed Oct 26 10:50:33 2016 +0000
@@ -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



Home | Main Index | Thread Index | Old Index