File: ack

package info (click to toggle)
mas 0.6.2-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,068 kB
  • ctags: 15,761
  • sloc: ansic: 39,145; makefile: 15,289; cpp: 6,017; perl: 201; sh: 120
file content (126 lines) | stat: -rw-r--r-- 5,139 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
diff -ur src-orig/mas-0.6.2/Imakefile src/mas-0.6.2/Imakefile
--- src-orig/mas-0.6.2/Imakefile	2003-01-22 07:12:23.000000000 -0800
+++ src/mas-0.6.2/Imakefile	2003-03-05 17:32:34.000000000 -0800
@@ -2,7 +2,7 @@
 #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
 
 # The build order is important.  
-SUBDIRS = config share common jrtplib mas devices maslib clients 
+SUBDIRS = config share common jrtplib mas devices maslib clients control-apps devtools
 
 #ifndef OSName
 #define OSName Unknown Operating System!
diff -ur src-orig/mas-0.6.2/clients/util/mas-launch.sh src/mas-0.6.2/clients/util/mas-launch.sh
--- src-orig/mas-0.6.2/clients/util/mas-launch.sh	2003-01-21 12:30:30.000000000 -0800
+++ src/mas-0.6.2/clients/util/mas-launch.sh	2003-03-05 17:49:19.000000000 -0800
@@ -1,14 +1,15 @@
-#!/bin/sh
+#!/bin/bash
 
-PREFIX=/usr/local/mas
-LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PREFIX}/lib
+PREFIX=/usr
+#LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PREFIX}/lib
 MAS_PATH=${PREFIX}/lib/mas
 MAS=${PREFIX}/bin/mas
 MAS_WD=${PREFIX}/bin/maswatchdog
-LOG=${PREFIX}/mas-1.log
+#LOG=/var/log/mas-1.log
+LOG=/dev/null
 
 # kill esound if it's running -- we can't coexist.
-pkill esd
+#pkill esd
 
 $MAS > $LOG 2>&1 &
 sleep 1
diff -ur src-orig/mas-0.6.2/config/site.def src/mas-0.6.2/config/site.def
--- src-orig/mas-0.6.2/config/site.def	2002-03-14 08:17:08.000000000 -0800
+++ src/mas-0.6.2/config/site.def	2003-03-05 17:32:34.000000000 -0800
@@ -67,9 +67,11 @@
 #ifdef AfterVendorCF
 
 #ifndef ProjectRoot
-#define ProjectRoot /usr/local/mas
+#define ProjectRoot /usr
 #endif
 
+#define ConfigDir /usr/lib/mas/config
+
 /* Only set HasXdmAuth to YES if you have a Wraphelp.c file. */
 /* #define HasXdmAuth YES */
 
diff -ur src-orig/mas-0.6.2/control-apps/masplayer/player.c src/mas-0.6.2/control-apps/masplayer/player.c
--- src-orig/mas-0.6.2/control-apps/masplayer/player.c	2003-01-22 05:26:21.000000000 -0800
+++ src/mas-0.6.2/control-apps/masplayer/player.c	2003-03-05 17:32:34.000000000 -0800
@@ -138,11 +138,18 @@
 
 static const char* buttons[] = 
 {
+#if 0
     "/usr/local/mas/share/pixmaps/previous_button.png",
     "/usr/local/mas/share/pixmaps/stop_button.png",
     "/usr/local/mas/share/pixmaps/pause_button.png",
     "/usr/local/mas/share/pixmaps/play_button.png",
     "/usr/local/mas/share/pixmaps/next_button.png",
+#endif
+    "/usr/share/pixmaps/masplayer/media-prev.png",
+    "/usr/share/pixmaps/masplayer/media-stop.png",
+    "/usr/share/pixmaps/masplayer/media-pause.png",
+    "/usr/share/pixmaps/masplayer/media-play.png",
+    "/usr/share/pixmaps/masplayer/media-next.png",
 };
 
 
diff -ur src-orig/mas-0.6.2/mas/assembler.c src/mas-0.6.2/mas/assembler.c
--- src-orig/mas-0.6.2/mas/assembler.c	2003-01-22 07:32:18.000000000 -0800
+++ src/mas-0.6.2/mas/assembler.c	2003-03-05 17:32:34.000000000 -0800
@@ -3488,8 +3488,8 @@
     }
     
     /* added to help find plug-ins */
-    append_to_mas_path("/usr/mas/lib/mas");
-    append_to_mas_path("/usr/local/mas/lib/mas");
+    append_to_mas_path("/usr/lib/mas");
+    append_to_mas_path("/usr/local/lib/mas");
 
     for (i=0; _mas_path_list[i][0] != 0; i++)
         masc_log_message( MAS_VERBLVL_DEBUG, "asm: searching for devices in %s", _mas_path_list[i] );
diff -ur src-orig/mas-0.6.2/mas/devload.c src/mas-0.6.2/mas/devload.c
--- src-orig/mas-0.6.2/mas/devload.c	2003-01-22 05:26:52.000000000 -0800
+++ src/mas-0.6.2/mas/devload.c	2003-03-05 17:32:34.000000000 -0800
@@ -149,7 +149,7 @@
                 masc_log_message(MAS_VERBLVL_INFO, "");
                 masc_entering_log_level("asm: Troubleshooting tips:");
                 masc_log_message(MAS_VERBLVL_INFO, "asm: [INFO]  1. Set your MAS_PATH environment variable to the MAS installation directory.");
-                masc_log_message(MAS_VERBLVL_INFO, "asm: [INFO]     (e.g. /usr/local/mas/lib)");
+                masc_log_message(MAS_VERBLVL_INFO, "asm: [INFO]     (e.g. /usr/lib/mas)");
                 masc_log_message(MAS_VERBLVL_INFO, "asm: [INFO]  2. Make sure the device is installed in that directory.");
                 masc_log_message(MAS_VERBLVL_INFO, "asm: [INFO]  3. If possible, make sure the device has been compiled correctly.");
                 masc_log_message(MAS_VERBLVL_INFO, "");
diff -ur src/mas-0.6.2/config/linux.cf src-ds/mas-0.6.2/config/linux.cf
--- src/mas-0.6.2/config/linux.cf	2002-12-06 13:47:47.000000000 -0800
+++ src-ds/mas-0.6.2/config/linux.cf	2003-06-27 12:02:04.000000000 -0700
@@ -210,7 +210,7 @@
 #define ServerExtraDefines      -DGCCUSESGAS XFree86ServerDefines
 #endif /* Mc68020Architecture */
 
-#define StandardDefines		-Dlinux LinuxMachineDefines LinuxSourceDefines
+#define StandardDefines		-Dlinux LinuxSourceDefines
 
 #define ConnectionFlags		-DUNIXCONN -DTCPCONN
 
diff -ur src/mas-0.6.2/config/mas.tmpl src-ds/mas-0.6.2/config/mas.tmpl
--- src/mas-0.6.2/config/mas.tmpl	2002-12-20 14:45:29.000000000 -0800
+++ src-ds/mas-0.6.2/config/mas.tmpl	2003-06-27 12:40:25.000000000 -0700
@@ -90,6 +90,10 @@
 
 #endif
 
+#if !defined(MAS_ENDIANNESS)
+MAS_ENDIANNESS = MAS_UNKNOWN_ENDIAN
+#endif
+
 #ifndef IncSubdir
 #define IncSubdir mas
 #endif