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

Added Files:
        xmakemol.info xmakemol.patch libdap10.info libdap10.patch 
        zimpl.info 
Log Message:
some stuff to stable


--- NEW FILE: zimpl.info ---
Package: zimpl
Version: 2.09
Revision: 2
Description: Modeling language for optimization problems
License: GPL
Maintainer: Ojas Parekh <[email protected]>

# Dependencies:
BuildDepends: gmp (>= 4.1.2)
Depends: gmp-shlibs (>= 4.1.2)

# Unpack Phase:
Source: http://zimpl.zib.de/download/%n-%v.tgz
Source-MD5: 6824439f425e6c62b2e871e802f051b8

# Patch Phase
PatchScript: <<
  install -d make/local
  echo "CPPFLAGS += -I%p/include" > make/local/make.`hostname`
  echo "LDFLAGS  += -L%p/lib" >> make/local/make.`hostname`
<<

# Compile Phase:
CompileScript: make 

# Test Phase:
InfoTest: <<
  TestScript: make check || exit 2
<<

# Install Phase:
InstallScript: <<
  /usr/bin/install -d %i/bin
  /usr/bin/install bin/zimpl %i/bin/
#  /usr/bin/install -d %i/lib
#  /bin/cp -R lib/libzimpl*.opt.a %i/lib/
#  /usr/bin/install -d %i/include/zimpl
#  /usr/bin/install -m 644 src/*.h %i/include/zimpl/
  /usr/bin/install -d %i/share/man/man1
  /usr/bin/install -m 644 doc/zimpl.man %i/share/man/man1/zimpl.1
  /usr/bin/install -d %i/share/doc/%n
  /bin/cp -R example %i/share/doc/%n/
<<
DocFiles: CHANGELOG README LICENSE doc/zimpl.pdf

DescDetail: << 
Zimpl allows the specification of certain optimization problems
-linear programs (LPs) and mixed integer programs (MIPs) - in a
high-level description language. These descriptions can be converted
into the LP or MPS file formats which are understood by LP and MIP
solvers.
<<

DescPackaging: <<
Descriptions taken from Joachim Reichel's debian package descriptions.
<<

Homepage: http://zimpl.zib.de/

--- NEW FILE: xmakemol.info ---
Package: xmakemol
Version: 5.16
Revision: 1
Maintainer: None <[email protected]>
Source: http://savannah.nongnu.org/download/%n/%n-%v.tar.gz
Source-MD5: e466a81bf407be6e7476f279af1968dc
Depends: lesstif-shlibs, mesa-libglw-lesstif-shlibs, imagemagick (>= 5.5.1-13), 
gifsicle | ungifsicle, libgl, x11, freeglut-shlibs
BuildDepends: lesstif, mesa-libglw-lesstif, x11-dev, freeglut, fink (>= 
0.24.12-1)
PatchFile: %n.patch
PatchFile-MD5: 578fa5a786ee87348302bca1fbec401e
PatchScript: sed 's|@FINKPREFIX@|%p|g' <%{PatchFile} | patch -p1
ConfigureParams: --mandir=%p/share/man
InstallScript: <<
  make install DESTDIR=%d
  mkdir -p %i/share/doc/%n
  cp -r examples %i/share/doc/%n
<<
DocFiles: AUTHORS COPYING NEWS PROBLEMS README ToDo.txt xmakemol.html
Description: View atomic and molecular systems
DescDetail: <<
XMakemol is a program used to view and manipulate atomic and molecular
data given in xyz form. XMakemol can produce output in PostScript (black
and white or colour) and in xpm format. XMakemol can also produce a series
of xpm files which can be translated into an animated gif file using the
bundled utility xmake_anim.pl
<<
DescPackaging: <<
 Originally packaged by Matt Stephenson.
<<
License: GPL
Homepage: http://savannah.nongnu.org/projects/xmakemol

--- NEW FILE: libdap10.info ---
Package: libdap10
Version: 3.10.2
Revision: 1
BuildDependsOnly: true
GCC: 4.0
Description: DAP 2.0 C++ SDK
License: LGPL
Maintainer: Alexander Hansen <[email protected]>
Depends: %N-shlibs (= %v-%r), pkgconfig
BuildDepends: libcurl4 (>= 7.19.3-2), libxml2, libiconv-dev, 
fink-package-precedence
Conflicts: aplus-fsf-dev, libdap9, libdap11
Replaces: aplus-fsf-dev, libdap9, libdap11

