Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

semi-official OSMC support #8

Open
joolswills opened this issue Sep 10, 2015 · 14 comments
Open

semi-official OSMC support #8

joolswills opened this issue Sep 10, 2015 · 14 comments

Comments

@joolswills
Copy link

I am one of the main RetroPie devs.

I have installed OSMC, and have been adjusting the system a bit for "improved" compatibility.

Still a work in progress, but it should enable you to have to do less work in your helper/installer script.

Things like mapping dependencies like libraspberrypi-dev to rbp-userland-dev-osmc

removing the system sdl2 to replace with ours.

and so on.

@joolswills
Copy link
Author

I see you have started another project - so may not be relevant anymore, but since I wanted to add jessie support (build from source only), it made sense to put in some OSMC workaround too. Cheers.

@mcobit
Copy link
Owner

mcobit commented Sep 10, 2015

Thanks for that. As you already saw, I started another project because changing of dependencies of retropie crashed the osmc installation pretty hard when retropie packages removed system relevant packages for osmc.

I now use a slightly modified retropie image in a chroot to get full functionality. That works pretty well and you can even update it without risking to destroy your system.

Thanks again for your efforts. May I contact you if I have some questions or problems regarding your scripts?

@joolswills
Copy link
Author

Once my changes are done / tested, there shouldn't be any dependency problems - might be worth exploring - saves having a system inside a system. Although the chroot has the advantages of wheezy binaries should work nicely etc.

you can email me if you have questions, and I will help as much as time allows. for actual retropie-setup bugs you can post on the bugtracker - and the forum is useful for configuration help etc.

@mcobit
Copy link
Owner

mcobit commented Sep 10, 2015

That's nice. You can ping me if you are ready. I can test, too and adjust my scripts to switch between kodi and emulationstation.

@joolswills
Copy link
Author

Feel free to test now - things like sdl1 / sdl2 build/install ok now. fixed a few modules up, and emulationstation / retroarch both build and run. There may be emulators still that don't know due to newer gcc or missed dependency issues - i've not tested everything yet.

@mcobit
Copy link
Owner

mcobit commented Sep 11, 2015

You used a raspberry pi 2, right? That uses mainline debian instead of raspbian.

@joolswills
Copy link
Author

I use an emulated chroot dev environment - but I have also tested building various stuff on OSMC on a rpi2 - the dependencies are basically the same anyway between raspbian jessie / mainline debian jessie

@joolswills
Copy link
Author

if you haven't tested yet might be worth holding on - just changing the sdl2 packages so they satisfy jessie dependencies - otherwise it's not possible to apt-get install stella and have our sdl2 installed.

@mcobit
Copy link
Owner

mcobit commented Sep 11, 2015

Ok. I did not test as ny freetime is limited right now anyway.
I think I also didn't find a tslib package in jessie.

Another problem is that when I want to switch between Kodi and emulationstation, I will always have to ship a custom version of the emulationstation script as yours restarts if es is shut down. I think for now the chroot is a more complete and safer solution but of course it will be great to have it working alongside without hassle. It would also safe a lot of diskspace because there is no need for dual libraries, binaries etc.

@joolswills
Copy link
Author

sdl1/2 doesn't need libts and works fine without.

the restart es is minor - you can always launch it directly without launching via the script. I may add a config within retropie for the restart behaviour also.

But if you prefer to work with a chroot install, then that's also fine.

@mcobit
Copy link
Owner

mcobit commented Sep 11, 2015

Well, I also do other stuff in that script, like for some installations on a nfs share it needs the locale of the share to be created... But that is a really rare case.
Did I invite you to read the forum topic already?
https://discourse.osmc.tv/t/howto-retrosmc-retrogaming-on-osmc/6671

@joolswills
Copy link
Author

Everything builds now except xroar, due to OSMC lacking /opt/vc/src (libraspberrypi-doc) - which I can fix by shipping those files separately.

@joolswills
Copy link
Author

xroar is now fixed, so all the components should now build correctly.

@mcobit
Copy link
Owner

mcobit commented Sep 15, 2015

Thanks.
Will try to build from source now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants