pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/uriparser uriparser: updated to 0.9.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9383e0fdb15
branches:  trunk
changeset: 396004:d9383e0fdb15
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon May 20 07:44:59 2019 +0000

description:
uriparser: updated to 0.9.3

0.9.3:
* Fixed: pkg-config: Fix version line in liburiparser.pc
* Changed: MinGW: Add library version suffix to DLL name
* Soname: 1:26:0

0.9.2:
* Fixed: Add missing extern "C" wrapper to UriIp4.h for use from C++
* Fixed: Linking error for symbol defaultMemoryManager from mixing C and C++
* Fixed: Link errors on Haiku regarding function inet_ntop
* Fixed: Mark API functions with __declspec(dllexport) and
    __declspec(dllimport) in *.h files for Visual Studio
* Improved: Use -fvisibility=hidden by default with supporting compilers,
     e.g. GCC and Clang
* Changed: Migrated from GNU Autotools to CMake
* Removed: All Windows-related build systems other than CMake
* Soname: 1:25:0

diffstat:

 textproc/uriparser/Makefile                                  |  30 ++++-------
 textproc/uriparser/PLIST                                     |  10 +++-
 textproc/uriparser/distinfo                                  |  12 ++--
 textproc/uriparser/patches/patch-aa                          |  17 ------
 textproc/uriparser/patches/patch-include_uriparser_UriBase.h |  17 ++++++
 5 files changed, 42 insertions(+), 44 deletions(-)

diffs (129 lines):

diff -r 399e9b070ce7 -r d9383e0fdb15 textproc/uriparser/Makefile
--- a/textproc/uriparser/Makefile       Mon May 20 02:19:20 2019 +0000
+++ b/textproc/uriparser/Makefile       Mon May 20 07:44:59 2019 +0000
@@ -1,33 +1,25 @@
-# $NetBSD: Makefile,v 1.12 2019/01/06 13:47:19 bsiegert Exp $
+# $NetBSD: Makefile,v 1.13 2019/05/20 07:44:59 adam Exp $
 
-DISTNAME=      uriparser-0.9.1
+DISTNAME=      uriparser-0.9.3
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=uriparser/}
 GITHUB_RELEASE=        ${DISTNAME}
-EXTRACT_SUFX=  .tar.bz2
+EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://uriparser.github.io/
 COMMENT=       URI parsing library
 LICENSE=       modified-bsd
 
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --disable-doc
-USE_LIBTOOL=   yes
-USE_TOOLS+=    gmake
-USE_FEATURES=  snprintf
-PKGCONFIG_OVERRIDE+= liburiparser.pc.in
-TEST_TARGET=   check
-
-LDFLAGS.SunOS+=        -lsocket -lnsl
+USE_CMAKE=             yes
+USE_FEATURES=          snprintf
+USE_LANGUAGES=         c c++
+PKGCONFIG_OVERRIDE+=   liburiparser.pc.in
+TEST_TARGET=           test
 
-.include "../../mk/bsd.fast.prefs.mk"
+CMAKE_ARGS+=           -DURIPARSER_BUILD_DOCS=OFF
 
-# needs "libcpptest" for test
-#.if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss])
-#USE_LANGUAGES=        c c++
-#.else
-CONFIGURE_ARGS+= --disable-test
-#.endif
+LDFLAGS.SunOS+=                -lsocket -lnsl
 
+.include "../../devel/googletest/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 399e9b070ce7 -r d9383e0fdb15 textproc/uriparser/PLIST
--- a/textproc/uriparser/PLIST  Mon May 20 02:19:20 2019 +0000
+++ b/textproc/uriparser/PLIST  Mon May 20 07:44:59 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2018/02/23 16:41:34 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2019/05/20 07:44:59 adam Exp $
 bin/uriparse
 include/uriparser/Uri.h
 include/uriparser/UriBase.h
@@ -6,5 +6,11 @@
 include/uriparser/UriDefsConfig.h
 include/uriparser/UriDefsUnicode.h
 include/uriparser/UriIp4.h
