[MacPorts] #48800: gtest: please remove

MacPorts noreply at macports.org
Tue Sep 8 20:45:28 PDT 2015


#48800: gtest: please remove
---------------------------+---------------------
  Reporter:  ryandesign@…  |      Owner:  blair@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  gtest         |
---------------------------+---------------------

Comment (by blair@…):

 Yes, I read that too. However, it's in Ubuntu:

 {{{
 $ apt-cache show libgtest-dev
 Package: libgtest-dev
 Priority: optional
 Section: libdevel
 Installed-Size: 1302
 Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
 Original-Maintainer: Steve M. Robbins <smr at debian.org>
 Architecture: all
 Source: gtest
 Version: 1.6.0-1ubuntu6
 Filename: pool/main/g/gtest/libgtest-dev_1.6.0-1ubuntu6_all.deb
 Size: 262206
 MD5sum: 3952cdc66cdead128769b18d13df4bd7
 SHA1: d47ddbabd85abc4c6ba6ae4f54b7aefd3782f54e
 SHA256: 144e70bde71d5894da4cf8a4762a88cc5ca97df6b374828e59c83168151c7916
 Description-en: Google's framework for writing C++ tests - header files
  Google's framework for writing C++ tests on a variety of platforms. Based
 on
  the xUnit architecture. Supports automatic test discovery, a rich set of
  assertions, user-defined assertions, death tests, fatal and non-fatal
 failures,
  value- and type-parameterized tests, various options for running the
 tests, and
  XML test report generation.
  .
  This package contains the header files needed to link programs against
  gtest.
 Description-md5: 91f80794a8414047791bb3f205c9aa39
 Multi-Arch: foreign
 Homepage: http://code.google.com/p/googletest/
 Bugs: https://bugs.launchpad.net/ubuntu/+filebug
 Origin: Ubuntu
 Supported: 9m
 }}}

 And the instructions for installing grpc, Google's RPC system installs it:

 https://github.com/grpc/grpc/blob/master/INSTALL

 In fact, they install it into /opt/local, which is why I want to have a
 package do it:

 {{{
   $ sudo /opt/local/bin/port install autoconf automake libtool gflags
 cmake
   $ mkdir ~/gtest-svn
   $ svn checkout http://googletest.googlecode.com/svn/trunk/ gtest-svn
   $ mkdir mybuild
   $ cd mybuild
   $ cmake ../gtest-svn
   $ make
   $ make gtest.a gtest_main.a
   $ sudo cp libgtest.a libgtest_main.a /opt/local/lib
   $ sudo mkdir /opt/local/include/gtest
   $ sudo cp -pr ../gtest-svn/include/gtest /opt/local/include/gtest
 }}}

 So unless there's good reason otherwise, I'll close this.

-- 
Ticket URL: <https://trac.macports.org/ticket/48800#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list