summaryrefslogtreecommitdiff
path: root/tools/debian/patches/weechat_ubuntu_trusty.patch
blob: 3333bd183655127754c33f59fe90e630760e8d9b (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
diff --git a/debian-devel/control b/debian-devel/control
index 8f54814..cce7e04 100644
--- a/debian-devel/control
+++ b/debian-devel/control
@@ -3,9 +3,7 @@ Section: net
 Priority: optional
 Maintainer: Sébastien Helleu <flashcode@flashtux.org>
 Build-Depends:
-    asciidoctor (>= 1.5.4),
     debhelper (>= 9),
-    dh-exec,
     cmake, pkg-config,
     libncursesw5-dev,
     gem2deb,
@@ -15,10 +13,10 @@ Build-Depends:
     liblua5.1-0-dev,
     tcl8.6-dev,
     guile-2.0-dev,
-    libv8-dev [amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel],
+    libv8-dev,
     libcurl4-gnutls-dev,
-    libgcrypt20-dev,
-    libgnutls28-dev,
+    libgcrypt11-dev,
+    libgnutls-dev,
     zlib1g-dev
 Standards-Version: 3.9.8
 Homepage: https://weechat.org/
diff --git a/debian-devel/rules b/debian-devel/rules
index d1603c1..ee9fc59 100755
--- a/debian-devel/rules
+++ b/debian-devel/rules
@@ -7,8 +7,8 @@ $(BUILDDIR)/Makefile:
 	cd $(BUILDDIR) && \
 	cmake .. \
 		-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
-		-DENABLE_DOC:BOOL=ON \
-		-DENABLE_MAN:BOOL=ON \
+		-DENABLE_DOC:BOOL=OFF \
+		-DENABLE_MAN: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/control b/debian-stable/control
index 74d134c..5f3d8ce 100644
--- a/debian-stable/control
+++ b/debian-stable/control
@@ -3,9 +3,7 @@ Section: net
 Priority: optional
 Maintainer: Emmanuel Bouthenot <kolter@debian.org>
 Build-Depends:
-    asciidoctor (>= 1.5.4),
     debhelper (>= 9),
-    dh-exec,
     cmake, pkg-config,
     libncursesw5-dev,
     gem2deb,
@@ -15,10 +13,10 @@ Build-Depends:
     liblua5.1-0-dev,
     tcl8.6-dev,
     guile-2.0-dev,
-    libv8-dev [amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel],
+    libv8-dev,
     libcurl4-gnutls-dev,
-    libgcrypt20-dev,
-    libgnutls28-dev,
+    libgcrypt11-dev,
+    libgnutls-dev,
     zlib1g-dev
 Standards-Version: 3.9.8
 Homepage: https://weechat.org/
diff --git a/debian-stable/rules b/debian-stable/rules
index a4e1e3d..a244e2f 100755
--- a/debian-stable/rules
+++ b/debian-stable/rules
@@ -7,8 +7,8 @@ $(BUILDDIR)/Makefile:
 	cd $(BUILDDIR) && \
 	cmake .. \
 		-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
-		-DENABLE_DOC:BOOL=ON \
-		-DENABLE_MAN:BOOL=ON \
+		-DENABLE_DOC:BOOL=OFF \
+		-DENABLE_MAN: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-curses.install b/debian-stable/weechat-curses.install
index 9ca6321..fbfdb1f 100644
--- a/debian-stable/weechat-curses.install
+++ b/debian-stable/weechat-curses.install
@@ -1,4 +1,2 @@
 usr/bin/weechat
 debian/weechat.xpm usr/share/pixmaps
-usr/share/man/man1/weechat.1
-usr/share/man/*/man1/weechat.1
diff --git a/debian-stable/weechat-curses.links b/debian-stable/weechat-curses.links
index 4d0e998..bd9a567 100644
--- a/debian-stable/weechat-curses.links
+++ b/debian-stable/weechat-curses.links
@@ -1,8 +1 @@
 usr/bin/weechat usr/bin/weechat-curses
-usr/share/man/man1/weechat.1.gz usr/share/man/man1/weechat-curses.1.gz
-usr/share/man/de/man1/weechat.1.gz usr/share/man/de/man1/weechat-curses.1.gz
-usr/share/man/fr/man1/weechat.1.gz usr/share/man/fr/man1/weechat-curses.1.gz
-usr/share/man/it/man1/weechat.1.gz usr/share/man/it/man1/weechat-curses.1.gz
-usr/share/man/ja/man1/weechat.1.gz usr/share/man/ja/man1/weechat-curses.1.gz
-usr/share/man/pl/man1/weechat.1.gz usr/share/man/pl/man1/weechat-curses.1.gz
-usr/share/man/ru/man1/weechat.1.gz usr/share/man/ru/man1/weechat-curses.1.gz
diff --git a/debian-stable/weechat-plugins.install b/debian-stable/weechat-plugins.install
old mode 100755
new mode 100644
index 198360f..980192f
--- a/debian-stable/weechat-plugins.install
+++ b/debian-stable/weechat-plugins.install
@@ -1,10 +1,8 @@
-#!/usr/bin/dh-exec
-
 usr/lib/weechat/plugins/aspell.so
 usr/lib/weechat/plugins/exec.so
 usr/lib/weechat/plugins/fifo.so
 usr/lib/weechat/plugins/guile.so
-[amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel] usr/lib/weechat/plugins/javascript.so
+usr/lib/weechat/plugins/javascript.so
 usr/lib/weechat/plugins/lua.so
 usr/lib/weechat/plugins/perl.so
 usr/lib/weechat/plugins/python.so