This is an image processing library, which provides some basic functions of
image processing and loading/saving various image file formats. In addition
the library can handle huge images that cannot be (or can hardly be) stored
into the memory (the library automatically creates swap files and escapes
them to reduce the memory usage).
===> The following configuration options are available for ocaml-images-5.0.4_3,2:
DOCS=on: Build and/or install documentation
FREETYPE=on: TrueType font rendering support
GHOSTSCRIPT=on: Ghostscript support
GIF=on: GIF image format support
GTK2=off: GTK 2 GUI toolkit support
JPEG=on: JPEG image format support
PNG=on: PNG image format support
TIFF=on: TIFF image format support
XPM=on: XPM pixmap image format support
===> Use 'make config' to modify these settings
Mk/**ocaml.mk: Convert remaining bsd.ocaml.mk to Uses/ocaml.mk
- Instead of USE_OCAML=yes use USES=ocaml. If empty USES=ocaml implies
build and run
- Instead of USE_OCAMLFIND_PLIST use USES=ocaml:findplist which also
implies USES=ocaml:findlib
- Instead of USE_OCAML_CAMLP4 use USES=ocaml:camlp4
- Instead of USE_OCAML_FINDLIB use USES=ocaml:findlib
- Instead of USE_OCAML_LDCONFIG use USES=ocaml:ldconfig
- Instead of USE_OCAML_WASH use USES=ocaml:wash
- Instead of NO_OCAML_BUILDDEPENDS use USES=ocaml:run
- Instead of NO_OCAML_RUNDDEPENDS use USES=ocaml:build
- Instead of USE_OCAML_TK use USES=ocaml:tk which actually implies
USES=ocaml:tkbuild and USES=ocaml:tkrun
- Instead of NO_OCAMLTK_BUILDDEPENDS use USES=ocaml:tkrun
- Instead of NO_OCAMLTK_RUNDEPENDS use USES=ocaml:tkbuild
- USES=ocaml:dune remains unchanged
- Prepare to add/remove keywords easily
Approved by: mat (portmgr)
Reviewed by: freebsd@dev.thsi.be
Differential Revision: https://reviews.freebsd.org/D48227
ocaml: Updates to ocaml compiler and several ocaml ports
- Update devel/ocaml to 4.14.2 [1]
- Specify runtime dependency on GNU AS as full path, this fixes
build on armv6 - armv7 [1] [2]
- converters/ocaml-base64: Update to 3.5.1, add LICENSE, other
improvements
- converters/ocaml-jsonm: Strip shared objects [3]
- databases/ocaml-dbm: Update to 1.3, move to gitlub, other
improvements
- devel/menhir: Update to 20231231
- devel/ocaml-base: Unbreak non-x86 [2]
- devel/ocaml-camlp-streams: Silence patch and strip commands
- devel/ocaml-ipaddr: Update to 5.5.0
- devel/ocaml-lwt: Update to 5.7.0 [4]
(Only the first 15 lines of the commit message are shown above )
lang/ocaml: Update to 4.14.1
The 'force-safe-string; setting is NOT enabled, as opposed to the
new upstream default. OCaml users are encouraged to migrate to safe
strings as soon as possible.
- The X11 library isn't part of lang/ocaml anymore, users should
install x11-toolkits/ocaml-graphics.
- Add new 'ocaml' USES
- Bump PORTREVISION on dependent ports, due to ABI Change.
The update includes the following updates to existing ports (needed
to keep them working):
- devel/ocaml-camlp4: Updated to 4.14+1
(Only the first 15 lines of the commit message are shown above )
graphics/ocaml-images: Mark BROKEN, deprecate and set expiration date to
2024-03-31
Unfetchable, upstream is gone and has been failing for months to build
Reported by: pkg-fallout
graphics/ocaml-images: unbreak the build and undeprecate the port
OMake's shell-success-null() function had been removed in version
0.10.5: after using $(NULL_DEVICE), it no longer needed a special
name and had replaced shell-success() function.
graphics/ocaml-images: Deprecate and set expiration date to 2023-11-30
Marked broken for over a year, outdated and new location of repo appears
to be https://gitlab.com/camlspotter/camlimages
Approved by: portmgr (blanket)
lang/ocaml: Update to 4.08.1
This update allows (and for some requires) to also update dependencies
to newer versions. Where possible I updated to the latest version.
The ocaml port now is MAKE_JOBS safe.
Changes to dependent ports included in this commit:
- devel/ocaml-sexplib: Rename to devel/ocaml-sexplib0 adapting to
upstream. Update to 0.16.0
- devel/coccinelle: Update to 1.1.1, moved to github
- devel/ocaml-camlp4: Update to 4.08+1
- devel/ocaml-camomile: Use dune for build, adapt port
- devel/ocaml-cppo: Fix lib files installation [1]
(Only the first 15 lines of the commit message are shown above )
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
graphics: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Abel Chow <ozsanh45vds001@sneakemail.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Ade Lovett <ade@lovett.com>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Hayward <xelah@xelah.com>
* Alex Ivasyuv <siegerstein@pochta.ru>
* Alex Samorukov <samm@os2.kiev.ua>
(Only the first 15 lines of the commit message are shown above )
graphics/ocaml-images: force unsafe strings to unbreak against new OCaml
This code is old and convoluted enough to make patching unfeasible; once
we modernize our stack, the port should be updated as appropriate.
graphics/ocaml-images: prepare for freetype2 update
- freetype2 will no longer ship freetype-config (which was a pkg-config
wrapper) in the near future -- use pkg-config to gather the required
flags.
PR: 251512
Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
Fix recursive STAGEDIR referencing.
This was fixed after initial commit in bsd.ocaml.mk r349286.
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: @dir
/wrkdirs/usr/ports/graphics/ocaml-images/work/stage/usr/local/%%OCAML_SITELIBDIR%%
Error: Orphaned: @dir
/wrkdirs/usr/ports/graphics/ocaml-images/work/stage/usr/local/lib/ocaml
Error: Orphaned: @dir
/wrkdirs/usr/ports/graphics/ocaml-images/work/stage/usr/local/lib
...
Remove expired ports:
games/freetennis: depends on expired graphics/ocaml-images
2016-07-04 graphics/ocaml-images: Depends on expiring devel/omake
2016-07-04 devel/omake: Broken for more than 6 months
Make print/ghostscript9-agpl-base the default Ghostscript port. Upstream
changed the license to the AGPL 3 in version 9.07 so print/ghostscript9-base
is stuck at 9.06 which is almost 4 years old now.
Fix the logic in Uses/ghostscript.mk so "agpl" is treated as a real version
on its own instead of as a variant of other versions.
Fix print/ghostscript9-agpl-base to install eps2write.
Update math/asymptote to 2.37 to support newer Ghostscript.
PR: 208159
Exp-run by: antoine
Approved by: portmgr (antoine)
- Split ghostscript into X11-independent and -dependent parts:
* print/ghostscript{7,8,9,9-agpl}-base
Installs Ghostscript binary, libgs, and related files.
These ports do not depend on X11 libraries (i.e. x11* devices
are not available). USES=ghostscript will set dependency on
one of them depending on GHOSTSCRIPT_DEFAULT.
The default device is set to "display" or "bbox".
* print/ghostscript{7,8,9,9-agpl}-x11
Installs a shared library which provides X11 support to
the installed Ghostscript binaries. x11* devices will be
(Only the first 15 lines of the commit message are shown above )
Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.
Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection.
Arguments supported: <empty>, build, run, nox11 and agpl
PR: 201201 (exp-run)
Approved by: portmgr (mat@)
Exp run by: antione@ (previous patch)
Differential Revision: https://reviews.freebsd.org/D2938
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above )
ocaml update 4/4: graphics/ocaml-images, update to version 4.0.1
Ocaml 4.00 can't build ocaml-images 3.0.1, so the solution is to update
the package to a newer version. This arrived from dports, but it has
been heavily modified since then. It has also been staged. The
pkg-plist needs work because it doesn't support all the options if they
are turned off. GTK2 has been left OFF by default since it pulls in
136 packages when enabled.
The Ocaml framework did not support staging at the time, so several
knobs were turned off, especially the "WASH" function which disrupted pkg
greatly. The options were cleaned up in a modern way too. An additional
patch was addded to make clang happy so this builds on FreeBSD 10 inside
poudriere.
Urged by: portmgr(bapt)
Compilation of ocaml-images is no longer broken (tested on multiple systems).
Possibly silently fixed through update of a dependency.
Expiration notice removed.
In preparation of the removal of USE_FREETYPE from bsd.port.mk: remove
USE_FREETYPE from all ports using it
While here trim some headers, and do some conversion to new options framework.
- Mark BROKEN: does not compile
ocamlopt.opt -o crop.opt -I ../../src camlimages_core.cmxa unix.cmxa
crop.cmx
../../src/libcamlimages_core.a(gifread.o)(.text+0x3ea): In function
`dGifGetLine':
: undefined reference to `PrintGifError'
../../src/libcamlimages_core.a(gifwrite.o)(.text+0x2f3): In function
`eGifPutLine':
: undefined reference to `PrintGifError'
Reported by: pointyhat
- Switch from libungif to giflib to avoid conflict
- Mark MAKE_JOBS_UNSAFE since this failed for me with MAKE_JOBS enabled
PR: ports/165369
Submitted by: swills (myself)
Approved by: <michael.grunewald@laposte.net> (maintainer)
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
- Bump portrevisions on all ocaml libraries, as it appears that compiled
interface files (.cmi) are not backward compatible with a newer ocaml
version.
PR: ports/156195
Suggested by: mandree
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
Remove print/ghostscript-afpl as it has been replaced by print/ghostscript-gpl
since version 8.57. The leading ghostscript is the -gpl one.
Approved by: portmgr (pav)
- Update graphics/libglut to 6.4.1.
- Shared lib version and PORTREVISION bumb for all affected ports.
While I'm here:
- Remove USE_MESA knob where it was (35 ports).
It marked as depricated for 2 years.
PR: ports/90247
Submitted by: Ermal Lu?i <eri--@albabsd.org>
- 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>
[PATCH] graphics/ocaml-images: enable choose of ghostscript interpreter
This patch allows the admin of the machine to choose either
print/ghostscript-gnu or print/ghostscript-afp1
PR: ports/54930
Submitted by: Jens Rehsack <rehsack@liwing.de>
Change dependencies to depend on ghostscript-gnu instead of
ghostscript-afpl. Bump PORTREVISION.
ocaml-images depends on ocaml-lablgtk,
which in the default configuration depends on some gnome components,
which depend on some other gnome components,
which depend on gnomeprint
which depends on ghostscript-gnu.
Because the two ghostscript versions conflict with each other,
This port failed on bento.
We probably need some bsd.port.mk magic to deal with the different
ghostscript versions.
Reported by: kris