-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
Document wrapGAppsHook #16285
Comments
I'd like to know as well. Currently receiving this error:
On one of the packages I'm trying to put into nixpkgs. Apparently sometimes you need So apparently all you need to do to use this is:
|
The error occurs when you do not have any directory containing Icon themes work in the same vein, only
|
Just thought I'd leave this comment here for future reference: if you get an error like |
Closes: NixOS#16285
I had ``` Traceback (most recent call last): File "/nix/store/sg2pb6pyl5w5jw9g2p145c0h6n7ngxvi-workspace-renumber", li ne 2, in <module> from pye_menu import TopMenu, SubMenu, MenuItem, SubMenuItem, ExecMenuI tem File "/nix/store/wq8m6gxcwbi5502javwkc7drvmh5sk7g-python3-3.7.5-env/lib/python3.7/site-packages/pye_menu.py", line 6, in <module> gi.require_versions({'Gtk': '3.0', 'PangoCairo': '1.0'}) File "/nix/store/wq8m6gxcwbi5502javwkc7drvmh5sk7g-python3-3.7.5-env/lib/p ython3.7/site-packages/gi/__init__.py", line 152, in require_versions require_version(module_name, module_version) File "/nix/store/wq8m6gxcwbi5502javwkc7drvmh5sk7g-python3-3.7.5-env/lib/p ython3.7/site-packages/gi/__init__.py", line 129, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Gtk not available ``` when trying to use it as a library. See NixOS/nixpkgs#16285 NixOS/nixpkgs#56943
I had ``` Traceback (most recent call last): File "/nix/store/sg2pb6pyl5w5jw9g2p145c0h6n7ngxvi-workspace-renumber", li ne 2, in <module> from pye_menu import TopMenu, SubMenu, MenuItem, SubMenuItem, ExecMenuI tem File "/nix/store/wq8m6gxcwbi5502javwkc7drvmh5sk7g-python3-3.7.5-env/lib/python3.7/site-packages/pye_menu.py", line 6, in <module> gi.require_versions({'Gtk': '3.0', 'PangoCairo': '1.0'}) File "/nix/store/wq8m6gxcwbi5502javwkc7drvmh5sk7g-python3-3.7.5-env/lib/p ython3.7/site-packages/gi/__init__.py", line 152, in require_versions require_version(module_name, module_version) File "/nix/store/wq8m6gxcwbi5502javwkc7drvmh5sk7g-python3-3.7.5-env/lib/p ython3.7/site-packages/gi/__init__.py", line 129, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace Gtk not available ``` when trying to use it as a library. See NixOS/nixpkgs#16285 NixOS/nixpkgs#56943
Fixes no Gsettings error when clicking saveAs. Following method mentioned in NixOS#16285
Fixes no Gsettings error when clicking Open or SaveAs. Following method mentioned in NixOS#16285
Fixes no Gsettings error when trying to open file picker. Following method mentioned in NixOS#16285
Needed to fix the error on NixOS: GLib-GIO-ERROR **: No GSettings schemas are installed on the system See NixOS/nixpkgs#16285 Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es> Tested-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
I just found out about wrapGAppsHook by examining a gnome package, but there really should be documentation about this in the Nixpkgs User Guide (a section about Gnome would be nice, which would show the right way to package GTK3 / GTK2 glib based apps).
Also, perhaps there are other things I missed that one should know when packaging Gnome Applications or GTK3/2 apps?
/cc @lethalman @jgeerds @DamienCassou Gnome maintainers
The text was updated successfully, but these errors were encountered: