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

This commit is contained in:
alihanozturk
2015-09-07 14:30:57 +03:00
137 changed files with 6439 additions and 519 deletions
+10 -3
View File
@@ -13,7 +13,7 @@
<IsA>app:console</IsA>
<Summary>QML based X11 display manager</Summary>
<Description>KDE Power Management module. Provides kded daemon DBus helper and KCM for configuring Power settings</Description>
<Archive sha1sum="c5bbe6e849e9870a0e1b3c5ea9e7a3b48f9ecda5" type="targz">https://github.com/sddm/sddm/archive/v0.11.0.tar.gz</Archive>
<Archive sha1sum="be2f61bda15c8b7210a660ebd4434c274dbf8e46" type="targz">https://github.com/sddm/sddm/archive/v0.12.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-linguist</Dependency>
@@ -26,9 +26,9 @@
<Dependency>cmake</Dependency>
</BuildDependencies>
<Patches>
<Patch>sddm-0.11.0-dbus-config.patch</Patch>
<!--Patch>sddm-0.11.0-dbus-config.patch</Patch>
<Patch>sddm_upstream.patch</Patch>
<Patch>sddm-0.10.0-upower.patch</Patch>
<Patch>sddm-0.10.0-upower.patch</Patch-->
<Patch>sddm-0.11.0-consolekit.patch</Patch>
</Patches>
</Source>
@@ -61,6 +61,13 @@
</Package>
<History>
<Update release="3">
<Date>2015-09-07</Date>
<Version>0.12</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="2">
<Date>2015-07-03</Date>
<Version>0.11</Version>
@@ -1,5 +1,5 @@
XDG_CONFIG=$HOME/.config/user-dirs.dirs
EXAMPLE_CREATION_FILE=$HOME/.local/example-content-created
XDG_CONFIG=$HOME/.config5/user-dirs.dirs
EXAMPLE_CREATION_FILE=$HOME/.local5/example-content-created
mksym()
{
+71
View File
@@ -0,0 +1,71 @@
#!/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 pythonmodules
from pisi.actionsapi import get
from pisi.actionsapi import qt5
WorkDir = "QScintilla-gpl-%s" % get.srcVERSION()
NoStrip = ["/usr/share/doc"]
def setup():
shelltools.cd("Qt4Qt5")
qt5.configure()
# Change C/XXFLAGS
pisitools.dosed("Makefile", "^CFLAGS.*\\$\\(DEFINES\\)", "CFLAGS = %s -fPIC $(DEFINES)" % get.CFLAGS())
pisitools.dosed("Makefile", "^CXXFLAGS.*\\$\\(DEFINES\\)", "CXXFLAGS = %s -fPIC $(DEFINES)" % get.CXXFLAGS())
# Get designer plugin's Makefile
shelltools.cd("../designer-Qt4Qt5/")
qt5.configure()
# Change C/XXFLAGS of designer plugin's makefile
pisitools.dosed("Makefile", "^CFLAGS.*\\$\\(DEFINES\\)", "CFLAGS = %s -fPIC $(DEFINES)" % get.CFLAGS())
pisitools.dosed("Makefile", "^CXXFLAGS.*\\$\\(DEFINES\\)", "CXXFLAGS = %s -fPIC $(DEFINES)" % get.CXXFLAGS())
def build():
shelltools.system("cp -rf Python Python3")
shelltools.cd("Qt4Qt5")
autotools.make("all staticlib CC=\"%s\" CXX=\"%s\" LINK=\"%s\"" % (get.CC(), get.CXX(), get.CXX()))
shelltools.cd("../designer-Qt4Qt5/")
autotools.make("DESTDIR=\"%s/%s/designer\"" % (get.installDIR(), qt5.plugindir))
# Get Makefile of qscintilla-python via sip
shelltools.cd("../Python")
pythonmodules.run("configure.py -n ../Qt4Qt5 -o ../Qt4Qt5")
autotools.make()
shelltools.cd("../Python3")
pythonmodules.run("configure.py -n ../Qt4Qt5 -o ../Qt4Qt5", pyVer = "3")
pisitools.dosed("Makefile", "-lpython3.4", "-lpython3")
autotools.make()
def install():
shelltools.cd("Qt4Qt5")
qt5.install()
shelltools.cd("../designer-Qt4Qt5/")
qt5.install()
#build and install qscintilla-python
shelltools.cd("../Python3")
autotools.install("DESTDIR=%s" % get.installDIR())
shelltools.cd("../Python")
autotools.install("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
pisitools.dohtml("doc/html-Qt4Qt5/")
pisitools.insinto("/usr/share/doc/%s/Scintilla" % get.srcNAME(), "doc/Scintilla/*")
pisitools.removeDir("/usr/share/qt4")
pisitools.dodoc("LICENSE*", "NEWS", "README")
# By PiSiDo 2.3.1
@@ -0,0 +1,10 @@
--- Python/configure.py~ 2009-06-05 11:00:42.000000000 +0200
+++ Python/configure.py 2009-06-06 11:41:12.000000000 +0200
@@ -294,6 +294,7 @@
makefile.extra_include_dirs.append(opts.qsciincdir)
makefile.extra_lib_dirs.append(opts.qscilibdir)
makefile.extra_libs.append("qscintilla2")
+ makefile.extra_libs.append("python" + sys.version[0:3])
makefile.generate()
@@ -0,0 +1,48 @@
--- QScintilla-gpl-2.9/Python/configure.py.orig 2015-04-20 17:38:24.000000000 +0300
+++ QScintilla-gpl-2.9/Python/configure.py 2015-04-26 21:54:18.000000000 +0300
@@ -31,6 +31,7 @@
import os
import optparse
import sys
+src_dir = os.path.dirname(os.path.abspath(__file__))
###############################################################################
@@ -206,6 +207,8 @@
"The QScintilla version number could not be determined by "
"reading %s." % sciglobal)
+ return # Debian: do not check for the installed version, we're good this way.
+
lib_dir = target_configuration.qsci_lib_dir
if lib_dir is None:
lib_dir = target_configuration.qt_lib_dir
@@ -260,7 +263,7 @@
the target configuration.
"""
- return 'sip/qscimod5.sip' if target_configuration.pyqt_package == 'PyQt5' else 'sip/qscimod4.sip'
+ return os.path.join(src_dir, 'sip/qscimod5.sip') if target_configuration.pyqt_package == 'PyQt5' else os.path.join(src_dir, 'sip/qscimod4.sip')
def get_sip_installs(self, target_configuration):
""" Return a tuple of the installation directory of the module's .sip
@@ -1411,6 +1414,7 @@
includepath = qmake_config.get('INCLUDEPATH')
if includepath:
pro.write('INCLUDEPATH += %s\n' % includepath)
+ pro.write('INCLUDEPATH += %s\n' % '/usr/include/qt/QtWidgets /usr/include/qt/QtPrintSupport')
# Make sure the SIP include directory is searched before the Python include
# directory if they are different.
@@ -1420,7 +1424,10 @@
libs = qmake_config.get('LIBS')
if libs:
- pro.write('LIBS += %s\n' % libs)
+ if target_config.pyqt_package == 'PyQt5':
+ pro.write('LIBS += %s -lqt5scintilla2\n' % libs)
+ else:
+ pro.write('LIBS += %s -lqscintilla2\n' % libs)
if not opts.static:
pro.write('''
@@ -0,0 +1,50 @@
--- QScintilla-gpl-2.8.3/Qt4Qt5/features/qscintilla2.prf~ 2014-07-03 14:15:46.000000000 +0400
+++ QScintilla-gpl-2.8.3/Qt4Qt5/features/qscintilla2.prf 2014-08-11 18:04:44.371414609 +0400
@@ -17,9 +17,18 @@
win32: {
LIBS += -lqscintilla2d
} else {
- LIBS += -lqscintilla2
+ greaterThan(QT_MAJOR_VERSION, 4) {
+ LIBS += -lqt5scintilla2
+ } else {
+ LIBS += -lqscintilla2
+ }
}
}
} else {
+ greaterThan(QT_MAJOR_VERSION, 4) {
+ LIBS += -lqt5scintilla2
+ }
+ else {
LIBS += -lqscintilla2
+ }
}
--- QScintilla-gpl-2.8.3/Qt4Qt5/qscintilla.pro~ 2014-07-03 14:15:46.000000000 +0400
+++ QScintilla-gpl-2.8.3/Qt4Qt5/qscintilla.pro 2014-08-11 18:00:05.598079386 +0400
@@ -41,6 +41,7 @@
greaterThan(QT_MAJOR_VERSION, 4) {
QT += widgets printsupport
+ TARGET = qt5scintilla2
greaterThan(QT_MINOR_VERSION, 1) {
macx:QT += macextras
--- QScintilla-gpl-2.8.3/Qt4Qt5/designer-Qt4Qt5/designer.pro~ 2014-07-03 14:15:46.000000000 +0400
+++ QScintilla-gpl-2.8.3/designer-Qt4Qt5/designer.pro 2014-08-11 18:00:05.598079386 +0400
@@ -8,11 +8,14 @@
greaterThan(QT_MAJOR_VERSION, 4) {
QT += designer
+ TARGET = qt5scintillaplugin
+ LIBS += -lqt5scintilla2
# Work around QTBUG-39300.
CONFIG -= android_install
} else {
CONFIG += designer
+ LIBS += -lqscintilla2
}
macx {
@@ -0,0 +1,17 @@
--- a/designer-Qt4/designer.pro 2011-06-13 14:16:23.000000000 +0200
+++ b/designer-Qt4/designer.pro 2012-10-28 18:05:40.000000000 +0100
@@ -4,6 +4,8 @@
TEMPLATE = lib
TARGET = qscintillaplugin
+INCLUDEPATH = ../Qt4Qt5
+
CONFIG += designer release plugin
HEADERS = qscintillaplugin.h
@@ -12,4 +14,4 @@
target.path = $$[QT_INSTALL_PLUGINS]/designer
INSTALLS += target
-LIBS += -lqscintilla2
+LIBS += -L../Qt4Qt5 -lqscintilla2
+134
View File
@@ -0,0 +1,134 @@
<PISI>
<Source>
<Name>qscintilla2</Name>
<Homepage>http://www.riverbankcomputing.co.uk/qscintilla/</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<License>GPLv3</License>
<IsA>library</IsA>
<Summary>Qt port of Scintilla</Summary>
<Description>QScintilla2 is a port to Qt4 of Neil Hodgson's Scintilla C++ editor class.</Description>
<BuildDependencies>
<Dependency>python3-qt5</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-sip3</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-designer-devel</Dependency>
<Dependency>sip3-devel</Dependency>
</BuildDependencies>
<Archive type="targz" sha1sum="de807f026ac47d4e9472836c73ab8b8039716c37">mirrors://sourceforge/pyqt/QScintilla2/QScintilla-2.9/QScintilla-gpl-2.9.tar.gz</Archive>
<Patches>
<Patch>configure.py.patch</Patch>
<Patch>libname.patch</Patch>
</Patches>
</Source>
<Package>
<Name>qscintilla2</Name>
<RuntimeDependencies>
<Dependency>qt5-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="library">/usr/lib/qt5/plugins</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/qt5/mkspecs</Path>
<Path fileType="localedata">/usr/share/qt5/translations</Path>
</Files>
</Package>
<Package>
<Name>qscintilla2-python-common</Name>
<Summary>Common python qscintilla bindings files shared between qscintilla2-python and qscintilla2-python3</Summary>
<RuntimeDependencies>
<Dependency version="current">qscintilla2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/share/qt5/qsci</Path>
<Path fileType="data">/usr/share/sip</Path>
</Files>
</Package>
<Package>
<Name>qscintilla2-python</Name>
<Summary>Python 2.x bindings for qscintilla2</Summary>
<RuntimeDependencies>
<Dependency version="current">qscintilla2</Dependency>
<Dependency version="current">qscintilla2-python-common</Dependency>
<Dependency>qt5-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python2*</Path>
</Files>
</Package>
<Package>
<Name>qscintilla2-python3</Name>
<Summary>Python 3.x bindings for qscintilla2</Summary>
<RuntimeDependencies>
<Dependency>python3</Dependency>
<Dependency version="current">qscintilla2</Dependency>
<Dependency version="current">qscintilla2-python-common</Dependency>
<Dependency>qt-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python3*</Path>
</Files>
</Package>
<Package>
<Name>qscintilla2-doc</Name>
<Summary>HTML documentation for qscintilla2</Summary>
<Files>
<Path fileType="doc">/usr/share/doc/qscintilla2/Scintilla</Path>
<Path fileType="doc">/usr/share/doc/qscintilla2/html</Path>
</Files>
</Package>
<Package>
<Name>qscintilla2-devel</Name>
<Summary>Development files for qscintilla2</Summary>
<RuntimeDependencies>
<Dependency release="current">qscintilla2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2015-09-04</Date>
<Version>2.9</Version>
<Comment>version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-05-27</Date>
<Version>2.6.2</Version>
<Comment>Rebuild for gcc</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-12-21</Date>
<Version>2.6.2</Version>
<Comment>Fix runtime deps.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-08-17</Date>
<Version>2.6.2</Version>
<Comment>Release bump</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-11</Date>
<Version>2.6.2</Version>
<Comment>First release</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
<!-- By PiSiDo 2.3.1 -->
@@ -0,0 +1,30 @@
<PISI>
<Source>
<Name>qscintilla2</Name>
<Summary xml:lang="tr">QScintilla2, Neil Hodgson'un Scintilla C++ editör sınıfının bir Qt4 uyarlamasıdır.</Summary>
<Summary xml:lang="pl">Port do Qt klas C++ edytora Scintilla autorstwa Neila Hodgsona.</Summary>
<Description xml:lang="tr">QScintilla2, Neil Hodgson'un Scintilla C++ editör sınıfının bir Qt4 uyarlamasıdır.</Description>
<Description xml:lang="pl">QScintilla jest portem do Qt klas C++ edytora Scintilla autorstwa Neila Hodgsona.</Description>
</Source>
<Package>
<Name>qscintilla2-python-common</Name>
</Package>
<Package>
<Name>qscintilla2-python</Name>
<Summary xml:lang="tr">qscintilla2 için Python bağlayıcıları</Summary>
</Package>
<Package>
<Name>qscintilla2-python3</Name>
</Package>
<Package>
<Name>qscintilla2-doc</Name>
<Summary xml:lang="tr">qscintilla2 için HTML belgeleri</Summary>
</Package>
<Package>
<Name>qscintilla2-devel</Name>
<Summary xml:lang="tr">qscintilla2 için geliştirme dosyaları</Summary>
<Summary xml:lang="pl">Pliki nagłówkowe dla QScintilla</Summary>
</Package>
</PISI>
<!-- By PiSiDo 2.3.1 -->
+1 -1
View File
@@ -43,7 +43,7 @@
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/polkit-qt5-1</Path>
<Path fileType="header">/usr/include/polkit-qt5-1</Path>
</Files>
</Package>
@@ -39,7 +39,7 @@
<Package>
<Name>qt5-qtaccountsservice-devel</Name>
<Files>
<Path fileType="headers">/usr/include</Path>
<Path fileType="header">/usr/include</Path>
</Files>
<RuntimeDependencies>
<Dependency>qt5-base</Dependency>
@@ -43,7 +43,7 @@
<Name>qt5-configuration-devel</Name>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include</Path>
<Path fileType="header">/usr/include</Path>
</Files>
<RuntimeDependencies>
<Dependency>qt5-base</Dependency>
@@ -40,7 +40,7 @@
<Name>qt5-connectivity-devel</Name>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5</Path>
<Path fileType="header">/usr/include/qt5</Path>
</Files>
<RuntimeDependencies>
<Dependency>qt5-base-devel</Dependency>
@@ -42,7 +42,7 @@
<Name>qt5-declarative-devel</Name>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5</Path>
<Path fileType="header">/usr/include/qt5</Path>
</Files>
<RuntimeDependencies>
<Dependency>qt5-base-devel</Dependency>
+1 -1
View File
@@ -40,7 +40,7 @@
<Name>qt5-enginio-devel</Name>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5/</Path>
<Path fileType="header">/usr/include/qt5/</Path>
</Files>
<RuntimeDependencies>
<Dependency>qt5-base-devel</Dependency>
+1 -1
View File
@@ -41,7 +41,7 @@
<Name>qt5-location-devel</Name>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5</Path>
<Path fileType="header">/usr/include/qt5</Path>
</Files>
<RuntimeDependencies>
<Dependency>qt5-base-devel</Dependency>
+1 -1
View File
@@ -48,7 +48,7 @@
<Name>qt5-multimedia-devel</Name>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5</Path>
<Path fileType="header">/usr/include/qt5</Path>
</Files>
<RuntimeDependencies>
<Dependency>qt5-base-devel</Dependency>
+1 -1
View File
@@ -48,7 +48,7 @@
<Description>Development file for qt5-quick1</Description>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5</Path>
<Path fileType="header">/usr/include/qt5</Path>
</Files>
</Package>
+1 -1
View File
@@ -41,7 +41,7 @@
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5</Path>
<Path fileType="header">/usr/include/qt5</Path>
</Files>
</Package>
+1 -1
View File
@@ -40,7 +40,7 @@
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5</Path>
<Path fileType="header">/usr/include/qt5</Path>
</Files>
</Package>
+1 -1
View File
@@ -40,7 +40,7 @@
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5</Path>
<Path fileType="header">/usr/include/qt5</Path>
</Files>
</Package>
+12 -11
View File
@@ -1,5 +1,3 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>qt5-svg</Name>
@@ -8,23 +6,27 @@
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1-linking-exception</License>
<Summary>Classes for displaying the contents of SVG files</Summary>
<Description>Classes for displaying the contents of SVG files</Description>
<License>LGPLv2.1-linking-exception</License>
<Archive sha1sum="aaf98efe775cfba210b2a72281365f0612884f6a" type="tarxz">http://download.qt.io/official_releases/qt/5.4/5.4.2/submodules/qtsvg-opensource-src-5.4.2.tar.xz</Archive>
<BuildDependencies>
<Dependency>mesa-devel</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>mesa-devel</Dependency>
</BuildDependencies>
<Archive sha1sum="aaf98efe775cfba210b2a72281365f0612884f6a" type="tarxz">http://download.qt.io/official_releases/qt/5.4/5.4.2/submodules/qtsvg-opensource-src-5.4.2.tar.xz</Archive>
<Patches>
<Patch level="1">QScintilla-gpl-2.4-fix-linkage.patch</Patch>
<Patch level="1">qscintilla-2.6.2-qt4.patch</Patch>
</Patches>
</Source>
<Package>
<Name>qt5-svg</Name>
<Summary>Development files for qscintilla2</Summary>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>zlib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
@@ -32,19 +34,18 @@
<Path fileType="data">/usr/share/licenses/</Path>
</Files>
</Package>
<Package>
<Name>qt5-svg-devel</Name>
<Summary>Development files for qscintilla2</Summary>
<RuntimeDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency release="current">qt5-svg</Dependency>
<Dependency release="current">qt5-svg</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/qt5/</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5/</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2015-06-03</Date>
@@ -1,11 +1,9 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>qt5-svg</Name>
<Summary xml:lang="tr">SVG dosyalarının içeriğini görüntüleme için sınıflar</Summary>
<Description xml:lang="tr">SVG dosyalarının içeriğini görüntüleme için sınıflar</Description>
</Source>
<Package>
<Name>qt5-svg-devel</Name>
<Summary xml:lang="tr">qt5-svg için geliştirme dosyaları</Summary>
@@ -1,26 +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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import qt5
from pisi.actionsapi import get
def setup():
qt5.configure()
def build():
qt5.make()
def install():
qt5.install("INSTALL_ROOT=%s" % get.installDIR())
#I hope qtchooser will manage this issue
for bin in shelltools.ls("%s/usr/lib/qt5/bin" % get.installDIR()):
pisitools.dosym("/usr/lib/qt5/bin/%s" % bin, "/usr/bin/%s-qt5" % bin)
pisitools.insinto("/usr/share/licenses/qt5-wayland/", "LGPL_EXCEPTION.txt")
-85
View File
@@ -1,85 +0,0 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>qt5-wayland</Name>
<Homepage>http://qt.digia.com/</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<Summary>Provides APIs for Wayland</Summary>
<Description>Provides APIs for Wayland</Description>
<License>LGPLv2.1-linking-exception</License>
<Archive sha1sum="196412a4e90e3dde3d0ef0aa0464c00a843883e4" type="tarxz">http://download.qt.io/official_releases/qt/5.4/5.4.2/submodules/qtwayland-opensource-src-5.4.2.tar.xz</Archive>
<BuildDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-declarative-devel</Dependency>
<Dependency>libxkbcommon-devel</Dependency>
<Dependency>xorg-server-xwayland</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>mesa-devel</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>libXrender-devel</Dependency>
<Dependency>libudev-devel</Dependency>
<Dependency>libXcomposite-devel</Dependency>
<Dependency>libxkbcommon-devel</Dependency>
<Dependency>wayland-client</Dependency>
<Dependency>wayland-cursor</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>qt5-wayland</Name>
<RuntimeDependencies>
<Dependency>mesa</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>fontconfig</Dependency>
<Dependency>libXrender</Dependency>
<Dependency>libxkbcommon</Dependency>
<Dependency>libXcomposite</Dependency>
<Dependency>libXcomposite</Dependency>
<Dependency>wayland-client</Dependency>
<Dependency>wayland-cursor</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="library">/usr/lib/qt5</Path>
<Path fileType="data">/usr/share/licenses</Path>
<Path fileType="executable">/usr/lib/qt5/bin</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<Package>
<Name>qt5-wayland-devel</Name>
<RuntimeDependencies>
<Dependency>qt5-base-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2015-06-03</Date>
<Version>5.4.2</Version>
<Comment>Version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2015-05-09</Date>
<Version>5.4.1</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -1,13 +0,0 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>qt5-wayland</Name>
<Summary xml:lang="tr">Wayland için API'ler sağlar</Summary>
<Description xml:lang="tr">Wayland için API'ler sağlar</Description>
</Source>
<Package>
<Name>qt5-wayland-devel</Name>
<Summary xml:lang="tr">qt5-wayland için geliştirme dosyaları</Summary>
</Package>
</PISI>
+1 -1
View File
@@ -36,7 +36,7 @@
<Name>qt5-webchannel-devel</Name>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5</Path>
<Path fileType="header">/usr/include/qt5</Path>
</Files>
<RuntimeDependencies>
<Dependency>qt5-base-devel</Dependency>
@@ -1,30 +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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import qt5
from pisi.actionsapi import get
def setup():
shelltools.export("QT5LINK", "/usr/lib/qt5/bin")
shelltools.export("QT5DIR", "/usr/lib/qt5")
shelltools.export("CFLAGS", "%s -I/usr/lib/sqlite3.8.8.3" % get.CFLAGS())
qt5.configure()
def build():
qt5.make()
def install():
qt5.install("INSTALL_ROOT=%s" % get.installDIR())
#I hope qtchooser will manage this issue
for bin in shelltools.ls("%s/usr/lib/qt5/bin" % get.installDIR()):
pisitools.dosym("/usr/lib/qt5/bin/%s" % bin, "/usr/bin/%s-qt5" % bin)
pisitools.dodoc("LICENSE.LGPLv3")
-135
View File
@@ -1,135 +0,0 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>qt5-webengine</Name>
<Homepage>http://qt.digia.com/</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<Summary>Provides support for web applications using the Chromium browser project</Summary>
<Description>Provides support for web applications using the Chromium browser project</Description>
<License>LGPLv2.1-linking-exception</License>
<Archive sha1sum="5d6f4bfadc5e2aeca44266147b0e76a43feda987" type="tarxz">http://download.qt.io/official_releases/qt/5.4/5.4.2/submodules/qtwebengine-opensource-src-5.4.2.tar.xz</Archive>
<BuildDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-declarative-devel</Dependency>
<Dependency>nss-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>nspr-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>libcap-devel</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>libXtst-devel</Dependency>
<Dependency>libXcursor-devel</Dependency>
<Dependency>libXrandr-devel</Dependency>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>libXcomposite-devel</Dependency>
<Dependency>sqlite-devel</Dependency>
<Dependency>at-spi2-core-devel</Dependency>
<Dependency>ruby</Dependency>
<Dependency>gperf</Dependency>
<Dependency>bluez-libs-devel</Dependency>
<Dependency>cups-devel</Dependency>
<Dependency>desktop-file-utils</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>gst-plugins-base-devel</Dependency>
<Dependency>gstreamer-devel</Dependency>
<Dependency>gtk2-devel</Dependency>
<Dependency>harfbuzz-devel</Dependency>
<Dependency>icon-theme-hicolor</Dependency>
<Dependency>firebird-superserver</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency>mariadb-lib</Dependency>
<Dependency>libmng-devel</Dependency>
<Dependency>pulseaudio-libs-devel</Dependency>
<Dependency>libxcb-devel</Dependency>
<Dependency>libxkbcommon-devel</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>mesa-devel</Dependency>
<Dependency>libmtdev-devel</Dependency>
<Dependency>openal-devel</Dependency>
<Dependency>postgresql-server</Dependency>
<Dependency>pciutils-devel</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>unixODBC-devel</Dependency>
<Dependency>xcb-proto</Dependency>
<Dependency>xcb-util-devel</Dependency>
<Dependency>xcb-util-image-devel</Dependency>
<Dependency>xcb-util-keysyms-devel</Dependency>
<Dependency>xcb-util-wm-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>qt5-webengine</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="library">/usr/lib/qt5</Path>
<Path fileType="localedata">/usr/share/qt5/translations</Path>
<Path fileType="data">/usr/share/qt5</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/lib/qt5/bin/</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
<RuntimeDependencies>
<Dependency>nss</Dependency>
<Dependency>dbus</Dependency>
<Dependency>nspr</Dependency>
<Dependency>expat</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libcap</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>freetype</Dependency>
<Dependency>mesa</Dependency>
<Dependency>libXi</Dependency>
<Dependency>libXext</Dependency>
<Dependency>libXtst</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>alsa-lib</Dependency>
<Dependency>harfbuzz</Dependency>
<Dependency>libXfixes</Dependency>
<Dependency>libXrandr</Dependency>
<Dependency>fontconfig</Dependency>
<Dependency>libXcursor</Dependency>
<Dependency>libXdamage</Dependency>
<Dependency>libXrender</Dependency>
<Dependency>libXcomposite</Dependency>
<Dependency>qt5-declarative</Dependency>
</RuntimeDependencies>
</Package>
<Package>
<Name>qt5-webengine-devel</Name>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5</Path>
</Files>
<RuntimeDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-declarative-devel</Dependency>
</RuntimeDependencies>
</Package>
<History>
<Update release="2">
<Date>2015-06-03</Date>
<Version>5.4.2</Version>
<Comment>Version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2015-05-28</Date>
<Version>5.4.1</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -1,8 +0,0 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>qt5-webengine</Name>
<Summary xml:lang="tr">Chromium tarayıcı projelerini kullanan web uygulamaları için destek sağlar</Summary>
<Description xml:lang="tr">Chromium tarayıcı projelerini kullanan web uygulamaları için destek sağlar</Description>
</Source>
</PISI>
+1 -1
View File
@@ -93,7 +93,7 @@
<Name>qt5-webkit-devel</Name>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5/</Path>
<Path fileType="header">/usr/include/qt5/</Path>
</Files>
<RuntimeDependencies>
<Dependency release="current">qt5-webkit</Dependency>
+1 -1
View File
@@ -35,7 +35,7 @@
<Name>qt5-websockets-devel</Name>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5</Path>
<Path fileType="header">/usr/include/qt5</Path>
</Files>
<RuntimeDependencies>
<Dependency>qt5-base-devel</Dependency>
+1 -1
View File
@@ -34,7 +34,7 @@
<Name>qt5-x11extras-devel</Name>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5/</Path>
<Path fileType="header">/usr/include/qt5/</Path>
</Files>
<RuntimeDependencies>
<Dependency>qt5-x11extras</Dependency>
@@ -36,7 +36,7 @@
<Name>qt5-xmlpatterns-devel</Name>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="headers">/usr/include/qt5</Path>
<Path fileType="header">/usr/include/qt5</Path>
</Files>
<RuntimeDependencies>
<Dependency>qt5-base-devel</Dependency>
+31
View File
@@ -0,0 +1,31 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import shelltools
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_DESIGNER_PLUGIN=0 \
-DUSE_QT5=true", sourceDir="..")
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.domove("/usr/lib64/*", "usr/lib/")
pisitools.removeDir("/usr/lib64")
shelltools.cd("..")
pisitools.dodoc("AUTHORS", "README", "COPYING")
# By PiSiDo 2.3.1
+59
View File
@@ -0,0 +1,59 @@
<PISI>
<Source>
<Name>qtermwidget5</Name>
<Homepage>https://github.com/qterminal/qtermwidget</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<IsA>app:gui</IsA>
<Summary>Terminal widget for Qt5</Summary>
<Description>A simple terminal widget for using with Qt5 based applications</Description>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>qt5-base-devel</Dependency>
</BuildDependencies>
<Archive sha1sum="fc3afd69fcc449d7f3f225ae2f36e529cbce411d" type="tarxz">https://github.com/qterminal/qtermwidget/releases/download/0.6.0/qtermwidget-0.6.0.tar.xz</Archive>
</Source>
<Package>
<Name>qtermwidget5</Name>
<Summary>Development files for qtermwidget5</Summary>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>qt5-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/consoleq</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>qtermwidget5-devel</Name>
<Summary>Development files for qtermwidget5</Summary>
<RuntimeDependencies>
<Dependency>qt5-base-devel</Dependency>
<Dependency release="current">qtermwidget5</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2015-05-13</Date>
<Version>0.6.0</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
<!-- By PiSiDo 2.3.1 -->
@@ -0,0 +1,12 @@
<PISI>
<Source>
<Name>qtermwidget5</Name>
<Summary xml:lang="tr">Qt tabanlı uygulamalar için basit bir terminal modulü</Summary>
</Source>
<Package>
<Name>qtermwidget5-devel</Name>
<Summary xml:lang="tr">qtermwidget5 için geliştirme dosyaları</Summary>
</Package>
</PISI>
<!-- By PiSiDo 2.3.1 -->
+23
View File
@@ -0,0 +1,23 @@
#!/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 build():
autotools.make()
def install():
pisitools.dobin("cgdisk")
pisitools.dobin("fixparts")
pisitools.dobin("gdisk")
pisitools.dobin("sgdisk")
pisitools.doman("cgdisk.8")
pisitools.doman("fixparts.8")
pisitools.doman("gdisk.8")
pisitools.doman("sgdisk.8")
pisitools.dodoc("COPYING", "NEWS", "README")
+47
View File
@@ -0,0 +1,47 @@
<PISI>
<Source>
<Name>gptfdisk</Name>
<Homepage>http://www.rodsbooks.com/gdisk/</Homepage>
<Packager>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>A text-mode partitioning tool that works on GUID Partition Table (GPT) disks</Summary>
<Description>A text-mode partitioning tool that works on GUID Partition Table (GPT) disks</Description>
<BuildDependencies>
<Dependency>util-linux</Dependency>
</BuildDependencies>
<Archive sha1sum="97f25db2def1c1939ed3954520bfd9948806d95a" type="targz">http://sourceforge.net/projects/gptfdisk/files/gptfdisk/1.0.0/gptfdisk-1.0.0.tar.gz</Archive>
</Source>
<Package>
<Name>gptfdisk</Name>
<RuntimeDependencies>
<Dependency>util-linux</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2015-05-01</Date>
<Version>1.0.0</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2014-03-04</Date>
<Version>0.8.10</Version>
<Comment>First Release</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
</History>
</PISI>
+7
View File
@@ -0,0 +1,7 @@
<PISI>
<Source>
<Name>gptfdisk</Name>
<Summary xml:lang="en">A text-mode partitioning tool that works on GUID Partition Table (GPT) disks</Summary>
<Description xml:lang="en">A text-mode partitioning tool that works on GUID Partition Table (GPT) disks</Description>
</Source>
</PISI>
+5 -5
View File
@@ -10,7 +10,7 @@ from pisi.actionsapi import shelltools
from pisi.actionsapi import get
shelltools.export("AUTO_GOPATH", "1")
shelltools.export("DOCKER_GITCOMMIT", "0d03096")
shelltools.export("DOCKER_GITCOMMIT", "d12ea79")
shelltools.export("GOPATH", "%s" % get.workDIR())
shelltools.export("CGO_CFLAGS", "-I/usr/include")
@@ -24,10 +24,10 @@ def build():
shelltools.system("./hack/make.sh dynbinary")
def install():
pisitools.dobin("bundles/1.8.0/dynbinary/docker")
pisitools.dobin("bundles/1.8.0/dynbinary/docker-1.8.0")
pisitools.doexe("bundles/1.8.0/dynbinary/dockerinit", "/usr/lib/docker")
pisitools.doexe("bundles/1.8.0/dynbinary/dockerinit-1.8.0", "/usr/lib/docker")
pisitools.dobin("bundles/1.8.1/dynbinary/docker")
pisitools.dobin("bundles/1.8.1/dynbinary/docker-1.8.1")
pisitools.doexe("bundles/1.8.1/dynbinary/dockerinit", "/usr/lib/docker")
pisitools.doexe("bundles/1.8.1/dynbinary/dockerinit-1.8.1", "/usr/lib/docker")
# insert udev rules
pisitools.insinto("/etc/udev/rules.d", "contrib/udev/*.rules")
@@ -17,14 +17,13 @@ def start():
startService(command="/usr/bin/docker",
args="daemon %s" % (config.get("DOCKER_OPTS", "")),
chuid="root:docker",
pidfile="/var/run/docker.pid",
pidfile=pidfile,
donotify=True)
@synchronized
def stop():
stopService(command="/usr/bin/docker",
pidfile="/var/run/docker.pid",
pidfile=pidfile,
donotify=True)
def status():
+8 -1
View File
@@ -13,7 +13,7 @@
<Summary>Pack, ship and run any application as a lightweight container</Summary>
<Description>An open platform for distributed applications for developers and sysadmins</Description>
<!--fix sha1sum-->
<Archive sha1sum="670f6ef2b8d03c11985fadfde09e1cfbe17fa8ec" type="targz">https://github.com/docker/docker/archive/v1.8.0.tar.gz</Archive>
<Archive sha1sum="5f18bfae488279afc02b05df73231f8974c3b00e" type="targz">https://github.com/docker/docker/archive/v1.8.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>git</Dependency>
<Dependency>golang</Dependency>
@@ -54,6 +54,13 @@
</Package>
<History>
<Update release="7">
<Date>2015-09-06</Date>
<Version>1.8.1</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="6">
<Date>2015-08-12</Date>
<Version>1.8.0</Version>
Binary file not shown.
+8 -1
View File
@@ -37,7 +37,7 @@
</BuildDependencies>
<Patches>
<!-- Linux patches -->
<Patch level="1" compressionType="xz">patches/linux/patch-4.1.5.xz</Patch>
<Patch level="1" compressionType="xz">patches/linux/patch-4.1.6.xz</Patch>
</Patches>
</Source>
@@ -68,6 +68,13 @@
</Files>
</Package>
<History>
<Update release="53">
<Date>2015-09-06</Date>
<Version>4.1.6</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="52">
<Date>2015-08-13</Date>
<Version>4.1.5</Version>
+18
View File
@@ -0,0 +1,18 @@
#!/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 scons
def build():
scons.make("PREFIX=/usr/ LIBDIR=/usr/lib")
def install():
pisitools.insinto("/usr/include/serf-1/", "serf*.h")
pisitools.insinto("/usr/lib/", "libserf-1*")
pisitools.insinto("/usr/lib/pkgconfig/", "serf-1.pc")
pisitools.dodoc("CHANGES", "LICENSE", "NOTICE", "README")
+79
View File
@@ -0,0 +1,79 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>serf</Name>
<Homepage>https://code.google.com/p/serf/</Homepage>
<Packager>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Packager>
<License>Apachev2</License>
<IsA>library</IsA>
<Summary>High-performance asynchronous HTTP client library.</Summary>
<Description>The serf library is a high performance C-based HTTP client library built upon the Apache Portable Runtime (APR) library.</Description>
<Archive sha1sum="1d45425ca324336ce2f4ae7d7b4cfbc5567c5446" type="tarbz2">http://serf.googlecode.com/svn/src_releases/serf-1.3.8.tar.bz2</Archive>
<BuildDependencies>
<Dependency>db-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency>apr-devel</Dependency>
<Dependency>apr-util-devel</Dependency>
<Dependency>scons</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>serf</Name>
<RuntimeDependencies>
<Dependency>db</Dependency>
<Dependency>zlib</Dependency>
<Dependency>expat</Dependency>
<Dependency>openssl</Dependency>
<Dependency>apr</Dependency>
<Dependency>apr-util</Dependency>
<Dependency>openldap-client</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>serf-devel</Name>
<Summary>Development files for serf</Summary>
<RuntimeDependencies>
<Dependency release="current">serf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2015-09-02</Date>
<Version>1.3.8</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="2">
<Date>2014-05-30</Date>
<Version>1.3.3</Version>
<Comment>Rebuild.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2013-12-24</Date>
<Version>1.3.3</Version>
<Comment>First release</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>serf</Name>
<Summary xml:lang="en">High-performance asynchronous HTTP client library.</Summary>
<Description xml:lang="en">The serf library is a high performance C-based HTTP client library built upon the Apache Portable Runtime (APR) library.</Description>
</Source>
<Package>
<Name>serf-devel</Name>
<Summary xml:lang="tr">serf için geliştirme dosyaları</Summary>
</Package>
</PISI>
+8 -1
View File
@@ -15,7 +15,7 @@
<IsA>app:gui</IsA>
<Summary>The Stand-Alone Mozilla Mail Component</Summary>
<Description>Thunderbird is a redesign of the Mozilla Mail Component. It is written using the XUL user interface language and designed to be cross-platform.</Description>
<Archive sha1sum="7bb0c85e889e397e53dcbcbd36957dbd7c8c10bd" type="tarbz2">http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/38.1.0/source/thunderbird-38.1.0.source.tar.bz2</Archive>
<Archive sha1sum="0e27c54ee63b71cd7e8ff4fd87bbe66e0a16ffc1" type="tarbz2">http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/38.2.0/source/thunderbird-38.2.0.source.tar.bz2</Archive>
<AdditionalFiles>
<AdditionalFile target=".mozconfig">pisilinux/mozconfig</AdditionalFile>
</AdditionalFiles>
@@ -418,6 +418,13 @@
</Package>
<History>
<Update release="34">
<Date>2015-09-01</Date>
<Version>38.2.0</Version>
<Comment>Version Bumps, https://www.mozilla.org/en-US/thunderbird/38.2.0/releasenotes/</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="33">
<Date>2015-08-07</Date>
<Version>38.1.0</Version>
+8 -1
View File
@@ -15,7 +15,7 @@
<IsA>app:gui</IsA>
<Summary>Firefox Web Browser</Summary>
<Description>It is more secure and faster to browse the web with Firefox web browser. You can personalize your web browser with many specifications that is not enough to explain in two sentences.</Description>
<Archive sha1sum="b5d79fa3684284bfeb7277e99c756b8688e8121d" type="tarbz2">https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/40.0.2/source/firefox-40.0.2.source.tar.bz2</Archive>
<Archive sha1sum="6ddda46bd6540ab3ae932fbb5ffec8e9a85cab13" type="tarbz2">https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/40.0.3/source/firefox-40.0.3.source.tar.bz2</Archive>
<AdditionalFiles>
<!--Our main configure script. Configure paramters are stored here.-->
<AdditionalFile target=".mozconfig" permission="0644">mozconfig</AdditionalFile>
@@ -519,6 +519,13 @@
</Package>
<History>
<Update release="39">
<Date>2015-09-01</Date>
<Version>40.0.3</Version>
<Comment>Version bump, http://www.mozilla.org/en-US/firefox/40.0.3/releasenotes</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="38">
<Date>2015-08-20</Date>
<Version>40.0.2</Version>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

+12 -5
View File
@@ -14,10 +14,10 @@
<IsA>app:gui</IsA>
<Summary>LibreOffice office suite</Summary>
<Description>LibreOffice is an open source, multi-platform office productivity suite. It includes key desktop applications such as a word processor, a spreadsheet application, a presentation creator-viewer, a formula editor and a drawing program, with a user interface and feature set similar to other office suites. Sophisticated and flexible, LibreOffice also works transparently with a variety of file formats, including those of Microsoft Office.</Description>
<Archive sha1sum="141bfc4d7ef984914bd219119abe4d858c6757ab" type="tarxz">http://download.documentfoundation.org/libreoffice/src/5.0.1/libreoffice-5.0.1.1.tar.xz</Archive>
<Archive sha1sum="a9dda083d7230baede7174843a0f84389a614405" type="binary" target="libreoffice-5.0.1.1/external/tarballs/">http://download.documentfoundation.org/libreoffice/src/5.0.1/libreoffice-help-5.0.1.1.tar.xz</Archive>
<Archive sha1sum="beecf4368ef5a50245410fa33dc2453f42380ec1" type="binary" target="libreoffice-5.0.1.1/external/tarballs/">http://download.documentfoundation.org/libreoffice/src/5.0.1/libreoffice-dictionaries-5.0.1.1.tar.xz</Archive>
<Archive sha1sum="33cb7713675f7f30c357168b64e47db413990bc1" type="binary" target="libreoffice-5.0.1.1/external/tarballs/">http://download.documentfoundation.org/libreoffice/src/5.0.1/libreoffice-translations-5.0.1.1.tar.xz</Archive>
<Archive sha1sum="01bb7e97526d097af88ea8a439f99a9e975102f8" type="tarxz">http://download.documentfoundation.org/libreoffice/src/5.0.1/libreoffice-5.0.1.2.tar.xz</Archive>
<Archive sha1sum="23072ea7ce052091b8ad4bd339c06be1d102e621" type="binary" target="libreoffice-5.0.1.2/external/tarballs/">http://download.documentfoundation.org/libreoffice/src/5.0.1/libreoffice-help-5.0.1.2.tar.xz</Archive>
<Archive sha1sum="d7c0a1a080db50d2d6db11db6a558c620068eaee" type="binary" target="libreoffice-5.0.1.2/external/tarballs/">http://download.documentfoundation.org/libreoffice/src/5.0.1/libreoffice-dictionaries-5.0.1.2.tar.xz</Archive>
<Archive sha1sum="78a206e38a81bbb9b30ec80704b20aafac29557a" type="binary" target="libreoffice-5.0.1.2/external/tarballs/">http://download.documentfoundation.org/libreoffice/src/5.0.1/libreoffice-translations-5.0.1.2.tar.xz</Archive>
<BuildDependencies>
<Dependency>gperf</Dependency>
<Dependency>nss-devel</Dependency>
@@ -115,7 +115,7 @@
<Path fileType="library">/usr/lib/libreoffice/program/</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/lib/libreoffice/program/intro.png">libreoffice_new_splash.png</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/usr/lib/libreoffice/program/intro.png">libreoffice-splash.png</AdditionalFile>
</AdditionalFiles>
</Package>
@@ -3279,6 +3279,13 @@
</Package>
<History>
<Update release="25">
<Date>2015-009-01</Date>
<Version>5.0.1.2</Version>
<Comment>Version bump.</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="24">
<Date>2015-08-18</Date>
<Version>5.0.1.1</Version>
+957 -72
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
4b0dadea048c57cc02d6f15e478cb0b452f91dbb
8d1c615f954ce96d2724eab1a3c139daa6a99c4b
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
5e2e1a37aa16d0ef02c5e8118ac9053c9063df96
031dfcbe8315fff87bdabac55c6e23d79e5bfdb7
-30
View File
@@ -1,30 +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 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")
-13
View File
@@ -1,13 +0,0 @@
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']
-45
View File
@@ -1,45 +0,0 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ninja</Name>
<Homepage>http://martine.github.com/ninja/</Homepage>
<Packager>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<IsA>app:console</IsA>
<Summary>Ninja is a small build system with a focus on speed.</Summary>
<Description>Ninja is a small build system with a focus on speed.</Description>
<Archive sha1sum="a6ff055691f6d355234298c21cc18961b4ca2ed9" type="targz">https://github.com/martine/ninja/archive/v1.6.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>asciidoc</Dependency>
</BuildDependencies>
<Patches>
<Patch>LFS.patch</Patch>
</Patches>
</Source>
<Package>
<Name>ninja</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2015-08-25</Date>
<Version>1.6.0</Version>
<Comment>Version bump.</Comment>
<Name>Vedat Demir</Name>
<Email>vedat@pisilinux.org</Email>
</Update>
</History>
</PISI>
-8
View File
@@ -1,8 +0,0 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>ninja</Name>
<Summary xml:lang="tr">Ninja, hız odaklı bir inşa sistemidir.</Summary>
<Description xml:lang="tr">Ninja is a small build system with a focus on speed.</Description>
</Source>
</PISI>
@@ -0,0 +1,37 @@
#!/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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
WorkDir="PyQt-gpl-%s" % get.srcVERSION()
def setup():
pythonmodules.run("configure.py --confirm-license \
--assume-shared \
--no-timestamp \
--qsci-api \
--sip /usr/bin/sip3 \
--qmake='/usr/lib/qt5/bin/qmake' \
--destdir='/usr/lib/python3.4/site-packages/' \
--sip-incdir='/usr/include/python3.4' \
CFLAGS='%s' CXXFLAGS='%s'" % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")
shelltools.system("find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'")
def build():
autotools.make()
def install():
autotools.rawInstall("-C pyrcc DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()})
autotools.rawInstall("-C pylupdate DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()})
autotools.rawInstall("DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()})
pisitools.dohtml("doc/html/*")
pisitools.dodoc("NEWS", "README","LICENSE*")
@@ -0,0 +1,99 @@
<PISI>
<Source>
<Name>python3-qt5</Name>
<Homepage>http://www.riverbankcomputing.co.uk/software/pyqt</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<License>GPLv3</License>
<IsA>library</IsA>
<Summary>A set of Python bindings for the Qt 5.x Toolkit</Summary>
<Description>Qt is a set of C++ libraries and development tools that includes platform independent abstractions for graphical user interfaces, networking, threads, Unicode, regular expressions, SQL databases, SVG, OpenGL, XML, and user and application settings. PyQt implements 440 of these classes as a set of Python modules.</Description>
<BuildDependencies>
<Dependency>dbus-devel</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency versionFrom="4.16.6">python3-sip3</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-connectivity-devel</Dependency>
<Dependency>qt5-declarative-devel</Dependency>
<Dependency>qt5-enginio-devel</Dependency>
<Dependency>qt5-location-devel</Dependency>
<Dependency>qt5-multimedia-devel</Dependency>
<Dependency>qt5-sensors-devel</Dependency>
<Dependency>qt5-serialport-devel</Dependency>
<Dependency>qt5-svg-devel</Dependency>
<Dependency>qt5-webchannel-devel</Dependency>
<Dependency>qt5-webkit-devel</Dependency>
<Dependency>qt5-websockets-devel</Dependency>
<Dependency>qt5-x11extras-devel</Dependency>
<Dependency>qt5-xmlpatterns-devel</Dependency>
<Dependency versionFrom="4.16.6">sip3-devel</Dependency>
</BuildDependencies>
<Archive sha1sum="ceb5f6e088923beaa9885226a3e677fec089964e" type="targz">mirrors://sourceforge/pyqt/PyQt5/PyQt-5.4.2/PyQt-gpl-5.4.2.tar.gz</Archive>
</Source>
<Package>
<Name>python3-qt5-common</Name>
<Summary>Common files shared between python-qt5 and python3-qt5</Summary>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>qt5-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/pylupdate5</Path>
<Path fileType="executable">/usr/bin/pyrcc5</Path>
<Path fileType="data">/usr/share/qt5/qsci/api</Path>
<Path fileType="data">/usr/share/sip/PyQt5</Path>
</Files>
</Package>
<Package>
<Name>python3-qt5</Name>
<Summary>A set of Python 3.x bindings for the Qt 5.x Toolkit</Summary>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>python3</Dependency>
<Dependency release="current">python3-qt5-common</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>qt5-declarative</Dependency>
<Dependency>qt5-sensors</Dependency>
<Dependency>qt5-serialport</Dependency>
<Dependency>qt5-svg</Dependency>
<Dependency>qt5-webkit</Dependency>
<Dependency>qt5-x11extras</Dependency>
<Dependency>qt5-xmlpatterns</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/pyuic5</Path>
<Path fileType="library">/usr/lib/python3.4/site-packages</Path>
<Path fileType="library">/usr/lib/qt5/plugins</Path>
</Files>
</Package>
<Package>
<Name>python3-qt5-docs</Name>
<Summary>Documentation for python-qt5 bindings</Summary>
<RuntimeDependencies>
<Dependency release="current">python3-qt5</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2015-06-14</Date>
<Version>5.4.2</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2015-04-09</Date>
<Version>5.4.1</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,15 @@
<PISI>
<Source>
<Name>python-qt5</Name>
<Summary xml:lang="tr">Qt5 4.x araçları için python bağlayıcıları</Summary>
<Description xml:lang="tr">Qt5, C++ kütüphaneleri dizisi ve geliştirme araçları olup grafik kullanıcı arabirimleri için, ağ bağlantısı, iş parçacığı, Unicode, düzenli ifadeler, SQL veritabanları, SVG, OpenGL, XML ve kullanıcıve uygulama ayarları gibi platform bağımsız uygulamalara ayrılır. PyQt, Python modülü seti olarak bu sınıftan 440 kadar uygulamayı çalıştırır.</Description>
</Source>
<Package>
<Name>python3-qt5</Name>
</Package>
<Package>
<Name>python3-qt5-docs</Name>
</Package>
</PISI>
<!-- By PiSiDo 2.3.1 -->
@@ -0,0 +1,32 @@
#!/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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import get
WorkDir = "sip-%s" % get.srcVERSION()
py3dir = "python3.4"
def setup():
pythonmodules.run('configure.py \
-b /usr/bin \
-d /usr/lib/%s/site-packages/ \
-e /usr/include/%s/ \
CFLAGS="%s" CXXFLAGS="%s"' % (py3dir, py3dir, get.CFLAGS(), get.CXXFLAGS()), pyVer = "3")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s -C sipgen" % get.installDIR())
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.rename("/usr/bin/sip", "sip3")
# By PiSiDo 2.3.1
@@ -0,0 +1,10 @@
--- siputils.py
+++ siputils.py
@@ -737,6 +737,7 @@ class Makefile:
rpaths is the cannonical list of rpaths.
"""
flags = []
+ return flags
prefix = self.optional_string("RPATH")
if prefix:
@@ -0,0 +1,11 @@
--- specs/linux-g++ 2009/08/31 11:59:37 1.1
+++ specs/linux-g++ 2009/08/31 12:00:19
@@ -53,7 +53,7 @@
QMAKE_LFLAGS =
QMAKE_LFLAGS_RELEASE =
QMAKE_LFLAGS_DEBUG =
-QMAKE_LFLAGS_SHLIB = -shared
+QMAKE_LFLAGS_SHLIB = -shared -lpython2.7
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
QMAKE_LFLAGS_SONAME = -Wl,-soname,
QMAKE_LFLAGS_THREAD =
@@ -0,0 +1,26 @@
Index: sip-4.8.2/specs/linux-g++
===================================================================
--- sip-4.8.2.orig/specs/linux-g++
+++ sip-4.8.2/specs/linux-g++
@@ -83,7 +83,7 @@ QMAKE_COPY_DIR = $(COPY) -r
QMAKE_MOVE = mv -f
QMAKE_DEL_FILE = rm -f
QMAKE_DEL_DIR = rmdir
-QMAKE_STRIP = strip
+QMAKE_STRIP =
QMAKE_STRIPFLAGS_LIB += --strip-unneeded
QMAKE_CHK_DIR_EXISTS = test -d
QMAKE_MKDIR = mkdir -p
Index: sip-4.8.2/specs/linux-lsb
===================================================================
--- sip-4.8.2.orig/specs/linux-lsb
+++ sip-4.8.2/specs/linux-lsb
@@ -83,7 +83,7 @@ QMAKE_COPY_DIR = $(COPY) -r
QMAKE_MOVE = mv -f
QMAKE_DEL_FILE = rm -f
QMAKE_DEL_DIR = rmdir
-QMAKE_STRIP = strip
+QMAKE_STRIP =
QMAKE_STRIPFLAGS_LIB += --strip-unneeded
QMAKE_CHK_DIR_EXISTS = test -d
QMAKE_MKDIR = mkdir -p
@@ -0,0 +1,73 @@
--- sip-4.16.3/configure.py.orig 2014-09-11 19:12:51.000000000 +0200
+++ sip-4.16.3/configure.py 2014-10-27 17:54:50.981640566 +0100
@@ -47,6 +47,7 @@
sip_sip_dir = ''
sysroot = ''
src_dir = os.path.dirname(os.path.abspath(__file__))
+build_dir = os.getcwd()
sip_module_base = None
build_platform = None
--- sip-4.16.3/siputils.py.orig 2014-09-07 17:30:09.000000000 +0200
+++ sip-4.16.3/siputils.py 2014-10-27 22:19:01.287642057 +0100
@@ -202,7 +202,7 @@
def __init__(self, configuration, console=0, qt=0, opengl=0, python=0,
threaded=0, warnings=1, debug=0, dir=None,
makefile="Makefile", installs=None, universal=None,
- arch=None, deployment_target=None):
+ arch=None, deployment_target=None, src_dir=None):
"""Initialise an instance of the target. All the macros are left
unchanged allowing scripts to manipulate them at will.
@@ -264,8 +264,11 @@
else:
self.dir = os.path.curdir
- # Assume we are building in the source tree.
- self._src_dir = self.dir
+ if src_dir is not None:
+ self._src_dir = src_dir
+ else:
+ # Assume we are building in the source tree.
+ self._src_dir = self.dir
if universal is None:
self._universal = configuration.universal
@@ -381,6 +381,8 @@
defines.extend(self.optional_list("DEFINES"))
incdir = _UniqueList(["."])
+ if self.dir != self._src_dir:
+ incdir.append(self._src_dir)
incdir.extend(self.extra_include_dirs)
incdir.extend(self.optional_list("INCDIR"))
@@ -1029,7 +1031,8 @@
else:
if os.path.isabs(filename):
# We appear to be building out of the source tree.
- self._src_dir = os.path.dirname(filename)
+ if self._src_dir == self.dir:
+ self._src_dir = os.path.dirname(filename)
bfname = filename
else:
bfname = os.path.join(self.dir, filename)
@@ -1465,7 +1471,7 @@
console=0, qt=0, opengl=0, threaded=0, warnings=1, debug=0,
dir=None, makefile="Makefile", installs=None, strip=1,
export_all=0, universal=None, arch=None,
- deployment_target=None):
+ deployment_target=None, src_dir=None):
"""Initialise an instance of a module Makefile.
build_file is the file containing the target specific information. If
@@ -1479,7 +1485,7 @@
increases the size of the module and slows down module load times but
may avoid problems with modules that use exceptions. The default is 0.
"""
- Makefile.__init__(self, configuration, console, qt, opengl, 1, threaded, warnings, debug, dir, makefile, installs, universal, arch, deployment_target)
+ Makefile.__init__(self, configuration, console, qt, opengl, 1, threaded, warnings, debug, dir, makefile, installs, universal, arch, deployment_target, src_dir)
self._build = self.parse_build_file(build_file)
self._install_dir = install_dir
@@ -0,0 +1,89 @@
<PISI>
<Source>
<Name>sip3</Name>
<Homepage>http://www.riverbankcomputing.co.uk/sip</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>SIP is a tool for generating bindings for C++ classes so that they can be used by Python</Summary>
<Description>SIP is a tool for generating bindings for C and C++ libraries so that they can be used by Python. It takes any C or C++ libraries and converts them into Python extension modules.</Description>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
<Archive sha1sum="ec467c1ca9f9ead16be869eccc2e7cae72750d56" type="targz">mirrors://sourceforge/pyqt/sip-4.16.7.tar.gz</Archive>
<Patches>
<Patch level="1">no-strip.patch</Patch>
<Patch level="1">sip-outoftree.patch</Patch>
</Patches>
</Source>
<Package>
<Name>sip3</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/local/bin</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/sip3</Path>
</Files>
<AdditionalFiles>
<AdditionalFile group="root" permission="0644" owner="root" target="/usr/share/sip3/disable-rpaths.diff">disable-rpaths.diff</AdditionalFile>
<AdditionalFile group="root" permission="0644" owner="root" target="/usr/share/sip3/fix-linking.diff">fix-linking.diff</AdditionalFile>
</AdditionalFiles>
<Summary>Development files for qscintilla2</Summary>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
</Package>
<Package>
<Name>python3-sip3</Name>
<Files>
<Path fileType="library">/usr/lib/python3*</Path>
</Files>
<AdditionalFiles>
<AdditionalFile group="root" permission="0644" owner="root" target="/usr/share/sip3/disable-rpaths.diff">disable-rpaths.diff</AdditionalFile>
<AdditionalFile group="root" permission="0644" owner="root" target="/usr/share/sip3/fix-linking.diff">fix-linking.diff</AdditionalFile>
</AdditionalFiles>
<Summary>Python 3.x SIP bindings for C and C++ libraries</Summary>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>python3</Dependency>
<Dependency release="current">sip3</Dependency>
</RuntimeDependencies>
</Package>
<Package>
<Name>sip3-devel</Name>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
<AdditionalFiles>
<AdditionalFile group="root" permission="0644" owner="root" target="/usr/share/sip3/disable-rpaths.diff">disable-rpaths.diff</AdditionalFile>
<AdditionalFile group="root" permission="0644" owner="root" target="/usr/share/sip3/fix-linking.diff">fix-linking.diff</AdditionalFile>
</AdditionalFiles>
<Summary>Development files for sip</Summary>
<RuntimeDependencies>
<Dependency release="current">python3-sip3</Dependency>
<Dependency release="current">sip3</Dependency>
</RuntimeDependencies>
</Package>
<History>
<Update release="2">
<Date>2015-06-14</Date>
<Version>4.16.7</Version>
<Comment>Version Bump.</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2015-04-23</Date>
<Version>4.16.6</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
<!-- By PiSiDo 2.3.1 -->
@@ -0,0 +1,17 @@
<PISI>
<Source>
<Name>sip3</Name>
<Summary xml:lang="tr">C ve C++ kütüphaneleri için python bağlayıcıları oluşturan bir araç</Summary>
<Summary xml:lang="pl">Generator powiązań Pythona z bibliotekami klas C++</Summary>
<Description xml:lang="tr">SIP3 C ve C++ kütüphanelerini Python'da kullanabilmek için bağlayıcılar oluşturan bir araçtır. Herhangi bir C veya C++ kütüphanesini Python genişletme modülüne dönüştürür.</Description>
<Description xml:lang="pl">Generuje powiązania Pythona z bibliotekami klas C++ ze zbioru plików ze specyfikacjami klas. Obsługiwany jest Python 2 i 3.</Description>
</Source>
<Package>
<Name>python3-sip3</Name>
</Package>
<Package>
<Name>sip3-devel</Name>
</Package>
</PISI>
<!-- By PiSiDo 2.3.1 -->
+18
View File
@@ -0,0 +1,18 @@
#!/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 cmaketools
def setup():
cmaketools.configure()
def build():
cmaketools.make()
def install():
cmaketools.install()
+40
View File
@@ -0,0 +1,40 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>yaml-cpp</Name>
<Homepage>https://github.com/jbeder/yaml-cpp</Homepage>
<Packager>
<Name>Ergün Salman</Name>
<Email>Poyraz76@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<Icon>yalm-cpp</Icon>
<IsA>Libry</IsA>
<Summary>yaml-cpp is a YAML parser and emitter in C++ matching the YAML 1.2 spec.</Summary>
<Description>To get a feel for how it can be used, see the Tutorial or How to Emit YAML.</Description>
<Archive sha1sum="61edcbb18b106dfc240f151998e233c03bdbf9f3" type="targz">https://github.com/jbeder/yaml-cpp/archive/release-0.5.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>python-devel</Dependency>
<Dependency>boost-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>yaml-cpp</Name>
<Files>
<Path fileType="library">/usr/lib/</Path>
<Path fileType="data">/usr/include/yaml-cpp/*</Path>
<Path fileType="data">/usr/lib/pkgconfig/</Path>
<Path fileType="doc">/usr/share/doc/</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2015-09-01</Date>
<Version>0.5.2</Version>
<Comment>First release</Comment>
<Name>Ergün Salman</Name>
<Email>Poyraz76@pisilinux.org</Email>
</Update>
</History>
</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
# to avoid sandbox violations during make test
shelltools.export("ODBCINI", get.workDIR())
shelltools.export("ODBCSYSINI", get.workDIR())
def setup():
autotools.autoreconf("-vfi")
autotools.configure("--with-apr=/usr \
--includedir=/usr/include/apr-1 \
--with-ldap \
--without-gdbm \
--with-sqlite3 \
--with-pgsql \
--with-odbc=/usr/bin/odbc_config \
--with-mysql \
--without-freetds \
--with-berkeley-db \
--without-sqlite2")
#pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def check():
autotools.make("-j1 test")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dosed("%s/usr/bin/apu-1-config" % get.installDIR(), get.workDIR(), "")
pisitools.dodoc("CHANGES", "NOTICE")
+119
View File
@@ -0,0 +1,119 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>apr-util</Name>
<Homepage>http://apr.apache.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>Apache-2.0</License>
<IsA>library</IsA>
<Summary>Apache portable runtime utils</Summary>
<Description>Apache portable runtime utils (APR-Util) contains additional utility interfaces for APR; including support for XML, database interfaces, URI parsing and more.</Description>
<Archive sha1sum="b00038b5081472ed094ced28bcbf2b5bb56c589d" type="tarbz2">mirrors://apache/apr/apr-util-1.5.4.tar.bz2</Archive>
<BuildDependencies>
<Dependency>db-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>sqlite-devel</Dependency>
<Dependency>libutil-linux-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency>unixODBC-devel</Dependency>
<Dependency>apr-devel</Dependency>
<Dependency>mariadb-lib</Dependency>
<Dependency>postgresql-lib</Dependency>
<Dependency>cyrus-sasl-devel</Dependency>
<Dependency releaseFrom="4">openldap-client</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>apr-util</Name>
<RuntimeDependencies>
<Dependency>db</Dependency>
<Dependency>zlib</Dependency>
<Dependency>expat</Dependency>
<Dependency>sqlite</Dependency>
<Dependency>libutil-linux</Dependency>
<Dependency>openssl</Dependency>
<Dependency>apr</Dependency>
<Dependency>unixODBC</Dependency>
<Dependency>mariadb-lib</Dependency>
<Dependency>postgresql-lib</Dependency>
<Dependency releaseFrom="5">cyrus-sasl</Dependency>
<Dependency releaseFrom="4">openldap-client</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<Package>
<Name>apr-util-devel</Name>
<Summary>Development files for apr-util</Summary>
<RuntimeDependencies>
<Dependency release="current">apr-util</Dependency>
<Dependency>apr-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2015-05-01</Date>
<Version>1.5.4</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2014-05-23</Date>
<Version>1.5.3</Version>
<Comment>Rebuild</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-02-20</Date>
<Version>1.5.3</Version>
<Comment>Rebuild for Mariadb.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-01-09</Date>
<Version>1.5.3</Version>
<Comment>Rebuild for cyrus-sasl and openldap</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-12-28</Date>
<Version>1.5.3</Version>
<Comment>Version bump</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-04-23</Date>
<Version>1.4.1</Version>
<Comment>Dep fixed</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-09-29</Date>
<Version>1.4.1</Version>
<Comment>First release</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,15 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>apr-util</Name>
<Summary xml:lang="tr">Apache çalışma ortamı araçları (eski sürüm)</Summary>
<Description xml:lang="tr">Apache portatif çalışma ortamı araçları (APR-Util) ek arabirimleri içerir; XML, LDAP, veritabanı, URI ve diğer arabirimler. Bu sürüm 0 ile başlar.</Description>
<Description xml:lang="fr">L'Apache Portable Runtime Utils (APR-Utils) contient des interfaces utilitaires supplémentaires pour APR fournissant un support pour, XML, LDAP,des interfaces pour les bases de données, d'analyse d'URI, et plus encore. La numéro de version majeur commence par un 1.</Description>
<Description xml:lang="pl">Narzędzie APR to biblioteka narzędziowa zaimplementowana na bazie apr, oferująca dostęp do bazy danych, przetwarzanie XML oraz inne przydatne funkcje.</Description>
</Source>
<Package>
<Name>apr-util-devel</Name>
<Summary xml:lang="en">Development files for apr-util</Summary>
</Package>
</PISI>
+89
View File
@@ -0,0 +1,89 @@
#!/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
from pisi.actionsapi import perlmodules
def setup():
# Respect the user LDFLAGS
shelltools.system("./autogen.sh")
shelltools.export("EXTRA_LDFLAGS", get.LDFLAGS())
autotools.configure("--disable-static \
--with-jdk=/usr/lib/jvm/java-7-openjdk \
--enable-javahl \
--with-apr=/usr \
--with-apr-util=/usr \
--with-apache=/usr/lib/apache2/ \
--with-apxs \
--with-serf=/usr \
--with-sqlite=/usr \
--with-zlib=/usr \
--with-jikes=no \
--without-berkeley-db \
--disable-mod-activation")
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
def build():
# svn
autotools.make()
# python bindings
autotools.make("swig-py")
# perl bindings (needed by git-svn*)
# Sometimes parallel build breaks perl bindings
autotools.make("-j1 swig-pl")
# java bindings
autotools.make("-j1 javahl")
def install():
# install svn
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# install swig-py
autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "install-swig-py")
# install swig-pl
autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "install-swig-pl")
# install javahl
autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "install-javahl")
# Move py/c'into proper dir
pisitools.domove("/usr/lib/svn-python/svn", "/usr/lib/%s/site-packages" % get.curPYTHON())
pisitools.domove("/usr/lib/svn-python/libsvn", "/usr/lib/%s/site-packages" % get.curPYTHON())
pisitools.removeDir("/usr/lib/svn-python")
# some helper tools
pisitools.insinto("/usr/bin", "tools/backup/hot-backup.py", "svn-hot-backup")
# FIXME: these tools are replaced by new ones
# pisitools.insinto("/usr/bin", "contrib/client-side/svn_load_dirs.pl", "svn-load-dirs")
# pisitools.insinto("/usr/bin", "contrib/client-side/svnmerge.py", "svnmerge")
# shelltools.chmod("%s/usr/bin/svnmerge" % get.installDIR(), 0755)
# Install upstream bash completion script
pisitools.insinto("/etc/bash_completion.d", "tools/client-side/bash_completion", "subversion")
# Documentation and etc.
#pisitools.insinto("/usr/share/doc/%s" % get.srcNAME(), "contrib")
pisitools.insinto("/usr/share/doc/%s" % get.srcNAME(), "tools/xslt")
pisitools.insinto("/var/www/localhost/htdocs", "tools/xslt/*")
# Create virtual repository root
pisitools.dodir("/var/svn")
pisitools.dodoc("README")
# remove unnecessary files i.e. perllocal.pod, .packlist
perlmodules.removePacklist()
perlmodules.removePodfiles()
@@ -0,0 +1,12 @@
#!/usr/bin/python
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("/bin/mkdir -p /var/svn/conf")
os.system("/usr/bin/svnadmin create /var/svn/repos")
os.system("/bin/chmod -R 774 /var/svn/repos")
os.system("/bin/chmod 775 /var/svn/repos")
os.system("/bin/chown -R svn:svn /var/svn")
@@ -0,0 +1,25 @@
from comar.service import *
serviceType = "server"
serviceDesc = _({"en": "SVN Server",
"tr": "SVN Sunucusu"})
serviceConf = "svnserve"
PIDFILE = "/var/svn/svnserve.pid"
# Note that "/etc/conf.d/svnserve" passes --root=/var/svn by default
@synchronized
def start():
startService(command="/usr/bin/svnserve",
args="--pid-file=%s %s" % (PIDFILE, config.get("SVNSERVE_OPTS")),
chuid="%s:%s" % (config.get("SVNSERVE_USER"), config.get("SVNSERVE_GROUP")),
donotify=True)
@synchronized
def stop():
stopService(pidfile=PIDFILE,
donotify=True)
def status():
return isServiceRunning(pidfile=PIDFILE)
@@ -0,0 +1,51 @@
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
# To serve all repositories under SVNParentPath with same configuration
<Location /svn>
DAV svn
SVNParentPath /var/svn/repos
SVNIndexXSLT "/svnindex.xsl"
#AuthType Basic
#AuthName "Subversion repository"
#AuthUserFile /var/svn/conf/svnusers_default
#Require valid-user
</Location>
#
# Example configuration to enable HTTP access for a directory
# containing Subversion repositories, "/var/www/svn". Each repository
# must be both:
#
# a) readable and writable by the 'apache' user, and
#
# b) labelled with the 'httpd_sys_content_t' context if using
# SELinux
#
#
# To create a new repository "http://localhost/repos/stuff" using
# this configuration, run as root:
#
# # cd /var/www/svn
# # svnadmin create stuff
# # chown -R apache.apache stuff
# # chcon -R -t httpd_sys_content_t stuff
#
#<Location /repos>
# DAV svn
# SVNParentPath /var/www/svn
#
# # Limit write permission to list of valid users.
# <LimitExcept GET PROPFIND OPTIONS REPORT>
# # Require SSL connection for password protection.
# # SSLRequireSSL
#
# AuthType Basic
# AuthName "Authorization Realm"
# AuthUserFile /path/to/passwdfile
# Require valid-user
# </LimitExcept>
#</Location>
@@ -0,0 +1,14 @@
diff -ur subversion-1.4.0.orig/Makefile.in subversion-1.4.0/Makefile.in
--- subversion-1.4.0.orig/Makefile.in 2006-11-06 16:36:17.000000000 +0200
+++ subversion-1.4.0/Makefile.in 2006-11-06 16:50:14.000000000 +0200
@@ -209,10 +209,6 @@
$(INSTALL_DATA) "$$i" $(DESTDIR)$(swig_pydir); \
done; \
fi; \
- $(PYTHON) -c 'import compileall; \
- compileall.compile_dir("$(DESTDIR)$(swig_pydir)", 1, "$(swig_pydir)"); \
- compileall.compile_dir("$(DESTDIR)$(swig_pydir_extra)", 1, \
- "$(swig_pydir_extra)");'
# The path to generated and complementary source files for the SWIG
# bindings.
@@ -0,0 +1,27 @@
The first half of this is certainly upstream-worthy, but the second half is presumably
some Fedora-specific KDE packaging thing. It's not obvious how to get
kde4-config to report the directory which contains the .so files.
--- subversion-1.8.0/build/ac-macros/kwallet.m4.kwallet
+++ subversion-1.8.0/build/ac-macros/kwallet.m4
@@ -63,15 +63,15 @@ AC_DEFUN(SVN_LIB_KWALLET,
fi
done
qt_include_dirs="`$PKG_CONFIG --cflags-only-I QtCore QtDBus QtGui`"
- kde_dir="`$KDE4_CONFIG --prefix`"
- SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs -I$kde_dir/include"
+ kde_include_dirs="-I`$KDE4_CONFIG --path include`"
+ SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs $kde_include_dirs"
qt_libs_other_options="`$PKG_CONFIG --libs-only-other QtCore QtDBus QtGui`"
SVN_KWALLET_LIBS="$DBUS_LIBS -lQtCore -lQtDBus -lQtGui -lkdecore -lkdeui $qt_libs_other_options"
CXXFLAGS="$CXXFLAGS $SVN_KWALLET_INCLUDES"
LIBS="$LIBS $SVN_KWALLET_LIBS"
qt_lib_dirs="`$PKG_CONFIG --libs-only-L QtCore QtDBus QtGui`"
kde_lib_suffix="`$KDE4_CONFIG --libsuffix`"
- LDFLAGS="$old_LDFLAGS `SVN_REMOVE_STANDARD_LIB_DIRS($qt_lib_dirs -L$kde_dir/lib$kde_lib_suffix)`"
+ LDFLAGS="$old_LDFLAGS `SVN_REMOVE_STANDARD_LIB_DIRS($qt_lib_dirs)` -L$libdir/kde4/devel"
AC_LANG(C++)
AC_LINK_IFELSE([AC_LANG_SOURCE([[
#include <kwallet.h>
@@ -0,0 +1,56 @@
diff -uap subversion-1.7.0/build/generator/gen_base.py.pie subversion-1.7.0/build/generator/gen_base.py
--- subversion-1.8.0/build/generator/gen_base.py.pie
+++ subversion-1.8.0/build/generator/gen_base.py
@@ -409,7 +409,7 @@ class TargetLinked(Target):
self.install = options.get('install')
self.compile_cmd = options.get('compile-cmd')
self.sources = options.get('sources', '*.c *.cpp')
- self.link_cmd = options.get('link-cmd', '$(LINK)')
+ self.link_cmd = options.get('link-cmd', '$(LINK_LIB)')
self.external_lib = options.get('external-lib')
self.external_project = options.get('external-project')
@@ -465,6 +465,11 @@ class TargetExe(TargetLinked):
self.manpages = options.get('manpages', '')
self.testing = options.get('testing')
+ if self.install == 'test' or self.install == 'bdb-test':
+ self.link_cmd = '$(LINK_TEST)'
+ else:
+ self.link_cmd = '$(LINK_EXE)'
+
def add_dependencies(self):
TargetLinked.add_dependencies(self)
@@ -515,8 +520,8 @@ class TargetLib(TargetLinked):
self.msvc_export = options.get('msvc-export', '').split()
### hmm. this is Makefile-specific
- if self.link_cmd == '$(LINK)':
- self.link_cmd = '$(LINK_LIB)'
+ if self.install == 'test':
+ self.link_cmd = '$(LINK_TEST_LIB)'
class TargetApacheMod(TargetLib):
--- subversion-1.8.0/Makefile.in.pie
+++ subversion-1.8.0/Makefile.in
@@ -203,6 +203,9 @@ COMPILE_CXXHL_CXX = $(LIBTOOL) $(LTCXXFL
LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS)
LINK_LIB = $(LINK) $(LT_SO_VERSION) -rpath $(libdir)
+LINK_TEST = $(LINK) -no-install
+LINK_TEST_LIB = $(LINK) -avoid-version
+LINK_EXE = $(LINK) -pie
LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS) -rpath $(libdir)
LINK_CXX_LIB = $(LINK_CXX) $(LT_SO_VERSION)
@@ -676,7 +679,7 @@ schema-clean:
$(PYTHON) $(top_srcdir)/build/transform_sql.py $< $(top_srcdir)/$@
.c.o:
- $(COMPILE) -o $@ -c $<
+ $(COMPILE) -fpie -o $@ -c $<
.cpp.o:
$(COMPILE_CXX) -o $@ -c $<
@@ -0,0 +1,46 @@
diff -uap subversion-1.7.0/build.conf.rpath subversion-1.7.0/build.conf
--- subversion-1.8.0/build.conf.rpath
+++ subversion-1.8.0/build.conf
@@ -501,7 +501,7 @@ type = swig_lib
lang = python
path = subversion/bindings/swig/python/libsvn_swig_py
libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr apriconv apr
-link-cmd = $(LINK)
+link-cmd = $(LINK_LIB)
install = swig-py-lib
# need special build rule to include -DSWIGPYTHON
compile-cmd = $(COMPILE_SWIG_PY)
@@ -524,7 +524,7 @@ type = swig_lib
lang = ruby
path = subversion/bindings/swig/ruby/libsvn_swig_ruby
libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr
-link-cmd = $(LINK) $(SWIG_RB_LIBS)
+link-cmd = $(LINK_LIB) $(SWIG_RB_LIBS)
install = swig-rb-lib
# need special build rule to include
compile-cmd = $(COMPILE_SWIG_RB)
--- subversion-1.8.0/build/generator/gen_base.py.rpath
+++ subversion-1.8.0/build/generator/gen_base.py
@@ -514,6 +514,10 @@ class TargetLib(TargetLinked):
self.msvc_fake = options.get('msvc-fake') == 'yes' # has fake target
self.msvc_export = options.get('msvc-export', '').split()
+ ### hmm. this is Makefile-specific
+ if self.link_cmd == '$(LINK)':
+ self.link_cmd = '$(LINK_LIB)'
+
class TargetApacheMod(TargetLib):
def __init__(self, name, options, gen_obj):
--- subversion-1.8.0/Makefile.in.rpath
+++ subversion-1.8.0/Makefile.in
@@ -201,8 +201,8 @@ COMPILE_JAVAHL_JAVAH = $(JAVAH)
# special compilation for files destined for cxxhl
COMPILE_CXXHL_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=compile $(COMPILE_CXX) $(LT_CFLAGS) $(CXXHL_INCLUDES) -o $@ -c
-LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(libdir)
-LINK_LIB = $(LINK) $(LT_SO_VERSION)
+LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS)
+LINK_LIB = $(LINK) $(LT_SO_VERSION) -rpath $(libdir)
LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS) -rpath $(libdir)
LINK_CXX_LIB = $(LINK_CXX) $(LT_SO_VERSION)
@@ -0,0 +1,14 @@
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/Makefile.in
+++ b/Makefile.in
@@ -652,7 +652,7 @@ check-swig-pl: swig-pl swig-pl-lib
cd $(SWIG_PL_DIR)/native; $(MAKE) test
install-swig-pl: swig-pl install-swig-pl-lib
- cd $(SWIG_PL_DIR)/native; $(MAKE) install
+ cd $(SWIG_PL_DIR)/native; $(MAKE) install_vendor
EXTRACLEAN_SWIG_PL=rm -f $(SWIG_PL_SRC_DIR)/native/svn_*.c \
$(SWIG_PL_SRC_DIR)/native/core.c
@@ -0,0 +1,13 @@
[miscellany]
enable-auto-props = yes
[auto-props]
*.png = svn:mime-type=image/png
*.jpg = svn:mime-type=image/jpeg
*.jpe = svn:mime-type=image/jpeg
*.jpeg = svn:mime-type=image/jpeg
*.bmp = svn:mime-type=image/x-ms-bmp
*.odp = svn:mime-type=application/vnd.oasis.opendocument.presentation
*.odt = svn:mime-type=application/vnd.oasis.opendocument.text
*.ods = svn:mime-type=application/vnd.oasis.opendocument.spreadsheet
*.ogg = svn:mime-type=audio/ogg
@@ -0,0 +1,19 @@
clear LD_RUN_PATH, it will end up as RPATH in ELF binaries
ERROR: RPATH "/usr/src/packages/BUILD/subversion-1.5.x/subversion/libsvn_subr/.libs" on /var/tmp/subversion-1.5.0-build/usr/lib/perl5/vendor_perl/5.10.0/ppc-linux-thread-multi-64int/auto/SVN/_Wc/_Wc.so is not allowed
---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/Makefile.in
+++ b/Makefile.in
@@ -641,7 +641,7 @@ $(SWIG_PL_DIR)/native/Makefile.PL: $(SWI
./config.status subversion/bindings/swig/perl/native/Makefile.PL
$(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL
- cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL
+ cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL ; for i in `grep -wl ^LD_RUN_PATH Makefile Makefile.[^P]*` ; do sed -i 's@^LD_RUN_PATH.*@LD_RUN_PATH=@' $$i ; done
swig-pl_DEPS = autogen-swig-pl libsvn_swig_perl \
$(SWIG_PL_DIR)/native/Makefile
@@ -0,0 +1,11 @@
--- Makefile.in.orig 2009-02-16 14:10:48.000000000 -0200
+++ Makefile.in 2009-06-04 00:56:29.000000000 -0300
@@ -678,6 +678,7 @@
$(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL
cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL PREFIX=$(prefix)
+ cd $(SWIG_PL_DIR)/native; sed -i 's|LD_RUN_PATH|DIE_RPATH_DIE|g' Makefile{,.{client,delta,fs,ra,repos,wc}}
# There is a "readlink -f" command on some systems for the same purpose,
# but it's not as portable (e.g. Mac OS X doesn't have it). These should
# only be used where Python/Perl are known to be available.
+113
View File
@@ -0,0 +1,113 @@
#! /usr/bin/perl
#
# This script recursively (beginning with the current directory)
# wipes out everything not registered in SVN.
#
# rewritten in perl by Oswald Buddenhagen <ossi@kde.org>
# based on bash version by Thiago Macieira <thiago@kde.org>
# inspired by cvs-clean, written by Oswald Buddenhagen <ossi@kde.org>
# inspired by the "old" cvs-clean target from Makefile.common
#
# This file is free software in terms of the BSD licence. That means
# that you can do anything with it except removing this license or
# the above copyright notice. There is NO WARRANTY of any kind.
#
# Warning:
# This script processes the output from the SVN executable
# Do not run it along with colorsvn
use File::Path;
my $version = "svn-clean v1.0";
my $heading = $version.": cleans up the Subversion working directory\n";
my $usage = $heading.
"svn-clean [-h] [-n] [-q] [-i|-f] [dirname]\n\n".
"Where:\n".
" -h shows this help screen\n".
" -n dry-run: doesn't actually erase the files, just show their names\n".
" -i interactive: ask for confirmation before erasing the files\n".
" -f force: doesn't ask for confirmation before erasing\n".
" -q quiet: doesn't show output\n";
my $dry_run = 0;
my $force = 0;
my $quiet = 0;
sub check_confirm()
{
return if ($force);
open(TTY, "+< /dev/tty") or die "cannot open /dev/tty";
print TTY "This will erase files and directories that aren't in Subversion\n".
"Are you sure you want to continue? (y/n) ";
if (<TTY> =~ /^[Yy]/) {
$force = 1;
close TTY;
return;
}
# user cancelled
exit 0;
}
# Parse arguments
my $rest = 0;
my @files = ();
foreach my $arg (@ARGV) {
if ($rest) {
push @files, $arg;
} else {
if ($arg eq '-h' || $arg eq '--help') {
print $usage;
exit (0);
} elsif ($arg eq '-n' || $arg eq '--dry-run') {
$dry_run = 1;
$force = 1;
} elsif ($arg eq '-f' || $arg eq '--force') {
$force = 1;
} elsif ($arg eq '-i' || $arg eq '--interactive') {
$force = 0;
} elsif ($arg eq '-q' || $arg eq '--quiet') {
$quiet = 1;
} elsif ($arg eq '--') {
$rest = 1;
} elsif ($arg =~ /^-/) {
print STDERR "svn-clean: unknown argument '".$arg."'\n\n".$usage;
exit (1);
} else {
push @files, $arg;
}
}
}
if (!@files) {
push @files, '.';
}
# Unset TERM just so that no colours are output
# in case $SVN points to colorsvn
delete $ENV{'TERM'};
#print($heading."\n") unless $quiet;
foreach my $dir (@files) {
open SVN, "svn status --no-ignore \"".$dir."\"|";
while (<SVN>) {
/^[I?] +(.*)$/ or next;
my $file = $1;
check_confirm();
lstat $file;
if (-d _) {
print("D ".$file."\n") unless $quiet;
rmtree($file, 0, 0) unless $dry_run;
} else {
print("F ".$file."\n") unless $quiet;
unlink($file) unless $dry_run;
}
}
close SVN;
}
@@ -0,0 +1,20 @@
#!/bin/sh
if [ $# -eq 0 ]; then
cat <<EOF
Usage:
svnlastchange <filename> [<filename> ...]
EOF
exit 1
fi
if [ "$1" == "-q" ]; then
shift
else
echo >/dev/tty "Hint: Use svn log -r COMMITTED and svn diff -r PREV:COMMITTED"
fi
svn log -r COMMITTED "$*"
svn diff -r PREV:COMMITTED "$*" || \
echo >&2 "Error retrieving diff: the file was probably added in the last revision"
@@ -0,0 +1,15 @@
#!/bin/sh
# This is a stripped down version of svnlastchange
if [ $# -eq 0 ]; then
cat <<EOF
Usage:
svnlastlog <filename> [<filename> ...]
EOF
exit 1
fi
echo >&2 "Warning: svnlastlog is superfluous"
echo >&2 "Use svn log -r COMMITTED"
svn log -r COMMITTED "$*"
@@ -0,0 +1,6 @@
#!/bin/sh
echo >&2 "Warning: this script is superfluous"
echo >&2 "Instead, use: svn merge -rBASE:PREV <filename>"
echo >&2
svn merge -r BASE:PREV "$@"
@@ -0,0 +1,8 @@
# Default svnserve configuration for Pisi Linux
# Options for svnserve
SVNSERVE_OPTS = "--daemon --root=/var/svn"
# User and group as which to run svnserve
SVNSERVE_USER="svn"
SVNSERVE_GROUP="svn"
+225
View File
@@ -0,0 +1,225 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>subversion</Name>
<Homepage>http://subversion.apache.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>Subversion</License>
<IsA>app:console</IsA>
<IsA>service</IsA>
<Summary>A compelling replacement for CVS</Summary>
<Description>SVN is a version controlling system to store files and control their change history in a repository.</Description>
<Archive sha1sum="1244a741dbcf24f2b1d165225f0159a0c994e37a" type="tarbz2">http://archive.apache.org/dist/subversion/subversion-1.9.1.tar.bz2</Archive>
<BuildDependencies>
<Dependency>apache</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>ruby-devel</Dependency>
<Dependency>serf-devel</Dependency>
<Dependency>sqlite-devel</Dependency>
<Dependency>jdk7-openjdk</Dependency>
<Dependency>apr-util-devel</Dependency>
<Dependency>cyrus-sasl-devel</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency>swig</Dependency>
</BuildDependencies>
<Patches>
<!--Patch level="1">subversion.perl.LD_RUN_PATH.patch</Patch>
<Patch level="1">subversion-1.8.0-kwallet.patch</Patch>
<Patch level="1">subversion-1.8.0-pie.patch</Patch>
<Patch level="1">subversion-1.8.0-rpath.patch</Patch-->
<Patch level="1">subversion-swig-perl-install_vendor.patch</Patch>
<Patch>subversion.rpath.fix.patch</Patch>
<Patch level="1">dont_compile_pyc.patch</Patch>
</Patches>
</Source>
<Package>
<Name>subversion</Name>
<RuntimeDependencies>
<Dependency>file</Dependency>
<Dependency>zlib</Dependency>
<Dependency>expat</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>sqlite</Dependency>
<Dependency>apr</Dependency>
<Dependency>serf</Dependency>
<Dependency>apr-util</Dependency>
<Dependency>cyrus-sasl</Dependency>
<!--Dependency>libgnome-keyring</Dependency-->
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc/conf.d</Path>
<Path fileType="data">/etc/subversion</Path>
<Path fileType="data">/etc/bash_completion.d</Path>
<Path fileType="data">/usr/share/build</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="info">/usr/share/info</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/var/svn</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/etc/conf.d/svnserve">svnserve.confd</AdditionalFile>
<!-- http://websvn.kde.org/trunk/KDE/kdesdk/scripts/ -->
<!--AdditionalFile owner="root" permission="0755" target="/usr/bin/svnlastchange">svnlastchange</AdditionalFile>
<AdditionalFile owner="root" permission="0755" target="/usr/bin/svnrevertlast">svnrevertlast</AdditionalFile>
<AdditionalFile owner="root" permission="0755" target="/usr/bin/svnlastlog">svnlastlog</AdditionalFile>
<AdditionalFile owner="root" permission="0755" target="/usr/bin/svnclean">svn-clean</AdditionalFile-->
<!-- system-wide configuration file for auto mimetype setting -->
<AdditionalFile owner="root" permission="0644" target="/etc/subversion/config">subversion.config</AdditionalFile>
</AdditionalFiles>
<Provides>
<COMAR script="service.py">System.Service</COMAR>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Package>
<Package>
<Name>subversion-devel</Name>
<Summary>Development files for subversion</Summary>
<RuntimeDependencies>
<Dependency>openssl-devel</Dependency>
<Dependency>apr-devel</Dependency>
<Dependency>serf-devel</Dependency>
<Dependency>sqlite-devel</Dependency>
<Dependency>apr-util-devel</Dependency>
<Dependency release="current">subversion</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/share/pkgconfig</Path>
</Files>
</Package>
<Package>
<Name>mod_dav_svn</Name>
<PartOf>server.web</PartOf>
<RuntimeDependencies>
<Dependency>apr</Dependency>
<Dependency>apache</Dependency>
<Dependency>apr-util</Dependency>
<Dependency>subversion</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/apache2</Path>
<Path fileType="executable">/usr/libexec/mod_dav_svn.so</Path>
<Path fileType="executable">/usr/libexec/mod_authz_svn.so</Path>
<Path fileType="config">/etc/apache2/modules.d</Path>
<Path fileType="data">/var/www/localhost/htdocs</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/etc/apache2/modules.d/47_mod_dav_svn.conf">47_mod_dav_svn.conf</AdditionalFile>
</AdditionalFiles>
<Provides>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Package>
<History>
<Update release="12">
<Date>2015-09-04</Date>
<Version>1.9.1</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="11">
<Date>2015-04-04</Date>
<Version>1.8.13</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="10">
<Date>2014-09-14</Date>
<Version>1.8.10</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="10">
<Date>2014-06-21</Date>
<Version>1.8.9</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="9">
<Date>2014-04-03</Date>
<Version>1.8.8</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="8">
<Date>2014-03-03</Date>
<Version>1.8.5</Version>
<Comment>rebuild for openjdk</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="7">
<Date>2014-01-11</Date>
<Version>1.8.5</Version>
<Comment>rebuild for cyrus-sasl</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="6">
<Date>2013-12-28</Date>
<Version>1.8.5</Version>
<Comment>Fix Deps</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2013-12-24</Date>
<Version>1.8.5</Version>
<Comment>Version bump, fix deps, add mandatory serf dependency.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2013-11-30</Date>
<Version>1.8.1</Version>
<Comment>rebuild for perl-svn-simple</Comment>
<Name>Kamil Atlı</Name>
<Email>suvarice@gmail.com</Email>
</Update>
<Update release="3">
<Date>2013-08-17</Date>
<Version>1.8.1</Version>
<Comment>Dep Fixed</Comment>
<Name>Osman Erkan</Name>
<Email>osman.erkan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-08-03</Date>
<Version>1.8.1</Version>
<Comment>
*Version bump to 1.8.1
*Disable neon as suggested in http://subversion.apache.org/docs/release-notes/1.8.html#neon-deleted
</Comment>
<Name>Fatih Turgel</Name>
<Email>hitaf@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-10-24</Date>
<Version>1.7.7</Version>
<Comment>First release</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>subversion</Name>
<Summary xml:lang="tr">Bir sürüm kontrol sistemi</Summary>
<Description xml:lang="tr">Daha gelişmiş özellikleri olan ve önceki CVS yerine kullanılan, bir sürüm yönetim sistemidir.</Description>
<Description xml:lang="fr">SVN est un gestionnaire de configuration permettant de stocker des fichiers et de contrôler leur historique de changement dans un dépôt.</Description>
</Source>
<Package>
<Name>subversion-devel</Name>
<Summary xml:lang="tr">Subversion için geliştirme dosyaları</Summary>
</Package>
</PISI>
+148
View File
@@ -0,0 +1,148 @@
#!/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
WorkDir = "httpd-%s" % get.srcVERSION()
def config_layout():
return """
<Layout PisiLinux>
prefix: /usr
exec_prefix: /usr
bindir: /usr/bin
sbindir: /usr/sbin
libdir: /usr/lib
libexecdir: /usr/lib/apache2/modules
mandir: /usr/share/man
infodir: /usr/share/info
includedir: /usr/include/apache2
installbuilddir: /usr/lib/apache2/build
datadir: /var/www/localhost
errordir: /var/www/localhost/error
iconsdir: /var/www/localhost/icons
htdocsdir: /var/www/localhost/htdocs
cgidir: /var/www/localhost/cgi-bin
manualdir: /usr/share/doc/version/manual
sysconfdir: /etc/apache2
localstatedir: /var
runtimedir: /run
logfiledir: /var/log/apache2
proxycachedir: /var/cache/apache2
</Layout>"""
def modules_config():
disabled = ['bucketeer', 'example', 'optional-fn-export', 'optional-fn-import',
'optional-hook-export','optional-hook-import']
static = ['so']
# auth_ldap, ldap needed
shared = ['actions', 'alias', 'asis', 'auth_basic', 'authn_dbm', 'authn_file',
'auth_digest', 'authz_host', 'autoindex', 'cache', 'case_filter',
'case-filter-in', 'cern-meta', 'cgi', 'cgid', 'charset-lite', 'dav',
'dav-fs', 'deflate', 'dir', 'disk-cache', 'echo', 'env', 'expires',
'ext-filter', 'file-cache', 'headers', 'imagemap', 'include', 'info',
'log_config', 'logio', 'mem-cache', 'mime', 'mime-magic', 'negotiation',
'proxy', 'proxy-connect','proxy-ftp', 'proxy-http', 'rewrite', 'setenvif',
'speling', 'status', 'unique-id', 'userdir', 'usertrack', 'vhost-alias']
conf = ""
for i in disabled:
conf += "--disable-%s " % i
for i in static:
conf += "--enable-%s=yes " % i
for i in shared:
conf += "--enable-%s=shared " % i
return conf
def setup():
shelltools.echo("config.layout", config_layout())
pisitools.dosed("config.layout", "version", get.srcNAME())
#for d in ["apr","apr-util","pcre"]:
#shelltools.unlinkDir("srclib/%s" % d)
# this fixes segfaults, remember omit-frame-pointer will be default soon
if get.ARCH() == "i686":
shelltools.export("CFLAGS", "%s -fno-omit-frame-pointer" % get.CFLAGS())
shelltools.export("LDFLAGS", "-Wl,-z,relro,-z,now")
autotools.rawConfigure('--with-mpm=prefork \
--enable-layout=PisiLinux \
--enable-mods-shared=all \
--with-ssl=/usr \
--enable-ssl=shared \
%s \
--with-z=/usr \
--with-port=80 \
--with-program-name=apache2 \
--with-apr=/usr/bin/apr-1-config \
--with-apr-util=/usr/bin/apu-1-config \
--with-suexec-safepath="/usr/bin:/bin" \
--with-suexec-logfile=/var/log/apache2/suexec_log \
--with-suexec-bin=/usr/sbin/suexec \
--with-suexec-userdir="public_html" \
--with-suexec-caller=apache \
--with-suexec-docroot=/var/www \
--with-suexec-uidmin=1000 \
--with-suexec-gidmin=100 \
--with-suexec-umask=077 \
--enable-suexec=shared \
--enable-pie \
--with-pcre=/usr/bin/pcre-config' % modules_config())
pisitools.dosed("include/ap_config_auto.h", "apache2\.conf", "httpd.conf")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s INSTALL_SUEXEC='setuid'" % get.installDIR())
pisitools.dosym("/usr/lib", "/usr/lib/apache2/lib")
pisitools.dosym("/var/log/apache2", "/usr/lib/apache2/logs")
pisitools.dosym("/etc/apache2", "/usr/lib/apache2/conf")
pisitools.dosbin("support/split-logfile")
pisitools.dosbin("support/list_hooks.pl")
pisitools.dosbin("support/logresolve.pl")
pisitools.dosbin("support/log_server_status")
pisitools.dosbin("apache2")
pisitools.domove("/usr/sbin/envvars*", "/usr/lib/apache2/build")
pisitools.dosed("%s/usr/bin/apxs" % get.installDIR(), \
"my \$envvars = get_vars\(\"bindir\"\) \. \"/envvars\";", \
"my $envvars = \"$installbuilddir/envvars\";")
# Clean-up
pisitools.remove("/etc/apache2/*")
pisitools.remove("/var/www/localhost/htdocs/*")
# Add conf.d for 3rd party configuration files
pisitools.dodir("/etc/apache2/conf.d")
# ssl enabled apache needs that one
pisitools.dodir("/var/cache/apache2")
# Fix wrong libtool path
pisitools.dosed("%s/usr/lib/apache2/build/config_vars.mk" % get.installDIR(), \
"/usr/lib/apache2/build/libtool", \
"/usr/bin/libtool")
# Remove cgi scripts which are vulnerable, see CVE-2007-4049
pisitools.remove("/var/www/localhost/cgi-bin/*")
pisitools.dodoc("ABOUT_APACHE", "CHANGES", "LAYOUT", "LICENSE", "README*")
pisitools.removeDir("/run")
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/python
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("/bin/chown root:apache /usr/sbin/suexec")
os.system("/bin/chmod 04710 /usr/sbin/suexec")
os.system("/bin/chown apache:apache /var/cache/apache2")
+35
View File
@@ -0,0 +1,35 @@
from comar.service import *
serviceType = "server"
serviceDesc = _({"en": "Apache Web Server",
"tr": "Apache Web Sunucusu"})
serviceConf = "apache2"
PIDFILE = "/run/apache2.pid"
@synchronized
def start():
import os
os.environ["LC_ALL"] = "C"
os.environ["LANG"] = "C"
startService(command="/usr/sbin/apache2",
args="-d /usr/lib/apache2/ -f /etc/apache2/httpd.conf %s -k start" % config.get("APACHE2_OPTS", ""),
pidfile=PIDFILE,
donotify=True)
@synchronized
def stop():
stopService(command="/usr/sbin/apache2",
args="-d /usr/lib/apache2/ -f /etc/apache2/httpd.conf %s -k stop" % config.get("APACHE2_OPTS", ""),
donotify=True)
import time
time.sleep(3)
def reload():
stopService(command="/usr/sbin/apache2",
args="-d /usr/lib/apache2/ -f /etc/apache2/httpd.conf %s -k graceful" % config.get("APACHE2_OPTS", ""))
def status():
return isServiceRunning(PIDFILE)
@@ -0,0 +1,10 @@
#
# This configuration file allows the manual to be accessed at
# http://localhost/manual/
#
AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "/usr/share/doc/apache/manual$1"
<Directory "/usr/share/doc/apache/manual">
Options Indexes
AllowOverride None
Require all granted
</Directory>
@@ -0,0 +1,92 @@
### Section 3: Virtual Hosts
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs-2.0/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log
# CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common
#</VirtualHost>
#
# The First Virtual Host is also your DEFAULT Virtual Host.
# This means any requests that do not match any other vhosts will
# goto this virtual host.
#
<IfDefine DEFAULT_VHOST>
<VirtualHost *:80>
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/var/www/localhost/htdocs"
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/var/www/localhost/htdocs">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
<IfModule peruser.c>
# this must match a Processor
ServerEnvironment apache apache
# these are optional - defaults to the values specified in httpd.conf
MinSpareProcessors 4
MaxProcessors 20
</IfModule>
</VirtualHost>
</IfDefine>
+87
View File
@@ -0,0 +1,87 @@
<IfDefine SSL>
<IfModule !mod_ssl.c>
LoadModule ssl_module modules/mod_ssl.so
</IfModule>
</IfDefine>
<IfModule mod_ssl.c>
#
# This is the Apache server configuration file providing SSL support.
# It contains the configuration directives to instruct the server how to
# serve pages over an https connection. For detailing information about these
# directives see <URL:http://httpd.apache.org/docs-2.0/mod/mod_ssl.html>
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
#
# Pseudo Random Number Generator (PRNG):
# Configure one or more sources to seed the PRNG of the SSL library.
# The seed data should be of good random quality.
# WARNING! On some platforms /dev/random blocks if not enough entropy
# is available. This means you then cannot use the /dev/random device
# because it would lead to very long connection times (as long as
# it requires to make more entropy available). But usually those
# platforms additionally provide a /dev/urandom device which doesn't
# block. So, if available, use this one instead. Read the mod_ssl User
# Manual for more details.
#
# Note: This must come before the <IfDefine SSL> container to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
#
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
#SSLRandomSeed startup file:/dev/random 512
#SSLRandomSeed startup file:/dev/urandom 512
#SSLRandomSeed connect file:/dev/random 512
#SSLRandomSeed connect file:/dev/urandom 512
#
# When we also provide SSL we have to listen to the
# standard HTTP port (see above) and to the HTTPS port
#
Listen 443
##
## SSL Global Context
##
## All SSL configuration in this context applies both to
## the main server and all SSL-enabled virtual hosts.
##
#
# Some MIME-types for downloading Certificates and CRLs
#
<IfModule mod_mime.c>
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
</IfModule>
# Pass Phrase Dialog:
# Configure the pass phrase gathering process.
# The filtering dialog program (`builtin' is a internal
# terminal dialog) has to provide the pass phrase on stdout.
SSLPassPhraseDialog builtin
# Inter-Process Session Cache:
# Configure the SSL Session Cache: First the mechanism
# to use and second the expiring timeout (in seconds).
#SSLSessionCache none
#SSLSessionCache shmht:logs/ssl_scache(512000)
#SSLSessionCache shmcb:logs/ssl_scache(512000)
#SSLSessionCache dbm:/var/cache/apache2/ssl_scache
SSLSessionCache shm:/var/cache/apache2/ssl_scache(512000)
SSLSessionCacheTimeout 300
# Semaphore:
# Configure the path to the mutual exclusion semaphore the
# SSL engine uses internally for inter-process synchronization.
SSLMutex file:/var/cache/apache2/ssl_mutex
</IfModule>

Some files were not shown because too many files have changed in this diff Show More