diff options
Diffstat (limited to 'x11-toolkits')
32 files changed, 0 insertions, 2248 deletions
diff --git a/x11-toolkits/Xaw3d/Makefile b/x11-toolkits/Xaw3d/Makefile deleted file mode 100644 index 86c02f652e6d..000000000000 --- a/x11-toolkits/Xaw3d/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -# New ports collection makefile for: Xaw3d -# Version required: 1.1 -# Date created: 18 November 1994 -# Whom: asami -# -# $Id: Makefile,v 1.6 1995/04/04 09:24:46 asami Exp $ -# - -DISTNAME= Xaw3d-1.1 -CATEGORIES+= x11 -MASTER_SITES= ftp://crl.dec.com/pub/X11/contrib/widgets/Xaw3d/R6/ - -MAINTAINER= asami@FreeBSD.ORG - -WRKSRC= ${WRKDIR}/lib/Xaw3d -USE_IMAKE= yes - -.include <bsd.port.mk> diff --git a/x11-toolkits/Xaw3d/distinfo b/x11-toolkits/Xaw3d/distinfo deleted file mode 100644 index eaa9190cc68e..000000000000 --- a/x11-toolkits/Xaw3d/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (Xaw3d-1.1.tar.gz) = fab7e295f64fd8cc5edb0f8800dc1455 diff --git a/x11-toolkits/Xaw3d/files/patch-aa b/x11-toolkits/Xaw3d/files/patch-aa deleted file mode 100644 index 9677a61b8459..000000000000 --- a/x11-toolkits/Xaw3d/files/patch-aa +++ /dev/null @@ -1,12 +0,0 @@ ---- ./Imakefile.org Thu Mar 30 15:56:19 1995 -+++ ./Imakefile Tue Apr 4 00:47:40 1995 -@@ -38,7 +38,8 @@ - - LINTLIBS = $(LINTXLIB) $(LINTXTOOL) - --# EXTRA_DEFINES = -DARROW_SCROLLBAR -+ EXTRA_DEFINES = -DARROW_SCROLLBAR -+ EXTRA_INCLUDES = -I. - - HEADERS = \ - AllWidgets.h \ diff --git a/x11-toolkits/Xaw3d/pkg-comment b/x11-toolkits/Xaw3d/pkg-comment deleted file mode 100644 index bbf3f1395d98..000000000000 --- a/x11-toolkits/Xaw3d/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Xaw3d-1.1, a 3-D Athena Widget set that looks like Motif. diff --git a/x11-toolkits/Xaw3d/pkg-descr b/x11-toolkits/Xaw3d/pkg-descr deleted file mode 100644 index 229b12865405..000000000000 --- a/x11-toolkits/Xaw3d/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -Xaw3d is a Xaw (Athena Widget Set) replacement that looks -three-dimensional. The author is Kalib Keithley (kaleb@x.org). -This is version 1.1. - -Added is a patch by me (Satoshi) to make the arrow scrollbar look real -bumpy. - -Satoshi -asami@freebsd.org diff --git a/x11-toolkits/Xaw3d/pkg-plist b/x11-toolkits/Xaw3d/pkg-plist deleted file mode 100644 index 82479b1602c9..000000000000 --- a/x11-toolkits/Xaw3d/pkg-plist +++ /dev/null @@ -1,79 +0,0 @@ -@cwd ${X11BASE} -@mode 644 -lib/libXaw3d.a -lib/libXaw3d.so.6.0 -include/X11/Xaw3d/AllWidgets.h -include/X11/Xaw3d/AsciiSink.h -include/X11/Xaw3d/AsciiSinkP.h -include/X11/Xaw3d/AsciiSrc.h -include/X11/Xaw3d/AsciiSrcP.h -include/X11/Xaw3d/AsciiText.h -include/X11/Xaw3d/AsciiTextP.h -include/X11/Xaw3d/Box.h -include/X11/Xaw3d/BoxP.h -include/X11/Xaw3d/Cardinals.h -include/X11/Xaw3d/Command.h -include/X11/Xaw3d/CommandP.h -include/X11/Xaw3d/Dialog.h -include/X11/Xaw3d/DialogP.h -include/X11/Xaw3d/Form.h -include/X11/Xaw3d/FormP.h -include/X11/Xaw3d/Grip.h -include/X11/Xaw3d/GripP.h -include/X11/Xaw3d/Label.h -include/X11/Xaw3d/LabelP.h -include/X11/Xaw3d/Layout.h -include/X11/Xaw3d/LayoutP.h -include/X11/Xaw3d/List.h -include/X11/Xaw3d/ListP.h -include/X11/Xaw3d/MenuButtoP.h -include/X11/Xaw3d/MenuButton.h -include/X11/Xaw3d/MultiSink.h -include/X11/Xaw3d/MultiSinkP.h -include/X11/Xaw3d/MultiSrc.h -include/X11/Xaw3d/MultiSrcP.h -include/X11/Xaw3d/Paned.h -include/X11/Xaw3d/PanedP.h -include/X11/Xaw3d/Panner.h -include/X11/Xaw3d/PannerP.h -include/X11/Xaw3d/Porthole.h -include/X11/Xaw3d/PortholeP.h -include/X11/Xaw3d/Repeater.h -include/X11/Xaw3d/RepeaterP.h -include/X11/Xaw3d/Reports.h -include/X11/Xaw3d/Scrollbar.h -include/X11/Xaw3d/ScrollbarP.h -include/X11/Xaw3d/Simple.h -include/X11/Xaw3d/SimpleMenP.h -include/X11/Xaw3d/SimpleMenu.h -include/X11/Xaw3d/SimpleP.h -include/X11/Xaw3d/Sme.h -include/X11/Xaw3d/SmeBSB.h -include/X11/Xaw3d/SmeBSBP.h -include/X11/Xaw3d/SmeLine.h -include/X11/Xaw3d/SmeLineP.h -include/X11/Xaw3d/SmeP.h -include/X11/Xaw3d/SmeThreeD.h -include/X11/Xaw3d/SmeThreeDP.h -include/X11/Xaw3d/StripCharP.h -include/X11/Xaw3d/StripChart.h -include/X11/Xaw3d/Template.c -include/X11/Xaw3d/Template.h -include/X11/Xaw3d/TemplateP.h -include/X11/Xaw3d/Text.h -include/X11/Xaw3d/TextP.h -include/X11/Xaw3d/TextSink.h -include/X11/Xaw3d/TextSinkP.h -include/X11/Xaw3d/TextSrc.h -include/X11/Xaw3d/TextSrcP.h -include/X11/Xaw3d/ThreeD.h -include/X11/Xaw3d/ThreeDP.h -include/X11/Xaw3d/Toggle.h -include/X11/Xaw3d/ToggleP.h -include/X11/Xaw3d/Tree.h -include/X11/Xaw3d/TreeP.h -include/X11/Xaw3d/VendorEP.h -include/X11/Xaw3d/Viewport.h -include/X11/Xaw3d/ViewportP.h -include/X11/Xaw3d/XawImP.h -include/X11/Xaw3d/XawInit.h diff --git a/x11-toolkits/blt/Makefile b/x11-toolkits/blt/Makefile deleted file mode 100644 index 0b00c7039a0d..000000000000 --- a/x11-toolkits/blt/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# New ports collection makefile for: blt -# Version required: 1.7 -# Date created: 14 December 1994 -# Whom: wollman -# -# $Id: Makefile,v 1.3 1995/04/01 12:50:43 jkh Exp $ -# - -DISTNAME= blt-1.7 -CATEGORIES+= x11 -MASTER_SITES= ftp://ftp.aud.alcatel.com/tcl/extensions/ -DISTFILES= BLT-1.7.tar.gz - -LIB_DEPENDS= tk\\.3\\.:${PORTSDIR}/x11/tk - -GNU_CONFIGURE= yes -ALL_TARGET= all sharedlib - -.include <bsd.port.mk> - diff --git a/x11-toolkits/blt/distinfo b/x11-toolkits/blt/distinfo deleted file mode 100644 index 86ecc0917883..000000000000 --- a/x11-toolkits/blt/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (BLT-1.7.tar.gz) = a8779569c62e6ac8f2a4a34c6158a4e1 diff --git a/x11-toolkits/blt/files/patch-aa b/x11-toolkits/blt/files/patch-aa deleted file mode 100644 index 6f501337d1fb..000000000000 --- a/x11-toolkits/blt/files/patch-aa +++ /dev/null @@ -1,41 +0,0 @@ -*** configure.orig Wed Dec 14 15:17:42 1994 ---- configure Wed Dec 14 15:22:42 1994 -*************** -*** 183,187 **** - # ----------------------------------------------------------------------- - if test -z "$prefix" ; then -! prefix=/usr/local/blt - fi - ---- 183,187 ---- - # ----------------------------------------------------------------------- - if test -z "$prefix" ; then -! prefix=/usr/local - fi - -*************** -*** 1114,1117 **** ---- 1114,1123 ---- - SHLIB_SUFFIX='.so.$(MAJOR_VERSION)' - ;; -+ FreeBSD*) -+ SHLIB_CCFLAGS="-fpic" -+ SHLIB_LDFLAGS="-Bshareable" -+ SHLIB_LOADER="ld" -+ SHLIB_SUFFIX='.so.$(MAJOR_VERSION).$(MINOR_VERSION)' -+ ;; - *) - echo "Don't know how to make shared libraries for $system" -*************** -*** 1137,1141 **** - LIBDIR="$DESTDIR/lib" - MANDIR="$DESTDIR/man" -! BLT_LIBRARY="$DESTDIR/library" - - ---- 1143,1147 ---- - LIBDIR="$DESTDIR/lib" - MANDIR="$DESTDIR/man" -! BLT_LIBRARY="$DESTDIR/lib/blt" - - diff --git a/x11-toolkits/blt/pkg-comment b/x11-toolkits/blt/pkg-comment deleted file mode 100644 index 092452034150..000000000000 --- a/x11-toolkits/blt/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -BLT (Tk add-on), version 1.7 (with shared libs) diff --git a/x11-toolkits/blt/pkg-descr b/x11-toolkits/blt/pkg-descr deleted file mode 100644 index b52ea656014b..000000000000 --- a/x11-toolkits/blt/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -This package contains the binary release of BLT version 1.7, an add-on -library for programs using Tk 3.6. It includes widgets to implement -drag and drop, barcharts and X-Y plots, and including generic Tk -widgets inside a text object. - -NOTE: This kit requires as a pre-requisite the Tcl and Tk binary kits. -This version uses FreeBSD shared libraries. diff --git a/x11-toolkits/blt/pkg-plist b/x11-toolkits/blt/pkg-plist deleted file mode 100644 index 6dd64bb91bcb..000000000000 --- a/x11-toolkits/blt/pkg-plist +++ /dev/null @@ -1,24 +0,0 @@ -@cwd /usr/local -lib/blt/dd_protocols/dd-color.tcl -lib/blt/dd_protocols/dd-file.tcl -lib/blt/dd_protocols/dd-number.tcl -lib/blt/dd_protocols/dd-text.tcl -lib/blt/dd_protocols/tclIndex -lib/blt/bltGraph.pro -bin/blt_wish -lib/libBLT.a -lib/libBLT.so.1.7 -man/mann/blt_barchart.n -man/mann/blt_bell.n -man/mann/blt_bgexec.n -man/mann/blt_bitmap.n -man/mann/blt_busy.n -man/mann/blt_cutbuffer.n -man/mann/blt_debug.n -man/mann/blt_dragdrop.n -man/mann/blt_graph.n -man/mann/blt_htext.n -man/mann/blt_intro.n -man/mann/blt_table.n -man/mann/blt_watch.n -man/mann/blt_win.n diff --git a/x11-toolkits/iv/Makefile b/x11-toolkits/iv/Makefile deleted file mode 100644 index 110a71f6a47a..000000000000 --- a/x11-toolkits/iv/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# New ports collection makefile for: iv -# Version required: 3.1 -# Date created: 23.sept.1994 -# Whom: adam -# -# $Id: Makefile,v 1.6 1995/04/16 15:33:42 ache Exp $ -# - -VERSION= 3.1 -# don't change this to "=" ! -DISTNAME?= iv-${VERSION} -MASTER_SITES= ftp://interviews.stanford.edu/pub/ -EXTRACT_SUFX= .tar.Z -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} - -WRKSRC= ${WRKDIR}/iv -MAKEFILE= makefile - -.if ${DISTNAME} != ${VERSION} -pre-fetch: - @if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \ - mkdir -p ${DISTDIR}/${DISTNAME} ; \ - ${MAKE} \ - DISTDIR=${DISTDIR}/${DISTNAME} DISTNAME=${VERSION} fetch ; \ - mv ${DISTDIR}/${DISTNAME}/${VERSION}${EXTRACT_SUFX} \ - ${DISTDIR}/${DISTFILES} ; \ - rmdir ${DISTDIR}/${DISTNAME} ; \ - fi -.endif - -.include <bsd.port.mk> diff --git a/x11-toolkits/iv/files/patch-aa b/x11-toolkits/iv/files/patch-aa deleted file mode 100644 index 3f053c293609..000000000000 --- a/x11-toolkits/iv/files/patch-aa +++ /dev/null @@ -1,266 +0,0 @@ -*** src/bin/iclass/dialogs.c Wed Sep 23 09:45:09 1992 ---- /usr/oports/x11/iv/src/bin/iclass/dialogs.c Tue Apr 26 17:01:39 1994 -*************** -*** 45,51 **** - #if !defined(AIXV3) && !defined(hpux) && !(defined(sun) && OSMajorVersion >= 5) - /* sigh, not all systems have this prototype */ - extern "C" { -! char* getcwd(char*, int); - } - #endif - ---- 45,51 ---- - #if !defined(AIXV3) && !defined(hpux) && !(defined(sun) && OSMajorVersion >= 5) - /* sigh, not all systems have this prototype */ - extern "C" { -! char* getcwd(char*, unsigned int); - } - #endif - -*** src/bin/scripts/Imakefile Thu Sep 12 15:01:39 1991 ---- /usr/oports/x11/iv/src/bin/scripts/Imakefile Tue Apr 26 17:01:52 1994 -*************** -*** 11,16 **** ---- 11,17 ---- - - AllTarget($(PROGRAMS)) - -+ CPP = /usr/bin/cpp - CppScriptTarget(cpu,cpu.cpp,-DCPU='"'"$(ARCH)"'"',always) - CppScriptTarget(ibmkmf,ibmkmf.cpp,-DCONFIGDIRSPEC='$(CONFIGDIRSPEC)',always) - CppScriptTarget(ivmkmf,ivmkmf.cpp,-DCONFIGDIRSPEC='$(CONFIGDIRSPEC)',always) -*** src/bin/scripts/remind.cpp Wed Jun 3 21:37:00 1992 ---- /usr/oports/x11/iv/src/bin/scripts/remind.cpp Tue Apr 26 17:01:53 1994 -*************** -*** 34,40 **** - ' > $tmp - - cat $MacrosFile $RemindersFile \ -! | /lib/cpp \ - | egrep -f $tmp \ - | awk ' - /[0-9][0-9]?:[0-9][0-9]?/ { ---- 34,40 ---- - ' > $tmp - - cat $MacrosFile $RemindersFile \ -! | /usr/bin/cpp \ - | egrep -f $tmp \ - | awk ' - /[0-9][0-9]?:[0-9][0-9]?/ { -*** src/config/InterViews/TIFF.def Fri Dec 11 15:33:54 1992 ---- /usr/oports/x11/iv/src/config/InterViews/TIFF.def Tue Apr 26 17:01:54 1994 -*************** -*** 90,95 **** ---- 90,100 ---- - * - */ - #ifndef TIFFStdCDefines -+ #if defined(FreeBSDArchitecture) -+ #define TIFFStdCDefines \ -+ -DCOLORIMETRY_SUPPORT -DYCBCR_SUPPORT -DMMAP_SUPPORT \ -+ -DHAVE_IEEEFP=1 -DUSE_VARARGS=1 -DUSE_PROTOTYPES=1 -DUSE_CONST=1 -+ #endif - #if defined(SGIArchitecture) - #define TIFFStdCDefines \ - -DCOLORIMETRY_SUPPORT -DJPEG_SUPPORT -DYCBCR_SUPPORT -DCMYK_SUPPORT \ -*** src/config/InterViews/arch.def Fri Dec 11 15:34:52 1992 ---- /usr/oports/x11/iv/src/config/InterViews/arch.def Tue Apr 26 17:01:55 1994 -*************** -*** 385,390 **** ---- 385,400 ---- - #define MacroFile InterViews/iv-convex.cf - #endif /* __convex__ */ - -+ #ifdef __FreeBSD__ -+ #undef freebsd -+ #undef FREEBSD -+ #define FreeBSDArchitecture -+ #define ArchitectureName FREEBSD -+ #define architectureName freebsd -+ #define MacroIncludeFile <InterViews/iv-freebsd.cf> -+ #define MacroFile InterViews/iv-freebsd.cf -+ #endif -+ - #ifndef ArchitectureName - XCOMM WARNING: Imakefile not configured; guessing at definitions!!! - XCOMM This might mean that BOOTSTRAPCFLAGS was not set when building imake. -*** src/config/InterViews/local.def Tue Nov 24 12:08:51 1992 ---- /usr/oports/x11/iv/src/config/InterViews/local.def Thu Jun 16 18:34:11 1994 -*************** -*** 8,14 **** - /* - * If you are using gcc/g++, then uncomment the include below. - */ -! /* #include <InterViews/gcc.def> */ - - /* - * Default customization of kits. ---- 8,19 ---- - /* - * If you are using gcc/g++, then uncomment the include below. - */ -! #include <InterViews/gcc.def> -! -! #if defined(FreeBSDArchitecture) -! #undef HasSunOSSharedLibs -! #define HasSunOSSharedLibs YES -! #endif - - /* - * Default customization of kits. -*************** -*** 33,38 **** ---- 38,48 ---- - #define BuildRPCClasses YES - #endif - -+ #if defined (FreeBSDArchitecture) -+ #undef BuildRPCClasses -+ #define BuildRPCClasses NO -+ #endif -+ - /* - * Delete this definition if your /tmp space is less than five megabytes. - */ -*************** -*** 49,55 **** - * installed data files. - */ - #undef InstalledRoot -! #define InstalledRoot /interviews - - /* - * If the X11 config files are not in /usr/lib/X11/config, the X11 ---- 59,65 ---- - * installed data files. - */ - #undef InstalledRoot -! #define InstalledRoot /usr/local/interviews - - /* - * If the X11 config files are not in /usr/lib/X11/config, the X11 -*************** -*** 60,70 **** - * If you have to set XConfigDir, don't forget to override XCONFIGDIR - * on the command line when saying "make World" for the first time. - */ -! /* - #undef XConfigDir -! #define XConfigDir /usr/X11R5/lib/X11/config - #undef XIncDir -! #define XIncDir /usr/X11R5/include - #undef XLibDir -! #define XLibDir /usr/X11R5/lib -! */ ---- 70,80 ---- - * If you have to set XConfigDir, don't forget to override XCONFIGDIR - * on the command line when saying "make World" for the first time. - */ -! - #undef XConfigDir -! #define XConfigDir /usr/X11R6/lib/X11/config - #undef XIncDir -! #define XIncDir /usr/X11R6/include - #undef XLibDir -! #define XLibDir /usr/X11R6/lib -! -*** src/config/InterViews/rules.def Thu Sep 24 15:06:33 1992 ---- /usr/oports/x11/iv/src/config/InterViews/rules.def Thu Jun 16 18:34:12 1994 -*************** -*** 399,404 **** ---- 399,421 ---- - /* - * Make a shared library. - */ -+ #if defined(FreeBSDArchitecture) -+ #define NormalSunOSSharedLibraryTarget(libname,rev,depobjs,ldobjs) @@\ -+ AOUT = Concat(lib,libname.so.rev) @@\ -+ SHARED_CCFLAGS = SharedCCFlags @@\ -+ @@\ -+ AllTarget(Concat(lib,libname.so.rev)) @@\ -+ @@\ -+ Concat(lib,libname.so.rev): depobjs @@\ -+ @echo "building $@" @@\ -+ $(RM) $@~ @@\ -+ $(LD) -o $@~ -Bshareable ldobjs @@\ -+ $(RM) $@ @@\ -+ $(MV) $@~ $@ @@\ -+ @@\ -+ clean:: @@\ -+ $(RM) Concat(lib,libname.so.rev) -+ #else - #ifndef NormalSunOSSharedLibraryTarget - #if OSMajorVersion < 5 - #define NormalSunOSSharedLibraryTarget(libname,rev,depobjs,ldobjs) @@\ -*************** -*** 434,439 **** ---- 451,457 ---- - @@\ - clean:: @@\ - $(RM) Concat(lib,libname.so.rev) -+ #endif - #endif - #endif - -*** src/lib/IV-X11/xwindow.c Mon Nov 23 12:26:43 1992 ---- /usr/oports/x11/iv/src/lib/IV-X11/xwindow.c Tue Apr 26 17:03:44 1994 -*************** -*** 64,70 **** - - /* no standard place for this */ - extern "C" { -! extern int ioctl(int, int, ...); - } - - implementPtrList(WindowVisualList,WindowVisual) ---- 64,70 ---- - - /* no standard place for this */ - extern "C" { -! extern int ioctl(int, long unsigned int, ...); - } - - implementPtrList(WindowVisualList,WindowVisual) -*** src/lib/OS/string.c Mon Jul 13 10:54:03 1992 ---- /usr/oports/x11/iv/src/lib/OS/string.c Thu Jun 16 18:37:30 1994 -*************** -*** 31,41 **** ---- 31,43 ---- - */ - - extern "C" { -+ #ifndef __FreeBSD__ - #ifndef tolower - extern int tolower(int); - #endif - #ifndef toupper - extern int toupper(int); -+ #endif - #endif - extern long int strtol(const char*, char**, int); - extern double strtod(const char*, char**); -*** src/lib/TIFF/mkg3states.c Fri Mar 6 11:11:03 1992 ---- /usr/oports/x11/iv/src/lib/TIFF/mkg3states.c Tue Apr 26 17:03:59 1994 -*************** -*** 68,73 **** ---- 68,74 ---- - * END (from the original source) - */ - #include <stdio.h> -+ #define va_dcl /**/ - #include "prototypes.h" - - #ifndef TRUE -*** src/lib/TIFF/prototypes.h Tue Feb 18 18:20:12 1992 ---- /usr/oports/x11/iv/src/lib/TIFF/prototypes.h Tue Apr 26 17:03:59 1994 -*************** -*** 25,30 **** ---- 25,31 ---- - */ - - #if USE_PROTOTYPES -+ va_dcl - #define DECLARE1(f,t1,a1) f(t1 a1) - #define DECLARE2(f,t1,a1,t2,a2) f(t1 a1, t2 a2) - #define DECLARE3(f,t1,a1,t2,a2,t3,a3) f(t1 a1, t2 a2, t3 a3) diff --git a/x11-toolkits/iv/files/patch-ab b/x11-toolkits/iv/files/patch-ab deleted file mode 100644 index 64d9ce8ea2a8..000000000000 --- a/x11-toolkits/iv/files/patch-ab +++ /dev/null @@ -1,26 +0,0 @@ -*** makefile.old Sat Sep 24 06:49:19 1994 ---- makefile Sat Sep 24 05:47:49 1994 -*************** -*** 0 **** ---- 1,21 ---- -+ CPU=FREEBSD -+ -+ all: src/Makefile -+ @$(MAKE) $(.MAKEFLAGS) -f Makefile 'CPU=$(CPU)' -+ -+ # simple but brutal. Will not install to multiple destinations simultaneously. -+ install: Makefile -+ @rm -rf installed ${DESTDIR}/usr/local/interviews -+ @mkdir -p ${DESTDIR}/usr/local/interviews -+ @ln -s ${DESTDIR}/usr/local/interviews installed -+ @$(MAKE) $(.MAKEFLAGS) -f Makefile 'CPU=$(CPU)' $@ -+ -+ src/Makefile: Makefile -+ @$(MAKE) Makefiles -+ -+ Makefile: -+ imake -T "InterViews/template" -I./src/config \ -+ -I/usr/X386/lib/X11/config -DTOPDIR=. -DCURDIR=. -+ -+ .DEFAULT: src/Makefile -+ @$(MAKE) $(.MAKEFLAGS) -f Makefile 'CPU=$(CPU)' $@ diff --git a/x11-toolkits/iv/files/patch-ac b/x11-toolkits/iv/files/patch-ac deleted file mode 100644 index e3e6ef75aca2..000000000000 --- a/x11-toolkits/iv/files/patch-ac +++ /dev/null @@ -1,15 +0,0 @@ -*** src/config/InterViews/iv-freebsd.cf Mon Oct 31 17:31:42 1994 ---- src/config/InterViews/iv-freebsd.cf Mon Oct 31 17:36:04 1994 -*************** -*** 0 **** ---- 1,10 ---- -+ #include <InterViews/xparams.cf> -+ #undef CppCmd -+ #define CppCmd cpp -+ #undef CCDriver -+ #define CCDriver c++ -+ #undef DependCCFlags -+ #define DependCCFlags $(CCDEFINES) $(CCINCLUDES) -I/usr/include/g++ -+ #undef ExtraCCLdLibs -+ #define ExtraCCLdLibs -lg++ -+ #define SharedCCFlags -fpic diff --git a/x11-toolkits/iv/files/patch-ad b/x11-toolkits/iv/files/patch-ad deleted file mode 100644 index 0ce7c387d1d2..000000000000 --- a/x11-toolkits/iv/files/patch-ad +++ /dev/null @@ -1,271 +0,0 @@ -diff -rc work-orig/iv/src/include/IV-X11/xwindow.h work/iv/src/include/IV-X11/xwindow.h -*** work-orig/iv/src/include/IV-X11/xwindow.h Fri Sep 25 07:46:22 1992 ---- ./src/include/IV-X11/xwindow.h Sun May 28 12:49:16 1995 -*************** -*** 46,53 **** - class Style; - class WindowCursorStack; - class WindowTable; - class XDisplay; -! - struct WindowOverlayInfo { - VisualID id_; - long type_; ---- 46,58 ---- - class Style; - class WindowCursorStack; - class WindowTable; -+ /* -+ * modified by jj@ldjpc.apana.org.au -+ * -+ * this seems to break the compile... - class XDisplay; -! * -! */ - struct WindowOverlayInfo { - VisualID id_; - long type_; -diff -rc work-orig/iv/src/lib/TIFF/prototypes.h work/iv/src/lib/TIFF/prototypes.h -*** work-orig/iv/src/lib/TIFF/prototypes.h Sun May 28 12:39:56 1995 ---- ./src/lib/TIFF/prototypes.h Sun May 28 14:21:04 1995 -*************** -*** 25,31 **** - */ - - #if USE_PROTOTYPES -- va_dcl - #define DECLARE1(f,t1,a1) f(t1 a1) - #define DECLARE2(f,t1,a1,t2,a2) f(t1 a1, t2 a2) - #define DECLARE3(f,t1,a1,t2,a2,t3,a3) f(t1 a1, t2 a2, t3 a3) ---- 25,30 ---- -diff -rc work-orig/iv/src/lib/TIFF/tif_aux.c work/iv/src/lib/TIFF/tif_aux.c -*** work-orig/iv/src/lib/TIFF/tif_aux.c Sat Mar 28 08:23:06 1992 ---- ./src/lib/TIFF/tif_aux.c Sun May 28 14:15:50 1995 -*************** -*** 42,47 **** ---- 42,49 ---- - * explcit values so that defaults exist only one - * place in the library -- in TIFFDefaultDirectory. - */ -+ ; -+ /* for some reason it needs a ; before this line */ - TIFFVGetFieldDefaulted(tif, tag, ap) - TIFF *tif; - int tag; -diff -rc work-orig/iv/src/lib/TIFF/tif_dir.c work/iv/src/lib/TIFF/tif_dir.c -*** work-orig/iv/src/lib/TIFF/tif_dir.c Sat Mar 7 06:29:51 1992 ---- ./src/lib/TIFF/tif_dir.c Sun May 28 13:00:03 1995 -*************** -*** 950,956 **** - } - if (tif->tif_flags & TIFF_SWAB) - TIFFSwabShort(&dircount); -! lseek(tif->tif_fd, dircount*sizeof (TIFFDirEntry), L_INCR); - if (!ReadOK(tif->tif_fd, &nextdir, sizeof (nextdir))) { - TIFFError(module, "%s: Error fetching directory link", - tif->tif_name); ---- 950,957 ---- - } - if (tif->tif_flags & TIFF_SWAB) - TIFFSwabShort(&dircount); -! /*added (off_t) .. jj@ldjpc.apana.org.au*/ -! lseek(tif->tif_fd, (off_t)(dircount*sizeof (TIFFDirEntry)), L_INCR); - if (!ReadOK(tif->tif_fd, &nextdir, sizeof (nextdir))) { - TIFFError(module, "%s: Error fetching directory link", - tif->tif_name); -diff -rc work-orig/iv/src/lib/TIFF/tif_dirwrite.c work/iv/src/lib/TIFF/tif_dirwrite.c -*** work-orig/iv/src/lib/TIFF/tif_dirwrite.c Wed Mar 18 05:39:29 1992 ---- ./src/lib/TIFF/tif_dirwrite.c Sun May 28 12:57:11 1995 -*************** -*** 177,183 **** - dataoff = tif->tif_diroff + sizeof (short) + dirsize + sizeof (long); - if (dataoff & 1) - dataoff++; -! (void) lseek(tif->tif_fd, dataoff, L_SET); - tif->tif_curdir++; - dir = (TIFFDirEntry *)data; - /* ---- 177,184 ---- - dataoff = tif->tif_diroff + sizeof (short) + dirsize + sizeof (long); - if (dataoff & 1) - dataoff++; -! /* added (off_t) below.....jj@ldjpc.apana.org.au*/ -! (void) lseek(tif->tif_fd, (off_t)(dataoff), L_SET); - tif->tif_curdir++; - dir = (TIFFDirEntry *)data; - /* -*************** -*** 314,320 **** - /* - * Write directory. - */ -! (void) lseek(tif->tif_fd, tif->tif_diroff, L_SET); - dircount = nfields; - if (!WriteOK(tif->tif_fd, &dircount, sizeof (short))) { - TIFFError(tif->tif_name, "Error writing directory count"); ---- 315,322 ---- - /* - * Write directory. - */ -! /*added (off_t) below.....jj@ldjpc.apana.org.au*/ -! (void) lseek(tif->tif_fd, (off_t)(tif->tif_diroff), L_SET); - dircount = nfields; - if (!WriteOK(tif->tif_fd, &dircount, sizeof (short))) { - TIFFError(tif->tif_name, "Error writing directory count"); -*************** -*** 762,774 **** - u_short dircount; - long nextdir; - -! tif->tif_diroff = (lseek(tif->tif_fd, 0L, L_XTND)+1) &~ 1L; - if (tif->tif_header.tiff_diroff == 0) { - /* - * First directory, overwrite header. - */ - tif->tif_header.tiff_diroff = tif->tif_diroff; -! (void) lseek(tif->tif_fd, 0L, L_SET); - if (!WriteOK(tif->tif_fd, &tif->tif_header, - sizeof (tif->tif_header))) { - TIFFError(tif->tif_name, "Error writing TIFF header"); ---- 764,778 ---- - u_short dircount; - long nextdir; - -! /* changed 0L to (off_t)0 below...jj@ldjpc.apana.org.au*/ -! tif->tif_diroff = (lseek(tif->tif_fd, (off_t)0, L_XTND)+1) &~ 1L; - if (tif->tif_header.tiff_diroff == 0) { - /* - * First directory, overwrite header. - */ - tif->tif_header.tiff_diroff = tif->tif_diroff; -! /* changed 0L to (off_t)0 .. jj@ldjpc.apana.org.au*/ -! (void) lseek(tif->tif_fd, (off_t)0, L_SET); - if (!WriteOK(tif->tif_fd, &tif->tif_header, - sizeof (tif->tif_header))) { - TIFFError(tif->tif_name, "Error writing TIFF header"); -*************** -*** 788,794 **** - } - if (tif->tif_flags & TIFF_SWAB) - TIFFSwabShort(&dircount); -! lseek(tif->tif_fd, dircount * sizeof (TIFFDirEntry), L_INCR); - if (!ReadOK(tif->tif_fd, &nextdir, sizeof (nextdir))) { - TIFFError(module, "Error fetching directory link"); - return (0); ---- 792,799 ---- - } - if (tif->tif_flags & TIFF_SWAB) - TIFFSwabShort(&dircount); -! /*added (off_t) below....jj@ldjpc.apana.org.au*/ -! lseek(tif->tif_fd, (off_t)(dircount * sizeof (TIFFDirEntry)), L_INCR); - if (!ReadOK(tif->tif_fd, &nextdir, sizeof (nextdir))) { - TIFFError(module, "Error fetching directory link"); - return (0); -*************** -*** 796,802 **** - if (tif->tif_flags & TIFF_SWAB) - TIFFSwabLong((u_long *)&nextdir); - } while (nextdir != 0); -! (void) lseek(tif->tif_fd, -sizeof (nextdir), L_INCR); - if (!WriteOK(tif->tif_fd, &tif->tif_diroff, sizeof (tif->tif_diroff))) { - TIFFError(module, "Error writing directory link"); - return (0); ---- 801,808 ---- - if (tif->tif_flags & TIFF_SWAB) - TIFFSwabLong((u_long *)&nextdir); - } while (nextdir != 0); -! /*added (off_t) below ... jj@ldjpc.apana.org.au*/ -! (void) lseek(tif->tif_fd, (off_t)(-sizeof (nextdir)), L_INCR); - if (!WriteOK(tif->tif_fd, &tif->tif_diroff, sizeof (tif->tif_diroff))) { - TIFFError(module, "Error writing directory link"); - return (0); -diff -rc work-orig/iv/src/lib/TIFF/tif_write.c work/iv/src/lib/TIFF/tif_write.c -*** work-orig/iv/src/lib/TIFF/tif_write.c Tue Feb 11 13:36:47 1992 ---- ./src/lib/TIFF/tif_write.c Sun May 28 12:57:57 1995 -*************** -*** 550,556 **** - } - } else - td->td_stripoffset[strip] = -! lseek(tif->tif_fd, 0L, L_XTND); - tif->tif_curoff = td->td_stripoffset[strip]; - } - if (!WriteOK(tif->tif_fd, data, cc)) { ---- 550,557 ---- - } - } else - td->td_stripoffset[strip] = -! /*changed 0L to (off_t)0 .. jj@ldjpc.apana.org.au*/ -! lseek(tif->tif_fd, (off_t)0, L_XTND); - tif->tif_curoff = td->td_stripoffset[strip]; - } - if (!WriteOK(tif->tif_fd, data, cc)) { -diff -rc work-orig/iv/src/lib/TIFF/tiffcompat.h work/iv/src/lib/TIFF/tiffcompat.h -*** work-orig/iv/src/lib/TIFF/tiffcompat.h Tue Mar 31 12:01:04 1992 ---- ./src/lib/TIFF/tiffcompat.h Sun May 28 14:13:59 1995 -*************** -*** 154,160 **** - #define lseek mpw_lseek - extern long mpw_lseek(int, long, int); - #else -! extern long lseek(); - #endif - - /* ---- 154,161 ---- - #define lseek mpw_lseek - extern long mpw_lseek(int, long, int); - #else -! /*changed to the correct one...jj@ldjpc.apana.org.au*/ -! extern off_t lseek(); - #endif - - /* -*************** -*** 163,170 **** - #ifndef ReadOK - #define ReadOK(fd, buf, size) (read(fd, (char *)buf, size) == size) - #endif - #ifndef SeekOK -! #define SeekOK(fd, off) (lseek(fd, (long)off, L_SET) == (long)off) - #endif - #ifndef WriteOK - #define WriteOK(fd, buf, size) (write(fd, (char *)buf, size) == size) ---- 164,172 ---- - #ifndef ReadOK - #define ReadOK(fd, buf, size) (read(fd, (char *)buf, size) == size) - #endif -+ /*changed (long) to (off_t) to compile....jj@ldjpc.apana.org.au*/ - #ifndef SeekOK -! #define SeekOK(fd, off) (lseek(fd, (off_t)off, L_SET) == (off_t)off) - #endif - #ifndef WriteOK - #define WriteOK(fd, buf, size) (write(fd, (char *)buf, size) == size) -*************** -*** 202,211 **** - */ - #if defined(__STDC__) && !defined(USE_VARARGS) - #define USE_VARARGS 0 - #endif - - #if defined(USE_VARARGS) -! #if USE_VARARGS - #include <varargs.h> - #define VA_START(ap, parmN) va_start(ap) - #else ---- 204,218 ---- - */ - #if defined(__STDC__) && !defined(USE_VARARGS) - #define USE_VARARGS 0 -+ #else -+ #if defined(__FreeBSD__) -+ #undef USE_VARARGS -+ #define USE_VARARGS 0 -+ #endif - #endif - - #if defined(USE_VARARGS) -! #if USE_VARARGS && !defined(__FreeBSD__) - #include <varargs.h> - #define VA_START(ap, parmN) va_start(ap) - #else diff --git a/x11-toolkits/iv/pkg-comment b/x11-toolkits/iv/pkg-comment deleted file mode 100644 index bfaeb7ee2917..000000000000 --- a/x11-toolkits/iv/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -InterViews 3.1 from Stanford University and Silicon Graphics. diff --git a/x11-toolkits/iv/pkg-descr b/x11-toolkits/iv/pkg-descr deleted file mode 100644 index a3de1d83a592..000000000000 --- a/x11-toolkits/iv/pkg-descr +++ /dev/null @@ -1,155 +0,0 @@ -* How to use InterViews - -After installation, you can start using InterViews by putting the following -lines in your .cshrc: - - setenv CPU FREEBSD - setenv MANPATH $MANPATH:/usr/local/interviews/man - setenv PATH $PATH:/usr/local/interviews/bin/$CPU - -Once you have /usr/local/interviews/bin/$CPU in your PATH, you can use the -InterViews script "ivmkmf" to generate Makefiles for your own -InterViews applications. You have to write an Imakefile first, but -you can do that by copying one of the Imakefiles in iv/src/bin and -replacing the filenames with the names of your application's source -files. Saying "ivmkmf" will generate a Makefile that contains the -appropriate -I and -L flags for using the InterViews includes and -libraries when building your application. - -* How to write an Imakefile - -The easiest way to write an Imakefile is to start with a copy of a -similar Imakefile and modify it. If you use only 3.1 classes, you can -copy alert's Imakefile. If you use both 3.1 and 2.6 classes, you can -copy doc's Imakefile. If you use only 2.6 classes, you can copy dclock's -Imakefile. If you use the Unidraw library, you can copy idraw's -Imakefile. Reading the config files to understand how the rules are -defined will also help if you need to do anything complicated. - -Some make variables are reserved for your application's use. You can -compile your application with special compiler flags, defines, -includes, linker flags, or libraries by setting APP_CCFLAGS, -APP_CCDEFINES, APP_CCINCLUDES, APP_CCLDFLAGS, or APP_CCLDLIBS in your -Imakefile. You can make your application depend on libraries by -setting APP_CCDEPLIBS. - -You can cause your application to be linked with InterViews libraries -bu using one and only one of the macros Use_libInterViews(), -Use_libUnidraw(), and Use_libgraphic(). Both libUnidraw and -libgraphic depend on libInterViews so saying Use_libUnidraw() or -Use_libgraphic() makes saying Use_libInterViews() unnecessary. You -cannot say both Use_libUnidraw() and Use_libgraphic() because -libUnidraw and libgraphic conflict with each other. All of these -macros also add -lXext -lX11 -lm to CCLDLIBS for you. - -If your application uses classes from the "old" InterViews 2.6, -Unidraw, or graphic libraries, you should use the macro Use_2_6() as -well as one of the macros Use_libInterViews(), Use_libUnidraw(), or -Use_libgraphic(). Many 3.1 classes have the same names as 2.6 classes -so the shorter names are reserved for the 3.1 classes and the 2.6 -classes' names are prefixed with "iv2_6_". The macro Use_2_6() allows -you to use the classes' shorter 2.6 names instead of their real names -and their shorter include paths (<InterViews/*.h>) instead of their -real include paths (<IV-2_6/InterViews/*.h>. If you want to use -both 3.1 and 2.6 classes in the same application, you will -need to omit Use_2_6() and use the 2.6 classes' real names and -include paths. - -You can use the macro ComplexProgramTarget(dest) to build a program. -The parameter specifies the name you want the program to have after -it's installed. The make variable $(AOUT), which defaults to "a.out," -specifies the name the program will have when it's built. The make -variable $(OBJS), which defaults to "*.o," specifies the list of -object code files which must be linked together. You don't have to -define either $(AOUT) or $(OBJS) in the Imakefile because the -generated Makefile will assign default values to them. You don't have -to define the list of object files in $(OBJS) because the Imakefile -will generate dependencies between the program and its object code -files of the form - -a.out: -$(CC) $(OBJS) - -a.out: a.o -a.out: b.o -a.out: c.o - -which is equivalent to the traditional form - -a.out: a.o b.o c.o -$(CC) $(OBJS) - -You will define these dependencies automatically when you use the -macros MakeObjectFromSrc(file) and MakeObjectFromSrcFlags(file, flags) -for each source file in the program. Each source file must have its -own rule (hence the macro) because the implicit make rule cannot -compile source files which are not in the current directory. However, -you won't have to specify the name of the source file again in any -other place in the Imakefile. - -You should surround the Imakefile with the following lines, - -#ifdef InObjectCodeDir - <contents> - #else - MakeInObjectCodeDir() - #endif - -so that saying "make Makefiles" will create a subdirectory in which to -put the object code files. You do not have to use these lines, but if -you do not you will not be able to build optimized, debuggable, and -non-shared object code files alongside of each other in separate -subdirectories. You also will not be able to build object code files -for different machine architectures alongside of each other in -separate subdirectories. On the SPARCstation, such object code -directories will have the names SUN4, SUN4.debug, and SUN4.noshared -(the latter two will be created only if you use a special make -command, see below). - -After you finish writing your Imakefile, saying "ivmkmf" will generate -the corresponding Makefile. Then you can say "make Makefiles; make -depend; make all" to build your program. If you make a new change to -the Imakefile, all you have to do is to say "make Makefile"---you -don't have to use "ivmkmf" again. - -Saying "make Makefiles.debug" and/or "make Makefiles.noshared" will -create the special object code subdirectories and saying "make -depend.debug", "make depend.noshared", "make all.debug", or "make -all.noshared" will build in them just like the normal subdirectories. -Note that the Makefile will provide the "make *.noshared" targets only -if you're on a computer which has shared libraries (currently we -support only SunOS shared libraries). - -If you write a Makefile by hand instead of writing an Imakefile, -you'll have to specify everything that make needs to know. For -example, you'll have to specify the -I and -L flags needed to use the -InterViews includes and libraries when compiling your application. -You'll also have to specify any extra flags that your system may need -even though you may have to change them when building on a different -system (when you use an Imakefile, the platform-specific X11 .cf file -specifies these flags for you so they don't have to be in the -Imakefile). - -* How to stay tuned - -If you have a bug report, please send it to - -interviews-bugs@interviews.stanford.edu - -If you have any questions or problems, please post them in the USENET -newsgroup - - comp.windows.interviews - -If you do not have access to news and you wish to be on the InterViews -mailing list which is gatewayed with comp.windows.interviews, send a -request to - -interviews-requests@interviews.stanford.edu - -The mailing list alias is - -interviews@interviews.stanford.edu - -Please post to only the newsgroup or only the mailing list but not -both since whatever you post in one will appear in the other too. diff --git a/x11-toolkits/iv/pkg-plist b/x11-toolkits/iv/pkg-plist deleted file mode 100644 index cd06cc5c0d5c..000000000000 --- a/x11-toolkits/iv/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -@cwd /usr/local -interviews diff --git a/x11-toolkits/iv/scripts/configure b/x11-toolkits/iv/scripts/configure deleted file mode 100644 index 4bd27d00f252..000000000000 --- a/x11-toolkits/iv/scripts/configure +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# - -find ${WRKSRC} -name Makefile -print | xargs rm - -xpath=/usr/X11R6 -if [ -n $xpath ]; then - xpath=`echo $xpath | sed 's;/bin/imake$;;'` - sed "s;/usr/X386;$xpath;" ${WRKSRC}/makefile >${WRKSRC}/makefile.foo - mv ${WRKSRC}/makefile.foo ${WRKSRC}/makefile -fi diff --git a/x11-toolkits/xview-clients/Makefile b/x11-toolkits/xview-clients/Makefile deleted file mode 100644 index 598ce9a3332d..000000000000 --- a/x11-toolkits/xview-clients/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# New ports collection makefile for: xview-clients -# Version required: 3.2p1-X11R6 -# Date created: 22 November 1994 -# Whom: ljo -# -# $Id: Makefile,v 1.8 1995/05/03 02:22:33 asami Exp $ -# - -DISTNAME= xview-clients -PKGNAME= xview-clients-3.2.1 -CATEGORIES= x11 - -DEPENDS= ${PORTSDIR}/x11/xview-lib -WRKSRC= ${PORTSDIR}/x11/xview-config/work/xview3.2p1-X11R6/clients -NO_WRKDIR= yes -NO_EXTRACT= yes -USE_X11= yes - -do-fetch: - -post-configure: - (cd $(WRKSRC)/..; $(MAKE) SUBDIRS=clients depend) - -pre-install: - @(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install.man) - -.include <bsd.port.mk> diff --git a/x11-toolkits/xview-clients/files/patch-aa b/x11-toolkits/xview-clients/files/patch-aa deleted file mode 100644 index c20eda560eaa..000000000000 --- a/x11-toolkits/xview-clients/files/patch-aa +++ /dev/null @@ -1,375 +0,0 @@ -diff -rc ../old/xview3.2p1-X11R6/clients/cmdtool/cmdtool.c cmdtool/cmdtool.c -*** ../old/xview3.2p1-X11R6/clients/cmdtool/cmdtool.c Tue Jun 29 01:12:08 1993 ---- cmdtool/cmdtool.c Sun Nov 20 13:38:56 1994 -*************** -*** 123,129 **** - int cmdline_count = 0; - char cmdline2[50]; - Server_image cmd_pixmap, cmd_mask_pixmap; -- - - #ifdef GPROF - if (argc > 1 && strcmp(argv[argc-1], "-gprof") == 0) { ---- 123,128 ---- -*************** -*** 141,146 **** ---- 140,147 ---- - #endif - - /* This is required to initialize correctly */ -+ -+ - xv_init(XV_INIT_ARGC_PTR_ARGV, &argc, argv, - XV_USE_LOCALE, TRUE, 0); - -*************** -*** 286,291 **** ---- 287,293 ---- - strcat( cmdline2, argv[0] ); - argv[0] = cmdline2; - } -+ - - /* If FRAME_LABEL wasn't set by cmdline argument, set it */ - if ((tmp_label1 = (char *)xv_get(base_frame, FRAME_LABEL)) == NULL) { -diff -rc ../old/xview3.2p1-X11R6/clients/olwm/cmdstream.c olwm/cmdstream.c -*** ../old/xview3.2p1-X11R6/clients/olwm/cmdstream.c Tue Jun 29 01:11:43 1993 ---- olwm/cmdstream.c Sun Nov 20 13:38:56 1994 -*************** -*** 51,60 **** - * Local Forward Declarations - * ---------------------------------------------------------------------*/ - -! Command *MatchCommand(); -! CmdAttr *MatchAttr(); -! int EncodeAttrValue(); -! int DecodeAttrValue(); - - /* ---------------------------------------------------------------------- - * SetCmdStream ---- 51,60 ---- - * Local Forward Declarations - * ---------------------------------------------------------------------*/ - -! static Command *MatchCommand(); -! static CmdAttr *MatchAttr(); -! static int EncodeAttrValue(); -! static int DecodeAttrValue(); - - /* ---------------------------------------------------------------------- - * SetCmdStream -diff -rc ../old/xview3.2p1-X11R6/clients/olwm/gettext.h olwm/gettext.h -*** ../old/xview3.2p1-X11R6/clients/olwm/gettext.h Tue Jun 29 01:11:46 1993 ---- olwm/gettext.h Sun Nov 20 13:38:57 1994 -*************** -*** 27,33 **** - #include <stdio.h> - #include <sys/types.h> - #include <sys/param.h> -! - struct domain_binding { - char *domain_name; - char *binding; ---- 27,37 ---- - #include <stdio.h> - #include <sys/types.h> - #include <sys/param.h> -! -! #ifndef LC_MESSAGES -! #define LC_MESSAGES 0 -! #endif -! - struct domain_binding { - char *domain_name; - char *binding; -diff -rc ../old/xview3.2p1-X11R6/clients/olwm/i18n.h olwm/i18n.h -*** ../old/xview3.2p1-X11R6/clients/olwm/i18n.h Tue Jun 29 01:11:48 1993 ---- olwm/i18n.h Sun Nov 20 13:38:57 1994 -*************** -*** 35,40 **** ---- 35,44 ---- - - #endif /* OW_I18N_L4 */ - -+ #ifndef LC_MESSAGES -+ #define LC_MESSAGES 0 -+ #endif -+ - /* - * String/Text - To better handle non-i18n, Level3 and Level4 - * we introduce two 'types'; string and text. -diff -rc ../old/xview3.2p1-X11R6/clients/olwm/mem.c olwm/mem.c -*** ../old/xview3.2p1-X11R6/clients/olwm/mem.c Tue Jun 29 01:11:45 1993 ---- olwm/mem.c Sun Nov 20 13:38:57 1994 -*************** -*** 14,21 **** - * - */ - -! - #include <malloc.h> - #include <memory.h> - #include <stdio.h> - #include <sys/types.h> ---- 14,25 ---- - * - */ - -! #include <sys/param.h> -! #if (defined(BSD) && (BSD >= 199103)) -! #include <stdlib.h> -! #else - #include <malloc.h> -+ #endif - #include <memory.h> - #include <stdio.h> - #include <sys/types.h> -diff -rc ../old/xview3.2p1-X11R6/clients/olwm/menu.c olwm/menu.c -*** ../old/xview3.2p1-X11R6/clients/olwm/menu.c Tue Jun 29 01:11:50 1993 ---- olwm/menu.c Sun Nov 20 13:38:57 1994 -*************** -*** 52,57 **** ---- 52,59 ---- - static WinGeneric *prevColorFocusWindow = NULL; - static MenuTrackMode menuTrackMode; - -+ static Bool isEnabled(); -+ - /* - * Table of currently active menus. - * REMIND: perhaps this should be dynamically allocated. -diff -rc ../old/xview3.2p1-X11R6/clients/olwm/olwm.c olwm/olwm.c -*** ../old/xview3.2p1-X11R6/clients/olwm/olwm.c Tue Jun 29 01:11:52 1993 ---- olwm/olwm.c Sun Nov 20 13:38:57 1994 -*************** -*** 23,28 **** ---- 23,32 ---- - #include <sys/stat.h> - #include <sys/wait.h> - -+ #ifndef MAXPID -+ #define MAXPID 30000 -+ #endif -+ - #include <X11/Xos.h> - #include <X11/Xlib.h> - #include <X11/Xutil.h> -*************** -*** 622,634 **** - void - ReapChildren() - { -! #ifdef SYSV - pid_t pid; - int status; - #else - int oldmask; - int pid; - union wait status; - #endif - - if (!deadChildren) ---- 626,644 ---- - void - ReapChildren() - { -! #if defined(SYSV) - pid_t pid; - int status; - #else -+ #if (defined(BSD) && (BSD >= 199103)) -+ pid_t pid; -+ int status; -+ int oldmask; -+ #else - int oldmask; - int pid; - union wait status; -+ #endif - #endif - - if (!deadChildren) -diff -rc ../old/xview3.2p1-X11R6/clients/olwm/screen.c olwm/screen.c -*** ../old/xview3.2p1-X11R6/clients/olwm/screen.c Tue Jun 29 01:11:56 1993 ---- olwm/screen.c Sun Nov 20 13:38:58 1994 -*************** -*** 111,116 **** ---- 111,122 ---- - static XrmQuark stippledRubberBandsCQ; - static XrmQuark stippledRubberBandsIQ; - -+ static updateScreenWorkspaceColor(); -+ static updateScreenWindowColor(); -+ static updateScreenForegroundColor(); -+ static updateScreenBackgroundColor(); -+ static updateScreenBorderColor(); -+ static updateScreenGlyphFont(); - - /*------------------------------------------------------------------------- - * Local Functions -diff -rc ../old/xview3.2p1-X11R6/clients/olwm/slave.c olwm/slave.c -*** ../old/xview3.2p1-X11R6/clients/olwm/slave.c Tue Jun 29 01:11:57 1993 ---- olwm/slave.c Sun Nov 20 13:38:58 1994 -*************** -*** 22,27 **** ---- 22,29 ---- - #include <signal.h> - #include <stdio.h> - -+ #include <sys/param.h> -+ - #include "cmdstream.h" - #include "error.h" - -diff -rc ../old/xview3.2p1-X11R6/clients/olwm/winicon.c olwm/winicon.c -*** ../old/xview3.2p1-X11R6/clients/olwm/winicon.c Tue Jun 29 01:12:04 1993 ---- olwm/winicon.c Sun Nov 20 13:38:58 1994 -*************** -*** 32,37 **** ---- 32,41 ---- - extern Bool PropGetWMName(); - extern Bool PropGetWMIconName(); - -+ static int heightTopIcon(); -+ static int heightBottomIcon(); -+ static int widthBothIcon(); -+ - /*************************************************************************** - * private data - ***************************************************************************/ -diff -rc ../old/xview3.2p1-X11R6/clients/olwmslave/Imakefile olwmslave/Imakefile -*** ../old/xview3.2p1-X11R6/clients/olwmslave/Imakefile Tue Jun 29 01:12:14 1993 ---- olwmslave/Imakefile Sun Nov 20 13:38:58 1994 -*************** -*** 38,55 **** - mem.c \ - olwmslave.c \ - propsrecv.c \ -! propswin.c - - - OBJS = \ - cmdstream.o \ - help_file.o \ -! helprecv.o \ - helpwin.o \ - mem.o \ - olwmslave.o \ - propsrecv.o \ -! propswin.o - - - ALLFILES = \ ---- 38,55 ---- - mem.c \ - olwmslave.c \ - propsrecv.c \ -! propswin.c ${GETTEXT.C} - - - OBJS = \ - cmdstream.o \ - help_file.o \ -! helprecv.o \ - helpwin.o \ - mem.o \ - olwmslave.o \ - propsrecv.o \ -! propswin.o ${GETTEXT.O} - - - ALLFILES = \ -diff -rc ../old/xview3.2p1-X11R6/clients/olwmslave/cmdstream.c olwmslave/cmdstream.c -*** ../old/xview3.2p1-X11R6/clients/olwmslave/cmdstream.c Tue Jun 29 01:12:10 1993 ---- olwmslave/cmdstream.c Sun Nov 20 13:38:58 1994 -*************** -*** 50,59 **** - * Local Forward Declarations - * ---------------------------------------------------------------------*/ - -! Command *MatchCommand(); -! CmdAttr *MatchAttr(); -! int EncodeAttrValue(); -! int DecodeAttrValue(); - - /* ---------------------------------------------------------------------- - * SetCmdStream ---- 50,59 ---- - * Local Forward Declarations - * ---------------------------------------------------------------------*/ - -! static Command *MatchCommand(); -! static CmdAttr *MatchAttr(); -! static int EncodeAttrValue(); -! static int DecodeAttrValue(); - - /* ---------------------------------------------------------------------- - * SetCmdStream -diff -rc ../old/xview3.2p1-X11R6/clients/olwmslave/helpwin.c olwmslave/helpwin.c -*** ../old/xview3.2p1-X11R6/clients/olwmslave/helpwin.c Tue Jun 29 01:12:11 1993 ---- olwmslave/helpwin.c Sun Nov 20 13:38:58 1994 -*************** -*** 136,141 **** ---- 136,142 ---- - Bool ImageHelpWindow(); - void MoreHelp(); - void ErrorNotice(); -+ static int ConstrainMousePos(); - - /* ---------------------------------------------------------------------- - * ShowHelpWindow -diff -rc ../old/xview3.2p1-X11R6/clients/olwmslave/mem.c olwmslave/mem.c -*** ../old/xview3.2p1-X11R6/clients/olwmslave/mem.c Tue Jun 29 01:12:12 1993 ---- olwmslave/mem.c Sun Nov 20 13:38:58 1994 -*************** -*** 16,22 **** ---- 16,27 ---- - * - */ - -+ #include <sys/param.h> -+ #if (defined(BSD) && (BSD >= 199103)) -+ #include <stdlib.h> -+ #else - #include <malloc.h> -+ #endif - #include <memory.h> - #include <stdio.h> - #include <sys/types.h> -*** olwm/defaults.c.orig Tue Jun 29 07:11:43 1993 ---- olwm/defaults.c Mon Feb 27 00:59:03 1995 -*************** -*** 25,33 **** - #include <X11/Xutil.h> - #include <X11/Xatom.h> - #include <X11/Xresource.h> -! #ifdef OW_I18N_L4 - #include <sys/param.h> -! #endif - - #include "i18n.h" - #include "ollocale.h" ---- 25,33 ---- - #include <X11/Xutil.h> - #include <X11/Xatom.h> - #include <X11/Xresource.h> -! /* #ifdef OW_I18N_L4 */ - #include <sys/param.h> -! /* #endif */ - - #include "i18n.h" - #include "ollocale.h" -*************** -*** 80,86 **** ---- 80,90 ---- - if (homedir != NULL) { - (void) strcpy(filename, homedir); - (void) strcat(filename, "/.Xdefaults-"); -+ #if (defined(BSD) && (BSD >= 199103)) -+ if (0 == gethostname(hostname, sizeof(hostname))) { -+ #else - if (0 == gethostname(hostname, sizeof(hostname), &namelen)) { -+ #endif - (void) strcat(filename, hostname); - fileDB = XrmGetFileDatabase(filename); - } diff --git a/x11-toolkits/xview-clients/pkg-comment b/x11-toolkits/xview-clients/pkg-comment deleted file mode 100644 index b1107af77497..000000000000 --- a/x11-toolkits/xview-clients/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Xview3.2 executables libs, includes, and man pages diff --git a/x11-toolkits/xview-clients/pkg-descr b/x11-toolkits/xview-clients/pkg-descr deleted file mode 100644 index ae6ad1794f41..000000000000 --- a/x11-toolkits/xview-clients/pkg-descr +++ /dev/null @@ -1,254 +0,0 @@ -########################################################################### -# README file for the XView Toolkit, Version 3.2, source release -# @(#)README 1.7 1/7/92 SMI -# -# Please read this document before building the XView release. - - -What Is XView -------------- -XView (X Window-System-based Visual/Integrated Environment for Workstations) -is a user-interface toolkit to support interactive, graphics-based -applications running under the X Window System. XView provides a set of -pre-built, user-interface objects such as canvases, scrollbars, menus, and -control panels. The appearance and functionality of these objects follow -the OPEN LOOK Graphical User Interface (GUI) specification. XView features -an object-oriented style Application Programmer's Interface (API) that is -straightforward and easy to learn. - - -More Information ----------------- -More information on the XView release is supplied in the -<XVIEW>/doc/whats_new.ps files. Please refer to these for issues -related to using the XView libraries and clients and changes for the 3.2 -release. Information on documentation, bug reporting and help -can be found in the doc directory: xview-info. Information on -resources/defaults is included in the XView man page contained in -this directory. - - -XView Requirements ------------------- -XView requires the use of an ICCCM-compliant window -manager. One such window manager is olwm, which supports the OPEN -LOOK (TM) user interface. Further, XView requires full ICCCM -support in Xlib. This is the standard in the X Window System -Version 11, Release 5. In order to run under Release 3, you must -define the PRE_R4_ICCCM compile-time flag (see config/XView.cf) -and the set resource, xview.icccmcompliant, to False in the -.Xdefaults file (see the xview man page). This release of XView -was only tested (executing the builds, and running the binaries) -on X11 R5. - - -Contents --------- -The XView release contains the following: - -lib/libxview The XView toolkit -lib/libolgx The OLGX toolkit (used by XView and olwm) -clients/clock An XView clock application. -clients/cmdtool An XView terminal emulator. -clients/olwm The OPENLOOK window manager. -clients/olwmslave 'helper' program for olwm. -contrib/examples A bunch of XView examples. -fonts/bdf The OPENLOOK fonts required for Pre-R4 based servers. -doc Documentation about XView. -misc/message_files Message file templates for localization. -misc/xrdb_files X resource files for olwm/XView 3.2 - -The unpacked source is ~20meg -You'll need an additional 18meg to do a complete build. (assuming shared libs) -To install everything, you'll need about 8.5meg. - - -Building the Release --------------------- -This release of XView was tested on these systems: - SparcStation 10, SunOS 5.2 - SparcStation 2, SunOS 5.2 - SparcStation 1, SunOS 4.1.2 - -Like X11, XView uses imake to configure the Makefiles for a particular -system. The Makefiles delivered with this release are probably not -configured correctly for your system. New Makefiles will need -to be generated from the Imakefiles. In order to do this, -the following items are required: - - 1. Installed X11 R5 - - a. X11 header files. - b. X11 libraries. - c. X11 config directory. - - 2. If you set XvI18nLevel to 4 in config/XView.cf, Asian locale - support will be built in XView, and olwm. In this case, for - olwm to work properly, the Xlib library (libX11) has to be - built with internationalization support. If this cannot be - done, config/XView.tmpl will have to be edited for the clients/olwm - build as follows. Change the line: - - XVCLIENTI18NDEFINES = -DOW_I18N_L4 -DOW_I18N_L3 -DOW_I18N -DFULL_R5 - - to - - XVCLIENTI18NDEFINES = -DOW_I18N_L3 -DOW_I18N -DFULL_R5 - - 3. Compiled versions of imake and makedepend must be found - in your $PATH. If you are building the fonts you'll - need the X11 font compilers in your path too. The fonts - are only needed if you are building for a Pre-R4 server. - - -Assuming R5 is installed in /foobar/R5, the X11 config directory is -in /foobar/R5/lib/X11, and compiled versions of imake and makedepend -should be found in /foobar/R5/bin. - -The XView release provides an additional set of rules and configuration -parameters that are necessary to build the release. These can be -found in ./config. Most notably is ./config/XView.cf which contains -XView specific build options. This file should be read before a build -is attempted. XView.cf, by default, is designed for building XView 3.2 -on Solaris 2.2. - -################ -NOTE (IMPORTANT) -################ -The default configuration will build XView with Asian locale support -(turned on by -DOW_I18N). This requires the presence of Sun private -header files (i.e. XSunExt.h) available only with Solaris 2.2. It is -included by the build via "-I$(OPENWINHOME)/include". -Therefore, the default configuration requires Solaris 2.2 to be -installed. If it is not installed, Asian locale support has to be turned -off by setting XvI18nLevel (in config/XView.cf) to 3. This has to be done -for builds done on SunOS 4.x as well. - -In the source release of XView 3.0, we used 'xstr' in shared library -builds. 'xstr' was used to extract string literals from the source which -was then put into an array which was indexed into instead of using the -string literal directly. We have removed this functionality for this -release. Most compilers already have options (-strconst, -xstrconst) -to insert string literals into the text segment instead of the data -segment. Building without xstr is also much faster. - -But, if your builds fail with: - - "GLOBAL_OFFSET_TABLE overflown" - -then, you should revert back to the old way of doing things, with 'xstr'. -This can be done as follows (in the config directory): - - a. mv XView.rules XView.rules.bak - b. cp XView.rules.xstr XView.rules - - -Here is what you need to do to build: - - 1. Set the environment variable IMAKEINCLUDE to point to both the - R5 config directory and the XView config directory. - Examples, first one for csh, second for sh: - - % setenv IMAKEINCLUDE -I`pwd`/config -I/foobar/R5/lib/X11/config - or - $ IMAKEINCLUDE="-I`pwd`/config -I/foobar/R5/lib/X11/config" - $ export IMAKEINCLUDE - - 2. Set the OSMajorVersion and OSMinorVersion variables in the - appropriate <X11>/config/*.cf files. - - 3. Double-check the parameters in <X11>/config/site.def. - - 4. Double-check the build options in ./config/XView.cf. - There are comments in this file to explain what each option - is for. Among other things, this is where you can define where you - want XView to be installed. - - 5. Type "imake -DUseInstalled -I<X11>/lib/X11/config -I./config" - Type make World >& make.world &" - (do not name the log file make.log or it will get deleted). - This will build libxview and libolgx. - - 6. Check the log file for any errors. The release should build - without any problems on sun4 with SunOS 4.x and sun4 with - SunOS 5.x. - - 7. As root, type "make install". See tail end of log file for - special directions for shared libraries, if used. - - 8. Type "make Clients >& make.clients &" - This will cause the programs in ./clients to be built. - - 9. Type "make Contrib >& make.contrib &" - This will cause the examples in ./contrib to be built. - - 10. Type "make 'SUBDIRS=clients contrib' install" - - 11. Type "make 'SUBDIRS=clients contrib' install.man" - - 12. Type "make 'SUBDIRS=clients contrib' install.srcs" - - 13. Documents, release notes, known bugs are in the doc directory. - Can install these with "make -k 'SUBDIRS=doc' install". - - 14. When done, can get rid of all compiled files and links used - during the build with: "make Clean" - -Building a lint library is not yet supported. - -Source Notes ------------- -This version of the XView source corresponds to that provided with -OpenWindows Version 3.2 from SunSoft Inc. Libraries generated with this -source should be interchangeable with those from the OpenWindows Version 3.2 -release. - - -Porting Notes -------------- -This release of XView has been tested extensively on two Sun -platforms, a SunOS 4.1.2 system and a SunOS 5.2 system. X11R5 was -build for the SunOS 5.2 system using the base MIT X11R5 source and -the R5.SunOS5.patch in the contrib directory on export.lcs.mit.edu. -While efforts have been made to keep the toolkit portable to other -platforms, you may encounter problems. Please inform us of the -porting problems you find. Send email to xviewbugs@Eng.Sun.COM -and we will attempt to evaluate the problem and possibly include -a fix in a future patch or release. - - -Build Environment Notes ------------------------ -The style of the build environment has been outlined by the X.V11 Release 5 -build environment from MIT. "Outlined" is used instead of "defined" since -there is no standard procedure for X software builds. The precedent is set -by the X Consortium for certain procedures and conventions; however, since -these conventions are neither reviewed nor documented, they cannot always -be followed. As much as possible, the conventions used in the X11R5 build -have been followed in the XView build. - -If you've not used imake before, there is a document which explains how -it works in doc/config/usenixws. The easiest way to think of it is creating a -Makefile description language with CPP macros. The order in which files -are included will define which CPP rules and variables are active. - -The configuration files specific to XView all begin with "XView." -The "XView.cf" file is one meant to easily choose certain build or -configuration options. The "XView.tmpl" file defines common configurations -for XView and is included by each Imakefile. All relevant variables -defined in the XView.tmpl file may be changed in the site.def file by -pre-defining the appropriate CPP variable. Both files are heavily -commented to explain what each option does. The other files, "XView.lib", -"XView.obj", and "XView.prog" are just a means of sharing common Imakefile -commands among many Imakefiles. The "XView.rules" file supplements the -"Imake.rules" file as supplied by X11R5. - - -Feedback --------- -While the XView team makes every effort to watch the ``net'' for questions -and problems with XView some messages may slip by. The xviewbugs@Eng.Sun.COM -alias has been created to provide a means for XView source product customers -to send input to the XView engineers. If you find problems or have -comments on XView, please forwarded them to this alias. We appreciate -any and all input. diff --git a/x11-toolkits/xview-clients/pkg-plist b/x11-toolkits/xview-clients/pkg-plist deleted file mode 100644 index 6efdbb5204a4..000000000000 --- a/x11-toolkits/xview-clients/pkg-plist +++ /dev/null @@ -1,15 +0,0 @@ -@cwd /usr/X11R6 -bin/clock -bin/cmdtool -bin/olwm -bin/olwmslave -bin/shelltool -lib/help/clock.info -lib/help/olwm.info -lib/help/workspace.info -lib/openwin-menu -man/man1/clock.1.gz -man/man1/cmdtool.1.gz -man/man1/olwm.1.gz -man/man1/olwmslave.1.gz -man/man1/shelltool.1.gz diff --git a/x11-toolkits/xview/Makefile b/x11-toolkits/xview/Makefile deleted file mode 100644 index b41372768207..000000000000 --- a/x11-toolkits/xview/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -# New ports collection makefile for: xview-config -# Version required: 3.2p1-X11R6 -# Date created: 22 November 1994 -# Whom: ljo -# -# $Id: Makefile,v 1.5 1995/04/12 15:22:43 asami Exp $ -# - -DISTNAME= xview-config -PKGNAME= xview-config-3.2.1 -CATEGORIES+= x11 -MASTER_SITES= ftp://ftp.x.org/contrib/libraries/ -DISTFILES= xview3.2p1-X11R6.tar.gz - -WRKSRC= ${WRKDIR}/xview3.2p1-X11R6/config -USE_IMAKE= yes - -post-extract: - @chmod -R go+rX ${WRKDIR} - -do-build: - -.include <bsd.port.mk> diff --git a/x11-toolkits/xview/distinfo b/x11-toolkits/xview/distinfo deleted file mode 100644 index e64991845dc6..000000000000 --- a/x11-toolkits/xview/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (xview3.2p1-X11R6.tar.gz) = 9d3049c6e83114148a9f51d361272816 diff --git a/x11-toolkits/xview/files/patch-aa b/x11-toolkits/xview/files/patch-aa deleted file mode 100644 index 7eeb3aa34495..000000000000 --- a/x11-toolkits/xview/files/patch-aa +++ /dev/null @@ -1,299 +0,0 @@ -diff -rc ../old/xview3.2p1-X11R6/config/Imakefile Imakefile -*** ../old/xview3.2p1-X11R6/config/Imakefile Tue Jun 29 01:13:19 1993 ---- Imakefile Sun Nov 20 13:38:58 1994 -*************** -*** 8,14 **** - /**/# config directory - /**/# @(#)Imakefile 1.9 28 Jun 1993 SMI - -! XVFILES = XView.cf XView.lib XView.obj XView.rules XView.tmpl library.tmpl - CFFILES = $(XVFILES) $(HEADERS) - - InstallMultipleDestFlags(install,$(CFFILES),$(CONFIGDIR),$(INSTDATFLAGS)) ---- 8,14 ---- - /**/# config directory - /**/# @(#)Imakefile 1.9 28 Jun 1993 SMI - -! XVFILES = XView.cf XView.lib XView.obj XView.rules XView.tmpl XView.prog - CFFILES = $(XVFILES) $(HEADERS) - - InstallMultipleDestFlags(install,$(CFFILES),$(CONFIGDIR),$(INSTDATFLAGS)) -diff -rc ../old/xview3.2p1-X11R6/config/XView.cf XView.cf -*** ../old/xview3.2p1-X11R6/config/XView.cf Sun Jun 26 22:09:19 1994 ---- XView.cf Sun Nov 20 13:38:58 1994 -*************** -*** 101,107 **** - * the appropriate value. - */ - #ifndef XVDestDir -! #define XVDestDir /usr/X11/xview - #endif - /* - * Command to add object modules to the library. ---- 101,107 ---- - * the appropriate value. - */ - #ifndef XVDestDir -! #define XVDestDir /usr/X11R6 - #endif - /* - * Command to add object modules to the library. -*************** -*** 139,145 **** - * installed in $(DESTDIR)/lib/X11/config (aka $(CONFIGDIR)). - */ - #ifndef OnlyNeedsNewXViewConfigInstalled -! #define OnlyNeedsNewXViewConfigInstalled NO - #endif - /* - * If you would like the XView man pages to be installed in ---- 139,145 ---- - * installed in $(DESTDIR)/lib/X11/config (aka $(CONFIGDIR)). - */ - #ifndef OnlyNeedsNewXViewConfigInstalled -! #define OnlyNeedsNewXViewConfigInstalled YES - #endif - /* - * If you would like the XView man pages to be installed in -*************** -*** 305,311 **** - * malloc() and read() will be used instead. - */ - #ifndef OsHasMmap -! #define OsHasMmap YES - #endif - /* - * The implementation of internationalization support in XView depends ---- 305,311 ---- - * malloc() and read() will be used instead. - */ - #ifndef OsHasMmap -! #define OsHasMmap NO - #endif - /* - * The implementation of internationalization support in XView depends -*************** -*** 315,321 **** - * features disabled. - */ - #ifndef OsHasLocale -! #define OsHasLocale YES - #endif - /* - * There are number of memory allocation macros in lib/libxview/base.h ---- 315,321 ---- - * features disabled. - */ - #ifndef OsHasLocale -! #define OsHasLocale NO - #endif - /* - * There are number of memory allocation macros in lib/libxview/base.h -*************** -*** 360,366 **** - * be defined as -PIC - */ - #ifndef PositionIndependentCodeFlag -! #define PositionIndependentCodeFlag -PIC - #endif - - /* ---- 360,366 ---- - * be defined as -PIC - */ - #ifndef PositionIndependentCodeFlag -! #define PositionIndependentCodeFlag -fpic - #endif - - /* -diff -rc ../old/xview3.2p1-X11R6/config/XView.obj XView.obj -*** ../old/xview3.2p1-X11R6/config/XView.obj Tue Jun 29 01:13:20 1993 ---- XView.obj Sun Nov 20 13:38:59 1994 -*************** -*** 15,21 **** - STD_DEFINES = StandardDefines LibXViewDefines - #endif - HEADERS= ${HDRSPUBLIC} ${HDRSPRIVATE} -! INCLUDES= -I$(BUILDINCDIR)$(INCDIR) - OBJS = $(TEXT_OBJS) $(DATA_OBJS) $(SPECIAL_OBJS) - #if !NotLibXView - ALLFILES = $(SRCS) $(HEADERS) ---- 15,21 ---- - STD_DEFINES = StandardDefines LibXViewDefines - #endif - HEADERS= ${HDRSPUBLIC} ${HDRSPRIVATE} -! INCLUDES= -I$(BUILDINCDIR)/$(INCDIR) - OBJS = $(TEXT_OBJS) $(DATA_OBJS) $(SPECIAL_OBJS) - #if !NotLibXView - ALLFILES = $(SRCS) $(HEADERS) -*************** -*** 85,98 **** - - #if SubdirHasPublicHeaders - # if NotLibXView -! BuildIncludes($(HDRSPUBLIC),$(PUB_INCDIR),/**/) - - install:: - $(MKDIRHIER) $(PUB_HEADER_DEST) - - InstallMultiple($(HDRSPUBLIC),$(PUB_HEADER_DEST)) - # else -! BuildIncludes($(HDRSPUBLIC),$(XVPUB_INCDIR),/**/) - - install:: - $(MKDIRHIER) $(XVPUB_HEADER_DEST) ---- 85,98 ---- - - #if SubdirHasPublicHeaders - # if NotLibXView -! BuildIncludes($(HDRSPUBLIC),$(PUB_INCDIR),.) - - install:: - $(MKDIRHIER) $(PUB_HEADER_DEST) - - InstallMultiple($(HDRSPUBLIC),$(PUB_HEADER_DEST)) - # else -! BuildIncludes($(HDRSPUBLIC),$(XVPUB_INCDIR),.) - - install:: - $(MKDIRHIER) $(XVPUB_HEADER_DEST) -*************** -*** 103,111 **** - - #if SubdirHasPrivateHeaders - # if NotLibXView -! BuildIncludes($(HDRSPRIVATE),$(PRI_INCDIR),/**/) - # else -! BuildIncludes($(HDRSPRIVATE),$(XVPRI_INCDIR),/**/) - # endif - # if InstallPrivateHeaders - # if NotLibXView ---- 103,111 ---- - - #if SubdirHasPrivateHeaders - # if NotLibXView -! BuildIncludes($(HDRSPRIVATE),$(PRI_INCDIR),.) - # else -! BuildIncludes($(HDRSPRIVATE),$(XVPRI_INCDIR),.) - # endif - # if InstallPrivateHeaders - # if NotLibXView -diff -rc ../old/xview3.2p1-X11R6/config/XView.rules XView.rules -*** ../old/xview3.2p1-X11R6/config/XView.rules Tue Jun 29 01:13:20 1993 ---- XView.rules Sun Nov 20 13:38:59 1994 -*************** -*** 366,374 **** - #ifndef InstallSharedLibraryNoBuild - #define InstallSharedLibraryNoBuild(libname,rev,dest) @@\ - install:: @@\ -! $(RM) /dest/lib/**/libname.so @@\ - $(INSTALL) -c $(INSTSHAREDLIBFLAGS) lib/**/libname.so.rev dest @@\ -! (cd dest; $(LN) lib/**/libname.so.rev lib/**/libname.so) - - #endif /* InstallSharedLibraryNoBuild */ - ---- 366,374 ---- - #ifndef InstallSharedLibraryNoBuild - #define InstallSharedLibraryNoBuild(libname,rev,dest) @@\ - install:: @@\ -! $(RM) /dest/lib/**/libname.so @@\ - $(INSTALL) -c $(INSTSHAREDLIBFLAGS) lib/**/libname.so.rev dest @@\ -! (cd dest; $(LN) lib/**/libname.so.rev lib/**/libname.so) - - #endif /* InstallSharedLibraryNoBuild */ - -diff -rc ../old/xview3.2p1-X11R6/config/XView.tmpl XView.tmpl -*** ../old/xview3.2p1-X11R6/config/XView.tmpl Sun Jun 26 22:10:00 1994 ---- XView.tmpl Sun Nov 20 13:38:59 1994 -*************** -*** 96,102 **** - * Work around small conflict with Project.tmpl file - */ - #if UseInstalled -! MKDIRHIER = BourneShell BinDir/mkdirhier - #endif - - #if OsHasLocale ---- 96,102 ---- - * Work around small conflict with Project.tmpl file - */ - #if UseInstalled -! MKDIRHIER = mkdirhier - #endif - - #if OsHasLocale -*************** -*** 224,230 **** - * afterwards. - */ - #ifndef XVIncludeDirName -! #define XVIncludeDirName /include - #endif - INCDIR = XVIncludeDirName - /* ---- 224,230 ---- - * afterwards. - */ - #ifndef XVIncludeDirName -! #define XVIncludeDirName include - #endif - INCDIR = XVIncludeDirName - /* -*************** -*** 356,365 **** - - #if SystemV4 - SYSV_CLIENT_LIB = -lintl -ldl -! XVCLIENTSYSDEFINES = -DSVR4 -DSYSV - #else - SYSV_CLIENT_LIB = -! XVCLIENTSYSDEFINES = -DSUNOS41 - #endif - - /* ---- 356,365 ---- - - #if SystemV4 - SYSV_CLIENT_LIB = -lintl -ldl -! XVCLIENTSYSDEFINES = -DSVR4 -DSYSV - #else - SYSV_CLIENT_LIB = -! XVCLIENTSYSDEFINES = -DSUNOS41 - #endif - - /* -*************** -*** 371,386 **** - */ - - #if XvI18nLevel == 4 -! XVCLIENTI18NDEFINES = -DOW_I18N_L4 -DOW_I18N_L3 -DOW_I18N -DFULL_R5 -! XVCLIENTMISCLIB = -lw -! XVCLIENTINCLUDES = -I$(OPENWINHOME)/include - #else -! XVCLIENTI18NDEFINES = -DOW_I18N_L3 -! XVCLIENTMISCLIB = -! XVCLIENTINCLUDES = - #endif - -! XVCLIENTDEFINES = $(XVCLIENTSYSDEFINES) $(XVCLIENTI18NDEFINES) - - /* - * Define libraries for XView clients ---- 371,386 ---- - */ - - #if XvI18nLevel == 4 -! XVCLIENTI18NDEFINES = -DOW_I18N_L4 -DOW_I18N_L3 -DOW_I18N -DFULL_R5 -! XVCLIENTMISCLIB = -lw -! XVCLIENTINCLUDES = -I$(OPENWINHOME)/include - #else -! XVCLIENTI18NDEFINES = -DOW_I18N_L3 -! XVCLIENTMISCLIB = -! XVCLIENTINCLUDES = - #endif - -! XVCLIENTDEFINES = $(XVCLIENTSYSDEFINES) $(XVCLIENTI18NDEFINES) - - /* - * Define libraries for XView clients diff --git a/x11-toolkits/xview/pkg-comment b/x11-toolkits/xview/pkg-comment deleted file mode 100644 index b1107af77497..000000000000 --- a/x11-toolkits/xview/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Xview3.2 executables libs, includes, and man pages diff --git a/x11-toolkits/xview/pkg-descr b/x11-toolkits/xview/pkg-descr deleted file mode 100644 index ae6ad1794f41..000000000000 --- a/x11-toolkits/xview/pkg-descr +++ /dev/null @@ -1,254 +0,0 @@ -########################################################################### -# README file for the XView Toolkit, Version 3.2, source release -# @(#)README 1.7 1/7/92 SMI -# -# Please read this document before building the XView release. - - -What Is XView -------------- -XView (X Window-System-based Visual/Integrated Environment for Workstations) -is a user-interface toolkit to support interactive, graphics-based -applications running under the X Window System. XView provides a set of -pre-built, user-interface objects such as canvases, scrollbars, menus, and -control panels. The appearance and functionality of these objects follow -the OPEN LOOK Graphical User Interface (GUI) specification. XView features -an object-oriented style Application Programmer's Interface (API) that is -straightforward and easy to learn. - - -More Information ----------------- -More information on the XView release is supplied in the -<XVIEW>/doc/whats_new.ps files. Please refer to these for issues -related to using the XView libraries and clients and changes for the 3.2 -release. Information on documentation, bug reporting and help -can be found in the doc directory: xview-info. Information on -resources/defaults is included in the XView man page contained in -this directory. - - -XView Requirements ------------------- -XView requires the use of an ICCCM-compliant window -manager. One such window manager is olwm, which supports the OPEN -LOOK (TM) user interface. Further, XView requires full ICCCM -support in Xlib. This is the standard in the X Window System -Version 11, Release 5. In order to run under Release 3, you must -define the PRE_R4_ICCCM compile-time flag (see config/XView.cf) -and the set resource, xview.icccmcompliant, to False in the -.Xdefaults file (see the xview man page). This release of XView -was only tested (executing the builds, and running the binaries) -on X11 R5. - - -Contents --------- -The XView release contains the following: - -lib/libxview The XView toolkit -lib/libolgx The OLGX toolkit (used by XView and olwm) -clients/clock An XView clock application. -clients/cmdtool An XView terminal emulator. -clients/olwm The OPENLOOK window manager. -clients/olwmslave 'helper' program for olwm. -contrib/examples A bunch of XView examples. -fonts/bdf The OPENLOOK fonts required for Pre-R4 based servers. -doc Documentation about XView. -misc/message_files Message file templates for localization. -misc/xrdb_files X resource files for olwm/XView 3.2 - -The unpacked source is ~20meg -You'll need an additional 18meg to do a complete build. (assuming shared libs) -To install everything, you'll need about 8.5meg. - - -Building the Release --------------------- -This release of XView was tested on these systems: - SparcStation 10, SunOS 5.2 - SparcStation 2, SunOS 5.2 - SparcStation 1, SunOS 4.1.2 - -Like X11, XView uses imake to configure the Makefiles for a particular -system. The Makefiles delivered with this release are probably not -configured correctly for your system. New Makefiles will need -to be generated from the Imakefiles. In order to do this, -the following items are required: - - 1. Installed X11 R5 - - a. X11 header files. - b. X11 libraries. - c. X11 config directory. - - 2. If you set XvI18nLevel to 4 in config/XView.cf, Asian locale - support will be built in XView, and olwm. In this case, for - olwm to work properly, the Xlib library (libX11) has to be - built with internationalization support. If this cannot be - done, config/XView.tmpl will have to be edited for the clients/olwm - build as follows. Change the line: - - XVCLIENTI18NDEFINES = -DOW_I18N_L4 -DOW_I18N_L3 -DOW_I18N -DFULL_R5 - - to - - XVCLIENTI18NDEFINES = -DOW_I18N_L3 -DOW_I18N -DFULL_R5 - - 3. Compiled versions of imake and makedepend must be found - in your $PATH. If you are building the fonts you'll - need the X11 font compilers in your path too. The fonts - are only needed if you are building for a Pre-R4 server. - - -Assuming R5 is installed in /foobar/R5, the X11 config directory is -in /foobar/R5/lib/X11, and compiled versions of imake and makedepend -should be found in /foobar/R5/bin. - -The XView release provides an additional set of rules and configuration -parameters that are necessary to build the release. These can be -found in ./config. Most notably is ./config/XView.cf which contains -XView specific build options. This file should be read before a build -is attempted. XView.cf, by default, is designed for building XView 3.2 -on Solaris 2.2. - -################ -NOTE (IMPORTANT) -################ -The default configuration will build XView with Asian locale support -(turned on by -DOW_I18N). This requires the presence of Sun private -header files (i.e. XSunExt.h) available only with Solaris 2.2. It is -included by the build via "-I$(OPENWINHOME)/include". -Therefore, the default configuration requires Solaris 2.2 to be -installed. If it is not installed, Asian locale support has to be turned -off by setting XvI18nLevel (in config/XView.cf) to 3. This has to be done -for builds done on SunOS 4.x as well. - -In the source release of XView 3.0, we used 'xstr' in shared library -builds. 'xstr' was used to extract string literals from the source which -was then put into an array which was indexed into instead of using the -string literal directly. We have removed this functionality for this -release. Most compilers already have options (-strconst, -xstrconst) -to insert string literals into the text segment instead of the data -segment. Building without xstr is also much faster. - -But, if your builds fail with: - - "GLOBAL_OFFSET_TABLE overflown" - -then, you should revert back to the old way of doing things, with 'xstr'. -This can be done as follows (in the config directory): - - a. mv XView.rules XView.rules.bak - b. cp XView.rules.xstr XView.rules - - -Here is what you need to do to build: - - 1. Set the environment variable IMAKEINCLUDE to point to both the - R5 config directory and the XView config directory. - Examples, first one for csh, second for sh: - - % setenv IMAKEINCLUDE -I`pwd`/config -I/foobar/R5/lib/X11/config - or - $ IMAKEINCLUDE="-I`pwd`/config -I/foobar/R5/lib/X11/config" - $ export IMAKEINCLUDE - - 2. Set the OSMajorVersion and OSMinorVersion variables in the - appropriate <X11>/config/*.cf files. - - 3. Double-check the parameters in <X11>/config/site.def. - - 4. Double-check the build options in ./config/XView.cf. - There are comments in this file to explain what each option - is for. Among other things, this is where you can define where you - want XView to be installed. - - 5. Type "imake -DUseInstalled -I<X11>/lib/X11/config -I./config" - Type make World >& make.world &" - (do not name the log file make.log or it will get deleted). - This will build libxview and libolgx. - - 6. Check the log file for any errors. The release should build - without any problems on sun4 with SunOS 4.x and sun4 with - SunOS 5.x. - - 7. As root, type "make install". See tail end of log file for - special directions for shared libraries, if used. - - 8. Type "make Clients >& make.clients &" - This will cause the programs in ./clients to be built. - - 9. Type "make Contrib >& make.contrib &" - This will cause the examples in ./contrib to be built. - - 10. Type "make 'SUBDIRS=clients contrib' install" - - 11. Type "make 'SUBDIRS=clients contrib' install.man" - - 12. Type "make 'SUBDIRS=clients contrib' install.srcs" - - 13. Documents, release notes, known bugs are in the doc directory. - Can install these with "make -k 'SUBDIRS=doc' install". - - 14. When done, can get rid of all compiled files and links used - during the build with: "make Clean" - -Building a lint library is not yet supported. - -Source Notes ------------- -This version of the XView source corresponds to that provided with -OpenWindows Version 3.2 from SunSoft Inc. Libraries generated with this -source should be interchangeable with those from the OpenWindows Version 3.2 -release. - - -Porting Notes -------------- -This release of XView has been tested extensively on two Sun -platforms, a SunOS 4.1.2 system and a SunOS 5.2 system. X11R5 was -build for the SunOS 5.2 system using the base MIT X11R5 source and -the R5.SunOS5.patch in the contrib directory on export.lcs.mit.edu. -While efforts have been made to keep the toolkit portable to other -platforms, you may encounter problems. Please inform us of the -porting problems you find. Send email to xviewbugs@Eng.Sun.COM -and we will attempt to evaluate the problem and possibly include -a fix in a future patch or release. - - -Build Environment Notes ------------------------ -The style of the build environment has been outlined by the X.V11 Release 5 -build environment from MIT. "Outlined" is used instead of "defined" since -there is no standard procedure for X software builds. The precedent is set -by the X Consortium for certain procedures and conventions; however, since -these conventions are neither reviewed nor documented, they cannot always -be followed. As much as possible, the conventions used in the X11R5 build -have been followed in the XView build. - -If you've not used imake before, there is a document which explains how -it works in doc/config/usenixws. The easiest way to think of it is creating a -Makefile description language with CPP macros. The order in which files -are included will define which CPP rules and variables are active. - -The configuration files specific to XView all begin with "XView." -The "XView.cf" file is one meant to easily choose certain build or -configuration options. The "XView.tmpl" file defines common configurations -for XView and is included by each Imakefile. All relevant variables -defined in the XView.tmpl file may be changed in the site.def file by -pre-defining the appropriate CPP variable. Both files are heavily -commented to explain what each option does. The other files, "XView.lib", -"XView.obj", and "XView.prog" are just a means of sharing common Imakefile -commands among many Imakefiles. The "XView.rules" file supplements the -"Imake.rules" file as supplied by X11R5. - - -Feedback --------- -While the XView team makes every effort to watch the ``net'' for questions -and problems with XView some messages may slip by. The xviewbugs@Eng.Sun.COM -alias has been created to provide a means for XView source product customers -to send input to the XView engineers. If you find problems or have -comments on XView, please forwarded them to this alias. We appreciate -any and all input. diff --git a/x11-toolkits/xview/pkg-plist b/x11-toolkits/xview/pkg-plist deleted file mode 100644 index 890079ea0beb..000000000000 --- a/x11-toolkits/xview/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -@cwd /usr/X11R6 -lib/X11/config/XView.cf -lib/X11/config/XView.lib -lib/X11/config/XView.obj -lib/X11/config/XView.rules -lib/X11/config/XView.tmpl |