Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/devel
In directory vz-cvs-3.sog:/tmp/cvs-serv1611/d/d/d/d

Added Files:
        classpathx-comm.info classpathx-comm.patch rxtx-comm.info 
        rxtx-comm.patch 
Log Message:
to stable

--- NEW FILE: rxtx-comm.patch ---
--- rxtx-2.0-7pre2/src/RXTXCommDriver.java      2004-04-15 09:53:49.000000000 
+0200
+++ rxtx-2.0-7pre-new/src/RXTXCommDriver.java   2005-05-05 22:44:32.000000000 
+0200
@@ -70,7 +70,7 @@
   {
     if (debug)
       System.out.println ("RXTXCommDriver {}");
-    System.loadLibrary ("rxtxSerial");
+               System.load( "/FINKPATH/lib/librxtxSerial.jnilib" );
 
     /*
        Perform a crude check to make sure people don't mix
--- rxtx-2.0-7pre2/src/RXTXPort.java    2005-01-17 21:02:41.000000000 +0100
+++ rxtx-2.0-7pre-new/src/RXTXPort.java 2005-05-05 22:46:21.000000000 +0200
@@ -83,7 +83,7 @@
 
     if (debug)
       z.reportln ("RXTXPort {}");
-    System.loadLibrary ("rxtxSerial");
+         System.load( "/FINKPATH/lib/librxtxSerial.jnilib" );
     Initialize ();
   }
 
--- rxtx-2.0-7pre2/src/SerialImp.h      2005-01-17 17:15:38.000000000 +0100
+++ rxtx-2.0-7pre-new/src/SerialImp.h   2005-05-05 22:41:22.000000000 +0200
@@ -165,7 +165,7 @@
 */
 #if defined(__APPLE__)
 #      define DEVICEDIR "/dev/"
-#      define LOCKDIR "/var/spool/uucp"
+#      define LOCKDIR "FINKPATH/var/spool/uucp"
 /*#    define LOCKDIR "/var/lock"*/
 #      define LOCKFILEPREFIX "LK."
 #      define UUCP
--- rxtx-2.0-7pre2/configure    2005-01-17 19:52:47.000000000 +0100
+++ rxtx-2.0-7pre-new/configure 2005-05-05 22:34:31.000000000 +0200
@@ -10064,15 +10064,15 @@
                ;;
        esac
 fi
-if  test -d $JPATH/share/kaffe/
-       then fix_comm_jar $JPATH/share/kaffe/comm.jar
-elif  test -d $JPATH/jre/lib/ext
-       then fix_comm_jar $JPATH/jre/lib/ext/comm.jar
-elif  test -d $JPATH/lib/ext
-       then fix_comm_jar $JPATH/lib/ext/comm.jar
-elif  test -d $JPATH/lib
-       then fix_comm_jar $JPATH/lib/comm.jar
-fi
+# if  test -d $JPATH/share/kaffe/
+#      then fix_comm_jar $JPATH/share/kaffe/comm.jar
+# elif  test -d $JPATH/jre/lib/ext
+#      then fix_comm_jar $JPATH/jre/lib/ext/comm.jar
+# elif  test -d $JPATH/lib/ext
+#      then fix_comm_jar $JPATH/lib/ext/comm.jar
+# elif  test -d $JPATH/lib
+#      then fix_comm_jar $JPATH/lib/comm.jar
+# fi
 
 #  http://www.tolstoy.com/samizdat/sysprops.html
 
@@ -10316,7 +10316,7 @@
 ;;
 
 Mac\ OS\ X)
-       fix_parameters $JPATH/lib/javax.comm.properties
+       # fix_parameters $JPATH/lib/javax.comm.properties
        LINK="\$(TOP)/libtool --mode=link \$(CC) -bundle -framework 
CoreFoundation -framework IOKit -o librxtx\$*.jnilib "
        OBJECT_EXTENSION="lo"
        LIB_EXTENSION="jnilib"

--- NEW FILE: classpathx-comm.info ---
Package: classpathx-comm
Version: 0.1
Revision: 3
Distribution: 10.4, 10.5
Type: java(1.4)
Depends: system-java14
BuildDepends: fink (>= 0.24.12), system-java14-dev

Source: mirror:gnu:classpathx/comm-20040420.tar.gz
Source-MD5: 805e73a0dea8ef6eb76ec1b80a6550f6
SourceDirectory: comm

PatchFile: %n.patch
PatchFile-MD5: 43e6c60c1629f75850eb51e2129b2a88
PatchScript: sed "s|FINKPATH|%p|" %{PatchFile} | patch -p1

CompileScript: <<
javac source/javax/comm/* -d .
jar -cf comm.jar javax
<<

InstallScript: # nothing to do

DocFiles: AUTHORS COPYING README ChangeLog README NEWS
JarFiles: comm.jar

Description: GPL javax.comm API implementation

DescPort: <<
Changed location of javax.comm.properties from "java.home" to %p/etc/
<<

License: LGPL
Homepage: http://savannah.gnu.org/projects/classpathx
Maintainer: Matthias Ringwald <[email protected]>

--- NEW FILE: rxtx-comm.info ---
Package: rxtx-comm
Version: 2.0-7pre2
Revision: 2
Distribution: 10.4, 10.5
Type: java(1.4)
Depends: classpathx-comm, system-java14
BuildDepends: fink (>= 0.24.12), system-java14-dev

Source: ftp://jarvi.dsl.frii.com/pub/rxtx/rxtx-%v.tar.gz
Source-MD5: 43127b18cb2e06684100b400d4b8263e

PatchFile: %n.patch
PatchFile-MD5: a7aa0f6f353a7726cbebbfbd4d63883e
PatchScript: sed "s|FINKPATH|%p|" %{PatchFile} | patch -p1

UseMaxBuildJobs: false
CompileScript: <<
./configure --prefix=%p
make
javadoc -d apidocs/ src/*.java
<<

InstallScript: <<
mkdir %i/lib
cp */librxtxSerial.jnilib %i/lib/
mkdir -p %i/share/doc/rxtx-comm
cp -R apidocs %i/share/doc/rxtx-comm/
mkdir %i/etc
echo "driver=gnu.io.RXTXCommDriver" > %i/etc/javax.comm.properties
mkdir -p %i/var/spool/uucp
chmod a+rwx %i/var/spool/uucp
<<

DocFiles: <<
AUTHORS ChangeLog COPYING INSTALL MacOSX PORTING README
RMISecurityManager.html SerialPortInstructions.txt TODO
<<

JarFiles: RXTXcomm.jar

Description: Native interface to serial ports in java

DescPort: <<
Patch incorporates configure changes and bug fixes from CVS.
It install librxrxSerial.jnilib in %p/lib and explicitly loads it from there.
<<

License: LGPL
Homepage: http://www.rxtx.org
Maintainer: Matthias Ringwald <[email protected]>

--- NEW FILE: classpathx-comm.patch ---
--- alt/source/javax/comm/CommPortIdentifier.java       Tue Apr 20 10:21:38 2004
+++ neu//source/javax/comm/CommPortIdentifier.java      Mon Jul 19 23:06:38 2004
@@ -82,9 +82,9 @@
     idByPort = new HashMap();
     
     // Load drivers
-    String props = new StringBuffer(System.getProperty("java.home"))
+    String props = new StringBuffer("FINKPATH")
       .append(File.separatorChar)
-      .append("lib")
+      .append("etc")
       .append(File.separatorChar)
       .append("javax.comm.properties")
       .toString();


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to