Bug 9789

Summary: Make pkgconfig file arch independent
Product: shared-mime-info Reporter: Ville Skyttä <ville.skytta>
Component: generalAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: bugzilla
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Make pkgconfig stuff arch independent

Description Ville Skyttä 2007-01-28 16:02:37 UTC
AFAIK, shared-mime-info is inherently architecture independent, and the only thing holding back distributors packaging it as such is the pkgconfig file location and some unnecessary variables in it.

Suggested fix attached.
Comment 1 Ville Skyttä 2007-01-28 16:03:40 UTC
Created attachment 8523 [details] [review]
Make pkgconfig stuff arch independent
Comment 2 Ville Skyttä 2007-01-28 16:07:58 UTC
Oops.  When saying things about arch independence, I was thinking about gnome-mime-info (update-mime-database is clearly arch dependent).  Anyway, even though it has less benefits in this case, I think the patch could still be considered.
Comment 3 Bastien Nocera 2007-02-02 07:13:13 UTC
Makes complete sense, as the pkgconfig file doesn't mention any non-portable data.

2007-02-02  Bastien Nocera  <hadess@hadess.net>

        * Makefile.am:
        * shared-mime-info.pc.in: Patch from Ville Skyttä <ville.skytta@iki.fi>
        to move the shared-mime-info pkgconfig file to $(datadir), as it doesn't
        contain any arch-specific data (Closes: #9789)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.