Bugzilla – Bug 10698
shared-mime-info.pc belongs in libdir, not in datadir
Last modified: 2007-07-25 06:46:33 UTC
shared-mime-info.pc is installed to $datadir/pkgconfig, but it should be in $libdir/pkgconfig.
Created attachment 9666 [details] [review]
Thanks, good catch! Fixed.
I'm wondering what the rationale for this change is. The file doesn't appear to contain anything architecture specific, so $datadir/pkgconfig sounds correct to me. (Reopening for comments.)
I've observed that GNOME packages like Nautilus and gnome-vfs also install their .pc files to $libdir/pkgconfig.
Yes, but unlike shared-mime-info's, their *.pc files contain architecture specific things such as $libdir, Cflags etc. $libdir/pkgconfig is correct for them.
It reverts the patch from bug 9789 I committed. What's the reasoning behind installing it in $(libdir)? It shouldn't be there if it doesn't contain any arch specific data, which it doesn't.
2007-02-02 Bastien Nocera <firstname.lastname@example.org>
* shared-mime-info.pc.in: Patch from Ville Skyttä <email@example.com>
to move the shared-mime-info pkgconfig file to $(datadir), as it doesn't
contain any arch-specific data (Closes: #9789)
Unless you have a good reason for moving it, please revert this commit.