Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 2001 23:16:38 +0800 (CST)
From:      frankch@waru.life.nthu.edu.tw
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24870: update ports/chinese/rxvt to 2.7.5
Message-ID:  <200102051516.f15FGcm15177@beta.life.nthu.edu.tw>

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

>Number:         24870
>Category:       ports
>Synopsis:       Update ports/chinese/rxvt to the latest version
>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 Feb 05 07:20:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Chen Hsiung Chan
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:

	
FreeBSD beta.life.nthu.edu.tw 4.2-STABLE FreeBSD 4.2-STABLE #0: Mon Feb  5 06:01:18 CST 2001     root@:/usr/src/sys/compile/meditation  i386

>Description:

	
	Update ports/chinese/rxvt to the latest version.
	Also change maintainer to keichii@iteration.net

>How-To-Repeat:

	

>Fix:

	
	Please apply the following patch.

	NOTE: two empty patch file patch-aa, patch-ab will be produced,
	      please remove them.


diff -ruN rxvt.orig/Makefile rxvt/Makefile
--- rxvt.orig/Makefile	Mon Feb  5 11:28:45 2001
+++ rxvt/Makefile	Mon Feb  5 22:52:35 2001
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	rxvt
-PORTVERSION=	2.7.3
-PORTREVISION=	1
+PORTVERSION=	2.7.5
 CATEGORIES=	chinese x11
 MASTER_SITES=	ftp://ftp.rxvt.org/pub/rxvt/ \
 		ftp://mason.primenet.com.au/pub/rxvt/ \
@@ -17,11 +16,7 @@
 MASTER_SITE_SUBDIR= X11/terms
 DISTNAME=	rxvt-${PORTVERSION}
 
-PATCH_SITES=	${MASTER_SITES}
-PATCHFILES=	rxvt-2.7.3.patch1.gz
-PATCH_DIST_STRIP+=	-p1
-
-MAINTAINER=	frankch@waru.life.nthu.edu.tw
+MAINTAINER=	keichii@iteration.net
 
 USE_X_PREFIX=	yes
 USE_XPM=	yes
@@ -29,8 +24,14 @@
 USE_BZIP2=	yes
 CONFIGURE_ARGS= --enable-xpm-background --enable-transparency \
 		--enable-menubar --enable-graphics --enable-xim \
-		--enable-languages --with-encoding=big5
+		--disable-backspace-key --disable-delete-key \
+		--enable-rxvt-scroll --enable-next-scroll \
+		--enable-languages --with-encoding=big5 \
+		--enable-utmp --enable-wtmp
 
 MAN1=		crxvt.1
+
+post-install:
+	@${CHMOD} 4711 ${PREFIX}/bin/crxvt
 
 .include <bsd.port.mk>
diff -ruN rxvt.orig/distinfo rxvt/distinfo
--- rxvt.orig/distinfo	Mon Feb  5 11:28:45 2001
+++ rxvt/distinfo	Mon Feb  5 11:31:08 2001
@@ -1,2 +1 @@
-MD5 (rxvt-2.7.3.tar.bz2) = 4f22d749152ba717c5b716df43801800
-MD5 (rxvt-2.7.3.patch1.gz) = 348fca4eb5e7bc41d070745e3655d184
+MD5 (rxvt-2.7.5.tar.bz2) = dd9d2b6c3887c674f484c480d4419a19
diff -ruN rxvt.orig/files/patch-Makefile.in rxvt/files/patch-Makefile.in
--- rxvt.orig/files/patch-Makefile.in	Thu Jan  1 08:00:00 1970
+++ rxvt/files/patch-Makefile.in	Mon Feb  5 22:43:35 2001
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	Mon Feb  5 22:39:51 2001
++++ Makefile.in	Mon Feb  5 22:40:19 2001
+@@ -9,7 +9,7 @@
+ first_rule: all
+ dummy:
+ 
+-subdirs = src doc rclock src/graphics src/test
++subdirs = src doc src/graphics
+ 
+ DIST =	INSTALL README.configure configure Makefile Makefile.in ChangeLog
+ 
diff -ruN rxvt.orig/files/patch-aa rxvt/files/patch-aa
--- rxvt.orig/files/patch-aa	Mon Feb  5 11:28:45 2001
+++ rxvt/files/patch-aa	Thu Jan  1 08:00:00 1970
@@ -1,52 +0,0 @@
---- Makefile.in.orig	Mon Mar 27 19:38:42 2000
-+++ Makefile.in	Mon Mar 27 19:39:21 2000
-@@ -9,7 +9,7 @@
- first_rule: all
- dummy:
- 
--subdirs = src doc rclock src/graphics src/test
-+subdirs = src doc src/graphics
- 
- DIST =	INSTALL README.configure configure Makefile Makefile.in ChangeLog
- 
---- doc/Makefile.in.orig	Mon Mar 27 19:39:40 2000
-+++ doc/Makefile.in	Mon Mar 27 19:44:16 2000
-@@ -40,9 +40,6 @@
- 
- all:	rxvt.1
- 
--rxvt.1: rxvt.tbl Makefile
--	@if test x$(TBL) = x; then : ; else echo "$(TBL) $(srcdir)/rxvt.tbl | grep -v '^.lf' > rxvt.1"; $(TBL) $(srcdir)/rxvt.tbl | grep -v '^.lf' > rxvt.1 ; fi
--
- SEDREPLACE = -e 's%@RXVT_VERSION@%$(VERSION)%g;'\
- 	     -e 's%@RXVT_LSMDATE@%$(LSMDATE)%g;'\
- 	     -e 's%@RXVT_DATE@%$(DATE)%g;'\
-@@ -56,7 +53,7 @@
- 
- tags allbin:
- 
--alldoc:	$(basedir)/$(VERNAME).lsm rxvt.1 rxvt.html rxvtRef.html rxvtRef.txt
-+alldoc:	rxvt.1
- 
- yodl/versioninfo.yo: yodl/versioninfo.yo.in ../src/version.h
- 	$(SED) $(SEDREPLACE) < $(srcdir)/yodl/versioninfo.yo.in > $@
-@@ -85,7 +82,7 @@
- distclean:
- 
- install:
--	$(INSTALL_DATA) rxvt.1 $(DESTDIR)$(mandir)/$(RXVTNAME).$(manext)
-+	$(INSTALL_DATA) rxvt.1 $(PREFIX)/man/man1/crxvt.1
- 
- uninstall:
- 	-(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) )
---- src/Makefile.in.orig	Mon Mar 27 19:41:21 2000
-+++ src/Makefile.in	Mon Mar 27 19:41:38 2000
-@@ -98,7 +98,7 @@
- 	(cd $(srcdir); $(RMF) Makefile)
- 
- install: allbin alldoc
--	$(INSTALL_PROGRAM) rxvt $(DESTDIR)$(bindir)/$(RXVTNAME)
-+	$(INSTALL_PROGRAM) rxvt $(PREFIX)/bin/crxvt
- 
- uninstall:
- 	-(cd $(bindir); $(RMF) $(RXVTNAME) )
diff -ruN rxvt.orig/files/patch-ab rxvt/files/patch-ab
--- rxvt.orig/files/patch-ab	Mon Feb  5 11:28:45 2001
+++ rxvt/files/patch-ab	Thu Jan  1 08:00:00 1970
@@ -1,157 +0,0 @@
---- src/init.c.orig	Mon Mar 27 19:50:56 2000
-+++ src/init.c	Mon Mar 27 19:51:44 2000
-@@ -866,6 +866,16 @@
- 			       GCForeground | GCBackground |
- 			       GCFont | GCGraphicsExposures,
- 			       &gcvalue);
-+#ifdef FIX_ALIGNMENT
-+	TermWin.ngc = TermWin.gc;
-+#ifdef MULTICHAR_SET
-+	gcvalue.font = TermWin.mfont->fid;
-+	TermWin.mgc = XCreateGC(Xdisplay, TermWin.vt,
-+					GCForeground | GCBackground |
-+					GCFont | GCGraphicsExposures,
-+					&gcvalue);
-+#endif
-+#endif
-     }
- }
- /*----------------------------------------------------------------------*/
---- src/main.c.orig	Mon Mar 27 19:53:37 2000
-+++ src/main.c	Mon Mar 27 19:54:04 2000
-@@ -546,7 +546,11 @@
- 
- /* alter existing GC */
-     if (!init) {
-+#ifdef FIX_ALIGNMENT
-+	XSetFont(Xdisplay, TermWin.ngc, TermWin.font->fid);
-+#else
- 	XSetFont(Xdisplay, TermWin.gc, TermWin.font->fid);
-+#endif
- 	menubar_expose();
-     }
- 
---- src/rxvt.h.orig	Mon Mar 27 19:54:20 2000
-+++ src/rxvt.h	Mon Mar 27 19:55:36 2000
-@@ -172,12 +172,19 @@
-     Window          parent[KNOW_PARENTS], /* parent[0] is our window        */
- 		    vt;		/* vt100 window                             */
-     GC              gc;		/* GC for drawing text                      */
-+#ifdef FIX_ALIGNMENT
-+    GC              ngc;
-+    int             vascent;
-+#endif
-     XFontStruct    *font;	/* main font structure                      */
- #ifndef NO_BOLDFONT
-     XFontStruct    *boldFont;	/* bold font                                */
- #endif
- #ifdef MULTICHAR_SET
-     XFontStruct    *mfont;	/* Multichar font structure                 */
-+#endif
-+#ifdef FIX_ALIGNMENT
-+	GC              mgc;
- #endif
-     XFontSet        fontset;
- #ifdef XPM_BACKGROUND
---- src/screen.c.orig	Mon Mar 27 19:56:10 2000
-+++ src/screen.c	Mon Mar 27 20:00:03 2000
-@@ -2162,7 +2162,12 @@
-  * always go back to the base font - it's much safer
-  */
-     wbyte = 0;
--    XSetFont(Xdisplay, TermWin.gc, TermWin.font->fid);
-+#ifdef FIX_ALIGNMENT
-+	TermWin.gc = TermWin.ngc;
-+	TermWin.vascent = TermWin.font->ascent;
-+#else
-+	XSetFont(Xdisplay, TermWin.gc, TermWin.font->fid);
-+#endif
-     draw_string = XDrawString;
-     draw_image_string = XDrawImageString;
-     clearfirst = clearlast = 0;
-@@ -2371,7 +2376,11 @@
- 	    len = 0;
- 	    buffer[len++] = stp[col];
- 	    ypixelc = Row2Pixel(row);
-+#ifdef FIX_ALIGNMENT
-+		ypixel = ypixelc + TermWin.vascent;
-+#else
- 	    ypixel = ypixelc + TermWin.font->ascent;
-+#endif
- 	    xpixel = Col2Pixel(col);
- 	    fontdiff = 0;
- 	    wlen = 1;
-@@ -2392,7 +2401,13 @@
- 		fprop = TermWin.mprop;
- 		if (!wbyte && TermWin.mfont) {
- 		    wbyte = 1;
-+#ifdef FIX_ALIGNMENT
-+			TermWin.gc = TermWin.mgc;
-+			ypixel += TermWin.mfont->ascent - TermWin.vascent;
-+			TermWin.vascent = TermWin.mfont->ascent;
-+#else
- 		    XSetFont(Xdisplay, TermWin.gc, TermWin.mfont->fid);
-+#endif
- 		    fontdiff = TermWin.mprop;
- 		    draw_string = XDrawString16;
- 		    draw_image_string = XDrawImageString16;
-@@ -2439,7 +2454,13 @@
- 		}
- 		if (wbyte) {
- 		    wbyte = 0;
-+#ifdef FIX_ALIGNMENT
-+			TermWin.gc = TermWin.ngc;
-+			ypixel += TermWin.font->ascent - TermWin.vascent;
-+			TermWin.vascent = TermWin.font->ascent;
-+#else
- 		    XSetFont(Xdisplay, TermWin.gc, TermWin.font->fid);
-+#endif
- 		    draw_string = XDrawString;
- 		    draw_image_string = XDrawImageString;
- 		}
-@@ -2537,7 +2558,11 @@
- 		rend &= ~RS_Bold;	/* we've taken care of it */
- 	    } else if (bfont) {
- 		bfont = 0;
-+#ifdef FIX_ALIGNMENT
-+		XSetFont(Xdisplay, TermWin.ngc, TermWin.font->fid);
-+#else
- 		XSetFont(Xdisplay, TermWin.gc, TermWin.font->fid);
-+#endif
- 	    }
- #endif
- /*
-@@ -2672,6 +2697,9 @@
-     end_row = TermWin.saveLines - TermWin.view_start;
-     if (selection.op && current_screen == selection.screen) {
- 	i = selection.beg.row + TermWin.saveLines;
-+#ifdef FIX_ALIGNMENT
-+	TermWin.gc = TermWin.ngc;
-+#endif
- 	row = selection.end.row + TermWin.saveLines;
- 	if (i >= end_row)
- 	    col = selection.beg.col;
---- src/feature.h.orig	Mon Mar 27 20:06:40 2000
-+++ src/feature.h	Mon Mar 27 20:07:27 2000
-@@ -55,18 +55,18 @@
-  * overstrike just for multi char fonts
-  * Note: NO_BOLDOVERSTRIKE implies NO_BOLDOVERSTRIKE_MULTI
-  */
--/* #define NO_BOLDOVERSTRIKE */
-+#define NO_BOLDOVERSTRIKE
- /* #define NO_BOLDOVERSTRIKE_MULTI */
- 
- /*
-  * Also use bold font or overstrike even if we use colour for bold
-  */
--#define VERYBOLD
-+/* #define VERYBOLD */
- 
- /*
-  * Compile without support for real bold fonts
-  */
--/* #define NO_BOLDFONT */
-+#define NO_BOLDFONT
- 
- /*
-  * If the screen has 24 bit mode, use that even if the default is 8 bit.
diff -ruN rxvt.orig/files/patch-autoconf::config.h.in rxvt/files/patch-autoconf::config.h.in
--- rxvt.orig/files/patch-autoconf::config.h.in	Thu Jan  1 08:00:00 1970
+++ rxvt/files/patch-autoconf::config.h.in	Mon Feb  5 22:48:58 2001
@@ -0,0 +1,22 @@
+--- autoconf/config.h.in.orig	Mon Feb  5 22:46:11 2001
++++ autoconf/config.h.in	Mon Feb  5 22:48:13 2001
+@@ -168,7 +168,8 @@
+ #undef HAVE_UTMP_HOST
+ 
+ /* Define location of utmp */
+-#undef RXVT_UTMP_FILE
++/* #undef RXVT_UTMP_FILE */
++#define RXVT_UTMP_FILE "/var/run/utmp"
+ 
+ /* Define in utmpx.h has struct utmpx */
+ #undef HAVE_STRUCT_UTMPX
+@@ -180,7 +181,8 @@
+ #undef RXVT_UTMPX_FILE
+ 
+ /* Define location of wtmp */
+-#undef RXVT_WTMP_FILE
++/* #undef RXVT_WTMP_FILE */
++#define RXVT_WTMP_FILE "/var/log/wtmp"
+ 
+ /* Define location of wtmpx */
+ #undef RXVT_WTMPX_FILE
diff -ruN rxvt.orig/files/patch-doc::Makefile.in rxvt/files/patch-doc::Makefile.in
--- rxvt.orig/files/patch-doc::Makefile.in	Thu Jan  1 08:00:00 1970
+++ rxvt/files/patch-doc::Makefile.in	Mon Feb  5 22:50:09 2001
@@ -0,0 +1,30 @@
+--- doc/Makefile.in.orig	Mon Feb  5 22:40:26 2001
++++ doc/Makefile.in	Mon Feb  5 22:50:03 2001
+@@ -40,9 +40,6 @@
+ 
+ all:	rxvt.1
+ 
+-rxvt.1: rxvt.tbl Makefile
+-	@if test x$(TBL) = x; then : ; else echo "$(TBL) $(srcdir)/rxvt.tbl | grep -v '^.lf' > rxvt.1"; $(TBL) $(srcdir)/rxvt.tbl | grep -v '^.lf' > rxvt.1 ; fi
+-
+ SEDREPLACE = -e 's%@RXVT_VERSION@%$(VERSION)%g;'\
+ 	     -e 's%@RXVT_LSMDATE@%$(LSMDATE)%g;'\
+ 	     -e 's%@RXVT_DATE@%$(DATE)%g;'\
+@@ -56,7 +53,7 @@
+ 
+ tags allbin:
+ 
+-alldoc:	$(basedir)/$(VERNAME).lsm yodl/versioninfo.yo rxvt.1 rxvt.html rxvtRef.html rxvtRef.txt
++alldoc:	rxvt.1
+ 
+ yodl/versioninfo.yo: yodl/versioninfo.yo.in ../src/version.h
+ 	$(SED) $(SEDREPLACE) < $(srcdir)/yodl/versioninfo.yo.in > $@
+@@ -87,7 +84,7 @@
+ distclean:
+ 
+ install:
+-	$(INSTALL_DATA) rxvt.1 $(DESTDIR)$(mandir)/$(RXVTNAME).$(manext)
++	$(INSTALL_DATA) rxvt.1 $(PREFIX)/man/man1/crxvt.1
+ 
+ uninstall:
+ 	-(cd $(mandir); $(RMF) $(RXVTNAME).$(manext) )
diff -ruN rxvt.orig/files/patch-src::Makefile.in rxvt/files/patch-src::Makefile.in
--- rxvt.orig/files/patch-src::Makefile.in	Thu Jan  1 08:00:00 1970
+++ rxvt/files/patch-src::Makefile.in	Mon Feb  5 22:44:29 2001
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig	Mon Feb  5 22:41:53 2001
++++ src/Makefile.in	Mon Feb  5 22:42:41 2001
+@@ -115,7 +115,7 @@
+ 
+ install: allbin alldoc
+ 	@$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) librxvt.la $(libdir)
+-	@$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) rxvt $(DESTDIR)$(bindir)/`$(ECHO) $$p|$(SED) 's/$(EXEEXT)$$//'|$(SED) '$(transform)'|$(SED) 's/$$/$(EXEEXT)/'`;
++	@$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) rxvt $(PREFIX)/bin/crxvt
+ 
+ uninstall:
+ 	@$(LIBTOOL) --mode=uninstall $(RMF) $(DESTDIR)$(bindir)/`$(ECHO) rxvt|$(SED) 's/$(EXEEXT)$$//'|$(SED) '$(transform)'|$(SED) 's/$$/$(EXEEXT)/'`
diff -ruN rxvt.orig/pkg-plist rxvt/pkg-plist
--- rxvt.orig/pkg-plist	Mon Feb  5 11:28:45 2001
+++ rxvt/pkg-plist	Mon Feb  5 22:50:46 2001
@@ -1 +1,4 @@
 bin/crxvt
+lib/librxvt.a
+lib/librxvt.so
+lib/librxvt.so.0


>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?200102051516.f15FGcm15177>