Skip to content

opencv4: drop gtk2 support for highgui#545459

Open
ShadowRZ wants to merge 1 commit into
NixOS:masterfrom
ShadowRZ:shadowrz/opencv4-drop-gtk2-highgui
Open

opencv4: drop gtk2 support for highgui#545459
ShadowRZ wants to merge 1 commit into
NixOS:masterfrom
ShadowRZ:shadowrz/opencv4-drop-gtk2-highgui

Conversation

@ShadowRZ

Copy link
Copy Markdown
Member

Part of #410814

OpenCV 4 highgui can build with GTK3 and also prefers it: https://docs.opencv.org/4.13.0/db/d05/tutorial_config_reference.html#tutorial_config_reference_highgui

Leaf impacted packages:

  • apriltags: enables both GTK2 and GTK3, will actually use GTK3 at runtime so should have no loss
  • howdy, linux-enable-ir-emitter: all depends on python3Packages.opencv4Full. as above the built OpenCV 4 will use GTK3, not GTK2. They also directly depends on GTK3.
  • rPackages.opencv: I don't think this would require GTK2 in any way, and should work with GTK3 highgui.
--------- Impacted packages on 'x86_64-linux' ---------
5 packages updated:
apriltags howdy linux-enable-ir-emitter opencv opencv

Closes #545102

Things done

@nixpkgs-ci
nixpkgs-ci Bot requested review from basvandijk, jbedo and phodina July 25, 2026 01:41
@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: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 6.topic: python Python is a high-level, general-purpose programming language. 6.topic: R R is a programming language for statistical computing and data visualization. labels Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 6.topic: R R is a programming language for statistical computing and data visualization. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant