pkgsrc-WIP-changes archive

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

mozart: Import wip/mozart as mozart-1.4.0



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Oct 11 16:09:57 2015 +0200
Changeset:	cdc8c34880d24741eaf7c0149bce4c7aeca0592d

Modified Files:
	Makefile
Added Files:
	mozart/DESCR
	mozart/Makefile
	mozart/PLIST
	mozart/distinfo
	mozart/patches/patch-platform_wish_unixMain.cc
	mozart/patches/patch-share_bin_oz.in
	mozart/patches/patch-share_bin_ozplatform
	mozart/patches/patch-share_configure

Log Message:
mozart: Import wip/mozart as mozart-1.4.0

The Mozart Programming System combines ongoing research in programming
language design and implementation, constraint logic programming,
distributed computing, and human-computer interfaces. Mozart implements the
Oz language and provides both expressive power and advanced functionality.

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

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

diffstat:
 Makefile                                       |   1 +
 mozart/DESCR                                   |   4 +
 mozart/Makefile                                |  46 ++++
 mozart/PLIST                                   | 288 +++++++++++++++++++++++++
 mozart/distinfo                                |   9 +
 mozart/patches/patch-platform_wish_unixMain.cc |  82 +++++++
 mozart/patches/patch-share_bin_oz.in           |  19 ++
 mozart/patches/patch-share_bin_ozplatform      |  15 ++
 mozart/patches/patch-share_configure           |  16 ++
 9 files changed, 480 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index c87f851..b3e12a9 100644
--- a/Makefile
+++ b/Makefile
@@ -1790,6 +1790,7 @@ SUBDIR+=	moregroupware
 SUBDIR+=	morse
 SUBDIR+=	moto4lin
 SUBDIR+=	mousetweaks
+SUBDIR+=	mozart
 SUBDIR+=	mozjpeg
 SUBDIR+=	mozldap
 SUBDIR+=	mozo
diff --git a/mozart/DESCR b/mozart/DESCR
new file mode 100644
index 0000000..d99770c
--- /dev/null
+++ b/mozart/DESCR
@@ -0,0 +1,4 @@
+The Mozart Programming System combines ongoing research in programming
+language design and implementation, constraint logic programming,
+distributed computing, and human-computer interfaces. Mozart implements the
+Oz language and provides both expressive power and advanced functionality.
diff --git a/mozart/Makefile b/mozart/Makefile
new file mode 100644
index 0000000..b01d433
--- /dev/null
+++ b/mozart/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD$
+
+VERSION=	1.4.0
+DISTNAME=	mozart-${VERSION}
+CATEGORIES=	lang
+#MASTER_SITES=	${MASTER_SITE_GITHUB:=mozart/}
+#GITHUB_TAG=	mozart-${VERSION:S/./-/g}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://mozart.github.io/
+COMMENT=	Mozart Programming System
+#LICENSE=	# TODO: mit-ish or x11-ish, I should investigate furher
+
+GIT_REPOSITORIES=	mozart
+GIT_REPO.mozart=	git://github.com/mozart/mozart.git
+WRKSRC=			${WRKDIR}/mozart
+
+# Does not run on 64bit platforms
+NOT_FOR_PLATFORM=	*-*-x86_64
+
+GNU_CONFIGURE=	yes
+USE_TOOLS+=	bison gmake perl
+
+USE_LANGUAGES=	c c++
+
+GNU_CONFIGURE_PREFIX=	${DESTDIR}${PREFIX}/oz	# XXX: Kludge to handle DESTDIR
+CONFIGURE_ARGS+=	--with-gmp=${BUILDLINK_PREFIX.gmp}/lib
+CONFIGURE_ARGS+=	--with-tcl=${BUILDLINK_PREFIX.tcl}/lib
+CONFIGURE_ARGS+=	--with-tk=${BUILDLINK_PREFIX.tk}/lib
+CONFIGURE_ARGS+=	--disable-contrib
+CONFIGURE_ARGS+=	--disable-doc
+CONFIGURE_ARGS+=	--disable-compile-elisp
+
+# XXX: bootstrap before building... Should be fixed in the mozart
+# XXX: Makefile instead of doing that here.
+pre-build:
+	cd ${WRKSRC} && ${GMAKE} bootstrap
+
+# TODO: fix permissions in post-install
+
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../x11/tk/buildlink3.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mozart/PLIST b/mozart/PLIST
new file mode 100644
index 0000000..326dc4e
--- /dev/null
+++ b/mozart/PLIST
@@ -0,0 +1,288 @@
+@comment $NetBSD$
+oz/LICENSE
+oz/LICENSE.html
+oz/LICENSE.rtf
+oz/README
+oz/bin/oldpickle2text
+oz/bin/oz
+oz/bin/ozc
+oz/bin/ozd
+oz/bin/ozengine
+oz/bin/ozl
+oz/bin/ozplatform
+oz/bin/oztool
+oz/bin/ozwrapper.bin
+oz/bin/ozwrapperw.bin
+oz/bin/pickle2text
+oz/bin/text2pickle
+oz/cache/x-oz/boot/Browser.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/CTB.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/Compat.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/CompilerSupport.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/Debug.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/FDB.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/FDP.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/FSB.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/FSP.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/Glue.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/OsTime.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/Parser.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/Profile.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/RecordC.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/Schedule.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/Space.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/Tk.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/Win32.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/boot/ZlibIO.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/large-cross.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/large-gray.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/large-queen.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/large-solid.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/micro-gray.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/micro-queen.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/micro-solid.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/middle-cross.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/middle-gray.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/middle-queen.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/middle-solid.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/small-gray.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/small-queen.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/small-solid.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/tiny-gray.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/tiny-queen.xbm
+oz/cache/x-oz/doc/demo/applets/images/animated-queens/tiny-solid.xbm
+oz/cache/x-oz/doc/demo/applets/images/college/title.xbm
+oz/cache/x-oz/doc/demo/applets/images/dict-client/dict.gif
+oz/cache/x-oz/doc/demo/applets/images/lift/downE.xbm
+oz/cache/x-oz/doc/demo/applets/images/lift/downF.xbm
+oz/cache/x-oz/doc/demo/applets/images/lift/lift.xbm
+oz/cache/x-oz/doc/demo/applets/images/lift/liftDown.xbm
+oz/cache/x-oz/doc/demo/applets/images/lift/liftUp.xbm
+oz/cache/x-oz/doc/demo/applets/images/lift/upE.xbm
+oz/cache/x-oz/doc/demo/applets/images/lift/upF.xbm
+oz/cache/x-oz/doc/demo/applets/images/transport/down.xbm
+oz/cache/x-oz/doc/demo/applets/images/transport/truck_fill_left.xbm
+oz/cache/x-oz/doc/demo/applets/images/transport/truck_fill_right.xbm
+oz/cache/x-oz/doc/demo/applets/images/transport/truck_frame_left.xbm
+oz/cache/x-oz/doc/demo/applets/images/transport/truck_frame_right.xbm
+oz/cache/x-oz/doc/demo/applets/images/transport/truck_win_left.xbm
+oz/cache/x-oz/doc/demo/applets/images/transport/truck_win_right.xbm
+oz/cache/x-oz/doc/demo/applets/images/trucks/truck-left.ppm
+oz/cache/x-oz/doc/demo/applets/images/trucks/truck-right.ppm
+oz/cache/x-oz/doc/system/MT10.ozf
+oz/cache/x-oz/system/Application.ozf
+oz/cache/x-oz/system/BackquoteMacro.ozf
+oz/cache/x-oz/system/Bison.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/system/Browser.ozf
+oz/cache/x-oz/system/Combinator.ozf
+oz/cache/x-oz/system/Compiler.ozf
+oz/cache/x-oz/system/CompilerPanel.ozf
+oz/cache/x-oz/system/Connection.ozf
+oz/cache/x-oz/system/DP.ozf
+oz/cache/x-oz/system/DPDefaults.ozf
+oz/cache/x-oz/system/DPErrorFormatters.ozf
+oz/cache/x-oz/system/DPService.ozf
+oz/cache/x-oz/system/DPStatistics.ozf
+oz/cache/x-oz/system/DefaultURL.ozf
+oz/cache/x-oz/system/Discovery.ozf
+oz/cache/x-oz/system/DistributionPanel.ozf
+oz/cache/x-oz/system/DistributionPanelSrc.ozf
+oz/cache/x-oz/system/Emacs.ozf
+oz/cache/x-oz/system/Error.ozf
+oz/cache/x-oz/system/ErrorFormatters.ozf
+oz/cache/x-oz/system/ErrorListener.ozf
+oz/cache/x-oz/system/EvalDialog.ozf
+oz/cache/x-oz/system/Explorer.ozf
+oz/cache/x-oz/system/FD.ozf
+oz/cache/x-oz/system/FS.ozf
+oz/cache/x-oz/system/Fault.ozf
+oz/cache/x-oz/system/Finalize.ozf
+oz/cache/x-oz/system/Gump.ozf
+oz/cache/x-oz/system/GumpParser.ozf
+oz/cache/x-oz/system/GumpScanner.ozf
+oz/cache/x-oz/system/GumpScanner.so-netbsd-${MACHINE_GNU_ARCH}
+oz/cache/x-oz/system/Inspector.ozf
+oz/cache/x-oz/system/Listener.ozf
+oz/cache/x-oz/system/Macro.ozf
+oz/cache/x-oz/system/Narrator.ozf
+oz/cache/x-oz/system/OPI.ozf
+oz/cache/x-oz/system/OPIEnv.ozf
+oz/cache/x-oz/system/OPIServer.ozf
+oz/cache/x-oz/system/ObjectSupport.ozf
+oz/cache/x-oz/system/Open.ozf
+oz/cache/x-oz/system/Ozcar.ozf
+oz/cache/x-oz/system/OzcarClient.ozf
+oz/cache/x-oz/system/OzcarPrimitives.ozf
+oz/cache/x-oz/system/OzcarServer.ozf
+oz/cache/x-oz/system/Panel.ozf
+oz/cache/x-oz/system/ParLogging.ozf
+oz/cache/x-oz/system/ParSearch.ozf
+oz/cache/x-oz/system/ParWorker.ozf
+oz/cache/x-oz/system/ProductionTemplates.ozf
+oz/cache/x-oz/system/Profiler.ozf
+oz/cache/x-oz/system/RecordC.ozf
+oz/cache/x-oz/system/Remote.ozf
+oz/cache/x-oz/system/RemoteServer.ozf
+oz/cache/x-oz/system/Schedule.ozf
+oz/cache/x-oz/system/Search.ozf
+oz/cache/x-oz/system/Service.ozf
+oz/cache/x-oz/system/Site.ozf
+oz/cache/x-oz/system/Tix.ozf
+oz/cache/x-oz/system/Tk.ozf
+oz/cache/x-oz/system/TkTools.ozf
+oz/cache/x-oz/system/Type.ozf
+oz/cache/x-oz/system/URL.ozf
+oz/cache/x-oz/system/ZlibIO.ozf
+oz/cache/x-oz/system/images/browserIcon.xbm
+oz/cache/x-oz/system/images/browserMIcon.xbm
+oz/cache/x-oz/system/images/compiler.xbm
+oz/cache/x-oz/system/images/compilermask.xbm
+oz/cache/x-oz/system/images/grid-25.xbm
+oz/cache/x-oz/system/images/grid-50.xbm
+oz/cache/x-oz/system/images/inspector/depth.jpg
+oz/cache/x-oz/system/images/inspector/depth.xbm
+oz/cache/x-oz/system/images/inspector/sep.xbm
+oz/cache/x-oz/system/images/inspector/stop.xbm
+oz/cache/x-oz/system/images/inspector/width.jpg
+oz/cache/x-oz/system/images/inspector/width.xbm
+oz/cache/x-oz/system/images/lines-lr.xbm
+oz/cache/x-oz/system/images/lines-rl.xbm
+oz/cache/x-oz/system/images/mini-dec.xbm
+oz/cache/x-oz/system/images/mini-inc.xbm
+oz/cache/x-oz/system/images/ozcar/detach.xbm
+oz/cache/x-oz/system/images/ozcar/next.xbm
+oz/cache/x-oz/system/images/ozcar/step.xbm
+oz/cache/x-oz/system/images/ozcar/stop.xbm
+oz/cache/x-oz/system/images/ozcar/term.xbm
+oz/cache/x-oz/system/images/ozcar/unleash.xbm
+oz/cache/x-oz/system/images/stop.xbm
+oz/doc/demo/applets/AnimatedQueens.oza
+oz/doc/demo/applets/Board.oza
+oz/doc/demo/applets/Bounce.oza
+oz/doc/demo/applets/ChatClient.oza
+oz/doc/demo/applets/ChatServer.oza
+oz/doc/demo/applets/College.oza
+oz/doc/demo/applets/Cutting.oza
+oz/doc/demo/applets/DictClient.oza
+oz/doc/demo/applets/Flowers.oza
+oz/doc/demo/applets/Flowers3d.oza
+oz/doc/demo/applets/JobShop.oza
+oz/doc/demo/applets/Lift.oza
+oz/doc/demo/applets/Transport.oza
+oz/doc/demo/applets/Trucks.oza
+oz/doc/system/MT10.oz
+oz/examples/fd/bin-packing.oz
+oz/examples/fd/bridge.oz
+oz/examples/fd/cars.oz
+oz/examples/fd/change.oz
+oz/examples/fd/conference.oz
+oz/examples/fd/configuration.oz
+oz/examples/fd/donald.oz
+oz/examples/fd/family.oz
+oz/examples/fd/fraction.oz
+oz/examples/fd/golomb.oz
+oz/examples/fd/graphics/Knights.oz
+oz/examples/fd/graphics/Knights.ozf
+oz/examples/fd/graphics/Queens.oz
+oz/examples/fd/graphics/Queens.ozf
+oz/examples/fd/grocery.oz
+oz/examples/fd/kalotan.oz
+oz/examples/fd/knights.oz
+oz/examples/fd/magic-sequence.oz
+oz/examples/fd/magic-square.oz
+oz/examples/fd/map-coloring.oz
+oz/examples/fd/money.oz
+oz/examples/fd/multiply.oz
+oz/examples/fd/photo.oz
+oz/examples/fd/pythagoras.oz
+oz/examples/fd/queens.oz
+oz/examples/fd/safe.oz
+oz/examples/fd/srat.oz
+oz/examples/fd/warehouses.oz
+oz/examples/fd/zebra.oz
+oz/examples/grammar/hpsg.oz
+oz/examples/grammar/shieber.oz
+oz/examples/grammar/shieber/formalism.oz
+oz/examples/grammar/shieber/grammar.oz
+oz/examples/gump/Examples.oz
+oz/examples/gump/Lambda.in
+oz/examples/gump/LambdaParser.ozg
+oz/examples/gump/LambdaScanner.ozg
+oz/examples/gump/OzFrontend.oz
+oz/examples/gump/OzParser.ozg
+oz/examples/gump/OzScanner.ozg
+oz/examples/sampler/constraints.oz
+oz/examples/sampler/constraints/abz6.oz
+oz/examples/sampler/constraints/animate-bridge.oz
+oz/examples/sampler/constraints/bridge.oz
+oz/examples/sampler/constraints/crew.oz
+oz/examples/sampler/constraints/draw-photo.oz
+oz/examples/sampler/constraints/hamming.oz
+oz/examples/sampler/constraints/scheduling-compiler.oz
+oz/examples/sampler/oz.oz
+oz/include/FlexLexer.h
+oz/include/dss_classes.hh
+oz/include/dss_comService.hh
+oz/include/dss_enums.hh
+oz/include/dss_object.hh
+oz/include/extension.hh
+oz/include/lexer.h
+oz/include/mozart.h
+oz/include/mozart_cpi.hh
+oz/lib/libDSS.so
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/emulator.exe
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/flex.exe
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/lib/libDSS.so
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/oztool.sh
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/text2pickle.exe
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/tk.exe
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tcl/auto.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tcl/clock.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tcl/history.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tcl/init.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tcl/package.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tcl/parray.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tcl/safe.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tcl/tclAppInit.c
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tcl/tclIndex
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tcl/tm.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tcl/word.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/bgerror.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/button.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/choosedir.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/clrpick.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/comdlg.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/console.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/dialog.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/entry.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/focus.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/fontchooser.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/iconlist.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/icons.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/listbox.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/megawidget.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/menu.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/mkpsenc.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/msgbox.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/obsolete.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/optMenu.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/palette.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/panedwindow.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/pkgIndex.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/safetk.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/scale.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/scrlbar.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/spinbox.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/tclIndex
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/tearoff.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/text.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/tk.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/tkAppInit.c
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/tkfbox.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/unsupported.tcl
+oz/platform/netbsd-${MACHINE_GNU_ARCH}/wish/tk/xmfbox.tcl
+oz/share/Init.ozf
+oz/share/elisp/mozart.el
+oz/share/elisp/oz-extra.el
+oz/share/elisp/oz-server.el
+oz/share/elisp/oz.el
diff --git a/mozart/distinfo b/mozart/distinfo
new file mode 100644
index 0000000..c801003
--- /dev/null
+++ b/mozart/distinfo
@@ -0,0 +1,9 @@
+$NetBSD$
+
+SHA1 (mozart-1.4.0.tar.gz) = f6ae62bdcc8555e741a9cf061ba4233dfe64c5b6
+RMD160 (mozart-1.4.0.tar.gz) = 332c4aca36daf55fe3c734036203871b3a7db4ea
+Size (mozart-1.4.0.tar.gz) = 11708735 bytes
+SHA1 (patch-platform_wish_unixMain.cc) = 279550e379037d6a5cf19f0e07445c0a13ad9e72
+SHA1 (patch-share_bin_oz.in) = c649bb4f80e3d187339d1a6680f35d20c961bb0d
+SHA1 (patch-share_bin_ozplatform) = 8a7d3de3e83a9905b8706c50509781a2f656d42b
+SHA1 (patch-share_configure) = 96f99bbdaaf8255aa3f68e37d7a3ef8a6c96c0aa
diff --git a/mozart/patches/patch-platform_wish_unixMain.cc b/mozart/patches/patch-platform_wish_unixMain.cc
new file mode 100644
index 0000000..43921d7
--- /dev/null
+++ b/mozart/patches/patch-platform_wish_unixMain.cc
@@ -0,0 +1,82 @@
+$NetBSD$
+
+Avoid deprecated Tcl.
+
+--- platform/wish/unixMain.cc.orig	2015-10-08 15:38:24.000000000 +0000
++++ platform/wish/unixMain.cc
+@@ -157,7 +157,7 @@ main(int argc, char **argv)
+ 
+     if (Tk_ParseArgv(interp, (Tk_Window) NULL, &argc, CONST_CAST(CONST_FOR_ARGV char**,argv), argTable, 0)
+ 	    != TCL_OK) {
+-	fprintf(stdout, "w %s\n.\n", interp->result);
++	fprintf(stdout, "w %s\n.\n", Tcl_GetStringResult(interp));
+ 	fflush(stdout); /* added mm */
+ 	exit(1);
+     }
+@@ -192,7 +192,7 @@ main(int argc, char **argv)
+ #ifdef RS
+     mainWindow = Tk_CreateMainWindow(interp, display, name, "Tk");
+     if (mainWindow == NULL) {
+-	fprintf(stdout, "w %s\n.\n", interp->result);
++	fprintf(stdout, "w %s\n.\n", Tcl_GetStringResult(interp));
+ 	fprintf(stdout, "s stop\n");
+ 	fflush(stdout); /* added mm */
+ 	exit(1);
+@@ -232,7 +232,7 @@ main(int argc, char **argv)
+      */
+ 
+     if (Tcl_AppInit(interp) != TCL_OK) {
+-	fprintf(stdout, "w Tcl_AppInit failed: %s\n.\n", interp->result);
++	fprintf(stdout, "w Tcl_AppInit failed: %s\n.\n", Tcl_GetStringResult(interp));
+ 	fflush(stdout); /* added mm */
+     }
+ 
+@@ -243,7 +243,7 @@ main(int argc, char **argv)
+     if (geometry != NULL) {
+ 	code = Tcl_VarEval(interp, "wm geometry . ", geometry, (char *) NULL);
+ 	if (code != TCL_OK) {
+-	    fprintf(stdout, "w %s\n.\n", interp->result);
++	    fprintf(stdout, "w %s\n.\n", Tcl_GetStringResult(interp));
+ 	    fflush(stdout); /* added mm */
+ 	}
+     }
+@@ -251,7 +251,7 @@ main(int argc, char **argv)
+     /* mm: do not show the main window */
+     code = Tcl_Eval(interp, "wm withdraw . ");
+     if (code != TCL_OK) {
+-      fprintf(stdout, "w %s\n.\n", interp->result);
++      fprintf(stdout, "w %s\n.\n", Tcl_GetStringResult(interp));
+       fflush(stdout); /* added mm */
+     }
+ 
+@@ -301,7 +301,7 @@ main(int argc, char **argv)
+ error:
+     msg = CONST_CAST(char*,Tcl_GetVar(interp, CONST_CAST(CONST char*,"errorInfo"), TCL_GLOBAL_ONLY));
+     if (msg == NULL) {
+-	msg = interp->result;
++	msg = CONST_CAST(char*,Tcl_GetStringResult(interp));
+     }
+     fprintf(stdout, "w %s\n.\n", msg);
+     fflush(stdout);  /* added mm */
+@@ -380,10 +380,10 @@ StdinProc(ClientData clientData, int mas
+     Tk_CreateFileHandler(0, 0, StdinProc, (ClientData) 0);
+     code = Tcl_Eval(interp, cmd);
+     Tk_CreateFileHandler(0, TK_READABLE, StdinProc, (ClientData) 0);
+-    if (*interp->result != 0) {
++    if (Tcl_GetStringResult(interp) != 0) {
+ 	if ((code != TCL_OK) || (tty)) {
+ 	  fprintf(stdout,"w --- %s", cmd);
+-	  fprintf(stdout,"---  %s\n---\n.\n", interp->result);
++	  fprintf(stdout,"---  %s\n---\n.\n", Tcl_GetStringResult(interp));
+ 	  fflush(stdout); /* by mm */
+ 	}
+     }
+@@ -432,7 +432,7 @@ Prompt(Tcl_Interp *interp, int partial)
+ 	if (code != TCL_OK) {
+ 	    Tcl_AddErrorInfo(interp,
+ 		    "\n    (script that generates prompt)");
+-	    fprintf(stdout, "w %s\n.\n", interp->result);
++	    fprintf(stdout, "w %s\n.\n", Tcl_GetStringResult(interp));
+ 	    fflush(stdout); /* added mm */
+ 	    goto defaultPrompt;
+ 	}
diff --git a/mozart/patches/patch-share_bin_oz.in b/mozart/patches/patch-share_bin_oz.in
new file mode 100644
index 0000000..2257bf6
--- /dev/null
+++ b/mozart/patches/patch-share_bin_oz.in
@@ -0,0 +1,19 @@
+$NetBSD$
+
+Get rid of .elc suffix in order to run Emacs Lisp code indipendently if it is
+compiled or not.
+
+--- share/bin/oz.in.orig	2015-10-08 15:38:24.000000000 +0000
++++ share/bin/oz.in
+@@ -82,9 +82,9 @@ case "$cmd" in
+ 	then
+ 	    exec "$OZEMACS" \
+ 		    --eval '(setq load-path (cons "'$OZHOME'/share/elisp" load-path))' \
+-		    -l oz.elc -f run-oz "$@"
++		    -l oz -f run-oz "$@"
+ 	else
+-	    exec "$OZEMACS" -L "$OZHOME/share/elisp" -l oz.elc -f run-oz "$@"
++	    exec "$OZEMACS" -L "$OZHOME/share/elisp" -l oz -f run-oz "$@"
+ 	fi
+ 	;;
+ 
diff --git a/mozart/patches/patch-share_bin_ozplatform b/mozart/patches/patch-share_bin_ozplatform
new file mode 100644
index 0000000..0e7d627
--- /dev/null
+++ b/mozart/patches/patch-share_bin_ozplatform
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Add NetBSD/amd64 support via compat_netbsd32(8).
+
+--- share/bin/ozplatform.orig	2015-10-08 15:38:24.000000000 +0000
++++ share/bin/ozplatform
+@@ -80,6 +80,8 @@ case $system in
+    ;;
+    x86_64\ Linux*)      OZARCH=linux-x86_64_32
+    ;;
++   *amd64*NetBSD*)      OZARCH=netbsd-i486
++   ;;
+    *)  	                OZARCH=unknown-unknown
+    ;;
+ esac
diff --git a/mozart/patches/patch-share_configure b/mozart/patches/patch-share_configure
new file mode 100644
index 0000000..63b8c49
--- /dev/null
+++ b/mozart/patches/patch-share_configure
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Disable building of the test.
+TODO: it should be investigated further why it fails to recognise ozengine
+
+--- share/configure.orig	2015-10-08 15:38:24.000000000 +0000
++++ share/configure
+@@ -2121,7 +2121,7 @@ echo "$ac_t""$oz_picklecompression" 1>&6
+ 
+ 
+ 
+-SHAREDIRS="lib tools elisp test demo examples"
++SHAREDIRS="lib tools elisp demo examples"
+ case $platform in
+     win32*)
+ 	OZWSOCKLIB=-lwsock32


Home | Main Index | Thread Index | Old Index