|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
FreeBSD Port
So, I've started to try to port the server to FreeBSD, so I can run it on my FreeNAS server. Since OSX is BSD based, there are some nice hints along the way.
So far, I have got the Sage.jar to build, but it's not running, because I haven't got all my natives sorted yet. I've run into a problem with the Sage IVTV code. the Sage.jar seems to require it, but I don't know if it really provides value on FreeBSD. There's work to emulate V4L, but I will be using "HDHomerun Connect"s exclusively, so I don't really need it. Therefore, the question to those in the know is: Is my time better spent trying to get the IVTV libs to compile, or to try to modify the java code to decouple the dependency? |
#2
|
||||
|
||||
I wonder if you'd have more success if you ran a Docker container for SageTV on your FreeNAS server?
https://wiki.freebsd.org/Docker
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#3
|
|||
|
|||
Quote:
So my current approach is probably best. As far as I can tell, there isn't a ton of native code for the server portion? So far, it's mostly #ifdef's and Makefile modifications. In the IVTV code, though, there's a bunch of non-portable recursive thread locking that will take some time to figure out. |
#4
|
||||
|
||||
Quote:
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#5
|
|||
|
|||
Running
Well, I managed to cobble enough things together that the service runs on FreeBSD. I ran into some ugly problems with the PVR150/250 support, so just disabled them in my Sage.properties. I won't be using them anyway.
I had an issue with my Placeshifter connecting, but that was actually an issue with a missing native library, which I fixed. So now, I can actually connect to the server, too... W00t! The only major stumbling block I have right now is that the HDHomerun natives exploded all over the place when I tried to build them. Might be a simple issue, like the other things I've run into, but I've spent all the time I have for now. Maybe try again in a day or two. Last edited by ptoal; 10-27-2015 at 12:21 PM. |
#6
|
|||
|
|||
Github Fork
If anyone is interested in following along, you can pull my forked repo, and checkout the FreeBSD branch.
https://github.com/ptoal/sagetv/tree/FreeBSD |
#7
|
|||
|
|||
It's Alive!
Finally got the HDHomeRun2.0 module to compile, and Ho-lee-cow, it seems to be working!
|
#8
|
|||
|
|||
Any Progress?
I would really like to see this work. Any more progress getting Sage to run under FreeNAS? Or even just FreeBSD?
Scott |
#9
|
|||
|
|||
Quote:
Unfortunately, a few of the changes I made were in haste, and really should have been made with more care to integration back into the main SageTV fork. You're the first person that has commented on this in the nearly 5 months since I posted this, so I don't think there's a lot of interest in the FreeBSD port. I basically got things working for myself, and left my forked repo up for anyone to do with as they please. I don't really need any future features, I just needed to get rid of the old machine that was in my basement. Unfortunately, I don't have time to do a lot more than I already have. |
#10
|
|||
|
|||
Wanna comment that this is cool! My FreeNAS box is running two jails already, so once I upgrade the hardware a bit - I will be looking at this!
|
#11
|
|||
|
|||
Ditto, this is a cool port
Once I have fully moved from v7 on WHS to OSS 9 on Linux(using FREENAS as my storage volume) I will then look at this to cut the Linux component out.
So please post any new/interesting problems and solutions. Don't let this thread die. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building for FreeBSD Jail? | ptoal | SageTV Github Development | 0 | 10-22-2015 11:44 AM |
Attempting something different... FreeBSD | madtrader | SageTV Linux | 29 | 11-17-2010 09:42 AM |
SageTV Not Opening Com Port (Using Digi realport multi-port serial adapter) | personalt | Hardware Support | 0 | 06-09-2010 07:02 PM |
EPG Port | srcurtis | SageTV EPG Service | 2 | 05-17-2008 10:50 AM |
Com Port Error | danward79 | Hardware Support | 5 | 11-08-2003 02:28 PM |