ports/78903: Update port: x11/gnometerminal (fix URL hilighting)

Jean-Yves Lefort jylefort at brutele.be
Wed Mar 16 02:30:06 UTC 2005


>Number:         78903
>Category:       ports
>Synopsis:       Update port: x11/gnometerminal (fix URL hilighting)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 16 02:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 5.3-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Mon Feb 14 18:06:40 CET 2005 jylefort at jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
74058 has been mistakenly reverted during the 2.10 upgrade.
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/x11/gnometerminal/Makefile gnometerminal/Makefile
--- /usr/ports/x11/gnometerminal/Makefile	Mon Mar 14 00:30:29 2005
+++ gnometerminal/Makefile	Wed Mar 16 03:12:02 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	gnometerminal
 PORTVERSION=	2.10.0
+PORTREVISION=	1
 CATEGORIES=	x11 gnome
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	sources/gnome-terminal/2.10
diff -ruN /usr/ports/x11/gnometerminal/files/patch-src::terminal-screen.c gnometerminal/files/patch-src::terminal-screen.c
--- /usr/ports/x11/gnometerminal/files/patch-src::terminal-screen.c	Thu Jan  1 01:00:00 1970
+++ gnometerminal/files/patch-src::terminal-screen.c	Wed Mar 16 03:12:23 2005
@@ -0,0 +1,27 @@
+--- src/terminal-screen.c.orig	Thu Mar  3 15:13:08 2005
++++ src/terminal-screen.c	Wed Mar 16 03:11:08 2005
+@@ -246,18 +246,18 @@
+ #define USER      "[" USERCHARS "]+(:["PASSCHARS "]+)?"
+ 
+   terminal_widget_match_add (screen->priv->term,
+-      "\\<(" SCHEME "://(" USER "@)?)[" HOSTCHARS ".]+(:[0-9]+)?"
+-      "(/[-A-Za-z0-9_$.+!*(),;:@&=?/~#%]*[^]'.}>) \t\r\n,\\\"])?\\>", FLAVOR_AS_IS);
++      "[[:<:]](" SCHEME "://(" USER "@)?)[" HOSTCHARS ".]+(:[0-9]+)?"
++      "(/[-A-Za-z0-9_$.+!*(),;:@&=?/~#%]*[^]'.}>) \t\r\n,\\\"])?[[:>:]]", FLAVOR_AS_IS);
+ 
+   terminal_widget_match_add (screen->priv->term,
+-      "\\<(www|ftp)[" HOSTCHARS "]*\\.[" HOSTCHARS ".]+(:[0-9]+)?"
+-      "(/[-A-Za-z0-9_$.+!*(),;:@&=?/~#%]*[^]'.}>) \t\r\n,\\\"])?\\>", FLAVOR_DEFAULT_TO_HTTP);
++      "[[:<:]](www|ftp)[" HOSTCHARS "]*\\.[" HOSTCHARS ".]+(:[0-9]+)?"
++      "(/[-A-Za-z0-9_$.+!*(),;:@&=?/~#%]*[^]'.}>) \t\r\n,\\\"])?[[:>:]]", FLAVOR_DEFAULT_TO_HTTP);
+ 
+   terminal_widget_match_add (screen->priv->term,       
+-      "\\<(mailto:)?[a-z0-9][a-z0-9.-]*@[a-z0-9][a-z0-9-]*(\\.[a-z0-9][a-z0-9-]*)+\\>", FLAVOR_MAILTO);
++      "[[:<:]](mailto:)?[a-z0-9][a-z0-9.-]*@[a-z0-9][a-z0-9-]*(\\.[a-z0-9][a-z0-9-]*)+[[:>:]]", FLAVOR_MAILTO);
+ 	  
+   terminal_widget_match_add (screen->priv->term,
+-      "\\<news:[-A-Z\\^_a-z{|}~!\"#$%&'()*+,./0-9;:=?`]+@[" HOSTCHARS ".]+(:[0-9]+)?\\>", FLAVOR_AS_IS);
++      "[[:<:]]news:[-A-Z\\^_a-z{|}~!\"#$%&'()*+,./0-9;:=?`]+@[" HOSTCHARS ".]+(:[0-9]+)?[[:>:]]", FLAVOR_AS_IS);
+ 
+ 
+   terminal_screen_setup_dnd (screen);
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list