new packages: bencmark, grpc, warpinator and index
This commit is contained in:
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
|
from pisi.actionsapi import cmaketools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
shelltools.makedirs("build")
|
||||||
|
shelltools.cd("build")
|
||||||
|
|
||||||
|
cmaketools.configure("DgRPC_INSTALL=ON \
|
||||||
|
-DgRPC_ABSL_PROVIDER=package \
|
||||||
|
-DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF \
|
||||||
|
-DgRPC_CARES_PROVIDER=package \
|
||||||
|
-DgRPC_PROTOBUF_PROVIDER=package \
|
||||||
|
-DgRPC_RE2_PROVIDER=package \
|
||||||
|
-DgRPC_SSL_PROVIDER=package \
|
||||||
|
-DgRPC_ZLIB_PROVIDER=package \
|
||||||
|
-DgRPC_BUILD_TESTS=$(usex test) \
|
||||||
|
-DCMAKE_CXX_STANDARD=17", sourceDir="..")
|
||||||
|
|
||||||
|
def build():
|
||||||
|
cmaketools.make("-C build")
|
||||||
|
|
||||||
|
def install():
|
||||||
|
shelltools.cd("build")
|
||||||
|
cmaketools.install()
|
||||||
|
#cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
#pisitools.dodoc("LICENSE", "README.md")
|
||||||
@@ -0,0 +1,46 @@
|
|||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index 4d34c43..5826663 100644
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -29,6 +29,7 @@ from distutils import extension as _extension
|
||||||
|
from distutils import util
|
||||||
|
import os
|
||||||
|
import os.path
|
||||||
|
+import pathlib
|
||||||
|
import platform
|
||||||
|
import re
|
||||||
|
import shlex
|
||||||
|
@@ -155,6 +156,11 @@ BUILD_WITH_SYSTEM_CARES = _env_bool_value('GRPC_PYTHON_BUILD_SYSTEM_CARES',
|
||||||
|
# runtime, the shared library must be installed
|
||||||
|
BUILD_WITH_SYSTEM_RE2 = _env_bool_value('GRPC_PYTHON_BUILD_SYSTEM_RE2', 'False')
|
||||||
|
|
||||||
|
+# Export this variable to use the system installation of abseil. You need to
|
||||||
|
+# have the header files installed (in /usr/include/absl) and during
|
||||||
|
+# runtime, the shared library must be installed
|
||||||
|
+BUILD_WITH_SYSTEM_ABSL = os.environ.get('GRPC_PYTHON_BUILD_SYSTEM_ABSL', False)
|
||||||
|
+
|
||||||
|
# Export this variable to force building the python extension with a statically linked libstdc++.
|
||||||
|
# At least on linux, this is normally not needed as we can build manylinux-compatible wheels on linux just fine
|
||||||
|
# without statically linking libstdc++ (which leads to a slight increase in the wheel size).
|
||||||
|
@@ -297,6 +303,10 @@ if BUILD_WITH_SYSTEM_RE2:
|
||||||
|
CORE_C_FILES = filter(lambda x: 'third_party/re2' not in x, CORE_C_FILES)
|
||||||
|
RE2_INCLUDE = (os.path.join('/usr', 'include', 're2'),)
|
||||||
|
|
||||||
|
+if BUILD_WITH_SYSTEM_ABSL:
|
||||||
|
+ CORE_C_FILES = filter(lambda x: 'third_party/abseil-cpp' not in x, CORE_C_FILES)
|
||||||
|
+ ABSL_INCLUDE = (os.path.join('/usr', 'include'),)
|
||||||
|
+
|
||||||
|
EXTENSION_INCLUDE_DIRECTORIES = ((PYTHON_STEM,) + CORE_INCLUDE + ABSL_INCLUDE +
|
||||||
|
ADDRESS_SORTING_INCLUDE + CARES_INCLUDE +
|
||||||
|
RE2_INCLUDE + SSL_INCLUDE + UPB_INCLUDE +
|
||||||
|
@@ -326,6 +336,10 @@ if BUILD_WITH_SYSTEM_CARES:
|
||||||
|
EXTENSION_LIBRARIES += ('cares',)
|
||||||
|
if BUILD_WITH_SYSTEM_RE2:
|
||||||
|
EXTENSION_LIBRARIES += ('re2',)
|
||||||
|
+if BUILD_WITH_SYSTEM_ABSL:
|
||||||
|
+ EXTENSION_LIBRARIES += tuple(
|
||||||
|
+ lib.stem[3:] for lib in pathlib.Path('/usr').glob('lib*/libabsl_*.so')
|
||||||
|
+ )
|
||||||
|
|
||||||
|
DEFINE_MACROS = (('_WIN32_WINNT', 0x600),)
|
||||||
|
asm_files = []
|
||||||
@@ -0,0 +1,95 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>grpc</Name>
|
||||||
|
<Homepage>The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvari@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>Apache</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)</Summary>
|
||||||
|
<Description>High performance, open source, general RPC framework that puts mobile and HTTP/2 first.</Description>
|
||||||
|
<Archive sha1sum="00d95fdaa75eb97444a22e166133c14d50f1437d" type="targz">https://github.com/grpc/grpc/archive/refs/tags/v1.46.3.tar.gz</Archive>
|
||||||
|
<Archive sha1sum="7b100bb68db8df1060e178c495f3cbe941c9b058" type="targz" target="v1.46.3">https://github.com/google/googletest/archive/refs/tags/release-1.11.0.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>re2c</Dependency>
|
||||||
|
<Dependency>ninja</Dependency>
|
||||||
|
<Dependency>cmake</Dependency>
|
||||||
|
<Dependency>cython3</Dependency>
|
||||||
|
<Dependency>chrpath</Dependency>
|
||||||
|
<Dependency>re2-devel</Dependency>
|
||||||
|
<Dependency>php-devel</Dependency>
|
||||||
|
<Dependency>zlib-devel</Dependency>
|
||||||
|
<Dependency>gtest-devel</Dependency>
|
||||||
|
<Dependency>c-ares-devel</Dependency>
|
||||||
|
<Dependency>openssl-devel</Dependency>
|
||||||
|
<Dependency>protobuf-devel</Dependency>
|
||||||
|
<Dependency>benchmark-devel</Dependency>
|
||||||
|
<Dependency>abseil-cpp-devel</Dependency>
|
||||||
|
<Dependency>python3-setuptools</Dependency>
|
||||||
|
<Dependency>NetworkManager-devel</Dependency>
|
||||||
|
<Dependency>python3-pygobject3-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<Patch>python-grpcio-use-system-abseil.patch</Patch>
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>grpc</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>xapp</Dependency>
|
||||||
|
<Dependency>gtk3</Dependency>
|
||||||
|
<Dependency>polkit</Dependency>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
<Dependency>python3</Dependency>
|
||||||
|
<Dependency>chrpath</Dependency>
|
||||||
|
<Dependency>protobuf</Dependency>
|
||||||
|
<Dependency>benchmark</Dependency>
|
||||||
|
<Dependency>abseil-cpp</Dependency>
|
||||||
|
<Dependency>NetworkManager</Dependency>
|
||||||
|
<Dependency>python3-pynacl</Dependency>
|
||||||
|
<Dependency>python3-protobuf</Dependency>
|
||||||
|
<Dependency>python3-zeroconf</Dependency>
|
||||||
|
<Dependency>python3-setuptools</Dependency>
|
||||||
|
<Dependency>python3-pygobject3</Dependency>
|
||||||
|
<Dependency>python3-cryptography</Dependency>
|
||||||
|
<Dependency>python3-setproctitle</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="data">/usr/share/grpc</Path>
|
||||||
|
<Path fileType="library">/usr/lib/libgrpc*</Path>
|
||||||
|
<Path fileType="library">/usr/lib/libgpr*</Path>
|
||||||
|
<Path fileType="library">/usr/lib/libupb*</Path>
|
||||||
|
<Path fileType="library">/usr/lib/libaddress*</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>grpc-devel</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>openssl-devel</Dependency>
|
||||||
|
<Dependency>abseil-cpp-devel</Dependency>
|
||||||
|
<Dependency release="current">grpc</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib/cmake</Path>
|
||||||
|
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||||
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2022-06-11</Date>
|
||||||
|
<Version>1.46.3</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvari@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>grpc</Name>
|
||||||
|
<Summary xml:lang="tr">C tabanlı gRPC (C++, Python, Ruby, Objective-C, PHP, C#)</Summary>
|
||||||
|
<Description xml:lang="tr">Mobil ve HTTP/2'yi ilk sıraya koyan yüksek performanslı, açık kaynak, genel RPC çerçevesi.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import autotools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
|
from pisi.actionsapi import mesontools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
mesontools.configure("--libexecdir=/usr/lib")
|
||||||
|
|
||||||
|
def build():
|
||||||
|
mesontools.build()
|
||||||
|
|
||||||
|
def install():
|
||||||
|
mesontools.install()
|
||||||
|
|
||||||
|
#shelltools.cd("..")
|
||||||
|
pisitools.dodoc("COPYING", "README.md")
|
||||||
@@ -0,0 +1,70 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>warpinator</Name>
|
||||||
|
<Homepage>https://github.com/linuxmint/warpinator</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvari@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPL3</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>Share files across the LAN</Summary>
|
||||||
|
<Description>LAN file sender, send and receive files across the network</Description>
|
||||||
|
<Archive sha1sum="ccc6bb7e3aa63ff4c97e2191b8208b2f6c23df4b" type="targz">https://github.com/linuxmint/warpinator/archive/refs/tags/1.2.9.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>meson</Dependency>
|
||||||
|
<Dependency>grpc-devel</Dependency>
|
||||||
|
<Dependency>xapp-devel</Dependency>
|
||||||
|
<Dependency>gtk3-devel</Dependency>
|
||||||
|
<Dependency>polkit-devel</Dependency>
|
||||||
|
<Dependency>python3-devel</Dependency>
|
||||||
|
<Dependency>NetworkManager-devel</Dependency>
|
||||||
|
<Dependency>python3-pygobject3-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>warpinator</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>gtk3</Dependency>
|
||||||
|
<Dependency>grpc</Dependency>
|
||||||
|
<Dependency>xapp</Dependency>
|
||||||
|
<Dependency>polkit</Dependency>
|
||||||
|
<Dependency>python3</Dependency>
|
||||||
|
<Dependency>python3-pynacl</Dependency>
|
||||||
|
<Dependency>NetworkManager</Dependency>
|
||||||
|
<Dependency>python3-protobuf</Dependency>
|
||||||
|
<Dependency>python3-zeroconf</Dependency>
|
||||||
|
<Dependency>python3-setuptools</Dependency>
|
||||||
|
<Dependency>python3-pygobject3</Dependency>
|
||||||
|
<Dependency>python3-cryptography</Dependency>
|
||||||
|
<Dependency>python3-setproctitle</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="data">/usr/libexec/warpinator</Path>
|
||||||
|
<Path fileType="localedata">/usr/share/locale</Path>
|
||||||
|
<Path fileType="library">/usr/lib/warpinator</Path>
|
||||||
|
<Path fileType="data">/usr/share/warpinator/</Path>
|
||||||
|
<Path fileType="data">/usr/share/applications</Path>
|
||||||
|
<Path fileType="data">/usr/share/polkit-1</Path>
|
||||||
|
<Path fileType="data">/usr/share/glib-2.0/schemas</Path>
|
||||||
|
<Path fileType="icons">/usr/share/icons</Path>
|
||||||
|
<Path fileType="config">/etc/xdg/autostart/</Path>
|
||||||
|
<Path fileType="info">/usr/share/metainfo</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2022-06-11</Date>
|
||||||
|
<Version>1.2.9</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvari@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>warpinator</Name>
|
||||||
|
<Summary xml:lang="tr">Ağ üzerinden dosya paylaşın</Summary>
|
||||||
|
<Description xml:lang="tr">LAN dosya gönderici, ağ üzerinden dosya gönderme ve alma.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
+309225
-308507
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
|||||||
1e4f8df4643f361e294cd07762b54d775356fe1b
|
08b0392cb0cb1464f7b851e0581958a61b606c70
|
||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
5ba0d5e597b6a5bddae17800906502619f9809a9
|
7fcf71f531d84c4a2c85783f7cb0bcef2e878fd4
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
|
from pisi.actionsapi import cmaketools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
shelltools.makedirs("build")
|
||||||
|
shelltools.cd("build")
|
||||||
|
|
||||||
|
cmaketools.configure("-DCMAKE_BUILD_TYPE=None \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
|
-DBENCHMARK_ENABLE_LTO=ON \
|
||||||
|
-DBENCHMARK_ENABLE_GTEST_TESTS=OFF", sourceDir="..")
|
||||||
|
|
||||||
|
def build():
|
||||||
|
cmaketools.make("-C build")
|
||||||
|
|
||||||
|
def install():
|
||||||
|
shelltools.cd("build")
|
||||||
|
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
#pisitools.dodoc("LICENSE", "README.md")
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>benchmark</Name>
|
||||||
|
<Homepage>https://github.com/google/benchmark</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvari@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>Apache</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>A microbenchmark support library</Summary>
|
||||||
|
<Description>A library to benchmark code snippets, similar to unit tests.</Description>
|
||||||
|
<Archive sha1sum="1faaa54195824bbe151c1ebee31623232477d075" type="targz">https://github.com/google/benchmark/archive/refs/tags/v1.6.1.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>git</Dependency>
|
||||||
|
<Dependency>cmake</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>benchmark</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib/libbenchmark.so*</Path>
|
||||||
|
<Path fileType="library">/usr/lib/libbenchmark_main.so*</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc/benchmark</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>benchmark-devel</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">benchmark</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib/cmake</Path>
|
||||||
|
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||||
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2022-06-11</Date>
|
||||||
|
<Version>1.6.1</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Kamil Atlı</Name>
|
||||||
|
<Email>suvari@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>benchmark</Name>
|
||||||
|
<Summary xml:lang="tr">Bir mikro kıyaslama destek kitaplığı</Summary>
|
||||||
|
<Description xml:lang="tr">Birim testlerine benzer şekilde kod parçacıklarını karşılaştırmak için bir kitaplık.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user