Bug 42554 - Cross compile for windows fails
Summary: Cross compile for windows fails
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Shared Mime Info group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-03 06:48 UTC by Hib Eris
Modified: 2012-02-01 07:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Fix-build-for-platforms-with-executable-extensions (3.08 KB, patch)
2011-11-03 06:48 UTC, Hib Eris
Details | Splinter Review
0001-Fix-build-for-platforms-with-executable-extensions.patch (3.08 KB, patch)
2011-11-03 06:49 UTC, Hib Eris
Details | Splinter Review
0002-Disable-checks-when-cross-compiling.patch (1.69 KB, patch)
2011-11-03 06:49 UTC, Hib Eris
Details | Splinter Review
0003-Use-non-installed-update-mime-database-in-install-da.patch (726 bytes, patch)
2011-11-03 06:50 UTC, Hib Eris
Details | Splinter Review
0004-Use-native-update-mime-database-for-install-when-cro.patch (1.70 KB, patch)
2011-11-03 06:50 UTC, Hib Eris
Details | Splinter Review

Description Hib Eris 2011-11-03 06:48:35 UTC
Created attachment 53112 [details] [review]
Fix-build-for-platforms-with-executable-extensions

Hi,

I wanted to cross compile the shared-mime-info package for Windows, but it failed with some minor issues.

Here are 4 patches to get it (cross)compiling.
Comment 1 Hib Eris 2011-11-03 06:49:33 UTC
Created attachment 53113 [details] [review]
0001-Fix-build-for-platforms-with-executable-extensions.patch
Comment 2 Hib Eris 2011-11-03 06:49:58 UTC
Created attachment 53114 [details] [review]
0002-Disable-checks-when-cross-compiling.patch
Comment 3 Hib Eris 2011-11-03 06:50:31 UTC
Created attachment 53115 [details] [review]
0003-Use-non-installed-update-mime-database-in-install-da.patch
Comment 4 Hib Eris 2011-11-03 06:50:56 UTC
Created attachment 53116 [details] [review]
0004-Use-native-update-mime-database-for-install-when-cro.patch
Comment 5 Bastien Nocera 2012-02-01 07:54:56 UTC
commit 03152345223520932956f812451e9ea0c1ccdb36
Author: Hib Eris <hib@hiberis.nl>
Date:   Thu Nov 3 14:20:47 2011 +0100

    Use native update-mime-database for install when cross compiling
    
    https://bugs.freedesktop.org/show_bug.cgi?id=42554

commit 5648aced8473372f1484c4f731c02a543aa008c1
Author: Hib Eris <hib@hiberis.nl>
Date:   Thu Nov 3 13:58:26 2011 +0100

    Use non-installed update-mime-database in install-data-hook
    
    https://bugs.freedesktop.org/show_bug.cgi?id=42554

commit de0bb427127947c23c674e12eeac179996482185
Author: Hib Eris <hib@hiberis.nl>
Date:   Thu Nov 3 13:25:15 2011 +0100

    Disable checks when cross compiling

commit 1f3c3f46e36c4d90ba6fbccc9b44f2e2814759d4
Author: Hib Eris <hib@hiberis.nl>
Date:   Thu Nov 3 12:48:51 2011 +0100

    Fix build for platforms with executable extensions


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.