Skip to content

tiscamera: migrate to pcre2 - #532594

Closed
pSub wants to merge 1 commit into
NixOS:masterfrom
pSub:tiscamera-migrate-to-pcre2
Closed

pSub wants to merge 1 commit into
NixOS:masterfrom
pSub:tiscamera-migrate-to-pcre2

Conversation

@pSub

@pSub pSub commented Jun 17, 2026 •

Copy link
Copy Markdown
Member

part of #356387

Things done

@nixpkgs-ci
nixpkgs-ci Bot requested a review from jraygauthier June 17, 2026 09:35
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Jun 17, 2026

@jraygauthier jraygauthier left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Can't test proper runtime tough as no longer has any camera from TIS.

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Jun 17, 2026
@fliiiix

fliiiix commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Did you figure out what pcre is used for in the first place? Its not listed in the readme under Included libraries:, a quick grep in the code for pcre came up empty, and i tried to build it it without and it still builds

So im questioning how this is even used 👀

@GrimmTheShrimp GrimmTheShrimp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah i think pcre can just be removed. I can't actually test the build output, but i compared the version with pcre against the version without pcre using diffoscope, and (excluding changed nix store paths) the compile output is the exact same. No references to pcre are made, not in the original code and not in the compile output. So removing the dependency is preferable.

libzip,
orc,
pcre,
pcre2,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pcre2,

libzip
orc
pcre
pcre2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pcre2

@GrimmTheShrimp GrimmTheShrimp mentioned this pull request Jun 29, 2026
4 of 14 tasks
@nixpkgs-ci nixpkgs-ci Bot removed the 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". label Jun 29, 2026
nixos-cuda-channel-updater Bot pushed a commit to nixos-cuda/nixpkgs that referenced this pull request Jul 23, 2026
part of NixOS#356387
closes NixOS#532594

Validated using diffoscope, package output is identical with and without pcre other than store path.
No mention of pcre in upstream sources.
moeleak pushed a commit to moeleak/nixpkgs that referenced this pull request Jul 30, 2026
part of NixOS#356387
closes NixOS#532594

Validated using diffoscope, package output is identical with and without pcre other than store path.
No mention of pcre in upstream sources.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants