code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>git</Name>
        <Homepage>http://git-scm.com/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        Fast Version Control System
        <Description>Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals.</Description>
        <Archive sha1sum="8858cbf822eb3c86df91336fbcbdfe69f9c0abc5" type="tarxz">https://www.kernel.org/pub/software/scm/git/git-2.16.2.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>tcltk-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>libpcre-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>expat-devel</Dependency>
            <Dependency>xmlto</Dependency>
            <Dependency>asciidoc</Dependency>
            <Dependency>perl-Error</Dependency>
            <Dependency>perl</Dependency>
            <Dependency>libxslt</Dependency>
            <Dependency>util-linux</Dependency>

        </BuildDependencies>
        <Patches>

        </Patches>
    </Source>

    <Package>
        <Name>git</Name>
        <IsA>app:console</IsA>
        <RuntimeDependencies>
            <Dependency>perl-String-ShellQuote</Dependency>
            <Dependency>perl-Net-SMTP-SSL</Dependency>
            <Dependency>perl-Authen-SASL</Dependency>
            <Dependency>perl-libwww</Dependency>
            <Dependency>libpcre</Dependency>
            <Dependency version="current">perl-Git</Dependency>
            <Dependency>openssh</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>rsync</Dependency>
            <Dependency>expat</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>curl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="executable">/usr/libexec/git-core</Path>
            <Path fileType="data">/etc/bash_completion.d</Path>
            <Path fileType="data">/usr/share/git-core</Path>
            <Path fileType="locale">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>git-daemon</Name>
        <IsA>service</IsA>
        GIT protocol daemon
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>libpcre</Dependency>
            <Dependency version="current">git</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/conf.d/git-daemon</Path>
            <Path fileType="executable">/usr/libexec/git-core/git-daemon</Path>
            <Path fileType="man">/usr/share/man/man1/*daemon*.1*</Path>
            <Path fileType="data">/pub/scm</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/git-daemon">git-daemon.confd</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>perl-Git</Name>
        <IsA>library</IsA>
        <PartOf>programming.language.perl</PartOf>
        Perl interface to GIT
        <RuntimeDependencies>
            <Dependency>perl-Error</Dependency>
            <Dependency>perl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/perl5</Path>
            <Path fileType="man">/usr/share/man/man3/Git.3pm</Path>
        </Files>
    </Package>

    <Package>
        <Name>gitk</Name>
        <IsA>app:gui</IsA>
        Git revision tree visualiser
        <RuntimeDependencies>
            <Dependency version="current">git</Dependency>
            <Dependency>tcltk</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/gitk</Path>
            <Path fileType="localedata">/usr/share/gitk</Path>
            <Path fileType="man">/usr/share/man/man1/*gitk*.1*</Path>
        </Files>
    </Package>

    <Package>
        <Name>git-gui</Name>
        <IsA>app:gui</IsA>
        Git GUI tool
        <RuntimeDependencies>
            <Dependency version="current">git</Dependency>
            <Dependency version="current">gitk</Dependency>
            <Dependency>tcltk</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/libexec/git-core/git-gui*</Path>
            <Path fileType="executable">/usr/libexec/git-core/git-citool</Path>
            <Path fileType="data">/usr/share/git-gui</Path>
            <Path fileType="man">/usr/share/man/man1/git-gui.1*</Path>
            <Path fileType="man">/usr/share/man/man1/git-citool.1*</Path>
        </Files>
    </Package>

    <Package>
        <Name>gitweb</Name>
        <IsA>app:web</IsA>
        <PartOf>server.web</PartOf>
        Simple web interface to GIT repositories
        <RuntimeDependencies>
            <Dependency version="current">git</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/var/www/localhost</Path>
            <Path fileType="config">/etc/conf.d/gitweb</Path>
            <Path fileType="config">/etc/apache2/conf.d</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/gitweb">gitweb.confd</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/apache2/conf.d/git.conf">git.conf.httpd</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-02-20</Date>
            <Version>2.16.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2017-03-19</Date>
            <Version>2.12.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilnux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-11-12</Date>
            <Version>2.10.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilnux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.7.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-26</Date>
            <Version>2.7.2</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>git</Name>
        <Description xml:lang="tr">Git hızlı, ölçeklenebilir ve dağıtılmış, ve sık rastlanmayan zengin komut kümesi içeren, hem yüksek seviyeli işlemleri hem dahili işlemlere tam erişimi sağlayan bir sürüm kontrol sistemidir.</Description>
        Hızlı Sürüm Denetim Sistemi
        <Description xml:lang="es">GIT es un sistema rápido, escalable y distribuido de control de versiones con un amplio espectro de comandos que permite operaciones de alto nivel tanto como operaciones con acceso a detalles internos.</Description>
    </Source>

    <Package>
        <Name>git-emacs</Name>
        emacs için GIT bütünleşmesi
    </Package>

    <Package>
        <Name>git-daemon</Name>
        GIT protokolü hizmeti
    </Package>

    <Package>
        <Name>perl-Git</Name>
        GIT için perl arayüzü
    </Package>

    <Package>
        <Name>emacs-Git</Name>
        Emacs için git desteği
    </Package>

    <Package>
        <Name>git-svn</Name>
        Subversion depolarıyla etkileşmek için gerekli Git araçları
    </Package>

    <Package>
        <Name>git-cvs</Name>
        CVS depolarıyla etkileşmek için gerekli Git araçları
    </Package>

    <Package>
        <Name>gitk</Name>
        Git sürüm ağacı görüntüleyici
    </Package>

    <Package>
        <Name>git-gui</Name>
        GIT için basit bir grafik arayüz
    </Package>

    <Package>
        <Name>gitweb</Name>
        GIT için Web arayüzü
        interfaz web para GIT
    </Package>
</PISI>

repo_name: ayhanyalcinsoy/main


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

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

def setup():
    cmaketools.configure()

def build():
    cmaketools.make()

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

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libgit2</Name>
        <Homepage>https://libgit2.github.com</Homepage>
        <Packager>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>libgit2</Icon>
        <IsA>app:gui</IsA>
        <Summary>A linkable library for Git</Summary>
        <Description>A plain C library to interface with the git version control system</Description>
        <Archive sha1sum="d4e44fcf3ada97caeaa3ab698105c107600bb3ab" type="targz">https://github.com/libgit2/libgit2/archive/v0.26.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>zlib-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>python</Dependency>
            <Dependency>cmake</Dependency>
        </BuildDependencies>
        <Patches>
            <!--
            <Patch level="1"></Patch>
            -->
        </Patches>
    </Source>

    <Package>
        <Name>libgit2</Name>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>openssl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
        </Files>
    </Package>

    <Package>
        <Name>libgit2-devel</Name>
        <RuntimeDependencies>
            <Dependency release="current">libgit2</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
	    <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-02-20</Date>
            <Version>0.26.0</Version>
            <Comment>Version Bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-03-02</Date>
            <Version>0.25.1</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.23.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-08-01</Date>
            <Version>0.23.0</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>libgit2</Name>
        <Summary xml:lang="">git c dili kütüphanesi</Summary>
        <Description xml:lang="">git için c kütüphanesi</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 pythonmodules

def setup():
    pythonmodules.compile()

def install():
    pythonmodules.install()

    pisitools.dodir("/etc/bash_completion.d")
    pisitools.insinto("/etc/bash_completion.d", "contrib/bash_completion", "mercurial")

    pisitools.doman("doc/*.1")
    pisitools.doman("doc/*.5")

    pisitools.dohtml("doc/*.html")
    #pisitools.dodoc("doc/*.txt")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>mercurial</Name>
        <Homepage>http://www.selenic.com/mercurial</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>A distributed SCM tool</Summary>
        <Description>A fast, lightweight Source Control Management system designed for efficient handling of very large distributed projects.</Description>
        <Archive sha1sum="eb50bc81430fb34c11d32a8fbe6860b3d3a87de9" type="targz">https://www.mercurial-scm.org/release/mercurial-4.5.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>python-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>mercurial</Name>
        <RuntimeDependencies>
            <Dependency>python</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/etc/bash_completion.d</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-02-20</Date>
            <Version>4.5</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-03-19</Date>
            <Version>4.1.1</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>3.8.3</Version>
            <Comment>Version Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-04-04</Date>
            <Version>3.3.3</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>mercurial</Name>
        <Summary xml:lang="tr">Dağıtık bir kaynak kod yönetim aracı</Summary>
        <Description xml:lang="tr">Çok büyük dağıtık projelerin verimli bir şekilde idare edilmesi amacıyla geliştirilmiş hızlı, hafif bir kaynak kod kontrol yönetimi sistemi</Description>
        <Description xml:lang="fr">Système de gestion de code source, rapide et léger conçu pour gérer de manière efficace les projets distribués de très grande taille.</Description>
        <Description xml:lang="es">Un sistema rápido y liviano de administración de fuentes (Source Control Management) diseñado para manejo eficaz de proyectos muy largos y distribuidos.</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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import perlmodules

def setup():
    # Respect the user LDFLAGS
    shelltools.system("./autogen.sh")

    shelltools.export("EXTRA_LDFLAGS", get.LDFLAGS())

    autotools.configure("--disable-static \
                         --with-jdk=/usr/lib/jvm/java-7-openjdk \
                         --enable-javahl \
                         --with-apr=/usr \
                         --with-apr-util=/usr \
                         --with-apache=/usr/lib/apache2/ \
                         --with-apxs \
                         --with-serf=/usr \
                         --with-sqlite=/usr \
                         --with-zlib=/usr \
                         --with-jikes=no \
                         --without-berkeley-db \
                         --disable-mod-activation")

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

def build():
    # svn
    autotools.make()

    # python bindings
    autotools.make("swig-py")

    # perl bindings (needed by git-svn*)
    # Sometimes parallel build breaks perl bindings
    autotools.make("-j1 swig-pl")

    # java bindings
    autotools.make("-j1 javahl")

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

    # install swig-py
    autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "install-swig-py")

    # install swig-pl
    autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "install-swig-pl")

    # install javahl
    autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "install-javahl")

    # Move py/c'into proper dir
    pisitools.domove("/usr/lib/svn-python/svn", "/usr/lib/%s/site-packages" % get.curPYTHON())
    pisitools.domove("/usr/lib/svn-python/libsvn", "/usr/lib/%s/site-packages" % get.curPYTHON())
    pisitools.removeDir("/usr/lib/svn-python")

    # some helper tools
    pisitools.insinto("/usr/bin", "tools/backup/hot-backup.py", "svn-hot-backup")
    # FIXME: these tools are replaced by new ones
    # pisitools.insinto("/usr/bin", "contrib/client-side/svn_load_dirs.pl", "svn-load-dirs")
    # pisitools.insinto("/usr/bin", "contrib/client-side/svnmerge.py", "svnmerge")
    # shelltools.chmod("%s/usr/bin/svnmerge" % get.installDIR(), 0755)

    # Install upstream bash completion script
    pisitools.insinto("/etc/bash_completion.d", "tools/client-side/bash_completion", "subversion")

    # Documentation and etc.
    #pisitools.insinto("/usr/share/doc/%s" % get.srcNAME(), "contrib")
    pisitools.insinto("/usr/share/doc/%s" % get.srcNAME(), "tools/xslt")
    pisitools.insinto("/var/www/localhost/htdocs", "tools/xslt/*")

    # Create virtual repository root
    pisitools.dodir("/var/svn")

    pisitools.dodoc("README")

    # remove unnecessary files i.e. perllocal.pod, .packlist
    perlmodules.removePacklist()
    perlmodules.removePodfiles()


code:
#!/usr/bin/python

import os

def postInstall(fromVersion, fromRelease, toVersion, toRelease):
    os.system("/bin/mkdir -p /var/svn/conf")
    os.system("/usr/bin/svnadmin create /var/svn/repos")

    os.system("/bin/chmod -R 774 /var/svn/repos")
    os.system("/bin/chmod 775 /var/svn/repos")

    os.system("/bin/chown -R svn:svn /var/svn")


code:
from comar.service import *

serviceType = "server"
serviceDesc = _({"en": "SVN Server",
                 "tr": "SVN Sunucusu"})
serviceConf = "svnserve"

PIDFILE = "/var/svn/svnserve.pid"

# Note that "/etc/conf.d/svnserve" passes --root=/var/svn by default

@synchronized
def start():
    startService(command="/usr/bin/svnserve",
                 args="--pid-file=%s %s" % (PIDFILE, config.get("SVNSERVE_OPTS")),
                 chuid="%s:%s" % (config.get("SVNSERVE_USER"), config.get("SVNSERVE_GROUP")),
                 donotify=True)

@synchronized
def stop():
    stopService(pidfile=PIDFILE,
                donotify=True)

def status():
    return isServiceRunning(pidfile=PIDFILE)


code:
LoadModule dav_module         modules/mod_dav.so
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so

# To serve all repositories under SVNParentPath with same configuration
<Location /svn>
DAV svn
SVNParentPath /var/svn/repos
SVNIndexXSLT "/svnindex.xsl"
#AuthType Basic
#AuthName "Subversion repository"
#AuthUserFile /var/svn/conf/svnusers_default
#Require valid-user
</Location>

#
# Example configuration to enable HTTP access for a directory
# containing Subversion repositories, "/var/www/svn".  Each repository
# must be both:
#
#   a) readable and writable by the 'apache' user, and
#
#   b) labelled with the 'httpd_sys_content_t' context if using
#   SELinux
#

#
# To create a new repository "http://localhost/repos/stuff" using
# this configuration, run as root:
#
#   # cd /var/www/svn
#   # svnadmin create stuff
#   # chown -R apache.apache stuff
#   # chcon -R -t httpd_sys_content_t stuff
#

#<Location /repos>
#   DAV svn
#   SVNParentPath /var/www/svn
#
#   # Limit write permission to list of valid users.
#   <LimitExcept GET PROPFIND OPTIONS REPORT>
#      # Require SSL connection for password protection.
#      # SSLRequireSSL
#
#      AuthType Basic
#      AuthName "Authorization Realm"
#      AuthUserFile /path/to/passwdfile
#      Require valid-user
#   </LimitExcept>
#</Location>


code:
diff -ur subversion-1.4.0.orig/Makefile.in subversion-1.4.0/Makefile.in
--- subversion-1.4.0.orig/Makefile.in	2006-11-06 16:36:17.000000000 +0200
+++ subversion-1.4.0/Makefile.in	2006-11-06 16:50:14.000000000 +0200
@@ -209,10 +209,6 @@
       $(INSTALL_DATA) "$$i" $(DESTDIR)$(swig_pydir); \
     done; \
   fi; \
-  $(PYTHON) -c 'import compileall; \
-    compileall.compile_dir("$(DESTDIR)$(swig_pydir)", 1, "$(swig_pydir)"); \
-    compileall.compile_dir("$(DESTDIR)$(swig_pydir_extra)", 1, \
-    "$(swig_pydir_extra)");'

 # The path to generated and complementary source files for the SWIG
 # bindings.


code:
The first half of this is certainly upstream-worthy, but the second half is presumably
some Fedora-specific KDE packaging thing.  It's not obvious how to get
kde4-config to report the directory which contains the .so files.

--- subversion-1.8.0/build/ac-macros/kwallet.m4.kwallet
+++ subversion-1.8.0/build/ac-macros/kwallet.m4
@@ -63,15 +63,15 @@ AC_DEFUN(SVN_LIB_KWALLET,
                   fi
                 done
                 qt_include_dirs="`$PKG_CONFIG --cflags-only-I QtCore QtDBus QtGui`"
-                kde_dir="`$KDE4_CONFIG --prefix`"
-                SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs -I$kde_dir/include"
+                kde_include_dirs="-I`$KDE4_CONFIG --path include`"
+                SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs $kde_include_dirs"
                 qt_libs_other_options="`$PKG_CONFIG --libs-only-other QtCore QtDBus QtGui`"
                 SVN_KWALLET_LIBS="$DBUS_LIBS -lQtCore -lQtDBus -lQtGui -lkdecore -lkdeui $qt_libs_other_options"
                 CXXFLAGS="$CXXFLAGS $SVN_KWALLET_INCLUDES"
                 LIBS="$LIBS $SVN_KWALLET_LIBS"
                 qt_lib_dirs="`$PKG_CONFIG --libs-only-L QtCore QtDBus QtGui`"
                 kde_lib_suffix="`$KDE4_CONFIG --libsuffix`"
-                LDFLAGS="$old_LDFLAGS `SVN_REMOVE_STANDARD_LIB_DIRS($qt_lib_dirs -L$kde_dir/lib$kde_lib_suffix)`"
+                LDFLAGS="$old_LDFLAGS `SVN_REMOVE_STANDARD_LIB_DIRS($qt_lib_dirs)` -L$libdir/kde4/devel"
                 AC_LANG(C++)
                 AC_LINK_IFELSE([AC_LANG_SOURCE([[
 #include <kwallet.h>


code:
diff -uap subversion-1.7.0/build/generator/gen_base.py.pie subversion-1.7.0/build/generator/gen_base.py
--- subversion-1.8.0/build/generator/gen_base.py.pie
+++ subversion-1.8.0/build/generator/gen_base.py
@@ -409,7 +409,7 @@ class TargetLinked(Target):
     self.install = options.get('install')
     self.compile_cmd = options.get('compile-cmd')
     self.sources = options.get('sources', '*.c *.cpp')
-    self.link_cmd = options.get('link-cmd', '$(LINK)')
+    self.link_cmd = options.get('link-cmd', '$(LINK_LIB)')

     self.external_lib = options.get('external-lib')
     self.external_project = options.get('external-project')
@@ -465,6 +465,11 @@ class TargetExe(TargetLinked):
     self.manpages = options.get('manpages', '')
     self.testing = options.get('testing')

+    if self.install == 'test' or self.install == 'bdb-test':
+      self.link_cmd = '$(LINK_TEST)'
+    else:
+      self.link_cmd = '$(LINK_EXE)'
+
   def add_dependencies(self):
     TargetLinked.add_dependencies(self)

@@ -515,8 +520,8 @@ class TargetLib(TargetLinked):
     self.msvc_export = options.get('msvc-export', '').split()

     ### hmm. this is Makefile-specific
-    if self.link_cmd == '$(LINK)':
-      self.link_cmd = '$(LINK_LIB)'
+    if self.install == 'test':
+       self.link_cmd = '$(LINK_TEST_LIB)'

 class TargetApacheMod(TargetLib):

--- subversion-1.8.0/Makefile.in.pie
+++ subversion-1.8.0/Makefile.in
@@ -203,6 +203,9 @@ COMPILE_CXXHL_CXX = $(LIBTOOL) $(LTCXXFL

 LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS)
 LINK_LIB = $(LINK) $(LT_SO_VERSION) -rpath $(libdir)
+LINK_TEST = $(LINK) -no-install
+LINK_TEST_LIB = $(LINK) -avoid-version
+LINK_EXE = $(LINK) -pie
 LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS) -rpath $(libdir)
 LINK_CXX_LIB = $(LINK_CXX) $(LT_SO_VERSION)

@@ -676,7 +679,7 @@ schema-clean:
 	$(PYTHON) $(top_srcdir)/build/transform_sql.py $< $(top_srcdir)/$@

 .c.o:
-	$(COMPILE) -o $@ -c $<
+	$(COMPILE) -fpie -o $@ -c $<

 .cpp.o:
 	$(COMPILE_CXX) -o $@ -c $<


code:
diff -uap subversion-1.7.0/build.conf.rpath subversion-1.7.0/build.conf
--- subversion-1.8.0/build.conf.rpath
+++ subversion-1.8.0/build.conf
@@ -501,7 +501,7 @@ type = swig_lib
 lang = python
 path = subversion/bindings/swig/python/libsvn_swig_py
 libs = libsvn_client libsvn_wc libsvn_ra libsvn_delta libsvn_subr apriconv apr
-link-cmd = $(LINK)
+link-cmd = $(LINK_LIB)
 install = swig-py-lib
 # need special build rule to include -DSWIGPYTHON
 compile-cmd = $(COMPILE_SWIG_PY)
@@ -524,7 +524,7 @@ type = swig_lib
 lang = ruby
 path = subversion/bindings/swig/ruby/libsvn_swig_ruby
 libs = libsvn_client libsvn_wc libsvn_delta libsvn_subr apriconv apr
-link-cmd = $(LINK) $(SWIG_RB_LIBS)
+link-cmd = $(LINK_LIB) $(SWIG_RB_LIBS)
 install = swig-rb-lib
 # need special build rule to include
 compile-cmd = $(COMPILE_SWIG_RB)
--- subversion-1.8.0/build/generator/gen_base.py.rpath
+++ subversion-1.8.0/build/generator/gen_base.py
@@ -514,6 +514,10 @@ class TargetLib(TargetLinked):
     self.msvc_fake = options.get('msvc-fake') == 'yes' # has fake target
     self.msvc_export = options.get('msvc-export', '').split()

+    ### hmm. this is Makefile-specific
+    if self.link_cmd == '$(LINK)':
+      self.link_cmd = '$(LINK_LIB)'
+
 class TargetApacheMod(TargetLib):

   def __init__(self, name, options, gen_obj):
--- subversion-1.8.0/Makefile.in.rpath
+++ subversion-1.8.0/Makefile.in
@@ -201,8 +201,8 @@ COMPILE_JAVAHL_JAVAH = $(JAVAH)
 # special compilation for files destined for cxxhl
 COMPILE_CXXHL_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=compile $(COMPILE_CXX) $(LT_CFLAGS) $(CXXHL_INCLUDES) -o $@ -c

-LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS) -rpath $(libdir)
-LINK_LIB = $(LINK) $(LT_SO_VERSION)
+LINK = $(LIBTOOL) $(LTFLAGS) --mode=link $(CC) $(LT_LDFLAGS) $(CFLAGS) $(LDFLAGS)
+LINK_LIB = $(LINK) $(LT_SO_VERSION) -rpath $(libdir)
 LINK_CXX = $(LIBTOOL) $(LTCXXFLAGS) --mode=link $(CXX) $(LT_LDFLAGS) $(CXXFLAGS) $(LDFLAGS) -rpath $(libdir)
 LINK_CXX_LIB = $(LINK_CXX) $(LT_SO_VERSION)


code:
 Makefile.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/Makefile.in
+++ b/Makefile.in
@@ -652,7 +652,7 @@ check-swig-pl: swig-pl swig-pl-lib
 	cd $(SWIG_PL_DIR)/native; $(MAKE) test

 install-swig-pl: swig-pl install-swig-pl-lib
-	cd $(SWIG_PL_DIR)/native; $(MAKE) install
+	cd $(SWIG_PL_DIR)/native; $(MAKE) install_vendor

 EXTRACLEAN_SWIG_PL=rm -f $(SWIG_PL_SRC_DIR)/native/svn_*.c \
                          $(SWIG_PL_SRC_DIR)/native/core.c


code:
[miscellany]
enable-auto-props = yes

[auto-props]
*.png = svn:mime-type=image/png
*.jpg = svn:mime-type=image/jpeg
*.jpe = svn:mime-type=image/jpeg
*.jpeg = svn:mime-type=image/jpeg
*.bmp = svn:mime-type=image/x-ms-bmp
*.odp = svn:mime-type=application/vnd.oasis.opendocument.presentation
*.odt = svn:mime-type=application/vnd.oasis.opendocument.text
*.ods = svn:mime-type=application/vnd.oasis.opendocument.spreadsheet
*.ogg = svn:mime-type=audio/ogg


code:
clear LD_RUN_PATH, it will end up as RPATH in ELF binaries

ERROR: RPATH "/usr/src/packages/BUILD/subversion-1.5.x/subversion/libsvn_subr/.libs" on /var/tmp/subversion-1.5.0-build/usr/lib/perl5/vendor_perl/5.10.0/ppc-linux-thread-multi-64int/auto/SVN/_Wc/_Wc.so is not allowed

---
 Makefile.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/Makefile.in
+++ b/Makefile.in
@@ -641,7 +641,7 @@ $(SWIG_PL_DIR)/native/Makefile.PL: $(SWI
 	./config.status subversion/bindings/swig/perl/native/Makefile.PL

 $(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL
-	cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL
+	cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL ; for i in `grep -wl ^LD_RUN_PATH Makefile Makefile.[^P]*` ; do sed -i 's@^LD_RUN_PATH.*@LD_RUN_PATH=@' $$i ; done

 swig-pl_DEPS = autogen-swig-pl libsvn_swig_perl \
   $(SWIG_PL_DIR)/native/Makefile


code:
--- Makefile.in.orig	2009-02-16 14:10:48.000000000 -0200
+++ Makefile.in	2009-06-04 00:56:29.000000000 -0300
@@ -678,6 +678,7 @@

 $(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL
 	cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL PREFIX=$(prefix)
+	cd $(SWIG_PL_DIR)/native; sed -i 's|LD_RUN_PATH|DIE_RPATH_DIE|g' Makefile{,.{client,delta,fs,ra,repos,wc}}

 # There is a "readlink -f" command on some systems for the same purpose,
 # but it's not as portable (e.g. Mac OS X doesn't have it).  These should
 # only be used where Python/Perl are known to be available.


code:
#! /usr/bin/perl

#
# This script recursively (beginning with the current directory)
# wipes out everything not registered in SVN.
#
# rewritten in perl by Oswald Buddenhagen <ossi@kde.org>
#  based on bash version by Thiago Macieira <thiago@kde.org>
#   inspired by cvs-clean, written by Oswald Buddenhagen <ossi@kde.org>
#    inspired by the "old" cvs-clean target from Makefile.common
#
# This file is free software in terms of the BSD licence. That means
# that you can do anything with it except removing this license or
# the above copyright notice. There is NO WARRANTY of any kind.
#

# Warning:
# This script processes the output from the SVN executable
# Do not run it along with colorsvn

use File::Path;

my $version = "svn-clean v1.0";
my $heading = $version.": cleans up the Subversion working directory\n";
my $usage = $heading.
  "svn-clean [-h] [-n] [-q] [-i|-f] [dirname]\n\n".
  "Where:\n".
  "  -h      shows this help screen\n".
  "  -n      dry-run: doesn't actually erase the files, just show their names\n".
  "  -i      interactive: ask for confirmation before erasing the files\n".
  "  -f      force: doesn't ask for confirmation before erasing\n".
  "  -q      quiet: doesn't show output\n";

my $dry_run = 0;
my $force = 0;
my $quiet = 0;

sub check_confirm()
{
  return if ($force);

  open(TTY, "+< /dev/tty") or die "cannot open /dev/tty";

  print TTY "This will erase files and directories that aren't in Subversion\n".
            "Are you sure you want to continue? (y/n) ";

  if (<TTY> =~ /^[Yy]/) {
    $force = 1;
    close TTY;
    return;
  }

  # user cancelled
  exit 0;
}

# Parse arguments
my $rest = 0;
my @files = ();
foreach my $arg (@ARGV) {
  if ($rest) {
    push @files, $arg;
  } else {
    if ($arg eq '-h' || $arg eq '--help') {
      print $usage;
      exit (0);
    } elsif ($arg eq '-n' || $arg eq '--dry-run') {
      $dry_run = 1;
      $force = 1;
    } elsif ($arg eq '-f' || $arg eq '--force') {
      $force = 1;
    } elsif ($arg eq '-i' || $arg eq '--interactive') {
      $force = 0;
    } elsif ($arg eq '-q' || $arg eq '--quiet') {
      $quiet = 1;
    } elsif ($arg eq '--') {
      $rest = 1;
    } elsif ($arg =~ /^-/) {
      print STDERR "svn-clean: unknown argument '".$arg."'\n\n".$usage;
      exit (1);
    } else {
      push @files, $arg;
    }
  }
}
if (!@files) {
  push @files, '.';
}

# Unset TERM just so that no colours are output
# in case $SVN points to colorsvn
delete $ENV{'TERM'};

#print($heading."\n") unless $quiet;

foreach my $dir (@files) {
  open SVN, "svn status --no-ignore \"".$dir."\"|";
  while (<SVN>) {
    /^[I?] +(.*)$/ or next;
    my $file = $1;
    check_confirm();
    lstat $file;
    if (-d _) {
      print("D ".$file."\n") unless $quiet;
      rmtree($file, 0, 0) unless $dry_run;
    } else {
      print("F ".$file."\n") unless $quiet;
      unlink($file) unless $dry_run;
    }
  }
  close SVN;
}


code:
#!/bin/sh

if [ $# -eq 0 ]; then
    cat <<EOF
Usage:
    svnlastchange <filename> [<filename> ...]

EOF
    exit 1
fi

if [ "$1" == "-q" ]; then
    shift
else
    echo >/dev/tty "Hint: Use svn log -r COMMITTED and svn diff -r PREV:COMMITTED"
fi

svn log -r COMMITTED "$*"
svn diff -r PREV:COMMITTED "$*" || \
    echo >&2 "Error retrieving diff: the file was probably added in the last revision"


code:
#!/bin/sh
# This is a stripped down version of svnlastchange

if [ $# -eq 0 ]; then
    cat <<EOF
Usage:
    svnlastlog <filename> [<filename> ...]

EOF
    exit 1
fi
echo >&2 "Warning: svnlastlog is superfluous"
echo >&2 "Use svn log -r COMMITTED"

svn log -r COMMITTED "$*"


code:
#!/bin/sh
echo >&2 "Warning: this script is superfluous"
echo >&2 "Instead, use: svn merge -rBASE:PREV <filename>"
echo >&2

svn merge -r BASE:PREV "$@"


code:
# Default svnserve configuration for Pisi Linux

# Options for svnserve
SVNSERVE_OPTS = "--daemon --root=/var/svn"

# User and group as which to run svnserve
SVNSERVE_USER="svn"
SVNSERVE_GROUP="svn"


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>subversion</Name>
        <Homepage>http://subversion.apache.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>Subversion</License>
        <IsA>app:console</IsA>
        <IsA>service</IsA>
        A compelling replacement for CVS
        <Description>SVN is a version controlling system to store files and control their change history in a repository.</Description>
        <Archive sha1sum="874b81749cdc3e88152d103243c3623ac6338388" type="tarbz2">http://archive.apache.org/dist/subversion/subversion-1.9.7.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>apache</Dependency>
            <Dependency>expat-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>ruby-devel</Dependency>
            <Dependency>serf-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>jdk7-openjdk</Dependency>
            <Dependency>apr-util-devel</Dependency>
            <Dependency>cyrus-sasl-devel</Dependency>
            <Dependency>python-devel</Dependency>
            <Dependency>dbus-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
	    <Dependency>openssl-devel</Dependency>
            <Dependency>swig</Dependency>
        </BuildDependencies>
        <Patches>

            <Patch level="1">subversion-swig-perl-install_vendor.patch</Patch>
            <Patch>subversion.rpath.fix.patch</Patch>
            <Patch level="1">dont_compile_pyc.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>subversion</Name>
        <RuntimeDependencies>
            <Dependency>file</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>expat</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>sqlite</Dependency>
            <Dependency>apr</Dependency>
            <Dependency>serf</Dependency>
            <Dependency>apr-util</Dependency>
            <Dependency>cyrus-sasl</Dependency>

        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/conf.d</Path>
            <Path fileType="data">/etc/subversion</Path>
            <Path fileType="data">/etc/bash_completion.d</Path>
            <Path fileType="data">/usr/share/build</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="info">/usr/share/info</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/var/svn</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/conf.d/svnserve">svnserve.confd</AdditionalFile>

            <AdditionalFile owner="root" permission="0644" target="/etc/subversion/config">subversion.config</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="service.py">System.Service</COMAR>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>subversion-devel</Name>
        Development files for subversion
        <RuntimeDependencies>
            <Dependency>openssl-devel</Dependency>
            <Dependency>apr-devel</Dependency>
            <Dependency>serf-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>apr-util-devel</Dependency>
            <Dependency release="current">subversion</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/share/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>mod_dav_svn</Name>
        <PartOf>server.web</PartOf>
        <RuntimeDependencies>
            <Dependency>apr</Dependency>
            <Dependency>apache</Dependency>
            <Dependency>apr-util</Dependency>
            <Dependency>subversion</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/apache2</Path>
            <Path fileType="executable">/usr/libexec/mod_dav_svn.so</Path>
            <Path fileType="executable">/usr/libexec/mod_authz_svn.so</Path>
            <Path fileType="config">/etc/apache2/modules.d</Path>
            <Path fileType="data">/var/www/localhost/htdocs</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/apache2/modules.d/47_mod_dav_svn.conf">47_mod_dav_svn.conf</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-02-20</Date>
            <Version>1.9.7</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-03-19</Date>
            <Version>1.9.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.9.3</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-06</Date>
            <Version>1.9.3</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>subversion</Name>
        Bir sürüm kontrol sistemi
        <Description xml:lang="tr">Daha gelişmiş özellikleri olan ve önceki CVS yerine kullanılan, bir sürüm yönetim sistemidir.</Description>
        <Description xml:lang="fr">SVN est un gestionnaire de configuration permettant de stocker des fichiers et de contrôler leur historique de changement dans un dépôt.</Description>
    </Source>

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


code:
<PISI>
    <Name>programming.tool</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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    autotools.configure("--disable-static --disable-html-docs --disable-doxygen")

def build():
    autotools.make()

def check():
    autotools.make("check")

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

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>cppunit</Name>
        <Homepage>http://www.freedesktop.org/wiki/Software/cppunit</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        C++ port of the famous JUnit framework for unit testing
        <Description>cppunit is a C++ unit testing framework. It started its life as a port of JUnit to C++ by Michael Feathers.</Description>
        <Archive sha1sum="3eba38567bad4e300f76c764f91a7301bacc716d" type="targz">http://dev-www.libreoffice.org/src/cppunit-1.14.0.tar.gz</Archive>
<BuildDependencies>
            <Dependency>grep</Dependency>
            <Dependency>libtool</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>cppunit</Name>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>cppunit-devel</Name>
        Contains the headers and other files necessary for developing programs that use cppunit
        <RuntimeDependencies>
            <Dependency  release="current">cppunit</Dependency>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-08-01</Date>
            <Version>1.14.0</Version>
            <Comment>Version Bump</Comment>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-04-11</Date>
            <Version>1.13.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.13.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-01-21</Date>
            <Version>1.13.2</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>cppunit</Name>
        <Summary xml:lang="tr">Popüler JUnit test çatısının C++ sürümü</Summary>
        <Description xml:lang="tr">cppunit, C++ uygulama geliştiricileri tarafından yazdıkları uygulamaların test edilmesi amacıyla kullanılabilecek bir test altyapısıdır.</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

def setup():
    autotools.configure("--with-posix-regex \
                         --without-readlib \
                         --disable-etags \
                         --enable-tmpdir=/tmp")

def build():
    autotools.make()

def install():
    autotools.install()

    # Don't conflict with emacs
    pisitools.rename("/usr/bin/ctags", "exuberant-ctags")
    pisitools.rename("/usr/share/man/man1/ctags.1", "exuberant-ctags.1")

    pisitools.dohtml("EXTENDING.html", "ctags.html")
    pisitools.dodoc("COPYING", "FAQ", "NEWS", "README")


code:
diff -ruN -x '*~' ctags-5.7/vim.c ctags-5.7/vim.c
--- ctags-5.7/vim.c	2006-10-26 12:06:21.000000000 +0900
+++ ctags-5.7/vim.c	2009-08-28 22:21:31.000000000 +0900
@@ -328,7 +328,7 @@
 	 */
 	const unsigned char *cp = line;

-	if ( (int) *cp == '\\' )
+	if ( cp && ( (int) *cp == '\\' ) )
 	{
 		/*
 		 * We are recursively calling this function is the command
@@ -350,9 +350,10 @@
 		while (*cp && isspace ((int) *cp))
 			++cp;
 	}
-	else if ( (!strncmp ((const char*) line, "comp", (size_t) 4) == 0) &&
-		     (!strncmp ((const char*) line, "comc", (size_t) 4) == 0) &&
-				(strncmp ((const char*) line, "com", (size_t) 3) == 0) )
+	else if ( line &&
+                     (!strncmp ((const char*) line, "comp", (size_t) 4) == 0) &&
+		                (!strncmp ((const char*) line, "comc", (size_t) 4) == 0) &&
+				          (strncmp ((const char*) line, "com", (size_t) 3) == 0) )
 	{
 		cp += 2;
 		if ((int) *++cp == 'm' && (int) *++cp == 'a' &&
@@ -394,6 +395,14 @@
 			while (*cp && !isspace ((int) *cp))
 				++cp;
 		}
+		else if (!isalnum ((int) *cp))
+		{
+			/*
+			 * Broken syntax: throw away this line
+			 */
+			cmdProcessed = TRUE;
+			goto cleanUp;
+		}
 	} while ( *cp &&  !isalnum ((int) *cp) );

 	if ( ! *cp )


code:
--- fortran-orig.c	2009-11-16 23:38:06.154328652 +0200
+++ fortran.c	2009-11-16 23:38:08.711335501 +0200
@@ -1319,7 +1319,8 @@
 			readToken (token);
 			skipPast (token, TOKEN_OPERATOR);
 		}
-		else if (strcmp (vStringValue (token->string), "=") == 0)
+		else if ((strcmp (vStringValue (token->string), "=") == 0) ||
+					(strcmp (vStringValue (token->string), "=>") == 0))
 		{
 			while (! isType (token, TOKEN_COMMA) &&
 					! isType (token, TOKEN_STATEMENT_END))


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>ctags</Name>
        <Homepage>http://ctags.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Exuberant Ctags generates an index (or tag) file of objects found in source and header files</Summary>
        <Description>Exuberant Ctags generates an index (or tag) file of objects found in source and header files that allows these items to be quickly and easily located by a text editor or other utility. Currently supports 33 programming languages.</Description>
        <Archive sha1sum="482da1ecd182ab39bbdc09f2f02c9fba8cd20030" type="targz">mirrors://sourceforge/ctags/ctags-5.8.tar.gz</Archive>
        <Patches>
            <Patch level="1">ctags-5.7-segment-fault.patch</Patch>
            <Patch>ctags-5.8-f95-pointers.patch</Patch>
            <Patch>ctags-5.8-python-vars-starting-with-def.patch</Patch>
        </Patches>
    </Source>

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

    <History>
        <Update release="3">
            <Date>2017-05-10</Date>
            <Version>5.8</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>5.8</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-01-21</Date>
            <Version>5.8</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>ctags</Name>
        <Summary xml:lang="tr">Kod ve başlık dosyalarında bulunan objeler için indeks dosyaları üretir</Summary>
        <Description xml:lang="tr">Exuberant Ctags, kod ve başlık dosyalarında bulunan objeler için indeks dosyaları üretir.</Description>
        <Description xml:lang="fr">Exuberant Ctags génère un fichier d'index (ou tag) pour les objets trouvés dans les fichiers sources et d'entête permettant à ces entités d'être rapidement et facilement localisées par un éditeur de texte et d'autres utilitaires. Il gère actuellement 33 langages de programmation.</Description>
        <Description xml:lang="es">Exuberant Ctags genera un archivo de índice (o tag) de objetos encontrados en archivos de fuente y cabeceras, para localizar fácilmente estos ítemes con un editor de texto u otra herramienta. Actualmente soporta 33 lenguajes de programación.</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

def build():
    for com in [ "bcc86", "unproto", "copt", "as86", "ld86",
                 "-C cpp", "-C ar", "-C ld" ]:
        make_opts = { 'cflags' : get.CFLAGS(),
                      'com'    : com }

        autotools.make('%(com)s CFLAGS="%(cflags)s -D_POSIX_SOURCE" -j1' % make_opts)

    # ncc does not support gcc optflags
    autotools.make('-j1')

def install():
    for binary in ["bin/*","cpp/bcc-cpp","bcc/bcc-cc1"]:
        pisitools.dobin(binary)

    pisitools.rename("/usr/bin/Bcc","bcc")

    pisitools.doman("man/*.1")
    pisitools.dodoc("Changes","COPYING","MAGIC","README")


code:
Index: dev86-0.16.17/bcc/bcc.c
===================================================================
--- dev86-0.16.17.orig/bcc/bcc.c
+++ dev86-0.16.17/bcc/bcc.c
@@ -226,12 +226,21 @@ char ** argv;

    } else {
       /* Relative paths to normal PREFIX directory */
+#ifdef __x86_64__
+      default_include = build_libpath("-I", "/lib64/bcc/include", "");
+      default_libdir  = build_libpath("-L", "/lib64/bcc", libdir_suffix);
+      optim_rules     = build_libpath("-d", "/lib64/bcc", libdir_suffix);
+
+      build_prefix("/lib64/bcc", libdir_suffix, "");
+      build_prefix("/lib64/bcc", "", "");
+#else
       default_include = build_libpath("-I", "/lib/bcc/include", "");
       default_libdir  = build_libpath("-L", "/lib/bcc", libdir_suffix);
       optim_rules     = build_libpath("-d", "/lib/bcc", libdir_suffix);

       build_prefix("/lib/bcc", libdir_suffix, "");
       build_prefix("/lib/bcc", "", "");
+#endif
    }

    build_prefix("/bin", "", "");


code:
Index: dev86-0.16.17/libc/Config_sh
===================================================================
--- dev86-0.16.17.orig/libc/Config_sh
+++ dev86-0.16.17/libc/Config_sh
@@ -46,8 +46,8 @@ main()
    do
       display
       echo
-      echon 'Select config option to flip [or quit] >'
-      read n
+      echon 'Do not select config option, I can do it for you ;)'
+      n="q" # read n
       v=""
       case "$n" in
       [qQ]* ) RUNNING=0


code:
diff -up dev86-0.16.19/ld/x86_aout.h.long dev86-0.16.19/ld/x86_aout.h
--- dev86-0.16.19/ld/x86_aout.h.long	2012-07-30 10:17:06.000000000 +0200
+++ dev86-0.16.19/ld/x86_aout.h	2012-11-15 15:19:12.215396644 +0100
@@ -11,17 +11,11 @@
 /* If the host isn't an x86 all bets are off, use chars. */
 #if defined(i386) || defined(__BCC__) || defined(MSDOS)
 typedef long Long;
-#define __OUT_OK 1
 #else
-/* Beware: this will probably allow some BE hosts to generate broken files. */
-#ifdef INT32_MAX
 #include <stdint.h>
 typedef int32_t Long;
-#define __OUT_OK 1
-#else
-typedef char Long[4];
-#endif
 #endif
+#define __OUT_OK 1

 struct	exec {			/* a.out header */
   unsigned char	a_magic[2];	/* magic number */


code:
--- dev86-0.16.17/makefile.in.noelks	2006-01-25 17:03:02.000000000 -0500
+++ dev86-0.16.17/makefile.in	2006-01-25 17:03:19.000000000 -0500
@@ -89,10 +89,10 @@

 #ifdef GNUMAKE
 all: check_config bcc86 cpp unproto copt as86 ar86 ld86 objdump86 \
-     library lib-bsd alt-libs elksemu
+     library lib-bsd alt-libs

 install: check_config install-bcc install-man \
-     install-lib install-emu
+     install-lib

 install-all: install install-other


code:
From: Lubomir Rintel <lkundrak@v3.sk>

There are off-by-one errors when filling the ar headers, the trailing nul
would overflow the target buffer.

diff -urp dev86-0.16.17/ld/mkar.c dev86-0.16.17.fixed/ld/mkar.c
--- dev86-0.16.17/ld/mkar.c	2004-06-20 09:23:27.000000000 +0200
+++ dev86-0.16.17.fixed/ld/mkar.c	2010-03-29 23:34:30.351426404 +0200
@@ -51,12 +51,12 @@ char buf[128];
       memset(&arbuf, ' ', sizeof(arbuf));
       strcpy(buf, ptr); strcat(buf, "/                 ");
       strncpy(arbuf.ar_name, buf, sizeof(arbuf.ar_name));
-
-      sprintf(arbuf.ar_date, "%-12ld", (long)st.st_mtime);
-      sprintf(arbuf.ar_uid, "%-6d",    (int)(st.st_uid%1000000L));
-      sprintf(arbuf.ar_gid, "%-6d",    (int)(st.st_gid%1000000L));
-      sprintf(arbuf.ar_mode, "%-8lo",  (long)st.st_mode);
-      sprintf(arbuf.ar_size, "%-10ld", (long)st.st_size);
+
+      snprintf(arbuf.ar_date, 12, "%-12ld", (long)st.st_mtime);
+      snprintf(arbuf.ar_uid, 6, "%-6d", (int)(st.st_uid%1000000L));
+      snprintf(arbuf.ar_gid, 6, "%-6d", (int)(st.st_gid%1000000L));
+      snprintf(arbuf.ar_mode, 8, "%-8lo", (long)st.st_mode);
+      snprintf(arbuf.ar_size, 10, "%-10ld", (long)st.st_size);
       memcpy(arbuf.ar_fmag, ARFMAG, sizeof(arbuf.ar_fmag));

       if( fwrite(&arbuf, 1, sizeof(arbuf), fd) != sizeof(arbuf) )


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>dev86</Name>
        <Homepage>http://homepage.ntlworld.com/robert.debath/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Development environment for ELKS-86 and standalone 8086 code</Summary>
        <Description>The dev86 package provides an assembler and linker for real mode 80x86 instructions. You'll need to have this package installed in order to build programs that run in real mode, including LILO and the kernel's bootstrapping code, from their sources.</Description>
        <Archive sha1sum="9e8c2949c408ce8ebdade3af3eee775ebac3cab5" type="targz">http://v3.sk/~lkundrak/dev86/archive/Dev86src-0.16.19.tar.gz</Archive>
	<!--http://v3.sk/~lkundrak/dev86/archive/Dev86src-0.16.20.tar.gz-->
        <Patches>
            <!-- some fedora fixes -->
            <Patch level="1">fedora/dev86-noelks.patch</Patch>
            <Patch level="1">fedora/dev86-nostrip.patch</Patch>
            <Patch level="1">fedora/dev86-long.patch</Patch>
            <Patch level="1">fedora/dev86-print-overflow.patch</Patch>
            <Patch level="1">dont-ask-anything.patch</Patch>
            <Patch level="1">64bit-build-fix.patch</Patch>
            <Patch level="1">makefile-fix.patch</Patch>
        </Patches>
    </Source>

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

    <History>
        <Update release="3">
            <Date>2017-05-15</Date>
            <Version>0.16.19</Version>
            <Comment>Release Bump.</Comment>
            <Name>Kamil Atlı</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.16.19</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-02-17</Date>
            <Version>0.16.19</Version>
            <Comment>First release</Comment>
            <Name>Serdar Soytetir</Name>
            <Email>kaptan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>dev86</Name>
        ELKS-86 ve 8086 kodları için geliştirme ortamı
        Entorno de desarrollo para ELKS-86 y código 8086 independiente
    </Source>
</PISI>


code:
<PISI>
    <Name>science.astronomy</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 autotools
from pisi.actionsapi import pisitools

def setup():
    autotools.configure("--prefix=/usr \
                         --with-xscreensaver \
                         --with-freetype \
                         --with-pango \
                         --with-cspice \
                         --with-gif \
                         --with-jpeg \
                         --with-png \
                         --with-pnm \
                         --with-tiff")

def build():
    autotools.make()

def install():
    autotools.install()

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


code:
--- a/src/libimage/gif.c
+++ b/src/libimage/gif.c
@@ -20,6 +20,7 @@

 #include <stdio.h>
 #include <stdlib.h>
+#include <stdbool.h>
 #include <string.h>

 #include <gif_lib.h>
@@ -179,7 +180,11 @@
 	}
     }

+#if GIFLIB_MAJOR >= 5
+    if (DGifCloseFile(GifFile, NULL) == GIF_ERROR) {
+#else
     if (DGifCloseFile(GifFile) == GIF_ERROR) {
+#endif
 	return(0);
     }

@@ -240,7 +245,7 @@
  *   Also non of the parameter are allocated by this routine.
  *   This function returns GIF_OK if succesfull, GIF_ERROR otherwise.
  ******************************************************************************/
-static int
+int
 QuantizeBuffer(unsigned int Width,
                unsigned int Height,
                int *ColorMapSize,
@@ -493,7 +498,11 @@
 static void QuitGifError(GifFileType *GifFile)
 {
     fprintf(stderr, "Error writing GIF file\n");
+#if GIFLIB_MAJOR >= 5
+    if (GifFile != NULL) EGifCloseFile(GifFile, NULL);
+#else
     if (GifFile != NULL) EGifCloseFile(GifFile);
+#endif
 }

 int
@@ -589,7 +598,11 @@
 	Ptr += width;
     }

+#if GIFLIB_MAJOR >= 5
+    if (EGifCloseFile(GifFile, NULL) == GIF_ERROR)
+#else
     if (EGifCloseFile(GifFile) == GIF_ERROR)
+#endif

     {
 	QuitGifError(GifFile);


code:
diff -Naur xplanet-1.2.1-orig/configure xplanet-1.2.1/configure
--- xplanet-1.2.1-orig/configure	2009-12-04 10:34:21.766146687 +0200
+++ xplanet-1.2.1/configure	2009-12-04 10:34:36.868516259 +0200
@@ -7974,7 +7974,7 @@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 $ac_includes_default
-#include <pnm.h>
+#include <netpbm/pnm.h>
 _ACEOF
 rm -f conftest.$ac_objext
 if { (ac_try="$ac_compile"
diff -Naur xplanet-1.2.1-orig/src/libimage/pnm.c xplanet-1.2.1/src/libimage/pnm.c
--- xplanet-1.2.1-orig/src/libimage/pnm.c	2009-12-04 10:34:21.768391483 +0200
+++ xplanet-1.2.1/src/libimage/pnm.c	2009-12-04 10:35:13.152141234 +0200
@@ -21,7 +21,7 @@
 #include <stdio.h>
 #include <string.h>

-#include <pnm.h>
+#include <netpbm/pnm.h>

 int
 read_pnm(const char *filename, int *width, int *height, char **rgb)
diff -Naur xplanet-1.2.1-orig/src/libimage/WriteImage.cpp xplanet-1.2.1/src/libimage/WriteImage.cpp
--- xplanet-1.2.1-orig/src/libimage/WriteImage.cpp	2009-12-04 10:34:21.768391483 +0200
+++ xplanet-1.2.1/src/libimage/WriteImage.cpp	2009-12-04 10:35:00.145228715 +0200
@@ -31,7 +31,7 @@
 #endif

 #ifdef HAVE_LIBPNM
-#include <pnm.h>
+#include <netpbm/pnm.h>
     int
     write_pnm(FILE *outfile, int width, int height, unsigned char *rgb,
               int maxv, int format, int forceplain);


code:
Index: src/libannotate/addArcs.cpp
===================================================================
diff --git a/src/libannotate/addArcs.cpp b/src/libannotate/addArcs.cpp
--- a/src/libannotate/addArcs.cpp	(revision 206)
+++ b/src/libannotate/addArcs.cpp	(revision 207)
@@ -258,7 +258,7 @@
         {
             ifstream inFile(arcFile.c_str());
             char *line = new char[MAX_LINE_LENGTH];
-            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
+            while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
                 readArcFile(line, planet, view, projection,
                             planetProperties, annotationMap);

@@ -292,7 +292,7 @@
         {
             ifstream inFile(arcFile.c_str());
             char *line = new char[256];
-            while (inFile.getline (line, 256, '\n') != NULL)
+            while (inFile.getline (line, 256, '\n'))
                 readArcFile(line, NULL, view, NULL, NULL, annotationMap);

             inFile.close();
Index: src/libannotate/addMarkers.cpp
===================================================================
diff --git a/src/libannotate/addMarkers.cpp b/src/libannotate/addMarkers.cpp
--- a/src/libannotate/addMarkers.cpp	(revision 206)
+++ b/src/libannotate/addMarkers.cpp	(revision 207)
@@ -429,7 +429,7 @@
         {
             ifstream inFile(markerFile.c_str());
             char *line = new char[MAX_LINE_LENGTH];
-            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
+            while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
             {
                 unsigned char color[3];
                 memcpy(color, planetProperties->MarkerColor(), 3);
@@ -475,7 +475,7 @@
         {
             ifstream inFile(markerFile.c_str());
             char *line = new char[MAX_LINE_LENGTH];
-            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
+            while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
             {
                 unsigned char color[3];
                 memcpy(color, options->Color(), 3);
Index: src/libannotate/addSatellites.cpp
===================================================================
diff --git a/src/libannotate/addSatellites.cpp b/src/libannotate/addSatellites.cpp
--- a/src/libannotate/addSatellites.cpp	(revision 206)
+++ b/src/libannotate/addSatellites.cpp	(revision 207)
@@ -488,10 +488,10 @@
         {
             ifstream inFile(tleFile.c_str());
             char lines[3][80];
-            while (inFile.getline(lines[0], 80) != NULL)
+            while (inFile.getline(lines[0], 80))
             {
-                if ((inFile.getline(lines[1], 80) == NULL)
-                    || (inFile.getline(lines[2], 80) == NULL))
+                if ((!inFile.getline(lines[1], 80))
+                    || (!inFile.getline(lines[2], 80)))
                 {
                     ostringstream errStr;
                     errStr << "Malformed TLE file (" << tleFile << ")?\n";
@@ -542,7 +542,7 @@
         {
             ifstream inFile(satFile.c_str());
             char *line = new char[MAX_LINE_LENGTH];
-            while (inFile.getline (line, MAX_LINE_LENGTH, '\n') != NULL)
+            while (inFile.getline (line, MAX_LINE_LENGTH, '\n'))
                 readSatelliteFile(line, planet, view, projection,
                                   planetProperties, annotationMap);

Index: src/libannotate/addSpiceObjects.cpp
===================================================================
diff --git a/src/libannotate/addSpiceObjects.cpp b/src/libannotate/addSpiceObjects.cpp
--- a/src/libannotate/addSpiceObjects.cpp	(revision 206)
+++ b/src/libannotate/addSpiceObjects.cpp	(revision 207)
@@ -524,7 +524,7 @@
         {
             ifstream inFile(kernelFile.c_str());
             char *line = new char[MAX_LINE_LENGTH];
-            while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
+            while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
             {
                 int ii = 0;
                 while (isDelimiter(line[ii]))
@@ -576,7 +576,7 @@
         {
             ifstream inFile(spiceFile.c_str());
             char *line = new char[MAX_LINE_LENGTH];
-            while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
+            while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
                 readSpiceFile(line, planetsFromSunMap, view, projection,
                               annotationMap);
             inFile.close();
Index: src/libmultiple/RayleighScattering.cpp
===================================================================
diff --git a/src/libmultiple/RayleighScattering.cpp b/src/libmultiple/RayleighScattering.cpp
--- a/src/libmultiple/RayleighScattering.cpp	(revision 206)
+++ b/src/libmultiple/RayleighScattering.cpp	(revision 207)
@@ -369,7 +369,7 @@

     diskTemplate_.clear();
     limbTemplate_.clear();
-    while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
+    while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
     {
         int i = 0;
         while (isDelimiter(line[i]))
@@ -439,7 +439,7 @@
     values.clear();

     char line[MAX_LINE_LENGTH];
-    while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
+    while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
     {
         int i = 0;
         while (isDelimiter(line[i]))
@@ -470,7 +470,7 @@
                               double &value)
 {
     char line[MAX_LINE_LENGTH];
-    while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
+    while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
     {
         int i = 0;
         while (isDelimiter(line[i]))
Index: src/libmultiple/drawStars.cpp
===================================================================
diff --git a/src/libmultiple/drawStars.cpp b/src/libmultiple/drawStars.cpp
--- a/src/libmultiple/drawStars.cpp	(revision 206)
+++ b/src/libmultiple/drawStars.cpp	(revision 207)
@@ -41,7 +41,7 @@
     ifstream inFile(starMap.c_str());

     char line[MAX_LINE_LENGTH];
-    while (inFile.getline(line, MAX_LINE_LENGTH, '\n') != NULL)
+    while (inFile.getline(line, MAX_LINE_LENGTH, '\n'))
     {
         if (line[0] == '#') continue;

Index: src/readConfig.cpp
===================================================================
diff --git a/src/readConfig.cpp b/src/readConfig.cpp
--- a/src/readConfig.cpp	(revision 206)
+++ b/src/readConfig.cpp	(revision 207)
@@ -550,7 +550,7 @@

         ifstream inFile(configFile.c_str());
         char *line = new char[256];
-        while (inFile.getline(line, 256, '\n') != NULL)
+        while (inFile.getline(line, 256, '\n'))
             readConfig(line, planetProperties);

         // This condition will only be true if [default] is the only


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>xplanet</Name>
        <Homepage>http://xplanet.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <Summary>Render a planetary image into an X window</Summary>
        <Description>Xplanet was inspired by Xearth, which renders an image of the earth into the X root window. All of the major planets and most satellites can be drawn, similar to the Solar System Simulator. A number of different map projections are also supported, including azimuthal, Lambert, Mercator, Mollweide, orthographic, and rectangular.</Description>
        <Archive sha1sum="e711dc5a561f83d5bafcc4e47094addfd1806af7" type="targz">mirrors://sourceforge/project/xplanet/xplanet/1.3.1/xplanet-1.3.1.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>tiff-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>netpbm-devel</Dependency>
            <Dependency>giflib-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>libXScrnSaver-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>giflib6.patch</Patch>
            <Patch>xplanet-1.3.1-remove-null-comparison.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>xplanet</Name>
        <RuntimeDependencies>
            <Dependency>tiff</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>giflib</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>netpbm</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>libXScrnSaver</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-06-06</Date>
            <Version>1.3.1</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.3.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-06-14</Date>
            <Version>1.3.0</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>xplanet</Name>
        <Summary xml:lang="tr">Gezegen görüntülerini bir X penceresine çizdirir</Summary>
        <Description xml:lang="tr">Xplanet, Dünya'nın bir görüntüsünü bir X penceresine çizdiren Xearth programından esinlenilerek yapılmıştır. Güneş Sistemi Simülatörü'ne benzer şekilde bir çok büyük gezegen ve uydu çizdirilebilir. Azimut, Lambert, Mercator, Mollweide, ortografik, dikdörtgen de dahil olmak üzere bir çok farklı harita projeksiyonunu destekler.</Description>
    </Source>
</PISI>


code:
<PISI>
    <Name>science</Name>
</PISI>


code:
<PISI>
    <Name>science.gis</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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import perlmodules

def setup():
#    autotools.autoreconf("-vfi")
#    autotools.aclocal()
    pisitools.cflags.add("-fno-strict-aliasing")

    autotools.configure("--disable-static \
                         --enable-shared \
                         --datadir=/usr/share/gdal \
                         --with-ogdi \
                         --with-threads \
                         --with-jasper \
                         --with-odbc=/usr/lib/unixODBC \
                         --with-expat \
                         --with-cfitsio \
                         --with-hdf5 \
                         --with-netcdf \
                         --with-png \
                         --with-geos \
                         --without-mysql \
                         --with-curl \
                         --with-perl \
                         --with-jpeg \
                         --with-jpeg12=no \
                         --with-libtiff \
                         --with-sqlite3 \
                         --with-geotiff=external \
                         --with-podofo \
                         --with-spatialite \
                         --with-ogr \
                         --with-grib \
                         --with-curl \
                         --with-webp \
                         --with-python \
                         --without-poppler \
                         --with-xerces \
                         --without-openjpeg \
                         --without-libtool \
                         --without-hdf4 \
                         --without-fme \
                         --without-pcraster \
                         --without-kakadu \
                         --without-mrsid \
                         --without-jp2mrsid \
                         --without-msg \
                         --without-bsb \
                         --without-dods-root \
                         --without-oci \
                         --without-ingres \
                         --without-spatialite \
                         --without-dwgdirect \
                         --without-epsilon \
                         --without-idb \
                         --without-sde \
                         --mandir=/usr/share/man \
                         --without-ruby")

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

    #for bug 13646
    #pisitools.dosed("GDALmake.opt", "PY_HAVE_SETUPTOOLS=1 ", "PY_HAVE_SETUPTOOLS= ")
    #pisitools.dosed("apps/GNUmakefile", "EXE_DEP_LIBS ", "KILL_EXE_DEP_LIBS ")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    #remove egg
#    pisitools.removeDir("/usr/lib/python2.7/site-packages/GDAL-*")

    pisitools.domove("/usr/man/man3/*", "/usr/share/man/man3")
    pisitools.removeDir("/usr/man/")
    #pisitools.domove("/usr/etc/bash_completion.d/*", "/etc/bash_completion.d")
    #pisitools.removeDir("/usr/etc")

    perlmodules.removePodfiles()


code:
--- swig/python/GNUmakefile.orig	2008-02-02 17:00:52.000000000 -0800
+++ swig/python/GNUmakefile	2008-02-02 17:02:03.000000000 -0800
@@ -51,9 +51,9 @@
 install:

 ifeq ($(PY_HAVE_SETUPTOOLS),1)
-	$(PYTHON) setup.py install
+	$(PYTHON) setup.py install --root=$(DESTDIR)
 else
-	$(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
+	$(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix)
 endif

 	for f in $(SCRIPTS) ; do $(INSTALL) ./scripts/$$f $(DESTDIR)$(INST_BIN) ; done


code:
Index: gdal-2.2.3-fedora/scripts/GNUmakefile
===================================================================
--- gdal-2.2.3-fedora.orig/scripts/GNUmakefile
+++ gdal-2.2.3-fedora/scripts/GNUmakefile
@@ -5,6 +5,6 @@ completion:

 install:
 	if test "x`pkg-config --version 2>/dev/null`" != "x" -a "x`pkg-config --variable=compatdir bash-completion`" != "x"; then \
-		$(INSTALL_DIR) $(DESTDIR)${prefix}`pkg-config --variable=compatdir bash-completion` ; \
-		cp gdal-bash-completion.sh $(DESTDIR)${prefix}`pkg-config --variable=compatdir bash-completion`; \
+		$(INSTALL_DIR) $(DESTDIR)`pkg-config --variable=compatdir bash-completion` ; \
+		$(INSTALL_DATA) gdal-bash-completion.sh $(DESTDIR)`pkg-config --variable=compatdir bash-completion`/gdal; \
 	fi


code:
--- swig/python/GNUmakefile.orig	2015-06-14 21:06:33.000000000 +0200
+++ swig/python/GNUmakefile	2015-06-27 22:02:07.805035411 +0200
@@ -70,5 +70,5 @@
 ifeq ($(PY_HAVE_SETUPTOOLS),1)
-	$(PYTHON) setup.py install
+	$(PYTHON) setup.py install --root=$(DESTDIR)
 else
-	$(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix)
+	$(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(prefix)
 endif


code:
diff --git a/gdal/ogr/ogrsf_frmts/sqlite/ogrsqlitevirtualogr.cpp b/gdal/ogr/ogrsf_frmts/sqlite/ogrsqlitevirtualogr.cpp
index a30b452..d45f3ff 100644
--- a/gdal/ogr/ogrsf_frmts/sqlite/ogrsqlitevirtualogr.cpp
+++ b/gdal/ogr/ogrsf_frmts/sqlite/ogrsqlitevirtualogr.cpp
@@ -2451,6 +2451,12 @@ int OGR2SQLITE_static_register (sqlite3 * hDB, char **pzErrMsg,
 /*                           OGR2SQLITE_Register()                      */
 /************************************************************************/

+#ifdef sqlite3_auto_extension
+// Sqlite 3.8.7 defines sqlite3_auto_extension via sqlite3_api
+// which is not initialized at this moment
+#undef sqlite3_auto_extension
+#endif
+
 /* We call this function so that each time a db is created, */
 /* OGR2SQLITE_static_register is called, to initialize the sqlite3_api */
 /* structure with the right pointers. */


code:
--- GNUmakefile.orig	2010-12-27 15:37:19.715000013 +0200
+++ GNUmakefile	2010-12-27 15:37:35.036000014 +0200
@@ -176,7 +176,7 @@
 	(cd swig; $(MAKE) install)
 endif
 	for f in LICENSE.TXT data/*.* ; do $(INSTALL_DATA) $$f $(DESTDIR)$(INST_DATA) ; done
-	$(LIBTOOL_FINISH) $(INST_LIB)
+	$(LIBTOOL_FINISH) $(DESTDIR)$(INST_LIB)

 ifeq ($(HAVE_LIBTOOL),yes)


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>gdal</Name>
        <Homepage>http://www.gdal.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>library</IsA>
        A translator library for raster geospatial data formats (includes OGR support)
        <Description>GDAL is a translator library for raster geospatial data formats which presents a single abstract data model to the calling application for all supported formats.</Description>
        <Archive sha1sum="ba2bb0b7aedd227afc9541d13a857f967285db3c" type="targz">http://download.osgeo.org/gdal/2.2.3/gdal-2.2.3.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>bash-completion</Dependency>
            <Dependency>python-numpy</Dependency>

            <Dependency>geos-devel</Dependency>
            <Dependency>hdf5-devel</Dependency>
            <Dependency>ogdi-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>webp-devel</Dependency>
            <Dependency>giflib-devel</Dependency>

            <Dependency>netcdf-devel</Dependency>
            <Dependency>podofo-devel</Dependency>
            <Dependency>cfitsio-devel</Dependency>
            <Dependency>unixODBC-devel</Dependency>
            <Dependency>xerces-c-devel</Dependency>
            <Dependency>libfreexl-devel</Dependency>
            <Dependency>libgeotiff-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>postgresql-lib</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>expat-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>libpcre-devel</Dependency>

            <Dependency>libxml2-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>gdal-completion.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>gdal</Name>
        <RuntimeDependencies>
            <Dependency>geos</Dependency>
            <Dependency>hdf5</Dependency>
            <Dependency>ogdi</Dependency>
            <Dependency>tiff</Dependency>
            <Dependency>webp</Dependency>
            <Dependency>giflib</Dependency>

            <Dependency>netcdf</Dependency>
            <Dependency>podofo</Dependency>
            <Dependency>cfitsio</Dependency>
            <Dependency>unixODBC</Dependency>
            <Dependency>xerces-c</Dependency>
            <Dependency>libfreexl</Dependency>
            <Dependency>libgeotiff</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>postgresql-lib</Dependency>
            <Dependency>curl</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>expat</Dependency>
            <Dependency>libpcre</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>sqlite</Dependency>
            <Dependency>libxml2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share</Path>
            <Path fileType="data">/etc/bash_completion.d</Path>
        </Files>
    </Package>

    <Package>
        <Name>python-gdal</Name>
        gdal python bindings
        <RuntimeDependencies>
            <Dependency release="current">gdal</Dependency>
            <Dependency>python-numpy</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>python</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/lib/python2.7</Path>
        </Files>
    </Package>

    <Package>
        <Name>gdal-devel</Name>
        Development files for gdal
        <RuntimeDependencies>
            <Dependency release="current">gdal</Dependency>
            <Dependency>geos-devel</Dependency>
            <Dependency>hdf5-devel</Dependency>
            <Dependency>ogdi-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>webp-devel</Dependency>
            <Dependency>giflib-devel</Dependency>

            <Dependency>netcdf-devel</Dependency>
            <Dependency>podofo-devel</Dependency>
            <Dependency>cfitsio-devel</Dependency>
            <Dependency>unixODBC-devel</Dependency>
            <Dependency>xerces-c-devel</Dependency>
            <Dependency>libfreexl-devel</Dependency>
            <Dependency>libgeotiff-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>postgresql-lib</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>expat-devel</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>libpcre-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2018-02-15</Date>
            <Version>2.2.3</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-02-14</Date>
            <Version>2.2.0</Version>
            <Comment>Rebuild</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-05-30</Date>
            <Version>2.2.0</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.0.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-24</Date>
            <Version>2.0.2</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>gdal</Name>
        Coğrafi raster veri formatları için dönüştürücü bir kütüphane (OGR desteği de vardır)
        <Description xml:lang="tr">GDAL çağıran uygulamaya tüm desteklenen formatlar için tek bir soyut veri modeli sunan raster veri formatı dönüştürücü bir kütüphanedir.</Description>
    </Source>

    <Package>
        <Name>gdal-devel</Name>
        gdal 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 autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

def setup():
    autotools.configure("--disable-static \
                         --disable-dependency-tracking \
                         --enable-python \
                         --enable-ruby \
                         --disable-php ")

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

def build():
    autotools.make()
    autotools.make("check")

    shelltools.cd("doc")
    autotools.make("doxygen-html")

def install():
    autotools.rawInstall("DESTDIR=%(D)s \
                          PYTHON_PREFIX=%(D)s/usr/lib/%(V)s \
                          PYTHON_EXEC_PREFIX=%(D)s/usr/lib/%(V)s" % {"D": get.installDIR(),
                                                                     "V": get.curPYTHON()})

    pisitools.insinto("/usr/share/doc/geos", "doc/doxygen_docs/html")
    pisitools.dodoc("README", "AUTHORS", "NEWS", "COPYING")


code:
--- tests/unit/geos_unit.cpp.old	2009-12-02 13:21:54.000000000 +0200
+++ tests/unit/geos_unit.cpp	2009-12-02 13:22:12.000000000 +0200
@@ -9,6 +9,7 @@
 #include <tut_reporter.hpp>
 // geos
 #include <geos/unload.h>
+#include <stdlib.h>
 // std
 #include <cstdlib>
 #include <iomanip>


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>geos</Name>
        <Homepage>http://geos.refractions.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2</License>
        <IsA>library</IsA>
        Geometry engine library for Geographic Information Systems
        <Description>GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).</Description>
        <Archive sha1sum="b9d0578c6b5308cf05a3dd8873802f9862c04291" type="tarbz2">http://download.osgeo.org/geos/geos-3.6.2.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>doxygen</Dependency>
            <Dependency>ruby-devel</Dependency>
            <Dependency>swig</Dependency>
            <Dependency>python-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="0">geos-gcc43.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>geos</Name>
        <RuntimeDependencies>
            <Dependency>python</Dependency>
            <Dependency>libgcc</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/geos</Path>
        </Files>
    </Package>

    <Package>
        <Name>geos-devel</Name>
        Development files for geos
        <RuntimeDependencies>
            <Dependency release="current">geos</Dependency>
            <Dependency>ruby-devel</Dependency>
            <Dependency>python-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <Package>
        <Name>geos-docs</Name>
        <RuntimeDependencies>
            <Dependency release="current">geos</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc/geos/html</Path>
        </Files>
    </Package>

    <History>
        <Update release="6">
            <Date>2018-02-15</Date>
            <Version>3.6.2</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-04-15</Date>
            <Version>3.6.1</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>3.5.0</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-24</Date>
            <Version>3.5.0</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>geos</Name>
        Coğrafi bilgi sistemleri için geometri motoru sunan bir kütüphane
        <Description xml:lang="tr">GEOS (Açık Kaynak Geometri Motoru) Java Topology Suit (JTS) kütüphanesinin C++ portudur.</Description>
    </Source>

    <Package>
        <Name>geos-devel</Name>
        geos için geliştirme dosyaları
    </Package>

    <Package>
        <Name>geos-docs</Name>
        geos dokümantasyonu
    </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 get
from pisi.actionsapi import pisitools

def setup():
    pisitools.ldflags.add("-lm")

    autotools.autoreconf("-vif")
    autotools.configure("--enable-gcov=no \
                         --disable-static")

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libfreexl</Name>
        <Homepage>https://www.gaia-gis.it/fossil/freexl/index</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <PartOf>science.gis</PartOf>
        <IsA>library</IsA>
        Library to extract valid data from within an Excel (.xls) spreadsheet
        <Description>FreeXL is an open source library to extract valid data from within an Excel (.xls) spreadsheet.</Description>
        <Archive sha1sum="e909bdfb4590debb16b75f5c6df7f33cbccdff33" type="targz">http://www.gaia-gis.it/gaia-sins/freexl-1.0.4.tar.gz</Archive>
    </Source>
    <Package>
        <Name>libfreexl</Name>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libfreexl-devel</Name>
        Development files for libfreexl
        <Files>
            <Path fileType="header">/usr/include/*</Path>
            <Path fileType="library">/usr/lib/pkgconfig/freexl.pc</Path>
            <Path fileType="library">/usr/lib/libfreexl.so</Path>
        </Files>
        <RuntimeDependencies>
            <Dependency release="current">libfreexl</Dependency>
        </RuntimeDependencies>
    </Package>

    <History>
        <Update release="4">
            <Date>2018-02-16</Date>
            <Version>1.0.4</Version>
            <Comment>Version Bump</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-04-15</Date>
            <Version>1.0.2</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.0.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-02-25</Date>
            <Version>1.0.2</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</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

def setup():
    autotools.configure("--disable-static \
                         --with-jpeg \
                         --with-libtiff=/usr/include \
                         --with-proj \
                         --with-zip")

def build():
    autotools.make("-j1")

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

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libgeotiff</Name>
        <Homepage>http://geotiff.osgeo.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>as-is</License>
        <IsA>library</IsA>
        Library for reading TIFF files with embedded tags
        <Description>Library for reading TIFF files with embedded tags for geographic (cartographic) information.</Description>
        <Archive sha1sum="a3147443276ed775c50d7581035e951b499a4536" type="targz">http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.4.2.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>proj-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>doxygen</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libgeotiff</Name>
        <RuntimeDependencies>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>proj</Dependency>
            <Dependency>tiff</Dependency>
            <Dependency>zlib</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/epsg_csv</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>libgeotiff-devel</Name>
        Development files for libgeotiff
        <RuntimeDependencies>
            <Dependency release="current">libgeotiff</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>proj-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-04-16</Date>
            <Version>1.4.2</Version>
            <Comment>Rebuild with new toolchain.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.4.1</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-01-29</Date>
            <Version>1.4.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>libgeotiff</Name>
        Gömülü etiket içeren TIFF dosyalarını okumak için kütüphane
        Biblioteka GeoTIFF
        <Description xml:lang="tr">Coğrafik bilgi için gömülü etikletler içeren TIFF dosyalarını okumaya yarayan bir kütüphane.</Description>
        <Description xml:lang="pl">Ta biblioteka pozwala na odczytywanie i analizowanie znaczników „GeoTIFF”, a także definiowanie i zapisywanie znaczników w nowych plikach.</Description>
    </Source>

    <Package>
        <Name>libgeotiff-devel</Name>
        libgeotiff için geliştirme dosyaları
        Pliki naglowkowe do libgeotiff
    </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 get
from pisi.actionsapi import pisitools

def setup():
    autotools.configure("--disable-static \
                         --disable-geosadvanced")

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

def build():
    autotools.make()

def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    pisitools.dodoc("AUTHORS", "COPYING", "README", "README.coverage")

# By PiSiDo 2.0.0