summaryrefslogtreecommitdiff
path: root/tools/debian/patches/weechat_debian_buster.patch
blob: 031858d28e3c0a1d9189fd9075eecd0ea8184a32 (plain)
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
diff --git a/debian-devel/control b/debian-devel/control
index ffca1a17f..5e93066ef 100644
--- a/debian-devel/control
+++ b/debian-devel/control
@@ -14,7 +14,6 @@ Build-Depends:
     liblua5.3-dev,
     tcl8.6-dev,
     guile-2.2-dev,
-    libv8-dev [amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386],
     php-dev, libphp-embed, libargon2-0-dev, libsodium-dev,
     libxml2-dev,
     libcurl4-gnutls-dev,
@@ -47,7 +46,7 @@ Description: Fast, light and extensible chat client (metapackage)
   - 256 colors support
   - incremental text search
   - dynamic filtering of buffer content
-  - Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
+  - Perl, Python, Ruby, Lua, Tcl, Scheme and PHP scripting
   - script manager
   - spell checking
   - highly customizable and extensible
@@ -77,7 +76,7 @@ Description: Fast, light and extensible chat client - console client
   - 256 colors support
   - incremental text search
   - dynamic filtering of buffer content
-  - Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
+  - Perl, Python, Ruby, Lua, Tcl, Scheme and PHP scripting
   - script manager
   - spell checking
   - highly customizable and extensible
@@ -108,7 +107,7 @@ Description: Fast, light and extensible chat client - headless client
   - 256 colors support
   - incremental text search
   - dynamic filtering of buffer content
-  - Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
+  - Perl, Python, Ruby, Lua, Tcl, Scheme and PHP scripting
   - script manager
   - spell checking
   - highly customizable and extensible
@@ -233,19 +232,6 @@ Description: Fast, light and extensible chat client - Guile plugin
  .
  This package provides the Guile scripting API plugin.
 
-Package: weechat-devel-javascript
-Architecture: amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386
-Depends:
-    ${misc:Depends},
-    ${shlibs:Depends},
-    weechat-devel-curses (= ${binary:Version}) | weechat-devel-headless (= ${binary:Version})
-Conflicts: weechat-javascript
-Description: Fast, light and extensible chat client - JavaScript plugin
- WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
- for many operating systems. Everything can be done with a keyboard.
- .
- This package provides the JavaScript scripting API plugin.
-
 Package: weechat-devel-php
 Architecture: any
 Depends:
diff --git a/debian-devel/rules b/debian-devel/rules
index 16a5f9516..9f6dd8106 100755
--- a/debian-devel/rules
+++ b/debian-devel/rules
@@ -12,6 +12,7 @@ $(BUILDDIR)/Makefile:
 		-DLIBDIR=/usr/lib/${DEB_HOST_MULTIARCH} \
 		-DENABLE_DOC:BOOL=ON \
 		-DENABLE_MAN:BOOL=ON \
+		-DENABLE_JAVASCRIPT:BOOL=OFF \
 		-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
 		-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$(CFLAGS) -D_FORTIFY_SOURCE=2" \
 		-DCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING="$(LDFLAGS)" \
diff --git a/debian-devel/weechat-devel-javascript.dirs b/debian-devel/weechat-devel-javascript.dirs
deleted file mode 120000
index 1043d969a..000000000
--- a/debian-devel/weechat-devel-javascript.dirs
+++ /dev/null
@@ -1 +0,0 @@
-../debian-stable/weechat-javascript.dirs
\ No newline at end of file
diff --git a/debian-devel/weechat-devel-javascript.install b/debian-devel/weechat-devel-javascript.install
deleted file mode 120000
index d6f1f4a52..000000000
--- a/debian-devel/weechat-devel-javascript.install
+++ /dev/null
@@ -1 +0,0 @@
-../debian-stable/weechat-javascript.install
\ No newline at end of file
diff --git a/debian-stable/control b/debian-stable/control
index 8fd0bf1a6..d8ab6f6e2 100644
--- a/debian-stable/control
+++ b/debian-stable/control
@@ -14,7 +14,6 @@ Build-Depends:
     liblua5.3-dev,
     tcl8.6-dev,
     guile-2.2-dev,
-    libv8-dev [amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386],
     php-dev, libphp-embed, libargon2-0-dev, libsodium-dev,
     libxml2-dev,
     libcurl4-gnutls-dev,
@@ -46,7 +45,7 @@ Description: Fast, light and extensible chat client (metapackage)
   - 256 colors support
   - incremental text search
   - dynamic filtering of buffer content
-  - Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
+  - Perl, Python, Ruby, Lua, Tcl, Scheme and PHP scripting
   - script manager
   - spell checking
   - highly customizable and extensible
@@ -75,7 +74,7 @@ Description: Fast, light and extensible chat client - console client
   - 256 colors support
   - incremental text search
   - dynamic filtering of buffer content
-  - Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
+  - Perl, Python, Ruby, Lua, Tcl, Scheme and PHP scripting
   - script manager
   - spell checking
   - highly customizable and extensible
@@ -105,7 +104,7 @@ Description: Fast, light and extensible chat client - headless client
   - 256 colors support
   - incremental text search
   - dynamic filtering of buffer content
-  - Perl, Python, Ruby, Lua, Tcl, Scheme, JavaScript and PHP scripting
+  - Perl, Python, Ruby, Lua, Tcl, Scheme and PHP scripting
   - script manager
   - spell checking
   - highly customizable and extensible
@@ -222,18 +221,6 @@ Description: Fast, light and extensible chat client - Guile plugin
  .
  This package provides the Guile scripting API plugin.
 
-Package: weechat-javascript
-Architecture: amd64 i386 armel armhf mips mipsel hurd-i386 kfreebsd-amd64 kfreebsd-i386
-Depends:
-    ${misc:Depends},
-    ${shlibs:Depends},
-    weechat-curses (= ${binary:Version}) | weechat-headless (= ${binary:Version})
-Description: Fast, light and extensible chat client - JavaScript plugin
- WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
- for many operating systems. Everything can be done with a keyboard.
- .
- This package provides the JavaScript scripting API plugin.
-
 Package: weechat-php
 Architecture: any
 Depends:
diff --git a/debian-stable/rules b/debian-stable/rules
index 16a5f9516..9f6dd8106 100755
--- a/debian-stable/rules
+++ b/debian-stable/rules
@@ -12,6 +12,7 @@ $(BUILDDIR)/Makefile:
 		-DLIBDIR=/usr/lib/${DEB_HOST_MULTIARCH} \
 		-DENABLE_DOC:BOOL=ON \
 		-DENABLE_MAN:BOOL=ON \
+		-DENABLE_JAVASCRIPT:BOOL=OFF \
 		-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
 		-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$(CFLAGS) -D_FORTIFY_SOURCE=2" \
 		-DCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING="$(LDFLAGS)" \
diff --git a/debian-stable/weechat-javascript.dirs b/debian-stable/weechat-javascript.dirs
deleted file mode 100644
index 68457717b..000000000
--- a/debian-stable/weechat-javascript.dirs
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib
diff --git a/debian-stable/weechat-javascript.install b/debian-stable/weechat-javascript.install
deleted file mode 100644
index 6e9829e1c..000000000
--- a/debian-stable/weechat-javascript.install
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/*/weechat/plugins/javascript.so