pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/glw



Module Name:    pkgsrc
Committed By:   vins
Date:           Thu Dec 22 06:26:20 UTC 2022

Modified Files:
        pkgsrc/graphics/glw: Makefile
Added Files:
        pkgsrc/graphics/glw: options.mk

Log Message:
graphics/glw: Enable Motif support.

Optionally build package with motif support (enabled by default).
This adds support for GLwMDrawingArea widget classes.
Required by graphics/xmakemol (currently in wip).

Update LICENSE.
Bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/glw/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/glw/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/glw/Makefile
diff -u pkgsrc/graphics/glw/Makefile:1.4 pkgsrc/graphics/glw/Makefile:1.5
--- pkgsrc/graphics/glw/Makefile:1.4    Wed Dec 21 17:26:55 2022
+++ pkgsrc/graphics/glw/Makefile        Thu Dec 22 06:26:20 2022
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/12/21 17:26:55 vins Exp $
+# $NetBSD: Makefile,v 1.5 2022/12/22 06:26:20 vins Exp $
 
 DISTNAME=      glw-8.0.0
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    graphics
 MASTER_SITES=  https://mesa.freedesktop.org/archive/glw/
 EXTRACT_SUFX=  .tar.bz2
@@ -9,12 +9,14 @@ EXTRACT_SUFX= .tar.bz2
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://cgit.freedesktop.org/mesa/glw/
 COMMENT=       GL widget for Athena and Motif
-#LICENSE=      https://cgit.freedesktop.org/mesa/glw/tree/README
+LICENSE=       sgi-free-software-b-v2.0
 
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 USE_TOOLS+=    pkg-config
 
+.include "options.mk"
+
 PKGCONFIG_OVERRIDE+=   glw.pc.in
 
 .include "../../graphics/MesaLib/buildlink3.mk"

Added files:

Index: pkgsrc/graphics/glw/options.mk
diff -u /dev/null pkgsrc/graphics/glw/options.mk:1.1
--- /dev/null   Thu Dec 22 06:26:20 2022
+++ pkgsrc/graphics/glw/options.mk      Thu Dec 22 06:26:20 2022
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2022/12/22 06:26:20 vins Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.glw
+PKG_SUPPORTED_OPTIONS+=        motif
+PKG_SUGGESTED_OPTIONS= motif
+
+.include "../../mk/bsd.options.mk"
+
+##
+## Enable Motif:
+## XmPrimitive widget class support.
+##
+.if !empty(PKG_OPTIONS:Mmotif)
+.  include "../../mk/motif.buildlink3.mk"
+#CFLAGS+=    -D__GLX_MOTIF=1
+CONFIGURE_ARGS+=   --enable-motif
+.endif



Home | Main Index | Thread Index | Old Index