-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/28/11 11:36 AM, Nicolas Brouard wrote: > 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.
fink's build process is more similar to rpm builds than it is to Debian's. 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: > > > > > 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. On OS X, files with the .so extension are supposed to be bundles rather than shared libraries, and this warning indicates that the file is in fact a shared library. > 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. That's wrong on two grounds: 1) The install_name of a library has to be an absolute path under Fink. 2) The install_name of this library references the build directory, which vanishes when a build is successful. > > I am not sure if the warning is linked with the error. It's not. 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. If it doesn't validate, we won't take it. > > Any advice or help is welcome. > > Nicolas > > > You might want to look at the existing ipe6 info file in Fink unstable. That may contain many of the fixes that you need. - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2Q2uEACgkQB8UpO3rKjQ/Q2gCfc2A4DuaHPlXTrvEqWJkR7Ie5 lAoAni2e6vyqDRgQXR9Ud1yQLmyt/yY3 =toIz -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ 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