Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Patch: (Linux) Remove dependence on PulseAudio

  1. #11
    Variable Bitrate
    Join Date
    Jun 2008
    Location
    Seattle, WA
    Posts
    365
    Commercial autoskip is definitely MythTV's killer feature (among its many killer features). 2 OTA, 2 ClearQAM, and 2 HD-PVR with FIOS. I used to PXE boot the bedroom frontend machine, but since I replaced that computer with an ION box, I just boot from the internal hard drive.

  2. #12
    Maximum Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    451
    Thanks for the help on the linux side.
    I'll try to include your changes in the code. Just have to make sure that they'll live happily alongside the windows system as well.

    Thanks again.
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  3. #13
    Variable Bitrate
    Join Date
    Jun 2008
    Location
    Seattle, WA
    Posts
    365
    The changes are to OMLinHal, so it's Linux specific. It won't affect Windows at all.

  4. #14
    Maximum Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    451
    Commited your changes.

    I can't compile the linux part of OM so I can't verify the changes (I'll take your word for it and hope I got all your changes correct).
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  5. #15
    Variable Bitrate
    Join Date
    Jun 2008
    Location
    Seattle, WA
    Posts
    365
    Thanks Borte.

    It won't build for me, because you wrapped the ASound class in the OMLinHal namespace, but almost nothing else in the project is in that namespace. My suggestion would be to add "namespace OMLinHal" to all of the files in the project. Also, I can tell you applied the changes by hand, instead of doing it the easy way running "patch -p0 < patch.txt".

    If you want to test OM on Linux, including building, you can always run Ubuntu from a VirtualBox VM on your Windows machine.

    Thanks!
    -- Kevin

    Edit: You can also apply patches using TortoiseSVN. Right click, and select Apply Patch.
    Last edited by kross; 04-22-2011 at 12:18 AM.

  6. #16
    Maximum Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    451
    Quote Originally Posted by kross View Post
    Thanks Borte.
    No prob, Thanks for helping out!

    Quote Originally Posted by kross View Post
    It won't build for me, because you wrapped the ASound class in the OMLinHal namespace, but almost nothing else in the project is in that namespace. My suggestion would be to add "namespace OMLinHal" to all of the files in the project.
    I just removed the namespace according to you original changes as I wanted to make sure I didn't break anything since I can't compile it to test.

    Quote Originally Posted by kross View Post
    Also, I can tell you applied the changes by hand, instead of doing it the easy way running "patch -p0 < patch.txt".
    Edit: You can also apply patches using TortoiseSVN. Right click, and select Apply Patch.
    I learn something new everyday. Thanks for the info, wasn't aware of that.

    Quote Originally Posted by kross View Post
    If you want to test OM on Linux, including building, you can always run Ubuntu from a VirtualBox VM on your Windows machine.
    Would you be able to guide me trough it? My linux experience is somewhat close to nothing...
    Can I just download Ubuntu and run it out of the box or do I have to do some updates install something etc..
    Last edited by Borte; 04-22-2011 at 04:42 PM. Reason: Update
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

  7. #17
    Variable Bitrate
    Join Date
    Jun 2008
    Location
    Seattle, WA
    Posts
    365
    Sure.

    Go to http://www.virtualbox.org/ and install VirtualBox.
    Go to http://www.ubuntu.com/ and download an Ubuntu .iso disk image.
    Run VirtualBox, and create a new Virtual Machine. Select Linux Ubuntu as the OS type, and use defaults for the rest of the options.
    Click settings, then click Storage, and associate the virtual CD-ROM drive for the VM to the .iso image you downloaded. This will let you boot the VM from the .iso to install Ubuntu into the VM.
    Start the VM, letting it boot from the .iso image. Install Ubuntu onto your VM.
    When it's done installing, you'll need to reboot the VM. Before starting the VM again, make sure you go back into settings, and remove the .iso image, so it doesn't try booting from the .iso image again.

    Now you should have Ubuntu installed in a VM. But when you run it, you'll need to install some development tools. Go to a command prompt (you can also do this from the GUI, but I find command line easier), and install some stuff:

    sudo apt-get install subversion monodevelop

    You'll use subversion to check out the source code into your home folder. This is the command line version of subversion, it doesn't have the nice shell integration like TortoiseSVN. Monodevelop is the development environment, similar to Visual Studio (it can read VS solution and project files).

    I think you'll need some extra library dependencies, as I mentioned in another Linux thread here. libgdiplus and libndesk-dbus-glib1.0-cil-dev are the ones that immediately come to mind. Just apt-get install them, like above.

    This is the bare minimum to get you going. If you run into problems, give me a shout!

    -- Kevin

  8. #18
    Maximum Bitrate Borte's Avatar
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    451
    Thanks for the help!

    I got OM up and running on Ubuntu but I can't get the media player to work, as far as I can tell from the debug OMLinPlayer fails in gstreamer from the Gst.Application.Init line. Is there some other packages I need to load as well?
    The ones I've loaded so far are these: (libgdiplus + libndesk-dbus-glib1.0-cil-dev + libasound2).

    I've created a new thread for OM on linux, could you reply there? You can find it here: http://www.mp3car.com/openmobile/147...on-ubuntu.html
    Failure is not an option...
    __________________________________________________ ______________________________
    The only full multizone / multiscreen cross platform open source Front End -> OpenMobile

Page 2 of 2 FirstFirst 12

Similar Threads

  1. pulseaudio defaults to mute at startup
    By govee in forum LinuxICE
    Replies: 5
    Last Post: 01-04-2010, 11:31 PM
  2. LSX 3.3 - commands language dependence?
    By efun in forum RR Skins
    Replies: 4
    Last Post: 01-02-2009, 04:03 AM
  3. V1.9.1 patch
    By coyote in forum MediaCar
    Replies: 8
    Last Post: 02-23-2007, 05:12 PM
  4. Patch: Linux 2.6.11.6 on Epia
    By rubicon in forum Linux
    Replies: 0
    Last Post: 04-06-2005, 11:25 PM
  5. Patch 1.9.1a
    By coyote in forum MediaCar
    Replies: 2
    Last Post: 03-09-2004, 01:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •