Date: Sat, 29 Jun 2002 07:26:47 -0700 (PDT) From: David Xu <davidxu@viatech.com.cn> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/40000: New port: a java-like thread library for C++ Message-ID: <200206291426.g5TEQlDQ073927@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 40000 >Category: ports >Synopsis: New port: a java-like thread library for C++ >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jun 29 07:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: David Xu >Release: FreeBSD 4.6-release >Organization: Viatech >Environment: FreeBSD slim.viatech.com.cn 4.6-RELEASE FreeBSD 4.6-RELEASE #2: Wed Jun 19 12:25:43 CST 2002 root@slim.viatech.com.cn:/usr/src/sys/compile/xu i386 >Description: This port is for IONA's JTHREADS/C++. JTHREADS/C++ is the short-form of "Java-like Threads for C++". JTHREADS/C++ is a high-level thread abstraction library that gives C++ programmers the "look & feel" of Java threads. >How-To-Repeat: >Fix: # 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: # # JTC # JTC/distinfo # JTC/Makefile # JTC/files # JTC/files/patch-aa # JTC/files/current # JTC/pkg-comment # JTC/pkg-descr # JTC/scripts # JTC/scripts/configure # JTC/pkg-plist # JTC/pkg-message # echo c - JTC mkdir -p JTC > /dev/null 2>&1 echo x - JTC/distinfo sed 's/^X//' >JTC/distinfo << 'END-of-JTC/distinfo' XMD5 (JTC-2.0.0.tar.gz) = d52695ca6536b2380e2524a80a6534de END-of-JTC/distinfo echo x - JTC/Makefile sed 's/^X//' >JTC/Makefile << 'END-of-JTC/Makefile' X# New ports collection makefile for: JTC X# Date created: 28 Jun 2002 X# Whom: David Xu X# X# $FreeBSD$ X# X XPORTNAME= JTC XPORTVERSION= 2.0.0 XCATEGORIES= devel XMASTER_SITES= ftp://ftp.ooc.com/pub/JTC/2.0/ X XMAINTAINER= davidxu@viatech.com.cn X XINSTALLS_SHLIB= yes XALL_TARGET= min X XRESTRICTED= no commercial use X.include <bsd.port.mk> END-of-JTC/Makefile echo c - JTC/files mkdir -p JTC/files > /dev/null 2>&1 echo x - JTC/files/patch-aa sed 's/^X//' >JTC/files/patch-aa << 'END-of-JTC/files/patch-aa' X--- jtc/src/Thread.cpp Thu Sep 20 02:18:00 2001 X+++ jtc/src/Thread.cpp.new Fri Jun 28 22:42:31 2002 X@@ -540,6 +540,13 @@ X 255, X 127, X 0 X+# elif defined(__FreeBSD__) X+ // X+ // FreeBSD 4.x has no thread priorities. waiting for 5.0 :) X+ // X+ 0, X+ 0, X+ 0 X # else X # error "No known priority levels!" X # endif END-of-JTC/files/patch-aa echo x - JTC/files/current sed 's/^X//' >JTC/files/current << 'END-of-JTC/files/current' Xconfig_jtc_thread_model="posix" Xconfig_berkeleydb="no" Xconfig_install_path="/usr/local" Xconfig_event="no" Xconfig_jtc_no_iostream="no" Xconfig_notify="no" Xconfig_extra_cxx_flags="-pipe -pthread -D_THREAD_SAFE" Xconfig_optimized="yes" Xconfig_shared="yes" Xconfig_jtc="yes" Xconfig_platform="2" Xconfig_debug="no" Xconfig_event_path="/usr/local" Xconfig_notify_path="/usr/local" Xconfig_extra_ld_flags="-lc_r" Xconfig_shell="b" END-of-JTC/files/current echo x - JTC/pkg-comment sed 's/^X//' >JTC/pkg-comment << 'END-of-JTC/pkg-comment' XA java-like thread library for C++ END-of-JTC/pkg-comment echo x - JTC/pkg-descr sed 's/^X//' >JTC/pkg-descr << 'END-of-JTC/pkg-descr' XWhat is JThreads/C++? XJTHREADS/C++ is the short-form of "Java-like Threads for C++". JTHREADS/C++ is Xa high-level thread abstraction library that gives C++ programmers the X"look & feel" of Java threads. X XAdditional JThreads/C++ manual in PDF format can be found at ftp://ftp.ooc.com X/pub/JTC/2.0 X XWWW: http://www.ooc.com X X- DavidXu Xdavidxu@viatech.com.cn END-of-JTC/pkg-descr echo c - JTC/scripts mkdir -p JTC/scripts > /dev/null 2>&1 echo x - JTC/scripts/configure sed 's/^X//' >JTC/scripts/configure << 'END-of-JTC/scripts/configure' X#!/bin/sh Xcp -f files/current work/JTC-2.0.0/config/ Xcd work/JTC-2.0.0 X./runconfig --A X END-of-JTC/scripts/configure echo x - JTC/pkg-plist sed 's/^X//' >JTC/pkg-plist << 'END-of-JTC/pkg-plist' Xinclude/JTC/Cond.h Xinclude/JTC/Config.h Xinclude/JTC/Exception.h Xinclude/JTC/Handle.h Xinclude/JTC/HandleI.h Xinclude/JTC/JTC.h Xinclude/JTC/Monitor.h Xinclude/JTC/MonitorI.h Xinclude/JTC/Mutex.h Xinclude/JTC/RWMutex.h Xinclude/JTC/Runnable.h Xinclude/JTC/Sync.h Xinclude/JTC/SyncT.h Xinclude/JTC/Syscall.h Xinclude/JTC/TSS.h Xinclude/JTC/Thread.h Xinclude/JTC/ThreadGroup.h Xinclude/JTC/Types.h Xlib/libJTC.so.2.0.0 Xlib/libJTC.so X@dirrm include/JTC X END-of-JTC/pkg-plist echo x - JTC/pkg-message sed 's/^X//' >JTC/pkg-message << 'END-of-JTC/pkg-message' XAdditional JThreads/C++ manual in PDF format can be found here: Xftp://ftp.ooc.com/pub/JTC/2.0 X END-of-JTC/pkg-message exit >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?200206291426.g5TEQlDQ073927>