# Unpack Phase:
Source: http://www.opendap.org/pub/source/libdap-%v.tar.gz
Source-MD5: 4367f3266f20479a68d9fdaeaa001af8

# Patch Phase:
PatchFile: %n.patch
PatchFile-MD5: 479e22eb4a63eec9235a3b1feab4cc36
PatchScript:  sed -e 's,@FINKPREFIX@,%p', -e 's,@DAPVERS@,10,' %{PatchFile} | 
patch -p1 

# Compile Phase
SetLDFLAGS: -Wl,-dead_strip_dylibs
ConfigureParams:  --libdir=%p/opt/%N/lib --includedir=%p/opt/%N/include
CompileScript: <<
 #!/bin/sh -ev
 ./configure %c
 # for some reason, the allow_undefined_flag doesn't get set right by configure.
 perl -pi.BAK -e 's|-single_module |-single_module -undefined dynamic_lookup |' 
libtool
 make
 fink-package-precedence .
<<

# Install Phase:
DocFiles: COPYING COPYRIGHT_* README README.* NEWS
InstallScript: <<
        make install DESTDIR=%d
<<

SplitOff: <<
        Package: %N-shlibs
        Files: opt/%N/lib/libdap*.*.dylib
        Depends: libcurl4-shlibs (>= 7.19.3-2), libxml2-shlibs
        Shlibs: <<
        %p/opt/%N/lib/libdap.10.dylib 13.0.0 %n (>= 3.10.2-1)
        %p/opt/%N/lib/libdapclient.3.dylib 5.0.0 %n (>= 3.10.2-1)
        %p/opt/%N/lib/libdapserver.7.dylib 9.0.0 %n (>= 3.10.2-1)
        <<
        DocFiles: COPYING COPYRIGHT_* README README.* NEWS
<<

DescDetail: <<
        A C++ SDK which contains an implementation of DAP 2.0,
        Client- and Server-side support classes and a prototype
        implementation of the AIS.
<<
DescPackaging: <<
        Patch dap-config.in and dap-config-pkgconfig so that they actually point
        dependent packages to the actual include directory and lib directory, 
and
        .pc file, respectively.
<<
Homepage: http://www.opendap.org/libdap

--- NEW FILE: xmakemol.patch ---
diff -Nurd -x'*~' xmakemol-5.16.orig/configure xmakemol-5.16/configure
--- xmakemol-5.16.orig/configure        2007-08-30 13:45:18.000000000 -0400
+++ xmakemol-5.16/configure     2007-10-15 00:18:43.000000000 -0400
@@ -6209,9 +6209,9 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
 
-       XWIDGETLIBS="$X_LIBS $X11_LIBS $XT_LIBS $X_LIBS $X_PRE_LIBS $XM_LIBS"
+       XWIDGETLIBS="$X_LIBS $X11_LIBS $XM_LIBS $XT_LIBS $X_LIBS $X_PRE_LIBS"
        sim_cv_motif_glwidget=UNKNOWN
-       for lib in GLwM GLw MesaGLwM MesaGLw; do
+       for lib in GLw; do
          if test x"$sim_cv_motif_glwidget" = x"UNKNOWN"; then
                LIBS="-l$lib $SAVELIBS $XWIDGETLIBS $GL_LIBS -lm"
                cat >conftest.$ac_ext <<_ACEOF
diff -Nurd -x'*~' xmakemol-5.15.orig/file.c xmakemol-5.15/file.c
--- xmakemol-5.15.orig/file.c   2005-03-06 12:04:32.000000000 -0500
+++ xmakemol-5.15/file.c        2005-12-16 01:38:10.000000000 -0500
@@ -29,6 +29,7 @@
 #include <alloca.h>
 #endif
 #include <ctype.h> /* aro - needed for isalnum() */
+#include <sys/types.h>
 #include <dirent.h>
 #include <locale.h>
 #include <math.h>
@@ -96,6 +97,15 @@
 /* directory that was accessed in any of the file selection dialogs */
 static XmString current_directory = NULL;
 
