Re: Frecobaldi 2 Mac OS X install guide
Hi Philippe, thanks for your post. Hopefully I can finally install frescobaldi on my computer (10.10.1). Unfortunately, i am getting stuck after I download this link : https://python-poppler-qt4.googlecode.com/files/python-poppler-qt4-0.16.3.tar.gz I double-click to unzip, get the folder... then I don't understand this instruction : In the Terminal you have to go to the folder where it was unzipped (for instance cd Downloads/python-poppler-qt4-0.16.3 ) Is there actually something to do before I run the next two commands : python setup.py build and sudo python setup.py install At this point, if I try to run these commands, it says no such file... Sorry if my question seems dumb, I am obviously not very literate with computers... Thanks! Silvan. -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p168790.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
2014-11-18 12:21 GMT+01:00 signorpantofola signorpantof...@gmail.com: Hi Philippe, thanks for your post. Hopefully I can finally install frescobaldi on my computer (10.10.1). Unfortunately, i am getting stuck after I download this link : https://python-poppler-qt4.googlecode.com/files/python-poppler-qt4-0.16.3.tar.gz [...] You're probably following some old instructions. Please instead use these: https://github.com/wbsoft/frescobaldi/wiki/How-to-install-Frescobaldi-on-Mac-OS-X (available also in French and Italian). Best wishes. Davide ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Hello, There is another way to install Frescobaldi since I wrote this guide (via Macports, for frescobaldi too) if you prefer. In that case, you just have to type: sudo port install frescobaldi Meanwhile, I'll try to explain more precisely what to do in you case: Obviously, the Terminal doesn't find the files you downloaded. So, you have to check where they are on your hard drive and go to that folder using the Terminal. If the folder is in the Download folder, the command to go there is the one I show. If it's on the Desktop, the command would be cd Desktop/python-poppler-qt4-0.16.3 Then the python setup.py command should work fine Hope this helps Philippe Le 18 nov. 2014 à 12:21, signorpantofola signorpantof...@gmail.com a écrit : Hi Philippe, thanks for your post. Hopefully I can finally install frescobaldi on my computer (10.10.1). Unfortunately, i am getting stuck after I download this link : https://python-poppler-qt4.googlecode.com/files/python-poppler-qt4-0.16.3.tar.gz I double-click to unzip, get the folder... then I don't understand this instruction : In the Terminal you have to go to the folder where it was unzipped (for instance cd Downloads/python-poppler-qt4-0.16.3 ) Is there actually something to do before I run the next two commands : python setup.py build and sudo python setup.py install At this point, if I try to run these commands, it says no such file... Sorry if my question seems dumb, I am obviously not very literate with computers... Thanks! Silvan. -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p168790.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Hello Silvan, Trick (dating back from the NeXT era) : in the Terminal, type ‘cd ‘ (with the space) and drag a folder icon from a nearby Finder window on the same line: the path to the folder comes as the text argument to ‘cd’. Enjoy! JM Le 18 nov. 2014 à 13:57:19, Philippe Massart phili...@philmassart.net a écrit : Hello, There is another way to install Frescobaldi since I wrote this guide (via Macports, for frescobaldi too) if you prefer. In that case, you just have to type: sudo port install frescobaldi Meanwhile, I'll try to explain more precisely what to do in you case: Obviously, the Terminal doesn't find the files you downloaded. So, you have to check where they are on your hard drive and go to that folder using the Terminal. If the folder is in the Download folder, the command to go there is the one I show. If it's on the Desktop, the command would be cd Desktop/python-poppler-qt4-0.16.3 Then the python setup.py command should work fine Hope this helps Philippe Le 18 nov. 2014 à 12:21, signorpantofola signorpantof...@gmail.com a écrit : Hi Philippe, thanks for your post. Hopefully I can finally install frescobaldi on my computer (10.10.1). Unfortunately, i am getting stuck after I download this link : https://python-poppler-qt4.googlecode.com/files/python-poppler-qt4-0.16.3.tar.gz I double-click to unzip, get the folder... then I don't understand this instruction : In the Terminal you have to go to the folder where it was unzipped (for instance cd Downloads/python-poppler-qt4-0.16.3 ) Is there actually something to do before I run the next two commands : python setup.py build and sudo python setup.py install At this point, if I try to run these commands, it says no such file... Sorry if my question seems dumb, I am obviously not very literate with computers... Thanks! Silvan. -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p168790.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Hi Philippe, thanks for your post. Hopefully I can finally install frescobaldi on my computer (10.10.1). Unfortunately, i am getting stuck after I download this link : https://python-poppler-qt4.googlecode.com/files/python-poppler-qt4-0.16.3.tar.gz I double-click to unzip, get the folder... then I don't understand this instruction : In the Terminal you have to go to the folder where it was unzipped (for instance cd Downloads/python-poppler-qt4-0.16.3 ) Is there actually something to do before I run the next two commands : python setup.py build and sudo python setup.py install At this point, if I try to run these commands, it says no such file... Sorry if my question seems dumb, I am obviously not very literate with computers... Thanks! Silvan. -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p168789.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Why not install the Frescobaldi.app bundle instead, which is installed like any Mac app? On Nov 18, 2014, at 5:18 AM, signorpantofola signorpantof...@gmail.com wrote: Hi Philippe, thanks for your post. Hopefully I can finally install frescobaldi on my computer (10.10.1). Unfortunately, i am getting stuck after I download this link : https://python-poppler-qt4.googlecode.com/files/python-poppler-qt4-0.16.3.tar.gz I double-click to unzip, get the folder... then I don't understand this instruction : In the Terminal you have to go to the folder where it was unzipped (for instance cd Downloads/python-poppler-qt4-0.16.3 ) Is there actually something to do before I run the next two commands : python setup.py build and sudo python setup.py install At this point, if I try to run these commands, it says no such file... Sorry if my question seems dumb, I am obviously not very literate with computers... Thanks! Silvan. -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p168789.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
2014-11-18 16:34 GMT+01:00 Tim McNamara tim...@bitstream.net: Why not install the Frescobaldi.app bundle instead, which is installed like any Mac app? Indeed, if you don't need the newest features of Frescobaldi at the moment. See the thread starting at http://lists.gnu.org/archive/html/lilypond-user/2014-06/msg00353.html The experimental application bundle is actually very stable. The new Frescobaldi 2.17 will be out at the end of December and a DMG will be officially released. However I'm still interested in the log file of the failed portmidi installation: it might be a problem affecting also other users. (I'm particularly interested in the problem, because although users of the DMG don't need MacPorts, in order to build the application bundle I need to install Frescobaldi's dependencies via MacPorts.) Best wishes. Davide ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
+1 -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p147797.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
On Jun 6, 2013, at 5:35 AM, Andrew Bernard andrew.bern...@gmail.com wrote: Yes, but Mac OS X Darwin does not use apt as far as I know, only Debian and Debian derived systems such as Ubuntu and Mint. As a result of this thread, I have decided the need is there for a macports bundle for frescobaldi, one that includes all the dependencies with no headaches. This seems to be what people want, short of a Mac GUI installed. I'll start in on that project tomorrow. A progress report would be greatly appreciated! Stan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Hi, I've got a bit of experience on frescobaldi builds. I have started doing a .app bundle for Mac, but never succeeded and I am slow because of the low available time for this project. So if you want to continue upon what I have discovered, I'll switch to more technical matter. (I'm CCing this message to lilypond-user, but I think it would be appropriate for the frescobaldi list) For macports, the only package missing before frescobaldi if py-poppler. I have a frozen folder here that works and even results in frescobaldi using the retina display (texts only but it's a great enhancement). I have played with the setup and freeze scripts. cx_freeze now have a bdist_mac target, which would result in a .app bundle. cx_freeze installed from macports is too old to have this target, so I had to modify the port file to get the last version. I'll send it to macports. Just modifying the script setup.py does not create a working .app. cx_freeze must have missed some dependencies, I don't know which ones. Modifying the freeze.py to remove windows specific things does create a folder with apparently everything needed (and even some things not needed). But from there I don't know how to invoke cx_freeze to create a bundle. Jean-Alexis #! python # This script freezes Frescobaldi to a standalone application without # needing to install any dependencies. # # Usage: # C:\Python27\Python freeze.py # # How it works: # It creates, using cx_Freeze, a frescobaldi executable inside the frozen/ # directory, along with all used (manually specified) Python modules. # Then the whole frescobaldi_app directory is copied and the Python scripts # byte-compiled. # Finally, an installer is created using the Inno Setup console-mode compiler. # the Inno Setup console-mode compiler iscc = 'c:\\Program Files\\Inno Setup 5\\ISCC' # where to build the frozen program folder target_dir = 'frozen' # import standard modules and cx_Freeze import imp import os import py_compile import shutil import subprocess import sys from cx_Freeze import Executable, Freezer # access meta-information such as version, etc. from frescobaldi_app import info # find pypm by adding the dir of pygame to sys.path sys.path.append(imp.find_module('pygame')[1]) includes = [ 'sip', 'PyQt4.QtCore', 'PyQt4.QtGui', 'PyQt4.QtWebKit', 'PyQt4.QtNetwork', 'PyQt4.QtSvg', 'PyQt4.QtXml', 'popplerqt4', 'pypm', '__future__', 'bisect', 'contextlib', 'difflib', 'fractions', 'glob', 'json', 'itertools', 'functools', 'optparse', 'os', 'platform', 're', 'sys', 'shutil', 'struct', 'subprocess', 'traceback', 'types', 'unicodedata', 'weakref', 'xml.etree.ElementTree', ] excludes = [ 'frescobaldi_app', # we'll add this one manually ] frescobaldi = Executable( 'frescobaldi', #icon = 'frescobaldi_app/icons/frescobaldi.ico', appendScriptToExe = True, #base = 'Win32GUI', # no console ) f = Freezer( [frescobaldi], includes = includes, excludes = excludes, targetDir = target_dir, copyDependentFiles = True, compress = False, # silent = True, ) f.Freeze() def copy_plugins(name): Copies a folder from the Qt4 plugins directory. path = imp.find_module('PyQt4')[1] # folder = os.path.join(path, 'plugins', name) folder = '/opt/local/share/qt4/plugins' target = os.path.join(target_dir, name) shutil.rmtree(target, ignore_errors = True) shutil.copytree(folder, target) # copy Qt4 imageformat plugins copy_plugins('imageformats') # copy Qt4 iconengine plugins copy_plugins('iconengines') # copy the frescobaldi_app directory subprocess.call([sys.executable, 'setup.py', 'build_py', '--build-lib', target_dir, '--compile']) # make an Inno Setup installer inno_script = b''' [Setup] AppName=Frescobaldi AppVersion={version} AppVerName=Frescobaldi {version} AppPublisher={author} AppPublisherURL={homepage} AppComments={comments} DefaultDirName={{pf}}\\Frescobaldi DefaultGroupName=Frescobaldi UninstallDisplayIcon={{app}}\\frescobaldi.exe Compression=lzma2 SolidCompression=yes SourceDir={target}\\ OutputDir=..\\dist\\ OutputBaseFilename=Frescobaldi Setup {version} SetupIconFile=frescobaldi_app\\icons\\frescobaldi.ico LicenseFile=..\\COPYING WizardImageFile=..\\frescobaldi-wininst.bmp WizardImageStretch=no [Files] Source: *.*; DestDir: {{app}}; Flags: recursesubdirs; [Icons] Name: {{group}}\Frescobaldi; Filename: {{app}}\\frescobaldi.exe; [Tasks] Name: assocly; Description: {{cm:AssocFileExtension,Frescobaldi,.ly}}; [Registry] Root: HKCR; Subkey: LilyPond\\shell\\frescobaldi;\ ValueType: string; ValueName: ; ValueData: Edit with Frescobaldi...;\ Flags: uninsdeletekey Root: HKCR; Subkey: LilyPond\\shell\\frescobaldi\\command;\ ValueType: string; ValueName: ; ValueData: {{app}}\\frescobaldi.exe %1 Tasks: assocly; Root: HKCR; Subkey: LilyPond\\shell;\ ValueType: string; ValueName:
Re: Frecobaldi 2 Mac OS X install guide
Tim McNamara tim...@bitstream.net writes: On May 27, 2013, at 11:48 AM, Paul Morris wrote: flup2 wrote I don't install it like a Unix program. I just expand the archive in the Applications folder. That way, the path to frescobaldi binary looks like: /Applications/frescobaldi/frescobaldi (the first frescobaldi is the folder name, the second one is the binary itself). I've added more explanation of this to the wiki page, along with some other minor edits and typo fixes: https://github.com/wbsoft/frescobaldi/wiki/Frescobaldi-Mac-OS-X-install-guide Installing Frescobaldi remains one of the singularly frustrating interludes of my computing life. I cannot figure out how anyone gets a damned thing done using Linux/BSD with all the asinine dependency issues, even with package managers. sudo apt-get install frescobaldi installs the binary packages. sudo apt-get build-dep frescobaldi installs all required dependencies for compiling yourself. It is rather easy with a package manager to get the dependencies under wrap. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Yes, but Mac OS X Darwin does not use apt as far as I know, only Debian and Debian derived systems such as Ubuntu and Mint. As a result of this thread, I have decided the need is there for a macports bundle for frescobaldi, one that includes all the dependencies with no headaches. This seems to be what people want, short of a Mac GUI installed. I'll start in on that project tomorrow. Andrew On 6/06/13 4:10 PM, David Kastrup wrote: Tim McNamara tim...@bitstream.net writes: Installing Frescobaldi remains one of the singularly frustrating interludes of my computing life. I cannot figure out how anyone gets a damned thing done using Linux/BSD with all the asinine dependency issues, even with package managers. sudo apt-get install frescobaldi installs the binary packages. sudo apt-get build-dep frescobaldi installs all required dependencies for compiling yourself. It is rather easy with a package manager to get the dependencies under wrap. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
On Jun 5, 2013, at 11:59 PM, flup2 wrote: Hello, While reading your error message, it seems that the python version used is the one included in OS X (/Library/Frameworks...), not the one installed by macports (/opt/local...) To be sure that the problem lies there, here are a few steps: sudo port select --set python python27 Another way to force the command to use the macport installed python version, is to run python with its full path. You should then have: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py build sudo /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py install Thank you, that seemed to work much better. During the build process there were deprecation warnings and complaints: [tim ~/Desktop/Downloads/python-poppler-qt4-0.16.3]$ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py build running build running build_ext building 'popplerqt4' extension /opt/local/bin/sip-2.7 -I /opt/local/share/py27-sip -t POPPLER_V0_20_0 -c build/temp.macosx-10.6-x86_64-2.7 -b build/temp.macosx-10.6-x86_64-2.7/poppler-qt4.sbf -I /opt/local/share/py27-sip/PyQt4 -x VendorID -t WS_MACX -x PyQt_NoPrintRangeBug -t Qt_4_8_4 -x Py_v3 -g poppler-qt4.sip sip: Deprecation warning: poppler-qt4.sip:1: %Module version number should be specified using the 'version' argument sip: Deprecation warning: poppler-annotation.sip:378: %GetCode should be used a sub-directive sip: Deprecation warning: poppler-annotation.sip:378: %SetCode should be used a sub-directive creating build/temp.macosx-10.6-x86_64-2.7/build creating build/temp.macosx-10.6-x86_64-2.7/build/temp.macosx-10.6-x86_64-2.7 /usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe -O2 -fwrapv -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/QtCore -I/opt/local/include/QtGui -I/opt/local/include/QtXml -I/opt/local/include/poppler/qt4 -I/opt/local/include/poppler -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c build/temp.macosx-10.6-x86_64-2.7/sippopplerqt4cmodule.cpp -o build/temp.macosx-10.6-x86_64-2.7/build/temp.macosx-10.6-x86_64-2.7/sippopplerqt4cmodule.o cc1plus: warning: command line option -Wstrict-prototypes is valid for C/ObjC but not for C++ I have no idea whether this is significant. The build process seemed to complete and installing seemed to work fine: [tim ~/Desktop/Downloads/python-poppler-qt4-0.16.3]$ sudo /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py install running install running build running build_ext running install_lib copying build/lib.macosx-10.6-x86_64-2.7/popplerqt4.so - /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages running install_egg_info Writing /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/python_poppler_qt4-0.16.3-py2.7.egg-info On launching Frescobaldi it again complains that it cannot load the popplerqt4 module. I'll spend some times chasing this down tomorrow or on the weekend. I suppose this is progress but it's hard to tell. Tim ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
On Jun 6, 2013, at 5:35 AM, Andrew Bernard wrote: Yes, but Mac OS X Darwin does not use apt as far as I know, only Debian and Debian derived systems such as Ubuntu and Mint. As a result of this thread, I have decided the need is there for a macports bundle for frescobaldi, one that includes all the dependencies with no headaches. This seems to be what people want, short of a Mac GUI installed. I'll start in on that project tomorrow. Well, at least the less competent like me would greatly appreciate this! I vaguely recall using apt back in my NetBSD experimentation many years ago. MacPorts seems to be the more commonly used tool for installing Unix/Linux software and does not use apt. The Fink project does use apt and dpkg; I had used Fink for a while years ago and now cannot remember why I switched to MacPorts. As I recall, both create their own file system at the root level (/opt in the case of MacPorts, something else in the case of Fink) rather than writing into /usr/local in order to make removal very simple- just delete the application and the /opt directory and it's gone. BTW, the end result appears very Mac-GUI-like already, except that the Application menu within the app is titled Python instead of Frescobaldi. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Very easy to follow instructions! It took HOURS to download and install, but in the end, it seems to be working and looks stellar. Tim makes a good point that the application name IS titled Python, and it would be the icing on the cake to have it titled Frescobaldi instead. Hopefully this would be a trivial fix. :-) Thank you so much for making this. Note to every else: I have had VERY GOOD SUCCESS using Textmate 2.0 (free) on the Mac for syntax highlighting and invoking the engraver for LilyPond files. It will be nice to have something else to try against it though. --NW On Jun 6, 2013, at 7:26 AM, Tim McNamara tim...@bitstream.net wrote: On Jun 6, 2013, at 5:35 AM, Andrew Bernard wrote: Yes, but Mac OS X Darwin does not use apt as far as I know, only Debian and Debian derived systems such as Ubuntu and Mint. As a result of this thread, I have decided the need is there for a macports bundle for frescobaldi, one that includes all the dependencies with no headaches. This seems to be what people want, short of a Mac GUI installed. I'll start in on that project tomorrow. Well, at least the less competent like me would greatly appreciate this! I vaguely recall using apt back in my NetBSD experimentation many years ago. MacPorts seems to be the more commonly used tool for installing Unix/Linux software and does not use apt. The Fink project does use apt and dpkg; I had used Fink for a while years ago and now cannot remember why I switched to MacPorts. As I recall, both create their own file system at the root level (/opt in the case of MacPorts, something else in the case of Fink) rather than writing into /usr/local in order to make removal very simple- just delete the application and the /opt directory and it's gone. BTW, the end result appears very Mac-GUI-like already, except that the Application menu within the app is titled Python instead of Frescobaldi. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Andrew Bernard wrote As a result of this thread, I have decided the need is there for a macports bundle for frescobaldi, one that includes all the dependencies with no headaches. This seems to be what people want, short of a Mac GUI installed. I'll start in on that project tomorrow. This would be fantastic! Very much needed. Thanks for working on it. -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p146774.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Op 06-06-13 12:35, Andrew Bernard schreef: As a result of this thread, I have decided the need is there for a macports bundle for frescobaldi, one that includes all the dependencies with no headaches. This seems to be what people want, short of a Mac GUI installed. I'll start in on that project tomorrow. That'd be great! Like I wrote earlier: I built such an installer for Windows (because I have Windows on my small laptop, besides Linux) using cx_Freeze. The script is freeze.py. You could look at the setup scripts for other PyQt4 apps that include a Mac OS X installer with all dependencies contained, e.g. by searching GitHub for 'py2app' in code, etc. If you could create build script that builds an installer, it can simply be run to create a Mac OS installer for every release. I'd be happy to have it in the download section then! Thanks for all the efforts! Best wishes, Wilbert (Fresc. dev). -- Wilbert Berendsen http://www.wilbertberendsen.nl/ ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
On May 27, 2013, at 11:48 AM, Paul Morris wrote: flup2 wrote I don't install it like a Unix program. I just expand the archive in the Applications folder. That way, the path to frescobaldi binary looks like: /Applications/frescobaldi/frescobaldi (the first frescobaldi is the folder name, the second one is the binary itself). I've added more explanation of this to the wiki page, along with some other minor edits and typo fixes: https://github.com/wbsoft/frescobaldi/wiki/Frescobaldi-Mac-OS-X-install-guide Installing Frescobaldi remains one of the singularly frustrating interludes of my computing life. I cannot figure out how anyone gets a damned thing done using Linux/BSD with all the asinine dependency issues, even with package managers. Installing any piece of software is a voyage of the damned rather than a simple download and double-click to launch. Despite installing Python, QT4, a bunch of dependencies that don't even make sense, and every other doggone item on the list of things to install and configure, Frescobaldi still cannot connect to Poppler so that I can conveniently see the rendered PDF file. The crux of the matter finally seems to be the unholy alliance that is SIP: [tim ~/Desktop/Downloads/python-poppler-qt4-0.16.3]$ python setup.py build running build running build_ext building 'popplerqt4' extension /Library/Frameworks/Python.framework/Versions/2.7/bin/sip -I /Library/Frameworks/Python.framework/Versions/2.7/share/sip -t POPPLER_V0_20_0 -c build/temp.macosx-10.6-intel-2.7 -b build/temp.macosx-10.6-intel-2.7/poppler-qt4.sbf -I /Library/Frameworks/Python.framework/Versions/2.7/share/sip/PyQt4 -x VendorID -t WS_MACX -x PyQt_NoPrintRangeBug -t Qt_4_8_0 -x Py_v3 -g poppler-qt4.sip sip: Deprecation warning: poppler-qt4.sip:1: %Module version number should be specified using the 'version' argument sip: Unable to find file QtCore/QtCoremod.sip error: command '/Library/Frameworks/Python.framework/Versions/2.7/bin/sip' failed with exit status 1 Anyone got a recommendation to fix this? It would be greatly appreciated. Tim ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Greetings, On 6/06/13 10:13 AM, Tim McNamara wrote: Installing Frescobaldi remains one of the singularly frustrating interludes of my computing life. I cannot figure out how anyone gets a damned thing done using Linux/BSD with all the asinine dependency issues, even with package managers. Installing any piece of software is a voyage of the damned rather than a simple download and double-click to launch. Well, I can sympathise with your frustration, but that's not exactly accurate. Proper Linux distros such as Debian have very sophisticated package management via apt that handle all required dependencies and are at a high stage of maturity. The issue here is that although Mac's are great - I am typing on my dear macbookpro 17 inch, and although they are built on a derivative of BSD UNIX, they lack the package management capabilities of most Linux systems, as they are not conceived of by Apple as full UNIX systems for end users. I have not had any success getting frescobaldi to install using the mac built-in version of python and so on. It appears the only way to make this all work is to use the macports system, as mentioned earlier in this thread. Apart from providing the right versions of the software you require, it does indeed have a dependency system for pretty much all of the items. Despite installing Python, QT4, a bunch of dependencies that don't even make sense, and every other doggone item on the list of things to install and configure, Frescobaldi still cannot connect to Poppler so that I can conveniently see the rendered PDF file. The crux of the matter finally seems to be the unholy alliance that is SIP: [tim ~/Desktop/Downloads/python-poppler-qt4-0.16.3]$ python setup.py build running build running build_ext building 'popplerqt4' extension /Library/Frameworks/Python.framework/Versions/2.7/bin/sip -I /Library/Frameworks/Python.framework/Versions/2.7/share/sip -t POPPLER_V0_20_0 -c build/temp.macosx-10.6-intel-2.7 -b build/temp.macosx-10.6-intel-2.7/poppler-qt4.sbf -I /Library/Frameworks/Python.framework/Versions/2.7/share/sip/PyQt4 -x VendorID -t WS_MACX -x PyQt_NoPrintRangeBug -t Qt_4_8_0 -x Py_v3 -g poppler-qt4.sip sip: Deprecation warning: poppler-qt4.sip:1: %Module version number should be specified using the 'version' argument sip: Unable to find file QtCore/QtCoremod.sip error: command '/Library/Frameworks/Python.framework/Versions/2.7/bin/sip' failed with exit status 1 I mentioned earlier in this thread that my experience was that the instructions are missing the installation of sip. I had to use macports to install sip. I believe this needs to be added to the set of steps. After installing py27-sip, you will be able to proceed I reckon. HTH Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
On Jun 5, 2013, at 7:49 PM, Andrew Bernard andrew.bern...@gmail.com wrote: Greetings, On 6/06/13 10:13 AM, Tim McNamara wrote: Installing Frescobaldi remains one of the singularly frustrating interludes of my computing life. I cannot figure out how anyone gets a damned thing done using Linux/BSD with all the asinine dependency It also doesn't help if you have been a long-time Fink user who briefly tried to set up Frescobaldi using HomeBrew. Starting anew with MacPorts reveals all sorts of flotsam and jetsam to interfere with a normal Frescobaldi installation. My /usr/local file is one big mess! Though Python 2.7 was installed by MacPorts, python --version reports 2.6 so my $PATH is also confused. However, I'm not giving up! Thanks for the SIP reminder, by the way. Stan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
On Jun 5, 2013, at 7:49 PM, Andrew Bernard wrote: Greetings, On 6/06/13 10:13 AM, Tim McNamara wrote: Installing Frescobaldi remains one of the singularly frustrating interludes of my computing life. I cannot figure out how anyone gets a damned thing done using Linux/BSD with all the asinine dependency issues, even with package managers. Installing any piece of software is a voyage of the damned rather than a simple download and double-click to launch. Well, I can sympathise with your frustration, but that's not exactly accurate. Proper Linux distros such as Debian have very sophisticated package management via apt that handle all required dependencies and are at a high stage of maturity. The issue here is that although Mac's are great - I am typing on my dear macbookpro 17 inch, and although they are built on a derivative of BSD UNIX, they lack the package management capabilities of most Linux systems, as they are not conceived of by Apple as full UNIX systems for end users. I have not had any success getting frescobaldi to install using the mac built-in version of python and so on. It appears the only way to make this all work is to use the macports system, as mentioned earlier in this thread. Apart from providing the right versions of the software you require, it does indeed have a dependency system for pretty much all of the items. Yes, I did not mention that I have installed everything I can for this via MacPorts. Only Frescobaldi and python-poppler-qt4-0.16.3 are not installed that way because they are not available through MacPorts. I have followed the incantations step by step. Perhaps I need to sacrifice a goat or something. Trying to compile python-poppler-qt4-0.16.3 (and all previous versions I tried) fails. As you can see from the messages the Mac tries to use the /Library version and not the /opt version of Python, because of course the compiler installed by Apple is going to look in /Library and not in /opt... Despite installing Python, QT4, a bunch of dependencies that don't even make sense, and every other doggone item on the list of things to install and configure, Frescobaldi still cannot connect to Poppler so that I can conveniently see the rendered PDF file. The crux of the matter finally seems to be the unholy alliance that is SIP: [tim ~/Desktop/Downloads/python-poppler-qt4-0.16.3]$ python setup.py build running build running build_ext building 'popplerqt4' extension /Library/Frameworks/Python.framework/Versions/2.7/bin/sip -I /Library/Frameworks/Python.framework/Versions/2.7/share/sip -t POPPLER_V0_20_0 -c build/temp.macosx-10.6-intel-2.7 -b build/temp.macosx-10.6-intel-2.7/poppler-qt4.sbf -I /Library/Frameworks/Python.framework/Versions/2.7/share/sip/PyQt4 -x VendorID -t WS_MACX -x PyQt_NoPrintRangeBug -t Qt_4_8_0 -x Py_v3 -g poppler-qt4.sip sip: Deprecation warning: poppler-qt4.sip:1: %Module version number should be specified using the 'version' argument sip: Unable to find file QtCore/QtCoremod.sip error: command '/Library/Frameworks/Python.framework/Versions/2.7/bin/sip' failed with exit status 1 I mentioned earlier in this thread that my experience was that the instructions are missing the installation of sip. I had to use macports to install sip. I believe this needs to be added to the set of steps. After installing py27-sip, you will be able to proceed I reckon. Unfortunately not. I had already installed this using MacPorts. :-( If I had the skills I would build a Mac installer package for Frescobaldi, but I dunno how. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Hello, While reading your error message, it seems that the python version used is the one included in OS X (/Library/Frameworks...), not the one installed by macports (/opt/local...) To be sure that the problem lies there, here are a few steps: sudo port select --set python python27 Another way to force the command to use the macport installed python version, is to run python with its full path. You should then have: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py build sudo /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py install Philippe -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p146748.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Para los que no sabemos mucho de informática y seguimos los pasos copiano y pegando (copy/paste) creo que hay un pequeño fallo que nos trae de cabeza al instalar python-poppler-qt4-0.16.3. en la dirección completa: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7/setup.py build, creo que hay que eliminar el signo / tras python2.7. /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py build. Tras cambiar esto he podido instalar poppler, pues antes me daba un error. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Op Mon, 27 May 2013 20:29:16 -0700 (PDT) Derek cu...@shmerek.com schreef: Seems to be working now. Thank you very very much to everyone who took the time to detail this process it is greatly appreciated. Great that it works! Best wishes, Wilbert -- Wilbert Berendsen (http://www.wilbertberendsen.nl) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
You definitely need to include the sip install step in the guide. Andrew On 28/05/13 1:42 PM, Paul Morris wrote: Hmmm, I remember running into the No module named sip problem back when I was trying to install the dependencies manually. When I switched to using MacPorts I installed python using it (following the instructions on the Frescobaldi site), which is a step that is not included in Philippe's guide. (Presumably because python is already installed by default on OS X.) So maybe when I installed python in MacPorts it installed sip as well? Or maybe I installed sip? I can't recall. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Normally, the sip step (along with other dependencies) is included in the pyqt install via macports. That's why I did not mention it. Philippe Le 28 mai 2013 à 13:57, Andrew Bernard andrew.bern...@gmail.com a écrit : You definitely need to include the sip install step in the guide. Andrew On 28/05/13 1:42 PM, Paul Morris wrote: ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Philippe, thanks a lot! I've put it on a wiki page, and linked from the frescobaldi website. Op Tue, 14 May 2013 05:10:25 -0700 (PDT) flup2 phili...@philmassart.net schreef: Hello all, Here is a step by step guide to install Frescobaldi on a Mac OS X system. Frescobaldi has some known issues on a mac (see below) but after these steps you should be able to: - use Frescobaldi (of course) - launch Frescobaldi with a double clickable icon - play MIDI * install macports ( http://www.macports.org http://www.macports.org ). Using the Terminal, run these 2 commands to update macport : sudo port -v selfupdate sudo port -v upgrade outdated * Once done, it's time to install the dependencies of frescobaldi (depending to your computer, it may last some hours): sudo port -v install py27-pyqt4 sudo port install poppler +quartz +qt4 * PyQt makes a link between python and qt4, but we need a library to link those with poppler (to have the PDF preview); Frescobali's author developped it. You have to download it here: https://python-poppler-qt4.googlecode.com/files/python-poppler-qt4-0.16.3.tar.gz https://python-poppler-qt4.googlecode.com/files/python-poppler-qt4-0.16.3.tar.gz * double click to unzip. In the Terminal you have to go to the folder where it was unzipped (for instance cd Downloads/python-poppler-qt4-0.16.3 ). * Run these 2 commands. The first one will compile the library, the other one will install is. The second one needs a admin access (password will be asked after the sudo... command) python setup.py build sudo python setup.py install If you have some problems with these 2 steps, I can be necessary to specify the complete python path: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7/setup.py build sudo /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py install * Download Frescobaldi and place it in the Applications folder Creation of a launcher : - * download the software Platypus ( http://sveinbjorn.org/software http://sveinbjorn.org/software and launch it * choose a name in App Name field * choose Shell in the popup Script type * choose None in the popup Output * click Newand paste these lines (change it according to your user name and frescobaldi folder name) : #!/bin/sh cd /Applications/frescobaldi /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 frescobaldi * show Advanced options and uncheck all boxes on the right, except Runs in background * you may choose a custom icon (by drag and drop) * click Create MIDI output - Frescobaldi uses an external synthetizer that must be launched. That synthetizer uses soundfont. If you havn't any, you may use the one included in Musescore. ( http://musescore.org/ http://musescore.org/ ) * in the Terminal, install portmidi and fluidsynth : sudo port -v install portmidi sudo port -v install fluidsynth * download qsynth, a mac graphical interface for fluidsynth ( http://sourceforge.net/projects/qsynth http://sourceforge.net/projects/qsynth) * launch qsynth, click on setup * MIDI tab; choose CoreMidi in the Midi driver popup * Audio tab; choose Coreaudio in the Audio driver popup * under the same tab, set buffer size to 256 and choose Default for Audio device * soundfonts tab, choose a soundfont (the one included in Musescore or any other). * validate; in the MIDI settings of frescobaldi, click refresh MIDI ports, et choose fluidsynth virtual port I hope to have some time to make this easier to read (and, why not, include it to Frescobaldi website) Philippe -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user -- Wilbert Berendsen (http://www.wilbertberendsen.nl) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
This is great, and most appreciated. But there is a section that is not at all clear: Download Frescobaldi and place it in the Applications folder I can only find a source tarball for Frescobaldi and it is not obvious how to place it in the Applications folder, since there is a python setup and install to do. Could you please expand on this critical step? Thanks. Andrew On 27/05/13 6:52 PM, Wilbert Berendsen wrote: Philippe, thanks a lot! I've put it on a wiki page, and linked from the frescobaldi website. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
And.. if I do run the python setup for Frescobaldi after carefully following the github instructions, it installs into /usr/local/bin, but when run we have: Traceback (most recent call last): File /usr/local/bin/frescobaldi, line 3, in module import frescobaldi_app.main File /Library/Python/2.7/site-packages/frescobaldi_app/main.py, line 34, in module from PyQt4.QtCore import QSettings, QTimer, QUrl ImportError: dlopen(/Library/Python/2.7/site-packages/PyQt4/QtCore.so, 2): Library not loaded: QtCore.framework/Versions/4/QtCore Referenced from: /Library/Python/2.7/site-packages/PyQt4/QtCore.so Reason: image not found This on Mac OS X 10.8.3. Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Hello, I don't install it like a Unix program. I juste expand the archive in the Applications folder. That way, the path to frescobaldi binary looks like: /Applications/frescobaldi/frescobaldi (the first frescobaldi is the folder name, the second one is the binary itself). Perhaps it will also solve your pyqt error Philippe -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p146361.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
flup2 wrote I don't install it like a Unix program. I just expand the archive in the Applications folder. That way, the path to frescobaldi binary looks like: /Applications/frescobaldi/frescobaldi (the first frescobaldi is the folder name, the second one is the binary itself). I've added more explanation of this to the wiki page, along with some other minor edits and typo fixes: https://github.com/wbsoft/frescobaldi/wiki/Frescobaldi-Mac-OS-X-install-guide Today I was able to upgrade my frescobaldi to 2.0.10 with the help of this guide. Thanks again Philippe! -Paul P.S. I noticed that the launcher (if you don't set it to output: none) reported the following errors, but everything seems to work just fine anyway. I don't know if this is expected or not. QPainter::begin: Paint device returned engine == 0, type: 3 QPainter::save: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setRenderHint: Painter must be active to set rendering hints snip... QPainter::setOpacity: Painter not active QPainter::restore: Unbalanced save/restore QPainter::end: Painter not active, aborted -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p146372.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
I am still unable to achieve success with the guide. I have: Traceback (most recent call last): File /usr/local/bin/frescobaldi, line 3, in module import frescobaldi_app.main File /Library/Python/2.7/site-packages/frescobaldi_app/main.py, line 34, in module from PyQt4.QtCore import QSettings, QTimer, QUrl ImportError: dlopen(/Library/Python/2.7/site-packages/PyQt4/QtCore.so, 2): Library not loaded: QtCore.framework/Versions/4/QtCore Referenced from: /Library/Python/2.7/site-packages/PyQt4/QtCore.so Reason: image not found My macports is installed in /opt/local. All libraries are under /opt, not /Library. Running Mac OS X 10.8.3, MacPorts 2.1.3. Is this a python setup or configuration issue? The point being, the guide must still be incomplete in some way. Andrew On 28/05/13 2:48 AM, Paul Morris wrote: flup2 wrote I don't install it like a Unix program. I just expand the archive in the Applications folder. That way, the path to frescobaldi binary looks like: /Applications/frescobaldi/frescobaldi (the first frescobaldi is the folder name, the second one is the binary itself). I've added more explanation of this to the wiki page, along with some other minor edits and typo fixes: https://github.com/wbsoft/frescobaldi/wiki/Frescobaldi-Mac-OS-X-install-guide Today I was able to upgrade my frescobaldi to 2.0.10 with the help of this guide. Thanks again Philippe! -Paul ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Having issues here as well. I made a comment on another thread about making a guide idiot proof and was ridiculed for my choice of operating system. Frescobaldi is a fantastic piece of software and would love to be able to use it on my laptop as well instead of having to boot into linux to use it -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p146386.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Aha! A couple of things. I am principally a heavy Linux user, so I have skipped the step to make an installer, preferring to run from the command line. After clearing out a previous manual attempt to install frescobaldi for mac a few months ago, I found this: You need to add python sip to the system: sudo port install py27-sip Next, the frescobaldi executable is a shell script, having the first line: #!/usr/bin/python That's not we what we want and the source of all the 'not found' errors, if you are using macports. Running this works: /opt/local/bin/python frescobaldi Alternatively one could therefore just edit the #! line in the script. This works, having followed all the other instructions on github. HTH Andrew ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Seems to be working now. Thank you very very much to everyone who took the time to detail this process it is greatly appreciated. -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p146388.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Hmmm, I remember running into the No module named sip problem back when I was trying to install the dependencies manually. When I switched to using MacPorts I installed python using it (following the instructions on the Frescobaldi site), which is a step that is not included in Philippe's guide. (Presumably because python is already installed by default on OS X.) So maybe when I installed python in MacPorts it installed sip as well? Or maybe I installed sip? I can't recall. It sounds like an install sip step might be needed in the guide? Maybe someone else can confirm or clarify... FWIW, another gotcha I ran into at one point was making sure I was using the right installation of python, since I ended up with two installations of it. In any case glad Andrew seems to have figured it out. -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p146389.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
On 28 May 2013 13:42, Paul Morris p...@paulwmorris.com wrote: Hmmm, I remember running into the No module named sip problem back when I was trying to install the dependencies manually. When I switched to using MacPorts I installed python using it (following the instructions on the Frescobaldi site), which is a step that is not included in Philippe's guide. (Presumably because python is already installed by default on OS X.) So maybe when I installed python in MacPorts it installed sip as well? Or maybe I installed sip? I can't recall. It sounds like an install sip step might be needed in the guide? Maybe someone else can confirm or clarify... FWIW, another gotcha I ran into at one point was making sure I was using the right installation of python, since I ended up with two installations of it. In any case glad Andrew seems to have figured it out. Sip is required for PyQT, and is covered in detail on the PyQT site: http://www.riverbankcomputing.com/software/pyqt/intro http://www.riverbankcomputing.com/software/sip/intro You have to get it attached to the right version of Python, blah blah blah... Vaughan ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Frecobaldi 2 Mac OS X install guide
Hello all, Here is a step by step guide to install Frescobaldi on a Mac OS X system. Frescobaldi has some known issues on a mac (see below) but after these steps you should be able to: - use Frescobaldi (of course) - launch Frescobaldi with a double clickable icon - play MIDI * install macports ( http://www.macports.org http://www.macports.org ). Using the Terminal, run these 2 commands to update macport : sudo port -v selfupdate sudo port -v upgrade outdated * Once done, it's time to install the dependencies of frescobaldi (depending to your computer, it may last some hours): sudo port -v install py27-pyqt4 sudo port install poppler +quartz +qt4 * PyQt makes a link between python and qt4, but we need a library to link those with poppler (to have the PDF preview); Frescobali's author developped it. You have to download it here: https://python-poppler-qt4.googlecode.com/files/python-poppler-qt4-0.16.3.tar.gz https://python-poppler-qt4.googlecode.com/files/python-poppler-qt4-0.16.3.tar.gz * double click to unzip. In the Terminal you have to go to the folder where it was unzipped (for instance cd Downloads/python-poppler-qt4-0.16.3 ). * Run these 2 commands. The first one will compile the library, the other one will install is. The second one needs a admin access (password will be asked after the sudo... command) python setup.py build sudo python setup.py install If you have some problems with these 2 steps, I can be necessary to specify the complete python path: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7/setup.py build sudo /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py install * Download Frescobaldi and place it in the Applications folder Creation of a launcher : - * download the software Platypus ( http://sveinbjorn.org/software http://sveinbjorn.org/software and launch it * choose a name in App Name field * choose Shell in the popup Script type * choose None in the popup Output * click Newand paste these lines (change it according to your user name and frescobaldi folder name) : #!/bin/sh cd /Applications/frescobaldi /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 frescobaldi * show Advanced options and uncheck all boxes on the right, except Runs in background * you may choose a custom icon (by drag and drop) * click Create MIDI output - Frescobaldi uses an external synthetizer that must be launched. That synthetizer uses soundfont. If you havn't any, you may use the one included in Musescore. ( http://musescore.org/ http://musescore.org/ ) * in the Terminal, install portmidi and fluidsynth : sudo port -v install portmidi sudo port -v install fluidsynth * download qsynth, a mac graphical interface for fluidsynth ( http://sourceforge.net/projects/qsynth http://sourceforge.net/projects/qsynth) * launch qsynth, click on setup * MIDI tab; choose CoreMidi in the Midi driver popup * Audio tab; choose Coreaudio in the Audio driver popup * under the same tab, set buffer size to 256 and choose Default for Audio device * soundfonts tab, choose a soundfont (the one included in Musescore or any other). * validate; in the MIDI settings of frescobaldi, click refresh MIDI ports, et choose fluidsynth virtual port I hope to have some time to make this easier to read (and, why not, include it to Frescobaldi website) Philippe -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
On Tue, May 14, 2013 at 2:10 PM, flup2 phili...@philmassart.net wrote: Here is a step by step guide to install Frescobaldi on a Mac OS X system. Thanks!! I'll check it out tonight. If it works, perhaps I can 'entice' the conductor of our choir to convert to Lilpypond! Christ van Willegen ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
flup2 wrote Here is a step by step guide to install Frescobaldi on a Mac OS X system. snip I hope to have some time to make this easier to read (and, why not, include it to Frescobaldi website) Philippe, Thanks for this guide! It would definitely be good to have it on the Frescobaldi website. I have a question: When *upgrading* to a new version of Frescobaldi, should you do the whole process over again to upgrade all dependencies, or do you just re-install the new version of Frescobaldi? I have seen on the Frescobaldi list that sometimes there is trouble when upgrading dependencies and keeping them all working together. Thanks again, -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p145913.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
The best thing would be: if it works, don't upgrade dependencies. Some QT or PyQT upgrades caused problems some weeks ago, but with Macports, it's always possible to go back to a previous working installed version. For Frescobaldi itself, you only need to upgrade it. Frescobaldi and its dependencies are completely separated for that matter. Philippe -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p145917.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Frecobaldi 2 Mac OS X install guide
Hi there, I followed the instructions properly (I think) but I am running into this error when I try to launch frescobaldi Traceback (most recent call last): File frescobaldi, line 3, in module import frescobaldi_app.main File /Applications/frescobaldi-2.0.10/frescobaldi_app/main.py, line 26, in module import sip ImportError: No module named sip Any ideas? thanks -- View this message in context: http://lilypond.1069038.n5.nabble.com/Frecobaldi-2-Mac-OS-X-install-guide-tp145898p145923.html Sent from the User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user