FS#10355 - Gnome VFS headers in wrong location

Attached to Project: Arch Linux
Opened by Lisa Denia (eiffel56) - Sunday, 04 May 2008, 10:34 GMT
Last edited by Jan de Groot (JGC) - Sunday, 04 May 2008, 18:59 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version 1.5.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello everyone,

the Gnome VFS header files are in /usr/include/gnome-vfs-2.0/libgnomevfs/, but they reference themselves to be in /usr/include/libgnomevfs/. For example the file gnome-vfs-ops.h which is located in /usr/include/gnome-vfs-2.0/libgnomevfs/:
#include <libgnomevfs/gnome-vfs-file-info.h>
#include <libgnomevfs/gnome-vfs-handle.h>
#include <libgnomevfs/gnome-vfs-uri.h>
#include <libgnomevfs/gnome-vfs-monitor.h>

So programs which use this lib won't be able to compile correctly. That could break several applications, like unpatched Gnome applications or whatever.
A solution would be to place a symlink called /usr/include/libgnomevfs that points to /usr/include/gnome-vfs-2.0/libgnomevfs.

Thank you,
Lisa Denia
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 04 May 2008, 18:59 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Your application needs to call pkg-config to find out the correct CFLAGS to get to the gnome-vfs includes. This also applies to the link flags when building your binary.

Loading...