Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2006 13:28:48 +0800 (CST)
From:      chinsan <chinsan.tw@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        vanilla@FreeBSD.org
Subject:   ports/96176: [MAINTAINER] chinese/pcmanx: remove some unused patch
Message-ID:  <20060423052848.0B83BF51C4F@chinsan.twbbs.org>
Resent-Message-ID: <200604230530.k3N5UEZf024340@freefall.freebsd.org>

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

>Number:         96176
>Category:       ports
>Synopsis:       [MAINTAINER] chinese/pcmanx: remove some unused patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 23 05:30:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     chinsan
>Release:        FreeBSD 5.5-PRERELEASE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD chinsan.twbbs.org 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #4: Thu Apr  6 09:29:16 CST
>Description:

Remove some unused patch

Removed file(s):
- files/patch-src-core-Makefile.in
- files/patch-src-generalprefpage.cpp
- files/patch-src-mainframe.cpp
- files/patch-src-view-telnetview.cpp

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- pcmanx-0.3.4_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/chinese/pcmanx/Makefile /usr/home/chinsan/project/pcmanx/Makefile
--- /usr/ports/chinese/pcmanx/Makefile	Sat Apr 22 18:21:47 2006
+++ /usr/home/chinsan/project/pcmanx/Makefile	Sun Apr 23 13:26:15 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	pcmanx
 PORTVERSION=	0.3.4
+PORTREVISION=	1
 CATEGORIES=	chinese net gnome
 MASTER_SITES=	http://pcmanx.csie.net/release/
 DISTNAME=	${PORTNAME}-gtk2-${PORTVERSION}
@@ -34,6 +35,10 @@
 .endif
 
 post-extract:
+	@${REINPLACE_CMD} -e 's/wget/fetch/' ${WRKSRC}/po/zh_CN.po
 	@${REINPLACE_CMD} -e 's/wget/fetch/' ${WRKSRC}/po/zh_TW.po
+	@${REINPLACE_CMD} -e 's/wget -O/fetch -o/' ${WRKSRC}/src/mainframe.cpp
+	@${REINPLACE_CMD} -e 's/wget/fetch/' ${WRKSRC}/src/generalprefpage.cpp
+	@${REINPLACE_CMD} -e 's/wget/fetch/' ${WRKSRC}/src/view/telnetview.cpp
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/chinese/pcmanx/files/patch-src-core-Makefile.in /usr/home/chinsan/project/pcmanx/files/patch-src-core-Makefile.in
--- /usr/ports/chinese/pcmanx/files/patch-src-core-Makefile.in	Sat Jan 14 23:21:08 2006
+++ /usr/home/chinsan/project/pcmanx/files/patch-src-core-Makefile.in	Thu Jan  1 08:00:00 1970
@@ -1,11 +0,0 @@
---- src/core/Makefile.in.orig	Mon Oct 10 00:03:44 2005
-+++ src/core/Makefile.in	Sat Jan 14 23:13:58 2006
-@@ -253,7 +253,7 @@
- libpcmanx_core_la_LIBADD = $(GUI_LIBS)
- libpcmanx_core_la_LDFLAGS = \
- 	-export-dynamic \
--	@LIBTOOL_EXPORT_OPTIONS@ \
-+	-export-symbols-regex "^[[^_]].*" \
- 	-rpath $(libdir)
- 
- libpcmanx_core_la_SOURCES = \
diff -ruN --exclude=CVS /usr/ports/chinese/pcmanx/files/patch-src-generalprefpage.cpp /usr/home/chinsan/project/pcmanx/files/patch-src-generalprefpage.cpp
--- /usr/ports/chinese/pcmanx/files/patch-src-generalprefpage.cpp	Tue Oct 11 11:07:19 2005
+++ /usr/home/chinsan/project/pcmanx/files/patch-src-generalprefpage.cpp	Thu Jan  1 08:00:00 1970
@@ -1,11 +0,0 @@
---- src/generalprefpage.cpp.orig	Tue Oct 11 02:57:13 2005
-+++ src/generalprefpage.cpp	Tue Oct 11 02:56:43 2005
-@@ -64,7 +64,7 @@
- 	gtk_widget_show (m_AAFont);
- 	gtk_box_pack_start (GTK_BOX (m_Widget), m_AAFont, FALSE, FALSE, 0);
- 
--	m_pWgetFiles = gtk_check_button_new_with_mnemonic (_("Use \"wget\" to download files."));
-+	m_pWgetFiles = gtk_check_button_new_with_mnemonic (_("Use \"fetch\" to download files."));
- 	gtk_widget_show (m_pWgetFiles);
- 	gtk_box_pack_start (GTK_BOX (m_Widget), m_pWgetFiles, FALSE, FALSE, 0);
- 
diff -ruN --exclude=CVS /usr/ports/chinese/pcmanx/files/patch-src-mainframe.cpp /usr/home/chinsan/project/pcmanx/files/patch-src-mainframe.cpp
--- /usr/ports/chinese/pcmanx/files/patch-src-mainframe.cpp	Tue Oct 11 11:07:19 2005
+++ /usr/home/chinsan/project/pcmanx/files/patch-src-mainframe.cpp	Thu Jan  1 08:00:00 1970
@@ -1,11 +0,0 @@
---- src/mainframe.cpp.orig	Tue Oct 11 02:46:46 2005
-+++ src/mainframe.cpp	Tue Oct 11 02:47:07 2005
-@@ -1033,7 +1033,7 @@
- 		child_pid = fork();
- 		if (child_pid == 0)
- 		{
--			int t_nRet = system("wget -O ~/.pcmanx/sitelist http://free.ym.edu.tw/pcman/site_list.utf8");
-+			int t_nRet = system("fetch -o ~/.pcmanx/sitelist http://free.ym.edu.tw/pcman/site_list.utf8");
- 			if (t_nRet == 0)
- 				kill(parent_pid, SIGUSR1);
- 			else
diff -ruN --exclude=CVS /usr/ports/chinese/pcmanx/files/patch-src-view-telnetview.cpp /usr/home/chinsan/project/pcmanx/files/patch-src-view-telnetview.cpp
--- /usr/ports/chinese/pcmanx/files/patch-src-view-telnetview.cpp	Tue Oct 11 11:07:19 2005
+++ /usr/home/chinsan/project/pcmanx/files/patch-src-view-telnetview.cpp	Thu Jan  1 08:00:00 1970
@@ -1,11 +0,0 @@
---- src/view/telnetview.cpp.orig	Tue Oct 11 02:44:46 2005
-+++ src/view/telnetview.cpp	Tue Oct 11 02:45:04 2005
-@@ -334,7 +334,7 @@
- 				strncmp(t_pcDot, "tbz", 3) == 0)
- 			{
- 				string t_sURL = sURL;
--				t_sURL.insert(0, "wget ");
-+				t_sURL.insert(0, "fetch ");
- 				t_sURL.append(" &");
- 				system(t_sURL.c_str());
- 				return;
--- pcmanx-0.3.4_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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