Bug 51994 - cairo-ocaml : update with new ocaml.m4 file from ocaml-autoconf
Summary: cairo-ocaml : update with new ocaml.m4 file from ocaml-autoconf
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.2.0
Hardware: All Linux (All)
: medium normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
Depends on:
Reported: 2012-07-11 21:44 UTC by william
Modified: 2018-08-25 13:32 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

patch file (6.59 KB, patch)
2012-07-11 21:44 UTC, william
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description william 2012-07-11 21:44:11 UTC
Created attachment 64126 [details] [review]
patch file

I want to submit a patch for cairo-ocaml, but did not find the product in bugzilla, though I saw a bug report with cairo-ocaml product...

As I needed to port my app that uses cairo-ocaml to windows, I integrated it in the MXE framework (set of patches and make commands to cross-compile hundreds of packages). So now I am able to cross-compile it from linux to windows, and I would like to submit the patch now in case future versions of cairo-ocaml are provided.

The patch :

- updates META file : it is used by ocamlfind (findlib). Providing the file upstream is important, otherwise people with godi, debian, cygwin all make their own file, with different options, making it impossible to port a makefile from a platform to an other.
- updates ocaml.m4 with last version of ocaml-autoconf (that allows for cross-compilation)
- update configure.ac to use the updated ocaml.m4 file.

With this, it is now "easy" to cross-compile cairo-ocaml.

To apply the patch :
cd cairo-ocaml-1.2.0
patch -p1 < /path/to/ocaml-cairo-1-fixes.patch

Best regards,
Comment 1 GitLab Migration User 2018-08-25 13:32:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/55.

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.