Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Aug 1998 08:27:47 +0400 (MSD)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7485: New port: Xterminal-0.2
Message-ID:  <199808040427.IAA17614@icc.surw.chel.su>

next in thread | raw e-mail | index | archive | help

>Number:         7485
>Category:       ports
>Synopsis:       New port: Xterminal-0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug  3 21:30:00 PDT 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

>Description:

   This is a port of text-based Object Oriented User Interface library.
Xterminal is an Object Oriented User Interface with a client-server
architecture. The main purpose is a friendly interface for the UNIX
operating systems. It is designed to be used to build text-based 
applications in C++.
It consists in a complete object oriented library including multiple,
resizeable, overlapping windows, pull-down menus, dialog boxes, buttons,
scroll bars, input lines, check boxes, radio buttons, etc. Mouse support,
advanced object management, events handling, communications between
objects are provided, too, together with a complete programmer's manual.


# 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:
#
#	Xterminal-0.2
#	Xterminal-0.2/Makefile
#	Xterminal-0.2/files
#	Xterminal-0.2/files/md5
#	Xterminal-0.2/patches
#	Xterminal-0.2/patches/patch-aa
#	Xterminal-0.2/patches/patch-ac
#	Xterminal-0.2/patches/patch-ab
#	Xterminal-0.2/patches/patch-ad
#	Xterminal-0.2/pkg
#	Xterminal-0.2/pkg/PLIST
#	Xterminal-0.2/pkg/COMMENT
#	Xterminal-0.2/pkg/DESCR
#
echo c - Xterminal-0.2
mkdir -p Xterminal-0.2 > /dev/null 2>&1
echo x - Xterminal-0.2/Makefile
sed 's/^X//' >Xterminal-0.2/Makefile << 'END-of-Xterminal-0.2/Makefile'
X# New ports collection makefile for:	Xterminal
X# Version required:			0.2
X# Date created:				1 August 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=		Xterminal-0.2
XCATEGORIES=		devel
XMASTER_SITES=		http://www.arbornet.org:81/~dragos/Xterminal/ \
X			${MASTER_SITE_SUNSITE}
XMASTER_SITE_SUBDIR=	libs/ui
X
XMAINTAINER=		andy@icc.surw.chel.su
X
XLIB_DEPENDS=		ncurses\\.4\\.:${PORTSDIR}/devel/ncurses
X
XGNU_CONFIGURE=		yes
XUSE_GMAKE=		yes
X
Xdo-install:
X	@ ${INSTALL_DATA} ${WRKSRC}/libXterminal.so.0.2 ${PREFIX}/lib
X	@ ${MKDIR} ${PREFIX}/include/Xterminal
X	@ ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/Xterminal
X	@ ${MKDIR} ${PREFIX}/share/examples/Xterminal
X	@ ${INSTALL_DATA} ${WRKSRC}/example/*.cc ${PREFIX}/share/examples/Xterminal
X	@ ${INSTALL_DATA} ${WRKSRC}/example/Makefile ${PREFIX}/share/examples/Xterminal
X
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${PREFIX}/share/doc/Xterminal
X.for file in CREDITS LICENSE README doc/ChangeLog doc/Coding doc/TO-DO doc/objects.tree
X	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/Xterminal
X.endfor
X	@ ${MKDIR} ${PREFIX}/share/doc/Xterminal/html
X	@ cd ${WRKSRC}/doc/manual; tar -cf - . | ( cd ${PREFIX}/share/doc/Xterminal/html; tar -xf - )
X.endif
X
X.include <bsd.port.mk>
END-of-Xterminal-0.2/Makefile
echo c - Xterminal-0.2/files
mkdir -p Xterminal-0.2/files > /dev/null 2>&1
echo x - Xterminal-0.2/files/md5
sed 's/^X//' >Xterminal-0.2/files/md5 << 'END-of-Xterminal-0.2/files/md5'
XMD5 (Xterminal-0.2.tar.gz) = cdd6dcea72aae16334dfb2e0742acdbe
END-of-Xterminal-0.2/files/md5
echo c - Xterminal-0.2/patches
mkdir -p Xterminal-0.2/patches > /dev/null 2>&1
echo x - Xterminal-0.2/patches/patch-aa
sed 's/^X//' >Xterminal-0.2/patches/patch-aa << 'END-of-Xterminal-0.2/patches/patch-aa'
X--- configure	Sun Jun 14 13:22:07 1998
X+++ /home/andy/tmp/wrk/configure	Sat Aug  1 14:01:15 1998
X@@ -1068,7 +1068,7 @@
X EOF
X 
X     LIBS="-lncurses"
X-    INC="-I/usr/include/ncurses"
X+    INC="-I/usr/local/include/ncurses -I/usr/local/include"
X else
X   echo "$ac_t""no" 1>&6
X { echo "configure: error: This version of Xterminal requires the ncurses library" 1>&2; exit 1; }
END-of-Xterminal-0.2/patches/patch-aa
echo x - Xterminal-0.2/patches/patch-ac
sed 's/^X//' >Xterminal-0.2/patches/patch-ac << 'END-of-Xterminal-0.2/patches/patch-ac'
X--- src/Makefile.in	Sun Jun 14 13:37:53 1998
X+++ /home/andy/tmp/wrk/src/Makefile.in	Sun Aug  2 21:23:55 1998
X@@ -21,15 +21,15 @@
X .cc.o:
X 	@echo -n " "
X 	@echo -n $*
X-	$(CXX) $(INC) $(CXXFLAGS) -c $*.cc
X+	$(CXX) $(INC) $(CXXFLAGS) -fpic -DPIC -c $*.cc
X 
X all:
X 	@echo -n "Building library:"
X ifeq ($(Libraries),shared)
X-	@make -s shared
X+	@ $(MAKE) -s shared
X 	@echo "."
X else
X-	@make -s static
X+	@ $(MAKE) -s static
X endif
X 
X static: $(OBJECTS)
X@@ -60,7 +60,7 @@
X 	@echo " done."
X 
X distclean:
X-	@make -s clean
X+	@ $(MAKE) -s clean
X ifeq ($(Libraries),shared)
X 	@$(RM) ../$(SHAREDLIB)
X 	@$(RM) $(libdir)/$(SHAREDLIB)
END-of-Xterminal-0.2/patches/patch-ac
echo x - Xterminal-0.2/patches/patch-ab
sed 's/^X//' >Xterminal-0.2/patches/patch-ab << 'END-of-Xterminal-0.2/patches/patch-ab'
X--- example/Makefile.in	Thu Jul 16 17:01:51 1998
X+++ /home/andy/tmp/wrk/example/Makefile.in	Mon Aug  3 12:43:51 1998
X@@ -5,8 +5,8 @@
X 
X CXX       = @CXX@
X CXXFLAGS  = @CXXFLAGS@
X-LIBS      = -L.. -lXterminal @LIBS@
X-INC       = @INC@
X+LIBS      = -L/usr/local/lib -lXterminal @LIBS@
X+INC       = -I/usr/local/include/Xterminal -I/usr/local/include/ncurses -I/usr/local/include
X RM        = @RM@
X STRIP     = @STRIP@
X PROGS    := $(patsubst %.cc,%,$(wildcard *.cc))
X@@ -20,7 +20,7 @@
X 
X all:
X 	@echo -n "Building examples:"
X-	@make -s progs
X+	@$(MAKE) -s progs
X 	@echo "."
X 
X progs:	$(PROGS)
X@@ -32,5 +32,5 @@
X 	@echo " done."
X 
X distclean:
X-	@make -s clean
X+	@$(MAKE) -s clean
X 	@$(RM) Makefile
END-of-Xterminal-0.2/patches/patch-ab
echo x - Xterminal-0.2/patches/patch-ad
sed 's/^X//' >Xterminal-0.2/patches/patch-ad << 'END-of-Xterminal-0.2/patches/patch-ad'
X--- src/xtscreen.cc	Mon Jul 27 20:46:02 1998
X+++ /home/andy/tmp/wrk/src/xtscreen.cc	Mon Aug  3 12:05:39 1998
X@@ -26,7 +26,9 @@
X #include <stdarg.h>
X #include <unistd.h>
X #include <sys/ioctl.h>
X+#ifndef __FreeBSD__
X #include <sys/kd.h>
X+#endif
X 
X char FS_DEFAULT[9] = "+-+||+-+";
X 
X@@ -338,7 +340,9 @@
X   int _XtMouseHandler(Gpm_Event *__Ev, void *__Data);
X #endif
X   InputState = OutputState = State = 0;
X+#ifndef __FreeBSD__
X   SetState(TM_IS_CONSOLE, ioctl(0, KDGKBMETA, &i));
X+#endif
X // initialize the curses library
X   initscr();
X   start_color();
END-of-Xterminal-0.2/patches/patch-ad
echo c - Xterminal-0.2/pkg
mkdir -p Xterminal-0.2/pkg > /dev/null 2>&1
echo x - Xterminal-0.2/pkg/PLIST
sed 's/^X//' >Xterminal-0.2/pkg/PLIST << 'END-of-Xterminal-0.2/pkg/PLIST'
Xinclude/Xterminal/xbclass.h
Xinclude/Xterminal/xconfig.h
Xinclude/Xterminal/xconfig.h.in
Xinclude/Xterminal/xevent.h
Xinclude/Xterminal/xobject.h
Xinclude/Xterminal/xtapp.h
Xinclude/Xterminal/xtbar.h
Xinclude/Xterminal/xtbutton.h
Xinclude/Xterminal/xtdesktop.h
Xinclude/Xterminal/xtdialog.h
Xinclude/Xterminal/xterminal.h
Xinclude/Xterminal/xtfield.h
Xinclude/Xterminal/xtlib.h
Xinclude/Xterminal/xtlist.h
Xinclude/Xterminal/xtmenu.h
Xinclude/Xterminal/xtother.h
Xinclude/Xterminal/xtpassive.h
Xinclude/Xterminal/xtscreen.h
Xlib/libXterminal.so.0.2
X@exec /sbin/ldconfig -m %D/lib
X@unexec /sbin/ldconfig -m %D/lib
Xshare/doc/Xterminal/CREDITS
Xshare/doc/Xterminal/ChangeLog
Xshare/doc/Xterminal/Coding
Xshare/doc/Xterminal/LICENSE
Xshare/doc/Xterminal/README
Xshare/doc/Xterminal/TO-DO
Xshare/doc/Xterminal/objects.tree
Xshare/doc/Xterminal/html/XEvent.html
Xshare/doc/Xterminal/html/XEventBroker.html
Xshare/doc/Xterminal/html/XEventListener.html
Xshare/doc/Xterminal/html/XKeyboardEvent.html
Xshare/doc/Xterminal/html/XMessage.html
Xshare/doc/Xterminal/html/XMouseEvent.html
Xshare/doc/Xterminal/html/XObject.html
Xshare/doc/Xterminal/html/XObjectEventListener.html
Xshare/doc/Xterminal/html/XPoint.html
Xshare/doc/Xterminal/html/XRect.html
Xshare/doc/Xterminal/html/XTerminal.html
Xshare/doc/Xterminal/html/XtApplication.html
Xshare/doc/Xterminal/html/XtBackground.html
Xshare/doc/Xterminal/html/XtButton.html
Xshare/doc/Xterminal/html/XtCheckButton.html
Xshare/doc/Xterminal/html/XtDesktop.html
Xshare/doc/Xterminal/html/XtDialog.html
Xshare/doc/Xterminal/html/XtDialogBox.html
Xshare/doc/Xterminal/html/XtInputNumericField.html
Xshare/doc/Xterminal/html/XtInputStringField.html
Xshare/doc/Xterminal/html/XtList.html
Xshare/doc/Xterminal/html/XtMenu.html
Xshare/doc/Xterminal/html/XtProgressBar.html
Xshare/doc/Xterminal/html/XtRadioButton.html
Xshare/doc/Xterminal/html/XtScrollBar.html
Xshare/doc/Xterminal/html/XtStaticText.html
Xshare/doc/Xterminal/html/XtStatusLine.html
Xshare/doc/Xterminal/html/XtTextViewer.html
Xshare/doc/Xterminal/html/XtWindow.html
Xshare/doc/Xterminal/html/classes.html
Xshare/doc/Xterminal/html/coding.html
Xshare/doc/Xterminal/html/construct.gif
Xshare/doc/Xterminal/html/construct.html
Xshare/doc/Xterminal/html/down.gif
Xshare/doc/Xterminal/html/event_model.jpg
Xshare/doc/Xterminal/html/functions.html
Xshare/doc/Xterminal/html/hierarchy.html
Xshare/doc/Xterminal/html/icon1.gif
Xshare/doc/Xterminal/html/icon2.gif
Xshare/doc/Xterminal/html/index.html
Xshare/examples/Xterminal/Makefile
Xshare/examples/Xterminal/exapp.cc
Xshare/examples/Xterminal/exbar.cc
Xshare/examples/Xterminal/exdlg.cc
Xshare/examples/Xterminal/exevent.cc
Xshare/examples/Xterminal/exfreeapp.cc
Xshare/examples/Xterminal/exlist.cc
Xshare/examples/Xterminal/exmyapp.cc
Xshare/examples/Xterminal/exwin.cc
X@dirrm include/Xterminal
X@dirrm share/doc/Xterminal/html
X@dirrm share/doc/Xterminal
X@dirrm share/examples/Xterminal
END-of-Xterminal-0.2/pkg/PLIST
echo x - Xterminal-0.2/pkg/COMMENT
sed 's/^X//' >Xterminal-0.2/pkg/COMMENT << 'END-of-Xterminal-0.2/pkg/COMMENT'
XText-based Object Oriented User Interface library.
END-of-Xterminal-0.2/pkg/COMMENT
echo x - Xterminal-0.2/pkg/DESCR
sed 's/^X//' >Xterminal-0.2/pkg/DESCR << 'END-of-Xterminal-0.2/pkg/DESCR'
XXterminal is an Object Oriented User Interface with a client-server
Xarchitecture. The main purpose is a friendly interface for the UNIX
Xoperating systems. It is designed to be used to build text-based 
Xapplications in C++.
XIt consists in a complete object oriented library including multiple,
Xresizeable, overlapping windows, pull-down menus, dialog boxes, buttons,
Xscroll bars, input lines, check boxes, radio buttons, etc. Mouse support,
Xadvanced object management, events handling, communications between
Xobjects are provided, too, together with a complete programmer's manual.
X
Xhttp://www.arbornet.org:81/~dragos/Xterminal
END-of-Xterminal-0.2/pkg/DESCR
exit


>How-To-Repeat:

>Fix:

   Please, check and commit this port.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199808040427.IAA17614>