Package Details: libunity 7.1.4-3

Git Clone URL: https://aur.archlinux.org/libunity.git (read-only)
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: City-busz
Maintainer: shaggytwodope
Last Packager: shaggytwodope
Votes: 145
Popularity: 4.579219
First Submitted: 2011-01-22 23:07
Last Updated: 2017-01-14 19:27

Latest Comments

KanocX commented on 2017-01-18 00:56

Same Problem here.
It refers to the following bug: https://bugs.launchpad.net/bzr/+bug/1644003

Just setting LANG was not enough for me, I also had to set LC_ALL:
$ LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 yaourt -S libunity

Rapti commented on 2017-01-16 13:18

If you are getting compile errors in the latest version, try using the en_US.UTF-8 locale.

$ LANG=en_US.UTF-8 yaourt -S libunity

I'm not sure if you need to do that, but if this doesn't work, make sure you have generated this locale. Uncomment en_US.UTF-8 in /etc/locale.gen and generate the locales as root user:

# locale-gen

shaggytwodope commented on 2017-01-16 11:48

@craeckie Try updating the packages: icu dee

For me it's linked to libicuuc.so.58 and so on. This leads me to believe your system may not entirely be up to date.

goldielin commented on 2017-01-16 11:45

@craeckie: Hi, I encountered similar issue, and fixed by uninstall and reinstall (re-compile) dee and libunity respectively.

$ yaourt -Rn dee libunity
$ yaourt dee
$ yaourt libunity

craeckie commented on 2017-01-16 11:33

Hi, I'm getting this error when compiling libunity with yaourt:

make[3]: Entering directory '/tmp/yaourt-tmp-nobody/aur-libunity/src/libunity-7.1.4/loader'
CC scope-loader.o
CCLD unity-scope-loader
/usr/bin/ld: warning: libicui18n.so.57, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/libdee-1.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicuuc.so.57, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/libdee-1.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicudata.so.57, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/libdee-1.0.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/libdee-1.0.so: undefined reference to `u_strFromUTF8Lenient_57'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/libdee-1.0.so: undefined reference to `u_errorName_57'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/libdee-1.0.so: undefined reference to `utrans_close_57'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/libdee-1.0.so: undefined reference to `utrans_openU_57'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/libdee-1.0.so: undefined reference to `utrans_transUChars_57'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:500: unity-scope-loader] Error 1

full log: http://pastebin.com/gNt831vZ

shaggytwodope commented on 2017-01-15 23:38

@Thorned_Rose @kingcreole check out these pages https://bugs.launchpad.net/bzr/+bug/1644003 https://bugs.launchpad.net/qbzr/+bug/1529659

And more importantly, https://bugs.archlinux.org/task/52283

This is a bug in bzr which is used to fetch libunity, not related to this package at this time. You can try changing your locale as per some of the comments linked. But for now nothing I can do in this package, unless we want to use some type of tar ball release.. I'll look into that this weekend.

Thorned_Rose commented on 2017-01-15 21:47

@shaggytwodope How exactly is my locale causing the issue? How does one fix it then if that's the problem?

Thorned_Rose commented on 2017-01-15 21:46

bzr help launchpad-login

results in:

bzr: ERROR: exceptions.TypeError: first argument must be string or compiled pattern

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 930, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 1121, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 697, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 136, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 1138, in ignore_pipe
result = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/bzrlib/builtins.py", line 4852, in run
bzrlib.help.help(topic)
File "/usr/lib/python2.7/site-packages/bzrlib/help.py", line 54, in help
outfile.write(source.get_help_text(shadowed_terms))
File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 466, in get_help_text
i18n.install() # Install i18n only for get_help_text for now.
File "/usr/lib/python2.7/site-packages/bzrlib/i18n.py", line 92, in install
_translations = install_translations(lang)
File "/usr/lib/python2.7/site-packages/bzrlib/i18n.py", line 114, in install_translations
fallback=True)
File "/usr/lib/python2.7/gettext.py", line 554, in translation
t = _translations.setdefault(key, class_(fp))
File "/usr/lib/python2.7/gettext.py", line 255, in __init__
self._parse(fp)
File "/usr/lib/python2.7/gettext.py", line 391, in _parse
self.plural = c2py(plural)
File "/usr/lib/python2.7/gettext.py", line 177, in c2py
result, nexttok = _parse(_tokenize(plural))
File "/usr/lib/python2.7/gettext.py", line 114, in _parse
nexttok = next(tokens)
File "/usr/lib/python2.7/gettext.py", line 85, in _tokenize
for mo in re.finditer(_token_pattern, plural):
File "/usr/lib/python2.7/re.py", line 190, in finditer
return _compile(pattern, flags).finditer(string)
File "/usr/lib/python2.7/re.py", line 247, in _compile
raise TypeError, "first argument must be string or compiled pattern"
TypeError: first argument must be string or compiled pattern

