Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#48569 - [mysql++] Please add a pkg-config file

Attached to Project: Community Packages
Opened by msrd0 (msrd0) - Sunday, 13 March 2016, 18:05 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 31 March 2016, 11:10 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

I tried to use the MySQL++ library with a CMake project but was unable to do so without manually editing the cflags and ldflags. Could
you provide a pkg-config file (/usr/lib/pkgconfig/mysql++.pc) or even a FindMySQL++.cmake file? This file works well on my system:

prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include/mysql

Name: mysql++
Description: MySQL++ is a C++ wrapper for MySQL’s C API.
Version: 3.2.2
URL: http://tangentsoft.net/mysql++/
Requires:
Conflicts:
Libs: -L${libdir} -lmysqlpp
Libs.private:
Cflags: -I${includedir}

Note that you need to add /usr/include/mysql as include dir since the library that MySQL++ depends
on doesn't provide such file as well.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 31 March 2016, 11:10 GMT
Reason for closing:  Upstream
Comment by Doug Newgard (Scimmia) - Sunday, 13 March 2016, 18:35 GMT
Sounds like something you should request upstream. This isn't something Arch does under normal circumstances.

Loading...