diff options
author | jkh <jkh@FreeBSD.org> | 1995-07-15 21:57:09 +0800 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-07-15 21:57:09 +0800 |
commit | 4a6aa7b318dec83704d0ad2da99dca26abd25373 (patch) | |
tree | 2c23e0f27aaa5b3195c3068c0c56bf798c6c47c0 /x11-toolkits | |
parent | 18541ac4f47287a57b6ac396df641908f6fe6f5d (diff) | |
download | freebsd-ports-gnome-4a6aa7b318dec83704d0ad2da99dca26abd25373.tar.gz freebsd-ports-gnome-4a6aa7b318dec83704d0ad2da99dca26abd25373.tar.zst freebsd-ports-gnome-4a6aa7b318dec83704d0ad2da99dca26abd25373.zip |
The Free Widget Foundation's widget set. This is set to compile
only non-Motif widgets - if you have Motif and want the extensions in libfwf
then configure, edit and build in 3 steps.
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/FWF/Makefile | 24 | ||||
-rw-r--r-- | x11-toolkits/FWF/distinfo | 1 | ||||
-rw-r--r-- | x11-toolkits/FWF/files/patch-aa | 239 | ||||
-rw-r--r-- | x11-toolkits/FWF/files/xmkmf | 8 | ||||
-rw-r--r-- | x11-toolkits/FWF/pkg-comment | 1 | ||||
-rw-r--r-- | x11-toolkits/FWF/pkg-descr | 45 | ||||
-rw-r--r-- | x11-toolkits/FWF/pkg-plist | 115 |
7 files changed, 433 insertions, 0 deletions
diff --git a/x11-toolkits/FWF/Makefile b/x11-toolkits/FWF/Makefile new file mode 100644 index 000000000000..778dd34b1cb0 --- /dev/null +++ b/x11-toolkits/FWF/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: FWF Widgets +# Version required: 3.8 +# Date created: 14 July 1995 +# Whom: jkh +# +# $Id$ +# + +DISTNAME= fwf-3.8 +CATEGORIES+= x11 +MASTER_SITES= ftp://ftp.let.rug.nl/pub/FWF + +MAINTAINER= jkh@FreeBSD.ORG + +USE_IMAKE= yes +WRKSRC= ${WRKDIR}/FWF +PATCH_STRIP= -p1 +XMKMF= env X11BASE=${X11BASE} WRKSRC=${WRKSRC} ${FILESDIR}/xmkmf +X_NO_MAKE_MAKEFILES= yes + +post-install: + ldconfig -m ${PREFIX}/lib + +.include <bsd.port.mk> diff --git a/x11-toolkits/FWF/distinfo b/x11-toolkits/FWF/distinfo new file mode 100644 index 000000000000..6dc53a73bf39 --- /dev/null +++ b/x11-toolkits/FWF/distinfo @@ -0,0 +1 @@ +MD5 (fwf-3.8.tar.gz) = 0cdc0ddd525d25c1d8875296725f95f9 diff --git a/x11-toolkits/FWF/files/patch-aa b/x11-toolkits/FWF/files/patch-aa new file mode 100644 index 000000000000..190bf5011be2 --- /dev/null +++ b/x11-toolkits/FWF/files/patch-aa @@ -0,0 +1,239 @@ +diff -c -r FWF.orig/FWF.tmpl FWF/FWF.tmpl +*** FWF.orig/FWF.tmpl Wed Apr 19 08:28:49 1995 +--- FWF/FWF.tmpl Sat Jul 15 04:32:23 1995 +*************** +*** 26,32 **** + Set if you also want Motif versions of the widgets (if available) + ------------------------------------------------------------------------*/ + +! #define WantMotifVersions 1 + + XCOMM MOTIFINC = -I/usr/include/Motif1.2 + XCOMM XMLIB = -L/usr/lib/Motif1.2 -lXm +--- 26,32 ---- + Set if you also want Motif versions of the widgets (if available) + ------------------------------------------------------------------------*/ + +! #define WantMotifVersions 0 + + XCOMM MOTIFINC = -I/usr/include/Motif1.2 + XCOMM XMLIB = -L/usr/lib/Motif1.2 -lXm +*************** +*** 52,62 **** + + #define HaveXpm 1 + +- XPM_LIBDIR = $(LIBDIR) /* /usr/lib/X11R5.supplement */ + XPM_INCDIR = $(INCDIR) /* /usr/include/X11R5.supplement */ +! XPM_LIBBASENAME = Xpm +! XPM_LIBNAME = lib$(XPM_LIBBASENAME).a +! XPM_LIB = $(XPM_LIBDIR)/$(XPM_LIBNAME) + + /*------------------------------------------------------------------------ + The following lines might be helpful for your system. Uncomment +--- 52,59 ---- + + #define HaveXpm 1 + + XPM_INCDIR = $(INCDIR) /* /usr/include/X11R5.supplement */ +! XPM_LIB = -lXpm + + /*------------------------------------------------------------------------ + The following lines might be helpful for your system. Uncomment +diff -c -r FWF.orig/src/AnsiTerm/AnsiTermT.c FWF/src/AnsiTerm/AnsiTermT.c +*** FWF.orig/src/AnsiTerm/AnsiTermT.c Tue Mar 7 08:48:56 1995 +--- FWF/src/AnsiTerm/AnsiTermT.c Sat Jul 15 04:32:24 1995 +*************** +*** 30,41 **** + #include <signal.h> + #include <unistd.h> + #include <fcntl.h> + #include <sys/ptyio.h> + #include <X11/Intrinsic.h> + #include <X11/StringDefs.h> + #include <Xfwf/AnsiTerm.h> + +! + + /*-------------------------------------------------------------------- + | Provide rather strict fallback resources, to make the program work +--- 30,45 ---- + #include <signal.h> + #include <unistd.h> + #include <fcntl.h> ++ #if !defined(__FreeBSD__) + #include <sys/ptyio.h> ++ #endif + #include <X11/Intrinsic.h> + #include <X11/StringDefs.h> + #include <Xfwf/AnsiTerm.h> + +! #if !defined(KILL_ALL_OTHERS) +! #define KILL_ALL_OTHERS -1 +! #endif + + /*-------------------------------------------------------------------- + | Provide rather strict fallback resources, to make the program work +diff -c -r FWF.orig/src/Dir/RegExp.c FWF/src/Dir/RegExp.c +*** FWF.orig/src/Dir/RegExp.c Mon Apr 18 18:07:20 1994 +--- FWF/src/Dir/RegExp.c Sat Jul 15 04:32:24 1995 +*************** +*** 10,15 **** +--- 10,19 ---- + + ****************************************************************************/ + ++ #if defined(__FreeBSD__) /* This whole file needs converting */ ++ #define NO_REGEXP ++ #endif ++ + /* + * Author: + * Brian Totty +*************** +*** 25,36 **** + #include <Xfwf/RegExp.h> + #include <regexp.h> + +! void RegExpCompile(regexp,fsm_ptr,fsm_length) +! char *regexp,*fsm_ptr; + int fsm_length; + { + #ifndef NO_REGEXP +! compile(regexp,fsm_ptr,&(fsm_ptr[fsm_length]),'\0'); + #endif + } /* End RegExpCompile */ + +--- 29,40 ---- + #include <Xfwf/RegExp.h> + #include <regexp.h> + +! void RegExpCompile(regex,fsm_ptr,fsm_length) +! char *regex,*fsm_ptr; + int fsm_length; + { + #ifndef NO_REGEXP +! compile(regex,fsm_ptr,&(fsm_ptr[fsm_length]),'\0'); + #endif + } /* End RegExpCompile */ + +diff -c -r FWF.orig/src/EzMenu/EzMenu.c FWF/src/EzMenu/EzMenu.c +*** FWF.orig/src/EzMenu/EzMenu.c Fri May 6 12:59:31 1994 +--- FWF/src/EzMenu/EzMenu.c Sat Jul 15 04:32:24 1995 +*************** +*** 414,422 **** +--- 414,424 ---- + SimpleMenuWidget smw = (SimpleMenuWidget) ez_old; + SmeObject *entry; + ++ #if 0 + ForAllChildren(smw, entry) { + XtDestroyWidget((Widget)entry); + } ++ #endif + + XfwfEzMenuParseMenu(ez_new, ez_new -> ez_menu.menu, True); + ret_val = TRUE; +diff -c -r FWF.orig/src/FileComp/Imakefile FWF/src/FileComp/Imakefile +*** FWF.orig/src/FileComp/Imakefile Mon May 3 12:40:20 1993 +--- FWF/src/FileComp/Imakefile Sat Jul 15 04:32:24 1995 +*************** +*** 4,10 **** + + SRCS = $(WIDGET).c squish.c getod.c + EXT_OBJS = $(WIDGET)T.o squish.o getod.o + + #include "../StdImakefile" +- +- AddToLibraryTarget(archive,$(FWF_LIBDIR),$(FWF_LIBNAME),squish.o getod.o) +--- 4,9 ---- + + SRCS = $(WIDGET).c squish.c getod.c + EXT_OBJS = $(WIDGET)T.o squish.o getod.o ++ LIB_OBJS = $(EXT_OBJS) + + #include "../StdImakefile" +diff -c -r FWF.orig/src/IconBox/IconBoxT.c FWF/src/IconBox/IconBoxT.c +*** FWF.orig/src/IconBox/IconBoxT.c Fri May 6 08:53:22 1994 +--- FWF/src/IconBox/IconBoxT.c Sat Jul 15 04:32:24 1995 +*************** +*** 42,48 **** + }; + + extern int errno; +- extern char *sys_errlist[]; + + static XtAppContext app_context; + static int hlen, vlen; +--- 42,47 ---- +diff -c -r FWF.orig/src/Imakefile FWF/src/Imakefile +*** FWF.orig/src/Imakefile Wed Apr 19 08:31:04 1995 +--- FWF/src/Imakefile Sat Jul 15 05:05:02 1995 +*************** +*** 28,34 **** + OptButton VScrollb HScrollb Cmap Shistogram Hdial Canvas \ + CircPerc Stack Enforcer Rows MenuBar ScrollWin ScrollWin3 Tabs \ + PieMenu Array FileLister AnsiTerm Entry SpinLabel \ +! Mdial PcBar Toggle Icon Alert Group RadioGroup ThumbWheel \ + FoldingTree IconBox Animator Pager + #endif + +--- 28,34 ---- + OptButton VScrollb HScrollb Cmap Shistogram Hdial Canvas \ + CircPerc Stack Enforcer Rows MenuBar ScrollWin ScrollWin3 Tabs \ + PieMenu Array FileLister AnsiTerm Entry SpinLabel \ +! PcBar Toggle Icon Alert Group RadioGroup ThumbWheel \ + FoldingTree IconBox Animator Pager + #endif + +*************** +*** 53,59 **** + OptButton VScrollb HScrollb Cmap Shistogram Hdial Canvas \ + CircPerc Stack Enforcer Rows MenuBar ScrollWin ScrollWin3 Tabs \ + ThumbWheel2 PieMenu Array FileLister AnsiTerm Entry SpinLabel \ +! Mdial PcBar + #endif + + +--- 53,59 ---- + OptButton VScrollb HScrollb Cmap Shistogram Hdial Canvas \ + CircPerc Stack Enforcer Rows MenuBar ScrollWin ScrollWin3 Tabs \ + ThumbWheel2 PieMenu Array FileLister AnsiTerm Entry SpinLabel \ +! PcBar + #endif + + +diff -c -r FWF.orig/src/XmAnsiTerm/XmATermT.c FWF/src/XmAnsiTerm/XmATermT.c +*** FWF.orig/src/XmAnsiTerm/XmATermT.c Tue Mar 7 08:48:56 1995 +--- FWF/src/XmAnsiTerm/XmATermT.c Sat Jul 15 04:32:24 1995 +*************** +*** 30,41 **** + #include <signal.h> + #include <unistd.h> + #include <fcntl.h> + #include <sys/ptyio.h> + #include <X11/Intrinsic.h> + #include <X11/StringDefs.h> + #include <Xfwf/XmATerm.h> + +! + + /*-------------------------------------------------------------------- + | Provide rather strict fallback resources, to make the program work +--- 30,45 ---- + #include <signal.h> + #include <unistd.h> + #include <fcntl.h> ++ #if !defined(__FreeBSD__) + #include <sys/ptyio.h> ++ #endif + #include <X11/Intrinsic.h> + #include <X11/StringDefs.h> + #include <Xfwf/XmATerm.h> + +! #ifndef KILL_ALL_OTHERS +! #define KILL_ALL_OTHERS -1 +! #endif + + /*-------------------------------------------------------------------- + | Provide rather strict fallback resources, to make the program work diff --git a/x11-toolkits/FWF/files/xmkmf b/x11-toolkits/FWF/files/xmkmf new file mode 100644 index 000000000000..50552dc859b6 --- /dev/null +++ b/x11-toolkits/FWF/files/xmkmf @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An xmkmf that does what I need it to do. +# +IMAKEINCLUDE="-I${WRKSRC} -I${X11BASE}/lib/X11/config" +export IMAKEINCLUDE +imake -DUseInstalled ${IMAKEINCLUDE} Makefile +make Makefiles diff --git a/x11-toolkits/FWF/pkg-comment b/x11-toolkits/FWF/pkg-comment new file mode 100644 index 000000000000..53159c33d4d5 --- /dev/null +++ b/x11-toolkits/FWF/pkg-comment @@ -0,0 +1 @@ +The Free Widget Foundation Widget Release, R3.8 diff --git a/x11-toolkits/FWF/pkg-descr b/x11-toolkits/FWF/pkg-descr new file mode 100644 index 000000000000..9b10b6d770d7 --- /dev/null +++ b/x11-toolkits/FWF/pkg-descr @@ -0,0 +1,45 @@ +=================================== README =================================== + +***************************************************************** +* * +* The Free Widget Foundation Widget Release * +* * +***************************************************************** + +This is the Free Widget Foundation widget release, a collection of no-cost, +freely redistributable X graphical user interface widgets. + +The Free Widget Foundation is a grass-roots, all-volunteer effort. + +The Free Widget Foundation project was started summer 1990 in order to collect +existing widgets in a well-publicized location to prevent duplication of +effort. Numerous people have expressed interest in submitting widgets to the +collection. The collection process is going slowly because of lack of time +and organizational needs. The "Free Widget Foundation" is a pun on the "Free +Software Foundation" title. While the two organizations share some similar +goals, that is the improvement of the quality and quantity of +freely-redistributable public software, this organization is in no way related +to the Free Software Foundation or the GNU projects. In fact, we aren't even +a "foundation" in the legal meaning of the word. + +See the file README.BUILD for information on building the FWF widgets. + +Please also fill out and return the user-feedback survey enclosed in the +file SURVEY, to help us improve future releases. + +The following files may be of interest in describing other parts of the +system: + + README This file + README.FWF Information about the Free Widget Foundation + README.BUILD How to build the free widgets + README.INDEX Index of widgets contained in this release + README.IMAKE Details about the imake structure + README.NOTES Assorted notes about the state of the release + README.OBTAIN How to obtain the latest FWF widgets + README.TODO Bugs, inadequacies, planned changes, requests + README.SUBMISSION How to submit your widgets to the FWF + BUGREPORT Template for issuing bug reports + SURVEY A short survey for user feedback + VERSION Current FWF release version + diff --git a/x11-toolkits/FWF/pkg-plist b/x11-toolkits/FWF/pkg-plist new file mode 100644 index 000000000000..cb2d86cf26fd --- /dev/null +++ b/x11-toolkits/FWF/pkg-plist @@ -0,0 +1,115 @@ +lib/libfwf.a +lib/libDir.a +include/Xfwf +man/man1/fwf.1.gz +man/man1/EzME.1.gz +man/man1/MultiList.1.gz +man/man1/ScrList.1.gz +man/man1/MultiListT.1.gz +man/man1/ScrListT.1.gz +man/man1/FileSel.1.gz +man/man1/FileSelT.1.gz +man/man1/FChooser.1.gz +man/man1/FChooserT.1.gz +man/man1/FileComp.1.gz +man/man1/FileCompT.1.gz +man/man1/PixEdit.1.gz +man/man1/PixEditT.1.gz +man/man1/ImageSel.1.gz +man/man1/ImageSelT.1.gz +man/man1/Rheostat.1.gz +man/man1/RheostatT.1.gz +man/man1/Histogram.1.gz +man/man1/EzMenu.1.gz +man/man1/HistogramT.1.gz +man/man1/Frame.1.gz +man/man1/EzMenuT.1.gz +man/man1/TextMenu.1.gz +man/man1/TextMenuT.1.gz +man/man1/Common.1.gz +man/man1/CommonT.1.gz +man/man1/Board.1.gz +man/man1/FrameT.1.gz +man/man1/Label.1.gz +man/man1/BoardT.1.gz +man/man1/Arrow.1.gz +man/man1/LabelT.1.gz +man/man1/Button.1.gz +man/man1/ButtonT.1.gz +man/man1/RowCol.1.gz +man/man1/RowColT.1.gz +man/man1/Prompt.1.gz +man/man1/PromptT.1.gz +man/man1/Slider2.1.gz +man/man1/Slider2T.1.gz +man/man1/Slider4.1.gz +man/man1/Slider4T.1.gz +man/man1/Cmap.1.gz +man/man1/ArrowT.1.gz +man/man1/Scrollbar.1.gz +man/man1/PullDown.1.gz +man/man1/ScrollbarT.1.gz +man/man1/PullDownT.1.gz +man/man1/OptButton.1.gz +man/man1/VScrollb.1.gz +man/man1/OptButtonT.1.gz +man/man1/VScrollbT.1.gz +man/man1/HScrollb.1.gz +man/man1/HScrollbT.1.gz +man/man1/CmapT.1.gz +man/man1/Hdial.1.gz +man/man1/Shistogram.1.gz +man/man1/ShistogramT.1.gz +man/man1/Stack.1.gz +man/man1/HdialT.1.gz +man/man1/Canvas.1.gz +man/man1/CanvasT.1.gz +man/man1/CircPerc.1.gz +man/man1/CircPercT.1.gz +man/man1/Rows.1.gz +man/man1/StackT.1.gz +man/man1/Enforcer.1.gz +man/man1/EnforcerT.1.gz +man/man1/RowsT.1.gz +man/man1/Tabs.1.gz +man/man1/MenuBar.1.gz +man/man1/MenuBarT.1.gz +man/man1/ScrollWin.1.gz +man/man1/ScrollWinT.1.gz +man/man1/ScrWin3.1.gz +man/man1/ScrWin3T.1.gz +man/man1/TabsT.1.gz +man/man1/Array.1.gz +man/man1/PieMenu.1.gz +man/man1/PieMenuT.1.gz +man/man1/Entry.1.gz +man/man1/ArrayT.1.gz +man/man1/FileList.1.gz +man/man1/FileListT.1.gz +man/man1/AnsiTerm.1.gz +man/man1/AnsiTermT.1.gz +man/man1/PcBar.1.gz +man/man1/EntryT.1.gz +man/man1/SpinLabel.1.gz +man/man1/Icon.1.gz +man/man1/SpinLabelT.1.gz +man/man1/PcBarT.1.gz +man/man1/Toggle.1.gz +man/man1/ToggleT.1.gz +man/man1/IconT.1.gz +man/man1/Alert.1.gz +man/man1/Group.1.gz +man/man1/AlertT.1.gz +man/man1/Pager.1.gz +man/man1/GroupT.1.gz +man/man1/RadioGrp.1.gz +man/man1/RadioGrpT.1.gz +man/man1/ThWheel.1.gz +man/man1/ThWheelT.1.gz +man/man1/FoldTree.1.gz +man/man1/FoldTreeT.1.gz +man/man1/IconBox.1.gz +man/man1/IconBoxT.1.gz +man/man1/Animator.1.gz +man/man1/AnimatorT.1.gz +man/man1/PagerT.1.gz |