--- plr-8.2.0.7.orig/debian/docs +++ plr-8.2.0.7/debian/docs @@ -0,0 +1,2 @@ +doc/*.html +doc/*.css --- plr-8.2.0.7.orig/debian/control +++ plr-8.2.0.7/debian/control @@ -0,0 +1,24 @@ +Source: plr +Priority: optional +Section: libs +Maintainer: Martin Pitt +Uploaders: Oliver Elphick +Build-Depends: cdbs, debhelper (>= 4.0.0), postgresql-server-dev-8.2, r-base-core +Standards-Version: 3.7.2 + +Package: postgresql-8.2-plr +Architecture: any +Section: libs +Depends: r-base-core, postgresql-8.2, ${shlibs:Depends} +Suggests: r-recommended +Description: Procedural language interface between PostgreSQL 8.2 and R + R is a language and environment for statistical computing and graphics, + providing a wide variety of statistical and graphical techniques (linear and + nonlinear modelling, statistical tests, time series analysis, classification, + clustering, and so on). + . + PostgreSQL is an open source SQL database server. + . + This package provides a procedural language interface to R from + PostgreSQL 8.2. Procedural languages are used to write functions + which can be called in database queries. --- plr-8.2.0.7.orig/debian/rules +++ plr-8.2.0.7/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/debhelper.mk + +LDFLAGS=-Wl,-rpath /usr/lib/R/lib +SHLIB_LINK=-Wl,-rpath /usr/lib/R/lib +export LDFLAGS SHLIB_LINK + +DEB_MAKE_ENVVARS:=USE_PGXS=1 R_HOME=/usr/lib/R +DEB_MAKE_CLEAN_TARGET:=distclean +DEB_MAKE_BUILD_TARGET:=-I/usr/share/R/include PG_CPPFLAGS=-I/usr/share/R/include +DEB_MAKE_INSTALL_TARGET:=USE_PGXS=1 R_HOME=/usr/lib/R install DESTDIR=debian/tmp/ +DEB_DH_INSTALL_ARGS:=--sourcedir=debian/tmp --fail-missing +DEB_DH_MAKESHLIBS_ARGS:=-Xplr --- plr-8.2.0.7.orig/debian/changelog +++ plr-8.2.0.7/debian/changelog @@ -0,0 +1,96 @@ +plr (1:8.2.0.7-1) unstable; urgency=low + + * New upstream release. + * Drop debian/patches/R_HOME_default.patch: Upstream now checks R's + pkg-config for R's home directory and uses it as a default. + + -- Martin Pitt Sun, 16 Sep 2007 14:48:32 +0200 + +plr (1:8.2.0.1-2) unstable; urgency=low + + * Move packaging to cdbs. + * Add debian/patches/R_HOME_default.patch: Fall back to /usr/lib/R if R_HOME + is not defined. This is pretty much a constant in Debian and Ubuntu, and + doing it with an implicit default is much more elegant than hacking in + configuration files. Thanks to Luca Falavigna for this patch! + Closes: #439270 and LP: #130059 + + -- Martin Pitt Fri, 24 Aug 2007 17:42:15 +0200 + +plr (1:8.2.0.1-1) unstable; urgency=low + + * New upstream version, now works with PostgreSQL 8.2. + * Drop the 7.4 and 8.1 packages, only build 8.2 extension. + * Greatly simplify the build scripts to only build one version of the + extension. + * debian/control: Update Standards-Version. + * debian/copyright: Update FSF address and copyright years. + * plr.h: Fix R_PARSEVECTOR macro for new R_ParseVector() API of R 2.5. + + -- Martin Pitt Thu, 19 Apr 2007 23:35:06 +0200 + +plr (1:0.6.2-4) unstable; urgency=low + + * Build on mips and mipsel again, now that the PostgreSQL SIGBUS problem + turned out to be a kernel bug (which is fixed in 2.6.16). + + -- Martin Pitt Sun, 23 Jul 2006 10:21:03 +0200 + +plr (1:0.6.2-3) unstable; urgency=medium + + * Urgency medium since this blocks postgresql-7.4 migration to testing and + only has one important bug fix. + * Do not build packages on mips and mipsel any more, since PostgreSQL does + not currently work on these architectures (see bug #357603). + * debian/rules: Add rpath /usr/lib/R/lib to plr.so libraries so that PL/R + can be created without manual hacking. Closes: #360796 + + -- Martin Pitt Sun, 16 Jul 2006 18:04:54 +0200 + +plr (1:0.6.2-2) unstable; urgency=high + + * Urgency high since this only fixes an RC bug. + * Fix FTBFS. Closes: #356102: + - debian/rules: Fix R include path for 7.4 build. + - debian/Makefile.Debian.7.4: Fix R include path for 8.1 build. + + -- Martin Pitt Mon, 13 Mar 2006 17:35:46 +0100 + +plr (1:0.6.2-1) unstable; urgency=low + + * New upstream version. + * Drop package for PostgreSQL 8.0, build 8.1 package. Closes: #339416 + + -- Martin Pitt Thu, 17 Nov 2005 19:38:03 +0100 + +plr (1:0.6.1-1) unstable; urgency=low + + * New upstream version; orig.tar.gz now contains just the upstream tarball + for easier multi-build. + * Transition to new PostgreSQL architecture. + * debian/control: + - Changed build dependency postgresql-dev to postgresql-server-dev-7.4 and + postgresql-server-dev-8.0. + - Now build packages for 7.4 and 8.0 servers. + + -- Martin Pitt Mon, 6 Jun 2005 17:23:32 +0200 + +plr (1:0.5.3+0.5.4alpha-2) unstable; urgency=high + + * debian/Makefile.Debian: libR.so is now in /usr/lib/R/lib (not in + /usr/lib/R/bin any more), which caused an FTBFS (closes: #278422) + * urgency high since this is an RC bug and nothing else changed + + -- Martin Pitt Wed, 27 Oct 2004 11:31:26 +0200 + +plr (1:0.5.3+0.5.4alpha-1) unstable; urgency=low + + * Separated out of postgresql source package; thus a new epoch had to be + created, postgresql is already at 7.4.1 + * created new Makefile.Debian to allow building outside of the PostgreSQL + source tree + * added depencendy postgresql since this package does not make sense + without it + * now ships documentation stylesheet + + -- Martin Pitt Fri, 16 Jan 2004 22:54:37 +0100 --- plr-8.2.0.7.orig/debian/compat +++ plr-8.2.0.7/debian/compat @@ -0,0 +1 @@ +4 --- plr-8.2.0.7.orig/debian/copyright +++ plr-8.2.0.7/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Martin Pitt on +Wed, 21 Jan 2004 16:04:23 +0100. + +It was downloaded from: http://www.joeconway.com/plr/ + +Upstream Author: Joe Conway + +Copyright: (c) 2003-2006 by Joseph E. Conway + +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 program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- plr-8.2.0.7.orig/debian/install +++ plr-8.2.0.7/debian/install @@ -0,0 +1,3 @@ +usr/lib/postgresql/8.2/lib/*.so /usr/lib/postgresql/8.2/lib +usr/share/doc/postgresql-doc-8.2/contrib/* /usr/share/doc/postgresql-8.2-plr/ +usr/share/postgresql/8.2/contrib/* /usr/share/postgresql/8.2