Date: Wed, 21 Aug 2002 05:20:04 -0700 (PDT) From: Ronald Kuehn <rk@ronald.org> To: freebsd-ports@FreeBSD.org Subject: Re: ports/40098: New port: x11-toolkits/lablgtk: An ocaml interface to gtk+ Message-ID: <200208211220.g7LCK44p006672@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/40098; it has been noted by GNATS. From: Ronald Kuehn <rk@ronald.org> To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: ports/40098: New port: x11-toolkits/lablgtk: An ocaml interface to gtk+ Date: Wed, 21 Aug 2002 14:08:07 +0200 This is version 1.2.5 of lablgtk. It requires ocaml 3.06 (already committed) and lablgl 0.98 (also already committed). # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # lablgtk # lablgtk/pkg-plist # lablgtk/pkg-descr # lablgtk/pkg-comment # lablgtk/distinfo # lablgtk/Makefile # echo c - lablgtk mkdir -p lablgtk > /dev/null 2>&1 echo x - lablgtk/pkg-plist sed 's/^X//' >lablgtk/pkg-plist << 'END-of-lablgtk/pkg-plist' Xbin/lablgtk X%%GLADE%%bin/lablgladecc X%%GLADE%%lib/ocaml/stublibs/dlllablglade.so X%%GNOME%%lib/ocaml/stublibs/dlllablgnome.so Xlib/ocaml/stublibs/dlllablgtk.so X%%GL%%lib/ocaml/stublibs/dlllablgtkgl.so Xlib/ocaml/lablgtk/gBin.cmi Xlib/ocaml/lablgtk/gBin.cmx Xlib/ocaml/lablgtk/gBin.ml Xlib/ocaml/lablgtk/gBin.mli Xlib/ocaml/lablgtk/gButton.cmi Xlib/ocaml/lablgtk/gButton.cmx Xlib/ocaml/lablgtk/gButton.ml Xlib/ocaml/lablgtk/gButton.mli Xlib/ocaml/lablgtk/gContainer.cmi Xlib/ocaml/lablgtk/gContainer.cmx Xlib/ocaml/lablgtk/gContainer.ml Xlib/ocaml/lablgtk/gContainer.mli Xlib/ocaml/lablgtk/gData.cmi Xlib/ocaml/lablgtk/gData.cmx Xlib/ocaml/lablgtk/gData.ml Xlib/ocaml/lablgtk/gData.mli Xlib/ocaml/lablgtk/gDraw.cmi Xlib/ocaml/lablgtk/gDraw.cmx Xlib/ocaml/lablgtk/gDraw.ml Xlib/ocaml/lablgtk/gDraw.mli Xlib/ocaml/lablgtk/gEdit.cmi Xlib/ocaml/lablgtk/gEdit.cmx Xlib/ocaml/lablgtk/gEdit.ml Xlib/ocaml/lablgtk/gEdit.mli X%%GNOME%%lib/ocaml/lablgtk/gHtml.cmi X%%GNOME%%lib/ocaml/lablgtk/gHtml.cmx X%%GNOME%%lib/ocaml/lablgtk/gHtml.ml Xlib/ocaml/lablgtk/gList.cmi Xlib/ocaml/lablgtk/gList.cmx Xlib/ocaml/lablgtk/gList.ml Xlib/ocaml/lablgtk/gList.mli Xlib/ocaml/lablgtk/gMain.cmi Xlib/ocaml/lablgtk/gMain.cmx Xlib/ocaml/lablgtk/gMain.ml Xlib/ocaml/lablgtk/gMain.mli Xlib/ocaml/lablgtk/gMenu.cmi Xlib/ocaml/lablgtk/gMenu.cmx Xlib/ocaml/lablgtk/gMenu.ml Xlib/ocaml/lablgtk/gMenu.mli Xlib/ocaml/lablgtk/gMisc.cmi Xlib/ocaml/lablgtk/gMisc.cmx Xlib/ocaml/lablgtk/gMisc.ml Xlib/ocaml/lablgtk/gMisc.mli Xlib/ocaml/lablgtk/gObj.cmi Xlib/ocaml/lablgtk/gObj.cmx Xlib/ocaml/lablgtk/gObj.ml Xlib/ocaml/lablgtk/gObj.mli Xlib/ocaml/lablgtk/gPack.cmi Xlib/ocaml/lablgtk/gPack.cmx Xlib/ocaml/lablgtk/gPack.ml Xlib/ocaml/lablgtk/gPack.mli Xlib/ocaml/lablgtk/gRange.cmi Xlib/ocaml/lablgtk/gRange.cmx Xlib/ocaml/lablgtk/gRange.ml Xlib/ocaml/lablgtk/gRange.mli Xlib/ocaml/lablgtk/gToolbox.cmi Xlib/ocaml/lablgtk/gToolbox.cmx Xlib/ocaml/lablgtk/gToolbox.ml Xlib/ocaml/lablgtk/gToolbox.mli Xlib/ocaml/lablgtk/gTree.cmi Xlib/ocaml/lablgtk/gTree.cmx Xlib/ocaml/lablgtk/gTree.ml Xlib/ocaml/lablgtk/gTree.mli Xlib/ocaml/lablgtk/gUtil.cmi Xlib/ocaml/lablgtk/gUtil.cmx Xlib/ocaml/lablgtk/gUtil.ml Xlib/ocaml/lablgtk/gUtil.mli Xlib/ocaml/lablgtk/gWindow.cmi Xlib/ocaml/lablgtk/gWindow.cmx Xlib/ocaml/lablgtk/gWindow.ml Xlib/ocaml/lablgtk/gWindow.mli Xlib/ocaml/lablgtk/gaux.cmi Xlib/ocaml/lablgtk/gaux.cmx Xlib/ocaml/lablgtk/gaux.ml Xlib/ocaml/lablgtk/gdk.cmi Xlib/ocaml/lablgtk/gdk.cmx Xlib/ocaml/lablgtk/gdk.ml Xlib/ocaml/lablgtk/gdk.mli Xlib/ocaml/lablgtk/gdkEvent.cmi Xlib/ocaml/lablgtk/gdkEvent.cmx Xlib/ocaml/lablgtk/gdkEvent.ml Xlib/ocaml/lablgtk/gdkKeysyms.cmi Xlib/ocaml/lablgtk/gdkKeysyms.cmx Xlib/ocaml/lablgtk/gdkKeysyms.ml X%%GNOME%%lib/ocaml/lablgtk/gdkPixbuf.cmi X%%GNOME%%lib/ocaml/lablgtk/gdkPixbuf.cmx X%%GNOME%%lib/ocaml/lablgtk/gdkPixbuf.ml Xlib/ocaml/lablgtk/gdkPixbuf.mli Xlib/ocaml/lablgtk/gdk_tags.h X%%GNOME%%lib/ocaml/lablgtk/gdkpixbuf_tags.h Xlib/ocaml/lablgtk/gdkprivate-win32.h X%%GL%%lib/ocaml/lablgtk/glGtk.cmi X%%GL%%lib/ocaml/lablgtk/glGtk.cmx X%%GL%%lib/ocaml/lablgtk/glGtk.ml Xlib/ocaml/lablgtk/glGtk.mli X%%GLADE%%lib/ocaml/lablgtk/glade.cmi X%%GLADE%%lib/ocaml/lablgtk/glade.cmx X%%GLADE%%lib/ocaml/lablgtk/glade.ml Xlib/ocaml/lablgtk/glade.mli Xlib/ocaml/lablgtk/glib.cmi Xlib/ocaml/lablgtk/glib.cmx Xlib/ocaml/lablgtk/glib.ml Xlib/ocaml/lablgtk/glib_tags.h Xlib/ocaml/lablgtk/gpointer.cmi Xlib/ocaml/lablgtk/gpointer.cmx Xlib/ocaml/lablgtk/gpointer.ml Xlib/ocaml/lablgtk/gpointer.mli Xlib/ocaml/lablgtk/gtk.cmi Xlib/ocaml/lablgtk/gtk.cmx Xlib/ocaml/lablgtk/gtk.ml Xlib/ocaml/lablgtk/gtkArgv.cmi Xlib/ocaml/lablgtk/gtkArgv.cmx Xlib/ocaml/lablgtk/gtkArgv.ml Xlib/ocaml/lablgtk/gtkBase.cmi Xlib/ocaml/lablgtk/gtkBase.cmx Xlib/ocaml/lablgtk/gtkBase.ml Xlib/ocaml/lablgtk/gtkBin.cmi Xlib/ocaml/lablgtk/gtkBin.cmx Xlib/ocaml/lablgtk/gtkBin.ml Xlib/ocaml/lablgtk/gtkButton.cmi Xlib/ocaml/lablgtk/gtkButton.cmx Xlib/ocaml/lablgtk/gtkButton.ml Xlib/ocaml/lablgtk/gtkData.cmi Xlib/ocaml/lablgtk/gtkData.cmx Xlib/ocaml/lablgtk/gtkData.ml Xlib/ocaml/lablgtk/gtkEdit.cmi Xlib/ocaml/lablgtk/gtkEdit.cmx Xlib/ocaml/lablgtk/gtkEdit.ml Xlib/ocaml/lablgtk/gtkInit.cmi Xlib/ocaml/lablgtk/gtkInit.cmo Xlib/ocaml/lablgtk/gtkInit.cmx Xlib/ocaml/lablgtk/gtkInit.ml Xlib/ocaml/lablgtk/gtkInit.o Xlib/ocaml/lablgtk/gtkList.cmi Xlib/ocaml/lablgtk/gtkList.cmx Xlib/ocaml/lablgtk/gtkList.ml Xlib/ocaml/lablgtk/gtkMain.cmi Xlib/ocaml/lablgtk/gtkMain.cmx Xlib/ocaml/lablgtk/gtkMain.ml Xlib/ocaml/lablgtk/gtkMenu.cmi Xlib/ocaml/lablgtk/gtkMenu.cmx Xlib/ocaml/lablgtk/gtkMenu.ml Xlib/ocaml/lablgtk/gtkMisc.cmi Xlib/ocaml/lablgtk/gtkMisc.cmx Xlib/ocaml/lablgtk/gtkMisc.ml Xlib/ocaml/lablgtk/gtkNew.cmi Xlib/ocaml/lablgtk/gtkNew.cmx Xlib/ocaml/lablgtk/gtkNew.ml Xlib/ocaml/lablgtk/gtkPack.cmi Xlib/ocaml/lablgtk/gtkPack.cmx Xlib/ocaml/lablgtk/gtkPack.ml Xlib/ocaml/lablgtk/gtkRange.cmi Xlib/ocaml/lablgtk/gtkRange.cmx Xlib/ocaml/lablgtk/gtkRange.ml Xlib/ocaml/lablgtk/gtkSignal.cmi Xlib/ocaml/lablgtk/gtkSignal.cmx Xlib/ocaml/lablgtk/gtkSignal.ml Xlib/ocaml/lablgtk/gtkSignal.mli Xlib/ocaml/lablgtk/gtkThInit.cmo Xlib/ocaml/lablgtk/gtkThInit.ml Xlib/ocaml/lablgtk/gtkThread.cmi Xlib/ocaml/lablgtk/gtkThread.cmo Xlib/ocaml/lablgtk/gtkThread.cmx Xlib/ocaml/lablgtk/gtkThread.ml Xlib/ocaml/lablgtk/gtkThread.mli Xlib/ocaml/lablgtk/gtkThread.o Xlib/ocaml/lablgtk/gtkTree.cmi Xlib/ocaml/lablgtk/gtkTree.cmx Xlib/ocaml/lablgtk/gtkTree.ml Xlib/ocaml/lablgtk/gtkWindow.cmi Xlib/ocaml/lablgtk/gtkWindow.cmx Xlib/ocaml/lablgtk/gtkWindow.ml X%%GNOME%%lib/ocaml/lablgtk/gtkXmHTML.cmi X%%GNOME%%lib/ocaml/lablgtk/gtkXmHTML.cmx X%%GNOME%%lib/ocaml/lablgtk/gtkXmHTML.ml Xlib/ocaml/lablgtk/gtk_tags.h X%%GL%%lib/ocaml/lablgtk/gtkgl_tags.h X%%GNOME%%lib/ocaml/lablgtk/gtkxmhtml_tags.h X%%GLADE%%lib/ocaml/lablgtk/lablglade.a X%%GLADE%%lib/ocaml/lablgtk/lablglade.cma X%%GLADE%%lib/ocaml/lablgtk/lablglade.cmxa X%%GNOME%%lib/ocaml/lablgtk/lablgnome.a X%%GNOME%%lib/ocaml/lablgtk/lablgnome.cma X%%GNOME%%lib/ocaml/lablgtk/lablgnome.cmxa Xlib/ocaml/lablgtk/lablgtk.a Xlib/ocaml/lablgtk/lablgtk.cma Xlib/ocaml/lablgtk/lablgtk.cmxa X%%GL%%lib/ocaml/lablgtk/lablgtkgl.a X%%GL%%lib/ocaml/lablgtk/lablgtkgl.cma X%%GL%%lib/ocaml/lablgtk/lablgtkgl.cmxa Xlib/ocaml/lablgtk/lablgtktop Xlib/ocaml/lablgtk/lablgtktop_t X%%GLADE%%lib/ocaml/lablgtk/liblablglade.a X%%GNOME%%lib/ocaml/lablgtk/liblablgnome.a Xlib/ocaml/lablgtk/liblablgtk.a X%%GL%%lib/ocaml/lablgtk/liblablgtkgl.a Xlib/ocaml/lablgtk/ml_gdk.h Xlib/ocaml/lablgtk/ml_glib.h Xlib/ocaml/lablgtk/ml_gpointer.h Xlib/ocaml/lablgtk/ml_gtk.h Xlib/ocaml/lablgtk/varcc Xlib/ocaml/lablgtk/wrappers.h Xlib/ocaml/lablgtk/xml_lexer.mli X%%GL%%share/examples/ocaml/lablgtk/GL/gears.ml X%%GL%%share/examples/ocaml/lablgtk/GL/morph3d.ml X%%GL%%share/examples/ocaml/lablgtk/GL/planet.ml X%%GL%%share/examples/ocaml/lablgtk/GL/scene.ml X%%GL%%share/examples/ocaml/lablgtk/GL/simple.ml X%%GL%%share/examples/ocaml/lablgtk/GL/tutorial-2.ml X%%GL%%share/examples/ocaml/lablgtk/GL/tutorial-3.ml X%%GL%%share/examples/ocaml/lablgtk/GL/tutorial-4.ml X%%GL%%share/examples/ocaml/lablgtk/GL/tutorial-5.ml X%%GLADE%%share/examples/ocaml/lablgtk/glade/glade_demo.ml X%%GLADE%%share/examples/ocaml/lablgtk/glade/gladecalc.ml X%%GLADE%%share/examples/ocaml/lablgtk/glade/project1.glade X%%GLADE%%share/examples/ocaml/lablgtk/glade/project2.glade X%%GNOME%%share/examples/ocaml/lablgtk/xmhtml/test.ml Xshare/examples/ocaml/lablgtk/image256x256.rgb Xshare/examples/ocaml/lablgtk/buttons.ml Xshare/examples/ocaml/lablgtk/calc.ml Xshare/examples/ocaml/lablgtk/calendar.ml Xshare/examples/ocaml/lablgtk/clist.ml Xshare/examples/ocaml/lablgtk/combo.ml Xshare/examples/ocaml/lablgtk/counter.ml Xshare/examples/ocaml/lablgtk/csview.ml Xshare/examples/ocaml/lablgtk/dcalendar.ml Xshare/examples/ocaml/lablgtk/drawing.ml Xshare/examples/ocaml/lablgtk/editor.ml Xshare/examples/ocaml/lablgtk/entry.ml Xshare/examples/ocaml/lablgtk/events.ml Xshare/examples/ocaml/lablgtk/fifteen.ml Xshare/examples/ocaml/lablgtk/fixed_editor.ml Xshare/examples/ocaml/lablgtk/fixpoint.ml Xshare/examples/ocaml/lablgtk/giotest.ml Xshare/examples/ocaml/lablgtk/hello.ml Xshare/examples/ocaml/lablgtk/image.ml Xshare/examples/ocaml/lablgtk/kaimono.ml Xshare/examples/ocaml/lablgtk/label.ml Xshare/examples/ocaml/lablgtk/lissajous.ml Xshare/examples/ocaml/lablgtk/nihongo.ml Xshare/examples/ocaml/lablgtk/pousse.ml Xshare/examples/ocaml/lablgtk/progressbar.ml Xshare/examples/ocaml/lablgtk/radiobuttons.ml Xshare/examples/ocaml/lablgtk/rpn.ml Xshare/examples/ocaml/lablgtk/scrolledwin.ml Xshare/examples/ocaml/lablgtk/socket.ml Xshare/examples/ocaml/lablgtk/testdnd.ml Xshare/examples/ocaml/lablgtk/testgtk.ml Xshare/examples/ocaml/lablgtk/testinput.ml Xshare/examples/ocaml/lablgtk/tictactoe.ml Xshare/examples/ocaml/lablgtk/tron.ml Xshare/examples/ocaml/lablgtk/test.xpm X%%PORTDOCS%%share/doc/ocaml/lablgtk/README X@dirrm lib/ocaml/lablgtk X%%GL%%@dirrm share/examples/ocaml/lablgtk/GL X%%GNOME%%@dirrm share/examples/ocaml/lablgtk/xmhtml X%%GLADE%%@dirrm share/examples/ocaml/lablgtk/glade X@dirrm share/examples/ocaml/lablgtk X%%PORTDOCS%%@dirrm share/doc/ocaml/lablgtk END-of-lablgtk/pkg-plist echo x - lablgtk/pkg-descr sed 's/^X//' >lablgtk/pkg-descr << 'END-of-lablgtk/pkg-descr' XLablGTK uses the rich type system of Objective Caml 3 to provide a Xstrongly typed, yet very comfortable, object-oriented interface to Xgtk+. This is not that easy if you know the dynamic typing approach Xtaken by gtk+. X XIt is still under development, but already fully functional. All Xwidgets (but one) are available, with almost all their methods. The XGLArea widget is also supported in combination with LablGL. Lots of Xexamples are provided. X XObjective Caml threads are supported, including for the toplevel, Xwhich allows for interactive use of the library. X XPlease see ${PREFIX}/share/doc/ocaml/lablgtk/README for further Xinformation. X XWWW: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html END-of-lablgtk/pkg-descr echo x - lablgtk/pkg-comment sed 's/^X//' >lablgtk/pkg-comment << 'END-of-lablgtk/pkg-comment' XAn Objective Caml interface to gtk+ END-of-lablgtk/pkg-comment echo x - lablgtk/distinfo sed 's/^X//' >lablgtk/distinfo << 'END-of-lablgtk/distinfo' XMD5 (lablgtk-1.2.5.tar.gz) = 92628c756d2d3e2706b59d0382f23c19 END-of-lablgtk/distinfo echo x - lablgtk/Makefile sed 's/^X//' >lablgtk/Makefile << 'END-of-lablgtk/Makefile' X# New ports collection makefile for: lablgtk X# Date created: 30. June 2002 X# Whom: Ronald Kuehn <rk@ronald.org> X# X# $FreeBSD$ X# X XPORTNAME= lablgtk XPORTVERSION= 1.2.5 XCATEGORIES= x11-toolkits XMASTER_SITES= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/ \ X ftp://ftp.inria.fr/lang/caml-light/bazar-ocaml/ XPKGNAMESUFFIX= ${SFXGL}${SFXGNOME}${SFXGLADE} X XMAINTAINER= rk@ronald.org X XBUILD_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml XRUN_DEPENDS+= ocamlc:${PORTSDIR}/lang/ocaml X.if defined(WITHOUT_GL) XPLIST_SUB+= GL="@comment " XSFXGL= -nogl X.else XPLIST_SUB+= GL="" XBUILD_DEPENDS+= lablgl:${PORTSDIR}/graphics/lablgl XRUN_DEPENDS+= lablgl:${PORTSDIR}/graphics/lablgl XLIB_DEPENDS+= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea XCONFIGURE_ENV+= USE_GL=1 X.endif X.if defined(WITHOUT_GNOME) XPLIST_SUB+= GNOME="@comment " XSFXGNOME= -nognome X.else XPLIST_SUB+= GNOME="" XLIB_DEPENDS+= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf XUSE_GNOME= yes XCONFIGURE_ENV+= USE_GNOME=1 X.endif X.if defined(WITHOUT_GLADE) XPLIST_SUB+= GLADE="@comment " XSFXGLADE= -noglade X.else XPLIST_SUB+= GLADE="" XLIB_DEPENDS+= glade.4:${PORTSDIR}/devel/libglade XBUILD_DEPENDS+= libglade-config:${PORTSDIR}/devel/libglade XCONFIGURE_ENV+= USE_GLADE=1 X.endif X XUSE_GMAKE= yes XUSE_GTK= yes XALL_TARGET= all opt XEXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME} XDOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME} XCONFIGURE_ENV+= USE_CC=1 USE_DOTOPT=1 GTK_CONFIG=${GTK_CONFIG} XCONFIGURE_ENV+= LIBDIR=${PREFIX}/lib/ocaml BINDIR=${PREFIX}/bin XCONFIGURE_ENV+= INSTALLDIR=${PREFIX}/lib/ocaml/lablgtk X Xdo-configure: X @(cd ${WRKSRC} && ${GMAKE} configure ${CONFIGURE_ENV}) X Xpost-install: X @${MKDIR} ${EXAMPLESDIR} X @${INSTALL_DATA} ${WRKSRC}/examples/*.rgb \ X ${WRKSRC}/examples/*.ml ${WRKSRC}/examples/*.xpm ${EXAMPLESDIR} X.if !defined(WITHOUT_GL) X @${MKDIR} ${EXAMPLESDIR}/GL X @${INSTALL_DATA} ${WRKSRC}/examples/GL/* ${EXAMPLESDIR}/GL X.endif X.if !defined(WITHOUT_GNOME) X @${MKDIR} ${EXAMPLESDIR}/xmhtml X @${INSTALL_DATA} ${WRKSRC}/examples/xmhtml/* ${EXAMPLESDIR}/xmhtml X.endif X.if !defined(WITHOUT_GLADE) X @${MKDIR} ${EXAMPLESDIR}/glade X @${INSTALL_DATA} ${WRKSRC}/examples/glade/* ${EXAMPLESDIR}/glade X.endif X.if !defined(NO_PORTDOCS) X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README X.endif X X.include <bsd.port.mk> END-of-lablgtk/Makefile exit -- * The whole problem with the world is that fools and fanatics are always * so certain of themselves, but wiser people so full of doubts. * --Bertrand Russell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208211220.g7LCK44p006672>