code:
diff -up qtwebkit-opensource-src-5.2.0-rc1/Source/WebCore/plugins/PluginDatabase.cpp.pluginpath qtwebkit-opensource-src-5.2.0-rc1/Source/WebCore/plugins/PluginDatabase.cpp
--- qtwebkit-opensource-src-5.2.0-rc1/Source/WebCore/plugins/PluginDatabase.cpp.pluginpath	2013-11-26 19:01:47.000000000 -0600
+++ qtwebkit-opensource-src-5.2.0-rc1/Source/WebCore/plugins/PluginDatabase.cpp	2013-12-02 11:14:43.306114402 -0600
@@ -407,6 +407,7 @@ Vector<String> PluginDatabase::defaultPl
     paths.append("/usr/lib/firefox/plugins");
     paths.append("/usr/lib64/browser-plugins");
     paths.append("/usr/lib/browser-plugins");
+    paths.append("/usr/lib/mozilla/plugins-wrapped");
     paths.append("/usr/lib/mozilla/plugins");
     paths.append("/usr/local/netscape/plugins");
     paths.append("/opt/mozilla/plugins");
@@ -416,6 +417,7 @@ Vector<String> PluginDatabase::defaultPl
     paths.append("/usr/lib/netscape/plugins");
     paths.append("/usr/lib/netscape/plugins-libc5");
     paths.append("/usr/lib/netscape/plugins-libc6");
+    paths.append("/usr/lib64/mozilla/plugins-wrapped");
     paths.append("/usr/lib64/netscape/plugins");
     paths.append("/usr/lib64/mozilla/plugins");
     paths.append("/usr/lib/nsbrowser/plugins");


code:
diff -up qtwebkit-opensource-src-5.2.0-rc1/Source/WebCore/WebCore.pri.save_memory qtwebkit-opensource-src-5.2.0-rc1/Source/WebCore/WebCore.pri
--- qtwebkit-opensource-src-5.2.0-rc1/Source/WebCore/WebCore.pri.save_memory	2013-12-02 11:15:56.417351604 -0600
+++ qtwebkit-opensource-src-5.2.0-rc1/Source/WebCore/WebCore.pri	2013-12-02 11:15:56.421351563 -0600
@@ -306,6 +306,8 @@ mac {
 }
 unix:!mac:*-g++*:QMAKE_CXXFLAGS += -fdata-sections
 unix:!mac:*-g++*:QMAKE_LFLAGS += -Wl,--gc-sections
+unix:!mac:*-g++*:!equals(QT_ARCH, powerpc):!equals(QT_ARCH, s390):!equals(QT_ARCH, mips):!equals(QT_ARCH, arm):QMAKE_LFLAGS += -Wl,--no-keep-memory
+#unix:!mac:*-g++*:!equals(QT_ARCH, powerpc):!equals(QT_ARCH, s390):!equals(QT_ARCH, mips):!equals(QT_ARCH, arm):QMAKE_LFLAGS += -Wl,--reduce-memory-overheads
 linux*-g++*:QMAKE_LFLAGS += $$QMAKE_LFLAGS_NOUNDEF

 enable_fast_mobile_scrolling: DEFINES += ENABLE_FAST_MOBILE_SCROLLING=1

repo_name: ayhanyalcinsoy/main


code:
diff -up qtwebkit-opensource-src-5.2.1/Tools/qmake/mkspecs/features/rpath.prf.no_rpath qtwebkit-opensource-src-5.2.1/Tools/qmake/mkspecs/features/rpath.prf
--- qtwebkit-opensource-src-5.2.1/Tools/qmake/mkspecs/features/rpath.prf.no_rpath	2014-02-01 14:37:41.000000000 -0600
+++ qtwebkit-opensource-src-5.2.1/Tools/qmake/mkspecs/features/rpath.prf	2014-05-02 18:47:26.789051711 -0500
@@ -6,7 +6,7 @@

 equals(ROOT_BUILD_DIR, $$dirname(DESTDIR)): RPATHDIR_RELATIVE_TO_DESTDIR = ../lib

-linux-*:!isEmpty(RPATHDIR_RELATIVE_TO_DESTDIR) {
+linux-rpath_me_harder_no_no_no:!isEmpty(RPATHDIR_RELATIVE_TO_DESTDIR) {
     # Do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
     # this expands to $ORIGIN (after qmake and make), it does NOT read a qmake var.
     QMAKE_RPATHDIR = \$\$ORIGIN/$${RPATHDIR_RELATIVE_TO_DESTDIR} $${QMAKE_RPATHDIR}


code:
From: Modestas Vainius <modax@debian.org>
SUbject: Make hide_symbols to cover all QtWebKit portions
Origin: vendor
Author: Timo Jyrinki <timo@debian.org>
Last-Update: 2013-01-28 (use a similar patch on Qt 5)
Forwarded: no

Almost everything in Source/WebCore/generated was not build with
-fvisibility=hidden resulting into redundantly polluted and huge dynamic symbol
list in libQtWebKit.so.

Therefore, move +hide_symbols configuration parameter upwards in order for it
to cover everything including the offending Source/WebCore/CodeGenerators.pri

--- a/Source/QtWebKit.pro	2012-12-18 19:04:43.000000000 +0000
+++ b/Source/QtWebKit.pro	2013-01-28 08:25:56.342911517 +0000
@@ -7,6 +7,11 @@
 TEMPLATE = subdirs
 CONFIG += ordered

+CONFIG(release):!CONFIG(standalone_package) {
+    contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
+    unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions
+}
+
 api.file = api.pri
 SUBDIRS += api


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qt5-webkit</Name>
        <Homepage>http://qt.digia.com/</Homepage>
        <Packager>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Packager>
        <Summary>Classes for a WebKit2 based implementation and a new QML API</Summary>
        <Description>Classes for a WebKit2 based implementation and a new QML API</Description>
        <License>LGPLv2.1-linking-exception</License>
        <Archive sha1sum="25d0cc8d75f4cf794645b4b8dfec479a4996e438" type="tarxz">http://download.qt.io/community_releases/5.9/5.9.0-final/qtwebkit-opensource-src-5.9.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="5.9.3">qt5-base-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-sensors-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-location-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-declarative-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-webchannel-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-designer-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-linguist</Dependency>
            <Dependency versionFrom="5.9.3">qt5-qdbusviewer</Dependency>
            <Dependency versionFrom="5.9.3">qt5-multimedia-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-assistant-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-sql-sqlite</Dependency>
            <Dependency versionFrom="13.0.4">mesa-devel</Dependency>
            <Dependency>libXtst-devel</Dependency>
            <Dependency versionFrom="1.18">leveldb-devel</Dependency>
            <Dependency versionFrom="58.2">icu4c-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency versionFrom="2.50.2">glib2-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>ruby-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
            <Dependency>gstreamer-next-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>libpcre-devel</Dependency>
            <Dependency versionFrom="3.2.1">eudev-devel</Dependency>
            <Dependency versionFrom="2.7.13">python-devel</Dependency>
            <Dependency>webp-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency versionFrom="3.16.2">sqlite-devel</Dependency>
            <Dependency>perl-Digest-MD5</Dependency>
            <Dependency>perl-Text-ParseWords</Dependency>
            <Dependency>gperf</Dependency>
            <Dependency versionFrom="3.0.4">bison</Dependency>
            <Dependency versionFrom="2.6.1">flex</Dependency>
            <Dependency>qt5-phonon-devel</Dependency>
            <Dependency>gst-plugins-base-devel</Dependency>
            <Dependency versionFrom="1.10.3">gst-plugins-base-next-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">qtwebkit-opensource-src-5.0.1-debuginfo.patch</Patch>
            <Patch level="1">qtwebkit-opensource-src-5.2.0-save_memory.patch</Patch>
            <Patch level="1">qtwebkit-opensource-src-5.2.1-no_rpath.patch</Patch>
            <Patch level="1">webkit_qt_hide_symbols.diff</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>qt5-webkit</Name>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="library">/usr/lib/qt5/plugins/webkit</Path>
            <Path fileType="library">/usr/lib/qt5/</Path>
            <Path fileType="executable">/usr/lib/qt5/bin/</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency versionFrom="5.9.3">qt5-base</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>webp</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>icu4c</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>sqlite</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>libxslt</Dependency>
            <Dependency>libXrender</Dependency>
            <Dependency versionFrom="5.9.3">qt5-sensors</Dependency>
            <Dependency versionFrom="5.9.3">qt5-webchannel</Dependency>
            <Dependency>libXcomposite</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>gstreamer-next</Dependency>
            <Dependency>gst-plugins-base</Dependency>
            <Dependency>gst-plugins-base-next</Dependency>
            <Dependency versionFrom="5.9.3">qt5-location</Dependency>
            <Dependency versionFrom="5.9.3">qt5-declarative</Dependency>
        </RuntimeDependencies>
    </Package>

    <Package>
        <Name>qt5-webkit-devel</Name>
        <Files>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="header">/usr/include/qt5/</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency release="current">qt5-webkit</Dependency>
            <Dependency versionFrom="5.9.3">qt5-base-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>webp-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>icu4c-devel</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>libXrender-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-sensors-devel</Dependency>
            <Dependency>libXcomposite-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
            <Dependency>gst-plugins-base-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-declarative-devel</Dependency>
        </RuntimeDependencies>
    </Package>

    <History>
        <Update release="7">
            <Date>2018-01-18</Date>
            <Version>5.9.0</Version>
            <Comment>Version bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2017-02-26</Date>
            <Version>5.7.1</Version>
            <Comment>Release Bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-10-22</Date>
            <Version>5.6.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-06-09</Date>
            <Version>5.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-05-16</Date>
            <Version>5.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-01</Date>
            <Version>5.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-17</Date>
            <Version>5.6.0</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>qt5-webkit</Name>
        WebKit2 tabanlı uygulama ve yeni QML API için sınıflar
        <Description xml:lang="tr">WebKit2 tabanlı uygulama ve yeni QML API için sınıflar</Description>
    </Source>

    <Package>
        <Name>qt5-webkit-devel</Name>
        qt5-webkit için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/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()
    qt5.make("docs")

def install():
    qt5.install("INSTALL_ROOT=%s install_docs" % 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-websockets/", "LGPL_EXCEPTION.txt")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qt5-websockets</Name>
        <Homepage>http://qt.digia.com/</Homepage>
        <Packager>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Packager>
        <Summary>Provides WebSocket communication compliant with RFC 6455</Summary>
        <Description>Provides WebSocket communication compliant with RFC 6455</Description>
        <License>LGPLv2.1-linking-exception</License>
        <Archive sha1sum="df87d590792b7b634da9b7a34ad2a692f684902d" type="tarxz">http://download.qt.io/official_releases/qt/5.9/5.9.3/submodules/qtwebsockets-opensource-src-5.9.3.tar.xz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="5.9.3">qt5-base-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-declarative-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-assistant-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-sql-sqlite</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>qt5-websockets</Name>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="library">/usr/lib/qt5</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency versionFrom="5.9.3">qt5-base</Dependency>
            <Dependency versionFrom="5.9.3">qt5-declarative</Dependency>
        </RuntimeDependencies>
    </Package>

    <Package>
        <Name>qt5-websockets-devel</Name>
        <Files>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="header">/usr/include/qt5</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency release="current">qt5-websockets</Dependency>
            <Dependency versionFrom="5.9.3">qt5-base-devel</Dependency>
        </RuntimeDependencies>
    </Package>

     <Package>
        <Name>qt5-websockets-docs</Name>
        <Files>
            <Path fileType="doc">/usr/share/doc/qt5</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency versionFrom="5.9.3">qt5-base</Dependency>
        </RuntimeDependencies>
    </Package>

    <History>
        <Update release="7">
            <Date>2018-01-18</Date>
            <Version>5.9.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2017-02-20</Date>
            <Version>5.7.1</Version>
            <Comment>Release bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-10-22</Date>
            <Version>5.6.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-06-09</Date>
            <Version>5.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-05-16</Date>
            <Version>5.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-01</Date>
            <Version>5.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-17</Date>
            <Version>5.6.0</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>qt5-websockets</Name>
        RFC 6455 ile yumuşak WebSocket iletişimi sağlar
        <Description xml:lang="tr">RFC 6455 ile yumuşak WebSocket iletişimi sağlar</Description>
    </Source>

    <Package>
        <Name>qt5-websockets-devel</Name>
        qt5-websockets için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/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()
    qt5.make("docs")

def install():
    qt5.install("INSTALL_ROOT=%s install_docs" % 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-x11extras/", "LGPL_EXCEPTION.txt")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qt5-x11extras</Name>
        <Homepage>http://qt.digia.com/</Homepage>
        <Packager>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Packager>
        <Summary>Provides platform-specific APIs for X11</Summary>
        <Description>Provides platform-specific APIs for X11</Description>
        <License>LGPLv2.1-linking-exception</License>
        <Archive sha1sum="c51d5a4e1ff42bb4ff17f170eb0792cf50a7b3ee" type="tarxz">http://download.qt.io/official_releases/qt/5.9/5.9.3/submodules/qtx11extras-opensource-src-5.9.3.tar.xz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="5.9.3">qt5-base-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-assistant-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-sql-sqlite</Dependency>
            <Dependency versionFrom="13.0.4">mesa-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>qt5-x11extras</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="5.9.3">qt5-base</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="library">/usr/lib/qt5</Path>
            <Path fileType="data">/usr/share/licenses</Path>
        </Files>
    </Package>

    <Package>
        <Name>qt5-x11extras-devel</Name>
        <Files>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="header">/usr/include/qt5/</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency release="current">qt5-x11extras</Dependency>
            <Dependency versionFrom="5.9.3">qt5-base-devel</Dependency>
        </RuntimeDependencies>
    </Package>

    <Package>
        <Name>qt5-x11extras-docs</Name>
        <Files>
            <Path fileType="doc">/usr/share/doc/qt5/</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency release="current">qt5-x11extras</Dependency>
            <Dependency>qt5-base</Dependency>
        </RuntimeDependencies>
    </Package>

    <History>
        <Update release="7">
            <Date>2018-02-01</Date>
            <Version>5.9.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2017-02-20</Date>
            <Version>5.7.1</Version>
            <Comment>Release bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-10-21</Date>
            <Version>5.6.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-06-09</Date>
            <Version>5.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-05-15</Date>
            <Version>5.6.0</Version>
            <Comment>Release Bump for gst</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-01</Date>
            <Version>5.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-17</Date>
            <Version>5.6.0</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>qt5-x11extras</Name>
        X11 için platforma özgü API'ler sağlar
        <Description xml:lang="tr">X11 için platforma özgü API'ler sağlar</Description>
    </Source>

    <Package>
        <Name>qt5-x11extras-devel</Name>
        qt5-x11extras için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/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()
    qt5.make("docs")

def install():
    qt5.install("INSTALL_ROOT=%s install_docs" % 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-xmlpatterns/", "LGPL_EXCEPTION.txt")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qt5-xmlpatterns</Name>
        <Homepage>http://qt.digia.com/</Homepage>
        <Packager>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Packager>
        <Summary>Support for XPath, XQuery, XSLT and XML schema validation</Summary>
        <Description>Support for XPath, XQuery, XSLT and XML schema validation</Description>
        <License>LGPLv2.1-linking-exception</License>
        <Archive sha1sum="691f6175e3c054a3a9e9362ce680c5bde58633a6" type="tarxz">http://download.qt.io/official_releases/qt/5.9/5.9.3/submodules/qtxmlpatterns-opensource-src-5.9.3.tar.xz</Archive>
        <BuildDependencies>
            <Dependency versionFrom="5.9.3">qt5-base-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-assistant-devel</Dependency>
            <Dependency versionFrom="5.9.3">qt5-sql-sqlite</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>qt5-xmlpatterns</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="5.9.3">qt5-base</Dependency>
            <Dependency>libgcc</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-xmlpatterns-devel</Name>
        <Files>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="header">/usr/include/qt5</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency release="current">qt5-xmlpatterns</Dependency>
            <Dependency versionFrom="5.9.3">qt5-base-devel</Dependency>
        </RuntimeDependencies>
    </Package>

    <Package>
        <Name>qt5-xmlpatterns-docs</Name>
        <RuntimeDependencies>
            <Dependency versionFrom="5.9.3">qt5-base</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc/qt5</Path>
        </Files>
    </Package>

    <History>
        <Update release="7">
            <Date>2018-02-01</Date>
            <Version>5.9.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="6">
            <Date>2017-02-20</Date>
            <Version>5.7.1</Version>
            <Comment>Release bump.</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="5">
            <Date>2016-10-22</Date>
            <Version>5.6.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2016-06-09</Date>
            <Version>5.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-05-15</Date>
            <Version>5.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-01</Date>
            <Version>5.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-17</Date>
            <Version>5.6.0</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>qt5-xmlpatterns</Name>
        XPath, XQuery, XSLT ve XML şema doğrulama için destek sağlar
        <Description xml:lang="tr">XPath, XQuery, XSLT ve XML şema doğrulama için destek sağlar</Description>
    </Source>

    <Package>
        <Name>qt5-xmlpatterns-devel</Name>
        qt5-xmlpatterns için geliştirme dosyaları
    </Package>
</PISI>


code:
#!/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 qt5
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

WorkDir="qt-creator-opensource-src-%s" % get.srcVERSION()
def setup():
    shelltools.system("qmake-qt5 qtcreator.pro CONFIG+=release QTC_PREFIX=/usr")

def build():
    qt5.make()
def install():
    qt5.install()


code:
[Desktop Entry]
Type=Application
Exec=qtcreator-bin
Name=Qt Creator
Name[tr]=Qt Geliştirme Ortamı
GenericName=C++ IDE for developing Qt applications
X-KDE-StartupNotify=true
Icon=QtProject-qtcreator
Terminal=false
Categories=Development;IDE;Qt;
MimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.nokia.qt.qmakeprofile;application/vnd.nokia.xml.qt.resource;


code:
<PISI>
    <Source>
        <Name>qtcreator</Name>
        <Homepage>http://qt-project.org/</Homepage>
        <Packager>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2</License>
        <PartOf>programming.environment</PartOf>
        <IsA>app:gui</IsA>
        Lightweight, cross-platform integrated development environment
        <Description>Lightweight, cross-platform integrated development environment</Description>
        <Archive type="tarxz" sha1sum="2cba3127258fbb2234a068ed964ff8caa28f1ffe">http://download.qt.io/official_releases/qtcreator/4.5/4.5.0/qt-creator-opensource-src-4.5.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>cmake</Dependency>
            <Dependency>git</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>openssh</Dependency>
            <Dependency>qt5-quickcontrols</Dependency>
            <Dependency versionFrom="5.7.1">qt5-base-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-declarative-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-linguist</Dependency>
            <Dependency versionFrom="5.7.1">qt5-quickcontrols2</Dependency>
            <Dependency versionFrom="5.7.1">qt5-svg-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-xmlpatterns</Dependency>
            <Dependency versionFrom="5.7.1">qt5-webkit-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-x11extras-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-assistant-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-designer-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-script-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-webengine-devel</Dependency>
            <Dependency>valgrind</Dependency>
            <Dependency>llvm-clang-devel</Dependency>
            <Dependency>llvm</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>qtcreator</Name>
        Lightweight, cross-platform integrated development environment
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency versionFrom="5.7.1">qt5-svg</Dependency>
            <Dependency versionFrom="5.7.1">qt5-base</Dependency>
            <Dependency versionFrom="5.7.1">qt5-base-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-script</Dependency>
            <Dependency versionFrom="5.7.1">qt5-webkit</Dependency>
            <Dependency versionFrom="5.7.1">qt5-designer</Dependency>
            <Dependency versionFrom="5.7.1">qt5-assistant</Dependency>
            <Dependency versionFrom="5.7.1">qt5-declarative</Dependency>
            <Dependency versionFrom="5.7.1">qt5-webengine</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/libexec/qtcreator</Path>
            <Path fileType="library">/usr/lib/qtcreator</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/licenses</Path>
            <Path fileType="data">/usr/share/qtcreator</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="icon">/usr/share/icons</Path>
            <Path fileType="data">/etc</Path>
            <Path fileType="data">/usr/share/metainfo</Path>
        </Files>
        <AdditionalFiles>

        </AdditionalFiles>
    </Package>

    <History>
        <Update release="6">
            <Date>2018-01-11</Date>
            <Version>4.5.0</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2017-05-13</Date>
            <Version>4.3.0</Version>
            <Comment>Version Bump</Comment>
            <Name>Ali Algul</Name>
            <Email>aligulle3801@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-19</Date>
            <Version>4.2.1</Version>
            <Comment>Version Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>4.0.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-22</Date>
            <Version>4.0.0</Version>
            <Comment>version bump and fixed prefix path</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-21</Date>
            <Version>3.6.1</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<PISI>
    <Source>
        <Name>qtcreator</Name>
        <Summary xml:lang="tr">Hafif, çapraz platform tümleşik geliştirme ortamı</Summary>
        <Description xml:lang="tr">Hafif, çapraz platform tümleşik geliştirme ortamı</Description>
    </Source>
</PISI>

<!-- By PiSiDo 2.3.1 -->


code:
# -*- 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 \
                          -DCMAKE_INSTALL_LIBDIR=/usr/lib \
                          -DPULL_TRANSLATIONS=no \
                          -DUSE_QT5=true", sourceDir="..")

def build():
    shelltools.cd("build")
    cmaketools.make()

def install():
    shelltools.cd("build")
    cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())

    shelltools.cd("..")
    pisitools.dodoc("LICENSE", "AUTHORS", "README.md", "CHANGELOG")


code:
<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>
        Terminal widget for Qt5
        <Description>A simple terminal widget for using with Qt5 based applications</Description>
        <Archive sha1sum="f345e8af88c9f2ab72764683eaa557071536f3e4" type="tarxz">https://github.com/lxde/qtermwidget/releases/download/0.8.0/qtermwidget-0.8.0.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency versionFrom="5.7.1">qt5-base-devel</Dependency>
            <Dependency versionFrom="5.7.1">qt5-linguist</Dependency>
        </BuildDependencies>
    </Source>
    <Package>
        <Name>qtermwidget5</Name>
        Development files for qtermwidget5
        <RuntimeDependencies>
            <Dependency>libgcc</Dependency>
            <Dependency versionFrom="5.7.1">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>
        Development files for qtermwidget5
        <RuntimeDependencies>
            <Dependency versionFrom="5.7.1">qt5-base-devel</Dependency>
            <Dependency release="current">qtermwidget5</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/share/cmake/qtermwidget5</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>
    <History>
        <Update release="5">
            <Date>2017-10-24</Date>
            <Version>0.8.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-31</Date>
            <Version>0.7.1</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-03-08</Date>
            <Version>0.7.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-17</Date>
            <Version>0.6.0</Version>
            <Comment>First release</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<PISI>
    <Source>
        <Name>qtermwidget5</Name>
        Qt tabanlı uygulamalar için basit bir terminal modulü
    </Source>
    <Package>
        <Name>qtermwidget5-devel</Name>
        qtermwidget5 için geliştirme dosyaları
    </Package>
</PISI>


code:
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

def setup():
    pisitools.flags.add("-fno-strict-aliasing")

    autotools.configure("--enable-gtk2 \
                         --enable-shared \
                         --disable-optimise \
                         --disable-debug \
                         --enable-no_deps \
                         --disable-rpath \
                         --enable-intl \
                         --enable-geometry \
                         --enable-timer \
                         --enable-unicode \
                         --enable-sound \
                         --enable-mediactrl \
                         --enable-xrc \
                         --enable-graphics_ctx \
                         --enable-display \
                         --enable-joystick \
                         --disable-gtktest \
                         --disable-sdltest \
                         --disable-precomp-headers \
                         --with-gtk=2 \
                         --with-libpng=sys \
                         --with-libjpeg=sys \
                         --with-libtiff=sys \
                         --with-libxpm=sys \
                         --with-sdl \
                         --without-gnomeprint \
                         --without-gnomevfs \
                         --without-odbc \
                         --with-opengl \
                         --with-regex=builtin \
                         --with-zlib=sys \
                         --with-expat=sys")

def build():
    autotools.make()
    autotools.make("-C locale allmo")

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    #autotools.install()

    pisitools.dodoc("docs/*.txt", "docs/*.htm")


code:
diff -up wxGTK-2.8.12/src/common/appbase.cpp.abicheck wxGTK-2.8.12/src/common/appbase.cpp
--- wxGTK-2.8.12/src/common/appbase.cpp.abicheck        2015-03-12 17:15:18.000000000 +0100
+++ wxGTK-2.8.12/src/common/appbase.cpp 2015-03-12 17:15:57.000000000 +0100
@@ -424,10 +424,7 @@ bool wxAppConsole::CheckBuildOptions(con
         msg.Printf(_T("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."),
                    lib.c_str(), progName.c_str(), prog.c_str());

-        wxLogFatalError(msg.c_str());
-
-        // normally wxLogFatalError doesn't return
-        return false;
+        wxLogWarning(msg.c_str());
     }
 #undef wxCMP


code:
From 73e9e18ea09ffffcaac50237def0d9728a213c02 Mon Sep 17 00:00:00 2001
From: Scott Talbert <swt@techie.net>
Date: Sat, 20 Feb 2016 00:08:14 -0500
Subject: [PATCH] Fix STC compilation with GCC6

Use std::abs() from <cmath> instead of abs() from <math.h> to avoid problems
with ambiguous overloads.

Closes #17147.

Closes https://github.com/wxWidgets/wxWidgets/pull/222
---
 src/stc/scintilla/src/Editor.cxx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/stc/scintilla/src/Editor.cxx b/src/stc/scintilla/src/Editor.cxx
index cd72953..2081df2 100644
--- a/src/stc/scintilla/src/Editor.cxx
+++ b/src/stc/scintilla/src/Editor.cxx
@@ -11,6 +11,7 @@
 #include <ctype.h>
 #include <assert.h>

+#include <cmath>
 #include <string>
 #include <vector>
 #include <map>
@@ -5841,9 +5842,9 @@ void Editor::GoToLine(int lineNo) {
 }

 static bool Close(Point pt1, Point pt2) {
-	if (abs(pt1.x - pt2.x) > 3)
+	if (std::abs(pt1.x - pt2.x) > 3)
 		return false;
-	if (abs(pt1.y - pt2.y) > 3)
+	if (std::abs(pt1.y - pt2.y) > 3)
 		return false;
 	return true;
 }


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>wxGTK</Name>
        <Homepage>http://www.wxwidgets.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>wxWinLL-3</License>
        <License>GPLv2</License>
        <License>LGPLv2</License>
        <License>wxWinFDL-3</License>
        <IsA>library</IsA>
        GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit
        <Description>wxWidgets/GTK2 is the GTK2 port of the C++ cross-platform wxWidgets GUI library, offering classes for all common GUI controls as well as a comprehensive set of helper classes for most common application tasks, ranging from networking to HTML display and image manipulation.</Description>
        <Archive sha1sum="6461eab4428c0a8b9e41781b8787510484dea800" type="tarbz2">mirrors://sourceforge/wxwindows/wxWidgets-3.0.2.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>zlib-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>expat-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>webkit-gtk2-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>gconf-devel</Dependency>
            <Dependency>gst-plugins-base-devel</Dependency>
            <Dependency>gst-plugins-base-next-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">make-abicheck-non-fatal.patch</Patch>
            <Patch level="1">wxgtk-gcc6.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>wxGTK</Name>
        <RuntimeDependencies>
            <Dependency>gtk2</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>tiff</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>expat</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libSM</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libXxf86vm</Dependency>
            <Dependency>webkit-gtk2</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>gst-plugins-base</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc/</Path>
            <Path fileType="data">/usr/share/aclocal/</Path>
            <Path fileType="data">/usr/share/bakefile/</Path>
            <Path fileType="library">/usr/lib/wx/config</Path>
            <Path fileType="localedata">/usr/share/locale/</Path>
        </Files>
    </Package>

    <Package>
        <Name>wxGTK-devel</Name>
        wxGTK-devel is the development files for wxGTK
        <RuntimeDependencies>
            <Dependency release="current">wxGTK</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-04-09</Date>
            <Version>3.0.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>3.0.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-23</Date>
            <Version>3.0.2</Version>
            <Comment>First release</Comment>
            <Name>İbrahim KARAGÜZEL</Name>
            <Email>ibrahimkaraguzel@windowslive.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>wxGTK</Name>
        Birçok platform için ortak C++ arayüz araç takımı olan wxWindows'un GTK+ sürümü
        <Description xml:lang="tr">wxWidgets/GTK2 birçok platform için ortak bir C++ arayüz kitaplığı olan wxWidgets'ın GTK2 sürümüdür. Ağ araçları, HTML gösterimi ve resim işleme gibi en yaygın kullanılan uygulama görevleri için kapsamlı bir sınıf kümesinin yanında tüm genel GUI denetimlerini içerir.</Description>
        <Description xml:lang="fr">wxWidgets/GTK2 est le port GTK2 de la librairie graphique multi-plateforme wxWidgets, offrant des classes pour les contrôles IHM communs ainsi qu'un ensemble complet de classes d'aides pour les tâches applicatives habituelles, allant du réseau à l'affichage HTML en passant par la manipulation d'images.</Description>
        <Description xml:lang="es">wxWidgets/GTK2 es la versión portada a GTK2 de la librería GUI wxWidgets cross-plataforma en C++, con clases para todos los controles GUI comunes y tambien un conjunto de clases con ayudantes para la mayoría de las tareas comunes de aplicaciones, desde networking a visualización HTML y manipulación de imagenes.</Description>
    </Source>

    <Package>
        <Name>wxGTK-devel</Name>
        wxGTK araç seti için geliştirme dosyaları
    </Package>
</PISI>


code:
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

def setup():
    pisitools.flags.add("-fno-strict-aliasing")
    pisitools.dosed("configure", '(wx_cv_std_libpath="lib)64"', r'\1"')

    autotools.configure("--enable-gtk2 \
                         --enable-shared \
                         --disable-optimise \
                         --disable-debug \
                         --enable-no_deps \
                         --disable-rpath \
                         --enable-intl \
                         --enable-geometry \
                         --enable-timer \
                         --enable-unicode \
                         --enable-sound \
                         --enable-mediactrl \
                         --enable-xrc \
                         --enable-graphics_ctx \
                         --enable-display \
                         --enable-joystick \
                         --disable-gtktest \
                         --disable-sdltest \
                         --disable-precomp-headers \
                         --with-gtk=2 \
                         --with-libpng=sys \
                         --with-libjpeg=sys \
                         --with-libtiff=sys \
                         --with-libxpm=sys \
                         --with-sdl \
                         --without-gnomeprint \
                         --without-gnomevfs \
                         --without-odbc \
                         --with-opengl \
                         --with-regex=builtin \
                         --with-zlib=sys \
                         --with-expat=sys")

def build():
    autotools.make()
    autotools.make("-C contrib")
    autotools.make("-C locale allmo")

def install():
    autotools.install()
    autotools.install("-C contrib")

    # dont add conflicts files
    # pisitools.dodoc("docs/*.txt", "docs/*.htm")
    #pisitools.dosym("/usr/bin/wxrc-2.8", "/usr/bin/wxrc")
    pisitools.dosym("/usr/bin/wx-config-2.8", "/usr/bin/wxconfig")
    # pisitools.rename("/usr/bin/wxrc-2.8", "wxrc")
    # pisitools.rename("/usr/bin/wx-config-2.8", "wxconfig")


code:
diff -up wxGTK-2.8.12/src/common/appbase.cpp.abicheck wxGTK-2.8.12/src/common/appbase.cpp
--- wxGTK-2.8.12/src/common/appbase.cpp.abicheck	2015-03-12 17:15:18.000000000 +0100
+++ wxGTK-2.8.12/src/common/appbase.cpp	2015-03-12 17:15:57.000000000 +0100
@@ -424,10 +424,7 @@ bool wxAppConsole::CheckBuildOptions(con
         msg.Printf(_T("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."),
                    lib.c_str(), progName.c_str(), prog.c_str());

-        wxLogFatalError(msg.c_str());
-
-        // normally wxLogFatalError doesn't return
-        return false;
+        wxLogWarning(msg.c_str());
     }
 #undef wxCMP


code:
Index: wxGTK-2.8.11/configure.in
===================================================================
--- wxGTK-2.8.11.orig/configure.in
+++ wxGTK-2.8.11/configure.in
@@ -5418,7 +5418,7 @@ if test "$TOOLKIT" != "MSW" -a "$USE_OS2
         dnl define the list of the thread options to try in the loop below
         dnl with the convention that anything starting with '-' is a cpp flag
         dnl while anything else is a library (i.e. there is an implicit "-l")
-        THREAD_OPTS="-pthread"
+        THREAD_OPTS="pthread"
         case "${host}" in
           *-*-solaris2* | *-*-sunos4* )
                 if test "x$GCC" = "xyes"; then
Index: wxGTK-2.8.11/configure
===================================================================
--- wxGTK-2.8.11.orig/configure
+++ wxGTK-2.8.11/configure
@@ -39579,7 +39579,7 @@ echo "$as_me: WARNING: BeOS threads are
     if test "$wxUSE_THREADS" = "yes" ; then

-                                THREAD_OPTS="-pthread"
+                                THREAD_OPTS="pthread"
         case "${host}" in
           *-*-solaris2* | *-*-sunos4* )
                 if test "x$GCC" = "xyes"; then


code:
 https://bugs.gentoo.org/show_bug.cgi?id=280615
 http://svn.python.org/view?view=rev&revision=74429

--- src/expat/lib/xmltok_impl.c	2009-08-21 23:26:35.000000000 +0200
+++ src/expat/lib/xmltok_impl.c.oden	2009-08-21 23:26:47.000000000 +0200
@@ -1741,7 +1741,7 @@ PREFIX(updatePosition)(const ENCODING *e
                        const char *end,
                        POSITION *pos)
 {
-  while (ptr != end) {
+  while (ptr < end) {
     switch (BYTE_TYPE(enc, ptr)) {
 #define LEAD_CASE(n) \
     case BT_LEAD ## n: \


code:
diff -Naur wxPython-src-2.8.7.1-orig/contrib/src/Makefile.in wxPython-src-2.8.7.1/contrib/src/Makefile.in
--- wxPython-src-2.8.7.1-orig/contrib/src/Makefile.in	2007-07-27 17:57:27.000000000 -0600
+++ wxPython-src-2.8.7.1/contrib/src/Makefile.in	2007-12-28 17:34:28.000000000 -0600
@@ -1,6 +1,6 @@
 # $Id: wxGTK-2.8.7-mmedia.patch,v 1.1 2008/01/06 22:47:55 dirtyepic Exp $

-CONTRIB_SUBDIRS=fl gizmos mmedia ogl plot stc svg #deprecated #applet
+CONTRIB_SUBDIRS=fl gizmos ogl plot stc svg #deprecated #applet mmedia

 all:
 	@for d in $(CONTRIB_SUBDIRS); do (cd $$d && $(MAKE)); done


code:
diff -Naur wxGTK-2.8.8/configure wxGTK-2.8.8.oden/configure
--- wxGTK-2.8.8/configure	2008-06-20 05:07:14.000000000 -0400
+++ wxGTK-2.8.8.oden/configure	2008-07-10 08:14:03.000000000 -0400
@@ -46574,7 +46574,7 @@
 EXTRALIBS_MEDIA="$GST_LIBS"
 EXTRALIBS_ODBC="$ODBC_LINK"
 if test "$wxUSE_GUI" = "yes"; then
-    EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
+    EXTRALIBS_GUI="`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT` -lX11"
 fi
 if test "$wxUSE_OPENGL" = "yes"; then
     EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
diff -Naur wxGTK-2.8.8/configure.in wxGTK-2.8.8.oden/configure.in
--- wxGTK-2.8.8/configure.in	2008-06-20 05:07:14.000000000 -0400
+++ wxGTK-2.8.8.oden/configure.in	2008-07-10 08:13:44.000000000 -0400
@@ -7927,7 +7927,7 @@
 EXTRALIBS_MEDIA="$GST_LIBS"
 EXTRALIBS_ODBC="$ODBC_LINK"
 if test "$wxUSE_GUI" = "yes"; then
-    EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
+    EXTRALIBS_GUI="`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT` -lX11"
 fi
 if test "$wxUSE_OPENGL" = "yes"; then
     EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>wxGTK2.8</Name>
        <Homepage>http://www.wxwidgets.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>wxWinLL-3</License>
        <License>GPLv2</License>
        <License>LGPLv2</License>
        <License>wxWinFDL-3</License>
        <IsA>library</IsA>
        GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit
        <Description>wxWidgets/GTK2 is the GTK2 port of the C++ cross-platform wxWidgets GUI library, offering classes for all common GUI controls as well as a comprehensive set of helper classes for most common application tasks, ranging from networking to HTML display and image manipulation.</Description>
        <Archive sha1sum="a8d31ef924ae49e97690646b13d5a2a7be7dda10" type="tarbz2">mirrors://sourceforge/wxwindows/wxGTK-2.8.12.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>gst-plugins-base-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>libXinerama-devel</Dependency>
            <Dependency>libXxf86vm-devel</Dependency>
            <Dependency>libsdl-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">make-abicheck-non-fatal.patch</Patch>
            <Patch level="1">wxGTK-collision.patch</Patch>

            <Patch>wxGTK-2.8.10-CVE-2009-XXXX.diff</Patch>
            <Patch level="1">wxGTK-2.8.12.1-r2-gcc6.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>wxGTK2.8</Name>
        <RuntimeDependencies>
            <Dependency>gst-plugins-base</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>libSM</Dependency>
            <Dependency>libXinerama</Dependency>
            <Dependency>libXxf86vm</Dependency>
            <Dependency>libsdl</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>tiff</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency release="current">wxBase</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/wx-config-2.8</Path>
            <Path fileType="executable">/usr/bin/wxconfig</Path>
            <Path fileType="library">/usr/lib/libwx_gtk*</Path>
            <Path fileType="library">/usr/lib/wx/config/gtk2-unicode-release-2.8</Path>
        </Files>
    </Package>

    <Package>
        <Name>wxGTK2.8-devel</Name>
        wxGTK-devel is the development files for wxGTK
        <RuntimeDependencies>
            <Dependency release="current">wxBase-devel</Dependency>
            <Dependency release="current">wxGTK2.8</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/lib/wx/include</Path>
        </Files>
    </Package>

    <Package>
        <Name>wxBase</Name>
        wxBase is the GUI independent part of wxWidgets
        <RuntimeDependencies>
            <Dependency>libunwind</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>expat</Dependency>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/wxrc</Path>
            <Path fileType="executable">/usr/bin/wxrc-2.8</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/bakefile</Path>
            <Path fileType="locale">/usr/share/locale</Path>
            <Path fileType="library">/usr/lib/libwx_base*</Path>
        </Files>
    </Package>

    <Package>
        <Name>wxBase-devel</Name>
        wxBase-devel is the development files for wxBase
        <RuntimeDependencies>
            <Dependency release="current">wxGTK2.8</Dependency>
            <Dependency release="current">wxBase</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>expat-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-04-11</Date>
            <Version>2.8.12</Version>
            <Comment>Release Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.8.12</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-01-05</Date>
            <Version>2.8.12</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>wxGTK</Name>
        Birçok platform için ortak C++ arayüz araç takımı olan wxWindows'un GTK+ sürümü
        <Description xml:lang="tr">wxWidgets/GTK2 birçok platform için ortak bir C++ arayüz kitaplığı olan wxWidgets'ın GTK2 sürümüdür. Ağ araçları, HTML gösterimi ve resim işleme gibi en yaygın kullanılan uygulama görevleri için kapsamlı bir sınıf kümesinin yanında tüm genel GUI denetimlerini içerir.</Description>
        <Description xml:lang="fr">wxWidgets/GTK2 est le port GTK2 de la librairie graphique multi-plateforme wxWidgets, offrant des classes pour les contrôles IHM communs ainsi qu'un ensemble complet de classes d'aides pour les tâches applicatives habituelles, allant du réseau à l'affichage HTML en passant par la manipulation d'images.</Description>
        <Description xml:lang="es">wxWidgets/GTK2 es la versión portada a GTK2 de la librería GUI wxWidgets cross-plataforma en C++, con clases para todos los controles GUI comunes y tambien un conjunto de clases con ayudantes para la mayoría de las tareas comunes de aplicaciones, desde networking a visualización HTML y manipulación de imagenes.</Description>
    </Source>

    <Package>
        <Name>wxGTK-devel</Name>
        wxGTK araç seti için geliştirme dosyaları
    </Package>

    <Package>
        <Name>wxBase</Name>
        wxWidgets/wxGTK için arayüz bağımsız olan kitaplıklar
    </Package>

    <Package>
        <Name>wxBase-devel</Name>
        wxBase sınıfları için geliştirme dosyaları
    </Package>

</PISI>


code:
<PISI>
    <SourceName>PisiLinux</SourceName>
    <Version>2.0</Version>
    <Description xml:lang="tr">PisiLinux 2.0 main Deposu</Description>
    <Description xml:lang="en">PisiLinux 2.0 main Repository</Description>
    <Description xml:lang="es">PisiLinux 2.0 main Repositorio</Description>
    <Description xml:lang="nl">PisiLinux 2.0 main Opslagplaats</Description>
    <Type>Core</Type>
    <BinaryName>PisiLinux</BinaryName>
    <Obsoletes>
           <!--glibc-32bit merge in glibc-->
           <Package>glibc-32bit</Package>
           <Package>libfreebob</Package>
           <Package>libfreebob-devel</Package>
           <!-- separeted, replaced packages-->
           <Package>kdgantt2</Package>
           <Package>gpgmepp</Package>
           <Package>kde-baseapps</Package>
           <Package>kde-baseapps-devel</Package>
           <Package>prison-qt5</Package>
           <Package>xorg-video-modesetting</Package>
           <!--for yali -->
           <!--Package>busybox-mkinitcpio</Package>
           <Package>mkinitcpio</Package>
           <Package>Calamares</Package>
           <Package>calamares-theme-pisilinux</Package-->
           <!--no longer avilable, replaced qt5-quickcontrols2-->
           <Package>qt5-quick1</Package>
           <Package>qt5-quick1-devel</Package>
           <Package>xorriso</Package>
      </Obsoletes>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    autotools.configure("--disable-static \
                        --disable-update-databases \
                        --disable-xml-catalog-update")

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README", "TODO")


code:
#!/usr/bin/python

import os

def postInstall(fromVersion, fromRelease, toVersion, toRelease):
    os.system("/usr/bin/xmlcatalog  --noout \
            --add 'public' 'Bluefish/DTD/Bflang' 'bflang.dtd' \
            --add 'system' 'http://bluefish.openoffice.nl/DTD/bflang.dtd' 'bflang.dtd' \
            --add 'rewriteURI' 'http://bluefish.openoffice.nl/DTD' '/usr/share/xml/bluefish-unstable' \
            /etc/xml/catalog")

def preRemove():
    os.system("/usr/bin/xmlcatalog  --noout \
            --del 'Bluefish/DTD/Bflang' \
            --del 'http://bluefish.openoffice.nl/DTD/bflang.dtd' \
            --del 'http://bluefish.openoffice.nl/DTD' \
            /etc/xml/catalog")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>bluefish</Name>
        <Homepage>http://bluefish.openoffice.nl/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        <Icon>bluefish</Icon>
        <IsA>app:gui</IsA>
        <Summary>A powerful editor for experienced web designers and programmers</Summary>
        <Description>Bluefish is a powerful editor for experienced web designers and programmers. Bluefish supports many programming and markup languages, but it focuses on editing dynamic and interactive websites.</Description>
        <Archive sha1sum="abb2080b5cbc65cd9c7551572ac21012c5ee2031" type="tarbz2">http://www.bennewitz.com/bluefish/stable/source/bluefish-2.2.10.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>m4</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>intltool</Dependency>
            <Dependency>perl</Dependency>
            <Dependency>automake</Dependency>
            <Dependency>libtool</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>atk-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>enchant-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>bluefish</Name>
        <RuntimeDependencies>
            <Dependency>gtk3</Dependency>
            <Dependency>atk</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>enchant</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>glibc</Dependency>
            <Dependency>libxml2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/bluefish</Path>
            <Path fileType="doc">/usr/share/doc/bluefish</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/mime</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/usr/share/appdata</Path>
            <Path fileType="data">/usr/share/xml/bluefish</Path>
        </Files>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="5">
            <Date>2017-05-08</Date>
            <Version>2.2.10</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2016-12-12</Date>
            <Version>2.2.9</Version>
            <Comment>Version bump</Comment>
            <Name>Stefan Gronewold</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2014-02-11</Date>
            <Version>2.2.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2013-03-05</Date>
            <Version>2.2.4</Version>
            <Comment>Version bump</Comment>
            <Name>Ertan Güven</Name>
            <Email>ertan@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2013-01-10</Date>
            <Version>2.2.3</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>bluefish</Name>
        <Summary xml:lang="tr">Deneyimli web tasarımcıları ve programcıları için güçlü bir düzenleyici</Summary>
        <Description xml:lang="tr">Bluefish web sayfası tasarım ve hazırlanmasında kullanılan güçlü bir düzenleyicidir.</Description>
    </Source>
</PISI>


code:
<PISI>
    <Name>editor</Name>
</PISI>


code:
#!/usr/bin/env 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 pisitools
from pisi.actionsapi import qt5

NoStrip = "/"

def setup():
    qt5.configure()

def build():
    qt5.make()

def install():
    qt5.install()

    pisitools.dodoc("LICENSE.md", "README.md")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>cutemarked</Name>
        <Homepage>http://cloose.github.io/CuteMarkEd</Homepage>
        <Packager>
            <Name>Stefan Gronewold (groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <Summary>Qt Markdown Editor</Summary>
        <Description>A Qt-based, free and open source markdown editor with live HTML preview, math expressions, code syntax highlighting and syntax highlighting of markdown document.</Description>
        <Archive sha1sum="221a3214982d3e3461f16fceff26c9c6c0b1bad5" type="targz">https://github.com/cloose/CuteMarkEd/archive/v0.11.3.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-webkit-devel</Dependency>
            <Dependency>hunspell-devel</Dependency>
            <Dependency>qt5-assistant-devel</Dependency>
            <Dependency>qt5-designer-devel</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>discount-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>cutemarked</Name>
        <RuntimeDependencies>
            <Dependency>qt5-base</Dependency>
            <Dependency>qt5-webkit</Dependency>
            <Dependency>hunspell</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>discount</Dependency>
        </RuntimeDependencies>
        -->
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib/qt5</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2017-05-08</Date>
            <Version>0.11.3</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2016-07-18</Date>
            <Version>0.11.3</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold (groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>cutemarked</Name>
        <Summary xml:lang="tr">Qt Markdown Editor</Summary>
        <Description xml:lang="tr">A Qt-based, free and open source markdown editor with live HTML preview, math expressions, code syntax highlighting and syntax highlighting of markdown document.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt

from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools

def install():
    pisitools.insinto("/", "usr")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>discount</Name>
        <Homepage>https://github.com/Orc/discount</Homepage>
        <Packager>
            <Name>Stefan Gronewold (groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>app:console</IsA>
        A Markdown implementation written in C
        <Description>implementation of the Markdown markup language in C</Description>
        <Archive sha1sum="68dd1b6c61b7ad62ceef9ae2bd83eeb53a6939d5" type="targz">https://sourceforge.net/projects/pisilinux/files/source/discount-2.2.1.tar.gz</Archive>
    </Source>

    <Package>
        <Name>discount</Name>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>discount-devel</Name>
        Development files for discount
        <RuntimeDependencies>
            <Dependency release="current">discount</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2017-05-08</Date>
            <Version>2.2.1</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2016-11-06</Date>
            <Version>2.2.1</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold (groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>discount</Name>
        <Summary xml:lang="tr">A Markdown implementation written in C</Summary>
        <Description xml:lang="tr">implementation of the Markdown markup language in C</Description>
    </Source>
</PISI>


code:
<PISI>
    <Name>editor.emacs</Name>
</PISI>


code:
#!/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 get

WorkDir = "color-theme-%s" % get.srcVERSION()

def install():
    for data in ['*.el', 'themes']:
        pisitools.insinto('/usr/share/emacs/site-lisp/color-theme/', data)

    pisitools.dodoc('README', 'COPYING', 'BUGS', 'AUTHORS', 'ChangeLog')


code:
;;; color-theme site-lisp configuration

(add-to-list 'load-path "/usr/share/emacs/site-lisp/color-theme/")
(require 'color-theme)
(color-theme-initialize)


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>emacs-color-theme</Name>
        <Homepage>http://www.emacswiki.org/cgi-bin/wiki?ColorTheme</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>data</IsA>
        <Summary>Emacs-Lisp color theme package</Summary>
        <Description>Colortheme is an Emacs-Lisp package with more than 50 color themes for your use.</Description>
        <Archive sha1sum="047d6cb207fdef66b25343479ebe09a1ed3954b5" type="targz">http://download.gna.org/color-theme/color-theme-6.6.0.tar.gz</Archive>
    </Source>

    <Package>
        <Name>emacs-color-theme</Name>
        <RuntimeDependencies>
            <Dependency>emacs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/etc/emacs/site-lisp</Path>
            <Path fileType="data">/usr/share/emacs/site-lisp/color-theme</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile target="/etc/emacs/site-lisp/80-color-theme.el">80-color-theme.el</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-05-10</Date>
            <Version>6.6.0</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>6.6.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-12-24</Date>
            <Version>6.6.0</Version>
            <Comment>First release</Comment>
            <Name>Ilker Manap</Name>
            <Email>ilkermanap@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>emacs-color-theme</Name>
        <Summary xml:lang="tr">Emacs-List renk paketi</Summary>
        <Description xml:lang="tr">Colortheme 50'den fazla renk temasını biraraya getiren bir Emacs-Lisp paketidir.</Description>
    </Source>
</PISI>


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

WorkDir = "mmm-mode-%s" % get.srcVERSION()

def setup():
    autotools.configure("--with-emacs \
                         --with-lispdir=/usr/share/emacs/site-lisp/mmm-mode")
def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.doinfo("*.info*")
    pisitools.dodoc("AUTHORS", "ChangeLog", "README*", "NEWS")


code:
;;; mmm-mode site-lisp configuration

(add-to-list 'load-path "/usr/share/emacs/site-lisp/mmm-mode")
(require 'mmm-auto)


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>emacs-mmm-mode</Name>
        <Homepage>http://mmm-mode.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>data</IsA>
        <Summary>Multiple Major Mode module for Emacs</Summary>
        <Description>MMM Mode is an emacs add-on package providing a minor mode that allows Multiple Major Modes to coexist in one buffer.</Description>
        <Archive sha1sum="816a5f32ccd79c7391a9e2aa1f0c57699ca9325e" type="targz">mirrors://sourceforge/mmm-mode/mmm-mode-0.5.4.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>emacs</Dependency>
            <Dependency>gtk2-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>emacs-mmm-mode</Name>
        <RuntimeDependencies>
            <Dependency>emacs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="info">/usr/share/info</Path>
            <Path fileType="data">/usr/share/emacs</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile permission="0644" target="/etc/emacs/site-lisp/80-mmm-mode.el">80-mmm-mode.el</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-05-10</Date>
            <Version>0.5.4</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.5.4</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-01-02</Date>
            <Version>0.5.4</Version>
            <Comment>First release</Comment>
            <Name>Ilker Manap</Name>
            <Email>ilkermanap@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>emacs-mmm-mode</Name>
        <Summary xml:lang="tr">Emacs Çoklu Ana Kip eklentisi</Summary>
        <Description xml:lang="tr">MMM (Multiple Major Mode), Emacs uygulamasının bir tamponda aynı anda birden fazla ana kip kullanılmasına imkân veren bir eklentidir.</Description>
    </Source>
</PISI>


code:
#!/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 get

WorkDir = "php-mode-%s" % get.srcVERSION()

def install():
    pisitools.insinto("/usr/share/emacs/site-lisp", "*.el")


code:
;;; php-mode site-lisp configuration

(autoload 'php-mode "php-mode" "Major mode for editing PHP code." t)
(add-to-list 'auto-mode-alist '("\\.php[s34]?\\'" . php-mode))
(add-to-list 'auto-mode-alist '("\\.phtml\\'" . php-mode))
(add-to-list 'auto-mode-alist '("\\.inc\\'" . php-mode))


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>emacs-php-mode</Name>
        <Homepage>http://php-mode.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>data</IsA>
        <Summary>PHP mode for Emacs</Summary>
        <Description>php-mode is an add-on for Emacs to help work with PHP files more efficiently.</Description>
        <Archive sha1sum="601331294476551cbc261a4fc9fa6d0aef43a503" type="targz">https://github.com/ejmr/php-mode/archive/v1.18.2.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>emacs</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>emacs-php-mode</Name>
        <RuntimeDependencies>
            <Dependency>emacs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="data">/usr/share/emacs</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile permission="0644" target="/etc/emacs/site-lisp/80-php-mode.el">80-php-mode.el</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-05-10</Date>
            <Version>1.18.2</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-10</Date>
            <Version>1.17.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-04-02</Date>
            <Version>1.17.0</Version>
            <Comment>First release</Comment>
            <Name>Ilker Manap</Name>
            <Email>ilkermanap@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>emacs-php-mode</Name>
        <Summary xml:lang="tr">Emacs için PHP kipi</Summary>
        <Description xml:lang="tr">php-mode, kullanıcının PHP dosyalarıyla daha hızlı çalışabilmesi için bir eklentidir.</Description>
    </Source>
</PISI>


code:
#!/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 pisitools
from pisi.actionsapi import get

#WorkDir = "python-mode.el-6.0.11"

def install():
    pisitools.insinto("/usr/share/emacs/site-lisp/python", "*.el", "python-mode.el")


code:
;;; python-mode site-lisp configuration
(add-to-list 'load-path "/usr/share/emacs/site-lisp/python/")

(autoload 'python-mode "python-mode" "Python editing mode." t)
(autoload 'jython-mode "python-mode" "Python editing mode." t)
(autoload 'py-shell "python-mode" "Start an interactive Python interpreter in another window." t)
(autoload 'doctest-mode "doctest-mode" "Editing mode for Python Doctest examples." t)
(autoload 'py-complete "pycomplete" "Complete a symbol at point using Pymacs." t)

(add-to-list 'auto-mode-alist '("\\.py$" . python-mode))
(add-to-list 'auto-mode-alist '("\\.doctest$" . doctest-mode))

(add-to-list 'interpreter-mode-alist '("python" . python-mode))
(add-to-list 'interpreter-mode-alist '("jython" . jython-mode))

;; Add menu
(require 'easymenu)
(easy-menu-add-item nil '("tools") ["PYTHON" python-mode t])


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>emacs-python</Name>
        <Homepage>http://python-mode.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>Emacs major mode for editing Python source code</Summary>
        <Description>emacs-python makes a number of editing and debugging features available to Python programmers who use GNU Emacs or XEmacs.</Description>
        <Archive sha1sum="2fc4497dcfd80b6f3767270492dde5e6c99dfbc5" type="targz">https://launchpad.net/python-mode/trunk/6.2.3/+download/python-mode.el-6.2.3.tar.gz</Archive>
    </Source>

    <Package>
        <Name>emacs-python</Name>
        <RuntimeDependencies>
            <Dependency>pymacs</Dependency>
            <Dependency>emacs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/emacs</Path>
            <Path fileType="data">/usr/share/emacs</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/emacs/site-lisp/80-python.el">80-python.el</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-05-09</Date>
            <Version>6.2.3</Version>
            <Comment>Version bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>6.2.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-12-05</Date>
            <Version>6.2.1</Version>
            <Comment>First release</Comment>
            <Name>Ilker Manap</Name>
            <Email>ilkermanap@gmail.com</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>emacs-python</Name>
        <Summary xml:lang="tr">Python kaynak kodlarını düzenlemek için emacs kipi</Summary>
        <Description xml:lang="tr">Python programcıları için birçok kod düzenleme ve hata ayıklama özelliği sağlar.</Description>
    </Source>
</PISI>


code:
#!/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
import os

def removeCruft():
    for root, dirs, files in os.walk(get.installDIR()):
        for name in files:
            if name.endswith(".el.gz"):
                shelltools.unlink(os.path.join(root, name))

def setup():
    #autotools.autoreconf("-fvi")
    autotools.configure("--with-x-toolkit=gtk \
                         --with-xft \
                         --with-modules")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    # Remove versioned copy
    #pisitools.remove("/usr/bin/emacs-*")
    #removeCruft()

    pisitools.dodoc("ChangeLog", "BUGS", "README", "COPYING")


code:
# -*- coding: utf-8 -*-

import piksemel
import os
import subprocess

def byteCompile(filepath):
    doc = piksemel.parse(filepath)
    for item in doc.tags("File"):
        path = item.getTagData("Path")
        if path.endswith(".el") and not os.path.exists("/%sc" % path):
            subprocess.call(["/usr/bin/emacs", "--no-init-file", "--no-site-file", "--multibyte", "-batch", "-f", "batch-byte-compile", "/%s" % path])

def removeByteCompiled(filepath):
    doc = piksemel.parse(filepath)
    for item in doc.tags("File"):
        path = item.getTagData("Path")
        if path.endswith(".el"):
            try:
                # Remove .elc
                os.unlink("/%sc" % path)
            except OSError:
                pass

def setupPackage(metapath, filepath):
    byteCompile(filepath)

def cleanupPackage(metapath, filepath):
    removeByteCompiled(filepath)


code:
;;; nxml site-lisp configuration

(require 'nxml-mode)
(fset 'xml-mode 'nxml-mode)
(setq nxml-child-indent 4)
(add-hook 'nxml-mode-hook
          (lambda ()
            (setq indent-tabs-mode nil)))
(setq auto-mode-alist
      (cons '("\\.\\(xml\\|xsl\\|rng\\|xhtml\\)\\'" . nxml-mode)
            auto-mode-alist))


code:
--- src/image.c
+++ src/image.c	2013-05-21 15:49:41.945819346 +0000
@@ -7192,7 +7192,11 @@ gif_load (struct frame *f, struct image
 	}

       /* Open the GIF file.  */
+#if GIFLIB_MAJOR < 5
       gif = fn_DGifOpenFileName (SSDATA (file));
+#else
+      gif = fn_DGifOpenFileName (SSDATA (file), NULL);
+#endif
       if (gif == NULL)
 	{
 	  image_error ("Cannot open `%s'", file, Qnil);
@@ -7213,7 +7217,11 @@ gif_load (struct frame *f, struct image
       memsrc.len = SBYTES (specified_data);
       memsrc.index = 0;

+#if GIFLIB_MAJOR < 5
       gif = fn_DGifOpen (&memsrc, gif_read_from_memory);
+#else
+      gif = fn_DGifOpen (&memsrc, gif_read_from_memory, NULL);
+#endif
       if (!gif)
 	{
 	  image_error ("Cannot open memory source `%s'", img->spec, Qnil);


code:
[Desktop Entry]
Encoding=UTF-8
Name=Emacs
Name[bn]=ইম্যাক্স
Name[eo]=Emakso
Name[hi]=ईमेक्स
Name[ko]=이맥스
Name[ne]=इमाक्स
Name[te]=ఈమెక్స్
GenericName=Text Editor
GenericName[af]=Teks Redigeerder
GenericName[az]=Mətn Editoru
GenericName[be]=Тэкставы рэдактар
GenericName[bg]=Текстов редактор
GenericName[bn]=টেক্সট সম্পাদক
GenericName[br]=Aozer skrid
GenericName[bs]=Tekst editor
GenericName[ca]=Editor de text
GenericName[cs]=Textový editor
GenericName[csb]=Tekstowi editora
GenericName[cy]=Golygydd Testun
GenericName[da]= Teksteditor
GenericName[de]=Texteditor
GenericName[el]=Επεξεργαστής κειμένου
GenericName[eo]=Tekstredaktilo
GenericName[es]=Editor de texto
GenericName[et]=Tekstiredaktor
GenericName[eu]=Testu editorea
GenericName[fa]=ویرایشگر متن
GenericName[fi]=Tekstieditori
GenericName[fo]=Tekstritil
GenericName[fr]=Éditeur de texte
GenericName[fy]=Tekstbewurker
GenericName[ga]=Eagarthóir Téacs
GenericName[gl]=Editor de Textos
GenericName[he]=עורך טקסט
GenericName[hi]=पाठ संपादक
GenericName[hr]=Uređivač teksta
GenericName[hsb]=Wobdźěłar tekstow
GenericName[hu]=Szövegszerkesztő
GenericName[is]=Textaritill
GenericName[it]=Editor di testi
GenericName[ja]=テキストエディタ
GenericName[kk]=Мәтін редакторы
GenericName[km]=កម្មវិធីវាយអត្ថបទ
GenericName[ko]=글월 편집기
GenericName[lo]=ເຄື່ອງມືແກ້ໄຂຂໍ້ຄວາມ
GenericName[lt]=Teksto rengyklė
GenericName[lv]=Teksta Redaktors
GenericName[mk]=Уредувач на текст
GenericName[mn]=Текст боловсруулагч
GenericName[ms]=Penyunting Teks
GenericName[mt]=Editur tat-test
GenericName[nb]=Skriveprogram
GenericName[nds]=Texteditor
GenericName[ne]=पाठ सम्पादक
GenericName[nl]=Teksteditor
GenericName[nn]=Skriveprogram
GenericName[nso]=Mofetosi wa Sengwalwana
GenericName[pa]=ਪਾਠ ਸੰਪਾਦਕ
GenericName[pl]=Edytor tekstu
GenericName[pt]=Editor de Texto
GenericName[pt_BR]=Editor de Texto
GenericName[ro]=Editor de text
GenericName[ru]=Текстовый редактор
GenericName[rw]=Muhinduzi Umwandiko
GenericName[se]=Čállinprográmma
GenericName[sk]=Textový editor
GenericName[sl]=Urejevalnik besedil
GenericName[sr]=Уређивач текста
GenericName[sr@Latn]=Uređivač teksta
GenericName[ss]=Sihleli sembhalo
GenericName[sv]=Texteditor
GenericName[ta]=உரை தொகுப்பாளர்
GenericName[te]=వచన ఎడిటర్
GenericName[tg]=Муҳаррири матн
GenericName[th]=โปรแกรมแก้ไขข้อความ
GenericName[tr]=Metin Düzenleyici
GenericName[tt]=Mäten Tözätkeçe
GenericName[uk]=Редактор текстів
GenericName[uz]=Матн таҳрирчи
GenericName[ven]=Musengulusi wa Manwalwa
GenericName[vi]=Trình soạn văn bản
GenericName[wa]=Aspougneu di tecse
GenericName[xh]=Umhleli Wombhalo
GenericName[zh_CN]=文本编辑器
GenericName[zh_TW]=文字編輯器
GenericName[zu]=Umlungisi wombhalo
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
Exec=emacs %f
Icon=/usr/share/icons/hicolor/48x48/apps/emacs.png
Path=
Type=Application
Terminal=false
X-KDE-StartupNotify=false
X-StandardInstall=true
Categories=Qt;KDE;TextEditor;


code: (add-to-list 'vc-handled-backends 'GIT)