From 7b804361b042acf5438f8b4b333139d0b29b0b2a Mon Sep 17 00:00:00 2001 From: Thomas Gellekum Date: Thu, 9 Apr 1998 08:13:33 +0000 Subject: Import libhelp port. libhelp is a hypertext help system for Motif applications. Call xmhelp for an example and introduction. Submitted by: Lars Koeller --- x11/libhelp/Makefile | 25 ++++++++++++++ x11/libhelp/distinfo | 1 + x11/libhelp/files/patch-aa | 48 +++++++++++++++++++++++++++ x11/libhelp/files/patch-ab | 15 +++++++++ x11/libhelp/files/patch-ac | 13 ++++++++ x11/libhelp/files/patch-ad | 31 ++++++++++++++++++ x11/libhelp/files/patch-ae | 16 +++++++++ x11/libhelp/files/patch-af | 15 +++++++++ x11/libhelp/files/patch-ag | 15 +++++++++ x11/libhelp/files/patch-ah | 13 ++++++++ x11/libhelp/files/patch-ai | 23 +++++++++++++ x11/libhelp/files/patch-aj | 20 +++++++++++ x11/libhelp/files/patch-ak | 41 +++++++++++++++++++++++ x11/libhelp/files/patch-al | 24 ++++++++++++++ x11/libhelp/files/patch-am | 22 +++++++++++++ x11/libhelp/pkg-comment | 1 + x11/libhelp/pkg-descr | 13 ++++++++ x11/libhelp/pkg-plist | 82 ++++++++++++++++++++++++++++++++++++++++++++++ 18 files changed, 418 insertions(+) create mode 100644 x11/libhelp/Makefile create mode 100644 x11/libhelp/distinfo create mode 100644 x11/libhelp/files/patch-aa create mode 100644 x11/libhelp/files/patch-ab create mode 100644 x11/libhelp/files/patch-ac create mode 100644 x11/libhelp/files/patch-ad create mode 100644 x11/libhelp/files/patch-ae create mode 100644 x11/libhelp/files/patch-af create mode 100644 x11/libhelp/files/patch-ag create mode 100644 x11/libhelp/files/patch-ah create mode 100644 x11/libhelp/files/patch-ai create mode 100644 x11/libhelp/files/patch-aj create mode 100644 x11/libhelp/files/patch-ak create mode 100644 x11/libhelp/files/patch-al create mode 100644 x11/libhelp/files/patch-am create mode 100644 x11/libhelp/pkg-comment create mode 100644 x11/libhelp/pkg-descr create mode 100644 x11/libhelp/pkg-plist (limited to 'x11/libhelp') diff --git a/x11/libhelp/Makefile b/x11/libhelp/Makefile new file mode 100644 index 000000000000..37630bba4b87 --- /dev/null +++ b/x11/libhelp/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: libhelp +# Version required: 1.8.1 +# Date created: 11 December 96 +# Whom: Lars Koeller +# +# $Id$ +# + +DISTNAME= libhelp-1.8.1 +CATEGORIES= x11 +MASTER_SITES= ftp://ftp.informatik.uni-stuttgart.de/pub/libhelp/ + +MAINTAINER= Lars.Koeller@Uni-Bielefeld.de + +REQUIRES_MOTIF= YES +USE_IMAKE= YES +NO_INSTALL_MANPAGES= YES + +post-install: + @${MKDIR} ${X11BASE}/lib/X11/xmhelp/pixmaps + ${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${X11BASE}/lib/X11/xmhelp/pixmaps + @${MKDIR} ${X11BASE}/lib/X11/xmhelp/help + ${INSTALL_DATA} ${WRKSRC}/help/* ${X11BASE}/lib/X11/xmhelp/help + +.include diff --git a/x11/libhelp/distinfo b/x11/libhelp/distinfo new file mode 100644 index 000000000000..0a37398b1e79 --- /dev/null +++ b/x11/libhelp/distinfo @@ -0,0 +1 @@ +MD5 (libhelp-1.8.1.tar.gz) = a8a460484b8fdeb67bbf6213472265fc diff --git a/x11/libhelp/files/patch-aa b/x11/libhelp/files/patch-aa new file mode 100644 index 000000000000..ae370adaf28c --- /dev/null +++ b/x11/libhelp/files/patch-aa @@ -0,0 +1,48 @@ +*** ../../../libhelp-1.8.1/Imakefile Tue Apr 4 17:21:02 1995 +--- Imakefile Mon Oct 20 22:13:28 1997 +*************** +*** 27,33 **** + XCOMM remove libhtmlw from LIBDIRS + XCOMM -------------------------------------------------------------------- + +! LIBDIRS = libhelp libButtFace libhtmlw + + XCOMM -------------------------------------------------------------------- + XCOMM Additional Definitions +--- 27,33 ---- + XCOMM remove libhtmlw from LIBDIRS + XCOMM -------------------------------------------------------------------- + +! LIBDIRS = libhelp libButtFace libhtmlw libhlpclient + + XCOMM -------------------------------------------------------------------- + XCOMM Additional Definitions +*************** +*** 36,42 **** + CC = gcc -ansi + COPT = -O2 + INCS = +! DEFS = + LIBS = + + #define IHaveSubdirs +--- 36,42 ---- + CC = gcc -ansi + COPT = -O2 + INCS = +! DEFS = -DHELP_PATH=\"$(X11BASE)/lib/X11/xmhelp/help:$(X11BASE)/lib/X11/xmhelp/pixmaps\" + LIBS = + + #define IHaveSubdirs +*************** +*** 52,60 **** + MakeSubdirs($(SUBDIRS)) + DependSubdirs($(SUBDIRS)) + CleanSubdirs($(SUBDIRS)) +- +- +- +- +- +- +--- 52,54 ---- diff --git a/x11/libhelp/files/patch-ab b/x11/libhelp/files/patch-ab new file mode 100644 index 000000000000..52cb4d5a1c51 --- /dev/null +++ b/x11/libhelp/files/patch-ab @@ -0,0 +1,15 @@ +diff -cb ../../../libhelp-1.8.1/libhelp/Imakefile libhelp/Imakefile +*** ../../../libhelp-1.8.1/libhelp/Imakefile Wed Jun 28 14:59:58 1995 +--- libhelp/Imakefile Mon Oct 20 21:25:05 1997 +*************** +*** 99,104 **** +--- 99,107 ---- + XCOMM libhelp.a + + NormalLibraryTarget($(LIBHELP),$(OBJS)) ++ InstallLibrary($(LIBHELP),$(USRLIBDIR)) ++ ++ InstallNonExecFile(help.h,$(INCDIR)) + + XCOMM thelp (only for testing, not distributed) + diff --git a/x11/libhelp/files/patch-ac b/x11/libhelp/files/patch-ac new file mode 100644 index 000000000000..43548d6af5e8 --- /dev/null +++ b/x11/libhelp/files/patch-ac @@ -0,0 +1,13 @@ +diff -cb ../../../libhelp-1.8.1/libButtFace/Center.c libButtFace/Center.c +*** ../../../libhelp-1.8.1/libButtFace/Center.c Fri Feb 24 13:28:28 1995 +--- libButtFace/Center.c Mon Oct 20 19:00:11 1997 +*************** +*** 31,36 **** +--- 31,37 ---- + */ + #include + #include ++ #include + #include "CenterP.h" + + diff --git a/x11/libhelp/files/patch-ad b/x11/libhelp/files/patch-ad new file mode 100644 index 000000000000..1e3f3048b2a8 --- /dev/null +++ b/x11/libhelp/files/patch-ad @@ -0,0 +1,31 @@ +diff -cb ../../../libhelp-1.8.1/libhtmlw/HTML-PSformat.c libhtmlw/HTML-PSformat.c +*** ../../../libhelp-1.8.1/libhtmlw/HTML-PSformat.c Mon Dec 26 12:15:57 1994 +--- libhtmlw/HTML-PSformat.c Mon Oct 20 19:00:12 1997 +*************** +*** 47,53 **** + #include + #include + #include +! #include + #include "HTMLP.h" + + /* Fix thanks to robm. */ +--- 47,57 ---- + #include + #include + #include +! #ifdef __FreeBSD__ +! # include +! #else +! # include +! #endif + #include "HTMLP.h" + + /* Fix thanks to robm. */ +*************** +*** 1507,1510 **** + + return( PS_string); + } +- +--- 1511,1513 ---- diff --git a/x11/libhelp/files/patch-ae b/x11/libhelp/files/patch-ae new file mode 100644 index 000000000000..bfd79f8ead3c --- /dev/null +++ b/x11/libhelp/files/patch-ae @@ -0,0 +1,16 @@ +diff -cb ../../../libhelp-1.8.1/libhlpclient/Imakefile libhlpclient/Imakefile +*** ../../../libhelp-1.8.1/libhlpclient/Imakefile Sat Jun 17 13:52:05 1995 +--- libhlpclient/Imakefile Mon Oct 20 21:18:41 1997 +*************** +*** 87,91 **** + SYSTEM_LIBS = $(SYSLIBS) $(ADDLIBS) + + NormalLibraryTarget($(LIBHELP),$(OBJS)) + NormalProgramTarget(chelp,$(TESTOBJ),$(HLIB),$(HELPLIBS),$(SYSTEM_LIBS)) +- +--- 87,91 ---- + SYSTEM_LIBS = $(SYSLIBS) $(ADDLIBS) + + NormalLibraryTarget($(LIBHELP),$(OBJS)) ++ InstallLibrary($(LIBHELP),$(USRLIBDIR)) + NormalProgramTarget(chelp,$(TESTOBJ),$(HLIB),$(HELPLIBS),$(SYSTEM_LIBS)) diff --git a/x11/libhelp/files/patch-af b/x11/libhelp/files/patch-af new file mode 100644 index 000000000000..6af616aab60f --- /dev/null +++ b/x11/libhelp/files/patch-af @@ -0,0 +1,15 @@ +diff -cb ../../../libhelp-1.8.1/libhelp/load.c libhelp/load.c +*** ../../../libhelp-1.8.1/libhelp/load.c Wed Jun 28 15:00:15 1995 +--- libhelp/load.c Mon Oct 20 19:00:11 1997 +*************** +*** 37,42 **** +--- 37,45 ---- + /*----------------------------------------------------------------------* + *g include section + **----------------------------------------------------------------------*/ ++ #ifdef __FreeBSD__ ++ #include ++ #endif __FreeBSD__ + #include + #include + #include diff --git a/x11/libhelp/files/patch-ag b/x11/libhelp/files/patch-ag new file mode 100644 index 000000000000..c3005674d9a9 --- /dev/null +++ b/x11/libhelp/files/patch-ag @@ -0,0 +1,15 @@ +diff -cb ../../../libhelp-1.8.1/libhelp/util.c libhelp/util.c +*** ../../../libhelp-1.8.1/libhelp/util.c Wed Jun 28 15:00:19 1995 +--- libhelp/util.c Mon Oct 20 19:00:11 1997 +*************** +*** 45,50 **** +--- 45,53 ---- + ** -------------------------------------------------------------------- */ + #include + #include ++ #ifdef __FreeBSD__ ++ #include ++ #endif __FreeBSD__ + #include + + #include "helpp.h" diff --git a/x11/libhelp/files/patch-ah b/x11/libhelp/files/patch-ah new file mode 100644 index 000000000000..0352c6524b7e --- /dev/null +++ b/x11/libhelp/files/patch-ah @@ -0,0 +1,13 @@ +diff -cb ../../../libhelp-1.8.1/libButtFace/Imakefile libButtFace/Imakefile +*** ../../../libhelp-1.8.1/libButtFace/Imakefile Sat May 27 13:07:41 1995 +--- libButtFace/Imakefile Mon Oct 20 21:17:29 1997 +*************** +*** 77,80 **** +--- 77,82 ---- + XCOMM -------------------------------------------------------------------- + + NormalLibraryTarget($(LIBHELP),$(OBJS)) ++ InstallLibrary($(LIBHELP),$(USRLIBDIR)) ++ + DependTarget() + diff --git a/x11/libhelp/files/patch-ai b/x11/libhelp/files/patch-ai new file mode 100644 index 000000000000..a2b2cb6e5719 --- /dev/null +++ b/x11/libhelp/files/patch-ai @@ -0,0 +1,23 @@ +diff -cb ../../../libhelp-1.8.1/libButtFace/resource.c libButtFace/resource.c +*** ../../../libhelp-1.8.1/libButtFace/resource.c Fri Feb 24 13:28:28 1995 +--- libButtFace/resource.c Mon Oct 20 19:00:11 1997 +*************** +*** 27,33 **** + */ + + #include +! #include + #include + #include + +--- 27,37 ---- + */ + + #include +! #ifdef __FreeBSD__ +! # include +! #else +! # include +! #endif + #include + #include diff --git a/x11/libhelp/files/patch-aj b/x11/libhelp/files/patch-aj new file mode 100644 index 000000000000..6412fa774fce --- /dev/null +++ b/x11/libhelp/files/patch-aj @@ -0,0 +1,20 @@ +diff -cb ../../../libhelp-1.8.1/libhtmlw/HTML.c libhtmlw/HTML.c +*** ../../../libhelp-1.8.1/libhtmlw/HTML.c Mon Dec 26 12:15:57 1994 +--- libhtmlw/HTML.c Mon Oct 20 19:00:12 1997 +*************** +*** 57,62 **** +--- 57,63 ---- + #ifdef MOTIF + #include + #include ++ #include + #else + #include "DrawingArea.h" + #include +*************** +*** 6109,6112 **** + return(-1); + } + } +- +--- 6112,6114 ---- diff --git a/x11/libhelp/files/patch-ak b/x11/libhelp/files/patch-ak new file mode 100644 index 000000000000..d76b9ad17676 --- /dev/null +++ b/x11/libhelp/files/patch-ak @@ -0,0 +1,41 @@ +diff -cb ../../../libhelp-1.8.1/libhtmlw/HTML.h libhtmlw/HTML.h +*** ../../../libhelp-1.8.1/libhtmlw/HTML.h Mon Dec 26 12:15:58 1994 +--- libhtmlw/HTML.h Mon Oct 20 19:00:12 1997 +*************** +*** 56,68 **** + #define HTML_H + + #ifdef MOTIF +! #include +! #if (XmVERSION == 1)&&(XmREVISION >= 2) +! #define MOTIF1_2 +! #endif + #else +! #include +! #include + #endif /* MOTIF */ + #include + +--- 56,70 ---- + #define HTML_H + + #ifdef MOTIF +! # include +! # if (XmVERSION == 1)&&(XmREVISION >= 2) +! # define MOTIF1_2 +! # elif (XmVERSION == 2) +! # define MOTIF2 +! # endif + #else +! # include +! # include + #endif /* MOTIF */ + #include + +*************** +*** 483,486 **** + + + #endif /* HTML_H */ +- +--- 485,487 ---- diff --git a/x11/libhelp/files/patch-al b/x11/libhelp/files/patch-al new file mode 100644 index 000000000000..de4f3b797056 --- /dev/null +++ b/x11/libhelp/files/patch-al @@ -0,0 +1,24 @@ +diff -cb ../../../libhelp-1.8.1/libhtmlw/HTMLP.h libhtmlw/HTMLP.h +*** ../../../libhelp-1.8.1/libhtmlw/HTMLP.h Mon Dec 26 12:15:58 1994 +--- libhtmlw/HTMLP.h Mon Oct 20 19:00:12 1997 +*************** +*** 59,67 **** + + #ifdef MOTIF + #include +! # ifdef MOTIF1_2 + # include +! # endif /* MOTIF1_2 */ + #else + #include + #include +--- 59,67 ---- + + #ifdef MOTIF + #include +! # if defined(MOTIF1_2) || defined(MOTIF2) + # include +! # endif /* MOTIF1_2 || MOTIF2*/ + #else + #include + #include diff --git a/x11/libhelp/files/patch-am b/x11/libhelp/files/patch-am new file mode 100644 index 000000000000..e2088e4401bd --- /dev/null +++ b/x11/libhelp/files/patch-am @@ -0,0 +1,22 @@ +diff -cb ../../../libhelp-1.8.1/libhtmlw/Imakefile libhtmlw/Imakefile +*** ../../../libhelp-1.8.1/libhtmlw/Imakefile Sat May 27 13:06:58 1995 +--- libhtmlw/Imakefile Mon Oct 20 21:18:03 1997 +*************** +*** 35,44 **** + HTMLlists.o HTMLparse.o HTMLwidgets.o + + NormalLibraryTarget(htmlw,$(OBJS)) +! DependTarget() +! +! +! +! +! + +--- 35,40 ---- + HTMLlists.o HTMLparse.o HTMLwidgets.o + + NormalLibraryTarget(htmlw,$(OBJS)) +! InstallLibrary(htmlw,$(USRLIBDIR)) + ++ DependTarget() diff --git a/x11/libhelp/pkg-comment b/x11/libhelp/pkg-comment new file mode 100644 index 000000000000..c821c630ec3d --- /dev/null +++ b/x11/libhelp/pkg-comment @@ -0,0 +1 @@ +A html based help system for osf/motif applications diff --git a/x11/libhelp/pkg-descr b/x11/libhelp/pkg-descr new file mode 100644 index 000000000000..f01cfca38186 --- /dev/null +++ b/x11/libhelp/pkg-descr @@ -0,0 +1,13 @@ +Libhelp is a comprehensive hypertext-help-system for OSF/Motif(tm) +applications which uses the html widget from NCSA Mosaic(tm) +version 2.4. The help browser provides hypertext links, different +fonts, inlined images and a lot of more elements known from www +(world wide web) browsers. It has a document history and +implements buffer and image cache methods. + +Libhelp provides two interface functions for getting help and +setting resources. It eases the task of writing the application +help. Menu and context sensitive help are supported. Lowlevel +Motif and X stuff is hidden from the application developer (and of +course the user too). Libhelp works with (at least) ansi-c and c++ +applications. diff --git a/x11/libhelp/pkg-plist b/x11/libhelp/pkg-plist new file mode 100644 index 000000000000..7ecfa93142df --- /dev/null +++ b/x11/libhelp/pkg-plist @@ -0,0 +1,82 @@ +lib/libhelp.a +include/help.h +lib/libButtFace.a +lib/libhtmlw.a +lib/libhlpclient.a +bin/xmhelp +lib/X11/xmhelp/pixmaps/backD.xpm +lib/X11/xmhelp/pixmaps/backU.xpm +lib/X11/xmhelp/pixmaps/dismissD.xpm +lib/X11/xmhelp/pixmaps/dismissU.xpm +lib/X11/xmhelp/pixmaps/downD.xpm +lib/X11/xmhelp/pixmaps/downU.xpm +lib/X11/xmhelp/pixmaps/historyD.xpm +lib/X11/xmhelp/pixmaps/historyU.xpm +lib/X11/xmhelp/pixmaps/indexD.xpm +lib/X11/xmhelp/pixmaps/indexU.xpm +lib/X11/xmhelp/pixmaps/libhelp_icon.xpm +lib/X11/xmhelp/pixmaps/upD.xpm +lib/X11/xmhelp/pixmaps/upU.xpm +@dirrm lib/X11/xmhelp/pixmaps +lib/X11/xmhelp/help/button-back.gif +lib/X11/xmhelp/help/button-dismiss.gif +lib/X11/xmhelp/help/button-down.gif +lib/X11/xmhelp/help/button-history.gif +lib/X11/xmhelp/help/button-index.gif +lib/X11/xmhelp/help/button-up.gif +lib/X11/xmhelp/help/gnu-copying.html +lib/X11/xmhelp/help/html-primer.html +lib/X11/xmhelp/help/html-reference.html +lib/X11/xmhelp/help/htmlwidget-func.html +lib/X11/xmhelp/help/htmlwidget-res.html +lib/X11/xmhelp/help/htmlwidget-tags.html +lib/X11/xmhelp/help/htmlwidget-types.html +lib/X11/xmhelp/help/htmlwidget.html +lib/X11/xmhelp/help/icon-dir.gif +lib/X11/xmhelp/help/icon-executable.gif +lib/X11/xmhelp/help/icon-gif.gif +lib/X11/xmhelp/help/icon-history.gif +lib/X11/xmhelp/help/icon-html.gif +lib/X11/xmhelp/help/icon-index.gif +lib/X11/xmhelp/help/icon-other.gif +lib/X11/xmhelp/help/icon-plain.gif +lib/X11/xmhelp/help/icon-subindex.gif +lib/X11/xmhelp/help/icon-warning.gif +lib/X11/xmhelp/help/libButtFace-copyright.html +lib/X11/xmhelp/help/libXpm-copyright.html +lib/X11/xmhelp/help/libhelp-about.html +lib/X11/xmhelp/help/libhelp-address.html +lib/X11/xmhelp/help/libhelp-atwork.gif +lib/X11/xmhelp/help/libhelp-bar.gif +lib/X11/xmhelp/help/libhelp-browser.html +lib/X11/xmhelp/help/libhelp-buttons.gif +lib/X11/xmhelp/help/libhelp-buttons.html +lib/X11/xmhelp/help/libhelp-context_example.html +lib/X11/xmhelp/help/libhelp-copyright.html +lib/X11/xmhelp/help/libhelp-example.html +lib/X11/xmhelp/help/libhelp-full_index.html +lib/X11/xmhelp/help/libhelp-html.html +lib/X11/xmhelp/help/libhelp-html_mode.html +lib/X11/xmhelp/help/libhelp-icon.gif +lib/X11/xmhelp/help/libhelp-index.html +lib/X11/xmhelp/help/libhelp-insensitive.gif +lib/X11/xmhelp/help/libhelp-install.html +lib/X11/xmhelp/help/libhelp-ipvr.gif +lib/X11/xmhelp/help/libhelp-ipvr.html +lib/X11/xmhelp/help/libhelp-iso-chars.html +lib/X11/xmhelp/help/libhelp-keys.html +lib/X11/xmhelp/help/libhelp-libhlpclient.html +lib/X11/xmhelp/help/libhelp-library.html +lib/X11/xmhelp/help/libhelp-link.gif +lib/X11/xmhelp/help/libhelp-resources.html +lib/X11/xmhelp/help/libhelp-search_path.html +lib/X11/xmhelp/help/libhelp-smiley.gif +lib/X11/xmhelp/help/libhelp-tharrer.html +lib/X11/xmhelp/help/libhelp-urls.html +lib/X11/xmhelp/help/libhelp-window.gif +lib/X11/xmhelp/help/libhelp-xmhelp.html +lib/X11/xmhelp/help/libhtmlw-copyright.html +lib/X11/xmhelp/help/url-primer.html +lib/X11/xmhelp/help/welcome.html +@dirrm lib/X11/xmhelp/help +@dirrm lib/X11/xmhelp -- cgit v1.2.3