Skip to content

spaceFM: fix gcc-14 build - #373304

Merged
philiptaron merged 1 commit into
NixOS:masterfrom
trofi:spaceFM-gcc-14-fix
Jan 13, 2025
Merged

philiptaron merged 1 commit into
NixOS:masterfrom
trofi:spaceFM-gcc-14-fix

Conversation

@trofi

@trofi trofi commented Jan 12, 2025 •

Copy link
Copy Markdown
Contributor

WIthout the change the build on master fails as: https://hydra.nixos.org/build/282732531

exo/exo-icon-view.c: In function 'exo_icon_view_key_press_event':
exo/exo-icon-view.c:2686:27: error: assignment to 'GdkWindow *' {aka 'struct _GdkWindow *'} from incompatible pointer type 'GObject *' {aka 'struct _GObject *'} [-Wincompatible-pointer-types-Wincompatible-pointer-types]
 2686 |     new_event->key.window = g_object_ref (G_OBJECT (gtk_widget_get_window (GTK_WIDGET(icon_view->priv->search_entry))));
      |                           ^

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.

WIthout the change the build on` master` fails as: https://hydra.nixos.org/build/282732531

    exo/exo-icon-view.c: In function 'exo_icon_view_key_press_event':
    exo/exo-icon-view.c:2686:27: error: assignment to 'GdkWindow *' {aka 'struct _GdkWindow *'} from incompatible pointer type 'GObject *' {aka 'struct _GObject *'} [-Wincompatible-pointer-types-Wincompatible-pointer-types]
     2686 |     new_event->key.window = g_object_ref (G_OBJECT (gtk_widget_get_window (GTK_WIDGET(icon_view->priv->search_entry))));
          |                           ^
@trofi trofi mentioned this pull request Jan 12, 2025
5 of 13 tasks
@github-actions github-actions Bot added 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. labels Jan 12, 2025
@nix-owners
nix-owners Bot requested review from jagajaga and obadz January 12, 2025 22:44
@trofi

trofi commented Jan 12, 2025

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 373304


x86_64-linux

✅ 1 package built:
  • spaceFM

@trofi trofi mentioned this pull request Jan 12, 2025
2 of 13 tasks
./x11-only.patch

# gcc-14 build fix from:
# https://github.com/IgnorantGuru/spacefm/pull/816

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.

This is an open PR from April. I'm ok depending on it.

@philiptaron
philiptaron merged commit 543e67e into NixOS:master Jan 13, 2025
@trofi
trofi deleted the spaceFM-gcc-14-fix branch January 13, 2025 17:41
@Sigmanificient Sigmanificient mentioned this pull request Mar 8, 2025
27 of 28 tasks
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants