[cairo-bugs] [Bug 51994] New: update with new ocaml.m4 file from ocaml-autoconf

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 11 21:44:11 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=51994

             Bug #: 51994
           Summary: update with new ocaml.m4 file from ocaml-autoconf
    Classification: Unclassified
           Product: cairo
           Version: 1.2.0
          Platform: All
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: r.3 at libertysurf.fr
         QAContact: cairo-bugs at cairographics.org


Created attachment 64126
  --> https://bugs.freedesktop.org/attachment.cgi?id=64126
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

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the cairo-bugs mailing list