@@ -0,0 +1,51 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file `http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
|
||||
def setup():
|
||||
shelltools.system("rm -rf CMakeCache.txt")
|
||||
shelltools.cd("..")
|
||||
shelltools.makedirs("cmake-make")
|
||||
shelltools.cd("cmake-make")
|
||||
shelltools.system("cmake ../blender-2.75a \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DFREETYPE_INCLUDE_DIRS=/usr/include/freetype2 \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_SKIP_RPATH=ON \
|
||||
-DWITH_JACK=ON \
|
||||
-DWITH_JACK_DYNLOAD=ON \
|
||||
-DWITH_IMAGE_OPENEXR=ON \
|
||||
-DWITH_OPENCOLORIO=OFF \
|
||||
-DWITH_OPENIMAGEIO=ON \
|
||||
-DWITH_FFTW3=ON\
|
||||
-DWITH_PLAYER=ON \
|
||||
-DWITH_CODEC_FFMPEG=ON \
|
||||
-DWITH_INSTALL_PORTABLE=OFF \
|
||||
-DWITH_GAMEENGINE=ON \
|
||||
-DWITH_PYTHON_INSTALL=OFF \
|
||||
-DWITH_MOD_OCEANSIM=ON \
|
||||
-DPYTHON_VERSION=3.4 \
|
||||
-DPYTHON_LIBPATH=/usr/lib \
|
||||
-DPYTHON_LIBRARY=python3.4m \
|
||||
-DPYTHON_INCLUDE_DIRS=/usr/include/python3.4m \
|
||||
-DWITH_CODEC_SNDFILE=ON ")
|
||||
|
||||
def build():
|
||||
shelltools.cd("../cmake-make")
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
shelltools.cd("../cmake-make/")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.domove("/usr/bin/blender", "/usr/bin", "blender-bin")
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
commit 94eed33f878e35a8c7b69b0c23b3b30026460f33
|
||||
Author: hasufell <hasufell@gentoo.org>
|
||||
Date: Fri Jul 19 18:50:08 2013 +0200
|
||||
|
||||
remove stupid uninstall snippet
|
||||
|
||||
whoever coded this... it is dangerous
|
||||
uninstall methods have NO PLACE in install rules
|
||||
|
||||
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
|
||||
index c84d944..2b9bf46 100644
|
||||
--- a/source/creator/CMakeLists.txt
|
||||
+++ b/source/creator/CMakeLists.txt
|
||||
@@ -268,12 +268,6 @@ endif()
|
||||
# Install Targets (Generic, All Platforms)
|
||||
|
||||
|
||||
-# important to make a clean install each time, else old scripts get loaded.
|
||||
-install(
|
||||
- CODE
|
||||
- "file(REMOVE_RECURSE ${TARGETDIR_VER})"
|
||||
-)
|
||||
-
|
||||
if(WITH_PYTHON)
|
||||
# install(CODE "message(\"copying blender scripts...\")")
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
diff -up blender-2.67b/source/blender/makesrna/intern/rna_access.c.rna blender-2.67b/source/blender/makesrna/intern/rna_access.c
|
||||
--- blender-2.67b/source/blender/makesrna/intern/rna_access.c.rna 2013-05-16 12:43:18.000000000 +0200
|
||||
+++ blender-2.67b/source/blender/makesrna/intern/rna_access.c 2013-06-14 16:35:39.263926932 +0200
|
||||
@@ -1273,13 +1273,15 @@ void RNA_property_enum_items_gettexted(b
|
||||
int totitem = 0;
|
||||
|
||||
/* count */
|
||||
- for (i = 0; (*item)[i].identifier; i++)
|
||||
- totitem++;
|
||||
+ if (*item)
|
||||
+ for (i = 0; (*item)[i].identifier; i++)
|
||||
+ totitem++;
|
||||
|
||||
nitem = MEM_callocN(sizeof(EnumPropertyItem) * (totitem + 1), "enum_items_gettexted");
|
||||
|
||||
- for (i = 0; (*item)[i].identifier; i++)
|
||||
- nitem[i] = (*item)[i];
|
||||
+ if (*item)
|
||||
+ for (i = 0; (*item)[i].identifier; i++)
|
||||
+ nitem[i] = (*item)[i];
|
||||
|
||||
*free = TRUE;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
# stop this script if the local blender path is a symlink
|
||||
if [ -L \${HOME}/.blender ]; then
|
||||
echo "Detected a symbolic link for \${HOME}/.blender"
|
||||
echo "Sorry, to avoid dangerous situations, the Blender binary can"
|
||||
echo "not be started until you have removed the symbolic link:"
|
||||
echo " # rm -i \${HOME}/.blender"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
export BLENDER_SYSTEM_SCRIPTS="/usr/share/blender/scripts"
|
||||
export BLENDER_SYSTEM_DATAFILES="/usr/share/blender/${VERSION}/datafiles"
|
||||
|
||||
exec blender-bin "$@"
|
||||
@@ -0,0 +1,18 @@
|
||||
[Desktop Entry]
|
||||
Name=Blender
|
||||
GenericName=3D modeller
|
||||
GenericName[es]=modelador 3D
|
||||
GenericName[de]=3D-Modellierer
|
||||
GenericName[fr]=modeleur 3D
|
||||
GenericName[ru]=Редактор 3D-моделей
|
||||
GenericName[tr]=3D Modelleyici
|
||||
Comment=3D modeling, animation, rendering and post-production
|
||||
Comment[es]=modelado 3D, animación, renderizado y post-producción
|
||||
Comment[de]=3D-Modellierung, Animation, Rendering und Nachbearbeitung
|
||||
Comment[tr]=Blender, özgür bir üç boyutlu modelleme ve canlandırma uygulamasıdır.
|
||||
Exec=blender
|
||||
Icon=blender
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Graphics;3DGraphics;
|
||||
MimeType=application/x-blender;
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||
<mime-type type="application/x-blender">
|
||||
<comment xml:lang="en">Blender Scene</comment>
|
||||
<comment xml:lang="tr">Blender Sahnesi</comment>
|
||||
<glob pattern="*.blend" />
|
||||
</mime-type>
|
||||
</mime-info>
|
||||
@@ -0,0 +1,238 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>blender</Name>
|
||||
<Homepage>http://www.blender.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<Icon>blender</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>3D modeling, animation, rendering and post-production application</Summary>
|
||||
<Description>blender is the essential software solution you need for 3D, from modeling, animation, rendering and post-production to interactive creation and playback.</Description>
|
||||
<Archive sha1sum="7b376321ab755ef5a77daee62de2ee7b5947e7ac" type="targz">http://download.blender.org/source/blender-2.75a.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency> -->
|
||||
<Dependency>freetype-devel</Dependency>
|
||||
<Dependency>tiff-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>glew-devel</Dependency>
|
||||
<Dependency>mesa-devel</Dependency>
|
||||
<Dependency>libXi-devel</Dependency>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
<Dependency>openal-devel</Dependency>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>libgomp</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>ilmbase-devel</Dependency>
|
||||
<Dependency>mesa-glu-devel</Dependency>
|
||||
<Dependency>openjpeg-devel</Dependency>
|
||||
<Dependency>libspnav-devel</Dependency>
|
||||
<Dependency>libXxf86vm-devel</Dependency>
|
||||
<Dependency releaseFrom="7">openimageio-devel</Dependency>
|
||||
<Dependency>openexr-devel</Dependency>
|
||||
<Dependency>libsndfile-devel</Dependency>
|
||||
<Dependency>ffmpeg-devel</Dependency>
|
||||
<Dependency>icu4c-devel</Dependency>
|
||||
<Dependency>webp-devel</Dependency>
|
||||
<Dependency>fftw3-devel</Dependency>
|
||||
<Dependency>jack-audio-connection-kit-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
<Dependency>libpng-devel</Dependency>
|
||||
<Dependency>freetype-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--<Patch level="1">blender-2.67b-rna.patch</Patch>-->
|
||||
<Patch level="1">06-blender-2.68-fix-install-rules.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>blender</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>tiff</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>glew</Dependency>
|
||||
<Dependency>mesa</Dependency>
|
||||
<Dependency>libXi</Dependency>
|
||||
<Dependency>boost</Dependency>
|
||||
<Dependency>openal</Dependency>
|
||||
<Dependency>libsdl</Dependency>
|
||||
<Dependency>libgomp</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
<Dependency>ilmbase</Dependency>
|
||||
<Dependency>mesa-glu</Dependency>
|
||||
<Dependency>openjpeg</Dependency>
|
||||
<Dependency>libspnav</Dependency>
|
||||
<Dependency>libXxf86vm</Dependency>
|
||||
<Dependency releaseFrom="7">openimageio</Dependency>
|
||||
<Dependency>openexr-libs</Dependency>
|
||||
<Dependency>libsndfile</Dependency>
|
||||
<Dependency>ffmpeg</Dependency>
|
||||
<Dependency>fftw3</Dependency>
|
||||
<Dependency>jack-audio-connection-kit</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/lib/python3.3/</Path>
|
||||
<Path fileType="data">/usr/share/blender/</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/pixmaps/</Path>
|
||||
<Path fileType="data">/usr/share/man/man1</Path>
|
||||
<Path fileType="data">/usr/share/icons</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="data">/usr/share/mime</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/share/mime/packages/blender.xml">blender.xml</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0755" target="/usr/bin/blender">blender-wrapper</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0755" target="/usr/share/applications/blender.desktop">blender.desktop</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="19">
|
||||
<Date>2015-07-24</Date>
|
||||
<Version>2.75a</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ali Algul</Name>
|
||||
<Email>alialgul@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="18">
|
||||
<Date>2015-01-24</Date>
|
||||
<Version>2.75</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ali Algul</Name>
|
||||
<Email>alialgul@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="17">
|
||||
<Date>2015-01-24</Date>
|
||||
<Version>2.73a</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="16">
|
||||
<Date>2015-01-08</Date>
|
||||
<Version>2.73</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="15">
|
||||
<Date>2014-12-30</Date>
|
||||
<Version>2.72b</Version>
|
||||
<Comment>Rebuild, remove opencolorio dependency</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="14">
|
||||
<Date>2014-11-10</Date>
|
||||
<Version>2.72b</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="13">
|
||||
<Date>2014-10-08</Date>
|
||||
<Version>2.72</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="12">
|
||||
<Date>2014-06-27</Date>
|
||||
<Version>2.71</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Nikolay Semenov</Name>
|
||||
<Email>tribunal@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="11">
|
||||
<Date>2014-05-28</Date>
|
||||
<Version>2.70a</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2014-04-23</Date>
|
||||
<Version>2.7.0</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2014-03-25</Date>
|
||||
<Version>2.7.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2013-11-26</Date>
|
||||
<Version>2.69</Version>
|
||||
<Comment>Rebuild for ffmpeg.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2013-11-09</Date>
|
||||
<Version>2.69</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2013-10-31</Date>
|
||||
<Version>2.69</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-10-14</Date>
|
||||
<Version>2.68a</Version>
|
||||
<Comment>rebuild for icu4c.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-08-17</Date>
|
||||
<Version>2.68a</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-07-25</Date>
|
||||
<Version>2.68</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-04-20</Date>
|
||||
<Version>2.66</Version>
|
||||
<Comment>V.Bump</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-01-01</Date>
|
||||
<Version>2.65</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>blender</Name>
|
||||
<Summary xml:lang="tr">3D animasyon sistemi</Summary>
|
||||
<Description xml:lang="tr">Blender 3B modelleme ve animasyon yapmaya yarayan açık kaynak bir yazılımdır.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,33 @@
|
||||
#!/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 pisitools
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs("build")
|
||||
|
||||
shelltools.cd("build")
|
||||
cmaketools.configure("-DUSE_QT=0 \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DPYLIB_INSTALL_DIR=lib/python2.7/site-packages \
|
||||
-DUSE_OCIO= OFF \
|
||||
-DOIIO_BUILD_TESTS=OFF", sourceDir="..")
|
||||
|
||||
def build():
|
||||
shelltools.cd("build")
|
||||
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
#pisitools.dodoc("CREDITS", "LICENSE", "README.*")
|
||||
@@ -0,0 +1,121 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>openimageio</Name>
|
||||
<Homepage>https://sites.google.com/site/openimageio/home</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2+</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Library for reading and writing images</Summary>
|
||||
<Description>OpenImageIO is a library for reading and writing images, and a bunch of related classes, utilities, and applications.</Description>
|
||||
<Archive sha1sum="a27154822b6753b47d7fe10ae2a356e68f0a295b" type="targz">https://github.com/OpenImageIO/oiio/archive/Release-1.4.15.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
|
||||
<Dependency>extra-cmake-modules</Dependency>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
<Dependency>openexr-devel</Dependency>
|
||||
<Dependency>ilmbase-devel</Dependency>
|
||||
<Dependency>glew-devel</Dependency>
|
||||
<Dependency>python-devel</Dependency>
|
||||
<Dependency>txt2man</Dependency>
|
||||
<Dependency>libpng-devel</Dependency>
|
||||
<Dependency>tiff-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>jasper-devel</Dependency>
|
||||
<Dependency>libraw-devel</Dependency>
|
||||
<Dependency>openjpeg-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>openimageio</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>tiff</Dependency>
|
||||
<Dependency>webp</Dependency>
|
||||
<Dependency>glew</Dependency>
|
||||
<Dependency>mesa</Dependency>
|
||||
<Dependency>boost</Dependency>
|
||||
<Dependency>opencv</Dependency>
|
||||
<Dependency>giflib</Dependency>
|
||||
<Dependency>ilmbase</Dependency>
|
||||
<Dependency>openjpeg</Dependency>
|
||||
<Dependency>openexr-libs</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>libraw</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>openimageio-devel</Name>
|
||||
<Summary>Development files for openimageio</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">openimageio</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="7">
|
||||
<Date>2014-12-30</Date>
|
||||
<Version>1.4.15</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>1.4.8</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-04-23</Date>
|
||||
<Version>1.3.13</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-01-20</Date>
|
||||
<Version>1.3.11</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-11-11</Date>
|
||||
<Version>1.2.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-08-17</Date>
|
||||
<Version>1.1.20130123</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-01-25</Date>
|
||||
<Version>1.1.20130123</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>openimageio</Name>
|
||||
<Summary xml:lang="tr">Görüntüleri okuma ve yazma için bir kütüphane</Summary>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>openimageio-devel</Name>
|
||||
<Summary xml:lang="tr">openimageio için geliştirme başlıkları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -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 autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--enable-opt --enable-ldopt")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
pisitools.insinto("/usr/lib/", "*.so*")
|
||||
pisitools.dosym("libspnav.so.0.1", "/usr/lib/libspnav.so.0")
|
||||
pisitools.domove("/usr/lib/libspnav.so.0.1", "/usr/lib", "libspnav.so")
|
||||
pisitools.insinto("/usr/lib/", "*.so*")
|
||||
pisitools.insinto("/usr/include/", "*.h")
|
||||
|
||||
pisitools.dodoc("README")
|
||||
@@ -0,0 +1,75 @@
|
||||
diff -Npur libspnav-0.2.2.orig/Makefile.in libspnav-0.2.2/Makefile.in
|
||||
--- libspnav-0.2.2.orig/Makefile.in 2012-01-31 22:34:01.448356249 +0100
|
||||
+++ libspnav-0.2.2/Makefile.in 2012-01-31 22:39:20.229350669 +0100
|
||||
@@ -7,7 +7,8 @@ lib_so = $(soname).1
|
||||
|
||||
CC = gcc
|
||||
AR = ar
|
||||
-CFLAGS = $(opt) $(dbg) -std=c89 -fpic -pedantic -Wall -fno-strict-aliasing -I.
|
||||
+CFLAGS = $(opt) -fpic -I.
|
||||
+LDFLAGS = $(ldopt) -shared -Wl,-soname,$(soname)
|
||||
|
||||
.PHONY: all
|
||||
all: $(lib_a) $(lib_so)
|
||||
@@ -16,7 +17,7 @@ $(lib_a): $(obj)
|
||||
$(AR) rcs $@ $(obj)
|
||||
|
||||
$(lib_so): $(obj)
|
||||
- $(CC) -shared -Wl,-soname,$(soname) -o $@ $(obj)
|
||||
+ $(CC) $(LDFLAGS) -o $@ $(obj)
|
||||
|
||||
%.o: $(srcdir)/%.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
diff -Npur libspnav-0.2.2.orig/configure libspnav-0.2.2/configure
|
||||
--- libspnav-0.2.2.orig/configure 2012-01-31 22:34:01.448356249 +0100
|
||||
+++ libspnav-0.2.2/configure 2012-01-31 22:34:39.703355615 +0100
|
||||
@@ -4,6 +4,7 @@ echo 'configuring spacenav library...'
|
||||
|
||||
PREFIX=/usr/local
|
||||
OPT=yes
|
||||
+LDOPT=yes
|
||||
DBG=yes
|
||||
X11=yes
|
||||
|
||||
@@ -26,6 +27,11 @@ for arg; do
|
||||
--disable-opt)
|
||||
OPT=no;;
|
||||
|
||||
+ --enable-ldopt)
|
||||
+ LDOPT=yes;;
|
||||
+ --disable-ldopt)
|
||||
+ LDOPT=no;;
|
||||
+
|
||||
--enable-debug)
|
||||
DBG=yes;;
|
||||
--disable-debug)
|
||||
@@ -44,6 +50,8 @@ for arg; do
|
||||
echo ' --disable-x11: disable X11 communication mode'
|
||||
echo ' --enable-opt: enable speed optimizations (default)'
|
||||
echo ' --disable-opt: disable speed optimizations'
|
||||
+ echo ' --enable-ldopt: enable link optimizations (default)'
|
||||
+ echo ' --disable-ldopt: disable link optimizations'
|
||||
echo ' --enable-debug: include debugging symbols (default)'
|
||||
echo ' --disable-debug: do not include debugging symbols'
|
||||
echo 'all invalid options are silently ignored'
|
||||
@@ -54,6 +62,7 @@ done
|
||||
|
||||
echo " prefix: $PREFIX"
|
||||
echo " optimize for speed: $OPT"
|
||||
+echo " optimize link: $LDOPT"
|
||||
echo " include debugging symbols: $DBG"
|
||||
echo " x11 communication method: $X11"
|
||||
echo ""
|
||||
@@ -74,7 +83,11 @@ if [ "$DBG" = 'yes' ]; then
|
||||
fi
|
||||
|
||||
if [ "$OPT" = 'yes' ]; then
|
||||
- echo 'opt = -O3' >>Makefile
|
||||
+ echo "opt = ${CFLAGS:--O3}" >>Makefile
|
||||
+fi
|
||||
+
|
||||
+if [ "$LDOPT" = 'yes' ]; then
|
||||
+ echo "ldopt = ${LDFLAGS}" >>Makefile
|
||||
fi
|
||||
|
||||
if [ "$X11" = 'yes' ]; then
|
||||
@@ -0,0 +1,27 @@
|
||||
diff -Npur libspnav-0.2.2.orig/Makefile.in libspnav-0.2.2/Makefile.in
|
||||
--- libspnav-0.2.2.orig/Makefile.in 2012-01-31 22:40:36.619349333 +0100
|
||||
+++ libspnav-0.2.2/Makefile.in 2012-01-31 22:41:52.554347975 +0100
|
||||
@@ -11,7 +11,7 @@ CFLAGS = $(opt) -I.
|
||||
LDFLAGS = $(ldopt) -shared -Wl,-soname,$(soname)
|
||||
|
||||
.PHONY: all
|
||||
-all: $(lib_a) $(lib_so)
|
||||
+all: $(lib_so)
|
||||
|
||||
$(lib_a): $(obj)
|
||||
$(AR) rcs $@ $(obj)
|
||||
@@ -31,10 +31,10 @@ distclean:
|
||||
rm -f $(obj) $(lib_a) $(lib_so) Makefile
|
||||
|
||||
.PHONY: install
|
||||
-install: $(lib_a) $(lib_so)
|
||||
- cp $(lib_a) $(PREFIX)/$(libdir)/$(lib_a)
|
||||
- cp $(lib_so) $(PREFIX)/$(libdir)/$(lib_so)
|
||||
- for h in $(hdr); do cp -p $(srcdir)/$$h $(PREFIX)/include/; done
|
||||
+install: $(lib_so)
|
||||
+ mkdir -p $(DESTDIR)$(PREFIX)/$(libdir) $(DESTDIR)$(PREFIX)/include
|
||||
+ cp $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so)
|
||||
+ for h in $(hdr); do cp -p $(srcdir)/$$h $(DESTDIR)$(PREFIX)/include/; done
|
||||
|
||||
.PHONY: uninstall
|
||||
uninstall:
|
||||
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libspnav</Name>
|
||||
<Homepage>http://spacenav.sourceforge.net</Homepage>
|
||||
<Packager>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Open source alternative to 3DConnextion drivers</Summary>
|
||||
<Description>The spacenav project provides a free compatible alternative, to the proprietary 3Dconnexion device driver and SDK, for their 6dof space navigation input devices. It provides both a replacement free user-space driver, and a replacement SDK library.</Description>
|
||||
<Archive sha1sum="c9291ed4acb38da3be4f81e6e3b43f853ce55eca" type="targz">http://sourceforge.net/projects/spacenav/files/spacenav%20library%20%28SDK%29/libspnav%200.2.2/libspnav-0.2.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libX11-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">libspnav-0.2.2-custom-flags.patch</Patch>
|
||||
<Patch level="1">libspnav-0.2.2-makefile.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libspnav</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libX11</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libspnav-devel</Name>
|
||||
<Summary>Development files for libspnav</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libspnav</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/libspnav.so</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>0.2.2</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>0.2.2</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-04-28</Date>
|
||||
<Version>0.2.2</Version>
|
||||
<Comment>Fixed</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-01-01</Date>
|
||||
<Version>0.2.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libspnav</Name>
|
||||
<Summary xml:lang="en">Open source alternative to 3DConnextion drivers</Summary>
|
||||
<Description xml:lang="en">The spacenav project provides a free compatible alternative, to the proprietary 3Dconnexion device driver and SDK, for their 6dof space navigation input devices. It provides both a replacement free user-space driver, and a replacement SDK library.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libspnav-devel</Name>
|
||||
<Summary xml:lang="tr">libspnav için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,17 @@
|
||||
#!/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 pisitools
|
||||
|
||||
def install():
|
||||
pisitools.dobin("bookman")
|
||||
pisitools.dobin("src2man")
|
||||
pisitools.dobin("txt2man")
|
||||
|
||||
pisitools.doman("*.1")
|
||||
|
||||
pisitools.dodoc("Changelog", "README")
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>txt2man</Name>
|
||||
<Homepage>http://mvertes.free.fr/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>A converter from flat ASCII text to man page format</Summary>
|
||||
<Description>txt2man converts flat ASCII text to man page format.</Description>
|
||||
<Archive sha1sum="ef1392785333ea88f7e01f4f4c519ecfbdd498bd" type="targz">http://mvertes.free.fr/download/txt2man-1.5.6.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>txt2man</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>1.5.6</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-02-17</Date>
|
||||
<Version>1.5.6</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2011-04-27</Date>
|
||||
<Version>1.5.6</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>txt2man</Name>
|
||||
<Summary xml:lang="tr">Düz ASCII metinleri man sayfası formatına dönüştürücü</Summary>
|
||||
<Description xml:lang="tr">txt2man düz ASCII metinleri man sayfası formatına dönüştürür.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user