Package Details: indicator-keylock 3.1.0-1

Git Clone URL: https://aur.archlinux.org/indicator-keylock.git (read-only, click to copy)
Package Base: indicator-keylock
Description: An indicator that displays the status of the keyboard lock keys
Upstream URL: https://launchpad.net/indicator-keylock/
Licenses: GPL3
Submitter: JonnyJD
Maintainer: JonnyJD
Last Packager: JonnyJD
Votes: 9
Popularity: 0.000000
First Submitted: 2015-08-15 12:04
Last Updated: 2016-05-08 17:29

Latest Comments

1 2 Next › Last »

aphirst commented on 2020-09-26 21:12

I'm getting similar build failures to dedguy21, also from noavody's -bzr PKGBUILD:

gcc -g -Wall -DDATADIR=\"/usr/share\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread  -I/usr/include/libappindicator3-0.1 -I/usr/include/libdbusmenu-glib-0.4 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread  -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -pthread   -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -Wall -export-dynamic -Xlinker --no-as-needed -lglib-2.0  -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lappindicator3 -ldbusmenu-glib -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lX11  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o indicator-keylock indicator_keylock-main.o indicator_keylock-lockstates.o indicator_keylock-preferences.o  
/usr/bin/ld: indicator_keylock-lockstates.o:/tmp/arse/src/indicator-keylock/src/lockstates.h:9: multiple definition of `LockKey'; indicator_keylock-main.o:/tmp/arse/src/indicator-keylock/src/lockstates.h:9: first defined here
/usr/bin/ld: indicator_keylock-preferences.o:/tmp/arse/src/indicator-keylock/src/lockstates.h:9: multiple definition of `LockKey'; indicator_keylock-main.o:/tmp/arse/src/indicator-keylock/src/lockstates.h:9: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:397: indicator-keylock] Error 1
make[2]: Leaving directory '/tmp/arse/src/indicator-keylock/src'
make[1]: *** [Makefile:506: all-recursive] Error 1
make[1]: Leaving directory '/tmp/arse/src/indicator-keylock'
make: *** [Makefile:384: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

dedguy21 commented on 2020-08-14 19:53

Getting build error:

collect2:error: ld returned 1 exit status. make[2] *** [Makefile:399: indicator-keylock] Error 1

What might the issue be?

noabody commented on 2019-10-04 17:20

Latest upstream https://code.launchpad.net/~tsbarnes/indicator-keylock/trunk no longer requires libunique. PKGBUILD would look something like this:

pkgname=indicator-keylock-bzr
_pkgname=indicator-keylock
pkgver=116
pkgrel=1
pkgdesc="An indicator that displays the status of the keyboard lock keys"
arch=('x86_64' 'i686')
url="https://code.launchpad.net/~tsbarnes/indicator-keylock/"
license=('GPL3')
depends=('gconf' 'libappindicator-gtk3' 'libnotify' 'libx11'
    'desktop-file-utils' 'gtk-update-icon-cache')
makedepends=()
optdepends=('notification-daemon: for notificiations')
backup=()
options=()
install=indicator-keylock.install
source=("indicator-keylock::bzr+http://bazaar.launchpad.net/~tsbarnes/indicator-keylock/trunk")
sha1sums=('SKIP')

pkgver() {
  cd "${_pkgname}"
  bzr revno
}

prepare() {
    cd "${_pkgname}"
    # the tarball is plain from the repository, without configure
    ./autogen.sh
}

build() {
    cd "${_pkgname}"
    ./configure --prefix=/usr \
        --sysconfdir=/etc \
        --disable-schemas-compile
    make
}

package() {
    cd "${_pkgname}"
    make DESTDIR="$pkgdir/" install
}

marmistrz commented on 2019-06-16 08:01

intltool is missing from makedepends

ravenwish1990 commented on 2019-05-15 14:09

libunique3 is, once again, nowhere to be found

aphirst commented on 2017-08-04 21:09

This also needs intltool as a build dependency, then the build works. Pacaur was eating the error message complaining about one of intltool's binaries being missing.

aphirst commented on 2017-07-31 22:11

When building using pacaur:

/home/adam/.AUR/indicator-keylock/PKGBUILD: line 27: ./configure: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build indicator-keylock package(s)

When using makepkg manually:

==> Starting prepare()...
Copying file po/Makefile.in.in

Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

./autogen.sh: line 39: intltoolize: command not found
ERROR: intltoolize failed.
==> ERROR: A failure occurred in prepare().
Aborting...

aphirst commented on 2017-07-31 22:02

Is it possible to start this without its splash window? I can't seem to work that out, and there's no manpage.

maxweiss commented on 2017-05-21 14:52

@marmistrz - I rebuilt the libunique3 repository, so this will install now.

marmistrz commented on 2017-03-21 10:01

libunique3 is no longer in AUR, there is libunique in extra.