~steef/snixembed#9: 
Cannot build on Linux Mint 18.3 Sylvia x86_64

Hello!

Clean clone from https://git.sr.ht/~steef/snixembed [--- cut ---]

make valac -o snixembed -X -pthread -X -I/usr/include/libdbusmenu-gtk3-0.4 -X -I/usr/include/libdbusmenu-glib-0.4 -X -I/usr/include/gtk-3.0 -X -I/usr/include/at-spi2-atk/2.0 -X -I/usr/include/at-spi-2.0 -X -I/usr/include/dbus-1.0 -X -I/usr/lib/x8664-linux-gnu/dbus-1.0/include -X -I/usr/include/gtk-3.0 -X -I/usr/include/gio-unix-2.0/ -X -I/usr/include/mirclient -X -I/usr/include/mircore -X -I/usr/include/mircookie -X -I/usr/include/cairo -X -I/usr/include/pango-1.0 -X -I/usr/include/harfbuzz -X -I/usr/include/pango-1.0 -X -I/usr/include/atk-1.0 -X -I/usr/include/cairo -X -I/usr/include/pixman-1 -X -I/usr/include/freetype2 -X -I/usr/include/libpng12 -X -I/usr/include/gdk-pixbuf-2.0 -X -I/usr/include/libpng12 -X -I/usr/include/glib-2.0 -X -I/usr/lib/x8664-linux-gnu/glib-2.0/include -X -ldbusmenu-gtk3 -X -ldbusmenu-glib -X -lgtk-3 -X -lgdk-3 -X -lpangocairo-1.0 -X -lpango-1.0 -X -latk-1.0 -X -lcairo-gobject -X -lcairo -X -lgdkpixbuf-2.0 -X -lgio-2.0 -X -lgobject-2.0 -X -lglib-2.0 --pkg gtk+-3.0 --pkg gio-2.0 --pkg Dbusmenu-0.4 --pkg DbusmenuGtk3-0.4 src/*.vala version.vala src/statusnotifierwatcher.vala:33.5-33.52: error: property getter must have a body public string[] registeredstatusnotifieritems { get; } ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Compilation failed: 1 error(s), 0 warning(s) makefile:13: recipe for target 'snixembed' failed make: *** [snixembed] Error 1 [--- cut ---]

Quick workarounded with this: [--- cut ---]

git diff diff --git a/src/statusnotifierwatcher.vala b/src/statusnotifierwatcher.vala index eb29817..5dddaba 100644 --- a/src/statusnotifierwatcher.vala +++ b/src/statusnotifierwatcher.vala @@ -30,7 +30,7 @@ public class StatusNotifierWatcher : Object { }

// Properties
  • public string[] registeredstatusnotifier_items { get; }
  • public string[] registeredstatusnotifieritems { get; set; } public bool isstatusnotifierhost_registered { get { return true; } }

    // This property is undocumented yet KDE implements it [--- cut ---]

Though still not luck: [--- cut ---]

make valac -o snixembed -X -pthread -X -I/usr/include/libdbusmenu-gtk3-0.4 -X -I/usr/include/libdbusmenu-glib-0.4 -X -I/usr/include/gtk-3.0 -X -I/usr/include/at-spi2-atk/2.0 -X -I/usr/include/at-spi-2.0 -X -I/usr/include/dbus-1.0 -X -I/usr/lib/x8664-linux-gnu/dbus-1.0/include -X -I/usr/include/gtk-3.0 -X -I/usr/include/gio-unix-2.0/ -X -I/usr/include/mirclient -X -I/usr/include/mircore -X -I/usr/include/mircookie -X -I/usr/include/cairo -X -I/usr/include/pango-1.0 -X -I/usr/include/harfbuzz -X -I/usr/include/pango-1.0 -X -I/usr/include/atk-1.0 -X -I/usr/include/cairo -X -I/usr/include/pixman-1 -X -I/usr/include/freetype2 -X -I/usr/include/libpng12 -X -I/usr/include/gdk-pixbuf-2.0 -X -I/usr/include/libpng12 -X -I/usr/include/glib-2.0 -X -I/usr/lib/x8664-linux-gnu/glib-2.0/include -X -ldbusmenu-gtk3 -X -ldbusmenu-glib -X -lgtk-3 -X -lgdk-3 -X -lpangocairo-1.0 -X -lpango-1.0 -X -latk-1.0 -X -lcairo-gobject -X -lcairo -X -lgdkpixbuf-2.0 -X -lgio-2.0 -X -lgobject-2.0 -X -lglib-2.0 --pkg gtk+-3.0 --pkg gio-2.0 --pkg Dbusmenu-0.4 --pkg DbusmenuGtk3-0.4 src/*.vala version.vala src/main.vala:10.5-12.26: warning: unhandled error GLib.SpawnError' src/statusnotifieritem.vala:62.19-62.37: warning: unhandled errorGLib.Error' res = me.call.end(result); ^^^^^^^^^^^^^^^^^^^ src/proxyicon.vala:38.17-38.37: error: The name popup_at_pointer' does not exist in the context ofDbusmenuGtk.Menu' menu.popupatpointer(event); ^^^^^^^^^^^^^^^^^^^^^ src/proxyicon.vala:11.22-11.92: warning: unhandled error `GLib.IOError' item = yield Bus.getproxy(BusType.SESSION, name, object, DBusProxyFlags.NONE, null); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Compilation failed: 1 error(s), 3 warning(s) makefile:13: recipe for target 'snixembed' failed make: *** [snixembed] Error 1 [--- cut ---]

Any clue would be appreciated. Thanks.

George L. Yermulnik [YZ-RIPE]

Status
REPORTED
Submitter
George L. Yermulnik
Assigned to
No-one
Submitted
a month ago
Updated
a month ago
Labels
No labels applied.

~steef a month ago

Hello! Both errors seem to indicate that your vala (and VAPI for libdbusmenu-gtk3) version is too outdated to build this project. Your Mint version looks out of date. Maybe you can build it on the latest Mint release? I've had bug reports from a Debian user, so I suspect it will also compile fine on the latest Mint. If not, please let me know!

Register here or Log in to comment, or comment via email.