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"

repo_name: ayhanyalcinsoy/main


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="8bd6a44a1aed30c4c6b6b068488dafb44eaa6adf" type="tarbz2">http://archive.apache.org/dist/subversion/subversion-1.9.5.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="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:
--- 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="701c51b8ec009523aedc166f080076398a2037ee" type="targz">http://download.osgeo.org/gdal/2.2.0/gdal-2.2.0.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>

        </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="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="2eadda190aa625d2923137691ffec218687ed3b0" type="tarbz2">http://download.osgeo.org/geos/geos-3.6.1.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="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="9878a2dfb23ba00be34605557ac454539411071d" type="targz">http://www.gaia-gis.it/gaia-sins/freexl-1.0.2.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="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


code:
?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libspatialite</Name>
        <Homepage>https://www.gaia-gis.it/fossil/libspatialite/index</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MPL-1.0</License>
        <PartOf>science.gis</PartOf>
        <IsA>library</IsA>
        SQLite extension to support spatial data types and operations
        <Description>SpatiaLite is an open source library intended to extend the SQLite core to support fully fledged Spatial SQL capabilities.</Description>
        <Archive sha1sum="ea77fe89055cb5b4fad597b4ac4a4eefb610a867" type="targz">http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-4.3.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>geos-devel</Dependency>
            <Dependency>libfreexl-devel</Dependency>
            <Dependency>proj-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libspatialite</Name>
        <RuntimeDependencies>
            <Dependency>geos</Dependency>
            <Dependency>libfreexl</Dependency>
            <Dependency>proj</Dependency>
            <Dependency>sqlite</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>libxml2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libspatialite-devel</Name>
        Development files for libspatialite
        <RuntimeDependencies>
            <Dependency release="current">libspatialite</Dependency>
            <Dependency>geos-devel</Dependency>
            <Dependency>libfreexl-devel</Dependency>
            <Dependency>proj-devel</Dependency>
            <Dependency>sqlite-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/*</Path>
            <Path fileType="library">/usr/lib/pkgconfig/*</Path>
            <Path fileType="library">/usr/lib/libspatialite.so</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-04-18</Date>
            <Version>4.3.0</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>4.2.0</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>4.2.0</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>libspatialite</Name>
        SQLite extension to support spatial data types and operations
        <Description xml:lang="en">SpatiaLite is an open source library intended to extend the SQLite core to support fully fledged Spatial SQL capabilities.</Description>
    </Source>

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

WorkDir = "ogdi-3.2.0"

shelltools.export("TOPDIR", "%s/%s" % (get.workDIR(), WorkDir))

def setup():
    autotools.configure('--with-zlib \
                         --with-projlib="-L/usr/lib -lproj" \
                         --with-expat \
                         --with-binconfigs')

def build():
    shelltools.export("TARGET", "Linux")
    shelltools.export("CFG", "release")
    autotools.make("-j1")

def install():
    pisitools.dolib_so("bin/Linux/*.so")
    pisitools.dosym("/usr/lib/libogdi.so", "/usr/lib/libogdi.so.3")

    for i in ["gltpd", "ogdi_import", "ogdi_info"]:
        pisitools.dobin("bin/Linux/%s" % i)
    pisitools.dobin("ogdi-config")

    pisitools.insinto("/usr/lib/pkgconfig", "ogdi.pc")

    pisitools.insinto("/usr/include", "ogdi/include/*.h")

    pisitools.dodoc("ChangeLog", "NEWS", "README")


code:
diff --git a/config/generic.mak.in b/config/generic.mak.in
index 1cb74f5..2e9cabe 100644
--- a/config/generic.mak.in
+++ b/config/generic.mak.in
@@ -35,16 +35,16 @@ AR		= ar cr
 # Compilation and linking flags
 #
 SHLIB_CFLAGS	= @C_PIC@
-COMMON_CFLAGS	= $(OPTIMIZATION) @CFLAGS@ @C_WFLAGS@ -DUNIX=1
+COMMON_CFLAGS	= $(OPTIMIZATION) @CFLAGS@ @C_WFLAGS@ -DUNIX=1 @C_PIC@

-SHLIB_LDFLAGS	= -shared
-COMMON_LDFLAGS  = $(OPTIMIZATION)
+SHLIB_LDFLAGS	= -shared -Wl,-soname,$(LIB_PREFIX)$(TOBEGEN).$(SHLIB_EXT).$(OGDI_MAJOR)
+COMMON_LDFLAGS  = $(OPTIMIZATION) $(LDFLAGS)

 RPC_INCLUDES = @RPC_INCLUDES@

 UCB_STATICLIB =

-TCL_INCLUDE = -I/usr/include/tcl8.3
+TCL_INCLUDE = -I${prefix}/include
 TCL_LINKLIB =

 #
diff --git a/config/unix.mak b/config/unix.mak
index e3af578..927b0fc 100644
--- a/config/unix.mak
+++ b/config/unix.mak
@@ -55,7 +55,7 @@ LINK_SW		= -L
 ifeq ($(CFG),debug)
 OPTIMIZATION	= -g
 else
-OPTIMIZATION	= -O
+OPTIMIZATION	=
 endif

 #


code:
Index: ogdi-dfsg/configure
===================================================================
--- ogdi-dfsg.orig/configure
+++ ogdi-dfsg/configure
@@ -3939,7 +3939,7 @@
 fi

-for ac_header in projects.h
+for ac_header in proj_api.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
@@ -4085,8 +4085,8 @@
    { (exit 1); exit 1; }; }
   fi
   if test "$ac_cv_header_projects_h" = no ; then
-    { { echo "$as_me:$LINENO: error: Unable to find external PROJ.4 projects.h file, give path or use default internal library." >&5
-echo "$as_me: error: Unable to find external PROJ.4 projects.h file, give path or use default internal library." >&2;}
+    { { echo "$as_me:$LINENO: error: Unable to find external PROJ.4 proj_api.h file, give path or use default internal library." >&5
+echo "$as_me: error: Unable to find external PROJ.4 proj_api.h file, give path or use default internal library." >&2;}
    { (exit 1); exit 1; }; }
   fi

@@ -4095,12 +4095,12 @@

 elif test "$with_proj" != "no" -a "$with_proj" != "" ; then

-  if test -r $with_proj/include/projects.h ; then
-    echo "checking for $with_proj/include/projects.h ... found"
+  if test -r $with_proj/include/proj_api.h ; then
+    echo "checking for $with_proj/include/proj_api.h ... found"
     PROJ_INCLUDE=-I$with_proj/include
   else
-    { { echo "$as_me:$LINENO: error: Unable to find $with_proj/include/projects.h" >&5
-echo "$as_me: error: Unable to find $with_proj/include/projects.h" >&2;}
+    { { echo "$as_me:$LINENO: error: Unable to find $with_proj/include/proj_api.h" >&5
+echo "$as_me: error: Unable to find $with_proj/include/proj_api.h" >&2;}
    { (exit 1); exit 1; }; }
   fi

Index: ogdi-dfsg/configure.in
===================================================================
--- ogdi-dfsg.orig/configure.in
+++ ogdi-dfsg/configure.in
@@ -81,13 +81,13 @@
 if test "$with_proj" = "yes" ; then

   AC_CHECK_LIB(proj,pj_init,PROJ_SETTING=external,PROJ_SETTING=missing,)
-  AC_CHECK_HEADERS(projects.h)
+  AC_CHECK_HEADERS(proj_api.h)

   if test $PROJ_SETTING = missing ; then
     AC_MSG_ERROR([Unable to find external PROJ.4 library, give path or use default internal library.])
   fi
   if test "$ac_cv_header_projects_h" = no ; then
-    AC_MSG_ERROR([Unable to find external PROJ.4 projects.h file, give path or use default internal library.])
+    AC_MSG_ERROR([Unable to find external PROJ.4 proj_api.h file, give path or use default internal library.])
   fi

   PROJ_SETTING=external
@@ -95,11 +95,11 @@

 elif test "$with_proj" != "no" -a "$with_proj" != "" ; then

-  if test -r $with_proj/include/projects.h ; then
-    echo "checking for $with_proj/include/projects.h ... found"
+  if test -r $with_proj/include/projapi.h ; then
+    echo "checking for $with_proj/include/proj_api.h ... found"
     PROJ_INCLUDE=-I$with_proj/include
   else
-    AC_MSG_ERROR([Unable to find $with_proj/include/projects.h])
+    AC_MSG_ERROR([Unable to find $with_proj/include/proj_api.h])
   fi

   if test -r $with_proj/lib/libproj.so ; then
Index: ogdi-dfsg/ogdi/c-api/client.c
===================================================================
--- ogdi-dfsg.orig/ogdi/c-api/client.c
+++ ogdi-dfsg/ogdi/c-api/client.c
@@ -1576,7 +1576,7 @@
   char *error_message;
   ecs_CtlPoints *cpts;
   ecs_Result *res;
-  PJ *tempproj;
+  projPJ tempproj;

   if (multiblock != 0) {
     res = &cln_dummy_result;
@@ -1598,7 +1598,7 @@
   /* Check if the projection is valid */

   if (strncmp(projection,PROJ_LONGLAT,13) != 0) {
-    tempproj = (PJ *) cln_ProjInit(projection);
+    tempproj = (projPJ) cln_ProjInit(projection);
     if(tempproj == NULL) {
       res = &cln_dummy_result;
       ecs_SetError(res,1,"This projection string is invalid");
@@ -1775,7 +1775,7 @@
   ecs_Result *res;
   register ecs_Client *cln;
   char *server_proj;
-  PJ *oldtarget,*oldsource;
+  projPJ oldtarget,oldsource;
   ecs_Region oldreg;
   int oldisprojequal;
   int oldisTargetLL;
@@ -1874,7 +1874,7 @@

   if (strncmp(projection,PROJ_LONGLAT,13) != 0) {
     cln->isTargetLL = FALSE;
-    cln->target = (PJ *) cln_ProjInit(projection);
+    cln->target = (projPJ) cln_ProjInit(projection);
     if(cln->target == NULL) {
       goto setprojerror;
     }
@@ -1920,7 +1920,7 @@

   if (strncmp(server_proj,PROJ_LONGLAT,13) != 0) {
     cln->isSourceLL = FALSE;
-    cln->source = (PJ *) cln_ProjInit(server_proj);
+    cln->source = (projPJ) cln_ProjInit(server_proj);
     if(cln->source == NULL) {
       goto setprojerror;
     }
@@ -2328,13 +2328,13 @@
  *	char *d: Projection name
  *
  *  OUT
- *	return PJ *: New projection structure. If NULL, the operation
+ *	return projPJ: New projection structure. If NULL, the operation
  *	is a failure.
  *
  *----------------------------------------------------------------------
  */

-PJ *cln_ProjInit(d)
+projPJ cln_ProjInit(d)
      char *d;
 {
   int i,n;
@@ -2343,7 +2343,7 @@
   char *l;
   int longueur;
   char *c;
-  PJ *retour;
+  projPJ retour;

   if ((c = (char *) malloc(strlen(d)+3)) == NULL) {
     return NULL;
@@ -2378,7 +2378,7 @@
     n++;
   }

-  retour = (PJ *) pj_init(n, (char **) tableau);
+  retour = (projPJ) pj_init(n, (char **) tableau);
   free(c);
   free(tableau);

Index: ogdi-dfsg/ogdi/c-api/ecsgeo.c
===================================================================
--- ogdi-dfsg.orig/ogdi/c-api/ecsgeo.c
+++ ogdi-dfsg/ogdi/c-api/ecsgeo.c
@@ -310,7 +310,7 @@
      char *projection;
      double X1,Y1,X2,Y2;
 {
-  PJ *proj;
+  projPJ proj;
   char **argv;
   int argc;
   double lon1,lat1,lon2,lat2;
Index: ogdi-dfsg/ogdi/datum_driver/usa/dtusa.c
===================================================================
--- ogdi-dfsg.orig/ogdi/datum_driver/usa/dtusa.c
+++ ogdi-dfsg/ogdi/datum_driver/usa/dtusa.c
@@ -26,7 +26,12 @@
   ********************************************************************/

 #include "ecs.h"
-#include "projects.h"
+#include "proj_api.h"
+
+/* Definition from Proj.4 */
+projUV nad_cvt(projUV, int, struct CTABLE *);
+struct CTABLE *nad_init(projCtx ctx, char *);
+void nad_free(struct CTABLE *);

 typedef struct {
   struct CTABLE *dtptr;
@@ -124,7 +129,7 @@
     strcat(pathfile,"/");
     strcat(pathfile,table);

-    ptr->dtptr = nad_init(pathfile);
+    ptr->dtptr = nad_init(pj_get_default_ctx(), pathfile);
     if (ptr->dtptr == NULL) {
       ptr->count--;
       return FALSE;
Index: ogdi-dfsg/ogdi/include/ecs_util.h
===================================================================
--- ogdi-dfsg.orig/ogdi/include/ecs_util.h
+++ ogdi-dfsg/ogdi/include/ecs_util.h
@@ -105,12 +105,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>

-#include "projects.h"
-
-/* Ensure we are compatible with PROJ.4.4.x and PROJ.4.3.x */
-#ifndef USE_PROJUV
-#  define projUV UV
-#endif
+#include "proj_api.h"

 #include "ecs.h"

@@ -1054,8 +1049,8 @@
      ecs_Family currentSelectionFamily: Current layer selection type
      char *tclprocname: attribute callback procedure for tcl
      char *target_proj: Projection descriptor
-     PJ *target: target (c interface) projection descriptors
-     PJ *source: source (driver) projection descriptors
+     projPJ target: target (c interface) projection descriptors
+     projPJ source: source (driver) projection descriptors
      ecs_Datum targetdatum: target datum information
      ecs_Datum sourcedatum: source datum information
      void *dthandle: Handle to the datum driver
@@ -1092,8 +1088,8 @@
   ecs_Family currentSelectionFamily; /* Current layer selection type */
   char *tclprocname;      /* attribute callback procedure for tcl */
   char *target_proj;
-  PJ *target;             /* source and target projection descriptors */
-  PJ *source;
+  projPJ target;             /* source and target projection descriptors */
+  projPJ source;
   int isSourceLL;         /* flags to avoid unnecessary computation */
   int isTargetLL;
   int isProjEqual;
@@ -1165,7 +1161,7 @@

 /* Projection conversion functions */

-PJ *cln_ProjInit                     _ANSI_ARGS_((char *d));
+projPJ cln_ProjInit                     _ANSI_ARGS_((char *d));
 int cln_CompareProjections           _ANSI_ARGS_((int ClientID));
 int cln_UpdateMaxRegion              _ANSI_ARGS_((int ClientID, double x, double y, ecs_Region *gr, int sens, int first));
 int cln_ConvRegion                   _ANSI_ARGS_((int ClientID, ecs_Region *gr, int sens));
Index: ogdi-dfsg/contrib/ogdi_import/ogdi_import.c
===================================================================
--- ogdi-dfsg.orig/contrib/ogdi_import/ogdi_import.c
+++ ogdi-dfsg/contrib/ogdi_import/ogdi_import.c
@@ -63,12 +63,7 @@
 #include "ecs.h"
 #include "shapefil.h"
 #include <assert.h>
-#include "projects.h"
-
-#ifndef PJ_VERSION
-#define projPJ PJ*
-#define projUV UV
-#endif
+#include "proj_api.h"

 static int	ClientID = -1;
 static int      bNoDict = FALSE;
Index: ogdi-dfsg/contrib/ogdi_info/ogdi_info.c
===================================================================
--- ogdi-dfsg.orig/contrib/ogdi_info/ogdi_info.c
+++ ogdi-dfsg/contrib/ogdi_info/ogdi_info.c
@@ -63,7 +63,7 @@
  */

 #include "ecs.h"
-#include "projects.h"
+#include "proj_api.h"

 static int	ClientID = -1;
 static int      bNoDict = FALSE;
@@ -214,7 +214,7 @@
 /*                          DumpGlobalRegion()                          */
 /************************************************************************/

-static int DumpGlobalRegion( ecs_Region * region, PJ * proj_defn )
+static int DumpGlobalRegion( ecs_Region * region, projPJ proj_defn )

 {
     ecs_Result	*result;
@@ -398,7 +398,7 @@

 {
     ecs_Result *result;
-    PJ	       *proj_defn = NULL;
+    projPJ     proj_defn = NULL;

 /* -------------------------------------------------------------------- */
 /*      Close old client if there is one active.                        */


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>ogdi</Name>
        <Homepage>http://ogdi.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>as-is</License>
        <IsA>library</IsA>
        Open Geographical Datastore Interface, a GIS support library
        <Description>OGDI is an application programming interface (API) that uses a standardized access methods to work in conjunction with GIS software packages (the application) and various geospatial data products.</Description>
        <Archive sha1sum="3bbd25a6a72718519f01e642bf6fd84e0975487d" type="targz">mirrors://sourceforge/ogdi/ogdi-3.2.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>proj-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>expat-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">ogdi-3.1.6-fpic.patch</Patch>

        </Patches>
    </Source>

    <Package>
        <Name>ogdi</Name>
        <RuntimeDependencies>
            <Dependency>proj</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>expat</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>ogdi-devel</Name>
        Development files for ogdi
        <RuntimeDependencies>
            <Dependency release="current">ogdi</Dependency>
            <Dependency>proj-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>expat-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-04-15</Date>
            <Version>3.2.0</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.2.0_beta2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-31</Date>
            <Version>3.2.0_beta2</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>


code:
<?xml version="1.0" ?>
<PISI>
    <Source>
        <Name>ogdi</Name>
        Açık coğrafik veri kayıt arayüzü, GIS destek kütüphanesi
        <Description xml:lang="tr">OGDI, GIS yazılım paketleri ve çeşitli mekansal/coğrafik veri ürünleriyle çalışabilecek standart erişim metodları içeren açık bir uygulama geliştirme arayüzüdür.</Description>
    </Source>

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


code:
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2013 Alokin Software Pvt Ltd.
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

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

def setup():
    autotools.configure()

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

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

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

    pisitools.dodoc("ChangeLog", "CREDITS", "NEWS", "README.postgis", "STYLE", "TODO")


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>postgis</Name>
        <Homepage>http://postgis.refractions.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>Adds support for geographic objects to PostgreSQL</Summary>
        <Description>PostGIS adds support for geographic objects to the PostgreSQL object-relational database. In effect, PostGIS "spatially enables" the PostgreSQL server, allowing it to be used as a backend spatial database for geographic information systems (GIS), much like ESRI's SDE or Oracle's Spatial extension.</Description>
        <Archive sha1sum="1d0e7465df0c3abcf776fb25fce74ef85aad441c" type="targz">http://download.osgeo.org/postgis/source/postgis-2.3.2.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>proj-devel</Dependency>
            <Dependency>gdal-devel</Dependency>
            <Dependency>geos-devel</Dependency>
            <Dependency>json-c-devel</Dependency>
            <Dependency>postgresql-lib</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>postgis</Name>
        <RuntimeDependencies>
            <Dependency>proj</Dependency>
            <Dependency>gdal</Dependency>
            <Dependency>geos</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>libpcre</Dependency>
            <Dependency>json-c</Dependency>
            <Dependency>postgresql-lib</Dependency>
            <Dependency>postgresql-server</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-05-30</Date>
            <Version>2.3.2</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.2.1</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>2.2.1</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>postgis</Name>
        <Summary xml:lang="tr">Coğrafi nesneler için PostgreSQL eklentisi</Summary>
        <Description xml:lang="tr">postgis, PostgreSQL nesne yönelimli veritabanı için coğrafi nesneler ekleme desteği sağlayan bir pakettir. Gerçekte postgis, coğrafi bilgi sistemleri için kullanılan spatial veritabanı bağlayıcısında olduğu gibi (daha çok ESRI'nin SDE'sine veya Oracle'in Spatial eklentisine benzer) PostgreSQL sunucusunda da benzer işleri yapabilmenizi sağlar.</Description>
    </Source>
</PISI>


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

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

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

def build():
    autotools.make()

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

    #pisitools.insinto("%s/share/proj" % get.defaultprefixDIR(), "nad/test*")
    #pisitools.insinto("%s/share/proj" % get.defaultprefixDIR(), "nad/pj_out*.dist")

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


code:
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>proj</Name>
        <Homepage>http://trac.osgeo.org/proj/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        Cartographic Projections library
        <Description>Proj.4 cartographic projection software with updated NAD27 grids.</Description>
        <Archive sha1sum="2f5a1f13d65f9ac35bbad1e3449f32b256967856" type="targz">http://download.osgeo.org/proj/proj-4.9.3.tar.gz</Archive>
        <Archive sha1sum="bf0059be06359f71eb0349e64f97502bde1ce5bc" type="zip" target="proj-4.9.3/nad">http://download.osgeo.org/proj/proj-datumgrid-1.6.zip</Archive>
    </Source>

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

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

    <History>
        <Update release="3">
            <Date>2017-04-15</Date>
            <Version>4.9.3</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>4.9.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>4.9.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>proj</Name>
        Kartografik görüntüleme kütüphanesi
        <Description xml:lang="tr">Güncellenmiş NAD27 gridlerini de içeren kartografik görüntüleme yazılımı.</Description>
    </Source>

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