Remove disabled PHP support, has split off into separate upstream project.
Bas Couwenberg
7 years ago
|
0 |
geos (3.5.0-5) UNRELEASED; urgency=medium
|
|
1 |
|
|
2 |
* Remove disabled PHP support, has split off into separate upstream project.
|
|
3 |
|
|
4 |
-- Bas Couwenberg <sebastic@debian.org> Tue, 30 Aug 2016 14:23:03 +0200
|
|
5 |
|
0 | 6 |
geos (3.5.0-4) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
* Bump Standards-Version to 3.9.8, no changes.
|
4 | 4 |
Section: science
|
5 | 5 |
Priority: optional
|
6 | 6 |
Build-Depends: debhelper (>= 9),
|
7 | |
# dh-php,
|
8 | 7 |
doxygen,
|
9 | 8 |
swig,
|
10 | 9 |
ruby,
|
11 | 10 |
ruby-all-dev,
|
12 | |
# php-dev,
|
13 | |
# phpunit,
|
14 | |
chrpath,
|
15 | 11 |
dh-autoreconf,
|
16 | 12 |
pkg-kde-tools
|
17 | 13 |
Standards-Version: 3.9.8
|
|
127 | 123 |
.
|
128 | 124 |
This package contains the Ruby bindings for GEOS.
|
129 | 125 |
|
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.
|
141 | |
|
142 | 126 |
Package: libgeos-dbg
|
143 | 127 |
Architecture: any
|
144 | 128 |
Section: debug
|
8 | 8 |
swig,
|
9 | 9 |
ruby,
|
10 | 10 |
ruby-all-dev,
|
11 | |
php5-dev,
|
12 | |
phpunit,
|
13 | |
chrpath,
|
14 | 11 |
dh-autoreconf,
|
15 | 12 |
pkg-kde-tools
|
16 | 13 |
Standards-Version: 3.9.8
|
|
126 | 123 |
.
|
127 | 124 |
This package contains the Ruby bindings for GEOS.
|
128 | 125 |
|
129 | |
Package: php5-geos
|
130 | |
Architecture: any
|
131 | |
Section: web
|
132 | |
Depends: php5-common,
|
133 | |
${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.
|
141 | |
|
142 | 126 |
Package: libgeos-dbg
|
143 | 127 |
Architecture: any
|
144 | 128 |
Section: debug
|
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
|
16 | 16 |
|
17 | 17 |
# testrunner fails on some architectures
|
18 | 18 |
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
19 | |
|
20 | |
#PHPAPI=$(shell php-config --phpapi)
|
21 | 19 |
|
22 | 20 |
# Guessing geos version, which is required for C++ binding support
|
23 | 21 |
VER_MAJOR=$(shell grep ^VERSION_MAJOR configure.*|cut -d= -f2)
|
|
52 | 50 |
--host=$(DEB_HOST_GNU_TYPE) \
|
53 | 51 |
--build=$(DEB_BUILD_GNU_TYPE) \
|
54 | 52 |
--enable-ruby \
|
55 | |
--disable-php \
|
56 | 53 |
--mandir=\$${prefix}/share/man \
|
57 | 54 |
--infodir=\$${prefix}/share/info \
|
58 | 55 |
$(CONFFLAGS) \
|
|
76 | 73 |
# Don't install geos.h & .inl files
|
77 | 74 |
rm -f debian/tmp/usr/include/geos.h
|
78 | 75 |
find debian/tmp/usr/include/geos -name "*.inl" -delete
|
79 | |
|
80 | |
# install PHP module to version specific directory
|
81 | |
#echo 'misc:Depends=phpapi-'$(PHPAPI) >> debian/php-geos.substvars
|
82 | |
|
83 | |
# TODO: Use dh_php to install geos.ini
|
84 | |
#-mkdir -p debian/tmp/etc/php/7.0/mods-available/
|
85 | |
#install -m644 debian/geos.ini debian/tmp/etc/php/7.0/mods-available/
|
86 | |
|
87 | |
# Strip RPATH
|
88 | |
#chrpath --delete debian/tmp/usr/lib/php/*/geos.so
|
89 | 76 |
|
90 | 77 |
# Remove .la files
|
91 | 78 |
find debian/tmp/usr/lib -name '*.la' -delete
|