Package Details: libunity 7.1.4-10

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://launchpad.net/libunity
Licenses: LGPL
Submitter: adsun
Maintainer: None
Last Packager: chn
Votes: 9
Popularity: 0.123201
First Submitted: 2018-10-07 13:17
Last Updated: 2021-06-08 02:26

Pinned Comments

CaptainKrull commented on 2021-06-10 20:15

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.

Latest Comments

1 2 3 Next › Last »

Cantello commented on 2021-07-06 07:50

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

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

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

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.

Dynakarp commented on 2020-12-18 21:36

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

mokkurkalve commented on 2020-12-02 14:56

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

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

billypilgrim commented on 2020-05-20 09:02

I don't use this package any more so I think it's probably best if someone else becomes maintainer.

j1simon commented on 2020-05-20 07:14

Error with gnome-common:

$ pacaur -S libunity
:: Package libunity not found in repositories, trying AUR...
:: resolving dependencies...
:: looking for inter-conflicts...

AUR Packages  (1) libunity-7.1.4-9  
Repo Packages (19) dee-1.2.7-8  glib2-docs-2.64.2-1  gnome-common-3.18.0-3  gobject-introspection-1.64.1-2  graphviz-2.44.0-2  gtk-doc-1.32+37+gefc3644-1  gts-0.7.6.121130-2  intltool-0.51.0-5  itstool-1:2.0.6-1  libdbusmenu-glib-16.04.0-4  mallard-ducktype-1.0.2-4  perl-xml-parser-2.46-1  python-anytree-2.8.0-1  python-beaker-1.11.0-4  python-mako-1.1.2-3  python-markdown-3.1.1-4  vala-0.48.6-1  yelp-tools-3.32.2-1  yelp-xsl-3.36.0-1  

Repo Download Size:   11.52 MiB
Repo Installed Size:  71.46 MiB

:: Proceed with installation? [Y/n]
:: Retrieving package(s)...
update complete: /home/juan/.cache/pacaur/libunity
:: libunity build files are up-to-date -- skipping
:: Checking libunity integrity...
==> Making package: libunity 7.1.4-9 (Wed May 20 09:11:17 2020)
==> Retrieving sources...
-> Found libunity_7.1.4+19.04.20190319.orig.tar.gz
-> Found 0001-Fix-FTB-with-recent-vala-requiring-non-public-abstra.patch
==> Validating source files with sha256sums...
libunity_7.1.4+19.04.20190319.orig.tar.gz ... Passed
0001-Fix-FTB-with-recent-vala-requiring-non-public-abstra.patch ... Passed
:: Preparing libunity...
==> Making package: libunity 7.1.4-9 (Wed May 20 09:11:17 2020)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
-> Found libunity_7.1.4+19.04.20190319.orig.tar.gz
-> Found 0001-Fix-FTB-with-recent-vala-requiring-non-public-abstra.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Extracting libunity_7.1.4+19.04.20190319.orig.tar.gz with bsdtar
==> Starting prepare()...
patching file src/unity-aggregator-scope.vala
patching file src/unity-deprecated-scope.vala
patching file tools/preview-renderer.vala
which: no gnome-autogen.sh in (/home/juan/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/sbin:/usr/sbin)
You need gnome-common from the GNOME Git repository
==> ERROR: A failure occurred in prepare().
Aborting...
:: failed to verify integrity or prepare libunity package

michaldybczak commented on 2019-10-22 13:44

Thanks. It's very rare that helpers cause an error. Oftentimes it's the opposite, especially with big and complicated compilations (2 hours long), where doing it officially results in an error while through pamac it works - no idea why.