diff options
author | perry <perry> | 1998-07-15 00:45:37 +0000 |
---|---|---|
committer | perry <perry> | 1998-07-15 00:45:37 +0000 |
commit | 35de8be63bf0d28457201b7d9ca6c27c269770c2 (patch) | |
tree | bba432aea99b71cab0b0d3e5446a682afa541544 /x11 | |
parent | e9fce1be0c0507d1e6fca64a72954abeb1282797 (diff) | |
download | pkgsrc-35de8be63bf0d28457201b7d9ca6c27c269770c2.tar.gz |
add xcolorsel: a color selection utility
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xcolorsel/Makefile | 15 | ||||
-rw-r--r-- | x11/xcolorsel/files/md5 | 1 | ||||
-rw-r--r-- | x11/xcolorsel/patches/patch-aa | 11 | ||||
-rw-r--r-- | x11/xcolorsel/pkg/COMMENT | 1 | ||||
-rw-r--r-- | x11/xcolorsel/pkg/DESCR | 11 | ||||
-rw-r--r-- | x11/xcolorsel/pkg/PLIST | 6 |
6 files changed, 45 insertions, 0 deletions
diff --git a/x11/xcolorsel/Makefile b/x11/xcolorsel/Makefile new file mode 100644 index 00000000000..11e13c6e641 --- /dev/null +++ b/x11/xcolorsel/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1 1998/07/15 00:45:37 perry Exp $ +# + +DISTNAME= xcolorsel-1.1a-src +PKGNAME= xcolorsel-1.1a +CATEGORIES= x11 +MASTER_SITES= ${MASTER_SITE_XCONTRIB} +MASTER_SITE_SUBDIR= utilities + +MAINTAINER= perry@netbsd.org + +WRKSRC= ${WRKDIR}/xcolorsel +USE_IMAKE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/x11/xcolorsel/files/md5 b/x11/xcolorsel/files/md5 new file mode 100644 index 00000000000..b4af384b1d7 --- /dev/null +++ b/x11/xcolorsel/files/md5 @@ -0,0 +1 @@ +MD5 (xcolorsel-1.1a-src.tar.gz) = b802c50bf32ea8909827d373c5bfbb8f diff --git a/x11/xcolorsel/patches/patch-aa b/x11/xcolorsel/patches/patch-aa new file mode 100644 index 00000000000..29e89cf8132 --- /dev/null +++ b/x11/xcolorsel/patches/patch-aa @@ -0,0 +1,11 @@ +--- RgbText.c.orig Tue Jul 14 20:16:24 1998 ++++ RgbText.c Tue Jul 14 20:16:56 1998 +@@ -146,7 +146,7 @@ + { XtNcolumns, XtCColumns, XtRDimension, sizeof(Dimension), offset(columns), + XtRString, (XtPointer) "30" }, + { XtNfile, XtCFile, XtRString, sizeof(String), offset(file), +- XtRString, (XtPointer) "/usr/lib/X11/rgb.txt" }, ++ XtRString, (XtPointer) "/usr/X11R6/lib/X11/rgb.txt" }, + { XtNtileWidth, XtCTileWidth, XtRDimension, sizeof(Dimension), offset(tile_width), + XtRString, (XtPointer) "3" }, + { XtNmaxRed, XtCMaxRed, XtRShort, sizeof(unsigned short), offset(max_red), diff --git a/x11/xcolorsel/pkg/COMMENT b/x11/xcolorsel/pkg/COMMENT new file mode 100644 index 00000000000..852971740f5 --- /dev/null +++ b/x11/xcolorsel/pkg/COMMENT @@ -0,0 +1 @@ +Allows you to browse and select named X colors from rgb.txt diff --git a/x11/xcolorsel/pkg/DESCR b/x11/xcolorsel/pkg/DESCR new file mode 100644 index 00000000000..361742ac0f8 --- /dev/null +++ b/x11/xcolorsel/pkg/DESCR @@ -0,0 +1,11 @@ +This utility displays the contents of the rgb.txt file (usually found +as /usr/X11R6/lib/X11/rgb.txt) or a file with this format specified as +the optional [RgbTxtFile] parameter. Each line of this file consists +of 3 integers (usu ally 0-255) representing the RGB values and a +nickname for this color separated by spaces. The RGB values can be +displayed in every color representation X11R5/6 supports. Also it is +possible to show the values in either resource definition or +C-style. An additional option to display the RGB values the current +server would be able to actu ally display is also implemented. The +main feature of Xcolorsel is that a small example tile of each color +is also shown. diff --git a/x11/xcolorsel/pkg/PLIST b/x11/xcolorsel/pkg/PLIST new file mode 100644 index 00000000000..31035531156 --- /dev/null +++ b/x11/xcolorsel/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1 1998/07/15 00:45:38 perry Exp $ +bin/xcolorsel +lib/X11/app-defaults/Xcolorsel +lib/X11/app-defaults/Xcolorsel-color +lib/X11/xcolorsel/Xcolorsel.help +man/cat1/xcolorsel.0 |