File: debianization-resources.patch

package info (click to toggle)
singular 1:4.1.1-p2+ds-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 35,860 kB
  • sloc: cpp: 288,280; ansic: 17,387; lisp: 4,242; yacc: 1,654; python: 1,608; makefile: 1,424; lex: 1,387; perl: 632; sh: 567; xml: 182
file content (52 lines) | stat: -rw-r--r-- 1,839 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Description: debianization - resources
 Address Debian Policy requirements for Singular resources.
Origin: vendor, Debian
Forwarded: not-needed
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2014-12-24

--- a/factory/Makefile.am
+++ b/factory/Makefile.am
@@ -183,7 +183,7 @@
 ####################################################
 # the precomputed GF(q)-tables
 
-gftablesdir=$(datadir)/factory/gftables
+gftablesdir=$(datadir)/singular/factory/gftables
 dist_gftables_DATA = gftables/10201 gftables/1024 gftables/10609 gftables/11449 \
 gftables/11881 gftables/121 gftables/12167 gftables/125 gftables/12769 \
 gftables/128 gftables/1331 gftables/1369 gftables/14641 \
--- a/resources/feResource.cc
+++ b/resources/feResource.cc
@@ -59,14 +59,14 @@
    "%r/share/singular/LIB;"
    "%b/../share/singular/LIB;"
    // gftables:
-   "%D/factory;"
-   "%r/share/factory;"
-   "%b/LIB;"
-   "%b/../factory;"
+   "%D/singular/factory;"
+   "%r/share/singular/factory;"
+   ////"%b/LIB;"
+   "%b/../share/singular/factory;"
    // path for dynamic modules, should match ProcDir:
-   "%b/MOD;"
+   ////"%b/MOD;"
    "%r/lib/singular/MOD;"
-   "%r/libexec/singular/MOD;"
+   ////"%r/libexec/singular/MOD;"
    LIB_DIR "/singular/MOD;"
    LIBEXEC_DIR "/singular/MOD;"
    "%b",
@@ -77,8 +77,8 @@
   {"ProcDir",   'P',    feResPath,  "SINGULAR_PROCS_DIR",
      "%b/MOD;"
      "%r/lib/singular/MOD;"
-     "%r/libexec/singular/MOD;"
-     LIB_DIR "/singular/MOD;"   /*debian: -> /usr/lib/singular/MOD */
+     ////"%r/libexec/singular/MOD;"
+     LIB_DIR "/singular/MOD;"
      LIBEXEC_DIR "/singular/MOD" ,                  (char *)""},
   {"RootDir",   'r',    feResDir,   "SINGULAR_ROOT_DIR",    "%b/..",                (char *)""},
   {"DataDir",   'D',    feResDir,   "SINGULAR_DATA_DIR",    "%b/../share/",          (char *)""},