r44990 - in /packages/ceres-solver: ./ trunk/ trunk/debian/ trunk/debian/patches/ trunk/debian/source/

malat at users.alioth.debian.org malat at users.alioth.debian.org
Fri Jun 8 12:57:33 UTC 2012


Author: malat
Date: Fri Jun  8 12:57:32 2012
New Revision: 44990

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44990
Log:
Add ceres-solver

Added:
    packages/ceres-solver/
    packages/ceres-solver/trunk/
    packages/ceres-solver/trunk/debian/
    packages/ceres-solver/trunk/debian/ceres-solver-doc.doc-base
    packages/ceres-solver/trunk/debian/ceres-solver-doc.docs
    packages/ceres-solver/trunk/debian/ceres-solver-doc.examples
    packages/ceres-solver/trunk/debian/changelog
    packages/ceres-solver/trunk/debian/compat
    packages/ceres-solver/trunk/debian/control
    packages/ceres-solver/trunk/debian/copyright
    packages/ceres-solver/trunk/debian/libceres-dev.install
    packages/ceres-solver/trunk/debian/libceres.pc
    packages/ceres-solver/trunk/debian/libceres1.install
    packages/ceres-solver/trunk/debian/patches/
    packages/ceres-solver/trunk/debian/patches/10_build-shared.patch
    packages/ceres-solver/trunk/debian/patches/20_without-examples.patch
    packages/ceres-solver/trunk/debian/patches/series
    packages/ceres-solver/trunk/debian/rules   (with props)
    packages/ceres-solver/trunk/debian/source/
    packages/ceres-solver/trunk/debian/source/format
    packages/ceres-solver/trunk/debian/watch

Added: packages/ceres-solver/trunk/debian/ceres-solver-doc.doc-base
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/ceres-solver-doc.doc-base?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/ceres-solver-doc.doc-base (added)
+++ packages/ceres-solver/trunk/debian/ceres-solver-doc.doc-base Fri Jun  8 12:57:32 2012
@@ -1,0 +1,8 @@
+Document: ceres-solver-doc
+Title: Ceres Solver: Tutorial & Reference
+Author: Sameer AgarwalL <sameeragarwal at google.com>, Keir Mierle <keir at google.com>
+Abstract: This tutorial and reference describes usage of Ceres Solver
+Section: Science/Engineering
+
+Format: PDF
+Files: /usr/share/doc/ceres-solver-doc/ceres.pdf.gz

Added: packages/ceres-solver/trunk/debian/ceres-solver-doc.docs
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/ceres-solver-doc.docs?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/ceres-solver-doc.docs (added)
+++ packages/ceres-solver/trunk/debian/ceres-solver-doc.docs Fri Jun  8 12:57:32 2012
@@ -1,0 +1,1 @@
+docs/ceres.pdf

