GNOME Bugzilla – Bug 785997
Please don't bundle gtest
Last modified: 2017-10-18 20:03:42 UTC
gparted 0.29.0 includes a copy of the gtest (Google Test Framework) source code.
According to Debian Policy , embedded code copies should not be used in Debian.
Please use the system-installed gtest instead of bundling the third-party code. gtest/googletest is already packaged in distros:
1) The Google test FAQ says the opposite!
Why it is not recommended to install a pre-compiled copy of Google Test
(for example, into /usr/local)?
2) Google test is distributed in GParted source but is not installed by
the build system and should not be included in binary packages.
Closing this for reasons described in comment #1.
Sorry for not responding earlier. I contacted Debian maintainer Steve Robbins who replied:
"I'm too lazy to log into Gnome's bugzilla, but my comment is this: the Debian
package provides SOURCE code for gtest in /usr/src. It's not a pre-compiled
binary, so the FAQ cited does not apply."
I have just looked at Fedora 26, and their gtest package installs a
compile library and header files.
Therefore GParted has to ship Google Test source to provide it on
distros which don't have a package to install the gtest source.