coin upstream 4.0.3

This commit is contained in:
uglyside
2025-01-30 17:18:53 +03:00
parent 61148f2635
commit 03386f5513
2 changed files with 48 additions and 41 deletions
+19 -21
View File
@@ -2,27 +2,30 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# 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 https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import get from pisi.actionsapi import get
i = ''.join([
' --prefix=/usr',
' --with-mesa',
' --disable-debug',
' --enable-man',
' --enable-html',
' --enable-shared',
' --enable-threadsafe',
' --enable-exceptions',
' --enable-optimization',
' --enable-system-expat',
' --enable-javascript-api',
' --disable-maintainer-mode',
' --disable-dependency-tracking '
])
def setup(): def setup():
autotools.configure("--prefix=/usr \ autotools.configure(i)
--mandir=/usr/share/man \
--enable-optimization \
--enable-javascript-api \
--enable-threadsafe \
--enable-exceptions \
--enable-man \
--with-mesa \
--disable-debug \
--enable-shared \
--enable-html \
--disable-maintainer-mode \
--disable-dependency-tracking \
--enable-system-expat")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
@@ -32,9 +35,4 @@ def build():
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "NEWS", "README*", "RELNOTES", "THANKS") pisitools.dodoc("AUTHORS", "COPYING", "THANKS")
# remove conflict man file with openssl
pisitools.remove("/usr/share/man/man3/threads.3")
# remove conflict man file with libftdi-devel
pisitools.remove("/usr/share/man/man3/deprecated.3")
+28 -19
View File
@@ -1,51 +1,46 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd"> <!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI> <PISI>
<Source> <Source>
<Name>coin</Name> <Name>coin</Name>
<Homepage>https://bitbucket.org/Coin3D/coin/wiki/Home</Homepage> <Homepage>https://github.com/coin3d/coin</Homepage>
<Packager> <Packager>
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email> <Email>admin@pisilinux.org</Email>
</Packager> </Packager>
<License>GPLv2</License> <License>BSDv3</License>
<IsA>app:console</IsA> <IsA>app:console</IsA>
<Summary>Coin3D is a high-level 3D graphics toolkit.</Summary> <Summary>Coin3D is a high-level 3D graphics toolkit.</Summary>
<Description>Is a high-level 3D graphics toolkit, fully compatible with SGI Open Inventor 2.1.</Description> <Description>Is a high-level 3D graphics toolkit, fully compatible with SGI Open Inventor 2.1.</Description>
<Archive sha1sum="8e9f05628461963623686d3ec53102214e233dd1" type="targz">https://bitbucket.org/Coin3D/coin/downloads/Coin-3.1.3.tar.gz</Archive> <Archive sha1sum="013a16e6f30d0ec3e4e7ecd7f6ae91850083a155" type="targz">https://github.com/coin3d/coin/releases/download/v4.0.3/coin-4.0.3-src.tar.gz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>libXext-devel</Dependency> <Dependency>doxygen</Dependency>
<Dependency>mesa-devel</Dependency> <Dependency>mesa-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>boost-devel</Dependency>
<Dependency>libSM-devel</Dependency> <Dependency>libSM-devel</Dependency>
<Dependency>libICE-devel</Dependency> <Dependency>libICE-devel</Dependency>
<Dependency>doxygen</Dependency> <Dependency>libXext-devel</Dependency>
<Dependency>libglade-devel</Dependency>
<Dependency>mesa-glu-devel</Dependency> <Dependency>mesa-glu-devel</Dependency>
</BuildDependencies> </BuildDependencies>
<Patches> <Patches>
<Patch>clang-name-lookup.diff</Patch> <!-- <Patch level="1"></Patch> -->
<Patch level="1">fix_gcc_4_8_1.patch</Patch>
<Patch level="1">Coin-2.5.0-inttypes.patch</Patch>
<Patch level="1">Coin-2.4.6-man3.diff</Patch>
</Patches> </Patches>
</Source> </Source>
<Package> <Package>
<Name>coin</Name> <Name>coin</Name>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>libX11</Dependency>
<Dependency>libglvnd</Dependency>
<Dependency>libXext</Dependency>
<Dependency>mesa</Dependency> <Dependency>mesa</Dependency>
<Dependency>libSM</Dependency> <Dependency>libSM</Dependency>
<Dependency>libICE</Dependency> <Dependency>libICE</Dependency>
<Dependency>libglade</Dependency> <Dependency>libXext</Dependency>
<Dependency>mesa-glu</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path> <Path fileType="data">/usr/share</Path>
<Path fileType="data">/usr/share/Coin</Path> <Path fileType="man">/usr/share/man/man3</Path>
</Files> </Files>
</Package> </Package>
@@ -53,12 +48,19 @@
<Name>coin-devel</Name> <Name>coin-devel</Name>
<Summary>Development files for coin</Summary> <Summary>Development files for coin</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>mesa-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>libSM-devel</Dependency>
<Dependency>libICE-devel</Dependency>
<Dependency>libXext-devel</Dependency>
<Dependency version="current">coin</Dependency> <Dependency version="current">coin</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="header">/usr/include</Path> <Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path> <Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/aclocal</Path> <Path fileType="data">/usr/share/aclocal</Path>
<Path fileType="man">/usr/share/man/man1</Path>
</Files> </Files>
</Package> </Package>
@@ -66,11 +68,18 @@
<Name>coin-docs</Name> <Name>coin-docs</Name>
<Summary>Documents for Coin</Summary> <Summary>Documents for Coin</Summary>
<Files> <Files>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc/coin/html</Path>
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="6">
<Date>2025-01-30</Date>
<Version>4.0.3</Version>
<Comment>Version bump.</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="5"> <Update release="5">
<Date>2020-01-27</Date> <Date>2020-01-27</Date>
<Version>3.1.3</Version> <Version>3.1.3</Version>