./graphics/camlimages, Image processing library for Objective Caml

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2012Q2, Version: 4.0.1nb11, Package name: camlimages-4.0.1nb11, Maintainer: pkgsrc-users

CamlImages is an image processing library, which provides

* Basic functions for image processing and loading/saving various image
file formats (hence providing a translation facility from format to
format),
* An interface with the Caml graphics library allows to display
images in the Graphics module screen and to mix them with Caml
drawings,
* A freetype interface, integrated into the library:
you can draw texts into images using any truetype fonts.

In addition, the library can handle huge images that cannot be (or can
hardly be) stored into the main memory (the library then automatically
creates swap files and escapes them to reduce the memory usage).


Required to run:
[graphics/giflib] [graphics/tiff] [graphics/png] [graphics/jpeg] [devel/nspr] [print/ghostscript] [x11/ocaml-graphics] [x11/lablgtk] [x11/gtk2]

Required to build:
[devel/ocaml-findlib] [devel/omake] [lang/ocaml] [pkgtools/x11-links] [x11/xcb-proto]

Master sites:


Version history: (Expand)


CVS history: (Expand)


   2012-07-31 17:12:03 by Matthias Scheler | Files touched by this commit (4)
Log message:
Pullup ticket #3882 - requested by dholland
graphics/camlimages: build fix

Revisions pulled up:
- graphics/camlimages/Makefile                                  1.44 via patch
- graphics/camlimages/distinfo                                  1.9
- graphics/camlimages/patches/patch-src_tiffread.c              1.2
- graphics/camlimages/patches/patch-src_tiffwrite.c             1.1

---
   Module Name:	pkgsrc
   Committed By:	marino
   Date:		Sun Jul 29 12:52:56 UTC 2012

   Modified Files:
   	pkgsrc/graphics/camlimages: Makefile distinfo
   	pkgsrc/graphics/camlimages/patches: patch-src_tiffread.c
   Added Files:
   	pkgsrc/graphics/camlimages/patches: patch-src_tiffwrite.c

   Log message:
   graphics/camlimages: Fix tiff-4.0 regression

   When tiff was upgraded to 4.0, camlimages stopped building.  Both
   caml and tiff redefine several common typedefs such as uint32.  Unlike
   the 3-series of tiff, tiff-4.0 also redefined int64 and uint64.  The
   existing hack didn't foresee int64 and uint64 getting used, and so
   camlimages broke.

   One patch was created and another revised to override the caml typedef
   definitions with macros before tiff.h is included.  The original
   tiffread.c patch was reworked to override uint16 and uint32 *again*
   after the tiff.h include and not before as it was originally.  Very ugly
   all around, but I just extended what camlimages was already doing.