@@ -0,0 +1,88 @@
|
||||
#!/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/")
|
||||
|
||||
perlmodules.removePodfiles()
|
||||
@@ -0,0 +1,20 @@
|
||||
--- configure.orig 2011-01-28 15:27:41.522000144 +0200
|
||||
+++ configure 2011-02-11 17:11:08.468000061 +0200
|
||||
@@ -15470,7 +15470,7 @@
|
||||
#define HAVE_LIBRT 1
|
||||
_ACEOF
|
||||
|
||||
- LIBS="-lrt $LIBS"
|
||||
+ LIBS="$LIBS"
|
||||
|
||||
fi
|
||||
|
||||
@@ -20537,7 +20537,7 @@
|
||||
|
||||
MYSQL_INC=$MYSQL_INC
|
||||
|
||||
-MYSQL_LIB=$MYSQL_LIB
|
||||
+MYSQL_LIB="-L/usr/lib/mysql -lmysqlclient"
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
--- 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
|
||||
@@ -0,0 +1,20 @@
|
||||
--- swig/include/gdal.i.orig 2009-04-24 21:55:06.315863023 -0700
|
||||
+++ swig/include/gdal.i 2009-04-24 22:10:28.806611326 -0700
|
||||
@@ -176,6 +176,17 @@
|
||||
%include "gdal_typemaps.i"
|
||||
#endif
|
||||
|
||||
+/* Default memberin typemaps required to support SWIG 1.3.39 and above */
|
||||
+%typemap(memberin) char *Info %{
|
||||
+/* char* Info memberin typemap */
|
||||
+$1;
|
||||
+%}
|
||||
+
|
||||
+%typemap(memberin) char *Id %{
|
||||
+/* char* Info memberin typemap */
|
||||
+$1;
|
||||
+%}
|
||||
+
|
||||
//************************************************************************
|
||||
//
|
||||
// Define the exposed CPL functions.
|
||||
@@ -0,0 +1,10 @@
|
||||
--- 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
|
||||
@@ -0,0 +1,17 @@
|
||||
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. */
|
||||
@@ -0,0 +1,11 @@
|
||||
--- 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)
|
||||
@@ -0,0 +1,210 @@
|
||||
<?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>
|
||||
<Summary>A translator library for raster geospatial data formats (includes OGR support)</Summary>
|
||||
<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="c7a264ae756bba4608b6a1d159ef7731e004f56a" type="targz">http://download.osgeo.org/gdal/2.0.2/gdal-2.0.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python-numpy</Dependency>
|
||||
<!--Dependency>perl-ExtUtils-MakeMaker</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>jasper-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>poppler-devel</Dependency-->
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>gdal-python-install.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gdal</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>geos</Dependency>
|
||||
<Dependency>hdf5</Dependency>
|
||||
<Dependency>ogdi</Dependency>
|
||||
<Dependency>tiff</Dependency>
|
||||
<Dependency>webp</Dependency>
|
||||
<Dependency>giflib</Dependency>
|
||||
<Dependency>jasper</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>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>python-gdal</Name>
|
||||
<Summary>gdal python bindings</Summary>
|
||||
<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>
|
||||
<Summary>Development files for gdal</Summary>
|
||||
<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>jasper-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="11">
|
||||
<Date>2016-02-24</Date>
|
||||
<Version>2.0.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="10">
|
||||
<Date>2015-01-13</Date>
|
||||
<Version>1.11.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="9">
|
||||
<Date>2014-05-30</Date>
|
||||
<Version>1.9.2</Version>
|
||||
<Comment>Rebuild, cleanup, add python bindings.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2014-04-23</Date>
|
||||
<Version>1.9.2</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2014-01-31</Date>
|
||||
<Version>1.9.2</Version>
|
||||
<Comment>Rebuild Unused</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-01-23</Date>
|
||||
<Version>1.9.2</Version>
|
||||
<Comment>rebuild.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2013-12-01</Date>
|
||||
<Version>1.9.2</Version>
|
||||
<Comment>Rebuild for new perl.</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-10-10</Date>
|
||||
<Version>1.9.2</Version>
|
||||
<Comment>Rebuil for new poppler, use podofo instead of poppler.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-08-16</Date>
|
||||
<Version>1.9.2</Version>
|
||||
<Comment>Fix build</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-28</Date>
|
||||
<Version>1.9.2</Version>
|
||||
<Comment>Dep Fixed</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-10</Date>
|
||||
<Version>1.9.2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gdal</Name>
|
||||
<Summary xml:lang="tr">Coğrafi raster veri formatları için dönüştürücü bir kütüphane (OGR desteği de vardır)</Summary>
|
||||
<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>
|
||||
<Summary xml:lang="tr">gdal için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,35 @@
|
||||
#!/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", "ChangeLog", "AUTHORS", "NEWS", "COPYING")
|
||||
@@ -0,0 +1,10 @@
|
||||
--- 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>
|
||||
@@ -0,0 +1,107 @@
|
||||
<?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>
|
||||
<Summary>Geometry engine library for Geographic Information Systems</Summary>
|
||||
<Description>GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).</Description>
|
||||
<Archive sha1sum="142be1db41cb7c62afb9f6d3304769a39dd0b5ac" type="tarbz2">http://download.osgeo.org/geos/geos-3.5.0.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>
|
||||
<Summary>Development files for geos</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">geos</Dependency>
|
||||
<Dependency>ruby-devel</Dependency>
|
||||
<Dependency>python-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>geos-docs</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">geos</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc/geos/html</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2016-02-24</Date>
|
||||
<Version>3.5.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-05-31</Date>
|
||||
<Version>3.4.2</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-04-23</Date>
|
||||
<Version>3.4.2</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-01-31</Date>
|
||||
<Version>3.4.2</Version>
|
||||
<Comment>Rebuild Unused</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-10-08</Date>
|
||||
<Version>3.4.2</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>richdb@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-09</Date>
|
||||
<Version>3.3.5</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>geos</Name>
|
||||
<Summary xml:lang="tr">Coğrafi bilgi sistemleri için geometri motoru sunan bir kütüphane</Summary>
|
||||
<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>
|
||||
<Summary xml:lang="tr">geos için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>geos-docs</Name>
|
||||
<Summary xml:lang="tr">geos dokümantasyonu</Summary>
|
||||
</Package>
|
||||
|
||||
</PISI>
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import 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")
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
<?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>
|
||||
<Summary>Library to extract valid data from within an Excel (.xls) spreadsheet</Summary>
|
||||
<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>
|
||||
<Summary>Development files for libfreexl</Summary>
|
||||
<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="5">
|
||||
<Date>2016-02-25</Date>
|
||||
<Version>1.0.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2015-01-29</Date>
|
||||
<Version>1.0.0h</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-31</Date>
|
||||
<Version>1.0.0g</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-10-08</Date>
|
||||
<Version>1.0.0f</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>richdb@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-03-11</Date>
|
||||
<Version>1.0.0d</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/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")
|
||||
@@ -0,0 +1,87 @@
|
||||
<?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>
|
||||
<Summary>Library for reading TIFF files with embedded tags</Summary>
|
||||
<Description>Library for reading TIFF files with embedded tags for geographic (cartographic) information.</Description>
|
||||
<Archive sha1sum="bc9e2bb43f3877b795b4b191e7aec6267f4a1c7e" type="targz">http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-1.4.1.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>
|
||||
<Summary>Development files for libgeotiff</Summary>
|
||||
<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="4">
|
||||
<Date>2015-01-29</Date>
|
||||
<Version>1.4.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-31</Date>
|
||||
<Version>1.4.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-30</Date>
|
||||
<Version>1.4.0</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-10</Date>
|
||||
<Version>1.4.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libgeotiff</Name>
|
||||
<Summary xml:lan="tr">Gömülü etiket içeren TIFF dosyalarını okumak için kütüphane</Summary>
|
||||
<Summary xml:lan="pl">Biblioteka GeoTIFF</Summary>
|
||||
<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>
|
||||
<Summary xml:lang="tr">libgeotiff için geliştirme dosyaları</Summary>
|
||||
<Summary xml:lang="pl">Pliki naglowkowe do libgeotiff</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import 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
|
||||
@@ -0,0 +1,106 @@
|
||||
?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>
|
||||
<Summary>SQLite extension to support spatial data types and operations</Summary>
|
||||
<Description>SpatiaLite is an open source library intended to extend the SQLite core to support fully fledged Spatial SQL capabilities.</Description>
|
||||
<Archive sha1sum="698bf70bec669ddcbf1b0cc48f40c2e03776bffc" type="targz">http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-4.2.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>
|
||||
<Summary>Development files for libspatialite</Summary>
|
||||
<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="6">
|
||||
<Date>2015-01-29</Date>
|
||||
<Version>4.2.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-06-14</Date>
|
||||
<Version>4.1.1</Version>
|
||||
<Comment>Rebuild for gcc</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-02-20</Date>
|
||||
<Version>4.1.1</Version>
|
||||
<Comment>Rebuild Unused</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-10-08</Date>
|
||||
<Version>4.1.1</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>richdb@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-06-08</Date>
|
||||
<Version>4.1.0</Version>
|
||||
<Comment>V.Bump</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-03-10</Date>
|
||||
<Version>4.0.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libspatialite</Name>
|
||||
<Summary xml:lang="en">SQLite extension to support spatial data types and operations</Summary>
|
||||
<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>
|
||||
<Summary xml:lang="tr">libspatialite için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,39 @@
|
||||
#!/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.beta2"
|
||||
|
||||
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")
|
||||
@@ -0,0 +1,38 @@
|
||||
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
|
||||
|
||||
#
|
||||
@@ -0,0 +1,298 @@
|
||||
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. */
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
<?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>
|
||||
<Summary>Open Geographical Datastore Interface, a GIS support library</Summary>
|
||||
<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="e3fd0c8b3fb02ef5da2cc1e76bb5c2d3cb0b51b4" type="targz">mirrors://sourceforge/ogdi/ogdi-3.2.0.beta2.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>
|
||||
<Patch level="1">patch_for_proj48_redhat.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>
|
||||
<Summary>Development files for ogdi</Summary>
|
||||
<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="4">
|
||||
<Date>2014-05-31</Date>
|
||||
<Version>3.2.0_beta2</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>3.2.0_beta2</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-28</Date>
|
||||
<Version>3.2.0_beta2</Version>
|
||||
<Comment>Move pc files to devel pack, rebuild</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-13</Date>
|
||||
<Version>3.2.0_beta2</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>ogdi</Name>
|
||||
<Summary xml:lan="tr">Açık coğrafik veri kayıt arayüzü, GIS destek kütüphanesi</Summary>
|
||||
<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>
|
||||
<Summary xml:lang="tr">ogdi için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/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")
|
||||
@@ -0,0 +1,117 @@
|
||||
<?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="615f86c34ed4431383432d34f4b6d558c71fb94f" type="targz">http://download.osgeo.org/postgis/source/postgis-2.2.1.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="9">
|
||||
<Date>2016-02-25</Date>
|
||||
<Version>2.2.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2015-01-25</Date>
|
||||
<Version>2.1.5</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2014-10-02</Date>
|
||||
<Version>2.1.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Aydın Demirel</Name>
|
||||
<Email>aydin.demirel@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-06-14</Date>
|
||||
<Version>2.1.0</Version>
|
||||
<Comment>Rebuild for gcc.</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-04-23</Date>
|
||||
<Version>2.1.0</Version>
|
||||
<Comment>Rebuild for webp.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-02-16</Date>
|
||||
<Version>2.1.0</Version>
|
||||
<Comment>Delete Unused Deps.</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-10-10</Date>
|
||||
<Version>2.1.0</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-07-30</Date>
|
||||
<Version>2.0.2</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-03-25</Date>
|
||||
<Version>2.0.2</Version>
|
||||
<Comment>First release.</Comment>
|
||||
<Name>Alokin Software</Name>
|
||||
<Email>hello@alokin.in</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?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>
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/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")
|
||||
@@ -0,0 +1,74 @@
|
||||
<?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>
|
||||
<Summary>Cartographic Projections library</Summary>
|
||||
<Description>Proj.4 cartographic projection software with updated NAD27 grids.</Description>
|
||||
<Archive sha1sum="cdab24908f22b1e6bc0353e4fc42753269d75ab4" type="targz">http://download.osgeo.org/proj/proj-4.9.2.tar.gz</Archive>
|
||||
<Archive sha1sum="4429ba1a8c764d5c0e6724d868f6874f452f7440" type="zip" target="proj-4.9.2/nad">http://download.osgeo.org/proj/proj-datumgrid-1.5.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>
|
||||
<Summary>Development files for proj</Summary>
|
||||
<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="4">
|
||||
<Date>2016-02-24</Date>
|
||||
<Version>4.9.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-31</Date>
|
||||
<Version>4.8.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-02-05</Date>
|
||||
<Version>4.8.0</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-13</Date>
|
||||
<Version>4.8.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>isbaran@comu.edu.r</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>proj</Name>
|
||||
<Summary xml:lan="tr">Kartografik görüntüleme kütüphanesi</Summary>
|
||||
<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>
|
||||
<Summary xml:lang="tr">proj için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,37 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.export("CPPFLAGS", "-DNDEBUG -fPIC")
|
||||
shelltools.export("FC", "gfortran")
|
||||
shelltools.export("F90", "gfortran")
|
||||
shelltools.export("FFLAGS", "-fPIC %s" % get.CFLAGS())
|
||||
shelltools.export("FCFLAGS", "-fPIC %s" % get.CFLAGS())
|
||||
shelltools.export("F90FLAGS", "-fPIC %s" % get.CFLAGS())
|
||||
|
||||
autotools.configure("--enable-shared \
|
||||
--enable-netcdf-4 \
|
||||
--enable-dap-netcdf \
|
||||
--disable-static \
|
||||
")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def check():
|
||||
autotools.make("-j1 check")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
#pisitools.dodoc("README")
|
||||
@@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>netcdf</Name>
|
||||
<Homepage>http://my.unidata.ucar.edu/content/software/netcdf/index.html</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>UCAR-Unidata</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Scientific library and interface for array oriented data access</Summary>
|
||||
<Description>netcdf (network common data form) is a set of software libraries and machine-independent data formats that support the creation, access, and sharing of array-oriented scientific data.</Description>
|
||||
<Archive sha1sum="cb7de8f14ddeef5e66cbc688e0a127a405d580af" type="targz">ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.4.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>hdf5-devel</Dependency>
|
||||
<Dependency>curl-devel</Dependency>
|
||||
<Dependency>libgfortran</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--<Patch level="1">link-with-hdf5.patch</Patch>-->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>netcdf</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>hdf5</Dependency>
|
||||
<Dependency>curl</Dependency>
|
||||
<Dependency>libgfortran</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="info">/usr/share/info</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>netcdf-devel</Name>
|
||||
<Summary>Development files for netcdf</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">netcdf</Dependency>
|
||||
<Dependency>hdf5-devel</Dependency>
|
||||
<Dependency>curl-devel</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="6">
|
||||
<Date>2016-02-25</Date>
|
||||
<Version>4.4.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2015-02-12</Date>
|
||||
<Version>4.3.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-05-31</Date>
|
||||
<Version>4.3.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-01-23</Date>
|
||||
<Version>4.3.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-08-04</Date>
|
||||
<Version>4.3.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-11</Date>
|
||||
<Version>4.2.1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>netcdf</Name>
|
||||
<Summary xml:lang="tr">Dizi (array) odaklı veri erişimi için arayüz ve bilimsel kütüphane</Summary>
|
||||
<Summary xml:lang="fr">Librairie scientifique et interface pour l'accès aux données orientées tableaux.</Summary>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>netcdf-devel</Name>
|
||||
<Summary xml:lang="tr">netcdf için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>netcdf-devel</Name>
|
||||
<Summary xml:lang="tr">netcdf için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user