![]() |
XBMC openSUSE 11.0 rpms - 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 openSUSE 11.0 rpms (/showthread.php?tid=34542) |
XBMC openSUSE 11.0 rpms - anubisg1 - 2008-07-03 well.. good news for openSUSE users.. XBMC rpms are available on packman repository. Manual Download here: http://packman.links2linux.de/package/XBMC/ have fun. - wattazoum - 2008-07-03 Congratulation for your work :-) . I know you were having problems creating them :-) - dgege - 2008-07-03 Sweet! I won't have to compile them myself nomore. How did you get past the python 2.4 requirement? - anubisg1 - 2008-07-03 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 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] - anubisg1 - 2008-07-03 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 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 - althekiller - 2008-07-04 http://www.pastebin.ca - dgege - 2008-07-04 Damn, I installed it but there's no 64-bit version ![]() - anubisg1 - 2008-07-04 are you sure? http://packman.links2linux.de/download/XBMC/177610/XBMC-0.svn.20080704-0.pm.3.x86_64.rpm Patches are welcomed - Gamester17 - 2008-07-04 http://wiki.xbmc.org/?title=HOW-TO_submit_a_patch http://wiki.xbmc.org/?title=Appendix_D:_Development_Notes Patches are welcomed ![]() - anubisg1 - 2008-07-04 Gamester17 Wrote:http://wiki.xbmc.org/?title=HOW-TO_submit_a_patch 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 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> ![]() [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> ![]() [11:48] <yaloki> indeed [11:56] <anubisg1> 1 minute to go ![]() [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 - anubisg1 - 2008-07-04 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 - dgege - 2008-07-04 It worked ![]() - anubisg1 - 2008-07-04 as i told that dependecie should not exist.. so if you ignore that all works well! we are working to fix it! ![]() - dgege - 2008-07-04 Can't wait. Great job again ![]() - anubisg1 - 2008-07-04 found the lib that give that problem... http://pastebin.com/m2162004f have to understand why this happen also because of that: Code: a |