[caffe-contrib] 211/362: d/README.Debian: update

Zhou Mo cdluminate-guest at moszumanska.debian.org
Tue May 3 09:24:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

cdluminate-guest pushed a commit to branch master
in repository caffe-contrib.

commit 36c9a63129003f4666b90059dbc75fe1e5c2f5de
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Thu Sep 3 08:20:56 2015 +0000

    d/README.Debian: update
---
 debian/README.Debian | 65 +++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 47 insertions(+), 18 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index 539f247..106682c 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -1,11 +1,3 @@
-Caffe README.Debian Index:
-
-  - Caffe for Debian
-  - Custom Build Caffe
-  - Bump Python3 back to Python2
-
----------------------------------------------------------------
-
                    Caffe for Debian
                    ================
 
@@ -14,22 +6,25 @@ Caffe README.Debian Index:
  install them together on your system):
 
   * Caffe-CPU suite:
+
     - caffe-cpu
 	- libcaffe-cpu0     (i.e. libcaffe-cpu${SOVERSION})
 	- libcaffe-cpu-dev
-	- python3-caffe-cpu
+	- python-caffe-cpu
  
   * Caffe-CUDA suite:
+
     - caffe-cuda
     - libcaffe-cuda0     (i.e. libcaffe-cuda${SOVERSION})
     - libcaffe-cuda-dev
-    - python3-caffe-cuda
+    - python-caffe-cuda
 
  Where 
+
   - caffe-{cpu,cuda} are the command line interface of caffe
   - libcaffe* are the core shared library of caffe
   - libcaffe-*-dev are the development files of caffe (incl. headers)
-  - python3-caffe-* are the python3 interfaces of caffe
+  - python-caffe-* are the python2 interfaces of caffe
 
  So pick a suite and enjoy Deep Learning ! :-)
 
@@ -92,21 +87,55 @@ Caffe README.Debian Index:
 
      If nothing went wrong, install them running [4]
 	 $ sudo dpkg -i libcaffe-*.deb
-     $ sudo dpkg -i caffe-* python3-caffe*
+     $ sudo dpkg -i caffe-* python*
 
   6. Done.
 
            
-                   Bump Python3 back to Python2
+                   Bump Python2 to Python3
                    ============================
 
- Yes, it is possible to make python-caffe (python2 interface) packages
- from this source.
+ 1. with patch
+ -------------
+
+  Yes, it is possible to make python-caffe (python3 interface) packages
+  from this source.
+ 
+   $ cd <source_root>
+   $ patch -p1 < debian/patches/unapplied/bump*.patch
+ 
+  Then please do a custom build following the guide above.
+
+  NOTICE: that patch may be a little out of date.
+          Hence extra manual edit may be need.
+
+ 2. Manually
+ -----------
+
+  When manually bumping python version, please make sure to edit these
+  files properly:
+
+   * file: debian/control
+     Carefully edit these entries:
+
+     + Build-deps
+     + X-Python-Version
+     + Short description and Description
+     + Depends
+     + Conflicts
+
+   * file: debian/python*.*
+     Change name of "python-*.*" to "python3-*.*"
+     And change python*.install to the right place:
+
+     e.g.
+	 + For python2.7 -> usr/lib/python2.7/dist-packages/
+     + For python3.4 -> usr/lib/python3/dist-packages/
 
- $ cd <source_root>
- $ patch -p1 < debian/patches/unapplied/bump-python3-back-to-python2.patch
+   * file: cmake files
+     May need to hack some CMake files to let it pass the build.
 
- Then please do a custom build following the guide above.
+  Then do the custom build as said above.
 
                    Footnotes
                    =========

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/caffe-contrib.git



More information about the debian-science-commits mailing list