[CDRIVER-2288] Only bundle zLib and Snappy files that we use Created: 15/Sep/17  Updated: 27/Oct/23  Resolved: 02/Oct/17

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: 1.8.0
Fix Version/s: 1.8.1

Type: Improvement Priority: Minor - P4
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

For simplicity, we bundle all of zLib and Snappy compression libraries, including their tests and binary test data, in subdirectories of the libmongoc source tree. This causes a problem when packaging libmongoc for Debian, however: We want to omit those files from the Debian package, but the Debian patch-queue tool we use, "quilt", doesn't seem able to represent the deletion of a binary file as a patch.

To work around this, just delete the unused binary data files from libmongoc's source.



 Comments   
Comment by A. Jesse Jiryu Davis [ 02/Oct/17 ]

I added a README.source file to the Debian source package explaining that the bundled binary files aren't actually used when building the Debian installed files, and that was accepted for upload in 1.8.0. So let's keep with the simple thing and continue bundling all of zLib and Snappy instead of picking and choosing.

Generated at Wed Feb 07 21:14:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.