You are not logged in.

#1 2010-06-07 07:52:30

MGu3l
Member
From: Medellín, Colombia
Registered: 2009-12-19
Posts: 109

Can install gnome-settings-daemon-notify-osd [SOLVED]

when i to install this package, yaourt gives me the following error

...
/ Usr/include/glib-2.0/glib/gslist.h: 85:10: note: expected 'GCompareFunc' but the argument is of type 'int (*) (const char *, const char *)'
gsd-keyboard-xkb.c: In function 'gsd_keyboard_xkb_shutdown':
gsd-keyboard-xkb.c: 529:2: error: missing arguments to function 'xkl_engine_stop_listen'
/ Usr / include / libxklavier / xkl_engine.h: 243:14: note: it says here
make [3]: *** [libkeyboard_la-gsd-keyboard-xkb.lo] Error 1
make [3]: Leaving directory `/ tmp/yaourt-tmp-miguel/aur-gnome-settings-daemon-notify-osd/src/gnome-settings-daemon-2.28.1/plugins/keyboard '
make [2]: *** [all-recursive] Error 1
make [2]: Leaving directory `/ tmp/yaourt-tmp-miguel/aur-gnome-settings-daemon-notify-osd/src/gnome-settings-daemon-2.28.1/plugins'
make [1]: *** [all-recursive] Error 1
make [1]: Leaving directory `/ tmp/yaourt-tmp-miguel/aur-gnome-settings-daemon-notify-osd/src/gnome-settings-daemon-2.28.1 '
make: *** [all] Error 2
==> ERROR: compilation failed.
    Aborting ...
==> ERROR: makepkg Was Unable to build gnome-settings-daemon-notify-osd.

I tried to edit the PKGBUILD but I didn't succeed, if someone could tell what to do, I'll appreciate that

Last edited by MGu3l (2010-06-09 01:11:09)


"Dream as if you'll live forever, live as if you'll die today" - James Dean

Offline

#2 2010-06-07 08:14:11

ber_t
Member
From: Berlin, Germany
Registered: 2010-03-10
Posts: 214
Website

Re: Can install gnome-settings-daemon-notify-osd [SOLVED]

Well it's flagged out of date. So I guess the function "xkl_engine_stop_listen" has a new declaration since gnome went 2.30.
Have you tried the patch and the new PKGBUILD from damumbl in the comments of the AUR page?

Offline

#3 2010-06-07 08:34:57

MGu3l
Member
From: Medellín, Colombia
Registered: 2009-12-19
Posts: 109

Re: Can install gnome-settings-daemon-notify-osd [SOLVED]

yeah, i tried those too... but the result it's the same, ==> ERROR: compilation failed.


"Dream as if you'll live forever, live as if you'll die today" - James Dean

Offline

#4 2010-06-07 10:36:21

ber_t
Member
From: Berlin, Germany
Registered: 2010-03-10
Posts: 214
Website

Re: Can install gnome-settings-daemon-notify-osd [SOLVED]

It built fine here using the PKGBUILD and the patch from damumbl. Can you please pastebin the full output of makepkg using damumbls files?

Offline

#5 2010-06-07 21:47:50

MGu3l
Member
From: Medellín, Colombia
Registered: 2009-12-19
Posts: 109

Re: Can install gnome-settings-daemon-notify-osd [SOLVED]

This is what i get when i try to use both PKGBUILD and the patch

[miguel@archer gnome-settings-daemon-notify-osd]$ makepkg
==> Creando el paquete: gnome-settings-daemon-notify-osd 2.30.0-1 i686 (lun jun  7 16:58:26 COT 2010)
==> Comprobando Dependencias en tiempo de Ejecución... 
==> Comprobando Dependencias en tiempo de Compilación... 
==> Obteniendo Fuentes...
  -> Encontrado gnome-settings-daemon-2.30.0.tar.bz2 en el directorio de compilación
  -> Encontrado use_synchronous_notifications.patch en el directorio de compilación
==> Validando el archivo fuente con sha256sums...
    gnome-settings-daemon-2.30.0.tar.bz2 ... Aprobado
    use_synchronous_notifications.patch ... Aprobado
==> Descomprimiendo fuentes...
  -> Extrayendo gnome-settings-daemon-2.30.0.tar.bz2 con bsdtar
==> Entrando a un ambiente fakeroot...
==> Comenzando build()...
patching file configure.ac
patching file plugins/common/gsd-osd-notification.c
patching file plugins/common/gsd-osd-notification.h
patching file plugins/common/Makefile.am
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- saving rejects to file plugins/common/Makefile.am.rej
patching file plugins/media-keys/gsd-media-keys-manager.c
patching file plugins/media-keys/Makefile.am
Hunk #1 FAILED at 92.
1 out of 1 hunk FAILED -- saving rejects to file plugins/media-keys/Makefile.am.rej
==> ERROR: Falló la compilación.
    Abortando...

Last edited by MGu3l (2010-06-09 01:11:32)


"Dream as if you'll live forever, live as if you'll die today" - James Dean

Offline

#6 2010-06-08 08:21:09

ber_t
Member
From: Berlin, Germany
Registered: 2010-03-10
Posts: 214
Website

Re: Can install gnome-settings-daemon-notify-osd [SOLVED]

Well, that's strange. All hunks of the patch succeded here.
Did you remove the src/ directory before you called makepkg? If not, can you try this?

And if it still fails: I've uploaded the source tarball (like the ones in the AUR) created from my directory:
http://www2.informatik.hu-berlin.de/~mu … src.tar.gz

Can you also try to build using these files?

Offline

#7 2010-06-08 18:46:23

MGu3l
Member
From: Medellín, Colombia
Registered: 2009-12-19
Posts: 109

Re: Can install gnome-settings-daemon-notify-osd [SOLVED]

yeah i did it....

i tried to build using your tarball and this is what i got:

[miguel@archer gnome-settings-daemon-notify-osd]$ makepkg
==> Creando el paquete: gnome-settings-daemon-notify-osd 2.30.0-1 i686 (mar jun  8 13:43:48 COT 2010)
==> Comprobando Dependencias en tiempo de Ejecución... 
==> Comprobando Dependencias en tiempo de Compilación... 
==> Obteniendo Fuentes...
  -> Encontrado gnome-settings-daemon-2.30.0.tar.bz2 en el directorio de compilación
  -> Encontrado 16_use_synchronous_notifications.patch en el directorio de compilación
==> Validando el archivo fuente con sha256sums...
    gnome-settings-daemon-2.30.0.tar.bz2 ... Aprobado
    16_use_synchronous_notifications.patch ... Aprobado
==> Descomprimiendo fuentes...
  -> Extrayendo gnome-settings-daemon-2.30.0.tar.bz2 con bsdtar
==> Entrando a un ambiente fakeroot...
==> Comenzando build()...
/home/miguel/Descargas/gnome-settings-daemon-notify-osd/PKGBUILD: línea 26: cd: /home/miguel/Descargas/gnome-settings-daemon-notify-osd/src/gnome-settings-daemon-2.30.0: No existe el fichero o el directorio
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nur gnome-settings-daemon-2.30.0.orig/configure.ac gnome-settings-daemon-2.30.0/configure.ac
|--- gnome-settings-daemon-2.30.0.orig/configure.ac      2010-03-29 16:03:47.000000000 +0200
|+++ gnome-settings-daemon-2.30.0/configure.ac   2010-04-08 21:24:21.111067534 +0200
--------------------------
File to patch:

... and don't know what to do

Last edited by MGu3l (2010-06-09 01:11:54)


"Dream as if you'll live forever, live as if you'll die today" - James Dean

Offline

#8 2010-06-08 19:11:15

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: Can install gnome-settings-daemon-notify-osd [SOLVED]

Uhh, what is the output of ls /home/miguel/Descargas/gnome-settings-daemon-notify-osd/src ? Something is funny in you env, its not correct extracting

And when posting, please use LANG=C, is hard to understand errors  msg in others languages then English

Offline

#9 2010-06-08 19:21:22

MGu3l
Member
From: Medellín, Colombia
Registered: 2009-12-19
Posts: 109

Re: Can install gnome-settings-daemon-notify-osd [SOLVED]

this is the output

[miguel@archer src]$ ls
gnome-settings-daemon-2.30.0.tar.bz2  gnome-settings-daemon-notify-osd    plugins  use_synchronous_notifications.patch

...and about the language, sorry, i'll keep that in mind!

Last edited by MGu3l (2010-06-09 01:12:15)


"Dream as if you'll live forever, live as if you'll die today" - James Dean

Offline

#10 2010-06-08 21:38:30

ber_t
Member
From: Berlin, Germany
Registered: 2010-03-10
Posts: 214
Website

Re: Can install gnome-settings-daemon-notify-osd [SOLVED]

We need to know the full contents of the src directory after makepkg failed. So please run

find src

afterwards without doing anything else in between.

I'm happy, that kazuo mentioned the fact, that the extraction on your system seems to behave abnormally. I thought that too, but couldn't believe such thing and thus did not said something about it.

EDIT: The directory should look like this:

gnome-settings-daemon-notify-osd $ find . -maxdepth 3
.
./20_gstreamer.patch
./pkg
...
./src
./src/gnome-settings-daemon-2.30.0
./src/gnome-settings-daemon-2.30.0/config.h
./src/gnome-settings-daemon-2.30.0/config.status
./src/gnome-settings-daemon-2.30.0/gnome-settings-daemon
./src/gnome-settings-daemon-2.30.0/missing
./src/gnome-settings-daemon-2.30.0/configure.ac
./src/gnome-settings-daemon-2.30.0/COPYING.LIB
./src/gnome-settings-daemon-2.30.0/plugins
./src/gnome-settings-daemon-2.30.0/po
./src/gnome-settings-daemon-2.30.0/Makefile
./src/gnome-settings-daemon-2.30.0/libtool
./src/gnome-settings-daemon-2.30.0/config.guess
./src/gnome-settings-daemon-2.30.0/config.h.in
./src/gnome-settings-daemon-2.30.0/COPYING
./src/gnome-settings-daemon-2.30.0/acinclude.m4
./src/gnome-settings-daemon-2.30.0/compile
./src/gnome-settings-daemon-2.30.0/configure
./src/gnome-settings-daemon-2.30.0/stamp-h1
./src/gnome-settings-daemon-2.30.0/mkinstalldirs
./src/gnome-settings-daemon-2.30.0/README
./src/gnome-settings-daemon-2.30.0/ChangeLog
./src/gnome-settings-daemon-2.30.0/aclocal.m4
./src/gnome-settings-daemon-2.30.0/install-sh
./src/gnome-settings-daemon-2.30.0/Makefile.in
./src/gnome-settings-daemon-2.30.0/Makefile.am
./src/gnome-settings-daemon-2.30.0/autom4te.cache
./src/gnome-settings-daemon-2.30.0/MAINTAINERS
./src/gnome-settings-daemon-2.30.0/AUTHORS
./src/gnome-settings-daemon-2.30.0/INSTALL
./src/gnome-settings-daemon-2.30.0/depcomp
./src/gnome-settings-daemon-2.30.0/config.log
./src/gnome-settings-daemon-2.30.0/NEWS
./src/gnome-settings-daemon-2.30.0/data
./src/gnome-settings-daemon-2.30.0/ltmain.sh
./src/gnome-settings-daemon-2.30.0/config.sub
./src/use_synchronous_notifications.patch
./src/gnome-settings-daemon-2.30.0.tar.bz2
./16_use_synchronous_notifications.patch
./use_synchronous_notifications.patch
./PKGBUILD
./gnome-settings-daemon-2.30.0.tar.bz2
./gnome-settings-daemon.install

Last edited by ber_t (2010-06-08 21:50:58)

Offline

#11 2010-06-09 01:04:02

MGu3l
Member
From: Medellín, Colombia
Registered: 2009-12-19
Posts: 109

Re: Can install gnome-settings-daemon-notify-osd [SOLVED]

now i tried to compile again and it worked!!  big_smile don't know where i was failing, but now the compilation has been succesfull

Thx for your help!!

marked as solved

Last edited by MGu3l (2010-06-09 01:10:35)


"Dream as if you'll live forever, live as if you'll die today" - James Dean

Offline

#12 2010-06-09 02:11:03

MGu3l
Member
From: Medellín, Colombia
Registered: 2009-12-19
Posts: 109

Re: Can install gnome-settings-daemon-notify-osd [SOLVED]

now i have another problem kind of related to this one... it's explained here, so please take a look

http://bbs.archlinux.org/viewtopic.php?id=98746


"Dream as if you'll live forever, live as if you'll die today" - James Dean

Offline

#13 2010-10-14 13:45:00

cruznick
Member
From: México
Registered: 2010-07-15
Posts: 37
Website

Re: Can install gnome-settings-daemon-notify-osd [SOLVED]

Hi I'm having the same problem here

ibpng14 -I/usr/include/orbit-2.0 -I/usr/include/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -MT libkeyboard_la-gsd-keyboard-xkb.lo -MD -MP -MF .deps/libkeyboard_la-gsd-keyboard-xkb.Tpo -c gsd-keyboard-xkb.c  -fPIC -DPIC -o .libs/libkeyboard_la-gsd-keyboard-xkb.o
gsd-keyboard-xkb.c: In function 'apply_xkb_settings':
gsd-keyboard-xkb.c:790:31: error: 'current_ind_config' undeclared (first use in this function)
gsd-keyboard-xkb.c:790:31: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [libkeyboard_la-gsd-keyboard-xkb.lo] Error 1
make[3]: se sale del directorio `/home/cruznick/Repo/Pkgbuilds/gnome-settings-daemon-notify-osd/src/gnome-settings-daemon-2.32.0/plugins/keyboard'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/cruznick/Repo/Pkgbuilds/gnome-settings-daemon-notify-osd/src/gnome-settings-daemon-2.32.0/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/cruznick/Repo/Pkgbuilds/gnome-settings-daemon-notify-osd/src/gnome-settings-daemon-2.32.0'
make: *** [all] Error 2

Offline

Board footer

Powered by FluxBB