summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-12-05 17:44:35 +0000
committergarga <garga@FreeBSD.org>2005-12-05 17:44:35 +0000
commit270c116ce321ec81ff5ba154c7dd3268f7e1706b (patch)
treee16b2d450401738caabd6554702ddfa528e3d30f /graphics
parent1825ade895f105c93e8903751c2193e14f4d8548 (diff)
downloadFreeBSD-ports-270c116ce321ec81ff5ba154c7dd3268f7e1706b.zip
FreeBSD-ports-270c116ce321ec81ff5ba154c7dd3268f7e1706b.tar.gz
- Update version to 2.2 (newer than actual 2.11), also solve build problems
appears with OCaml 3.09 - Pass maintainership to submitter PR: ports/89965 Submitted by: Marwan Burelle <burelle@lri.fr>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ocaml-images/Makefile21
-rw-r--r--graphics/ocaml-images/distinfo6
-rw-r--r--graphics/ocaml-images/files/patch-Makefile.config.in19
-rw-r--r--graphics/ocaml-images/files/patch-Makefile.shared11
-rw-r--r--graphics/ocaml-images/files/patch-freetype2:ftintf.c12
-rw-r--r--graphics/ocaml-images/files/patch-tiff::tiffread.c14
6 files changed, 29 insertions, 54 deletions
diff --git a/graphics/ocaml-images/Makefile b/graphics/ocaml-images/Makefile
index 3760f66..d2edad7 100644
--- a/graphics/ocaml-images/Makefile
+++ b/graphics/ocaml-images/Makefile
@@ -7,34 +7,37 @@
#
PORTNAME= images
-PORTVERSION= 2.11
-PORTREVISION= 0
+PORTVERSION= 2.2
+PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.inria.fr/INRIA/caml-light/bazar-ocaml/
PKGNAMEPREFIX= ocaml-
DISTNAME= camlimages-${PORTVERSION}
EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= marwan.burelle@lri.fr
COMMENT= Objective Caml image processing library
-USE_GHOSTSCRIPT= yes
-
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
- lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk
+ lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk \
+ lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
RUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
- lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk
+ lablgtk:${PORTSDIR}/x11-toolkits/ocaml-lablgtk \
+ lablgtk2:${PORTSDIR}/x11-toolkits/ocaml-lablgtk2
LIB_DEPENDS= ungif.5:${PORTSDIR}/graphics/libungif \
png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff
+USE_GHOSTSCRIPT= yes
USE_XPM= yes
USE_FREETYPE= yes
-GNU_CONFIGURE= yes
+HAS_CONFIGURE= yes
CONFIGURE_ENV= \
CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
- LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+ CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include" \
+ LDFLAGS="${LDFLAGS} -I${LOCALBASE}/include -I${X11BASE}/include"
+CONFIGURE_ARGS= --includedir=${LOCALBASE}/include --includedir=${X11BASE}/include
USE_GMAKE= yes
PKGDEINSTALL= ${PKGINSTALL}
diff --git a/graphics/ocaml-images/distinfo b/graphics/ocaml-images/distinfo
index 5f17e3b..cdb36cc 100644
--- a/graphics/ocaml-images/distinfo
+++ b/graphics/ocaml-images/distinfo
@@ -1,3 +1,3 @@
-MD5 (camlimages-2.11.tgz) = f04f0d1a78aa38a6841dc3d71e249449
-SHA256 (camlimages-2.11.tgz) = 884f8c9eaa153da5f38fb050cecb1fbae9065e441f7f6efcea82ac4a29fd3dc5
-SIZE (camlimages-2.11.tgz) = 1354100
+MD5 (camlimages-2.2.tgz) = d933eb58c7983f70b1a000fa01893aa4
+SHA256 (camlimages-2.2.tgz) = 9b8861d7b8c6752ad33ef2af5c486efa626b19ad9ea190641a736384629f1026
+SIZE (camlimages-2.2.tgz) = 1385525
diff --git a/graphics/ocaml-images/files/patch-Makefile.config.in b/graphics/ocaml-images/files/patch-Makefile.config.in
deleted file mode 100644
index a284a7a..0000000
--- a/graphics/ocaml-images/files/patch-Makefile.config.in
+++ /dev/null
@@ -1,19 +0,0 @@
---- Makefile.config.in.orig Tue Apr 9 18:59:59 2002
-+++ Makefile.config.in Sat Feb 8 00:53:29 2003
-@@ -24,12 +24,12 @@
- SUPPORT_PS=@SUPPORT_PS@
- SUPPORT_LABLGTK=@SUPPORT_LABLGTK@
-
--LIBGIF=@LIBGIF@
-+LIBGIF=-L${LOCALBASE}/lib @LIBGIF@
- LIBBMP=@LIBBMP@
--LIBJPEG=@LIBJPEG@
--LIBTIFF=@LIBTIFF@
-+LIBJPEG=-L${LOCALBASE}/lib @LIBJPEG@
-+LIBTIFF=-L${LOCALBASE}/lib @LIBTIFF@
- LIBFREETYPE=@LIBFREETYPE@
--LIBPNG=@LIBPNG@
-+LIBPNG=-L${LOCALBASE}/lib @LIBPNG@
- LIBXVTHUMB=@LIBXVTHUMB@
- LIBXPM=@LIBXPM@
- LIBPPM=@LIBPPM@
diff --git a/graphics/ocaml-images/files/patch-Makefile.shared b/graphics/ocaml-images/files/patch-Makefile.shared
deleted file mode 100644
index 3587429..0000000
--- a/graphics/ocaml-images/files/patch-Makefile.shared
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.shared.orig Sat Feb 8 00:59:46 2003
-+++ Makefile.shared Sat Feb 8 01:00:00 2003
-@@ -62,7 +62,7 @@
- $(CAMLYACC) $<
-
- .c.o: ../config.h
-- $(CAMLC) -ccopt "-I.. $(CFLAGS) -I/usr/local/include" -c $<
-+ $(CAMLC) -ccopt "-I.. $(CFLAGS) -I/usr/X11R6/include -I/usr/local/include" -c $<
-
- depend: .depend
-
diff --git a/graphics/ocaml-images/files/patch-freetype2:ftintf.c b/graphics/ocaml-images/files/patch-freetype2:ftintf.c
deleted file mode 100644
index a2e0187..0000000
--- a/graphics/ocaml-images/files/patch-freetype2:ftintf.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- freetype2/ftintf.c.orig Wed Mar 24 10:51:28 2004
-+++ freetype2/ftintf.c Wed Mar 24 10:51:56 2004
-@@ -20,7 +20,8 @@
-
- #if (HAVE_FREETYPE && HAVE_FREETYPE2)
-
--#include <freetype/freetype.h>
-+#include <ft2build.h>
-+#include FT_FREETYPE_H
-
- value init_FreeType()
- {
diff --git a/graphics/ocaml-images/files/patch-tiff::tiffread.c b/graphics/ocaml-images/files/patch-tiff::tiffread.c
new file mode 100644
index 0000000..983c735
--- /dev/null
+++ b/graphics/ocaml-images/files/patch-tiff::tiffread.c
@@ -0,0 +1,14 @@
+--- tiff/tiffread.c.orig Tue Sep 21 23:56:44 2004
++++ tiff/tiffread.c Mon Dec 5 09:25:43 2005
+@@ -28,11 +28,6 @@
+
+ #include <tiffio.h>
+
+-#undef int16
+-#undef uint16
+-#undef int32
+-#undef uint32
+-
+ extern value *imglib_error;
+
+ value open_tiff_file_for_read( name )
OpenPOWER on IntegriCloud