Merge pull request #1160 from groni/master
add darkice, icecast, libcue, python-imaging remove dependency python-tk and tcltk-devel and tcl-devel, pythonmagick
This commit is contained in:
@@ -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/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
#shelltools.system("./autogen.pl")
|
||||
autotools.configure()
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("ChangeLog", "LICENSE", "README")
|
||||
@@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>pythonmagick</Name>
|
||||
<Homepage>http://www.imagemagick.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>as-is</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Python bindings for the ImageMagick</Summary>
|
||||
<Description>PythonMagick is an object oriented Python bindings for the ImageMagick library.</Description>
|
||||
<Archive sha1sum="76a588f6e5542e415be3c4e18a4156befd0efd0b" type="tarxz">http://www.imagemagick.org/download/python/PythonMagick-0.9.12.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
<Dependency>imagemagick-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>pythonmagick</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>boost</Dependency>
|
||||
<Dependency>imagemagick</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="7">
|
||||
<Date>2016-02-08</Date>
|
||||
<Version>0.9.12</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-12-27</Date>
|
||||
<Version>0.9.11</Version>
|
||||
<Comment>Rebuild for boost.</Comment>
|
||||
<Name>Ergün Salman</Name>
|
||||
<Email>poyraz76@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-10-27</Date>
|
||||
<Version>0.9.11</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ergün Salman</Name>
|
||||
<Email>poyraz76@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-05-28</Date>
|
||||
<Version>0.9.10</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-11-09</Date>
|
||||
<Version>0.9.8</Version>
|
||||
<Comment>Rebuild for boost 1.5.4</Comment>
|
||||
<Name>Burak Fazıl Ertürk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-02-17</Date>
|
||||
<Version>0.9.8</Version>
|
||||
<Comment>Update</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-01-02</Date>
|
||||
<Version>0.9.7</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Anıl Özbek</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>pythonmagick</Name>
|
||||
<Summary xml:lang="tr">ImageMagick için Python bağlayıcıları</Summary>
|
||||
<Description xml:lang="tr">PythonMagick, ImageMagick kütüphanesi için nesne yönelimli Python bağlayıcılarıdır.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,19 @@
|
||||
#!/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
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS")
|
||||
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libcue</Name>
|
||||
<Homepage>http://sourceforge.net/projects/libcue/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Cue sheet parser library</Summary>
|
||||
<Description>libcue is intended for parsing a so-called cue sheet from a char string or a file pointer.</Description>
|
||||
<Archive sha1sum="3fd31f2da7c0e3967d5f56363f3051a85a8fd50d" type="tarbz2">https://github.com/lipnitsk/libcue/releases/download/v1.4.0/libcue-1.4.0.tar.bz2</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libcue</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libcue-devel</Name>
|
||||
<Summary>Development files for libcue</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libcue</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2016-02-08</Date>
|
||||
<Version>1.4.0</Version>
|
||||
<Comment>Rebuild for Pisi 2.0 repository</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2011-03-21</Date>
|
||||
<Version>1.4.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdem Artan</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libcue</Name>
|
||||
<Summary xml:lang="tr">Cue sayfası ayrıştırma kitaplığı</Summary>
|
||||
<Description xml:lang="tr">libcue, cue sayfalarındaki metinleri ayrıştırmak için kullanılan bir kitaplıktır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libcue-devel</Name>
|
||||
<Summary xml:lang="tr">libcue için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/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("--with-alsa \
|
||||
--with-faac \
|
||||
--with-vorbis \
|
||||
--with-lame \
|
||||
--without-jack \
|
||||
--disable-static \
|
||||
--enable-shared")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "FAQ", "NEWS", "README", "TODO")
|
||||
@@ -0,0 +1,14 @@
|
||||
http://code.google.com/p/darkice/issues/detail?id=29
|
||||
SerialUlaw.cpp:296:26: error: ‘perror’ was not declared in this scope
|
||||
|
||||
--- src/SerialUlaw.cpp
|
||||
+++ src/SerialUlaw.cpp
|
||||
@@ -40,6 +40,8 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
+#include <stdio.h>
|
||||
+
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#else
|
||||
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>darkice</Name>
|
||||
<Homepage>http://darkice.sourceforge.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Live audio streamer</Summary>
|
||||
<Description>DarkIce as a live audio streamer. It records audio from an audio interface (e.g. sound card), encodes it and sends it to a streaming server.</Description>
|
||||
<Archive sha1sum="508eb0560a7cdf0990a8793f4b8d324ae74bc343" type="targz">https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/darkice/darkice-1.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>pulseaudio-libs-devel</Dependency>
|
||||
<Dependency>lame-devel</Dependency>
|
||||
<Dependency>faac-devel</Dependency>
|
||||
<Dependency>libogg-devel</Dependency>
|
||||
<Dependency>twolame-devel</Dependency>
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
<Dependency>libsamplerate-devel</Dependency>
|
||||
<Dependency>libopus-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="0">darkice-1.0-gcc44.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>darkice</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>pulseaudio-libs</Dependency>
|
||||
<Dependency>lame</Dependency>
|
||||
<Dependency>faac</Dependency>
|
||||
<Dependency>libogg</Dependency>
|
||||
<Dependency>twolame</Dependency>
|
||||
<Dependency>alsa-lib</Dependency>
|
||||
<Dependency>libvorbis</Dependency>
|
||||
<Dependency>libsamplerate</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libopus</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2016-02-08</Date>
|
||||
<Version>1.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-02-17</Date>
|
||||
<Version>1.1</Version>
|
||||
<Comment>Release.</Comment>
|
||||
<Name>Erdinç gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-08-29</Date>
|
||||
<Version>1.1</Version>
|
||||
<Comment>missing dep.</Comment>
|
||||
<Name>Erdinç gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-08-27</Date>
|
||||
<Version>1.1</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>darkice</Name>
|
||||
<Summary xml:lang="tr">Canlı müzik, ses yayınlama aracı</Summary>
|
||||
<Description xml:lang="tr">Darkice bir canlı müzik, ses yayınlama uygulamasıdır. Bir ses arayüzünden (örneğin bir ses kartı) sesleri kaydeder, kodlar ve yayınlayacak sunucuya gönderir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>darkice-devel</Name>
|
||||
<Summary xml:lang="tr">darkice için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,44 @@
|
||||
#!/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 get
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
#Fix htmldir
|
||||
pisitools.dosed("doc/Makefile.am", "doc/icecast", "doc/icecast/html")
|
||||
#pisitools.dosed("debian/icecast2.1", "icecast2", "icecast")
|
||||
|
||||
autotools.autoreconf("-vif")
|
||||
autotools.configure("--sysconfdir=/etc/icecast \
|
||||
--disable-static \
|
||||
--with-curl \
|
||||
--with-ogg \
|
||||
--with-theora \
|
||||
--with-speex \
|
||||
--enable-yp \
|
||||
--with-openssl=/usr")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
#Create Log Dir
|
||||
pisitools.dodir("/var/log/icecast")
|
||||
pisitools.dodir("/run/icecast")
|
||||
|
||||
#Correct permissions
|
||||
shelltools.chmod("%s/var/log/icecast" % get.installDIR(), 0755 )
|
||||
shelltools.chmod("%s/etc/icecast/icecast.xml" % get.installDIR(), 0640)
|
||||
shelltools.chmod("%s/run/icecast" % get.installDIR(), 0755)
|
||||
|
||||
pisitools.insinto("/usr/share/pixmaps", "web/icecast.png")
|
||||
|
||||
#pisitools.doman("debian/icecast2.1")
|
||||
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
|
||||
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
os.system("/bin/chown -R icecast:icecast /var/log/icecast")
|
||||
os.system("/bin/chown -R icecast:icecast /etc/icecast")
|
||||
os.system("/bin/chown -R icecast:icecast /run/icecast")
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from comar.service import *
|
||||
|
||||
serviceType = "server"
|
||||
serviceDesc = _({"en": "Icecast Daemon",
|
||||
"tr": "Icecast Servisi"})
|
||||
|
||||
@synchronized
|
||||
def start():
|
||||
startService(command="/usr/bin/icecast",
|
||||
args="-c /etc/icecast/icecast.xml",
|
||||
pidfile="/run/icecast/icecast.pid",
|
||||
donotify=True,
|
||||
detach=True)
|
||||
@synchronized
|
||||
def stop():
|
||||
stopService(pidfile="/run/icecast/icecast.pid",
|
||||
donotify=True)
|
||||
|
||||
def status():
|
||||
return isServiceRunning("/run/icecast/icecast.pid")
|
||||
|
||||
def reload():
|
||||
stopService(command="/usr/bin/icecast",
|
||||
args="reload")
|
||||
@@ -0,0 +1,51 @@
|
||||
diff -Naur icecast-2.3.2.orig/conf/icecast.xml.in icecast-2.3.2/conf/icecast.xml.in
|
||||
--- icecast-2.3.2.orig/conf/icecast.xml.in 2008-04-04 18:14:10.000000000 +0300
|
||||
+++ icecast-2.3.2/conf/icecast.xml.in 2008-09-28 01:01:51.000000000 +0300
|
||||
@@ -7,8 +7,8 @@
|
||||
<client-timeout>30</client-timeout>
|
||||
<header-timeout>15</header-timeout>
|
||||
<source-timeout>10</source-timeout>
|
||||
- <!-- If enabled, this will provide a burst of data when a client
|
||||
- first connects, thereby significantly reducing the startup
|
||||
+ <!-- If enabled, this will provide a burst of data when a client
|
||||
+ first connects, thereby significantly reducing the startup
|
||||
time for listeners that do substantial buffering. However,
|
||||
it also significantly increases latency between the source
|
||||
client and listening client. For low-latency setups, you
|
||||
@@ -102,7 +102,7 @@
|
||||
<hidden>1</hidden>
|
||||
<no-yp>1</no-yp>
|
||||
<authentication type="htpasswd">
|
||||
- <option name="filename" value="myauth"/>
|
||||
+ <option name="filename" value="/usr/share/icecast/myauth"/>
|
||||
<option name="allow_duplicate_users" value="0"/>
|
||||
</authentication>
|
||||
<on-connect>/home/icecast/bin/stream-start</on-connect>
|
||||
@@ -129,10 +129,10 @@
|
||||
|
||||
<!-- Note that if <chroot> is turned on below, these paths must both
|
||||
be relative to the new root, not the original root -->
|
||||
- <logdir>@localstatedir@/log/@PACKAGE@</logdir>
|
||||
+ <logdir>/var/log/icecast</logdir>
|
||||
<webroot>@pkgdatadir@/web</webroot>
|
||||
<adminroot>@pkgdatadir@/admin</adminroot>
|
||||
- <!-- <pidfile>@pkgdatadir@/icecast.pid</pidfile> -->
|
||||
+ <pidfile>/run/icecast/icecast.pid</pidfile>
|
||||
|
||||
<!-- Aliases: treat requests for 'source' path as being for 'dest' path
|
||||
May be made specific to a port or bound address using the "port"
|
||||
@@ -164,11 +164,10 @@
|
||||
|
||||
<security>
|
||||
<chroot>0</chroot>
|
||||
- <!--
|
||||
+ <!--test for logrotate soon-->
|
||||
<changeowner>
|
||||
- <user>nobody</user>
|
||||
- <group>nogroup</group>
|
||||
+ <user>icecast</user>
|
||||
+ <group>icecast</group>
|
||||
</changeowner>
|
||||
- -->
|
||||
</security>
|
||||
</icecast>
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -Naur icecast-2.3.2.orig/m4/acx_pthread.m4 icecast-2.3.2/m4/acx_pthread.m4
|
||||
--- icecast-2.3.2.orig/m4/acx_pthread.m4 2009-02-22 00:33:42.000000000 +0200
|
||||
+++ icecast-2.3.2/m4/acx_pthread.m4 2009-05-01 05:27:18.000000000 +0300
|
||||
@@ -63,7 +63,7 @@
|
||||
# pthread-config: use pthread-config program (for GNU Pth library)
|
||||
|
||||
case "${host_cpu}-${host_os}" in
|
||||
- *solaris*)
|
||||
+ *solaris*|*linux*)
|
||||
|
||||
# On Solaris (at least, for some versions), libc contains stubbed
|
||||
# (non-functional) versions of the pthreads routines, so link-based
|
||||
@@ -0,0 +1 @@
|
||||
d /run/icecast 0755 icecast icecast
|
||||
@@ -0,0 +1,90 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>icecast</Name>
|
||||
<Homepage>http://www.icecast.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<Icon>icecast</Icon>
|
||||
<IsA>service</IsA>
|
||||
<Summary>ShoutCast compatible streaming media server</Summary>
|
||||
<Description>Icecast is a streaming media server which currently supports Ogg Vorbis and MP3 audio streams. It can be used to create an Internet radio station or a privately running jukebox and many things in between.</Description>
|
||||
<Archive sha1sum="230e2aa5abf80010c42d41cc7c0b078fb542b080" type="targz">http://downloads.xiph.org/releases/icecast/icecast-2.4.3.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libxslt-devel</Dependency>
|
||||
<Dependency>libogg-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
<Dependency>libkate-devel</Dependency>
|
||||
<Dependency>speex-devel</Dependency>
|
||||
<Dependency>libtheora-devel</Dependency>
|
||||
<Dependency>curl-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">pthread_flag.patch</Patch>
|
||||
<Patch level="1">icecast.conf.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>icecast</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libxslt</Dependency>
|
||||
<Dependency>libogg</Dependency>
|
||||
<Dependency>libvorbis</Dependency>
|
||||
<Dependency>libkate</Dependency>
|
||||
<Dependency>speex</Dependency>
|
||||
<Dependency>libtheora</Dependency>
|
||||
<Dependency>curl</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/icecast</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/icecast</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||
<Path fileType="data">/var</Path>
|
||||
<Path fileType="data">/run</Path>
|
||||
<Path fileType="config">/usr/lib/tmpfiles.d/icecast.conf</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/icecast.conf">tmpfiles.conf</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<Provides>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
<COMAR script="service.py">System.Service</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2016-02-08</Date>
|
||||
<Version>2.4.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-10</Date>
|
||||
<Version>2.3.3</Version>
|
||||
<Comment>Add tmpfiles.conf</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-08-27</Date>
|
||||
<Version>2.3.3</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>icecast</Name>
|
||||
<Summary xml:lang="tr">Shoutcast uyumlu muzik yayın sunucusu</Summary>
|
||||
<Description xml:lang="tr">Icecast, Ogg Vorbis ve Mp3 formatlarını destekleyerek ağ üzerinden muzik yayını yapmanızı sağlar. Icecast ile bir internet radyo istasyonu kurabilir ya da kendinize özel bir şarkı liste oluşturup paylaşabilirsiniz.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
+107552
-107158
File diff suppressed because it is too large
Load Diff
@@ -1 +1 @@
|
||||
6066a4860aebef3c815b9c9c48b2392fa2dcd9f3
|
||||
0be49d7a631312b37e839cdd78aa4e48165dd149
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
6720c49018fabf95320590d5290b69fc3000bb79
|
||||
0c2489f8d3937366df58af7edcf7076a1cf80eea
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/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 pythonmodules
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir="Imaging-%s" % get.srcVERSION()
|
||||
|
||||
def install():
|
||||
pisitools.dosed("_imagingft.c", "<freetype/freetype.h>", "<freetype2/freetype.h>")
|
||||
pisitools.dosed("_imagingft.c", "<freetype/fterrors.h>", "<freetype2/fterrors.h>")
|
||||
pythonmodules.install()
|
||||
|
||||
shelltools.cd("Sane")
|
||||
pythonmodules.install()
|
||||
shelltools.cd("..")
|
||||
|
||||
for header in ["Imaging.h","ImPlatform.h"]:
|
||||
pisitools.insinto("/usr/include/%s" % get.curPYTHON(), "libImaging/%s" % header)
|
||||
|
||||
pisitools.dodoc("README")
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
--- Imaging-1.1.7-orig/PIL/TiffImagePlugin.py 2009-11-01 02:44:12.000000000 +0200
|
||||
+++ Imaging-1.1.7/PIL/TiffImagePlugin.py 2012-11-13 03:45:11.280000132 +0200
|
||||
@@ -69,7 +69,7 @@
|
||||
def il32(c,o=0):
|
||||
return ord(c[o]) + (ord(c[o+1])<<8) + (ord(c[o+2])<<16) + (ord(c[o+3])<<24)
|
||||
def ol16(i):
|
||||
- return chr(i&255) + chr(i>>8&255)
|
||||
+ return chr(i>>8&255) + chr(i&255)
|
||||
def ol32(i):
|
||||
return chr(i&255) + chr(i>>8&255) + chr(i>>16&255) + chr(i>>24&255)
|
||||
|
||||
@@ -197,6 +197,8 @@
|
||||
}
|
||||
|
||||
PREFIXES = ["MM\000\052", "II\052\000", "II\xBC\000"]
|
||||
+PREFIX_TO_BYTEORDER = {"MM":"b", "II":"l"}
|
||||
+BYTEORDER_TO_PREFIX = {"b":"MM", "l":"II"}
|
||||
|
||||
def _accept(prefix):
|
||||
return prefix[:4] in PREFIXES
|
||||
@@ -219,6 +221,8 @@
|
||||
self.o16, self.o32 = ol16, ol32
|
||||
else:
|
||||
raise SyntaxError("not a TIFF IFD")
|
||||
+ self.byteorder = PREFIX_TO_BYTEORDER[self.prefix]
|
||||
+
|
||||
self.reset()
|
||||
|
||||
def reset(self):
|
||||
@@ -749,7 +753,7 @@
|
||||
def _save(im, fp, filename):
|
||||
|
||||
try:
|
||||
- rawmode, prefix, photo, format, bits, extra = SAVE_INFO[im.mode]
|
||||
+ rawmode, prefix, byteorder, photo, format, bits, extra = SAVE_INFO[im.mode]
|
||||
except KeyError:
|
||||
raise IOError, "cannot write mode %s as TIFF" % im.mode
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
--- Imaging-1.1.6.orig/PIL/GifImagePlugin.py 2006-12-03 11:37:15.000000000 +0000
|
||||
+++ Imaging-1.1.6/PIL/GifImagePlugin.py 2008-10-02 14:51:43.000000000 +0100
|
||||
@@ -352,6 +352,11 @@
|
||||
for i in range(maxcolor):
|
||||
s.append(chr(i) * 3)
|
||||
|
||||
+ if im.info.has_key('transparency'):
|
||||
+ transparentIndex = im.info['transparency']
|
||||
+ s.append('!' + chr(0xf9) + chr(4) + chr(1) + chr(0) + chr(0) +
|
||||
+ chr(transparentIndex) + chr(0))
|
||||
+
|
||||
return s
|
||||
|
||||
def getdata(im, offset = (0, 0), **params):
|
||||
@@ -0,0 +1,13 @@
|
||||
--- Imaging-1.1.6/Sane/_sane.c.orig 2006-12-03 13:12:22.000000000 +0100
|
||||
+++ Imaging-1.1.6/Sane/_sane.c 2009-02-28 11:41:19.000000000 +0200
|
||||
@@ -1152,8 +1152,8 @@
|
||||
static PyObject *
|
||||
PySane_get_devices(PyObject *self, PyObject *args)
|
||||
{
|
||||
- SANE_Device **devlist;
|
||||
- SANE_Device *dev;
|
||||
+ const SANE_Device **devlist;
|
||||
+ const SANE_Device *dev;
|
||||
SANE_Status st;
|
||||
PyObject *list;
|
||||
int local_only, i;
|
||||
@@ -0,0 +1,11 @@
|
||||
--- python-imaging-1.1.6.old/Sane/_sane.c 2006-12-03 07:12:22.000000000 -0500
|
||||
+++ python-imaging-1.1.6/Sane/_sane.c 2007-04-03 22:08:41.000000000 -0400
|
||||
@@ -1156,7 +1156,7 @@
|
||||
SANE_Device *dev;
|
||||
SANE_Status st;
|
||||
PyObject *list;
|
||||
- int local_only, i;
|
||||
+ int local_only=0, i;
|
||||
|
||||
if (!PyArg_ParseTuple(args, "|i", &local_only))
|
||||
{
|
||||
@@ -0,0 +1,76 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-imaging</Name>
|
||||
<Homepage>http://www.pythonware.com/products/pil/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>as-is</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Python Imaging Library (PIL)</Summary>
|
||||
<Description>The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. This library supports many file formats, and provides powerful image processing and graphics capabilities.</Description>
|
||||
<Archive sha1sum="76c37504251171fda8da8e63ecb8bc42a69a5c81" type="targz">http://effbot.org/media/downloads/Imaging-1.1.7.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>sane-backends-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">local_only_initial_value.patch</Patch>
|
||||
<Patch level="1">gentoo-imaging-sane.patch</Patch>
|
||||
<Patch level="1">anka-imaging-tiffendian.patch</Patch>
|
||||
<Patch level="1">gentoo-imaging-giftrans.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python-imaging</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>tcltk</Dependency>
|
||||
<Dependency>tcl</Dependency>
|
||||
<Dependency>lcms</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>sane-backends</Dependency>
|
||||
<Dependency>xdg-utils</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2016-02-08</Date>
|
||||
<Version>1.1.7</Version>
|
||||
<Comment>Rebuild for Pisi 2.0</Comment>
|
||||
<Name>Stefan Gronewold</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-11-09</Date>
|
||||
<Version>1.1.7</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Burak Fazıl Ertürk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-28</Date>
|
||||
<Version>1.1.7</Version>
|
||||
<Comment>Dep Fixed</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-13</Date>
|
||||
<Version>1.1.7</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-imaging</Name>
|
||||
<Summary xml:lang="tr">Python Görüntü İşleme Kitaplığı</Summary>
|
||||
<Description xml:lang="es">La librería Python Imaging Library (PIL) facilita el procesamiento de imágenes desde Python. Esta librería soporta muchos formatos de archivos y provee potentes facilidades de procesamiento de gráficos.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user