File: 02-fix-paths-for-debian.patch

package info (click to toggle)
ascd 0.13.2-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,596 kB
  • sloc: ansic: 14,363; sh: 182; makefile: 37
file content (73 lines) | stat: -rw-r--r-- 2,497 bytes parent folder | download
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Author: Fredrik Hallenberg <hallon@debian.org>
Last-Update: 2025-11-02
Description: replaced hard-coded file paths with ones appropriate for Debian

diff --git a/ascd/README b/ascd/README
index 609ab503a7f0..50becbc284a9 100644
--- a/ascd/README
+++ b/ascd/README
@@ -110,7 +110,7 @@ theme files are *not* compatible.
 
   Add a line in your ~/.steprc file:
 
-  *Wharf - - Swallow "ascd" /usr/local/bin/ascd -device /dev/wcd0a &
+  *Wharf - - Swallow "ascd" ascd -device /dev/cdrom &
 
   (customized to your system settings of course!)
   
diff --git a/ascd/config.h b/ascd/config.h
index 67f2f449461d..e886285bccd9 100644
--- a/ascd/config.h
+++ b/ascd/config.h
@@ -2,5 +2,5 @@
 #define DEFAULT_COLOR "#2FAFAF"
 #define DEFAULT_BGCOLOR "#000000"
 #define DEFAULTDEVICE "/dev/cdrom"
-#define THDIR "/usr/local/share/AScd"
+#define THDIR "/usr/share/ascd"
 #define VERSION 		"0.13.2"
diff --git a/ascd/dirs.h b/ascd/dirs.h
index 6f1c2f944933..c8cf3f660e10 100644
--- a/ascd/dirs.h
+++ b/ascd/dirs.h
@@ -1,3 +1,3 @@
-#define CBINDIR /usr/local/bin
-#define CMANDIR /usr/local/man/man1
-#define CTHDIR /usr/local/share/AScd
+#define CBINDIR /usr/bin
+#define CMANDIR /usr/man/man1
+#define CTHDIR /usr/share/ascd
diff --git a/ascd/misc/config.h.default b/ascd/misc/config.h.default
index 6c48908397f2..cf281df6f242 100644
--- a/ascd/misc/config.h.default
+++ b/ascd/misc/config.h.default
@@ -2,4 +2,4 @@
 #define DEFAULT_COLOR "#2FAFAF"
 #define DEFAULT_BGCOLOR "#000000"
 #define DEFAULTDEVICE "/dev/cdrom"
-#define THDIR "/usr/local/share/AScd"
+#define THDIR "/usr/share/ascd"
diff --git a/ascd/misc/dirs.h.default b/ascd/misc/dirs.h.default
index 6f1c2f944933..c8cf3f660e10 100644
--- a/ascd/misc/dirs.h.default
+++ b/ascd/misc/dirs.h.default
@@ -1,3 +1,3 @@
-#define CBINDIR /usr/local/bin
-#define CMANDIR /usr/local/man/man1
-#define CTHDIR /usr/local/share/AScd
+#define CBINDIR /usr/bin
+#define CMANDIR /usr/man/man1
+#define CTHDIR /usr/share/ascd
diff --git a/libworkman/Config b/libworkman/Config
index 7db9048700f2..263a0c8b810c 100644
--- a/libworkman/Config
+++ b/libworkman/Config
@@ -33,7 +33,7 @@ XCOMM
 XCOMM -------------------------------------------------------------------
 XCOMM                        Directory Prefix
 XCOMM -------------------------------------------------------------------
-DESTDIR=/usr/local/
+DESTDIR=/usr/
 
 XCOMM -------------------------------------------------------------------
 XCOMM          LibWorkMan include file target relative to DSTDIR