summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2011-08-29 04:13:44 +0400
committerIgor Pashev <pashev.igor@gmail.com>2011-08-29 04:13:44 +0400
commit1beccaff30f44368fc1e039b70ab37dc96b8ada7 (patch)
treed426866e7b80c0e381d30bbe6a430d7de05f5d45
parent1a6cbb83c5c8221f33a8e79793599f05682d2db5 (diff)
downloadopen-axiom-debian-1beccaff30f44368fc1e039b70ab37dc96b8ada7.tar.gz
Do not print any messages if missing parts
-rw-r--r--debian/patches/no-missing-messages.patch (renamed from debian/patches/debian-pkg-hint.patch)15
-rw-r--r--debian/patches/series2
2 files changed, 8 insertions, 9 deletions
diff --git a/debian/patches/debian-pkg-hint.patch b/debian/patches/no-missing-messages.patch
index 8814424..a888d33 100644
--- a/debian/patches/debian-pkg-hint.patch
+++ b/debian/patches/no-missing-messages.patch
@@ -1,22 +1,21 @@
-Index: open-axiom.trunk/src/sman/sman.c
+Index: open-axiom-debian/src/sman/sman.c
===================================================================
---- open-axiom.trunk.orig/src/sman/sman.c 2011-08-19 19:31:51.000000000 +0400
-+++ open-axiom.trunk/src/sman/sman.c 2011-08-19 19:34:40.000000000 +0400
-@@ -450,7 +450,7 @@
+--- open-axiom-debian.orig/src/sman/sman.c 2011-08-29 04:10:30.000000000 +0400
++++ open-axiom-debian/src/sman/sman.c 2011-08-29 04:11:32.000000000 +0400
+@@ -450,7 +450,6 @@
const char* command = oa_concatenate_string(root_dir,HypertexProgram);
if (readablep(command) != 1) {
- fprintf(stderr, "Hypertex program not found.\n");
-+ fprintf(stderr, "Hypertex program not found. Consider installing `open-axiom-hypertex' package.\n");
return;
}
if (PasteFile){
-@@ -481,7 +481,7 @@
+@@ -480,8 +479,6 @@
+
if (readablep(command) == 1)
spawn_of_hell(command, DoItAgain);
- else
+- else
- fprintf(stderr, "Graphics program not found.\n");
-+ fprintf(stderr, "Graphics program not found. Consider installing `open-axiom-graphics' package.\n");
}
/* Start the core executable session in a separate process, */
diff --git a/debian/patches/series b/debian/patches/series
index dff9476..b38a365 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,3 @@
install-dir.patch
-debian-pkg-hint.patch
+no-missing-messages.patch
non-static-open-axiom-binary.patch