[Git][debian-gis-team/jeolib-jiplib][master] 2 commits: Fix copyright file.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Thu Mar 27 10:34:38 GMT 2025



Bas Couwenberg pushed to branch master at Debian GIS Project / jeolib-jiplib


Commits:
1e7e33b1 by Bas Couwenberg at 2025-03-27T11:01:22+01:00
Fix copyright file.

- - - - -
0cf7a28d by Bas Couwenberg at 2025-03-27T11:24:26+01:00
Add binary package for Python bindings.

- - - - -


7 changed files:

- debian/control
- debian/copyright
- debian/libjiplib1.install
- − debian/libjiplib1.lintian-overrides
- + debian/python3-jiplib.install
- + debian/python3-jiplib.lintian-overrides
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -1,12 +1,14 @@
 Source: jeolib-jiplib
 Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
 Uploaders: Francesco Paolo Lovergine <frankie at debian.org>
-Section: python
+Section: libs
 Priority: optional
 Build-Depends: chrpath,
                cmake,
                debhelper-compat (= 13),
                dh-python,
+               dh-sequence-python3,
+               dh-sequence-numpy3,
                libboost-filesystem-dev,
                libboost-serialization-dev,
                libfann-dev,
@@ -34,7 +36,7 @@ Architecture: any
 Multi-Arch: same
 Depends: libjiplib1 (= ${binary:Version}),
          ${misc:Depends}
-Description: ISPRA JRC image processing for geospatial data library
+Description: ISPRA JRC image processing for geospatial data library - Development files
  This is an intermediate level library written in C++ with Python
  binding used by PyJeo and possibly other tools.
  .
@@ -43,13 +45,22 @@ Description: ISPRA JRC image processing for geospatial data library
 
 Package: libjiplib1
 Architecture: any
-Depends: python3-numpy (>= 1:2.1.0),
-         ${python3:Depends},
-         ${shlibs:Depends},
+Depends: ${shlibs:Depends},
          ${misc:Depends}
 Description: ISPRA JRC image processing for geospatial data library
  This is an intermediate level library written in C++ with Python
  binding used by PyJeo and possibly other tools.
  .
- This package contains the shared library and the Python
- bindings extension.
+ This package contains the shared library bindings extension.
+
+Package: python3-jiplib
+Architecture: any
+Section: python
+Depends: ${python3:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends}
+Description: Python binding to the ISPRA JRC image processing for geospatial data library
+ This is an intermediate level library written in C++ with Python
+ binding used by PyJeo and possibly other tools.
+ .
+ This package contains the Python bindings.


=====================================
debian/copyright
=====================================
@@ -1,68 +1,105 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Source: https://github.com/ec-jrc/jeolib-jiplib
 Upstream-Name: jeolib-jiplib
-Upstream-Contact: Pieter.Kempeneers at ec.europa.eu 
+Upstream-Contact: Pieter Kempeneers <pieter.kempeneers at ec.europa.eu>
+Source: https://github.com/ec-jrc/jeolib-jiplib
 
-Files:
- *
-Copyright:
- 2016-2020 European Union (Joint Research Centre)
- 2016- Pierre.Soille at jrc.ec.europa.eu
+Files: *
+Copyright: 2016-2024, European Union (Joint Research Centre)
+                2016, Pierre.Soille at jrc.ec.europa.eu
 License: GPL-3+
