From 3c770b3c32207d33724c800d5ecec5d92ac3481c Mon Sep 17 00:00:00 2001 From: Vedat Demir Date: Sat, 22 Aug 2015 11:31:53 +0300 Subject: [PATCH 1/9] ninja : add --- programming/build/ninja/actions.py | 30 ++++++++++++ programming/build/ninja/files/LFS.patch | 13 ++++++ programming/build/ninja/pspec.xml | 59 ++++++++++++++++++++++++ programming/build/ninja/translations.xml | 8 ++++ 4 files changed, 110 insertions(+) create mode 100644 programming/build/ninja/actions.py create mode 100644 programming/build/ninja/files/LFS.patch create mode 100644 programming/build/ninja/pspec.xml create mode 100644 programming/build/ninja/translations.xml diff --git a/programming/build/ninja/actions.py b/programming/build/ninja/actions.py new file mode 100644 index 0000000000..646f61dc3f --- /dev/null +++ b/programming/build/ninja/actions.py @@ -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 pythonmodules +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + + +def build(): + shelltools.system("python bootstrap.py") + shelltools.system("asciidoc doc/manual.asciidoc") + +def check(): + #needs new package gtest -> ignore it for now + shelltools.system("python ./configure.py --with-gtest=/usr/share/gtest") + shelltools.system("./ninja ninja_test") + shelltools.system("./ninja_test --gtest_filter=-SubprocessTest.SetWithLots") + +def install(): + pisitools.dobin("ninja", "/usr/bin") + + pisitools.insinto("/usr/share/bash-completion/completions", "misc/bash-completion", "ninja") + + pisitools.dodoc("HACKING.md", "COPYING", "RELEASING", "README", "doc/manual.asciidoc") + + pisitools.dohtml("doc/manual.html") \ No newline at end of file diff --git a/programming/build/ninja/files/LFS.patch b/programming/build/ninja/files/LFS.patch new file mode 100644 index 0000000000..c8a5025b7a --- /dev/null +++ b/programming/build/ninja/files/LFS.patch @@ -0,0 +1,13 @@ +Largefile patch +https://github.com/martine/ninja/issues/829 + +--- ninja-1.5.1/configure.py~ 2014-10-26 22:45:18.000000000 +0200 ++++ ninja-1.5.1/configure.py 2014-10-26 22:45:26.284641172 +0200 +@@ -142,6 +142,7 @@ + '-fno-exceptions', + '-fvisibility=hidden', '-pipe', + '-Wno-missing-field-initializers', ++ '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', + '-DNINJA_PYTHON="%s"' % options.with_python] + if options.debug: + cflags += ['-D_GLIBCXX_DEBUG', '-D_GLIBCXX_DEBUG_PEDANTIC'] diff --git a/programming/build/ninja/pspec.xml b/programming/build/ninja/pspec.xml new file mode 100644 index 0000000000..4ffb664c91 --- /dev/null +++ b/programming/build/ninja/pspec.xml @@ -0,0 +1,59 @@ + + + + + ninja + http://martine.github.com/ninja/ + + Stefan Gronewold(groni) + groni@pisilinux.org + + LGPLv2 + app:console + Ninja is a small build system with a focus on speed. + Ninja is a small build system with a focus on speed. + https://github.com/martine/ninja/archive/v1.6.0.tar.gz + + asciidoc + + + LFS.patch + + + + + ninja + + libgcc + + + /usr/bin + /usr/share + /usr/share/doc + + + + + + 2015-06-30 + 1.6.0 + Version bump. + Vedat Demir + vedat@pisilinux.org + + + 2015-01-31 + 1.5.3 + Version bump. + Vedat Demir + vedat@pisilinux.org + + + 2014-09-08 + 1.5.1 + First release + Stefan Gronewold(groni) + groni@pisilinux.org + + + diff --git a/programming/build/ninja/translations.xml b/programming/build/ninja/translations.xml new file mode 100644 index 0000000000..22df483738 --- /dev/null +++ b/programming/build/ninja/translations.xml @@ -0,0 +1,8 @@ + + + + ninja + Ninja, hız odaklı bir inşa sistemidir. + Ninja is a small build system with a focus on speed. + + From 688a200a94159ea2b8ec0c635fbf9bd3f9584e4a Mon Sep 17 00:00:00 2001 From: Vedat Demir Date: Sun, 23 Aug 2015 02:09:18 +0300 Subject: [PATCH 2/9] jack-audio-connection-kit --- .../jack-audio-connection-kit/actions.py | 5 +- .../files/40-hpet-permissions.rules | 3 + .../files/99-audio.conf | 3 + .../files/99-jack.conf | 0 .../sound/jack-audio-connection-kit/pspec.xml | 58 +++++-------------- .../translations.xml | 0 6 files changed, 22 insertions(+), 47 deletions(-) mode change 100644 => 100755 multimedia/sound/jack-audio-connection-kit/actions.py create mode 100644 multimedia/sound/jack-audio-connection-kit/files/40-hpet-permissions.rules create mode 100644 multimedia/sound/jack-audio-connection-kit/files/99-audio.conf mode change 100644 => 100755 multimedia/sound/jack-audio-connection-kit/files/99-jack.conf mode change 100644 => 100755 multimedia/sound/jack-audio-connection-kit/pspec.xml mode change 100644 => 100755 multimedia/sound/jack-audio-connection-kit/translations.xml diff --git a/multimedia/sound/jack-audio-connection-kit/actions.py b/multimedia/sound/jack-audio-connection-kit/actions.py old mode 100644 new mode 100755 index 1d309ed9b8..f0adfc41c8 --- a/multimedia/sound/jack-audio-connection-kit/actions.py +++ b/multimedia/sound/jack-audio-connection-kit/actions.py @@ -14,10 +14,9 @@ del(os.environ["JOBS"]) def setup(): shelltools.system("./waf configure \ --prefix=/usr \ - --classic \ + --libdir=/usr/lib \ --firewire \ - --freebob \ - --alsa") + --alsa ") def build(): shelltools.system("./waf build -v") diff --git a/multimedia/sound/jack-audio-connection-kit/files/40-hpet-permissions.rules b/multimedia/sound/jack-audio-connection-kit/files/40-hpet-permissions.rules new file mode 100644 index 0000000000..10836fef8f --- /dev/null +++ b/multimedia/sound/jack-audio-connection-kit/files/40-hpet-permissions.rules @@ -0,0 +1,3 @@ +KERNEL=="rtc0", GROUP="audio" +KERNEL=="hpet", GROUP="audio" + diff --git a/multimedia/sound/jack-audio-connection-kit/files/99-audio.conf b/multimedia/sound/jack-audio-connection-kit/files/99-audio.conf new file mode 100644 index 0000000000..13cbb793f9 --- /dev/null +++ b/multimedia/sound/jack-audio-connection-kit/files/99-audio.conf @@ -0,0 +1,3 @@ +@audio - rtprio 99 +@audio - memlock unlimited + diff --git a/multimedia/sound/jack-audio-connection-kit/files/99-jack.conf b/multimedia/sound/jack-audio-connection-kit/files/99-jack.conf old mode 100644 new mode 100755 diff --git a/multimedia/sound/jack-audio-connection-kit/pspec.xml b/multimedia/sound/jack-audio-connection-kit/pspec.xml old mode 100644 new mode 100755 index 9f606e3c9c..6eaa046f8c --- a/multimedia/sound/jack-audio-connection-kit/pspec.xml +++ b/multimedia/sound/jack-audio-connection-kit/pspec.xml @@ -14,30 +14,26 @@ A low-latency audio server JACK is a low-latency audio server written for POSIX conformant operating systems. It can connect a number of different applications to an audio device, as well as allowing them to share audio between themselves. - https://dl.dropbox.com/u/28869550/jack-1.9.10.tar.bz2 + https://dl.dropboxusercontent.com/u/28869550/jack-1.9.10.tar.bz2 - celt-devel - alsa-lib-devel - libsndfile-devel - libfreebob-devel libsamplerate-devel + alsa-lib-devel libffado-devel - libopus-devel - doxygen + libsndfile-devel + readline-devel jack-audio-connection-kit - celt alsa-lib - libsndfile - libfreebob libsamplerate + libsndfile libffado - libopus + readline + libgcc /etc/security @@ -49,6 +45,8 @@ 99-jack.conf + 40-hpet-permissions.rules + 99-audio.conf @@ -77,40 +75,12 @@ - - 2014-08-24 + + 2015-08-24 1.9.10 Version bump. - Ertuğrul Erata - ertugrulerata@gmail.com - - - 2014-02-20 - 1.9.9.5 - Version bump. - Serdar Soytetir - kaptan@pisilinux.org - - - 2014-02-20 - 1.9.8 - rebuild - Kamil Atlı - suvarice@gmail.com - - - 2013-08-29 - 1.9.8 - missing dep. - Erdinç gültekin - erdincgultekin@pisilinux.org - - - 2012-11-29 - 1.9.8 - First release - Pisi Linux Admins - admins@pisilinux.org - + Vedat Demir + vedat@pisilinux.org + diff --git a/multimedia/sound/jack-audio-connection-kit/translations.xml b/multimedia/sound/jack-audio-connection-kit/translations.xml old mode 100644 new mode 100755 From 1c2a41146582e82ef7e6e05ce6a6479443d4920e Mon Sep 17 00:00:00 2001 From: Vedat Demir Date: Sun, 23 Aug 2015 02:11:54 +0300 Subject: [PATCH 3/9] libavc1394 --- hardware/firewire/libavc1394/actions.py | 0 hardware/firewire/libavc1394/files/libavc1394-0.5.3-librom.patch | 0 hardware/firewire/libavc1394/pspec.xml | 0 hardware/firewire/libavc1394/translations.xml | 0 4 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 hardware/firewire/libavc1394/actions.py mode change 100644 => 100755 hardware/firewire/libavc1394/files/libavc1394-0.5.3-librom.patch mode change 100644 => 100755 hardware/firewire/libavc1394/pspec.xml mode change 100644 => 100755 hardware/firewire/libavc1394/translations.xml diff --git a/hardware/firewire/libavc1394/actions.py b/hardware/firewire/libavc1394/actions.py old mode 100644 new mode 100755 diff --git a/hardware/firewire/libavc1394/files/libavc1394-0.5.3-librom.patch b/hardware/firewire/libavc1394/files/libavc1394-0.5.3-librom.patch old mode 100644 new mode 100755 diff --git a/hardware/firewire/libavc1394/pspec.xml b/hardware/firewire/libavc1394/pspec.xml old mode 100644 new mode 100755 diff --git a/hardware/firewire/libavc1394/translations.xml b/hardware/firewire/libavc1394/translations.xml old mode 100644 new mode 100755 From 4d23135dd8cf5892343b55188b2e9b6a39d3ab6d Mon Sep 17 00:00:00 2001 From: Vedat Demir Date: Sun, 23 Aug 2015 02:15:30 +0300 Subject: [PATCH 4/9] libgnome-keyring --- .../gnome/base/libgnome-keyring/actions.py | 22 ++++++ desktop/gnome/base/libgnome-keyring/pspec.xml | 70 +++++++++++++++++++ .../base/libgnome-keyring/translations.xml | 18 +++++ 3 files changed, 110 insertions(+) create mode 100755 desktop/gnome/base/libgnome-keyring/actions.py create mode 100755 desktop/gnome/base/libgnome-keyring/pspec.xml create mode 100755 desktop/gnome/base/libgnome-keyring/translations.xml diff --git a/desktop/gnome/base/libgnome-keyring/actions.py b/desktop/gnome/base/libgnome-keyring/actions.py new file mode 100755 index 0000000000..310a123253 --- /dev/null +++ b/desktop/gnome/base/libgnome-keyring/actions.py @@ -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("--disable-static") + + 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", "COPYING*", "NEWS", "README") \ No newline at end of file diff --git a/desktop/gnome/base/libgnome-keyring/pspec.xml b/desktop/gnome/base/libgnome-keyring/pspec.xml new file mode 100755 index 0000000000..0d27a5116f --- /dev/null +++ b/desktop/gnome/base/libgnome-keyring/pspec.xml @@ -0,0 +1,70 @@ + + + + + libgnome-keyring + http://live.gnome.org/GnomeKeyring + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + Compatibility library for accessing gnome-keyring3 + libgnome-keyring is a library that used by applications to integrate with the gnome-keyring system. + http://ftp.acc.umu.se/mirror/gnome.org/sources/libgnome-keyring/3.12/libgnome-keyring-3.12.0.tar.xz + + intltool + glib2-devel + dbus-devel + libgcrypt-devel + + + + + + libgnome-keyring + + libgcrypt + glib2 + dbus + + + /usr/lib + /usr/share/doc + /usr/share/locale + + + + + libgnome-keyring-devel + Development files for libgnome-keyring + + libgnome-keyring + glib2-devel + + + /usr/include + /usr/lib/pkgconfig + + + + + libgnome-keyring-docs + data:doc + Referance documents for libgnome-keyring + + /usr/share/gtk-doc + + + + + + 2015-08-25 + 3.12 + Version bump. + Vedat Demir + vedat@pisilinux.org + + + \ No newline at end of file diff --git a/desktop/gnome/base/libgnome-keyring/translations.xml b/desktop/gnome/base/libgnome-keyring/translations.xml new file mode 100755 index 0000000000..79b72f3a6d --- /dev/null +++ b/desktop/gnome/base/libgnome-keyring/translations.xml @@ -0,0 +1,18 @@ + + + + libgnome-keyring + gnome-keyring'e ulaşmak için uyumluluk kütüphanesidir. + libgnome-keyring, gnome-keyring sistemine uyumlu olmak için programlar tarafından kullanılan bir kütüphanedir. + + + + libgnome-keyring-devel + libgnome-keyring için geliştirme dosyaları + + + + libgnome-keyring-docs + libgnome-keyring için başvuru belgeleri + + \ No newline at end of file From d885cf39b698cca87e5cd4f6a51ecf8014dea0c3 Mon Sep 17 00:00:00 2001 From: Vedat Demir Date: Sun, 23 Aug 2015 02:17:58 +0300 Subject: [PATCH 5/9] ninja --- programming/build/{ninja => }/actions.py | 0 programming/build/ant/actions.py | 57 ----- programming/build/ant/files/20ant | 1 - programming/build/ant/files/ant.conf | 4 - programming/build/ant/files/ant.csh | 1 - programming/build/ant/files/ant.sh | 1 - .../ant/files/apache-ant-no-test-jar.patch | 11 - programming/build/ant/files/bin_ant | 6 - programming/build/ant/pspec.xml | 85 ------- programming/build/ant/translations.xml | 9 - programming/build/component.xml | 3 - programming/build/{ninja => }/files/LFS.patch | 0 programming/build/llvm/actions.py | 114 --------- .../llvm-3.5.0-fix-cmake-llvm-exports.patch | 39 ---- .../files/llvm-3.5.0-force-link-pass.o.patch | 28 --- ...lvm-3.6.0-use-ocamlfind-for-ocamldoc.patch | 30 --- .../build/llvm/files/llvm-Config-config.h | 9 - .../llvm/files/llvm-Config-llvm-config.h | 9 - programming/build/llvm/pspec.xml | 221 ------------------ programming/build/llvm/translations.xml | 33 --- programming/build/{ninja => }/pspec.xml | 18 +- .../build/{ninja => }/translations.xml | 0 22 files changed, 2 insertions(+), 677 deletions(-) rename programming/build/{ninja => }/actions.py (100%) mode change 100644 => 100755 delete mode 100644 programming/build/ant/actions.py delete mode 100644 programming/build/ant/files/20ant delete mode 100644 programming/build/ant/files/ant.conf delete mode 100644 programming/build/ant/files/ant.csh delete mode 100644 programming/build/ant/files/ant.sh delete mode 100644 programming/build/ant/files/apache-ant-no-test-jar.patch delete mode 100644 programming/build/ant/files/bin_ant delete mode 100644 programming/build/ant/pspec.xml delete mode 100644 programming/build/ant/translations.xml delete mode 100644 programming/build/component.xml rename programming/build/{ninja => }/files/LFS.patch (100%) mode change 100644 => 100755 delete mode 100644 programming/build/llvm/actions.py delete mode 100644 programming/build/llvm/files/llvm-3.5.0-fix-cmake-llvm-exports.patch delete mode 100644 programming/build/llvm/files/llvm-3.5.0-force-link-pass.o.patch delete mode 100644 programming/build/llvm/files/llvm-3.6.0-use-ocamlfind-for-ocamldoc.patch delete mode 100644 programming/build/llvm/files/llvm-Config-config.h delete mode 100644 programming/build/llvm/files/llvm-Config-llvm-config.h delete mode 100644 programming/build/llvm/pspec.xml delete mode 100644 programming/build/llvm/translations.xml rename programming/build/{ninja => }/pspec.xml (73%) mode change 100644 => 100755 rename programming/build/{ninja => }/translations.xml (100%) mode change 100644 => 100755 diff --git a/programming/build/ninja/actions.py b/programming/build/actions.py old mode 100644 new mode 100755 similarity index 100% rename from programming/build/ninja/actions.py rename to programming/build/actions.py diff --git a/programming/build/ant/actions.py b/programming/build/ant/actions.py deleted file mode 100644 index 65e5825054..0000000000 --- a/programming/build/ant/actions.py +++ /dev/null @@ -1,57 +0,0 @@ -#!/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 pisitools -from pisi.actionsapi import shelltools -from pisi.actionsapi import get - -import os -import glob - -shelltools.export("JAVA_HOME","/usr/lib/jvm/java-7-openjdk") - -WorkDir = "apache-ant-%s" % get.srcVERSION() -anthome = "/usr/share/ant" -javadir = "/usr/share/java" - -def build(): - shelltools.export("ANT_OPTS", "-Duser.home=%s" % WorkDir) - shelltools.system("./bootstrap.sh") - -def install(): - for d in (anthome, os.path.join(anthome, "lib"), os.path.join(anthome, "etc"), os.path.join(anthome, "bin"), javadir, os.path.join(javadir, "ant")): - pisitools.dodir(d) - - shelltools.cd("build/lib") - - for f in ("ant.jar", "ant-launcher.jar", "ant-bootstrap.jar"): - pisitools.insinto(javadir, f, f.replace(".jar", "-%s.jar" % get.srcVERSION())) - pisitools.dosym(os.path.join(javadir, f.replace(".jar", "-%s.jar" % get.srcVERSION())), os.path.join(anthome, "lib", f)) - pisitools.dosym(os.path.join(javadir, f.replace(".jar", "-%s.jar" % get.srcVERSION())), os.path.join(javadir, f)) - - #Install optional JAR files to /usr/share/java/ant - for f in ("ant-jmf.jar", "ant-junit.jar", "ant-swing.jar"): - pisitools.insinto(os.path.join(javadir, "ant"), f, f.replace(".jar", "-%s.jar" % get.srcVERSION())) - pisitools.dosym(os.path.join(javadir, "ant", f.replace(".jar", "-%s.jar" % get.srcVERSION())), os.path.join(anthome, "lib", f)) - pisitools.dosym(os.path.join(javadir, "ant", f.replace(".jar", "-%s.jar" % get.srcVERSION())), os.path.join(javadir, "ant", f)) - - - shelltools.cd("../../src/script") - for f in glob.glob("*.bat"): - shelltools.unlink(f) - - for f in glob.glob("*.cmd"): - shelltools.unlink(f) - - pisitools.dobin("*") - pisitools.domove("/usr/bin/antRun*", os.path.join(anthome, "bin")) - shelltools.cd("../../") - - #Install XSLs - pisitools.insinto(os.path.join(anthome, "etc"), "src/etc/*.xsl") - - pisitools.dodoc("KEYS", "NOTICE", "README", "WHATSNEW", "LICENSE") - #pisitools.dohtml("docs/*") diff --git a/programming/build/ant/files/20ant b/programming/build/ant/files/20ant deleted file mode 100644 index b4bcea575e..0000000000 --- a/programming/build/ant/files/20ant +++ /dev/null @@ -1 +0,0 @@ -ANT_HOME="/usr/share/ant" diff --git a/programming/build/ant/files/ant.conf b/programming/build/ant/files/ant.conf deleted file mode 100644 index 207362fdf7..0000000000 --- a/programming/build/ant/files/ant.conf +++ /dev/null @@ -1,4 +0,0 @@ -# Apache Ant start script configuration file - -# Optional jars and their dependencies -OPT_JAR_LIST=/usr/share/java/junit.jar \ No newline at end of file diff --git a/programming/build/ant/files/ant.csh b/programming/build/ant/files/ant.csh deleted file mode 100644 index a547db8cd3..0000000000 --- a/programming/build/ant/files/ant.csh +++ /dev/null @@ -1 +0,0 @@ -setenv ANT_HOME /usr/share/ant \ No newline at end of file diff --git a/programming/build/ant/files/ant.sh b/programming/build/ant/files/ant.sh deleted file mode 100644 index d390f8842d..0000000000 --- a/programming/build/ant/files/ant.sh +++ /dev/null @@ -1 +0,0 @@ -export ANT_HOME=/usr/share/ant \ No newline at end of file diff --git a/programming/build/ant/files/apache-ant-no-test-jar.patch b/programming/build/ant/files/apache-ant-no-test-jar.patch deleted file mode 100644 index d4bdfed1bb..0000000000 --- a/programming/build/ant/files/apache-ant-no-test-jar.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- apache-ant-1.8.0.orig/build.xml 2010-04-13 14:09:27.501531982 +0200 -+++ apache-ant-1.8.0/build.xml 2010-04-13 14:57:08.321408006 +0200 -@@ -832,7 +832,7 @@ - =================================================================== - --> - - - \ No newline at end of file diff --git a/programming/build/ant/files/bin_ant b/programming/build/ant/files/bin_ant deleted file mode 100644 index a88165d71a..0000000000 --- a/programming/build/ant/files/bin_ant +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -. /etc/apache-ant/ant.conf - -export LOCALCLASSPATH=${OPT_JAR_LIST} -/usr/share/apache-ant/bin/ant "$@" \ No newline at end of file diff --git a/programming/build/ant/pspec.xml b/programming/build/ant/pspec.xml deleted file mode 100644 index 789a35b71a..0000000000 --- a/programming/build/ant/pspec.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - - ant - http://ant.apache.org - - PisiLinux Community - admins@pisilinux.org - - Apache-2.0 - app:console - Java-based build tool - Apache Ant is a Java-based build tool. In theory, it is kind of like Make, but without Make's wrinkles. - http://archive.apache.org/dist/ant/source/apache-ant-1.9.6-src.tar.bz2 - - jdk7-openjdk - - - apache-ant-no-test-jar.patch - - - - - ant - - - - - /etc - /usr/bin - /usr/share/ - - - 20ant - ant.conf - - - - - ant-docs - Documentation package for ant build system - - /usr/share/doc - - - - - - 2015-08-22 - 1.9.6 - Version bump. - Osman Erkan - osman.erkan@pisilinux.org - - - 2014-05-25 - 1.9.4 - Version bump. - Alihan Öztürk - alihan@pisilinux.org - - - 2014-03-03 - 1.8.4 - Rebuild for openjdk. - Serdar Soytetir - kaptan@pisilinux.org - - - 2013-04-20 - 1.8.4 - Fixed - PisiLinux Community - admins@pisilinux.org - - - 2012-10-06 - 1.8.4 - First release - PisiLinux Community - admins@pisilinux.org - - - diff --git a/programming/build/ant/translations.xml b/programming/build/ant/translations.xml deleted file mode 100644 index 86ef1fcfc5..0000000000 --- a/programming/build/ant/translations.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - ant - Java tabanlı inşa aracı - Apache ant Java tabanlı bir inşa aracıdır. Teorik olarak make'e benzemektedir ancak make'in kırışıksız halidir - Apache Ant es una herramienta de compilación (build) basado en Java. Teróricamente se puede comparar con Make, pero sin las vueltas que tiene aquel. - - diff --git a/programming/build/component.xml b/programming/build/component.xml deleted file mode 100644 index 678f939048..0000000000 --- a/programming/build/component.xml +++ /dev/null @@ -1,3 +0,0 @@ - - programming.build - diff --git a/programming/build/ninja/files/LFS.patch b/programming/build/files/LFS.patch old mode 100644 new mode 100755 similarity index 100% rename from programming/build/ninja/files/LFS.patch rename to programming/build/files/LFS.patch diff --git a/programming/build/llvm/actions.py b/programming/build/llvm/actions.py deleted file mode 100644 index bf18e2bfc9..0000000000 --- a/programming/build/llvm/actions.py +++ /dev/null @@ -1,114 +0,0 @@ - -# -*- 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 pkgconfig -from pisi.actionsapi import get -from pisi.actionsapi import kde4 - -#WorkDir = "%s-%s.src" % (get.srcNAME(), get.srcVERSION()) -libdir = "/usr/lib32/llvm" if get.buildTYPE() == "emul32" else "/usr/lib/llvm" -lib = "lib32" if get.buildTYPE() == "emul32" else "lib" - -def setup(): - if not shelltools.isDirectory("tools/clang"): - pisitools.dosed("tools/cfe-3.5.0.src/lib/Driver/ToolChains.cpp", '"ld"', '"ld.gold"') - shelltools.move("tools/cfe-%s.src" % get.srcVERSION(), "tools/clang") - shelltools.move("tools/clang-tools-extra-*", "tools/clang/extra") - if not shelltools.isDirectory("projects/compiler-rt"): - shelltools.move("projects/compiler-rt-3.5*", "projects/compiler-rt") - - pisitools.dosed("utils/llvm-build/llvm-build", "python", "python2.7") - pisitools.dosed("bindings/ocaml/Makefile.ocaml", '\$\(PROJ_libdir\)', libdir) - pisitools.dosed("Makefile.config.in", "\$\(PROJ_prefix\)/etc/llvm", "/etc/llvm") - pisitools.dosed("Makefile.config.in", "\$\(PROJ_prefix\)/lib", "$(PROJ_prefix)/%s/llvm" % lib) - pisitools.dosed("Makefile.config.in", "\$\(PROJ_prefix\)/docs/llvm", "$(PROJ_prefix)/share/doc/llvm") - pisitools.dosed("tools/llvm-config/llvm-config.cpp", '(ActiveLibDir\s=\sActivePrefix\s\+\s\"\/lib)(.*)', r'\1/llvm\2') - pisitools.dosed("autoconf/configure.ac", '\LLVM_LIBDIR="\$\{prefix\}/lib"', 'LLVM_LIBDIR="${prefix}/%s/llvm"' % lib) - - pisitools.dosed("Makefile.rules", "\$\(RPATH\)\s-Wl,\$\(ExmplDir\)\s\$\(DynamicFlag\)", "$(DynamicFlag)") - pisitools.dosed("Makefile.rules", "\$\(RPATH\)\s-Wl,\$\(ToolDir\)\s\$\(DynamicFlag\)", "$(DynamicFlag)") - - shelltools.export("CPPFLAGS","%s %s" % (get.CXXFLAGS(),pkgconfig.getLibraryCFLAGS("libffi"))) - - #pic_option = "enable" if get.ARCH() == "x86_64" else "disable" - shelltools.export("CC", "gcc") - shelltools.export("CXX", "g++") - - options = "--libdir=%s \ - --datadir=/usr/share/llvm \ - --sysconfdir=/etc \ - --enable-shared \ - --enable-libffi \ - --enable-targets=all \ - --disable-expensive-checks \ - --disable-debug-runtime \ - --disable-assertions \ - --disable-assertions \ - --with-python=/usr/bin/python2.7 \ - --with-binutils-include=/usr/include \ - " % libdir - - autotools.configure(options) - - -#def check(): -# autotools.make("check") -# autotools.make("-C tools/clang test") - -def build(): - autotools.make("REQUIRES_RTTI=1") - -def install(): - if get.buildTYPE() == "emul32": - - autotools.rawInstall("DESTDIR=%s \ - PROJ_etcdir=/etc/llvm \ - PROJ_libdir=/usr/lib32/llvm \ - PROJ_docsdir=/%s/llvm" - % (get.installDIR(), get.docDIR())) - shelltools.chmod("%s/usr/lib32/llvm/*.a" % get.installDIR(), mode = 0644) - pisitools.dosym("llvm/LLVMgold.so", "/usr/lib32/LLVMgold.so") - pisitools.remove("/usr/lib32/llvm/*LLVMHello.*") - return - else: - autotools.rawInstall("DESTDIR=%s \ - PROJ_etcdir=/etc/llvm \ - PROJ_libdir=%s \ - PROJ_docsdir=/%s/llvm" - % (get.installDIR(), libdir, get.docDIR())) - - - shelltools.chmod("%s/usr/lib/llvm/*.a" % get.installDIR(), 0644) - - # Install static analyzers which aren't installed by default - for exe in ("scan-build", "scan-view"): - pisitools.insinto("/usr/lib/clang-analyzer/%s" % exe, "tools/clang/tools/%s/%s" % (exe, exe)) - pisitools.dosym("/usr/lib/clang-analyzer/%s/%s" % (exe, exe), "/usr/bin/%s" % exe) - - pisitools.dodir("/etc/ld.so.conf.d") - shelltools.echo("%s/etc/ld.so.conf.d/51-llvm.conf" % get.installDIR(), "/usr/lib/llvm") - - # Symlink the gold plugin where clang expects it - pisitools.dosym("llvm/LLVMgold.so", "/usr/lib/LLVMgold.so") - - # Remove example file - pisitools.remove("/usr/lib/llvm/*LLVMHello.*") - - pisitools.remove("/usr/share/doc/llvm/*.tar.gz") - pisitools.remove("/usr/share/doc/llvm/ocamldoc/html/*.tar.gz") - pisitools.removeDir("/usr/share/doc/llvm/ps") - - # Install vim syntax files for .ll and .td files - # llvm.vim additional file add ftdetct vim file to detect .ll and .td as llvm files - pisitools.insinto("/usr/share/vim/vimfiles/syntax", "utils/vim/*.vim") - - # Install kate syntax file - pisitools.insinto("%s/katepart/syntax" % kde4.appsdir, "utils/kate/*.xml") - - pisitools.dodoc("CREDITS.TXT", "LICENSE.TXT", "README.txt") diff --git a/programming/build/llvm/files/llvm-3.5.0-fix-cmake-llvm-exports.patch b/programming/build/llvm/files/llvm-3.5.0-fix-cmake-llvm-exports.patch deleted file mode 100644 index 7a7d42a3d4..0000000000 --- a/programming/build/llvm/files/llvm-3.5.0-fix-cmake-llvm-exports.patch +++ /dev/null @@ -1,39 +0,0 @@ -Index: cmake/modules/Makefile -=================================================================== ---- cmake/modules/Makefile (revision 217483) -+++ cmake/modules/Makefile (revision 217484) -@@ -33,6 +33,16 @@ - LLVM_ENABLE_RTTI := 0 - endif - -+LLVM_LIBS_TO_EXPORT := $(subst -l,,$(shell $(LLVM_CONFIG) --libs $(LINK_COMPONENTS) || echo Error)) -+ -+ifeq ($(LLVM_LIBS_TO_EXPORT),Error) -+$(error llvm-config --libs failed) -+endif -+ -+ifndef LLVM_LIBS_TO_EXPORT -+$(error LLVM_LIBS_TO_EXPORT cannot be empty) -+endif -+ - OBJMODS := LLVMConfig.cmake LLVMConfigVersion.cmake LLVMExports.cmake - - $(PROJ_OBJ_DIR)/LLVMConfig.cmake: LLVMConfig.cmake.in $(LLVMBuildCMakeFrag) -@@ -45,7 +55,7 @@ - -e 's/@LLVM_VERSION_PATCH@/'"$(LLVM_VERSION_PATCH)"'/' \ - -e 's/@PACKAGE_VERSION@/'"$(LLVMVersion)"'/' \ - -e 's/@LLVM_COMMON_DEPENDS@//' \ -- -e 's/@LLVM_AVAILABLE_LIBS@/'"$(subst -l,,$(LLVMConfigLibs))"'/' \ -+ -e 's/@LLVM_AVAILABLE_LIBS@/'"$(LLVM_LIBS_TO_EXPORT)"'/' \ - -e 's/@LLVM_ALL_TARGETS@/'"$(ALL_TARGETS)"'/' \ - -e 's/@LLVM_TARGETS_TO_BUILD@/'"$(TARGETS_TO_BUILD)"'/' \ - -e 's/@LLVM_TARGETS_WITH_JIT@/'"$(TARGETS_WITH_JIT)"'/' \ -@@ -83,7 +93,7 @@ - $(Echo) 'Generating LLVM CMake target exports file' - $(Verb) ( \ - echo '# LLVM CMake target exports. Do not include directly.' && \ -- for lib in $(subst -l,,$(LLVMConfigLibs)); do \ -+ for lib in $(LLVM_LIBS_TO_EXPORT); do \ - echo 'add_library('"$$lib"' STATIC IMPORTED)' && \ - echo 'set_property(TARGET '"$$lib"' PROPERTY IMPORTED_LOCATION "'"$(PROJ_libdir)/lib$$lib.a"'")' ; \ - done && \ diff --git a/programming/build/llvm/files/llvm-3.5.0-force-link-pass.o.patch b/programming/build/llvm/files/llvm-3.5.0-force-link-pass.o.patch deleted file mode 100644 index acc4c13396..0000000000 --- a/programming/build/llvm/files/llvm-3.5.0-force-link-pass.o.patch +++ /dev/null @@ -1,28 +0,0 @@ -Index: llvm-toolchain-snapshot-3.5~svn211313/tools/bugpoint/Makefile -=================================================================== ---- llvm-toolchain-snapshot-3.5~svn211313.orig/tools/bugpoint/Makefile -+++ llvm-toolchain-snapshot-3.5~svn211313/tools/bugpoint/Makefile -@@ -12,6 +12,9 @@ TOOLNAME := bugpoint - LINK_COMPONENTS := asmparser instrumentation scalaropts ipo linker bitreader \ - bitwriter irreader vectorize objcarcopts codegen - -+# Crappy workaround to make sure it links correctly. -+LLVMLibsOptions := ../../lib/IR/Release*/Pass.o -+ - # Support plugins. - NO_DEAD_STRIP := 1 - -Index: llvm-toolchain-snapshot-3.5~svn211313/tools/opt/Makefile -=================================================================== ---- llvm-toolchain-snapshot-3.5~svn211313.orig/tools/opt/Makefile -+++ llvm-toolchain-snapshot-3.5~svn211313/tools/opt/Makefile -@@ -10,7 +10,9 @@ - LEVEL := ../.. - TOOLNAME := opt - LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets codegen -+# Crappy workaround to make sure it links correctly. - -+LLVMLibsOptions := ../../lib/IR/Release*/Pass.o - # Support plugins. - NO_DEAD_STRIP := 1 - diff --git a/programming/build/llvm/files/llvm-3.6.0-use-ocamlfind-for-ocamldoc.patch b/programming/build/llvm/files/llvm-3.6.0-use-ocamlfind-for-ocamldoc.patch deleted file mode 100644 index 8a838c3a7c..0000000000 --- a/programming/build/llvm/files/llvm-3.6.0-use-ocamlfind-for-ocamldoc.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -upr llvm-3.6.0.src.orig/docs/Makefile llvm-3.6.0.src/docs/Makefile ---- llvm-3.6.0.src.orig/docs/Makefile 2014-10-29 00:45:25.000000000 +0200 -+++ llvm-3.6.0.src/docs/Makefile 2015-02-28 10:12:35.647351241 +0200 -@@ -41,7 +41,7 @@ install_targets := install-html - ifeq ($(ENABLE_DOXYGEN),1) - install_targets += install-doxygen - endif --ifdef OCAMLDOC -+ifdef OCAMLFIND - ifneq (,$(filter ocaml,$(BINDINGS_TO_BUILD))) - install_targets += install-ocamldoc - endif -@@ -49,7 +49,7 @@ endif - install-local:: $(install_targets) - - generated_targets := doxygen --ifdef OCAMLDOC -+ifdef OCAMLFIND - generated_targets += ocamldoc - endif - -@@ -120,7 +120,7 @@ regen-ocamldoc: - $(Verb) $(MAKE) -C $(LEVEL)/bindings/ocaml ocamldoc - $(Verb) $(MKDIR) $(PROJ_OBJ_DIR)/ocamldoc/html - $(Verb) \ -- $(OCAMLDOC) -d $(PROJ_OBJ_DIR)/ocamldoc/html -sort -colorize-code -html \ -+ $(OCAMLFIND) ocamldoc -d $(PROJ_OBJ_DIR)/ocamldoc/html -sort -colorize-code -html \ - `$(FIND) $(LEVEL)/bindings/ocaml -name "*.odoc" \ - -path "*/$(BuildMode)/*.odoc" -exec echo -load '{}' ';'` - diff --git a/programming/build/llvm/files/llvm-Config-config.h b/programming/build/llvm/files/llvm-Config-config.h deleted file mode 100644 index c369b4551f..0000000000 --- a/programming/build/llvm/files/llvm-Config-config.h +++ /dev/null @@ -1,9 +0,0 @@ -#include - -#if __WORDSIZE == 32 -#include "config-32.h" -#elif __WORDSIZE == 64 -#include "config-64.h" -#else -#error "Unknown word size" -#endif diff --git a/programming/build/llvm/files/llvm-Config-llvm-config.h b/programming/build/llvm/files/llvm-Config-llvm-config.h deleted file mode 100644 index 2fa08c9be6..0000000000 --- a/programming/build/llvm/files/llvm-Config-llvm-config.h +++ /dev/null @@ -1,9 +0,0 @@ -#include - -#if __WORDSIZE == 32 -#include "llvm-config-32.h" -#elif __WORDSIZE == 64 -#include "llvm-config-64.h" -#else -#error "Unknown word size" -#endif diff --git a/programming/build/llvm/pspec.xml b/programming/build/llvm/pspec.xml deleted file mode 100644 index c053e4fb08..0000000000 --- a/programming/build/llvm/pspec.xml +++ /dev/null @@ -1,221 +0,0 @@ - - - - - llvm - http://www.llvm.org/ - - Serdar Soytetir - kaptan@pisilinux.org - - NCSA - The Low Level Virtual Machine - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Despite its name, LLVM has little to do with traditional virtual machines, though it does provide helpful libraries that can be used to build them. - http://llvm.org/releases/3.5.0/llvm-3.5.0.src.tar.xz - http://llvm.org/releases/3.5.0/cfe-3.5.0.src.tar.xz - http://llvm.org/releases/3.5.0/clang-tools-extra-3.5.0.src.tar.xz - http://llvm.org/releases/3.5.0/compiler-rt-3.5.0.src.tar.xz - - - zlib-devel - libxml2-devel - ncurses-devel - ocaml - libffi-devel - groff - libedit-devel - - binutils - - - llvm-3.5.0-fix-cmake-llvm-exports.patch - llvm-3.5.0-force-link-pass.o.patch - - - - - llvm - app:console - library - - llvm-libs - libxml2 - libgcc - ncurses - - - /usr/bin - /usr/bin/llvm-config - /usr/include/llvm* - /usr/lib/llvm - /usr/lib - /etc/ld.so.conf.d - /etc/llvm - /usr/share/doc - /usr/share/vim - /usr/share/llvm/cmake - - /usr/share/kde4 - /usr/share/man - - - - - llvm-libs - library - - zlib - libffi - libedit - libgcc - ncurses - - - /usr/lib/llvm/libLLVM-3* - /usr/share/licenses/llvm-libs/LICENSE - - - - - llvm-ocaml - library - programming.language.ocaml - OCaml binding for LLVM - - llvm - ocaml - - - /usr/lib/ocaml - - - - - llvm-clang-analyzer - app:console - A source code analysis framework - The Clang Static Analyzer consists of both a source code analysis framework and a standalone tool that finds bugs in C and Objective-C programs. - - llvm-clang - - - /usr/lib/clang-analyzer - /usr/bin/scan-* - - - - - llvm-clang - A C language family front-end for LLVM - The goal of the Clang project is to create a new C, C++, Objective C and Objective C++ front-end for the LLVM compiler. - - llvm-libs - libgcc - ncurses - - - /usr/bin/clang* - /usr/bin/tblgen - /usr/lib/clang - /usr/lib/clang/libclang.so - /usr/share/man/man1/clang.1 - - - - - llvm-clang-devel - Development headers for llvm-clang - - llvm-clang - - - /usr/include/clang - /usr/include/clang-c - - - - - llvm-docs - programming.docs - data:doc - Documentation for LLVM - - /usr/share/doc/llvm/html - /usr/share/doc/llvm/ocamldoc - - - - - llvm-32bit - emul32 - 32-bit shared libraries for llvm - emul32 - - zlib-32bit - libffi-32bit - - - llvm - libgcc - libedit - ncurses-32bit - zlib-32bit - libffi-32bit - - - /usr/lib32 - - - - - - 2014-09-23 - 3.5.0 - Version bump. - Serdar Soytetir - kaptan@pisilinux.org - - - 2014-05-11 - 3.4.1 - Release bump. - Marcin Bojara - marcin@pisilinux.org - - - 2014-05-11 - 3.4.1 - Version bump. - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2013-09-01 - 3.3 - Release bump, already cleaned. - marcin bojara - marcin@pisilinux.org - - - 2013-07-26 - 3.3 - Version bump. - marcin bojara - marcin@pisilinux.org - - - 2013-02-18 - 3.2 - version bump - PisiLinux Community - admins@pisilinux.org - - - 2012-06-11 - 3.1 - First release - marcin bojara - marcin@pisilinux.org - - - diff --git a/programming/build/llvm/translations.xml b/programming/build/llvm/translations.xml deleted file mode 100644 index 7ebd970163..0000000000 --- a/programming/build/llvm/translations.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - llvm - Düşük Seviye Sanal Makine (LLVM) - LLVM projesi, modüler ve tekrar tekrar kullanılabilir derleyici teknolojileri koleksiyonudur. Adının aksine geleneksel sanal makinelerden çok farklıdır; ancak sanal makineleri oluşturmak için faydalı kitaplıklar içerir. - - - - llvm-ocaml - LLVM için OCaml bağlayıcısı - - - - llvm-clang-analyzer - C ve Objective-C için kod analiz altyapısı - - - - llvm-clang - LLVM için C dili ailesi ön ucu - - - - llvm-clang-devel - llvm-clang için başlık dosyaları - - - - llvm-docs - LLVM belgeleri - - diff --git a/programming/build/ninja/pspec.xml b/programming/build/pspec.xml old mode 100644 new mode 100755 similarity index 73% rename from programming/build/ninja/pspec.xml rename to programming/build/pspec.xml index 4ffb664c91..ee577a9c0c --- a/programming/build/ninja/pspec.xml +++ b/programming/build/pspec.xml @@ -34,26 +34,12 @@ - - 2015-06-30 + + 2015-08-25 1.6.0 Version bump. Vedat Demir vedat@pisilinux.org - - 2015-01-31 - 1.5.3 - Version bump. - Vedat Demir - vedat@pisilinux.org - - - 2014-09-08 - 1.5.1 - First release - Stefan Gronewold(groni) - groni@pisilinux.org - diff --git a/programming/build/ninja/translations.xml b/programming/build/translations.xml old mode 100644 new mode 100755 similarity index 100% rename from programming/build/ninja/translations.xml rename to programming/build/translations.xml From 7d412b493467c270cdea4e9dfaaf226678f4080d Mon Sep 17 00:00:00 2001 From: Vedat Demir Date: Sun, 23 Aug 2015 02:26:39 +0300 Subject: [PATCH 6/9] ninja --- programming/build/ant/actions.py | 57 +++++ programming/build/ant/files/20ant | 1 + programming/build/ant/files/ant.conf | 4 + programming/build/ant/files/ant.csh | 1 + programming/build/ant/files/ant.sh | 1 + .../ant/files/apache-ant-no-test-jar.patch | 11 + programming/build/ant/files/bin_ant | 6 + programming/build/ant/pspec.xml | 85 +++++++ programming/build/ant/translations.xml | 9 + programming/build/component.xml | 3 + programming/build/llvm/actions.py | 114 +++++++++ .../llvm-3.5.0-fix-cmake-llvm-exports.patch | 39 ++++ .../files/llvm-3.5.0-force-link-pass.o.patch | 28 +++ ...lvm-3.6.0-use-ocamlfind-for-ocamldoc.patch | 30 +++ .../build/llvm/files/llvm-Config-config.h | 9 + .../llvm/files/llvm-Config-llvm-config.h | 9 + programming/build/llvm/pspec.xml | 221 ++++++++++++++++++ programming/build/llvm/translations.xml | 33 +++ programming/build/{ => ninja}/actions.py | 0 programming/build/{ => ninja}/files/LFS.patch | 0 programming/build/{ => ninja}/pspec.xml | 0 .../build/{ => ninja}/translations.xml | 0 22 files changed, 661 insertions(+) create mode 100644 programming/build/ant/actions.py create mode 100644 programming/build/ant/files/20ant create mode 100644 programming/build/ant/files/ant.conf create mode 100644 programming/build/ant/files/ant.csh create mode 100644 programming/build/ant/files/ant.sh create mode 100644 programming/build/ant/files/apache-ant-no-test-jar.patch create mode 100644 programming/build/ant/files/bin_ant create mode 100644 programming/build/ant/pspec.xml create mode 100644 programming/build/ant/translations.xml create mode 100644 programming/build/component.xml create mode 100644 programming/build/llvm/actions.py create mode 100644 programming/build/llvm/files/llvm-3.5.0-fix-cmake-llvm-exports.patch create mode 100644 programming/build/llvm/files/llvm-3.5.0-force-link-pass.o.patch create mode 100644 programming/build/llvm/files/llvm-3.6.0-use-ocamlfind-for-ocamldoc.patch create mode 100644 programming/build/llvm/files/llvm-Config-config.h create mode 100644 programming/build/llvm/files/llvm-Config-llvm-config.h create mode 100644 programming/build/llvm/pspec.xml create mode 100644 programming/build/llvm/translations.xml rename programming/build/{ => ninja}/actions.py (100%) rename programming/build/{ => ninja}/files/LFS.patch (100%) rename programming/build/{ => ninja}/pspec.xml (100%) rename programming/build/{ => ninja}/translations.xml (100%) diff --git a/programming/build/ant/actions.py b/programming/build/ant/actions.py new file mode 100644 index 0000000000..65e5825054 --- /dev/null +++ b/programming/build/ant/actions.py @@ -0,0 +1,57 @@ +#!/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 pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +import os +import glob + +shelltools.export("JAVA_HOME","/usr/lib/jvm/java-7-openjdk") + +WorkDir = "apache-ant-%s" % get.srcVERSION() +anthome = "/usr/share/ant" +javadir = "/usr/share/java" + +def build(): + shelltools.export("ANT_OPTS", "-Duser.home=%s" % WorkDir) + shelltools.system("./bootstrap.sh") + +def install(): + for d in (anthome, os.path.join(anthome, "lib"), os.path.join(anthome, "etc"), os.path.join(anthome, "bin"), javadir, os.path.join(javadir, "ant")): + pisitools.dodir(d) + + shelltools.cd("build/lib") + + for f in ("ant.jar", "ant-launcher.jar", "ant-bootstrap.jar"): + pisitools.insinto(javadir, f, f.replace(".jar", "-%s.jar" % get.srcVERSION())) + pisitools.dosym(os.path.join(javadir, f.replace(".jar", "-%s.jar" % get.srcVERSION())), os.path.join(anthome, "lib", f)) + pisitools.dosym(os.path.join(javadir, f.replace(".jar", "-%s.jar" % get.srcVERSION())), os.path.join(javadir, f)) + + #Install optional JAR files to /usr/share/java/ant + for f in ("ant-jmf.jar", "ant-junit.jar", "ant-swing.jar"): + pisitools.insinto(os.path.join(javadir, "ant"), f, f.replace(".jar", "-%s.jar" % get.srcVERSION())) + pisitools.dosym(os.path.join(javadir, "ant", f.replace(".jar", "-%s.jar" % get.srcVERSION())), os.path.join(anthome, "lib", f)) + pisitools.dosym(os.path.join(javadir, "ant", f.replace(".jar", "-%s.jar" % get.srcVERSION())), os.path.join(javadir, "ant", f)) + + + shelltools.cd("../../src/script") + for f in glob.glob("*.bat"): + shelltools.unlink(f) + + for f in glob.glob("*.cmd"): + shelltools.unlink(f) + + pisitools.dobin("*") + pisitools.domove("/usr/bin/antRun*", os.path.join(anthome, "bin")) + shelltools.cd("../../") + + #Install XSLs + pisitools.insinto(os.path.join(anthome, "etc"), "src/etc/*.xsl") + + pisitools.dodoc("KEYS", "NOTICE", "README", "WHATSNEW", "LICENSE") + #pisitools.dohtml("docs/*") diff --git a/programming/build/ant/files/20ant b/programming/build/ant/files/20ant new file mode 100644 index 0000000000..b4bcea575e --- /dev/null +++ b/programming/build/ant/files/20ant @@ -0,0 +1 @@ +ANT_HOME="/usr/share/ant" diff --git a/programming/build/ant/files/ant.conf b/programming/build/ant/files/ant.conf new file mode 100644 index 0000000000..207362fdf7 --- /dev/null +++ b/programming/build/ant/files/ant.conf @@ -0,0 +1,4 @@ +# Apache Ant start script configuration file + +# Optional jars and their dependencies +OPT_JAR_LIST=/usr/share/java/junit.jar \ No newline at end of file diff --git a/programming/build/ant/files/ant.csh b/programming/build/ant/files/ant.csh new file mode 100644 index 0000000000..a547db8cd3 --- /dev/null +++ b/programming/build/ant/files/ant.csh @@ -0,0 +1 @@ +setenv ANT_HOME /usr/share/ant \ No newline at end of file diff --git a/programming/build/ant/files/ant.sh b/programming/build/ant/files/ant.sh new file mode 100644 index 0000000000..d390f8842d --- /dev/null +++ b/programming/build/ant/files/ant.sh @@ -0,0 +1 @@ +export ANT_HOME=/usr/share/ant \ No newline at end of file diff --git a/programming/build/ant/files/apache-ant-no-test-jar.patch b/programming/build/ant/files/apache-ant-no-test-jar.patch new file mode 100644 index 0000000000..d4bdfed1bb --- /dev/null +++ b/programming/build/ant/files/apache-ant-no-test-jar.patch @@ -0,0 +1,11 @@ +--- apache-ant-1.8.0.orig/build.xml 2010-04-13 14:09:27.501531982 +0200 ++++ apache-ant-1.8.0/build.xml 2010-04-13 14:57:08.321408006 +0200 +@@ -832,7 +832,7 @@ + =================================================================== + --> + + + \ No newline at end of file diff --git a/programming/build/ant/files/bin_ant b/programming/build/ant/files/bin_ant new file mode 100644 index 0000000000..a88165d71a --- /dev/null +++ b/programming/build/ant/files/bin_ant @@ -0,0 +1,6 @@ +#!/bin/sh + +. /etc/apache-ant/ant.conf + +export LOCALCLASSPATH=${OPT_JAR_LIST} +/usr/share/apache-ant/bin/ant "$@" \ No newline at end of file diff --git a/programming/build/ant/pspec.xml b/programming/build/ant/pspec.xml new file mode 100644 index 0000000000..789a35b71a --- /dev/null +++ b/programming/build/ant/pspec.xml @@ -0,0 +1,85 @@ + + + + + ant + http://ant.apache.org + + PisiLinux Community + admins@pisilinux.org + + Apache-2.0 + app:console + Java-based build tool + Apache Ant is a Java-based build tool. In theory, it is kind of like Make, but without Make's wrinkles. + http://archive.apache.org/dist/ant/source/apache-ant-1.9.6-src.tar.bz2 + + jdk7-openjdk + + + apache-ant-no-test-jar.patch + + + + + ant + + + + + /etc + /usr/bin + /usr/share/ + + + 20ant + ant.conf + + + + + ant-docs + Documentation package for ant build system + + /usr/share/doc + + + + + + 2015-08-22 + 1.9.6 + Version bump. + Osman Erkan + osman.erkan@pisilinux.org + + + 2014-05-25 + 1.9.4 + Version bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2014-03-03 + 1.8.4 + Rebuild for openjdk. + Serdar Soytetir + kaptan@pisilinux.org + + + 2013-04-20 + 1.8.4 + Fixed + PisiLinux Community + admins@pisilinux.org + + + 2012-10-06 + 1.8.4 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/programming/build/ant/translations.xml b/programming/build/ant/translations.xml new file mode 100644 index 0000000000..86ef1fcfc5 --- /dev/null +++ b/programming/build/ant/translations.xml @@ -0,0 +1,9 @@ + + + + ant + Java tabanlı inşa aracı + Apache ant Java tabanlı bir inşa aracıdır. Teorik olarak make'e benzemektedir ancak make'in kırışıksız halidir + Apache Ant es una herramienta de compilación (build) basado en Java. Teróricamente se puede comparar con Make, pero sin las vueltas que tiene aquel. + + diff --git a/programming/build/component.xml b/programming/build/component.xml new file mode 100644 index 0000000000..678f939048 --- /dev/null +++ b/programming/build/component.xml @@ -0,0 +1,3 @@ + + programming.build + diff --git a/programming/build/llvm/actions.py b/programming/build/llvm/actions.py new file mode 100644 index 0000000000..bf18e2bfc9 --- /dev/null +++ b/programming/build/llvm/actions.py @@ -0,0 +1,114 @@ + +# -*- 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 pkgconfig +from pisi.actionsapi import get +from pisi.actionsapi import kde4 + +#WorkDir = "%s-%s.src" % (get.srcNAME(), get.srcVERSION()) +libdir = "/usr/lib32/llvm" if get.buildTYPE() == "emul32" else "/usr/lib/llvm" +lib = "lib32" if get.buildTYPE() == "emul32" else "lib" + +def setup(): + if not shelltools.isDirectory("tools/clang"): + pisitools.dosed("tools/cfe-3.5.0.src/lib/Driver/ToolChains.cpp", '"ld"', '"ld.gold"') + shelltools.move("tools/cfe-%s.src" % get.srcVERSION(), "tools/clang") + shelltools.move("tools/clang-tools-extra-*", "tools/clang/extra") + if not shelltools.isDirectory("projects/compiler-rt"): + shelltools.move("projects/compiler-rt-3.5*", "projects/compiler-rt") + + pisitools.dosed("utils/llvm-build/llvm-build", "python", "python2.7") + pisitools.dosed("bindings/ocaml/Makefile.ocaml", '\$\(PROJ_libdir\)', libdir) + pisitools.dosed("Makefile.config.in", "\$\(PROJ_prefix\)/etc/llvm", "/etc/llvm") + pisitools.dosed("Makefile.config.in", "\$\(PROJ_prefix\)/lib", "$(PROJ_prefix)/%s/llvm" % lib) + pisitools.dosed("Makefile.config.in", "\$\(PROJ_prefix\)/docs/llvm", "$(PROJ_prefix)/share/doc/llvm") + pisitools.dosed("tools/llvm-config/llvm-config.cpp", '(ActiveLibDir\s=\sActivePrefix\s\+\s\"\/lib)(.*)', r'\1/llvm\2') + pisitools.dosed("autoconf/configure.ac", '\LLVM_LIBDIR="\$\{prefix\}/lib"', 'LLVM_LIBDIR="${prefix}/%s/llvm"' % lib) + + pisitools.dosed("Makefile.rules", "\$\(RPATH\)\s-Wl,\$\(ExmplDir\)\s\$\(DynamicFlag\)", "$(DynamicFlag)") + pisitools.dosed("Makefile.rules", "\$\(RPATH\)\s-Wl,\$\(ToolDir\)\s\$\(DynamicFlag\)", "$(DynamicFlag)") + + shelltools.export("CPPFLAGS","%s %s" % (get.CXXFLAGS(),pkgconfig.getLibraryCFLAGS("libffi"))) + + #pic_option = "enable" if get.ARCH() == "x86_64" else "disable" + shelltools.export("CC", "gcc") + shelltools.export("CXX", "g++") + + options = "--libdir=%s \ + --datadir=/usr/share/llvm \ + --sysconfdir=/etc \ + --enable-shared \ + --enable-libffi \ + --enable-targets=all \ + --disable-expensive-checks \ + --disable-debug-runtime \ + --disable-assertions \ + --disable-assertions \ + --with-python=/usr/bin/python2.7 \ + --with-binutils-include=/usr/include \ + " % libdir + + autotools.configure(options) + + +#def check(): +# autotools.make("check") +# autotools.make("-C tools/clang test") + +def build(): + autotools.make("REQUIRES_RTTI=1") + +def install(): + if get.buildTYPE() == "emul32": + + autotools.rawInstall("DESTDIR=%s \ + PROJ_etcdir=/etc/llvm \ + PROJ_libdir=/usr/lib32/llvm \ + PROJ_docsdir=/%s/llvm" + % (get.installDIR(), get.docDIR())) + shelltools.chmod("%s/usr/lib32/llvm/*.a" % get.installDIR(), mode = 0644) + pisitools.dosym("llvm/LLVMgold.so", "/usr/lib32/LLVMgold.so") + pisitools.remove("/usr/lib32/llvm/*LLVMHello.*") + return + else: + autotools.rawInstall("DESTDIR=%s \ + PROJ_etcdir=/etc/llvm \ + PROJ_libdir=%s \ + PROJ_docsdir=/%s/llvm" + % (get.installDIR(), libdir, get.docDIR())) + + + shelltools.chmod("%s/usr/lib/llvm/*.a" % get.installDIR(), 0644) + + # Install static analyzers which aren't installed by default + for exe in ("scan-build", "scan-view"): + pisitools.insinto("/usr/lib/clang-analyzer/%s" % exe, "tools/clang/tools/%s/%s" % (exe, exe)) + pisitools.dosym("/usr/lib/clang-analyzer/%s/%s" % (exe, exe), "/usr/bin/%s" % exe) + + pisitools.dodir("/etc/ld.so.conf.d") + shelltools.echo("%s/etc/ld.so.conf.d/51-llvm.conf" % get.installDIR(), "/usr/lib/llvm") + + # Symlink the gold plugin where clang expects it + pisitools.dosym("llvm/LLVMgold.so", "/usr/lib/LLVMgold.so") + + # Remove example file + pisitools.remove("/usr/lib/llvm/*LLVMHello.*") + + pisitools.remove("/usr/share/doc/llvm/*.tar.gz") + pisitools.remove("/usr/share/doc/llvm/ocamldoc/html/*.tar.gz") + pisitools.removeDir("/usr/share/doc/llvm/ps") + + # Install vim syntax files for .ll and .td files + # llvm.vim additional file add ftdetct vim file to detect .ll and .td as llvm files + pisitools.insinto("/usr/share/vim/vimfiles/syntax", "utils/vim/*.vim") + + # Install kate syntax file + pisitools.insinto("%s/katepart/syntax" % kde4.appsdir, "utils/kate/*.xml") + + pisitools.dodoc("CREDITS.TXT", "LICENSE.TXT", "README.txt") diff --git a/programming/build/llvm/files/llvm-3.5.0-fix-cmake-llvm-exports.patch b/programming/build/llvm/files/llvm-3.5.0-fix-cmake-llvm-exports.patch new file mode 100644 index 0000000000..7a7d42a3d4 --- /dev/null +++ b/programming/build/llvm/files/llvm-3.5.0-fix-cmake-llvm-exports.patch @@ -0,0 +1,39 @@ +Index: cmake/modules/Makefile +=================================================================== +--- cmake/modules/Makefile (revision 217483) ++++ cmake/modules/Makefile (revision 217484) +@@ -33,6 +33,16 @@ + LLVM_ENABLE_RTTI := 0 + endif + ++LLVM_LIBS_TO_EXPORT := $(subst -l,,$(shell $(LLVM_CONFIG) --libs $(LINK_COMPONENTS) || echo Error)) ++ ++ifeq ($(LLVM_LIBS_TO_EXPORT),Error) ++$(error llvm-config --libs failed) ++endif ++ ++ifndef LLVM_LIBS_TO_EXPORT ++$(error LLVM_LIBS_TO_EXPORT cannot be empty) ++endif ++ + OBJMODS := LLVMConfig.cmake LLVMConfigVersion.cmake LLVMExports.cmake + + $(PROJ_OBJ_DIR)/LLVMConfig.cmake: LLVMConfig.cmake.in $(LLVMBuildCMakeFrag) +@@ -45,7 +55,7 @@ + -e 's/@LLVM_VERSION_PATCH@/'"$(LLVM_VERSION_PATCH)"'/' \ + -e 's/@PACKAGE_VERSION@/'"$(LLVMVersion)"'/' \ + -e 's/@LLVM_COMMON_DEPENDS@//' \ +- -e 's/@LLVM_AVAILABLE_LIBS@/'"$(subst -l,,$(LLVMConfigLibs))"'/' \ ++ -e 's/@LLVM_AVAILABLE_LIBS@/'"$(LLVM_LIBS_TO_EXPORT)"'/' \ + -e 's/@LLVM_ALL_TARGETS@/'"$(ALL_TARGETS)"'/' \ + -e 's/@LLVM_TARGETS_TO_BUILD@/'"$(TARGETS_TO_BUILD)"'/' \ + -e 's/@LLVM_TARGETS_WITH_JIT@/'"$(TARGETS_WITH_JIT)"'/' \ +@@ -83,7 +93,7 @@ + $(Echo) 'Generating LLVM CMake target exports file' + $(Verb) ( \ + echo '# LLVM CMake target exports. Do not include directly.' && \ +- for lib in $(subst -l,,$(LLVMConfigLibs)); do \ ++ for lib in $(LLVM_LIBS_TO_EXPORT); do \ + echo 'add_library('"$$lib"' STATIC IMPORTED)' && \ + echo 'set_property(TARGET '"$$lib"' PROPERTY IMPORTED_LOCATION "'"$(PROJ_libdir)/lib$$lib.a"'")' ; \ + done && \ diff --git a/programming/build/llvm/files/llvm-3.5.0-force-link-pass.o.patch b/programming/build/llvm/files/llvm-3.5.0-force-link-pass.o.patch new file mode 100644 index 0000000000..acc4c13396 --- /dev/null +++ b/programming/build/llvm/files/llvm-3.5.0-force-link-pass.o.patch @@ -0,0 +1,28 @@ +Index: llvm-toolchain-snapshot-3.5~svn211313/tools/bugpoint/Makefile +=================================================================== +--- llvm-toolchain-snapshot-3.5~svn211313.orig/tools/bugpoint/Makefile ++++ llvm-toolchain-snapshot-3.5~svn211313/tools/bugpoint/Makefile +@@ -12,6 +12,9 @@ TOOLNAME := bugpoint + LINK_COMPONENTS := asmparser instrumentation scalaropts ipo linker bitreader \ + bitwriter irreader vectorize objcarcopts codegen + ++# Crappy workaround to make sure it links correctly. ++LLVMLibsOptions := ../../lib/IR/Release*/Pass.o ++ + # Support plugins. + NO_DEAD_STRIP := 1 + +Index: llvm-toolchain-snapshot-3.5~svn211313/tools/opt/Makefile +=================================================================== +--- llvm-toolchain-snapshot-3.5~svn211313.orig/tools/opt/Makefile ++++ llvm-toolchain-snapshot-3.5~svn211313/tools/opt/Makefile +@@ -10,7 +10,9 @@ + LEVEL := ../.. + TOOLNAME := opt + LINK_COMPONENTS := bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts ipo vectorize all-targets codegen ++# Crappy workaround to make sure it links correctly. + ++LLVMLibsOptions := ../../lib/IR/Release*/Pass.o + # Support plugins. + NO_DEAD_STRIP := 1 + diff --git a/programming/build/llvm/files/llvm-3.6.0-use-ocamlfind-for-ocamldoc.patch b/programming/build/llvm/files/llvm-3.6.0-use-ocamlfind-for-ocamldoc.patch new file mode 100644 index 0000000000..8a838c3a7c --- /dev/null +++ b/programming/build/llvm/files/llvm-3.6.0-use-ocamlfind-for-ocamldoc.patch @@ -0,0 +1,30 @@ +diff -upr llvm-3.6.0.src.orig/docs/Makefile llvm-3.6.0.src/docs/Makefile +--- llvm-3.6.0.src.orig/docs/Makefile 2014-10-29 00:45:25.000000000 +0200 ++++ llvm-3.6.0.src/docs/Makefile 2015-02-28 10:12:35.647351241 +0200 +@@ -41,7 +41,7 @@ install_targets := install-html + ifeq ($(ENABLE_DOXYGEN),1) + install_targets += install-doxygen + endif +-ifdef OCAMLDOC ++ifdef OCAMLFIND + ifneq (,$(filter ocaml,$(BINDINGS_TO_BUILD))) + install_targets += install-ocamldoc + endif +@@ -49,7 +49,7 @@ endif + install-local:: $(install_targets) + + generated_targets := doxygen +-ifdef OCAMLDOC ++ifdef OCAMLFIND + generated_targets += ocamldoc + endif + +@@ -120,7 +120,7 @@ regen-ocamldoc: + $(Verb) $(MAKE) -C $(LEVEL)/bindings/ocaml ocamldoc + $(Verb) $(MKDIR) $(PROJ_OBJ_DIR)/ocamldoc/html + $(Verb) \ +- $(OCAMLDOC) -d $(PROJ_OBJ_DIR)/ocamldoc/html -sort -colorize-code -html \ ++ $(OCAMLFIND) ocamldoc -d $(PROJ_OBJ_DIR)/ocamldoc/html -sort -colorize-code -html \ + `$(FIND) $(LEVEL)/bindings/ocaml -name "*.odoc" \ + -path "*/$(BuildMode)/*.odoc" -exec echo -load '{}' ';'` + diff --git a/programming/build/llvm/files/llvm-Config-config.h b/programming/build/llvm/files/llvm-Config-config.h new file mode 100644 index 0000000000..c369b4551f --- /dev/null +++ b/programming/build/llvm/files/llvm-Config-config.h @@ -0,0 +1,9 @@ +#include + +#if __WORDSIZE == 32 +#include "config-32.h" +#elif __WORDSIZE == 64 +#include "config-64.h" +#else +#error "Unknown word size" +#endif diff --git a/programming/build/llvm/files/llvm-Config-llvm-config.h b/programming/build/llvm/files/llvm-Config-llvm-config.h new file mode 100644 index 0000000000..2fa08c9be6 --- /dev/null +++ b/programming/build/llvm/files/llvm-Config-llvm-config.h @@ -0,0 +1,9 @@ +#include + +#if __WORDSIZE == 32 +#include "llvm-config-32.h" +#elif __WORDSIZE == 64 +#include "llvm-config-64.h" +#else +#error "Unknown word size" +#endif diff --git a/programming/build/llvm/pspec.xml b/programming/build/llvm/pspec.xml new file mode 100644 index 0000000000..c053e4fb08 --- /dev/null +++ b/programming/build/llvm/pspec.xml @@ -0,0 +1,221 @@ + + + + + llvm + http://www.llvm.org/ + + Serdar Soytetir + kaptan@pisilinux.org + + NCSA + The Low Level Virtual Machine + The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Despite its name, LLVM has little to do with traditional virtual machines, though it does provide helpful libraries that can be used to build them. + http://llvm.org/releases/3.5.0/llvm-3.5.0.src.tar.xz + http://llvm.org/releases/3.5.0/cfe-3.5.0.src.tar.xz + http://llvm.org/releases/3.5.0/clang-tools-extra-3.5.0.src.tar.xz + http://llvm.org/releases/3.5.0/compiler-rt-3.5.0.src.tar.xz + + + zlib-devel + libxml2-devel + ncurses-devel + ocaml + libffi-devel + groff + libedit-devel + + binutils + + + llvm-3.5.0-fix-cmake-llvm-exports.patch + llvm-3.5.0-force-link-pass.o.patch + + + + + llvm + app:console + library + + llvm-libs + libxml2 + libgcc + ncurses + + + /usr/bin + /usr/bin/llvm-config + /usr/include/llvm* + /usr/lib/llvm + /usr/lib + /etc/ld.so.conf.d + /etc/llvm + /usr/share/doc + /usr/share/vim + /usr/share/llvm/cmake + + /usr/share/kde4 + /usr/share/man + + + + + llvm-libs + library + + zlib + libffi + libedit + libgcc + ncurses + + + /usr/lib/llvm/libLLVM-3* + /usr/share/licenses/llvm-libs/LICENSE + + + + + llvm-ocaml + library + programming.language.ocaml + OCaml binding for LLVM + + llvm + ocaml + + + /usr/lib/ocaml + + + + + llvm-clang-analyzer + app:console + A source code analysis framework + The Clang Static Analyzer consists of both a source code analysis framework and a standalone tool that finds bugs in C and Objective-C programs. + + llvm-clang + + + /usr/lib/clang-analyzer + /usr/bin/scan-* + + + + + llvm-clang + A C language family front-end for LLVM + The goal of the Clang project is to create a new C, C++, Objective C and Objective C++ front-end for the LLVM compiler. + + llvm-libs + libgcc + ncurses + + + /usr/bin/clang* + /usr/bin/tblgen + /usr/lib/clang + /usr/lib/clang/libclang.so + /usr/share/man/man1/clang.1 + + + + + llvm-clang-devel + Development headers for llvm-clang + + llvm-clang + + + /usr/include/clang + /usr/include/clang-c + + + + + llvm-docs + programming.docs + data:doc + Documentation for LLVM + + /usr/share/doc/llvm/html + /usr/share/doc/llvm/ocamldoc + + + + + llvm-32bit + emul32 + 32-bit shared libraries for llvm + emul32 + + zlib-32bit + libffi-32bit + + + llvm + libgcc + libedit + ncurses-32bit + zlib-32bit + libffi-32bit + + + /usr/lib32 + + + + + + 2014-09-23 + 3.5.0 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-05-11 + 3.4.1 + Release bump. + Marcin Bojara + marcin@pisilinux.org + + + 2014-05-11 + 3.4.1 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-09-01 + 3.3 + Release bump, already cleaned. + marcin bojara + marcin@pisilinux.org + + + 2013-07-26 + 3.3 + Version bump. + marcin bojara + marcin@pisilinux.org + + + 2013-02-18 + 3.2 + version bump + PisiLinux Community + admins@pisilinux.org + + + 2012-06-11 + 3.1 + First release + marcin bojara + marcin@pisilinux.org + + + diff --git a/programming/build/llvm/translations.xml b/programming/build/llvm/translations.xml new file mode 100644 index 0000000000..7ebd970163 --- /dev/null +++ b/programming/build/llvm/translations.xml @@ -0,0 +1,33 @@ + + + + llvm + Düşük Seviye Sanal Makine (LLVM) + LLVM projesi, modüler ve tekrar tekrar kullanılabilir derleyici teknolojileri koleksiyonudur. Adının aksine geleneksel sanal makinelerden çok farklıdır; ancak sanal makineleri oluşturmak için faydalı kitaplıklar içerir. + + + + llvm-ocaml + LLVM için OCaml bağlayıcısı + + + + llvm-clang-analyzer + C ve Objective-C için kod analiz altyapısı + + + + llvm-clang + LLVM için C dili ailesi ön ucu + + + + llvm-clang-devel + llvm-clang için başlık dosyaları + + + + llvm-docs + LLVM belgeleri + + diff --git a/programming/build/actions.py b/programming/build/ninja/actions.py similarity index 100% rename from programming/build/actions.py rename to programming/build/ninja/actions.py diff --git a/programming/build/files/LFS.patch b/programming/build/ninja/files/LFS.patch similarity index 100% rename from programming/build/files/LFS.patch rename to programming/build/ninja/files/LFS.patch diff --git a/programming/build/pspec.xml b/programming/build/ninja/pspec.xml similarity index 100% rename from programming/build/pspec.xml rename to programming/build/ninja/pspec.xml diff --git a/programming/build/translations.xml b/programming/build/ninja/translations.xml similarity index 100% rename from programming/build/translations.xml rename to programming/build/ninja/translations.xml From fd9492ca9bb57e1e07e5b6025ac0f3a1f8c63729 Mon Sep 17 00:00:00 2001 From: Vedat Demir Date: Sun, 23 Aug 2015 02:41:09 +0300 Subject: [PATCH 7/9] pepperflash --- network/plugin/pepperflash/actions.py | 11 ++++++ .../pepperflash/files/pepperflash-plugin.conf | 8 ++++ network/plugin/pepperflash/pspec.xml | 38 +++++++++++++++++++ network/plugin/pepperflash/translations.xml | 10 +++++ 4 files changed, 67 insertions(+) create mode 100644 network/plugin/pepperflash/actions.py create mode 100755 network/plugin/pepperflash/files/pepperflash-plugin.conf create mode 100755 network/plugin/pepperflash/pspec.xml create mode 100755 network/plugin/pepperflash/translations.xml diff --git a/network/plugin/pepperflash/actions.py b/network/plugin/pepperflash/actions.py new file mode 100644 index 0000000000..65866f0c4d --- /dev/null +++ b/network/plugin/pepperflash/actions.py @@ -0,0 +1,11 @@ +#!/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 pisitools + +def install(): + pisitools.insinto("usr/lib/chromium-browser/PepperFlash/", "manifest.json") + pisitools.insinto("usr/lib/chromium-browser/PepperFlash/", "libpepflashplayer.so") \ No newline at end of file diff --git a/network/plugin/pepperflash/files/pepperflash-plugin.conf b/network/plugin/pepperflash/files/pepperflash-plugin.conf new file mode 100755 index 0000000000..bbcc8c48e1 --- /dev/null +++ b/network/plugin/pepperflash/files/pepperflash-plugin.conf @@ -0,0 +1,8 @@ +# Make sure that Chromium finds the plugin: +flash_library="/usr/lib/chromium-browser/PepperFlash/libpepflashplayer.so" +flash_version=$(grep '"version":' /usr/lib/chromium-browser/PepperFlash/manifest.json | cut -d\" -f4) + +if [ -f $flash_library ]; then + CHROMIUM_FLAGS="$CHROMIUM_FLAGS --ppapi-flash-path=$flash_library --ppapi-flash-version=$flash_version" +fi + diff --git a/network/plugin/pepperflash/pspec.xml b/network/plugin/pepperflash/pspec.xml new file mode 100755 index 0000000000..5eedb5b967 --- /dev/null +++ b/network/plugin/pepperflash/pspec.xml @@ -0,0 +1,38 @@ + + + + + pepperflash + http://www.google.com + + Osman Erkan + osman.erkan@pisilinux.org + + custom:chrome + library + Google Chrome's Pepper Flash plugin for Chromium. + Google Chrome's Pepper Flash plugin for Chromium (stable version) + https://dl.dropboxusercontent.com/s/8jxvv106fteve8u/PepperFlash-18.0.0.233.tar.xz + + + + pepperflash + + /etc/chromium-browser + /usr/lib/chromium-browser/PepperFlash + + + pepperflash-plugin.conf + + + + + + 2015-08-15 + 18.0.0.233 + Version bump + Vedat Demir + vedat@pisilinux.org + + + \ No newline at end of file diff --git a/network/plugin/pepperflash/translations.xml b/network/plugin/pepperflash/translations.xml new file mode 100755 index 0000000000..82c3110244 --- /dev/null +++ b/network/plugin/pepperflash/translations.xml @@ -0,0 +1,10 @@ + + + + pepperflash + Chromium tarayıcısı için Google chrom eklentisi olan Pepper Flash Eklentisi. + Google Chrome's Pepper Flash plugin for Chromium. + Google Chrome's Pepper Flash plugin for Chromium (stable version) + Chromium tarayıcısı için Google chrom eklentisi olan Pepper Flash Eklentisi (Kararlı sürüm) + + \ No newline at end of file From 6d12a503b59a073999a8c84532c606a6f4b8a56b Mon Sep 17 00:00:00 2001 From: Vedat Demir Date: Sun, 23 Aug 2015 02:44:01 +0300 Subject: [PATCH 8/9] dotconf --- programming/misc/dotconf/actions.py | 21 ++++++++++ programming/misc/dotconf/pspec.xml | 49 +++++++++++++++++++++++ programming/misc/dotconf/translations.xml | 13 ++++++ 3 files changed, 83 insertions(+) create mode 100755 programming/misc/dotconf/actions.py create mode 100755 programming/misc/dotconf/pspec.xml create mode 100755 programming/misc/dotconf/translations.xml diff --git a/programming/misc/dotconf/actions.py b/programming/misc/dotconf/actions.py new file mode 100755 index 0000000000..d9a93460af --- /dev/null +++ b/programming/misc/dotconf/actions.py @@ -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 + +def setup(): + autotools.autoreconf("-i") + autotools.configure("--disable-static") + +def build(): + autotools.make() + +def install(): + autotools.install() + + pisitools.dodoc("AUTHORS", "COPYING", "README") + diff --git a/programming/misc/dotconf/pspec.xml b/programming/misc/dotconf/pspec.xml new file mode 100755 index 0000000000..2233f63efe --- /dev/null +++ b/programming/misc/dotconf/pspec.xml @@ -0,0 +1,49 @@ + + + + + dotconf + http://www.opentts.org/projects/dotconf + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + library + A library to parse configuration files + dotconf is a simple-to-use and powerful configuration file parser library written in C. + http://source.pisilinux.org/1.0/dotconf-1.3.tar.gz + + + + dotconf + + /usr/lib + /usr/share/doc + + + + + dotconf-devel + Development headers and documentation for dotconf + + dotconf + + + /usr/include + /usr/lib/pkgconfig + /usr/share/doc/dotconf/examples + /usr/share/doc/dotconf/dotconf-api.txt + + + + + + 2015-08-25 + 1.3 + First release. + Vedat Demir + vedat@pisilinux.org + + + diff --git a/programming/misc/dotconf/translations.xml b/programming/misc/dotconf/translations.xml new file mode 100755 index 0000000000..99ea732c8d --- /dev/null +++ b/programming/misc/dotconf/translations.xml @@ -0,0 +1,13 @@ + + + + dotconf + Yapılandırma dosyası ayıklama kitaplığı + dotconf C dilinde yazılmış, basit kullanımlı ve güçlü bir yapılandırma dosyası ayıklama kitaplığıdır. + + + + dotconf-devel + dotconf kitaplığı için geliştirme başlıkları ve belgeleri + + From 3b8fa10fdf82779dfbf044c2b6c71cbe102995a2 Mon Sep 17 00:00:00 2001 From: Vedat Demir Date: Sun, 23 Aug 2015 02:46:07 +0300 Subject: [PATCH 9/9] speech-dispatcher --- multimedia/sound/speech-dispatcher/actions.py | 36 ++++++++++ multimedia/sound/speech-dispatcher/pspec.xml | 69 +++++++++++++++++++ .../sound/speech-dispatcher/translations.xml | 18 +++++ 3 files changed, 123 insertions(+) create mode 100755 multimedia/sound/speech-dispatcher/actions.py create mode 100755 multimedia/sound/speech-dispatcher/pspec.xml create mode 100755 multimedia/sound/speech-dispatcher/translations.xml diff --git a/multimedia/sound/speech-dispatcher/actions.py b/multimedia/sound/speech-dispatcher/actions.py new file mode 100755 index 0000000000..78ca90af35 --- /dev/null +++ b/multimedia/sound/speech-dispatcher/actions.py @@ -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/copyleft/gpl.txt. + +from pisi.actionsapi import get +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools + +def setup(): + #autotools.autoreconf("-vfi") + autotools.configure("--disable-static \ + --enable-shared \ + --disable-python \ + --with-default-audio-method=alsa \ + --without-flite ") + +def build(): + autotools.make() + +def install(): + autotools.install() + + # Conflicts with openTTS + pisitools.remove("/usr/share/info/ssip.info") + + # Set executable bit + #shelltools.chmod("%s/usr/lib/python3.4/site-packages/speechd/_test.py" % get.installDIR(), 0755) + + # Create log directory, it should be world unreadable + pisitools.dodir("/var/log/speech-dispatcher") + shelltools.chmod("%s/var/log/speech-dispatcher" % get.installDIR(), 0700) + + pisitools.dodoc("AUTHORS", "COPYING", "README") diff --git a/multimedia/sound/speech-dispatcher/pspec.xml b/multimedia/sound/speech-dispatcher/pspec.xml new file mode 100755 index 0000000000..193abdad24 --- /dev/null +++ b/multimedia/sound/speech-dispatcher/pspec.xml @@ -0,0 +1,69 @@ + + + + + speech-dispatcher + http://www.freebsoft.org/speechd + + PisiLinux Community + admins@pisilinux.org + + GPLv2+ + GPLv2 + service + app:console + library + speech dispatcher: common interface to speech synthesis + Speech Dispatcher is a device independent layer for speech synthesis that provides a common easy to use interface for both client applications (programs that want to speak) and for software synthesizers (programs actually able to convert text to speech). + http://www.freebsoft.org/pub/projects/speechd/speech-dispatcher-0.8.3.tar.gz + + glib2-devel + libsndfile-devel + dotconf-devel + intltool + + + + + speech-dispatcher + + glib2 + libtool-ltdl + dotconf + libsndfile + + + /usr/share + /usr/lib + /usr/share/doc + /usr/bin + /etc/speech-dispatcher + /var/log/speech-dispatcher + /usr/share/speech-dispatcher + + + + + speech-dispatcher-devel + Development headers for speech-dispatcher + + speech-dispatcher + glib2-devel + + + /usr/include + /usr/lib/pkgconfig/ + + + + + + + 2015-08-21 + 0.8.3 + Version bump. + Vedat Demir + vedat@pisilinux.org + + + diff --git a/multimedia/sound/speech-dispatcher/translations.xml b/multimedia/sound/speech-dispatcher/translations.xml new file mode 100755 index 0000000000..467ad5992a --- /dev/null +++ b/multimedia/sound/speech-dispatcher/translations.xml @@ -0,0 +1,18 @@ + + + + speech-dispatcher + Konuşma sentezi ortak arayüzü + Speech Dispatcher, seslendirme yapılmak istenen veya konuşma sentezi yapan uygulamalar için ortak ve kolay kullanımlı bir arayüz sunan, cihaz-bağımsız bir katmandır. + + + + python-speech-dispatcher + speech-dispatcher için Python bağlayıcıları + + + + speech-dispatcher-devel + speech-dispatcher için geliştirme başlıkları + +