Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Apr 2002 18:34:59 +0800 (CST)
From:      Statue <statue@softwareliberty.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/37093: update port: chinese/qterm
Message-ID:  <20020415103459.6DF87754B@softwareliberty.org>

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

>Number:         37093
>Category:       ports
>Synopsis:       update port: chinese/qterm
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 15 03:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Statue
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
[MAINTAINER]
>Environment:
System: FreeBSD freebsd.sinica.edu.tw 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Oct 9 02:45:16 CST 2001 ycheng@freebsd.sinica.edu.tw:/usr/src/sys/compile/FREEBSD i386


	
>Description:
update to 0.1.4.
	
>How-To-Repeat:
	
>Fix:

diff -ruN qterm.ori/Makefile qterm/Makefile
--- qterm.ori/Makefile	Sun Feb 24 14:18:31 2002
+++ qterm/Makefile	Sat Mar 30 22:04:07 2002
@@ -6,17 +6,15 @@
 #
 
 PORTNAME=	qterm
-PORTVERSION=	0.1.3
+PORTVERSION=	0.1.4
 CATEGORIES=	chinese
-MASTER_SITES=	http://qterm.gnuchina.org/qterm-0.1.3/ \
+MASTER_SITES=	http://qterm.gnuchina.org/qterm-0.1.4/ \
 		ftp://freebsd.sinica.edu.tw/pub/statue/qterm/
-DISTNAME=	${PORTNAME}-${PORTVERSION}-1
 
 MAINTAINER=	statue@freebsd.sinica.edu.tw
 
 USE_QT_VER=	2
 USE_GMAKE=	yes
-
-WRKSRC=		${WRKDIR}/qterm-${PORTVERSION}/src
+HAS_CONFIGURE=	yes
 
 .include <bsd.port.mk>
diff -ruN qterm.ori/distinfo qterm/distinfo
--- qterm.ori/distinfo	Fri Nov  2 12:59:56 2001
+++ qterm/distinfo	Sat Mar 30 20:50:27 2002
@@ -1 +1 @@
-MD5 (qterm-0.1.3-1.tar.gz) = 7927d248104b65d0b07a4b5edd5ab5f8
+MD5 (qterm-0.1.4.tar.gz) = 92a415735b932c3248df0b27c4494792
diff -ruN qterm.ori/files/patch-Makefile qterm/files/patch-Makefile
--- qterm.ori/files/patch-Makefile	Sat Oct 27 14:02:28 2001
+++ qterm/files/patch-Makefile	Thu Jan  1 08:00:00 1970
@@ -1,19 +0,0 @@
---- Makefile.orig	Wed Sep  5 14:45:55 2001
-+++ Makefile	Thu Oct 25 12:11:14 2001
-@@ -11,12 +11,12 @@
- CXX	=	g++
- CFLAGS	=	-pipe -Wall -W -O2 -DNO_DEBUG
- CXXFLAGS=	-pipe -Wall -W -O2 -DNO_DEBUG
--INCPATH	=	-I$(QTDIR)/include
-+INCPATH	=	-I/usr/X11R6/include/qt2
- LINK	=	g++
- LFLAGS	=	
--LIBS	=	$(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm
--MOC	=	$(QTDIR)/bin/moc
--UIC	=	$(QTDIR)/bin/uic
-+LIBS	=	$(SUBLIBS) -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt2 -lXext -lX11 -lm
-+MOC	=	/usr/X11R6/bin/moc2
-+UIC	=	/usr/X11R6/bin/uic
- 
- TAR	=	tar -cf
- GZIP	=	gzip -9f
diff -ruN qterm.ori/files/patch-configure qterm/files/patch-configure
--- qterm.ori/files/patch-configure	Thu Jan  1 08:00:00 1970
+++ qterm/files/patch-configure	Sat Mar 30 21:04:17 2002
@@ -0,0 +1,32 @@
+--- configure.ori	Sat Mar 30 20:59:41 2002
++++ configure	Sat Mar 30 21:03:14 2002
+@@ -5564,7 +5564,7 @@
+   if test "x$kde_use_qt_emb" = "xyes"; then
+     qtlib="qte"
+   else
+-    qtlib="qt"
++    qtlib="qt2"
+   fi
+  
+   LIBQT="-l$qtlib"
+@@ -6003,16 +6003,16 @@
+ 	IFS=$kde_save_IFS
+ 
+         for dir in $dirs; do
+-	  if test -x "$dir/moc"; then
++	  if test -x "$dir/moc2"; then
+ 	    if test -n ""
+ 	    then
+-              evalstr="$dir/moc  2>&1 "
++              evalstr="$dir/moc2  2>&1 "
+ 	      if eval $evalstr; then
+-                kde_cv_path="$dir/moc"
++                kde_cv_path="$dir/moc2"
+                 break
+ 	      fi
+             else
+-		kde_cv_path="$dir/moc"
++		kde_cv_path="$dir/moc2"
+                 break
+ 	    fi
+           fi
diff -ruN qterm.ori/files/patch-qterm.cpp qterm/files/patch-qterm.cpp
--- qterm.ori/files/patch-qterm.cpp	Tue Feb 19 09:40:23 2002
+++ qterm/files/patch-qterm.cpp	Thu Jan  1 08:00:00 1970
@@ -1,22 +0,0 @@
---- qterm.cpp.orig	Thu Oct 25 22:28:43 2001
-+++ qterm.cpp	Tue Feb 19 09:37:37 2002
-@@ -340,8 +340,8 @@
- 			}
- 			else if(stat( strGlobal+"/qterm.cfg",&st)== 0)
- 			{
--				strCmd="/bin/cp"+strGlobal;
--				strCmd+="qterm.cfg ";
-+				strCmd="/bin/cp "+strGlobal;
-+				strCmd+="/qterm.cfg ";
- 				strCmd+=strMain;
- 			 if( system(strCmd)<0 )
- 			  {
-@@ -382,7 +382,7 @@
- 			else if(stat( strGlobal+"/pic",&st)== 0)
- 			{
- 				strCmd="/bin/cp -fr "+strGlobal;
--				strCmd+="/pic";
-+				strCmd+="/pic ";
- 				strCmd+=strMain;
- 			 if( system(strCmd)<0 )
- 			  {
diff -ruN qterm.ori/files/patch-qterm::Makefile.in qterm/files/patch-qterm::Makefile.in
--- qterm.ori/files/patch-qterm::Makefile.in	Thu Jan  1 08:00:00 1970
+++ qterm/files/patch-qterm::Makefile.in	Sat Mar 30 21:38:41 2002
@@ -0,0 +1,11 @@
+--- qterm/Makefile.in.ori	Sat Mar 30 21:38:05 2002
++++ qterm/Makefile.in	Sat Mar 30 21:38:11 2002
+@@ -142,7 +142,7 @@
+ LIB_KSPELL = @LIB_KSPELL@
+ LIB_KSYCOCA = @LIB_KSYCOCA@
+ LIB_KWRITE = @LIB_KWRITE@
+-LIB_QT = @LIB_QT@
++LIB_QT = -lqt2 @LIB_QT@
+ LIB_SMB = @LIB_SMB@
+ LIB_X11 = @LIB_X11@
+ LIB_XEXT = @LIB_XEXT@
diff -ruN qterm.ori/files/patch-qterm::qtermtelnet.h qterm/files/patch-qterm::qtermtelnet.h
--- qterm.ori/files/patch-qterm::qtermtelnet.h	Thu Jan  1 08:00:00 1970
+++ qterm/files/patch-qterm::qtermtelnet.h	Sat Mar 30 21:20:37 2002
@@ -0,0 +1,13 @@
+--- qterm/qtermtelnet.h.ori	Sat Mar 30 21:15:46 2002
++++ qterm/qtermtelnet.h	Sat Mar 30 21:18:47 2002
+@@ -8,8 +8,9 @@
+ 	#include <winsock2.h>
+ #else
+ 	#include <netdb.h>
+-	#include <sys/socket.h>
+ 	#include <sys/types.h>
++	#include <netinet/in.h>
++	#include <sys/socket.h>
+ 	#include <arpa/inet.h>
+ #endif
+ 
diff -ruN qterm.ori/pkg-plist qterm/pkg-plist
--- qterm.ori/pkg-plist	Sat Oct 27 14:02:26 2001
+++ qterm/pkg-plist	Sat Mar 30 21:44:25 2002
@@ -1,12 +1,12 @@
 bin/qterm
-lib/qterm/cursor/downArrow.bmp
-lib/qterm/cursor/leftArrow.bmp
-lib/qterm/cursor/m_downArrow.bmp
-lib/qterm/cursor/m_leftArrow.bmp
-lib/qterm/cursor/m_rightArrow.bmp
-lib/qterm/cursor/m_upArrow.bmp
-lib/qterm/cursor/rightArrow.bmp
-lib/qterm/cursor/upArrow.bmp
+lib/qterm/cursor/end.xpm
+lib/qterm/cursor/exit.xpm
+lib/qterm/cursor/home.xpm
+lib/qterm/cursor/mask.xpm
+lib/qterm/cursor/next.xpm
+lib/qterm/cursor/pagedown.xpm
+lib/qterm/cursor/pageup.xpm
+lib/qterm/cursor/prev.xpm
 lib/qterm/pic/addr.bmp
 lib/qterm/pic/anti.bmp
 lib/qterm/pic/beep.bmp
	


>Release-Note:
>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?20020415103459.6DF87754B>