[Git][debian-gis-team/geos][master] Simplify exclusion of export.h from libgeos++-dev.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Fri Nov 21 20:10:56 GMT 2025



Bas Couwenberg pushed to branch master at Debian GIS Project / geos


Commits:
b1f61590 by Bas Couwenberg at 2025-11-21T20:59:34+01:00
Simplify exclusion of export.h from libgeos++-dev.

- - - - -


4 changed files:

- debian/changelog
- − debian/clean
- debian/libgeos++-dev.install.in → debian/libgeos++-dev.install
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+geos (3.14.1-2) UNRELEASED; urgency=medium
+
+  * Simplify exclusion of export.h from libgeos++-dev.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Fri, 21 Nov 2025 20:53:31 +0100
+
 geos (3.14.1-1) unstable; urgency=medium
 
   * Update symbols for other architectures.


=====================================
debian/clean deleted
=====================================
@@ -1 +0,0 @@
-debian/libgeos++-dev.install


=====================================
debian/libgeos++-dev.install.in → debian/libgeos++-dev.install
=====================================
@@ -1,2 +1,3 @@
 usr/include/geos.h
+usr/include/geos/
 usr/lib/*/libgeos.so


=====================================
debian/rules
=====================================
@@ -33,13 +33,9 @@ else
 	dh_auto_test
 endif
 
-execute_before_dh_install:
-	# add C++ headers to C++ dev package install file
-	cp debian/libgeos++-dev.install.in debian/libgeos++-dev.install
-	find debian/tmp/usr/include/geos \( -name "*.h" -o -name "*.hpp" \) -a ! -name "export.h" | sed -e 's/^debian\/tmp\///' >> debian/libgeos++-dev.install
-
-	# Remove .asm files
-	rm -f debian/tmp/usr/include/geos/algorithm/ttmath/ttmathuint_x86_64_msvc.asm
+override_dh_install:
+	dh_install -Nlibgeos++-dev
+	dh_install -plibgeos++-dev -Xexport.h -Xttmathuint_x86_64_msvc.asm
 
 execute_after_dh_installexamples:
 	rm -f debian/*/usr/share/doc/libgeos-dev/examples/capi_indexed_predicate



View it on GitLab: https://salsa.debian.org/debian-gis-team/geos/-/commit/b1f61590bb6eeaa64d0e7f34503c8097dcb4c28a

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/geos/-/commit/b1f61590bb6eeaa64d0e7f34503c8097dcb4c28a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20251121/911b0701/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list