bzr 2.7.0 on python 2.7.13 (Linux-4.8.13-1-ARCH-x86_64-with-glibc2.2.5)
arguments: ['/usr/sbin/bzr', 'help', 'launchpad-login']
plugins: bash_completion[2.7.0], changelog_merge[2.7.0], grep[2.7.0],
launchpad[2.7.0], netrc_credential_store[2.7.0], news_merge[2.7.0],
po_merge[2.7.0], weave_fmt[2.7.0]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'

*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https://bugs.launchpad.net/bzr/+filebug
including this traceback and a description of the problem.

kingcreole commented on 2017-01-15 21:28

I'm having the exact same locale error, how do i fix it? :/

edit: oh i see...

it sais:

You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
bzr: ERROR: exceptions.TypeError: first argument must be string or compiled pattern

so that's the issue, could it be possible to not login to launchpad?

shaggytwodope commented on 2017-01-15 00:21

@dlh error is related to bzr not libunity directly, basically your locale is causing the issue.

dlh commented on 2017-01-15 00:11

bzr: ERROR: exceptions.TypeError: first argument must be string or compiled pattern

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 930, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 1121, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.7/site-packages/bzrlib/commands.py", line 697, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 136, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/bzrlib/builtins.py", line 1507, in run
source_branch=br_from)
File "/usr/lib/python2.7/site-packages/bzrlib/bzrdir.py", line 367, in sprout
create_tree_if_local=create_tree_if_local)
File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 132, in run
self.cleanups, self.func, self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/bzrlib/bzrdir.py", line 417, in _sprout
result_repo.fetch(source_repository, fetch_spec=fetch_spec)
File "/usr/lib/python2.7/site-packages/bzrlib/vf_repository.py", line 1268, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/usr/lib/python2.7/site-packages/bzrlib/decorators.py", line 218, in write_locked
result = unbound(self, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/bzrlib/vf_repository.py", line 2585, in fetch
find_ghosts=find_ghosts)
File "/usr/lib/python2.7/site-packages/bzrlib/fetch.py", line 77, in __init__
self.__fetch()
File "/usr/lib/python2.7/site-packages/bzrlib/fetch.py", line 98, in __fetch
pb.update(gettext("Finding revisions"), 0, 2)
File "/usr/lib/python2.7/site-packages/bzrlib/i18n.py", line 40, in gettext
install()
File "/usr/lib/python2.7/site-packages/bzrlib/i18n.py", line 92, in install
_translations = install_translations(lang)
File "/usr/lib/python2.7/site-packages/bzrlib/i18n.py", line 114, in install_translations
fallback=True)
File "/usr/lib/python2.7/gettext.py", line 554, in translation
t = _translations.setdefault(key, class_(fp))
File "/usr/lib/python2.7/gettext.py", line 255, in __init__
self._parse(fp)
File "/usr/lib/python2.7/gettext.py", line 391, in _parse
self.plural = c2py(plural)
File "/usr/lib/python2.7/gettext.py", line 177, in c2py
result, nexttok = _parse(_tokenize(plural))
File "/usr/lib/python2.7/gettext.py", line 114, in _parse
nexttok = next(tokens)
File "/usr/lib/python2.7/gettext.py", line 85, in _tokenize
for mo in re.finditer(_token_pattern, plural):
File "/usr/lib/python2.7/re.py", line 190, in finditer
return _compile(pattern, flags).finditer(string)
File "/usr/lib/python2.7/re.py", line 247, in _compile
raise TypeError, "first argument must be string or compiled pattern"
TypeError: first argument must be string or compiled pattern

