pkgsrc-WIP-changes archive

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

tkblt: add start of replacement package for x11/blt



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Fri Jun 17 01:05:05 2022 +0200
Changeset:	6f6e6193a37b02917553698a5e037a23a167c60b

Modified Files:
	Makefile
Added Files:
	tkblt/DESCR
	tkblt/Makefile
	tkblt/PLIST
	tkblt/TODO
	tkblt/buildlink3.mk
	tkblt/distinfo

Log Message:
tkblt: add start of replacement package for x11/blt

Mostly from gdt@

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6f6e6193a37b02917553698a5e037a23a167c60b

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

diffstat:
 Makefile            |  9 ++++++---
 tkblt/DESCR         | 15 +++++++++++++++
 tkblt/Makefile      | 35 +++++++++++++++++++++++++++++++++++
 tkblt/PLIST         | 13 +++++++++++++
 tkblt/TODO          |  5 +++++
 tkblt/buildlink3.mk | 15 +++++++++++++++
 tkblt/distinfo      |  5 +++++
 7 files changed, 94 insertions(+), 3 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 029c7b42f6..97fbacef67 100644
--- a/Makefile
+++ b/Makefile
@@ -16,10 +16,10 @@ SUBDIR+=	CuraEngine
 SUBDIR+=	ETL
 SUBDIR+=	FLIF
 SUBDIR+=	FLIF-git
-SUBDIR+=	GenericRepeatFinder
 SUBDIR+=	GNUMail-pgp
 SUBDIR+=	GSAlign
 SUBDIR+=	GSCommander
+SUBDIR+=	GenericRepeatFinder
 SUBDIR+=	Geomyidae-git
 SUBDIR+=	I2util
 SUBDIR+=	LuaJIT21
@@ -958,6 +958,7 @@ SUBDIR+=	fsharp
 SUBDIR+=	fslsfonts
 SUBDIR+=	fsom
 SUBDIR+=	fstobdf
+SUBDIR+=	fstrcmp
 SUBDIR+=	fswatch
 SUBDIR+=	ft8-lib
 SUBDIR+=	ftpsesame
@@ -1230,7 +1231,6 @@ SUBDIR+=	gnunet-gtk
 SUBDIR+=	gnupoc-makesis
 SUBDIR+=	gnurl
 SUBDIR+=	gnutls-guile
-SUBDIR+=	go119
 SUBDIR+=	go-amqp
 SUBDIR+=	go-ansi
 SUBDIR+=	go-ansicolor
@@ -1385,6 +1385,7 @@ SUBDIR+=	go-uuid-myesui
 SUBDIR+=	go-xid
 SUBDIR+=	go-zeroconf
 SUBDIR+=	go-zipexe
+SUBDIR+=	go119
 SUBDIR+=	goattracker
 SUBDIR+=	godura
 SUBDIR+=	goldendict
@@ -1982,9 +1983,9 @@ SUBDIR+=	kontactinterface
 SUBDIR+=	korganizer
 SUBDIR+=	krename
 SUBDIR+=	kronometer
-SUBDIR+=	ksh93u+
 SUBDIR+=	kscreen
 SUBDIR+=	kscreenlocker
+SUBDIR+=	ksh93u+
 SUBDIR+=	ksshaskpass
 SUBDIR+=	kstest
 SUBDIR+=	ksysguard
@@ -2196,6 +2197,7 @@ SUBDIR+=	libraw1394
 SUBDIR+=	libre
 SUBDIR+=	librem
 SUBDIR+=	libreoffice-git
+SUBDIR+=	libreswan
 SUBDIR+=	libretro-4do
 SUBDIR+=	libretro-beetle-lynx
 SUBDIR+=	libretro-citra
@@ -5706,6 +5708,7 @@ SUBDIR+=	tinylogin
 SUBDIR+=	tinyproxy
 SUBDIR+=	tipp10
 SUBDIR+=	tk-itk3
+SUBDIR+=	tkblt
 SUBDIR+=	tkhtml3
 SUBDIR+=	tkpng
 SUBDIR+=	tktile
diff --git a/tkblt/DESCR b/tkblt/DESCR
new file mode 100644
index 0000000000..bfe91945f3
--- /dev/null
+++ b/tkblt/DESCR
@@ -0,0 +1,15 @@
+BLT is an extension to Tcl/Tk.  It adds plotting widgets (X-Y graph,
+barchart, stripchart), a powerful geometry manager, a new canvas item,
+and several new commands to Tk.
+
+Plotting widgets:  graph, barchart, stripchart
+Hierarchical list box:  hierbox
+Tab set:  tabset
+Geometry Manager:  table
+Vector Data Object:  vector
+Background Program Execution:  bgexec
+Busy Command:  busy
+New Canvas Item:  eps
+Drag & Drop Facility:  drag&drop
+Bitmap Command:  bitmap
+Miscellaneous Commands:  winop, bltdebug, watch, spline, htext
diff --git a/tkblt/Makefile b/tkblt/Makefile
new file mode 100644
index 0000000000..6aab08713f
--- /dev/null
+++ b/tkblt/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.38 2022/06/06 04:27:14 dholland Exp $
+
+DISTNAME=	tkblt-3.2.23
+CATEGORIES=	x11
+MASTER_SITES=	${MASTER_SITE_GITHUB:=wjoye/}
+GITHUB_TAG=	V${PKGVERSION_NOREV}
+
+MAINTAINER=	brook%nmsu.edu@localhost
+HOMEPAGE=	http://blt.sourceforge.net/
+COMMENT=	Extension to Tcl/Tk
+
+WRKSRC=		${WRKDIR}/${DISTNAME}
+
+USE_LANGUAGES=	c99 c++
+
+GNU_CONFIGURE=		yes
+CONFIGURE_ARGS+=	--exec-prefix=${PREFIX}
+CONFIGURE_ARGS+=	--with-tcl=${BUILDLINK_PREFIX.tcl}/lib
+CONFIGURE_ARGS+=	--with-tk=${BUILDLINK_PREFIX.tk}/lib
+CONFIGURE_ENV+=		X11BASE=${X11BASE}
+CONFIGURE_ENV+=		LDF=${LDFLAGS:Q}
+CFLAGS+=		-DUSE_INTERP_RESULT
+MAKE_ENV+=		CP=${CP:Q}
+
+#MAKE_JOBS_SAFE=	no
+
+CHECK_INTERPRETER_SKIP+=	lib/*/demos/*.tcl
+
+INSTALL_MAKE_FLAGS+=	INSTALL_ROOT=${DESTDIR}
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../x11/tk/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/tkblt/PLIST b/tkblt/PLIST
new file mode 100644
index 0000000000..0903e42d97
--- /dev/null
+++ b/tkblt/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD$
+include/tkbltDecls.h
+include/tkbltVector.h
+lib/tkblt3.2/graph.tcl
+lib/tkblt3.2/libtkblt3.2.so
+lib/tkblt3.2/libtkbltstub3.2.a
+lib/tkblt3.2/pkgIndex.tcl
+lib/tkbltConfig.sh
+man/mann/BLT.n
+man/mann/barchart.n
+man/mann/graph.n
+man/mann/vector.n
+@pkgdir bin
diff --git a/tkblt/TODO b/tkblt/TODO
new file mode 100644
index 0000000000..4397845b0b
--- /dev/null
+++ b/tkblt/TODO
@@ -0,0 +1,5 @@
+(at least with modular xorg) this fails to package with PKG_DEVELOPER=yes:
+
+=> Checking for missing run-time search paths in tkblt-3.2.23
+ERROR: lib/tkblt3.2/libtkblt3.2.so: missing library: libX11.so.6
+*** Error code 1
diff --git a/tkblt/buildlink3.mk b/tkblt/buildlink3.mk
new file mode 100644
index 0000000000..7e9bd7010e
--- /dev/null
+++ b/tkblt/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	tkblt
+
+.if !defined(TKBLT_BUILDLINK3_MK)
+TKBLT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.tkblt+=	tkblt>=3.2.23
+BUILDLINK_PKGSRCDIR.tkblt?=	../../wip/tkblt
+
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../x11/tk/buildlink3.mk"
+.endif	# TKBLT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-tkblt
diff --git a/tkblt/distinfo b/tkblt/distinfo
new file mode 100644
index 0000000000..e0fefce87f
--- /dev/null
+++ b/tkblt/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.19 2022/06/06 04:27:14 dholland Exp $
+
+BLAKE2s (tkblt-3.2.23.tar.gz) = 4e8e958a27e2c3e1c071bb672759331b218b6d881b400cc62da466fb99441ce7
+SHA512 (tkblt-3.2.23.tar.gz) = 1f3772321cef3dd73fed385eaea471916afc503771ead8da033868363005c21876bcbd7079595ec289ce0f72671c3bc10f95b01f13bfb94cf09b477c99b135c2
+Size (tkblt-3.2.23.tar.gz) = 431857 bytes


Home | Main Index | Thread Index | Old Index