pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ocaml-cairo graphics/ocaml-cairo: Remove gtk ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f029ced2c98e
branches:  trunk
changeset: 380785:f029ced2c98e
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Wed Jun 15 11:09:26 2022 +0000

description:
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.)

diffstat:

 graphics/ocaml-cairo/Makefile   |  3 ++-
 graphics/ocaml-cairo/options.mk |  7 +++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 64a85e3b18e1 -r f029ced2c98e graphics/ocaml-cairo/Makefile
--- a/graphics/ocaml-cairo/Makefile     Wed Jun 15 10:59:45 2022 +0000
+++ b/graphics/ocaml-cairo/Makefile     Wed Jun 15 11:09:26 2022 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.18 2022/06/15 10:59:45 gdt Exp $
+# $NetBSD: Makefile,v 1.19 2022/06/15 11:09:26 gdt Exp $
 
 GITHUB_PROJECT=        ocaml-cairo
 DISTNAME=      ${GITHUB_PROJECT}-0.6.3
 CATEGORIES=    graphics
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=Chris00/}
+PKGREVISION=   1
 
 MAINTAINER=    jaapb%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/Chris00/ocaml-cairo/
diff -r 64a85e3b18e1 -r f029ced2c98e graphics/ocaml-cairo/options.mk
--- a/graphics/ocaml-cairo/options.mk   Wed Jun 15 10:59:45 2022 +0000
+++ b/graphics/ocaml-cairo/options.mk   Wed Jun 15 11:09:26 2022 +0000
@@ -1,8 +1,11 @@
-# $NetBSD: options.mk,v 1.1 2022/02/28 12:55:08 jaapb Exp $
+# $NetBSD: options.mk,v 1.2 2022/06/15 11:09:26 gdt Exp $
 
+# 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.
 PKG_OPTIONS_VAR=       PKG_OPTIONS.ocaml-cairo
 PKG_SUPPORTED_OPTIONS= gtk pango
-PKG_SUGGESTED_OPTIONS= gtk pango
+PKG_SUGGESTED_OPTIONS=
 
 .include "../../mk/bsd.prefs.mk"
 



Home | Main Index | Thread Index | Old Index