Update of /cvsroot/fink/dists/10.4-transitional/stable/main/finkinfo/sci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9612
Added Files:
roofitcore.info roofitcore.patch roofitmodels.info
roofitmodels.patch
Log Message:
Working version for Tiger to stable
--- NEW FILE: roofitcore.patch ---
--- RooFitCore.orig/GNUmakefile.standalone 2005-04-04 07:59:12.000000000
-0700
+++ RooFitCore.new/GNUmakefile.standalone 2005-06-08 17:46:17.000000000
-0700
@@ -32,6 +32,7 @@
# lib - make libRooFitCore.a #
# shlib - make libRooFitCore.so #
# winlib - make libRooFitCore.dll (for CygWin) #
+ # dylib - make libRooFitCore.dylib (for Mac OS X) #
# clean - delete all intermediate and final build objects #
# #
#############################################################################
@@ -49,13 +50,15 @@
# Internal configuration
PACKAGE=RooFitCore
-LD_LIBRARY_PATH:=$(ROOTSYS)/lib:$(LD_LIBRARY_PATH)
+MAJOR = $(shell echo @VERSION@ | awk -F "." '{printf("%d",$$1)}')
+MINOR = $(shell echo @VERSION@ | awk -F "." '{printf("%d",$$2)}')
+REVIS = $(shell echo @VERSION@ | awk -F "." '{printf("%d",$$3)}')
+
OBJDIR=$(WORKDIR)/objects/
INCDIR=$(WORKDIR)/$(PACKAGE)/
VPATH=$(INCDIR) $(OBJDIR)
#LDFLAGS = -shared
-INCLUDES += -I.. -I$(WORKDIR)/ -I$(ROOTSYS)/include
-ROOTSYS ?= ERROR_RootSysIsNotDefined
+INCLUDES += -I.. -I$(WORKDIR)/ $(shell root-config --cflags)
RDLLIST = $(filter-out $(PACKAGE)_LinkDef.rdl,$(wildcard *.rdl))
SKIPLIST = makedocs.cc RooIntegratorTest.cc
CINTFILE = $(PACKAGE)Cint.cc
@@ -63,9 +66,10 @@
LIBFILE = $(LIBDIR)/lib$(PACKAGE).a
SHLIBFILE = $(LIBDIR)/lib$(PACKAGE).so
DLLIBFILE = $(LIBDIR)/lib$(PACKAGE).dll
+DYLIBFILE = $(LIBDIR)/lib$(PACKAGE).dylib
UNAME = $(shell uname)
-default: shlib
+default: dylib
# List of all includes files to copy from rdl
HHLIST=$(patsubst %.rdl,%.hh,$(RDLLIST))
@@ -104,9 +108,7 @@
@mkdir -p $(OBJDIR)
@cp *.hh $(INCDIR)
@echo "Running rootcint"
- @ROOTSYS=$(ROOTSYS)
- @export ROOTSYS
- @cd $(INCDIR) ; $(ROOTSYS)/bin/rootcint -f $(CINTFILE) -c $(INCLUDES)
$(HHLIST) $(PACKAGE)_LinkDef.hh
+ @cd $(INCDIR) ; rootcint -f $(CINTFILE) -c $(INCLUDES) $(HHLIST)
$(PACKAGE)_LinkDef.hh
@echo "Compiling $(CINTFILE)"
@$(CC) $(CCFLAGS) -c $(INCDIR)/$(CINTFILE) -o $(OBJDIR)/$(CINTOBJ)
$(INCLUDES)
@@ -121,7 +123,7 @@
$(SHLIBFILE): $(OLIST) $(patsubst %.cc,%.o,$(OBJDIR)/$(CINTFILE))
@echo "Making $(SHLIBFILE)"
@rm -f $(SHLIBFILE)
- @$(CC) $(addprefix $(OBJDIR)/,$(OLIST) $(patsubst
%.cc,%.o,$(CINTFILE))) -shared -o $(SHLIBFILE)
+ @$(CC) $(addprefix $(OBJDIR)/,$(OLIST) $(patsubst
%.cc,%.o,$(CINTFILE))) -bundle -undefined dynamic_lookup -o $(SHLIBFILE)
# Rule to combine objects into a windows shared library
$(DLLIBFILE): $(OLIST) $(patsubst %.cc,%.o,$(OBJDIR)/$(CINTFILE))
@@ -129,17 +131,29 @@
@rm -f $(DLLIBFILE)
$(CC) -Wl,--export-all-symbols -Wl,--export-dynamic
-Wl,--enable-auto-import -Wl,-Bdynamic -shared --enable-auto-image-base
-Wl,-soname -o $(DLLIBFILE) -Wl,--whole-archive $(addprefix $(OBJDIR)/,$(OLIST)
$(patsubst %.cc,%.o,$(CINTFILE))) -Wl,--no-whole-archive -L$(ROOTSYS)/lib
-lCore -lCint -lHist -lGraf -lGraf3d -lTree -lRint -lPostscript -lMatrix
-lMinuit -lPhysics -lHtml -lm
+# Rule to combine objects into a Mac OS X shared library
+$(DYLIBFILE): $(OLIST) $(patsubst %.cc,%.o,$(OBJDIR)/$(CINTFILE))
+ @echo "Making $(SHLIBFILE)"
+ @rm -f $(SHLIBFILE)
+ @$(CC) $(addprefix $(OBJDIR)/,$(OLIST) $(patsubst
%.cc,%.o,$(CINTFILE))) \
+ -dynamiclib -single_module -undefined dynamic_lookup \
+ -o $(subst .dylib,.$(MAJOR).$(MINOR).dylib,$@) \
+ -install_name $(subst $(LIBDIR),@PREFIX@/lib/root,$(subst
.dylib,.$(MAJOR).dylib,$@)) \
+ -compatibility_version $(MAJOR) -current_version
$(MAJOR).$(MINOR).$(REVIS) \
+
# Useful build targets
lib: $(LIBFILE)
shlib: $(SHLIBFILE)
winlib: $(DLLIBFILE)
+dylib: $(DYLIBFILE) $(SHLIBFILE)
clean:
rm -f $(OBJDIR)/*
rm -f $(INCDIR)/*
rm -f $(LIBFILE)
rm -f $(SHLIBFILE)
rm -f $(DLLIBFILE)
+ rm -f $(DYLIBFILE)
-.PHONY : winlib shlib lib default clean
+.PHONY : dylib winlib shlib lib default clean
-include $(addprefix $(INCDIR)/,$(DLIST))
--- NEW FILE: roofitmodels.patch ---
--- RooFitModels.orig/GNUmakefile.standalone 2005-04-04 08:00:05.000000000
-0700
+++ RooFitModels.new/GNUmakefile.standalone 2005-06-08 18:00:01.000000000
-0700
@@ -36,6 +36,7 @@
# lib - make libRooFitModels.a #
# shlib - make libRooFitModels.so #
# winlib - make libRooFitModels.dll (for CygWin) #
+ # dylib - make libRooFitCore.dylib (for Mac OS X) #
# clean - delete all intermediate and final build objects #
# #
#############################################################################
@@ -53,21 +54,24 @@
# Internal configuration
PACKAGE=RooFitModels
-LD_LIBRARY_PATH:=$(ROOTSYS)/lib:$(LD_LIBRARY_PATH)
+MAJOR = $(shell echo @VERSION@ | awk -F "." '{printf("%d",$$1)}')
+MINOR = $(shell echo @VERSION@ | awk -F "." '{printf("%d",$$2)}')
+REVIS = $(shell echo @VERSION@ | awk -F "." '{printf("%d",$$3)}')
+
OBJDIR=$(WORKDIR)/objects/
INCDIR=$(WORKDIR)/$(PACKAGE)/
VPATH=$(INCDIR) $(OBJDIR)
-INCLUDES += -I.. -I$(WORKDIR)/ -I$(ROOTSYS)/include
-I$(PWD)/../RooFitCore/$(WORKDIR)
-ROOTSYS ?= ERROR_RootSysIsNotDefined
+INCLUDES += -I.. -I$(WORKDIR)/ $(shell root-config --cflags)
-I$(PWD)/../RooFitCore/$(WORKDIR)
RDLLIST = $(filter-out $(PACKAGE)_LinkDef.rdl,$(wildcard *.rdl))
CINTFILE = $(PACKAGE)Cint.cc
CINTOBJ = $(PACKAGE)Cint.o
LIBFILE = $(LIBDIR)/lib$(PACKAGE).a
SHLIBFILE = $(LIBDIR)/lib$(PACKAGE).so
DLLIBFILE = $(LIBDIR)/lib$(PACKAGE).dll
+DYLIBFILE = $(LIBDIR)/lib$(PACKAGE).dylib
-default: shlib
+default: dylib
# List of all includes files to copy from rdl
HHLIST=$(patsubst %.rdl,%.hh,$(RDLLIST))
@@ -102,7 +106,7 @@
@mkdir -p $(INCDIR)
@mkdir -p $(OBJDIR)
@echo "Running rootcint"
- @cd $(INCDIR) ; $(ROOTSYS)/bin/rootcint -f $(CINTFILE) -c $(INCLUDES)
$(HHLIST)
+ @cd $(INCDIR) ; rootcint -f $(CINTFILE) -c $(INCLUDES) $(HHLIST)
@echo "Compiling $(CINTFILE)"
@$(CC) $(CCFLAGS) -c $(INCDIR)/$(CINTFILE) -o $(OBJDIR)/$(CINTOBJ)
$(INCLUDES)
@@ -117,7 +121,7 @@
$(SHLIBFILE): $(OLIST) $(patsubst %.cc,%.o,$(OBJDIR)/$(CINTFILE))
@echo "Making $(SHLIBFILE)"
@rm -f $(SHLIBFILE)
- @$(CC) $(addprefix $(OBJDIR)/,$(OLIST) $(patsubst
%.cc,%.o,$(CINTFILE))) -shared -o $(SHLIBFILE)
+ @$(CC) $(addprefix $(OBJDIR)/,$(OLIST) $(patsubst
%.cc,%.o,$(CINTFILE))) -bundle -undefined dynamic_lookup -o $(SHLIBFILE)
# Rule to combine objects into a windows shared library
$(DLLIBFILE): $(OLIST) $(patsubst %.cc,%.o,$(OBJDIR)/$(CINTFILE))
@@ -125,17 +129,29 @@
@rm -f $(DLLIBFILE)
$(CC) -Wl,--export-all-symbols -Wl,--export-dynamic
-Wl,--enable-auto-import -Wl,-Bdynamic -shared --enable-auto-image-base
-Wl,-soname -o $(DLLIBFILE) -Wl,--whole-archive $(addprefix $(OBJDIR)/,$(OLIST)
$(patsubst %.cc,%.o,$(CINTFILE))) -Wl,--no-whole-archive -L$(ROOTSYS)/lib
-lCore -lCint -lHist -lGraf -lGraf3d -lTree -lRint -lPostscript -lMatrix
-lMinuit -lPhysics -lHtml -lm -L$(PWD)/../RooFitCore/tmp -lRooFitCore
+# Rule to combine objects into a Mac OS X shared library
+$(DYLIBFILE): $(OLIST) $(patsubst %.cc,%.o,$(OBJDIR)/$(CINTFILE))
+ @echo "Making $(SHLIBFILE)"
+ @rm -f $(SHLIBFILE)
+ @$(CC) $(addprefix $(OBJDIR)/,$(OLIST) $(patsubst
%.cc,%.o,$(CINTFILE))) \
+ -dynamiclib -single_module -undefined dynamic_lookup \
+ -o $(subst .dylib,.$(MAJOR).$(MINOR).dylib,$@) \
+ -install_name $(subst $(LIBDIR),@PREFIX@/lib/root,$(subst
.dylib,.$(MAJOR).dylib,$@)) \
+ -compatibility_version $(MAJOR) -current_version
$(MAJOR).$(MINOR).$(REVIS) \
+
# Useful build targets
lib: $(LIBFILE)
shlib: $(SHLIBFILE)
winlib: $(DLLIBFILE)
+dylib: $(DYLIBFILE) $(SHLIBFILE)
clean:
rm -f $(OBJDIR)/*
rm -f $(INCDIR)/*
rm -f $(LIBFILE)
rm -f $(SHLIBFILE)
rm -f $(DLLIBFILE)
+ rm -f $(DYLIBFILE)
-.PHONY : winlib shlib lib default clean
+.PHONY : dylib winlib shlib lib default clean
-include $(addprefix $(INCDIR)/,$(DLIST))
--- NEW FILE: roofitmodels.info ---
Info2: <<
Package: roofitmodels-%type_pkg[root_version]
Type: root_version (root4)
Description: Models of physics event distributions
DescDetail: <<
This package provides contributed PDFs (Probability Density Functions)
and other functions to be used with the RooFitCore tools. The
RooFit tools are integrated with the object-oriented and interactive
ROOT graphical environment.
RooFit has been developed for the BaBar collaboration, a high energy
physics experiment at the Stanford Linear Accelerator Center, and is
primarily targeted to the high-energy physicists using the ROOT
analysis environment, but the general nature of the package make it
suitable for adoption in different disciplines as well.
<<
Homepage: http://roofit.sourceforge.net
Version: 1.09.02
Revision: 52
Maintainer: Remi Mommsen <[EMAIL PROTECTED]>
GCC: 3.3
BuildDependsOnly: false
Depends: <<
%N-shlibs (=%v-%r),
%type_raw[root_version] | %type_raw[root_version]-cernlib,
roofitcore-%type_raw[root_version] (>=%v)
<<
Conflicts: roofitmodels, roofitmodels4, roofitmodels-root3, roofitmodels-root4
Replaces: roofitmodels, roofitmodels4, roofitmodels-root3, roofitmodels-root4
License: BSD
Source: mirror:sourceforge:roofit/RooFitModels_V01-09-02.tgz
Source-MD5: 36b98550c2ec47d38bdf84ba1878acef
SourceDirectory: RooFitModels
PatchScript: sed 's|@PREFIX@|%p|g' <%a/roofitmodels.patch | sed
's|@VERSION@|%v|g' | patch -p1
NoSetPATH: true
CompileScript: make -f GNUmakefile.standalone
InstallScript: <<
mkdir -p %i/lib/root
install -m 644 tmp/libRooFitModels.so %i/lib/root
ln -s libRooFitModels.1.9.dylib %i/lib/root/libRooFitModels.dylib
mkdir -p %i/include/root/RooFitModels
install -m 644 tmp/RooFitModels/*.hh %i/include/root/RooFitModels
<<
DescPackaging: <<
This package has a somewhat unorthodox split-off due to the fact that
root relies on a C++ interpreter. Thus the header files are needed to
run root interactively and it does not make sense to single the header
files out into another split-off (roofitmodels-dev for example) which
cannot be declared BuildDependsOnly anyway.
<<
SplitOff: <<
Package: %N-shlibs
Description: Shared libs of RooFitModels built against
%type_raw[root_version]
Depends: <<
%type_raw[root_version]-shlibs | %type_raw[root_version]-cernlib-shlibs,
roofitcore-%type_raw[root_version]-shlibs (>=%v)
<<
Conflicts: roofitmodels-shlibs, roofitmodels4-shlibs,
roofitmodels-root3-shlibs, roofitmodels-root4-shlibs
Replaces: roofitmodels-shlibs, roofitmodels4-shlibs,
roofitmodels-root3-shlibs, roofitmodels-root4-shlibs
InstallScript: <<
mkdir -p %i/lib/root
install -m 644 tmp/libRooFitModels.*.dylib %i/lib/root
ln -s libRooFitModels.1.9.dylib %i/lib/root/libRooFitModels.1.dylib
<<
Shlibs: <<
%p/lib/root/libRooFitModels.1.dylib 1.0.0
roofitmodels-%type_raw[root_version] (>=1.00.03-1)
<<
<<
<<
--- NEW FILE: roofitcore.info ---
Info2: <<
Package: roofitcore-%type_pkg[root_version]
Type: root_version (root4)
Description: Toolkit for modeling physics event distributions
DescDetail: <<
The core package provides tools to perform likelihood fits, produce
plots, and generate "toy Monte Carlo" samples for various physics studies. The
RooFit tools are integrated with the object-oriented and interactive
ROOT graphical environment.
RooFit has been developed for the BaBar collaboration, a high energy
physics experiment at the Stanford Linear Accelerator Center, and is
primarily targeted to the high-energy physicists using the ROOT
analysis environment, but the general nature of the package make it
suitable for adoption in different disciplines as well.
<<
Homepage: http://roofit.sourceforge.net
Version: 1.09.02
Revision: 53
Maintainer: Remi Mommsen <[EMAIL PROTECTED]>
GCC: 3.3
BuildDependsOnly: false
Depends: <<
%N-shlibs (=%v-%r),
%type_raw[root_version] | %type_raw[root_version]-cernlib
<<
Conflicts: roofitcore, roofitcore4, roofitcore-root3, roofitcore-root4
Replaces: roofitcore, roofitcore4, roofitcore-root3, roofitcore-root4
Recommends: roofitmodels-%type_raw[root_version]
License: BSD
Source: mirror:sourceforge:roofit/RooFitCore_V01-09-02.tgz
Source-MD5: 2c8aa905feab8bfaa1b58e1a4c55d39b
SourceDirectory: RooFitCore
PatchScript: sed 's|@PREFIX@|%p|g' <%a/roofitcore.patch | sed
's|@VERSION@|%v|g' | patch -p1
NoSetPATH: true
CompileScript: make -f GNUmakefile.standalone
InstallScript: <<
mkdir -p %i/lib/root
install -m 644 tmp/libRooFitCore.so %i/lib/root
ln -s libRooFitCore.1.9.dylib %i/lib/root/libRooFitCore.dylib
mkdir -p %i/include/root/RooFitCore
install -m 644 tmp/RooFitCore/*.hh %i/include/root/RooFitCore
<<
DescPackaging: <<
This package has a somewhat unorthodox split-off due to the fact that
root relies on a C++ interpreter. Thus the header files are needed to
run root interactively and it does not make sense to single the header
files out into another split-off (roofitcore-dev for example) which
cannot be declared BuildDependsOnly anyway.
<<
SplitOff: <<
Package: %N-shlibs
Description: Shared libs of RooFitCore built against %type_raw[root_version]
Depends: %type_raw[root_version]-shlibs |
%type_raw[root_version]-cernlib-shlibs
Conflicts: roofitcore-shlibs, roofitcore4-shlibs, roofitcore-root3-shlibs,
roofitcore-root4-shlibs
Replaces: roofitcore-shlibs, roofitcore4-shlibs, roofitcore-root3-shlibs,
roofitcore-root4-shlibs
InstallScript: <<
mkdir -p %i/lib/root
install -m 644 tmp/libRooFitCore.*.dylib %i/lib/root
ln -s libRooFitCore.1.9.dylib %i/lib/root/libRooFitCore.1.dylib
<<
Shlibs: <<
%p/lib/root/libRooFitCore.1.dylib 1.0.0
roofitcore-%type_raw[root_version] (>=1.00.03-1)
<<
<<
<<
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits