Merge pull request #8545 from blue-devil/master

new math libs
This commit is contained in:
Blue DeviL
2020-05-21 02:23:41 +03:00
committed by GitHub
11 changed files with 340 additions and 2 deletions
+123
View File
@@ -53714,6 +53714,68 @@ to create header files and sources from protocol files.</Description>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>fplll</Name>
<Homepage>https://github.com/fplll/fplll</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<PartOf>science.misc</PartOf>
<Summary xml:lang="en">Lattice algorithms using floating-point arithmetic.</Summary>
<Summary xml:lang="tr">Kayan-noktalı sayıları aritmetiği kullanan latis algoritmaları.</Summary>
<Description xml:lang="en">fplll contains implementations of several lattice algorithms. The implementation relies on floating-point orthogonalization, and LLL [LLL82] is central to the code, hence the name.</Description>
<Description xml:lang="tr">fplll, kayan-noktalı sayıları aritmetiği kullanan latis algoritmaları sunar.</Description>
<Archive type="targz" sha1sum="418c0153be2d63657a5c83b65d39552cea4f6b35" name="5.3.2.tar.gz">https://github.com/fplll/fplll/archive/5.3.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>qd-devel</Dependency>
<Dependency>gmp-devel</Dependency>
<Dependency>mpfr-devel</Dependency>
</BuildDependencies>
<SourceURI>science/misc/fplll/pspec.xml</SourceURI>
</Source>
<Package>
<Name>fplll</Name>
<Summary xml:lang="en">Lattice algorithms using floating-point arithmetic.</Summary>
<RuntimeDependencies>
<Dependency>qd</Dependency>
<Dependency>gmp</Dependency>
<Dependency>mpfr</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/fplll</Path>
<Path fileType="doc">/usr/share/doc/fplll</Path>
<Path fileType="library">/usr/lib/libfplll*</Path>
</Files>
</Package>
<Package>
<Name>fplll-devel</Name>
<Summary xml:lang="en">Development files for fplll</Summary>
<Summary xml:lang="tr">fplll için geliştirme dosyaları</Summary>
<Description xml:lang="tr">fplll-devel, fplll için geliştirme dosyalarını içerir.</Description>
<RuntimeDependencies>
<Dependency release="1">fplll</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-05-20</Date>
<Version>5.3.2</Version>
<Comment>First pisi release.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>m4rie</Name>
@@ -54723,6 +54785,67 @@ to create header files and sources from protocol files.</Description>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>flint</Name>
<Homepage>http://www.flintlib.org/</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<License>LGPLv2+</License>
<IsA>library</IsA>
<PartOf>science.misc</PartOf>
<Summary xml:lang="en">Fast Library for Number Theory.</Summary>
<Summary xml:lang="tr">Sayı kuramı için hızlı bir kitaplık.</Summary>
<Description xml:lang="en">FLINT is a C library for doing number theory. FLINT supports arithmetic with numbers, polynomials, power series and matrices over many base rings.</Description>
<Description xml:lang="tr">flint, sayı kuramı için hızlı bir kitaplık sunar.</Description>
<Archive type="targz" sha1sum="67c747ec92dda0dbc57ab88e2c501b11537299a5" name="flint-2.5.2.tar.gz">http://www.flintlib.org/flint-2.5.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>gmp-devel</Dependency>
<Dependency>ntl-devel</Dependency>
<Dependency>mpfr-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>flint-pie-hardening-conflict.patch</Patch>
</Patches>
<SourceURI>science/misc/flint/pspec.xml</SourceURI>
</Source>
<Package>
<Name>flint</Name>
<Summary xml:lang="en">Fast Library for Number Theory.</Summary>
<RuntimeDependencies>
<Dependency>gmp</Dependency>
<Dependency>ntl</Dependency>
<Dependency>mpfr</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/flint</Path>
</Files>
</Package>
<Package>
<Name>flint-devel</Name>
<Summary xml:lang="en">Development files for flint</Summary>
<Summary xml:lang="tr">flint için geliştirme dosyaları</Summary>
<Description xml:lang="tr">flint-devel, flint için geliştirme dosyalarını içerir.</Description>
<RuntimeDependencies>
<Dependency release="1">flint</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-05-20</Date>
<Version>2.5.2</Version>
<Comment>First pisi release.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>xplanet</Name>
+1 -1
View File
@@ -1 +1 @@
8274b79d35c33749bb111341a278bcd5804687a9
aa9de81855f0844d2be628855d87930a38e6a8ce
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
d5b0725202ee45c233ba0a3d266730a6bcf03bb2
c3e40198651fcc7b68b98c639dccd9ce8bcbbd1d
+24
View File
@@ -0,0 +1,24 @@
#!/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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
autotools.rawConfigure("--prefix=/usr --with-gmp=/usr --with-mpfr=/usr --with-ntl=/usr")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("README*")
"""
TODO
* fix rpath
"""
@@ -0,0 +1,17 @@
Description: invoke $(CC) with -r and not -Wl,-r to fix FTBFS with PIE enabled
Author: Logan Rosen <logan@ubuntu.com>
Forwarded: yes
diff --git a/Makefile.subdirs b/Makefile.subdirs
index ec05fb0..f2d8b37 100644
--- a/Makefile.subdirs
+++ b/Makefile.subdirs
@@ -59,7 +59,7 @@ $(BUILD_DIR)/$(MOD_DIR)_%.o: %.c
$(QUIET_CC) $(CC) $(CFLAGS) $(INCS) -c $< -o $@ -MMD -MP -MF "$(BUILD_DIR)/$(MOD_DIR)_$*.d" -MT "$(BUILD_DIR)/$(MOD_DIR)_$*.d" -MT "$@"
$(MOD_LOBJ): $(LOBJS)
- $(QUIET_CC) $(CC) $(ABI_FLAG) -Wl,-r $^ -o $@ -nostdlib
+ $(QUIET_CC) $(CC) $(ABI_FLAG) -r $^ -o $@ -nostdlib
-include $(LOBJS:.lo=.d)
+61
View File
@@ -0,0 +1,61 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>flint</Name>
<Homepage>http://www.flintlib.org/</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>science.misc</PartOf>
<License>LGPLv2+</License>
<IsA>library</IsA>
<Summary>Fast Library for Number Theory.</Summary>
<Description>FLINT is a C library for doing number theory. FLINT supports arithmetic with numbers, polynomials, power series and matrices over many base rings.</Description>
<Archive sha1sum="67c747ec92dda0dbc57ab88e2c501b11537299a5" type="targz">http://www.flintlib.org/flint-2.5.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>gmp-devel</Dependency>
<Dependency>ntl-devel</Dependency>
<Dependency>mpfr-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>flint-pie-hardening-conflict.patch</Patch>
</Patches>
</Source>
<Package>
<Name>flint</Name>
<Summary>Fast Library for Number Theory.</Summary>
<RuntimeDependencies>
<Dependency>gmp</Dependency>
<Dependency>ntl</Dependency>
<Dependency>mpfr</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/flint</Path>
</Files>
</Package>
<Package>
<Name>flint-devel</Name>
<Summary>Development files for flint</Summary>
<RuntimeDependencies>
<Dependency release="current">flint</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-05-20</Date>
<Version>2.5.2</Version>
<Comment>First pisi release.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>flint</Name>
<Summary xml:lang="tr">Sayı kuramı için hızlı bir kitaplık.</Summary>
<Description xml:lang="tr">flint, sayı kuramı için hızlı bir kitaplık sunar.</Description>
</Source>
<Package>
<Name>flint-devel</Name>
<Summary xml:lang="tr">flint için geliştirme dosyaları</Summary>
<Description xml:lang="tr">flint-devel, flint için geliştirme dosyalarını içerir.</Description>
</Package>
</PISI>
+23
View File
@@ -0,0 +1,23 @@
#!/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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
autotools.autoreconf("-vif")
autotools.configure()
def build():
autotools.make()
def check():
autotools.make("check")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "README*")
+62
View File
@@ -0,0 +1,62 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>fplll</Name>
<Homepage>https://github.com/fplll/fplll</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>science.misc</PartOf>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>Lattice algorithms using floating-point arithmetic.</Summary>
<Description>fplll contains implementations of several lattice algorithms. The implementation relies on floating-point orthogonalization, and LLL [LLL82] is central to the code, hence the name.</Description>
<Archive sha1sum="418c0153be2d63657a5c83b65d39552cea4f6b35" type="targz">https://github.com/fplll/fplll/archive/5.3.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>qd-devel</Dependency>
<Dependency>gmp-devel</Dependency>
<Dependency>mpfr-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>fplll</Name>
<Summary>Lattice algorithms using floating-point arithmetic.</Summary>
<RuntimeDependencies>
<Dependency>qd</Dependency>
<Dependency>gmp</Dependency>
<Dependency>mpfr</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/fplll</Path>
<Path fileType="doc">/usr/share/doc/fplll</Path>
<Path fileType="library">/usr/lib/libfplll*</Path>
</Files>
</Package>
<Package>
<Name>fplll-devel</Name>
<Summary>Development files for fplll</Summary>
<RuntimeDependencies>
<Dependency release="current">fplll</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-05-20</Date>
<Version>5.3.2</Version>
<Comment>First pisi release.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>fplll</Name>
<Summary xml:lang="tr">Kayan-noktalı sayıları aritmetiği kullanan latis algoritmaları.</Summary>
<Description xml:lang="tr">fplll, kayan-noktalı sayıları aritmetiği kullanan latis algoritmaları sunar.</Description>
</Source>
<Package>
<Name>fplll-devel</Name>
<Summary xml:lang="tr">fplll için geliştirme dosyaları</Summary>
<Description xml:lang="tr">fplll-devel, fplll için geliştirme dosyalarını içerir.</Description>
</Package>
</PISI>