r47273 - in /packages/R/r-cran-spdep/trunk/debian: changelog copyright patches/patch_from_svn_to_enable_removing_soigraph.patch patches/series watch

tille at users.alioth.debian.org tille at users.alioth.debian.org
Wed Jun 1 23:17:52 UTC 2016


Author: tille
Date: Wed Jun  1 23:17:51 2016
New Revision: 47273

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=47273
Log:
Removed file with non-free license + according patches from SVN

Added:
    packages/R/r-cran-spdep/trunk/debian/patches/patch_from_svn_to_enable_removing_soigraph.patch
Modified:
    packages/R/r-cran-spdep/trunk/debian/changelog
    packages/R/r-cran-spdep/trunk/debian/copyright
    packages/R/r-cran-spdep/trunk/debian/patches/series
    packages/R/r-cran-spdep/trunk/debian/watch

Modified: packages/R/r-cran-spdep/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/debian/changelog?rev=47273&op=diff
==============================================================================
--- packages/R/r-cran-spdep/trunk/debian/changelog	(original)
+++ packages/R/r-cran-spdep/trunk/debian/changelog	Wed Jun  1 23:17:51 2016
@@ -1,6 +1,6 @@
-r-cran-spdep (0.6-4-1) unstable; urgency=low
+r-cran-spdep (0.6-4+dfsg-1) unstable; urgency=low
 
   * Initial release (Closes: #752876).
-  * Upstream clarified licence
+  * Upstream clarified licence, file with non-free license is removed
 
- -- Andreas Tille <tille at debian.org>  Wed, 23 Mar 2016 12:03:26 +0100
+ -- Andreas Tille <tille at debian.org>  Thu, 02 Jun 2016 01:06:17 +0200

Modified: packages/R/r-cran-spdep/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/debian/copyright?rev=47273&op=diff
==============================================================================
--- packages/R/r-cran-spdep/trunk/debian/copyright	(original)
+++ packages/R/r-cran-spdep/trunk/debian/copyright	Wed Jun  1 23:17:51 2016
@@ -2,6 +2,7 @@
 Upstream-Name: spdep
 Upstream-Contact: Roger Bivand <Roger.Bivand at nhh.no>
 Source: http://cran.r-project.org/web/packages/spdep/
+Files-Excluded: */soigraph.c
 
 Files: *
 Copyright: 2008-2014 Roger Bivand,
@@ -120,20 +121,6 @@
  --------------------------------------------------------------------
  */
 
-Files: src/soigraph.c
-Copyright: 2001 Nicholas Lewin-Koh
-License: soigraph
- The subroutines TwoCirclesxx and SubVec are adapted for R and Double
- precision coordinates by Nicholas Lewin-Koh, from Computational
- Geometry in C, Joseph O'Rourke, Cambridge University Press
- (1998). Copyright for those subroutines remains his.
- .
- This code may be freely redistributed in its entirety provided that this
- copyright notice is not removed.
-Remark: The code at:
- http://cs.smith.edu/~orourke/books/ftp.html
- http://cs.smith.edu/~orourke/CGCode/SecondEdition/Ccode2.tar.gz
-
 Files: debian/*
 Copyright: 2014 Andreas Tille <tille at debian.org>
 License: GPL-2+

Added: packages/R/r-cran-spdep/trunk/debian/patches/patch_from_svn_to_enable_removing_soigraph.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/debian/patches/patch_from_svn_to_enable_removing_soigraph.patch?rev=47273&op=file
==============================================================================
--- packages/R/r-cran-spdep/trunk/debian/patches/patch_from_svn_to_enable_removing_soigraph.patch	(added)
+++ packages/R/r-cran-spdep/trunk/debian/patches/patch_from_svn_to_enable_removing_soigraph.patch	Wed Jun  1 23:17:51 2016
@@ -0,0 +1,23 @@
+Origin: Upstream SVN
+Description: Enable removing src/soigraph.c
+
+--- a/src/init.c
++++ b/src/init.c
+@@ -9,7 +9,6 @@ static const R_CMethodDef CEntries[]  =
+     {"compute_gabriel", (DL_FUNC) &compute_gabriel, 7},
+     {"compute_relative", (DL_FUNC) &compute_relative, 7},
+     {"prunemst", (DL_FUNC) &prunemst, 4},
+-    {"compute_soi", (DL_FUNC) &compute_soi, 10},
+     {"gcdist", (DL_FUNC) &gcdist, 5},
+     {"knearneigh", (DL_FUNC) &knearneigh, 7},
+     {NULL, NULL, 0}
+--- a/src/spdep.h
++++ b/src/spdep.h
+@@ -52,7 +52,6 @@ void dfs(SEXP nblst, SEXP cmpnm, SEXP vi
+ void compute_gabriel(int *no_nodes, int *g1, int *g2, int *nogab, int *ngaballoc,  double *nodes_xd, double *nodes_yd);
+ void compute_relative(int *no_nodes, int *g1, int *g2, int *nogab, int *ngaballoc, double *nodes_xd, double *nodes_yd);
+ void prunemst(int *e1, int *e2, int *ne, int *gr);
+-void compute_soi(int *no_nodes, int *g1, int *g2, int *noedges, int *noneigh, int *neigh, int *nearneigh, double *rad, double *nodes_xd, double *nodes_yd);
+ 
+ void gcdist(double *lon1, double *lon2, double *lat1, double *lat2, double *dist);
+ void knearneigh(int *kin, int *pnte, int *p, double *test, int *res, double *dists, int *lonlat);

Modified: packages/R/r-cran-spdep/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/debian/patches/series?rev=47273&op=diff
==============================================================================
--- packages/R/r-cran-spdep/trunk/debian/patches/series	(original)
+++ packages/R/r-cran-spdep/trunk/debian/patches/series	Wed Jun  1 23:17:51 2016
@@ -1 +1,2 @@
+patch_from_svn_to_enable_removing_soigraph.patch
 use_libjs_mathjax.patch

Modified: packages/R/r-cran-spdep/trunk/debian/watch
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spdep/trunk/debian/watch?rev=47273&op=diff
==============================================================================
--- packages/R/r-cran-spdep/trunk/debian/watch	(original)
+++ packages/R/r-cran-spdep/trunk/debian/watch	Wed Jun  1 23:17:51 2016
@@ -1,2 +1,4 @@
 version=3
-http://cran.r-project.org/src/contrib/spdep_([-\d.]*)\.tar\.gz
+
+opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,repack,compression=xz" \
+  http://cran.r-project.org/src/contrib/spdep_([-\d.]*)\.tar\.gz




More information about the debian-science-commits mailing list