[bollin] r5478 committed - [svn-buildpackage] Tagging shogun 3.2.0-4

2 views
Skip to first unread message

bol...@googlecode.com

unread,
Jul 7, 2014, 11:29:47 AM7/7/14
to debian...@googlegroups.com
Revision: 5478
Author: Soeren.Sonnenburg
Date: Mon Jul 7 15:29:19 2014 UTC
Log: [svn-buildpackage] Tagging shogun 3.2.0-4
http://code.google.com/p/bollin/source/detail?r=5478

Added:
/shogun/tags/3.2.0-4
/shogun/tags/3.2.0-4/debian/libshogun16.install
/shogun/tags/3.2.0-4/debian/light-scrubber.sh
/shogun/tags/3.2.0-4/debian/patches/disable_sse.diff
/shogun/tags/3.2.0-4/debian/patches/series
Deleted:
/shogun/tags/3.2.0-4/debian/libshogun14.install
Replaced:
/shogun/tags/3.2.0-4/debian/changelog
/shogun/tags/3.2.0-4/debian/control
/shogun/tags/3.2.0-4/debian/copyright
/shogun/tags/3.2.0-4/debian/orig-tar.sh
/shogun/tags/3.2.0-4/debian/rules
/shogun/tags/3.2.0-4/debian/watch

=======================================
--- /dev/null
+++ /shogun/tags/3.2.0-4/debian/libshogun16.install Mon Jul 7 15:29:19
2014 UTC
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/libshogun*.so.*
+
=======================================
--- /dev/null
+++ /shogun/tags/3.2.0-4/debian/light-scrubber.sh Mon Jul 7 15:29:19 2014
UTC
@@ -0,0 +1,69 @@
+#!/bin/bash
+#
+# light-scrubber.sh
+#
+# Scrub stuff that depends or links against SVM^light, which we can't ship
in
+# tarballs used for several linux-distros. Thanks to Dr. Sören Sonnenburg
+# (sonney2k), the upstream author, for this. The scriptlets have been
+# slightly modified by me to preserve the original timestamps.
+#
+# TODO: Some next release or git-snapshot ships GPL'ed replacement of
SVMlight
+# called SVMbright. The scriptlet isn't needed anymore when this will be.
+#
+# The following scriptlet is Copyright (C) 1999 - 2013 Dr. Sören Sonnenburg
+# Modifications are Copyright (C) 2013 Björn Esser
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+rm -rf examples/*/*/{*light*,*_domainadaptationsvm_*} \
+ examples/undocumented/matlab_and_octave/tests/*light* \
+ src/shogun/classifier/svm/SVMLight.* \
+ src/shogun/classifier/svm/SVMLightOneClass.* \
+ src/shogun/regression/svr/SVRLight.* \
+ doc/md/LICENSE_SVMlight*
+
+for _file in `grep -rl USE_SVMLIGHT .`
+do
+ sed -i.orig -e \
+ '/\#ifdef USE_SVMLIGHT/,/\#endif \/\/USE_SVMLIGHT/c \\' ${_file} && \
+ touch -r ${_file}.orig ${_file} && \
+ rm -rf ${_file}.orig
+done
+
+for _file in `find . -depth -name 'CMakeLists.txt'`
+do
+ sed -i.orig -e 's!.*_sv[mr]light_.*!!g' ${_file} && \
+ touch -r ${_file}.orig ${_file} && \
+ rm -rf ${_file}.orig
+done
+
+for _file in src/shogun/kernel/Kernel.{cpp,h}
+do
+ sed -i.orig -e '/^ \* EXCEPT FOR THE KERNEL CACHING FUNCTIONS WHICH ARE
(W) THORSTEN JOACHIMS/,/ \* this program is free software/c\ * This program
is free software; you can redistribute it and/or modify' \
+ ${_file} && \
+ touch -r ${_file}.orig ${_file} && \
+ rm -rf ${_file}.orig
+done
+
+_file="src/interfaces/modular/Transfer_includes.i" && \
+cp -a ${_file} ${_file}.orig && \
+echo '%}' >> ${_file} && \
+touch -r ${_file}.orig ${_file} && \
+rm -rf ${_file}.orig
+
+_file="examples/undocumented/libshogun/" && \
+_file="${_file}evaluation_cross_validation_locked_comparison.cpp" && \
+sed -i.orig -e '/.*SVMLight.h>$/d' ${_file} && \
+touch -r ${_file}.orig ${_file} && \
+rm -rf ${_file}.orig
=======================================
--- /dev/null
+++ /shogun/tags/3.2.0-4/debian/patches/disable_sse.diff Mon Jul 7
15:29:19 2014 UTC
@@ -0,0 +1,19 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -482,14 +482,14 @@ CHECK_CXX_SOURCE_COMPILES(
+ AppendToDefines(HAVE_STD_ISNAN)
+
+ # check SSE and SSE2 intrinsics header
+-IF(NOT CYGWIN)
++IF((NOT CYGWIN) AND (NOT DISABLE_SSE))
+ include(CheckIncludeFile)
+ CHECK_INCLUDE_FILE(xmmintrin.h HAVE_BUILTIN_VECTOR)
+ CHECK_INCLUDE_FILE(emmintrin.h HAVE_SSE2)
+ IF(HAVE_SSE2)
+ LIST(APPEND DEFINES HAVE_SSE2)
+ ENDIF(HAVE_SSE2)
+-ENDIF(NOT CYGWIN)
++ENDIF((NOT CYGWIN) AND (NOT DISABLE_SSE))
+
+ ###### checks for random
+ CHECK_FUNCTION_EXISTS(arc4random HAVE_ARC4RANDOM)
=======================================
--- /dev/null
+++ /shogun/tags/3.2.0-4/debian/patches/series Mon Jul 7 15:29:19 2014 UTC
@@ -0,0 +1,1 @@
+disable_sse.diff
=======================================
--- /shogun/trunk/debian/libshogun14.install Fri Nov 15 07:09:12 2013 UTC
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/libshogun*.so.*
-
Reply all
Reply to author
Forward
0 new messages