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 [1], 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: https://repology.org/metapackage/gtest/versions [1] https://www.debian.org/doc/debian-policy/ch-source.html#s-embeddedfiles
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)? https://github.com/google/googletest/blob/master/googletest/docs/FAQ.md#why-is-it-not-recommended-to-install-a-pre-compiled-copy-of-google-test-for-example-into-usrlocal 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. https://apps.fedoraproject.org/packages/gtest/contents/ Therefore GParted has to ship Google Test source to provide it on distros which don't have a package to install the gtest source.