--- a/open-src/app/Makefile Fri Apr 25 14:26:06 2008 -0700
+++ b/open-src/app/Makefile Fri Apr 25 14:26:06 2008 -0700
@@ -28,7 +28,7 @@
# or other dealings in this Software without prior written authorization
# of the copyright holder.
#
-# @(#)Makefile 1.39 08/03/25
+# @(#)Makefile 1.40 08/04/11
#
###############################################################################
@@ -61,6 +61,7 @@
xfd \
xfwp \
xgamma \
+ xgc \
xhost \
xkbcomp \
xkill \
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/app/xgc/COPYING Fri Apr 25 14:26:06 2008 -0700
@@ -0,0 +1,25 @@
+Copyright (c) 1991 X Consortium
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of the X Consortium shall
+not be used in advertising or otherwise to promote the sale, use or
+other dealings in this Software without prior written authorization
+from the X Consortium.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/app/xgc/Makefile Fri Apr 25 14:26:06 2008 -0700
@@ -0,0 +1,50 @@
+###############################################################################
+#
+# xgc 1.x Makefile
+#
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Use subject to license terms.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+# @(#)Makefile 1.1 08/04/11
+#
+
+# Package name used in tarballs
+APP_NAME=xgc
+
+# Version number (used in path names)
+APP_VERS=1.0.1
+
+# Patches to apply to source after unpacking, in order
+SOURCE_PATCHES = xgc-man.patch
+
+# Man pages to apply Sun footer to & attributes to list
+SUNTOUCHED_MANPAGES=*.man
+SUNTOUCH_MAN_FLAGS= \
+ -a '{Availability, SUNWxwdem} {Interface Stability, Committed}'
+
+include ../Makefile.inc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/app/xgc/xgc-man.patch Fri Apr 25 14:26:06 2008 -0700
@@ -0,0 +1,121 @@
+--- xgc.man Fri Apr 23 12:54:48 2004
++++ xgc.man Thu Apr 10 14:57:03 2008
+@@ -1,3 +1,4 @@
++'\" t
+ .\" $XConsortium: xgc.man,v 1.6 94/04/17 20:45:31 gildea Exp $
+ .\"
+ .\" $XFree86$
+@@ -12,8 +13,85 @@
+ The
+ .I xgc
+ program demonstrates various features of the X graphics primitives.
+-Try the buttons, see what they do; we haven't the time to document
+-them, perhaps you do?
++In X, most of the details about the graphics to be generated are
++stored in a resource called a graphics context (GC). The
++.B xgc
++program provides a user interface for setting various GC components.
++Pressing the "Run" button causes these results to be displayed in
++the large drawing window on the right. Timing information is
++displayed in the window immediately below.
++.PP
++The items in the upper left hand window work as follows:
++.PP
++.I Function
++\- specify the logical function with which primitives
++will drawn. The most usual setting is "set", i.e. simply to render
++pixels without regard to what has been drawn before.
++.PP
++.I LineStyle
++\- specify whether lines should be drawn solid in foreground,
++dashed in foreground or alternating foreground and background.
++.PP
++.I CapStyle
++\- specify the appearance of the ends of a line.
++.PP
++.I JoinStyle
++\- specify the appearance of joints between consecutive
++lines drawn within a single graphics primitive.
++.PP
++.I FillStyle
++\- specify whether lines, text and fill requests are
++solid, tiled with a pixmap or stippled.
++.PP
++.I FillRule
++\- specifies the rule used to fill polygons. The EvenOdd
++rule means that if areas overlap an odd number of times, they are not
++drawn. Winding rule means that overlapping areas are always filled,
++regardless of how many times they overlap.
++.PP
++.I ArcMode
++\- specifies the rule for filling of arcs. The boundary
++of the arc is either a Chord or two radii.
++.PP
++.I planemask
++\- specifies which planes of the drawing window are
++modified. By default, all planes are modified.
++.PP
++.I dashlist
++\- specifies a pattern to be used when drawing dashed lines.
++.PP
++.I Line Width
++\- specifies the width in pixels of lines to be drawn.
++Zero means to draw using the server's fastest algorithm with a line width of
++one pixel.
++.PP
++.I Font
++\- specifies the font to be used for text primitives.
++.PP
++.I Foreground
++and
++.I Background
++\- specify the pixel values to be
++applied when drawing primitives.
++The Foreground value is used as the
++pixel value for set bits in the source in all primitives.
++The Background value is used as the
++pixel value for unset bits in the source when using Copy Plane, drawing
++lines with LineStyle of DoubleDash and filling with FillStyle of
++OpaqueStippled.
++.PP
++.I Percentage of Test
++\- scrollbar permits specifying only
++a percentage of the test to be run. The number at the left indicates
++the current setting, which defaults to 100%.
++.sp
++The window labeled "Test" permits choice of one a number of graphics
++primitive tests, including Points, Segments, Lines, Arcs and Filled Arcs,
++8-bit Text and Image Text, Rectangles and Filled Rectangles, Image draws,
++as well as Copy Plane and Copy Area.
++.PP
++The window to the right of this has buttons which permit record/playback
++of the primitives rendered.
+ .SH OPTIONS
+ .I Xgc
+ accepts all of the standard X Toolkit command line options.
+@@ -31,8 +109,24 @@
+ .SH "SEE ALSO"
+ X(__miscmansuffix__)
+ .SH BUGS
+-This program isn't really finished yet.
++This program isn't really finished yet. In particular, buttons whose
++labels appear in parentheses indicate features which are not yet implemented.
+ .br
+ See \fIX(__miscmansuffix__)\fP for a full statement of rights and permissions.
+ .SH AUTHORS
+ Dan Schmidt, MIT
++
++.\" Begin Sun update
++.SH "ATTRIBUTES"
++See \fBattributes\fR(5) for descriptions of the following attributes:
++.sp
++.TS
++allbox;
++cw(2.750000i)| cw(2.750000i)
++lw(2.750000i)| lw(2.750000i).
++ATTRIBUTE TYPE ATTRIBUTE VALUE
++Availability SUNWxwplt
++Interface Stability Committed
++.TE
++.sp
++.\" End Sun update
--- a/packages/SUNWxwdem/copyright.add Fri Apr 25 14:26:06 2008 -0700
+++ b/packages/SUNWxwdem/copyright.add Fri Apr 25 14:26:06 2008 -0700
@@ -7,6 +7,12 @@
--------------------------------------------------------------------
+Files from the app/xgc package are covered by the following notice:
+
+include app/xgc/COPYING
+
+--------------------------------------------------------------------
+
Files from the app/xmag package are covered by the following notice:
include app/xmag/COPYING
--- a/packages/SUNWxwdem/prototype Fri Apr 25 14:26:06 2008 -0700
+++ b/packages/SUNWxwdem/prototype Fri Apr 25 14:26:06 2008 -0700
@@ -29,7 +29,7 @@
#
###########################################################################
#
-# @(#)prototype 35.19 08/03/07
+# @(#)prototype 35.20 08/04/11
#
# X Window System demo programs
@@ -55,7 +55,6 @@
f none openwin/demo/worm 0755 root bin
f none openwin/demo/xepsf 0755 root bin
f none openwin/demo/xeyes 0755 root bin
-f none openwin/demo/xgc 0755 root bin
f none openwin/demo/xmac 0755 root bin
f none openwin/demo/xmag_multivis 0755 root bin
f none openwin/demo/xscope 0755 root bin
@@ -70,3 +69,7 @@
# open-src/app/xev
f none X11/bin/xev 0755 root bin
s none openwin/demo/xev=../../X11/bin/xev
+
+# open-src/app/xgc
+f none X11/bin/xgc 0755 root bin
+s none openwin/demo/xgc=../../X11/bin/xgc
--- a/packages/SUNWxwman/copyright.add Fri Apr 25 14:26:06 2008 -0700
+++ b/packages/SUNWxwman/copyright.add Fri Apr 25 14:26:06 2008 -0700
@@ -139,6 +139,12 @@
--------------------------------------------------------------------
+Files from the app/xgc package are covered by the following notice:
+
+include app/xgc/COPYING
+
+--------------------------------------------------------------------
+
Files from the app/xhost package are covered by the following notice:
include app/xhost/COPYING
--- a/packages/SUNWxwman/prototype_com Fri Apr 25 14:26:06 2008 -0700
+++ b/packages/SUNWxwman/prototype_com Fri Apr 25 14:26:06 2008 -0700
@@ -26,7 +26,7 @@
# or other dealings in this Software without prior written authorization
# of the copyright holder.
#
-# ident "@(#)prototype_com 35.64 08/03/18 SMI"
+# ident "@(#)prototype_com 35.65 08/04/11 SMI"
#
# X Window System online user man pages
@@ -135,7 +135,6 @@
f none openwin/share/man/man6/xepsf.6 0444 root bin
f none openwin/share/man/man6/xev.6 0444 root bin
f none openwin/share/man/man6/xeyes.6 0444 root bin
-f none openwin/share/man/man6/xgc.6 0444 root bin
f none openwin/share/man/man6/xmac.6 0444 root bin
f none openwin/share/man/man6/xmag_multivis.6 0444 root bin
f none openwin/share/man/man6/xscope.6 0444 root bin
@@ -232,6 +231,9 @@
# open-src/app/xfwp
f none X11/share/man/man1/xfwp.1 0444 root bin
+# open-src/app/xgc
+f none X11/share/man/man1/xgc.1 0444 root bin
+
# open-src/app/xhost
f none X11/share/man/man1/xhost.1 0444 root bin