Merge pull request #109 from ayhanyalcinsoy/master
some of gstreamer family
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf("-vfi")
|
||||
autotools.configure("\
|
||||
--disable-static \
|
||||
--with-pic \
|
||||
--enable-introspection=yes \
|
||||
--enable-cairo=yes \
|
||||
--enable-gdk-pixbuf=yes \
|
||||
--enable-cogl-pango=yes \
|
||||
--enable-glx=yes \
|
||||
--enable-gles1=yes \
|
||||
--enable-gles2=yes \
|
||||
--enable-wayland-egl-platform \
|
||||
--enable-wayland-egl-server \
|
||||
")
|
||||
|
||||
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.dodoc("COPYING", "README")
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,128 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cogl</Name>
|
||||
<Homepage>http://developer.gnome.org/cogl</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A low level OpenGL abstraction library</Summary>
|
||||
<Description>Cogl is a low level OpenGL abstraction library developed for (and part of) Clutter.</Description>
|
||||
<Archive sha1sum="46a0bfca30c440ad4b6a7b07ed7aa3e643d57401" type="tarxz">mirrors://gnome/cogl/1.20/cogl-1.20.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>mesa-devel</Dependency>
|
||||
<Dependency>libdrm-devel</Dependency>
|
||||
<Dependency>pango-devel</Dependency>
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<Dependency>libXrandr-devel</Dependency>
|
||||
<Dependency>libXdamage-devel</Dependency>
|
||||
<Dependency>libXcomposite-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>cogl</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>mesa</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>libXfixes</Dependency>
|
||||
<Dependency>libXrandr</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>libXdamage</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>cogl-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>mesa-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<Dependency>libXfixes-devel</Dependency>
|
||||
<Dependency>libXrandr-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency>libXdamage-devel</Dependency>
|
||||
<Dependency>libXcomposite-devel</Dependency>
|
||||
<Dependency release="current">cogl</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="8">
|
||||
<Date>2015-04-18</Date>
|
||||
<Version>1.20.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2014-06-14</Date>
|
||||
<Version>1.18.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2013-10-11</Date>
|
||||
<Version>1.16.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-07-31</Date>
|
||||
<Version>1.14.0</Version>
|
||||
<Comment>Rebuild, fix deps.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-06-15</Date>
|
||||
<Version>1.14.0</Version>
|
||||
<Comment>Rebuild with new configure args</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-05-11</Date>
|
||||
<Version>1.14.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-04-23</Date>
|
||||
<Version>1.12.0</Version>
|
||||
<Comment>Dep fixed</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-24</Date>
|
||||
<Version>1.12.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cogl</Name>
|
||||
<Summary xml:lang="en">A low level OpenGL abstraction library</Summary>
|
||||
<Description xml:lang="en">Cogl is a low level OpenGL abstraction library developed for (and part of) Clutter.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>cogl-devel</Name>
|
||||
<Summary xml:lang="tr">cogl için geliştirme dosyaları.</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>desktop.gnome2</Name>
|
||||
</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
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
dirs = ["/usr/share/doc", "/usr/share/devhelp"]
|
||||
for dir in dirs:
|
||||
pisitools.removeDir(dir)
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
|
||||
@@ -0,0 +1,98 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>glibmm</Name>
|
||||
<Homepage>http://gtkmm.sourceforge.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>C++ interface for glib2</Summary>
|
||||
<Description>Glibmm is the official C++ interface for the popular GUI library GTK+. Highlights include typesafe callbacks and a comprehensive set of widgets that are easily extensible via inheritance.</Description>
|
||||
<Archive sha1sum="aa152d6f19bde44cd528b88f089c53913d0cd0ea" type="tarxz">mirrors://gnome/glibmm/2.44/glibmm-2.44.0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libsigc++-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>pkgconfig</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>glibmm</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libsigc++</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>glibmm-devel</Name>
|
||||
<Summary>Development files for glibmm</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">glibmm</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>libsigc++-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/glibmm-*</Path>
|
||||
<Path fileType="data">/usr/lib/giomm-*</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/share/aclocal</Path>
|
||||
<Path fileType="data">/usr/share/glibmm-*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2015-07-21</Date>
|
||||
<Version>2.44.0</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-05-18</Date>
|
||||
<Version>2.40.0</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-12-23</Date>
|
||||
<Version>2.38.0</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Burak Fazıl Ertürk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-10-29</Date>
|
||||
<Version>2.36.2</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-14</Date>
|
||||
<Version>2.36.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-12-22</Date>
|
||||
<Version>2.34.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>glibmm</Name>
|
||||
<Summary xml:lang="tr">glib2 kitaplığı için C++ programlama dili arayüzü</Summary>
|
||||
<Description xml:lang="tr">Glibmm, ünlü GUI kitaplığı GTK+ için resmi C++ arayüzüdür. Önemli özelliklerinin arasında tip bağımsız çağırmalar ve miras ile genişleyebilen uyumlu parçacıklar vardır.</Description>
|
||||
<Description xml:lang="fr">Glibmm est l'interface officielle C++ pour la librairie IHM populaire GTK+. Au menu des callbacks (rappels) typesafe (avec vérification de type à la compilation) ainsi qu'un ensemble large et complet de widgets (objets graphiques) facilement extensible via héritage.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>glibmm-devel</Name>
|
||||
<Summary xml:lang="tr">glibmm için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -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
|
||||
|
||||
WorkDir = "ORBit2-%s" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static")
|
||||
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make("-j1")
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "NEWS", "README", "TODO")
|
||||
@@ -0,0 +1,23 @@
|
||||
--- ORBit2-2.14.19/linc2/src/Makefile.am.depr 2013-03-15 09:24:45.384143557 -0400
|
||||
+++ ORBit2-2.14.19/linc2/src/Makefile.am 2013-03-15 09:24:55.172144088 -0400
|
||||
@@ -12,8 +12,7 @@
|
||||
-I$(top_builddir)/linc2/include \
|
||||
-I$(top_srcdir)/linc2/include \
|
||||
$(LINC_CFLAGS) \
|
||||
- $(WARN_CFLAGS) \
|
||||
- -DG_DISABLE_DEPRECATED
|
||||
+ $(WARN_CFLAGS)
|
||||
|
||||
if OS_WIN32
|
||||
else
|
||||
--- ORBit2-2.14.19/linc2/src/Makefile.in.depr 2013-03-15 09:24:45.943143588 -0400
|
||||
+++ ORBit2-2.14.19/linc2/src/Makefile.in 2013-03-15 09:25:08.333144801 -0400
|
||||
@@ -244,7 +244,7 @@
|
||||
# -I$(top_srcdir)/include
|
||||
INCLUDES = -I$(top_builddir)/linc2/include \
|
||||
-I$(top_srcdir)/linc2/include $(LINC_CFLAGS) $(WARN_CFLAGS) \
|
||||
- -DG_DISABLE_DEPRECATED $(am__append_1)
|
||||
+ $(am__append_1)
|
||||
liblinc_la_SOURCES = \
|
||||
linc.c \
|
||||
linc-connection.c \
|
||||
@@ -0,0 +1,96 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>orbit2</Name>
|
||||
<Homepage>http://www.gnome.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>High-performance CORBA ORB</Summary>
|
||||
<Description>Orbit2 allows to communication between two programs objects.</Description>
|
||||
<Archive sha1sum="e7c26aa4b82c146b3ec08d490e3469b4913e4e2f" type="tarbz2">mirrors://gnome/ORBit2/2.14/ORBit2-2.14.19.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libIDL-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">fedora/ORBit2-allow-deprecated.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>orbit2</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libIDL</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/idl</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>orbit2-devel</Name>
|
||||
<Summary>Development files for orbit2</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">orbit2</Dependency>
|
||||
<Dependency>libIDL-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin/orbit2-config</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/*.a</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/share/aclocal</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>orbit2-docs</Name>
|
||||
<IsA>data:doc</IsA>
|
||||
<Summary>ORBit2 reference documents</Summary>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/gtk-doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-05-21</Date>
|
||||
<Version>2.14.19</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-10-29</Date>
|
||||
<Version>2.14.19</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-08-26</Date>
|
||||
<Version>2.14.19</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-12-22</Date>
|
||||
<Version>2.14.19</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>orbit2</Name>
|
||||
<Summary xml:lang="tr">Yüksek performanslı CORBA ORB</Summary>
|
||||
<Description xml:lang="tr">Orbit2 iki program nesneleri arasındaki iletişimi sağlar.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>orbit2-docs</Name>
|
||||
<Summary xml:lang="tr">Orbit2 referans dökümanları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>orbit2-devel</Name>
|
||||
<Summary xml:lang="tr">orbit2 için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/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-egl-backend \
|
||||
--enable-evdev-input \
|
||||
--enable-introspection \
|
||||
--disable-static \
|
||||
--enable-shared ")
|
||||
|
||||
pisitools.dosed("libtool"," -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall('DESTDIR=%s INSTALL="install -p -c"' % get.installDIR())
|
||||
|
||||
pisitools.dodoc("ChangeLog*", "COPYING", "README*", "NEWS")
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
From 084dc49a0cdadeed7de896df81e9af536f2ab678 Mon Sep 17 00:00:00 2001
|
||||
From: Rico Tzschichholz <ricotz@ubuntu.com>
|
||||
Date: Thu, 2 Oct 2014 09:27:36 +0200
|
||||
Subject: x11: Add missing closure annotation to ClutterX11FilterFunc
|
||||
|
||||
|
||||
diff --git a/clutter/x11/clutter-x11.h b/clutter/x11/clutter-x11.h
|
||||
index b0ab8a1..285ea51 100644
|
||||
--- a/clutter/x11/clutter-x11.h
|
||||
+++ b/clutter/x11/clutter-x11.h
|
||||
@@ -85,7 +85,7 @@ typedef struct _ClutterX11XInputDevice ClutterX11XInputDevice;
|
||||
* ClutterX11FilterFunc:
|
||||
* @xev: Native X11 event structure
|
||||
* @cev: Clutter event structure
|
||||
- * @data: user data passed to the filter function
|
||||
+ * @data: (closure): user data passed to the filter function
|
||||
*
|
||||
* Filter function for X11 native events.
|
||||
*
|
||||
--
|
||||
cgit v0.10.1
|
||||
@@ -0,0 +1,196 @@
|
||||
Submitted By: Armin K. <krejzi at email dot com>
|
||||
Date: 2014-07-22
|
||||
Initial Package Version: 1.18.2
|
||||
Upstream Status: Fixed
|
||||
Origin: Upstream
|
||||
Description: Fixes building with libinput-0.4.0
|
||||
|
||||
--- a/clutter/evdev/clutter-device-manager-evdev.c 2014-04-02 19:48:36.000000000 +0200
|
||||
+++ b/clutter/evdev/clutter-device-manager-evdev.c 2014-07-01 19:05:00.136732530 +0200
|
||||
@@ -375,8 +375,8 @@
|
||||
static void
|
||||
notify_relative_motion (ClutterInputDevice *input_device,
|
||||
guint32 time_,
|
||||
- li_fixed_t dx,
|
||||
- li_fixed_t dy)
|
||||
+ double dx,
|
||||
+ double dy)
|
||||
{
|
||||
gfloat new_x, new_y;
|
||||
ClutterInputDeviceEvdev *device_evdev;
|
||||
@@ -391,17 +391,9 @@
|
||||
device_evdev = CLUTTER_INPUT_DEVICE_EVDEV (input_device);
|
||||
seat = _clutter_input_device_evdev_get_seat (device_evdev);
|
||||
|
||||
- /* Append previously discarded fraction. */
|
||||
- dx += device_evdev->dx_frac;
|
||||
- dy += device_evdev->dy_frac;
|
||||
-
|
||||
clutter_input_device_get_coords (seat->core_pointer, NULL, &point);
|
||||
- new_x = point.x + li_fixed_to_int (dx);
|
||||
- new_y = point.y + li_fixed_to_int (dy);
|
||||
-
|
||||
- /* Save the discarded fraction part for next motion event. */
|
||||
- device_evdev->dx_frac = (dx < 0 ? -1 : 1) * (0xff & dx);
|
||||
- device_evdev->dy_frac = (dy < 0 ? -1 : 1) * (0xff & dy);
|
||||
+ new_x = point.x + dx;
|
||||
+ new_y = point.y + dy;
|
||||
|
||||
notify_absolute_motion (input_device, time_, new_x, new_y);
|
||||
}
|
||||
@@ -988,7 +980,7 @@
|
||||
time = libinput_event_keyboard_get_time (key_event);
|
||||
key = libinput_event_keyboard_get_key (key_event);
|
||||
key_state = libinput_event_keyboard_get_key_state (key_event) ==
|
||||
- LIBINPUT_KEYBOARD_KEY_STATE_PRESSED;
|
||||
+ LIBINPUT_KEY_STATE_PRESSED;
|
||||
notify_key_device (device, time, key, key_state, TRUE);
|
||||
|
||||
break;
|
||||
@@ -997,7 +989,7 @@
|
||||
case LIBINPUT_EVENT_POINTER_MOTION:
|
||||
{
|
||||
guint32 time;
|
||||
- li_fixed_t dx, dy;
|
||||
+ double dx, dy;
|
||||
struct libinput_event_pointer *motion_event =
|
||||
libinput_event_get_pointer_event (event);
|
||||
device = libinput_device_get_user_data (libinput_device);
|
||||
@@ -1013,7 +1005,7 @@
|
||||
case LIBINPUT_EVENT_POINTER_MOTION_ABSOLUTE:
|
||||
{
|
||||
guint32 time;
|
||||
- li_fixed_t x, y;
|
||||
+ double x, y;
|
||||
gfloat stage_width, stage_height;
|
||||
ClutterStage *stage;
|
||||
struct libinput_event_pointer *motion_event =
|
||||
@@ -1032,10 +1024,7 @@
|
||||
stage_width);
|
||||
y = libinput_event_pointer_get_absolute_y_transformed (motion_event,
|
||||
stage_height);
|
||||
- notify_absolute_motion (device,
|
||||
- time,
|
||||
- li_fixed_to_double(x),
|
||||
- li_fixed_to_double(y));
|
||||
+ notify_absolute_motion (device, time, x, y);
|
||||
|
||||
break;
|
||||
}
|
||||
@@ -1050,7 +1039,7 @@
|
||||
time = libinput_event_pointer_get_time (button_event);
|
||||
button = libinput_event_pointer_get_button (button_event);
|
||||
button_state = libinput_event_pointer_get_button_state (button_event) ==
|
||||
- LIBINPUT_POINTER_BUTTON_STATE_PRESSED;
|
||||
+ LIBINPUT_BUTTON_STATE_PRESSED;
|
||||
notify_button (device, time, button, button_state);
|
||||
|
||||
break;
|
||||
@@ -1066,18 +1055,17 @@
|
||||
device = libinput_device_get_user_data (libinput_device);
|
||||
|
||||
time = libinput_event_pointer_get_time (axis_event);
|
||||
- value = li_fixed_to_double (
|
||||
- libinput_event_pointer_get_axis_value (axis_event));
|
||||
+ value = libinput_event_pointer_get_axis_value (axis_event);
|
||||
axis = libinput_event_pointer_get_axis (axis_event);
|
||||
|
||||
switch (axis)
|
||||
{
|
||||
- case LIBINPUT_POINTER_AXIS_VERTICAL_SCROLL:
|
||||
+ case LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL:
|
||||
dx = 0;
|
||||
dy = value;
|
||||
break;
|
||||
|
||||
- case LIBINPUT_POINTER_AXIS_HORIZONTAL_SCROLL:
|
||||
+ case LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL:
|
||||
dx = value;
|
||||
dy = 0;
|
||||
break;
|
||||
@@ -1178,7 +1166,7 @@
|
||||
struct udev *udev;
|
||||
|
||||
udev = udev_new ();
|
||||
- if (!udev)
|
||||
+ if (G_UNLIKELY (udev == NULL))
|
||||
{
|
||||
g_warning ("Failed to create udev object");
|
||||
return;
|
||||
@@ -1187,18 +1175,25 @@
|
||||
manager_evdev = CLUTTER_DEVICE_MANAGER_EVDEV (gobject);
|
||||
priv = manager_evdev->priv;
|
||||
|
||||
- priv->libinput = libinput_udev_create_for_seat (&libinput_interface,
|
||||
- manager_evdev,
|
||||
- udev,
|
||||
- "seat0");
|
||||
- udev_unref (udev);
|
||||
+ priv->libinput = libinput_udev_create_context (&libinput_interface,
|
||||
+ manager_evdev,
|
||||
+ udev);
|
||||
+ if (priv->libinput == NULL)
|
||||
+ {
|
||||
+ g_critical ("Failed to create the libinput object.");
|
||||
+ return;
|
||||
+ }
|
||||
|
||||
- if (!priv->libinput)
|
||||
+ if (libinput_udev_assign_seat (priv->libinput, "seat0") == -1)
|
||||
{
|
||||
- g_warning ("Failed to create libinput object");
|
||||
+ g_critical ("Failed to assign a seat to the libinput object.");
|
||||
+ libinput_unref (priv->libinput);
|
||||
+ priv->libinput = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
+ udev_unref (udev);
|
||||
+
|
||||
priv->main_seat = clutter_seat_evdev_new (manager_evdev);
|
||||
|
||||
dispatch_libinput (manager_evdev);
|
||||
@@ -1244,26 +1239,21 @@
|
||||
{
|
||||
ClutterDeviceManagerEvdev *manager_evdev;
|
||||
ClutterDeviceManagerEvdevPrivate *priv;
|
||||
- GSList *l;
|
||||
|
||||
manager_evdev = CLUTTER_DEVICE_MANAGER_EVDEV (object);
|
||||
priv = manager_evdev->priv;
|
||||
|
||||
- for (l = priv->seats; l; l = g_slist_next (l))
|
||||
- {
|
||||
- ClutterSeatEvdev *seat = l->data;
|
||||
-
|
||||
- clutter_seat_evdev_free (seat);
|
||||
- }
|
||||
- g_slist_free (priv->seats);
|
||||
+ g_slist_free_full (priv->seats, (GDestroyNotify) clutter_seat_evdev_free);
|
||||
g_slist_free (priv->devices);
|
||||
|
||||
- clutter_event_source_free (priv->event_source);
|
||||
+ if (priv->event_source != NULL)
|
||||
+ clutter_event_source_free (priv->event_source);
|
||||
|
||||
- if (priv->constrain_data_notify)
|
||||
+ if (priv->constrain_data_notify != NULL)
|
||||
priv->constrain_data_notify (priv->constrain_data);
|
||||
|
||||
- libinput_destroy (priv->libinput);
|
||||
+ if (priv->libinput != NULL)
|
||||
+ libinput_unref (priv->libinput);
|
||||
|
||||
G_OBJECT_CLASS (clutter_device_manager_evdev_parent_class)->finalize (object);
|
||||
}
|
||||
--- a/clutter/evdev/clutter-input-device-evdev.h 2014-04-02 19:48:36.000000000 +0200
|
||||
+++ b/clutter/evdev/clutter-input-device-evdev.h 2014-07-01 19:04:44.152439734 +0200
|
||||
@@ -64,8 +64,6 @@
|
||||
|
||||
struct libinput_device *libinput_device;
|
||||
ClutterSeatEvdev *seat;
|
||||
- li_fixed_t dx_frac;
|
||||
- li_fixed_t dy_frac;
|
||||
};
|
||||
|
||||
GType _clutter_input_device_evdev_get_type (void) G_GNUC_CONST;
|
||||
@@ -0,0 +1,224 @@
|
||||
From 46877cc2bd497ec23acfa07fedaf29f45522dc6f Mon Sep 17 00:00:00 2001
|
||||
From: "Jasper St. Pierre" <jstpierre@mecheye.net>
|
||||
Date: Wed, 22 Oct 2014 18:44:22 -0700
|
||||
Subject: actor: Create a PangoContext per actor
|
||||
|
||||
For a variety of complicated reasons, ClutterText currently sets fields
|
||||
on the PangoContext when creating a layout. This causes ClutterText to
|
||||
behave somewhat erratically in certain cases, since the PangoContext is
|
||||
currently shared between all actors.
|
||||
|
||||
GTK+ creates a PangoContext for every single GtkWidget, so it seems like
|
||||
we should do the same here.
|
||||
|
||||
Move the private code that was previously in clutter-main.c into
|
||||
clutter-actor.c and clean it up a bit. This gives every actor its own
|
||||
PangoContext it can mutilate whenever it wants, at its heart's content.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=739050
|
||||
|
||||
diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c
|
||||
index 6a0582a..33fe3e7 100644
|
||||
--- a/clutter/clutter-actor.c
|
||||
+++ b/clutter/clutter-actor.c
|
||||
@@ -15474,6 +15474,46 @@ clutter_actor_grab_key_focus (ClutterActor *self)
|
||||
clutter_stage_set_key_focus (CLUTTER_STAGE (stage), self);
|
||||
}
|
||||
|
||||
+static void
|
||||
+update_pango_context (ClutterBackend *backend,
|
||||
+ PangoContext *context)
|
||||
+{
|
||||
+ ClutterSettings *settings;
|
||||
+ PangoFontDescription *font_desc;
|
||||
+ const cairo_font_options_t *font_options;
|
||||
+ gchar *font_name;
|
||||
+ PangoDirection pango_dir;
|
||||
+ gdouble resolution;
|
||||
+
|
||||
+ settings = clutter_settings_get_default ();
|
||||
+
|
||||
+ /* update the text direction */
|
||||
+ if (clutter_get_default_text_direction () == CLUTTER_TEXT_DIRECTION_RTL)
|
||||
+ pango_dir = PANGO_DIRECTION_RTL;
|
||||
+ else
|
||||
+ pango_dir = PANGO_DIRECTION_LTR;
|
||||
+
|
||||
+ pango_context_set_base_dir (context, pango_dir);
|
||||
+
|
||||
+ g_object_get (settings, "font-name", &font_name, NULL);
|
||||
+
|
||||
+ /* get the configuration for the PangoContext from the backend */
|
||||
+ font_options = clutter_backend_get_font_options (backend);
|
||||
+ resolution = clutter_backend_get_resolution (backend);
|
||||
+
|
||||
+ font_desc = pango_font_description_from_string (font_name);
|
||||
+
|
||||
+ if (resolution < 0)
|
||||
+ resolution = 96.0; /* fall back */
|
||||
+
|
||||
+ pango_context_set_font_description (context, font_desc);
|
||||
+ pango_cairo_context_set_font_options (context, font_options);
|
||||
+ pango_cairo_context_set_resolution (context, resolution);
|
||||
+
|
||||
+ pango_font_description_free (font_desc);
|
||||
+ g_free (font_name);
|
||||
+}
|
||||
+
|
||||
/**
|
||||
* clutter_actor_get_pango_context:
|
||||
* @self: a #ClutterActor
|
||||
@@ -15500,16 +15540,23 @@ PangoContext *
|
||||
clutter_actor_get_pango_context (ClutterActor *self)
|
||||
{
|
||||
ClutterActorPrivate *priv;
|
||||
+ ClutterBackend *backend = clutter_get_default_backend ();
|
||||
|
||||
g_return_val_if_fail (CLUTTER_IS_ACTOR (self), NULL);
|
||||
|
||||
priv = self->priv;
|
||||
|
||||
- if (priv->pango_context != NULL)
|
||||
- return priv->pango_context;
|
||||
+ if (G_UNLIKELY (priv->pango_context == NULL))
|
||||
+ {
|
||||
+ priv->pango_context = clutter_actor_create_pango_context (self);
|
||||
|
||||
- priv->pango_context = _clutter_context_get_pango_context ();
|
||||
- g_object_ref (priv->pango_context);
|
||||
+ g_signal_connect_object (backend, "resolution-changed",
|
||||
+ G_CALLBACK (update_pango_context), priv->pango_context, 0);
|
||||
+ g_signal_connect_object (backend, "font-changed",
|
||||
+ G_CALLBACK (update_pango_context), priv->pango_context, 0);
|
||||
+ }
|
||||
+ else
|
||||
+ update_pango_context (backend, priv->pango_context);
|
||||
|
||||
return priv->pango_context;
|
||||
}
|
||||
@@ -15533,9 +15580,16 @@ clutter_actor_get_pango_context (ClutterActor *self)
|
||||
PangoContext *
|
||||
clutter_actor_create_pango_context (ClutterActor *self)
|
||||
{
|
||||
- g_return_val_if_fail (CLUTTER_IS_ACTOR (self), NULL);
|
||||
+ CoglPangoFontMap *font_map;
|
||||
+ PangoContext *context;
|
||||
+
|
||||
+ font_map = COGL_PANGO_FONT_MAP (clutter_get_font_map ());
|
||||
+
|
||||
+ context = cogl_pango_font_map_create_context (font_map);
|
||||
+ update_pango_context (clutter_get_default_backend (), context);
|
||||
+ pango_context_set_language (context, pango_language_get_default ());
|
||||
|
||||
- return _clutter_context_create_pango_context ();
|
||||
+ return context;
|
||||
}
|
||||
|
||||
/**
|
||||
diff --git a/clutter/clutter-main.c b/clutter/clutter-main.c
|
||||
index 3b9385a..1a337c0 100644
|
||||
--- a/clutter/clutter-main.c
|
||||
+++ b/clutter/clutter-main.c
|
||||
@@ -764,86 +764,6 @@ clutter_get_text_direction (void)
|
||||
return dir;
|
||||
}
|
||||
|
||||
-static void
|
||||
-update_pango_context (ClutterBackend *backend,
|
||||
- PangoContext *context)
|
||||
-{
|
||||
- ClutterSettings *settings;
|
||||
- PangoFontDescription *font_desc;
|
||||
- const cairo_font_options_t *font_options;
|
||||
- gchar *font_name;
|
||||
- PangoDirection pango_dir;
|
||||
- gdouble resolution;
|
||||
-
|
||||
- settings = clutter_settings_get_default ();
|
||||
-
|
||||
- /* update the text direction */
|
||||
- if (clutter_text_direction == CLUTTER_TEXT_DIRECTION_RTL)
|
||||
- pango_dir = PANGO_DIRECTION_RTL;
|
||||
- else
|
||||
- pango_dir = PANGO_DIRECTION_LTR;
|
||||
-
|
||||
- pango_context_set_base_dir (context, pango_dir);
|
||||
-
|
||||
- g_object_get (settings, "font-name", &font_name, NULL);
|
||||
-
|
||||
- /* get the configuration for the PangoContext from the backend */
|
||||
- font_options = clutter_backend_get_font_options (backend);
|
||||
- resolution = clutter_backend_get_resolution (backend);
|
||||
-
|
||||
- font_desc = pango_font_description_from_string (font_name);
|
||||
-
|
||||
- if (resolution < 0)
|
||||
- resolution = 96.0; /* fall back */
|
||||
-
|
||||
- pango_context_set_font_description (context, font_desc);
|
||||
- pango_cairo_context_set_font_options (context, font_options);
|
||||
- pango_cairo_context_set_resolution (context, resolution);
|
||||
-
|
||||
- pango_font_description_free (font_desc);
|
||||
- g_free (font_name);
|
||||
-}
|
||||
-
|
||||
-PangoContext *
|
||||
-_clutter_context_get_pango_context (void)
|
||||
-{
|
||||
- ClutterMainContext *self = _clutter_context_get_default ();
|
||||
-
|
||||
- if (G_UNLIKELY (self->pango_context == NULL))
|
||||
- {
|
||||
- PangoContext *context;
|
||||
-
|
||||
- context = _clutter_context_create_pango_context ();
|
||||
- self->pango_context = context;
|
||||
-
|
||||
- g_signal_connect (self->backend, "resolution-changed",
|
||||
- G_CALLBACK (update_pango_context),
|
||||
- self->pango_context);
|
||||
- g_signal_connect (self->backend, "font-changed",
|
||||
- G_CALLBACK (update_pango_context),
|
||||
- self->pango_context);
|
||||
- }
|
||||
- else
|
||||
- update_pango_context (self->backend, self->pango_context);
|
||||
-
|
||||
- return self->pango_context;
|
||||
-}
|
||||
-
|
||||
-PangoContext *
|
||||
-_clutter_context_create_pango_context (void)
|
||||
-{
|
||||
- CoglPangoFontMap *font_map;
|
||||
- PangoContext *context;
|
||||
-
|
||||
- font_map = clutter_context_get_pango_fontmap ();
|
||||
-
|
||||
- context = cogl_pango_font_map_create_context (font_map);
|
||||
- update_pango_context (clutter_get_default_backend (), context);
|
||||
- pango_context_set_language (context, pango_language_get_default ());
|
||||
-
|
||||
- return context;
|
||||
-}
|
||||
-
|
||||
/**
|
||||
* clutter_main_quit:
|
||||
*
|
||||
diff --git a/clutter/clutter-private.h b/clutter/clutter-private.h
|
||||
index bf92626..b714edc 100644
|
||||
--- a/clutter/clutter-private.h
|
||||
+++ b/clutter/clutter-private.h
|
||||
@@ -198,8 +198,6 @@ ClutterMainContext * _clutter_context_get_default (void);
|
||||
void _clutter_context_lock (void);
|
||||
void _clutter_context_unlock (void);
|
||||
gboolean _clutter_context_is_initialized (void);
|
||||
-PangoContext * _clutter_context_create_pango_context (void);
|
||||
-PangoContext * _clutter_context_get_pango_context (void);
|
||||
ClutterPickMode _clutter_context_get_pick_mode (void);
|
||||
void _clutter_context_push_shader_stack (ClutterActor *actor);
|
||||
ClutterActor * _clutter_context_pop_shader_stack (ClutterActor *actor);
|
||||
--
|
||||
cgit v0.10.1
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
From 14d28e7908d5421f15f9b94f4f37d66f14c4222e Mon Sep 17 00:00:00 2001
|
||||
From: "Jasper St. Pierre" <jstpierre@mecheye.net>
|
||||
Date: Wed, 22 Oct 2014 18:44:16 -0700
|
||||
Subject: main: Don't update the PangoContext in clutter_set_font_flags
|
||||
|
||||
clutter_set_font_flags already calls clutter_backend_set_font_options,
|
||||
which emits a signal which our PangoContext listens to, so this is just
|
||||
duplicate and unneeded code.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=739050
|
||||
|
||||
diff --git a/clutter/clutter-main.c b/clutter/clutter-main.c
|
||||
index 444ceba..3b9385a 100644
|
||||
--- a/clutter/clutter-main.c
|
||||
+++ b/clutter/clutter-main.c
|
||||
@@ -3276,7 +3276,6 @@ clutter_clear_glyph_cache (void)
|
||||
void
|
||||
clutter_set_font_flags (ClutterFontFlags flags)
|
||||
{
|
||||
- ClutterMainContext *context = _clutter_context_get_default ();
|
||||
CoglPangoFontMap *font_map;
|
||||
ClutterFontFlags old_flags, changed_flags;
|
||||
const cairo_font_options_t *font_options;
|
||||
@@ -3326,10 +3325,6 @@ clutter_set_font_flags (ClutterFontFlags flags)
|
||||
clutter_backend_set_font_options (backend, new_font_options);
|
||||
|
||||
cairo_font_options_destroy (new_font_options);
|
||||
-
|
||||
- /* update the default pango context, if any */
|
||||
- if (context->pango_context != NULL)
|
||||
- update_pango_context (backend, context->pango_context);
|
||||
}
|
||||
|
||||
/**
|
||||
--
|
||||
cgit v0.10.1
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
From 7764fd2079318fede95b4b96c72d18bd31699270 Mon Sep 17 00:00:00 2001
|
||||
From: Carlos Garnacho <carlosg@gnome.org>
|
||||
Date: Tue, 14 Oct 2014 12:41:10 +0200
|
||||
Subject: evdev: Flush event queue before removing an input device
|
||||
|
||||
libinput_suspend() will trigger the removal of input devices, but also
|
||||
the emission of button/key releases pairing everything that is pressed
|
||||
at that moment. These events are queued, but the ClutterInputDevice
|
||||
pointers in these will point to invalid memory at the time these are
|
||||
processed.
|
||||
|
||||
Fix this by flushing the event queue, in order to ensure there are no
|
||||
unprocessed input events after libinput_suspend().
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=738520
|
||||
|
||||
diff --git a/clutter/evdev/clutter-device-manager-evdev.c b/clutter/evdev/clutter-device-manager-evdev.c
|
||||
index 77a8ec6..7b48481 100644
|
||||
--- a/clutter/evdev/clutter-device-manager-evdev.c
|
||||
+++ b/clutter/evdev/clutter-device-manager-evdev.c
|
||||
@@ -1017,6 +1017,18 @@ clutter_seat_evdev_sync_leds (ClutterSeatEvdev *seat)
|
||||
}
|
||||
}
|
||||
|
||||
+static void
|
||||
+flush_event_queue (void)
|
||||
+{
|
||||
+ ClutterEvent *event;
|
||||
+
|
||||
+ while ((event = clutter_event_get ()) != NULL)
|
||||
+ {
|
||||
+ _clutter_process_event (event);
|
||||
+ clutter_event_free (event);
|
||||
+ }
|
||||
+}
|
||||
+
|
||||
static gboolean
|
||||
process_base_event (ClutterDeviceManagerEvdev *manager_evdev,
|
||||
struct libinput_event *event)
|
||||
@@ -1034,6 +1046,11 @@ process_base_event (ClutterDeviceManagerEvdev *manager_evdev,
|
||||
break;
|
||||
|
||||
case LIBINPUT_EVENT_DEVICE_REMOVED:
|
||||
+ /* Flush all queued events, there
|
||||
+ * might be some from this device.
|
||||
+ */
|
||||
+ flush_event_queue ();
|
||||
+
|
||||
libinput_device = libinput_event_get_device (event);
|
||||
|
||||
device = libinput_device_get_user_data (libinput_device);
|
||||
--
|
||||
cgit v0.10.1
|
||||
|
||||
@@ -0,0 +1,89 @@
|
||||
From ede13b11d72a310e535f9a6f0b7e3f774f5529dc Mon Sep 17 00:00:00 2001
|
||||
From: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
Date: Fri, 16 Jan 2015 01:03:52 +0100
|
||||
Subject: evdev: use libinput's new merged scroll events
|
||||
|
||||
libinput's API changed from separate scroll events for vert/horiz scrolling to
|
||||
a single event that contains both axes if they changed.
|
||||
|
||||
Updated by Armin K. to use the discrete axis value for wheel events as done
|
||||
in Weston.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=742829
|
||||
|
||||
diff --git a/clutter/evdev/clutter-device-manager-evdev.c b/clutter/evdev/clutter-device-manager-evdev.c
|
||||
index 7b48481..2b3828a 100644
|
||||
--- a/clutter/evdev/clutter-device-manager-evdev.c
|
||||
+++ b/clutter/evdev/clutter-device-manager-evdev.c
|
||||
@@ -1191,29 +1191,43 @@ process_device_event (ClutterDeviceManagerEvdev *manager_evdev,
|
||||
|
||||
case LIBINPUT_EVENT_POINTER_AXIS:
|
||||
{
|
||||
- gdouble value, dx = 0.0, dy = 0.0;
|
||||
+ gdouble dx = 0.0, dy = 0.0;
|
||||
guint32 time;
|
||||
+ gboolean wheel = FALSE;
|
||||
enum libinput_pointer_axis axis;
|
||||
+ enum libinput_pointer_axis_source source;
|
||||
struct libinput_event_pointer *axis_event =
|
||||
libinput_event_get_pointer_event (event);
|
||||
+
|
||||
device = libinput_device_get_user_data (libinput_device);
|
||||
|
||||
time = libinput_event_pointer_get_time (axis_event);
|
||||
- value = libinput_event_pointer_get_axis_value (axis_event);
|
||||
- axis = libinput_event_pointer_get_axis (axis_event);
|
||||
+ source = libinput_event_pointer_get_axis_source (axis_event);
|
||||
|
||||
- switch (axis)
|
||||
- {
|
||||
- case LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL:
|
||||
- dx = 0;
|
||||
- dy = value;
|
||||
- break;
|
||||
+ /* libinput < 0.8 sent wheel click events with value 10. Since 0.8
|
||||
+ the value is the angle of the click in degrees. To keep
|
||||
+ backwards-compat with existing clients, we just send multiples of
|
||||
+ the click count. */
|
||||
+
|
||||
+ if (source == LIBINPUT_POINTER_AXIS_SOURCE_WHEEL)
|
||||
+ wheel = TRUE;
|
||||
|
||||
- case LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL:
|
||||
- dx = value;
|
||||
- dy = 0;
|
||||
- break;
|
||||
+ axis = LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL;
|
||||
+ if (libinput_event_pointer_has_axis (axis_event, axis))
|
||||
+ {
|
||||
+ if (wheel)
|
||||
+ dy = 10 * libinput_event_pointer_get_axis_value_discrete (axis_event, axis);
|
||||
+ else
|
||||
+ dy = libinput_event_pointer_get_axis_value (axis_event, axis);
|
||||
+ }
|
||||
|
||||
+ axis = LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL;
|
||||
+ if (libinput_event_pointer_has_axis (axis_event, axis))
|
||||
+ {
|
||||
+ if (wheel)
|
||||
+ dx = 10 * libinput_event_pointer_get_axis_value_discrete (axis_event, axis);
|
||||
+ else
|
||||
+ dx = libinput_event_pointer_get_axis_value (axis_event, axis);
|
||||
}
|
||||
|
||||
notify_scroll (device, time, dx, dy);
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 0a9a580..2a47744 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -146,7 +146,7 @@ m4_define([uprof_req_version], [0.3])
|
||||
m4_define([gtk_doc_req_version], [1.20])
|
||||
m4_define([xcomposite_req_version], [0.4])
|
||||
m4_define([gdk_req_version], [3.3.18])
|
||||
-m4_define([libinput_req_version], [0.4.0])
|
||||
+m4_define([libinput_req_version], [0.8.0])
|
||||
m4_define([libudev_req_version], [136])
|
||||
|
||||
AC_SUBST([GLIB_REQ_VERSION], [glib_req_version])
|
||||
--
|
||||
cgit v0.10.1
|
||||
@@ -0,0 +1,168 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>clutter</Name>
|
||||
<Homepage>http://www.clutter-project.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>OpenGL GUI toolkit</Summary>
|
||||
<Description>clutter is an open source software library for creating fast, visually rich graphical user interfaces. The most obvious example of potential usage is in media center type applications.</Description>
|
||||
<Archive sha1sum="1665008f6c44a19d6aab23aa73cb19f85cafdfd2" type="tarxz">mirrors://gnome/clutter/1.22/clutter-1.22.4.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>libXi-devel</Dependency>
|
||||
<Dependency>libinput-devel</Dependency>
|
||||
<Dependency>cogl-devel</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>clutter</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>atk</Dependency>
|
||||
<Dependency>cogl</Dependency>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>libXi</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>libinput</Dependency>
|
||||
<Dependency>json-glib</Dependency>
|
||||
<Dependency>fontconfig</Dependency>
|
||||
<Dependency>libXdamage</Dependency>
|
||||
<Dependency>libxkbcommon</Dependency>
|
||||
<Dependency>libXcomposite</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/girepository-1.0</Path>
|
||||
<Path fileType="library">/usr/lib/libclutter*</Path>
|
||||
<Path fileType="doc">/usr/share/doc/clutter</Path>
|
||||
<Path fileType="doc">/usr/share/gtk-doc</Path>
|
||||
<Path fileType="data">/usr/share/gir-1.0</Path>
|
||||
<Path fileType="localedata">/usr/share/locale/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>clutter-devel</Name>
|
||||
<Summary>clutter için geliştirme dosyaları.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency relase="current">clutter</Dependency>
|
||||
<Dependency>atk-devel</Dependency>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>cogl-devel</Dependency>
|
||||
<Dependency>pango-devel</Dependency>
|
||||
<Dependency>libXi-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<Dependency>json-glib-devel</Dependency>
|
||||
<Dependency>libXdamage-devel</Dependency>
|
||||
<Dependency>libXcomposite-devel</Dependency>
|
||||
<Dependency>libinput-devel</Dependency>
|
||||
<Dependency>libxkbcommon-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="13">
|
||||
<Date>2015-07-21</Date>
|
||||
<Version>1.22.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="12">
|
||||
<Date>2015-04-18</Date>
|
||||
<Version>1.22.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="11">
|
||||
<Date>2015-02-16</Date>
|
||||
<Version>1.20.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2014-10-26</Date>
|
||||
<Version>1.18.2</Version>
|
||||
<Comment>rebuild for patch</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2014-05-27</Date>
|
||||
<Version>1.18.2</Version>
|
||||
<Comment>Verison bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2013-10-22</Date>
|
||||
<Version>1.16.0</Version>
|
||||
<Comment>Unused fix.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2013-10-11</Date>
|
||||
<Version>1.16.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2013-07-23</Date>
|
||||
<Version>1.14.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-06-16</Date>
|
||||
<Version>1.14.2</Version>
|
||||
<Comment>Split package</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-06-15</Date>
|
||||
<Version>1.14.2</Version>
|
||||
<Comment>Rebuild with new configure args</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-05-11</Date>
|
||||
<Version>1.14.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-01-25</Date>
|
||||
<Version>1.13.4</Version>
|
||||
<Comment>Güncellendi.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-12-17</Date>
|
||||
<Version>1.12.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>clutter</Name>
|
||||
<Summary xml:lang="tr">OpenGL grafik arabirim kitaplığı</Summary>
|
||||
<Description xml:lang="tr">clutter görsel olarak zengin ve hızlı grafik arabirimler oluşturmak için hazırlanmış bir açık kodlu kitaplıktır. Kullanım alanlarına en belirgin örnek olarak çoklu ortam yazılımları gösterilebilir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>clutter-devel</Name>
|
||||
<Summary xml:lang="tr">clutter için geliştirme dosyaları.</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>desktop.toolkit.clutter</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,36 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import libtools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "cdparanoia-III-10.2"
|
||||
flags = "%s -I%s/%s/interface -Wno-pointer-sign -Wno-unused -Werror-implicit-function-declaration" % (get.CFLAGS(), get.workDIR(), WorkDir)
|
||||
|
||||
def setup():
|
||||
#shelltools.cd("cdparanoia-III-10.2")
|
||||
#shelltools.move("configure.guess", "config.guess")
|
||||
#shelltools.move("configure.sub", "config.sub")
|
||||
|
||||
autotools.autoreconf("-vfi")
|
||||
libtools.gnuconfig_update()
|
||||
libtools.libtoolize("--force --install")
|
||||
autotools.configure()
|
||||
|
||||
def build():
|
||||
autotools.make('OPT="%s" -j1' % flags)
|
||||
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
# No static libs
|
||||
#pisitools.remove("/usr/lib/*.a")
|
||||
|
||||
pisitools.dodoc("COPYING*", "README")
|
||||
@@ -0,0 +1,158 @@
|
||||
Fix build system to be usable by compiling shared libs as -fPIC and
|
||||
using DESTDIR for installing. Patch by Samuli Suominen <ssuominen AT
|
||||
gentoo.org> and Alexis Ballier <aballier AT gentoo.org>. See,
|
||||
|
||||
http://trac.xiph.org/ticket/1368 (upstream bug)
|
||||
|
||||
diff -ur cdparanoia-III-10.2.orig/interface/Makefile.in cdparanoia-III-10.2/interface/Makefile.in
|
||||
--- cdparanoia-III-10.2.orig/interface/Makefile.in 2008-08-21 19:08:54.000000000 +0300
|
||||
+++ cdparanoia-III-10.2/interface/Makefile.in 2009-06-20 20:43:39.000000000 +0300
|
||||
@@ -10,6 +10,7 @@
|
||||
FLAGS=@SBPCD_H@ @UCDROM_H@ @TYPESIZES@ @CFLAGS@
|
||||
OPT=@OPT@ $(FLAGS)
|
||||
DEBUG=@DEBUG@ -DCDDA_TEST
|
||||
+LIBFLAGS = -fPIC
|
||||
CC=@CC@
|
||||
LD=@CC@
|
||||
LDFLAGS=@LDFLAGS@ $(FLAGS)
|
||||
@@ -20,6 +21,8 @@
|
||||
|
||||
OFILES = scan_devices.o common_interface.o cooked_interface.o interface.o\
|
||||
scsi_interface.o smallft.o toc.o test_interface.o
|
||||
+LOFILES = scan_devices.lo common_interface.lo cooked_interface.lo interface.lo\
|
||||
+ scsi_interface.lo smallft.lo toc.lo test_interface.lo
|
||||
|
||||
export VERSION
|
||||
|
||||
@@ -32,8 +35,7 @@
|
||||
$(MAKE) libcdda_interface.a CFLAGS="$(OPT)"
|
||||
|
||||
slib:
|
||||
- $(MAKE) lessmessy
|
||||
- $(MAKE) libcdda_interface.so CFLAGS="$(OPT) -fpic"
|
||||
+ $(MAKE) libcdda_interface.so CFLAGS="$(OPT)"
|
||||
[ -e libcdda_interface.so.0 ] || ln -s libcdda_interface.so libcdda_interface.so.0
|
||||
|
||||
test:
|
||||
@@ -45,14 +47,17 @@
|
||||
$(AR) -r libcdda_interface.a $(OFILES)
|
||||
$(RANLIB) libcdda_interface.a
|
||||
|
||||
-libcdda_interface.so: $(OFILES)
|
||||
- $(CC) -fpic -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(OFILES) $(LIBS)
|
||||
+libcdda_interface.so: $(LOFILES)
|
||||
+ $(CC) $(LDFLAGS) $(LIBFLAGS) -shared -o libcdda_interface.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_interface.so.0 $(LOFILES) $(LIBS)
|
||||
[ -e libcdda_interface.so.0 ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so.0
|
||||
[ -e libcdda_interface.so ] || ln -s libcdda_interface.so.0.$(VERSION) libcdda_interface.so
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
+%.lo: %.c
|
||||
+ $(CC) $(CFLAGS) $(LIBFLAGS) -c $< -o $@
|
||||
+
|
||||
lessmessy:
|
||||
-rm -f *.o core *~ *.out
|
||||
|
||||
diff -ur cdparanoia-III-10.2.orig/Makefile.in cdparanoia-III-10.2/Makefile.in
|
||||
--- cdparanoia-III-10.2.orig/Makefile.in 2008-09-11 23:33:30.000000000 +0300
|
||||
+++ cdparanoia-III-10.2/Makefile.in 2009-06-20 20:43:17.000000000 +0300
|
||||
@@ -63,28 +63,28 @@
|
||||
cd paranoia && $(MAKE) slib
|
||||
|
||||
install:
|
||||
- $(INSTALL) -d -m 0755 $(BINDIR)
|
||||
- $(INSTALL) -m 755 $(srcdir)/cdparanoia $(BINDIR)
|
||||
- $(INSTALL) -d -m 0755 $(MANDIR)
|
||||
- $(INSTALL) -d -m 0755 $(MANDIR)/man1
|
||||
- $(INSTALL) -m 0644 $(srcdir)/cdparanoia.1 $(MANDIR)/man1
|
||||
- $(INSTALL) -d -m 0755 $(INCLUDEDIR)
|
||||
- $(INSTALL) -m 0644 $(srcdir)/paranoia/cdda_paranoia.h $(INCLUDEDIR)
|
||||
- $(INSTALL) -d -m 0755 $(LIBDIR)
|
||||
- $(INSTALL) -m 0644 $(srcdir)/paranoia/libcdda_paranoia.so.0.$(VERSION) $(LIBDIR)
|
||||
- $(INSTALL) -m 0644 $(srcdir)/paranoia/libcdda_paranoia.a $(LIBDIR)
|
||||
- $(INSTALL) -m 0644 $(srcdir)/interface/cdda_interface.h $(INCLUDEDIR)
|
||||
- $(INSTALL) -m 0644 $(srcdir)/interface/libcdda_interface.so.0.$(VERSION) $(LIBDIR)
|
||||
- $(INSTALL) -m 0644 $(srcdir)/interface/libcdda_interface.a $(LIBDIR)
|
||||
- $(INSTALL) -m 0644 $(srcdir)/utils.h $(INCLUDEDIR)
|
||||
+ $(INSTALL) -d -m 0755 $(DESTDIR)$(BINDIR)
|
||||
+ $(INSTALL) -m 755 $(srcdir)/cdparanoia $(DESTDIR)$(BINDIR)
|
||||
+ $(INSTALL) -d -m 0755 $(DESTDIR)$(MANDIR)
|
||||
+ $(INSTALL) -d -m 0755 $(DESTDIR)$(MANDIR)/man1
|
||||
+ $(INSTALL) -m 0644 $(srcdir)/cdparanoia.1 $(DESTDIR)$(MANDIR)/man1
|
||||
+ $(INSTALL) -d -m 0755 $(DESTDIR)$(INCLUDEDIR)
|
||||
+ $(INSTALL) -m 0644 $(srcdir)/paranoia/cdda_paranoia.h $(DESTDIR)$(INCLUDEDIR)
|
||||
+ $(INSTALL) -d -m 0755 $(DESTDIR)$(LIBDIR)
|
||||
+ $(INSTALL) -m 0644 $(srcdir)/paranoia/libcdda_paranoia.so.0.$(VERSION) $(DESTDIR)$(LIBDIR)
|
||||
+ $(INSTALL) -m 0644 $(srcdir)/paranoia/libcdda_paranoia.a $(DESTDIR)$(LIBDIR)
|
||||
+ $(INSTALL) -m 0644 $(srcdir)/interface/cdda_interface.h $(DESTDIR)$(INCLUDEDIR)
|
||||
+ $(INSTALL) -m 0644 $(srcdir)/interface/libcdda_interface.so.0.$(VERSION) $(DESTDIR)$(LIBDIR)
|
||||
+ $(INSTALL) -m 0644 $(srcdir)/interface/libcdda_interface.a $(DESTDIR)$(LIBDIR)
|
||||
+ $(INSTALL) -m 0644 $(srcdir)/utils.h $(DESTDIR)$(INCLUDEDIR)
|
||||
ln -fs libcdda_interface.so.0.$(VERSION) \
|
||||
- $(LIBDIR)/libcdda_interface.so.0
|
||||
+ $(DESTDIR)$(LIBDIR)/libcdda_interface.so.0
|
||||
ln -fs libcdda_interface.so.0.$(VERSION) \
|
||||
- $(LIBDIR)/libcdda_interface.so
|
||||
+ $(DESTDIR)$(LIBDIR)/libcdda_interface.so
|
||||
ln -fs libcdda_paranoia.so.0.$(VERSION) \
|
||||
- $(LIBDIR)/libcdda_paranoia.so.0
|
||||
+ $(DESTDIR)$(LIBDIR)/libcdda_paranoia.so.0
|
||||
ln -fs libcdda_paranoia.so.0.$(VERSION) \
|
||||
- $(LIBDIR)/libcdda_paranoia.so
|
||||
+ $(DESTDIR)$(LIBDIR)/libcdda_paranoia.so
|
||||
|
||||
cdparanoia: $(OFILES) $(LIBDEP)
|
||||
$(LD) $(CFLAGS) $(LDFLAGS) $(OFILES) \
|
||||
diff -ur cdparanoia-III-10.2.orig/paranoia/Makefile.in cdparanoia-III-10.2/paranoia/Makefile.in
|
||||
--- cdparanoia-III-10.2.orig/paranoia/Makefile.in 2008-09-04 22:02:47.000000000 +0300
|
||||
+++ cdparanoia-III-10.2/paranoia/Makefile.in 2009-06-20 20:43:39.000000000 +0300
|
||||
@@ -11,6 +11,7 @@
|
||||
FLAGS=@TYPESIZES@ @CFLAGS@
|
||||
OPT=@OPT@ $(FLAGS)
|
||||
DEBUG=@DEBUG@
|
||||
+LIBFLAGS = -fPIC
|
||||
CC=@CC@
|
||||
LD=@CC@
|
||||
LDFLAGS=@LDFLAGS@ $(FLAGS)
|
||||
@@ -20,8 +21,9 @@
|
||||
|
||||
OFILES = paranoia.o p_block.o overlap.o gap.o isort.o
|
||||
#TFILES = isort.t gap.t p_block.t paranoia.t
|
||||
+LOFILES = paranoia.lo p_block.lo overlap.lo gap.lo isort.lo
|
||||
|
||||
-LIBS = ../interface/libcdda_interface.a -lm
|
||||
+LIBS = ../interface/libcdda_interface.so -lm
|
||||
export VERSION
|
||||
|
||||
all: lib slib
|
||||
@@ -33,8 +35,7 @@
|
||||
$(MAKE) libcdda_paranoia.a CFLAGS="$(OPT)"
|
||||
|
||||
slib:
|
||||
- $(MAKE) lessmessy
|
||||
- $(MAKE) libcdda_paranoia.so CFLAGS="$(OPT) -fpic"
|
||||
+ $(MAKE) libcdda_paranoia.so CFLAGS="$(OPT)"
|
||||
|
||||
#test: $(TFILES)
|
||||
#
|
||||
@@ -43,14 +44,17 @@
|
||||
$(AR) -r libcdda_paranoia.a $(OFILES)
|
||||
$(RANLIB) libcdda_paranoia.a
|
||||
|
||||
-libcdda_paranoia.so: $(OFILES)
|
||||
- $(CC) -fpic -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(OFILES) -L ../interface -lcdda_interface
|
||||
+libcdda_paranoia.so: $(LOFILES)
|
||||
+ $(CC) $(LDFLAGS) $(LIBSFLAGS) -shared -o libcdda_paranoia.so.0.$(VERSION) -Wl,-soname -Wl,libcdda_paranoia.so.0 $(LOFILES) -L ../interface -lcdda_interface
|
||||
[ -e libcdda_paranoia.so.0 ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so.0
|
||||
[ -e libcdda_paranoia.so ] || ln -s libcdda_paranoia.so.0.$(VERSION) libcdda_paranoia.so
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) -c $<
|
||||
|
||||
+%.lo: %.c
|
||||
+ $(CC) $(CFLAGS) $(LIBFLAGS) -c $< -o $@
|
||||
+
|
||||
.c.t:
|
||||
$(CC) -g -DTEST $(DEBUG) -o $@ $< $(LIBS)
|
||||
$@
|
||||
@@ -0,0 +1,579 @@
|
||||
#!/bin/sh /usr/share/dpatch/dpatch-run
|
||||
## 04-gcc4.3.dpatch by Monty <paranoia@xiph.org>
|
||||
##
|
||||
## DP: Changeset 15338: Commit fix for 'private' becoming a reserved keyword as
|
||||
## DP: of GCC 4.3+ (Closes: #499676).
|
||||
|
||||
@DPATCH@
|
||||
|
||||
================================================================================
|
||||
--- cdparanoia-III-10.2/interface/cdda_interface.h
|
||||
+++ cdparanoia-III-10.2/interface/cdda_interface.h
|
||||
@@ -84,7 +84,7 @@
|
||||
int is_atapi;
|
||||
int is_mmc;
|
||||
|
||||
- cdda_private_data_t *private;
|
||||
+ cdda_private_data_t *private_data;
|
||||
void *reserved;
|
||||
unsigned char inqbytes[4];
|
||||
|
||||
--- cdparanoia-III-10.2/interface/cooked_interface.c
|
||||
+++ cdparanoia-III-10.2/interface/cooked_interface.c
|
||||
@@ -13,13 +13,13 @@
|
||||
static int timed_ioctl(cdrom_drive *d, int fd, int command, void *arg){
|
||||
struct timespec tv1;
|
||||
struct timespec tv2;
|
||||
- int ret1=clock_gettime(d->private->clock,&tv1);
|
||||
+ int ret1=clock_gettime(d->private_data->clock,&tv1);
|
||||
int ret2=ioctl(fd, command,arg);
|
||||
- int ret3=clock_gettime(d->private->clock,&tv2);
|
||||
+ int ret3=clock_gettime(d->private_data->clock,&tv2);
|
||||
if(ret1<0 || ret3<0){
|
||||
- d->private->last_milliseconds=-1;
|
||||
+ d->private_data->last_milliseconds=-1;
|
||||
}else{
|
||||
- d->private->last_milliseconds = (tv2.tv_sec-tv1.tv_sec)*1000. + (tv2.tv_nsec-tv1.tv_nsec)/1000000.;
|
||||
+ d->private_data->last_milliseconds = (tv2.tv_sec-tv1.tv_sec)*1000. + (tv2.tv_nsec-tv1.tv_nsec)/1000000.;
|
||||
}
|
||||
return ret2;
|
||||
}
|
||||
--- cdparanoia-III-10.2/interface/interface.c
|
||||
+++ cdparanoia-III-10.2/interface/interface.c
|
||||
@@ -39,9 +39,9 @@
|
||||
if(d->drive_model)free(d->drive_model);
|
||||
if(d->cdda_fd!=-1)close(d->cdda_fd);
|
||||
if(d->ioctl_fd!=-1 && d->ioctl_fd!=d->cdda_fd)close(d->ioctl_fd);
|
||||
- if(d->private){
|
||||
- if(d->private->sg_hd)free(d->private->sg_hd);
|
||||
- free(d->private);
|
||||
+ if(d->private_data){
|
||||
+ if(d->private_data->sg_hd)free(d->private_data->sg_hd);
|
||||
+ free(d->private_data);
|
||||
}
|
||||
|
||||
free(d);
|
||||
@@ -127,7 +127,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
- if(ms)*ms=d->private->last_milliseconds;
|
||||
+ if(ms)*ms=d->private_data->last_milliseconds;
|
||||
return(sectors);
|
||||
}
|
||||
|
||||
--- cdparanoia-III-10.2/interface/scan_devices.c
|
||||
+++ cdparanoia-III-10.2/interface/scan_devices.c
|
||||
@@ -270,11 +270,11 @@
|
||||
d->interface=COOKED_IOCTL;
|
||||
d->bigendianp=-1; /* We don't know yet... */
|
||||
d->nsectors=-1;
|
||||
- d->private=calloc(1,sizeof(*d->private));
|
||||
+ d->private_data=calloc(1,sizeof(*d->private_data));
|
||||
{
|
||||
/* goddamnit */
|
||||
struct timespec tv;
|
||||
- d->private->clock=(clock_gettime(CLOCK_MONOTONIC,&tv)<0?CLOCK_REALTIME:CLOCK_MONOTONIC);
|
||||
+ d->private_data->clock=(clock_gettime(CLOCK_MONOTONIC,&tv)<0?CLOCK_REALTIME:CLOCK_MONOTONIC);
|
||||
}
|
||||
idmessage(messagedest,messages,"\t\tCDROM sensed: %s\n",description);
|
||||
return(d);
|
||||
@@ -680,15 +680,15 @@
|
||||
d->bigendianp=-1; /* We don't know yet... */
|
||||
d->nsectors=-1;
|
||||
d->messagedest = messagedest;
|
||||
- d->private=calloc(1,sizeof(*d->private));
|
||||
+ d->private_data=calloc(1,sizeof(*d->private_data));
|
||||
{
|
||||
/* goddamnit */
|
||||
struct timespec tv;
|
||||
- d->private->clock=(clock_gettime(CLOCK_MONOTONIC,&tv)<0?CLOCK_REALTIME:CLOCK_MONOTONIC);
|
||||
+ d->private_data->clock=(clock_gettime(CLOCK_MONOTONIC,&tv)<0?CLOCK_REALTIME:CLOCK_MONOTONIC);
|
||||
}
|
||||
if(use_sgio){
|
||||
d->interface=SGIO_SCSI;
|
||||
- d->private->sg_buffer=(unsigned char *)(d->private->sg_hd=malloc(MAX_BIG_BUFF_SIZE));
|
||||
+ d->private_data->sg_buffer=(unsigned char *)(d->private_data->sg_hd=malloc(MAX_BIG_BUFF_SIZE));
|
||||
g_fd=d->cdda_fd=dup(d->ioctl_fd);
|
||||
}else{
|
||||
version=verify_SG_version(d,messagedest,messages);
|
||||
@@ -702,8 +702,8 @@
|
||||
}
|
||||
|
||||
/* malloc our big buffer for scsi commands */
|
||||
- d->private->sg_hd=malloc(MAX_BIG_BUFF_SIZE);
|
||||
- d->private->sg_buffer=((unsigned char *)d->private->sg_hd)+SG_OFF;
|
||||
+ d->private_data->sg_hd=malloc(MAX_BIG_BUFF_SIZE);
|
||||
+ d->private_data->sg_buffer=((unsigned char *)d->private_data->sg_hd)+SG_OFF;
|
||||
}
|
||||
|
||||
{
|
||||
@@ -778,9 +778,9 @@
|
||||
if(i_fd!=-1)close(i_fd);
|
||||
if(g_fd!=-1)close(g_fd);
|
||||
if(d){
|
||||
- if(d->private){
|
||||
- if(d->private->sg_hd)free(d->private->sg_hd);
|
||||
- free(d->private);
|
||||
+ if(d->private_data){
|
||||
+ if(d->private_data->sg_hd)free(d->private_data->sg_hd);
|
||||
+ free(d->private_data);
|
||||
}
|
||||
free(d);
|
||||
}
|
||||
@@ -827,7 +827,7 @@
|
||||
d->interface=TEST_INTERFACE;
|
||||
d->bigendianp=-1; /* We don't know yet... */
|
||||
d->nsectors=-1;
|
||||
- d->private=calloc(1,sizeof(*d->private));
|
||||
+ d->private_data=calloc(1,sizeof(*d->private_data));
|
||||
d->drive_model=copystring("File based test interface");
|
||||
idmessage(messagedest,messages,"\t\tCDROM sensed: %s\n",d->drive_model);
|
||||
|
||||
--- cdparanoia-III-10.2/interface/scsi_interface.c
|
||||
+++ cdparanoia-III-10.2/interface/scsi_interface.c
|
||||
@@ -15,13 +15,13 @@
|
||||
static int timed_ioctl(cdrom_drive *d, int fd, int command, void *arg){
|
||||
struct timespec tv1;
|
||||
struct timespec tv2;
|
||||
- int ret1=clock_gettime(d->private->clock,&tv1);
|
||||
+ int ret1=clock_gettime(d->private_data->clock,&tv1);
|
||||
int ret2=ioctl(fd, command,arg);
|
||||
- int ret3=clock_gettime(d->private->clock,&tv2);
|
||||
+ int ret3=clock_gettime(d->private_data->clock,&tv2);
|
||||
if(ret1<0 || ret3<0){
|
||||
- d->private->last_milliseconds=-1;
|
||||
+ d->private_data->last_milliseconds=-1;
|
||||
}else{
|
||||
- d->private->last_milliseconds = (tv2.tv_sec-tv1.tv_sec)*1000. + (tv2.tv_nsec-tv1.tv_nsec)/1000000.;
|
||||
+ d->private_data->last_milliseconds = (tv2.tv_sec-tv1.tv_sec)*1000. + (tv2.tv_nsec-tv1.tv_nsec)/1000000.;
|
||||
}
|
||||
return ret2;
|
||||
}
|
||||
@@ -96,7 +96,7 @@
|
||||
static void clear_garbage(cdrom_drive *d){
|
||||
fd_set fdset;
|
||||
struct timeval tv;
|
||||
- struct sg_header *sg_hd=d->private->sg_hd;
|
||||
+ struct sg_header *sg_hd=d->private_data->sg_hd;
|
||||
int flag=0;
|
||||
|
||||
/* clear out any possibly preexisting garbage */
|
||||
@@ -185,7 +185,7 @@
|
||||
struct timespec tv2;
|
||||
int tret1,tret2;
|
||||
int status = 0;
|
||||
- struct sg_header *sg_hd=d->private->sg_hd;
|
||||
+ struct sg_header *sg_hd=d->private_data->sg_hd;
|
||||
long writebytes=SG_OFF+cmd_len+in_size;
|
||||
|
||||
/* generic scsi device services */
|
||||
@@ -195,7 +195,7 @@
|
||||
|
||||
memset(sg_hd,0,sizeof(sg_hd));
|
||||
memset(sense_buffer,0,SG_MAX_SENSE);
|
||||
- memcpy(d->private->sg_buffer,cmd,cmd_len+in_size);
|
||||
+ memcpy(d->private_data->sg_buffer,cmd,cmd_len+in_size);
|
||||
sg_hd->twelve_byte = cmd_len == 12;
|
||||
sg_hd->result = 0;
|
||||
sg_hd->reply_len = SG_OFF + out_size;
|
||||
@@ -209,7 +209,7 @@
|
||||
tell if the command failed. Scared yet? */
|
||||
|
||||
if(bytecheck && out_size>in_size){
|
||||
- memset(d->private->sg_buffer+cmd_len+in_size,bytefill,out_size-in_size);
|
||||
+ memset(d->private_data->sg_buffer+cmd_len+in_size,bytefill,out_size-in_size);
|
||||
/* the size does not remove cmd_len due to the way the kernel
|
||||
driver copies buffers */
|
||||
writebytes+=(out_size-in_size);
|
||||
@@ -243,7 +243,7 @@
|
||||
}
|
||||
|
||||
sigprocmask (SIG_BLOCK, &(d->sigset), NULL );
|
||||
- tret1=clock_gettime(d->private->clock,&tv1);
|
||||
+ tret1=clock_gettime(d->private_data->clock,&tv1);
|
||||
errno=0;
|
||||
status = write(d->cdda_fd, sg_hd, writebytes );
|
||||
|
||||
@@ -289,7 +289,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
- tret2=clock_gettime(d->private->clock,&tv2);
|
||||
+ tret2=clock_gettime(d->private_data->clock,&tv2);
|
||||
errno=0;
|
||||
status = read(d->cdda_fd, sg_hd, SG_OFF + out_size);
|
||||
sigprocmask ( SIG_UNBLOCK, &(d->sigset), NULL );
|
||||
@@ -313,7 +313,7 @@
|
||||
if(bytecheck && in_size+cmd_len<out_size){
|
||||
long i,flag=0;
|
||||
for(i=in_size;i<out_size;i++)
|
||||
- if(d->private->sg_buffer[i]!=bytefill){
|
||||
+ if(d->private_data->sg_buffer[i]!=bytefill){
|
||||
flag=1;
|
||||
break;
|
||||
}
|
||||
@@ -326,9 +326,9 @@
|
||||
|
||||
errno=0;
|
||||
if(tret1<0 || tret2<0){
|
||||
- d->private->last_milliseconds=-1;
|
||||
+ d->private_data->last_milliseconds=-1;
|
||||
}else{
|
||||
- d->private->last_milliseconds = (tv2.tv_sec-tv1.tv_sec)*1000 + (tv2.tv_nsec-tv1.tv_nsec)/1000000;
|
||||
+ d->private_data->last_milliseconds = (tv2.tv_sec-tv1.tv_sec)*1000 + (tv2.tv_nsec-tv1.tv_nsec)/1000000;
|
||||
}
|
||||
return(0);
|
||||
}
|
||||
@@ -347,7 +347,7 @@
|
||||
|
||||
memset(&hdr,0,sizeof(hdr));
|
||||
memset(sense,0,sizeof(sense));
|
||||
- memcpy(d->private->sg_buffer,cmd+cmd_len,in_size);
|
||||
+ memcpy(d->private_data->sg_buffer,cmd+cmd_len,in_size);
|
||||
|
||||
hdr.cmdp = cmd;
|
||||
hdr.cmd_len = cmd_len;
|
||||
@@ -355,7 +355,7 @@
|
||||
hdr.mx_sb_len = SG_MAX_SENSE;
|
||||
hdr.timeout = 50000;
|
||||
hdr.interface_id = 'S';
|
||||
- hdr.dxferp = d->private->sg_buffer;
|
||||
+ hdr.dxferp = d->private_data->sg_buffer;
|
||||
hdr.flags = SG_FLAG_DIRECT_IO; /* direct IO if we can get it */
|
||||
|
||||
/* scary buffer fill hack */
|
||||
@@ -400,7 +400,7 @@
|
||||
if(bytecheck && in_size<out_size){
|
||||
long i,flag=0;
|
||||
for(i=in_size;i<out_size;i++)
|
||||
- if(d->private->sg_buffer[i]!=bytefill){
|
||||
+ if(d->private_data->sg_buffer[i]!=bytefill){
|
||||
flag=1;
|
||||
break;
|
||||
}
|
||||
@@ -412,7 +412,7 @@
|
||||
}
|
||||
|
||||
/* Can't rely on .duration because we can't be certain kernel has HZ set to something useful */
|
||||
- /* d->private->last_milliseconds = hdr.duration; */
|
||||
+ /* d->private_data->last_milliseconds = hdr.duration; */
|
||||
|
||||
errno = 0;
|
||||
return 0;
|
||||
@@ -445,9 +445,9 @@
|
||||
|
||||
handle_scsi_cmd(d, cmd, 6, 0, 56, 0,0, sense);
|
||||
|
||||
- key = d->private->sg_buffer[2] & 0xf;
|
||||
- ASC = d->private->sg_buffer[12];
|
||||
- ASCQ = d->private->sg_buffer[13];
|
||||
+ key = d->private_data->sg_buffer[2] & 0xf;
|
||||
+ ASC = d->private_data->sg_buffer[12];
|
||||
+ ASCQ = d->private_data->sg_buffer[13];
|
||||
|
||||
if(key == 2 && ASC == 4 && ASCQ == 1) return 0;
|
||||
return 1;
|
||||
@@ -492,7 +492,7 @@
|
||||
if (handle_scsi_cmd (d, cmd, 10, 0, size+4,'\377',1,sense)) return(1);
|
||||
|
||||
{
|
||||
- unsigned char *b=d->private->sg_buffer;
|
||||
+ unsigned char *b=d->private_data->sg_buffer;
|
||||
if(b[0])return(1); /* Handles only up to 256 bytes */
|
||||
if(b[6])return(1); /* Handles only up to 256 bytes */
|
||||
|
||||
@@ -604,8 +604,8 @@
|
||||
static unsigned int get_orig_sectorsize(cdrom_drive *d){
|
||||
if(mode_sense(d,12,0x01))return(-1);
|
||||
|
||||
- d->orgdens = d->private->sg_buffer[4];
|
||||
- return(d->orgsize = ((int)(d->private->sg_buffer[10])<<8)+d->private->sg_buffer[11]);
|
||||
+ d->orgdens = d->private_data->sg_buffer[4];
|
||||
+ return(d->orgsize = ((int)(d->private_data->sg_buffer[10])<<8)+d->private_data->sg_buffer[11]);
|
||||
}
|
||||
|
||||
/* switch CDROM scsi drives to given sector size */
|
||||
@@ -664,8 +664,8 @@
|
||||
return(-4);
|
||||
}
|
||||
|
||||
- first=d->private->sg_buffer[2];
|
||||
- last=d->private->sg_buffer[3];
|
||||
+ first=d->private_data->sg_buffer[2];
|
||||
+ last=d->private_data->sg_buffer[3];
|
||||
tracks=last-first+1;
|
||||
|
||||
if (last > MAXTRK || first > MAXTRK || last<0 || first<0) {
|
||||
@@ -683,7 +683,7 @@
|
||||
return(-5);
|
||||
}
|
||||
{
|
||||
- scsi_TOC *toc=(scsi_TOC *)(d->private->sg_buffer+4);
|
||||
+ scsi_TOC *toc=(scsi_TOC *)(d->private_data->sg_buffer+4);
|
||||
|
||||
d->disc_toc[i-first].bFlags=toc->bFlags;
|
||||
d->disc_toc[i-first].bTrack=i;
|
||||
@@ -704,7 +704,7 @@
|
||||
return(-2);
|
||||
}
|
||||
{
|
||||
- scsi_TOC *toc=(scsi_TOC *)(d->private->sg_buffer+4);
|
||||
+ scsi_TOC *toc=(scsi_TOC *)(d->private_data->sg_buffer+4);
|
||||
|
||||
d->disc_toc[i-first].bFlags=toc->bFlags;
|
||||
d->disc_toc[i-first].bTrack=0xAA;
|
||||
@@ -738,7 +738,7 @@
|
||||
}
|
||||
|
||||
/* copy to our structure and convert start sector */
|
||||
- tracks = d->private->sg_buffer[1];
|
||||
+ tracks = d->private_data->sg_buffer[1];
|
||||
if (tracks > MAXTRK) {
|
||||
cderror(d,"003: CDROM reporting illegal number of tracks\n");
|
||||
return(-3);
|
||||
@@ -754,33 +754,33 @@
|
||||
return(-5);
|
||||
}
|
||||
|
||||
- d->disc_toc[i].bFlags = d->private->sg_buffer[10];
|
||||
+ d->disc_toc[i].bFlags = d->private_data->sg_buffer[10];
|
||||
d->disc_toc[i].bTrack = i + 1;
|
||||
|
||||
d->disc_toc[i].dwStartSector= d->adjust_ssize *
|
||||
- (((signed char)(d->private->sg_buffer[2])<<24) |
|
||||
- (d->private->sg_buffer[3]<<16)|
|
||||
- (d->private->sg_buffer[4]<<8)|
|
||||
- (d->private->sg_buffer[5]));
|
||||
+ (((signed char)(d->private_data->sg_buffer[2])<<24) |
|
||||
+ (d->private_data->sg_buffer[3]<<16)|
|
||||
+ (d->private_data->sg_buffer[4]<<8)|
|
||||
+ (d->private_data->sg_buffer[5]));
|
||||
}
|
||||
|
||||
d->disc_toc[i].bFlags = 0;
|
||||
d->disc_toc[i].bTrack = i + 1;
|
||||
- memcpy (&foo, d->private->sg_buffer+2, 4);
|
||||
- memcpy (&bar, d->private->sg_buffer+6, 4);
|
||||
+ memcpy (&foo, d->private_data->sg_buffer+2, 4);
|
||||
+ memcpy (&bar, d->private_data->sg_buffer+6, 4);
|
||||
d->disc_toc[i].dwStartSector = d->adjust_ssize * (be32_to_cpu(foo) +
|
||||
be32_to_cpu(bar));
|
||||
|
||||
d->disc_toc[i].dwStartSector= d->adjust_ssize *
|
||||
- ((((signed char)(d->private->sg_buffer[2])<<24) |
|
||||
- (d->private->sg_buffer[3]<<16)|
|
||||
- (d->private->sg_buffer[4]<<8)|
|
||||
- (d->private->sg_buffer[5]))+
|
||||
+ ((((signed char)(d->private_data->sg_buffer[2])<<24) |
|
||||
+ (d->private_data->sg_buffer[3]<<16)|
|
||||
+ (d->private_data->sg_buffer[4]<<8)|
|
||||
+ (d->private_data->sg_buffer[5]))+
|
||||
|
||||
- ((((signed char)(d->private->sg_buffer[6])<<24) |
|
||||
- (d->private->sg_buffer[7]<<16)|
|
||||
- (d->private->sg_buffer[8]<<8)|
|
||||
- (d->private->sg_buffer[9]))));
|
||||
+ ((((signed char)(d->private_data->sg_buffer[6])<<24) |
|
||||
+ (d->private_data->sg_buffer[7]<<16)|
|
||||
+ (d->private_data->sg_buffer[8]<<8)|
|
||||
+ (d->private_data->sg_buffer[9]))));
|
||||
|
||||
|
||||
d->cd_extra = FixupTOC(d,tracks+1);
|
||||
@@ -817,7 +817,7 @@
|
||||
cmd[8] = sectors;
|
||||
if((ret=handle_scsi_cmd(d,cmd,10,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
|
||||
return(ret);
|
||||
- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
+ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -836,7 +836,7 @@
|
||||
cmd[9] = sectors;
|
||||
if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
|
||||
return(ret);
|
||||
- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
+ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -854,7 +854,7 @@
|
||||
cmd[8] = sectors;
|
||||
if((ret=handle_scsi_cmd(d,cmd,10,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
|
||||
return(ret);
|
||||
- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
+ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -872,7 +872,7 @@
|
||||
cmd[9] = sectors;
|
||||
if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
|
||||
return(ret);
|
||||
- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
+ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -890,7 +890,7 @@
|
||||
cmd[8] = sectors;
|
||||
if((ret=handle_scsi_cmd(d,cmd,10,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
|
||||
return(ret);
|
||||
- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
+ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -908,7 +908,7 @@
|
||||
cmd[9] = sectors;
|
||||
if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
|
||||
return(ret);
|
||||
- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
+ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -922,7 +922,7 @@
|
||||
cmd[8] = sectors;
|
||||
if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
|
||||
return(ret);
|
||||
- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
+ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -936,7 +936,7 @@
|
||||
cmd[8] = sectors;
|
||||
if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
|
||||
return(ret);
|
||||
- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
+ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -950,7 +950,7 @@
|
||||
cmd[8] = sectors;
|
||||
if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
|
||||
return(ret);
|
||||
- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
+ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -964,7 +964,7 @@
|
||||
cmd[8] = sectors;
|
||||
if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
|
||||
return(ret);
|
||||
- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
+ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -978,7 +978,7 @@
|
||||
cmd[8] = sectors;
|
||||
if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
|
||||
return(ret);
|
||||
- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
+ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -992,7 +992,7 @@
|
||||
cmd[8] = sectors;
|
||||
if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
|
||||
return(ret);
|
||||
- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
+ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -1026,7 +1026,7 @@
|
||||
|
||||
if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
|
||||
return(ret);
|
||||
- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
+ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -1039,7 +1039,7 @@
|
||||
|
||||
if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
|
||||
return(ret);
|
||||
- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
+ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -1052,7 +1052,7 @@
|
||||
|
||||
if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
|
||||
return(ret);
|
||||
- if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
+ if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
|
||||
return(0);
|
||||
}
|
||||
|
||||
@@ -1275,7 +1275,7 @@
|
||||
static int count_2352_bytes(cdrom_drive *d){
|
||||
long i;
|
||||
for(i=2351;i>=0;i--)
|
||||
- if(d->private->sg_buffer[i]!=(unsigned char)'\177')
|
||||
+ if(d->private_data->sg_buffer[i]!=(unsigned char)'\177')
|
||||
return(((i+3)>>2)<<2);
|
||||
|
||||
return(0);
|
||||
@@ -1284,7 +1284,7 @@
|
||||
static int verify_nonzero(cdrom_drive *d){
|
||||
long i,flag=0;
|
||||
for(i=0;i<2352;i++)
|
||||
- if(d->private->sg_buffer[i]!=0){
|
||||
+ if(d->private_data->sg_buffer[i]!=0){
|
||||
flag=1;
|
||||
break;
|
||||
}
|
||||
@@ -1625,7 +1625,7 @@
|
||||
d->is_mmc=0;
|
||||
if(mode_sense(d,22,0x2A)==0){
|
||||
|
||||
- b=d->private->sg_buffer;
|
||||
+ b=d->private_data->sg_buffer;
|
||||
b+=b[3]+4;
|
||||
|
||||
if((b[0]&0x3F)==0x2A){
|
||||
@@ -1673,7 +1673,7 @@
|
||||
cderror(d,"008: Unable to identify CDROM model\n");
|
||||
return(NULL);
|
||||
}
|
||||
- return (d->private->sg_buffer);
|
||||
+ return (d->private_data->sg_buffer);
|
||||
}
|
||||
|
||||
int scsi_init_drive(cdrom_drive *d){
|
||||
@@ -1742,8 +1742,8 @@
|
||||
check_cache(d);
|
||||
|
||||
d->error_retry=1;
|
||||
- d->private->sg_hd=realloc(d->private->sg_hd,d->nsectors*CD_FRAMESIZE_RAW + SG_OFF + 128);
|
||||
- d->private->sg_buffer=((unsigned char *)d->private->sg_hd)+SG_OFF;
|
||||
+ d->private_data->sg_hd=realloc(d->private_data->sg_hd,d->nsectors*CD_FRAMESIZE_RAW + SG_OFF + 128);
|
||||
+ d->private_data->sg_buffer=((unsigned char *)d->private_data->sg_hd)+SG_OFF;
|
||||
d->report_all=1;
|
||||
return(0);
|
||||
}
|
||||
--- cdparanoia-III-10.2/interface/test_interface.c
|
||||
+++ cdparanoia-III-10.2/interface/test_interface.c
|
||||
@@ -66,9 +66,9 @@
|
||||
if(!fd)fd=fdopen(d->cdda_fd,"r");
|
||||
|
||||
if(begin<lastread)
|
||||
- d->private->last_milliseconds=20;
|
||||
+ d->private_data->last_milliseconds=20;
|
||||
else
|
||||
- d->private->last_milliseconds=sectors;
|
||||
+ d->private_data->last_milliseconds=sectors;
|
||||
|
||||
#ifdef CDDA_TEST_UNDERRUN
|
||||
sectors-=1;
|
||||
@@ -0,0 +1,82 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cdparanoia</Name>
|
||||
<Homepage>http://www.xiph.org/paranoia/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<IsA>library</IsA>
|
||||
<Summary>An advanced CDDA reader with error correction</Summary>
|
||||
<Description>cdparanoia is an advanced CDDA (audio CD) reader with error correction.</Description>
|
||||
<Archive sha1sum="1901e20d3a370ca6afa4c76a9ef30d3f03044320" type="targz">http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-10.2.src.tgz</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">build_system.patch</Patch>
|
||||
<Patch level="1">cdparanoia-III-05-gcc4.3.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>cdparanoia</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>cdparanoia-devel</Name>
|
||||
<Summary>Development files for cdparanoia</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">cdparanoia</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2014-05-20</Date>
|
||||
<Version>3.10.2</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-03-10</Date>
|
||||
<Version>3.10.2</Version>
|
||||
<Comment>Rebuild for patch</Comment>
|
||||
<Name>Burak Fazıl Ertürk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-01-01</Date>
|
||||
<Version>3.10.2</Version>
|
||||
<Comment>Release bump and clean</Comment>
|
||||
<Name>Burak Fazıl Ertürk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-09-14</Date>
|
||||
<Version>3.10.2</Version>
|
||||
<Comment>*Release bump.
|
||||
*Disable patch</Comment>
|
||||
<Name>Burak Fazıl Ertürk</Name>
|
||||
<Email>burakerturk@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-13</Date>
|
||||
<Version>3.10.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>cdparanoia</Name>
|
||||
<Summary xml:lang="tr">Hata düzeltme fonksiyonlu gelişmiş bir CDDA okuyucu</Summary>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>cdparanoia-devel</Name>
|
||||
<Summary xml:lang="tr">cdparanoia için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>hardware.optical</Name>
|
||||
</PISI>
|
||||
@@ -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
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf("-fi")
|
||||
autotools.configure("--disable-static \
|
||||
--disable-doc \
|
||||
--disable-dependency-tracking")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.dohtml("doc/*.html")
|
||||
pisitools.dodoc("ChangeLog", "AUTHORS", "NEWS", "README")
|
||||
@@ -0,0 +1,68 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libdvdcss</Name>
|
||||
<Homepage>http://www.videolan.org/libdvdcss/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A portable abstraction library for DVD decryption</Summary>
|
||||
<Description>libdvdcss is a simple and library portable abstraction library designed for accessing DVDs like a block device without having to bother about the decryption. A DVD player can be built around the libdvdcss API using no more than 4 or 5 library calls.</Description>
|
||||
<Archive sha1sum="b3ccd70a510aa04d644f32b398489a3122a7e11a" type="tarbz2">http://download.videolan.org/pub/libdvdcss/1.3.0/libdvdcss-1.3.0.tar.bz2</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libdvdcss</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libdvdcss-devel</Name>
|
||||
<Summary>Development files for libdvdcss</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libdvdcss</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/dvdcss</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-09-29</Date>
|
||||
<Version>1.3.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-21</Date>
|
||||
<Version>1.2.13</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-29</Date>
|
||||
<Version>1.2.13</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-08-29</Date>
|
||||
<Version>1.2.12</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libdvdcss</Name>
|
||||
<Summary xml:lang="tr">DVD çözmek için soyutlanmış taşınabilir bir kütüphane</Summary>
|
||||
<Description xml:lang="tr">Libdvdcss, şifre çözme konusunda zahmete girmeden bir blok aygıt gibi DVD'lere erişim için düzenlenmiş basit ve soyutlanmış taşınabilir bir kütüphanedir. Bir DVD çalıcısı libdvdcss API etrafında 4 veya 5'ten fazla olmaksızın kütüphane çağrısı kullanarak kurulabilir.</Description>
|
||||
<Description xml:lang="fr">libdvdcss est une librairie simple et portable d'abstraction conçue pour accéder auxDVDs comme des périphériques par blocs sans avoir à se soucier du décodage. On peut construire un lecteur DVD à partir de l'API de libdvdcss en 4 ou 5 appels.</Description>
|
||||
<Description xml:lang="es">libdvdcss es una liraría simple y portable de abstracción para acceder a DVDs como a dispositivos de bloques, sin preocuparse de decriptación. Se puede construir un reproductor DVD alrededor el API libdvdcss con no más de 4 o 5 llamadas de librería.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libdvdcss-devel</Name>
|
||||
<Summary xml:lang="tr">libdvdcss için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,29 @@
|
||||
#!/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
|
||||
#
|
||||
# taken from
|
||||
# svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import libtools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
libtools.libtoolize("--force --install")
|
||||
autotools.autoreconf("-vfi")
|
||||
|
||||
autotools.configure("--with-libdvdcss=/usr \
|
||||
--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
|
||||
|
||||
pisitools.dodoc("ChangeLog", "AUTHORS", "README", "TODO")
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libdvdread</Name>
|
||||
<Homepage>http://www.mplayerhq.hu/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Provides a simple foundation for reading DVD-Video images</Summary>
|
||||
<Description>A DVD player for the Solaris, Linux and BSD environments released under the GNU Public License (GPL). It is includes bookmarks, time skipping, multichannel audio, SPDIF output, crop and zoom video. It supports DVD menus and navigation, reads from mounted, unmounted DVDs and hard drive and reads encrypted and unencrypted DVDs using libdvdread/libdvdcss.</Description>
|
||||
<Archive sha1sum="54d00e38860a9c82fc10f4f0deb3c28fdf244d13" type="tarbz2">http://download.videolan.org/pub/videolan/libdvdread/5.0.2/libdvdread-5.0.2.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libdvdcss-devel</Dependency>
|
||||
<Dependency>git</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libdvdread</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libdvdcss</Dependency>
|
||||
<Dependency>glibc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc/libdvdread</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libdvdread-devel</Name>
|
||||
<Summary>Development files for libdvdread</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libdvdread</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/share/aclocal</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2015-01-31</Date>
|
||||
<Version>5.0.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2015-01-28</Date>
|
||||
<Version>5.0.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-09-29</Date>
|
||||
<Version>5.0.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-24</Date>
|
||||
<Version>4.9.9</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-03-08</Date>
|
||||
<Version>4.2.0</Version>
|
||||
<Comment>V.Bump</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>0.0_20100819</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libdvdread</Name>
|
||||
<Summary xml:lang="tr">DVD videolarını okumak için basit bir kütüphane</Summary>
|
||||
<Description xml:lang="tr">GNU Public License (GPL) altındaki Solaris, Linux ve BSD ortamları için bir DVD oynatıcısıdır. Yerimi, zaman atlatma, çoklukanal ses çıktı, SPDIF çıktı, video kırpma ve büyütme özellikleri içerir. DVD menüleri ve dolaşma özelliğini destekler, bağlanmış (mount) ve bağlanmamış sabit diskleri okur ve libdvdread / libdvdcss kullanan şifreli ve şifresiz DVDleri oynatabilir.</Description>
|
||||
<Description xml:lang="fr">Un lecteur DVD pour les environnements Solaris, Linux et BSD publié sous la licence publique GNU (GPL). Il gère les signets, les sauts dans le temps, les sorties audio sur plusieurs canaux, sortie SPDIF, le zoom et le crop (vision exclusive d'une zone) vidéo. Il gère également les menus DVD et la navigation, permet de lire depuis les DVD montés ou non montés, depuis un disque dur. Il peut lire les DVDs cryptés et non cryptés grâce à libdvdread/libdvdcss.</Description>
|
||||
<Description xml:lang="es">DVD player para Solaris, Linux y BSD liberado bajo la licencia GNU Public License (GPL). incluye marcadores (bookmarks), time skipping, multichannel audio, salida SPDIF, video crop y zoom. soporta menús DVD y navegación, lee de DVDs y discos rígidos montados y no-montados y lee DVDs encriptados y no-encriptados usando libdvdread/libdvdcss.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libdvdread-devel</Name>
|
||||
<Summary xml:lang="tr">libdvdread için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -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 get
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
autotools.configure("--enable-shared \
|
||||
--disable-static \
|
||||
--enable-nls \
|
||||
--enable-threads")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("ChangeLog", "NEWS", "TODO", "README", "AUTHORS")
|
||||
@@ -0,0 +1,29 @@
|
||||
diff -Nur libvisual-0.4.0-old/libvisual/lv_cpu.c libvisual-0.4.0/libvisual/lv_cpu.c
|
||||
--- libvisual-0.4.0-old/libvisual/lv_cpu.c 2008-06-16 04:58:57.000000000 +0300
|
||||
+++ libvisual-0.4.0/libvisual/lv_cpu.c 2008-06-16 04:59:32.000000000 +0300
|
||||
@@ -76,7 +76,7 @@
|
||||
|
||||
/* The sigill handlers */
|
||||
#if defined(VISUAL_ARCH_X86) //x86 (linux katmai handler check thing)
|
||||
-#if defined(VISUAL_OS_LINUX) && defined(_POSIX_SOURCE) && defined(X86_FXSR_MAGIC)
|
||||
+#if defined(VISUAL_OS_LINUX) && defined(_POSIX_SOURCE)
|
||||
static void sigill_handler_sse( int signal, struct sigcontext sc )
|
||||
{
|
||||
/* Both the "xorps %%xmm0,%%xmm0" and "divps %xmm0,%%xmm1"
|
||||
@@ -109,7 +109,7 @@
|
||||
}
|
||||
}
|
||||
#endif
|
||||
-#endif /* VISUAL_OS_LINUX && _POSIX_SOURCE && X86_FXSR_MAGIC */
|
||||
+#endif /* VISUAL_OS_LINUX && _POSIX_SOURCE */
|
||||
|
||||
#if defined(VISUAL_OS_WIN32)
|
||||
LONG CALLBACK win32_sig_handler_sse(EXCEPTION_POINTERS* ep)
|
||||
@@ -143,6 +143,7 @@
|
||||
|
||||
static void check_os_altivec_support( void )
|
||||
{
|
||||
+ return;
|
||||
#if defined(VISUAL_OS_DARWIN)
|
||||
int sels[2] = {CTL_HW, HW_VECTORUNIT};
|
||||
int has_vu = 0;
|
||||
@@ -0,0 +1,61 @@
|
||||
diff -ru libvisual-0.4.0.orig/libvisual/lv_cache.c libvisual-0.4.0/libvisual/lv_cache.c
|
||||
--- libvisual-0.4.0.orig/libvisual/lv_cache.c 2009-03-07 17:17:38.000000000 +0000
|
||||
+++ libvisual-0.4.0/libvisual/lv_cache.c 2009-03-07 17:25:26.000000000 +0000
|
||||
@@ -32,7 +32,7 @@
|
||||
static int cache_dtor (VisObject *object);
|
||||
static int cache_remove_list_entry (VisCache *cache, VisListEntry **le);
|
||||
|
||||
-static inline void handle_request_reset (VisCache *cache, VisListEntry *le);
|
||||
+static lv_inline void handle_request_reset (VisCache *cache, VisListEntry *le);
|
||||
|
||||
static int cache_dtor (VisObject *object)
|
||||
{
|
||||
@@ -74,7 +74,7 @@
|
||||
}
|
||||
|
||||
|
||||
-static inline void handle_request_reset (VisCache *cache, VisListEntry *le)
|
||||
+static lv_inline void handle_request_reset (VisCache *cache, VisListEntry *le)
|
||||
{
|
||||
VisCacheEntry *centry;
|
||||
|
||||
diff -ru libvisual-0.4.0.orig/libvisual/lv_defines.h libvisual-0.4.0/libvisual/lv_defines.h
|
||||
--- libvisual-0.4.0.orig/libvisual/lv_defines.h 2009-03-07 17:17:38.000000000 +0000
|
||||
+++ libvisual-0.4.0/libvisual/lv_defines.h 2009-03-07 17:24:17.000000000 +0000
|
||||
@@ -63,13 +63,13 @@
|
||||
|
||||
/* Compiler specific optimalization macros */
|
||||
#if __GNUC__ >= 3
|
||||
-# define inline inline __attribute__ ((always_inline))
|
||||
+# define lv_inline inline __attribute__ ((always_inline))
|
||||
# define __malloc __attribute__ ((malloc))
|
||||
# define __packed __attribute__ ((packed))
|
||||
# define VIS_LIKELY(x) __builtin_expect (!!(x), 1)
|
||||
# define VIS_UNLIKELY(x) __builtin_expect (!!(x), 0)
|
||||
#else
|
||||
-# define inline /* no inline */
|
||||
+# define lv_inline /* no inline */
|
||||
# define __malloc /* no malloc */
|
||||
# define __packed /* no packed */
|
||||
# define VIS_LIKELY(x) (x)
|
||||
diff -ru libvisual-0.4.0.orig/libvisual/lv_time.h libvisual-0.4.0/libvisual/lv_time.h
|
||||
--- libvisual-0.4.0.orig/libvisual/lv_time.h 2009-03-07 17:17:38.000000000 +0000
|
||||
+++ libvisual-0.4.0/libvisual/lv_time.h 2009-03-07 17:25:15.000000000 +0000
|
||||
@@ -101,7 +101,7 @@
|
||||
*
|
||||
* @return Nothing.
|
||||
*/
|
||||
-static inline void visual_timer_tsc_get (uint32_t *lo, uint32_t *hi)
|
||||
+static lv_inline void visual_timer_tsc_get (uint32_t *lo, uint32_t *hi)
|
||||
{
|
||||
#if defined(VISUAL_ARCH_X86) || defined(VISUAL_ARCH_X86_64)
|
||||
__asm __volatile
|
||||
@@ -115,7 +115,7 @@
|
||||
}
|
||||
|
||||
/* FIXME use uint64_t here, make sure type exists */
|
||||
-static inline unsigned long long visual_timer_tsc_get_returned ()
|
||||
+static lv_inline unsigned long long visual_timer_tsc_get_returned ()
|
||||
{
|
||||
uint32_t lo, hi;
|
||||
|
||||
@@ -0,0 +1,89 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libvisual</Name>
|
||||
<Homepage>http://libvisual.sourceforge.net</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Abstraction library for audio visualisation plugins</Summary>
|
||||
<Description>libvisual is an abstraction library that comes between applications and audio visualisation plugins.</Description>
|
||||
<Archive sha1sum="54beb3d3b7ce0dbec8e82015f732803b97d51c30" type="tarbz2">mirrors://sourceforge/libvisual/libvisual-0.4.0.tar.bz2</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">disable_altivec.patch</Patch>
|
||||
<Patch level="1">libvisual-0.4.0-inlinedefineconflict.patch</Patch>
|
||||
</Patches>
|
||||
<BuildDependencies>
|
||||
<!--<Dependency>glibc-32bit</Dependency>-->
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libvisual</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libvisual-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for libvisual</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libvisual</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libvisual-devel</Name>
|
||||
<Summary>Development files for libvisual</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libvisual</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
<!-- FIXME: Remove this if not necessary -->
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-20</Date>
|
||||
<Version>0.4.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-02-14</Date>
|
||||
<Version>0.4.0</Version>
|
||||
<Comment>Add emul32</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>0.4.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libvisual</Name>
|
||||
<Summary xml:lang="tr">Ses canlandırma eklentileri için kütüphane</Summary>
|
||||
<Description xml:lang="tr">libvisual, uygulamalar ve ses canlandırma eklentileri arasında yer alan bir soyutlama kütüphanesidir.</Description>
|
||||
<Description xml:lang="fr">Libvisual est une librairie d'abstraction venant entre les applications et les plugins (greffons) de visualisation audio.</Description>
|
||||
<Description xml:lang="es">Libvisual es una librería de abstracción que actúa entre aplicaciones y plugins con funciones audiovisuales.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libvisual-devel</Name>
|
||||
<Summary xml:lang="tr">libvisual için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -15,30 +15,33 @@
|
||||
<Archive sha1sum="2c4b34245107395bc9103649bb2af1c1088a3f7c" type="tarxz">http://ftp.gnome.org/pub/gnome/sources/gst-plugins-base/0.10/gst-plugins-base-0.10.36.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gstreamer-devel</Dependency>
|
||||
<Dependency versionFrom="0.90">libcdio-devel</Dependency>
|
||||
<Dependency>cdparanoia-devel</Dependency>
|
||||
<Dependency>gstreamer-next-devel</Dependency>
|
||||
<!--<Dependency versionFrom="0.90">libcdio-devel</Dependency>-->
|
||||
<!--<Dependency>cdparanoia-devel</Dependency>-->
|
||||
<Dependency>pango-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<!--<Dependency>cairo-devel</Dependency>-->
|
||||
<Dependency>libXv-devel</Dependency>
|
||||
<Dependency>liboil-devel</Dependency>
|
||||
<!--<Dependency>liboil-devel</Dependency>-->
|
||||
<Dependency>libogg-devel</Dependency>
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<!--<Dependency>libXext-devel</Dependency>-->
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
<Dependency>libtheora-devel</Dependency>
|
||||
<Dependency>libvisual-devel</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
<Dependency>orc-devel</Dependency>
|
||||
<Dependency>gnome-vfs-devel</Dependency>
|
||||
<!--<Dependency>gnome-vfs-devel</Dependency>-->
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gst-plugins-base</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>gstreamer</Dependency>
|
||||
<Dependency versionFrom="0.90">libcdio</Dependency>
|
||||
<Dependency>cdparanoia</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>libXv</Dependency>
|
||||
@@ -49,7 +52,6 @@
|
||||
<Dependency>libvisual</Dependency>
|
||||
<Dependency>libtheora</Dependency>
|
||||
<Dependency>orc</Dependency>
|
||||
<Dependency>gnome-vfs</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
@@ -58,7 +60,7 @@
|
||||
<Path fileType="library">/usr/lib/libgst*</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/gir-1.0</Path>
|
||||
<Path fileType="data">/usr/share/gst-plugins-base</Path>
|
||||
<Path fileType="data">/usr/share/gst-plugins-base</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
</Files>
|
||||
@@ -92,6 +94,7 @@
|
||||
<Dependency release="current">gst-plugins-base</Dependency>
|
||||
<Dependency>orc-32bit</Dependency>
|
||||
<Dependency>zlib-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency>glib2-32bit</Dependency>
|
||||
<Dependency>libXv-32bit</Dependency>
|
||||
<Dependency>cairo-32bit</Dependency>
|
||||
@@ -117,6 +120,7 @@
|
||||
<Summary>Development files for gst-plugins-base</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">gst-plugins-base</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>gstreamer-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<Package>
|
||||
<Name>gstreamer-next</Name>
|
||||
<RuntimeDependencies>
|
||||
<!--<Dependency>ghostscript</Dependency>-->
|
||||
<Dependency>glib2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
@@ -51,6 +51,7 @@
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glib2-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
<Dependency release="current">gstreamer-next</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
@@ -63,6 +64,7 @@
|
||||
<Summary>Development files for gstreamer</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">gstreamer-next</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
|
||||
@@ -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 autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure()
|
||||
|
||||
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", "README*", "NEWS")
|
||||
@@ -0,0 +1,93 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gstreamermm</Name>
|
||||
<Homepage>http://gstreamer.freedesktop.org/bindings/cplusplus.html</Homepage>
|
||||
<Packager>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>GStreamer C++ bindings</Summary>
|
||||
<Description>The GStreamer API C++ bindings are based on gtkmm, using the same lifecycle mechanism.</Description>
|
||||
<Archive sha1sum="463c106b68d73e130be157d060f74c01f963402f" type="tarxz">http://ftp.gnome.org/pub/gnome/sources/gstreamermm/0.10/gstreamermm-0.10.11.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency>gstreamer-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>gst-plugins-base-devel</Dependency>
|
||||
<Dependency>glibmm-devel</Dependency>
|
||||
<Dependency>libxmlpp-devel</Dependency>
|
||||
<Dependency>libsigc++</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gstreamermm</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>gstreamer</Dependency>
|
||||
<Dependency>gst-plugins-base</Dependency>
|
||||
<Dependency>glibmm</Dependency>
|
||||
<Dependency>libxmlpp</Dependency>
|
||||
<Dependency>libsigc++</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/devhelp/books/gstreamermm-0.10</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>gstreamermm-devel</Name>
|
||||
<Summary>gstreamermm için geliştirme dosyaları</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>glibmm-devel</Dependency>
|
||||
<Dependency>libxmlpp-devel</Dependency>
|
||||
<Dependency>gstreamer-devel</Dependency>
|
||||
<Dependency>gst-plugins-base-devel</Dependency>
|
||||
<Dependency release="current">gstreamermm</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/gstreamermm-0.10</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-05-28</Date>
|
||||
<Version>0.10.11</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-02-27</Date>
|
||||
<Version>0.10.11</Version>
|
||||
<Comment>Rebuild Unused</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-26</Date>
|
||||
<Version>0.10.11</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-08-08</Date>
|
||||
<Version>0.10.11</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>gstreamermm</Name>
|
||||
<Summary xml:lang="tr">Gstreamer C++ arayüzü</Summary>
|
||||
<Description xml:lang="tr">Gstreamer'ın C++ arayüzü gtkmm temel alınarak hazırlanmıştır, aynı yaşam ömrü mekanizmasını kullanır.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gstreamermm-devel</Name>
|
||||
<Summary xml:lang="tr">gstreamermm için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
if get.buildTYPE() == "emul32":
|
||||
pisitools.dosed("configure.ac", "(.*OC_X86_64_ASM.*)", r"#\1")
|
||||
shelltools.system("./autogen.sh")
|
||||
autotools.configure("--enable-shared \
|
||||
--enable-encode \
|
||||
--disable-dependency-tracking \
|
||||
--disable-spec \
|
||||
--disable-sdltest \
|
||||
--disable-examples \
|
||||
--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall('DESTDIR="%s" docdir=/%s/libtheora' % (get.installDIR(), get.docDIR()))
|
||||
|
||||
pisitools.dodoc("README", "AUTHORS", "CHANGES")
|
||||
@@ -0,0 +1,14 @@
|
||||
diff -ur libtheora-1.0beta2.orig/configure.ac libtheora-1.0beta2/configure.ac
|
||||
--- libtheora-1.0beta2.orig/configure.ac 2007-10-13 00:01:38.000000000 +0300
|
||||
+++ libtheora-1.0beta2/configure.ac 2007-11-25 22:44:49.000000000 +0200
|
||||
@@ -102,8 +102,8 @@
|
||||
case $host in
|
||||
*)
|
||||
DEBUG="-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES"
|
||||
- CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops"
|
||||
- PROFILE="-Wall -Wno-parentheses -pg -g -O3 -fno-inline-functions -DDEBUG";;
|
||||
+ CFLAGS="-Wall -Wno-parentheses"
|
||||
+ PROFILE="-Wall -Wno-parentheses -pg -g -fno-inline-functions -DDEBUG";;
|
||||
esac
|
||||
fi
|
||||
CFLAGS="$CFLAGS $cflags_save"
|
||||
@@ -0,0 +1,17 @@
|
||||
http://bugs.gentoo.org/465450
|
||||
http://trac.xiph.org/ticket/1947
|
||||
|
||||
--- examples/png2theora.c
|
||||
+++ examples/png2theora.c
|
||||
@@ -462,9 +462,9 @@
|
||||
png_set_strip_alpha(png_ptr);
|
||||
|
||||
row_data = (png_bytep)png_malloc(png_ptr,
|
||||
- 3*height*width*png_sizeof(*row_data));
|
||||
+ 3*height*width*sizeof(*row_data));
|
||||
row_pointers = (png_bytep *)png_malloc(png_ptr,
|
||||
- height*png_sizeof(*row_pointers));
|
||||
+ height*sizeof(*row_pointers));
|
||||
for(y = 0; y < height; y++) {
|
||||
row_pointers[y] = row_data + y*(3*width);
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libtheora</Name>
|
||||
<Homepage>http://www.theora.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>BSD</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>The Theora Video Compression Codec</Summary>
|
||||
<Description>libtheora is Xiph.Org's first publicly released video codec, intended for use within the Ogg's project's Ogg multimedia streaming system.</Description>
|
||||
<Archive sha1sum="8dcaa8e61cd86eb1244467c0b64b9ddac04ae262" type="tarbz2">http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libogg-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">flags.patch</Patch>
|
||||
<Patch level="0">libtheora-1.1.1-libpng16.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libtheora</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libogg</Dependency>
|
||||
<Dependency>libvorbis</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libtheora-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for libtheora</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<BuildDependencies>
|
||||
<Dependency>libogg-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
</BuildDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libtheora</Dependency>
|
||||
<Dependency>libogg-32bit</Dependency>
|
||||
<Dependency>glibc-32bit</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libtheora-devel</Name>
|
||||
<Summary>Development files for libtheora</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libtheora</Dependency>
|
||||
<Dependency>libogg-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib32/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-20</Date>
|
||||
<Version>1.1.1</Version>
|
||||
<Comment>Rebuild, add libpng16 patch.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-02-14</Date>
|
||||
<Version>1.1.1</Version>
|
||||
<Comment>Add emul32</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>1.1.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libtheora</Name>
|
||||
<Summary xml:lang="tr">Theora video sıkıştırma kodlaması</Summary>
|
||||
<Description xml:lang="tr">libtheora, Ogg projesi kapsamında Ogg çokluortam akış sistemi ile beraber kullanılmak üzere tasarlanmış bir video kodlamasıdır.</Description>
|
||||
<Summary xml:lang="fr">Le codec (compresseur / décompresseur) de compression vidéo Theora.</Summary>
|
||||
<Summary xml:lang="de">Der Theora Video Kompressions-Codec</Summary>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libtheora-devel</Name>
|
||||
<Summary xml:lang="tr">libtheora için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -39,6 +39,7 @@
|
||||
<Summary>Development files for json-glib</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">json-glib</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
pisitools.dosym("libinput.so.5.0.0","/usr/lib/libinput.so.0")
|
||||
|
||||
#pisitools.dodoc("COPYING", "README")
|
||||
@@ -0,0 +1,87 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libinput</Name>
|
||||
<Homepage>http://www.freedesktop.org/wiki/Software/libinput/</Homepage>
|
||||
<Packager>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>X11</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>library that handles input devices for display servers and other applications that need to directly deal with input devices.</Summary>
|
||||
<Description>It provides device detection, device handling, input device event processing and abstraction so minimize the amount of custom input code the user of libinput need to provide the common set of functionality that users expect.</Description>
|
||||
<BuildDependencies>
|
||||
<Dependency>libevdev</Dependency>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
<Dependency>libmtdev-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Archive sha1sum="027fe8ef2be9388480e5cb1ba2688f625fdb0340" type="tarxz">http://www.freedesktop.org/software/libinput/libinput-0.20.0.tar.xz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libinput</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libevdev</Dependency>
|
||||
<Dependency>libmtdev</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/man/man1</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libinput-devel</Name>
|
||||
<Summary>Development files for libinput</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libinput</Dependency>
|
||||
<Dependency>eudev-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2015-07-21</Date>
|
||||
<Version>0.20.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2015-02-16</Date>
|
||||
<Version>0.10.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-10-25</Date>
|
||||
<Version>0.6.0</Version>
|
||||
<Comment>Add symbolic link.</Comment>
|
||||
<Name>Ekin Dursun</Name>
|
||||
<Email>ekin.dursun@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-09-19</Date>
|
||||
<Version>0.6.0</Version>
|
||||
<Comment>Version bump..</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2014-05-27</Date>
|
||||
<Version>0.2.0</Version>
|
||||
<Comment>First release.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libinput</Name>
|
||||
<Summary xml:lang="tr">libinput Wayland Campasitars giriş aygıtları işlemek için ve genel X.Org giriş sürücü sağlamak için bir kütüphane.</Summary>
|
||||
<Description xml:lang="tr">Bu yüzden kullanıcıların beklediği fonksiyonellik ortak kümesi sağlamak için gereken özel giriş kodu compositors miktarını en az indirerek, aygıt kullanımı, giriş aygıtı olay işleme ve soyutlama sağlar.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,32 @@
|
||||
#!/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():
|
||||
# dont waste time building examples, docs and tests
|
||||
pisitools.dosed("Makefile.in", " tests examples docs")
|
||||
|
||||
autotools.configure("--disable-static")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.removeDir("/usr/share/devhelp")
|
||||
|
||||
#move html docs to html doc dir
|
||||
pisitools.dodir("/usr/share/doc/%s/html" % get.srcNAME())
|
||||
pisitools.domove("/usr/share/doc/%s-2.0/*" % get.srcNAME(), "/usr/share/doc/%s/html" % get.srcNAME())
|
||||
pisitools.removeDir("/usr/share/doc/%s-2.0" % get.srcNAME())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "README", "NEWS", "TODO")
|
||||
@@ -0,0 +1,80 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libsigc++</Name>
|
||||
<Homepage>http://libsigc.sourceforge.net</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Typesafe signal framework for C++</Summary>
|
||||
<Description>libsigc++ is a library which implements a full callback system for use in widget libraries, abstract interfaces, and general programming.</Description>
|
||||
<Archive sha1sum="33e0b0f162eababc310d927246627d62bb25cb63" type="tarxz">mirrors://gnome/libsigc++/2.4/libsigc++-2.4.1.tar.xz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libsigc++</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libsigc++-devel</Name>
|
||||
<Summary>Development files for libsigc++</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libsigc++</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="doc">/usr/lib/sigc++*/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libsigc++-docs</Name>
|
||||
<Summary>Development documents for libsigc++</Summary>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc/libsigc++/html</Path>
|
||||
</Files>33e0b0f162eababc310d927246627d62bb25cb63
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2015-07-21</Date>
|
||||
<Version>2.4.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-05-18</Date>
|
||||
<Version>2.3.1</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-03-04</Date>
|
||||
<Version>2.3.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-09-29</Date>
|
||||
<Version>2.2.11</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libsigc++</Name>
|
||||
<Summary xml:lang="tr">C++ için sinyal altyapısı</Summary>
|
||||
<Description xml:lang="tr">libsigc++, widget kitaplıkları, soyut arabirimlerde ve genel programlama esnasında kullanılmak üzere tasarlanmış bir sinyal ve callback altyapısıdır.</Description>
|
||||
<Summary xml:lang="fr">Système de rappels à types sûrs (typesafe callback) pour C++.</Summary>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libsigc++-devel</Name>
|
||||
<Summary xml:lang="tr">libsigc++ için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libsigc++-docs</Name>
|
||||
<Summary xml:lang="tr">libsigc++ için geliştirme belgeleri</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "libxml++-%s" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static \
|
||||
--disable-examples \
|
||||
--enable-dependency-tracking")
|
||||
|
||||
# for fix unused dependency
|
||||
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dohtml("docs/reference/html/*")
|
||||
|
||||
pisitools.dodoc("ChangeLog", "AUTHORS", "NEWS", "README*")
|
||||
#pisitools.removeDir("/usr/share/doc/libxml++-2.6")
|
||||
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libxmlpp</Name>
|
||||
<Homepage>http://libxmlplusplus.sourceforge.net</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>C++ wrapper for the libxml2 XML parser library</Summary>
|
||||
<Description>libxml++ is a C++ wrapper for the libxml XML parser library.</Description>
|
||||
<Archive sha1sum="7d51f5173bc33dc024000fc4d5ec6f26a53d0c02" type="tarxz">http://ftp.acc.umu.se/pub/GNOME/sources/libxml++/2.38/libxml++-2.38.1.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>glibmm-devel</Dependency>
|
||||
<Dependency>libsigc++-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libxmlpp</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>glibmm</Dependency>
|
||||
<!--<Dependency>libsigc++</Dependency>-->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libxmlpp-devel</Name>
|
||||
<Summary>Development files for libxmlpp</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libxmlpp</Dependency>
|
||||
<Dependency>glibmm-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="header">/usr/lib/libxml++-2.6</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libxmlpp-docs</Name>
|
||||
<Summary>Development documents for libxmlpp in HTML</Summary>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc/libxmlpp/html</Path>
|
||||
<Path fileType="doc">/usr/share/devhelp</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2015-05-21</Date>
|
||||
<Version>2.38.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-10-29</Date>
|
||||
<Version>2.37.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2011-03-16</Date>
|
||||
<Version>2.33.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libxmlpp2</Name>
|
||||
<Summary xml:lang="tr">libxml XML kütüphanesi için bir C++ arabirimi</Summary>
|
||||
<Description xml:lang="tr">libxml XML kütüphanesi için bir C++ arabirimi</Description>
|
||||
<Description xml:lang="fr">enrobage en C++ de la librairie d'analyse XML libxml.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libxmlpp-devel</Name>
|
||||
<Summary xml:lang="tr">libxmlpp için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libxmlpp-docs</Name>
|
||||
<Summary xml:lang="tr">libxmlpp için HTML formatında geliştirme belgeleri</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>programming.profiler</Name>
|
||||
</PISI>
|
||||
@@ -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():
|
||||
autotools.autoreconf("-vfi")
|
||||
autotools.configure("--without-mpicc")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "FAQ.txt", "NEWS", "README*")
|
||||
@@ -0,0 +1,37 @@
|
||||
diff -Naur valgrind-3.9.0-orig/configure valgrind-3.9.0/configure
|
||||
--- valgrind-3.9.0-orig/configure 2013-11-01 09:33:32.000000000 +1000
|
||||
+++ valgrind-3.9.0/configure 2014-02-08 09:28:06.063248544 +1000
|
||||
@@ -6689,6 +6689,16 @@
|
||||
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
||||
;;
|
||||
+ 2.19)
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.19 family" >&5
|
||||
+$as_echo "2.19 family" >&6; }
|
||||
+
|
||||
+$as_echo "#define GLIBC_2_19 1" >>confdefs.h
|
||||
+
|
||||
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
||||
+ ;;
|
||||
darwin)
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5
|
||||
$as_echo "Darwin" >&6; }
|
||||
diff -Naur valgrind-3.9.0-orig/configure.ac valgrind-3.9.0/configure.ac
|
||||
--- valgrind-3.9.0-orig/configure.ac 2013-11-01 09:28:16.000000000 +1000
|
||||
+++ valgrind-3.9.0/configure.ac 2014-02-08 09:27:38.870385366 +1000
|
||||
@@ -918,6 +918,13 @@
|
||||
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
||||
;;
|
||||
+ 2.19)
|
||||
+ AC_MSG_RESULT(2.19 family)
|
||||
+ AC_DEFINE([GLIBC_2_19], 1, [Define to 1 if you're using glibc 2.19.x])
|
||||
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
||||
+ ;;
|
||||
darwin)
|
||||
AC_MSG_RESULT(Darwin)
|
||||
AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin])
|
||||
@@ -0,0 +1,54 @@
|
||||
diff -Naur valgrind-3.9.0-orig/configure valgrind-3.9.0/configure
|
||||
--- valgrind-3.9.0-orig/configure 2013-11-01 09:33:32.000000000 +1000
|
||||
+++ valgrind-3.9.0/configure 2014-02-08 09:28:06.063248544 +1000
|
||||
@@ -6689,6 +6689,26 @@
|
||||
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
||||
;;
|
||||
+ 2.20)
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.20 family" >&5
|
||||
+$as_echo "2.20 family" >&6; }
|
||||
+
|
||||
+$as_echo "#define GLIBC_2_20 1" >>confdefs.h
|
||||
+
|
||||
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
||||
+ ;;
|
||||
+ 2.21)
|
||||
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.21 family" >&5
|
||||
+$as_echo "2.21 family" >&6; }
|
||||
+
|
||||
+$as_echo "#define GLIBC_2_21 1" >>confdefs.h
|
||||
+
|
||||
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
||||
+ ;;
|
||||
darwin)
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5
|
||||
$as_echo "Darwin" >&6; }
|
||||
diff -Naur valgrind-3.9.0-orig/configure.ac valgrind-3.9.0/configure.ac
|
||||
--- valgrind-3.9.0-orig/configure.ac 2013-11-01 09:28:16.000000000 +1000
|
||||
+++ valgrind-3.9.0/configure.ac 2014-02-08 09:27:38.870385366 +1000
|
||||
@@ -918,6 +918,20 @@
|
||||
DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
||||
;;
|
||||
+ 2.20)
|
||||
+ AC_MSG_RESULT(2.20 family)
|
||||
+ AC_DEFINE([GLIBC_2_20], 1, [Define to 1 if you're using glibc 2.20.x])
|
||||
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
||||
+ ;;
|
||||
+ 2.21)
|
||||
+ AC_MSG_RESULT(2.21 family)
|
||||
+ AC_DEFINE([GLIBC_2_21], 1, [Define to 1 if you're using glibc 2.21.x])
|
||||
+ DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
|
||||
+ DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
|
||||
+ ;;
|
||||
darwin)
|
||||
AC_MSG_RESULT(Darwin)
|
||||
AC_DEFINE([DARWIN_LIBC], 1, [Define to 1 if you're using Darwin])
|
||||
@@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>valgrind</Name>
|
||||
<Homepage>http://www.valgrind.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Memory access debugger for X86 and PPC Linux platforms</Summary>
|
||||
<Description>Valgrind is an award-winning suite of tools for debugging and profiling Linux programs. With the tools that come with Valgrind, you can automatically detect many memory management and threading bugs, avoiding hours of frustrating bug-hunting, making your programs more stable. You can also perform detailed profiling, to speed up and reduce memory use of your programs.</Description>
|
||||
<Archive sha1sum="15518427de842547ffa84eff8b2b67f3b16581a8" type="tarbz2">http://www.valgrind.org/downloads/valgrind-3.10.1.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>glibc-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--<Patch level="1">valgrind-3.9.0-glibc-2.19.patch</Patch>-->
|
||||
<Patch level="1">valgrind-3.9.0-glibc-2.21.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>valgrind</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="header">/usr/include/valgrind</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc/valgrind</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2015-07-21</Date>
|
||||
<Version>3.10.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-10-31</Date>
|
||||
<Version>3.10.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-05-20</Date>
|
||||
<Version>3.9.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-02-08</Date>
|
||||
<Version>3.9.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-02-19</Date>
|
||||
<Version>3.8.1</Version>
|
||||
<Comment>Add glibc-2.17 patch.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-24</Date>
|
||||
<Version>3.8.1</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>valgrind</Name>
|
||||
<Summary xml:lang="tr">X86 ve PPC Linux platformları için bellek erişimi hata ayıklayıcı</Summary>
|
||||
<Description xml:lang="tr">Valgrind, bu konuda ödül kazanmış Linux için çizge ve hata ayıklama araçları takımıdır. Valgrind ile gelen araçlar yardımıyla, birçok hafıza yönetimi ve iş parçacığı hatalarını otomatik olarak yakalayabilir, boşa geçen hata ayıklama saatlerinizi kazanabilir, programlarınızı daha kararlı bir hale getirebilirsiniz. Ayrıca programlarınızı daha hızlı çalışır yapmak ve kullandıkları hafızayı azaltmak için iş parçacıklarını detaylı olarak inceleyebilirsiniz.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user