Bug 51994

Summary: cairo-ocaml : update with new ocaml.m4 file from ocaml-autoconf
Product: cairo Reporter: william <r.3>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.2.0   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: patch file

Description william 2012-07-11 21:44:11 UTC
Created attachment 64126 [details] [review]
patch file

Hello,
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,
William
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.