[nlpsolver] 02/13: Imported Debian patch 0.9~beta1-1
This is an automated email from the git hooks/post-receive script.
rene pushed a commit to branch master
in repository nlpsolver.
commit c5c72b2c53ce4f62cf765c9ae0326c9c279b3f98
Author: Rene Engelhard <rene@debian.org>
Date: Wed Dec 1 19:38:09 2010 +0100
Imported Debian patch 0.9~beta1-1
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 20 ++++++++++++++++++++
debian/copyright | 36 ++++++++++++++++++++++++++++++++++++
debian/docs | 0
debian/patches/jars.diff | 35 +++++++++++++++++++++++++++++++++++
debian/patches/no-registration.diff | 14 ++++++++++++++
debian/patches/series | 2 ++
debian/rules | 28 ++++++++++++++++++++++++++++
debian/source/format | 1 +
10 files changed, 142 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ee97196
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+nlpsolver (0.9~beta1-1) experimental; urgency=low
+
+ * Initial release
+
+ -- Rene Engelhard <rene@debian.org> Wed, 01 Dec 2010 19:38:09 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a3cc250
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: nlpsolver
+Section: math
+Priority: extra
+Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
+Uploaders: Rene Engelhard <rene@debian.org>
+Build-Depends: debhelper (>= 7.0.50~), unzip, openjdk-6-jdk, libreoffice-dev, ant | ant1.7
+Standards-Version: 3.8.4
+
+Package: libreoffice-nlpsolver
+Architecture: all
+Depends: ${misc:Depends}, libreoffice-calc (>= 1:3.0~), libreoffice-core (>= 1:3.3~), openjdk-6-jdk | java5-runtime | java6-runtime
+Description: "Solver for Nonlinear Programming" extension for LibreOffice
+ By defaulti LibreOffice Calc ships with a solver engine for linear
+ programming only. This allows the optimization of models to a certain degree.
+ However, if the formulas or constraints become more complex,
+ nonlinear programming is required. That missing gap is now filled by the
+ Solver for Nonlinear Programming extension.
+ .
+ Currently it incorporates two Evolutionary Algorithms which are able to
+ handle floating point and integer variables as well as nonlinear constraints.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..84525c3
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+This work was packaged for Debian by:
+
+ Rene Engelhard <rene@debian.org> on Wed, 01 Dec 2010 16:08:44 +0100
+
+It was downloaded from:
+
+ http://extensions.services.openoffice.org/project/NLPSolver
+
+Upstream Authors:
+
+ Xiaofeng Xie
+ Sun Microsystems, Inc.
+
+Copyright:
+
+ Copyright (C) 2003,2004 Xiaofeng Xie
+ Copyright (C) 2009 Sun Microsystems, Inc.
+
+License:
+
+ThirdParty/EvolutionarySolver:
+
+ LGPL-2.1+, on Debian systems you can find the full text of the LGPL 2.1
+ in /usr/share/common-licenses/LGPL-2.1
+
+NLPSolver:
+
+ LGPL-3, on Debian systems you can find the full text of the LGPL 3.0
+ in /usr/share/common-licenses/LGPL-3
+
+The Debian packaging is:
+
+ Copyright (C) 2010 Rene Engelhard <rene@debian.org>
+
+and is also licensed under the LGPL version 3,
+see "/usr/share/common-licenses/LGPL-3".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e69de29
diff --git a/debian/patches/jars.diff b/debian/patches/jars.diff
new file mode 100644
index 0000000..d2b27e4
--- /dev/null
+++ b/debian/patches/jars.diff
@@ -0,0 +1,35 @@
+--- nlpsolver-0.9.orig/nbproject/build-uno-impl.xml
++++ nlpsolver-0.9/nbproject/build-uno-impl.xml
+@@ -197,7 +197,7 @@
+ <!-- enter the class path with external jars, if external jars exit and the user did not enter his own -->
+ <target name="-do-class-path" depends="-external-jars,-check-class-path" unless="class.path.exists">
+ <manifest file="${build.dir}/MANIFEST.MF" mode="update">
+- <attribute name="Class-Path" value="${external.jars}"/>
++ <attribute name="Class-Path" value="${external.jar.dir}/EvolutionarySolver.jar"/>
+ </manifest>
+ </target>
+ <target name="-check-class-path">
+--- nlpsolver-0.9.orig/nbproject/build-impl.xml
++++ nlpsolver-0.9/nbproject/build-impl.xml
+@@ -360,6 +360,8 @@ is divided into following sections:
+ -->
+ <target depends="init" name="deps-jar" unless="no.deps">
+ <ant antfile="${project.EvolutionarySolver}/build.xml" inheritall="false" target="jar"/>
++ <mkdir dir="${dist.dir}/${external.jar.dir}"/>
++ <copy file="${reference.EvolutionarySolver.jar}" todir="${dist.dir}/${external.jar.dir}"/>
+ </target>
+ <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>
+ <target depends="init" name="-check-automatic-build">
+--- nlpsolver-0.9.orig/nbproject/project.properties
++++ nlpsolver-0.9/nbproject/project.properties
+@@ -29,6 +29,10 @@ jar.compress=false
+ javac.classpath=\
+ ${libs.StarOffice 9.classpath}:\
+ ${libs.OpenOffice.org 3.0.classpath}:\
++ ${split.ure}/share/java/juh.jar:\
++ ${split.ure}/share/java/jurt.jar:\
++ ${split.ure}/share/java/ridl.jar:\
++ ${split.install}/classes/unoil.jar:\
+ ${reference.EvolutionarySolver.jar}
+ # Space-separated list of extra javac options
+ javac.compilerargs=
diff --git a/debian/patches/no-registration.diff b/debian/patches/no-registration.diff
new file mode 100644
index 0000000..2770c7d
--- /dev/null
+++ b/debian/patches/no-registration.diff
@@ -0,0 +1,14 @@
+--- nlpsolver-0.9.orig/src/description.xml
++++ nlpsolver-0.9/src/description.xml
+@@ -12,11 +12,6 @@
+ <extension-description>
+ <src lang="en" xlink:href="description/extensiondescription.txt"/>
+ </extension-description>
+- <registration>
+- <simple-license accept-by="admin" default-license-id="en">
+- <license-text lang="en" license-id="en" xlink:href="licenses/lgpl-3.0.txt"/>
+- </simple-license>
+- </registration>
+ <dependencies>
+ <OpenOffice.org-minimal-version xmlns:d="http://openoffice.org/extensions/description/2006" d:name="OpenOffice.org 3.0" value="3.0"/>
+ </dependencies>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..fe5858d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+jars.diff
+no-registration.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bac8b0b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+ANT_FLAGS=-Dplatforms.JDK_1.5.home=/usr/lib/jvm/java-6-openjdk -Doffice.program.dir=/usr/lib/libreoffice/basis-link -Dsplit.ure=/usr/lib/ure -Dsplit.install=/usr/lib/libreoffice/basis-link/program
+
+%:
+ dh $@
+
+override_dh_auto_clean:
+ ant -f build.xml $(ANT_FLAGS) clean
+ dh_clean
+
+override_dh_auto_build:
+ ant -f build.xml $(ANT_FLAGS) uno-package
+
+override_dh_auto_install:
+ rm -rf debian/libreoffice-nlpsolver/
+ mkdir -p debian/libreoffice-nlpsolver/usr/lib/libreoffice/share/extensions/NLPsolver
+ cd debian/libreoffice-nlpsolver/usr/lib/libreoffice/share/extensions/NLPsolver && \
+ unzip $(CURDIR)/dist/NLPSolver.oxt
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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/nlpsolver.git
Reply to: