Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Comments

Produce pkg-config file under cmake#239

Closed
Sineaggi wants to merge 1 commit intogoogle:masterfrom
Sineaggi:master
Closed

Produce pkg-config file under cmake#239
Sineaggi wants to merge 1 commit intogoogle:masterfrom
Sineaggi:master

Conversation

@Sineaggi
Copy link

Produce a libglog.pc file that is identical to the one autotools generates and installs.

@googlebot
Copy link
Collaborator

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and have the pull request author add another comment and the bot will run again.

@Sineaggi
Copy link
Author

Signed

@googlebot
Copy link
Collaborator

CLAs look good, thanks!

@ilovezfs
Copy link

@shinh @ukai any chance of getting this merged? I just stumbled onto this PR because our switch to the CMake-based build in Homebrew apparently broke the build of supersonic, which looks for glog's pkg-config file.

set (PKGCONFIG_INSTALL_DIR)
else ()
set (PKGCONFIG_INSTALL_DIR ${_glog_CMake_LIBDIR}/pkgconfig)
endif ()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not leave the conditions empty.

Description: Google Log (glog) C++ logging framework
Version: @GLOG_VERSION@
Libs: -L${libdir} -lglog
Cflags: -I${includedir}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The compile definitions seem to be missing.

@@ -0,0 +1,10 @@
prefix=@CMAKE_INSTALL_PREFIX@
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rename package.pc.in to libglog.pc.in.

@Leif-W
Copy link

Leif-W commented Mar 22, 2019

Problem 1) Has this been merged? Any chance of that happening? Pull request and CLAs signed over 18 months ago. Checks completed over 14 months ago. Issue remained open in limbo since? This sort of neglect is a prime example favoring the complete removal of ALL Google's code from this and all future projects.

Problem 2) A missing pkg-config file in MSYS2's MINGW libglog v0.3.5 package has caused failure to build 3rd party software. Not sure if this patch fixes it, or if v0.4.0 fixes the missing .pc file, or if it is related to some MSYS2/MINGW interaction.

MarcusCalhoun-Lopez added a commit to macports/macports-ports that referenced this pull request Aug 10, 2019
@sergiud
Copy link
Contributor

sergiud commented Nov 1, 2019

Superseded by #483.

@sergiud sergiud closed this Nov 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants