summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2006-06-20 14:25:59 +0000
committerMike Pagano <mpagano@gentoo.org>2006-06-20 14:25:59 +0000
commite548a051dbc213609394d72c9bfd6f5f0827fa0f (patch)
tree8e1225523f894b8bf2c251b2ba97be53479c7674 /net-im
parentmedia-video/dvd-slideshow-0.7.5 - version bump, needed for media-video/mandvd (diff)
downloadsunrise-e548a051dbc213609394d72c9bfd6f5f0827fa0f.tar.gz
sunrise-e548a051dbc213609394d72c9bfd6f5f0827fa0f.tar.bz2
sunrise-e548a051dbc213609394d72c9bfd6f5f0827fa0f.zip
New cjc Ebuild for bug 134551, reviewed by genstef
svn path=/sunrise/; revision=152
Diffstat (limited to 'net-im')
-rw-r--r--net-im/cjc/ChangeLog9
-rw-r--r--net-im/cjc/Manifest24
-rw-r--r--net-im/cjc/cjc-1.0.0.ebuild32
-rw-r--r--net-im/cjc/files/cjc-1.0.0-Makefile-fix.patch46
-rw-r--r--net-im/cjc/files/cjc-1.0.0-path-fix.patch9
-rw-r--r--net-im/cjc/files/cjc-1.0.0-plugins-dir.patch13
-rw-r--r--net-im/cjc/files/digest-cjc-1.0.03
7 files changed, 136 insertions, 0 deletions
diff --git a/net-im/cjc/ChangeLog b/net-im/cjc/ChangeLog
new file mode 100644
index 000000000..668c13bad
--- /dev/null
+++ b/net-im/cjc/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-im/cjc
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*cjc-1.0.0 (20 Jun 2006)
+
+ 20 Jun 2006; Michael Pagano <mpagano@gmail.com> cjc-1.0.0.ebuild:
+ New ebuild for bug 134551 reviewed by genstef
+
diff --git a/net-im/cjc/Manifest b/net-im/cjc/Manifest
new file mode 100644
index 000000000..a9a269276
--- /dev/null
+++ b/net-im/cjc/Manifest
@@ -0,0 +1,24 @@
+AUX cjc-1.0.0-Makefile-fix.patch 1296 RMD160 14655097990720dcc35b487e3d20ab8af2d00ca3 SHA1 ea404dde15ea1c8541b1523e48a7cb7ef9559a3b SHA256 d49b2f46a000faf51eb01b577f858d921376052ef2e23bc1e9175310258e7ddd
+MD5 570ea5788320850b6b157c1ae759fb5c files/cjc-1.0.0-Makefile-fix.patch 1296
+RMD160 14655097990720dcc35b487e3d20ab8af2d00ca3 files/cjc-1.0.0-Makefile-fix.patch 1296
+SHA256 d49b2f46a000faf51eb01b577f858d921376052ef2e23bc1e9175310258e7ddd files/cjc-1.0.0-Makefile-fix.patch 1296
+AUX cjc-1.0.0-path-fix.patch 260 RMD160 5182a801a5577e39b47c0635899560230c545a80 SHA1 bdce6b11947bffe1d64cf72c2e55c301e3fb0981 SHA256 5c87020a0a632a8859531239d10914639deb4465a8c0ac68b5888ec14ba0899e
+MD5 ba58443be787899a4772a6b24547f91b files/cjc-1.0.0-path-fix.patch 260
+RMD160 5182a801a5577e39b47c0635899560230c545a80 files/cjc-1.0.0-path-fix.patch 260
+SHA256 5c87020a0a632a8859531239d10914639deb4465a8c0ac68b5888ec14ba0899e files/cjc-1.0.0-path-fix.patch 260
+AUX cjc-1.0.0-plugins-dir.patch 580 RMD160 8fb8abe78ffaa36dde7cec1a9f2b0b9a367aa93e SHA1 3829be70e8933276b28ffe8d6ebf3c257b2bd4f5 SHA256 4136418e5a8a8e453cded8a2ef5fb1a94209edf1b386dac698dba4d180fa0dd9
+MD5 903aa10ff4606c1fea2d8b711ba91e80 files/cjc-1.0.0-plugins-dir.patch 580
+RMD160 8fb8abe78ffaa36dde7cec1a9f2b0b9a367aa93e files/cjc-1.0.0-plugins-dir.patch 580
+SHA256 4136418e5a8a8e453cded8a2ef5fb1a94209edf1b386dac698dba4d180fa0dd9 files/cjc-1.0.0-plugins-dir.patch 580
+DIST cjc-1.0.0.tar.gz 106948 RMD160 3992d506f50225e68fb11da19edacfdbd52f5a3e SHA1 2f9398f7872d9b51b95f43c77d3bb073fef6c53e SHA256 a2f00c28dc5ae86551e1ce1a8bff98d2b33566fe14a60c4f689b15b81f32cc00
+EBUILD cjc-1.0.0.ebuild 747 RMD160 3d6744cfc6ece87a6e31e299c16b7b31e82482ed SHA1 589bf1b724d0201220fbef388ec27825ffd211e8 SHA256 b4c771d88156f1a24211ff1fb03ec0f407a43def6c9900b3b90dd53bbfbbf6ec
+MD5 ed4030790ac816011c652d8b3ae01e5f cjc-1.0.0.ebuild 747
+RMD160 3d6744cfc6ece87a6e31e299c16b7b31e82482ed cjc-1.0.0.ebuild 747
+SHA256 b4c771d88156f1a24211ff1fb03ec0f407a43def6c9900b3b90dd53bbfbbf6ec cjc-1.0.0.ebuild 747
+MISC ChangeLog 254 RMD160 480c8d918679069105cd187217816db4d7750c1b SHA1 96c9f500b8fedd171e06732d7a6dfbd53bb24231 SHA256 510aabbfc4d9a7aa5f19ef7b51a970c07668b92b3047299814bd67bd193e99f4
+MD5 6eb71760223f781c7087ef55d0f8a89c ChangeLog 254
+RMD160 480c8d918679069105cd187217816db4d7750c1b ChangeLog 254
+SHA256 510aabbfc4d9a7aa5f19ef7b51a970c07668b92b3047299814bd67bd193e99f4 ChangeLog 254
+MD5 c64cef6a7592671bd6a332226aa086c7 files/digest-cjc-1.0.0 229
+RMD160 ad65d2c972009c9c8bd663f140c51a5b3eebfdad files/digest-cjc-1.0.0 229
+SHA256 5997320fd31de30a19181f5af0ddb88b1636f19343170c654894f5e8f00b8bf0 files/digest-cjc-1.0.0 229
diff --git a/net-im/cjc/cjc-1.0.0.ebuild b/net-im/cjc/cjc-1.0.0.ebuild
new file mode 100644
index 000000000..697df121f
--- /dev/null
+++ b/net-im/cjc/cjc-1.0.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="The Console Jabber Client - Jabber client with text-based user interface"
+HOMEPAGE="http://jabberstudio.org/projects/cjc/project/view.phpom/"
+SRC_URI="http://files.jabberstudio.org/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+KEYWORDS="~x86"
+
+IUSE=""
+DEPEND=""
+RDEPEND=">=dev-lang/python-2.4.2
+ >=net-im/pyxmpp-1.0.0"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-plugins-dir.patch"
+ epatch "${FILESDIR}/${P}-path-fix.patch"
+ epatch "${FILESDIR}/${P}-Makefile-fix.patch"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dohtml doc/manual.html
+}
diff --git a/net-im/cjc/files/cjc-1.0.0-Makefile-fix.patch b/net-im/cjc/files/cjc-1.0.0-Makefile-fix.patch
new file mode 100644
index 000000000..036a5ed71
--- /dev/null
+++ b/net-im/cjc/files/cjc-1.0.0-Makefile-fix.patch
@@ -0,0 +1,46 @@
+--- Makefile.orig 2006-06-03 09:59:29.000000000 -0400
++++ Makefile 2006-06-03 10:27:38.000000000 -0400
+@@ -1,7 +1,7 @@
+
+-prefix=/usr/local
+-bindir=$(prefix)/bin
+-datadir=$(prefix)/share
++prefix=/usr/lib
++bindir=/usr/bin
++datadir=$(prefix)
+ docdir=$(datadir)/doc
+
+ DESTDIR=
+@@ -13,13 +13,14 @@
+ UNINSTALL=rm
+ UNINSTALL_DIR=rm -r
+
+-pkg_datadir=$(datadir)/cjc
++pkg_datadir=$(datadir)
+ pkg_docdir=$(docdir)/cjc
+
+ VERSION=1.0.0
+ SNAPSHOT=
+
+-PY_DIRS=cjc cjc/ui plugins
++PY_DIRS=cjc cjc/ui
++PY_PLUGINDIRS=plugins
+ DOCS=doc/manual.html COPYING ChangeLog README TODO
+
+ EXTRA_DIST=cjc.in cjc.py doc/manual.xml doc/Makefile
+@@ -58,9 +59,13 @@
+ $(INSTALL_DIR) $(DESTDIR)$(pkg_datadir)/$$d ; \
+ $(INSTALL_DATA) $$d/*.py $(DESTDIR)$(pkg_datadir)/$$d ; \
+ done
++ for d in $(PY_PLUGINDIRS) ; do \
++ $(INSTALL_DIR) $(DESTDIR)$(pkg_datadir)/cjc/$$d ; \
++ $(INSTALL_DATA) $$d/*.py $(DESTDIR)$(pkg_datadir)/cjc/$$d ; \
++ done
+ python -c "import compileall; compileall.compile_dir('$(DESTDIR)$(pkg_datadir)', ddir='$(pkg_datadir)')"
+- $(INSTALL_DIR) $(DESTDIR)$(pkg_docdir)
+- $(INSTALL_DATA) $(DOCS) $(DESTDIR)$(pkg_docdir)
++# $(INSTALL_DIR) $(DESTDIR)$(pkg_docdir)
++# $(INSTALL_DATA) $(DOCS) $(DESTDIR)$(pkg_docdir)
+ $(INSTALL_DIR) $(DESTDIR)$(bindir)
+ $(INSTALL) cjc.inst $(DESTDIR)$(bindir)/cjc
+
diff --git a/net-im/cjc/files/cjc-1.0.0-path-fix.patch b/net-im/cjc/files/cjc-1.0.0-path-fix.patch
new file mode 100644
index 000000000..b251c99c6
--- /dev/null
+++ b/net-im/cjc/files/cjc-1.0.0-path-fix.patch
@@ -0,0 +1,9 @@
+--- cjc.in.orig 2006-06-03 11:48:11.000000000 -0400
++++ cjc.in 2006-06-03 11:50:12.000000000 -0400
+@@ -10,5 +10,6 @@
+
+ import sys
+ sys.path.insert(0,base_dir)
++sys.path.insert (0, "/usr/lib/python2.4/site-packages")
+ from cjc import main
+ main.main(base_dir)
diff --git a/net-im/cjc/files/cjc-1.0.0-plugins-dir.patch b/net-im/cjc/files/cjc-1.0.0-plugins-dir.patch
new file mode 100644
index 000000000..e25960e83
--- /dev/null
+++ b/net-im/cjc/files/cjc-1.0.0-plugins-dir.patch
@@ -0,0 +1,13 @@
+--- cjc/main.py.orig 2006-06-03 11:27:11.000000000 -0400
++++ cjc/main.py 2006-06-03 11:27:27.000000000 -0400
+@@ -164,8 +164,8 @@
+ else:
+ home=os.environ.get("HOME","")
+ self.home_dir=os.path.join(home,".cjc")
+- self.plugin_dirs=[os.path.join(base_dir,"plugins"),
+- os.path.join(self.home_dir,"plugins")]
++ self.plugin_dirs=[os.path.join(base_dir,"cjc/plugins"),
++ os.path.join(self.home_dir,"cjc/plugins")]
+ self.plugins={}
+ self.plugin_modules={}
+ self.event_handlers={}
diff --git a/net-im/cjc/files/digest-cjc-1.0.0 b/net-im/cjc/files/digest-cjc-1.0.0
new file mode 100644
index 000000000..ec74f96ac
--- /dev/null
+++ b/net-im/cjc/files/digest-cjc-1.0.0
@@ -0,0 +1,3 @@
+MD5 a557fabab8ca2070f444a307cb18d66a cjc-1.0.0.tar.gz 106948
+RMD160 3992d506f50225e68fb11da19edacfdbd52f5a3e cjc-1.0.0.tar.gz 106948
+SHA256 a2f00c28dc5ae86551e1ce1a8bff98d2b33566fe14a60c4f689b15b81f32cc00 cjc-1.0.0.tar.gz 106948