Ipe 7 is an extensible drawing editor which is a new important tool for 
inserting LaTeX code into a graph. Xfig is the standard but heavy way (with 
'special' and 'export to both' (pdf and pdf_t). Inkscape is another new 
alternative too.

Ipe is already running under MacPorts (I don't have MacPorts installed). I 
compiled and installed ipe7 under Fink with the aid of some dependent libraries 
that could be installed from Fink (unstable), like cairo and freetype2. I used 
the Apple QtCore and QtGui  (the config.mak was allowing such a setting for 
OS/X 10.6).

The binary seems to work fine for me and thus I decided to give a try on a 
'ipe.info' file . I am well aware of rpm builds but not on debian builds and 
not fink. Also, I am a little confused by CONFIG     += x86_64 in config.mak 
because I think that my fink library is the default i386. Also I compiled with 
the following environments (found on your site) under bash to get a 
/usr/local/bin/ipe binary and library:
. /sw/bin/init.sh

export CFLAGS=-I/sw/include 
export LDFLAGS=-L/sw/lib 
export CXXFLAGS=$CFLAGS 
export CPPFLAGS=$CXXFLAGS 
export ACLOCAL_FLAGS="-I /sw/share/aclocal"
export PKG_CONFIG_PATH="/sw/lib/pkgconfig"
export PATH=/sw/var/lib/fink/path-prefix-10.6:$PATH
export MACOSX_DEPLOYMENT_TARGET=10.5

Here is the output of otool -L /usr/local/bin/ipe
/usr/local/bin/ipe:
        libipeqtcanvas.so.7.0.14 (compatibility version 0.0.0, current version 
0.0.0)
        libipecairo.so.7.0.14 (compatibility version 0.0.0, current version 
0.0.0)
        libipelua.so.7.0.14 (compatibility version 0.0.0, current version 0.0.0)
        libipe.so.7.0.14 (compatibility version 0.0.0, current version 0.0.0)
        libipeui.so.7.0.14 (compatibility version 0.0.0, current version 0.0.0)
        /sw/lib/liblua.5.1.dylib (compatibility version 5.1.0, current version 
5.1.4)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 125.2.1)
        QtCore.framework/Versions/4/QtCore (compatibility version 4.7.0, 
current version 4.7.2)
        QtGui.framework/Versions/4/QtGui (compatibility version 4.7.0, current 
version 4.7.2)
        /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 
(compatibility version 1.0.0, current version 15.0.0)
        /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 
1.2.3)
        /sw/lib/libcairo.2.dylib (compatibility version 10803.0.0, current 
version 10803.10.0)
        /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current 
version 7.9.0)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 
625.0.0)


Now, with the attached ipe.info file, the patch (also attached) phase was 
successful as well as compilation and install phases, but while verifying the 
.deb I got the following messages:

Attachment: ipe.info
Description: Binary data

Attachment: ipe-7.0.14.patch
Description: Binary data

Writing control file...
Validating .deb dir /sw/src/fink.build/root-ipe-7.0.14-1...
Warning: /sw/lib/ipe/7.0.14/ipelets/image.so is a DYLIB but it does not end in 
.dylib or .jnilib.
Error: package contains the shared library
          /sw/lib/ipe/7.0.14/ipelets/image.so
       but the corresponding install_name
          ../../../build/ipelets/image.so
       is not an absolute pathname.

I am not sure if the warning is linked with the error. And I am new on OS/X and 
not really able to patch the Makefile in order to make the .deb more compliant 
to fink.

Any advice or help is welcome.

Nicolas
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and publish 
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to