gflags: updated to 2.2.2

gflags 2.2.2
This maintenance release improves life of Bazel users (no more
"config.h" leaking into global include paths), fixes build with recent MinGW
versions, and silences a number of static code analyzer and compiler warnings.
The build targets exported by the CMake configuration of this library are now
also prefixed by the package name "gflags::" following a more recent
(unwritten) CMake convention. The unprefixed target names are still supported
to avoid that dependent projects have to be modified due to this change in
imported target names.

gflags 2.2.1
Maintenance release with mainly Windows build fixes.
* Link to online documentation in README
* Include utils by file instead of CMAKE_MODULE_PATH search
* Remove unused program_name variable
* Enable language C for older CMake versions when needed
* Changed include directory in bazel build
* Mark single argument constructors in mutex.h as explicit
* Use inttypes.h on VC++ 2013 and later
* Fix statically linked gflags library with MSVC
* Modify installation paths on Windows for vcpkg
* Fix static initialization order fiasco caused by global registry lock
* Fix use of ARGC in CMake macros
* Static code analyzer error regarding strncmp with empty kRootDir
* Check HAVE_STDINT_H or HAVE_INTTYPES_H for older MSVC versions
This commit is contained in:
adam 2019-03-21 22:14:33 +00:00
parent 4f713f9e02
commit d0aa56a8a0
3 changed files with 16 additions and 16 deletions

View file

@ -1,21 +1,21 @@
# $NetBSD: Makefile,v 1.2 2017/03/17 14:49:58 adam Exp $
# $NetBSD: Makefile,v 1.3 2019/03/21 22:14:33 adam Exp $
DISTNAME= gflags-2.2.0
DISTNAME= gflags-2.2.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=gflags/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= bacon4000@gmail.com
HOMEPAGE= https://github.com/gflags/gflags
COMMENT= Commandline flags module for C++
LICENSE= modified-bsd
GITHUB_PROJECT= gflags
GITHUB_TAG= v${PKGVERSION_NOREV}
USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= bash:run
TEST_TARGET= test
REPLACE_BASH= src/gflags_completions.sh
USE_CMAKE= yes
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE:STRING=Release
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON
CMAKE_ARGS+= -DBUILD_STATIC_LIBS:BOOL=ON
@ -25,7 +25,5 @@ PTHREAD_OPTS+= require
PKGCONFIG_OVERRIDE= cmake/package.pc.in
TEST_TARGET= test
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,18 +1,20 @@
@comment $NetBSD: PLIST,v 1.2 2017/03/17 14:49:58 adam Exp $
@comment $NetBSD: PLIST,v 1.3 2019/03/21 22:14:33 adam Exp $
bin/gflags_completions.sh
include/gflags/gflags.h
include/gflags/gflags_completions.h
include/gflags/gflags_declare.h
lib/cmake/gflags/gflags-config-version.cmake
lib/cmake/gflags/gflags-config.cmake
lib/cmake/gflags/gflags-nonamespace-targets-release.cmake
lib/cmake/gflags/gflags-nonamespace-targets.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.so.2.2
lib/libgflags_nothreads.a
lib/libgflags_nothreads.so
lib/libgflags_nothreads.so.2.2
lib/libgflags_nothreads.so.${PKGVERSION}
lib/libgflags_nothreads.so.2.2
lib/pkgconfig/gflags.pc

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.2 2017/03/17 14:49:58 adam Exp $
$NetBSD: distinfo,v 1.3 2019/03/21 22:14:33 adam Exp $
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
SHA1 (gflags-2.2.2.tar.gz) = 4d42470afb7236fb0cf90f8bbb0cec588073c17c
RMD160 (gflags-2.2.2.tar.gz) = d9663fa211bbaaff72cff99d8c7c2f898398585a
SHA512 (gflags-2.2.2.tar.gz) = 98c4703aab24e81fe551f7831ab797fb73d0f7dfc516addb34b9ff6d0914e5fd398207889b1ae555bac039537b1d4677067dae403b64903577078d99c1bdb447
Size (gflags-2.2.2.tar.gz) = 98704 bytes