bzr 2.7.0 on python 2.7.13 (Linux-4.9.0-ck1-x86_64-with-glibc2.2.5)
arguments: ['/usr/bin/bzr', 'branch', 'lp:libunity', '/tmp/yaourt-tmp-dlh/aur-
libunity/libunity-7.1.4', '--no-tree', '--use-existing-dir']
plugins: bash_completion[2.7.0], changelog_merge[2.7.0], grep[2.7.0],
launchpad[2.7.0], netrc_credential_store[2.7.0], news_merge[2.7.0],
po_merge[2.7.0], weave_fmt[2.7.0]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'pl_PL.UTF-8'

*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https://bugs.launchpad.net/bzr/+filebug
including this traceback and a description of the problem.

lexikon commented on 2016-07-06 20:27

Chromium based browser are lost buttons when libunity is installed!
https://bugs.chromium.org/p/chromium/issues/detail?id=375650

shaggytwodope commented on 2016-03-18 18:07

@willemw, so removed it for now. I'd like to see more official stance on the arch's tho. It's been stated before the wiki isnt "official" on the mailinglist.

willemw commented on 2016-03-18 17:44

@shaggytwodope https://wiki.archlinux.org/index.php/PKGBUILD#arch
Most of the Arch Linux packages are also available on Arch Linux ARM, however they don't have armv7h, etc. in their arch array.

shaggytwodope commented on 2016-03-18 17:33

@willemw I've always followed this https://wiki.archlinux.org/index.php/Arch_packaging_standards#Architectures is there another reference I've overlooked?

willemw commented on 2016-03-18 17:22

'armv7h' should not be added, according to the guidelines. Many packages build under ARM without extending the arch list, otherwise use the -A/--noarch build switch.

shaggytwodope commented on 2016-03-18 17:10

@amagnasco, added to arch list.

amagnasco commented on 2016-03-18 16:41

successfully compiled on the 'armv7h' architecture

mielouk commented on 2016-02-20 14:54

I uninstalled and installed dee.

icu is up to date. Got no clue what else it could be.

$ pacaur -Qs icu
local/harfbuzz-icu 1.1.3-1
OpenType text shaping engine (ICU integration)
local/icu 56.1-2
International Components for Unicode library
local/lib32-icu 56.1-2
International Components for Unicode library (32 bit)

shaggytwodope commented on 2016-02-19 19:01

Do you have icu 56.1-2 installed? or installed from another source (aur package?)

On my system I have libicui18n.so.56, It seems like something along the line is outdated. Can you try removing "dee" completely. And recompiling?

mielouk commented on 2016-02-19 17:01

@shaggytwodope

I'm using pacaur. Do you need any other information?

I've already reinstalled "dee".

Maybe the lines before this can help you...

/usr/bin/ld: warning: libicui18n.so.53, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/libdee-1.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicuuc.so.53, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/libdee-1.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicudata.so.53, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/libdee-1.0.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/libdee-1.0.so: undefined reference to `u_errorName_53'
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/libdee-1.0.so: undefined reference to `u_strFromUTF8Lenient_53'
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/libdee-1.0.so: undefined reference to `utrans_close_53'
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/libdee-1.0.so: undefined reference to `utrans_openU_53'
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/libdee-1.0.so: undefined reference to `utrans_transUChars_53'
collect2: error: ld returned 1 exit status
Makefile:499: recipe for target 'unity-scope-loader' failed
make[3]: *** [unity-scope-loader] Error 1
make[3]: Leaving directory '/tmp/pacaurtmp-psilo/libunity/src/libunity-7.1.4/loader'
Makefile:415: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/pacaurtmp-psilo/libunity/src/libunity-7.1.4/loader'
Makefile:571: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/pacaurtmp-psilo/libunity/src/libunity-7.1.4'
Makefile:475: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build libunity package(s)

shaggytwodope commented on 2016-02-18 20:16

@mielouk I'm unable to reproduce this, how are you trying to build/install?

mielouk commented on 2016-02-18 19:15

Would you help me to fix this?

[code]
collect2: error: ld returned 1 exit status
Makefile:499: recipe for target 'unity-scope-loader' failed
make[3]: *** [unity-scope-loader] Error 1
make[3]: Leaving directory '/tmp/pacaurtmp-psilo/libunity/src/libunity-7.1.4/loader'
Makefile:415: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/tmp/pacaurtmp-psilo/libunity/src/libunity-7.1.4/loader'
Makefile:571: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/pacaurtmp-psilo/libunity/src/libunity-7.1.4'
Makefile:475: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
:: Installing libunity package(s)...
:: libunity package(s) failed to install. Check .SRCINFO for mismatching data with PKGBUILD.
:: failed to build libunity package(s)
[/code]

vwugd97 commented on 2015-11-08 15:37

reinstallinng "dee" fixed the problem, updates fine now.

shaggytwodope commented on 2015-11-06 16:54

@zephrax, so I updated the pkgbuild. But that wasnt your issue, see libdee-1.0.so which is from the dee package (https://aur.archlinux.org/packages/dee/). You'll need to reinstall that. And using the new pkgbuild from here there should be no issues compiling and installed. Any trouble let me know.

zephrax commented on 2015-11-06 16:14

This package seems to be broken. I upgraded my archlinux and when I try to build it, I get:

/usr/bin/ld: warning: libicui18n.so.53, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libdee-1.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicuuc.so.53, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libdee-1.0.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libicudata.so.53, needed by /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libdee-1.0.so, not found (try using -rpath or -rpath-link)


Seems that some dependencies changed. I tryied to symlink the lib*.so -> lib*.so.53 as a dirty fix but I couldn't compile this. After the dirty fix I got:

/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libdee-1.0.so: undefined reference to `utrans_openU_53'
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libdee-1.0.so: undefined reference to `utrans_transUChars_53'
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libdee-1.0.so: undefined reference to `u_errorName_53'
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libdee-1.0.so: undefined reference to `utrans_close_53'
/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libdee-1.0.so: undefined reference to `u_strFromUTF8Lenient_53'
collect2: error: ld returned 1 exit status

jwallden commented on 2015-08-10 16:58

Right! Thanks @shaggytwodope

shaggytwodope commented on 2015-08-09 21:03

@jwallden bzr is in the make depends.

jwallden commented on 2015-08-09 18:50

Trying to upgrade telegram-desktop but getting

==> Making package: libunity 7.1.4-1 (Sun Aug 9 20:45:43 CEST 2015)
==> Retrieving sources...
-> Branching lp:libunity ...
/usr/bin/makepkg: line 468: bzr: command not found
==> ERROR: Failure while branching lp:libunity

hobarrera commented on 2015-07-16 06:57

depends "bzr" is missing.

davidva commented on 2015-04-15 23:25

It doesn't compile, if You want compile it add the suggestion of @la_poigne and works fine.

la_poigne commented on 2015-03-29 15:57

I hed this error:
< error: `ListStore' is an ambiguous reference between `GLib.ListStore' and `Gtk.ListStore' >

You need to add to the PKGBUILD, on the build command, after "cd ${pkgname}-${pkgver}"

find . -type f -exec sed -i 's/ListStore/Gtk.ListStore/' {} \;

cleger commented on 2014-02-24 15:25

No problem. :)

