support Mac OS X Lion

Bug #814990 reported by matysek
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
High
matysek

Bug Description

At the moment we are not able to support Mac OS X Lion. And if we do, it will be experimental for some time.
Reasons - some libraries and tools are not ported and tested on Lion yet:
 - pyinstaller: It was not tested there yet: http://www.pyinstaller.org/ticket/383
 - Qt4: latest stable qt (4.7.3) does not work (compile errors)
   - we have to wait for 4.7.4 (if even released with lion support) or use 4.8beta
   - we use http://macports.org to install libraries on Mac and qt 4.8beta is not yet available there:
     https://trac.macports.org/ticket/30278

Revision history for this message
matysek (mzibricky) wrote :

Qt 4.7.4 should contain fixes for lion: https://bugreports.qt.nokia.com/browse/QTBUG-20496

Revision history for this message
matysek (mzibricky) wrote :

Another issue is PyQt4. I'm not sure if it has been already tested on lion.

Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :
Changed in openlp:
milestone: none → 1.9.7
status: New → Confirmed
tags: added: support-system
Revision history for this message
matysek (mzibricky) wrote :

Another bug report from pyinstaller, similar to those log files:
http://www.pyinstaller.org/ticket/388

Revision history for this message
matysek (mzibricky) wrote :

I tried compilig pyqt 4.8beta1 with macports several times, but it's still failing. This is the last output I get:

http://pastebin.com/fmqj9pG4

Revision history for this message
matysek (mzibricky) wrote :

Qt 4.8beta must be compiled only as 64bit binary (not universal - 32 and 64 bit).
Qt 4.8beta then compiles fine and PyQt 4.8.3 too.

Phonon 4.4.2 from macports fails to compile:
https://trac.macports.org/ticket/30425

We need to wait for phonon fix or make the phonon import in openlp conditional.

Revision history for this message
wezlo (revwez) wrote :

Yah, I'm getting tons of errors in Lion, that does not make me happy (but is to be expected).

Revision history for this message
matysek (mzibricky) wrote :

I was able to get openlp up and running from source on lion.

The workaround for phonon error was to enable phonon bundled with qt4.8 and not use the default one in macports.

Changed in openlp:
importance: Undecided → High
Changed in openlp:
milestone: 1.9.7 → 1.9.8
Revision history for this message
matysek (mzibricky) wrote :

Macports already contains Qt 4.7.4 which compiles fine on Lion. PyQt4 and Phonon also now compiles fine.
We are now able to get stable development environment for OpenLP on Lion.

Revision history for this message
Matthias Hub (matthiashub) wrote :

That is great, I will be able to build a new test-release the next days, would you be able to test it?

Revision history for this message
wezlo (revwez) wrote : Re: [Bug 814990] Re: support Mac OS X Lion

I'll test it!

On Mon, Sep 19, 2011 at 11:47 AM, Matthias Hub <email address hidden>wrote:

> That is great, I will be able to build a new test-release the next days,
> would you be able to test it?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/814990
>
> Title:
> support Mac OS X Lion
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openlp/+bug/814990/+subscriptions
>

Revision history for this message
matysek (mzibricky) wrote :

I wrote we are able setup environment to run OpenLP from source. I didn't write the Mac OS X build should work.

I can test the build but I expect to be failing with the same issue as previously. Since pyinstaller needs some tweaking.

Changed in openlp:
assignee: nobody → matysek (mzibricky)
Revision history for this message
matysek (mzibricky) wrote :

The issue should be fixed in latest pyinstaller svn version. I create a test mac build for Lion:
http://files.zibricky.org/openlp/OpenLP-1.9.7-bzr1799.dmg

Could anybody please test it?

Revision history for this message
wezlo (revwez) wrote :

Yuppers!

Sent from my iPad

On Nov 17, 2011, at 7:31 PM, matysek <email address hidden> wrote:

> The issue should be fixed in latest pyinstaller svn version. I create a test mac build for Lion:
> http://files.zibricky.org/openlp/OpenLP-1.9.7-bzr1799.dmg
>
> Could anybody please test it?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/814990
>
> Title:
> support Mac OS X Lion
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openlp/+bug/814990/+subscriptions

Revision history for this message
wezlo (revwez) wrote :

Jpegs aren't working again...

On Thu, Nov 17, 2011 at 7:59 PM, Wesley T Allen <email address hidden> wrote:

> Yuppers!
>
> Sent from my iPad
>
> On Nov 17, 2011, at 7:31 PM, matysek <email address hidden> wrote:
>
> > The issue should be fixed in latest pyinstaller svn version. I create a
> test mac build for Lion:
> > http://files.zibricky.org/openlp/OpenLP-1.9.7-bzr1799.dmg
> >
> > Could anybody please test it?
> >
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/814990
> >
> > Title:
> > support Mac OS X Lion
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/openlp/+bug/814990/+subscriptions
>

Revision history for this message
matysek (mzibricky) wrote :

Does it mean that it at least starts for you on Lion?

Please test next build if jpegs are working

http://files.zibricky.org/openlp/OpenLP-1.9.7-bzr1799-2.dmg

Revision history for this message
wezlo (revwez) wrote :

It does, and I will the very next time I'm at my Mac...

On Nov 18, 2011, at 9:59 AM, matysek <email address hidden> wrote:

> Does it mean that it at least starts for you on Lion?
>
> Please test next build if jpegs are working
>
> http://files.zibricky.org/openlp/OpenLP-1.9.7-bzr1799-2.dmg
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/814990
>
> Title:
> support Mac OS X Lion
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openlp/+bug/814990/+subscriptions

Revision history for this message
Jonathan Springer (springermac) wrote :

Tested bzr1799-2 build on Lion and jpegs work.

Revision history for this message
matysek (mzibricky) wrote :

Thats great news. We are able to make fuctional build for latest Mac.

Then this bug could be closed.

Revision history for this message
matysek (mzibricky) wrote :

With latest pyinstaller trunk we are able to create working OpenLP builds for Mac.
Fix for pyinstaller is commited. See: http://www.pyinstaller.org/ticket/388

Changed in openlp:
status: Confirmed → Fix Committed
Revision history for this message
Matthias Hub (matthiashub) wrote :

Great news Martin! BTW Since yesterday evening I have internet at my new home, so I am also able again to do builds. So I just need to use the latest pyinstaller from SVN, do a "make" in to create the dmg and that's it? Or did you need to do any changes on the OpenLP build scripts?

Revision history for this message
matysek (mzibricky) wrote :

You should just grab latest pyinstaller svn and do make.

However, you there some steps the script does not need to handle:
- macdeployqt
- qt_menu.nib - now automatically handled by pyinstaller

Look at my branch where I'll do refactoring of mac build script:

lp:~mzibricky/openlp/mac_build_refactoring

Could you please create a new build?
I would like to test if it works on Lion.

NOTE: mac build might not work on machine with macports. - this is side effect of the pyinstaller fix for Lion. To test it on machine with macports just try temporarily rename dir with macports:

cd /opt
sudo mv local local.save

I'm working on fixing this issue.

Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :

What is the status of this one? Where test builds created? Did they work?

Revision history for this message
matysek (mzibricky) wrote :

Yes, they worked.

I work on improving Mac build script but builds should work without those improvements.

This bug can be set as 'Fix Released' when Mac packager is doing new builds and confirms that it work for him.

Revision history for this message
Matthias Hub (matthiashub) wrote :

Yes, I planned to do an official build for the upcoming release!

Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :

When all needed changes are in trunk (build scripts) and the documentation is updated, then this should be set to fix released. It this the case?

Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :

When all needed changes are in trunk (build scripts) and the documentation is updated, then this should be set to fix released. Is this the case?

Revision history for this message
matysek (mzibricky) wrote :

No. For build script there is another report.

'Fix released' When Matthias releases own testing build which will work on Lion.

Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :

We use "fixed released" when the fix is merged in trunk. So when the mac packager are able to build a working lion build with trunk (including the docs in trunk) then it is "released".

Revision history for this message
Andreas Preikschat (googol-deactivatedaccount) wrote :

(At least that is the way we treat other bugs.)

Changed in openlp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.