kde5 needen library and programs moved.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/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("--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("README", "NEWS", "AUTHORS", "ChangeLog")
|
||||
@@ -0,0 +1,79 @@
|
||||
From e1443c945a4cf67096d8c27721aadd7368382b3f Mon Sep 17 00:00:00 2001
|
||||
From: Gilles Dartiguelongue <eva@gentoo.org>
|
||||
Date: Tue, 6 Apr 2010 15:22:25 +0200
|
||||
Subject: [PATCH 2/2] gentoo: use ISO types for fixed type size
|
||||
|
||||
---
|
||||
Makefile.am | 11 ++---------
|
||||
art_config.h | 5 +++++
|
||||
configure.in | 10 ----------
|
||||
3 files changed, 7 insertions(+), 19 deletions(-)
|
||||
create mode 100644 art_config.h
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 95952da..6aa2fe3 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -2,13 +2,6 @@ check_PROGRAMS = testart testuta
|
||||
|
||||
bin_SCRIPTS = \
|
||||
libart2-config
|
||||
-
|
||||
-noinst_SCRIPTS = gen_art_config.sh
|
||||
-
|
||||
-BUILT_SOURCES = art_config.h
|
||||
-
|
||||
-art_config.h:
|
||||
- ./gen_art_config.sh > art_config.h
|
||||
|
||||
EXTRA_DIST = \
|
||||
libart.def \
|
||||
@@ -173,5 +166,5 @@ install-data-local: install-ms-lib install-libtool-import-lib
|
||||
|
||||
uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
|
||||
|
||||
-CLEANFILES = $(BUILT_SOURCES) $(bin_SCRIPTS)
|
||||
-DISTCLEANFILES = $(BUILT_SOURCES) $(bin_SCRIPTS)
|
||||
+CLEANFILES = $(bin_SCRIPTS)
|
||||
+DISTCLEANFILES = $(bin_SCRIPTS)
|
||||
diff --git a/art_config.h b/art_config.h
|
||||
new file mode 100644
|
||||
index 0000000..5985f1f
|
||||
--- a/art_config.h
|
||||
+++ b/art_config.h
|
||||
@@ -0,0 +1,5 @@
|
||||
+#include <stdint.h>
|
||||
+
|
||||
+typedef uint8_t art_u8;
|
||||
+typedef uint16_t art_u16;
|
||||
+typedef uint32_t art_u32;
|
||||
diff --git a/configure.in b/configure.in
|
||||
index e4804f7..ddcac4f 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -92,15 +92,6 @@ AC_FUNC_ALLOCA
|
||||
|
||||
AC_C_BIGENDIAN
|
||||
|
||||
-AC_CHECK_SIZEOF(char)
|
||||
-AC_SUBST(ART_SIZEOF_CHAR, $ac_cv_sizeof_char)
|
||||
-AC_CHECK_SIZEOF(short)
|
||||
-AC_SUBST(ART_SIZEOF_SHORT, $ac_cv_sizeof_short)
|
||||
-AC_CHECK_SIZEOF(int)
|
||||
-AC_SUBST(ART_SIZEOF_INT, $ac_cv_sizeof_int)
|
||||
-AC_CHECK_SIZEOF(long)
|
||||
-AC_SUBST(ART_SIZEOF_LONG, $ac_cv_sizeof_long)
|
||||
-
|
||||
AC_CONFIG_FILES([
|
||||
libart-features.h
|
||||
Makefile
|
||||
@@ -109,6 +100,5 @@ libart-2.0-uninstalled.pc
|
||||
libart-zip])
|
||||
|
||||
AC_CONFIG_FILES([libart-config],[chmod +x libart-config])
|
||||
-AC_CONFIG_FILES([gen_art_config.sh],[chmod +x gen_art_config.sh])
|
||||
|
||||
AC_OUTPUT
|
||||
--
|
||||
1.7.0.4
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
From f3afed3b06c34c588a7c67cb83064e16255f54b4 Mon Sep 17 00:00:00 2001
|
||||
From: Gilles Dartiguelongue <eva@gentoo.org>
|
||||
Date: Tue, 6 Apr 2010 15:11:46 +0200
|
||||
Subject: [PATCH 1/2] gentoo: do not build tests if not required
|
||||
|
||||
---
|
||||
Makefile.am | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index aec6c5d..95952da 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -1,4 +1,4 @@
|
||||
-noinst_PROGRAMS = testart testuta
|
||||
+check_PROGRAMS = testart testuta
|
||||
|
||||
bin_SCRIPTS = \
|
||||
libart2-config
|
||||
--
|
||||
1.7.0.4
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
diff -Nur libart_lgpl-2.3.21-old/art_config.h libart_lgpl-2.3.21/art_config.h
|
||||
--- libart_lgpl-2.3.21-old/art_config.h 2010-08-29 16:42:06.822999763 +0300
|
||||
+++ libart_lgpl-2.3.21/art_config.h 1970-01-01 02:00:00.000000000 +0200
|
||||
@@ -1,10 +0,0 @@
|
||||
-/* Automatically generated by gen_art_config */
|
||||
-
|
||||
-#define ART_SIZEOF_CHAR 1
|
||||
-#define ART_SIZEOF_SHORT 2
|
||||
-#define ART_SIZEOF_INT 4
|
||||
-#define ART_SIZEOF_LONG 4
|
||||
-
|
||||
-typedef unsigned char art_u8;
|
||||
-typedef unsigned short art_u16;
|
||||
-typedef unsigned int art_u32;
|
||||
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libart_lgpl</Name>
|
||||
<Homepage>http://www.levien.com/libart</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A LGPL version of libart</Summary>
|
||||
<Description>Libart is a library for high-performance 2D graphics. It is currently being used as the antialiased rendering engine for the Gnome Canvas. Libart supports a very powerful imaging model, basically the same as SVG and the Java 2D API.</Description>
|
||||
<Archive sha1sum="dbac185c65696381ef188de1f98b348b530e22f9" type="tarbz2">http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/libart_lgpl-2.3.21.tar.bz2</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">noartconfig.patch</Patch>
|
||||
<Patch level="1">libart_lgpl-2.3.21-crosscompile.patch</Patch>
|
||||
<Patch level="1">libart_lgpl-2.3.21-no-test-build.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libart_lgpl</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libart_lgpl-devel</Name>
|
||||
<Summary>Development files for libart_lgpl</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libart_lgpl</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-24</Date>
|
||||
<Version>2.3.21</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-29</Date>
|
||||
<Version>2.3.21</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>2.3.21</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>libart_lgpl</Name>
|
||||
<Summary xml:lang="tr">libart'ın bir LGPL sürümü</Summary>
|
||||
<Description xml:lang="tr">Libart, yüksek performanslı iki boyutlu grafikler için bir kütüphanedir. Halihazırda Gnome Canvas için kenarların yumuşatıldığı dönüştürme aracı olarak kullanılmaktadır. Libart, temelde Java 2D API ve SVG benzeri, çok güçlü bir görüntüleme modelini destekler.</Description>
|
||||
<Description xml:lang="fr">Libart est une librairie pour graphiques 2D à hautes performances. Elle est actuellement utilisé comme moteur de rendu anti-aliassé pour le Canvas Gnome. Libart fournit le support pour un modèle image très puissant, simplement le même que SVG et l'API (Interface de Programmation d'Application) Java 2D.</Description>
|
||||
<Description xml:lang="es"> Libart es una librería para gráficos 2D de alta performance. Actualmente está usado como antialiased rendering engine para Gnome Canvas. Libart soporta un modelo de imagen muy potente, básicamente el mismo como SVG y el API 2D de Java.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libart_lgpl-devel</Name>
|
||||
<Summary xml:lang="tr">libart_lgpl için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -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 cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DWITH_ASF=On -DWITH_MP4=On")
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS","COPYING*")
|
||||
@@ -0,0 +1,31 @@
|
||||
diff -ruN taglib-1.4.org/taglib/toolkit/tstring.cpp taglib-1.4/taglib/toolkit/tstring.cpp
|
||||
--- taglib-1.4.org/taglib/toolkit/tstring.cpp 2005-07-26 06:31:15.000000000 +0900
|
||||
+++ taglib-1.4/taglib/toolkit/tstring.cpp 2006-05-26 12:02:55.000000000 +0900
|
||||
@@ -202,12 +202,22 @@
|
||||
s.resize(d->data.size());
|
||||
|
||||
if(!unicode) {
|
||||
- std::string::iterator targetIt = s.begin();
|
||||
- for(wstring::const_iterator it = d->data.begin(); it != d->data.end(); it++) {
|
||||
- *targetIt = char(*it);
|
||||
- ++targetIt;
|
||||
+ bool cjk = false;
|
||||
+ //pre-scan: is there any cjk unicode character? if so, convert the string into utf-8.
|
||||
+ for(unsigned int i=0; i< d->data.size(); i++){
|
||||
+ if(d->data[i] > 0xff){
|
||||
+ cjk = true;
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+ if(!cjk){
|
||||
+ std::string::iterator targetIt = s.begin();
|
||||
+ for(wstring::const_iterator it = d->data.begin(); it != d->data.end(); it++) {
|
||||
+ *targetIt = char(*it);
|
||||
+ ++targetIt;
|
||||
+ }
|
||||
+ return s;
|
||||
}
|
||||
- return s;
|
||||
}
|
||||
|
||||
const int outputBufferSize = d->data.size() * 3 + 1;
|
||||
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>taglib</Name>
|
||||
<Homepage>http://developer.kde.org/~wheeler/taglib.html</Homepage>
|
||||
<Packager>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A library for reading and editing audio meta data</Summary>
|
||||
<Description>TagLib is a library for reading and editing the meta data of several popular audio formats.</Description>
|
||||
<Archive sha1sum="4fa426c453297e62c1d1eff64a46e76ed8bebb45" type="targz">http://taglib.github.io/releases/taglib-1.9.1.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>taglib</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>taglib-devel</Name>
|
||||
<Summary>Development files for taglib</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">taglib</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>1.9.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-11-24</Date>
|
||||
<Version>1.9.1</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-22</Date>
|
||||
<Version>1.8</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>taglib</Name>
|
||||
<Summary xml:lang="tr">Ses dosyalarının etiket bilgilerini okuma ve düzenleme kütüphanesi</Summary>
|
||||
<Description xml:lang="tr">TagLib ses dosyalarının etiket bilgilerini okumak ve işlemek için kullanılan bir kütüphanedir.</Description>
|
||||
<Description xml:lang="fr">TagLib est une librairie pour lire et éditer les méta-données de nombreux formats audio populaires.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>taglib-devel</Name>
|
||||
<Summary xml:lang="tr">taglib için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user