Merge pull request #7934 from blue-devil/master

boost:fix library symlink
This commit is contained in:
Kamil ATLI
2020-02-12 11:19:01 +03:00
committed by GitHub
3 changed files with 41 additions and 17 deletions
+9 -6
View File
@@ -3,10 +3,10 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import autotools
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
#WorkDir = "boost-%s" % get.srcVERSION() #WorkDir = "boost-%s" % get.srcVERSION()
@@ -39,7 +39,8 @@ def build():
link=shared,static \ link=shared,static \
toolset=gcc \ toolset=gcc \
python=2.7 \ python=2.7 \
cflags=-fno-strict-aliasing \ cflags='-fno-strict-aliasing -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations' \
cxxflags='-fno-strict-aliasing -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations' \
--layout=system") --layout=system")
shelltools.cd("../boost-%s-38" % get.srcVERSION()) shelltools.cd("../boost-%s-38" % get.srcVERSION())
@@ -51,9 +52,9 @@ def build():
link=shared,static \ link=shared,static \
toolset=gcc \ toolset=gcc \
python=3.8 \ python=3.8 \
cflags=-fno-strict-aliasing \ cflags='-fno-strict-aliasing -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations' \
cxxflags='-fno-strict-aliasing -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations' \
--layout=system") --layout=system")
shelltools.cd("..") shelltools.cd("..")
def install(): def install():
@@ -69,3 +70,5 @@ def install():
shelltools.copytree("tools/boostbook/xsl", "%s/usr/share/boostbook/xsl" % get.installDIR()) shelltools.copytree("tools/boostbook/xsl", "%s/usr/share/boostbook/xsl" % get.installDIR())
shelltools.copytree("tools/boostbook/dtd", "%s/usr/share/boostbook" % get.installDIR()) shelltools.copytree("tools/boostbook/dtd", "%s/usr/share/boostbook" % get.installDIR())
shelltools.system("./b2 install threading=multi link=shared") shelltools.system("./b2 install threading=multi link=shared")
# some packages need this library as : libboost_python3.so
pisitools.dosym("/usr/lib/libboost_python38.so.1.72.0", "/usr/lib/libboost_python3.so")
+18 -10
View File
@@ -1,5 +1,5 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd"> <!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI> <PISI>
<Source> <Source>
<Name>boost</Name> <Name>boost</Name>
@@ -8,8 +8,8 @@
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
</Packager> </Packager>
<PartOf>programming.language.misc</PartOf>
<License>GPLv2</License> <License>GPLv2</License>
<PartOf>programming.language</PartOf>
<IsA>library</IsA> <IsA>library</IsA>
<Summary>Peer-reviewed portable C++ source libraries</Summary> <Summary>Peer-reviewed portable C++ source libraries</Summary>
<Description>Boost provides free portable peer-reviewed C++ libraries. The emphasis is on portable libraries which work well with the C++ Standard Library.</Description> <Description>Boost provides free portable peer-reviewed C++ libraries. The emphasis is on portable libraries which work well with the C++ Standard Library.</Description>
@@ -25,12 +25,13 @@
<!--Dependency>openmpi-devel</Dependency--> <!--Dependency>openmpi-devel</Dependency-->
</BuildDependencies> </BuildDependencies>
<Patches> <Patches>
<!-- <Patch>pythonfix.patch</Patch> --> <!--<Patch>pythonfix.patch</Patch> -->
</Patches> </Patches>
</Source> </Source>
<Package> <Package>
<Name>boost</Name> <Name>boost</Name>
<Summary>Peer-reviewed portable C++ source libraries</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>zlib</Dependency> <Dependency>zlib</Dependency>
<Dependency>bzip2</Dependency> <Dependency>bzip2</Dependency>
@@ -39,10 +40,10 @@
<!--Dependency>openmpi</Dependency--> <!--Dependency>openmpi</Dependency-->
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/boostbook</Path> <Path fileType="data">/usr/share/boostbook</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="library">/usr/lib</Path>
</Files> </Files>
</Package> </Package>
@@ -54,15 +55,15 @@
<Dependency release="current">boost</Dependency> <Dependency release="current">boost</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="doc">/usr/share/doc/*/html</Path>
<Path fileType="header">/usr/include</Path> <Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/cmake</Path> <Path fileType="data">/usr/lib/cmake</Path>
<Path fileType="doc">/usr/share/doc/*/html</Path>
</Files> </Files>
</Package> </Package>
<Package> <Package>
<Name>boost-python</Name> <Name>boost-python</Name>
<Summary>a C++ library which enables seamless interoperability between C++ and the Python</Summary> <Summary>A C++ library which enables seamless interoperability between C++ and the Python</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency release="current">boost</Dependency> <Dependency release="current">boost</Dependency>
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
@@ -74,7 +75,7 @@
<Package> <Package>
<Name>boost-python3</Name> <Name>boost-python3</Name>
<Summary>Headers and library documentation for boosta C++ library which enables seamless interoperability between C++ and the Python3</Summary> <Summary>A C++ library which enables seamless interoperability between C++ and the Python3</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency release="current">boost</Dependency> <Dependency release="current">boost</Dependency>
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
@@ -85,6 +86,13 @@
</Package> </Package>
<History> <History>
<Update release="11">
<Date>2020-02-10</Date>
<Version>1.72.0</Version>
<Comment>Symlink and translations fix</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="10"> <Update release="10">
<Date>2020-01-12</Date> <Date>2020-01-12</Date>
<Version>1.72.0</Version> <Version>1.72.0</Version>
@@ -156,4 +164,4 @@
<Email>karaguzelibrahim@gmail.com</Email> <Email>karaguzelibrahim@gmail.com</Email>
</Update> </Update>
</History> </History>
</PISI> </PISI>
+14 -1
View File
@@ -10,5 +10,18 @@
<Package> <Package>
<Name>boost-devel</Name> <Name>boost-devel</Name>
<Summary xml:lang="tr">boost için başlık dosyaları ve kitaplık belgeleri</Summary> <Summary xml:lang="tr">boost için başlık dosyaları ve kitaplık belgeleri</Summary>
<Description xml:lang="tr">boost-devel, boost için geliştirme ve başlık dosyalarını içerir.</Description>
</Package> </Package>
</PISI>
<Package>
<Name>boost-python</Name>
<Summary xml:lang="tr">boost için python kitaplık belgeleri</Summary>
<Description xml:lang="tr">boost-python, boost için python kitaplık belgelerini içerir.</Description>
</Package>
<Package>
<Name>boost-python3</Name>
<Summary xml:lang="tr">boost için python3 kitaplık belgeleri</Summary>
<Description xml:lang="tr">boost-python3, boost için python3 kitaplık belgelerini içerir.</Description>
</Package>
</PISI>