![]() |
Bienvenue invité ( Connexion | Inscription )
![]() |
![]()
Message
#1
|
|
Macbidouilleur d'Or ! ![]() ![]() ![]() ![]() ![]() Groupe : Membres Messages : 2 281 Inscrit : 20 Dec 2001 Lieu : Nantes Membre no 1 659 ![]() |
J'ai réussi à compiler Inkscape pour Mac OS X.
J'ai suivi les instructions données pour Gimp.app Bon pour l'instant le paquet ne fonctionne pas, mais déjà depuis X11 j'arrive à lancer Inkscape depuis le paquet ! Pour info, c'est la version 0.40 http://www.inkscape.org/cgi-bin/wiki.pl?CompilingMacOsX Si quelqu'un veut m'aider pour réaliser le paquet car je ne suis pas un expert en programmation, on aura notre version OS X. Bon ça fait 65 Mo compressé ... et dans les 200 décompressé, et c'est un peu lent, mais peut être on peut y faire du nettoyage. Donc si certains sont intéressés, je peux vous donner mon paquet Inkscape.app Voilà les photo écrans que j'ai mis sur le wiki ![]() ![]() Ce message a été modifié par M-Rick - 23 Feb 2005, 23:05. |
|
|
![]() |
![]()
Message
#2
|
|
Macbidouilleur d'Or ! ![]() ![]() ![]() ![]() ![]() Groupe : Membres Messages : 2 281 Inscrit : 20 Dec 2001 Lieu : Nantes Membre no 1 659 ![]() |
Voici le fichier en question :
CODE #!/bin/sh # # Author: Aaron Voisine <[email protected]> CWD="`(cd \"\`dirname \\\"$0\\\"\`\"; echo $PWD)`" TOP="`dirname \"$CWD\"`" ETC="$HOME/Library/Application Support/Inkscape" export "DYLD_LIBRARY_PATH=$TOP/lib" export "PATH=$CWD:$PATH" export "PANGO_RC_FILE=$ETC/pangorc" export "FONTCONFIG_PATH=$TOP/etc/fonts" export "GTK_IM_MODULE_FILE=$ETC/gtk.immodules" export "GDK_PIXBUF_MODULE_FILE=$ETC/gdk-pixbuf.loaders" export "GTK_DATA_PREFIX=$TOP" export "GTK_EXE_PREFIX=$TOP" export "INKSCAPE_DATADIR=$TOP/share/inkscape" export "INKSCAPE_PLUGINDIR=$TOP/lib/inkscape" export "INKSCAPE_LOCALEDIR=$TOP/share/locale" export LANG=`grep '\b'\`defaults read .GlobalPreferences AppleCollationOrder\`_\ /usr/share/locale/locale.alias | sed -n 's/.*\(.._..\)\..*/\1/p;1q'` mkdir -p "$ETC" sed 's|${HOME}|'"$HOME|g" "$TOP/etc/pango/pangorc" > "$ETC/pangorc" sed 's|${CWD}|'"$TOP|g" "$TOP/etc/pango/pango.modules" > "$ETC/pango.modules" cp -f "$TOP/etc/pango/pangox.aliases" "$ETC" sed 's|${CWD}|'"$TOP|g" "$TOP/etc/gtk-2.0/gtk.immodules" > "$ETC/gtk.immodules" sed 's|${CWD}|'"$TOP|g" "$TOP/etc/gtk-2.0/gdk-pixbuf.loaders" \ > "$ETC/gdk-pixbuf.loaders" exec "$CWD/inkscape-0.40" "$@" C'est ça qui gère le fait que les librairies soient dans Inkscape.app et pas dans /sw J'ai résolu le dernier problème reporté par Guerom00, mais j'ai ce message CODE ** (inkscape-0.40:16899): WARNING **: Modules directory (/sw/share/inkscape/extensions) is unavailable. External modules in that directory will not be loaded. ** (inkscape-0.40:16899): WARNING **: No builtin or dynamically loaded modules were found. Pango will not work correctly. This probably means there was an error in the creation of: '/sw/etc/pango/pango.modules' You may be able to recreate this file by running pango-querymodules. (inkscape-0.40:16899): GLib-GObject-CRITICAL **: file gobject.c: line 1561 (g_object_ref): assertion `G_IS_OBJECT (object)' failed ** (inkscape-0.40:16899): CRITICAL **: file pango-engine.c: line 68 (_pango_engine_shape_shape): assertion `PANGO_IS_FONT (font)' failed ** ERROR **: file shape.c: line 75 (pango_shape): assertion failed: (glyphs->num_glyphs > 0) aborting... Emergency save activated! Emergency save completed. Inkscape will close now. If you can reproduce this crash, please file a bug at www.inkscape.org with a detailed description of the steps leading to the crash, so we can fix it. (process:16899): GLib-GObject-CRITICAL (recursed) **: file gobject.c: line 1561 (g_object_ref): assertion `G_IS_OBJECT (object)' failed aborting... Faut que je trouve comment il teste le dossier Inkscape.app/Contents/resources/share/inkscape où sont justement stockés les réglages pour empêcher cette erreur. |
|
|
![]() ![]() |
Nous sommes le : 27th June 2025 - 00:13 |