Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

LIRC and MacOS X

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


ctreleaven at cogeco

Mar 27, 2008, 12:10 PM

Post #1 of 10 (4850 views)
Permalink
LIRC and MacOS X

Hi:

I'd like (1) to test LIRC on the Mac (2) but I'm having trouble
building a version of the frontend with Lirc support. The problem is
that MacPorts (3) installed Lirc under /opt/local/ and
osx-packager.pl expects it to be somewhere else.

If I understand src/myth-svn/mythtv/configure correctly (which is
doubtful), it ensures that the Lirc client, libraries and header
files are all present before compiling in Lirc support. How do I
tell it to try /opt/local/ ?


Craig

(1) I'm using a Harmony 880 in my home theatre setup and it doesn't
emulate the Apple Remote very well--usually have to press a button
twice to get the action to take place. Besides, the Apple Remote
doesn't have enough buttons.

(2) There is no direct Lirc support for the IR receiver built-into my
Mac Mini BUT I have confirmed that Lirc can receive commands from the
IR receiver in the HDHomeRun! I can tell the 880 it is controlling
something else (say a DVD player) and then map the buttons to useful
actions in Myth.

(3) http://www.macports.org/

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


scram69 at gmail

Mar 27, 2008, 1:00 PM

Post #2 of 10 (4754 views)
Permalink
Re: LIRC and MacOS X [In reply to]

There is a solution to unleash the full potential of your Harmony
remote on a mac mini-based home theater without Lirc- however it
involves purchasing some 3rd party shareware (Remote Buddy). You
create multiple instances of your 6-button mac remote and map them (I
have 6 x 6 or 36 buttons) to your Harmony remote. It's described
here:
http://funwithcomputers.wordpress.com/2008/03/01/using-the-harmony-880-remote-with-your-macs-built-in-ir-port/

Even without Myth, I think Remote Buddy is well worth it. I use it to
drive iTunes, Firefox, Google Earth, Miro, and more all with my
harmony 550. The kicker is that using Remote Buddy to assign a global
sleep command, the wife and kids only have to press one button on the
remote when they are done - that will turn off the TV, stereo, and put
the mac mini to sleep. I figure the savings on the electricity bill
alone have paid for it...

On Thu, Mar 27, 2008 at 12:10 PM, Craig Treleaven <ctreleaven [at] cogeco> wrote:
> Hi:
>
> I'd like (1) to test LIRC on the Mac (2) but I'm having trouble
> building a version of the frontend with Lirc support. The problem is
> that MacPorts (3) installed Lirc under /opt/local/ and
> osx-packager.pl expects it to be somewhere else.
>
> If I understand src/myth-svn/mythtv/configure correctly (which is
> doubtful), it ensures that the Lirc client, libraries and header
> files are all present before compiling in Lirc support. How do I
> tell it to try /opt/local/ ?
>
>
> Craig
>
> (1) I'm using a Harmony 880 in my home theatre setup and it doesn't
> emulate the Apple Remote very well--usually have to press a button
> twice to get the action to take place. Besides, the Apple Remote
> doesn't have enough buttons.
>
> (2) There is no direct Lirc support for the IR receiver built-into my
> Mac Mini BUT I have confirmed that Lirc can receive commands from the
> IR receiver in the HDHomeRun! I can tell the 880 it is controlling
> something else (say a DVD player) and then map the buttons to useful
> actions in Myth.
>
> (3) http://www.macports.org/
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>



--
________________________
"The Linux of transportation."
http://www.vehicledesignsummit.org/website/
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ctreleaven at cogeco

Mar 27, 2008, 7:09 PM

Post #3 of 10 (4767 views)
Permalink
Re: LIRC and MacOS X [In reply to]

At 1:00 PM -0700 3/27/08, scram69 wrote:
>purchasing some 3rd party shareware (Remote Buddy). You
>create multiple instances of your 6-button mac remote and map them (I
>have 6 x 6 or 36 buttons) to your Harmony remote. It's described
>here:
>http://funwithcomputers.wordpress.com/2008/03/01/using-the-harmony-880-remote-with-your-macs-built-in-ir-port/

Interesting, but pretty convoluted. I'm going to pursue using the HDHomerun's IR receiver via lirc, though.

Craig
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


hondacrxsi at gmail

Mar 27, 2008, 9:07 PM

Post #4 of 10 (4757 views)
Permalink
Re: LIRC and MacOS X [In reply to]

Craig Treleaven wrote:
>
> At 1:00 PM -0700 3/27/08, scram69 wrote:
>>purchasing some 3rd party shareware (Remote Buddy). You
>>create multiple instances of your 6-button mac remote and map them (I
>>have 6 x 6 or 36 buttons) to your Harmony remote. It's described
>>here:
>>http://funwithcomputers.wordpress.com/2008/03/01/using-the-harmony-880-remote-with-your-macs-built-in-ir-port/
>
> Interesting, but pretty convoluted. I'm going to pursue using the
> HDHomerun's IR receiver via lirc, though.
>
> Craig
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>

Wow, I have a HDHR, and I had no idea it has a built in LIRC-compatible IR
receiver that works over the network! Pretty cool.

--
View this message in context: http://www.nabble.com/LIRC-and-MacOS-X-tp16337662s15552p16345484.html
Sent from the mythtv-users mailing list archive at Nabble.com.

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ctreleaven at cogeco

Mar 28, 2008, 4:46 AM

Post #5 of 10 (4759 views)
Permalink
Re: LIRC and MacOS X [In reply to]

At 9:07 PM -0700 3/27/08, Skitals wrote:
>Wow, I have a HDHR, and I had no idea it has a built in LIRC-compatible IR
>receiver that works over the network! Pretty cool.

Instructions for the HDHomerun IR receiver are about half way down the page at:
http://www.silicondust.com/wiki/hdhomerun/instructions/mythtv

Craig
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


samlists at ijacobs

Apr 1, 2008, 6:11 AM

Post #6 of 10 (4733 views)
Permalink
Re: LIRC and MacOS X [In reply to]

Hi,

On Thu, Mar 27, 2008 at 8:10 PM, Craig Treleaven <ctreleaven [at] cogeco> wrote:
> Hi:
>
> I'd like (1) to test LIRC on the Mac (2) but I'm having trouble
> building a version of the frontend with Lirc support. The problem is
> that MacPorts (3) installed Lirc under /opt/local/ and
> osx-packager.pl expects it to be somewhere else.
>
> If I understand src/myth-svn/mythtv/configure correctly (which is
> doubtful), it ensures that the Lirc client, libraries and header
> files are all present before compiling in Lirc support. How do I
> tell it to try /opt/local/ ?
>
>
> Craig

Just thought I should let you know, since you were kind enough to post
in my thread, that last night I managed to build MythFrontend.app with
lirc support! I don't know whether you've had a chance to test your
build, but my build works - so it certainly is possible to make it
work.

Sam

--
Sam Jacobs on MythTV 0.21, UK Freeview, EIT-only EPG
mythbox: BE+FE, Mythbuntu 8.04, Athlon XP2000+@1.6GHz, 512MB RAM,
nVidia GeForce 4MX (proprietary driver)
tuners on mythbox: Nebula DigiTV PCI, Elgato EyeTV for DTT Stick
(Hauppauge Nova-T USB Stick in disguise!)
smbx: FE, Mac OS X 10.5 Leopard, Macbook Intel Core Duo [at] 2, 2GB RAM
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ecronin at gizmolabs

Apr 7, 2008, 3:43 PM

Post #7 of 10 (4678 views)
Permalink
Re: LIRC and MacOS X [In reply to]

On Apr 1, 2008, at 9:11 AM, Sam Jacobs wrote:
> Hi,
>
> On Thu, Mar 27, 2008 at 8:10 PM, Craig Treleaven
> <ctreleaven [at] cogeco> wrote:
>> Hi:
>>
>> I'd like (1) to test LIRC on the Mac (2) but I'm having trouble
>> building a version of the frontend with Lirc support. The problem is
>> that MacPorts (3) installed Lirc under /opt/local/ and
>> osx-packager.pl expects it to be somewhere else.
>>
>> If I understand src/myth-svn/mythtv/configure correctly (which is
>> doubtful), it ensures that the Lirc client, libraries and header
>> files are all present before compiling in Lirc support. How do I
>> tell it to try /opt/local/ ?
>>
>>
>> Craig
>
> Just thought I should let you know, since you were kind enough to post
> in my thread, that last night I managed to build MythFrontend.app with
> lirc support! I don't know whether you've had a chance to test your
> build, but my build works - so it certainly is possible to make it
> work.
>
> Sam


Missed the original post, but the trick to getting the MacPorts
install of LIRC to be seen is to edit osx-packager.pl and add /opt/
local to all the paths it sets up. A diff for a somewhat recent
version of HEAD is below.

Thanks,
Eric


--- /Users/ecronin/osx-packager-HEAD.pl 2008-02-05 15:22:18.000000000
-0500
+++ osx-packager-HEAD.pl 2008-02-05 15:25:48.000000000 -0500
@@ -551,6 +566,8 @@
'mythplugins'
=> [
'--prefix=' . $PREFIX,
+ '--extra-cflags=-I/opt/local/include',
+ '--extra-ldflags=-L/opt/local/lib',
'--enable-opengl',
'--disable-mythbrowser',
'--disable-transcode',
@@ -568,6 +585,8 @@
'mythtv'
=> [
'--prefix=' . $PREFIX,
+ '--extra-cflags=-I/opt/local/include',
+ '--extra-ldflags=-L/opt/local/lib',
# To "cross compile" something for a lesser Mac:
#'--tune=G3',
#'--disable-altivec',
@@ -588,16 +607,16 @@
our $svnpath = dirname $svn;

# Clean the environment
-$ENV{'PATH'} = "$PREFIX/bin:/sw/bin:/bin:/usr/bin:$svnpath";
+$ENV{'PATH'} = "$PREFIX/bin:/opt/local/bin:/bin:/usr/bin:$svnpath";
$ENV{'DYLD_LIBRARY_PATH'} = "$PREFIX/lib";
-$ENV{'LD_LIBRARY_PATH'} = "/usr/local/lib";
+$ENV{'LD_LIBRARY_PATH'} = "/opt/local/lib:/usr/local/lib";
$ENV{'PKG_CONFIG_PATH'} = "$PREFIX/lib/pkgconfig:";
delete $ENV{'CC'};
delete $ENV{'CXX'};
delete $ENV{'CPP'};
delete $ENV{'CXXCPP'};
-$ENV{'CFLAGS'} = $ENV{'CXXFLAGS'} = $ENV{'CPPFLAGS'} = "-I$PREFIX/
include";
-$ENV{'LDFLAGS'} = "-Z -F/System/Library/Frameworks -L/usr/lib -L
$PREFIX/lib";
+$ENV{'CFLAGS'} = $ENV{'CXXFLAGS'} = $ENV{'CPPFLAGS'} = "-I$PREFIX/
include -I/opt/local/include";
+$ENV{'LDFLAGS'} = "-Z -F/System/Library/Frameworks -L/usr/lib -L
$PREFIX/lib -L/opt/local/lib";
$ENV{'PREFIX'} = $PREFIX;

# set up Qt environment
@@ -977,8 +996,8 @@
&Verbose("Running qmake for $comp");
my @qmake_opts = (
'QMAKE_LFLAGS+=-Wl,-search_paths_first',
- 'INCLUDEPATH+="' . $PREFIX . '/include"',
- 'LIBS+=-L/usr/lib -L"' . $PREFIX . '/lib"'
+ 'INCLUDEPATH+="' . $PREFIX . '/include" /opt/local/include',
+ 'LIBS+=-L/usr/lib -L"' . $PREFIX . '/lib" -L/opt/local/lib'
);
&Syscall([ $PREFIX . '/bin/qmake',
'PREFIX=../Resources',

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


rwk at americom

Jun 20, 2008, 4:11 AM

Post #8 of 10 (4426 views)
Permalink
Re: LIRC and MacOS X [In reply to]

Sam,

Would you be so kind as to post your lirc enabled port somewhere it can be
downloaded?

Thanks,
rwk


Sam Jacobs wrote:
>
> Hi,
>
> On Thu, Mar 27, 2008 at 8:10 PM, Craig Treleaven <ctreleaven [at] cogeco>
> wrote:
>> Hi:
>>
>> I'd like (1) to test LIRC on the Mac (2) but I'm having trouble
>> building a version of the frontend with Lirc support. The problem is
>> that MacPorts (3) installed Lirc under /opt/local/ and
>> osx-packager.pl expects it to be somewhere else.
>>
>> If I understand src/myth-svn/mythtv/configure correctly (which is
>> doubtful), it ensures that the Lirc client, libraries and header
>> files are all present before compiling in Lirc support. How do I
>> tell it to try /opt/local/ ?
>>
>>
>> Craig
>
> Just thought I should let you know, since you were kind enough to post
> in my thread, that last night I managed to build MythFrontend.app with
> lirc support! I don't know whether you've had a chance to test your
> build, but my build works - so it certainly is possible to make it
> work.
>
> Sam
>
> --
> Sam Jacobs on MythTV 0.21, UK Freeview, EIT-only EPG
> mythbox: BE+FE, Mythbuntu 8.04, Athlon XP2000+@1.6GHz, 512MB RAM,
> nVidia GeForce 4MX (proprietary driver)
> tuners on mythbox: Nebula DigiTV PCI, Elgato EyeTV for DTT Stick
> (Hauppauge Nova-T USB Stick in disguise!)
> smbx: FE, Mac OS X 10.5 Leopard, Macbook Intel Core Duo [at] 2, 2GB RAM
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>

--
View this message in context: http://www.nabble.com/LIRC-and-MacOS-X-tp16337662s15552p18027491.html
Sent from the mythtv-users mailing list archive at Nabble.com.

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ctreleaven at cogeco

Jun 20, 2008, 7:10 AM

Post #9 of 10 (4407 views)
Permalink
Re: LIRC and MacOS X [In reply to]

At 4:11 AM -0700 6/20/08, rwk wrote:
>Sam,
>
>Would you be so kind as to post your lirc enabled port somewhere it can be
>downloaded?
>
rwk:

I tried to send you an email directly but got a "spam score exceeded" bounce. Seems you have an overly aggressive filter.

I've got a version of .21-fixes with LIRC support enabled (and Apple Remote disabled). However, the last time I tried to upload to Dave Snider's repository (theSniderPad.com), it failed. That was ~2 months ago.

If Sam isn't able to help, ping me and I'll try again.

BTW, the frontend alone is 114 MB. Do you want just the FE or the full suite?

Craig
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


dsnider at thesniderpad

Jun 21, 2008, 6:43 AM

Post #10 of 10 (4393 views)
Permalink
Re: LIRC and MacOS X [In reply to]

Craig Treleaven wrote:
> At 4:11 AM -0700 6/20/08, rwk wrote:
>
>> Sam,
>>
>> Would you be so kind as to post your lirc enabled port somewhere it can be
>> downloaded?
>>
>>
> rwk:
>
> I tried to send you an email directly but got a "spam score exceeded" bounce. Seems you have an overly aggressive filter.
>
> I've got a version of .21-fixes with LIRC support enabled (and Apple Remote disabled). However, the last time I tried to upload to Dave Snider's repository (theSniderPad.com), it failed. That was ~2 months ago.
>
> If Sam isn't able to help, ping me and I'll try again.
>
> BTW, the frontend alone is 114 MB. Do you want just the FE or the full suite?
>
> Craig
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Hi Craig. Did you get an error or something? I did update Remository,
so I wonder if it killed your access. Email me your userid (privately)
and I'll check your access.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.