Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2012 15:02:34 +0800 (CST)
From:      Po-Chien Lin <linpc@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/174855: [PATCH] x11-toolkits/p5-Wx: update to 0.99.15, take maintainership
Message-ID:  <20121231070234.F168BCF001@tbbs2.cs.nctu.edu.tw>
Resent-Message-ID: <201212310710.qBV7A17R062091@freefall.freebsd.org>

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

>Number:         174855
>Category:       ports
>Synopsis:       [PATCH] x11-toolkits/p5-Wx: update to 0.99.15, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 31 07:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Po-Chien Lin
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD tbbs2.cs.nctu.edu.tw 10.0-CURRENT FreeBSD 10.0-CURRENT #7 r244683: Wed Dec 26 09:38:31 CST
>Description:
- Update to 0.99.15
  * Depends on ports/174821: [PATCH] devel/p5-ExtUtils-XSpp: update to 0.16.03
- Take maintainership
- Rearrange section order
- Cleanup TABs

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- p5-Wx-0.99.15.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/x11-toolkits/p5-Wx/Makefile ./Makefile
--- /usr/ports/x11-toolkits/p5-Wx/Makefile	2012-11-22 07:02:43.000000000 +0800
+++ ./Makefile	2012-12-31 14:59:16.000000000 +0800
@@ -2,54 +2,56 @@
 # $FreeBSD: ports/x11-toolkits/p5-Wx/Makefile,v 1.19 2012/11/21 23:02:43 svnexp Exp $
 
 PORTNAME=	Wx
-PORTVERSION=	0.97
-PORTREVISION=	1
+PORTVERSION=	0.99.15
 CATEGORIES=	x11-toolkits perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
+DISTNAME=	${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	linpc@cs.nctu.edu.tw
 COMMENT=	Perl5 interface to the wxWidgets cross-platform GUI toolkit
 
 BUILD_DEPENDS=	p5-Alien-wxWidgets>=0.25:${PORTSDIR}/x11-toolkits/p5-Alien-wxWidgets \
 		p5-ExtUtils-ParseXS>=2.22:${PORTSDIR}/devel/p5-ExtUtils-ParseXS \
-		p5-ExtUtils-XSpp>=0.06:${PORTSDIR}/devel/p5-ExtUtils-XSpp
+		p5-ExtUtils-XSpp>=0.16.03:${PORTSDIR}/devel/p5-ExtUtils-XSpp
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 OPTIONS_DEFINE=	UNICODE
 OPTIONS_DEFAULT=	UNICODE
 UNICODE_DESC=	Build with Unicode support
 
-USE_WX=		2.6+
+USE_WX=	2.6+
 WX_COMPS=	wx contrib
 USE_DISPLAY=	yes
 PERL_CONFIGURE=	yes
-CC=		${CXX}
+CC=	${CXX}
 CFLAGS+=	-pthread -Wno-write-strings
 MAKE_JOBS_UNSAFE=	yes
 
+MAN1=	wxperl_overload.1
+MAN3=	Wx.3 \
+	Wx::Api.3 \
+	Wx::Loader.3 \
+	Wx::NewClass.3 \
+	Wx::Perl::Carp.3 \
+	Wx::Perl::SplashFast.3 \
+	Wx::Perl::TextValidator.3 \
+	Wx::Socket.3 \
+	Wx::Thread.3 \
+	Wx::XSP::Overload.3 \
+	Wx::build::MakeMaker.3 \
+	Wx::build::MakeMaker::Win32_MSVC.3 \
+	Wx::build::Options.3 \
+	Wx::build::Utils.3
+
 .include <bsd.port.options.mk>
 .if ${PORT_OPTIONS:MUNICODE}
 WX_UNICODE=	yes
 .endif
 
+.if ${PORT_OPTIONS:MUNICODE}
 ALIEN_UNICODE=	${PERL} -MAlien::wxWidgets -e 'print Alien::wxWidgets->key' | ${GREP} "_uni_"
 
-MAN1=		wxperl_overload.1
-MAN3=		Wx::Perl::TextValidator.3 \
-		Wx::Perl::Carp.3 \
-		Wx::Socket.3 \
-		Wx::Api.3 \
-		Wx::build::Utils.3 \
-		Wx::build::Options.3 \
-		Wx::Perl::SplashFast.3 \
-		Wx::build::MakeMaker::Win32_MSVC.3 \
-		Wx::build::MakeMaker.3 \
-		Wx::Loader.3 \
-		Wx::Thread.3 \
-		Wx.3
-
-.if ${PORT_OPTIONS:MUNICODE}
 pre-configure:
 	@if [ ! "$$(${ALIEN_UNICODE})" ]; then \
 		${ECHO_MSG}; \
diff -ruN --exclude=CVS /usr/ports/x11-toolkits/p5-Wx/distinfo ./distinfo
--- /usr/ports/x11-toolkits/p5-Wx/distinfo	2011-07-03 02:18:39.000000000 +0800
+++ ./distinfo	2012-12-31 01:27:02.000000000 +0800
@@ -1,2 +1,2 @@
-SHA256 (Wx-0.97.tar.gz) = 1f2ad16557baece1ca161d34f3ff4072734729d9454ea1fdf7383cd7c61c24ed
-SIZE (Wx-0.97.tar.gz) = 359283
+SHA256 (Wx-0.9915.tar.gz) = 6c6f93fae8400fdc6a9d791ebf81bead8dec2e773abf3ca8efc833df73304dec
+SIZE (Wx-0.9915.tar.gz) = 476594
diff -ruN --exclude=CVS /usr/ports/x11-toolkits/p5-Wx/files/patch-Wx.xs ./files/patch-Wx.xs
--- /usr/ports/x11-toolkits/p5-Wx/files/patch-Wx.xs	2009-06-30 21:04:07.000000000 +0800
+++ ./files/patch-Wx.xs	2012-12-31 01:29:20.000000000 +0800
@@ -1,9 +1,9 @@
---- Wx.xs.orig	2009-04-20 22:17:27.000000000 +0200
-+++ Wx.xs	2009-06-26 09:20:07.000000000 +0200
-@@ -278,10 +278,7 @@ Load()
+--- Wx.xs.orig	2012-12-31 01:28:32.000000000 +0800
++++ Wx.xs	2012-12-31 01:29:02.000000000 +0800
+@@ -325,10 +325,7 @@
  
      if( wxPerlAppCreated || wxTopLevelWindows.GetCount() > 0 )
-         return;
+         XSRETURN( true );
 -#if defined(DEBUGGING) && !defined(PERL_USE_SAFE_PUTENV)
 -    // avoid crash on exit in Fedora (and other DEBUGGING Perls)
      PL_use_safe_putenv = 1;
diff -ruN --exclude=CVS /usr/ports/x11-toolkits/p5-Wx/pkg-plist ./pkg-plist
--- /usr/ports/x11-toolkits/p5-Wx/pkg-plist	2010-05-24 01:12:54.000000000 +0800
+++ ./pkg-plist	2012-12-31 13:41:00.000000000 +0800
@@ -20,11 +20,13 @@
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/Media.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/Menu.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/Mini.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Wx/NewClass.pod
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/Overload/Driver.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/Overload/Handle.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/Perl/Carp.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/Perl/SplashFast.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/Perl/TextValidator.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Wx/PerlTest.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/Print.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/RadioBox.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/RichText.pm
@@ -34,6 +36,10 @@
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/Timer.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/Wx_Exp.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/XRC.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Wx/XSP/Enum.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Wx/XSP/Event.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Wx/XSP/Overload.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/Wx/XSP/Virtual.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/build/MakeMaker.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/build/MakeMaker/Any_OS.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Wx/build/MakeMaker/Any_wx_config.pm
@@ -82,6 +88,8 @@
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Wx/MDI/MDI.so
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Wx/Media/Media.bs
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Wx/Media/Media.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Wx/PerlTest/PerlTest.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Wx/PerlTest/PerlTest.so
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Wx/Print/Print.bs
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Wx/Print/Print.so
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Wx/RichText/RichText.bs
@@ -99,6 +107,7 @@
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Wx/STC
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Wx/RichText
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Wx/Print
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Wx/PerlTest
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Wx/Media
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Wx/MDI
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Wx/Html
--- p5-Wx-0.99.15.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?20121231070234.F168BCF001>