pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/gflags Changes 2.2.0:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa188f914ef2
branches:  trunk
changeset: 359762:aa188f914ef2
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Mar 17 14:49:58 2017 +0000

description:
Changes 2.2.0:
This release adds support for use of the gflags library as external dependency not only in projects using CMake, but also Bazel, or pkg-config. One new minor feature is added in this release: when a 
command flag argument contains dashes, these are implicitly converted to underscores. This is to allow those used to separate words of the flag name by dashes to do so, while the flag variable names 
are required to use underscores.

Memory leaks reported by valgrind should be resolved by this release.
This release fixes build errors with MS Visual Studio 2015.

diffstat:

 devel/gflags/Makefile |  19 +++++++++++--------
 devel/gflags/PLIST    |  19 ++++++++++---------
 devel/gflags/distinfo |  10 +++++-----
 3 files changed, 26 insertions(+), 22 deletions(-)

diffs (89 lines):

diff -r 7cc55456ee96 -r aa188f914ef2 devel/gflags/Makefile
--- a/devel/gflags/Makefile     Fri Mar 17 14:38:03 2017 +0000
+++ b/devel/gflags/Makefile     Fri Mar 17 14:49:58 2017 +0000
@@ -1,28 +1,31 @@
-# $NetBSD: Makefile,v 1.1 2016/12/06 00:34:18 rodent Exp $
+# $NetBSD: Makefile,v 1.2 2017/03/17 14:49:58 adam Exp $
 
-DISTNAME=      gflags-${PORTVERSION}
+DISTNAME=      gflags-2.2.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=gflags/}
-GITHUB_PROJECT=        gflags
-GITHUB_TAG=    v${PORTVERSION}
 
 MAINTAINER=    bacon4000%gmail.com@localhost
 HOMEPAGE=      https://github.com/gflags/gflags
 COMMENT=       Commandline flags module for C++
 LICENSE=       modified-bsd
 
+GITHUB_PROJECT=        gflags
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
 USE_LANGUAGES= c c++
 USE_TOOLS+=    bash:run
 REPLACE_BASH=  src/gflags_completions.sh
 USE_CMAKE=     yes
-CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_SHARED_LIBS:BOOL=ON
-CMAKE_ARGS+=   -DBUILD_STATIC_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=ON
+CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE:STRING=Release
+CMAKE_ARGS+=   -DBUILD_SHARED_LIBS:BOOL=ON
+CMAKE_ARGS+=   -DBUILD_STATIC_LIBS:BOOL=ON
+CMAKE_ARGS+=   -DBUILD_TESTING:BOOL=ON
 CMAKE_ARGS+=   -DGFLAGS_NAMESPACE:STRING=gflags
 PTHREAD_OPTS+= require
 
-TEST_TARGET=   test
+PKGCONFIG_OVERRIDE=    cmake/package.pc.in
 
-PORTVERSION=   2.1.2
+TEST_TARGET=   test
 
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7cc55456ee96 -r aa188f914ef2 devel/gflags/PLIST
--- a/devel/gflags/PLIST        Fri Mar 17 14:38:03 2017 +0000
+++ b/devel/gflags/PLIST        Fri Mar 17 14:49:58 2017 +0000
@@ -1,17 +1,18 @@
-@comment $NetBSD: PLIST,v 1.1 2016/12/06 00:34:18 rodent Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/03/17 14:49:58 adam Exp $
 bin/gflags_completions.sh
+include/gflags/gflags.h
 include/gflags/gflags_completions.h
 include/gflags/gflags_declare.h
-include/gflags/gflags.h
+lib/cmake/gflags/gflags-config-version.cmake
 lib/cmake/gflags/gflags-config.cmake
-lib/cmake/gflags/gflags-config-version.cmake
-lib/cmake/gflags/gflags-export.cmake
-lib/cmake/gflags/gflags-export-release.cmake
+lib/cmake/gflags/gflags-targets-release.cmake
+lib/cmake/gflags/gflags-targets.cmake
 lib/libgflags.a
+lib/libgflags.so
+lib/libgflags.so.2.2
+lib/libgflags.so.${PKGVERSION}
 lib/libgflags_nothreads.a
 lib/libgflags_nothreads.so
-lib/libgflags_nothreads.so.2
+lib/libgflags_nothreads.so.2.2
 lib/libgflags_nothreads.so.${PKGVERSION}
-lib/libgflags.so
-lib/libgflags.so.2
-lib/libgflags.so.${PKGVERSION}
+lib/pkgconfig/gflags.pc
diff -r 7cc55456ee96 -r aa188f914ef2 devel/gflags/distinfo
--- a/devel/gflags/distinfo     Fri Mar 17 14:38:03 2017 +0000
+++ b/devel/gflags/distinfo     Fri Mar 17 14:49:58 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2016/12/06 00:34:18 rodent Exp $
+$NetBSD: distinfo,v 1.2 2017/03/17 14:49:58 adam Exp $
 
-SHA1 (gflags-2.1.2.tar.gz) = 8bdbade9d041339dc14b4ab426e2354a5af38478
-RMD160 (gflags-2.1.2.tar.gz) = c43a4b98d72f3093e4a6268c6a656667856d2401
-SHA512 (gflags-2.1.2.tar.gz) = f636023c1150e4d536d2d472e40d643ff0b02d3c96d8cb7f31544df23e6255fa6c4fd927ef94a3660c250d3faeae7d8d78519fc5e856749a577347a78d9d9ab5
-Size (gflags-2.1.2.tar.gz) = 95716 bytes
+SHA1 (gflags-2.2.0.tar.gz) = bf07a7926cb2ce4dd4048bdc081f9e00e91cefd6
+RMD160 (gflags-2.2.0.tar.gz) = 134cb58d460c4d00ca9451d6176fbafdeb62eb32
+SHA512 (gflags-2.2.0.tar.gz) = e2106ca70ff539024f888bca12487b3bf7f4f51928acf5ae3e1022f6bbd5e3b7882196ec50b609fd52f739e1f7b13eec7d4b3535d8216ec019a3577de6b4228d
+Size (gflags-2.2.0.tar.gz) = 96408 bytes



Home | Main Index | Thread Index | Old Index