You are not logged in.

#1 2010-05-22 09:30:36

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Can someone repair broken dbusmenu package?

This is "must-have" package for all netbook, gnome users. Could someone repair it, because neither aur pkgbuild nor pkgbuilds posted in comments doesnt compile.

Offline

#2 2010-05-22 11:38:02

kfgz
Member
From: Supraśl, Poland
Registered: 2009-03-02
Posts: 114

Re: Can someone repair broken dbusmenu package?

This PKGBUILD is ok http://aur.pastebin.com/wfhPP2xd You have to create PKGBUILD from raw txt http://aur.pastebin.com/raw.php?i=wfhPP2xd (copy & paste) beacuse if you dowload it, you will have to convert line endings to unix standard.

Offline

#3 2010-05-22 12:20:50

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Re: Can someone repair broken dbusmenu package?

make  all-am
make[3]: Wejście do katalogu `/home/dinth/Dropbox/Coding/libdbusmenu-bzr/src/dbusmenu-build/libdbusmenu-glib'
  CC     libdbusmenu_glib_la-menuitem.lo
  CC     libdbusmenu_glib_la-menuitem-marshal.lo
  CC     libdbusmenu_glib_la-menuitem-proxy.lo
  CC     libdbusmenu_glib_la-server.lo
  CC     libdbusmenu_glib_la-server-marshal.lo
  CC     libdbusmenu_glib_la-client-menuitem.lo
  CC     libdbusmenu_glib_la-client.lo
  CCLD   libdbusmenu-glib.la
  GISCAN Dbusmenu-Glib-0.2.gir
  GICOMP Dbusmenu-Glib-0.2.gir
/usr/bin/vapigen --library=Dbusmenu-Glib-0.2 Dbusmenu-Glib-0.2.gir
Dbusmenu-Glib-0.2.gir:827.15-827.22: error: expected start element of `array'
Dbusmenu-Glib-0.2.gir:828.13-828.24: error: expected start element of `type'

** (vapigen:27504): CRITICAL **: vala_gir_parser_parse_type_from_name: assertion `type_name != NULL' failed
Dbusmenu-Glib-0.2.gir:829.11-829.23: error: expected end element of `type'
Dbusmenu-Glib-0.2.gir:830.9-830.19: error: expected end element of `array'

** (vapigen:27504): CRITICAL **: vala_array_type_construct: assertion `element_type != NULL' failed
Dbusmenu-Glib-0.2.gir:831.7-831.14: error: expected end element of `array'

** (vapigen:27504): CRITICAL **: vala_array_type_construct: assertion `element_type != NULL' failed

** (vapigen:27504): CRITICAL **: vala_formal_parameter_construct: assertion `parameter_type != NULL' failed
Dbusmenu-Glib-0.2.gir:832.7-832.34: error: expected end element of `parameter'

** (vapigen:27504): CRITICAL **: vala_delegate_add_parameter: assertion `param != NULL' failed
Dbusmenu-Glib-0.2.gir:833.9-833.62: error: expected start element of `parameter'
Dbusmenu-Glib-0.2.gir:834.11-834.51: error: expected start element of `type'

** (vapigen:27504): CRITICAL **: vala_gir_parser_parse_type_from_name: assertion `type_name != NULL' failed
Dbusmenu-Glib-0.2.gir:836.11-836.25: error: expected end element of `type'

** (vapigen:27504): CRITICAL **: vala_formal_parameter_construct: assertion `parameter_type != NULL' failed
Dbusmenu-Glib-0.2.gir:837.11-837.22: error: expected end element of `parameter'