+  void export_type_cb(Widget, XtPointer, XtPointer);
+  void file_type_cb(Widget, XtPointer, XtPointer);
+  void load_file_cb(Widget, XtPointer, XtPointer);
+  void save_file_cb(Widget, XtPointer, XtPointer);
+  void merge_file_cb(Widget, XtPointer, XtPointer);
+  void export_file_cb(Widget, XtPointer, XtPointer);
+  void print_file_cb(Widget, XtPointer, XtPointer);/* aro */
+  void print_file_select_cb(Widget, XtPointer, XtPointer);/* aro */
+  void cleanup_cb(Widget, XtPointer, XtPointer);/* aro */
 
 void
 file_cb(Widget widget, XtPointer client_data, XtPointer call_data)
@@ -112,15 +122,6 @@
      Widgets p_dialog, print_printer, temp_widget; 
      XmStringTable printer_xmstrings. */
      
-  void export_type_cb(Widget, XtPointer, XtPointer);
-  void file_type_cb(Widget, XtPointer, XtPointer);
-  void load_file_cb(Widget, XtPointer, XtPointer);
-  void save_file_cb(Widget, XtPointer, XtPointer);
-  void merge_file_cb(Widget, XtPointer, XtPointer);
-  void export_file_cb(Widget, XtPointer, XtPointer);
-  void print_file_cb(Widget, XtPointer, XtPointer);/* aro */
-  void print_file_select_cb(Widget, XtPointer, XtPointer);/* aro */
-  void cleanup_cb(Widget, XtPointer, XtPointer);/* aro */
   int item_no=(int) client_data, i, j;/* aro */
   char *printer_name, *line_ptr, line[1024], 
printer_strings[MAX_PRINTERS+1][80],
        print_command_string[1024];/* aro */
diff -Nurd -x'*~' xmakemol-5.15.orig/xmake_anim.pl xmakemol-5.15/xmake_anim.pl
--- xmakemol-5.15.orig/xmake_anim.pl    2005-03-07 05:10:41.000000000 -0500
+++ xmakemol-5.15/xmake_anim.pl 2005-12-16 01:38:39.000000000 -0500
@@ -27,13 +27,13 @@
 
 # Configure: specify where the binaries are
 
-$convert = "/usr/bin/convert";
+$convert = "@FINKPREFIX@/bin/convert";
 if (! -e $convert)
   {
     die ("Cannot find convert program (part of ImageMagick). Please install 
it.\n");
   }
 
-$gifsicle = "/usr/bin/gifsicle";
+$gifsicle = "@FINKPREFIX@/bin/gifsicle";
 if (! -e $gifsicle)
   {
     print ("Cannot find gifsicle program, install it for better 
performance.\n");
diff -Nurd -x'*~' xmakemol-5.15.orig/xmakemol.1 xmakemol-5.15/xmakemol.1
--- xmakemol-5.15.orig/xmakemol.1       2005-01-28 09:34:54.000000000 -0500
+++ xmakemol-5.15/xmakemol.1    2005-12-16 01:39:03.000000000 -0500
@@ -47,7 +47,7 @@
 
 .SH FILES
 .LP 
-\fI/usr/share/xmakemol/elements\fP
+\fI@FINKPREFIX@/share/xmakemol/elements\fP
 List of element properties.
 
 .SH ENVIRONMENT VARIABLES

--- NEW FILE: libdap10.patch ---
diff -Naur libdap-3.10.2/dap-config-pkgconfig 
libdap-3.10.2.patched/dap-config-pkgconfig
--- libdap-3.10.2/dap-config-pkgconfig  2010-05-17 14:28:40.000000000 -0400
+++ libdap-3.10.2.patched/dap-config-pkgconfig  2011-08-04 09:51:45.000000000 
-0400
@@ -2,11 +2,11 @@
 #
 # Borrowed the idea for this script (and some code) from libcurl.
 #
-
+export 
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:@FINKPREFIX@/opt/libdap@DAPVERS@/lib/pkgconfig
 usage()
 {
     cat <<EOF
-Usage: dap-config [OPTION]
+Usage: dap-config-pkgconfig [OPTION]
 
 Available values for OPTION include:
 
diff -Naur libdap-3.10.2/dap-config.in libdap-3.10.2.patched/dap-config.in
--- libdap-3.10.2/dap-config.in 2010-05-17 14:28:40.000000000 -0400
+++ libdap-3.10.2.patched/dap-config.in 2011-08-04 09:51:38.000000000 -0400
@@ -4,8 +4,9 @@
 #
 prefix=@prefix@
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include
+dapdir=@FINKPREFIX@/opt/libdap@DAPVERS@
+libdir=${dapdir}/lib
+includedir=${dapdir}/include
 
 usage()
 {


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to