mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
google-gflags: move to aliases.nix
google-gflags were renamed to gflags in 2012: https://github.com/gflags/gflags/#25-january-2012 gflags.name will be updated in staging.
This commit is contained in:
parent
2f55e705e2
commit
b5d1d50aa9
@ -5,7 +5,7 @@
|
||||
, glog
|
||||
, gmock
|
||||
, openssl
|
||||
, google-gflags
|
||||
, gflags
|
||||
, gnuradio
|
||||
, orc
|
||||
, pkgconfig
|
||||
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||
glog
|
||||
gmock
|
||||
openssl.dev
|
||||
google-gflags
|
||||
gflags
|
||||
gnuradio
|
||||
orc
|
||||
pkgconfig
|
||||
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
cmakeFlags = [
|
||||
"-DGFlags_ROOT_DIR=${google-gflags}/lib"
|
||||
"-DGFlags_ROOT_DIR=${gflags}/lib"
|
||||
"-DGLOG_INCLUDE_DIR=${glog}/include"
|
||||
"-DENABLE_UNIT_TESTING=OFF"
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
, fetchurl
|
||||
, cmake
|
||||
, boost
|
||||
, google-gflags
|
||||
, gflags
|
||||
, glog
|
||||
, hdf5-cpp
|
||||
, opencv3
|
||||
@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
|
||||
++ ["-DUSE_LEVELDB=${toggle leveldbSupport}"]
|
||||
++ ["-DUSE_LMDB=${toggle lmdbSupport}"];
|
||||
|
||||
buildInputs = [ boost google-gflags glog protobuf hdf5-cpp opencv3 openblas ]
|
||||
buildInputs = [ boost gflags glog protobuf hdf5-cpp opencv3 openblas ]
|
||||
++ lib.optional cudaSupport cudatoolkit
|
||||
++ lib.optional cudnnSupport cudnn
|
||||
++ lib.optional lmdbSupport lmdb
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, cmake
|
||||
, eigen, opencv, ceres-solver, cgal, boost, vcg
|
||||
, gmp, mpfr, glog, google-gflags, libjpeg_turbo }:
|
||||
, gmp, mpfr, glog, gflags, libjpeg_turbo }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "openmvs-unstable-2018-05-26";
|
||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "12dgkwwfdp24581y3i41gsd1k9hq0aw917q0ja5s0if4qbmc8pni";
|
||||
};
|
||||
|
||||
buildInputs = [ eigen opencv ceres-solver cgal boost vcg gmp mpfr glog google-gflags libjpeg_turbo ];
|
||||
buildInputs = [ eigen opencv ceres-solver cgal boost vcg gmp mpfr glog gflags libjpeg_turbo ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||
"-DCERES_DIR=${ceres-solver}/lib/cmake/Ceres/"
|
||||
)
|
||||
'';
|
||||
|
||||
|
||||
postFixup = ''
|
||||
rp=$(patchelf --print-rpath $out/bin/DensifyPointCloud)
|
||||
patchelf --set-rpath $rp:$out/lib/OpenMVS $out/bin/DensifyPointCloud
|
||||
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
||||
rp=$(patchelf --print-rpath $out/bin/TextureMesh)
|
||||
patchelf --set-rpath $rp:$out/lib/OpenMVS $out/bin/TextureMesh
|
||||
'';
|
||||
|
||||
|
||||
cmakeDir = "./";
|
||||
|
||||
dontUseCmakeBuildDir = true;
|
||||
|
@ -2,13 +2,13 @@
|
||||
, eigen
|
||||
, fetchurl
|
||||
, cmake
|
||||
, google-gflags
|
||||
, gflags
|
||||
, glog
|
||||
, runTests ? false
|
||||
}:
|
||||
|
||||
# google-gflags is required to run tests
|
||||
assert runTests -> google-gflags != null;
|
||||
# gflags is required to run tests
|
||||
assert runTests -> gflags != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ceres-solver-${version}";
|
||||
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ eigen glog ]
|
||||
++ stdenv.lib.optional runTests google-gflags;
|
||||
++ stdenv.lib.optional runTests gflags;
|
||||
|
||||
# The Basel BUILD file conflicts with the cmake build directory on
|
||||
# case-insensitive filesystems, eg. darwin.
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, boost, libevent, double-conversion, glog
|
||||
, google-gflags, libiberty, openssl }:
|
||||
, gflags, libiberty, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "folly-${version}";
|
||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
boost
|
||||
double-conversion
|
||||
glog
|
||||
google-gflags
|
||||
gflags
|
||||
libevent
|
||||
libiberty
|
||||
openssl
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchgit, fetchurl, cmake, protobuf, libunwind, openssl, glog
|
||||
, google-gflags, gmock, gtest
|
||||
, gflags, gmock, gtest
|
||||
}:
|
||||
|
||||
let
|
||||
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake protobuf ];
|
||||
buildInputs = [ libunwind glog google-gflags gmock gtest ];
|
||||
buildInputs = [ libunwind glog gflags gmock gtest ];
|
||||
|
||||
# The headers and library include from these and there is no provided pc file
|
||||
propagatedBuildInputs = [ protobuf openssl ];
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub, fetchpatch
|
||||
, cmake, pkgconfig, unzip, zlib, pcre, hdf5
|
||||
, glog, boost, google-gflags, protobuf
|
||||
, glog, boost, gflags, protobuf
|
||||
, config
|
||||
|
||||
, enableJPEG ? true, libjpeg
|
||||
@ -179,7 +179,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
buildInputs =
|
||||
[ zlib pcre hdf5 glog boost google-gflags ]
|
||||
[ zlib pcre hdf5 glog boost gflags ]
|
||||
++ lib.optional useSystemProtobuf protobuf
|
||||
++ lib.optional enablePython pythonPackages.python
|
||||
++ lib.optional enableGtk2 gtk2
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib, stdenv
|
||||
, fetchurl, fetchFromGitHub
|
||||
, cmake, pkgconfig, unzip, zlib, pcre, hdf5
|
||||
, glog, boost, google-gflags, protobuf
|
||||
, glog, boost, gflags, protobuf
|
||||
, config
|
||||
|
||||
, enableJPEG ? true, libjpeg
|
||||
@ -187,7 +187,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
buildInputs =
|
||||
[ zlib pcre hdf5 glog boost google-gflags protobuf ]
|
||||
[ zlib pcre hdf5 glog boost gflags protobuf ]
|
||||
++ lib.optional enablePython pythonPackages.python
|
||||
++ lib.optional enableGtk2 gtk2
|
||||
++ lib.optional enableGtk3 gtk3
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ stdenv, lib, config, fetchFromGitHub
|
||||
, cmake
|
||||
, glog, google-gflags, gtest
|
||||
, glog, gflags, gtest
|
||||
, protobuf, snappy
|
||||
, python, future, six, python-protobuf, numpy, pydot
|
||||
, eigen
|
||||
@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "bin" "out" ];
|
||||
propagatedBuildOutputs = [ ]; # otherwise propagates out -> bin cycle
|
||||
|
||||
buildInputs = [ glog google-gflags protobuf snappy eigen ]
|
||||
buildInputs = [ glog gflags protobuf snappy eigen ]
|
||||
++ lib.optional useCuda cudatoolkit
|
||||
++ lib.optional useCudnn cudnn
|
||||
++ lib.optional useOpenmp openmp
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, abseil-cpp, google-gflags, which
|
||||
{ stdenv, fetchFromGitHub, cmake, abseil-cpp, gflags, which
|
||||
, lsb-release, glog, protobuf, cbc, zlib
|
||||
, ensureNewerSourcesForZipFilesHook, python, swig
|
||||
, pythonProtobuf }:
|
||||
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
configurePhase = ''
|
||||
cat <<EOF > Makefile.local
|
||||
UNIX_ABSL_DIR=${abseil-cpp}
|
||||
UNIX_GFLAGS_DIR=${google-gflags}
|
||||
UNIX_GFLAGS_DIR=${gflags}
|
||||
UNIX_GLOG_DIR=${glog}
|
||||
UNIX_PROTOBUF_DIR=${protobuf}
|
||||
UNIX_CBC_DIR=${cbc}
|
||||
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||
python.pkgs.setuptools python.pkgs.wheel
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
abseil-cpp google-gflags glog protobuf cbc
|
||||
abseil-cpp gflags glog protobuf cbc
|
||||
pythonProtobuf python.pkgs.six
|
||||
];
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ stdenv, lib, fetchFromGitHub, pkgconfig, cmake, python
|
||||
, udev, audit, aws-sdk-cpp, cryptsetup, lvm2, libgcrypt, libarchive
|
||||
, libgpgerror, libuuid, iptables, dpkg, lzma, bzip2, rpm
|
||||
, beecrypt, augeas, libxml2, sleuthkit, yara, lldpd, google-gflags
|
||||
, beecrypt, augeas, libxml2, sleuthkit, yara, lldpd, gflags
|
||||
, thrift, boost, rocksdb_lite, glog, gbenchmark, snappy
|
||||
, openssl, file, doxygen
|
||||
, gtest, fpm, zstd, rdkafka, rapidjson, fetchgit, fetchurl, libelfin
|
||||
@ -53,7 +53,7 @@ let
|
||||
|
||||
# filter out static linking configuration to avoid that the library will
|
||||
# be linked both statically and dynamically.
|
||||
gflags = google-gflags.overrideAttrs (old: {
|
||||
gflags = gflags.overrideAttrs (old: {
|
||||
cmakeFlags = stdenv.lib.filter (f: (builtins.match ".*STATIC.*" f) == null) old.cmakeFlags;
|
||||
});
|
||||
};
|
||||
|
@ -123,6 +123,7 @@ mapAliases ({
|
||||
go-pup = pup; # added 2017-12-19
|
||||
gobjectIntrospection = gobject-introspection; # added 2018-12-02
|
||||
goimports = gotools; # added 2018-09-16
|
||||
google-gflags = gflags; # added 2019-07-25
|
||||
googleAuthenticator = google-authenticator; # added 2016-10-16
|
||||
grantlee5 = libsForQt5.grantlee; # added 2015-12-19
|
||||
gsettings_desktop_schemas = gsettings-desktop-schemas; # added 2018-02-25
|
||||
|
@ -1263,7 +1263,7 @@ in
|
||||
cdemu-client = callPackage ../misc/emulators/cdemu/client.nix { };
|
||||
|
||||
ceres-solver = callPackage ../development/libraries/ceres-solver {
|
||||
google-gflags = null; # only required for examples/tests
|
||||
gflags = null; # only required for examples/tests
|
||||
};
|
||||
|
||||
gcdemu = callPackage ../misc/emulators/cdemu/gui.nix { };
|
||||
@ -10776,8 +10776,7 @@ in
|
||||
goocanvas2 = callPackage ../development/libraries/goocanvas/2.x.nix { };
|
||||
goocanvasmm2 = callPackage ../development/libraries/goocanvasmm { };
|
||||
|
||||
google-gflags = callPackage ../development/libraries/google-gflags { };
|
||||
gflags = google-gflags; # TODO: move to aliases.nix
|
||||
gflags = callPackage ../development/libraries/gflags { };
|
||||
|
||||
gperftools = callPackage ../development/libraries/gperftools { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user