File tree Expand file tree Collapse file tree 4 files changed +14
-3
lines changed Expand file tree Collapse file tree 4 files changed +14
-3
lines changed Original file line number Diff line number Diff line change
1
+ mongo-c-driver (1.24.2-2) UNRELEASED; urgency=medium
2
+
3
+ * use system utf8proc, ensure bundled source is not in .orig.tar.gz
4
+
5
+ -- Roberto C. Sanchez <
[email protected] > Mon, 10 Jul 2023 14:04:12 -0400
6
+
1
7
mongo-c-driver (1.24.2-1) unstable; urgency=medium
2
8
3
9
* New upstream release
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ Build-Depends: debhelper (>= 11),
14
14
libicu-dev,
15
15
libsasl2-dev,
16
16
libsnappy-dev,
17
+ libutf8proc-dev,
17
18
libzstd-dev
18
19
Standards-Version: 4.6.2
19
20
Section: libs
@@ -32,6 +33,7 @@ Depends: libmongoc-1.0-0 (= ${binary:Version}),
32
33
zlib1g-dev,
33
34
libsnappy-dev,
34
35
libsasl2-dev,
36
+ libutf8proc-dev,
35
37
libzstd-dev,
36
38
${misc:Depends}
37
39
Description: MongoDB C client library - dev files
Original file line number Diff line number Diff line change @@ -11,11 +11,13 @@ prebuild = bash -c "
11
11
# Determine list of embedded sources to exclude from Debian source package
12
12
zlib_filter_files=\"$(find src/zlib-* -mindepth 1 -maxdepth 1 \! -name zconf.h.in -printf "mongo-c-driver-\${upstream_version}/%p ")\" &&
13
13
zlib_rm_files=\"$(find src/zlib-* -mindepth 1 -maxdepth 1 \! -name zconf.h.in -printf '%p ')\" &&
14
+ utf8proc_filter_files=\"$(find src/utf8proc-* -printf "mongo-c-driver-\${upstream_version}/%p ")\" &&
15
+ utf8proc_rm_files=\"$(find src/utf8proc-* -printf '%p ')\" &&
14
16
# Create upstream tarball from reference, exclude items that do not belong
15
17
pushd $GBP_GIT_DIR/.. &&
16
- git archive --format=tar --prefix=mongo-c-driver-\${upstream_version}/ HEAD | tar -f - --delete mongo-c-driver-\${upstream_version}/debian \$zlib_filter_files | gzip > $GBP_BUILD_DIR/../mongo-c-driver_\${upstream_version}.orig.tar.gz &&
18
+ git archive --format=tar --prefix=mongo-c-driver-\${upstream_version}/ HEAD | tar -f - --delete mongo-c-driver-\${upstream_version}/debian \$zlib_filter_files \$utf8proc_filter_files | gzip > $GBP_BUILD_DIR/../mongo-c-driver_\${upstream_version}.orig.tar.gz &&
17
19
popd &&
18
- rm -rf \$zlib_rm_files"
20
+ rm -rf \$zlib_rm_files \$utf8proc_rm_files "
19
21
20
22
upstream-tree = BRANCH
21
23
upstream-branch = master
Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ override_dh_auto_configure:
40
40
-DENABLE_HTML_DOCS=$(DOCS ) \
41
41
-DENABLE_MAINTAINER_FLAGS=ON \
42
42
-DENABLE_TESTS=OFF \
43
- -DENABLE_ZLIB=SYSTEM
43
+ -DENABLE_ZLIB=SYSTEM \
44
+ -DUSE_BUNDLED_UTF8PROC=OFF
44
45
45
46
override_dh_auto_install :
46
47
dh_auto_install
You can’t perform that action at this time.
0 commit comments