From andy@icc.surw.chel.su  Thu Dec  3 02:26:59 1998
Received: from icc.surw.chel.su (surw.chel.su [195.54.2.162])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA25688
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 3 Dec 1998 02:26:40 -0800 (PST)
          (envelope-from andy@icc.surw.chel.su)
Received: (from andy@localhost)
	by icc.surw.chel.su (8.8.8/8.8.8) id NAA14331;
	Thu, 3 Dec 1998 13:22:21 +0300 (MSK)
	(envelope-from andy)
Message-Id: <199812031022.NAA14331@icc.surw.chel.su>
Date: Thu, 3 Dec 1998 13:22:21 +0300 (MSK)
From: Andrey Zakhvatov <andy@icc.surw.chel.su>
Reply-To: andy@icc.surw.chel.su
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port: xg-1.0
X-Send-Pr-Version: 3.2

>Number:         8950
>Category:       ports
>Synopsis:       New port: xg-1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec  3 02:30:00 PST 1998
>Closed-Date:    Wed Dec 23 01:20:50 GMT 1998
>Last-Modified:  Tue Dec 22 17:21:19 PST 1998
>Originator:     Andrey Zakhvatov
>Release:        FreeBSD 2.2.7-RELEASE i386
>Organization:
South Ural Railway ICC
>Environment:

>Description:

   This is a port of xg-1.0, Windows-like widget set for Motif.

In the many years that I have been developing GUIs for UNIX, I have
always envied the controls that are commonly available for MS Windows
applications. In attempt to rectify this situation I designed the 
"Xg Widget Set". This widget set is an extension of the Motif widget
set and provides many of the controls found in MS Windows applications.
The widget set is self contained, as such it requires no additional
libraries other than X, Xt, and Motif (1.1, 1.2.x or 2.0).

Homepage: http://www.messners.com/xgwidgets/xgwidgets.html


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xg-1.0
#	xg-1.0/Makefile
#	xg-1.0/files
#	xg-1.0/files/md5
#	xg-1.0/patches
#	xg-1.0/patches/patch-ac
#	xg-1.0/patches/patch-ab
#	xg-1.0/patches/patch-aa
#	xg-1.0/pkg
#	xg-1.0/pkg/PLIST
#	xg-1.0/pkg/COMMENT
#	xg-1.0/pkg/DESCR
#
echo c - xg-1.0
mkdir -p xg-1.0 > /dev/null 2>&1
echo x - xg-1.0/Makefile
sed 's/^X//' >xg-1.0/Makefile << 'END-of-xg-1.0/Makefile'
X# New ports collection makefile for:	xg
X# Version required:			1.0
X# Date created:				3 December 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=	xg
XPKGNAME=	xg-1.0
XCATEGORIES=	x11-toolkits
XMASTER_SITES=	ftp://messners.com/code/ \
X		http://www.messners.com/code/
X
XMAINTAINER=	andy@icc.surw.chel.su
X
XREQUIRES_MOTIF=	yes
XUSE_X_PREFIX=	yes
XMAKEFILE=	makefile
XWRKSRC=		${WRKDIR}/Xg-1.0
X
Xdo-install:
X	@ ${INSTALL_DATA} ${WRKSRC}/src/libxg.a ${PREFIX}/lib
X	@ ${MKDIR} ${PREFIX}/include/xg
X	@ ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/xg
X	@ ${MKDIR} ${PREFIX}/share/examples/xg
X	@ ${INSTALL_DATA} ${WRKSRC}/testsrc/* ${PREFIX}/share/examples/xg
X	@ ${MV} ${PREFIX}/share/examples/xg/makefile ${PREFIX}/share/examples/xg/Makefile
X	@ ${RM} ${PREFIX}/share/examples/xg/makefile.orig
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${PREFIX}/share/doc/xg
X	@ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/xg
X	@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xg
X.endif
X
X.include <bsd.port.mk>
END-of-xg-1.0/Makefile
echo c - xg-1.0/files
mkdir -p xg-1.0/files > /dev/null 2>&1
echo x - xg-1.0/files/md5
sed 's/^X//' >xg-1.0/files/md5 << 'END-of-xg-1.0/files/md5'
XMD5 (xg.tar.gz) = c9b8045a2840ad1d317968b2e389836a
END-of-xg-1.0/files/md5
echo c - xg-1.0/patches
mkdir -p xg-1.0/patches > /dev/null 2>&1
echo x - xg-1.0/patches/patch-ac
sed 's/^X//' >xg-1.0/patches/patch-ac << 'END-of-xg-1.0/patches/patch-ac'
X--- testsrc/makefile	Fri Mar 14 22:50:16 1997
X+++ /home/andy/tmp/wrk/testsrc/makefile	Wed Dec  2 23:05:06 1998
X@@ -43,6 +43,9 @@
X 	  testrow.c testtb.c testte.c testtabs.c
X TESTPROGS = ${TESTCSRC:.c=}
X 
X+CFLAGS  = -I/usr/X11R6/include/xg -I/usr/X11R6/include
X+LDFLAGS = -L/usr/X11R6/lib -lXm -lXt -lXmu -lX11 -lxg
X+
X # ------------------------------------------------------------------------
X # miscellaneous macros
X #
END-of-xg-1.0/patches/patch-ac
echo x - xg-1.0/patches/patch-ab
sed 's/^X//' >xg-1.0/patches/patch-ab << 'END-of-xg-1.0/patches/patch-ab'
X--- src/TimeEntry.c	Fri Mar 14 21:50:04 1997
X+++ /home/andy/tmp/wrk/src/TimeEntry.c	Wed Dec  2 22:29:36 1998
X@@ -1549,7 +1549,9 @@
X {
X struct tm	ts;
X long		time_value;
X+#ifndef __FreeBSD__
X extern long timezone;
X+#endif
X 
X 	ts.tm_mon = te->timeentry.month_value - 1;
X 	ts.tm_mday = te->timeentry.day_value;
X@@ -1574,7 +1576,9 @@
X 	 */
X 	if ( te->timeentry.use_timezone == False )
X 	{
X+#ifndef __FreeBSD__
X 		time_value -= timezone;
X+#endif
X 
X 		/*
X 		 * Adjust for Daylight Savings Time
END-of-xg-1.0/patches/patch-ab
echo x - xg-1.0/patches/patch-aa
sed 's/^X//' >xg-1.0/patches/patch-aa << 'END-of-xg-1.0/patches/patch-aa'
X--- makefile	Sat Mar 15 00:36:20 1997
X+++ /home/andy/tmp/wrk/makefile	Wed Dec  2 22:28:41 1998
X@@ -51,8 +51,8 @@
X #      most systems don't need to do this, ie:. -I/usr/dt/include for
X #      Solaris
X #
X-MOTIF_INC =
X-CFLAGS    = "-DUSE_XM_MWMUTIL_H -DUSE_XGPM -I../include ${MOTIF_INC}"
X+MOTIF_INC = -I${X11BASE}/include -I${X11BASE}/include/X11
X+CFLAGS    = "-DUSE_XM_MWMUTIL_H -DUSE_XGPM -DV_USE_TM_ZONE -I../include ${MOTIF_INC}"
X 
X #
X # If your OS doesn't use ranlib set RANLIB to true
END-of-xg-1.0/patches/patch-aa
echo c - xg-1.0/pkg
mkdir -p xg-1.0/pkg > /dev/null 2>&1
echo x - xg-1.0/pkg/PLIST
sed 's/^X//' >xg-1.0/pkg/PLIST << 'END-of-xg-1.0/pkg/PLIST'
Xinclude/xg/ClockLabel.h
Xinclude/xg/ClockLabelP.h
Xinclude/xg/ComboBox.h
Xinclude/xg/ComboBoxP.h
Xinclude/xg/ExtPushB.h
Xinclude/xg/ExtPushBP.h
Xinclude/xg/FastLabel.h
Xinclude/xg/FastLabelP.h
Xinclude/xg/NumEntry.h
Xinclude/xg/NumEntryP.h
Xinclude/xg/Row.h
Xinclude/xg/RowP.h
Xinclude/xg/Tabs.h
Xinclude/xg/TabsP.h
Xinclude/xg/TimeEntry.h
Xinclude/xg/TimeEntryP.h
Xinclude/xg/ToolBar.h
Xinclude/xg/ToolBarP.h
Xinclude/xg/ToolPushB.h
Xinclude/xg/ToolPushBP.h
Xinclude/xg/XgUtils.h
Xinclude/xg/x_rotate.h
Xinclude/xg/xgpm.h
Xlib/libxg.a
Xshare/doc/xg/LICENSE
Xshare/doc/xg/README
Xshare/examples/xg/CancelPB.xpm
Xshare/examples/xg/HandSign.xpm
Xshare/examples/xg/HelpPB.xpm
Xshare/examples/xg/Makefile
Xshare/examples/xg/NoPB.xpm
Xshare/examples/xg/OkayPB.xpm
Xshare/examples/xg/YesPB.xpm
Xshare/examples/xg/testcb.c
Xshare/examples/xg/testcl.c
Xshare/examples/xg/testepb.c
Xshare/examples/xg/testfl.c
Xshare/examples/xg/testne.c
Xshare/examples/xg/testrow.c
Xshare/examples/xg/testtabs.c
Xshare/examples/xg/testtb.c
Xshare/examples/xg/testte.c
X@dirrm include/xg
X@dirrm share/doc/xg
X@dirrm share/examples/xg
END-of-xg-1.0/pkg/PLIST
echo x - xg-1.0/pkg/COMMENT
sed 's/^X//' >xg-1.0/pkg/COMMENT << 'END-of-xg-1.0/pkg/COMMENT'
XWindows(tm) controls - like widget set for Motif(tm).
END-of-xg-1.0/pkg/COMMENT
echo x - xg-1.0/pkg/DESCR
sed 's/^X//' >xg-1.0/pkg/DESCR << 'END-of-xg-1.0/pkg/DESCR'
XIn the many years that I have been developing GUIs for UNIX, I have
Xalways envied the controls that are commonly available for MS Windows
Xapplications. In attempt to rectify this situation I designed the 
X"Xg Widget Set". This widget set is an extension of the Motif widget
Xset and provides many of the controls found in MS Windows applications.
X
XThe widget set is self contained, as such it requires no additional
Xlibraries other than X, Xt, and Motif (1.1, 1.2.x or 2.0).
X
Xhttp://www.messners.com/xgwidgets/xgwidgets.html
END-of-xg-1.0/pkg/DESCR
exit


>How-To-Repeat:

>Fix:

   Please, check and commit this port.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: steve
State-Changed-When: Wed Dec 23 01:20:50 GMT 1998
State-Changed-Why: 
New port committed, thanks!
>Unformatted:
