XBMC openSUSE 11.0 rpms
#1
well.. good news for openSUSE users..

XBMC rpms are available on packman repository.

Manual Download here:

http://packman.links2linux.de/package/XBMC/

have fun.
Reply
#2
Congratulation for your work :-) . I know you were having problems creating them :-)
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image

Want a clean no-ads paste bin? http://pastebin.ubuntu.com/
Reply
#3
Sweet! I won't have to compile them myself nomore. How did you get past the python 2.4 requirement?
Reply
#4
wattazoum Wrote:Congratulation for your work :-) . I know you were having problems creating them :-)

well not so many in truth... code is really well made.. the only real change i beleive should do are about 64bit libdir

dgege Wrote:Sweet! I won't have to compile them myself nomore. How did you get past the python 2.4 requirement?

python 2.4? why i should use that one is old.. openSUSE 11.0 (and 10.3 too) use python 2.5

Code:
anubis@HP-Linux:~> rpm -qa python
python-2.5.2-26.1

about python dependecies "in general" i can use "pyrequires" macro on spec file:

Code:
%{py_requires}

and bye the way, the only python stuff used to build it are

python-devel and python-sqlite2

and, anyway.. i hope spec file t be usefull

[code]# norootforbuild

Name: XBMC
Summary: XBMC is a free Media Center
Version: 0.svn.20080704
Release: 0.pm.3
License: GPL
Group: System/X11/Utilities
URL: http://xbmc.org/
Source0: XBMC.tar.bz2
Patch0: XBMC-destdir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: make autoconf automake gcc gcc-c++ boost-devel
BuildRequires: python-devel python-sqlite2 dbus-1-devel
BuildRequires: unzip zip
BuildRequires: Mesa-devel
BuildRequires: SDL-devel
BuildRequires: SDL_image-devel
BuildRequires: SDL_mixer-devel
BuildRequires: audiofile-devel
BuildRequires: dbus-1-devel
BuildRequires: fontconfig-devel
BuildRequires: freetype2-devel
BuildRequires: fribidi-devel
BuildRequires: glibc-devel
BuildRequires: hal-devel
BuildRequires: glew-devel
BuildRequires: alsa-devel
BuildRequires: libbz2-devel
BuildRequires: libexpat-devel
BuildRequires: libstdc++-devel
BuildRequires: glib2-devel
BuildRequires: libjasper-devel
BuildRequires: libjpeg-devel
BuildRequires: mad-devel
BuildRequires: libmikmod-devel
BuildRequires: libmms-devel
BuildRequires: libmysqlclient-devel
BuildRequires: libogg-devel
BuildRequires: libopenssl-devel
BuildRequires: libpng-devel
BuildRequires: sqlite3-devel
BuildRequires: libstdc++-devel
BuildRequires: libtre-devel
BuildRequires: e2fsprogs-devel
BuildRequires: libvorbis-devel
BuildRequires: lzo-devel
BuildRequires: pcre-devel
BuildRequires: xorg-x11-libICE-devel
BuildRequires: xorg-x11-libSM-devel
BuildRequires: xorg-x11-libX11-devel
BuildRequires: xorg-x11-libXau-devel
BuildRequires: xorg-x11-libXext-devel
BuildRequires: xorg-x11-libXmu-devel
BuildRequires: xorg-x11-libXrender-devel
BuildRequires: xorg-x11-libXt-devel
BuildRequires: xorg-x11-devel
BuildRequires: xorg-x11-libxcb-devel
BuildRequires: zlib-devel
%{py_requires}

%description
XBMC media center is a free cross-platform media-player
jukebox and entertainment hub. XBMC is open source (GPL)
software available for Linux, Mac OS X, Microsoft Windows
operating-system, and the Xbox game-console. XBMC can
play a very complete spectrum of of multimedia formats,
and featuring playlist, audio visualizations, slideshow,
and weather forecast functions, together with a multitude
of third-party plugins. Originally developed as XBMP
(XBox Media Player) for the first-generation Xbox game
console in 2002, XBMC has eventually become a complete
graphical user interface replacement for the original Xbox
Dashboard, and it is currently also being ported to run
natively under Linux, Mac OS X, and Microsoft Window
operating-system. This, The XBMC Project is also known
as "XBMC Media Center" or simply "XBMC").


%debug_package
%prep
%setup -q -n XBMC
%patch0 -p1
#%ifarch x86_64
#CFLAGS="-I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include"
#export CFLAGS
#%endif
%configure \
--enable-halmount \
--enable-profiling \
--disable-debug

%build
%ifarch x86_64
CFLAGS="-I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include" make
%else
%__make %{?jobs:-j%{jobs}}
%endif

%install
%makeinstall

%clean
rm -fr %buildroot

%files
%defattr(-,root,root)
%doc %{_datadir}/xbmc/copying.txt
%doc %{_datadir}/xbmc/keymapping.txt
%doc %{_datadir}/xbmc/LICENSE.GPL
%doc %{_datadir}/xbmc/README.linux
%{_bindir}/xbmc
%{_datadir}/xbmc/xbmc.bin
%{_datadir}/xbmc/xbmc-xrandr
%dir %{_datadir}/xbmc/
%dir %{_datadir}/xbmc/language
%dir %{_datadir}/xbmc/media
%dir %{_datadir}/xbmc/screensavers
%dir %{_datadir}/xbmc/scripts
%dir %{_datadir}/xbmc/skin
%dir %{_datadir}/xbmc/sounds
%dir %{_datadir}/xbmc/system
%dir %{_datadir}/xbmc/userdata
%dir %{_datadir}/xbmc/visualisations
%{_datadir}/xbmc/language/*
%{_datadir}/xbmc/media/*
%{_datadir}/xbmc/screensavers/*
%{_datadir}/xbmc/scripts/*
%{_datadir}/xbmc/skin/*
%{_datadir}/xbmc/sounds/*
%{_datadir}/xbmc/system/*
%{_datadir}/xbmc/userdata/*
%{_datadir}/xbmc/visualisations/*

%changelog
* Thu Jul 03 2008 Andrea Florio - [email protected]
- First spec making
- Fixed 64bit missing headers[code]
Reply
#5
wattazoum Wrote:Congratulation for your work :-) . I know you were having problems creating them :-)

well not so many in truth... code is really well made.. the only real change i beleive should do are about 64bit libdir

dgege Wrote:Sweet! I won't have to compile them myself nomore. How did you get past the python 2.4 requirement?

python 2.4? why i should use that one is old.. openSUSE 11.0 (and 10.3 too) use python 2.5

Code:
anubis@HP-Linux:~> rpm -qa python
python-2.5.2-26.1

about python dependecies "in general" i can use "pyrequires" macro on spec file:

Code:
%{py_requires}

and bye the way, the only python stuff used to build it are

python-devel and python-sqlite2

and, anyway.. i hope spec file t be usefull

Code:
# norootforbuild

Name: XBMC
Summary: XBMC is a free Media Center
Version: 0.svn.20080704
Release: 0.pm.3
License: GPL
Group: System/X11/Utilities
URL: http://xbmc.org/
Source0: XBMC.tar.bz2
Patch0: XBMC-destdir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: make autoconf automake gcc gcc-c++ boost-devel
BuildRequires: python-devel python-sqlite2 dbus-1-devel
BuildRequires: unzip zip
BuildRequires: Mesa-devel
BuildRequires: SDL-devel
BuildRequires: SDL_image-devel
BuildRequires: SDL_mixer-devel
BuildRequires: audiofile-devel
BuildRequires: dbus-1-devel
BuildRequires: fontconfig-devel
BuildRequires: freetype2-devel
BuildRequires: fribidi-devel
BuildRequires: glibc-devel
BuildRequires: hal-devel
BuildRequires: glew-devel
BuildRequires: alsa-devel
BuildRequires: libbz2-devel
BuildRequires: libexpat-devel
BuildRequires: libstdc++-devel
BuildRequires: glib2-devel
BuildRequires: libjasper-devel
BuildRequires: libjpeg-devel
BuildRequires: mad-devel
BuildRequires: libmikmod-devel
BuildRequires: libmms-devel
BuildRequires: libmysqlclient-devel
BuildRequires: libogg-devel
BuildRequires: libopenssl-devel
BuildRequires: libpng-devel
BuildRequires: sqlite3-devel
BuildRequires: libstdc++-devel
BuildRequires: libtre-devel
BuildRequires: e2fsprogs-devel
BuildRequires: libvorbis-devel
BuildRequires: lzo-devel
BuildRequires: pcre-devel
BuildRequires: xorg-x11-libICE-devel
BuildRequires: xorg-x11-libSM-devel
BuildRequires: xorg-x11-libX11-devel
BuildRequires: xorg-x11-libXau-devel
BuildRequires: xorg-x11-libXext-devel
BuildRequires: xorg-x11-libXmu-devel
BuildRequires: xorg-x11-libXrender-devel
BuildRequires: xorg-x11-libXt-devel
BuildRequires: xorg-x11-devel
BuildRequires: xorg-x11-libxcb-devel
BuildRequires: zlib-devel
%{py_requires}

%description
XBMC media center is a free cross-platform media-player
jukebox and entertainment hub. XBMC is open source (GPL)
software available for Linux, Mac OS X, Microsoft Windows
operating-system, and the Xbox game-console. XBMC can
play a very complete spectrum of of multimedia formats,
and featuring playlist, audio visualizations, slideshow,
and weather forecast functions, together with a multitude
of third-party plugins. Originally developed as XBMP
(XBox Media Player) for the first-generation Xbox game
console in 2002, XBMC has eventually become a complete
graphical user interface replacement for the original Xbox
Dashboard, and it is currently also being ported to run
natively under Linux, Mac OS X, and Microsoft Window
operating-system. This, The XBMC Project is also known
as "XBMC Media Center" or simply "XBMC").


%debug_package
%prep
%setup -q -n XBMC
%patch0 -p1
#%ifarch x86_64
#CFLAGS="-I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include"
#export CFLAGS
#%endif
%configure \
    --enable-halmount \
    --enable-profiling \
    --disable-debug

%build
%ifarch x86_64
CFLAGS="-I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include" make
%else
%__make %{?jobs:-j%{jobs}}
%endif

%install
%makeinstall

%clean
rm -fr %buildroot

%files
%defattr(-,root,root)
%doc %{_datadir}/xbmc/copying.txt
%doc %{_datadir}/xbmc/keymapping.txt
%doc %{_datadir}/xbmc/LICENSE.GPL
%doc %{_datadir}/xbmc/README.linux
%{_bindir}/xbmc
%{_datadir}/xbmc/xbmc.bin
%{_datadir}/xbmc/xbmc-xrandr
%dir %{_datadir}/xbmc/
%dir %{_datadir}/xbmc/language
%dir %{_datadir}/xbmc/media
%dir %{_datadir}/xbmc/screensavers
%dir %{_datadir}/xbmc/scripts
%dir %{_datadir}/xbmc/skin
%dir %{_datadir}/xbmc/sounds
%dir %{_datadir}/xbmc/system
%dir %{_datadir}/xbmc/userdata
%dir %{_datadir}/xbmc/visualisations
%{_datadir}/xbmc/language/*
%{_datadir}/xbmc/media/*
%{_datadir}/xbmc/screensavers/*
%{_datadir}/xbmc/scripts/*
%{_datadir}/xbmc/skin/*
%{_datadir}/xbmc/sounds/*
%{_datadir}/xbmc/system/*
%{_datadir}/xbmc/userdata/*
%{_datadir}/xbmc/visualisations/*

%changelog
* Thu Jul 03 2008 Andrea Florio - [email protected]
- First spec making
- Fixed 64bit missing headers
Reply
#6
http://www.pastebin.ca
Reply
#7
Damn, I installed it but there's no 64-bit version Sad So I can't run it.
Reply
#8
are you sure?


http://packman.links2linux.de/download/X...x86_64.rpm
Reply
#9
Wink 
http://wiki.xbmc.org/?title=HOW-TO_submit_a_patch
http://wiki.xbmc.org/?title=Appendix_D:_...ment_Notes

Patches are welcomed Wink
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#10
Gamester17 Wrote:http://wiki.xbmc.org/?title=HOW-TO_submit_a_patch
http://wiki.xbmc.org/?title=Appendix_D:_...ment_Notes

Patches are welcomed Wink

http://forum.xbmc.org/showthread.php?tid=34516

btw i'm still having some problems with x86_64...

infact even if spec file is the same and all looks ok rpm continue to autodetect a lib not needed (or better not existing)

libjasper-1.701.so.1()(64bit)

the strange thing is that only x86_64 give that problem i586 not..

infact:

Code:
objdump -p /usr/lib64/libjasper.so.1 | grep SONAME
SONAME     libjasper.so.1

objdump -p /usr/lib64/libjasper-1.701.so.1 | grep SONAME
SONAME     libjasper.so.1

that's why libjasper-1.701.so.1 --> libjasper.so.1

i hope that quote to be usefull (anyway, untill that problem isn't fixed x86_64 could install rpm ignoring libjasper-1.701.so.1()(64bit) missing dependencie, the program works without problem, we are still working to find where the problem is, if on a wrong libjasper packaging or on a "rpm" bug (and i don't think so). https://bugzilla.novell.com/show_bug.cgi?id=406462

[quote][11:36] <anubisg1> https://bugzilla.novell.com/show_bug.cgi?id=406462 ¬¬
[11:37] <yaloki> anubisg1: I don't understand what you wrote
[11:37] <anubisg1> ??.. lol ??
[11:37] <anubisg1> well
[11:38] <yaloki> anubisg1: the 64bit libjasper package doesn't have libjasper-1.701.so.1 ?
[11:38] <anubisg1> indeed.. not do it
[11:38] <anubisg1> or better
[11:38] <anubisg1> do not provide
[11:38] <anubisg1> libjasper.1.701.so.1()(64bit)
[11:38] <yaloki> if it's in the file list, then it's provided
[11:39] <anubisg1> if you are on 64 bit try to install XBMC
[11:39] <anubisg1> you will be not able due to missing dependencie : libjasper.1.701.so.1()(64bit)
[11:40] <yaloki> yeah
[11:40] <yaloki> I suppose you have libjasper installed
[11:40] <anubisg1> of course i have it
[11:41] <yaloki> objdump -P /usr/lib64/libjasper.so.1 | grep SONAME
[11:41] <anubisg1> let me boot 64bit computer 1 minute
[11:42] <yaloki> ok
[11:43] <yaloki> I think it's correct that there is no Provides for that
[11:43] <yaloki> because it's just a symlink: libjasper-1.701.so.1 -> libjasper.so.1
[11:43] <yaloki> but the SONAME of the library should be libjasper.so.1 and not libjasper-1.701.so.1
[11:43] <anubisg1> btw.. -P invelid option
[11:44] <yaloki> objdump -p /usr/lib64/libjasper.so.1 | grep SONAME
[11:44] <yaloki> sorry, -p not -P
[11:44] <anubisg1> inddeed
[11:44] <anubisg1> Wink
[11:44] <anubisg1> SONAME libjasper.so.1
[11:44] <yaloki> see
[11:44] <yaloki> that doesn't make sense...
[11:44] <yaloki> the Requires in XBMC is wrong, but I don't understand why
[11:45] <anubisg1> don't tell me... the nice thing is that libjasper.1.701.so.1 is only needed bye 64bit version
[11:45] <yaloki> anubisg1: are there a lot of binaries in the XBMC package? could you try to use ldd to find out which binary needs it ?
[11:45] <anubisg1> only 2
[11:45] <yaloki> try running ldd on them to see what they really require
[11:46] <anubisg1> downloading now
[11:46] <yaloki> I've just had a look at the spec file for jasper and it's all OK, nothing special
[11:47] <anubisg1> check XBMC one.. but i think nothig special neither there
[11:47] <yaloki> I can't, no 11.0 here
[11:47] <anubisg1> ok
[11:47] <yaloki> ah the spec
[11:47] <anubisg1> Wink
[11:48] <yaloki> indeed
[11:56] <anubisg1> 1 minute to go Wink
[12:03] <anubisg1> yaloki : installing dependencies.. 1 moment i'll post here pastebin link
[12:08] <anubisg1> yaloki : http://pastebin.com/mc9b3bdd
[12:09] <yaloki> anubisg1: just an ldd, not ldd2rpm
[12:09] <anubisg1> ok
[12:11] <anubisg1> yaloki : http://pastebin.com/m2fc031bc
[12:11] <yaloki> thought so
[12:12] <yaloki> anubisg1: see, there's no reference to libjasper-1....
[12:12] <yaloki> weird
[12:12] <yaloki> anubisg1: please also pastebin rpm -qp --requires XBMC...
[12:12] <anubisg1> ok
[12:14] <anubisg1> yaloki : http://pastebin.com/m1cc3fb40
[12:17] <anubisg1> hi }-Tux-{
[12:17] <anubisg1> yaloki : have you seen ?
[12:21] <yaloki> anubisg1: yeah, I don't understand
[12:21] <yaloki> but I have to run now, later!
[12:21] <anubisg1> yaloki : the strange thing is that ONLY x86_64 package require libjasper-1.701.so.
[12:22] <anubisg1> i586 what only libjasper.so.1
[12:22] <anubisg1> me too bye
Reply
#11
can you confirm the only binaries are xbmc.bin and xbmc-xrandr?

we are working on it, and if other binaries exist could be usefull to know

thanks
Reply
#12
It worked Smile I had to force the installation like you said, but it worked! Thanks a bunch.
Reply
#13
as i told that dependecie should not exist.. so if you ignore that all works well!

we are working to fix it! Wink
Reply
#14
Can't wait. Great job again Smile
Reply
#15
found the lib that give that problem...

http://pastebin.com/m2162004f

have to understand why this happen

also because of that:

Code:
a
anubis@linux-wm6m:~> cd /usr/lib64
anubis@linux-wm6m:/usr/lib64> ls -l | grep jasper
lrwxrwxrwx  1 root root       18  4 lug 11:19 libjasper-1.701.so.1 -> libjasper.so.1.0.0
-rw-r--r--  1 root root      802  7 giu 02:54 libjasper.la
lrwxrwxrwx  1 root root       18  4 lug 11:20 libjasper.so -> libjasper.so.1.0.0
lrwxrwxrwx  1 root root       18  4 lug 11:19 libjasper.so.1 -> libjasper.so.1.0.0
-rwxr-xr-x  1 root root   344856  7 giu 02:54 libjasper.so.1.0.0

anubis@linux-wm6m:~> rpm -qf /usr/lib64/libjasper-1.701.so.1
libjasper-1.900.1-98.1
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC openSUSE 11.0 rpms1