science:moved into main repo for pisi 2.0

This commit is contained in:
2015-07-05 03:08:37 +03:00
parent 18d9611c8c
commit d986ed2694
10 changed files with 360 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/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 shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("./bootstrap")
autotools.configure("--disable-static")
def build():
autotools.make()
def check():
autotools.make("check")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "LICENSE", "README")
@@ -0,0 +1,8 @@
diff -up ilmbase-1.0.3/IlmBase.pc.in.pkgconfig ilmbase-1.0.3/IlmBase.pc.in
--- ilmbase-1.0.3/IlmBase.pc.in.pkgconfig 2012-07-17 18:27:25.000000000 -0500
+++ ilmbase-1.0.3/IlmBase.pc.in 2012-09-08 11:11:15.913468312 -0500
@@ -9,3 +9,4 @@ Description: Base math and exception lib
Version: @ILMBASE_VERSION@
Libs: -L${libdir} -lImath -lHalf -lIex -lIexMath -lIlmThread @PTHREAD_LIBS@
Cflags: @PTHREAD_CFLAGS@ -I${OpenEXR_includedir}
+Requires.private: gl glu
@@ -0,0 +1,24 @@
diff -up ilmbase-2.0.1/IlmThread/Makefile.am.no_undefined ilmbase-2.0.1/IlmThread/Makefile.am
--- ilmbase-2.0.1/IlmThread/Makefile.am.no_undefined 2013-06-18 14:51:38.000000000 -0500
+++ ilmbase-2.0.1/IlmThread/Makefile.am 2013-08-28 21:04:25.793391766 -0500
@@ -14,7 +14,7 @@ libIlmThread_la_LDFLAGS = -version-info
if LIB_SUFFIX_EXISTS
libIlmThread_la_LDFLAGS += -release @LIB_SUFFIX@
endif
-libIlmThread_la_LIBADD = ../Iex/libIex.la
+libIlmThread_la_LIBADD = ../Iex/libIex.la $(PTHREAD_LIBS)
libIlmThreadincludedir = $(includedir)/OpenEXR
diff -up ilmbase-2.0.1/IlmThread/Makefile.in.no_undefined ilmbase-2.0.1/IlmThread/Makefile.in
--- ilmbase-2.0.1/IlmThread/Makefile.in.no_undefined 2013-06-18 14:55:24.000000000 -0500
+++ ilmbase-2.0.1/IlmThread/Makefile.in 2013-08-28 21:04:55.395049371 -0500
@@ -253,7 +253,7 @@ libIlmThread_la_SOURCES = IlmThreadPool.
libIlmThread_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ \
-no-undefined $(am__append_1)
-libIlmThread_la_LIBADD = ../Iex/libIex.la
+libIlmThread_la_LIBADD = ../Iex/libIex.la $(PTHREAD_LIBS)
libIlmThreadincludedir = $(includedir)/OpenEXR
libIlmThreadinclude_HEADERS = IlmThreadPool.h IlmThread.h \
IlmThreadSemaphore.h IlmThreadMutex.h \
@@ -0,0 +1,12 @@
--- IexMath/IexMathFpu.cpp.orig 2012-07-26 20:51:55.000000000 +0200
+++ IexMath/IexMathFpu.cpp 2012-10-04 15:30:47.000000000 +0200
@@ -27,8 +27,7 @@
#endif
-#ifdef HAVE_UCONTEXT_H
-
+#if defined(HAVE_UCONTEXT_H) && (defined(x86_64) || defined(i386_))
#include <ucontext.h>
#include <signal.h>
+68
View File
@@ -0,0 +1,68 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ilmbase</Name>
<Homepage>http://www.openexr.com</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>Several utility libraries from ILM (Industrial Light &amp; Magic) used by OpenEXR</Summary>
<Description>IlmBase are a set of utility libraries released by ILM, and used in their OpenEXR implementation. Included in this package you can find; libHalf (a class named Half for manipulating "half" values (16-bit floating point format) as if they were a built-in C++ data type), libIlmThread (a thread abstraction library on top of pthreads), libImath (a math library with support for matrices, 2d and 3d transformations, solvers for linear/quadratic/cubic equations and more), libIex (an exception handling library).</Description>
<Archive sha1sum="bfa62519094413f686c6f08c5923b47a10eea180" type="targz">http://download.savannah.nongnu.org/releases/openexr/ilmbase-2.0.1.tar.gz</Archive>
<Patches>
<Patch level="1">ilmbase-2.0.1-no_undefined.patch</Patch>
<Patch level="0">ilmbase-IexMath.patch</Patch>
<Patch level="1">ilmbase-1.0.3-pkgconfig.patch</Patch>
</Patches>
</Source>
<Package>
<Name>ilmbase</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>ilmbase-devel</Name>
<Summary>Development files for ilmbase</Summary>
<RuntimeDependencies>
<Dependency release="current">ilmbase</Dependency>
<Dependency>mesa-glu-devel</Dependency>
<Dependency>mesa-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-05-25</Date>
<Version>2.0.1</Version>
<Comment>Rebuild</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-16</Date>
<Version>2.0.1</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2010-10-13</Date>
<Version>1.0.2</Version>
<Comment>First release</Comment>
<Name>Gökcen Eraslan</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>ilmbase</Name>
<Summary xml:lang="tr">ILM (Industrial Light &amp; Magic) şirketinden OpenEXR tarafından kullanılan çeşitli araç ve kitaplıklar</Summary>
<Description xml:lang="tr">IlmBase, ILM tarafından yayınlanan ve onların OpenEXR gerçeklemelerinde kullandıkları kitaplıkları içerir. Bu pakette; libHalf (&quot;yarım&quot; değerleri (16-bit kayan noktalı sayı biçimi) C++ dilinin kendi tipleriymiş gibi kullanan Half sınıfı), libIlmThread (pthread üerine yazılmış bir soyutlama kitaplığı), libImath (matris, 2 ve 3 boyutlu dönüşümler, lineer, ikinci ve üçüncü dereceden denklem çözücü destekli matematik kitaplığı), libIex (istisna işleme kitaplığı) kitaplıklarını bulabilirsiniz.</Description>
</Source>
<Package>
<Name>ilmbase-devel</Name>
<Summary xml:lang="tr">ilmbase için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>ilmbase-devel</Name>
<Summary xml:lang="tr">ilmbase için geliştirme dosyaları</Summary>
</Package>
</PISI>