[getfem] 03/05: Update patches.
Anton Gladky
gladk at alioth.debian.org
Sat Sep 14 17:19:53 UTC 2013
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository getfem.
commit 1582708f092d9503d6ffe6360a65c811cccf0f26
Author: Anton Gladky <gladky.anton at gmail.com>
Date: Sat Sep 14 19:18:07 2013 +0200
Update patches.
---
debian/patches/02_addgetfempath.diff | 14 ++++++++++++++
debian/patches/03_disableXaccess.diff | 17 +++++++++++++++++
2 files changed, 31 insertions(+)
diff --git a/debian/patches/02_addgetfempath.diff b/debian/patches/02_addgetfempath.diff
new file mode 100644
index 0000000..6450fbb
--- /dev/null
+++ b/debian/patches/02_addgetfempath.diff
@@ -0,0 +1,14 @@
+--- a/interface/src/scilab/etc/sci_getfem.start
++++ b/interface/src/scilab/etc/sci_getfem.start
+@@ -15,6 +15,11 @@
+ etc_tlbx = getshortpathname(etc_tlbx);
+ root_tlbx = strncpy( etc_tlbx, length(etc_tlbx)-length("\etc\") );
+
++// Load the native library
++a=ls("/usr//lib/libgetfem.so*");
++link(a(1));
++clear a;
++
+ //Load functions library
+ // =============================================================================
+ mprintf("\tLoad macros\n");
diff --git a/debian/patches/03_disableXaccess.diff b/debian/patches/03_disableXaccess.diff
new file mode 100644
index 0000000..05ae56f
--- /dev/null
+++ b/debian/patches/03_disableXaccess.diff
@@ -0,0 +1,17 @@
+--- a/interface/src/scilab/Makefile.am
++++ b/interface/src/scilab/Makefile.am
+@@ -396,7 +396,7 @@
+ .NOTPARALLEL: *
+
+ all:
+- @SCILAB_EXE@ -nw -nb -f $(scilabbuilddir)/makefile_builder.sce
++ SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 @SCILAB_EXE@ -nw -nb -f $(scilabbuilddir)/makefile_builder.sce
+
+ install:
+ $(mkinstalldirs) $(toolboxdir)/demos
+@@ -467,4 +467,4 @@
+ @INSTALL@ -D -m 644 -t $(toolboxdir)/ $(scilabbasedir)
+
+ clean:
+- @SCILAB_EXE@ -nw -nb -f $(scilabbuilddir)/makefile_cleaner.sce
++ SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 @SCILAB_EXE@ -nw -nb -f $(scilabbuilddir)/makefile_cleaner.sce
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/getfem.git
More information about the debian-science-commits
mailing list