diff options
Diffstat (limited to 'net-im/cjc/files')
-rw-r--r-- | net-im/cjc/files/cjc-1.0.0-Makefile-fix.patch | 46 | ||||
-rw-r--r-- | net-im/cjc/files/cjc-1.0.0-path-fix.patch | 9 | ||||
-rw-r--r-- | net-im/cjc/files/cjc-1.0.0-plugins-dir.patch | 13 | ||||
-rw-r--r-- | net-im/cjc/files/digest-cjc-1.0.0 | 3 |
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 |