Merge ~mkukri/ubuntu/+source/imath:merge into ubuntu/+source/imath:debian/sid

Proposed by Mate Kukri
Status: Merged
Merge reported by: Mate Kukri
Merged at revision: 2b9ba1c4688d26ab6418e86f48d0048da28ba3a1
Proposed branch: ~mkukri/ubuntu/+source/imath:merge
Merge into: ubuntu/+source/imath:debian/sid
Diff against target: 155 lines (+78/-11)
3 files modified
debian/changelog (+32/-0)
debian/control (+9/-8)
debian/rules (+37/-3)
Reviewer Review Type Date Requested Status
Simon Quigley (community) Approve
git-ubuntu import Pending
Review via email: mp+456425@code.launchpad.net

Commit message

(Second try) Merge with Debian sid, now actually builds :-)

To post a comment you must log in.
Revision history for this message
Simon Quigley (tsimonq2) wrote :

 _____________________
| _________________ |
| | 0. | |
| |_________________| |
| ___ ___ ___ ___ |
| | 7 | 8 | 9 | | + | |
| |___|___|___| |___| |
| | 4 | 5 | 6 | | - | |
| |___|___|___| |___| |
| | 1 | 2 | 3 | | x | |
| |___|___|___| |___| |
| | . | 0 | = | | / | |
| |___|___|___| |___| |
|_____________________|

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 9e27225..e1a0504 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,10 @@
6+imath (3.1.9-3ubuntu1) noble; urgency=medium
7+
8+ * Merge with Debian unstable. Remaining changes:
9+ - Don't build python3-imath on i386
10+
11+ -- Mate Kukri <mate.kukri@canonical.com> Tue, 28 Nov 2023 09:48:52 +0000
12+
13 imath (3.1.9-3) unstable; urgency=medium
14
15 * debian/control: add python3-imath as dep to -dev
16@@ -18,6 +25,13 @@ imath (3.1.9-1) unstable; urgency=medium
17
18 -- Matteo F. Vescovi <mfv@debian.org> Sat, 19 Aug 2023 00:24:19 +0200
19
20+imath (3.1.6-1ubuntu1) lunar; urgency=medium
21+
22+ * Merge from Debian unstable, remaining changes:
23+ + Don't build python3-imath on i386
24+
25+ -- Graham Inggs <ginggs@ubuntu.com> Sat, 11 Feb 2023 06:56:53 +0000
26+
27 imath (3.1.6-1) unstable; urgency=medium
28
29 * New upstream release
30@@ -25,6 +39,24 @@ imath (3.1.6-1) unstable; urgency=medium
31
32 -- Matteo F. Vescovi <mfv@debian.org> Sat, 21 Jan 2023 15:17:19 +0100
33
34+imath (3.1.5-1ubuntu3) lunar; urgency=medium
35+
36+ * No-change rebuild with Python 3.11 as default
37+
38+ -- Graham Inggs <ginggs@ubuntu.com> Sun, 25 Dec 2022 19:21:36 +0000
39+
40+imath (3.1.5-1ubuntu2) kinetic; urgency=medium
41+
42+ * No-change rebuild to pick up fixed libboost-python dependencies
43+
44+ -- Graham Inggs <ginggs@ubuntu.com> Sat, 03 Sep 2022 13:10:14 +0000
45+
46+imath (3.1.5-1ubuntu1) kinetic; urgency=medium
47+
48+ * Don't build python3-imath on i386.
49+
50+ -- Steve Langasek <steve.langasek@ubuntu.com> Sun, 21 Aug 2022 05:53:07 +0000
51+
52 imath (3.1.5-1) unstable; urgency=medium
53
54 * New upstream release
55diff --git a/debian/control b/debian/control
56index c5a499a..cb0a4b6 100644
57--- a/debian/control
58+++ b/debian/control
59@@ -1,20 +1,21 @@
60 Source: imath
61 Section: libs
62 Priority: optional
63-Maintainer: Debian PhotoTools Maintainers <pkg-phototools-devel@lists.alioth.debian.org>
64+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
65+XSBC-Original-Maintainer: Debian PhotoTools Maintainers <pkg-phototools-devel@lists.alioth.debian.org>
66 Uploaders: Matteo F. Vescovi <mfv@debian.org>
67 Build-Depends:
68 cmake,
69 debhelper-compat (= 13),
70- dh-python,
71+ dh-python [!i386],
72 doxygen,
73- libboost-python-dev,
74+ libboost-python-dev [!i386],
75 pkg-config,
76- python3-breathe,
77- python3-dev:any,
78- python3-numpy,
79- python3-sphinx,
80- python3-sphinx-press-theme
81+ python3-breathe [!i386],
82+ python3-dev:any [!i386],
83+ python3-numpy [!i386],
84+ python3-sphinx [!i386],
85+ python3-sphinx-press-theme [!i386]
86 Standards-Version: 4.6.2
87 Rules-Requires-Root: no
88 Homepage: https://www.openexr.com
89diff --git a/debian/rules b/debian/rules
90index ca3a3a5..dbcf8ba 100755
91--- a/debian/rules
92+++ b/debian/rules
93@@ -1,12 +1,24 @@
94 #! /usr/bin/make -f
95
96+pkg_lib = libimath-3-1-29
97+pkg_dev = libimath-dev
98+pkg_doc = libimath-doc
99+pkg_py = python3-imath
100+
101 export DH_OPTIONS
102 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
103
104+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
105+
106+ifneq ($(DEB_HOST_ARCH), i386)
107+ witharg = --with python3
108+ cmake_python = -DPYTHON=ON
109+endif
110+
111 INSTDIR = debian/tmp
112
113 %:
114- dh $@ -Bbuild -Scmake --with python3
115+ dh $@ -Bbuild -Scmake $(witharg)
116
117 ifeq "" "$(filter %-doc,$(shell dh_listpackages))"
118 BUILDDOC = OFF
119@@ -18,7 +30,7 @@ override_dh_auto_configure:
120 dh_auto_configure -- \
121 -DBUILD_DOCS=$(BUILDDOC) \
122 -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
123- -DPYTHON=ON
124+ $(cmake_python)
125
126 override_dh_auto_build-indep:
127 dh_auto_build -- docs
128@@ -40,4 +52,26 @@ override_dh_install-indep:
129 rm -f $(INSTDIR)/usr/share/doc/Imath/sphinx/_static/underscore.js
130 rm -f $(INSTDIR)/usr/share/doc/Imath/sphinx/.buildinfo
131 rm -rf $(INSTDIR)/usr/share/doc/Imath/sphinx/.doctrees
132- dh_install
133+ dh_install -p$(pkg_doc) usr/share/doc/Imath/sphinx/* usr/share/doc/libimath-doc/html
134+
135+override_dh_install-arch:
136+ # See #1004067
137+ sed -i -e "s/FATAL_ERROR/STATUS/g" debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/Imath/ImathConfig.cmake
138+ sed -i -e "s/FATAL_ERROR/STATUS/g" debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/Imath/ImathTargets.cmake
139+ifneq ($(DEB_HOST_ARCH), i386)
140+ dh_numpy3 --package=$(pkg_py)
141+endif
142+ dh_install -p$(pkg_lib) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libImath-3_1.so.29.8.0
143+ dh_install -p$(pkg_lib) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libImath-3_1.so.29
144+ dh_install -p$(pkg_dev) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libImath-3_1.so
145+ dh_install -p$(pkg_dev) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libImath.so
146+ dh_install -p$(pkg_dev) debian/tmp/usr/include
147+ dh_install -p$(pkg_dev) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/
148+ dh_install -p$(pkg_dev) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/
149+ifneq ($(DEB_HOST_ARCH), i386)
150+ dh_install -p$(pkg_py) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libPyImath_Python3_*-3_1.so
151+ dh_install -p$(pkg_py) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libPyImath_Python3_*-3_1.so.29
152+ dh_install -p$(pkg_py) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libPyImath_Python3_*-3_1.so.29.8.0
153+ dh_install -p$(pkg_py) debian/tmp/usr/lib/python3/dist-packages/imath.so
154+ dh_install -p$(pkg_py) debian/tmp/usr/lib/python3/dist-packages/imathnumpy.so
155+endif

Subscribers

People subscribed via source and target branches

to all changes: