From 2450ac02c1aaf94125d3733b16e60ca4383c4e41 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Fri, 19 Jun 2015 13:39:05 +0300 Subject: [PATCH] moved into main repo for pisi 2.0 --- programming/component.xml | 3 + programming/language/component.xml | 3 + programming/language/ruby/component.xml | 3 + .../language/ruby/ruby-gtk2/actions.py | 20 +++ programming/language/ruby/ruby-gtk2/pspec.xml | 63 +++++++++ .../language/ruby/ruby-gtk2/translations.xml | 9 ++ programming/misc/component.xml | 3 + programming/misc/icu4c/actions.py | 43 ++++++ .../icu4c/files/icu.8198.revert.icu5431.patch | 129 ++++++++++++++++++ .../icu4c/files/icu.icu6213.worstcase.patch | 27 ++++ programming/misc/icu4c/pspec.xml | 115 ++++++++++++++++ programming/misc/icu4c/translations.xml | 15 ++ programming/misc/unixODBC/actions.py | 34 +++++ programming/misc/unixODBC/pspec.xml | 68 +++++++++ programming/misc/unixODBC/translations.xml | 20 +++ 15 files changed, 555 insertions(+) create mode 100644 programming/component.xml create mode 100644 programming/language/component.xml create mode 100644 programming/language/ruby/component.xml create mode 100644 programming/language/ruby/ruby-gtk2/actions.py create mode 100644 programming/language/ruby/ruby-gtk2/pspec.xml create mode 100644 programming/language/ruby/ruby-gtk2/translations.xml create mode 100644 programming/misc/component.xml create mode 100644 programming/misc/icu4c/actions.py create mode 100644 programming/misc/icu4c/files/icu.8198.revert.icu5431.patch create mode 100644 programming/misc/icu4c/files/icu.icu6213.worstcase.patch create mode 100644 programming/misc/icu4c/pspec.xml create mode 100644 programming/misc/icu4c/translations.xml create mode 100644 programming/misc/unixODBC/actions.py create mode 100644 programming/misc/unixODBC/pspec.xml create mode 100644 programming/misc/unixODBC/translations.xml diff --git a/programming/component.xml b/programming/component.xml new file mode 100644 index 0000000000..f694995e99 --- /dev/null +++ b/programming/component.xml @@ -0,0 +1,3 @@ + + programming + diff --git a/programming/language/component.xml b/programming/language/component.xml new file mode 100644 index 0000000000..71e3f075b9 --- /dev/null +++ b/programming/language/component.xml @@ -0,0 +1,3 @@ + + programming.language + diff --git a/programming/language/ruby/component.xml b/programming/language/ruby/component.xml new file mode 100644 index 0000000000..e8aa89765a --- /dev/null +++ b/programming/language/ruby/component.xml @@ -0,0 +1,3 @@ + + programming.language.ruby + diff --git a/programming/language/ruby/ruby-gtk2/actions.py b/programming/language/ruby/ruby-gtk2/actions.py new file mode 100644 index 0000000000..f5dd1d58d2 --- /dev/null +++ b/programming/language/ruby/ruby-gtk2/actions.py @@ -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") diff --git a/programming/language/ruby/ruby-gtk2/pspec.xml b/programming/language/ruby/ruby-gtk2/pspec.xml new file mode 100644 index 0000000000..4aea627c08 --- /dev/null +++ b/programming/language/ruby/ruby-gtk2/pspec.xml @@ -0,0 +1,63 @@ + + + + + ruby-gtk2 + http://ruby-gnome2.sourceforge.jp/ + + Merve Yüzbaşıoğlu + admins@pisilinux.org + + LLGPL-2.1 + library + GNOME 2 bindings for Ruby + Ruby-gtk2 is a set of bindings for the GNOME-2.x libraries to use from Ruby. + mirrors://sourceforge/ruby-gnome2/ruby-gtk2-2.2.0.tar.gz + + atk-devel + ruby-devel + gtk2-devel + pango-devel + gdk-pixbuf-devel + + + + + ruby-gtk2 + + atk + ruby + gtk2 + pango + gdk-pixbuf + + + /usr/lib + /usr/share/doc + + + + + + 2014-05-24 + 2.2.0 + Version Bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2014-02-11 + 2.1.0 + Version Bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2012-05-03 + 1.1.3 + First release + Erdinç Gültekin + admins@pisilinux.org + + + diff --git a/programming/language/ruby/ruby-gtk2/translations.xml b/programming/language/ruby/ruby-gtk2/translations.xml new file mode 100644 index 0000000000..cab6c85bae --- /dev/null +++ b/programming/language/ruby/ruby-gtk2/translations.xml @@ -0,0 +1,9 @@ + + + + ruby-gtk2 + Ruby için GNOME 2 bağlayıcıları + ruby-gtk2, GNOME 2 kütüphaneleri için bağlayıcıları içerir. + + + diff --git a/programming/misc/component.xml b/programming/misc/component.xml new file mode 100644 index 0000000000..1b5368127b --- /dev/null +++ b/programming/misc/component.xml @@ -0,0 +1,3 @@ + + programming.misc + diff --git a/programming/misc/icu4c/actions.py b/programming/misc/icu4c/actions.py new file mode 100644 index 0000000000..5faea38a08 --- /dev/null +++ b/programming/misc/icu4c/actions.py @@ -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") diff --git a/programming/misc/icu4c/files/icu.8198.revert.icu5431.patch b/programming/misc/icu4c/files/icu.8198.revert.icu5431.patch new file mode 100644 index 0000000000..4027f848c7 --- /dev/null +++ b/programming/misc/icu4c/files/icu.8198.revert.icu5431.patch @@ -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) { diff --git a/programming/misc/icu4c/files/icu.icu6213.worstcase.patch b/programming/misc/icu4c/files/icu.icu6213.worstcase.patch new file mode 100644 index 0000000000..c2585d566b --- /dev/null +++ b/programming/misc/icu4c/files/icu.icu6213.worstcase.patch @@ -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}; + diff --git a/programming/misc/icu4c/pspec.xml b/programming/misc/icu4c/pspec.xml new file mode 100644 index 0000000000..449b658c96 --- /dev/null +++ b/programming/misc/icu4c/pspec.xml @@ -0,0 +1,115 @@ + + + + + icu4c + http://site.icu-project.org/home + + PisiLinux Community + admins@pisilinux.org + + as-is + library + International Components for Unicode + 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. + + http://download.icu-project.org/files/icu4c/54.1/icu4c-54_1-src.tgz + + + + + + + icu4c + + /usr/bin + /usr/sbin + /usr/lib + /usr/share/man + /usr/share/doc/icu4c/html + + + + + icu4c-devel + Development files for icu4c + + icu4c + + + /usr/bin/icu-config + /usr/lib/icu + /usr/share/icu + /usr/include + /usr/lib/pkgconfig + /usr/lib32/pkgconfig/ + + + + + icu4c-32bit + emul32 + 32-bit shared libraries for icu4c + _emul32 + + icu4c + + + /usr/lib32/libicu* + /usr/lib32/icu + + + + + + 2015-01-22 + 54.1 + Version bump. + Ergün Salman + poyraz76@pisilinux.org + + + 2014-05-17 + 53.1 + Version bump and add patch. + Alihan Öztürk + alihan@pisilinux.org + + + 2013-10-13 + 52.1 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-07-27 + 51.2 + Move pc files to devel pack, rebuild + V.Bump + PisiLinux Community + admins@pisilinux.org + + + 2013-05-15 + 51.1 + Version bump. + Marcin Bojara + marcin@pisilinux.org + + + 2013-01-22 + 50.1.2 + Version bump, add emul32 + Marcin Bojara + marcin@pisilinux.org + + + 2012-12-24 + 50.1.1 + First release + Marcin Bojara + marcin@pisilinux.org + + + diff --git a/programming/misc/icu4c/translations.xml b/programming/misc/icu4c/translations.xml new file mode 100644 index 0000000000..e8a1b0e539 --- /dev/null +++ b/programming/misc/icu4c/translations.xml @@ -0,0 +1,15 @@ + + + + icu4c + Unicode desteği için uluslarası bileşenler + 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. + 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++. + 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++. + + + + icu4c-devel + icu4c için geliştirme dosyaları + + diff --git a/programming/misc/unixODBC/actions.py b/programming/misc/unixODBC/actions.py new file mode 100644 index 0000000000..f07d16e599 --- /dev/null +++ b/programming/misc/unixODBC/actions.py @@ -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/*") diff --git a/programming/misc/unixODBC/pspec.xml b/programming/misc/unixODBC/pspec.xml new file mode 100644 index 0000000000..a485f7aa73 --- /dev/null +++ b/programming/misc/unixODBC/pspec.xml @@ -0,0 +1,68 @@ + + + + + unixODBC + http://www.unixodbc.org/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + LGPLv2.1 + app:console + ODBC Interface for Linux + The unixODBC Project goals are to develop and promote unixODBC to be the definitive standard for ODBC on non MS Windows platforms. + http://www.unixodbc.org/unixODBC-2.3.2.tar.gz + + + + unixODBC + + /etc + /usr/bin + /usr/lib + /usr/share/man + /usr/share/doc/unixODBC/AUTHORS + /usr/share/doc/unixODBC/README + + + + + unixODBC-devel + Development files for unixODBC + + unixODBC + + + /usr/bin/odbc_config + /usr/include + + + + + unixODBC-docs + data:doc + Documentation for unixODBC + + /usr/share/doc/unixODBC + + + + + + 2014-05-19 + 2.3.2 + Version bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2012-10-04 + 2.3.1 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/programming/misc/unixODBC/translations.xml b/programming/misc/unixODBC/translations.xml new file mode 100644 index 0000000000..320d367ae5 --- /dev/null +++ b/programming/misc/unixODBC/translations.xml @@ -0,0 +1,20 @@ + + + + unixodbc + Linux için ODBC arayüzü + unixODBC Projesinin amacı, unixODBC'yi geliştirip ilerleterek MS Windows harici platformlarda ODBC için kesin bir standart haline getirmektir. + 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. + El proyecto unixODBC apunta a desarollar y promocio. + + + + unixODBC-devel + unixODBC için geliştirme dosyaları. + + + + unixODBC-docs + unixODBC için belgelendirme dosyaları. + +