Package Details: libindicator-gtk2-ubuntu 16.10.0.18.04.20180321.1-1

Git Clone URL: https://aur.archlinux.org/libindicator-ubuntu.git (read-only)
Package Base: libindicator-ubuntu
Description: A set of symbols and convience functions that all indicators would like to use (GTK+ 2 library)
Upstream URL: https://launchpad.net/libindicator
Licenses: GPL
Groups: unity
Conflicts: libindicator-gtk2
Provides: libindicator-gtk2
Submitter: horsemanoffaith
Maintainer: horsemanoffaith
Last Packager: horsemanoffaith
Votes: 0
Popularity: 0.000000
First Submitted: 2016-02-07 02:33
Last Updated: 2018-05-05 03:39

Latest Comments

quequotion commented on 2019-10-08 15:47

clean chroot build fails with:

../../libindicator/indicator-object.c: In function ‘indicator_object_init’:
../../libindicator/indicator-object.c:307:13: error: G_ADD_PRIVATE [-Werror]
  307 |  IndicatorObjectPrivate * priv = G_TYPE_INSTANCE_GET_PRIVATE (self, INDICATOR_OBJECT_TYPE, IndicatorObjectPrivate);
      |             ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:667: libindicator_la-indicator-object.lo] Error 1
make[2]: *** [Makefile:527: all] Error 2
make[1]: *** [Makefile:435: all-recursive] Error 1
make: *** [Makefile:366: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check $CHROOT/$USER/build

In addition, gtk3 can be dropped from makedepends() (ido-ubuntu pulls this in already); while python should be added:

diff --git a/PKGBUILD b/PKGBUILD
index 2cbd016..00eeb33 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ pkgdesc="A set of symbols and convience functions that all indicators would like
 arch=(i686 x86_64)
 url="https://launchpad.net/libindicator"
 license=(GPL)
-makedepends=(ido-ubuntu glib2 gtk2 gtk3)
+makedepends=(python ido-ubuntu glib2 gtk2)
 groups=(unity)
 source=("https://launchpad.net/ubuntu/+archive/primary/+files/${pkgbase/\-*/}_${_actual_ver}${_extra_ver}.orig.tar.gz")
 sha512sums=('b415dca964225e2d8b6b8a832a5c3450f7a0c5c1461e8e8aba52464c2c30a6c7c3039e185f28dc995184dc33814c04d72177d0ad019b97739bf978012a862f98')

In order to clean chroot build, build ido-ubuntu and its dependency gtk3-ubuntu first, then preinstalled them:

makechrootpkg -c -r $CHROOT -I ../ido-ubuntu/ido-ubuntu-13.10.0.17.04.20161028-2-x86_64.pkg.tar.xz -I ../gtk3-ubuntu/gtk3-ubuntu-3.24.11-2-x86_64.pkg.tar.xz

quequotion commented on 2018-01-21 04:39

Thanks for the update!

Unity may be dead, but Ayatana indicators linger on. It's a sad state of affairs really, rather than coming up with a real standard, GNOME, Canonical, and others all made their own mutually-incompatible variations of SNI for no good reason at all.

horsemanoffaith commented on 2018-01-20 05:12

@quequotion- the package was not updated by Ubuntu developers until last month, which I was not aware of. I will be happy to update the package. AFAIK, Unity development has come to a halt, so I do not know if this package will need maintenance much further into the future.

I apologize- I rebuilt the package with your comments in mind, then forgot to push the changes to the AUR. I will have the package updated shortly.

quequotion commented on 2018-01-10 18:57

It would be really helpful to put those provides and conflicts in, so that this package can be used interchangably with the other one.

I notice you haven't updated the package since 2016, I'd be happy to take over if you aren't interested anymore.

quequotion commented on 2017-05-30 10:41

Both packages need to provide and conflict the standard package, ie:

package_libindicator-gtk2-ubuntu() {
conflicts=(libindicator-gtk2)
provides=(libindicator-gtk2)

package_libindicator-gtk3-ubuntu() {
conflicts=(libindicator-gtk3)
provides=(libindicator-gtk3)

It is difficult to install this package if the others are already installed; their dependencies need to know this package will suffice; proper provides() and conflicts() avoids forcing users to use dangerous flags with pacman.