- This package is free software; you can redistribute it and/or modify
+
+Files: src/algorithms/myfann_cpp.h
+Copyright: 2004-2006, freegoldbar (at) yahoo dot com
+License: LGPL-2.1+
+
+Files: src/algorithms/svm.*
+Copyright: 2000-2012, Chih-Chung Chang and Chih-Jen Lin
+License: BSD-3-clause
+
+Files: test/pytest*.py
+Copyright: 2016-2019, European Union (Joint Research Centre)
+License: EUPL-1.2
+
+Files: debian/*
+Copyright: 2024, Francesco Paolo Lovergine <frankie at debian.org>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
+ the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  .
- This package is distributed in the hope that it will be useful,
+ This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  .
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>
-Comment:
- On Debian systems, the complete text of the GNU General
- Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ On Debian systems, the complete text of version 2 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.
 
-Files:
- src/algorithms/svm.*
-Copyright:
- 2000-2012 Chih-Chung Chang and Chih-Jen Lin
-License: BSD
- All rights reserved.
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
  .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ On Debian systems, the full text of the GNU General Public License
+ version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
+
+License: BSD-3-clause
  Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:
- .
- 1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- .
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- .
- 3. Neither name of copyright holders nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
- .
- .
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1) Redistributions of source code must retain the above copyright notice,
+    this list of conditions and the following disclaimer.
+ .
+ 2) Redistributions in binary form must reproduce the above copyright notice,
+    this list of conditions and the following disclaimer in the documentation
+    and/or other materials provided with the distribution.
+ .
+ 3) Neither the name of the ORGANIZATION nor the names of its contributors may
+    be used to endorse or promote products derived from this software without
+    specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ On Debian systems, the full text of the GNU Lesser General Public
+ License version 2.1 can be found in the file
+ `/usr/share/common-licenses/LGPL-2.1'.
 
-Files:
- test/pytest*.py
-Copyright: EUPL 1.2
+License: EUPL-1.2
  EUROPEAN UNION PUBLIC LICENCE v. 1.2
  EUPL © the European Union 2007, 2016
  .
@@ -350,24 +387,3 @@ Copyright: EUPL 1.2
  .
  All other changes or additions to this Appendix require the production of a new
  EUPL version.
-
-Files:
- debian/*
-Copyright:
- 2024 Francesco Paolo Lovergine <frankie at debian.org>
-License: GPL-2+
- This package is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
- .
- This package is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- GNU General Public License for more details.
- .
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>
-Comment:
- On Debian systems, the complete text of the GNU General
- Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".


=====================================
debian/libjiplib1.install
=====================================
@@ -1,2 +1 @@
 usr/lib/*/lib*.so.*
-usr/lib/python*


=====================================
debian/libjiplib1.lintian-overrides deleted
=====================================
@@ -1 +0,0 @@
-libjiplib1: missing-dependency-on-numpy-abi


=====================================
debian/python3-jiplib.install
=====================================
@@ -0,0 +1 @@
+usr/lib/python3*


=====================================
debian/python3-jiplib.lintian-overrides
=====================================
@@ -0,0 +1,3 @@
+# False positive (#1094364)
+missing-dependency-on-numpy-abi *
+


=====================================
debian/rules
=====================================
@@ -18,7 +18,7 @@ DEB_HOST_ARCH?=$(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_BUILD_MULTIARCH?=$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)
 
 %:
-	dh $@ --with python3 --buildsystem=cmake --builddirectory=$(CURDIR)/build 
+	dh $@ --buildsystem=cmake --builddirectory=$(CURDIR)/build
 
 override_dh_python3:
 	DEB_HOST_ARCH=$(DEB_HOST_ARCH) dh_python3 --shebang=/usr/bin/python3
@@ -35,16 +35,10 @@ override_dh_auto_test:
 	LD_LIBRARY_PATH=$(CURDIR)/build/build/lib:$(LD_LIBRARY_PATH) \
 	dh_auto_test
 
-override_dh_auto_install:
-	dh_auto_install 
+execute_after_dh_auto_install:
 	mkdir -p debian/tmp/usr/lib/python3
 	find $(CURDIR)/build/root/local/ -name 'libmiallib.so.*' -delete
 	find $(CURDIR)/build/root/local/ -name 'libjiplib.so.*' -delete
 	mv $(CURDIR)/build/root/local/lib/python*/* debian/tmp/usr/lib/python3/.
 	mv $(CURDIR)/debian/tmp/usr/lib/libjiplib* $(CURDIR)/debian/tmp/usr/lib/$(DEB_BUILD_MULTIARCH)/
 	find $(CURDIR)/debian/tmp -name '*.so*' -exec chrpath -d {} \;
-
-override_dh_shlibdeps:
-	dh_shlibdeps
-	dh_numpy3
-



View it on GitLab: https://salsa.debian.org/debian-gis-team/jeolib-jiplib/-/compare/81797bab417f0684dd575abdc22a5ed3851ae539...0cf7a28deba63f386ee5967e8f082602834e5842

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/jeolib-jiplib/-/compare/81797bab417f0684dd575abdc22a5ed3851ae539...0cf7a28deba63f386ee5967e8f082602834e5842
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/20250327/faa606a3/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list