Merge pull request #10194 from 4fury-c3440d8/b1

rebuild *tox*
This commit is contained in:
Kamil ATLI
2022-04-28 20:24:25 +03:00
committed by GitHub
10 changed files with 224 additions and 5 deletions
+2 -1
View File
@@ -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():
+7 -3
View File
@@ -13,8 +13,8 @@
<PartOf>network.chat</PartOf>
<Summary>Instant messaging, video conferencing, and more.</Summary>
<Description>qTox is a chat, voice, video, and file transfer instant messaging client using the encrypted peer-to-peer Tox protocol.</Description>
<Archive sha1sum="7ec6356da1c52cfe39c2cdfc3587664543ec9248" type="targz">
https://github.com/qTox/qTox/releases/download/v1.17.6/v1.17.6.tar.gz
<Archive sha1sum="d3c6b23cfea434cd0e2ba68b2e858b21e88451b8" type="zip">
https://github.com/qTox/qTox/archive/a3004159833e890c34189944595b71aec1563264.zip
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
@@ -23,6 +23,7 @@
<Dependency>ffmpeg-devel</Dependency>
<Dependency>openal-devel</Dependency>
<Dependency>qt5-linguist</Dependency>
<Dependency>toxext-devel</Dependency>
<Dependency>libexif-devel</Dependency>
<Dependency>qt5-svg-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
@@ -31,6 +32,7 @@
<Dependency>toxcore-c-devel</Dependency>
<Dependency>sqlcipher-devel</Dependency>
<Dependency>libXScrnSaver-devel</Dependency>
<Dependency>tox-extension-messages-devel</Dependency>
</BuildDependencies>
</Source>
@@ -41,6 +43,7 @@
<Dependency>libX11</Dependency>
<Dependency>ffmpeg</Dependency>
<Dependency>openal</Dependency>
<Dependency>toxext</Dependency>
<Dependency>libexif</Dependency>
<Dependency>qt5-svg</Dependency>
<Dependency>qt5-base</Dependency>
@@ -49,6 +52,7 @@
<Dependency>toxcore-c</Dependency>
<Dependency>sqlcipher</Dependency>
<Dependency>libXScrnSaver</Dependency>
<Dependency>tox-extension-messages</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
@@ -60,7 +64,7 @@
<History>
<Update release="1">
<Date>2022-04-14</Date>
<Date>2022-04-27</Date>
<Version>1.17.6</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
@@ -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())
@@ -0,0 +1,56 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>tox-extension-messages</Name>
<Homepage>https://github.com/toxext/tox_extension_messages</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>GPL-3</License>
<IsA>library</IsA>
<PartOf>network.chat</PartOf>
<Summary>pass</Summary>
<Description>pass</Description>
<Archive sha1sum="b89c610e90b643a7a32cf0e35bdf9e18075d070b" type="targz">
https://github.com/toxext/tox_extension_messages/archive/refs/tags/v0.0.3.tar.gz
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>toxext-devel</Dependency>
<Dependency>toxcore-c-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>tox-extension-messages</Name>
<RuntimeDependencies>
<Dependency>toxext</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libtox_extension_messages.a</Path>
</Files>
</Package>
<Package>
<Name>tox-extension-messages-devel</Name>
<RuntimeDependencies>
<Dependency release="current">tox-extension-messages</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/cmake/ToxExtensionMessages</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-04-19</Date>
<Version>0.0.3</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>
+2
View File
@@ -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())
+20
View File
@@ -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
+39
View File
@@ -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)
+6 -1
View File
@@ -37,10 +37,15 @@
<Dependency>msgpack-c</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="cfgfile">/etc/tox-bootstrapd.conf</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/bash-completion/completions</Path>
</Files>
<Provides>
<COMAR script="package.py">System.Package</COMAR>
<COMAR script="service.py">System.Service</COMAR>
</Provides>
</Package>
<Package>
@@ -61,7 +66,7 @@
<History>
<Update release="1">
<Date>2022-04-14</Date>
<Date>2022-04-25</Date>
<Version>0.2.17</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
+18
View File
@@ -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())
+56
View File
@@ -0,0 +1,56 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>toxext</Name>
<Homepage>https://github.com/toxext/toxext</Homepage>
<Packager>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>GPL-3</License>
<IsA>library</IsA>
<PartOf>network.chat</PartOf>
<Summary>An extension library for tox.</Summary>
<Description>An extension library with negotiation allows more experimentation with less risk resulting in more features for tox clients.</Description>
<Archive sha1sum="d094d74d91ec799a21c2aad274ef8d21beb69371" type="targz">
https://github.com/toxext/toxext/archive/refs/tags/v0.0.3.tar.gz
</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>toxcore-c-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>toxext</Name>
<RuntimeDependencies>
<Dependency>toxcore-c</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/libtoxext.a</Path>
</Files>
</Package>
<Package>
<Name>toxext-devel</Name>
<RuntimeDependencies>
<Dependency release="current">toxext</Dependency>
<Dependency>toxcore-c-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/cmake/ToxExt</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2022-04-19</Date>
<Version>0.0.3</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
</History>
</PISI>