** (vapigen:27504): CRITICAL **: vala_delegate_add_parameter: assertion `param != NULL' failed
Generation failed: 10 error(s), 0 warning(s)
make[3]: *** [Dbusmenu-Glib-0.2.vapi] Błąd 1
make[3]: Opuszczenie katalogu `/home/dinth/Dropbox/Coding/libdbusmenu-bzr/src/dbusmenu-build/libdbusmenu-glib'
make[2]: *** [all] Błąd 2
make[2]: Opuszczenie katalogu `/home/dinth/Dropbox/Coding/libdbusmenu-bzr/src/dbusmenu-build/libdbusmenu-glib'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/dinth/Dropbox/Coding/libdbusmenu-bzr/src/dbusmenu-build'
make: *** [all] Błąd 2

Offline

#4 2010-05-22 12:45:30

dcc24
Member
Registered: 2009-10-31
Posts: 732

Re: Can someone repair broken dbusmenu package?

For future reference, please call makepkg with an english locale, so we all can understand the messages.


It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

My AUR packages

Offline

#5 2010-05-22 18:01:54

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Re: Can someone repair broken dbusmenu package?

The only polish strings in this messages are "błąd" = "error" and entering/leaving directory...
Ive already tried to compile this package on three different systems/arch installations and i have same error on each.

Offline

#6 2010-05-24 14:23:08

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Re: Can someone repair broken dbusmenu package?

Ive already checked all bzr branches of dbusmenu and all vala versions ever packed for Archlinux... and got same error everytime.
So ive decided to use ubuntu binary packages, ive made proper pkgbuild, installed libdbusmenu-ubuntu... but unfortunately ./configure of other packages dont see libdbusmenu installed still.
Here is my PKGBUILD:

# Maintainer: Michal Gawronski <dinth1906@gmail.com>
pkgname=libdbusmenu-ubuntu
pkgver=0.2.9ubuntu3
pkgrel=1
pkgdesc="A small little library that was created by pulling out some common code out of indicator-applet. (Canonical Ayatana Project) - ubuntu binary version"
arch=('i686' 'x86_64')
url='https://launchpad.net/dbusmenu'
license=('GPL')
depends=('glib2' 'dbus-glib' 'libxml2' 'json-glib' 'vala')
optdepends=()
provides=('libdbusmenu')
conflicts=('libdbusmenu')
_source_x86=(
    http://mirrors.kernel.org/ubuntu/pool/main/libd/libdbusmenu/gir1.0-dbusmenu-glib-0.2_0.2.9-0ubuntu3_i386.deb
    http://mirrors.kernel.org/ubuntu/pool/universe/libd/libdbusmenu/gir1.0-dbusmenu-gtk-0.2_0.2.9-0ubuntu3_i386.deb
    http://mirrors.kernel.org/ubuntu/pool/main/libd/libdbusmenu/libdbusmenu-glib1_0.2.9-0ubuntu3_i386.deb
    http://mirrors.kernel.org/ubuntu/pool/main/libd/libdbusmenu/libdbusmenu-gtk1_0.2.9-0ubuntu3_i386.deb
)
_md5sums_x86=(
    '4c2dab365bdabc5a2268d86b232acf91'
        'cf2c6531894bad9cc2cea5206951e3ba'
    '21f4b40bc57bb858a5f3ef7f45558778'
        '2761befa8def0af96acdf6d0ac51c45f'
)

_source_x86_64=(
    http://mirrors.kernel.org/ubuntu/pool/main/libd/libdbusmenu/gir1.0-dbusmenu-glib-0.2_0.2.9-0ubuntu3_amd64.deb
    http://mirrors.kernel.org/ubuntu/pool/universe/libd/libdbusmenu/gir1.0-dbusmenu-gtk-0.2_0.2.9-0ubuntu3_amd64.deb
    http://mirrors.kernel.org/ubuntu/pool/main/libd/libdbusmenu/libdbusmenu-glib1_0.2.9-0ubuntu3_amd64.deb
    http://mirrors.kernel.org/ubuntu/pool/main/libd/libdbusmenu/libdbusmenu-gtk1_0.2.9-0ubuntu3_amd64.deb
)
_md5sums_x86_64=(
    '5c80574e3c386edf4b502809493be356'
    '15aafb867ff310b444ab8cdc766249b8'
)

source=(${_source_x86[@]})
md5sums=(${_md5sums_x86[@]})
[ "$CARCH" = "x86_64" ] && source=(${_source_x86_64[@]})
[ "$CARCH" = "x86_64" ] && md5sums=(${_md5sums_x86_64[@]})

build()
{
    cd $srcdir
    mkdir data
    ar x gir1.0-dbusmenu-glib-*
    tar -xzvf data.tar.gz -C data || return 1
    ar x gir1.0-dbusmenu-gtk-*
    tar -xzvf data.tar.gz -C data || return 1
    ar x libdbusmenu-gtk1_* 
    tar -xzvf data.tar.gz -C data || return 1
    ar x libdbusmenu-glib1_*
    tar -xzvf data.tar.gz -C data || return 1
    cp -r data/* $pkgdir || return 
}

Please someone help me. This is library needed by most GNOME notification/tray applications - its very important to have it for all gnome users.

Last edited by Dinth (2010-05-24 14:26:46)

Offline

#7 2010-05-24 17:13:59

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Can someone repair broken dbusmenu package?

Why do you unpack the same file four times, and why do you copy files to $pkgdir?

The PKGBUILD for libdbusmenu-bzr given above builds here. There may be some makedepencies missing, and also some dependencies.

[haawda@frege libdbusmenu]$ namcap ~/repo/libdbusmenu-bzr-0.2.9-1-x86_64.pkg.tar.xz 
libdbusmenu-bzr E: Dependency detected and not included (gtk2) from files ['usr/lib/libdbusmenu-gtk.so', 'usr/lib/libdbusmenu-gtk.so.1.0.6', 'usr/lib/libdbusmenu-gtk.so.1']
libdbusmenu-bzr W: Referenced library 'libdbusmenu-glib.so.1' is an uninstalled dependency
libdbusmenu-bzr W: Dependency included but already satisfied ('glib2')
libdbusmenu-bzr W: Dependency included but already satisfied ('libxml2')
libdbusmenu-bzr E: ELF file (usr/libexec/dbusmenu-testapp) outside of a valid path.
libdbusmenu-bzr E: ELF file (usr/libexec/dbusmenu-dumper) outside of a valid path.
libdbusmenu-bzr W: File (usr/lib/libdbusmenu-gtk.la) is a libtool file
libdbusmenu-bzr W: File (usr/lib/libdbusmenu-glib.la) is a libtool file

Last edited by Stefan Husmann (2010-05-24 17:21:39)

Offline

#8 2010-06-24 06:38:11

Dinth
Member
From: London
Registered: 2009-03-02
Posts: 238

Re: Can someone repair broken dbusmenu package?

Offline

Board footer

Powered by FluxBB