Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3.pkgs: add new package camset #380742

Closed
wants to merge 5,546 commits into from
Closed

Conversation

AaronVerDow
Copy link
Contributor

Add package Camset, a GUI for adjusting Video4Linux webcams and capture devices.

https://github.com/azeam/camset

#205100

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

fabianhjr and others added 30 commits January 24, 2025 07:53
(cherry picked from commit 933c1b5)
…> 6.12.10-zen1; linuxKernel.kernels.linux_lqx: 6.12.2-lqx1 -> 6.12.10-lqx1 (NixOS#375609)
(cherry picked from commit 9d33d12)
* gancio: add generic updateScript

* gancio: 1.19.4 -> 1.21.0

* gancioPlugins.telegram-bridge: 1.0.4 -> 1.0.5

(cherry picked from commit 4fbf61a)
(cherry picked from commit b94f270)
Fixes this error when selecting "Tools -> Run Simulation Tool -> RTL Simulation":

  $ quartus
  [...]
  Info: Command: quartus_sh -t /nix/store/bqibb4d2273cg13fzyc9n2xcry60102k-quartus-prime-lite-unwrapped-23.1std.1.993/quartus/common/tcl/internal/nativelink/qnativesim.tcl --rtl_sim test2 test2
  Info: Quartus(args): --rtl_sim test2 test2
  Internal Error: Sub-system: ATCL, File: /quartus/ccl/atcl/atcl_root.cpp, Line: 508
  Unable to load Tk library
  Stack Trace:
       0x8063: err_report_internal_error(char const*, char const*, char const*, int) + 0x1a (ccl_err)
      0x1a4fe: atcl_init_tk_window(Tcl_Interp*, char const*) + 0xf9 (ccl_atcl)
      0x2f19b: atcl_init_tk + 0xa3 (ccl_atcl)
      0x4753b: TclInvokeStringCommand + 0x7b (tcl8.6)
      0x4bb47: TclNRRunCallbacks + 0x67 (tcl8.6)
      0x4cf29: TclEvalEx + 0x599 (tcl8.6)
      0xf40fe: Tcl_FSEvalFileEx + 0x21e (tcl8.6)
      0xf4246: Tcl_EvalFile + 0x26 (tcl8.6)
      0x1879f: qexe_evaluate_tcl_script(std::string const&) + 0x388 (comp_qexe)
      0x19ecb: qexe_do_tcl(QEXE_FRAMEWORK*, std::string const&, std::string const&, std::list<std::string, std::allocator<std::string> > const&, bool, bool) + 0x7ff (comp_qexe)
      0x1da75: qexe_standard_main(QEXE_FRAMEWORK*, QEXE_OPTION_DEFINITION const**, int, char const**) + 0x51d (comp_qexe)
       0x3a1c: qsh_main(int, char const**) + 0x78 (quartus_sh)
      0x3e5c0: msg_main_thread(void*) + 0x10 (ccl_msg)
       0x5cac: thr_final_wrapper + 0xc (ccl_thr)
      0x3e68a: msg_thread_wrapper(void* (*)(void*), void*) + 0x6e (ccl_msg)
       0xc096: mem_thread_wrapper(void* (*)(void*), void*) + 0x96 (ccl_mem)
       0x91a8: err_thread_wrapper(void* (*)(void*), void*) + 0x27 (ccl_err)
       0x5cef: thr_thread_wrapper + 0x15 (ccl_thr)
      0x4058a: msg_exe_main(int, char const**, int (*)(int, char const**)) + 0xa8 (ccl_msg)
       0xb18f: main + 0x26 (quartus_sh)
      0x2a1fc: __libc_start_call_main + 0x7c (c.so.6)
      0x2a2b9: __libc_start_main + 0x89 (c.so.6)
       0x3669: _start + 0x29 (quartus_sh)

  End-trace

The libtk*.so files shipped with quartus are 64-bit[1], so I think adding the
dependency to targetPkgs should be enough.

[1] `NIXPKGS_ALLOW_UNFREE=1 nix-build -A quartus-prime-lite.unwrapped && find ./result/ -name "libtk*.so" | xargs file`
  shows all "ELF 64-bit LSB shared object[...]".

Fixes NixOS#375852.

(cherry picked from commit b376e96)
(cherry picked from commit 141d9c1)
The current implementation is broken, but was not backported to 0.13 by
upstream due to the patch also raising the MSRV -- this isn't a problem
for us ;)

(cherry picked from commit 978c046)
@github-actions github-actions bot added 6.topic: xfce The Xfce Desktop Environment 6.topic: hardware 6.topic: nixos-container Imperative and declarative systemd-nspawn containers 6.topic: pantheon The Pantheon desktop environment 6.topic: TeX Issues regarding texlive and TeX in general 6.topic: testing Tooling for automated testing of packages and modules 6.topic: cinnamon Desktop environment 6.topic: module system About "NixOS" module system internals 6.topic: jitsi 6.topic: systemd 6.topic: agda "A dependently typed programming language / interactive theorem prover" 6.topic: java Including JDK, tooling, other languages, other VMs 6.topic: Lumina DE The Lumina Desktop Environment 6.topic: Enlightenment DE The Enlightenment Desktop Environment 6.topic: mate The MATE Desktop Environment 6.topic: flakes The experimental Nix feature 6.topic: lib The Nixpkgs function library 6.topic: jupyter Interactive computing tooling: kernels, notebook, jupyterlab 6.topic: php 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 6.topic: k3s Kubernates distribution (https://k3s.io/) 6.topic: deepin Desktop environment and its components 6.topic: dotnet Language: .NET 6.topic: nvidia 6.topic: xen-project The Xen Project hypervisor 6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 6.topic: teams Relating to team creation, updates, other management actions 8.has: documentation This PR adds or changes documentation 6.topic: policy discussion backport release-24.11 Backport PR automatically labels Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: agda "A dependently typed programming language / interactive theorem prover" 6.topic: cinnamon Desktop environment 6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 6.topic: deepin Desktop environment and its components 6.topic: dotnet Language: .NET 6.topic: emacs Text editor 6.topic: Enlightenment DE The Enlightenment Desktop Environment 6.topic: flakes The experimental Nix feature 6.topic: GNOME GNOME desktop environment and its underlying platform 6.topic: hardware 6.topic: haskell 6.topic: java Including JDK, tooling, other languages, other VMs 6.topic: jitsi 6.topic: jupyter Interactive computing tooling: kernels, notebook, jupyterlab 6.topic: k3s Kubernates distribution (https://k3s.io/) 6.topic: lib The Nixpkgs function library 6.topic: Lumina DE The Lumina Desktop Environment 6.topic: mate The MATE Desktop Environment 6.topic: module system About "NixOS" module system internals 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: nixos-container Imperative and declarative systemd-nspawn containers 6.topic: nvidia 6.topic: pantheon The Pantheon desktop environment 6.topic: php 6.topic: policy discussion 6.topic: printing 6.topic: python 6.topic: qt/kde 6.topic: rust 6.topic: systemd 6.topic: teams Relating to team creation, updates, other management actions 6.topic: testing Tooling for automated testing of packages and modules 6.topic: TeX Issues regarding texlive and TeX in general 6.topic: vim 6.topic: xen-project The Xen Project hypervisor 6.topic: xfce The Xfce Desktop Environment 8.has: changelog 8.has: documentation This PR adds or changes documentation 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 8.has: module (update) This PR changes an existing module in `nixos/` backport release-24.11 Backport PR automatically
Projects
None yet
Development

Successfully merging this pull request may close these issues.