Merge branch 'master' of github.com:pisilinux/main

This commit is contained in:
Ertuğrul Erata
2015-07-14 01:20:35 +03:00
11 changed files with 276 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/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 \
--with-pic")
def build():
autotools.make()
def install():
autotools.install()
pisitools.dodoc("AUTHORS", "NEWS", "README", "ChangeLog", "THANKS", "TODO")
+65
View File
@@ -0,0 +1,65 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>fribidi</Name>
<Homepage>http://fribidi.sourceforge.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>A free implementation of the unicode bidirectional algorithm</Summary>
<Description>GNU FriBidi is the Free Implementation of the Unicode Bidirectional Algorithm.</Description>
<Archive sha1sum="5a6ff82fdee31d27053c39e03223666ac1cb7a6a" type="tarbz2">http://fribidi.org/download/fribidi-0.19.6.tar.bz2</Archive>
</Source>
<Package>
<Name>fribidi</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>fribidi-devel</Name>
<Summary>Development files for fribidi</Summary>
<RuntimeDependencies>
<Dependency release="current">fribidi</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="man">/usr/share/man/man3</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-02-23</Date>
<Version>0.19.6</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-07-06</Date>
<Version>0.19.5</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-29</Date>
<Version>0.19.4</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>fribidi</Name>
<Summary xml:lang="tr">Çift yönlü unikod algoritmanın özgür bir uyarlaması</Summary>
<Description xml:lang="tr">GNU FriBidi, Çift Yönlü Unicode Algoritması'nın özgür uygulamasıdır.</Description>
<Description xml:lang="fr">GNU FriBidi est l'implémentation libre de l'algorithme bidirectionnel Unicode.</Description>
<Description xml:lang="es">GNU FriBidi es la implementación libre del algoritmo Unicode Bidirectional.</Description>
</Source>
<Package>
<Name>fribidi-devel</Name>
<Summary xml:lang="tr">fribidi için geliştirme dosyaları</Summary>
</Package>
</PISI>
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure("--with-gnu-ld \
--disable-debugging \
--disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
pisitools.dodoc("CHANGES", "COPYRIGHT", "CREDITS", "README", "TODO", "VERSION")
+11
View File
@@ -0,0 +1,11 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: id3tag
Description: ID3 tag reading library
Requires:
Version: 0.15.1b
Libs: -L${libdir} -lid3tag -lz
Cflags: -L${includedir}
@@ -0,0 +1,11 @@
--- field.c.orig 2008-05-05 09:49:15.000000000 -0400
+++ field.c 2008-05-05 09:49:25.000000000 -0400
@@ -291,7 +291,7 @@
end = *ptr + length;
- while (end - *ptr > 0) {
+ while (end - *ptr > 0 && **ptr != '\0') {
ucs4 = id3_parse_string(ptr, end - *ptr, *encoding, 0);
if (ucs4 == 0)
goto fail;
@@ -0,0 +1,27 @@
diff -urNad libid3tag-0.15.1b~/compat.gperf libid3tag-0.15.1b/compat.gperf
--- libid3tag-0.15.1b~/compat.gperf 2004-01-23 09:41:32.000000000 +0000
+++ libid3tag-0.15.1b/compat.gperf 2007-01-14 14:36:53.000000000 +0000
@@ -236,6 +236,10 @@
encoding = id3_parse_uint(&data, 1);
string = id3_parse_string(&data, end - data, encoding, 0);
+ if (!string)
+ {
+ continue;
+ }
if (id3_ucs4_length(string) < 4) {
free(string);
diff -urNad libid3tag-0.15.1b~/parse.c libid3tag-0.15.1b/parse.c
--- libid3tag-0.15.1b~/parse.c 2004-01-23 09:41:32.000000000 +0000
+++ libid3tag-0.15.1b/parse.c 2007-01-14 14:37:34.000000000 +0000
@@ -165,6 +165,9 @@
case ID3_FIELD_TEXTENCODING_UTF_8:
ucs4 = id3_utf8_deserialize(ptr, length);
break;
+ default:
+ /* FIXME: Unknown encoding! Print warning? */
+ return NULL;
}
if (ucs4 && !full) {
@@ -0,0 +1,21 @@
--- libid3tag-0.15.1b/utf16.c
+++ libid3tag-0.15.1b/utf16.c
@@ -282,5 +282,18 @@
free(utf16);
+ if (end == *ptr && length % 2 != 0)
+ {
+ /* We were called with a bogus length. It should always
+ * be an even number. We can deal with this in a few ways:
+ * - Always give an error.
+ * - Try and parse as much as we can and
+ * - return an error if we're called again when we
+ * already tried to parse everything we can.
+ * - tell that we parsed it, which is what we do here.
+ */
+ (*ptr)++;
+ }
+
return ucs4;
}
+71
View File
@@ -0,0 +1,71 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libid3tag</Name>
<Homepage>http://mad.sourceforge.net</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>The MAD id3tag library</Summary>
<Description>libid3tag is a library for reading and (eventually) writing ID3 tags, both ID3v1 and the various versions of ID3v2.</Description>
<Archive sha1sum="4d867e8a8436e73cd7762fe0e85958e35f1e4306" type="targz">mirrors://sourceforge/mad/libid3tag-0.15.1b.tar.gz</Archive>
<Patches>
<Patch>libid3tag-0.15.1b-fix_overflow.patch</Patch>
<Patch level="1">libid3tag-0.15.1b-unknown-encoding.patch</Patch>
<Patch level="1">libid3tag-0.15.1b-utf16.patchlibid3tag-0.15.1b-utf16.patch</Patch>
</Patches>
</Source>
<Package>
<Name>libid3tag</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libid3tag-devel</Name>
<RuntimeDependencies>
<Dependency release="current">libid3tag</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/lib/pkgconfig/id3tag.pc">id3tag.pc</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="3">
<Date>2014-05-20</Date>
<Version>0.15.1b</Version>
<Comment>Rebuild</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-28</Date>
<Version>0.15.1b</Version>
<Comment>Rebuild</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="1">
<Date>2010-10-12</Date>
<Version>0.15.1b</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,9 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libid3tag</Name>
<Summary xml:lang="tr">MAD id3tag kütüphanesi</Summary>
<Summary xml:lang="fr">La librairie id3tag MAD.</Summary>
<Summary xml:lang="de">Die MAD id3tag Bibliothek</Summary>
</Source>
</PISI>
+4
View File
@@ -14,6 +14,7 @@
<Description>LibXpm is the X pixmap library.</Description>
<Archive sha1sum="77b95dd1c8cd9bc00b3b834b53d824409202acbb" type="tarbz2">mirrors://xorg/individual/lib/libXpm-3.5.11.tar.bz2</Archive>
<BuildDependencies>
<Dependency>util-macros</Dependency>
<Dependency>libXext-devel</Dependency>
<Dependency>libXt-devel</Dependency>
</BuildDependencies>
@@ -24,6 +25,7 @@
<RuntimeDependencies>
<Dependency>libXext</Dependency>
<Dependency>libXt</Dependency>
<Dependency>libX11</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
@@ -55,12 +57,14 @@
<Dependency>libXext-32bit</Dependency>
<Dependency>libXt-32bit</Dependency>
<Dependency>libX11-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">libXpm</Dependency>
<Dependency>libXext-32bit</Dependency>
<Dependency>libXt-32bit</Dependency>
<Dependency>libX11-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>