[coinor-cbc] 01/01: Imported Debian patch 2.8.5-1
Miles Lubin
mlubin-guest at alioth.debian.org
Sat Oct 26 19:45:56 UTC 2013
This is an automated email from the git hooks/post-receive script.
mlubin-guest pushed a commit to branch master
in repository coinor-cbc.
commit a3d0d3e25c30b7d5691f3b732fd16415cc7659b2
Author: Miles Lubin <miles.lubin at gmail.com>
Date: Fri Oct 25 14:34:52 2013 -0400
Imported Debian patch 2.8.5-1
---
debian/cbc.1 | 133 ++++++++++++++
debian/changelog | 125 +++++++++++++
debian/clean | 2 +
debian/coinor-cbc.install | 1 +
debian/coinor-cbc.manpages | 1 +
debian/coinor-libcbc-dev.install | 5 +
debian/coinor-libcbc-doc.doc-base | 9 +
debian/coinor-libcbc-doc.docs | 1 +
debian/coinor-libcbc-doc.examples | 5 +
debian/coinor-libcbc3.install | 1 +
debian/coinor-libcbc3.lintian-overrides | 2 +
debian/compat | 1 +
debian/control | 80 ++++++++
debian/copyright | 306 +++++++++++++++++++++++++++++++
debian/orig-tar.sh | 12 ++
debian/patches/fix-addlibs-file.patch | 14 ++
debian/patches/series | 2 +
debian/patches/shlibdeps.patch | 34 ++++
debian/rules | 24 +++
debian/source/format | 1 +
debian/watch | 3 +
21 files changed, 762 insertions(+)
diff --git a/debian/cbc.1 b/debian/cbc.1
new file mode 100644
index 0000000..9114288
--- /dev/null
+++ b/debian/cbc.1
@@ -0,0 +1,133 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH CBC 1 "August 26, 2009"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+cbc \- Cbc mixed integer programming solver
+.SH SYNOPSIS
+.B cbc
+.RI
+[
+options
+]
+filename
+.br
+.SH DESCRIPTION
+This manual page documents briefly the
+.B cbc
+command.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+\fBcbc\fP -- Cbc (Coin-or branch and cut) is an open-source mixed integer programming solver written in C++.
+
+.SH OPTIONS
+When no options are given cbc enters the interactive command line
+mode. Otherwise the program enters a batch mode, for which a summary
+of options is included below. Note that the order of options in the
+command line of the cbc executable matter The command line of the cbc
+executable is parsed as if it were in the interactive mode. The
+take-away is that if your using the command line, and things aren't
+working as you think they should, try ordering the commands in the
+sequence you'd use if you were interactive mode.
+
+For a complete description, see
+.B /usr/share/doc/coinor-libcbc-doc.
+.TP
+.B \-
+Read input from stdin instead of filename
+.TP
+.B \-csv
+The option "\-csv <filename>" causes cbc to print one line of key output statics in commma separated format in a file named <filename>. This option isn't currently included in the list of commands given by the "?" command in interactive mode.
+.TP
+.B \-threads <num_threads>
+Run cbc in parallel using <num_threads> many CPUs
+.br
+
+.SH INTERACTIVE MODE
+In interactive mode one command per line is expected (no leading \-).
+.TP
+.B ?
+lists all available commands
+.TP
+.B <command>?
+gives list of possibilities, if only one + explanation
+.TP
+.B <command>??
+adds explanation, if only one fuller help
+.TP
+.B <command>
+without value (where expected) gives current value
+.TP
+.B <command> <value>
+ sets value
+.br
+
+.SH AVAILABLE COMMANDS
+.TP
+.B Double parameters:
+dualB(ound) dualT(olerance) primalT(olerance) primalW(eight)
+.TP
+.B Branch and Cut double parameters:
+ allow(ableGap) cuto(ff) inc(rement) inf(easibilityWeight) integerT(olerance)
+ preT(olerance) ratio(Gap) sec(onds)
+.TP
+.B Integer parameters:
+ cpp(Generate) force(Solution) idiot(Crash) maxF(actor) maxIt(erations)
+ output(Format) slog(Level) sprint(Crash)
+.TP
+.B Branch and Cut integer parameters:
+ cutD(epth) log(Level) maxN(odes) maxS(olutions) passC(uts)
+ passF(easibilityPump) passT(reeCuts) pumpT(une) strong(Branching) trust(PseudoCosts)
+.TP
+.B Keyword parameters:
+ chol(esky) crash cross(over) direction dualP(ivot)
+ error(sAllowed) keepN(ames) mess(ages) perturb(ation) presolve
+ primalP(ivot) printi(ngOptions) scal(ing)
+.TP
+.B Branch and Cut keyword parameters:
+ clique(Cuts) combine(Solutions) cost(Strategy) cuts(OnOff) Dins
+ DivingS(ome) DivingC(oefficient) DivingF(ractional) DivingG(uided) DivingL(ineSearch)
+ DivingP(seudoCost) DivingV(ectorLength) feas(ibilityPump) flow(CoverCuts) gomory(Cuts)
+ greedy(Heuristic) heur(isticsOnOff) knapsack(Cuts) lift(AndProjectCuts) local(TreeSearch)
+ mixed(IntegerRoundingCuts) node(Strategy) preprocess probing(Cuts) reduce(AndSplitCuts)
+ residual(CapacityCuts) Rens Rins round(ingHeuristic) sos(Options)
+ two(MirCuts)
+.TP
+.B Actions or string parameters:
+ allS(lack) barr(ier) basisI(n) basisO(ut) directory
+ dirSample dirNetlib dirMiplib dualS(implex) either(Simplex)
+ end exit export help import
+ initialS(olve) max(imize) min(imize) netlib netlibD(ual)
+ netlibP(rimal) netlibT(une) primalS(implex) printM(ask) quit
+ restore(Model) saveM(odel) saveS(olution) solu(tion) stat(istics)
+ stop unitTest userClp
+.TP
+.B Branch and Cut actions:
+ branch(AndCut) doH(euristic) miplib prio(rityIn) solv(e)
+ strengthen userCbc
+.br
+.SH SEE ALSO
+.BR glpsol (1), dsdp5 (1), clp (1)
+.PP
+This program is fully documented in the accompanying html documentation which
+can be found in \fB/usr/share/doc/coinor\-libcbc\-doc\fP if the coinor\-libcbc\-doc package is installed.
+.SH AUTHOR
+cbc was written by John J. Forrest <jjforre at us.ibm.com> et.al.
+.PP
+This manual page was written by Soeren Sonnenburg <sonne at debian.org>,
+for the Debian project (but may be used by others).
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b60bad2
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,125 @@
+coinor-cbc (2.8.5-1) experimental; urgency=low
+
+ * New upstream release (Closes: #686578)
+ - License changed to EPL.
+ - SONAME version is now 3.
+ * New maintainer (Closes: #727237)
+ - Soeren Sonnenburg refused to relicense work under EPL.
+ * Move cbc executable to separate package: coinor-cbc.
+ * Bump to compat 9 (libraries now installed to multiarch dirs.).
+ * Remove outdated patches.
+ * Fix typo in cbc.1 (Closes: #706390)
+ * Add patch to fix building with pkg-config.
+ * Add patch to fix shared library dependencies.
+ - libOsiCbc still has unrecorded dependency on libCbc.
+ * Bump standards version.
+ - Updated copyright file to machine-readable format.
+ * Update (shorten) package descriptions.
+
+ -- Miles Lubin <miles.lubin at gmail.com> Fri, 25 Oct 2013 14:34:52 -0400
+
+coinor-cbc (2.5.0-3) unstable; urgency=low
+
+ * New maintainer (Closes: #645087)
+ - Also add Christophe-Marie Duquesne to Uploaders
+ - Update Vcs-* fields
+ * Acknowledge NMU (Closes: #630252)
+ * patches/Makefile.diff: .la files are no longer shipped by some -dev
+ libraries. Link against them using -l instead.
+ (Closes: #669522 - Thanks to Vincent Legout for the patch)
+ * Enable hardening flags
+ * debian/control:
+ - Add dpkg-dev to Build-depends
+ - Remove useless build-dependencies coinor-libvol-dev and liblapack-dev
+ - Fix a spelling error ("allows one to")
+ - Deduplicate short package descriptions
+ - Bump Standards-Version to 3.9.3 (no changes needed)
+ - Wrap and sort fields
+ * debian/copyright:
+ - Remove trailing spaces
+
+ -- Etienne Millon <etienne.millon at gmail.com> Tue, 26 Jun 2012 20:20:21 +0200
+
+coinor-cbc (2.5.0-2.3) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fix "FTBFS: ../../Clp/src/CbcOrClpParam.cpp:1078:43: error: format
+ not a string literal and no format arguments: add patch
+ format-security.patch from Wolfram Sang.
+ (Closes: #643364)
+
+ -- gregor herrmann <gregoa at debian.org> Wed, 21 Dec 2011 21:36:45 +0100
+
+coinor-cbc (2.5.0-2.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add patch from upstream to fix a issue with a bad bound. (Closes: #624428)
+
+ -- Sune Vuorela <sune at debian.org> Thu, 30 Jun 2011 13:39:07 +0200
+
+coinor-cbc (2.5.0-2.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add zlib1g-dev and libbz2-dev to Build-Depends (Closes: #601039).
+ * Don't ship .la files (Closes: #621209).
+ * Replace NULL with 0 in cbcEventHandler.hpp (Closes: #625065).
+
+ -- Luk Claes <luk at debian.org> Sun, 12 Jun 2011 20:04:10 +0200
+
+coinor-cbc (2.5.0-2) unstable; urgency=high
+
+ * Build depend on coinor-libcoinutils-dev (>= 2.6.4-2) (Closes: #595847)
+ * Setting urgency to high since this fixes a RC bug.
+ * Bump standards version to 3.9.1 (no changes required).
+ * Workaround cdbs problem and create doxygen doc once.
+
+ -- Soeren Sonnenburg <sonne at debian.org> Tue, 07 Sep 2010 22:13:09 +0200
+
+coinor-cbc (2.5.0-1) unstable; urgency=low
+
+ * New upstream version.
+ - Bump standards version to 3.9.0 (no changes required).
+ - Build depend on clp >= 1.12.0 and osi >= 0.103.0.
+
+ -- Soeren Sonnenburg <sonne at debian.org> Sat, 10 Jul 2010 09:07:06 +0200
+
+coinor-cbc (2.4.2-1) unstable; urgency=low
+
+ * New upstream version (no changes).
+
+ -- Soeren Sonnenburg <sonne at debian.org> Thu, 27 May 2010 00:42:16 +0200
+
+coinor-cbc (2.4.1-1) unstable; urgency=low
+
+ * New upstream version
+ - Switch to dpkg-source 3.0 (quilt) format
+
+ -- Soeren Sonnenburg <sonne at debian.org> Mon, 12 Apr 2010 10:33:27 +0200
+
+coinor-cbc (2.4.0-1) unstable; urgency=low
+
+ * New upstream version
+ - Build depend on newer cgl, clp, osi and coinutils (Closes: #571399).
+ * Bump standards version to 3.8.4 (no changes required).
+
+ -- Soeren Sonnenburg <sonne at debian.org> Wed, 03 Mar 2010 09:08:26 +0100
+
+coinor-cbc (2.3.2-1) unstable; urgency=low
+
+ * New upstream version.
+
+ -- Soeren Sonnenburg <sonne at debian.org> Wed, 14 Oct 2009 06:39:31 +0200
+
+coinor-cbc (2.3.1-1) unstable; urgency=low
+
+ * New upstream version.
+ - Refreshed quilt patches.
+ * Override lintian warning.
+
+ -- Soeren Sonnenburg <sonne at debian.org> Thu, 24 Sep 2009 15:53:57 +0200
+
+coinor-cbc (2.3.0-1) unstable; urgency=low
+
+ * Initial Release (Closes: #501267)
+
+ -- Soeren Sonnenburg <sonne at debian.org> Wed, 26 Aug 2009 16:57:29 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..92f85d1
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+test/*.mps.gz
+test/*.out.gz
diff --git a/debian/coinor-cbc.install b/debian/coinor-cbc.install
new file mode 100644
index 0000000..e79561e
--- /dev/null
+++ b/debian/coinor-cbc.install
@@ -0,0 +1 @@
+debian/tmp/usr/bin/cbc
diff --git a/debian/coinor-cbc.manpages b/debian/coinor-cbc.manpages
new file mode 100644
index 0000000..4ddab43
--- /dev/null
+++ b/debian/coinor-cbc.manpages
@@ -0,0 +1 @@
+debian/cbc.1
diff --git a/debian/coinor-libcbc-dev.install b/debian/coinor-libcbc-dev.install
new file mode 100644
index 0000000..b30aebb
--- /dev/null
+++ b/debian/coinor-libcbc-dev.install
@@ -0,0 +1,5 @@
+debian/tmp/usr/include/coin
+debian/tmp/usr/lib/*/lib*.a
+debian/tmp/usr/lib/*/lib*.so
+debian/tmp/usr/lib/*/pkgconfig
+debian/tmp/usr/share/coin
diff --git a/debian/coinor-libcbc-doc.doc-base b/debian/coinor-libcbc-doc.doc-base
new file mode 100644
index 0000000..f773490
--- /dev/null
+++ b/debian/coinor-libcbc-doc.doc-base
@@ -0,0 +1,9 @@
+Document: cbc
+Title: cbc API documentation
+Author: John J. Forrest and Lou Hafer
+Abstract: Doxygen-generated API documentation for cbc.
+Section: Science/Mathematics
+
+Format: HTML
+Index: /usr/share/doc/coinor-libcbc-doc/html/index.html
+Files: /usr/share/doc/coinor-libcbc-doc/html/*.html
diff --git a/debian/coinor-libcbc-doc.docs b/debian/coinor-libcbc-doc.docs
new file mode 100644
index 0000000..a583dd7
--- /dev/null
+++ b/debian/coinor-libcbc-doc.docs
@@ -0,0 +1 @@
+doxydoc/html
diff --git a/debian/coinor-libcbc-doc.examples b/debian/coinor-libcbc-doc.examples
new file mode 100644
index 0000000..2e95d8d
--- /dev/null
+++ b/debian/coinor-libcbc-doc.examples
@@ -0,0 +1,5 @@
+examples/*.cpp
+examples/*.hpp
+examples/*.csv
+examples/*.c
+examples/Makefile
diff --git a/debian/coinor-libcbc3.install b/debian/coinor-libcbc3.install
new file mode 100644
index 0000000..cdae829
--- /dev/null
+++ b/debian/coinor-libcbc3.install
@@ -0,0 +1 @@
+debian/tmp/usr/lib/*/lib*.so.*
diff --git a/debian/coinor-libcbc3.lintian-overrides b/debian/coinor-libcbc3.lintian-overrides
new file mode 100644
index 0000000..915437d
--- /dev/null
+++ b/debian/coinor-libcbc3.lintian-overrides
@@ -0,0 +1,2 @@
+coinor-libcbc3: package-name-doesnt-match-sonames libCbc3 libCbcSolver3 libOsiCbc3
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..ea6af78
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,80 @@
+Source: coinor-cbc
+Section: science
+Priority: extra
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Miles Lubin <miles.lubin at gmail.com>
+Build-Depends: coinor-libcgl-dev (>=0.58.2),
+ coinor-libclp-dev (>= 1.15.3),
+ coinor-libcoinutils-dev (>= 2.9.4),
+ coinor-libosi-dev (>= 0.106.1),
+ debhelper (>= 9),
+ doxygen,
+ graphviz,
+ libblas-dev,
+ libbz2-dev,
+ pkg-config,
+ zlib1g-dev
+Standards-Version: 3.9.4
+Homepage: https://projects.coin-or.org/Cbc
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/coinor-cbc.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/coinor-cbc.git
+
+Package: coinor-cbc
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: coinor-libcbc0
+Breaks: coinor-libcbc0
+Description: Coin-or branch-and-cut mixed integer programming solver
+ Cbc (Coin-or branch and cut) is an open-source mixed integer programming
+ solver written in C++. It can be used as a callable library or as a
+ stand-alone executable.
+ .
+ This package contains cbc executable.
+
+Package: coinor-libcbc3
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Coin-or branch-and-cut mixed integer programming solver (shared libraries)
+ Cbc (Coin-or branch and cut) is an open-source mixed integer programming
+ solver written in C++. It can be used as a callable library or as a
+ stand-alone executable.
+ .
+ This package contains callable libraries.
+
+Package: coinor-libcbc-dev
+Section: libdevel
+Architecture: any
+Depends: coinor-libcbc3 (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: Coin-or branch-and-cut mixed integer programming solver (developer files)
+ Cbc (Coin-or branch and cut) is an open-source mixed integer programming
+ solver written in C++. It can be used as a callable library or as a
+ stand-alone executable.
+ .
+ This package contains the header files for developers.
+
+Package: coinor-libcbc-doc
+Section: doc
+Architecture: all
+Depends: libjs-jquery, ${misc:Depends}
+Recommends: coinor-libcbc-dev
+Description: Coin-or branch-and-cut mixed integer programming solver (documentation)
+ Cbc (Coin-or branch and cut) is an open-source mixed integer programming
+ solver written in C++. It can be used as a callable library or as a
+ stand-alone executable.
+ .
+ This package contains the documentation and examples.
+
+Package: coinor-libcbc3-dbg
+Section: debug
+Architecture: any
+Depends: coinor-libcbc3 (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: Coin-or branch-and-cut mixed integer programming solver (debug symbols)
+ Cbc (Coin-or branch and cut) is an open-source mixed integer programming
+ solver written in C++. It can be used as a callable library or as a
+ stand-alone executable.
+ .
+ This package contains the debug symbols.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fd66659
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,306 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Cbc
+Source: https://projects.coin-or.org/Cbc
+ The source tarball was extracted and the Cbc directory contained
+ was repackaged as a standalone tarball. This distribution mechanism
+ is supported by upstream. See orig-tar.sh.
+
+Files: *
+Copyright: 2000-2013, IBM Corporation and others
+License: EPL-1
+
+Files: debian/*
+Copyright: 2013 Miles Lubin <miles.lubin at gmail.com>
+License: EPL-1
+
+Files: debian/changelog debian/cbc.1
+Copyright: 2009-2010 Soeren Sonnenburg <sonne at debian.org>
+ 2011 Luk Claes <luk at debian.org>
+ 2011 Sune Vuorela <sune at debian.org>
+ 2011 gregor herrmann <gregoa at debian.org>
+ 2012 Etienne Millon <etienne.millon at gmail.com>
+ 2013 Miles Lubin <miles.lubin at gmail.com>
+License: GPL-3
+
+Files: src/Cbc_ampl.cpp
+Copyright: 1997-2000 Lucent Technologies
+ 2006 IBM Corportation and others
+License: LUCENT
+
+License: LUCENT
+ Permission to use, copy, modify, and distribute this software and
+ its documentation for any purpose and without fee is hereby
+ granted, provided that the above copyright notice appear in all
+ copies and that both that the copyright notice and this
+ permission notice and warranty disclaimer appear in supporting
+ documentation, and that the name of Lucent or any of its entities
+ not be used in advertising or publicity pertaining to
+ distribution of the software without specific, written prior
+ permission.
+ .
+ LUCENT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.
+ IN NO EVENT SHALL LUCENT OR ANY OF ITS ENTITIES BE LIABLE FOR ANY
+ SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
+ IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
+ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
+ THIS SOFTWARE.
+
+License: GPL-3
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 3 as
+ published by the Free Software Foundation.
+ .
+ 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/>.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License, version 3, can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
+
+License: EPL-1
+ Eclipse Public License - v 1.0
+ .
+ THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
+ PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION
+ OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
+ .
+ 1. DEFINITIONS
+ .
+ "Contribution" means:
+ .
+ a) in the case of the initial Contributor, the initial code and
+ documentation distributed under this Agreement, and
+ .
+ b) in the case of each subsequent Contributor:
+ .
+ i) changes to the Program, and
+ .
+ ii) additions to the Program;
+ .
+ where such changes and/or additions to the Program originate
+ from and are distributed by that particular Contributor. A
+ Contribution 'originates' from a Contributor if it was added to
+ the Program by such Contributor itself or anyone acting on such
+ Contributor's behalf. Contributions do not include additions to
+ the Program which: (i) are separate modules of software
+ distributed in conjunction with the Program under their own
+ license agreement, and (ii) are not derivative works of the
+ Program.
+ .
+ "Contributor" means any person or entity that distributes the
+ Program.
+ .
+ "Licensed Patents" mean patent claims licensable by a Contributor
+ which are necessarily infringed by the use or sale of its
+ Contribution alone or when combined with the Program.
+ .
+ "Program" means the Contributions distributed in accordance with
+ this Agreement.
+ .
+ "Recipient" means anyone who receives the Program under this
+ Agreement, including all Contributors.
+ .
+ 2. GRANT OF RIGHTS
+ .
+ a) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free copyright
+ license to reproduce, prepare derivative works of, publicly display,
+ publicly perform, distribute and sublicense the Contribution of such
+ Contributor, if any, and such derivative works, in source code and
+ object code form.
+ .
+ b) Subject to the terms of this Agreement, each Contributor hereby
+ grants Recipient a non-exclusive, worldwide, royalty-free patent
+ license under Licensed Patents to make, use, sell, offer to sell,
+ import and otherwise transfer the Contribution of such Contributor,
+ if any, in source code and object code form. This patent license
+ shall apply to the combination of the Contribution and the Program
+ if, at the time the Contribution is added by the Contributor, such
+ addition of the Contribution causes such combination to be covered
+ by the Licensed Patents. The patent license shall not apply to any
+ other combinations which include the Contribution. No hardware per
+ se is licensed hereunder.
+ .
+ c) Recipient understands that although each Contributor grants the
+ licenses to its Contributions set forth herein, no assurances are
+ provided by any Contributor that the Program does not infringe the
+ patent or other intellectual property rights of any other
+ entity. Each Contributor disclaims any liability to Recipient for
+ claims brought by any other entity based on infringement of
+ intellectual property rights or otherwise. As a condition to
+ exercising the rights and licenses granted hereunder, each Recipient
+ hereby assumes sole responsibility to secure any other intellectual
+ property rights needed, if any. For example, if a third party patent
+ license is required to allow Recipient to distribute the Program, it
+ is Recipient's responsibility to acquire that license before
+ distributing the Program.
+ .
+ d) Each Contributor represents that to its knowledge it has
+ sufficient copyright rights in its Contribution, if any, to grant
+ the copyright license set forth in this Agreement.
+ .
+ 3. REQUIREMENTS
+ .
+ A Contributor may choose to distribute the Program in object code
+ form under its own license agreement, provided that:
+ .
+ a) it complies with the terms and conditions of this Agreement;
+ and
+ .
+ b) its license agreement:
+ .
+ i) effectively disclaims on behalf of all Contributors all
+ warranties and conditions, express and implied, including
+ warranties or conditions of title and non-infringement, and
+ implied warranties or conditions of merchantability and
+ fitness for a particular purpose;
+ .
+ ii) effectively excludes on behalf of all Contributors all
+ liability for damages, including direct, indirect, special,
+ incidental and consequential damages, such as lost profits;
+ .
+ iii) states that any provisions which differ from this
+ Agreement are offered by that Contributor alone and not by
+ any other party; and
+ .
+ iv) states that source code for the Program is available
+ from such Contributor, and informs licensees how to obtain
+ it in a reasonable manner on or through a medium customarily
+ used for software exchange.
+ .
+ When the Program is made available in source code form:
+ .
+ a) it must be made available under this Agreement; and
+ .
+ b) a copy of this Agreement must be included with each copy of
+ the Program.
+ .
+ Contributors may not remove or alter any copyright notices contained
+ within the Program.
+ .
+ Each Contributor must identify itself as the originator of its
+ Contribution, if any, in a manner that reasonably allows subsequent
+ Recipients to identify the originator of the Contribution.
+ .
+ 4. COMMERCIAL DISTRIBUTION
+ .
+ Commercial distributors of software may accept certain
+ responsibilities with respect to end users, business partners and
+ the like. While this license is intended to facilitate the
+ commercial use of the Program, the Contributor who includes the
+ Program in a commercial product offering should do so in a manner
+ which does not create potential liability for other
+ Contributors. Therefore, if a Contributor includes the Program in a
+ commercial product offering, such Contributor ("Commercial
+ Contributor") hereby agrees to defend and indemnify every other
+ Contributor ("Indemnified Contributor") against any losses, damages
+ and costs (collectively "Losses") arising from claims, lawsuits and
+ other legal actions brought by a third party against the Indemnified
+ Contributor to the extent caused by the acts or omissions of such
+ Commercial Contributor in connection with its distribution of the
+ Program in a commercial product offering. The obligations in this
+ section do not apply to any claims or Losses relating to any actual
+ or alleged intellectual property infringement. In order to qualify,
+ an Indemnified Contributor must: a) promptly notify the Commercial
+ Contributor in writing of such claim, and b) allow the Commercial
+ Contributor to control, and cooperate with the Commercial
+ Contributor in, the defense and any related settlement
+ negotiations. The Indemnified Contributor may participate in any
+ such claim at its own expense.
+ .
+ For example, a Contributor might include the Program in a commercial
+ product offering, Product X. That Contributor is then a Commercial
+ Contributor. If that Commercial Contributor then makes performance
+ claims, or offers warranties related to Product X, those performance
+ claims and warranties are such Commercial Contributor's
+ responsibility alone. Under this section, the Commercial Contributor
+ would have to defend claims against the other Contributors related
+ to those performance claims and warranties, and if a court requires
+ any other Contributor to pay any damages as a result, the Commercial
+ Contributor must pay those damages.
+ .
+ 5. NO WARRANTY
+ .
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS
+ PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
+ ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
+ ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
+ MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient
+ is solely responsible for determining the appropriateness of using
+ and distributing the Program and assumes all risks associated with
+ its exercise of rights under this Agreement , including but not
+ limited to the risks and costs of program errors, compliance with
+ applicable laws, damage to or loss of data, programs or equipment,
+ and unavailability or interruption of operations.
+ .
+ 6. DISCLAIMER OF LIABILITY
+ .
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
+ NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ (INCLUDING WITHOUT LIMITATION LOST PROFITS), 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 OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
+ GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGES.
+ .
+ 7. GENERAL
+ .
+ If any provision of this Agreement is invalid or unenforceable under
+ applicable law, it shall not affect the validity or enforceability
+ of the remainder of the terms of this Agreement, and without further
+ action by the parties hereto, such provision shall be reformed to
+ the minimum extent necessary to make such provision valid and
+ enforceable.
+ .
+ If Recipient institutes patent litigation against any entity
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
+ the Program itself (excluding combinations of the Program with other
+ software or hardware) infringes such Recipient's patent(s), then
+ such Recipient's rights granted under Section 2(b) shall terminate
+ as of the date such litigation is filed.
+ .
+ All Recipient's rights under this Agreement shall terminate if it
+ fails to comply with any of the material terms or conditions of this
+ Agreement and does not cure such failure in a reasonable period of
+ time after becoming aware of such noncompliance. If all Recipient's
+ rights under this Agreement terminate, Recipient agrees to cease use
+ and distribution of the Program as soon as reasonably
+ practicable. However, Recipient's obligations under this Agreement
+ and any licenses granted by Recipient relating to the Program shall
+ continue and survive.
+ .
+ Everyone is permitted to copy and distribute copies of this
+ Agreement, but in order to avoid inconsistency the Agreement is
+ copyrighted and may only be modified in the following manner. The
+ Agreement Steward reserves the right to publish new versions
+ (including revisions) of this Agreement from time to time. No one
+ other than the Agreement Steward has the right to modify this
+ Agreement. The Eclipse Foundation is the initial Agreement
+ Steward. The Eclipse Foundation may assign the responsibility to
+ serve as the Agreement Steward to a suitable separate entity. Each
+ new version of the Agreement will be given a distinguishing version
+ number. The Program (including Contributions) may always be
+ distributed subject to the version of the Agreement under which it
+ was received. In addition, after a new version of the Agreement is
+ published, Contributor may elect to distribute the Program
+ (including its Contributions) under the new version. Except as
+ expressly stated in Sections 2(a) and 2(b) above, Recipient receives
+ no rights or licenses to the intellectual property of any
+ Contributor under this Agreement, whether expressly, by implication,
+ estoppel or otherwise. All rights in the Program not expressly
+ granted under this Agreement are reserved.
+ .
+ This Agreement is governed by the laws of the State of New York and
+ the intellectual property laws of the United States of America. No
+ party to this Agreement will bring a legal action under this
+ Agreement more than one year after the cause of action arose. Each
+ party waives its rights to a jury trial in any resulting litigation.
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..652de64
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+# called as orig-tar.sh --upstream-version version path/to/tarball
+
+tarname=`basename $3`
+cd `dirname $3`
+tar xzf $tarname
+mv Cbc-$2/Cbc .
+rm $tarname
+tar czf $tarname Cbc
+rm -r Cbc-$2
+rm -r Cbc
+
diff --git a/debian/patches/fix-addlibs-file.patch b/debian/patches/fix-addlibs-file.patch
new file mode 100644
index 0000000..624b20d
--- /dev/null
+++ b/debian/patches/fix-addlibs-file.patch
@@ -0,0 +1,14 @@
+Author: Miles Lubin <miles.lubin at gmail.com>
+Description: Fix production of cbc_addlibs.txt file.
+Bug: https://projects.coin-or.org/BuildTools/ticket/104
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -976,7 +976,7 @@
+
+ install-data-hook:
+ @$(mkdir_p) "$(addlibsdir)"
+- at COIN_HAS_PKGCONFIG_TRUE@ PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
++ at COIN_HAS_PKGCONFIG_TRUE@ PKG_CONFIG_PATH=$(DESTDIR)$(pkgconfiglibdir) \
+ @COIN_HAS_PKGCONFIG_TRUE@ $(PKG_CONFIG) --libs cbc > $(addlibsdir)/cbc_addlibs.txt
+ @COIN_CXX_IS_CL_TRUE@@COIN_HAS_PKGCONFIG_FALSE@ echo "-libpath:`$(CYGPATH_W) @abs_lib_dir@` libCbc.lib @CBCLIB_LIBS_INSTALLED@" > $(addlibsdir)/cbc_addlibs.txt
+ @COIN_CXX_IS_CL_FALSE@@COIN_HAS_PKGCONFIG_FALSE@ echo -L at abs_lib_dir@ -lCbc @CBCLIB_LIBS_INSTALLED@ > $(addlibsdir)/cbc_addlibs.txt
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c3f3f3e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+fix-addlibs-file.patch
+shlibdeps.patch
diff --git a/debian/patches/shlibdeps.patch b/debian/patches/shlibdeps.patch
new file mode 100644
index 0000000..8ea565e
--- /dev/null
+++ b/debian/patches/shlibdeps.patch
@@ -0,0 +1,34 @@
+Author: Miles Lubin <miles.lubin at gmail.com>
+Description: Properly set shared library dependencies
+Bug: https://projects.coin-or.org/BuildTools/ticket/105
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -88,7 +88,7 @@
+ "$(DESTDIR)$(includecoindir)"
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+-libCbc_la_LIBADD =
++libCbc_la_LIBADD = $(CBCLIB_LIBS)
+ am_libCbc_la_OBJECTS = Cbc_C_Interface.lo CbcBranchAllDifferent.lo \
+ CbcBranchCut.lo CbcBranchDecision.lo \
+ CbcBranchDefaultDecision.lo CbcBranchDynamic.lo \
+@@ -115,7 +115,7 @@
+ CbcStrategy.lo CbcSubProblem.lo CbcThread.lo CbcTree.lo \
+ CbcTreeLocal.lo
+ libCbc_la_OBJECTS = $(am_libCbc_la_OBJECTS)
+-libCbcSolver_la_LIBADD =
++libCbcSolver_la_LIBADD = -lCbc $(CBCLIB_LIBS)
+ am_libCbcSolver_la_OBJECTS = CbcCbcParam.lo Cbc_ampl.lo CbcLinked.lo \
+ CbcLinkedUtils.lo unitTestClp.lo CbcSolver.lo \
+ CbcSolverHeuristics.lo CbcSolverAnalyze.lo CbcMipStartIO.lo \
+--- a/src/OsiCbc/Makefile.in
++++ b/src/OsiCbc/Makefile.in
+@@ -74,7 +74,7 @@
+ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includecoindir)"
+ libLTLIBRARIES_INSTALL = $(INSTALL)
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+-libOsiCbc_la_LIBADD =
++libOsiCbc_la_LIBADD = $(CBCLIB_LIBS)
+ am_libOsiCbc_la_OBJECTS = OsiCbcSolverInterface.lo
+ libOsiCbc_la_OBJECTS = $(am_libOsiCbc_la_OBJECTS)
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d24957c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+override_dh_strip:
+ dh_strip --dbg-package=coinor-libcbc3-dbg
+
+override_dh_auto_build:
+ dh_auto_build --
+ make doxydoc
+ $(RM) doxydoc/html/*.md5 doxydoc/html/*.dot doxydoc/html/*.map
+ $(RM) doxydoc/html/installdox
+ $(RM) doxydoc/html/formula.repository
+ $(RM) doxydoc/html/jquery.js
+ ln -s /usr/share/javascript/jquery/jquery.js doxydoc/html
+
+override_dh_auto_configure:
+ dh_auto_configure -- --enable-static --enable-cbc-parallel --enable-dot
+
+override_dh_auto_install:
+ dh_auto_install --
+ $(RM) debian/tmp/usr/share/coin/doc/Cbc/LICENSE
+
+
+%:
+ dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..8d40876
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://www.coin-or.org/download/source/Cbc/Cbc-([\d\.]+).tgz \
+ debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/coinor-cbc.git
More information about the debian-science-commits
mailing list