Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Carlos Santos <casantos@datacom.ind.br>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 4/4] gtest, gmock: Move download link away from Google Code
Date: Fri, 1 Jul 2016 07:43:00 -0300 (BRT)	[thread overview]
Message-ID: <1537894575.7432607.1467369780476.JavaMail.zimbra@datacom.ind.br> (raw)
In-Reply-To: <20160701094926.GA3659@free.fr>

> From: "Yann E. MORIN" <yann.morin.1998@free.fr>
> To: "Carlos Santos" <casantos@datacom.ind.br>
> Cc: buildroot at buildroot.org, alan at softiron.co.uk
> Sent: Friday, July 1, 2016 6:49:26 AM
> Subject: Re: [Buildroot] [PATCH v2 4/4] gtest, gmock: Move download link away from Google Code

> Carlos, Alan, All,
> 
> Coming back to this old patch of yours. Sorry for the delay...
> 
> On 2016-02-22 09:23 -0300, Carlos Santos spake thusly:
>> Google Code is being shut down. The google code site which hosts the
>> source .zip for gtest and gmock references github.com/google/googletest,
>> now.
>> 
>> Change the GTEST_SITE and GMOCK_SITE to this new github repo, fix the
>> version, fix the paths, and remove the custom extraction commands.
>> 
>> GitHub contains a combination of the former gtest and gmock repos, moved
>> to the sibling directories "googletest" and "googlemock", respectively.
>> 
>> The repo is a bit funky, however:
>> 
>> 1) The code underneath the "release-1.7.0" tag has gtest as in the
>>    google code repo, with minor changes (mostly support script and
>>    Microsoft C++ Builder project files, not relevant for buildroot
>>    purposes).
>> 
>> 2) There is no tag corresponding to gmock 1.7.0. We circumvent this by
>>    refering to the commit id corresponding to gmock 1.7.0.
>> 
>> 3) The "gtest" subdir was removed from the gmock code. We solve this by
>>    adding a patch to provide a copy of acx_pthread.m4 from gtest; then
>>    we configure refering to the gtest installed under $(STAGING_DIR).
>> 
>> These changes are required to ensure that gtest and gmock builds don't
>> fail if/when Google Code disappears. Forthcoming patches will replace
>> gtest and gmock by a "googletest" package and upgrade to the current
>> HEAD, which is laid out as described above.
> 
> As I understand it, gtest and gmock are being phased out as separate
> packages, and are to be replaced with the googletest package.
> 
> So why don't we directly add "googletest" and get rid of gtest and
> gmock, rather than fix them to eventually get rid of them?

Because we (DATACOM) have have a hundred packages in our BR2_EXTERNAL that depend on GMock and GTest as separate packages. It will take some time migrate them.

> I've marked this patch as rejected in our patchwork now, while waiting
> for the patches that add googletest and then removes gtest/gmock as
> separate packages.

OK, I will keep it as a local change while working on the new package.

> Regards,
> Yann E. MORIN.

Carlos Santos (Casantos)
DATACOM, P&D

  reply	other threads:[~2016-07-01 10:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <444859483-2268-1-git-send-email-alan@softiron.co.uk>
2016-02-22 12:23 ` [Buildroot] [PATCH v2 0/4] Move download links away from Google Code Carlos Santos
2016-02-22 12:23   ` [Buildroot] [PATCH v2 1/4] dsp-tools: Move download link " Carlos Santos
2016-02-22 12:23   ` [Buildroot] [PATCH v2 2/4] gst-dsp: " Carlos Santos
2016-02-22 12:23   ` [Buildroot] [PATCH v2 3/4] gst-omapfb: " Carlos Santos
2016-02-22 12:23   ` [Buildroot] [PATCH v2 4/4] gtest, gmock: " Carlos Santos
2016-07-01  9:49     ` Yann E. MORIN
2016-07-01 10:43       ` Carlos Santos [this message]
2016-07-01 15:19         ` Yann E. MORIN
2016-02-25 21:41   ` [Buildroot] [PATCH v2 0/4] Move download links " Thomas Petazzoni
2016-02-26 11:43     ` Carlos Santos
2016-02-27 14:42       ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1537894575.7432607.1467369780476.JavaMail.zimbra@datacom.ind.br \
    --to=casantos@datacom.ind.br \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox