Package: libflowcanvas-dev
Version: 0.7.1+dfsg0-0.1+b1
Severity: serious
Tags: patch

Hi,

flowcanvas.pc contains hard-coded flags/libraries which causes ladish
to fail to build from source:

> [ 30/142] c: gui/control.c -> build/gui/control.c.10.o
> In file included from /usr/include/gtkmm-2.4/gtkmm.h:87:0,
>                  from /usr/include/libgnomecanvasmm-2.6/libgnomecanvasmm.h:29,
>                  from /usr/include/flowcanvas/Canvas.hpp:27,
>                  from ../gui/canvas.cpp:28:
> /usr/include/glibmm-2.4/glibmm.h:82:26: fatal error: glibmmconfig.h: No such 
> file or directory
> compilation terminated.

The header "glibmmconfig.h" has moved into the multiarch path and the pkg-config
file should set a proper Requires field instead of providing a list of 
hard-coded
paths of dependencies in Libs and Cflags.

A patch is appended below, thanks for considering.

--- flowcanvas.pc.in    2010-06-13 20:06:42.000000000 +0200
+++ flowcanvas.pc.in.new        2012-04-23 03:23:16.037664855 +0200
@@ -6,5 +6,6 @@
 Name: flowcanvas
 Version: @FLOWCANVAS_VERSION@
 Description: A Gtkmm canvas widget for graph based interfaces
-Libs: -L${libdir} -lflowcanvas @GNOMECANVASMM_LIBS@
-Cflags: -I${includedir} @GNOMECANVASMM_CFLAGS@
+Requires: libgnomecanvasmm-2.6
+Libs: -L${libdir} -lflowcanvas
+Cflags: -I${includedir}


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libflowcanvas-dev depends on:
ii  libflowcanvas5  0.7.1+dfsg0-0.1+b1

libflowcanvas-dev recommends no packages.

libflowcanvas-dev suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to