File net-im/toxic/Manifest changed (mode: 100644) (index cc10e69..186cf27) |
1 |
1 |
DIST toxic-0.10.0.tar.gz 1160161 BLAKE2B 30089398211945f366fd7b52ab4014cd9b020f58b7d3e47ec1a12a87055f10cdb723211f38d1028a3fb149cd76aa7771591e37f7961cda37b7bcbb8e21b33181 SHA512 bfbe8e4c90b4fcbdbe7cc96cb402e4c2f1609e2970e51d6d2ad2c8596350ce96ac9f4d06fbb71350e56d8892e2ed4ee8c5adf4f66cdad6b152c959802bddc6cc |
DIST toxic-0.10.0.tar.gz 1160161 BLAKE2B 30089398211945f366fd7b52ab4014cd9b020f58b7d3e47ec1a12a87055f10cdb723211f38d1028a3fb149cd76aa7771591e37f7961cda37b7bcbb8e21b33181 SHA512 bfbe8e4c90b4fcbdbe7cc96cb402e4c2f1609e2970e51d6d2ad2c8596350ce96ac9f4d06fbb71350e56d8892e2ed4ee8c5adf4f66cdad6b152c959802bddc6cc |
|
2 |
|
DIST toxic-0.10.1.tar.gz 1165118 BLAKE2B d367039bef9c97c23c8e5453b607cf72f70776e8c86c41da0480eb04725a901bf33bb89727aee3010ad97d33ef2aa653ff09ea49b597cdf2008ff976c395065c SHA512 aec2e6612d639e0210ae68db3368b656647575e3d927444d0726422ff2cf9718dd5a8b3f37a8253cdc3714f09f9f96828dfccf7a7ae12f8a41ce3207f92a684d |
|
3 |
|
DIST toxic-0.11.1.tar.gz 1204163 BLAKE2B 1e388982236badf1a27cb1cfd9e84ec635be6a576a0719a7394f32ac82f23796f94236ab807180620cbfa8c0c42f43ff244d2d99d27cd5ab3258c1ce69acc545 SHA512 53fba05271020547e779d63bea777f90f56b61e3eb2775afabe92e047a8347b4a9166628bb59d2eaab2e36a1121d791206ac68ff6604cb06fac6aaddbb05e787 |
2 |
4 |
DIST toxic-0.8.3.tar.gz 1147100 BLAKE2B d73a861112aca65e54773c98473c2858bb81e63fef11212633e34dac9e87101956e3ab0d9d56757767bc5d48d1d5a406e550f8fc55ae34860dbc4977c94ee347 SHA512 c8d746efcc055592dd990dfa57415cc1eacaaa3b66303d7583d9f9e7e98b8829c8f1ae849f36a243c8896e99787dd2e493c92367de719b20a4a160bc7daea76e |
DIST toxic-0.8.3.tar.gz 1147100 BLAKE2B d73a861112aca65e54773c98473c2858bb81e63fef11212633e34dac9e87101956e3ab0d9d56757767bc5d48d1d5a406e550f8fc55ae34860dbc4977c94ee347 SHA512 c8d746efcc055592dd990dfa57415cc1eacaaa3b66303d7583d9f9e7e98b8829c8f1ae849f36a243c8896e99787dd2e493c92367de719b20a4a160bc7daea76e |
File net-im/toxic/files/toxic-0.10.0-NAME_MAX-and-PATH_MAX.patch added (mode: 100644) (index 0000000..0dc44b0) |
|
1 |
|
diff -ruN src/autocomplete.c src/autocomplete.c |
|
2 |
|
--- src/autocomplete.c 2021-07-26 15:43:33.342650649 -0400 |
|
3 |
|
+++ src/autocomplete.c 2021-07-26 15:46:36.152645553 -0400 |
|
4 |
|
@@ -25,10 +25,13 @@ |
|
5 |
|
#include <string.h> |
|
6 |
|
|
|
7 |
|
#ifdef __APPLE__ |
|
8 |
|
-#include <sys/types.h> |
|
9 |
|
#include <sys/dir.h> |
|
10 |
|
+#include <sys/types.h> |
|
11 |
|
+//include NAME_MAX and PATH_MAX |
|
12 |
|
+#include <sys/sysinfo.h>//I can't verify that this is correct (no mac's near me), if possible, please check. |
|
13 |
|
#else |
|
14 |
|
#include <dirent.h> |
|
15 |
|
+#include <linux/limits.h>//include NAME_MAX and PATH_MAX |
|
16 |
|
#endif /* __APPLE__ */ |
|
17 |
|
|
|
18 |
|
#include "configdir.h" |
|
19 |
|
diff -ruN src/file_transfers.h src/file_transfers.h |
|
20 |
|
--- src/file_transfers.h 2021-07-26 15:39:36.765990567 -0400 |
|
21 |
|
+++ src/file_transfers.h 2021-07-26 15:57:26.545960753 -0400 |
|
22 |
|
@@ -24,6 +24,12 @@ |
|
23 |
|
#define FILE_TRANSFERS_H |
|
24 |
|
|
|
25 |
|
#include <limits.h> |
|
26 |
|
+//this includes NAME_MAX and PATH_MAX |
|
27 |
|
+#ifdef __APPLE__ |
|
28 |
|
+#include <sys/sysinfo.h> //I can't verify that this is correct (no mac's around me), if possible, please check |
|
29 |
|
+#elif __linux__ |
|
30 |
|
+#include <linux/limits.h> |
|
31 |
|
+#endif |
|
32 |
|
|
|
33 |
|
#include "notify.h" |
|
34 |
|
#include "toxic.h" |
|
35 |
|
diff -ruN src/settings.h src/settings.h |
|
36 |
|
--- src/settings.h 2021-07-26 15:43:33.345983982 -0400 |
|
37 |
|
+++ src/settings.h 2021-07-26 15:58:39.022625405 -0400 |
|
38 |
|
@@ -24,6 +24,11 @@ |
|
39 |
|
#define SETTINGS_H |
|
40 |
|
|
|
41 |
|
#include <limits.h> |
|
42 |
|
+#ifdef __APPLE__ |
|
43 |
|
+#include <sys/sysinfo.h> //I can't verify that this is correct (no mac's near me), if possible, please check |
|
44 |
|
+#elif __linux__ |
|
45 |
|
+#include <linux/limits.h> |
|
46 |
|
+#endif |
|
47 |
|
|
|
48 |
|
#include <tox/tox.h> |
|
49 |
|
|
File net-im/toxic/files/toxic-0.10.1-NAME_MAX-and-PATH_MAX.patch added (mode: 100644) (index 0000000..68cb0bb) |
|
1 |
|
diff -ruN src/autocomplete.c src/autocomplete.c |
|
2 |
|
--- src/autocomplete.c 2021-07-26 15:04:59.172715491 -0400 |
|
3 |
|
+++ src/autocomplete.c 2021-07-26 15:22:06.652686609 -0400 |
|
4 |
|
@@ -25,10 +25,12 @@ |
|
5 |
|
#include <string.h> |
|
6 |
|
|
|
7 |
|
#ifdef __APPLE__ |
|
8 |
|
-#include <sys/types.h> |
|
9 |
|
#include <sys/dir.h> |
|
10 |
|
+#include <sys/types.h> |
|
11 |
|
+#include <sys/sysinfo.h> |
|
12 |
|
#else |
|
13 |
|
#include <dirent.h> |
|
14 |
|
+#include <linux/limits.h> |
|
15 |
|
#endif /* __APPLE__ */ |
|
16 |
|
|
|
17 |
|
#include "configdir.h" |
|
18 |
|
diff -ruN src/file_transfers.h src/file_transfers.h |
|
19 |
|
--- src/file_transfers.h 2021-07-26 15:39:36.765990567 -0400 |
|
20 |
|
+++ src/file_transfers.h 2021-07-26 15:39:41.899323757 -0400 |
|
21 |
|
@@ -24,6 +24,12 @@ |
|
22 |
|
#define FILE_TRANSFERS_H |
|
23 |
|
|
|
24 |
|
#include <limits.h> |
|
25 |
|
+//This includes NAME_MAX and PATH_MAX |
|
26 |
|
+#ifdef __APPLE__ |
|
27 |
|
+#include <sys/sysinfo.h> |
|
28 |
|
+#elif __linux__ |
|
29 |
|
+#include <linux/limits.h> |
|
30 |
|
+#endif |
|
31 |
|
|
|
32 |
|
#include "notify.h" |
|
33 |
|
#include "toxic.h" |
|
34 |
|
diff -ruN src/settings.h src/settings.h |
|
35 |
|
--- src/settings.h 2021-07-26 15:04:59.176048823 -0400 |
|
36 |
|
+++ src/settings.h 2021-07-26 15:12:01.772703590 -0400 |
|
37 |
|
@@ -24,6 +24,12 @@ |
|
38 |
|
#define SETTINGS_H |
|
39 |
|
|
|
40 |
|
#include <limits.h> |
|
41 |
|
+//This includes NAME_MAX and PATH_MAX |
|
42 |
|
+#ifdef __APPLE__ |
|
43 |
|
+#include <sys/sysinfo.h> |
|
44 |
|
+#elif __linux__ |
|
45 |
|
+#include <linux/limits.h> |
|
46 |
|
+#endif |
|
47 |
|
|
|
48 |
|
#include <tox/tox.h> |
|
49 |
|
|
File net-im/toxic/files/toxic-0.11.1-NAME_MAX-and-PATH_MAX.patch added (mode: 100644) (index 0000000..09845d2) |
|
1 |
|
diff -ruN src/autocomplete.c src/autocomplete.c |
|
2 |
|
--- src/autocomplete.c 2021-08-09 18:52:27.090248882 -0400 |
|
3 |
|
+++ src/autocomplete.c 2021-08-11 14:57:39.029828530 -0400 |
|
4 |
|
@@ -25,10 +25,12 @@ |
|
5 |
|
#include <string.h> |
|
6 |
|
|
|
7 |
|
#ifdef __APPLE__ |
|
8 |
|
-#include <sys/types.h> |
|
9 |
|
#include <sys/dir.h> |
|
10 |
|
+#include <sys/types.h> |
|
11 |
|
+#include <sys/sysinfo.h>//This should contain PATH_MAX and NAME_MAX |
|
12 |
|
#else |
|
13 |
|
#include <dirent.h> |
|
14 |
|
+#include <linux/limits.h> |
|
15 |
|
#endif /* __APPLE__ */ |
|
16 |
|
|
|
17 |
|
#include "configdir.h" |
|
18 |
|
diff -ruN src/file_transfers.h src/file_transfers.h |
|
19 |
|
--- src/file_transfers.h 2021-07-26 15:39:36.765990567 -0400 |
|
20 |
|
+++ src/file_transfers.h 2021-08-11 14:59:41.223159195 -0400 |
|
21 |
|
@@ -24,6 +24,12 @@ |
|
22 |
|
#define FILE_TRANSFERS_H |
|
23 |
|
|
|
24 |
|
#include <limits.h> |
|
25 |
|
+//This should include NAME_MAX and PATH_MAX |
|
26 |
|
+#ifdef __APPLE__ |
|
27 |
|
+#include <sys/sysinfo.h> |
|
28 |
|
+#elif __linux__ |
|
29 |
|
+#include <linux/limits.h> |
|
30 |
|
+#endif |
|
31 |
|
|
|
32 |
|
#include "notify.h" |
|
33 |
|
#include "toxic.h" |
|
34 |
|
diff -ruN src/settings.h src/settings.h |
|
35 |
|
--- src/settings.h 2021-08-09 18:52:27.093582216 -0400 |
|
36 |
|
+++ src/settings.h 2021-08-11 15:00:46.889824433 -0400 |
|
37 |
|
@@ -24,6 +24,12 @@ |
|
38 |
|
#define SETTINGS_H |
|
39 |
|
|
|
40 |
|
#include <limits.h> |
|
41 |
|
+//This should include NAME_MAX and PATH_MAX |
|
42 |
|
+#ifdef __APPLE__ |
|
43 |
|
+#include <sys/sysinfo.h> |
|
44 |
|
+#elif __linux__ |
|
45 |
|
+#include <linux/limits.h> |
|
46 |
|
+#endif |
|
47 |
|
|
|
48 |
|
#include <tox/tox.h> |
File net-im/toxic/files/toxic-0.8.3-NAME_MAX-and-PATH_MAX.patch added (mode: 100644) (index 0000000..11dc43c) |
|
1 |
|
diff -ruN src/autocomplete.c src/autocomplete.c |
|
2 |
|
--- src/autocomplete.c 2021-07-26 10:43:37.453154392 -0400 |
|
3 |
|
+++ src/autocomplete.c 2021-07-26 10:59:29.856460938 -0400 |
|
4 |
|
@@ -27,8 +27,11 @@ |
|
5 |
|
#ifdef __APPLE__ |
|
6 |
|
#include <sys/types.h> |
|
7 |
|
#include <sys/dir.h> |
|
8 |
|
-#else |
|
9 |
|
+//This include NAME_MAX |
|
10 |
|
+#include <sys/sysinfo.h> |
|
11 |
|
+#elif __linux__ |
|
12 |
|
#include <dirent.h> |
|
13 |
|
+#include <linux/limits.h>//This includes NAME_MAX |
|
14 |
|
#endif /* __APPLE__ */ |
|
15 |
|
|
|
16 |
|
#include "windows.h" |
|
17 |
|
diff -ruN src/file_transfers.h src/file_transfers.h |
|
18 |
|
--- src/file_transfers.h 2021-07-26 10:43:37.456487724 -0400 |
|
19 |
|
+++ src/file_transfers.h 2021-07-26 11:41:30.513057111 -0400 |
|
20 |
|
@@ -24,6 +24,12 @@ |
|
21 |
|
#define FILE_TRANSFERS_H |
|
22 |
|
|
|
23 |
|
#include <limits.h> |
|
24 |
|
+//This includes PATH_MAX |
|
25 |
|
+#ifdef __APPLE__ |
|
26 |
|
+#include <sys/sysinfo.h> |
|
27 |
|
+#elif __linux__ |
|
28 |
|
+#include <linux/limits.h> |
|
29 |
|
+#endif |
|
30 |
|
|
|
31 |
|
#include "toxic.h" |
|
32 |
|
#include "windows.h" |
|
33 |
|
diff -ruN src/settings.h src/settings.h |
|
34 |
|
--- src/settings.h 2021-07-26 10:43:37.459821058 -0400 |
|
35 |
|
+++ src/settings.h 2021-07-26 11:45:46.709716594 -0400 |
|
36 |
|
@@ -25,6 +25,13 @@ |
|
37 |
|
|
|
38 |
|
#include <limits.h> |
|
39 |
|
|
|
40 |
|
+//This includes PATH_MAX |
|
41 |
|
+#ifdef __APPLE__ |
|
42 |
|
+#include <sys/sysinfo.h> |
|
43 |
|
+#elif __linux__ |
|
44 |
|
+#include <linux/limits.h> |
|
45 |
|
+#endif |
|
46 |
|
+ |
|
47 |
|
#include <tox/tox.h> |
|
48 |
|
|
|
49 |
|
/* Represents line_* hints max strlen */ |
File net-im/toxic/toxic-0.10.1-r1.ebuild copied from file net-im/toxic/toxic-0.10.1.ebuild (similarity 83%) (mode: 100644) (index 4f06399..931dd62) |
3 |
3 |
|
|
4 |
4 |
EAPI=7 |
EAPI=7 |
5 |
5 |
|
|
6 |
|
PYTHON_COMPAT=( python3_{7,8,9} ) |
|
|
6 |
|
PYTHON_COMPAT=( python3_{7,8,9,10} ) |
7 |
7 |
|
|
8 |
8 |
inherit python-single-r1 xdg |
inherit python-single-r1 xdg |
9 |
9 |
|
|
|
... |
... |
IUSE="+audio-notify debug doc llvm notification png python qrcode +sound +video |
18 |
18 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
19 |
19 |
video? ( sound X ) " |
video? ( sound X ) " |
20 |
20 |
|
|
21 |
|
RDEPEND="dev-libs/libconfig:= |
|
22 |
|
net-libs/tox:= |
|
|
21 |
|
BDEPEND="dev-libs/libconfig" |
|
22 |
|
|
|
23 |
|
RDEPEND="net-libs/tox:= |
23 |
24 |
net-misc/curl |
net-misc/curl |
24 |
25 |
sys-libs/ncurses:= |
sys-libs/ncurses:= |
|
26 |
|
sys-kernel/linux-headers |
25 |
27 |
audio-notify? ( |
audio-notify? ( |
26 |
28 |
media-libs/freealut |
media-libs/freealut |
27 |
29 |
media-libs/openal |
media-libs/openal |
|
... |
... |
src_prepare() { |
58 |
60 |
#This line changes the "lazy set if absent" assignment to a "lazy set" assignment. |
#This line changes the "lazy set if absent" assignment to a "lazy set" assignment. |
59 |
61 |
#look below in src_configure to see how CFLAGS are passed to the makefile in USER_CFLAGS |
#look below in src_configure to see how CFLAGS are passed to the makefile in USER_CFLAGS |
60 |
62 |
sed -i -e 's/?=/=/g' Makefile || die "Unable to force CFLAGS and LDFLAGS" |
sed -i -e 's/?=/=/g' Makefile || die "Unable to force CFLAGS and LDFLAGS" |
|
63 |
|
#Fix incomplete invocation of python-config |
|
64 |
|
sed -i -e "s/--ldflags/--ldflags --embed/" cfg/checks/python.mk || die "Unable to fix python linking" |
|
65 |
|
#Fix incorrect include statements for NAME_MAX and PATH_MAX macros |
|
66 |
|
eapply -p0 "${FILESDIR}/${P}-NAME_MAX-and-PATH_MAX.patch" || die "Unable to fix header inclusion" |
61 |
67 |
} |
} |
62 |
68 |
|
|
63 |
69 |
src_configure() { |
src_configure() { |
|
... |
... |
src_configure() { |
101 |
107 |
src_install() { |
src_install() { |
102 |
108 |
default |
default |
103 |
109 |
if ! use audio-notify; then |
if ! use audio-notify; then |
104 |
|
rm -r "${ED}"/usr/share/${PN}/sounds || die "Could not remove sounds directory" |
|
|
110 |
|
rm -r "${ED}"/usr/share/"${PN}"/sounds || die "Could not remove sounds directory" |
105 |
111 |
fi |
fi |
106 |
112 |
} |
} |
File net-im/toxic/toxic-0.11.1.ebuild copied from file net-im/toxic/toxic-0.10.1.ebuild (similarity 67%) (mode: 100644) (index 4f06399..d2d629d) |
3 |
3 |
|
|
4 |
4 |
EAPI=7 |
EAPI=7 |
5 |
5 |
|
|
6 |
|
PYTHON_COMPAT=( python3_{7,8,9} ) |
|
|
6 |
|
PYTHON_COMPAT=( python3_{8,9,10} ) |
7 |
7 |
|
|
8 |
8 |
inherit python-single-r1 xdg |
inherit python-single-r1 xdg |
9 |
9 |
|
|
|
... |
... |
SRC_URI="https://github.com/JFreegman/toxic/archive/v${PV}.tar.gz -> ${P}.tar.gz |
14 |
14 |
LICENSE="GPL-3+" |
LICENSE="GPL-3+" |
15 |
15 |
SLOT="0" |
SLOT="0" |
16 |
16 |
KEYWORDS="~amd64 ~x86" |
KEYWORDS="~amd64 ~x86" |
17 |
|
IUSE="+audio-notify debug doc llvm notification png python qrcode +sound +video +X" |
|
|
17 |
|
IUSE="+audio-notify debug games llvm notification png python qrcode +sound +video +X" |
18 |
18 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
19 |
19 |
video? ( sound X ) " |
video? ( sound X ) " |
20 |
20 |
|
|
21 |
|
RDEPEND="dev-libs/libconfig:= |
|
22 |
|
net-libs/tox:= |
|
|
21 |
|
BDEPEND="dev-libs/libconfig:= |
|
22 |
|
virtual/pkgconfig" |
|
23 |
|
|
|
24 |
|
RDEPEND="net-libs/tox:= |
23 |
25 |
net-misc/curl |
net-misc/curl |
|
26 |
|
sys-kernel/linux-headers |
24 |
27 |
sys-libs/ncurses:= |
sys-libs/ncurses:= |
25 |
28 |
audio-notify? ( |
audio-notify? ( |
26 |
29 |
media-libs/freealut |
media-libs/freealut |
|
... |
... |
src_prepare() { |
57 |
60 |
#Makefile sets some required CFLAGS only if CFLAGS variable is undefined, |
#Makefile sets some required CFLAGS only if CFLAGS variable is undefined, |
58 |
61 |
#This line changes the "lazy set if absent" assignment to a "lazy set" assignment. |
#This line changes the "lazy set if absent" assignment to a "lazy set" assignment. |
59 |
62 |
#look below in src_configure to see how CFLAGS are passed to the makefile in USER_CFLAGS |
#look below in src_configure to see how CFLAGS are passed to the makefile in USER_CFLAGS |
60 |
|
sed -i -e 's/?=/=/g' Makefile || die "Unable to force CFLAGS and LDFLAGS" |
|
|
63 |
|
sed -i -e 's/?=/=/g' Makefile || die "Unable to change assignment of CFLAGS and LDFLAGS" |
|
64 |
|
#Fix incomplete invocation of python-config |
|
65 |
|
sed -i -e "s/--ldflags/--ldflags --embed/" cfg/checks/python.mk || die "Unable to fix python linking" |
|
66 |
|
#This is to fix incorrect include statements of NAME_MAX and PATH_MAX macros |
|
67 |
|
eapply -p0 "${FILESDIR}/${P}-NAME_MAX-and-PATH_MAX.patch" || die "Unable to fix include statements" |
61 |
68 |
} |
} |
62 |
69 |
|
|
63 |
70 |
src_configure() { |
src_configure() { |
64 |
71 |
if ! use audio-notify; then |
if ! use audio-notify; then |
65 |
|
USER_CFLAGS+="-DDISABLE_SOUND_NOTIFY=1 " |
|
|
72 |
|
export DISABLE_SOUND_NOTIFY=1 |
66 |
73 |
fi |
fi |
67 |
74 |
if use debug; then |
if use debug; then |
68 |
|
USER_CFLAGS+="-DENABLE_RELEASE=0 " |
|
|
75 |
|
export ENABLE_RELEASE=0 |
69 |
76 |
if use llvm; then |
if use llvm; then |
70 |
|
USER_CFLAGS+="-DENABLE_ASAN=1 " |
|
|
77 |
|
export ENABLE_ASAN=1 |
71 |
78 |
fi |
fi |
72 |
79 |
fi |
fi |
|
80 |
|
if ! use games; then |
|
81 |
|
export DISABLE_GAMES=1 |
|
82 |
|
fi |
73 |
83 |
if ! use notification; then |
if ! use notification; then |
74 |
|
USER_CFLAGS+="-DDISABLE_DESKTOP_NOTIFY=1 " |
|
|
84 |
|
export DISABLE_DESKTOP_NOTIFY=1 |
75 |
85 |
fi |
fi |
76 |
86 |
if ! use png; then |
if ! use png; then |
77 |
|
USER_CFLAGS+="-DDISABLE_QRPNG=1 " |
|
|
87 |
|
export DISABLE_QRPNG=1 |
78 |
88 |
fi |
fi |
79 |
89 |
if use python; then |
if use python; then |
80 |
|
USER_CFLAGS+="-DENABLE_PYTHON=1" |
|
|
90 |
|
export ENABLE_PYTHON=1 |
81 |
91 |
fi |
fi |
82 |
92 |
if ! use qrcode; then |
if ! use qrcode; then |
83 |
|
USER_CFLAGS+="-DDISABLE_QRCODE=1" |
|
|
93 |
|
export DISABLE_QRCODE=1 |
84 |
94 |
fi |
fi |
85 |
95 |
if ! use sound; then |
if ! use sound; then |
86 |
|
USER_CFLAGS+="-DDISABLE_AV=1 " |
|
|
96 |
|
export DISABLE_AV=1 |
87 |
97 |
fi |
fi |
88 |
98 |
if ! use video; then |
if ! use video; then |
89 |
|
USER_CFLAGS+="-DDISABLE_VI=1" |
|
|
99 |
|
export DISABLE_VI=1 |
90 |
100 |
fi |
fi |
91 |
101 |
if ! use X; then |
if ! use X; then |
92 |
|
USER_CFLAGS+="-DDISABLE_X11=1 " |
|
|
102 |
|
export DISABLE_X11=1 |
93 |
103 |
fi |
fi |
94 |
|
USER_CFLAGS+="${CFLAGS}" |
|
95 |
|
export USER_CFLAGS |
|
|
104 |
|
export USER_CFLAGS="${CFLAGS}" |
96 |
105 |
export USER_LDFLAGS="${LDFLAGS}" |
export USER_LDFLAGS="${LDFLAGS}" |
97 |
106 |
#set install directory to /usr. |
#set install directory to /usr. |
98 |
107 |
sed -i -e "s,/usr/local,${EPREFIX}/usr,g" cfg/global_vars.mk || die "Failed to set install directory!" |
sed -i -e "s,/usr/local,${EPREFIX}/usr,g" cfg/global_vars.mk || die "Failed to set install directory!" |
File net-im/toxic/toxic-0.8.3-r3.ebuild copied from file net-im/toxic/toxic-0.8.3-r1.ebuild (similarity 79%) (mode: 100644) (index 03ec7df..97ed2aa) |
1 |
|
# Copyright 1999-2020 Gentoo Authors |
|
|
1 |
|
# Copyright 1999-2021 Gentoo Authors |
2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
3 |
|
|
4 |
4 |
EAPI=7 |
EAPI=7 |
5 |
5 |
|
|
6 |
|
PYTHON_COMPAT=( python3_{6,7,8,9} ) |
|
|
6 |
|
PYTHON_COMPAT=( python3_{7,8,9,10} ) |
7 |
7 |
|
|
8 |
8 |
inherit python-single-r1 xdg |
inherit python-single-r1 xdg |
9 |
9 |
|
|
|
... |
... |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
19 |
19 |
|
|
20 |
20 |
BDEPEND="dev-libs/libconfig" |
BDEPEND="dev-libs/libconfig" |
21 |
21 |
|
|
22 |
|
RDEPEND=">=net-libs/tox-0.2.8:* |
|
|
22 |
|
RDEPEND="net-libs/tox:= |
23 |
23 |
net-misc/curl |
net-misc/curl |
24 |
|
sys-libs/ncurses:* |
|
|
24 |
|
sys-libs/ncurses:= |
|
25 |
|
sys-kernel/linux-headers |
25 |
26 |
notification? ( x11-libs/libnotify ) |
notification? ( x11-libs/libnotify ) |
26 |
27 |
python? ( ${PYTHON_DEPS} ) |
python? ( ${PYTHON_DEPS} ) |
27 |
|
qrcode? ( media-gfx/qrencode ) |
|
|
28 |
|
qrcode? ( media-gfx/qrencode:= ) |
28 |
29 |
sound? ( |
sound? ( |
29 |
30 |
media-libs/freealut |
media-libs/freealut |
30 |
31 |
media-libs/openal |
media-libs/openal |
31 |
|
net-libs/tox[av] |
|
|
32 |
|
net-libs/tox:=[av] |
32 |
33 |
) |
) |
33 |
34 |
video? ( |
video? ( |
34 |
|
media-libs/libvpx |
|
35 |
|
net-libs/tox[av] |
|
|
35 |
|
media-libs/libvpx:= |
|
36 |
|
net-libs/tox:=[av] |
36 |
37 |
x11-libs/libX11 )" |
x11-libs/libX11 )" |
37 |
38 |
|
|
38 |
39 |
DEPEND="${RDEPEND}" |
DEPEND="${RDEPEND}" |
|
... |
... |
src_prepare() { |
45 |
46 |
default |
default |
46 |
47 |
#prevent man files from being compressed. |
#prevent man files from being compressed. |
47 |
48 |
sed -i -e "/gzip/d" cfg/targets/install.mk || die "Unable to prevent compression of man pages." |
sed -i -e "/gzip/d" cfg/targets/install.mk || die "Unable to prevent compression of man pages." |
|
49 |
|
#Fix incorrect include declarations for NAME_MAX and PATH_MAX. |
|
50 |
|
eapply -p0 "${FILESDIR}/${P}-NAME_MAX-and-PATH_MAX.patch" || die "Unable to fix include statements" |
48 |
51 |
} |
} |
49 |
52 |
|
|
50 |
53 |
src_configure() { |
src_configure() { |
File net-im/toxic/toxic-0.8.3-r4.ebuild copied from file net-im/toxic/toxic-0.8.3-r1.ebuild (similarity 74%) (mode: 100644) (index 03ec7df..0df61f7) |
1 |
|
# Copyright 1999-2020 Gentoo Authors |
|
|
1 |
|
# Copyright 1999-2021 Gentoo Authors |
2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
3 |
|
|
4 |
4 |
EAPI=7 |
EAPI=7 |
5 |
5 |
|
|
6 |
|
PYTHON_COMPAT=( python3_{6,7,8,9} ) |
|
|
6 |
|
PYTHON_COMPAT=( python3_{7,8,9,10} ) |
7 |
7 |
|
|
8 |
8 |
inherit python-single-r1 xdg |
inherit python-single-r1 xdg |
9 |
9 |
|
|
|
... |
... |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
19 |
19 |
|
|
20 |
20 |
BDEPEND="dev-libs/libconfig" |
BDEPEND="dev-libs/libconfig" |
21 |
21 |
|
|
22 |
|
RDEPEND=">=net-libs/tox-0.2.8:* |
|
|
22 |
|
RDEPEND="net-libs/tox:= |
23 |
23 |
net-misc/curl |
net-misc/curl |
24 |
|
sys-libs/ncurses:* |
|
|
24 |
|
sys-libs/ncurses:= |
|
25 |
|
sys-kernel/linux-headers |
25 |
26 |
notification? ( x11-libs/libnotify ) |
notification? ( x11-libs/libnotify ) |
26 |
27 |
python? ( ${PYTHON_DEPS} ) |
python? ( ${PYTHON_DEPS} ) |
27 |
|
qrcode? ( media-gfx/qrencode ) |
|
|
28 |
|
qrcode? ( media-gfx/qrencode:= ) |
28 |
29 |
sound? ( |
sound? ( |
29 |
30 |
media-libs/freealut |
media-libs/freealut |
30 |
31 |
media-libs/openal |
media-libs/openal |
31 |
|
net-libs/tox[av] |
|
|
32 |
|
net-libs/tox:=[av] |
32 |
33 |
) |
) |
33 |
34 |
video? ( |
video? ( |
34 |
|
media-libs/libvpx |
|
35 |
|
net-libs/tox[av] |
|
|
35 |
|
media-libs/libvpx:= |
|
36 |
|
net-libs/tox:=[av] |
36 |
37 |
x11-libs/libX11 )" |
x11-libs/libX11 )" |
37 |
38 |
|
|
38 |
39 |
DEPEND="${RDEPEND}" |
DEPEND="${RDEPEND}" |
|
... |
... |
src_prepare() { |
45 |
46 |
default |
default |
46 |
47 |
#prevent man files from being compressed. |
#prevent man files from being compressed. |
47 |
48 |
sed -i -e "/gzip/d" cfg/targets/install.mk || die "Unable to prevent compression of man pages." |
sed -i -e "/gzip/d" cfg/targets/install.mk || die "Unable to prevent compression of man pages." |
|
49 |
|
#Fix incomplete invocation of python-config |
|
50 |
|
sed -i -e "s/--ldflags/--ldflags --embed/" cfg/checks/python.mk || die "Unable to fix python linking" |
|
51 |
|
#Fix incorrect include declarations for NAME_MAX and PATH_MAX. |
|
52 |
|
eapply -p0 "${FILESDIR}/${P}-NAME_MAX-and-PATH_MAX.patch" || die "Unable to fix include statements" |
48 |
53 |
} |
} |
49 |
54 |
|
|
50 |
55 |
src_configure() { |
src_configure() { |