Merge pull request #300 from vdemir/master

ninja : add
This commit is contained in:
Ertuğrul Erata
2015-08-23 11:15:56 +03:00
27 changed files with 501 additions and 47 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/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("--disable-static")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "NEWS", "README")
+70
View File
@@ -0,0 +1,70 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libgnome-keyring</Name>
<Homepage>http://live.gnome.org/GnomeKeyring</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>Compatibility library for accessing gnome-keyring3</Summary>
<Description>libgnome-keyring is a library that used by applications to integrate with the gnome-keyring system.</Description>
<Archive sha1sum="69b21d77e0946911b2e71346d219bb19b74d05f8" type="tarxz">http://ftp.acc.umu.se/mirror/gnome.org/sources/libgnome-keyring/3.12/libgnome-keyring-3.12.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>intltool</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>libgcrypt-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libgnome-keyring</Name>
<RuntimeDependencies>
<Dependency>libgcrypt</Dependency>
<Dependency>glib2</Dependency>
<Dependency>dbus</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
</Package>
<Package>
<Name>libgnome-keyring-devel</Name>
<Summary>Development files for libgnome-keyring</Summary>
<RuntimeDependencies>
<Dependency release="current">libgnome-keyring</Dependency>
<Dependency>glib2-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<Package>
<Name>libgnome-keyring-docs</Name>
<IsA>data:doc</IsA>
<Summary>Referance documents for libgnome-keyring</Summary>
<Files>
<Path fileType="data">/usr/share/gtk-doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2015-08-25</Date>
<Version>3.12</Version>
<Comment>Version bump.</Comment>
<Name>Vedat Demir</Name>
<Email>vedat@pisilinux.org</Email>
</Update>
</History>
</PISI>
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libgnome-keyring</Name>
<Summary xml:lang="tr">gnome-keyring'e ulaşmak için uyumluluk kütüphanesidir.</Summary>
<Description xml:lang="tr">libgnome-keyring, gnome-keyring sistemine uyumlu olmak için programlar tarafından kullanılan bir kütüphanedir.</Description>
</Source>
<Package>
<Name>libgnome-keyring-devel</Name>
<Summary xml:lang="tr">libgnome-keyring için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>libgnome-keyring-docs</Name>
<Summary xml:lang="tr">libgnome-keyring için başvuru belgeleri</Summary>
</Package>
</PISI>
View File
View File
View File
View File
+2 -3
View File
@@ -14,10 +14,9 @@ del(os.environ["JOBS"])
def setup():
shelltools.system("./waf configure \
--prefix=/usr \
--classic \
--libdir=/usr/lib \
--firewire \
--freebob \
--alsa")
--alsa ")
def build():
shelltools.system("./waf build -v")
@@ -0,0 +1,3 @@
KERNEL=="rtc0", GROUP="audio"
KERNEL=="hpet", GROUP="audio"
@@ -0,0 +1,3 @@
@audio - rtprio 99
@audio - memlock unlimited
View File
+14 -44
View File
@@ -14,30 +14,26 @@
<Summary>A low-latency audio server</Summary>
<Description>JACK is a low-latency audio server written for POSIX conformant operating systems. It can connect a number of different applications to an audio device, as well as allowing them to share audio between themselves.</Description>
<!-- <Archive sha1sum="397a01bb94eb4b40f328329a9e6af13f53abaa89" type="targz">http://source.pisilinux.org/1.0/jack-1.9.9.5.tgz</Archive> -->
<Archive sha1sum="1177655ae0fbbd8c2229b398a79724115a392941" type="tarbz2">https://dl.dropbox.com/u/28869550/jack-1.9.10.tar.bz2</Archive>
<Archive sha1sum="1177655ae0fbbd8c2229b398a79724115a392941" type="tarbz2">https://dl.dropboxusercontent.com/u/28869550/jack-1.9.10.tar.bz2</Archive>
<BuildDependencies>
<Dependency>celt-devel</Dependency>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>libsndfile-devel</Dependency>
<Dependency>libfreebob-devel</Dependency>
<Dependency>libsamplerate-devel</Dependency>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>libffado-devel</Dependency>
<Dependency>libopus-devel</Dependency>
<Dependency>doxygen</Dependency>
<Dependency>libsndfile-devel</Dependency>
<Dependency>readline-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>jack-audio-connection-kit</Name>
<RuntimeDependencies>
<Dependency>celt</Dependency>
<Dependency>alsa-lib</Dependency>
<Dependency>libsndfile</Dependency>
<Dependency>libfreebob</Dependency>
<Dependency>libsamplerate</Dependency>
<Dependency>libsndfile</Dependency>
<Dependency>libffado</Dependency>
<Dependency>libopus</Dependency>
<Dependency>readline</Dependency>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc/security</Path>
@@ -49,6 +45,8 @@
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/etc/security/limits.d/99-jack.conf">99-jack.conf</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/usr/lib/udev/rules.d/40-hpet-permissions.rules">40-hpet-permissions.rules</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/etc/security/limits.d/99-audio.conf">99-audio.conf</AdditionalFile>
</AdditionalFiles>
</Package>
@@ -77,40 +75,12 @@
</Package>
<History>
<Update release="5">
<Date>2014-08-24</Date>
<Update release="1">
<Date>2015-08-24</Date>
<Version>1.9.10</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="4">
<Date>2014-02-20</Date>
<Version>1.9.9.5</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-02-20</Date>
<Version>1.9.8</Version>
<Comment>rebuild</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="2">
<Date>2013-08-29</Date>
<Version>1.9.8</Version>
<Comment>missing dep.</Comment>
<Name>Erdinç gültekin</Name>
<Email>erdincgultekin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-29</Date>
<Version>1.9.8</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Name>Vedat Demir</Name>
<Email>vedat@pisilinux.org</Email>
</Update>
</History>
</PISI>
View File
+36
View File
@@ -0,0 +1,36 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
#autotools.autoreconf("-vfi")
autotools.configure("--disable-static \
--enable-shared \
--disable-python \
--with-default-audio-method=alsa \
--without-flite ")
def build():
autotools.make()
def install():
autotools.install()
# Conflicts with openTTS
pisitools.remove("/usr/share/info/ssip.info")
# Set executable bit
#shelltools.chmod("%s/usr/lib/python3.4/site-packages/speechd/_test.py" % get.installDIR(), 0755)
# Create log directory, it should be world unreadable
pisitools.dodir("/var/log/speech-dispatcher")
shelltools.chmod("%s/var/log/speech-dispatcher" % get.installDIR(), 0700)
pisitools.dodoc("AUTHORS", "COPYING", "README")
+69
View File
@@ -0,0 +1,69 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>speech-dispatcher</Name>
<Homepage>http://www.freebsoft.org/speechd</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2+</License>
<License>GPLv2</License>
<IsA>service</IsA>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>speech dispatcher: common interface to speech synthesis</Summary>
<Description>Speech Dispatcher is a device independent layer for speech synthesis that provides a common easy to use interface for both client applications (programs that want to speak) and for software synthesizers (programs actually able to convert text to speech).</Description>
<Archive sha1sum="15d9c4aa0e87cc59ea08602d8ac6ef9da7867883" type="targz">http://www.freebsoft.org/pub/projects/speechd/speech-dispatcher-0.8.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>glib2-devel</Dependency>
<Dependency>libsndfile-devel</Dependency>
<Dependency>dotconf-devel</Dependency>
<Dependency>intltool</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>speech-dispatcher</Name>
<RuntimeDependencies>
<Dependency>glib2</Dependency>
<Dependency>libtool-ltdl</Dependency>
<Dependency>dotconf</Dependency>
<Dependency>libsndfile</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/share</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="config">/etc/speech-dispatcher</Path>
<Path fileType="data">/var/log/speech-dispatcher</Path>
<Path fileType="data">/usr/share/speech-dispatcher</Path>
</Files>
</Package>
<Package>
<Name>speech-dispatcher-devel</Name>
<Summary>Development headers for speech-dispatcher</Summary>
<RuntimeDependencies>
<Dependency release="current">speech-dispatcher</Dependency>
<Dependency>glib2-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="header">/usr/lib/pkgconfig/</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2015-08-21</Date>
<Version>0.8.3</Version>
<Comment>Version bump.</Comment>
<Name>Vedat Demir</Name>
<Email>vedat@pisilinux.org</Email>
</Update>
</History>
</PISI>
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>speech-dispatcher</Name>
<Summary xml:lang="tr">Konuşma sentezi ortak arayüzü</Summary>
<Description xml:lang="tr">Speech Dispatcher, seslendirme yapılmak istenen veya konuşma sentezi yapan uygulamalar için ortak ve kolay kullanımlı bir arayüz sunan, cihaz-bağımsız bir katmandır.</Description>
</Source>
<Package>
<Name>python-speech-dispatcher</Name>
<Summary xml:lang="tr">speech-dispatcher için Python bağlayıcıları</Summary>
</Package>
<Package>
<Name>speech-dispatcher-devel</Name>
<Summary xml:lang="tr">speech-dispatcher için geliştirme başlıkları</Summary>
</Package>
</PISI>
+11
View File
@@ -0,0 +1,11 @@
#!/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.insinto("usr/lib/chromium-browser/PepperFlash/", "manifest.json")
pisitools.insinto("usr/lib/chromium-browser/PepperFlash/", "libpepflashplayer.so")
+8
View File
@@ -0,0 +1,8 @@
# Make sure that Chromium finds the plugin:
flash_library="/usr/lib/chromium-browser/PepperFlash/libpepflashplayer.so"
flash_version=$(grep '"version":' /usr/lib/chromium-browser/PepperFlash/manifest.json | cut -d\" -f4)
if [ -f $flash_library ]; then
CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ppapi-flash-path=$flash_library --ppapi-flash-version=$flash_version"
fi
+38
View File
@@ -0,0 +1,38 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>pepperflash</Name>
<Homepage>http://www.google.com</Homepage>
<Packager>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Packager>
<License>custom:chrome</License>
<IsA>library</IsA>
<Summary>Google Chrome's Pepper Flash plugin for Chromium.</Summary>
<Description>Google Chrome's Pepper Flash plugin for Chromium (stable version)</Description>
<Archive sha1sum="dbe4686078af10161e431e742e6c777bc1348c0c" type="tarxz">https://dl.dropboxusercontent.com/s/8jxvv106fteve8u/PepperFlash-18.0.0.233.tar.xz</Archive>
</Source>
<Package>
<Name>pepperflash</Name>
<Files>
<Path fileType="data">/etc/chromium-browser</Path>
<Path fileType="library">/usr/lib/chromium-browser/PepperFlash</Path>
</Files>
<AdditionalFiles>
<AdditionalFile target="/etc/chromium-browser/pepperflash-plugin.conf">pepperflash-plugin.conf</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="1">
<Date>2015-08-15</Date>
<Version>18.0.0.233</Version>
<Comment>Version bump</Comment>
<Name>Vedat Demir</Name>
<Email>vedat@pisilinux.org</Email>
</Update>
</History>
</PISI>
+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>pepperflash</Name>
<Summary xml:lang="en">Chromium tarayıcısı için Google chrom eklentisi olan Pepper Flash Eklentisi.</Summary>
<Summary xml:lang="tr">Google Chrome's Pepper Flash plugin for Chromium.</Summary>
<Description xml:lang="en">Google Chrome's Pepper Flash plugin for Chromium (stable version)</Description>
<Description xml:lang="tr">Chromium tarayıcısı için Google chrom eklentisi olan Pepper Flash Eklentisi (Kararlı sürüm)</Description>
</Source>
</PISI>
+30
View File
@@ -0,0 +1,30 @@
#!/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 pythonmodules
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def build():
shelltools.system("python bootstrap.py")
shelltools.system("asciidoc doc/manual.asciidoc")
def check():
#needs new package gtest -> ignore it for now
shelltools.system("python ./configure.py --with-gtest=/usr/share/gtest")
shelltools.system("./ninja ninja_test")
shelltools.system("./ninja_test --gtest_filter=-SubprocessTest.SetWithLots")
def install():
pisitools.dobin("ninja", "/usr/bin")
pisitools.insinto("/usr/share/bash-completion/completions", "misc/bash-completion", "ninja")
pisitools.dodoc("HACKING.md", "COPYING", "RELEASING", "README", "doc/manual.asciidoc")
pisitools.dohtml("doc/manual.html")
+13
View File
@@ -0,0 +1,13 @@
Largefile patch
https://github.com/martine/ninja/issues/829
--- ninja-1.5.1/configure.py~ 2014-10-26 22:45:18.000000000 +0200
+++ ninja-1.5.1/configure.py 2014-10-26 22:45:26.284641172 +0200
@@ -142,6 +142,7 @@
'-fno-exceptions',
'-fvisibility=hidden', '-pipe',
'-Wno-missing-field-initializers',
+ '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64',
'-DNINJA_PYTHON="%s"' % options.with_python]
if options.debug:
cflags += ['-D_GLIBCXX_DEBUG', '-D_GLIBCXX_DEBUG_PEDANTIC']
+45
View File
@@ -0,0 +1,45 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ninja</Name>
<Homepage>http://martine.github.com/ninja/</Homepage>
<Packager>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<IsA>app:console</IsA>
<Summary>Ninja is a small build system with a focus on speed.</Summary>
<Description>Ninja is a small build system with a focus on speed.</Description>
<Archive sha1sum="a6ff055691f6d355234298c21cc18961b4ca2ed9" type="targz">https://github.com/martine/ninja/archive/v1.6.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>asciidoc</Dependency>
</BuildDependencies>
<Patches>
<Patch>LFS.patch</Patch>
</Patches>
</Source>
<Package>
<Name>ninja</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2015-08-25</Date>
<Version>1.6.0</Version>
<Comment>Version bump.</Comment>
<Name>Vedat Demir</Name>
<Email>vedat@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>ninja</Name>
<Summary xml:lang="tr">Ninja, hız odaklı bir inşa sistemidir.</Summary>
<Description xml:lang="tr">Ninja is a small build system with a focus on speed.</Description>
</Source>
</PISI>
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
autotools.autoreconf("-i")
autotools.configure("--disable-static")
def build():
autotools.make()
def install():
autotools.install()
pisitools.dodoc("AUTHORS", "COPYING", "README")
+49
View File
@@ -0,0 +1,49 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>dotconf</Name>
<Homepage>http://www.opentts.org/projects/dotconf</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>A library to parse configuration files</Summary>
<Description>dotconf is a simple-to-use and powerful configuration file parser library written in C.</Description>
<Archive sha1sum="0d66468cc264e7e0bfcff437cc22a1d741ca81f5" type="targz">http://source.pisilinux.org/1.0/dotconf-1.3.tar.gz</Archive>
</Source>
<Package>
<Name>dotconf</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>dotconf-devel</Name>
<Summary>Development headers and documentation for dotconf</Summary>
<RuntimeDependencies>
<Dependency release="current">dotconf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="doc">/usr/share/doc/dotconf/examples</Path>
<Path fileType="doc">/usr/share/doc/dotconf/dotconf-api.txt</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2015-08-25</Date>
<Version>1.3</Version>
<Comment>First release.</Comment>
<Name>Vedat Demir</Name>
<Email>vedat@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>dotconf</Name>
<Summary xml:lang="tr">Yapılandırma dosyası ayıklama kitaplığı</Summary>
<Description xml:lang="tr">dotconf C dilinde yazılmış, basit kullanımlı ve güçlü bir yapılandırma dosyası ayıklama kitaplığıdır.</Description>
</Source>
<Package>
<Name>dotconf-devel</Name>
<Summary xml:lang="tr">dotconf kitaplığı için geliştirme başlıkları ve belgeleri</Summary>
</Package>
</PISI>