Merge pull request #117 from ayhanyalcinsoy/master

some of gst deps
This commit is contained in:
Ertuğrul Erata
2015-07-22 16:24:24 +03:00
58 changed files with 2489 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
#!/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 libtools
from pisi.actionsapi import get
def setup():
shelltools.system("./autogen.sh")
autotools.configure("--prefix=/usr \
--sysconfdir=/etc/gpm \
--sbindir=/usr/bin")
#--libdir=/usr/lib \
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# Remove this when we can break abi
pisitools.dosym("libgpm.so.2", "/usr/lib/libgpm.so")
#remove static link
pisitools.remove("/usr/lib/libgpm.a")
pisitools.insinto("/etc/gpm", "conf/gpm-*.conf")
pisitools.dodoc("COPYING", "README", "TODO", "doc/Announce", "doc/FAQ", "doc/README*")
+29
View File
@@ -0,0 +1,29 @@
# -*- coding: utf-8 -*-
serviceType = "local"
serviceDesc = _({"en": "Console Mouse Daemon",
"tr": "Konsol Fare Servisi"})
from comar.service import *
@synchronized
def start():
args = []
args.append("-m %s" % config.get("MOUSEDEV", "/dev/input/mice"))
args.append("-t %s" % config.get("MOUSE", "imps2"))
if "RESPONSIVENESS" in config:
args.append("-r %s " % config.get("RESPONSIVENESS"))
if "REPEAT_TYPE" in config:
args.append("-R%s " % config.get("REPEAT_TYPE"))
args.append(config.get("APPEND", ""))
startService(command="/usr/sbin/gpm",
args=" ".join(args),
donotify=True)
@synchronized
def stop():
stopService(pidfile="/run/gpm.pid",
donotify=True)
def status():
return isServiceRunning("/run/gpm.pid")
+23
View File
@@ -0,0 +1,23 @@
# Config file for /etc/init.d/gpm
# Please uncomment the type of mouse you have and the appropriate MOUSEDEV entry
#MOUSE=ps2
MOUSE=imps2
#MOUSEDEV=/dev/psaux
MOUSEDEV=/dev/input/mice
# Extra settings
#RESPONSIVENESS=
#REPEAT_TYPE=raw
# Please uncomment this line if you want gpm to understand charsets used
# in URLs and names with ~ or : in them, etc. This is a good idea to turn on!
#APPEND="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\""
# Various other options
#APPEND="-g 1 -A 60"
#APPEND="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\" -g 1 -A 60"
+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>gpm</Name>
<Homepage>http://linux.schottelius.org/gpm/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>service</IsA>
<Summary>Console mouse driver</Summary>
<Description>GPM (short for General Purpose Mouse) brings mouse support to TTYs.</Description>
<Archive sha1sum="08aaceddf7976b98ad3c43143012d3b89a296a40" type="tarbz2">http://www.nico.schottelius.org/software/gpm/archives/gpm-1.20.7.tar.bz2</Archive>
<BuildDependencies>
<Dependency>ncurses-devel</Dependency>
<Dependency>texinfo</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>gpm</Name>
<RuntimeDependencies>
<Dependency>ncurses</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<!--<Path fileType="executable">/usr/sbin</Path>-->
<Path fileType="header">/usr/include</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="info">/usr/share/info</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="config">/etc</Path>
<Path fileType="data">/usr/share/emacs</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/etc/conf.d/gpm">gpm.conf.d</AdditionalFile>
</AdditionalFiles>
<Provides>
<COMAR script="service.py">System.Service</COMAR>
</Provides>
</Package>
<History>
<Update release="3">
<Date>2014-05-20</Date>
<Version>1.20.7</Version>
<Comment>Rebuild, cleanup.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-25</Date>
<Version>1.20.7</Version>
<Comment>Rebuild</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-16</Date>
<Version>1.20.7</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>namso-01qhotmail.it</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>gpm</Name>
<Summary xml:lang="tr">Konsol tabanlı fare sürücüsü</Summary>
<Description xml:lang="tr">Genel amaçlı fare ve konsolda fare desteği içindir.</Description>
</Source>
</PISI>
+23
View File
@@ -0,0 +1,23 @@
#!/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.autoreconf("-fi")
autotools.configure("--enable-static=no")
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", "README", "NEWS")
@@ -0,0 +1,19 @@
From 53ca60964b3691172f7c95e68b6d754ba55e90ac Mon Sep 17 00:00:00 2001
From: Luca Bigliardi <shammash@artha.org>
Date: Mon, 09 Feb 2009 12:34:29 +0000
Subject: Explicitly link against libm.
---
Index: frei0r-plugins-1.2/src/Makefile.am
===================================================================
--- frei0r-plugins-1.2.orig/src/Makefile.am
+++ frei0r-plugins-1.2/src/Makefile.am
@@ -150,7 +150,7 @@ RGB_la_SOURCES = mixer3/RGB/RGB.c
AM_CPPFLAGS = -I@top_srcdir@/include
AM_CFLAGS = -I@top_srcdir@/include
-AM_LDFLAGS = -module -avoid-version -lm -export-dynamic
+AM_LDFLAGS = -module -avoid-version -lm -export-dynamic -lm
AM_LIBTOOLFLAGS = --tag=disable-static
plugindir = @libdir@/frei0r-1
+94
View File
@@ -0,0 +1,94 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>frei0r-plugins</Name>
<Homepage>http://www.piksel.org/frei0r</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>A plugin API for video sources and filters</Summary>
<Description>frei0r-plugins is a minimalistic plugin API for video sources and filters. The behaviour of the effects can be controlled from the host by simple parameters. The intent is to solve the recurring reimplementation or adaptation issue of standard effects.</Description>
<Archive sha1sum="7995d06c5412b14fa3b05647084ca9d7a0c84faa" type="targz">http://distfiles.macports.org/frei0r-plugins/frei0r-plugins-1.4.tar.gz</Archive>
<BuildDependencies>
<!--<Dependency>doxygen</Dependency>-->
<!--<Dependency>gavl-devel</Dependency>-->
<!--<Dependency>intel-tbb-devel</Dependency>-->
<!-- <Dependency>cairo-devel</Dependency>-->
</BuildDependencies>
<Patches>
<Patch level="1">explicitly-link-with-lm.patch</Patch>
</Patches>
</Source>
<Package>
<Name>frei0r-plugins</Name>
<RuntimeDependencies>
<!--<Dependency>gavl</Dependency>-->
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>frei0r-plugins-devel</Name>
<Summary>Development files for frei0r-plugins</Summary>
<RuntimeDependencies>
<Dependency release="current">frei0r-plugins</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2014-05-20</Date>
<Version>1.4</Version>
<Comment>Rebuild.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-03-01</Date>
<Version>1.4</Version>
<Comment>Rebuild Unused</Comment>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2013-11-30</Date>
<Version>1.4</Version>
<Comment>Rebuild for ffmpeg.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-07-31</Date>
<Version>1.4</Version>
<Comment>missing dep.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-07-28</Date>
<Version>1.4</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2011-09-13</Date>
<Version>1.3</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>frei0r-plugins</Name>
<Summary xml:lang="tr">Video kaynakları ve süzgeçleri için bir eklenti programlama arayüzü</Summary>
<Description xml:lang="tr">frei0r-plugins video kaynakları ve süzgeçleri için basit bir eklenti programlama arayüzüdür. Efektlerin davranışları basit parametrelerle denetlenebilmektedir.</Description>
</Source>
<Package>
<Name>frei0r-plugins-devel</Name>
<Summary xml:lang="tr">frei0r-plugins için geliştirme dosyaları</Summary>
</Package>
</PISI>
+24
View File
@@ -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/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.autoreconf("-vfi")
autotools.configure("--enable-fontconfig \
--disable-static \
--enable-enca \
--enable-png")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("Changelog", "COPYING")
+81
View File
@@ -0,0 +1,81 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libass</Name>
<Homepage>http://code.google.com/p/libass/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>Subtitle rendering library</Summary>
<Description>libass is a portable subtitle rendering library for the ASS/SSA.</Description>
<Archive sha1sum="1bffc32d0a601ee6cf289797557bb38636e185b5" type="tarxz">https://github.com/libass/libass/releases/download/0.11.2/libass-0.11.2.tar.xz</Archive>
<BuildDependencies>
<Dependency versionFrom="2.11">fontconfig-devel</Dependency>
<Dependency versionFrom="2.5.5">freetype-devel</Dependency>
<Dependency versionFrom="0.19">fribidi-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libass</Name>
<RuntimeDependencies>
<Dependency versionFrom="2.11">fontconfig-devel</Dependency>
<Dependency versionFrom="2.5.5">freetype-devel</Dependency>
<Dependency versionFrom="0.19">fribidi-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/libass</Path>
</Files>
</Package>
<Package>
<Name>libass-devel</Name>
<Summary>Development files for libass</Summary>
<RuntimeDependencies>
<Dependency release="current">libass</Dependency>
<Dependency versionFrom="2.11">fontconfig-devel</Dependency>
<Dependency versionFrom="2.5.5">freetype-devel</Dependency>
<Dependency versionFrom="0.19">fribidi-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-05-22</Date>
<Version>0.11.2</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-03-08</Date>
<Version>0.10.1</Version>
<Comment>rebuild</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="2">
<Date>2013-07-07</Date>
<Version>0.10.1</Version>
<Comment>Rebuild</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-10-25</Date>
<Version>0.10.1</Version>
<Comment>First release</Comment>
<Name>Erdinç Gültekin</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libass</Name>
<Summary xml:lang="tr">Altyazı çizim kitaplığı</Summary>
<Description xml:lang="tr">libass ASS/SSA altyazı çizim kitaplığıdır.</Description>
</Source>
<Package>
<Name>libass-devel</Name>
<Summary xml:lang="tr">libass için geliştirme dosyaları</Summary>
</Package>
</PISI>
+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/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
shelltools.export("JAVA_HOME","/usr/lib/jvm/java-7-openjdk")
def setup():
autotools.autoreconf("-vif")
autotools.configure("--disable-static \
--disable-bdjava")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "ChangeLog", "README.*")
+92
View File
@@ -0,0 +1,92 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libbluray</Name>
<Homepage>http://www.videolan.org/developers/libbluray.html</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<IsA>library</IsA>
<Summary>Library to access Blu-Ray disks for video playback</Summary>
<Description>Libbluray package is aiming to provide a full portable free open source bluray library, which can be plugged into popular media players to allow full bluray navigation and playback on Linux. It will eventually be compatible with all current titles, and will be easily portable and embeddable in standard players such as mplayer and vlc.</Description>
<Archive sha1sum="1a9c61daefc31438f9165e7681c563d0524b2d3e" type="tarbz2">ftp://ftp.videolan.org/pub/videolan/libbluray/0.5.0/libbluray-0.5.0.tar.bz2</Archive>
<BuildDependencies>
<Dependency>libxml2-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libbluray</Name>
<RuntimeDependencies>
<!--<Dependency>jre7-openjdk</Dependency>-->
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<Package>
<Name>libbluray-devel</Name>
<Summary>Development files for libbluray</Summary>
<RuntimeDependencies>
<Dependency release="current">libbluray</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<Package>
<Name>libbluray-docs</Name>
<Summary>document files for libbluray</Summary>
<RuntimeDependencies>
<Dependency release="current">libbluray</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc/</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2014-05-20</Date>
<Version>0.5.0</Version>
<Comment>Rebuild.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-03-03</Date>
<Version>0.5.0</Version>
<Comment>Rebuild for openjdk</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-02-23</Date>
<Version>0.5.0</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-07-06</Date>
<Version>0.3.0</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-11</Date>
<Version>0.2.3</Version>
<Comment>First release</Comment>
<Name>Erdinç Gültekin</Name>
<Email>erdincgultekin@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libbluray</Name>
<Summary xml:lang="tr">Blu-Ray disklere ulaşmak için kitaplık</Summary>
<Description xml:lang="tr">Libbluray kitaplığı, Linux üzerinde bluray oynatmak için tam destek sağlayan, popüler çokluortam oynatıcılarına taşınabilir bir bağımsız açık kaynak bluray kitaplığı olma amacıyla ortaya çıkmıştır. Zaman içerisinde bütün güncel başlıklar ile uyumlu olması, kolay taşınabilmesi ve mplayer, vlc gibi standart oynatıcılara gömülebilir olması amaçlanmaktadır.</Description>
</Source>
<Package>
<Name>libbluray-devel</Name>
<Summary xml:lang="tr">Libbluray için geliştirme dosyaları</Summary>
</Package>
</PISI>
+24
View File
@@ -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/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.autoreconf("-vif")
autotools.configure("--enable-custom-modes \
--disable-static \
--disable-doc")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "ChangeLog", "README")
+87
View File
@@ -0,0 +1,87 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libopus</Name>
<Homepage>http://www.opus-codec.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>Opus is a totally open, royalty-free, highly versatile audio codec</Summary>
<Description>Opus is unmatched for interactive speech and music transmission over the Internet, but is also intended for storage and streaming applications. It is standardized by the Internet Engineering Task Force (IETF) as RFC 6716 which incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.</Description>
<Archive sha1sum="35005f5549e2583f5770590135984dcfce6f3d58" type="targz">http://downloads.xiph.org/releases/opus/opus-1.1.tar.gz</Archive>
</Source>
<Package>
<Name>libopus</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<Package>
<Name>libopus-devel</Name>
<Summary>Development files for libopus</Summary>
<RuntimeDependencies>
<Dependency release="current">libopus</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<Package>
<Name>libopus-docs</Name>
<Summary>document files for libopus</Summary>
<RuntimeDependencies>
<Dependency release="current">libopus</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc/</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2014-05-22</Date>
<Version>1.1</Version>
<Comment>enable-custom-modes.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="6">
<Date>2014-05-22</Date>
<Version>1.1</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2013-10-09</Date>
<Version>1.0.4</Version>
<Comment>version bump</Comment>
<Name>Erdinç Gültekin</Name>
<Email>erdincgultekin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2013-07-28</Date>
<Version>1.0.2</Version>
<Comment>Move pc files to devel pack, rebuild</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-12-12</Date>
<Version>1.0.2</Version>
<Comment>First release</Comment>
<Name>Erdinç Gültekin</Name>
<Email>erdincgultekin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libopus</Name>
<Summary xml:lang="tr">Açık kaynak, telif ücretsiz, çok yönlü ses codec bileşenidir</Summary>
<Description xml:lang="tr">Opus Internet üzerinde etkileşimli ses ve müzik iletimi için eşsiz olan, ama aynı zamanda saklama ve akış uygulamaları için tasarlanmıştır.
Bu Skype SILK codec ve Xiph.Org 's Celt codec teknolojisi dahil RFC 6716 olarak Internet Engineering Task Force (IETF) tarafından standartlaştırılmıştır.</Description>
</Source>
<Package>
<Name>libopus-devel</Name>
<Summary xml:lang="tr">Libopus için geliştirme dosyaları</Summary>
</Package>
</PISI>
+82
View File
@@ -0,0 +1,82 @@
#!/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 libtools
from pisi.actionsapi import get
WorkDir = "SDL-%s" % get.srcVERSION()
docdir = "%s/%s" % (get.docDIR(), get.srcNAME())
def setup():
shelltools.export("CFLAGS", "%s -fPIC -O3" % get.CFLAGS())
shelltools.export("CXXFLAGS", "%s -fPIC -O3" % get.CXXFLAGS())
# for libtool version matching
#shelltools.copy("/usr/share/aclocal/ltversion.m4", "acinclude/")
shelltools.system("./autogen.sh")
#libtools.libtoolize("--force --copy")
options = "--enable-events \
--enable-cpuinfo \
--enable-cdrom \
--enable-threads \
--enable-timers \
--enable-file \
--enable-alsa \
--enable-oss \
--enable-nasm \
--enable-video-aalib \
--enable-video-caca \
--enable-video-directfb \
--enable-video-fbcon \
--enable-video-dummy \
--enable-video-opengl \
--enable-video-x11 \
--enable-video-x11-xv \
--enable-video-x11-xinerama \
--enable-video-x11-xrandr \
--with-x \
--disable-rpath \
--disable-arts \
--disable-dga \
--disable-esd \
--disable-nas \
--disable-video-dga \
--disable-video-ggi \
--disable-video-svga \
--disable-video-x11-xme \
--disable-static"
if get.buildTYPE() == "emul32":
options += " --libdir=/usr/lib32 \
--bindir=/emul32/bin \
--mandir=/emul32/man \
--disable-video-aalib \
--disable-video-caca \
--disable-video-directfb"
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
shelltools.export("CFLAGS", "%s -fPIC -O3 -m32" % get.CFLAGS())
shelltools.export("CXXFLAGS", "%s -fPIC -O3 -m32" % get.CXXFLAGS())
shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS())
autotools.configure(options)
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
libtools.preplib()
for i in ["html", "images", "index.html"]:
pisitools.insinto(docdir, "docs/%s" % i)
pisitools.dodoc("BUGS", "CREDITS", "README", "README-SDL.txt", "TODO", "WhatsNew")
@@ -0,0 +1,12 @@
diff -up SDL-1.2.13/include/SDL_stdinc.h~ SDL-1.2.13/include/SDL_stdinc.h
--- SDL-1.2.13/include/SDL_stdinc.h~ 2007-12-31 05:48:36.000000000 +0100
+++ SDL-1.2.13/include/SDL_stdinc.h 2009-02-13 11:01:34.000000000 +0100
@@ -320,7 +320,7 @@ do { \
#define SDL_memcpy4(dst, src, len) SDL_memcpy(dst, src, (len) << 2)
#endif
-#if defined(__GNUC__) && defined(i386)
+#if 0
#define SDL_revcpy(dst, src, len) \
do { \
int u0, u1, u2; \
@@ -0,0 +1,10 @@
--- SDL-1.2.14/sdl.pc.in.no_lpthread 2009-10-13 01:07:20.000000000 +0200
+++ SDL-1.2.14/sdl.pc.in 2009-11-08 14:52:47.000000000 +0100
@@ -10,6 +10,6 @@
Version: @SDL_VERSION@
Requires:
Conflicts:
-Libs: -L${libdir} @SDL_RLD_FLAGS@ @SDL_LIBS@
+Libs: -L${libdir} @SDL_RLD_FLAGS@ -lSDL
Libs.private: @SDL_STATIC_LIBS@
Cflags: -I${includedir}/SDL @SDL_CFLAGS@
@@ -0,0 +1,14 @@
--- SDL-1.2.14/src/audio/pulse/SDL_pulseaudio.c.noproc 2009-10-17 09:45:42.000000000 +0200
+++ SDL-1.2.14/src/audio/pulse/SDL_pulseaudio.c 2009-11-08 14:58:36.000000000 +0100
@@ -364,7 +364,10 @@
}
fclose(fp);
}
- return(progname);
+ if (progname)
+ return(progname);
+ else
+ return SDL_strdup ("SDL");
#elif defined(__NetBSD__)
return getprogname();
#else
@@ -0,0 +1,13 @@
--- src/joystick/linux/SDL_sysjoystick.c.org 2012-06-06 18:03:56.700819599 +0300
+++ src/joystick/linux/SDL_sysjoystick.c 2012-06-06 18:04:31.473143816 +0300
@@ -1106,6 +1106,10 @@ static __inline__ void EV_HandleEvents(S
}
break;
case EV_ABS:
+ if (code >= ABS_MISC) {
+ break;
+ }
+
switch (code) {
case ABS_HAT0X:
case ABS_HAT0Y:
@@ -0,0 +1,56 @@
--- src/video/x11/SDL_x11events.c.orig Mon Feb 20 23:51:08 2012 -0500
+++ src/video/x11/SDL_x11events.c Mon Mar 26 12:26:52 2012 +1300
@@ -57,12 +57,6 @@
static SDLKey MISC_keymap[256];
SDLKey X11_TranslateKeycode(Display *display, KeyCode kc);
-/*
- Pending resize target for ConfigureNotify (so outdated events don't
- cause inappropriate resize events)
-*/
-int X11_PendingConfigureNotifyWidth = -1;
-int X11_PendingConfigureNotifyHeight = -1;
#ifdef X_HAVE_UTF8_STRING
Uint32 Utf8ToUcs4(const Uint8 *utf8)
@@ -825,16 +819,6 @@
#ifdef DEBUG_XEVENTS
printf("ConfigureNotify! (resize: %dx%d)\n", xevent.xconfigure.width, xevent.xconfigure.height);
#endif
- if ((X11_PendingConfigureNotifyWidth != -1) &&
- (X11_PendingConfigureNotifyHeight != -1)) {
- if ((xevent.xconfigure.width != X11_PendingConfigureNotifyWidth) &&
- (xevent.xconfigure.height != X11_PendingConfigureNotifyHeight)) {
- /* Event is from before the resize, so ignore. */
- break;
- }
- X11_PendingConfigureNotifyWidth = -1;
- X11_PendingConfigureNotifyHeight = -1;
- }
if ( SDL_VideoSurface ) {
if ((xevent.xconfigure.width != SDL_VideoSurface->w) ||
(xevent.xconfigure.height != SDL_VideoSurface->h)) {
diff -r c787fb1b5699 src/video/x11/SDL_x11events_c.h
--- src/video/x11/SDL_x11events_c.h.orig Mon Feb 20 23:51:08 2012 -0500
+++ src/video/x11/SDL_x11events_c.h Mon Mar 26 12:26:52 2012 +1300
@@ -27,8 +27,3 @@
extern void X11_InitOSKeymap(_THIS);
extern void X11_PumpEvents(_THIS);
extern void X11_SetKeyboardState(Display *display, const char *key_vec);
-
-/* Variables to be exported */
-extern int X11_PendingConfigureNotifyWidth;
-extern int X11_PendingConfigureNotifyHeight;
-
diff -r c787fb1b5699 src/video/x11/SDL_x11video.c
--- src/video/x11/SDL_x11video.c.orig Mon Feb 20 23:51:08 2012 -0500
+++ src/video/x11/SDL_x11video.c Mon Mar 26 12:26:52 2012 +1300
@@ -1182,8 +1182,6 @@
current = NULL;
goto done;
}
- X11_PendingConfigureNotifyWidth = width;
- X11_PendingConfigureNotifyHeight = height;
} else {
if (X11_CreateWindow(this,current,width,height,bpp,flags) < 0) {
current = NULL;
@@ -0,0 +1,16 @@
--- sdl-config.in.orig
+++ sdl-config.in
@@ -44,7 +44,12 @@
echo -I@includedir@/SDL @SDL_CFLAGS@
;;
@ENABLE_SHARED_TRUE@ --libs)
-@ENABLE_SHARED_TRUE@ echo -L@libdir@ @SDL_RLD_FLAGS@ @SDL_LIBS@
+@ENABLE_SHARED_TRUE@ if test x"${prefix}" != x"/usr" ; then
+@ENABLE_SHARED_TRUE@ libdirs="-L@libdir@"
+@ENABLE_SHARED_TRUE@ else
+@ENABLE_SHARED_TRUE@ libdirs=""
+@ENABLE_SHARED_TRUE@ fi
+@ENABLE_SHARED_TRUE@ echo $libdirs @SDL_RLD_FLAGS@ @SDL_LIBS@
@ENABLE_SHARED_TRUE@ ;;
@ENABLE_STATIC_TRUE@@ENABLE_SHARED_TRUE@ --static-libs)
@ENABLE_STATIC_TRUE@@ENABLE_SHARED_FALSE@ --libs|--static-libs)
@@ -0,0 +1,13 @@
# and another one from FS#26020
--- a/src/video/SDL_yuv_sw.c 2009-10-13 06:07:15.000000000 +0700
+++ b/src/video/SDL_yuv_sw.c 2011-09-20 19:26:30.247742620 +0700
@@ -89,6 +89,8 @@
#include "SDL_yuvfuncs.h"
#include "SDL_yuv_sw_c.h"
+#undef __OPTIMIZE__
+
/* The functions used to manipulate software video overlays */
static struct private_yuvhwfuncs sw_yuvfuncs = {
SDL_LockYUV_SW,
@@ -0,0 +1,12 @@
--- src/video/x11/SDL_x11sym.h-orig 2013-07-16 23:56:46.718523385 -0600
+++ src/video/x11/SDL_x11sym.h 2013-07-16 23:58:27.025186485 -0600
@@ -165,7 +165,8 @@
*/
#ifdef LONG64
SDL_X11_MODULE(IO_32BIT)
-SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return)
+
+SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return)
SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),)
#endif
+112
View File
@@ -0,0 +1,112 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libsdl</Name>
<Homepage>http://www.libsdl.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>Simple Direct Media Layer</Summary>
<Description>libsdl is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer.</Description>
<Archive sha1sum="0c5f193ced810b0d7ce3ab06d808cbb5eef03a2c" type="targz">http://www.libsdl.org/release/SDL-1.2.15.tar.gz</Archive>
<BuildDependencies>
<Dependency versionFrom="1.7.1">DirectFB-devel</Dependency>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>aalib-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">sdl-1.2.14-disable-mmx.patch</Patch>
<Patch level="0">sdl_x11sym.patch</Patch>
<Patch level="1">SDL-1.2.14-dont-propagate-lpthread.patch</Patch>
<Patch level="1">SDL-1.2.14-noproc.patch</Patch>
<Patch level="1">SDL-1.2.13-rh484362.patch</Patch>
<Patch level="0">libsdl-1.2.15-sdl-config.patch</Patch>
<Patch level="0">libsdl-1.2.15-resizing.patch</Patch>
<Patch level="0">libsdl-1.2.15-joystick.patch</Patch>
</Patches>
</Source>
<Package>
<Name>libsdl-docs</Name>
<Summary>libsdl reference documents</Summary>
<RuntimeDependencies>
<Dependency>libsdl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libsdl</Name>
<RuntimeDependencies>
<Dependency versionFrom="1.7.1">DirectFB</Dependency>
<Dependency>aalib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<Package>
<Name>libsdl-devel</Name>
<Summary>Development files for libsdl</Summary>
<RuntimeDependencies>
<Dependency release="current">libsdl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib32/pkgconfig</Path>
<Path fileType="library">/usr/lib/libSDLmain.a</Path>
<Path fileType="data">/usr/share/aclocal</Path>
</Files>
</Package>
<Package>
<Name>libsdl-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for libsdl</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>glibc-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">libsdl</Dependency>
<Dependency>glibc-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-05-20</Date>
<Version>1.2.15</Version>
<Comment>Rebuild.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-10-14</Date>
<Version>1.2.15</Version>
<Comment>rebuild for DirectFB.</Comment>
<Name>Erdinç Gültekin</Name>
<Email>erdincgultekin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-29</Date>
<Version>1.2.15</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+25
View File
@@ -0,0 +1,25 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libsdl</Name>
<Summary xml:lang="tr">Basit bir direk ortam erişim katmanı</Summary>
<Summary xml:lang="fr">Simple Direct Media Layer (Couche Média Simple et Directe).</Summary>
<Summary xml:lang="de">Einfachee direkte Medien-Schicht</Summary>
<Description xml:lang="tr">libsdl; ses, klavye, fare, oyun çubuğu, OpenGL ile 3B donanımsal hızlandırma, 2B görüntü belleğine direkt erişim sağlayan birden çok platform destekleyen bir çokluortam kitaplığıdır.</Description>
</Source>
<Package>
<Name>libsdl-docs</Name>
<Summary xml:lang="tr">libsdl başvuru belgeleri</Summary>
</Package>
<Package>
<Name>libsdl-devel</Name>
<Summary xml:lang="tr">libsdl için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>libsdl-32bit</Name>
<Summary xml:lang="tr">libsdl için 32-bit paylaşımlı kitaplıklar</Summary>
</Package>
</PISI>
+19
View File
@@ -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("COPYING", "README")
+77
View File
@@ -0,0 +1,77 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>celt</Name>
<Homepage>http://www.celt-codec.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<Summary>An audio codec for use in low-delay speech and audio communication</Summary>
<Description>CELT (Constrained Energy Lapped Transform) is an ultra-low delay audio codec designed for realtime transmission of high quality speech and audio. This is meant to close the gap between traditional speech codecs (such as Speex) and traditional audio codecs (such as Vorbis).</Description>
<Archive sha1sum="7730b96a6615183505e5ff23cd9b4fea83540e15" type="targz">http://downloads.us.xiph.org/releases/celt/celt-0.11.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>libogg-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>celt</Name>
<IsA>app:console</IsA>
<IsA>library</IsA>
<RuntimeDependencies>
<Dependency>libogg</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>celt-devel</Name>
<IsA>library</IsA>
<Summary>Development files for celt</Summary>
<RuntimeDependencies>
<Dependency release="current">celt</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-12-15</Date>
<Version>0.11.3</Version>
<Comment>Rebuild.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-05-21</Date>
<Version>0.11.3</Version>
<Comment>Rebuild</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-20</Date>
<Version>0.11.3</Version>
<Comment>Rebuild</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-17</Date>
<Version>0.11.3</Version>
<Comment>First release</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>celt</Name>
<Summary xml:lang="tr">Düşük gecikmeli konuşma ve ses iletişimde kullanılmak üzere tasarlanan ses kodeği</Summary>
<Description xml:lang="tr">CELT (Constrained Energy Lapped Transform) yüksek kalitede konuşma ve ses görüşmesinin gerçek zamanlı iletiminde kullanılmak üzere tasarlanmış bir ses kodeğidir.</Description>
</Source>
<Package>
<Name>celt-devel</Name>
<Summary xml:lang="tr">celt için geliştirme dosyaları</Summary>
</Package>
</PISI>
+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 shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("./bootstrap")
autotools.configure("--disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("ChangeLog", "AUTHORS", "NEWS", "README", "TODO", "docs/libfaac.pdf")
+40
View File
@@ -0,0 +1,40 @@
http://bugs.gentoo.org/306881
--- configure.in
+++ configure.in
@@ -33,7 +33,12 @@
AC_CHECK_DECLS([MP4Create, MP4MetadataDelete],
AC_CHECK_LIB(mp4v2, MP4MetadataDelete, external_mp4v2=yes,
external_mp4v2=no, -lstdc++),
- external_mp4v2=no, [#include <mp4v2/mp4v2.h>])
+ external_mp4v2=no, [
+ #if defined(__ALTIVEC__)
+ #undef bool
+ #endif
+ #include <mp4v2/mp4v2.h>
+ ])
if test x$external_mp4v2 = xyes; then
AC_MSG_NOTICE([*** Building with external mp4v2 ***])
--- frontend/main.c
+++ frontend/main.c
@@ -30,6 +30,9 @@
#endif
#ifdef HAVE_LIBMP4V2
+#if defined(__ALTIVEC__)
+# undef bool
+#endif
# include <mp4v2/mp4v2.h>
#endif
--- common/mp4v2/mpeg4ip.h
+++ common/mp4v2/mpeg4ip.h
@@ -123,7 +123,6 @@
#ifdef __cplusplus
extern "C" {
#endif
-char *strcasestr(const char *haystack, const char *needle);
#ifdef __cplusplus
}
#endif
@@ -0,0 +1,47 @@
diff -ur faac-1.28.orig/configure.in faac-1.28/configure.in
--- faac-1.28.orig/configure.in 2009-02-05 02:55:38.000000000 +0200
+++ faac-1.28/configure.in 2009-07-10 13:21:34.000000000 +0300
@@ -28,14 +28,17 @@
AC_CHECK_LIB(gnugetopt, getopt_long)
AM_CONDITIONAL(WITH_MP4V2, false)
+AM_CONDITIONAL(WITH_EXTERNAL_MP4V2, false)
AC_CHECK_DECLS([MP4Create, MP4MetadataDelete],
AC_CHECK_LIB(mp4v2, MP4MetadataDelete, external_mp4v2=yes,
external_mp4v2=no, -lstdc++),
- external_mp4v2=no, [#include <mp4.h>])
+ external_mp4v2=no, [#include <mp4v2/mp4v2.h>])
if test x$external_mp4v2 = xyes; then
AC_MSG_NOTICE([*** Building with external mp4v2 ***])
+ MY_DEFINE(HAVE_LIBMP4V2)
+ AM_CONDITIONAL(WITH_EXTERNAL_MP4V2, true)
else
if test x$WITHMP4V2 = xyes; then
AC_MSG_NOTICE([*** Building with internal mp4v2 ***])
diff -ur faac-1.28.orig/frontend/main.c faac-1.28/frontend/main.c
--- faac-1.28.orig/frontend/main.c 2009-01-24 03:10:20.000000000 +0200
+++ faac-1.28/frontend/main.c 2009-07-10 13:22:18.000000000 +0300
@@ -30,7 +30,7 @@
#endif
#ifdef HAVE_LIBMP4V2
-# include <mp4.h>
+# include <mp4v2/mp4v2.h>
#endif
#define DEFAULT_TNS 0
diff -ur faac-1.28.orig/frontend/Makefile.am faac-1.28/frontend/Makefile.am
--- faac-1.28.orig/frontend/Makefile.am 2008-12-16 02:56:00.000000000 +0200
+++ faac-1.28/frontend/Makefile.am 2009-07-10 13:21:55.000000000 +0300
@@ -8,5 +8,9 @@
LDADD = $(top_builddir)/libfaac/libfaac.la $(top_srcdir)/common/mp4v2/libmp4v2.a -lm -lstdc++
else
INCLUDES = -I$(top_srcdir)/include
+if WITH_EXTERNAL_MP4V2
+LDADD = $(top_builddir)/libfaac/libfaac.la -lm -lmp4v2
+else
LDADD = $(top_builddir)/libfaac/libfaac.la -lm
endif
+endif
@@ -0,0 +1,138 @@
http://bugs.gentoo.org/397575
http://sourceforge.net/tracker/?func=detail&aid=3476707&group_id=704&atid=100704
--- configure.in
+++ configure.in
@@ -33,8 +33,8 @@ AC_CHECK_LIB(gnugetopt, getopt_long)
AM_CONDITIONAL(WITH_MP4V2, false)
AM_CONDITIONAL(WITH_EXTERNAL_MP4V2, false)
-AC_CHECK_DECLS([MP4Create, MP4MetadataDelete],
- AC_CHECK_LIB(mp4v2, MP4MetadataDelete, external_mp4v2=yes,
+AC_CHECK_DECLS([MP4Create],
+ AC_CHECK_LIB(mp4v2, MP4Create, external_mp4v2=yes,
external_mp4v2=no, -lstdc++),
external_mp4v2=no, [#include <mp4v2/mp4v2.h>])
@@ -42,6 +42,7 @@ if test x$external_mp4v2 = xyes; then
AC_MSG_NOTICE([*** Building with external mp4v2 ***])
MY_DEFINE(HAVE_EXTERNAL_LIBMP4V2)
AM_CONDITIONAL(WITH_EXTERNAL_MP4V2, true)
+ AC_CHECK_DECLS([MP4TagsAlloc], [], [], [#include <mp4v2/mp4v2.h>])
else
if test x$WITHMP4V2 = xyes; then
AC_MSG_NOTICE([*** Building with internal mp4v2 ***])
--- frontend/main.c
+++ frontend/main.c
@@ -873,8 +873,12 @@ int main(int argc, char *argv[])
if (!faacEncSetConfiguration(hEncoder, myFormat)) {
fprintf(stderr, "Unsupported output format!\n");
#ifdef HAVE_LIBMP4V2
+#ifdef MP4_CLOSE_DO_NOT_COMPUTE_BITRATE /* r479 fix */
+ if (container == MP4_CONTAINER) MP4Close(MP4hFile, 0);
+#else
if (container == MP4_CONTAINER) MP4Close(MP4hFile);
#endif
+#endif
return 1;
}
@@ -885,12 +889,10 @@ int main(int argc, char *argv[])
unsigned long ASCLength = 0;
char *version_string;
-#ifdef MP4_CREATE_EXTENSIBLE_FORMAT
- /* hack to compile against libmp4v2 >= 1.0RC3
- * why is there no version identifier in mp4.h? */
+#ifdef MP4_DETAILS_ERROR /* r453 fix */
MP4hFile = MP4Create(aacFileName, MP4_DETAILS_ERROR, 0);
#else
- MP4hFile = MP4Create(aacFileName, MP4_DETAILS_ERROR, 0, 0);
+ MP4hFile = MP4Create(aacFileName, 0);
#endif
if (!MP4_IS_VALID_FILE_HANDLE(MP4hFile)) {
fprintf(stderr, "Couldn't create output file %s\n", aacFileName);
@@ -905,12 +907,22 @@ int main(int argc, char *argv[])
free(ASC);
/* set metadata */
+#if HAVE_DECL_MP4TAGSALLOC
+ const MP4Tags* tags;
+ tags = MP4TagsAlloc();
+ MP4TagsFetch( tags, MP4hFile );
+#endif
version_string = malloc(strlen(faac_id_string) + 6);
strcpy(version_string, "FAAC ");
strcpy(version_string + 5, faac_id_string);
+#if !HAVE_DECL_MP4TAGSALLOC
MP4SetMetadataTool(MP4hFile, version_string);
+#else
+ MP4TagsSetEncodingTool(tags, version_string);
+#endif
free(version_string);
+#if !HAVE_DECL_MP4TAGSALLOC
if (artist) MP4SetMetadataArtist(MP4hFile, artist);
if (writer) MP4SetMetadataWriter(MP4hFile, writer);
if (title) MP4SetMetadataName(MP4hFile, title);
@@ -923,8 +935,40 @@ int main(int argc, char *argv[])
if (comment) MP4SetMetadataComment(MP4hFile, comment);
if (artSize) {
MP4SetMetadataCoverArt(MP4hFile, art, artSize);
+#else
+ if (artist) MP4TagsSetArtist(tags, artist);
+ if (writer) MP4TagsSetComposer(tags, writer);
+ if (title) MP4TagsSetName(tags, title);
+ if (album) MP4TagsSetAlbum(tags, album);
+ if (trackno > 0) {
+ MP4TagTrack tt;
+ tt.index = trackno;
+ tt.total = ntracks;
+ MP4TagsSetTrack(tags, &tt);
+ }
+ if (discno > 0) {
+ MP4TagDisk td;
+ td.index = discno;
+ td.total = ndiscs;
+ MP4TagsSetDisk(tags, &td);
+ }
+ if (compilation) MP4TagsSetCompilation(tags, compilation);
+ if (year) MP4TagsSetReleaseDate(tags, year);
+ if (genre) MP4TagsSetGenre(tags, genre);
+ if (comment) MP4TagsSetComments(tags, comment);
+ if (artSize) {
+ MP4TagArtwork mp4art;
+ mp4art.data = art;
+ mp4art.size = artSize;
+ mp4art.type = MP4_ART_UNDEFINED; // delegate typing to libmp4v2
+ MP4TagsAddArtwork( tags, &mp4art );
+#endif
free(art);
}
+#if HAVE_DECL_MP4TAGSALLOC
+ MP4TagsStore( tags, MP4hFile );
+ MP4TagsFree( tags );
+#endif
}
else
{
@@ -1141,11 +1185,19 @@ int main(int argc, char *argv[])
/* clean up */
if (container == MP4_CONTAINER)
{
+#ifdef MP4_CLOSE_DO_NOT_COMPUTE_BITRATE /* r479 fix */
+ MP4Close(MP4hFile, 0);
+#else
MP4Close(MP4hFile);
+#endif
if (optimizeFlag == 1)
{
fprintf(stderr, "\n\nMP4 format optimization... ");
+#ifdef MP4_DETAILS_ERROR /* r453 fix */
MP4Optimize(aacFileName, NULL, 0);
+#else
+ MP4Optimize(aacFileName, NULL);
+#endif
fprintf(stderr, "Done!");
}
} else
+80
View File
@@ -0,0 +1,80 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>faac</Name>
<Homepage>http://www.audiocoding.com/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>MPEG-4 audio codecs</Summary>
<Description>Free MPEG-4 audio codecs by AudioCoding.com.</Description>
<Archive sha1sum="d00b023a3642f81bb1fb13d962a65079121396ee" type="targz">mirrors://sourceforge/faac/faac-1.28.tar.gz</Archive>
<BuildDependencies>
<Dependency>libmp4v2-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">mp4v2-1.9.patch</Patch>
<Patch level="0">mp4v2-2.0.0.patch</Patch>
<Patch level="0">altivec.patch</Patch>
</Patches>
</Source>
<Package>
<Name>faac</Name>
<RuntimeDependencies>
<Dependency>libmp4v2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/faac</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>faac-devel</Name>
<Summary>Development files for faac</Summary>
<RuntimeDependencies>
<Dependency release="current">faac</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-12-14</Date>
<Version>1.28</Version>
<Comment>Rebuild.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-05-20</Date>
<Version>1.28</Version>
<Comment>Rebuild</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-23</Date>
<Version>1.28</Version>
<Comment>Rebuild</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2010-10-12</Date>
<Version>1.28</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>faac</Name>
<Summary xml:lang="tr">Özgür MPEG-4 ses codecleri</Summary>
</Source>
<Package>
<Name>faac-devel</Name>
<Summary xml:lang="tr">faac için geliştirme dosyaları</Summary>
</Package>
</PISI>
+41
View File
@@ -0,0 +1,41 @@
#!/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
from pisi.actionsapi import shelltools
WorkDir="gsm-1.0-pl13"
def setup():
multilib = " -m32" if get.buildTYPE() == "emul32" else ""
pisitools.dosed("Makefile", "pardusCC", "%s %s" % (get.CC(), multilib))
pisitools.dosed("Makefile", "pardusCFLAGS", "%s %s" % (get.CFLAGS(), multilib))
def build():
autotools.make()
def install():
if get.buildTYPE() == "emul32":
autotools.rawInstall("DESTDIR=%s bindir=/emul32 libdir=/usr/lib32" % get.installDIR())
pisitools.remove("/usr/lib32/libgsm.a")
return
else:
autotools.rawInstall("DESTDIR=%s bindir=/usr/bin" % get.installDIR())
for bin in ["tcat","untoast"]:
pisitools.remove("/usr/bin/%s" % bin)
pisitools.dosym("toast", "/usr/bin/%s" % bin)
# Move gsm.h out of gsm subdir
# pisitools.insinto("/usr/include","inc/gsm.h")
# pisitools.removeDir("/usr/include/gsm")
# No static libs
pisitools.remove("/usr/lib/libgsm.a")
pisitools.dodoc("ChangeLog", "COPYRIGHT", "MACHINES", "MANIFEST", "README")
@@ -0,0 +1,33 @@
--- Makefile~ 2007-01-16 17:18:52.000000000 +0100
+++ Makefile 2007-01-16 17:28:12.000000000 +0100
@@ -249,6 +249,9 @@
$(DESTDIR)$(libdir)/libgsm.a \
$(DESTDIR)$(libdir)/libgsm.so \
$(DESTDIR)$(includedir)/gsm/gsm.h \
+ $(DESTDIR)$(includedir)/gsm/private.h \
+ $(DESTDIR)$(includedir)/gsm/unproto.h \
+ $(DESTDIR)$(includedir)/gsm/proto.h \
$(DESTDIR)$(mandir)/man3/gsm.3 \
$(DESTDIR)$(mandir)/man3/gsm_explode.3 \
$(DESTDIR)$(mandir)/man3/gsm_option.3 \
@@ -380,6 +383,20 @@
-rm $(RMFLAGS) $@
-mkdir -p $(DESTDIR)$(includedir)/gsm/
install -m0444 $? $@
+$(DESTDIR)$(includedir)/gsm/private.h: $(INC)/private.h
+ -rm $(RMFLAGS) $@
+ -mkdir -p $(DESTDIR)$(includedir)/gsm/
+ -install -m0444 $? $@
+
+$(DESTDIR)$(includedir)/gsm/proto.h: $(INC)/proto.h
+ -rm $(RMFLAGS) $@
+ -mkdir -p $(DESTDIR)$(includedir)/gsm/
+ -install -m0444 $? $@
+$(DESTDIR)$(includedir)/gsm/unproto.h: $(INC)/unproto.h
+ -rm $(RMFLAGS) $@
+ -mkdir -p $(DESTDIR)$(includedir)/gsm/
+ -install -m0444 $? $@
+
$(DESTDIR)$(libdir)/libgsm.a: $(LIBGSM)
-rm $(RMFLAGS) $@
@@ -0,0 +1,26 @@
--- gsm-1.0-pl10/src/code.c.includes 1996-07-02 16:32:36.000000000 +0200
+++ gsm-1.0-pl10/src/code.c 2004-04-14 14:25:50.000000000 +0200
@@ -7,6 +7,7 @@
/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/code.c,v 1.3 1996/07/02 09:59:05 jutta Exp $ */
#include "config.h"
+#include <string.h>
#ifdef HAS_STDLIB_H
--- gsm-1.0-pl10/src/toast.c.includes 1996-07-02 16:32:55.000000000 +0200
+++ gsm-1.0-pl10/src/toast.c 2004-04-14 14:31:22.000000000 +0200
@@ -6,7 +6,13 @@
/* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/toast.c,v 1.8 1996/07/02 10:41:04 jutta Exp $ */
+#define _BSD_SOURCE
+#define _GNU_SOURCE
#include "toast.h"
+#include <stdio.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
/* toast -- lossy sound compression using the gsm library.
*/
@@ -0,0 +1,301 @@
--- Makefile 1996-07-02 16:36:06.000000000 +0200
+++ Makefile.oden 2004-09-11 17:39:00.308986936 +0200
@@ -30,6 +30,10 @@
######### define this, and read about the GSM_OPT_WAV49 option in the
######### manual page on gsm_option(3).
+PG =
+#PG = -g -pg
+######### Profiling flags. If you don't know what that means, leave it blank
+
# Choose a compiler. The code works both with ANSI and K&R-C.
# Use -DNeedFunctionPrototypes to compile with, -UNeedFunctionPrototypes to
# compile without, function prototypes in the header files.
@@ -44,7 +48,7 @@
# CCFLAGS = -c -O
CC = gcc -ansi -pedantic
-CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1
+CCFLAGS = -c $(RPM_OPT_FLAGS) -fPIC -D_REENTRANT -DNeedFunctionPrototypes=1
LD = $(CC)
@@ -64,43 +68,27 @@
# LDLIB = -lgcc
######### Additional libraries needed by $(LD)
-
-# Where do you want to install libraries, binaries, a header file
-# and the manual pages?
-#
-# Leave INSTALL_ROOT empty (or just don't execute "make install") to
-# not install gsm and toast outside of this directory.
-
-INSTALL_ROOT =
-
# Where do you want to install the gsm library, header file, and manpages?
#
-# Leave GSM_INSTALL_ROOT empty to not install the GSM library outside of
+# Leave DESTDIR empty to not install the GSM library outside of
# this directory.
-GSM_INSTALL_ROOT = $(INSTALL_ROOT)
-GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib
-GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/inc
-GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3
+DESTDIR =
-
-# Where do you want to install the toast binaries and their manpage?
-#
-# Leave TOAST_INSTALL_ROOT empty to not install the toast binaries outside
-# of this directory.
-
-TOAST_INSTALL_ROOT = $(INSTALL_ROOT)
-TOAST_INSTALL_BIN = $(TOAST_INSTALL_ROOT)/bin
-TOAST_INSTALL_MAN = $(TOAST_INSTALL_ROOT)/man/man1
+prefix = /usr
+libdir = $(prefix)/lib
+includedir = $(prefix)/include
+datadir = $(prefix)/share
+mandir = $(datadir)/man
# Other tools
SHELL = /bin/sh
-LN = ln
+LN = ln -s
BASENAME = basename
AR = ar
ARFLAGS = cr
-RMFLAGS =
+RMFLAGS = -f
FIND = find
COMPRESS = compress
COMPRESSFLAGS =
@@ -129,17 +117,18 @@
# DEBUG = -DNDEBUG
######### Remove -DNDEBUG to enable assertions.
-CFLAGS = $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \
+CFLAGS = $(PG) $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \
$(WAV49) $(CCINC) -I$(INC)
######### It's $(CC) $(CFLAGS)
-LFLAGS = $(LDFLAGS) $(LDINC)
+LFLAGS = $(PG) $(LDFLAGS) $(LDINC)
######### It's $(LD) $(LFLAGS)
# Targets
LIBGSM = $(LIB)/libgsm.a
+LIBGSMSO = $(LIB)/libgsm.so
TOAST = $(BIN)/toast
UNTOAST = $(BIN)/untoast
@@ -257,18 +246,19 @@
# Install targets
GSM_INSTALL_TARGETS = \
- $(GSM_INSTALL_LIB)/libgsm.a \
- $(GSM_INSTALL_INC)/gsm.h \
- $(GSM_INSTALL_MAN)/gsm.3 \
- $(GSM_INSTALL_MAN)/gsm_explode.3 \
- $(GSM_INSTALL_MAN)/gsm_option.3 \
- $(GSM_INSTALL_MAN)/gsm_print.3
+ $(DESTDIR)$(libdir)/libgsm.a \
+ $(DESTDIR)$(libdir)/libgsm.so \
+ $(DESTDIR)$(includedir)/gsm/gsm.h \
+ $(DESTDIR)$(mandir)/man3/gsm.3 \
+ $(DESTDIR)$(mandir)/man3/gsm_explode.3 \
+ $(DESTDIR)$(mandir)/man3/gsm_option.3 \
+ $(DESTDIR)$(mandir)/man3/gsm_print.3
TOAST_INSTALL_TARGETS = \
- $(TOAST_INSTALL_BIN)/toast \
- $(TOAST_INSTALL_BIN)/tcat \
- $(TOAST_INSTALL_BIN)/untoast \
- $(TOAST_INSTALL_MAN)/toast.1
+ $(DESTDIR)$(bindir)/toast \
+ $(DESTDIR)$(bindir)/tcat \
+ $(DESTDIR)$(bindir)/untoast \
+ $(DESTDIR)$(mandir)/man1/toast.1
# Default rules
@@ -279,7 +269,7 @@
# Target rules
-all: $(LIBGSM) $(TOAST) $(TCAT) $(UNTOAST)
+all: $(LIBGSM) $(LIBGSMSO) $(TOAST) $(TCAT) $(UNTOAST)
@-echo $(ROOT): Done.
tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result
@@ -299,24 +289,28 @@
# The basic API: libgsm
+$(LIBGSMSO): $(LIB) $(GSM_OBJECTS)
+ $(LD) -o $@.1.0.10 -shared -Xlinker -soname -Xlinker libgsm.so.1 $(GSM_OBJECTS) -lc
+ ln -fs libgsm.so.1.0.10 lib/libgsm.so.1
+ ln -fs libgsm.so.1.0.10 lib/libgsm.so
+
$(LIBGSM): $(LIB) $(GSM_OBJECTS)
-rm $(RMFLAGS) $(LIBGSM)
$(AR) $(ARFLAGS) $(LIBGSM) $(GSM_OBJECTS)
$(RANLIB) $(LIBGSM)
-
# Toast, Untoast and Tcat -- the compress-like frontends to gsm.
-$(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIBGSM)
- $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSM) $(LDLIB)
+$(TOAST): $(BIN) $(TOAST_OBJECTS) $(LIBGSMSO)
+ $(LD) $(LFLAGS) -o $(TOAST) $(TOAST_OBJECTS) $(LIBGSMSO) $(LDLIB)
$(UNTOAST): $(BIN) $(TOAST)
-rm $(RMFLAGS) $(UNTOAST)
- $(LN) $(TOAST) $(UNTOAST)
+ $(LN) toast $(UNTOAST)
$(TCAT): $(BIN) $(TOAST)
-rm $(RMFLAGS) $(TCAT)
- $(LN) $(TOAST) $(TCAT)
+ $(LN) toast $(TCAT)
# The local bin and lib directories
@@ -331,72 +325,71 @@
# Installation
gsminstall:
- -if [ x"$(GSM_INSTALL_ROOT)" != x ] ; then \
- make $(GSM_INSTALL_TARGETS) ; \
- fi
+ make $(GSM_INSTALL_TARGETS)
toastinstall:
- -if [ x"$(TOAST_INSTALL_ROOT)" != x ]; then \
- make $(TOAST_INSTALL_TARGETS); \
- fi
+ make $(TOAST_INSTALL_TARGETS)
gsmuninstall:
- -if [ x"$(GSM_INSTALL_ROOT)" != x ] ; then \
- rm $(RMFLAGS) $(GSM_INSTALL_TARGETS) ; \
- fi
+ rm $(RMFLAGS) $(GSM_INSTALL_TARGETS)
toastuninstall:
- -if [ x"$(TOAST_INSTALL_ROOT)" != x ] ; then \
- rm $(RMFLAGS) $(TOAST_INSTALL_TARGETS); \
- fi
-
-$(TOAST_INSTALL_BIN)/toast: $(TOAST)
- -rm $@
- cp $(TOAST) $@
- chmod 755 $@
-
-$(TOAST_INSTALL_BIN)/untoast: $(TOAST_INSTALL_BIN)/toast
- -rm $@
- ln $? $@
-
-$(TOAST_INSTALL_BIN)/tcat: $(TOAST_INSTALL_BIN)/toast
- -rm $@
- ln $? $@
-
-$(TOAST_INSTALL_MAN)/toast.1: $(MAN)/toast.1
- -rm $@
- cp $? $@
- chmod 444 $@
-
-$(GSM_INSTALL_MAN)/gsm.3: $(MAN)/gsm.3
- -rm $@
- cp $? $@
- chmod 444 $@
-
-$(GSM_INSTALL_MAN)/gsm_option.3: $(MAN)/gsm_option.3
- -rm $@
- cp $? $@
- chmod 444 $@
-
-$(GSM_INSTALL_MAN)/gsm_explode.3: $(MAN)/gsm_explode.3
- -rm $@
- cp $? $@
- chmod 444 $@
-
-$(GSM_INSTALL_MAN)/gsm_print.3: $(MAN)/gsm_print.3
- -rm $@
- cp $? $@
- chmod 444 $@
-
-$(GSM_INSTALL_INC)/gsm.h: $(INC)/gsm.h
- -rm $@
- cp $? $@
- chmod 444 $@
-
-$(GSM_INSTALL_LIB)/libgsm.a: $(LIBGSM)
- -rm $@
- cp $? $@
- chmod 444 $@
+ rm $(RMFLAGS) $(TOAST_INSTALL_TARGETS)
+
+$(DESTDIR)$(bindir)/toast: $(TOAST)
+ -rm $(RMFLAGS) $@
+ -mkdir -p $(DESTDIR)$(bindir)
+ install -m0755 $(TOAST) $@
+
+$(DESTDIR)$(bindir)/untoast: $(DESTDIR)$(bindir)/toast
+ -rm $(RMFLAGS) $@
+ -mkdir -p $(DESTDIR)$(bindir)
+ ln -sf $(TOAST) $@
+
+$(DESTDIR)$(bindir)/tcat: $(DESTDIR)$(bindir)/toast
+ -rm $(RMFLAGS) $@
+ -mkdir -p $(DESTDIR)$(bindir)
+ ln -sf $(TOAST) $@
+
+$(DESTDIR)$(mandir)/man1/toast.1: $(MAN)/toast.1
+ -rm $(RMFLAGS) $@
+ -mkdir -p $(DESTDIR)$(mandir)/man1/
+ install -m0444 $? $@
+
+$(DESTDIR)$(mandir)/man3/gsm.3: $(MAN)/gsm.3
+ -rm $(RMFLAGS) $@
+ -mkdir -p $(DESTDIR)$(mandir)/man3/
+ install -m0444 $? $@
+
+$(DESTDIR)$(mandir)/man3/gsm_option.3: $(MAN)/gsm_option.3
+ -rm $(RMFLAGS) $@
+ -mkdir -p $(DESTDIR)$(mandir)/man3/
+ install -m0444 $? $@
+
+$(DESTDIR)$(mandir)/man3/gsm_explode.3: $(MAN)/gsm_explode.3
+ -rm $(RMFLAGS) $@
+ -mkdir -p $(DESTDIR)$(mandir)/man3/
+ install -m0444 $? $@
+
+$(DESTDIR)$(mandir)/man3/gsm_print.3: $(MAN)/gsm_print.3
+ -rm $(RMFLAGS) $@
+ -mkdir -p $(DESTDIR)$(mandir)/man3/
+ install -m0444 $? $@
+
+$(DESTDIR)$(includedir)/gsm/gsm.h: $(INC)/gsm.h
+ -rm $(RMFLAGS) $@
+ -mkdir -p $(DESTDIR)$(includedir)/gsm/
+ install -m0444 $? $@
+
+$(DESTDIR)$(libdir)/libgsm.a: $(LIBGSM)
+ -rm $(RMFLAGS) $@
+ -mkdir -p $(DESTDIR)$(libdir)
+ install -m0444 $? $@
+
+$(DESTDIR)$(libdir)/libgsm.so: $(LIBGSMSO)
+ -rm $(RMFLAGS) $@
+ -mkdir -p $(DESTDIR)$(libdir)
+ cp -av $?* $(DESTDIR)$(libdir)/
# Distribution
@@ -0,0 +1,10 @@
--- libgsm-1.0.10.orig/inc/toast.h
+++ libgsm-1.0.10/inc/toast.h
@@ -16,6 +16,7 @@
#include <stdio.h>
#include <ctype.h>
+#include <pthread.h>
#include <signal.h>
#include <errno.h>
@@ -0,0 +1,16 @@
diff -ur gsm-1.0-pl12.orig/inc/private.h gsm-1.0-pl12/inc/private.h
--- gsm-1.0-pl12.orig/inc/private.h 2006-04-26 22:17:01.000000000 +0300
+++ gsm-1.0-pl12/inc/private.h 2007-08-19 12:23:02.000000000 +0300
@@ -10,10 +10,10 @@
#define PRIVATE_H
typedef short word; /* 16 bit signed int */
-typedef long longword; /* 32 bit signed int */
+typedef int longword; /* 32 bit signed int */
typedef unsigned short uword; /* unsigned word */
-typedef unsigned long ulongword; /* unsigned longword */
+typedef unsigned int ulongword; /* unsigned longword */
struct gsm_state {
@@ -0,0 +1,14 @@
diff -Nur gsm-1.0-pl13-old/Makefile gsm-1.0-pl13/Makefile
--- gsm-1.0-pl13-old/Makefile 2010-02-15 15:25:07.747416137 +0200
+++ gsm-1.0-pl13/Makefile 2010-02-15 15:26:45.211541984 +0200
@@ -47,8 +47,8 @@
# CC = /usr/lang/acc
# CCFLAGS = -c -O
-CC = gcc -ansi -pedantic
-CCFLAGS = -c $(RPM_OPT_FLAGS) -fPIC -D_REENTRANT -DNeedFunctionPrototypes=1
+CC = pardusCC -ansi -pedantic
+CCFLAGS = -c pardusCFLAGS -fPIC -D_REENTRANT -DNeedFunctionPrototypes=1
LD = $(CC)
+96
View File
@@ -0,0 +1,96 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gsm</Name>
<Homepage>http://kbs.cs.tu-berlin.de/~jutta/toast.html</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>OSI-Approved</License>
<IsA>library</IsA>
<Summary>Lossy speech compression library and tool</Summary>
<Description>Gsm is an implementation of the final draft GSM 06.10 standard for full-rate speech transcoding</Description>
<Archive sha1sum="668b0a180039a50d379b3d5a22e78da4b1d90afc" type="targz">http://osxwinebuilder.googlecode.com/files/gsm-1.0.13.tar.gz</Archive>
<Patches>
<Patch level="1">gsm-1.0.10-dyn.patch</Patch>
<Patch level="1">gsm-1.0-pl10-includes.patch</Patch>
<Patch>gsm-1.0-pl10-shared.diff</Patch>
<Patch>gsm-1.0-pl10-add-includefile.patch</Patch>
<Patch level="1">pardusflags.patch</Patch>
<Patch level="1">gsm-1.0.12-64bit.patch</Patch>
</Patches>
</Source>
<Package>
<Name>gsm</Name>
<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/doc</Path>
</Files>
</Package>
<Package>
<Name>gsm-devel</Name>
<Summary>Development files for gsm</Summary>
<RuntimeDependencies>
<Dependency release="current">gsm</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<!-- FIXME: Remove this if not necessary -->
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<Package>
<Name>gsm-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for gsm</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>glibc-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">gsm</Dependency>
<Dependency>glibc-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-12-14</Date>
<Version>1.0.13</Version>
<Comment>Rebuild.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-05-21</Date>
<Version>1.0.13</Version>
<Comment>Rebuild.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-23</Date>
<Version>1.0.13</Version>
<Comment>Rebuild.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="1">
<Date>2011-05-04</Date>
<Version>1.0.13</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+20
View File
@@ -0,0 +1,20 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>gsm</Name>
<Summary xml:lang="tr">Kayıplı ses sıkıştırması kitaplığı ve araçları</Summary>
<Description xml:lang="tr">GSM, tam oranlı konuşma kod çevrimi için GSM 06.10 standardı son taslak uyarlamasıdır</Description>
<Description xml:lang="fr">Gsm est une implémentation du brouillon final du standard GSM 06.10 pour un transcodage audio à plein régime.</Description>
<Description xml:lang="es">Gsm es una implementación del estándar GSM 06.10 final draft de codificación de voz full-rate</Description>
</Source>
<Package>
<Name>gsm-devel</Name>
<Summary xml:lang="tr">gsm için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>gsm-32bit</Name>
<Summary xml:lang="tr">gsm için 32-bit paylaşımlı kitaplıklar</Summary>
</Package>
</PISI>
+37
View File
@@ -0,0 +1,37 @@
#!/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 libtools
from pisi.actionsapi import get
def setup():
autotools.configure("--prefix=/usr \
--enable-nasm \
--enable-shared \
--enable-mp3rtp \
--disable-static \
")
def build():
autotools.make()
def install():
autotools.rawInstall('DESTDIR="%s" pkghtmldir="/%s/%s/html"' % (get.installDIR(), get.docDIR(), get.srcNAME()))
pisitools.dodoc("API", "ChangeLog", "HACKING", "README*", "STYLEGUIDE", "TODO", "USAGE")
pisitools.dohtml("misc/*", "Dll/*")
pisitools.dobin("misc/mlame")
pisitools.remove("/usr/lib/libmp3lame.so")
pisitools.remove("/usr/lib/libmp3lame.so.0")
pisitools.dosym("/usr/lib/libmp3lame.so.0.0.0", "/usr/lib/libmp3lame.so")
pisitools.dosym("/usr/lib/libmp3lame.so.0.0.0", "/usr/lib/libmp3lame.so.0")
@@ -0,0 +1,16 @@
--- lame-3.96/configure.in.ccc 2004-04-11 10:45:19.000000000 -0400
+++ lame-3.96/configure.in 2004-07-26 18:32:21.000000000 -0400
@@ -915,11 +915,9 @@
alpha*-*-linux*)
################################################################
-#### Check if 'ccc' is in our path
+#### Check if we're using Compaq's C Compiler: 'ccc'
################################################################
-if test "`which ccc 2>/dev/null | grep -c ccc`" != "0" ; then
- # Compaq's C Compiler
- CC=ccc
+if test "`echo $CC | sed 's/.*\///'`" = ccc; then
################################################################
#### set 'OPTIMIZATION = -arch host -tune host'
@@ -0,0 +1,24 @@
diff -Nur lame-398-2-old/configure.in lame-398-2/configure.in
--- lame-398-2-old/configure.in 2009-04-23 02:12:46.000000000 +0300
+++ lame-398-2/configure.in 2009-04-23 02:15:06.000000000 +0300
@@ -385,7 +385,7 @@
dnl configure use of features
-AM_PATH_GTK(1.2.0, HAVE_GTK="yes", HAVE_GTK="no")
+HAVE_GTK=no
dnl ElectricFence malloc debugging
AC_MSG_CHECKING(use of ElectricFence malloc debugging)
diff -Nur lame-398-2-old/frontend/Makefile.am lame-398-2/frontend/Makefile.am
--- lame-398-2-old/frontend/Makefile.am 2009-04-23 02:12:46.000000000 +0300
+++ lame-398-2/frontend/Makefile.am 2009-04-23 02:14:07.000000000 +0300
@@ -51,7 +51,7 @@
mp3x_SOURCES = mp3x.c gtkanal.c gpkplotting.c $(common_sources)
endif
-CFLAGS = @CFLAGS@ @GTK_CFLAGS@ @FRONTEND_CFLAGS@ @SNDFILE_CFLAGS@
+CFLAGS = @CFLAGS@ @FRONTEND_CFLAGS@ @SNDFILE_CFLAGS@
LDFLAGS = @LDFLAGS@ @FRONTEND_LDFLAGS@ @SNDFILE_LIBS@
INCLUDES = -I$(top_srcdir)/libmp3lame -I$(top_srcdir)/include -I$(top_builddir)
+84
View File
@@ -0,0 +1,84 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>lame</Name>
<Homepage>http://lame.sourceforge.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>A free MP3 encoder/decoder</Summary>
<Description>LAME is an MPEG Audio Layer III (MP3) encoder licensed under the LGPL.</Description>
<Archive sha1sum="03a0bfa85713adcc6b3383c12e2cc68a9cfbf4c4" type="targz">mirrors://sourceforge/lame/lame-3.99.5.tar.gz</Archive>
<BuildDependencies>
<Dependency>ncurses-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>lame</Name>
<RuntimeDependencies>
<Dependency>ncurses</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>lame-docs</Name>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>lame-devel</Name>
<Summary>Development files for lame</Summary>
<RuntimeDependencies>
<Dependency release="current">lame</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<!-- FIXME: Remove this if not necessary -->
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-12-14</Date>
<Version>3.99.5</Version>
<Comment>Rebuild.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-05-21</Date>
<Version>3.99.5</Version>
<Comment>Rebuild</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-29</Date>
<Version>3.99.5</Version>
<Comment>Rebuild</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-31</Date>
<Version>3.99.5</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>lame</Name>
<Summary xml:lang="tr">MP3 ses çözümleme kütüphanesi</Summary>
<Description xml:lang="tr">Lame, Kısıtlı Genel Kamu lisansı altında lisanslanmış MPEG III(MP3) kod çözücüsüdür.</Description>
</Source>
<Package>
<Name>lame-devel</Name>
<Summary xml:lang="tr">lame için geliştirme dosyaları</Summary>
</Package>
</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/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure("--disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("README", "doc/*.txt")
+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>libmp4v2</Name>
<Homepage>http://code.google.com/p/mp4v2</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MPL-1.1</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>MPEG4 library</Summary>
<Description>MPEG4 library extracted from MPEG4IP, usually used in 3D sound systems.</Description>
<Archive sha1sum="193260cfb7201e6ec250137bcca1468d4d20e2f0" type="tarbz2">http://mp4v2.googlecode.com/files/mp4v2-2.0.0.tar.bz2</Archive>
<BuildDependencies>
<Dependency>libgcc</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libmp4v2</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/libmp4v2</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>libmp4v2-devel</Name>
<Summary>Development files for libmp4v2</Summary>
<RuntimeDependencies>
<Dependency release="current">libmp4v2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-05-20</Date>
<Version>2.0.0</Version>
<Comment>Rebuild.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-31</Date>
<Version>2.0.0</Version>
<Comment>Rebuild</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-14</Date>
<Version>2.0.0</Version>
<Comment>First release</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,15 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libmp4v2</Name>
<Summary xml:lang="tr">MPEG4 kütüphanesi</Summary>
<Description xml:lang="tr">Genellikle 3B ses işleme uygulamalarında kullanılan, MPEG4IP yazılımının parçası olan MPEG4 kütüphanesi.</Description>
<Description xml:lang="fr">Librairie MPEG4 extraite de MPEG4IP, habituellement utilisée dans les sytèmes de son 3D.</Description>
<Description xml:lang="es">Librería MPEG4 parte de MPEG4IP, comúnmente utilizado en sistemas de sonido 3D.</Description>
</Source>
<Package>
<Name>libmp4v2-devel</Name>
<Summary xml:lang="tr">libmp4v2 için geliştirme dosyaları</Summary>
</Package>
</PISI>
+55
View File
@@ -0,0 +1,55 @@
#!/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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
verMAJOR = "0"
verMINOR = "0"
staticlibfile = "/usr/lib/libx264.a"
pisitools.cflags.sub("-O[\ds]", "-O3")
def getMinorVersion():
f = file("x264.h").read()
for i in f.split("\n"):
if i.startswith("#define X264_BUILD"):
return i.split()[-1]
return "0"
def setup():
shelltools.export("CFLAGS", "%s -O3" % get.CFLAGS())
# force using shared gpac
pisitools.dosed("configure", "-lgpac_static", "-lgpac")
# these disables are here to prevent circular deps, especially with ffmpeg
autotools.rawConfigure("--prefix=/usr \
--enable-pic \
--enable-shared \
--disable-avs \
--disable-ffms \
--disable-lavf \
--disable-swscale \
--bit-depth=10 \
")
def build():
autotools.make()
def install():
autotools.install()
#verMINOR = getMinorVersion()
#pisitools.dosym("libx264.so.%s.%s" % (verMAJOR, verMINOR), "/usr/lib/libx264.so.%s" % verMAJOR)
# No static libs
if shelltools.isFile("%s/%s" % (get.installDIR(), staticlibfile)):
pisitools.remove(staticlibfile)
+87
View File
@@ -0,0 +1,87 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>x264</Name>
<Homepage>http://developers.videolan.org/x264.html</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>Open source H264/AVC encoder</Summary>
<Description>x264 is a free library for encoding H264/AVC video streams.</Description>
<!-- Archives come from http://download.videolan.org/pub/videolan/x264/snapshots/ -->
<Archive sha1sum="4c1ef4fdaf22a40f23dc6dafb0eda6b45b0c4ba0" type="tarbz2">ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20141201-2245.tar.bz2</Archive>
<BuildDependencies>
<Dependency>yasm-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>x264</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<Package>
<Name>x264-devel</Name>
<Summary>Development files for x264</Summary>
<RuntimeDependencies>
<Dependency release="current">x264</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2014-12-02</Date>
<Version>2245</Version>
<Comment>Version bump</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-06-18</Date>
<Version>2245</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-04-05</Date>
<Version>0.0_20140404</Version>
<Comment>Version bump</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-02-17</Date>
<Version>0.0_20130705</Version>
<Comment>Rebuild.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-07-06</Date>
<Version>0.0_20130705</Version>
<Comment>Version bump</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-09-30</Date>
<Version>0.0_20120929</Version>
<Comment>First release</Comment>
<Name>Erdem Artan</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>x264</Name>
<Summary xml:lang="tr">Açık kaynak kodlu H264/AVC çözücü</Summary>
<Description xml:lang="tr">x264 H264/AVC görüntü dosyalarını açmak için kullanılan bir kütüphane</Description>
</Source>
<Package>
<Name>x264-devel</Name>
<Summary xml:lang="tr">x264 için geliştirme dosyaları</Summary>
</Package>
</PISI>