Date: Tue, 29 Aug 2006 18:20:19 +0800 (CST) From: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/102637: [NEW PORT] devel/p5-Thread-Apartment: Apartment threading wrapper for Perl objects Message-ID: <200608291020.k7TAKJ1Z089205@Pluto.CDPA.nsysu.edu.tw> Resent-Message-ID: <200608291030.k7TAUKSp041773@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 102637 >Category: ports >Synopsis: [NEW PORT] devel/p5-Thread-Apartment: Apartment threading wrapper for Perl objects >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Aug 29 10:30:20 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jin-Shan Tseng >Release: FreeBSD 6.1-STABLE i386 >Organization: NCHC >Environment: System: FreeBSD Pluto.CDPA.nsysu.edu.tw 6.1-STABLE FreeBSD 6.1-STABLE #0: Sun Aug 27 11:18:22 CST 2006 >Description: Thread::Apartment provides an apartment threading wrapper for Perl classes. "Apartment threading" is a method for isolating an object (or object hierarchy) in its own thread, and providing external interfaces via lightweight client proxy objects. This approach is especially valuable in the Perl threads environment, which doesn't provide a direct means of passing complex, nested structure objects between threads, and for non-threadsafe legacy object architectures, e.g., Perl/Tk. By using lightweight client proxy objects that implement the Thread::Queue::Queueable interface, with Thread::Queue::Duplex objects as the communication channel between client proxies and apartment threads (or between threads in general), a more thread-friendly OO environment is provided, ala Java, i.e., the ability to pass arbitrary objects between arbitrary threads. Thread::Apartment is a fundamental component of the PSiCHE framework (http://www.presicient.com/psiche). WWW: http://search.cpan.org/dist/Thread-Apartment/ Generated with FreeBSD Port Tools 0.77 - port p5-Thread-Queue-Duplex(ports/102636) must be added first. >How-To-Repeat: >Fix: --- p5-Thread-Apartment-0.51.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Thread-Apartment # p5-Thread-Apartment/pkg-descr # p5-Thread-Apartment/Makefile # p5-Thread-Apartment/pkg-plist # p5-Thread-Apartment/distinfo # echo c - p5-Thread-Apartment mkdir -p p5-Thread-Apartment > /dev/null 2>&1 echo x - p5-Thread-Apartment/pkg-descr sed 's/^X//' >p5-Thread-Apartment/pkg-descr << 'END-of-p5-Thread-Apartment/pkg-descr' XThread::Apartment provides an apartment threading wrapper Xfor Perl classes. "Apartment threading" is a method for Xisolating an object (or object hierarchy) in its own thread, Xand providing external interfaces via lightweight client Xproxy objects. This approach is especially valuable in the XPerl threads environment, which doesn't provide a direct Xmeans of passing complex, nested structure objects between Xthreads, and for non-threadsafe legacy object architectures, Xe.g., Perl/Tk. X XBy using lightweight client proxy objects that implement the XThread::Queue::Queueable interface, with Thread::Queue::Duplex Xobjects as the communication channel between client proxies Xand apartment threads (or between threads in general), a more Xthread-friendly OO environment is provided, ala Java, i.e., Xthe ability to pass arbitrary objects between arbitrary threads. X XThread::Apartment is a fundamental component of the PSiCHE Xframework (http://www.presicient.com/psiche). X XWWW: http://search.cpan.org/dist/Thread-Apartment/ END-of-p5-Thread-Apartment/pkg-descr echo x - p5-Thread-Apartment/Makefile sed 's/^X//' >p5-Thread-Apartment/Makefile << 'END-of-p5-Thread-Apartment/Makefile' X# New ports collection makefile for: p5-Thread-Apartment X# Date created: 2006-08-29 X# Whom: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw> X# X# $FreeBSD$ X# X XPORTNAME= Thread-Apartment XPORTVERSION= 0.51 XCATEGORIES= devel perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Thread XPKGNAMEPREFIX= p5- X XMAINTAINER= tjs@cdpa.nsysu.edu.tw XCOMMENT= Apartment threading wrapper for Perl objects X XRUN_DEPENDS= p5-Thread-Queue-Duplex>=0.92:${PORTSDIR}/devel/p5-Thread-Queue-Duplex \ X p5-Class-ISA>=0.32:${PORTSDIR}/devel/p5-Class-ISA \ X p5-Class-Inspector>=1.08:${PORTSDIR}/devel/p5-Class-Inspector XBUILD_DEPENDS= ${RUN_DEPENDS} X XPERL_CONFIGURE= yes X XMAN3= Thread::Apartment.3 X X.include <bsd.port.pre.mk> X X.if ${PERL_LEVEL} < 500800 XIGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 then try again X.endif X X.include <bsd.port.post.mk> END-of-p5-Thread-Apartment/Makefile echo x - p5-Thread-Apartment/pkg-plist sed 's/^X//' >p5-Thread-Apartment/pkg-plist << 'END-of-p5-Thread-Apartment/pkg-plist' X@comment $FreeBSD$ X%%SITE_PERL%%/Thread/Apartment/Server.pm X%%SITE_PERL%%/Thread/Apartment/MuxServer.pm X%%SITE_PERL%%/Thread/Apartment/EventServer.pm X%%SITE_PERL%%/Thread/Apartment/Container.pm X%%SITE_PERL%%/Thread/Apartment/Common.pm X%%SITE_PERL%%/Thread/Apartment/Closure.pm X%%SITE_PERL%%/Thread/Apartment/Client.pm X%%SITE_PERL%%/Thread/Apartment.pod X%%SITE_PERL%%/Thread/Apartment.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Apartment/.packlist X@dirrmtry %%SITE_PERL%%/Thread/Apartment X@dirrmtry %%SITE_PERL%%/Thread X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread/Apartment X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Thread END-of-p5-Thread-Apartment/pkg-plist echo x - p5-Thread-Apartment/distinfo sed 's/^X//' >p5-Thread-Apartment/distinfo << 'END-of-p5-Thread-Apartment/distinfo' XMD5 (Thread-Apartment-0.51.tar.gz) = e10c9acfb5976dece597fa2c9f0a0bd6 XSHA256 (Thread-Apartment-0.51.tar.gz) = 571fa77d4938566cd2c5284edd5ef513198ef0614d1a50af0c73faafd111df84 XSIZE (Thread-Apartment-0.51.tar.gz) = 73960 END-of-p5-Thread-Apartment/distinfo exit --- p5-Thread-Apartment-0.51.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608291020.k7TAKJ1Z089205>