[Bug 853553] Review Request: guayadeque - Audio player and organizer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--- Comment #51 from Michael Schwendt <mschwendt@xxxxxxxxx> ---
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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]