Username: Password: Remember me
Search Criteria Advanced
Package Details

lapsus 0.0.6-3
http://lapsus.berlios.de
Controls additional features of Asus and IBM laptops in KDE3 environment (using appropriate kernel modules).

unsupported :: system
Maintainer: sjakub
Votes: 39

License: GPL

Last Updated: Sun, 21 Dec 2008 05:50:05 +0000
First Submitted: Sun, 27 May 2007 09:57:09 +0000

Tarball :: Files :: PKGBUILD

Dependencies dbus kdelibs3 qt3

Sources
http://download.berlios.de/lapsus/lapsus-0.0.6.tar.bz2
lapsus.rc_script
Comment by: VuDu on Fri, 16 Oct 2009 11:16:27 +0000
Another thing, when I send a dbus command I always get this message:

method return sender=:1.172 -> dest=:1.301 reply_serial=2
Comment by: VuDu on Thu, 15 Oct 2009 22:51:37 +0000
Same here... ./configure seems to be ok, but it's complaining about many undefined dbus_* references and it won't compile.
Comment by: sirmacik on Thu, 15 Oct 2009 21:50:30 +0000
Hi, unfortunately it don't wont to build on my arch64 :/ This is build log: http://gist.github.com/211318
Regards, Marcin
Comment by: sirmacik on Thu, 14 May 2009 15:54:34 +0000
Now it works (build as a root), thank You sjakub!
Comment by: sjakub on Thu, 14 May 2009 15:44:26 +0000
This is a bug in fakeroot. Try building this package as root.
Or you could try preloading GL libraries, as described here: http://bugs.archlinux.org/task/12592
Comment by: sirmacik on Thu, 14 May 2009 15:36:50 +0000
There is compile error with kdelibs3, ./configure returns error message like this:
"checking for kde-config... /opt/kde/bin/kde-config
configure: error: /opt/kde/bin/kde-config --prefix outputed the non existant prefix '' for kdelibs.
This means it has been moved since you installed it.
This won't work. Please recompile kdelibs for the new prefix."
I'm not sure about the source (lapsus or kdelibs) of the problem, so I'm posing it here.

Regards, Marcin
Comment by: sjakub on Fri, 20 Feb 2009 17:30:15 +0000
Daemon requires qt as well. It doesn't require KDE.
Comment by: VuDu on Fri, 20 Feb 2009 15:33:52 +0000
The daemon doesn't requires kde/qt, right? Is it possible to build it without kde/qt?
Comment by: deltaecho on Sat, 07 Feb 2009 22:13:15 +0000
Even though running `/opt/kde/bin/kde-config --prefix' output "/opt/kde", the compiler kept erroring out with the message:

...
checking for kde-config... /opt/kde/bin/kde-config
configure: error: /opt/kde/bin/kde-config --prefix outputed the non existant prefix '' for kdelibs.
This means it has been moved since you installed it.
This won't work. Please recompile kdelibs for the new prefix.


I had to modify the PKGBUILD to use /opt/kde as its prefix before it would compile:

./configure --without-arts --prefix=/opt/kde
Comment by: sjakub on Wed, 28 Jan 2009 17:46:10 +0000
Yes, or Qt4 app ;)
It actually might make more sense... :P
Comment by: VuDu on Wed, 28 Jan 2009 10:38:10 +0000
Roger that! ;)
But how about moving that effort to a standalone qt (4?) client so that KDE4 and other WM users can configure lapsus too ;)
Comment by: sjakub on Tue, 27 Jan 2009 19:46:22 +0000
There is only KDE3 applet for now.
There might be something for KDE4 as well (when I find time ;) ), but since I don't use Gnome I am not planning to write anything for it. Patches and code is accepted though ;) So if someone decides to contribute there might be gnome client as well.
Comment by: sjakub on Tue, 27 Jan 2009 19:43:44 +0000
If acpid is running, multiple programs can connect to acpid to receive ACPI events. If there is no acpid, lapsus tries to use ACPI events file directly. The problem with that file is, that only one program can use it at a time. So if there is any other program already using it (and it's not acpid), lapsusd can't work.
Running acpid IS recommended ;) But it's not necessary, as there might be a setup where only lapsus is listening for such events. I would expect to HAL use that file too (through acpid or directly, just like lapsus does), so the easiest solution is to install acpid and start it before lapsus starts. But it's not a dependency...
Comment by: VuDu on Tue, 27 Jan 2009 19:39:40 +0000
Mine refused to start without acpid running, that's why I said that. So if it doesn't depend on acpid, how can one start it without acpid?

Btw, is there anyway to run the client on gnome or kde4?
Comment by: sjakub on Fri, 23 Jan 2009 16:56:01 +0000
No, it doesn't depend on acpid. Acpid is needed only if you want more than one program to receive ACPI events, but it's not necessary.
Comment by: VuDu on Sat, 17 Jan 2009 13:00:02 +0000
This also depends on acpid/dbus(hal) and they have to be running for lapsusd to start.
Comment by: sjakub on Sun, 21 Dec 2008 05:50:27 +0000
Good to know. I have update the package. Thanks!
Comment by: zachstruck on Sun, 21 Dec 2008 02:54:26 +0000
That fixed it. Thank you.

./configure --without-arts
Comment by: sjakub on Sat, 20 Dec 2008 22:40:08 +0000
Can you try modifying PKGBUILD by adding '--without-arts' to see if it helps? I am using kdelibs3 compiled with arts, so it might be different.
Comment by: zachstruck on Sat, 20 Dec 2008 18:57:59 +0000
I am not able to compile this package successfully due to dependency problems.

checking for mcopidl... not found
configure: error: The important program mcopidl was not found!
Please check whether you installed aRts correctly or use
--without-arts to compile without aRts support (this will remove functionality).

make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed.
Aborting...
Comment by: gcarrier on Fri, 25 Apr 2008 13:03:03 +0000
I don't have the PKGCONFIG problem either, but a friend of mine do. I just guessed...
Comment by: sjakub on Fri, 25 Apr 2008 04:20:57 +0000
Thanks for the fixes gcarrier!

I don't have a problem with pkgconfig, so I
can't really test if it helped, but I guess this change won't brake anything either ;)

As for the stdlib.h problem, it is fixed in 0.0.6 version.
Comment by: gcarrier on Fri, 25 Apr 2008 01:07:04 +0000
xbrunox, before launching compilation:
export PKG_CONFIG_PATH=/usr/lib/pkgconfig/:$PKG_CONFIG_PATH

Then, you have to edit PKGBUILD to add before ./configure:
sed '25s_.*_&\n\#include \<stdlib.h\>_' -i daemon/sys_ibm.cpp

I'd love to maintain this package.
Comment by: xbrunox on Sat, 16 Feb 2008 01:00:01 +0000
It includes that version.
The file content:

refix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
system_bus_default_address=unix:path=/var/run/dbus/system_bus_socket
sysconfdir=/etc
session_bus_services_dir=/usr/share/dbus-1/services

Name: dbus
Description: Free desktop message bus
Version: 1.0.2
Libs: -L${libdir} -ldbus-1
Cflags: -I${includedir}/dbus-1.0 -I${libdir}/dbus-1.0/include
----
Comment by: sjakub on Sat, 16 Feb 2008 00:27:14 +0000
What is inside "/usr/lib/pkgconfig/dbus-1.pc" file?
It should include something like "Version: 1.0.2"
Comment by: xbrunox on Sat, 16 Feb 2008 00:03:47 +0000
When i try to build this package, i get this message:
----
checking for DBUS... configure: error: D-BUS >= 0.90 was not found! D-BUS is required to build kdbus.
make: *** No targets specified and no makefile found. Stop.
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build lapsus package.
----
But dbus is running....
Comment by: sjakub on Fri, 15 Feb 2008 13:20:15 +0000
Yes, this is due to qt 3/4 names change.
I have corrected the PKGBUILD.
Comment by: reaz0n on Fri, 15 Feb 2008 08:43:48 +0000
I just tried to build this on my machine, and I got the following error:

./PKGBUILD: line 18: /etc/profile.d/qt.sh: No such file or directory
Error: Makepkg was unable to build lapsus package.

Upon inspection of /etc/profile.d/* I see that there is now qt3.sh instead of qt.sh. I can only assume that this is because of the qt4/qt3 switch-a-roo.

However, if I modifiy that line in PKGBUILD to /etc/profile.d/qt3.sh it seems to build just fine.
Comment by: sjakub on Wed, 17 Oct 2007 22:20:16 +0000
lapsusd can run without acpid.
If acpid is not present, or not started, it will print an error message, but it will run without it.

When acpid is running, it provides a socket for different programs to connect and receive acpi events. That's the preferred behaviour, because many programs can receive acpi events at the same time.

When there is no acpid running, the program needs to open /proc/acpi/event file, but only one program can open that file at a time. When Lapsusd can't find acpid's socket it will access /proc/acpi/event file directly, making it unavailable for other programs (unless something else opened that file before).

So, acpid is not real dependency, but using it is preferred. Also, even when you have acpid installed, but not running, it is as if you didn't have it at all.
Comment by: pholie on Wed, 17 Oct 2007 21:58:56 +0000
I think that acpid should be dependency because without it, lapsusd won't start.
Comment by: sjakub on Sun, 24 Jun 2007 01:11:27 +0000
Some more fixes.
Comment by: sjakub on Thu, 21 Jun 2007 00:51:41 +0000
0.0.5 version
Comment by: sjakub on Mon, 28 May 2007 00:58:44 +0000
Corrected dbus configuration file, so it treats users in lapsus group properly. I have no idea why it worked and suddenly stopped... maybe some dbus change?
Comment by: sjakub on Sun, 27 May 2007 09:57:10 +0000
0.0.4 release. Lacks some features of svn version though...

v1.6.0