Disable PHP support, SWIG doesn't support PHP 7 yet.
Bas Couwenberg
8 years ago
|
0 |
geos (3.5.0-3) UNRELEASED; urgency=medium
|
|
1 |
|
|
2 |
* Disable PHP support, SWIG doesn't support PHP 7 yet.
|
|
3 |
|
|
4 |
-- Bas Couwenberg <sebastic@debian.org> Sun, 20 Mar 2016 19:17:07 +0100
|
|
5 |
|
0 | 6 |
geos (3.5.0-2) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
* Update Vcs-Git URL to use HTTPS.
|
4 | 4 |
Section: science
|
5 | 5 |
Priority: optional
|
6 | 6 |
Build-Depends: debhelper (>= 9),
|
|
7 |
# dh-php,
|
7 | 8 |
doxygen,
|
8 | 9 |
swig,
|
9 | 10 |
ruby,
|
10 | 11 |
ruby-all-dev,
|
11 | |
php5-dev,
|
12 | |
phpunit,
|
|
12 |
# php-dev,
|
|
13 |
# phpunit,
|
13 | 14 |
chrpath,
|
14 | 15 |
dh-autoreconf,
|
15 | 16 |
pkg-kde-tools
|
|
126 | 127 |
.
|
127 | 128 |
This package contains the Ruby bindings for GEOS.
|
128 | 129 |
|
129 | |
Package: php5-geos
|
130 | |
Architecture: any
|
131 | |
Section: web
|
132 | |
Depends: ${shlibs:Depends},
|
133 | |
${misc:Depends}
|
134 | |
Description: GEOS bindings for PHP
|
135 | |
GEOS provides a spatial object model and fundamental geometric
|
136 | |
functions. It implements the geometry model defined in the
|
137 | |
OpenGIS Consortium Simple Features Specification for SQL.
|
138 | |
.
|
139 | |
This package contains the PHP bindings for GEOS.
|
|
130 |
#Package: php-geos
|
|
131 |
#Architecture: any
|
|
132 |
#Section: web
|
|
133 |
#Depends: ${shlibs:Depends},
|
|
134 |
# ${misc:Depends}
|
|
135 |
#Description: GEOS bindings for PHP
|
|
136 |
# GEOS provides a spatial object model and fundamental geometric
|
|
137 |
# functions. It implements the geometry model defined in the
|
|
138 |
# OpenGIS Consortium Simple Features Specification for SQL.
|
|
139 |
# .
|
|
140 |
# This package contains the PHP bindings for GEOS.
|
140 | 141 |
|
141 | 142 |
Package: libgeos-dbg
|
142 | 143 |
Architecture: any
|
|
0 |
usr/lib/php/
|
|
1 |
etc/php/*/mods-available/
|
|
0 |
#!/bin/sh
|
|
1 |
|
|
2 |
set -e
|
|
3 |
|
|
4 |
# Source debconf library.
|
|
5 |
. /usr/share/debconf/confmodule
|
|
6 |
|
|
7 |
#DEBHELPER#
|
|
8 |
|
|
9 |
if [ "$1" = "configure" ]; then
|
|
10 |
phpenmod geos
|
|
11 |
fi
|
|
12 |
|
|
13 |
exit 0
|
|
0 |
#!/bin/sh
|
|
1 |
|
|
2 |
set -e
|
|
3 |
|
|
4 |
#DEBHELPER#
|
|
5 |
|
|
6 |
if [ "$1" = "remove" ]; then
|
|
7 |
phpdismod geos
|
|
8 |
fi
|
|
9 |
|
|
10 |
exit 0
|
0 | |
usr/lib/php5/
|
1 | |
etc/php5/mods-available/
|
0 | |
#!/bin/sh
|
1 | |
|
2 | |
set -e
|
3 | |
|
4 | |
# Source debconf library.
|
5 | |
. /usr/share/debconf/confmodule
|
6 | |
|
7 | |
#DEBHELPER#
|
8 | |
|
9 | |
if [ "$1" = "configure" ]; then
|
10 | |
php5enmod geos
|
11 | |
fi
|
12 | |
|
13 | |
exit 0
|
0 | |
#!/bin/sh
|
1 | |
|
2 | |
set -e
|
3 | |
|
4 | |
#DEBHELPER#
|
5 | |
|
6 | |
if [ "$1" = "remove" ]; then
|
7 | |
php5dismod geos
|
8 | |
fi
|
9 | |
|
10 | |
exit 0
|
14 | 14 |
# testrunner fails on some architectures
|
15 | 15 |
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
16 | 16 |
|
17 | |
PHP5API=$(shell php-config5 --phpapi)
|
|
17 |
#PHPAPI=$(shell php-config --phpapi)
|
18 | 18 |
|
19 | 19 |
# Guessing geos version, which is required for C++ binding support
|
20 | 20 |
VER_MAJOR=$(shell grep ^VERSION_MAJOR configure.*|cut -d= -f2)
|
|
49 | 49 |
--host=$(DEB_HOST_GNU_TYPE) \
|
50 | 50 |
--build=$(DEB_BUILD_GNU_TYPE) \
|
51 | 51 |
--enable-ruby \
|
52 | |
--enable-php \
|
|
52 |
--disable-php \
|
53 | 53 |
--mandir=\$${prefix}/share/man \
|
54 | 54 |
--infodir=\$${prefix}/share/info \
|
55 | 55 |
$(CONFFLAGS) \
|
|
75 | 75 |
find debian/tmp/usr/include/geos -name "*.inl" -delete
|
76 | 76 |
|
77 | 77 |
# install PHP module to version specific directory
|
78 | |
echo 'misc:Depends=phpapi-'$(PHP5API) >> debian/php5-geos.substvars
|
|
78 |
#echo 'misc:Depends=phpapi-'$(PHPAPI) >> debian/php-geos.substvars
|
79 | 79 |
|
80 | |
-mkdir -p debian/tmp/etc/php5/mods-available/
|
81 | |
install -m644 debian/geos.ini debian/tmp/etc/php5/mods-available/
|
|
80 |
# TODO: Use dh_php to install geos.ini
|
|
81 |
#-mkdir -p debian/tmp/etc/php/7.0/mods-available/
|
|
82 |
#install -m644 debian/geos.ini debian/tmp/etc/php/7.0/mods-available/
|
82 | 83 |
|
83 | 84 |
# Strip RPATH
|
84 | |
chrpath --delete debian/tmp/usr/lib/php5/*/geos.so
|
|
85 |
#chrpath --delete debian/tmp/usr/lib/php/*/geos.so
|
85 | 86 |
|
86 | 87 |
# Remove .la files
|
87 | 88 |
find debian/tmp/usr/lib -name '*.la' -delete
|