Created attachment 64126 [details] [review]
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 :
patch -p1 < /path/to/ocaml-cairo-1-fixes.patch
-- 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.