Re: [Fink-devel] ccp4 on 10.6/i386

2013-02-09 Thread William G. Scott


On Feb 9, 2013, at 4:17 AM, Hanspeter Niederstrasser f...@snaggledworks.com 
wrote:

 Our ccp4 package currently doesn't build on 10.6/i386 because both the .info 
 and the build process assume x86_64 in several places and this leads to files 
 being compiled for the wrong architecture and therefore unable to be linked 
 in i386 Fink.
 
 The attached .info and .patch allow the build to succeed on 10.6/i386. The 
 10.6/x86_64 also finishes. Please check that the resulting builds actually 
 work.
 
 Hanspeter
 ccp4.infoccp4.patch

Dear Hanspeter:

Thanks very much for this.. I really appreciate your efforts and apologize for 
how much of a mess this is.

A new revision will be available upstream within the next few days, so I will  
incorporate those changes.

Also, I have been communicating with the CCP4 organization about the future of 
CCP4 on OS X.  They are
moving toward having 32 and 64-bit binary packages with internal automatic 
update systems.  (Currently they have
a 32 bit package with an internal update system).  The consensus was that this 
would make the fink package and
its lack of their internal update system obsolete and and an additional 
maintenance burden for them (and me).

My plan was to have one final update when the revision appears in early [sic] 
February, but then to phase it out
with a system-ccp4 package or something like that.

Part of the CCP4 package includes libraries required for other packages (like 
coot) that are GPL and are in fink.  CCP4 releases the libraries under LGPL, 
but the binary executables themselves are covered under a more restrictive 
license -- scientists in industry are supposed to pay to use them via what is 
in essence an honors system.  So perhaps a libccp4 package (as a successor to 
the gpp4 package, which is a fork) would be the most appropriate future?

Thanks again for your help.

Bill



William G. Scott
Professor
Department of Chemistry and Biochemistry
and The Center for the Molecular Biology of RNA
228 Sinsheimer Laboratories
University of California at Santa Cruz
Santa Cruz, California 95064
USA
 
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
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


[Fink-devel] boost

2013-02-09 Thread William G. Scott
Hi folks (Martin et al.):

I'm trying to put together a fink package for rdkit, which is a new dependency 
for coot (which I maintain). rdkit requires a fairly recent version of boost.  
I can build it using version 1.53.   Fink has 1.35, which is a bit long in the 
tooth.  (I also tried using boost1.46.1.cmake.  I got nowhere, but this might 
be simply the vastness of my own ignorance.)

In any case, would it be possible to get a boost1.53 package ?  Right now I am 
building the required library within my nascent rdkit package, but this is a 
bandaid approach.

Many thanks.

Bill

 



--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
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


Re: [Fink-devel] boost

2013-02-09 Thread Martin Costabel
On 9/02/13 17:22, William G. Scott wrote:
 Hi folks (Martin et al.):

 I'm trying to put together a fink package for rdkit, which is a new 
 dependency for coot (which I maintain). rdkit requires a fairly recent 
 version of boost.  I can build it using version 1.53.   Fink has 1.35, which 
 is a bit long in the tooth.  (I also tried using boost1.46.1.cmake.  I got 
 nowhere, but this might be simply the vastness of my own ignorance.)

 In any case, would it be possible to get a boost1.53 package ?  Right now I 
 am building the required library within my nascent rdkit package, but this is 
 a bandaid approach.

Hi,

just yesterday, someone sent me a package description for 1.52. As 
usual, there are problems with the boost-python libs and the build 
system has slightly changed. But maybe this might be useful for 1.53, too.

Since I haven't looked at this for a very long time (boost-cmake seemed 
to be the wave of the future), I cannot tell how long it will take me to 
get something acceptable, but I'll have a look. The users of the boost 
libraries seem to fall into one of two classes: Those who don't care 
about python and those who *only* want the libboost-python libs and 
don't care about the rest. Maybe two separate package descriptions might 
simplify the update process.

-- 
Martin





--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
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


Re: [Fink-devel] boost

2013-02-09 Thread William G. Scott
On Feb 9, 2013, at 9:16 AM, Martin Costabel costa...@wanadoo.fr wrote:

 On 9/02/13 17:22, William G. Scott wrote:
 Hi folks (Martin et al.):
 
 I'm trying to put together a fink package for rdkit, which is a new 
 dependency for coot (which I maintain). rdkit requires a fairly recent 
 version of boost.  I can build it using version 1.53.   Fink has 1.35, which 
 is a bit long in the tooth.  (I also tried using boost1.46.1.cmake.  I got 
 nowhere, but this might be simply the vastness of my own ignorance.)
 
 In any case, would it be possible to get a boost1.53 package ?  Right now I 
 am building the required library within my nascent rdkit package, but this 
 is a bandaid approach.
 
 Hi,
 
 just yesterday, someone sent me a package description for 1.52. As usual, 
 there are problems with the boost-python libs and the build system has 
 slightly changed. But maybe this might be useful for 1.53, too.
 
 Since I haven't looked at this for a very long time (boost-cmake seemed to be 
 the wave of the future), I cannot tell how long it will take me to get 
 something acceptable, but I'll have a look. The users of the boost libraries 
 seem to fall into one of two classes: Those who don't care about python and 
 those who *only* want the libboost-python libs and don't care about the rest. 
 Maybe two separate package descriptions might simplify the update process.
 
 -- 
 Martin
 


I think I might be a member of both classes.  In any case, all I need is  
libboost_python.dylib, and it is easy enough to tell it to build just that 
library (so currently I am doing it within the other package and hiding it).

I'd be happy to make a minimal libboost_python package if someone would be 
willing to fix all of the idiot-mistakes I will likely introduce.

Bill

PS:  I couldn't get boost.cmake to work for compiling rdkit.




--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
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


Re: [Fink-devel] boost

2013-02-09 Thread Hanspeter Niederstrasser
On 2/9/2013 12:35 PM, William G. Scott wrote:
 On Feb 9, 2013, at 9:16 AM, Martin Costabel costa...@wanadoo.fr
 wrote:

 On 9/02/13 17:22, William G. Scott wrote:
 Hi folks (Martin et al.):

 I'm trying to put together a fink package for rdkit, which is a
 new dependency for coot (which I maintain). rdkit requires a
 fairly recent version of boost.  I can build it using version
 1.53.   Fink has 1.35, which is a bit long in the tooth.  (I also
 tried using boost1.46.1.cmake.  I got nowhere, but this might be
 simply the vastness of my own ignorance.)

 In any case, would it be possible to get a boost1.53 package ?
 Right now I am building the required library within my nascent
 rdkit package, but this is a bandaid approach.

 Hi,

 just yesterday, someone sent me a package description for 1.52. As
 usual, there are problems with the boost-python libs and the build
 system has slightly changed. But maybe this might be useful for
 1.53, too.

 Since I haven't looked at this for a very long time (boost-cmake
 seemed to be the wave of the future), I cannot tell how long it
 will take me to get something acceptable, but I'll have a look. The
 users of the boost libraries seem to fall into one of two classes:
 Those who don't care about python and those who *only* want the
 libboost-python libs and don't care about the rest. Maybe two
 separate package descriptions might simplify the update process.

The main problem with boost.cmake is that it links to system-python 
Framework, and if you have something that needs boost and a pymod, then 
things don't work all that well.

With that in mind, having 36+ inches of snow on the ground gave me some 
free time, and I updated a boost package I've been sort of holding in 
the background to 1.53.  It uses the same package layout as the 1.35 
version.  The biggest difference in the build is that boost-jam is no 
longer used because of some version mismatch, so it has to bootstrap 
first, and then use an internal (b2) build tool, plus it has a bunch of 
new libraries.

You can see my work here:

http://cvs.snaggledworks.com/viewvc.cgi/fink/3rdparty/main/finkinfo/libs/

I've only tested it on 10.7/Xcode4.6, and I don't know how it will 
behave on other system, especially since there are some games played 
with the compiler (which might not be necessary).

Hanspeter

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
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


Re: [Fink-devel] boost

2013-02-09 Thread Sjors Gielen
Op 09-02-13 20:55, Hanspeter Niederstrasser schreef:
 On 2/9/2013 12:35 PM, William G. Scott wrote:
 On Feb 9, 2013, at 9:16 AM, Martin Costabel costa...@wanadoo.fr wrote:
 In any case, would it be possible to get a boost1.53 package ?
 Right now I am building the required library within my nascent
 rdkit package, but this is a bandaid approach.

Hi all,

I created a package for Boost 1.52.0 earlier. It seems to be working OK for me, 
but haven't tested it a lot. If you want, feel free to commit it.

Sjors
Package: boost1.52.0
Version: 1.52.0
Revision: 1
Description: Boost C++ Libraries
Homepage: http://www.boost.org
DescDetail: 
The Boost web site provides free peer-reviewed portable C++ source
libraries. The emphasis is on libraries which work well with the
C++ Standard Library. The libraries are intended to be widely useful,
and are in regular use by thousands of programmers across a broad
spectrum of applications.

A further goal is to establish existing practice and provide
reference implementations so that Boost libraries are suitable for
eventual standardization. Ten Boost libraries will be included in
the C++ Standards Committee's upcoming C++ Standard Library Technical
Report as a step toward becoming part of a future C++ Standard.

Although Boost was begun by members of the C++ Standards Committee
Library Working Group, participation has expanded to include thousands
of programmers from the C++ community at large.

License: BSD
Maintainer: Sjors Gielen fink+bo...@sjorsgielen.nl

Source: mirror:sourceforge:boost/boost_1_52_0.tar.bz2
Source-MD5: 3a855e0f919107e0ca4de4d84ad3f750
PatchFile: boost1.52.0.patch
PatchFile-MD5: d0a52528f55377009f9a4a9054565b8e

Depends: %n-shlibs (= %v-%r)
BuildDepends: fink (= 0.24.12)
BuildDependsOnly: true
Conflicts: 
boost-foreach,
boost1.31,
boost1.32-py23,
boost1.32-py24,
boost1.32.python,
boost1.33,
boost1.34.systempython,
boost1.34.python23,
boost1.34.python24,
boost1.34.python25,
boost1.34.nopython,
boost1.35.systempython,
boost1.35.python23,
boost1.35.python24,
boost1.35.python25,
boost1.35.python26,
boost1.35.python27,
boost1.35.nopython,
boost1.41.cmake,
boost1.46.1.cmake

Replaces: 
boost-foreach,
boost1.31,
boost1.32-py23,
boost1.32-py24,
boost1.32.python,
boost1.33,
boost1.34.systempython,
boost1.34.python23,
boost1.34.python24,
boost1.34.python25,
boost1.34.nopython,
boost1.35.systempython,
boost1.35.python23,
boost1.35.python24,
boost1.35.python25,
boost1.35.python26,
boost1.35.python27,
boost1.35.nopython,
boost1.41.cmake,
boost1.46.1.cmake


CompileScript: 
#!/bin/sh -ev
./bootstrap.sh --without-icu --without-libraries=python \
--prefix=%p
./b2 --prefix=%p --compatibility_version=%v --current_version=%v


InstallScript: 
#!/bin/sh -ev
./b2 install --prefix=%i --compatibility_version=%v 
--current_version=%v
for lib in chrono context date_time filesystem graph iostreams locale \
math_c99 math_c99f math_c99l math_tr1 math_tr1f math_tr1l \
prg_exec_monitor program_options random regex serialization \
signals system thread timer unit_test_framework wave 
wserialization
do
mv %i/lib/libboost_${lib}.dylib 
%i/lib/libboost_${lib}.%v.dylib
install_name_tool -id %p/lib/libboost_${lib}.%v.dylib 
%i/lib/libboost_${lib}.%v.dylib
done


DocFiles: LICENSE_1_0.txt boost.png boost.css index.html rst.css libs more tools

SplitOff: 
Package: %n-shlibs

Files: 
lib/libboost_chrono.%v.dylib
lib/libboost_context.%v.dylib
lib/libboost_date_time.%v.dylib
lib/libboost_filesystem.%v.dylib
lib/libboost_graph.%v.dylib
lib/libboost_iostreams.%v.dylib
lib/libboost_locale.%v.dylib
lib/libboost_math_c99.%v.dylib
lib/libboost_math_c99f.%v.dylib
lib/libboost_math_c99l.%v.dylib
lib/libboost_math_tr1.%v.dylib
lib/libboost_math_tr1f.%v.dylib
lib/libboost_math_tr1l.%v.dylib
lib/libboost_prg_exec_monitor.%v.dylib
lib/libboost_program_options.%v.dylib
lib/libboost_random.%v.dylib
lib/libboost_regex.%v.dylib
lib/libboost_serialization.%v.dylib
lib/libboost_signals.%v.dylib
lib/libboost_system.%v.dylib
lib/libboost_thread.%v.dylib
lib/libboost_timer.%v.dylib