Package Details: libunity 7.2.6-18

Git Clone URL: https://aur.archlinux.org/libunity.git (read-only, click to copy)
Package Base: libunity
Description: Library for instrumenting and integrating with all aspects of the Unity shell
Upstream URL: https://github.com/MercySimp/libunity
Licenses: LGPL3.0
Submitter: adsun
Maintainer: Bronzeapollo
Last Packager: Bronzeapollo
Votes: 14
Popularity: 0.34
First Submitted: 2018-10-07 13:17 (UTC)
Last Updated: 2025-06-07 13:50 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

<deleted-account> commented on 2021-11-25 11:39 (UTC)

It appears we'll need to change back to vala0.44. With 0.52 the gobject-introspection bindings are broken.

(When built with 0.44, all works fine)

mcterra commented on 2021-10-22 02:08 (UTC)

Heads up, dee fails to compile on the latest update of vala. You will need to downgrade to an older version from the Arch Archives (I used 0.52.4-1) for it to build correctly, since it won't build with 0.44 or 0.42 from the AUR. With newer versions, you'll get an error along the lines of

  GEN      dee-1.0.vapi
Dee-1.0.gir:1180.7-1180.58: warning: Field `Dee.Filter.destroy' conflicts with method of the same name
      <method name="destroy" c:identifier="dee_filter_destroy">
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dee-1.0.gir:1274.7-1274.42: error: `Dee.Filter' already contains a definition for `new'
      <function name="new" c:identifier="dee_filter_new">
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dee-1.0-custom.vala:19.3-19.27: note: previous definition of `new' was here
                public static Filter @new (Dee.StaticFilterMapFunc map_func, owned Dee.FilterMapNotify map_notify);
                ^^^^^^^^^^^^^^^^^^^^^^^^^
Dee-1.0.gir:8618.7-8618.70: warning: Field `Dee.ModelReader.destroy' conflicts with method of the same name
      <method name="destroy" c:identifier="dee_model_reader_destroy">
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Generation failed: 1 error(s), 2 warning(s)

NovaViper commented on 2021-10-03 03:43 (UTC) (edited on 2021-10-03 03:44 (UTC) by NovaViper)

I can't get this crap to compile for nothing, I've tried setting vala to 0.44 and 0.42, it still wont compile It always fails when trying to compile dee no matter what version of vala I use. My system's running EndeaovurOS

Generation failed: 1 error(s), 2 warning(s)
make[2]: *** [Makefile:569: dee-1.0.vapi] Error 1
make[2]: Leaving directory '/var/tmp/pamac-build-novaviper/dee/src/dee-1.2.7/vapi'
make[1]: *** [Makefile:527: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/pamac-build-novaviper/dee/src/dee-1.2.7'
make: *** [Makefile:433: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Cantello commented on 2021-07-06 07:50 (UTC)

Installing the newest vala prior to building dee did not work but, as described below, changing libunity's build file to vala0.42 worked and building libunity did produce several warnings but installed fine and now I have notification badges on electron apps in task manager. Thanks!

CaptainKrull commented on 2021-06-10 20:15 (UTC)

It seems like dee (which is a dependency of this package) needs the newest vala to build. Vala0.44 won't do it, therefore you have to install the new vala first, build and install dee, then uninstall the new vala, build and install vala0.44 and use it to build/install libunity.

michaldybczak commented on 2021-06-09 16:33 (UTC) (edited on 2021-06-09 16:33 (UTC) by michaldybczak)

For me, editing to "vala" worked out fine. However, instead picking vala from repos, it built vala-0.44.11 anyway...

nfs commented on 2021-04-21 21:39 (UTC)

I found that editing the libunity PKGBUILD makedepends so that "vala" became "vala0.42" of "vala0.44" worked all right, but changing it to "vala-git" or leaving it as "vala" did not.

<deleted-account> commented on 2020-12-18 21:36 (UTC)

Note: The build works fine if you replace vala with vala0.42

mokkurkalve commented on 2020-12-02 14:56 (UTC) (edited on 2020-12-02 14:57 (UTC) by mokkurkalve)

Building errs out with:

(...snip...)
unity-sound-menu-mpris.vala:714.5-714.48: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
    public async PlaylistDetails[] get_playlists (uint32 index,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unity-sound-menu-mpris.vala:407.5-407.55: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
    public abstract async void EnableTrackSpecificItems (ObjectPath object_path, string desktop_id) throws IOError;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unity-sound-menu-mpris.vala:408.5-408.56: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
    public abstract async void EnablePlayerSpecificItems (ObjectPath object_path, string desktop_id) throws IOError;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 22 warning(s)
make[2]: *** [Makefile:1391: libunity_la_vala.stamp] Error 1
make[2]: Leaving directory '/tmp/makepkg/libunity/src/src'
make[1]: *** [Makefile:573: all-recursive] Error 1
make[1]: Leaving directory '/tmp/makepkg/libunity/src'
make: *** [Makefile:477: all] Error 2

Kodehawa commented on 2020-11-26 21:21 (UTC)

Anyone else getting

unity-scope-channel.vala:312.33-312.50: error: Argument 7: Cannot convert from `void Unity.Internal.ScopeChannel.OwnerWatcher.owner_changed (GLib.DBusConnection, string, string, string, string, GLib.Variant)' to `void GLib.DBusSignalCallback (GLib.DBusConnection, string?, string, string, string, GLib.Variant)'
DBusSignalFlags.NONE, this.owner_changed);\

I haven't been able to build this for a while