|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
packaging inkscape aqua
Hello friends,
I happened to find the inscructions for building an Mac OS X .app package. So I tried to use the osx-app.sh script to build an incscape aqua app in order to share it, but ended up with a message as follows: Directory does not appear to contain the i386 and ppc python modules So I tried to run the script with the -py option, but cannot find out for which python components I do have to look. Nor do I know whether I do have enough python installed; a "sudo port installed" shows: py26-libxml2 @2.6.21_0 (active) python26 @2.6.2_4+darwin (active) I guess the python26 thing is it - but how will the script find the necessary components? Some hints would be appreciated (-; Greetings, Wolf ++++++++++++++++++++++++++++++++++++++++++++++++++++ + Wolf Drechsel + Köhnstr. 54 + D - 90478 Nürnberg + Tel.: 0911 / 4 71 98 49 ++++++++++++++++++++++++++++++++++++++++++++++++++++ ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Inkscape-devel mailing list Inkscape-devel@... https://lists.sourceforge.net/lists/listinfo/inkscape-devel |
|
|
Re: packaging inkscape aquaOn 15/10/09 18:05, Wolf Drechsel wrote:
> I happened to find the inscructions for building an Mac OS X .app > package. So I tried to use the osx-app.sh script to build an incscape > aqua app in order to share it, but ended up with a message as follows: > > /Directory does not appear to contain the i386 and ppc python modules/ > > So I tried to run the script with the -py option, but cannot find out > for which python components I do have to look. Nor do I know whether I > do have enough python installed; a "sudo port installed" shows: > > /py26-libxml2 @2.6.21_0 (active)/ > /python26 @2.6.2_4+darwin (active)/ > > I guess the python26 thing is it - but how will the script find the > necessary components? > > Some hints would be appreciated (-; Note 1: I don't know about particularities on Tiger or regarding the Aqua build, I only have limited experience with building the (intel) X11-based Inkscape.app from SVN. steps to include precompiled python modules into the app bundle: 1) download the prebuilt Python packages from <http://inkscape.modevia.com/macosx-snap/Python-packages.dmg> (as mentioned on both wiki pages <http://wiki.inkscape.org/wiki/index.php/CompilingMacOsX#Pre-compiling_the_Python_modules>, <http://wiki.inkscape.org/wiki/index.php/GettingEffectsWorking#on_Mac_OS_X>) 2) unpack them somewhere near your Inkscape source tree 3) call osx-app.sh similar to this: './osx-app.sh -py /your_path_to_the_unpacked_/Python-packages' Note 2: 'Python-packages.dmg' doesn't contain the most recent versions of the included modules lxml and numpy, but it works for me with Inkscape 0.46-2 and 0.47pre* and SVN builds. If it doesn't include modules that match your installed Python version and arch (intel or ppc), you'll need to pre-compile the Python modules yourself as described on the wiki page 'CompilingMacOsX' Note 3: If you didn't install the MacPorts tree into a path with more then 50 characters you will see an error message at the end of running osx-app.sh and need to change the launch script accordingly. More info in earlier messages on this list <http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/31153/focus=31307> and in bug #392693 <https://bugs.launchpad.net/inkscape/+bug/392693>) hth, ~suv (tip: did you try './osx-app.sh --help'? And reading it ('open -a textedit osx-app.sh') provides more info in its comments - it's just a shell script) ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Inkscape-devel mailing list Inkscape-devel@... https://lists.sourceforge.net/lists/listinfo/inkscape-devel |
|
|
Re: packaging inkscape aquaOn 17/10/09 02:04, ~suv wrote:
> On 15/10/09 18:05, Wolf Drechsel wrote: >> So I tried to run the script with the -py option, but cannot find out >> for which python components I do have to look. Nor do I know whether I >> do have enough python installed; a "sudo port installed" shows: >> >> /py26-libxml2 @2.6.21_0 (active)/ >> /python26 @2.6.2_4+darwin (active)/ >> >> I guess the python26 thing is it - but how will the script find the >> necessary components? I never managed to bundle the app without feeding the script a path to python modules and I only succeeded with the site-packages from modevia (mentioned in previous messge). I didn't bother again because once you have the app built you can use the python binary and modules installed in MacPorts with Inkscape.app (you might have to adjust $PATH and $PYTHONPATH in the launch script 'Contents/Resources/bin/inkscape' but AFAIU it's already set up to include the default MacPorts path '/opt/local/bin'). You can test it by renaming the 'Contents/Resources/python' folder - Inkscape then should fall back to the MacPorts installed python+modules (in '/opt/local') or - as last resort - to any modules added to the system-installed Python Framework) these ports I have installed for Python 2.6: python26 @2.6.2_4 (active) python_select @0.2.1_0+darwin_9 (active) py26-libxml2 @2.6.21_0 (active) py26-lxml @2.2.2_0 (active) py26-nose @0.11.1_0 (active) py26-numeric @24.2_0+macosx (active) py26-numpy @1.3.0_0 (active) py26-pil @1.1.6_0 (active) py26-reportlab @2.3_0 (active) py26-setuptools @0.6c9_0 (active) (for Inkscape you definitely need lxml and numpy, pil and reportlab are needed for UniConverter, the others - libxml2, nose, numeric etc. came as dependencies ;-) hth, ~suv ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Inkscape-devel mailing list Inkscape-devel@... https://lists.sourceforge.net/lists/listinfo/inkscape-devel |
| Free embeddable forum powered by Nabble | Forum Help |