Added: packages/ceres-solver/trunk/debian/ceres-solver-doc.examples
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/ceres-solver-doc.examples?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/ceres-solver-doc.examples (added)
+++ packages/ceres-solver/trunk/debian/ceres-solver-doc.examples Fri Jun  8 12:57:32 2012
@@ -1,0 +1,2 @@
+examples/*.cc
+examples/*.h

Added: packages/ceres-solver/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/changelog?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/changelog (added)
+++ packages/ceres-solver/trunk/debian/changelog Fri Jun  8 12:57:32 2012
@@ -1,0 +1,5 @@
+ceres-solver (1.1.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #673238)
+
+ -- Koichi Akabe <vbkaisetsu at gmail.com>  Mon, 04 June 2012 07:15:43 +0900

Added: packages/ceres-solver/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/compat?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/compat (added)
+++ packages/ceres-solver/trunk/debian/compat Fri Jun  8 12:57:32 2012
@@ -1,0 +1,1 @@
+9

Added: packages/ceres-solver/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/control?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/control (added)
+++ packages/ceres-solver/trunk/debian/control Fri Jun  8 12:57:32 2012
@@ -1,0 +1,39 @@
+Source: ceres-solver
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Koichi Akabe <vbkaisetsu at gmail.com>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 9.0.0), cmake, libgoogle-glog-dev (>= 0.3.1), libgflags-dev, libeigen3-dev, libsuitesparse-dev, libprotobuf-dev, protobuf-compiler
+Standards-Version: 3.9.3
+Section: math
+Homepage: http://code.google.com/p/ceres-solver/
+
+Package: libceres-dev
+Section: libdevel
+Architecture: linux-any kfreebsd-any
+Depends: libceres1 (= ${binary:Version}), ${misc:Depends}, libglog-dev (>= 0.3.1), libeigen3-dev
+Description: nonlinear least squares minimizer (development files)
+ Ceres Solver solves nonlinear least squares problems comes up in
+ a broad range of areas across science and engineering.
+ .
+ This package contains development header files.
+
+Package: libceres1
+Section: libs
+Architecture: linux-any kfreebsd-any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: nonlinear least squares minimizer (shared library)
+ Ceres Solver solves nonlinear least squares problems comes up in
+ a broad range of areas across science and engineering.
+ .
+ This package contains development library.
+
+Package: ceres-solver-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: documentation for ceres-solver
+ Ceres Solver solves nonlinear least squares problems comes up in
+ a broad range of areas across science and engineering.
+ .
+ This package contains tutorial and reference.

Added: packages/ceres-solver/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/copyright?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/copyright (added)
+++ packages/ceres-solver/trunk/debian/copyright Fri Jun  8 12:57:32 2012
@@ -1,0 +1,37 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ceres-solver
+Source: http://code.google.com/p/ceres-solver/
+
+Files: *
+Copyright: 2010-2012 Google Inc.
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2012 Koichi Akabe <vbkaisetsu at gmail.com>
+License: BSD-3-Clause
+
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the University nor the names of its contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+

Added: packages/ceres-solver/trunk/debian/libceres-dev.install
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/libceres-dev.install?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/libceres-dev.install (added)
+++ packages/ceres-solver/trunk/debian/libceres-dev.install Fri Jun  8 12:57:32 2012
@@ -1,0 +1,4 @@
+include/ceres usr/include
+usr/lib/lib*.a
+usr/lib/lib*.so
+debian/libceres.pc usr/lib/pkgconfig

Added: packages/ceres-solver/trunk/debian/libceres.pc
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/libceres.pc?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/libceres.pc (added)
+++ packages/ceres-solver/trunk/debian/libceres.pc Fri Jun  8 12:57:32 2012
@@ -1,0 +1,11 @@
+prefix=/usr
+libdir=${prefix}/lib
+includedir=${prefix}/include
+
+Name: ceres
+Description: Ceres Solver - nonlinear least squares minimizer
+URL: http://code.google.com/p/ceres-solver
+Version: 1.1.0
+Libs: -L${libdir} -lceres
+Cflags: -I${includedir} -I${includedir}/eigen3
+

Added: packages/ceres-solver/trunk/debian/libceres1.install
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/libceres1.install?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/libceres1.install (added)
+++ packages/ceres-solver/trunk/debian/libceres1.install Fri Jun  8 12:57:32 2012
@@ -1,0 +1,1 @@
+usr/lib/lib*.so.*

Added: packages/ceres-solver/trunk/debian/patches/10_build-shared.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/patches/10_build-shared.patch?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/patches/10_build-shared.patch (added)
+++ packages/ceres-solver/trunk/debian/patches/10_build-shared.patch Fri Jun  8 12:57:32 2012
@@ -1,0 +1,40 @@
+Description: build shared library
+ ceres-solver doesn't build shared library on default. This patch changes
+ CMakeList.txt to build it.
+Author: Koichi Akabe <vbkaisetsu at gmail.com>
+Last-Update: <2012-05-16>
+
+--- ceres-solver-1.1.1.orig/internal/ceres/CMakeLists.txt
++++ ceres-solver-1.1.1/internal/ceres/CMakeLists.txt
+@@ -106,6 +106,13 @@ ADD_LIBRARY(ceres
+             ${CERES_INTERNAL_HDRS}
+             ${CERES_INTERNAL_SCHUR_FILES})
+ 
++ADD_LIBRARY(ceres_shared SHARED
++            ${PROTO_SRCS}
++            ${PROTO_HDRS}
++            ${CERES_INTERNAL_SRC}
++            ${CERES_INTERNAL_HDRS}
++            ${CERES_INTERNAL_SCHUR_FILES})
++
+ SET(CERES_LIBRARY_DEPENDENCIES ${GLOG_LIB})
+ 
+ IF (GFLAGS)
+@@ -139,6 +146,7 @@ IF (PROTOBUF_FOUND)
+ ENDIF (PROTOBUF_FOUND)
+ 
+ TARGET_LINK_LIBRARIES(ceres ${CERES_LIBRARY_DEPENDENCIES})
++TARGET_LINK_LIBRARIES(ceres_shared ${CERES_LIBRARY_DEPENDENCIES})
+ 
+ IF (BUILD_TESTING)
+   ADD_LIBRARY(gtest gmock_gtest_all.cc gmock_main.cc)
+@@ -201,3 +209,9 @@ IF (BUILD_TESTING)
+     CERES_TEST(visibility_based_preconditioner)
+   ENDIF (GFLAGS)
+ ENDIF (BUILD_TESTING)
++
++SET(serial "1.1.0")
++SET(soserial "1")
++SET_TARGET_PROPERTIES(ceres_shared PROPERTIES VERSION ${serial} SOVERSION ${soserial} OUTPUT_NAME ceres)
++INSTALL(TARGETS ceres DESTINATION lib)
++INSTALL(TARGETS ceres_shared LIBRARY DESTINATION lib)

Added: packages/ceres-solver/trunk/debian/patches/20_without-examples.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/patches/20_without-examples.patch?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/patches/20_without-examples.patch (added)
+++ packages/ceres-solver/trunk/debian/patches/20_without-examples.patch Fri Jun  8 12:57:32 2012
@@ -1,0 +1,14 @@
+Description: build without examples
+ This patch avoids to build example codes
+Last-Update: <2012-05-19>
+
+--- ceres-solver-1.1.1.orig/CMakeLists.txt
++++ ceres-solver-1.1.1/CMakeLists.txt
+@@ -363,7 +363,6 @@ IF (NOT CMAKE_BUILD_TYPE)
+ ENDIF (NOT CMAKE_BUILD_TYPE)
+ 
+ ADD_SUBDIRECTORY(internal/ceres)
+-ADD_SUBDIRECTORY(examples)
+ 
+ # TODO(sameeragarwal): The following flags break the old gcc that
+ # ships on Mac OS X. Make this conditional on operating system and

Added: packages/ceres-solver/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/patches/series?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/patches/series (added)
+++ packages/ceres-solver/trunk/debian/patches/series Fri Jun  8 12:57:32 2012
@@ -1,0 +1,2 @@
+10_build-shared.patch
+20_without-examples.patch

Added: packages/ceres-solver/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/rules?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/rules (added)
+++ packages/ceres-solver/trunk/debian/rules Fri Jun  8 12:57:32 2012
@@ -1,0 +1,11 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_compress:
+	dh_compress -X.cc -X.h

Propchange: packages/ceres-solver/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: packages/ceres-solver/trunk/debian/source/format
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/source/format?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/source/format (added)
+++ packages/ceres-solver/trunk/debian/source/format Fri Jun  8 12:57:32 2012
@@ -1,0 +1,1 @@
+3.0 (quilt)

Added: packages/ceres-solver/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/ceres-solver/trunk/debian/watch?rev=44990&op=file
==============================================================================
--- packages/ceres-solver/trunk/debian/watch (added)
+++ packages/ceres-solver/trunk/debian/watch Fri Jun  8 12:57:32 2012
@@ -1,0 +1,2 @@
+version=3
+http://code.google.com/p/ceres-solver/downloads/list?can=1 .*/ceres-solver-(\d[\d.]*)\.tar\.gz




More information about the debian-science-commits mailing list