add coin Coin3D is a high-level 3D graphics toolkit

This commit is contained in:
groni
2016-03-08 16:09:42 +01:00
parent 81e43f85d7
commit 53a35ba0fd
12 changed files with 438 additions and 2 deletions
+86
View File
@@ -124893,6 +124893,92 @@ uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>coin</Name>
<Homepage>http://www.coin3d.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<PartOf>science.misc</PartOf>
<Summary xml:lang="en">Coin3D is a high-level 3D graphics toolkit.</Summary>
<Summary xml:lang="tr">3D Üst düzey grafiksel araç takımı</Summary>
<Description xml:lang="en">Is a high-level 3D graphics toolkit, fully compatible with SGI Open Inventor 2.1.</Description>
<Description xml:lang="tr">coin,SGI Open Inventor 2.1 ile tam uyumlu grafiksel 3D araç takımı</Description>
<Archive type="targz" sha1sum="8e9f05628461963623686d3ec53102214e233dd1">https://bitbucket.org/Coin3D/coin/downloads/Coin-3.1.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>libXext-devel</Dependency>
<Dependency>mesa-devel</Dependency>
<Dependency>libSM-devel</Dependency>
<Dependency>libICE-devel</Dependency>
<Dependency>doxygen</Dependency>
<Dependency>libglade-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>clang-name-lookup.diff</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>
<SourceURI>science/misc/coin/pspec.xml</SourceURI>
</Source>
<Package>
<Name>coin</Name>
<RuntimeDependencies>
<Dependency>libXext</Dependency>
<Dependency>mesa</Dependency>
<Dependency>libSM</Dependency>
<Dependency>libICE</Dependency>
<Dependency>libglade</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/Coin</Path>
</Files>
</Package>
<Package>
<Name>coin-devel</Name>
<Summary xml:lang="en">Development files for coin</Summary>
<Summary xml:lang="tr">coin için geliştirme dosyaları</Summary>
<RuntimeDependencies>
<Dependency version="3.1.3">coin</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/aclocal</Path>
</Files>
</Package>
<Package>
<Name>coin-docs</Name>
<Summary xml:lang="en">Documents for Coin</Summary>
<Summary xml:lang="tr">coin belgeleri</Summary>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2014-06-14</Date>
<Version>3.1.3</Version>
<Comment>Rebuild for gcc</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2014-04-14</Date>
<Version>3.1.3</Version>
<Comment>First Release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>wcslib</Name>
+1 -1
View File
@@ -1 +1 @@
f48bdb0eeae754c70f7dd9bdd66d0702ce0c9607
d4879b057e58a09fdde9612053954c06068f22b7
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
2ecd2586f846358a7fb0d2d8d3452eed83eb0843
f97d90b50655e61722c9d8e1ed9def80416ca06c
+40
View File
@@ -0,0 +1,40 @@
#!/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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure("--prefix=/usr \
--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,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "NEWS", "README*", "RELNOTES", "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")
@@ -0,0 +1,22 @@
diff -uNr Coin-2.4.6.orig/man/man3/Makefile.am Coin-2.4.6/man/man3/Makefile.am
--- Coin-2.4.6.orig/man/man3/Makefile.am 2007-04-10 11:24:07.000000000 +0200
+++ Coin-2.4.6/man/man3/Makefile.am 2007-04-14 06:27:29.000000000 +0200
@@ -8,6 +8,7 @@
"$(sim_ac_doxygen_exe)" docs/coin.doxygen )
filelist.txt: SoDB.3
+ rm -f *_.3
ls *.3 >filelist.txt
diff -uNr Coin-2.4.6.orig/man/man3/Makefile.in Coin-2.4.6/man/man3/Makefile.in
--- Coin-2.4.6.orig/man/man3/Makefile.in 2007-04-10 11:24:07.000000000 +0200
+++ Coin-2.4.6/man/man3/Makefile.in 2007-04-14 06:27:30.000000000 +0200
@@ -421,6 +421,7 @@
"$(sim_ac_doxygen_exe)" docs/coin.doxygen )
filelist.txt: SoDB.3
+ rm -f *_.3
ls *.3 >filelist.txt
@BUILD_MANPAGES_TRUE@all-local: filelist.txt
@@ -0,0 +1,12 @@
diff -uNr Coin-2.4.6.orig/src/glue/openal_wrapper.c Coin-2.4.6/src/glue/openal_wrapper.c
--- Coin-2.4.6.orig/src/glue/openal_wrapper.c 2007-04-10 11:23:51.000000000 +0200
+++ Coin-2.4.6/src/glue/openal_wrapper.c 2007-04-14 06:31:09.000000000 +0200
@@ -107,7 +107,7 @@
int idx;
const char * possiblelibnames[] = {
NULL, /* is set below */
- "openal", "openal32", "libopenal.so",
+ @LIBOPENAL_SONAME@,
NULL
};
@@ -0,0 +1,150 @@
diff -Naur Coin-2.5.0.gcc-4.7.0/include/Inventor/system/inttypes.h.in Coin-2.5.0.inttypes/include/Inventor/system/inttypes.h.in
--- Coin-2.5.0.gcc-4.7.0/include/Inventor/system/inttypes.h.in 2007-10-01 03:23:30.000000000 +0200
+++ Coin-2.5.0.inttypes/include/Inventor/system/inttypes.h.in 2012-01-11 10:21:14.784355818 +0100
@@ -32,146 +32,12 @@
int32_t uint32_t
int64_t uint64_t
intptr_t uintptr_t
-
- (The 64-bit types are not guaranteed to be present, check for
- HAVE_INT64_T and HAVE_UINT64_T.)
*/
/***************************************************************************/
-/* Block of defines set up by the configure script. Protected with the
- #ifndef wrapper in case config.h was already included -- so we
- don't confuse the compiler to think we redefine already #define'd
- constants. */
-#ifndef COIN_CONFIGURE_BUILD /* (start wrapper) */
-
-/*
- This file was autogenerated by our configuration process
- specifically for this build configuration:
-*/
-#undef COIN_CONFIGURE_BUILD
-#undef COIN_CONFIGURE_HOST
-#undef COIN_CONFIGURE_TARGET
-/*
- The bit-type definitions may also be dependent on the compiler,
- compiler version and C library.
-
- So note that the bit-type definitions below might not match on other
- systems. Be extremely careful if you for whatever reason is
- installing this as a cross-platform header file (i.e.: you
- shouldn't).
-*/
-
-/* FIXME: isn't it likely that the HAVE_*_H defines below could crash
- with defines in application code in a project using Autoconf
- configure? 20010711 mortene. */
-
-/* The <inttypes.h> header file. */
-#undef HAVE_INTTYPES_H
-/* The <stdint.h> header file. */
-#undef HAVE_STDINT_H
-/* The <sys/types.h> header file. */
-#undef HAVE_SYS_TYPES_H
-/* The <stddef.h> header file. */
-#undef HAVE_STDDEF_H
-
-
-/* If the system defines any of the types "on it's own", the
- respective #define will be set below. */
-#undef HAVE_INT8_T
-#undef HAVE_UINT8_T
-#undef HAVE_INT16_T
-#undef HAVE_UINT16_T
-#undef HAVE_INT32_T
-#undef HAVE_UINT32_T
-#undef HAVE_INT64_T
-#undef HAVE_UINT64_T
-#undef HAVE_INTPTR_T
-#undef HAVE_UINTPTR_T
-
-/* The type which the configure script found to match the given
- bitwidth. */
-#undef COIN_INT8_T
-#undef COIN_UINT8_T
-#undef COIN_INT16_T
-#undef COIN_UINT16_T
-#undef COIN_INT32_T
-#undef COIN_UINT32_T
-#undef COIN_INT64_T
-#undef COIN_UINT64_T
-#undef COIN_INTPTR_T
-#undef COIN_UINTPTR_T
-
-#endif /* (end wrapper) ! COIN_CONFIGURE_BUILD */
-
-
-/* The header files should be listed in the same order as they are in
- the SIM_AC_DEFINE_BYTESIZE_TYPES detection macro. This is the same
- order as the one Autoconf (currently upcoming 2.51) is using for its
- standard includes. 20010711 larsa */
-#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
-#else
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif /* HAVE_STDINT_H */
-#endif
-#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
-#endif /* HAVE_SYS_TYPES_H */
-#ifdef HAVE_STDDEF_H
#include <stddef.h>
-#endif /* HAVE_STDDEF_H */
-
-
-#if !defined(HAVE_INT8_T) && defined(COIN_INT8_T)
-typedef COIN_INT8_T int8_t;
-#define HAVE_INT8_T 1
-#endif /* !HAVE_INT8_T && COIN_INT8_T */
-
-#if !defined(HAVE_UINT8_T) && defined(COIN_UINT8_T)
-typedef COIN_UINT8_T uint8_t;
-#define HAVE_UINT8_T 1
-#endif /* !HAVE_UINT8_T && COIN_UINT8_T */
-
-#if !defined(HAVE_INT16_T) && defined(COIN_INT16_T)
-typedef COIN_INT16_T int16_t;
-#define HAVE_INT16_T 1
-#endif /* !HAVE_INT16_T && COIN_INT16_T */
-
-#if !defined(HAVE_UINT16_T) && defined(COIN_UINT16_T)
-typedef COIN_UINT16_T uint16_t;
-#define HAVE_UINT16_T 1
-#endif /* !HAVE_UINT16_T && COIN_UINT16_T */
-
-#if !defined(HAVE_INT32_T) && defined(COIN_INT32_T)
-typedef COIN_INT32_T int32_t;
-#define HAVE_INT32_T 1
-#endif /* !HAVE_INT32_T && COIN_INT32_T */
-
-#if !defined(HAVE_UINT32_T) && defined(COIN_UINT32_T)
-typedef COIN_UINT32_T uint32_t;
-#define HAVE_UINT32_T 1
-#endif /* !HAVE_UINT32_T && COIN_UINT32_T */
-
-#if !defined(HAVE_INT64_T) && defined(COIN_INT64_T)
-typedef COIN_INT64_T int64_t;
-#define HAVE_INT64_T 1
-#endif /* !HAVE_INT64_T && COIN_INT64_T */
-
-#if !defined(HAVE_UINT64_T) && defined(COIN_UINT64_T)
-typedef COIN_UINT64_T uint64_t;
-#define HAVE_UINT64_T 1
-#endif /* !HAVE_UINT64_T && COIN_UINT64_T */
-
-#if !defined(HAVE_INTPTR_T) && defined(COIN_INTPTR_T)
-typedef COIN_INTPTR_T intptr_t;
-#define HAVE_INTPTR_T 1
-#endif /* !HAVE_INTPTR_T && COIN_INTPTR_T */
-
-#if !defined(HAVE_UINTPTR_T) && defined(COIN_UINTPTR_T)
-typedef COIN_UINTPTR_T uintptr_t;
-#define HAVE_UINTPTR_T 1
-#endif /* !HAVE_UINTPTR_T && COIN_UINTPTR_T */
#endif /* !COIN_INTTYPES_H */
@@ -0,0 +1,10 @@
--- include/Inventor/SbBasic.h.orig 2012-10-28 16:49:00.000000000 +0100
+++ include/Inventor/SbBasic.h 2012-10-28 16:50:15.000000000 +0100
@@ -25,6 +25,7 @@
\**************************************************************************/
#include <Inventor/C/basic.h>
+#include <Inventor/C/errors/debugerror.h>
/* ********************************************************************** */
/* Trap people trying to use Inventor headers while compiling C source code.
@@ -0,0 +1,12 @@
diff -Nuar Coin-3.1.3.orig/src/fonts/freetype.cpp Coin-3.1.3/src/fonts/freetype.cpp
--- Coin-3.1.3.orig/src/fonts/freetype.cpp 2010-03-02 15:20:09.000000000 +0200
+++ Coin-3.1.3/src/fonts/freetype.cpp 2013-08-25 00:38:16.678172194 +0300
@@ -32,6 +32,8 @@
20050613 mortene. */
+#include <cstdlib>
+#include <cmath>
#include "fonts/freetype.h"
#ifdef HAVE_CONFIG_H
+86
View File
@@ -0,0 +1,86 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>coin</Name>
<Homepage>http://www.coin3d.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admin@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<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>
<Archive sha1sum="8e9f05628461963623686d3ec53102214e233dd1" type="targz">https://bitbucket.org/Coin3D/coin/downloads/Coin-3.1.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>libXext-devel</Dependency>
<Dependency>mesa-devel</Dependency>
<Dependency>libSM-devel</Dependency>
<Dependency>libICE-devel</Dependency>
<Dependency>doxygen</Dependency>
<Dependency>libglade-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>clang-name-lookup.diff</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>
</Source>
<Package>
<Name>coin</Name>
<RuntimeDependencies>
<Dependency>libXext</Dependency>
<Dependency>mesa</Dependency>
<Dependency>libSM</Dependency>
<Dependency>libICE</Dependency>
<Dependency>libglade</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/Coin</Path>
</Files>
</Package>
<Package>
<Name>coin-devel</Name>
<Summary>Development files for coin</Summary>
<RuntimeDependencies>
<Dependency version="current">coin</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/aclocal</Path>
</Files>
</Package>
<Package>
<Name>coin-docs</Name>
<Summary>Documents for Coin</Summary>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2014-06-14</Date>
<Version>3.1.3</Version>
<Comment>Rebuild for gcc</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2014-04-14</Date>
<Version>3.1.3</Version>
<Comment>First Release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>coin</Name>
<Summary xml:lang="tr">3D Üst düzey grafiksel araç takımı</Summary>
<Description xml:lang="tr">coin,SGI Open Inventor 2.1 ile tam uyumlu grafiksel 3D araç takımı</Description>
</Source>
<Package>
<Name>coin-devel</Name>
<Summary xml:lang="tr">coin için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>coin-docs</Name>
<Summary xml:lang="tr">coin belgeleri</Summary>
</Package>
</PISI>