From d01b5f56508e2f1ab5020826a012ac8f370f3358 Mon Sep 17 00:00:00 2001 From: James Raynard Date: Sun, 4 Jan 1998 22:31:26 +0000 Subject: The xview "props" program. It allows users to interactively customise workspace properties such as colours, icon placement, menus etc. --- x11/props/Makefile | 25 +++++++++++++++++++++++++ x11/props/distinfo | 1 + x11/props/files/patch-aa | 12 ++++++++++++ x11/props/files/patch-ab | 22 ++++++++++++++++++++++ x11/props/files/patch-ac | 11 +++++++++++ x11/props/pkg-comment | 1 + x11/props/pkg-descr | 3 +++ x11/props/pkg-plist | 7 +++++++ 8 files changed, 82 insertions(+) create mode 100644 x11/props/Makefile create mode 100644 x11/props/distinfo create mode 100644 x11/props/files/patch-aa create mode 100644 x11/props/files/patch-ab create mode 100644 x11/props/files/patch-ac create mode 100644 x11/props/pkg-comment create mode 100644 x11/props/pkg-descr create mode 100644 x11/props/pkg-plist diff --git a/x11/props/Makefile b/x11/props/Makefile new file mode 100644 index 000000000000..7d148716ac35 --- /dev/null +++ b/x11/props/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: props +# Version required: 1.0 +# Date created: 3 January 1998 +# Whom: jraynard +# +# $Id$ +# + +DISTNAME= props-1.0 +CATEGORIES= x11 +MASTER_SITES= http://www.freebsd.org/~jraynard/ports/distfiles/ + +MAINTAINER= jraynard@@freebsd.org + +WRKSRC= ${WRKDIR}/props + +LIB_DEPENDS= xview\\.3\\.:${PORTSDIR}/x11/xview-lib + +USE_IMAKE= yes + +post-install: + ${MKDIR} ${X11BASE}/lib/X11/locale/C/props; \ + ${INSTALL_DATA} ${WRKSRC}/C/* ${X11BASE}/lib/X11/locale/C/props + +.include diff --git a/x11/props/distinfo b/x11/props/distinfo new file mode 100644 index 000000000000..c0b601b1f5b5 --- /dev/null +++ b/x11/props/distinfo @@ -0,0 +1 @@ +MD5 (props-1.0.tar.gz) = 5101b277c26dcfc368b23f65c79c6fc7 diff --git a/x11/props/files/patch-aa b/x11/props/files/patch-aa new file mode 100644 index 000000000000..fe1c81f27fd8 --- /dev/null +++ b/x11/props/files/patch-aa @@ -0,0 +1,12 @@ +--- l10n_props.h.orig Tue Nov 4 20:36:07 1997 ++++ l10n_props.h Tue Nov 4 20:36:31 1997 +@@ -13,6 +13,9 @@ + */ + #define LOCALE_NAME_LEN 20 + ++#ifndef LC_MESSAGES ++#define LC_MESSAGES 0 ++#endif + + typedef struct _l10n_config_list_item { + /* diff --git a/x11/props/files/patch-ab b/x11/props/files/patch-ab new file mode 100644 index 000000000000..0aa5f8385e69 --- /dev/null +++ b/x11/props/files/patch-ab @@ -0,0 +1,22 @@ +--- l10n_read.c.orig Sat Nov 8 01:21:25 1997 ++++ l10n_read.c Sun Nov 9 01:44:10 1997 +@@ -18,7 +18,7 @@ + #include "l10n_props.h" + + +-#define MAX_LINE_LENGTH 256 ++#define MAX_LINE_LENGTH 2560 + + #define NAME_SEPARATOR '=' + #define FIELD_SEPARATOR '|' +@@ -72,8 +72,9 @@ + /* + * Find path for localization configuration files under + * $OPENWINHOME/share/locale//props ++ * $OPENWINHOME/lib/X11/locale//props + */ +- sprintf(fullpath, "%s/share/locale/%s/props/%s", ++ sprintf(fullpath, "%s/lib/X11/locale/%s/props/%s", + getenv("OPENWINHOME"), locale, file_name); + + if ((config_file = fopen(fullpath, "r")) == NULL) diff --git a/x11/props/files/patch-ac b/x11/props/files/patch-ac new file mode 100644 index 000000000000..686095e402c9 --- /dev/null +++ b/x11/props/files/patch-ac @@ -0,0 +1,11 @@ +--- props.c.orig Sun Nov 9 01:18:50 1997 ++++ props.c Sun Nov 9 01:24:50 1997 +@@ -816,7 +816,7 @@ + else + { + strcpy(localepath, openwin_dir); +- strcat(localepath, "/lib/locale/"); ++ strcat(localepath, "/lib/X11/locale/C/"); + bindtextdomain("props", localepath); + } + diff --git a/x11/props/pkg-comment b/x11/props/pkg-comment new file mode 100644 index 000000000000..d3dc43bd02d8 --- /dev/null +++ b/x11/props/pkg-comment @@ -0,0 +1 @@ +The OpenLook props application. diff --git a/x11/props/pkg-descr b/x11/props/pkg-descr new file mode 100644 index 000000000000..16f6f6214f7a --- /dev/null +++ b/x11/props/pkg-descr @@ -0,0 +1,3 @@ +The XView properties editor allows the user to customise and +configure many workspace properties (colour, icons, menus, +mouse and localisation). diff --git a/x11/props/pkg-plist b/x11/props/pkg-plist new file mode 100644 index 000000000000..81d2003ccb36 --- /dev/null +++ b/x11/props/pkg-plist @@ -0,0 +1,7 @@ +bin/props +lib/X11/locale/C/props/C +lib/X11/locale/C/props/basic_setting +lib/X11/locale/C/props/en_AU +lib/X11/locale/C/props/en_CA +lib/X11/locale/C/props/en_UK +lib/X11/locale/C/props/en_US -- cgit v1.2.3