[r-cran-rinside] 01/01: Added debian/ directory

Jonathon Love jon at thon.cc
Mon Aug 31 16:34:00 UTC 2015


This is an automated email from the git hooks/post-receive script.

jonathon-guest pushed a commit to branch master
in repository r-cran-rinside.

commit 8905397c4dbf786485c0a2fd31cd938de32b84ac
Author: Jonathon Love <jon at thon.cc>
Date:   Mon Aug 31 18:32:42 2015 +0200

    Added debian/ directory
---
 debian/changelog        |  5 +++++
 debian/compat           |  1 +
 debian/control          | 24 ++++++++++++++++++++++++
 debian/copyright        | 34 ++++++++++++++++++++++++++++++++++
 debian/patches/Makevars | 34 ++++++++++++++++++++++++++++++++++
 debian/patches/series   |  1 +
 debian/rules            |  6 ++++++
 debian/source/format    |  1 +
 debian/watch            |  3 +++
 9 files changed, 109 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..b9f4746
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+r-cran-rinside (0.2.13-1) unstable; urgency=low
+
+  * Initial release. (Closes: #797575)
+
+ -- Jonathon Love <jon at thon.cc>  Sat, 29 Aug 2015 19:39:39 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..1def083
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: r-cran-rinside
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Jonathon Love <jon at thon.cc>
+Section: gnu-r
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               cdbs,
+               r-base-dev,
+               r-cran-rcpp (>= 0.11.0)
+Standards-Version: 3.9.6
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/r-cran-rinside.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/r-cran-rinside.git
+Homepage: http://dirk.eddelbuettel.com/code/rinside.html
+
+Package: r-cran-rinside
+Architecture: any
+Depends: ${R:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends},
+         r-base,
+         r-cran-rcpp (>= 0.11.0)
+Description: GNU R package providing C++ classes to embed R in C++ applications
+ The r-cran-rinside package is a GNU R package providing C++ classes to
+ embed R in C++ applications.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7898ada
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: RInside
+Upstream-Contact: Dirk Eddelbuettel <edd at debian.org>
+Source: http://cran.r-project.org/web/packages/RInside
+
+Files: *
+Copyright: 2009-2015 Dirk Eddelbuettel, Romain Francois
+License: GPL-2+
+
+Files: debian/*
+Copyright: 2015 Jonathon Love <jon at thon.cc>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE.  See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/patches/Makevars b/debian/patches/Makevars
new file mode 100644
index 0000000..f0d7eec
--- /dev/null
+++ b/debian/patches/Makevars
@@ -0,0 +1,34 @@
+
+From: Jonathon Love <jon at thon.cc>
+
+Description: Fixed build process to use "dpkg-buildflags" (and prevent lint warning)
+ Upstream is not interested
+
+Author: Jonathon Love <jon at thon.cc>
+
+Forwarded: http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2015-August/008931.html
+
+Index: r-cran-rinside/src/Makevars
+===================================================================
+--- r-cran-rinside.orig/src/Makevars
++++ r-cran-rinside/src/Makevars
+@@ -21,6 +21,10 @@ USERLIB=libRInside$(DYLIB_EXT)
+ USERLIBST=libRInside.a
+ USERDIR=../inst/lib
+ 
++ifneq ("$(wildcard /usr/bin/dpkg-buildflags)", "")
++HARDEN_FLAGS=$(shell dpkg-buildflags --get LDFLAGS)
++endif
++
+ PKG_CPPFLAGS = -I. -I../inst/include/
+ PKG_LIBS = 
+ 
+@@ -43,7 +47,7 @@ userLibrary: $(USERLIB) $(USERLIBST)
+ 	rm $(USERLIB) $(USERLIBST)
+ 
+ $(USERLIB): $(OBJECTS)
+-	$(SHLIB_CXXLD) -o $(USERLIB) $^ $(SHLIB_CXXLDFLAGS) $(ALL_LIBS)
++	$(SHLIB_CXXLD) $(HARDEN_FLAGS) -o $(USERLIB) $^ $(SHLIB_CXXLDFLAGS) $(ALL_LIBS)
+ 	@if test -e "/usr/bin/install_name_tool"; then /usr/bin/install_name_tool -id $(R_PACKAGE_DIR)/lib$(R_ARCH)/$(USERLIB) $(USERLIB); fi
+ 
+ $(USERLIBST): $(OBJECTS)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cca2bc0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Makevars
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fde3d31
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+include /usr/share/R/debian/r-cran.mk
+
+
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f7082b0
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://cran.r-project.org/src/contrib/RInside_([\d\.-]*).tar.gz
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-rinside.git



More information about the debian-science-commits mailing list