Kodi Community Forum
XBMC for Linux 2.1 SVN revision 12195 (potential alpha 1) available for testing - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: XBMC for Linux 2.1 SVN revision 12195 (potential alpha 1) available for testing (/showthread.php?tid=32073)

Pages: 1 2 3 4 5 6 7 8 9 10 11


wiimote for latest packages - sh0stak - 2008-05-13

I just upgraded to Hardy and have been trying out the latest available packages and have run into a slight problem. It appears that the old wiimote support is no longer compiled in since there has been a move to EventClients. I really haven't been keeping up with my forum reading lately and I'm a bit lost as to how get my wiimote support back. I'm sure I can figure it out with a few hints or link, but I couldn't find any real straightforward info when searching. If someone could point me in the right direction I would really appreciate it.

thanks


- topfs2 - 2008-05-13

np mate, here's a wiki about the EventServers and EventClients (WiiRemote is the latter) http://wiki.xbmc.org/?title=EventServer

GL, if you have any suggestions for the WiiRemote let me know.
Also, if there's anything unclear about eventserver please let know, then I can try to clearify the wiki. It's quite new inovation so it's not certain all the FAQ are in there yet.


- wattazoum - 2008-05-13

@topfs2 : Should I make the event clients run as a services ? cause if I understood well, one needs to run them to be able to use remote controllers ... So I could install them as services and start them after apt-get install xbmc-eventclients-*


- haffi - 2008-05-13

I think this is a bug , that I found.

http://forum.xbmc.org/showthread.php?p=184671#post184671

not sure where to post it so I link it here.
Since its this release.


- topfs2 - 2008-05-14

wattazoum Wrote:@topfs2 : Should I make the event clients run as a services ? cause if I understood well, one needs to run them to be able to use remote controllers ... So I could install them as services and start them after apt-get install xbmc-eventclients-*

I think that sounds like a perfect idea. Though make sure they don't run as root. And it's probably best not to package ps3d.py as it needs bluez to disable support of HID, which is may cause trouble for other stuff.

haffi Wrote:I think this is a bug , that I found.

http://forum.xbmc.org/showthread.php?p=184671#post184671

not sure where to post it so I link it here.
Since its this release.
I think it's fixed in SVN, there was a fix for playlist and stacked files a while back. So best bet is to try SVN and if it's still present then put some logs up aswell, thx


- wattazoum - 2008-05-14

hello,

I am not able to build the wiiremote event client anymore.
See here the patches that I use to build.
http://bazaar.launchpad.net/~team-xbmc-hardy/xbmc/debian/files

the interesting one for eventclients is : 02_install_eventclients.dpatch
It's in here

I get the following error on compile time (after patching thus using the following command :
Code:
g++ WiiRemote.cpp -lcwiid -DICON_PATH="/usr/share/pixmaps/xbmc/" -o WiiRemote
)
Code:
cd Clients/WiiRemote && g++ WiiRemote.cpp -lcwiid -DICON_PATH="/usr/share/pixmaps/xbmc/" -o WiiRemote
WiiRemote.cpp:36: error: 'usr' was not declared in this scope
WiiRemote.cpp:36: error: 'share' was not declared in this scope
WiiRemote.cpp:36: error: 'pixmaps' was not declared in this scope
WiiRemote.cpp:36: error: 'xbmc' was not declared in this scope
WiiRemote.cpp:36: error: expected primary-expression before '(' token
WiiRemote.cpp:36: error: expected primary-expression before '/' token
WiiRemote.cpp:36: error: 'usr' was not declared in this scope
WiiRemote.cpp:36: error: 'share' was not declared in this scope
WiiRemote.cpp:36: error: 'pixmaps' was not declared in this scope
WiiRemote.cpp:36: error: 'xbmc' was not declared in this scope
WiiRemote.cpp:36: error: expected primary-expression before ')' tokenmake[2]: *** [wiimote] Error 1
The complete build log can be found here :
https://edge.launchpad.net/~team-xbmc-hardy/+archive/+build/608002
Can you help me ?

BTW, I have managed to create a python structure that allows doing
Code:
from xbmc.xbmc.defs import *
But this can't be done by creating a file called xbmc.defs (nor xbmc.defs.py ) . Looking at the makefile in the patch, you can understand what I have done. However, I think this is not well designed . I propose you better use :
Code:
from xbmc.defs import *
And then create a defs.py file into lib/python

PS : I think the patch 01_install_prefix_on_r12958.dpatch can be intergrated to the svn.


- topfs2 - 2008-05-14

I'll check this more in detail when I get home from school but the issue with the WiiRemote is because you need to define a string.
so I guess (can't test now)
Code:
g++ WiiRemote.cpp -lcwiid -DICON_PATH=""/usr/share/pixmaps/xbmc/"" -o WiiRemote
or
Code:
g++ WiiRemote.cpp -lcwiid -DICON_PATH="\"/usr/share/pixmaps/xbmc/\"" -o WiiRemote

If that doesn't work we can do a config.h or something similair to that with the defs.py

BTW, the defs.py sounds better, d4rk suggested that aswell. I'm not very good with python Smile


- wattazoum - 2008-05-14

I have succeeded building with your second proposal :-)

https://edge.launchpad.net/~team-xbmc-hardy/+archive

The packages are not on the PPA at this very moment but they'll appear there quickly.


- topfs2 - 2008-05-14

Looks great, I'll try it as soon as Its on the repo. Have quite a lot in school and will try to commit your changes soon. Thanx alot for your help, it's really apprieciated.


- topfs2 - 2008-05-15

I've checked in your patch along with some minor modifications (which I hope won't disturb).

I also did a branch for the next potential alpha Smile

https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/alpha2.1a2-candidate/

/Topfs2


- wattazoum - 2008-05-15

Thank you, I have looked at the changes you've made. They correct my patch and implement defs.py . So, perfect.

BTW, I didn't tell you cause it isn't disturbing me for the packaging but I think the icon path in wiiremote.cpp is wrong.
Can you also check patch 01_install_prefix to see if it can be integrated before the potential alpha 2 is released ?


Reducing dependencies for the final package... - Duduke - 2008-05-15

For the sake of creating a .deb package that doesn't pull tons of -dev packages, here are the packages I pulled on my HTPC: (I use another PC to compile)

Code:
sudo apt-get install libsdl-image1.2 libsdl-gfx1.2-4 libsdl-mixer1.2 libsdl-sound1.2 libsdl-stretch-0-2 libfribidi0 liblzo1 libfreetype6 libsqlite3-0 libasound2 python-sqlite libglew1.5 libcurl3 gawk libxinerama1 libxrandr2 libxrender1 libmms0 pmount libmad0 libtre4 libogg0 libvorbis0a libmysqlclient15off libhal1 libhal-storage1 libpcre3 libjasper1 libfontconfig1 python2.4



- wattazoum - 2008-05-15

Duduke Wrote:For the sake of creating a .deb package that doesn't pull tons of -dev packages, here are the packages I pulled on my HTPC: (I use another PC to compile)

Code:
sudo apt-get install libsdl-image1.2 libsdl-gfx1.2-4 libsdl-mixer1.2 libsdl-sound1.2 libsdl-stretch-0-2 libfribidi0 liblzo1 libfreetype6 libsqlite3-0 libasound2 python-sqlite libglew1.5 libcurl3 gawk libxinerama1 libxrandr2 libxrender1 libmms0 pmount libmad0 libtre4 libogg0 libvorbis0a libmysqlclient15off libhal1 libhal-storage1 libpcre3 libjasper1 libfontconfig1 python2.4

Hello,
Did you noticed a -dev package that were being required from the xbmc deb package ?
I have already done the cleanup you proposed. But as no one is perfect , it's possible that I have forgotten one of them ...
Find here the debian build settings files (for hardy) : http://bazaar.launchpad.net/~team-xbmc-hardy/xbmc/debian/files
And
more importantly the control file keeps the Build and Runtime dependencies. You can check that no -dev files is pulled by xbmc.

PS : for Gutsy : http://bazaar.launchpad.net/~team-xbmc/xbmc/xbmc-debian-gutsy/files


- Duduke - 2008-05-15

wattazoum Wrote:Hello,
Did you noticed a -dev package that were being required from the xbmc deb package ?
I have already done the cleanup you proposed. But as no one is perfect , it's possible that I have forgotten one of them ...
Find here the debian build settings files (for hardy) : http://bazaar.launchpad.net/~team-xbmc-hardy/xbmc/debian/files
And
more importantly the control file keeps the Build and Runtime dependencies. You can check that no -dev files is pulled by xbmc.

PS : for Gutsy : http://bazaar.launchpad.net/~team-xbmc/xbmc/xbmc-debian-gutsy/files

I examined the control file, looks like you've got everything covered.

Cool.


- topfs2 - 2008-05-16

@wattazoum
I've updated the branch to the latest (13061), this includes your Makefile fixes!

/Topfs2