Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=853553

--- Comment #51 from Michael Schwendt <mschwe...@gmail.com> ---
Created attachment 668200
  --> https://bugzilla.redhat.com/attachment.cgi?id=668200&action=edit
proposed spec patch for wxsqlite3

As a followup to the conversation outside this ticket:

> Cflags: -I${includedir}/wx

This isn't correct yet, and guayadeque only compiles because it includes the
"wx/wxsqlite3" headers via standard search path instead.

wxsqlite3.spec could be changed to install into /usr/include/wx-2.8/wx like
wxGTK and extensions. The attached spec is one way how to do that. The patch
also uses wx-config to fetch the "2.8" version of wxGTK.

[...]

Debian's package adds a pkgconfig file:
http://packages.debian.org/wheezy/libwxsqlite3-2.8-0

  $ cat wxsqlite3-2.8.pc.in 
  # Package Information for pkg-config

  prefix=/usr
  wxver=2.8
  includedir=${prefix}/include/wx-${wxver}/
  libdir=${prefix}/@LIBDIR@

  Name: wxsqlite3-2.8
  Description: SQLite3 C++ wrapper for use in programs based on the wxWidgets
  Version: @VERSION@
  Requires: sqlite3
  Libs: -L${libdir} -lwxsqlite3-2.8
  Libs.private: -lpthread 
  Cflags: -I${includedir}

They substitute the two variables in their "rules" file. It could be adapted to
Fedora. Note the different file name, for example: wxsqlite3-2.8.pc

So, no surprise that guayadeque relies on such a .pc file to be present when
detecting wxsqlite and must be patched to disable the check.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=KwRYDgDMze&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to