moved into main repo for pisi 2.0

This commit is contained in:
ayhanyalcinsoy
2015-06-19 13:39:05 +03:00
parent 29f1c4ea72
commit 2450ac02c1
15 changed files with 555 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>programming</Name>
</PISI>
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>programming.language</Name>
</PISI>
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>programming.language.ruby</Name>
</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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.system("ruby extconf.rb")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("README", "COPYING.*", "AUTHORS")
@@ -0,0 +1,63 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ruby-gtk2</Name>
<Homepage>http://ruby-gnome2.sourceforge.jp/</Homepage>
<Packager>
<Name>Merve Yüzbaşıoğlu</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LLGPL-2.1</License>
<IsA>library</IsA>
<Summary>GNOME 2 bindings for Ruby</Summary>
<Description>Ruby-gtk2 is a set of bindings for the GNOME-2.x libraries to use from Ruby.</Description>
<Archive sha1sum="d3dcbebc4e3c22d99cb657fab32e83f23812c003" type="">mirrors://sourceforge/ruby-gnome2/ruby-gtk2-2.2.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>atk-devel</Dependency>
<Dependency>ruby-devel</Dependency>
<Dependency>gtk2-devel</Dependency>
<Dependency>pango-devel</Dependency>
<Dependency>gdk-pixbuf-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>ruby-gtk2</Name>
<RuntimeDependencies>
<Dependency>atk</Dependency>
<Dependency>ruby</Dependency>
<Dependency>gtk2</Dependency>
<Dependency>pango</Dependency>
<Dependency>gdk-pixbuf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-05-24</Date>
<Version>2.2.0</Version>
<Comment>Version Bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-02-11</Date>
<Version>2.1.0</Version>
<Comment>Version Bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-05-03</Date>
<Version>1.1.3</Version>
<Comment>First release</Comment>
<Name>Erdinç Gültekin</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,9 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>ruby-gtk2</Name>
<Summary xml:lang="tr">Ruby için GNOME 2 bağlayıcıları</Summary>
<Description xml:lang="tr">ruby-gtk2, GNOME 2 kütüphaneleri için bağlayıcıları içerir.</Description>
</Source>
</PISI>
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>programming.misc</Name>
</PISI>
+43
View File
@@ -0,0 +1,43 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
WorkDir="icu/source"
def setup():
autotools.autoconf("-f")
options = "--with-data-packaging=library \
--disable-samples \
--disable-silent-rules"
if get.buildTYPE() == "_emul32":
options += " --libdir=/usr/lib32 \
--bindir=/_emul32/bin \
--sbindir=/_emul32/sbin"
shelltools.export("CC", "%s -m32" % get.CC())
shelltools.export("CXX", "%s -m32" % get.CXX())
autotools.configure(options)
pisitools.dosed("config/mh-linux", "-nodefaultlibs -nostdlib")
def build():
autotools.make()
def check():
autotools.make("check")
def install():
autotools.rawInstall('-j1 DESTDIR="%s"' % get.installDIR())
if get.buildTYPE() == "_emul32":
pisitools.domove("/_emul32/bin/icu-config", "/usr/bin", "icu-config-32")
pisitools.removeDir("/_emul32")
for f in shelltools.ls("%s/usr/lib32/pkgconfig" % get.installDIR()):
pisitools.dosed("%s/usr/lib32/pkgconfig/%s" % (get.installDIR(), f), "_emul32", "usr")
return
pisitools.dohtml("../*.html")
@@ -0,0 +1,129 @@
Index: icu/trunk/source/layout/IndicReordering.cpp
===================================================================
--- icu/trunk/source/layout/IndicReordering.cpp (revision 25772)
+++ icu/trunk/source/layout/IndicReordering.cpp (revision 26090)
@@ -126,4 +126,8 @@
FeatureMask fSMFeatures;
+ LEUnicode fPreBaseConsonant;
+ LEUnicode fPreBaseVirama;
+ le_int32 fPBCIndex;
+ FeatureMask fPBCFeatures;
void saveMatra(LEUnicode matra, le_int32 matraIndex, IndicClassTable::CharClass matraClass)
@@ -172,5 +176,6 @@
fMatraFeatures(0), fMPreOutIndex(-1), fMPreFixups(mpreFixups),
fVMabove(0), fVMpost(0), fVMIndex(0), fVMFeatures(0),
- fSMabove(0), fSMbelow(0), fSMIndex(0), fSMFeatures(0)
+ fSMabove(0), fSMbelow(0), fSMIndex(0), fSMFeatures(0),
+ fPreBaseConsonant(0), fPreBaseVirama(0), fPBCIndex(0), fPBCFeatures(0)
{
// nothing else to do...
@@ -191,4 +196,6 @@
fVMabove = fVMpost = 0;
fSMabove = fSMbelow = 0;
+
+ fPreBaseConsonant = fPreBaseVirama = 0;
}
@@ -386,4 +393,12 @@
}
+ void notePreBaseConsonant(le_uint32 index,LEUnicode PBConsonant, LEUnicode PBVirama, FeatureMask features)
+ {
+ fPBCIndex = index;
+ fPreBaseConsonant = PBConsonant;
+ fPreBaseVirama = PBVirama;
+ fPBCFeatures = features;
+ }
+
void noteBaseConsonant()
{
@@ -465,4 +480,20 @@
}
+ void writePreBaseConsonant()
+ {
+ // The TDIL spec says that consonant + virama + RRA should produce a rakar in Malayalam. However,
+ // it seems that almost none of the fonts for Malayalam are set up to handle this.
+ // So, we're going to force the issue here by using the rakar as defined with RA in most fonts.
+
+ if (fPreBaseConsonant == 0x0d31) { // RRA
+ fPreBaseConsonant = 0x0d30; // RA
+ }
+
+ if (fPreBaseConsonant != 0) {
+ writeChar(fPreBaseConsonant, fPBCIndex, fPBCFeatures);
+ writeChar(fPreBaseVirama,fPBCIndex-1,fPBCFeatures);
+ }
+ }
+
le_int32 getOutputIndex()
{
@@ -723,4 +754,5 @@
}
+
IndicClassTable::CharClass charClass = CC_RESERVED;
IndicClassTable::CharClass nextClass = CC_RESERVED;
@@ -730,7 +762,9 @@
le_bool seenVattu = FALSE;
le_bool seenBelowBaseForm = FALSE;
+ le_bool seenPreBaseForm = FALSE;
le_bool hasNukta = FALSE;
le_bool hasBelowBaseForm = FALSE;
le_bool hasPostBaseForm = FALSE;
+ le_bool hasPreBaseForm = FALSE;
if (postBase < markStart && classTable->isNukta(chars[postBase])) {
@@ -746,12 +780,20 @@
hasBelowBaseForm = IndicClassTable::hasBelowBaseForm(charClass) && !hasNukta;
hasPostBaseForm = IndicClassTable::hasPostBaseForm(charClass) && !hasNukta;
+ hasPreBaseForm = IndicClassTable::hasPreBaseForm(charClass) && !hasNukta;
if (IndicClassTable::isConsonant(charClass)) {
if (postBaseLimit == 0 || seenVattu ||
(baseConsonant > baseLimit && !classTable->isVirama(chars[baseConsonant - 1])) ||
- !(hasBelowBaseForm || hasPostBaseForm)) {
+ !(hasBelowBaseForm || hasPostBaseForm || hasPreBaseForm)) {
break;
}
+ // Note any pre-base consonants
+ if ( baseConsonant == lastConsonant && lastConsonant > 0 &&
+ hasPreBaseForm && classTable->isVirama(chars[baseConsonant - 1])) {
+ output.notePreBaseConsonant(lastConsonant,chars[lastConsonant],chars[lastConsonant-1],tagArray2);
+ seenPreBaseForm = TRUE;
+
+ }
// consonants with nuktas are never vattus
seenVattu = IndicClassTable::isVattu(charClass) && !hasNukta;
@@ -786,10 +828,12 @@
// write any pre-base consonants
+ output.writePreBaseConsonant();
+
le_bool supressVattu = TRUE;
for (i = baseLimit; i < baseConsonant; i += 1) {
LEUnicode ch = chars[i];
- // Don't put 'blwf' on first consonant.
- FeatureMask features = (i == baseLimit? tagArray2 : tagArray1);
+ // Don't put 'pstf' or 'blwf' on anything before the base consonant.
+ FeatureMask features = tagArray1 & ~( pstfFeatureMask | blwfFeatureMask );
charClass = classTable->getCharClass(ch);
@@ -842,5 +886,5 @@
// write below-base consonants
- if (baseConsonant != lastConsonant) {
+ if (baseConsonant != lastConsonant && !seenPreBaseForm) {
for (i = bcSpan + 1; i < postBase; i += 1) {
output.writeChar(chars[i], i, tagArray1);
@@ -872,5 +916,5 @@
// write post-base consonants
// FIXME: does this put the right tags on post-base consonants?
- if (baseConsonant != lastConsonant) {
+ if (baseConsonant != lastConsonant && !seenPreBaseForm) {
if (postBase <= lastConsonant) {
for (i = postBase; i <= lastConsonant; i += 1) {
@@ -0,0 +1,27 @@
--- icu.orig/source/layout/IndicClassTables.cpp 2007-12-12 18:58:06.000000000 +0000
+++ icu/source/layout/IndicClassTables.cpp 2008-03-18 10:10:51.000000000 +0000
@@ -255,7 +269,7 @@
//
static const IndicClassTable devaClassTable = {0x0900, 0x0970, 2, DEVA_SCRIPT_FLAGS, devaCharClasses, NULL};
-static const IndicClassTable bengClassTable = {0x0980, 0x09FA, 3, BENG_SCRIPT_FLAGS, bengCharClasses, bengSplitTable};
+static const IndicClassTable bengClassTable = {0x0980, 0x09FA, 4, BENG_SCRIPT_FLAGS, bengCharClasses, bengSplitTable};
static const IndicClassTable punjClassTable = {0x0A00, 0x0A74, 2, PUNJ_SCRIPT_FLAGS, punjCharClasses, NULL};
@@ -263,13 +277,13 @@
static const IndicClassTable oryaClassTable = {0x0B00, 0x0B71, 3, ORYA_SCRIPT_FLAGS, oryaCharClasses, oryaSplitTable};
-static const IndicClassTable tamlClassTable = {0x0B80, 0x0BF2, 3, TAML_SCRIPT_FLAGS, tamlCharClasses, tamlSplitTable};
+static const IndicClassTable tamlClassTable = {0x0B80, 0x0BF2, 4, TAML_SCRIPT_FLAGS, tamlCharClasses, tamlSplitTable};
static const IndicClassTable teluClassTable = {0x0C00, 0x0C6F, 3, TELU_SCRIPT_FLAGS, teluCharClasses, teluSplitTable};
static const IndicClassTable kndaClassTable = {0x0C80, 0x0CEF, 4, KNDA_SCRIPT_FLAGS, kndaCharClasses, kndaSplitTable};
-static const IndicClassTable mlymClassTable = {0x0D00, 0x0D6F, 3, MLYM_SCRIPT_FLAGS, mlymCharClasses, mlymSplitTable};
+static const IndicClassTable mlymClassTable = {0x0D00, 0x0D6F, 4, MLYM_SCRIPT_FLAGS, mlymCharClasses, mlymSplitTable};
static const IndicClassTable sinhClassTable = {0x0D80, 0x0DF4, 4, SINH_SCRIPT_FLAGS, sinhCharClasses, sinhSplitTable};
+115
View File
@@ -0,0 +1,115 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>icu4c</Name>
<Homepage>http://site.icu-project.org/home</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>as-is</License>
<IsA>library</IsA>
<Summary>International Components for Unicode</Summary>
<Description>ICU is a mature, widely used set of C/C++ and Java libraries for Unicode support, software internationalization and globalization (i18n/g11n). This package contains the C/C++ libraries.</Description>
<!-- CAUTION! This package has a great potential to break API/ABI in minor version bumps, check for a file like:
http://source.icu-project.org/repos/icu/icu/tags/release-4-2/APIChangeReport.html -->
<Archive sha1sum="8c752490bbf31cea26e20246430cee67d48abe34" type="targz">http://download.icu-project.org/files/icu4c/54.1/icu4c-54_1-src.tgz</Archive>
<Patches>
<!--Patch level="3">icu.8198.revert.icu5431.patch</Patch-->
</Patches>
</Source>
<Package>
<Name>icu4c</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc/icu4c/html</Path>
</Files>
</Package>
<Package>
<Name>icu4c-devel</Name>
<Summary>Development files for icu4c</Summary>
<RuntimeDependencies>
<Dependency release="current">icu4c</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/icu-config</Path>
<Path fileType="data">/usr/lib/icu</Path>
<Path fileType="data">/usr/share/icu</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib32/pkgconfig/</Path>
</Files>
</Package>
<Package>
<Name>icu4c-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for icu4c</Summary>
<BuildType>_emul32</BuildType>
<RuntimeDependencies>
<Dependency release="current">icu4c</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32/libicu*</Path>
<Path fileType="library">/usr/lib32/icu</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2015-01-22</Date>
<Version>54.1</Version>
<Comment>Version bump.</Comment>
<Name>Ergün Salman</Name>
<Email>poyraz76@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2014-05-17</Date>
<Version>53.1</Version>
<Comment>Version bump and add patch.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2013-10-13</Date>
<Version>52.1</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2013-07-27</Date>
<Version>51.2</Version>
<Comment>Move pc files to devel pack, rebuild + V.Bump</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-05-15</Date>
<Version>51.1</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-01-22</Date>
<Version>50.1.2</Version>
<Comment>Version bump, add emul32</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-12-24</Date>
<Version>50.1.1</Version>
<Comment>First release</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+15
View File
@@ -0,0 +1,15 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>icu4c</Name>
<Summary xml:lang="tr">Unicode desteği için uluslarası bileşenler</Summary>
<Description xml:lang="tr">ICU, Unicode desteği, yazılım uluslararasılaştırma ve yerelleştirme konusunda yaygın olarak kullanılan gelişmiş bir kitaplıktır. ICU, Unicode ve u10a desteği için C/C++ ve Java kitaplıklarını içerir.</Description>
<Description xml:lang="fr">ICU est un ensemble mature de librairies C/C++ et Java pour le support de l'Unicode, l'internationalisation et la globalisation de logiciel (i18n/g11n). Ce paquet contient les librairies C/C++.</Description>
<Description xml:lang="es">ICU es un conjunto maduro y muy utilizado de librerías C/C++ y Java para soporte Unicode, internacionalización y globalización de software (i18n/g11n). Este paque te contiene las librerías C/C++.</Description>
</Source>
<Package>
<Name>icu4c-devel</Name>
<Summary xml:lang="tr">icu4c için geliştirme dosyaları</Summary>
</Package>
</PISI>
+34
View File
@@ -0,0 +1,34 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import libtools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
# Use system libtool instead of bundled one
shelltools.unlinkDir("libltdl")
libtools.libtoolize("-c -f --ltdl")
autotools.autoreconf("-fi")
autotools.configure("--sysconfdir=/etc/unixODBC \
--disable-dependency-tracking \
--disable-gui \
--enable-threads \
--enable-drivers \
--enable-driver-conf \
--disable-stats ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
pisitools.dohtml("doc/*")
+68
View File
@@ -0,0 +1,68 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>unixODBC</Name>
<Homepage>http://www.unixodbc.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<License>LGPLv2.1</License>
<IsA>app:console</IsA>
<Summary>ODBC Interface for Linux</Summary>
<Description>The unixODBC Project goals are to develop and promote unixODBC to be the definitive standard for ODBC on non MS Windows platforms.</Description>
<Archive sha1sum="f84520fd58143625b614fde551435178a558ee2e" type="targz">http://www.unixodbc.org/unixODBC-2.3.2.tar.gz</Archive>
</Source>
<Package>
<Name>unixODBC</Name>
<Files>
<Path fileType="config">/etc</Path>
<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/unixODBC/AUTHORS</Path>
<Path fileType="doc">/usr/share/doc/unixODBC/README</Path>
</Files>
</Package>
<Package>
<Name>unixODBC-devel</Name>
<Summary>Development files for unixODBC</Summary>
<RuntimeDependencies>
<Dependency release="current">unixODBC</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/odbc_config</Path>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<Package>
<Name>unixODBC-docs</Name>
<IsA>data:doc</IsA>
<Summary>Documentation for unixODBC</Summary>
<Files>
<Path fileType="doc">/usr/share/doc/unixODBC</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2014-05-19</Date>
<Version>2.3.2</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-10-04</Date>
<Version>2.3.1</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,20 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>unixodbc</Name>
<Summary xml:lang="tr">Linux için ODBC arayüzü</Summary>
<Description xml:lang="tr">unixODBC Projesinin amacı, unixODBC'yi geliştirip ilerleterek MS Windows harici platformlarda ODBC için kesin bir standart haline getirmektir.</Description>
<Description xml:lang="fr">Les objectifs du projet unixODBC sont de développer et promouvoir unixODBC pour en faire le standard définitif pour ODBC sur les plateformes non MS Windows.</Description>
<Description xml:lang="es">El proyecto unixODBC apunta a desarollar y promocio.</Description>
</Source>
<Package>
<Name>unixODBC-devel</Name>
<Summary xml:lang="tr">unixODBC için geliştirme dosyaları.</Summary>
</Package>
<Package>
<Name>unixODBC-docs</Name>
<Summary xml:lang="tr">unixODBC için belgelendirme dosyaları.</Summary>
</Package>
</PISI>