Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv19914

Added Files:
        massxpert.info massxpert.patch 
Log Message:
to 10.7
only the -mac variant since the -x11 variant insists on looking for files in 
the build directory

--- NEW FILE: massxpert.info ---
Info2: <<
Package: massxpert-%type_pkg[qt]
Version: 3.1.0
Revision: 1
Type: qt (mac)

Source: http://download.tuxfamily.org/massxpert/source/massxpert-%v.tar.gz
Source-MD5: 9b66e63e0bea2acb3ed6533b1a8ede1c
Source2: http://massxpert.org/userman/pdf/massxpert.pdf
Source2-MD5: 1e7bdc9fbf9a1b1e23df48c0590f13dc

Depends: <<
 fontconfig2-shlibs (>= 2.8.0-4),
 freetype219-shlibs (>= 2.3.12-1),
 glib2-shlibs (>= 2.22.0-1),
 libgettext8-shlibs,
 libiconv,
 libpng14-shlibs,
 qt4-base-%type_pkg[qt]-qtcore-shlibs (>= 4.6.1-1),
 qt4-base-%type_pkg[qt]-qtgui-shlibs (>= 4.6.1-1),
 qt4-base-%type_pkg[qt]-qtsvg-shlibs (>= 4.6.1-1),
 qt4-base-%type_pkg[qt]-qtxml-shlibs (>= 4.6.1-1),
 (%type_pkg[qt] = x11) x11-shlibs
<<
BuildDepends: <<
 cmake,
 fink (>= 0.29.7-1),
 fontconfig2-dev (>= 2.8.0-4),
 freetype219 (>= 2.3.12-1),
 glib2-dev (>= 2.22.0-1),
 libgettext8-dev,
 libiconv-dev,
 libpng14,
 qt4-base-%type_pkg[qt] (>= 4.6.1-1),
 (%type_pkg[qt] = x11) x11-dev
<<

Conflicts: massxpert-mac, massxpert-x11
Replaces: massxpert-mac, massxpert-x11

PatchFile: massxpert.patch
PatchFile-MD5: 0627d543ebf79719269280437571e4cf

Maintainer: None <fink-de...@lists.sourceforge.net>
Homepage: http://www.massxpert.org
License: GPL
# GPL v3, actually

Description: Mass spectrometric package, uses Qt4

GCC: 4.0
#SetLDFLAGS: -Wl,-framework,CoreFoundation

CompileScript: <<
 #!/bin/sh -ev
 export PATH=%p/lib/qt4-%type_pkg[qt]/bin:$PATH  
 export PKG_CONFIG_PATH="%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH"
 %p/bin/cmake \
 --debug-output -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
 -DCMAKE_INSTALL_PREFIX:PATH=%p \
 -DCMAKE_INCLUDE_PATH:PATH=%p/include \
 -DCMAKE_LIBRARY_PATH:PATH=%p/lib \
 -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING="" \
 -DCMAKE_OSX_SYSROOT:PATH="/" \
 -DPEDANTIC=false \
 .
### -DPEDANTIC turns of -Werror, which is fatal with qt4-4.7.3 on Lion. 

# patch three link.txt files after cmake to create a bundle instead of dynamic 
libraries
 perl -pi -e "s,shared,bundle,g" 
plugins-src/massListSorterPlugin/CMakeFiles/massListSorterPlugin.dir/link.txt
 perl -pi -e "s,shared,bundle,g" 
plugins-src/numeralsLocaleConverterPlugin/CMakeFiles/numeralsLocaleConverterPlugin.dir/link.txt
 perl -pi -e "s,shared,bundle,g" 
plugins-src/seqToolsPlugin/CMakeFiles/seqToolsPlugin.dir/link.txt

 make
<<

AppBundles: gui/massXpert.app
DocFiles: COPYING TODO ../massxpert.pdf

DescDetail: <<
The massXpert project aims at providing (bio)chemists with 
a software package allowing the following:

* User-specific atom definitions and polymer chemistry definitions;
* Powerful sequence editing with user-defined glyphs for each 
   monomer and monomer chemical modification;
* Polymer sequence chemical/enzymatic cleavage;
* Gas-phase fragmentation of oligomers;
* Mass-to-charge ratio calculations with inline change of ionization agent;
* Simulation of isotopic patterns for any chemical formula.
<<
DescPackaging: <<
        Previous maintainer: Jack Fink <jackf...@users.sourceforge.net>
                             Koen van der Drift <drift...@users.sourceforge.net>
<<

<<

--- NEW FILE: massxpert.patch ---
diff -Nurd massxpert-2.3.5/gui/CMakeLists.txt 
massxpert-2.3.5-patched/gui/CMakeLists.txt
--- massxpert-2.3.5/gui/CMakeLists.txt  2010-04-29 08:21:07.000000000 -0400
+++ massxpert-2.3.5-patched/gui/CMakeLists.txt  2010-05-09 19:32:47.000000000 
-0400
@@ -233,19 +233,19 @@
 EXEC_PROGRAM ("cp ${CMAKE_CURRENT_SOURCE_DIR}/images/massXpert.icns 
${CMAKE_CURRENT_BINARY_DIR}/massXpert.app/Contents/Resources")
   
 # We want to build universal binaries 
-SET (CMAKE_OSX_ARCHITECTURES "ppc;i386" 
-  CACHE STRING "Build architectures for OSX" FORCE) 
+#SET (CMAKE_OSX_ARCHITECTURES "ppc;i386" 
+#  CACHE STRING "Build architectures for OSX" FORCE) 
 
 # That can be deployed on older system 
 # (Qt 4.4.0 is available starting at 10.3.9) 
-SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.3" 
+SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.4" 
   CACHE STRING "Flags used by the compiler during all build types." FORCE)
 
 SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden" 
   CACHE STRING "Flags used by the compiler during all build types." FORCE)
 
-SET (CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.4u.sdk" 
-  CACHE STRING "MacOSX10.4u.sdk." FORCE)
+#SET (CMAKE_OSX_SYSROOT "/Developer/SDKs/MacOSX10.4u.sdk" 
+#  CACHE STRING "MacOSX10.4u.sdk." FORCE)
 
 SET_SOURCE_FILES_PROPERTIES (application.qrc ${TARGET}_fr.qm 
   PROPERTIES MACOSX_BUNDLE_LOCATION Resources)


------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to