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 <email@example.com>
* shared-mime-info.pc.in: Patch from Ville Skyttä <firstname.lastname@example.org>
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.
on Jul 24, 2016 at 10:40:53.
(provided by the Example extension).