From 202c070e0f1e7058098f38ea534d08b20308fda1 Mon Sep 17 00:00:00 2001 From: Jan Brinkmann Date: Sat, 22 Jan 2005 15:35:20 +0000 Subject: version bump. now we build jxplorer from source and we also dont make use of packed jars any longer. fixes bug #63243. (Portage version: 2.0.51-r14) --- net-nds/jxplorer/files/build.xml | 70 ++++++++++++++++++++++++++ net-nds/jxplorer/files/digest-jxplorer-3.1_rc4 | 2 + net-nds/jxplorer/files/jxplorer-gentoo.patch | 49 ++++++++++++++++++ net-nds/jxplorer/files/jxplorer-log4j.patch | 11 ++++ net-nds/jxplorer/files/jxplorer.sh | 28 +++++++++++ 5 files changed, 160 insertions(+) create mode 100644 net-nds/jxplorer/files/build.xml create mode 100644 net-nds/jxplorer/files/digest-jxplorer-3.1_rc4 create mode 100644 net-nds/jxplorer/files/jxplorer-gentoo.patch create mode 100644 net-nds/jxplorer/files/jxplorer-log4j.patch create mode 100644 net-nds/jxplorer/files/jxplorer.sh (limited to 'net-nds/jxplorer/files') diff --git a/net-nds/jxplorer/files/build.xml b/net-nds/jxplorer/files/build.xml new file mode 100644 index 000000000000..819f7ed311a0 --- /dev/null +++ b/net-nds/jxplorer/files/build.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/net-nds/jxplorer/files/digest-jxplorer-3.1_rc4 b/net-nds/jxplorer/files/digest-jxplorer-3.1_rc4 new file mode 100644 index 000000000000..c31194edd662 --- /dev/null +++ b/net-nds/jxplorer/files/digest-jxplorer-3.1_rc4 @@ -0,0 +1,2 @@ +MD5 67cdcf798ca8e526a99a0bacb2473909 JXv3.1rc4src.tar.bz2 408207 +MD5 2a22c59b2233d10bfc3f4721cbe9c519 JXv3.1rc4deploy.tar.bz2 3017420 diff --git a/net-nds/jxplorer/files/jxplorer-gentoo.patch b/net-nds/jxplorer/files/jxplorer-gentoo.patch new file mode 100644 index 000000000000..a9f8e54f4c12 --- /dev/null +++ b/net-nds/jxplorer/files/jxplorer-gentoo.patch @@ -0,0 +1,49 @@ +diff -uprN jxplorer.orig/src/com/ca/commons/cbutil/CBOpenConWin.java jxplorer/src/com/ca/commons/cbutil/CBOpenConWin.java +--- jxplorer.orig/src/com/ca/commons/cbutil/CBOpenConWin.java 2004-12-28 19:30:42.000000000 +0100 ++++ jxplorer/src/com/ca/commons/cbutil/CBOpenConWin.java 2005-01-02 17:24:15.765367432 +0100 +@@ -501,4 +501,4 @@ public abstract class CBOpenConWin exten + */ + + public abstract void connect(ConnectionData connectData); +-} +\ No newline at end of file ++} +diff -uprN jxplorer.orig/src/com/ca/commons/cbutil/CBUtility.java jxplorer/src/com/ca/commons/cbutil/CBUtility.java +--- jxplorer.orig/src/com/ca/commons/cbutil/CBUtility.java 2004-12-28 19:30:42.000000000 +0100 ++++ jxplorer/src/com/ca/commons/cbutil/CBUtility.java 2005-01-02 17:10:12.559554200 +0100 +@@ -1399,7 +1399,7 @@ if (debug) System.out.println("\n\n Star + String pathToConfigFile; + + // the potential path to a config file in the user home directory +- String userHomeConfigDir = System.getProperty("user.home") + File.separator + "jxplorer" ; ++ String userHomeConfigDir = System.getProperty("user.home") + File.separator + ".jxplorer" ; + String userHomeConfigFilePath = userHomeConfigDir + File.separator + configFileName; + + // the default config location is to the directory JXplorer is run from. +@@ -1440,4 +1440,4 @@ if (debug) System.out.println("\n\n Star + // the directory JXplorer is run from. + return defaultConfigFilePath; + } +-} +\ No newline at end of file ++} +diff -uprN jxplorer.orig/src/com/ca/directory/jxplorer/editor/PostalAddressEditor.java jxplorer/src/com/ca/directory/jxplorer/editor/PostalAddressEditor.java +--- jxplorer.orig/src/com/ca/directory/jxplorer/editor/PostalAddressEditor.java 2004-12-28 19:30:42.000000000 +0100 ++++ jxplorer/src/com/ca/directory/jxplorer/editor/PostalAddressEditor.java 2004-12-28 19:57:10.000000000 +0100 +@@ -240,4 +240,4 @@ public class PostalAddressEditor extends + setVisible(false); + dispose(); + } +-} +\ No newline at end of file ++} +diff -uprN jxplorer.orig/src/com/ca/directory/jxplorer/JXplorer.java jxplorer/src/com/ca/directory/jxplorer/JXplorer.java +--- jxplorer.orig/src/com/ca/directory/jxplorer/JXplorer.java 2004-12-28 19:30:42.000000000 +0100 ++++ jxplorer/src/com/ca/directory/jxplorer/JXplorer.java 2005-01-02 17:09:17.747886840 +0100 +@@ -1874,4 +1874,4 @@ public class JXplorer extends JFrame + { + return buttonRegister; + } +-} +\ No newline at end of file ++} diff --git a/net-nds/jxplorer/files/jxplorer-log4j.patch b/net-nds/jxplorer/files/jxplorer-log4j.patch new file mode 100644 index 000000000000..ab84e2b7e7cd --- /dev/null +++ b/net-nds/jxplorer/files/jxplorer-log4j.patch @@ -0,0 +1,11 @@ +--- ../jxplorer-deploy.orig/log4j.xml 2004-12-18 06:29:43.000000000 +0100 ++++ log4j.xml 2004-12-28 01:03:57.975167024 +0100 +@@ -3,7 +3,7 @@ + + + +- ++ + + + diff --git a/net-nds/jxplorer/files/jxplorer.sh b/net-nds/jxplorer/files/jxplorer.sh new file mode 100644 index 000000000000..1358b165c915 --- /dev/null +++ b/net-nds/jxplorer/files/jxplorer.sh @@ -0,0 +1,28 @@ +#!/bin/sh + +java=`java-config -J` +jxplorer_home=/usr/share/jxplorer + +cp=`java-config -p jxplorer`:`java-config -p javahelp-bin` +cp=${cp}:`java-config -p log4j`:`java-config -p sun-jaf-bin` +cp=${cp}:`java-config -p commons-logging`:`java-config -p dom4j-1` +cp=${cp}:`java-config -p sun-javamail-bin`:`java-config -p axis-1` +cp=${cp}:`java-config -p sun-dsml-bin-2`:`java-config -p commons-discovery` + +if [ ! -d ${HOME}/.jxplorer ]; then + mkdir ${HOME}/.jxplorer + cp ${jxplorer_home}/connections.txt ${HOME}/.jxplorer + touch ${HOME}/.jxplorer/dxconfig.txt +fi +if [ -d ${HOME}/.jxplorer ]; then + if [ ! -f ${HOME}/.jxplorer/dxconfig.txt ]; then + touch ${HOME}/.jxplorer/dxconfig.txt + fi + if [ ! -f ${HOME}/.jxplorer/connections.txt ]; then + cp ${jxplorer_home}/connections.txt ${HOME}/.jxplorer + fi +fi + +cd ${jxplorer_home} +${java} -cp ${cp} com.ca.directory.jxplorer.JXplorer >& /dev/null + -- cgit v1.2.3-65-gdbad