-lib/liburiparser.la
+lib/cmake/uriparser-0.9.3/uriparser-config-version.cmake
+lib/cmake/uriparser-0.9.3/uriparser-config.cmake
+lib/cmake/uriparser-0.9.3/uriparser-noconfig.cmake
+lib/cmake/uriparser-0.9.3/uriparser.cmake
+lib/liburiparser.so
+lib/liburiparser.so.1
+lib/liburiparser.so.1.0.26
 lib/pkgconfig/liburiparser.pc
diff -r 399e9b070ce7 -r d9383e0fdb15 textproc/uriparser/distinfo
--- a/textproc/uriparser/distinfo       Mon May 20 02:19:20 2019 +0000
+++ b/textproc/uriparser/distinfo       Mon May 20 07:44:59 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2019/01/06 13:47:19 bsiegert Exp $
+$NetBSD: distinfo,v 1.11 2019/05/20 07:44:59 adam Exp $
 
-SHA1 (uriparser-0.9.1.tar.bz2) = 35b0f326bad6749c6a08da854e8ad0638d2fd198
-RMD160 (uriparser-0.9.1.tar.bz2) = 894281bcd38afd582e8f277f08346f9dc3d24ec6
-SHA512 (uriparser-0.9.1.tar.bz2) = c6a4f3b737d4c53ba14148a5be363d93947c8c32755b369726ccdd6e01e8a2293d2c94d448700fc97bb56092696b67965646ae07c9ef31be253e2279d0bc3821
-Size (uriparser-0.9.1.tar.bz2) = 372722 bytes
-SHA1 (patch-aa) = 71f3582a2988c6c35a1a2b1995d50f47f22939bd
+SHA1 (uriparser-0.9.3.tar.xz) = b9b424a3e16d32fadfc603de3f5f4a9d5dbe7c76
+RMD160 (uriparser-0.9.3.tar.xz) = a8b4b08a42c1dca7404a2bc592f928437aa44157
+SHA512 (uriparser-0.9.3.tar.xz) = fd821c5b441c5bbf9477ec9e3abfb4b3bf3789e1d874905ac8ba23b4a301a586a5fa03328dc62bc2b261d3b99b5c7c44f84b8faf57377bc2275ce0b78b58887b
+Size (uriparser-0.9.3.tar.xz) = 166328 bytes
+SHA1 (patch-include_uriparser_UriBase.h) = 71f3582a2988c6c35a1a2b1995d50f47f22939bd
diff -r 399e9b070ce7 -r d9383e0fdb15 textproc/uriparser/patches/patch-aa
--- a/textproc/uriparser/patches/patch-aa       Mon May 20 02:19:20 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2007/11/08 18:36:14 bjs Exp $
-
---- include/uriparser/UriBase.h.orig   2007-09-18 23:10:11.000000000 -0400
-+++ include/uriparser/UriBase.h
-@@ -124,7 +124,12 @@ typedef int UriBool; /**< Boolean type *
- 
- 
- #ifndef URI_DOXYGEN
-+# ifdef HAVE_NBCOMPAT_H
-+#  include <nbcompat/cdefs.h>
-+#  include <nbcompat/stdio.h>
-+# else
- # include <stdio.h> /* For NULL, snprintf */
-+# endif
- # include <ctype.h> /* For wchar_t */
- # include <string.h> /* For strlen, memset, memcpy */
- # include <stdlib.h> /* For malloc */
diff -r 399e9b070ce7 -r d9383e0fdb15 textproc/uriparser/patches/patch-include_uriparser_UriBase.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/uriparser/patches/patch-include_uriparser_UriBase.h      Mon May 20 07:44:59 2019 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-include_uriparser_UriBase.h,v 1.1 2019/05/20 07:44:59 adam Exp $
+
+--- include/uriparser/UriBase.h.orig   2007-09-18 23:10:11.000000000 -0400
++++ include/uriparser/UriBase.h
+@@ -124,7 +124,12 @@ typedef int UriBool; /**< Boolean type *
+ 
+ 
+ #ifndef URI_DOXYGEN
++# ifdef HAVE_NBCOMPAT_H
++#  include <nbcompat/cdefs.h>
++#  include <nbcompat/stdio.h>
++# else
+ # include <stdio.h> /* For NULL, snprintf */
++# endif
+ # include <ctype.h> /* For wchar_t */
+ # include <string.h> /* For strlen, memset, memcpy */
+ # include <stdlib.h> /* For malloc */



Home | Main Index | Thread Index | Old Index