head 1.32; access; symbols pkgsrc-2023Q4:1.29.0.2 pkgsrc-2023Q4-base:1.29 pkgsrc-2023Q3:1.25.0.4 pkgsrc-2023Q3-base:1.25 pkgsrc-2023Q2:1.25.0.2 pkgsrc-2023Q2-base:1.25 pkgsrc-2023Q1:1.24.0.2 pkgsrc-2023Q1-base:1.24 pkgsrc-2022Q4:1.22.0.2 pkgsrc-2022Q4-base:1.22 pkgsrc-2022Q3:1.20.0.4 pkgsrc-2022Q3-base:1.20 pkgsrc-2022Q2:1.20.0.2 pkgsrc-2022Q2-base:1.20 pkgsrc-2022Q1:1.15.0.2 pkgsrc-2022Q1-base:1.15 pkgsrc-2021Q4:1.12.0.2 pkgsrc-2021Q4-base:1.12 pkgsrc-2021Q3:1.11.0.4 pkgsrc-2021Q3-base:1.11 pkgsrc-2021Q2:1.11.0.2 pkgsrc-2021Q2-base:1.11 pkgsrc-2021Q1:1.10.0.2 pkgsrc-2021Q1-base:1.10 pkgsrc-2020Q4:1.9.0.2 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.7.0.2 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.6.0.2 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.3.0.2 pkgsrc-2020Q1-base:1.3; locks; strict; comment @# @; 1.32 date 2024.02.14.15.59.56; author wiz; state Exp; branches; next 1.31; commitid PXsATD1re0wBVpYE; 1.31 date 2024.02.14.15.45.09; author wiz; state Exp; branches; next 1.30; commitid zQfN4ujWE4szQpYE; 1.30 date 2024.02.14.15.44.19; author wiz; state Exp; branches; next 1.29; commitid 2GqnYzc8ZxoZPpYE; 1.29 date 2023.11.14.14.02.08; author wiz; state Exp; branches; next 1.28; commitid BZ5vzwBRof1beAME; 1.28 date 2023.11.12.13.22.09; author wiz; state Exp; branches; next 1.27; commitid SjpNXQIV5XeZ3kME; 1.27 date 2023.11.08.13.19.37; author wiz; state Exp; branches; next 1.26; commitid PsuHTklAIsF4bOLE; 1.26 date 2023.10.21.17.10.36; author gdt; state Exp; branches; next 1.25; commitid Sr0Nb6aaZLDw2wJE; 1.25 date 2023.04.19.08.10.24; author adam; state Exp; branches; next 1.24; commitid B8gCWhWtMX9vZGlE; 1.24 date 2023.01.29.21.14.43; author ryoon; state Exp; branches; next 1.23; commitid QL7aBXsBGmQvUtbE; 1.23 date 2023.01.03.17.37.27; author wiz; state Exp; branches; next 1.22; commitid vvAqE6UmuqFFx78E; 1.22 date 2022.11.23.16.20.21; author adam; state Exp; branches; next 1.21; commitid ju2K3LUYlTJKqQ2E; 1.21 date 2022.11.21.13.53.14; author gdt; state Exp; branches; next 1.20; commitid eUvWl4kCxocCGz2E; 1.20 date 2022.06.17.12.35.15; author wiz; state Exp; branches; next 1.19; commitid IvIyTR4meBX6joID; 1.19 date 2022.06.15.11.09.26; author gdt; state Exp; branches; next 1.18; commitid SEraF3eFFaoUS7ID; 1.18 date 2022.06.15.10.59.45; author gdt; state Exp; branches; next 1.17; commitid u1XnvAcZH0HmQ7ID; 1.17 date 2022.05.24.18.51.52; author jaapb; state Exp; branches; next 1.16; commitid tyn8C2gxw4eI9lFD; 1.16 date 2022.04.18.19.11.22; author adam; state Exp; branches; next 1.15; commitid eC9Na3jrfOOUpIAD; 1.15 date 2022.03.02.01.26.07; author gutteridge; state Exp; branches; next 1.14; commitid C4RN4jWSMceJ2AuD; 1.14 date 2022.02.28.18.26.19; author gdt; state Exp; branches; next 1.13; commitid T02b4TjE2RFNKpuD; 1.13 date 2022.02.28.12.55.08; author jaapb; state Exp; branches; next 1.12; commitid V5naIfEkNUeSTnuD; 1.12 date 2021.12.08.16.05.02; author adam; state Exp; branches; next 1.11; commitid 2PyWjHx5T8rqARjD; 1.11 date 2021.04.21.11.41.57; author adam; state Exp; branches; next 1.10; commitid fph0Axs0eT3az9QC; 1.10 date 2021.03.08.08.13.02; author jaapb; state Exp; branches; next 1.9; commitid ZSVtQ5nGxDdxPtKC; 1.9 date 2020.12.14.04.01.17; author mef; state Exp; branches; next 1.8; commitid ZPQdb0FWfO7U8FzC; 1.8 date 2020.11.05.09.08.25; author ryoon; state Exp; branches; next 1.7; commitid VqGaBtHnBBcd5GuC; 1.7 date 2020.08.17.20.17.31; author leot; state Exp; branches; next 1.6; commitid ybGS4iX9Fz8imskC; 1.6 date 2020.06.02.08.24.06; author adam; state Exp; branches; next 1.5; commitid nisovMpvvZm3RCaC; 1.5 date 2020.04.28.05.46.44; author riastradh; state Exp; branches; next 1.4; commitid CplbhgQSP7Lr776C; 1.4 date 2020.04.12.08.28.51; author adam; state Exp; branches; next 1.3; commitid 7jZFLCnc3RCww44C; 1.3 date 2020.03.10.22.10.11; author wiz; state Exp; branches; next 1.2; commitid UV3Ncm9kwd8O7UZB; 1.2 date 2020.03.08.16.50.05; author wiz; state Exp; branches; next 1.1; commitid rcNYzTQo8icypCZB; 1.1 date 2020.01.24.12.57.08; author jaapb; state Exp; branches; next ; commitid D0yGGZDHT8OmyWTB; desc @@ 1.32 log @ocaml-cairo: enable freetype2 Bump PKGREVISION. @ text @# $NetBSD: Makefile,v 1.31 2024/02/14 15:45:09 wiz Exp $ DISTNAME= ${GITHUB_PROJECT}-0.6.4 PKGREVISION= 10 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GITHUB:=Chris00/} GITHUB_PROJECT= ocaml-cairo MAINTAINER= jaapb@@NetBSD.org HOMEPAGE= https://github.com/Chris00/ocaml-cairo/ COMMENT= Bindings for OCaml to the cairo library LICENSE= gnu-lgpl-v3 OCAML_USE_DUNE= yes OCAML_FINDLIB_DIRS= cairo2 OPAM_INSTALL_FILES= ${OCAML_FINDLIB_DIRS} DUNE_BUILD_PACKAGES= ${OCAML_FINDLIB_DIRS} USE_TOOLS+= pkg-config # ocaml-cairo doesn't find pkg-config # https://github.com/Chris00/ocaml-cairo/issues/35 # seems related but has not solution # override detection: CAIRO_CFLAGS= pkg-config --cflags cairo CAIRO_LIBS= pkg-config --libs cairo MAKE_ENV+= CAIRO_CFLAGS=${CAIRO_CFLAGS:sh:Q} MAKE_ENV+= CAIRO_LIBS=${CAIRO_LIBS:sh:Q} # but this isn't enough, because it leads to: # Error: Rule failed to generate the following targets: # - src/cairo_ocaml.h # so create this file manually and remove the existing logic # to avoid an error during configure (see patch-src_dune) # pre-configure: ${SED} -e "s,.*#define *OCAML_CAIRO_HAS_FT .*,#define OCAML_CAIRO_HAS_FT," \ ${WRKSRC}/src/cairo_ocaml.h.p > ${WRKSRC}/src/cairo_ocaml.h # (See options.mk.) Upstream says that lablgtk is required, but it is # not. # https://github.com/Chris00/ocaml-cairo/issues/29 .include "options.mk" .include "../../lang/ocaml/ocaml.mk" .include "../../graphics/cairo/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" .include "../../devel/ocaml-dune-configurator/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.31 log @ocaml-cairo: pkglint cleanup @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2024/02/14 15:44:19 wiz Exp $ d4 1 a4 1 PKGREVISION= 9 a33 1 # TODO: enable freetype2 d35 2 a36 1 cp ${WRKSRC}/src/cairo_ocaml.h.p ${WRKSRC}/src/cairo_ocaml.h @ 1.30 log @ocaml-cairo: hack build until it works For some reason, dune (the build framework) as used by ocaml-cairo doesn't find pkg-config. Provide overrides for that, leading to another error with another override. Untested, but at least this builds and packages again now. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2023/11/14 14:02:08 wiz Exp $ d24 4 a27 4 CAIRO_CFLAGS!= pkg-config --cflags cairo CAIRO_LIBS!= pkg-config --libs cairo MAKE_ENV+= CAIRO_CFLAGS=${CAIRO_CFLAGS:Q} MAKE_ENV+= CAIRO_LIBS=${CAIRO_LIBS:Q} @ 1.29 log @*: recursive bump for cairo dependency changes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2023/11/12 13:22:09 wiz Exp $ a2 1 GITHUB_PROJECT= ocaml-cairo d4 1 a4 1 PKGREVISION= 8 d7 1 d20 17 d45 1 @ 1.28 log @*: revebump for new brotli option for freetype2 Addresses PR 57693 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2023/11/08 13:19:37 wiz Exp $ d5 1 a5 1 PKGREVISION= 7 @ 1.27 log @*: recursive bump for icu 74.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2023/10/21 17:10:36 gdt Exp $ d5 1 a5 1 PKGREVISION= 6 @ 1.26 log @recursive revbump for tiff update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2023/04/19 08:10:24 adam Exp $ d5 1 a5 1 PKGREVISION= 5 @ 1.25 log @revbump after textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2023/01/29 21:14:43 ryoon Exp $ d5 1 a5 1 PKGREVISION= 4 @ 1.24 log @*: Recursive revbup from graphics/freetype2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2023/01/03 17:37:27 wiz Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.23 log @*: recursive bump for tiff shlib major bump @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2022/11/23 16:20:21 adam Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.22 log @massive revision bump after textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2022/11/21 13:53:14 gdt Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.21 log @graphics/ocaml-cairo: Update to 0.6.4 Upstream changes are minor, mainly ocaml 5 support. Tested with unison (lablgtk option). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2022/06/17 12:35:15 wiz Exp $ d5 1 @ 1.20 log @ocaml-cairo: add pkg-config to tools @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2022/06/15 11:09:26 gdt Exp $ d4 1 a4 1 DISTNAME= ${GITHUB_PROJECT}-0.6.3 a6 1 PKGREVISION= 1 @ 1.19 log @graphics/ocaml-cairo: Remove gtk and pango from default options The gtk and pango options depend on ocaml-lablgtk (which is gtk2), but ocaml-lablgtk3 depends on ocaml-cairo. For now, don't suggest the options, as the only pkgsrc user is ocaml-lablgtk3. Discussed with $MAINTAINER long ago. Perhaps these need a split package, and perhaps packages that depend on ocaml-cairo might need updating -- but gtk2 is obsolete and those packages should be moving (perhaps upstream) to lablgtk3. (Committed separately from 0.6.3 update for ease of bisecting and reverting if necessary.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2022/06/15 10:59:45 gdt Exp $ d19 2 @ 1.18 log @graphics/ocaml-cairo: Update to 0.6.3 Upstream NEWS: Extend Image.get_data* to bigarrays with externally managed payload. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2022/05/24 18:51:52 jaapb Exp $ d7 1 @ 1.17 log @Recursive revbump associated with update of ocaml. Also change of mk/ocaml.mk to lang/ocaml/ocaml.mk. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2022/04/18 19:11:22 adam Exp $ d4 1 a4 2 DISTNAME= ${GITHUB_PROJECT}-0.6.2 PKGREVISION= 2 @ 1.16 log @revbump for textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2022/03/02 01:26:07 gutteridge Exp $ d5 1 a5 1 PKGREVISION= 1 d24 1 a24 1 .include "../../mk/ocaml.mk" @ 1.15 log @ocaml-cairo: fix typo in comment @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2022/02/28 18:26:19 gdt Exp $ d5 1 @ 1.14 log @ocaml-cairo: Add comment about lablgtk Add pointer to upstream bug report about mis-documentation that lablgtk is required. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2022/02/28 12:55:08 jaapb Exp $ d18 1 a18 1 # (Se options.mk.) Upstream says that lablgtk is required, but it is @ 1.13 log @Updated graphics/ocaml-cairo to version 0.6.2 and added options. Changes to the previous version are relatively small (though we do need this version to compile with the upcoming ocaml 4.14). I've also added options to not compile the gtk and pango packages, which means the package can be used on headless setups. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2021/12/08 16:05:02 adam Exp $ d18 4 @ 1.12 log @revbump for icu and libffi @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2021/04/21 11:41:57 adam Exp $ d4 1 a4 2 DISTNAME= ${GITHUB_PROJECT}-0.6.1 PKGREVISION= 9 a12 2 USE_TOOLS+= pkg-config d14 1 a14 1 OCAML_FINDLIB_DIRS= cairo2 cairo2-gtk cairo2-pango d18 1 a21 1 .include "../../x11/ocaml-lablgtk/buildlink3.mk" @ 1.11 log @revbump for textproc/icu @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2021/03/08 08:13:02 jaapb Exp $ d5 1 a5 1 PKGREVISION= 8 @ 1.10 log @Recursive revbump associated with update of lang/ocaml @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2020/12/14 04:01:17 mef Exp $ d5 1 a5 1 PKGREVISION= 7 @ 1.9 log @(graphics/ocaml-cairo) Add ocaml-dune-configurator as buildlink3.mk @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2020/11/05 09:08:25 ryoon Exp $ d5 1 a5 1 PKGREVISION= 6 @ 1.8 log @*: Recursive revbump from textproc/icu-68.1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2020/08/17 20:17:31 leot Exp $ d23 1 @ 1.7 log @*: revbump after fontconfig bl3 changes (libuuid removal) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2020/06/02 08:24:06 adam Exp $ d5 1 a5 1 PKGREVISION= 5 @ 1.6 log @Revbump for icu @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2020/04/28 05:46:44 riastradh Exp $ d5 1 a5 1 PKGREVISION= 4 @ 1.5 log @graphics/ocaml-cairo: needs pkg-config as tool Otherwise build to find cairo.h and ends with: -> stderr: which: pkg-config -> not found Error: Please set Gtk flags through the environment variables GTK_CFLAGS and GTK_LIBS. *** Error code 1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2020/04/12 08:28:51 adam Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.4 log @Recursive revision bump after textproc/icu update @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2020/03/10 22:10:11 wiz Exp $ d14 2 @ 1.3 log @librsvg: update bl3.mk to remove libcroco in rust case recursive bump for the dependency change @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2020/03/08 16:50:05 wiz Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.2 log @*: recursive bump for libffi @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2020/01/24 12:57:08 jaapb Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.1 log @Added graphics/ocaml-cairo, OCaml bindings for cairo @ text @d1 1 a1 1 # $NetBSD$ d5 1 @