summaryrefslogtreecommitdiff
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/cjc/files
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/cjc/files')
-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
4 files changed, 71 insertions, 0 deletions
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