--- rcpp-0.9.0.orig/DESCRIPTION +++ rcpp-0.9.0/DESCRIPTION @@ -44,4 +44,4 @@ License: GPL (>= 2) BugReports: http://r-forge.r-project.org/tracker/?atid=637&group_id=155&func=browse MailingList: Please send questions and comments regarding Rcpp to rcpp-devel@lists.r-forge.r-project.org -Packaged: 2010-12-20 00:40:07.608022 UTC; edd + --- rcpp-0.9.0.orig/.Rbuildignore +++ rcpp-0.9.0/.Rbuildignore @@ -0,0 +1,5 @@ +debian +inst/doc/html +inst/doc/latex +inst/doc/man +build --- rcpp-0.9.0.orig/debian/r-cran-rcpp.lintian-overrides +++ rcpp-0.9.0/debian/r-cran-rcpp.lintian-overrides @@ -0,0 +1,64 @@ +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.RObject.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.XPTr.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.environments.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.evaluator.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.exceptions.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.RObject.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.XPTr.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.environments.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.evaluator.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.exceptions.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/examples/ConvolveBenchmarks/convolve2.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/examples/ConvolveBenchmarks/exampleRCode.r +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.CharacterVector.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.ComplexVector.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.ExpressionVector.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Function.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.GenericVector.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.IntegerVector.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Language.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.NumericVector.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Pairlist.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.RawVector.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.S4.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Symbol.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.as.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.wrap.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/discovery/cxx0x.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.RcppDate.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.RcppDatetime.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.RcppMatrix.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.RcppMatrixView.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.RcppParams.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.RcppResultSet.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.RcppVector.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.RcppVectorView.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.clone.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.traits.R +r-cran-rcpp: script-uses-bin-env ./usr/lib/R/site-library/Rcpp/discovery/cxx0x.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Column.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Matrix.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Row.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.macros.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Argument.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.RcppFrame.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Vector.create.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.DataFrame.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Dimension.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Formula.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.client.package.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Module.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.complex.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Date.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Datetime.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.sugar.R +r-cran-rcpp: executable-not-elf-or-script ./usr/lib/R/site-library/Rcpp/examples/SugarPerformance/sugarBenchmarks.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.RcppMisc.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Vector.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.misc.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.stats.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/examples/ConvolveBenchmarks/buildAndRun.sh +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/examples/ConvolveBenchmarks/overhead.r +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/examples/functionCallback/buildAndRun.sh +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.Module.client.package.R +r-cran-rcpp: script-not-executable ./usr/lib/R/site-library/Rcpp/unitTests/runit.modref.R --- rcpp-0.9.0.orig/debian/watch +++ rcpp-0.9.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://cran.r-project.org/src/contrib/Rcpp_([-\d\.]*)\.tar.gz --- rcpp-0.9.0.orig/debian/changelog +++ rcpp-0.9.0/debian/changelog @@ -0,0 +1,200 @@ +rcpp (0.9.0-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Sun, 19 Dec 2010 18:35:01 -0600 + +rcpp (0.8.9-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Sat, 27 Nov 2010 22:53:27 -0600 + +rcpp (0.8.8-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Mon, 01 Nov 2010 17:16:36 -0500 + +rcpp (0.8.7-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Fri, 15 Oct 2010 05:12:31 -0500 + +rcpp (0.8.6-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Thu, 09 Sep 2010 12:21:21 -0500 + +rcpp (0.8.5-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Sun, 25 Jul 2010 11:34:27 -0500 + +rcpp (0.8.4-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Fri, 09 Jul 2010 09:39:20 -0500 + +rcpp (0.8.3-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Sun, 27 Jun 2010 16:40:23 -0500 + +rcpp (0.8.2-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Wed, 09 Jun 2010 11:03:23 -0500 + +rcpp (0.8.1-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Tue, 08 Jun 2010 05:18:34 -0500 + +rcpp (0.8.0-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Mon, 17 May 2010 06:41:54 -0500 + +rcpp (0.7.12-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Fri, 16 Apr 2010 06:23:46 -0500 + +rcpp (0.7.11-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Fri, 26 Mar 2010 15:14:58 -0500 + +rcpp (0.7.10-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Mon, 15 Mar 2010 14:58:40 -0500 + +rcpp (0.7.9-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Fri, 12 Mar 2010 12:25:52 -0600 + +rcpp (0.7.8-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Tue, 09 Mar 2010 11:39:12 -0600 + +rcpp (0.7.7-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Sun, 14 Feb 2010 11:53:46 -0600 + +rcpp (0.7.6-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Fri, 12 Feb 2010 21:50:34 -0600 + +rcpp (0.7.5-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Mon, 08 Feb 2010 09:36:13 -0600 + +rcpp (0.7.4-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Sat, 30 Jan 2010 14:36:24 -0600 + +rcpp (0.7.3-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Thu, 21 Jan 2010 20:42:07 -0600 + +rcpp (0.7.2-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Tue, 12 Jan 2010 20:41:16 -0600 + +rcpp (0.7.1-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Sat, 02 Jan 2010 15:38:09 -0600 + +rcpp (0.7.0-1) unstable; urgency=low + + * New release + + * debian/control: Added littler to Depends: as examples use it [lintian] + + -- Dirk Eddelbuettel Sat, 19 Dec 2009 14:18:32 -0600 + +rcpp (0.6.8-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Tue, 10 Nov 2009 07:34:07 -0600 + +rcpp (0.6.7-1) unstable; urgency=low + + * New release + + * debian/control: Updated Standard-Versions: to current version + * debian/control: Updated (Build-)Depends: to current R version + + -- Dirk Eddelbuettel Sun, 08 Nov 2009 19:22:53 -0600 + +rcpp (0.6.6-1) unstable; urgency=low + + * New release + + * debian/control: Updated Standard-Versions: to current version + * debian/control: Updated (Build-)Depends: to current R version + + -- Dirk Eddelbuettel Mon, 03 Aug 2009 14:55:48 -0500 + +rcpp (0.6.5-1) unstable; urgency=low + + * New release + + * COPYING: Added license file (Closes: #522202) + + -- Dirk Eddelbuettel Wed, 01 Apr 2009 21:34:33 -0500 + +rcpp (0.6.4-1) unstable; urgency=low + + * New release + + * debian/r-cran-rcpp.lintian-overrides: Added to suppress lintian + warnings over Doxygen-generated png files + + -- Dirk Eddelbuettel Sun, 01 Mar 2009 17:41:58 -0600 + +rcpp (0.6.3-1) unstable; urgency=low + + * New release + + -- Dirk Eddelbuettel Fri, 09 Jan 2009 20:41:35 -0600 + +rcpp (0.6.2-1) unstable; urgency=low + + * Initial Debian release (Closes: #507941) + + -- Dirk Eddelbuettel Fri, 05 Dec 2008 19:58:31 -0600 + + --- rcpp-0.9.0.orig/debian/rules +++ rcpp-0.9.0/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# debian/rules file for the Debian/GNU Linux rcpp package +# Copyright 2003-2008 by Dirk Eddelbuettel + +include /usr/share/R/debian/r-cran.mk --- rcpp-0.9.0.orig/debian/copyright +++ rcpp-0.9.0/debian/copyright @@ -0,0 +1,60 @@ +This is the Debian GNU/Linux r-cran-rcpp package of Rcpp, an +R / C++ interface package. Rcpp was written by Dominick Samperi, +Dirk Eddelbuettel and Romain Francois. + +This package was created by Dirk Eddelbuettel . +The sources were downloaded from the main CRAN site + http://cran.r-project.org/src/contrib/ +and are also available from all CRAN mirrors as e.g. + http://cran.us.r-project.org/src/contrib/ +as well the R-Forge SVN host at + http://r-forge.r-project.org/projects/rcpp/ +via + svn://svn.r-forge.r-project.org/svnroot/rcpp + + +The package was renamed from its upstream name 'Rcpp' to +'r-cran-rcpp' to fit the pattern of CRAN (and non-CRAN) packages for +R. + +Copyright (C) 2005 - 2006 Dominick Samperi +Copyright (C) 2008 Dirk Eddelbuettel +Copyright (C) 2009 - 2010 Dirk Eddelbuettel and Romain Francois + +Portions Copyright (C) 2008 Simon Urbanek +Portions Copyright (C) 2010 Doug Bates +Portions Copyright (C) 2010 John M Chambers + +License: GPL-2 + +On a Debian GNU/Linux system, the GPL license (version 2) is included +in the file /usr/share/common-licenses/GPL-2. + +For reference, the upstream DESCRIPTION file is included below: + + Package: Rcpp + Title: Rcpp R/C++ interface package + Version: 0.7.3 + Date: $Date: 2010-01-18 13:08:15 -0600 (Mon, 18 Jan 2010) $ + Author: Dirk Eddelbuettel and Romain Francois, with contributions + by Simon Urbanek and David Reiss; based on code written during + 2005 and 2006 by Dominick Samperi + Maintainer: Dirk Eddelbuettel + Description: R/C++ interface classes and examples + The Rcpp library maps data types betweeen R and C++, and includes support + for R types real, integer, character, vector, matrix, Date, datetime (i.e. + POSIXct) at microsecond resolution, data frame, and function. Transfer to and + from simple SEXP objects is particular easy. Calling R functions from C++ is + also supported. + . + C++ code can be 'inlined' by using the 'inline' package which will create a + C++ function and compile, link and load it given the 'inlined' character + argument which makes C++ integration very easy. + . + Several examples are included. + Depends: R (>= 2.0.0) + Suggests: inline (>= 0.3.4), RUnit + SystemRequirements: None + URL: http://dirk.eddelbuettel.com/code/rcpp.html, + http://romainfrancois.blog.free.fr/index.php?category/R-package/Rcpp + License: GPL (>= 2) --- rcpp-0.9.0.orig/debian/control +++ rcpp-0.9.0/debian/control @@ -0,0 +1,47 @@ +Source: rcpp +Section: gnu-r +Priority: optional +Maintainer: Dirk Eddelbuettel +Build-Depends: debhelper (>= 7.0.0), r-base-dev (>= 2.12.1), cdbs +Standards-Version: 3.9.1 +Homepage: http://dirk.eddelbuettel.com/code/rcpp.html + +Package: r-cran-rcpp +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, r-base-core (>= 2.12.1), littler +Suggests: r-cran-inline +Description: GNU R package for Seamless R and C++ Integration + The Rcpp package provides a C++ library which facilitates the + integration of R and C++. + . + R data types (SEXP) are matched to C++ objects in a class hierarchy. All R + types are supported (vectors, functions, environment, etc ...) and each + type is mapped to a dedicated class. For example, numeric vectors are + represented as instances of the Rcpp::NumericVector class, environments are + represented as instances of Rcpp::Environment, functions are represented as + Rcpp::Function, etc ... The "Rcpp-introduction" vignette provides a good + entry point to Rcpp. + . + Conversion from C++ to R and back is driven by the templates Rcpp::wrap + and Rcpp::as which are highly flexible and extensible, as documented + in the "Rcpp-extending" vignette. + . + Rcpp also provides Rcpp modules, a framework that allows exposing + C++ functions and classes to the R level. The "Rcpp-modules" vignette + details the current set of features of Rcpp-modules. + . + Rcpp includes a concept called Rcpp sugar that brings many R functions + into C++. Sugar takes advantage of lazy evaluation and expression templates + to achieve great performance while exposing a syntax that is much nicer + to use than the equivalent low-level loop code. The "Rcpp-sugar" vignette + gives an overview of the feature. + . + Several examples are included, and 745 unit tests in 328 unit test functions + provide additional usage examples. + . + An earlier version of Rcpp, containing what we now call the 'classic Rcpp + API' was written during 2005 and 2006 by Dominick Samperi. This code has + been factored out of Rcpp into the package RcppClassic and it is still + available for code relying on this interface. New development should use + this package instead. + --- rcpp-0.9.0.orig/debian/source/format +++ rcpp-0.9.0/debian/source/format @@ -0,0 +1 @@ +1.0 --- rcpp-0.9.0.orig/src/Makevars.win +++ rcpp-0.9.0/src/Makevars.win @@ -1,42 +1,42 @@ -# Emacs please make this -*- mode: makefile; tab-width: 8 -*- -# -# Makefile.win for Rcpp -# -# Copyright (C) 2008 - 2009 Dirk Eddelbuettel -# Copyright (C) 2010 Dirk Eddelbuettel and Romain Francois -# -# Contributions from an older Makefile.win are -# (C) Dominick Samperi and Uwe Ligges and gratefully acknowledged -# -# Contributions from Brian D Ripley are also gratefully acknowledged - -PKG_CPPFLAGS = -I../inst/include/ - -## we place it inside the inst/ directory so that it gets installed by the package -USERDIR = ../inst/lib$(R_ARCH) -STATICLIB = libRcpp.a -USERLIB = $(USERDIR)/$(STATICLIB) - -## uncomment this to enable c++0x features (experimental) -## CLINK_CPPFLAGS=-std=c++0x - -## the 'package' library contains both Rcpp.{cpp,h} and the RcppExample used to demonstrate the package -## it is loaded via library(Rcpp) but is not used for compiling / linking against - -RM = rm -f - -.PHONY: all clean - -all: userlib $(SHLIB) - -clean: - ${RM} $(OBJECTS) $(SHLIB) - -$(USERLIB): $(OBJECTS) - -userlib: $(STATICLIB) - -mkdir -p $(USERDIR) - -mv $(STATICLIB) $(USERLIB) - -$(STATICLIB): $(OBJECTS) - +# Emacs please make this -*- mode: makefile; tab-width: 8 -*- +# +# Makefile.win for Rcpp +# +# Copyright (C) 2008 - 2009 Dirk Eddelbuettel +# Copyright (C) 2010 Dirk Eddelbuettel and Romain Francois +# +# Contributions from an older Makefile.win are +# (C) Dominick Samperi and Uwe Ligges and gratefully acknowledged +# +# Contributions from Brian D Ripley are also gratefully acknowledged + +PKG_CPPFLAGS = -I../inst/include/ + +## we place it inside the inst/ directory so that it gets installed by the package +USERDIR = ../inst/lib$(R_ARCH) +STATICLIB = libRcpp.a +USERLIB = $(USERDIR)/$(STATICLIB) + +## uncomment this to enable c++0x features (experimental) +## CLINK_CPPFLAGS=-std=c++0x + +## the 'package' library contains both Rcpp.{cpp,h} and the RcppExample used to demonstrate the package +## it is loaded via library(Rcpp) but is not used for compiling / linking against + +RM = rm -f + +.PHONY: all clean + +all: userlib $(SHLIB) + +clean: + ${RM} $(OBJECTS) $(SHLIB) + +$(USERLIB): $(OBJECTS) + +userlib: $(STATICLIB) + -mkdir -p $(USERDIR) + -mv $(STATICLIB) $(USERLIB) + +$(STATICLIB): $(OBJECTS) + --- rcpp-0.9.0.orig/inst/examples/ConvolveBenchmarks/buildAndRun.sh +++ rcpp-0.9.0/inst/examples/ConvolveBenchmarks/buildAndRun.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +rm -f *.o *.so + +# build the shared library for the C variant +R CMD SHLIB convolve2_c.c +R CMD SHLIB convolve7_c.c + +# build the shared library for the C++ variant +# we have to let R know where the Rcpp header and library are +export PKG_CPPFLAGS=`Rscript -e "Rcpp:::CxxFlags()"` +export PKG_LIBS=`Rscript -e "Rcpp:::LdFlags()"` +R CMD SHLIB convolve3_cpp.cpp +R CMD SHLIB convolve4_cpp.cpp +R CMD SHLIB convolve5_cpp.cpp +R CMD SHLIB convolve8_cpp.cpp +R CMD SHLIB convolve9_cpp.cpp +R CMD SHLIB convolve10_cpp.cpp +R CMD SHLIB convolve11_cpp.cpp +R CMD SHLIB convolve12_cpp.cpp +R CMD SHLIB convolve14_cpp.cpp + +# call R so that we get an interactive session +Rscript exampleRCode.r +