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

libfm does not build without gio/gdesktopappinfo.h #44

Open
jtojnar opened this issue Jan 21, 2019 · 0 comments
Open

libfm does not build without gio/gdesktopappinfo.h #44

jtojnar opened this issue Jan 21, 2019 · 0 comments

Comments

@jtojnar
Copy link

jtojnar commented Jan 21, 2019

We started building glib with Cocoa on MacOS, which makes it not build gio/gdesktopappinfo.h header:

https://gitlab.gnome.org/GNOME/glib/blob/be10f19752223f2607ba1fe00408c75920792aba/gio/meson.build#L412-429

Unfortunately, this also broke libfm, which depends on the header:

  CC       base/libfm_la-fm-app-info.lo
base/fm-app-info.c:40:10: fatal error: 'gio/gdesktopappinfo.h' file not found
#include <gio/gdesktopappinfo.h>
         ^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[4]: *** [Makefile:2325: base/libfm_la-fm-app-info.lo] Error 1
make[4]: Leaving directory '/private/tmp/nix-build-libfm-1.3.1.drv-0/libfm-1.3.1/src'
make[3]: *** [Makefile:2767: all-recursive] Error 1
make[3]: Leaving directory '/private/tmp/nix-build-libfm-1.3.1.drv-0/libfm-1.3.1/src'
make[2]: *** [Makefile:1133: all] Error 2
make[2]: Leaving directory '/private/tmp/nix-build-libfm-1.3.1.drv-0/libfm-1.3.1/src'
make[1]: *** [Makefile:567: all-recursive] Error 1
make[1]: Leaving directory '/private/tmp/nix-build-libfm-1.3.1.drv-0/libfm-1.3.1'
make: *** [Makefile:469: all] Error 2
builder for '/nix/store/vch36j0g1smn9j6ycchjv5n7wmq3sdzi-libfm-1.3.1.drv' failed with exit code 2

Since you use autotools, perhaps you need to do the same thing glibmm does:

https://gitlab.gnome.org/GNOME/glibmm/blob/96a997b1f4cf902a7690de8a27e1173f1d217042/configure.ac#L58-76

Downstream report: NixOS/nixpkgs#54428 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant