Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  8 Mar 2000 08:05:22 -0500 (EST)
From:      Will Andrews <andrews@technologist.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/17264: new port: devel/fox
Message-ID:  <20000308130522.4C56B1A27@argon.blackdawn.com>

next in thread | raw e-mail | index | archive | help

>Number:         17264
>Category:       ports
>Synopsis:       new port: devel/fox
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar  8 05:10:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Will Andrews
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:

FreeBSD argon.blackdawn.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Sun Mar  5 00:42:00 EST 2000     root@argon.blackdawn.com:/usr/src/sys/compile/KRYPTON  i386
FreeBSD shadow.blackdawn.com 3.4-STABLE FreeBSD 3.4-STABLE #0: Sun Jan 23 13:41:02 EST 2000     root@shadow.blackdawn.com:/usr/src/sys/compile/SHADOW  i386

>Description:

New port for FOX (0.99.112).
Port accomodations:
	1) Removes unnecessary building (we only need
	   the library, not the examples!).
	2) Fixes htmldir configuration.
	3) Handles profiled libs properly, with a patch to
	   configure to make sure -fomit-frame-pointer is not
	   passed if the user wants profiled libs.
	4) Handles NO_SHM configure option properly.
	5) Allows future changing of SHLIB version numbers by
	   simple knobs in the port Makefile.
	6) USE_LIBTOOL to avoid *.la file installations.
	7) Extenively tested the above options on both 3.4
	   and especially 4.0 to make sure PLIST is correctly
	   specified in all cases.
	8) Passes portlint test.

FOX looks like a very useful C++ GUI toolkit. It may even be
a suitable replacement for Qt! Of course, that is just my
speculation (and speaking as someone with very little GUI
programming experience). ;-)

As a side note, this port was tested with my graphics/Mesa3
3.1 upgrade. Could somebody please upgrade that port soon? :)

>How-To-Repeat:

Use the shar below to import the new port to the tree.

>Fix:

# 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:
#
#	fox
#	fox/files
#	fox/files/md5
#	fox/pkg
#	fox/pkg/COMMENT
#	fox/pkg/DESCR
#	fox/pkg/PLIST
#	fox/patches
#	fox/patches/patch-aa
#	fox/patches/patch-ab
#	fox/patches/patch-ac
#	fox/patches/patch-ad
#	fox/Makefile
#
echo c - fox
mkdir -p fox > /dev/null 2>&1
echo c - fox/files
mkdir -p fox/files > /dev/null 2>&1
echo x - fox/files/md5
sed 's/^X//' >fox/files/md5 << 'END-of-fox/files/md5'
XMD5 (fox.tar.gz) = 9a3bc6f3f05e8e8b7addec19afbe8534
END-of-fox/files/md5
echo c - fox/pkg
mkdir -p fox/pkg > /dev/null 2>&1
echo x - fox/pkg/COMMENT
sed 's/^X//' >fox/pkg/COMMENT << 'END-of-fox/pkg/COMMENT'
XFast and extensive C++ GUI toolkit
END-of-fox/pkg/COMMENT
echo x - fox/pkg/DESCR
sed 's/^X//' >fox/pkg/DESCR << 'END-of-fox/pkg/DESCR'
XFOX is a C++ GUI toolkit that is supposed to
Xallow programmers to write a program once, and
Xcompile anywhere (or so the website says, it sounds
Xlike Java to me). FOX is a very flexible library,
Xit has all sorts of functions and options, and is
Xsupposed to be fairly fast.
X
XWWW: http://www.cfdrc.com/FOX/fox.html
XAuthor: Jeroen van der Zijp <jvz@cfdrc.com>
X
X--Will <andrews@technologist.com>
END-of-fox/pkg/DESCR
echo x - fox/pkg/PLIST
sed 's/^X//' >fox/pkg/PLIST << 'END-of-fox/pkg/PLIST'
Xbin/reswrap
Xinclude/fox/FX4Splitter.h
Xinclude/fox/FXAccelTable.h
Xinclude/fox/FXApp.h
Xinclude/fox/FXArray.h
Xinclude/fox/FXArrowButton.h
Xinclude/fox/FXBMPIcon.h
Xinclude/fox/FXBMPImage.h
Xinclude/fox/FXBitmap.h
Xinclude/fox/FXButton.h
Xinclude/fox/FXCanvas.h
Xinclude/fox/FXCheckButton.h
Xinclude/fox/FXColorDialog.h
Xinclude/fox/FXColorSelector.h
Xinclude/fox/FXColorWell.h
Xinclude/fox/FXComboBox.h
Xinclude/fox/FXComposite.h
Xinclude/fox/FXCursor.h
Xinclude/fox/FXDC.h
Xinclude/fox/FXDCPrint.h
Xinclude/fox/FXDCWindow.h
Xinclude/fox/FXDHMat.h
Xinclude/fox/FXDHVec.h
Xinclude/fox/FXDQuat.h
Xinclude/fox/FXDVec.h
Xinclude/fox/FXDataTarget.h
Xinclude/fox/FXDebugTarget.h
Xinclude/fox/FXDial.h
Xinclude/fox/FXDialogBox.h
Xinclude/fox/FXDict.h
Xinclude/fox/FXDirBox.h
Xinclude/fox/FXDirList.h
Xinclude/fox/FXDocument.h
Xinclude/fox/FXDragCorner.h
Xinclude/fox/FXDrawable.h
Xinclude/fox/FXElement.h
Xinclude/fox/FXFile.h
Xinclude/fox/FXFileDialog.h
Xinclude/fox/FXFileDict.h
Xinclude/fox/FXFileList.h
Xinclude/fox/FXFileSelector.h
Xinclude/fox/FXFont.h
Xinclude/fox/FXFontDialog.h
Xinclude/fox/FXFontSelector.h
Xinclude/fox/FXFrame.h
Xinclude/fox/FXId.h
Xinclude/fox/FXGIFIcon.h
Xinclude/fox/FXGIFImage.h
Xinclude/fox/FXGLCanvas.h
Xinclude/fox/FXGLCone.h
Xinclude/fox/FXGLCube.h
Xinclude/fox/FXGLCylinder.h
Xinclude/fox/FXGLObject.h
Xinclude/fox/FXGLShape.h
Xinclude/fox/FXGLSphere.h
Xinclude/fox/FXGLTriangleMesh.h
Xinclude/fox/FXGLViewer.h
Xinclude/fox/FXGLVisual.h
Xinclude/fox/FXGroupBox.h
Xinclude/fox/FXHMat.h
Xinclude/fox/FXHVec.h
Xinclude/fox/FXHeader.h
Xinclude/fox/FXHorizontalFrame.h
Xinclude/fox/FXIcon.h
Xinclude/fox/FXIconList.h
Xinclude/fox/FXImage.h
Xinclude/fox/FXJPEGIcon.h
Xinclude/fox/FXJPEGImage.h
Xinclude/fox/FXLabel.h
Xinclude/fox/FXList.h
Xinclude/fox/FXMDIButton.h
Xinclude/fox/FXMDIChild.h
Xinclude/fox/FXMDIClient.h
Xinclude/fox/FXMainWindow.h
Xinclude/fox/FXMatrix.h
Xinclude/fox/FXMenuBar.h
Xinclude/fox/FXMenuButton.h
Xinclude/fox/FXMenuCaption.h
Xinclude/fox/FXMenuCascade.h
Xinclude/fox/FXMenuCommand.h
Xinclude/fox/FXMenuPane.h
Xinclude/fox/FXMenuSeparator.h
Xinclude/fox/FXMenuTitle.h
Xinclude/fox/FXMessageBox.h
Xinclude/fox/FXObject.h
Xinclude/fox/FXObjectList.h
Xinclude/fox/FXOptionMenu.h
Xinclude/fox/FXPNGIcon.h
Xinclude/fox/FXPNGImage.h
Xinclude/fox/FXPacker.h
Xinclude/fox/FXPopup.h
Xinclude/fox/FXPrintDialog.h
Xinclude/fox/FXProfiler.h
Xinclude/fox/FXProgressBar.h
Xinclude/fox/FXQuat.h
Xinclude/fox/FXRadioButton.h
Xinclude/fox/FXRange.h
Xinclude/fox/FXRegion.h
Xinclude/fox/FXRegistry.h
Xinclude/fox/FXRecentFiles.h
Xinclude/fox/FXRootWindow.h
Xinclude/fox/FXScrollArea.h
Xinclude/fox/FXScrollWindow.h
Xinclude/fox/FXScrollbar.h
Xinclude/fox/FXSeparator.h
Xinclude/fox/FXShell.h
Xinclude/fox/FXShutter.h
Xinclude/fox/FXSlider.h
Xinclude/fox/FXSpinner.h
Xinclude/fox/FXSplitter.h
Xinclude/fox/FXStatusbar.h
Xinclude/fox/FXStatusline.h
Xinclude/fox/FXStream.h
Xinclude/fox/FXString.h
Xinclude/fox/FXSwitcher.h
Xinclude/fox/FXTab.h
Xinclude/fox/FXTable.h
Xinclude/fox/FXText.h
Xinclude/fox/FXTextField.h
Xinclude/fox/FXToggleButton.h
Xinclude/fox/FXToolbarTab.h
Xinclude/fox/FXTooltip.h
Xinclude/fox/FXTopWindow.h
Xinclude/fox/FXTreeList.h
Xinclude/fox/FXTreeListBox.h
Xinclude/fox/FXUndoList.h
Xinclude/fox/FXVec.h
Xinclude/fox/FXVerticalFrame.h
Xinclude/fox/FXVisual.h
Xinclude/fox/FXWindow.h
Xinclude/fox/FXXPMIcon.h
Xinclude/fox/FXXPMImage.h
Xinclude/fox/fx.h
Xinclude/fox/fx3d.h
Xinclude/fox/fxdefs.h
Xinclude/fox/fxicl.h
Xinclude/fox/fxkeys.h
Xinclude/fox/fxregex.h
Xinclude/fox/fxver.h
Xinclude/fox/xincs.h
Xlib/libFOX.a
Xlib/libFOX.so
Xlib/libFOX.so.%%LIBVER%%
Xshare/fox/html/draganddrop.html
Xshare/fox/html/faq.html
Xshare/fox/html/focus.html
Xshare/fox/html/fonts.html
Xshare/fox/html/foreword.html
Xshare/fox/html/fox.html
Xshare/fox/html/guiupdate.html
Xshare/fox/html/icons.html
Xshare/fox/html/introduction.html
Xshare/fox/html/layout.html
Xshare/fox/html/messages.html
Xshare/fox/html/oldfox.html
Xshare/fox/html/platforms.html
Xshare/fox/html/registry.html
Xshare/fox/html/serialization.html
Xshare/fox/html/widgets.html
Xshare/fox/html/win32.html
Xshare/fox/html/bigpenguin.png
Xshare/fox/html/cfdrc.png
Xshare/fox/html/foxback.png
Xshare/fox/html/foxlogo.png
Xshare/fox/html/nasafan.png
Xshare/fox/html/opengl_logo.png
Xshare/fox/html/owl-anim.png
Xshare/fox/html/pathfinder.png
Xshare/fox/html/pcboard.png
Xshare/fox/html/progress.png
Xshare/fox/html/scribble.png
Xshare/fox/html/sgitextedit.png
Xshare/fox/html/tb-paste.png
Xshare/fox/html/textedit.png
Xshare/fox/html/textedit2.png
Xshare/fox/html/win32-libraries.png
Xshare/fox/html/win32-linkoutput.png
Xshare/fox/html/win32-postbuild.png
Xshare/fox/html/win32-preprocessor.png
Xshare/fox/html/win32-project.png
Xshare/fox/html/win32-tooloptions.png
Xshare/fox/html/wintextedit.png
X@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
X@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
X@dirrm include/fox
X@dirrm share/fox/html
X@dirrm share/fox
END-of-fox/pkg/PLIST
echo c - fox/patches
mkdir -p fox/patches > /dev/null 2>&1
echo x - fox/patches/patch-aa
sed 's/^X//' >fox/patches/patch-aa << 'END-of-fox/patches/patch-aa'
X--- src/Makefile.in	Tue Feb 22 14:46:39 2000
X+++ src/Makefile.in.new	Wed Mar  1 05:53:08 2000
X@@ -75,9 +75,9 @@
X LIBTOOL = @LIBTOOL@
X LN_S = @LN_S@
X LT_AGE = @LT_AGE@
X-LT_CURRENT = @LT_CURRENT@
X+LT_CURRENT ?= @LT_CURRENT@
X LT_RELEASE = @LT_RELEASE@
X-LT_REVISION = @LT_REVISION@
X+LT_REVISION ?= @LT_REVISION@
X MAKEINFO = @MAKEINFO@
X NM = @NM@
X OBJDUMP = @OBJDUMP@
X@@ -93,7 +93,7 @@
X 
X libFOX_la_LIBADD = $(X_LIBS) $(X_BASE_LIBS) $(X_EXTRA_LIBS) $(GL_LIBS)
X 
X-libFOX_la_LDFLAGS =          -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)    	-release $(LT_RELEASE)
X+libFOX_la_LDFLAGS =          -version-info $(LT_CURRENT):$(LT_REVISION)
X 
X 
X libFOX_la_SOURCES =          FX4Splitter.cpp                 FXAccelTable.cpp                FXApp.cpp                       FXArrowButton.cpp               FXBMPIcon.cpp                   FXBMPImage.cpp                  FXBitmap.cpp                    FXButton.cpp                    FXCanvas.cpp                    FXCheckButton.cpp               FXColorDialog.cpp               FXColorNames.cpp                FXColorSelector.cpp             FXColorWell.cpp                 FXComboBox.cpp                  FXComposite.cpp                 FXCursor.cpp                    FXDC.cpp                        FXDCPrint.cpp                   FXDCWindow.cpp                  FXDHMat.cpp                     FXDHVec.cpp                     FXDQuat.cpp                     FXDVec.cpp                      FXDataTarget.cpp                FXDebugTarget.cpp               FXDial.cpp                      FXDialogBox.cpp                 FXDict.cpp                      FXDirBox.cpp                    FXDirList.cpp                   FXDocument.cpp                  FXDragCorner.cpp                FXDrawable.cpp                  FXFile.cpp                      FXFileDialog.cpp                FXFileDict.cpp                  FXFileList.cpp                  FXFileSelector.cpp              FXFont.cpp                      FXFontDialog.cpp                FXFontSelector.cpp              FXFrame.cpp                     FXGIFIcon.cpp                   FXGIFImage.cpp                  FXGLCanvas.cpp                  FXGLCone.cpp                    FXGLCube.cpp                    FXGLCylinder.cpp                FXGLObject.cpp                  FXGLShape.cpp                   FXGLSphere.cpp                  FXGLTriangleMesh.cpp            FXGLViewer.cpp                  FXGLVisual.cpp                  FXGroupBox.cpp                  FXHMat.cpp                      FXHVec.cpp                      FXHeader.cpp                    FXHorizontalFrame.cpp           FXIcon.cpp                      FXIconList.cpp                  FXId.cpp                        FXImage.cpp                     FXJPEGIcon.cpp                  FXJPEGImage.cpp                 FXLabel.cpp                     FXList.cpp                      FXMDIButton.cpp                 FXMDIChild.cpp                  FXMDIClient.cpp                 FXMainWindow.cpp                FXMatrix.cpp                    FXMenuBar.cpp                   FXMenuButton.cpp                FXMenuCaption.cpp               FXMenuCascade.cpp               FXMenuCommand.cpp               FXMenuPane.cpp                  FXMenuSeparator.cpp             FXMenuTitle.cpp                 FXMessageBox.cpp                FXObject.cpp                    FXObjectList.cpp                FXOptionMenu.cpp                FXPNGIcon.cpp                   FXPNGImage.cpp                  FXPacker.cpp                    FXPopup.cpp                     FXPrintDialog.cpp               FXProfiler.cpp                  FXProgressBar.cpp               FXQuat.cpp                      FXRadioButton.cpp               FXRange.cpp                     FXRecentFiles.cpp               FXRegion.cpp                    FXRegistry.cpp                  FXRootWindow.cpp                FXScrollArea.cpp                FXScrollWindow.cpp              FXScrollbar.cpp                 FXSeparator.cpp                 FXShell.cpp                     FXShutter.cpp                   FXSlider.cpp                    FXSpinner.cpp                   FXSplitter.cpp                  FXStatusbar.cpp                 FXStatusline.cpp                FXStream.cpp                    FXString.cpp                    FXSwitcher.cpp                  FXTab.cpp                       FXTable.cpp                     FXText.cpp                      FXTextField.cpp                 FXToggleButton.cpp              FXToolbarTab.cpp                FXTooltip.cpp                   FXTopWindow.cpp                 FXTreeList.cpp                  FXTreeListBox.cpp               FXUndoList.cpp                  FXVec.cpp                       FXVerticalFrame.cpp             FXVisual.cpp                    FXWindow.cpp                    FXXPMIcon.cpp                   FXXPMImage.cpp                  fxbmpio.cpp                     fxgifio.cpp                     fxjpegio.cpp                    fxicl.cpp                       fxpngio.cpp                     fxregex.cpp                     fxutils.cpp                     fxxpmio.cpp                     fxquantize.cpp                  fxquantize.h                    jitter.h                        crosshair.xbm                   crosshair_mask.xbm              dndcopy.xbm                     dndcopy_mask.xbm                dndlink.xbm                     dndlink_mask.xbm                dndmove.xbm                     dndmove_mask.xbm                dontdrop.xbm                    dontdrop_mask.xbm               drag.xbm                        drag_mask.xbm                   gray.xbm                        hsplit.xbm                      hsplit_mask.xbm                 move.xbm                        move_mask.xbm                   resize.xbm                      resize_mask.xbm                 resizeleft.xbm                  resizeleft_mask.xbm             resizetop.xbm                   resizetop_mask.xbm              resizetopleft.xbm               resizetopleft_mask.xbm          resizetopright.xbm              resizetopright_mask.xbm         rotate.xbm                      rotate_mask.xbm                 swatch.xbm                      swatch_mask.xbm                 version.rc                      version.rc.in                   vsplit.xbm                      vsplit_mask.xbm                 xsplit.xbm                      xsplit_mask.xbm                 ne.xbm                          ne_mask.xbm                     se.xbm                          se_mask.xbm                     sw.xbm                          sw_mask.xbm                     nw.xbm                          nw_mask.xbm                     translate.xbm                   translate_mask.xbm              zoom.xbm                        zoom_mask.xbm
END-of-fox/patches/patch-aa
echo x - fox/patches/patch-ab
sed 's/^X//' >fox/patches/patch-ab << 'END-of-fox/patches/patch-ab'
X--- Makefile.in	Tue Feb 22 14:46:32 2000
X+++ Makefile.in.new	Wed Mar  1 05:39:07 2000
X@@ -91,7 +91,7 @@
X AUTOMAKE_OPTIONS = foreign dist-zip
X #AUTOMAKE_OPTIONS = foreign dist-zip no-dependencies
X 
X-SUBDIRS = utils include src doc tests pathfinder historic
X+SUBDIRS = utils include src doc
X EXTRA_DIST = ADDITIONS AUTHORS BUGS INSTALL LICENSE TRACING README index.html aclocal.m4
X 
X CLEANFILES = fox.tar.gz
END-of-fox/patches/patch-ab
echo x - fox/patches/patch-ac
sed 's/^X//' >fox/patches/patch-ac << 'END-of-fox/patches/patch-ac'
X--- doc/Makefile.in	Tue Feb 22 14:46:40 2000
X+++ doc/Makefile.in.new	Wed Mar  1 06:11:30 2000
X@@ -86,7 +86,7 @@
X VERSION = @VERSION@
X X_BASE_LIBS = @X_BASE_LIBS@
X 
X-htmldir = $(prefix)/@PACKAGE@/html
X+htmldir = $(datadir)/@PACKAGE@/html
X 
X # Source code documentation tool
X PERCEPS = perceps
END-of-fox/patches/patch-ac
echo x - fox/patches/patch-ad
sed 's/^X//' >fox/patches/patch-ad << 'END-of-fox/patches/patch-ad'
X--- configure	Mon Mar  6 13:25:50 2000
X+++ configure.new	Mon Mar  6 13:33:37 2000
X@@ -3561,7 +3561,10 @@
X if test "x$enable_release" = "xyes" ; then
X CXXFLAGS="${CXXFLAGS} -O2 -DNDEBUG"
X if test "${GXX}" = "yes" ; then
X-CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
X+CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -finline-functions -fexpensive-optimizations"
X+if test "${with_profiling}" = ""; then
X+CXXFLAGS="${CXXFLAGS} -fomit-frame-pointer"
X+fi
X fi
X fi
X 
END-of-fox/patches/patch-ad
echo x - fox/Makefile
sed 's/^X//' >fox/Makefile << 'END-of-fox/Makefile'
X# New ports collection makefile for:	fox
X# Version required:	0.1
X# Date created:		23 Feb 2000
X# Whom:			Will Andrews <andrews@technologist.com>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	fox
XPKGNAME=	fox-0.99.112
XCATEGORIES=	graphics
XMASTER_SITES=	ftp://ftp.cfdrc.com/pub/FOX/ \
X		ftp://imssun1.epfl.ch/pub/ \
X		ftp://SunSITE.Informatik.RWTH-Aachen.DE/pub/Linux/fox/
X
XMAINTAINER=	andrews@technologist.com
X
XLIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
X		png.3:${PORTSDIR}/graphics/png \
X		GL.14:${PORTSDIR}/graphics/Mesa3
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS+=--with-opengl=mesa --with-x
X.if defined(NO_SHM)
XCONFIGURE_ARGS+=--with-shm=no
X.else
XCONFIGURE_ARGS+=--with-shm=yes
X.endif
X.if defined(DEBUG)
XCONFIGURE_ARGS+=--enable-debug
X.else
XCONFIGURE_ARGS+=--enable-release
X.endif
X.if defined(WANT_PROFILE)
XCONFIGURE_ARGS+=--with-profiling=gprof
X.endif
XUSE_LIBTOOL=	yes
XWRKSRC=		${WRKDIR}/${PKGNAME}
XSHLIB_MAJ=	1
XSHLIB_MIN=	0
XMAKE_ENV+=	LT_CURRENT="${SHLIB_MAJ}" LT_REVISION="${SHLIB_MIN}"
XMAN1=		reswrap.1
X
X.include <bsd.port.pre.mk>
X
X.if ${PORTOBJFORMAT} == "elf"
XPLIST_SUB+=	LIBVER="${SHLIB_MAJ}"
X.else
XPLIST_SUB+=	LIBVER="${SHLIB_MAJ}.${SHLIB_MIN}"
X.endif
X
X.include <bsd.port.post.mk>
END-of-fox/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


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?20000308130522.4C56B1A27>