summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorOleg Kluchkin <oleg.kluchkin@gmail.com>2009-01-22 14:05:49 +0000
committerOleg Kluchkin <oleg.kluchkin@gmail.com>2009-01-22 14:05:49 +0000
commita11709d5bc617d404c1f6b3d0885e0e2950cc1e1 (patch)
tree6ff97d0e723508b0bf44e744053db9fc1ebc25e6 /net-im
parentnet-misc/gns3: whitespace (diff)
downloadsunrise-reviewed-a11709d5bc617d404c1f6b3d0885e0e2950cc1e1.tar.gz
sunrise-reviewed-a11709d5bc617d404c1f6b3d0885e0e2950cc1e1.tar.bz2
sunrise-reviewed-a11709d5bc617d404c1f6b3d0885e0e2950cc1e1.zip
Starting commit Spark IM
svn path=/sunrise/; revision=7769
Diffstat (limited to 'net-im')
-rw-r--r--net-im/spark/ChangeLog8
-rw-r--r--net-im/spark/Manifest5
-rw-r--r--net-im/spark/files/spark.sh30
-rw-r--r--net-im/spark/metadata.xml10
-rw-r--r--net-im/spark/spark-2.5.8.ebuild47
5 files changed, 100 insertions, 0 deletions
diff --git a/net-im/spark/ChangeLog b/net-im/spark/ChangeLog
new file mode 100644
index 000000000..94c4e2368
--- /dev/null
+++ b/net-im/spark/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-im/spark
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header:
+
+ 13 Jan 2009; Oleg Kluchkin <oleg.kluchkin@gmail.com> +spark-2.5.8.ebuild:
+ Initial commit of Spark IM
+
+*spark-2.5.8 (13 Jan 2009) \ No newline at end of file
diff --git a/net-im/spark/Manifest b/net-im/spark/Manifest
new file mode 100644
index 000000000..380f652cc
--- /dev/null
+++ b/net-im/spark/Manifest
@@ -0,0 +1,5 @@
+AUX spark.sh 629 RMD160 e8fbeaff983537d98cab54faf2bd9af2ce7a356a SHA1 75358e1de7f74f717255a930df5064bd87d644ff SHA256 4fefe7c85d9368d6b45688972698a542dba4aaddb143e44af0942985d36a115b
+DIST spark_2_5_8.tar.gz 32563759 RMD160 54253ae211560d029fd10528da5e629444986bdd SHA1 0dbc05e2f37d67d038878b35690c0e34ced00947 SHA256 962b38f433845f28d438599c402fd2fda91f978abc54c7fc2d1436066a21315f
+EBUILD spark-2.5.8.ebuild 1269 RMD160 e4547895725a52e739f2b5d74f2fda551b3ec506 SHA1 a267d5f21a5888960c444f048dcb027da0eb70d0 SHA256 926c9993b8ac4aa8e61ad3f7e490f0f7714125620bac98da1b6141b11e6e8623
+MISC ChangeLog 244 RMD160 cfd6974e376595d165080d39afc2b17fad70e328 SHA1 d26691c45eee78d50cb0ecd79bd82548b76e8616 SHA256 5e5706ecc1f9ab9c5f7b10f1ca214602e9df507c695b2c81b88c3afe1e2e8b3b
+MISC metadata.xml 518 RMD160 7eeed50c6403c3474ca454c1c6bec1c77658e1fb SHA1 af32668b35046f7c88e024440e009b0e8a34992e SHA256 f45cb4dfbcbfee98b8dcf30f26555d56259c1e01215a997c6f7c9bbcd7aa8290
diff --git a/net-im/spark/files/spark.sh b/net-im/spark/files/spark.sh
new file mode 100644
index 000000000..10056a0eb
--- /dev/null
+++ b/net-im/spark/files/spark.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+BASE=/usr/share/spark
+
+#Installing emotions
+if [[ ! -d ~/.Spark/xtra/emoticons ]] ; then
+ mkdir -p ~/.Spark/xtra/emoticons
+ cd ~/.Spark/xtra/emoticons/
+ for em in ${BASE}/xtra/emoticons/*.zip ; do
+ unzip -qq ${em}
+ done
+
+fi
+
+#Installing plugins
+if [[ ! -d ~/.Spark/plugins ]] ; then
+ mkdir -p ~/.Spark/plugins
+ cp ${BASE}/plugins/*.jar ~/.Spark/plugins/
+fi
+
+#Preparing sounds
+if [[ ! -d ~/.Spark/resources ]] ; then
+ mkdir -p ~/.Spark/resources
+ ln -s ${BASE}/resources/sounds ~/.Spark/resources/sounds
+fi
+
+
+#Running application
+cd ${BASE}/lib/
+"${JAVA_HOME}/bin/java" -jar startup.jar \ No newline at end of file
diff --git a/net-im/spark/metadata.xml b/net-im/spark/metadata.xml
new file mode 100644
index 000000000..57696aba5
--- /dev/null
+++ b/net-im/spark/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>spark</herd>
+<longdescription>Spark is an Open Source, cross-platform IM client
+optimized for businesses and organizations. It features built-in support for group chat,
+telephony integration, and strong security.
+It also offers a great end-user experience with features like in-line spell checking,
+group chat room bookmarks, and tabbed conversations.</longdescription>
+</pkgmetadata>
diff --git a/net-im/spark/spark-2.5.8.ebuild b/net-im/spark/spark-2.5.8.ebuild
new file mode 100644
index 000000000..81f808ba3
--- /dev/null
+++ b/net-im/spark/spark-2.5.8.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils java-pkg
+
+DESCRIPTION="Spark is an Open Source, cross-platform IM client optimized for businesses and organizations"
+HOMEPAGE="http://www.igniterealtime.org/projects/spark/"
+SRC_URI="http://www.igniterealtime.org/builds/spark/${PN//-/_}_${PV//./_}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=">=virtual/jdk-1.5
+ >=virtual/jre-1.5"
+DEPEND="app-arch/unzip"
+
+S=${WORKDIR}/Spark
+
+src_install() {
+ java-pkg_dojar lib/*.jar
+ java-pkg_dojar .install4j/*.jar
+
+ insinto /usr/share/spark
+ doins -r resources xtra plugins
+
+ dobin "${FILESDIR}"/spark.sh || die
+ unzip -qq lib/spark.jar
+ doicon "${WORKDIR}"/images/spark-64x64.png
+ make_desktop_entry spark.sh "Spark IM" spark-64x64 "Network;InstantMessaging"
+
+ if use doc; then
+ dohtml -r documentation/*
+ fi
+}
+
+pkg_postinst() {
+ ewarn "If you have problems with system-tray, read following:"
+ ewarn "http://www.igniterealtime.org/community/message/168762#168711"
+ ewarn
+ ewarn "And then, please, do:"
+ ewarn "1. replace /usr/share/spark/plugins/jniwrapper.jar with attachment from the post above;"
+ ewarn "2. remove ~/.Spark/plugins"
+ ewarn "3. re-start Spark IM"
+} \ No newline at end of file