Codebase list geos / 4d2e21f
Disable PHP support, SWIG doesn't support PHP 7 yet. Bas Couwenberg 8 years ago
9 changed file(s) with 54 addition(s) and 46 deletion(s). Raw diff Collapse all Expand all
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
06 geos (3.5.0-2) unstable; urgency=medium
17
28 * Update Vcs-Git URL to use HTTPS.
44 Section: science
55 Priority: optional
66 Build-Depends: debhelper (>= 9),
7 # dh-php,
78 doxygen,
89 swig,
910 ruby,
1011 ruby-all-dev,
11 php5-dev,
12 phpunit,
12 # php-dev,
13 # phpunit,
1314 chrpath,
1415 dh-autoreconf,
1516 pkg-kde-tools
126127 .
127128 This package contains the Ruby bindings for GEOS.
128129
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.
140141
141142 Package: libgeos-dbg
142143 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
-2
debian/php5-geos.install less more
0 usr/lib/php5/
1 etc/php5/mods-available/
+0
-14
debian/php5-geos.postinst less more
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
-11
debian/php5-geos.prerm less more
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
1414 # testrunner fails on some architectures
1515 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
1616
17 PHP5API=$(shell php-config5 --phpapi)
17 #PHPAPI=$(shell php-config --phpapi)
1818
1919 # Guessing geos version, which is required for C++ binding support
2020 VER_MAJOR=$(shell grep ^VERSION_MAJOR configure.*|cut -d= -f2)
4949 --host=$(DEB_HOST_GNU_TYPE) \
5050 --build=$(DEB_BUILD_GNU_TYPE) \
5151 --enable-ruby \
52 --enable-php \
52 --disable-php \
5353 --mandir=\$${prefix}/share/man \
5454 --infodir=\$${prefix}/share/info \
5555 $(CONFFLAGS) \
7575 find debian/tmp/usr/include/geos -name "*.inl" -delete
7676
7777 # 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
7979
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/
8283
8384 # Strip RPATH
84 chrpath --delete debian/tmp/usr/lib/php5/*/geos.so
85 #chrpath --delete debian/tmp/usr/lib/php/*/geos.so
8586
8687 # Remove .la files
8788 find debian/tmp/usr/lib -name '*.la' -delete