diff --git a/network/chat/qtox/actions.py b/network/chat/qtox/actions.py
index 9a2f44132c..ee8a741a76 100644
--- a/network/chat/qtox/actions.py
+++ b/network/chat/qtox/actions.py
@@ -8,8 +8,9 @@ from pisi.actionsapi import shelltools, cmaketools, pisitools, get
j = ''.join([
' -DSTRICT_OPTIONS=ON',
+ ' -DPLATFORM_EXTENSIONS=ON',
' -DCMAKE_BUILD_TYPE=Release',
- ' -DUPDATE_CHECK=OFF '
+ ' -DUPDATE_CHECK=ON '
])
def setup():
diff --git a/network/chat/qtox/pspec.xml b/network/chat/qtox/pspec.xml
index 490ecb3128..962e527c54 100644
--- a/network/chat/qtox/pspec.xml
+++ b/network/chat/qtox/pspec.xml
@@ -13,8 +13,8 @@
network.chat
Instant messaging, video conferencing, and more.
qTox is a chat, voice, video, and file transfer instant messaging client using the encrypted peer-to-peer Tox protocol.
-
- https://github.com/qTox/qTox/releases/download/v1.17.6/v1.17.6.tar.gz
+
+ https://github.com/qTox/qTox/archive/a3004159833e890c34189944595b71aec1563264.zip
cmake
@@ -23,6 +23,7 @@
ffmpeg-devel
openal-devel
qt5-linguist
+ toxext-devel
libexif-devel
qt5-svg-devel
qt5-base-devel
@@ -31,6 +32,7 @@
toxcore-c-devel
sqlcipher-devel
libXScrnSaver-devel
+ tox-extension-messages-devel
@@ -41,6 +43,7 @@
libX11
ffmpeg
openal
+ toxext
libexif
qt5-svg
qt5-base
@@ -49,6 +52,7 @@
toxcore-c
sqlcipher
libXScrnSaver
+ tox-extension-messages
/usr/bin
@@ -60,7 +64,7 @@
- 2022-04-14
+ 2022-04-27
1.17.6
First build.
fury
diff --git a/network/chat/tox-extension-messages/actions.py b/network/chat/tox-extension-messages/actions.py
new file mode 100644
index 0000000000..183a3ada53
--- /dev/null
+++ b/network/chat/tox-extension-messages/actions.py
@@ -0,0 +1,18 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+#
+# Licensed under the GNU General Public License, version 3.
+# See the file https://www.gnu.org/licenses/gpl-3.0.txt
+
+from pisi.actionsapi import shelltools, cmaketools, pisitools, get
+
+def setup():
+ cmaketools.configure("-B_build -DCMAKE_BUILD_TYPE=Release -L")
+
+def build():
+ shelltools.cd("_build")
+ cmaketools.make()
+
+def install():
+ shelltools.cd("_build")
+ cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
diff --git a/network/chat/tox-extension-messages/pspec.xml b/network/chat/tox-extension-messages/pspec.xml
new file mode 100644
index 0000000000..8761295295
--- /dev/null
+++ b/network/chat/tox-extension-messages/pspec.xml
@@ -0,0 +1,56 @@
+
+
+
+
+ tox-extension-messages
+ https://github.com/toxext/tox_extension_messages
+
+ fury
+ uglyside@yandex.ru
+
+ GPL-3
+ library
+ network.chat
+ pass
+ pass
+
+ https://github.com/toxext/tox_extension_messages/archive/refs/tags/v0.0.3.tar.gz
+
+
+ cmake
+ toxext-devel
+ toxcore-c-devel
+
+
+
+
+ tox-extension-messages
+
+ toxext
+
+
+ /usr/lib/libtox_extension_messages.a
+
+
+
+
+ tox-extension-messages-devel
+
+ tox-extension-messages
+
+
+ /usr/include
+ /usr/lib/cmake/ToxExtensionMessages
+
+
+
+
+
+ 2022-04-19
+ 0.0.3
+ First build.
+ fury
+ uglyside@yandex.ru
+
+
+
diff --git a/network/chat/toxcore-c/actions.py b/network/chat/toxcore-c/actions.py
index a0d0f5ca68..33aac74086 100644
--- a/network/chat/toxcore-c/actions.py
+++ b/network/chat/toxcore-c/actions.py
@@ -8,6 +8,7 @@ from pisi.actionsapi import shelltools, cmaketools, pisitools, get
j = ''.join([
' -DCMAKE_BUILD_TYPE=Release',
+ ' -DDHT_BOOTSTRAP=OFF',
' -DENABLE_STATIC=OFF '
])
@@ -20,5 +21,6 @@ def build():
cmaketools.make()
def install():
+ pisitools.insinto("/etc", "other/bootstrap_daemon/tox-bootstrapd.conf")
shelltools.cd("_build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
diff --git a/network/chat/toxcore-c/comar/package.py b/network/chat/toxcore-c/comar/package.py
new file mode 100644
index 0000000000..1a14df2b2e
--- /dev/null
+++ b/network/chat/toxcore-c/comar/package.py
@@ -0,0 +1,20 @@
+#!/usr/bin/env python2
+# -*- coding: utf-8 -*-
+
+import os
+
+DIR = "/var/lib/tox-bootstrapd"
+
+def postInstall(fromVersion, fromRelease, toVersion, toRelease):
+ try:
+ os.system("useradd -r -m -d %s -s /sbin/nologin -U tox-bootstrapd" % DIR)
+ except:
+ pass
+ os.chmod(DIR, 0700)
+
+def postRemove():
+ try:
+ os.system("userdel -r tox-bootstrapd")
+ os.system("groupdel tox-bootstrapd")
+ except:
+ pass
diff --git a/network/chat/toxcore-c/comar/service.py b/network/chat/toxcore-c/comar/service.py
new file mode 100644
index 0000000000..1e9dc9db05
--- /dev/null
+++ b/network/chat/toxcore-c/comar/service.py
@@ -0,0 +1,39 @@
+#!/usr/bin/env python2
+# -*- coding: utf-8 -*-
+
+from comar.service import *
+import os
+
+serviceType = "server"
+serviceDesc = _({"en": "Tox DHT bootstrap daemon"})
+
+serviceDefault = "off"
+
+CFGFILE = "/etc/tox-bootstrapd.conf"
+PIDDIR = "/var/run/tox-bootstrapd"
+PIDFILE = "%s/tox-bootstrapd.pid" % PIDDIR
+
+@synchronized
+def start():
+ if not os.path.exists(PIDDIR):
+ try:
+ os.makedirs(PIDDIR)
+ except:
+ pass
+
+ startService(command="/usr/bin/tox-bootstrapd",
+ args="--config %s" % CFGFILE,
+ donotify=True)
+
+@synchronized
+def stop():
+ stopService(pidfile=PIDFILE,
+ donotify=True)
+
+ try:
+ os.unlink(PIDFILE)
+ except:
+ pass
+
+def status():
+ return isServiceRunning(pidfile=PIDFILE)
diff --git a/network/chat/toxcore-c/pspec.xml b/network/chat/toxcore-c/pspec.xml
index 5d6f3fe173..cc5e652d11 100644
--- a/network/chat/toxcore-c/pspec.xml
+++ b/network/chat/toxcore-c/pspec.xml
@@ -37,10 +37,15 @@
msgpack-c
+ /etc/tox-bootstrapd.conf
/usr/bin
/usr/lib
/usr/share/bash-completion/completions
+
+ System.Package
+ System.Service
+
@@ -61,7 +66,7 @@
- 2022-04-14
+ 2022-04-25
0.2.17
First build.
fury
diff --git a/network/chat/toxext/actions.py b/network/chat/toxext/actions.py
new file mode 100644
index 0000000000..183a3ada53
--- /dev/null
+++ b/network/chat/toxext/actions.py
@@ -0,0 +1,18 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+#
+# Licensed under the GNU General Public License, version 3.
+# See the file https://www.gnu.org/licenses/gpl-3.0.txt
+
+from pisi.actionsapi import shelltools, cmaketools, pisitools, get
+
+def setup():
+ cmaketools.configure("-B_build -DCMAKE_BUILD_TYPE=Release -L")
+
+def build():
+ shelltools.cd("_build")
+ cmaketools.make()
+
+def install():
+ shelltools.cd("_build")
+ cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
diff --git a/network/chat/toxext/pspec.xml b/network/chat/toxext/pspec.xml
new file mode 100644
index 0000000000..d39bf99322
--- /dev/null
+++ b/network/chat/toxext/pspec.xml
@@ -0,0 +1,56 @@
+
+
+
+
+ toxext
+ https://github.com/toxext/toxext
+
+ fury
+ uglyside@yandex.ru
+
+ GPL-3
+ library
+ network.chat
+ An extension library for tox.
+ An extension library with negotiation allows more experimentation with less risk resulting in more features for tox clients.
+
+ https://github.com/toxext/toxext/archive/refs/tags/v0.0.3.tar.gz
+
+
+ cmake
+ toxcore-c-devel
+
+
+
+
+ toxext
+
+ toxcore-c
+
+
+ /usr/lib/libtoxext.a
+
+
+
+
+ toxext-devel
+
+ toxext
+ toxcore-c-devel
+
+
+ /usr/include
+ /usr/lib/cmake/ToxExt
+
+
+
+
+
+ 2022-04-19
+ 0.0.3
+ First build.
+ fury
+ uglyside@yandex.ru
+
+
+