alucryd commented on 2014-02-24 15:24

cleger: My bad, I had noticed it and updated the PKGBUILD, but forgot to push it. Thx for the report.

cleger commented on 2014-02-24 15:19

I had to add 'gnome-common' to the makedepends to make this build on my system. The fact that I'm using KDE* instead of Gnome/Unity might have something to do with that.

* KDE has an Icon-Only Task Manager with support for the Unity D-Bus API, but requires libunity for the latter to work.

alucryd commented on 2013-10-30 09:20

Disabled python3 overrides, feel free to yell at me if someone really needs them.

willemw commented on 2013-07-11 13:18

Also builds with python3. You can then probably remove the 'fix' in package().

City-busz commented on 2012-11-24 18:15

@munchor: you have to cleanup your /usr/local directory. The easiest way is to remove it (# rm -r /usr/local ) and reistall the filesystem package, but make a backup first.

If you are in trouble, ask it on Arch forums.

Anonymous comment on 2012-11-24 17:17

I never built glib from source, I don't even have the source on my computer. My "locate glib" output is here: http://bpaste.net/show/iGuYcoBI4ds4hpk6ASE8/

City-busz commented on 2012-11-24 15:00

@munchor: I just noticed that you installed glib2 into your /usr/local directory. You should remove it by calling 'make uninstall' from glib2 sources.

Anonymous comment on 2012-11-24 14:30

@City-busz: I tried to reinstall glib2, no luck. Any ideas?

City-busz commented on 2012-11-23 23:11

@munchor: your system is broken. Try to reinstall glib2 package from the official repositories.

Anonymous comment on 2012-11-23 16:01

ake[2]: Entering directory `/tmp/yaourt-tmp-david/aur-libunity/src/libunity-6.12.0/tools'
GEN unity-tool-res.c
/usr/local/bin/glib-compile-resources: error while loading shared libraries: libffi.so.5: cannot open shared object file: No such file or directory

Won't build.

jiuren commented on 2012-11-02 21:11

Hi, if you are also interested in using unity on archlinux. Check the wiki or https://bbs.archlinux.org/viewtopic.php?pid=1179623.
It's a working version. More users and contributors will make unity for arch better:)

gnumdk commented on 2012-10-03 15:24

6.5.2 is out!

Ghouli commented on 2012-07-27 12:06

Updated PKGBUILD:
http://pastebin.com/TLkWrECM

City-busz commented on 2011-11-07 01:33

Fixed

Splashy commented on 2011-11-06 14:06

Please change source=(http://launchpad.net/$pkgname/4.0.0/$pkgver/+download/$pkgname-$pkgver.tar.gz
by source=(http://launchpad.net/$pkgname/4.0/$pkgver/+download/$pkgname-$pkgver.tar.gz

Please or it impossible to download. Thanks