[rkward/releases/0.6.4] debian-official: Add "official" debian packaging in a separate directory.

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Fri Dec 11 19:45:23 UTC 2015


Git commit c527f58d2d4b7c9c005e3f5b404240b8085f45a0 by Thomas Friedrichsmeier.
Committed on 11/12/2015 at 16:55.
Pushed by tfry into branch 'releases/0.6.4'.

Add "official" debian packaging in a separate directory.

(Keeping it in a separate branch orthogonal to release/master branches seems too twisted for my poor brain).

A  +469  -0    debian-official/changelog
A  +1    -0    debian-official/compat
A  +25   -0    debian-official/control
A  +79   -0    debian-official/copyright
A  +2    -0    debian-official/dirs
A  +2    -0    debian-official/docs
A  +1    -0    debian-official/rkward.menu
A  +146  -0    debian-official/rules
A  +4    -0    debian-official/watch

http://commits.kde.org/rkward/c527f58d2d4b7c9c005e3f5b404240b8085f45a0

diff --git a/debian-official/changelog b/debian-official/changelog
new file mode 100644
index 0000000..65f7181
--- /dev/null
+++ b/debian-official/changelog
@@ -0,0 +1,469 @@
+rkward (0.6.4-1) unstable; urgency=low
+  * new upstream release
+  * remove obsolete README.Debian file
+  * now uses QtWebKit module, adjust build-depends, accordingly (in a way that is
+    backwards compatible with Ubuntu Lucid)
+  * Make build reproducible (thanks to Philip Rinn)
+    closes: #783290
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Wed, 16 Dec 2015 10:30:00 +0100
+
+rkward (0.6.3-1) unstable; urgency=low
+  * new upstream release
+  * Ajdust to move of homepage to rkward.kde.org, and vcs to git.kde.org
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Sat, 07 Mar 2015 13:30:00 +0100
+
+rkward (0.6.2~rc1-2) unstable; urgency=low
+
+  * bump standards version to 3.9.6 (no changes needed)
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Fri, 17 Oct 2014 10:30:00 +0100
+
+rkward (0.6.2~rc1-1) unstable; urgency=low
+
+  * new upstream release
+  * avoid duplicate cmake run during build
+  * upstream increased lowest supported R version to 2.8.0
+  * bump standards version to 3.9.4 (no changes needed)
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Thu, 16 Oct 2014 13:30:00 +0100
+
+rkward (0.6.1-1) unstable; urgency=low
+
+  * upstream release 0.6.1-rc1 was made available as 0.6.1 without changes
+  * new upload to build against R 3.0.0 on most architectures
+  * when built against r-base-core >= 3.0.0, depend on r-base-core <= 3.0.0
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Thu, 07 May 2013 12:30:00 +0100
+
+rkward (0.6.1~rc1-1) unstable; urgency=low
+
+  * new upstream release
+  * re-add Vcs-Browser field
+  * fix year in changelog (previous upload had 2012 instead of 2013)
+  * add runtime dependency on r-base-core < 3.0.0 unless compiled with >= 3.0.0
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Thu, 28 Mar 2013 09:30:00 +0100
+
+rkward (0.6.0-3) unstable; urgency=low
+
+  * correctly treat -pre releases in debian/watch (thanks to Bart Martens)
+  * remove obsolete DM-Upload-Allowed field
+  * update Vcs-Svn field to changed repository URL
+  * remove Vcs-Browser field, as there is no useful repository browser, ATM
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Tue, 15 Jan 2012 12:30:00 +0100
+
+rkward (0.6.0-2) unstable; urgency=low
+
+  * make sure to include CPPFLAGS and LDFLAGS in call to cmake
+  * correct path to qwinhost files in debian/copyright
+  * correct syntax in debian/copyright (thanks to Laszlo Kajan)
+  
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Sat, 24 Nov 2012 14:15:00 +0200
+
+rkward (0.6.0-1) unstable; urgency=low
+
+  * new upstream release
+  * remove support for building on Ubuntu hardy
+  * more accurate copyright file
+    closes: #689982
+  * bump standards version to 3.9.4 (no changes needed)
+  * Add Vcs-Browser and Vcs-Svn fields
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Wed, 24 Oct 2012 15:30:00 +0200
+
+rkward (0.5.7-2) unstable; urgency=low
+
+  * new upload to force rebuild against R 2.14.0~x on i386
+    closes: #646047 (failure to load rkward package)
+  * add dependency on r-base-core < 2.14 if built against R < 2.14.0
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Tue, 25 Oct 2011 14:30:00 +0200
+
+rkward (0.5.7-1) unstable; urgency=low
+
+  * new upstream release
+  * provide build-arch and build-indep targets
+  * include buildflags as instructed by the dpkg developers
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Sun, 23 Oct 2011 15:30:00 +0200
+
+rkward (0.5.6-1) unstable; urgency=low
+
+  * new upstream release
+  * remove empty directory removal rkwardtests/inst. Now fixed upstream.
+  * remove man page links to rkward.bin and rkward.rbackend. These
+    auxiliary binaries are no longer installed in the system path.
+  * remove debian man page. Man page is now supplied upstream.
+  * drop explicit dependency on libphonon-dev.
+  * fix lintian warning "description-synopsis-starts-with-article"
+  * bump standards version to 3.9.2 (no changes needed)
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Tue, 30 May 2011 15:30:00 +0200
+
+rkward (0.5.5-2) unstable; urgency=low
+
+  * Remove empty directory rkwardtests/inst
+    fixes FTBFS with (the current alpha of) R 2.13.0
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Tue, 20 Mar 2011 14:30:00 +0200
+
+rkward (0.5.5-1) unstable; urgency=low
+
+  * new upstream release
+  * add man-page link for new binary rkward.rbackend
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Tue, 15 Mar 2011 14:30:00 +0200
+
+rkward (0.5.4-1) unstable; urgency=low
+
+  * new upstream release
+  * bump standards version to 3.9.1 (no changes needed)
+  * no more need to remove svncopy.sh-script in rules
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Mon, 04 Oct 2010 14:30:00 +0200
+
+rkward (0.5.3-2) unstable; urgency=low
+
+  * correct usage of hyphens vs. minus signs in the man page
+  * correct the watch file
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Fri, 07 May 2010 14:30:00 +0200
+
+rkward (0.5.3-1) unstable; urgency=low
+
+  * new upstream release
+    closes: #556321 (failed to link against thread-library, explicitly)
+  * add watch file (thanks to Julien Lavergne and Scott Howard)
+    closes: #569114
+  * remove svncopy.sh-script included in upstream release tarball by accident
+  * remove obsolete runtime dependency on php5-cli
+  * add dependency on ${misc:Depends} as recommended by debhelper
+  * bump standards version to 3.8.4 (no changes needed)
+  * add Homepage field
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Fri, 30 Apr 2010 14:30:00 +0200
+
+rkward (0.5.2-1) unstable; urgency=low
+
+  * new upstream release
+    closes: #551306 (added support for the new dynamic help system)
+  * Add "DM-Upload-Allowed: yes" in control
+  * bump standards version to 3.8.3 (no changes needed)
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Mon, 26 Oct 2009 14:30:00 +0200
+
+rkward (0.5.1-2) unstable; urgency=low
+
+  * drop alternative depend on php4-cli as this is no longer part of any
+    current debian based distribution
+  * more accurate detection of patch-needing Ubuntu
+    Hardy systems (thanks to Meik Michalke)
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Tue, 18 Aug 2009 14:30:00 +0200
+
+rkward (0.5.1-1) unstable; urgency=low
+
+  * new upstream release
+  * bump standards version to 3.8.2 (no changes needed)
+  * dropped notice on development status from description
+  * added notice on differing copyright and additional
+    LGPL licence of some files
+  * better version detection (thanks to Meik Michalke)
+  * added conditional patch to support Ubuntu hardy (thanks to Meik Michalke)
+  * decrease debhelper compat level to 6, in order to support Ubuntu hardy
+  * revert to using dh_clean -k in order to comply with compat level 6
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Tue, 04 Aug 2009 14:30:00 +0200
+
+rkward (0.5.0d-3) unstable; urgency=low
+
+  * build-depend on libx11-dev
+    closes: #529024
+  * use dh_prep instead of deprecated dh_clean -k
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Mon, 19 May 2009 14:30:00 +0200
+
+rkward (0.5.0d-2) unstable; urgency=low
+
+  * bumped standards version to 3.8.1
+  * increased debhelper compat-level to 7
+  * upload to unstable (repeat closes because 0.5.0d-1 was not uploaded)
+    closes: #520969
+    closes: #491110
+    closes: #501649
+    closes: #527649 (included missing Rdevices.h; actually fixed in 0.5.0c)
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Sun, 11 May 2009 14:30:00 +0200
+
+rkward (0.5.0d-1) unstable; urgency=low
+
+  * new upstream release
+  * upload to unstable (repeat closes because 0.5.0c-1 was not uploaded)
+    closes: #520969
+    closes: #491110
+    closes: #501649
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Sun, 10 May 2009 21:30:00 +0200
+
+rkward (0.5.0c-1) experimental; urgency=low
+
+  * new upstream release
+    closes: #520969 (added support for R 2.9.0)
+  * query kde4-config to set the correct installation paths
+    closes: #491110 (resource files were not found)
+    closes: #501649 (plugin files were not found)
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Wed, 30 Mar 2009 20:30:00 +0200
+
+rkward (0.5.0b-1) unstable; urgency=low
+
+  * new upstream release
+    closes: #475175
+    closes: #463348
+    closes: #475982
+    closes: #455709
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Sun, 20 Apr 2008 21:30:00 +0200
+
+rkward (0.5.0a-1) experimental; urgency=low
+
+  * new upstream release
+  * remove some obsolete comments in rules
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Wed, 23 Jan 2008 16:30:00 +0200
+
+rkward (0.5.0-1) experimental; urgency=low
+
+  * new upstream release
+    closes: #455709
+  * adjusted to build with KDE4 libraries / CMake
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Mon, 21 Jan 2008 20:30:00 +0200
+
+rkward (0.4.9a-1) unstable; urgency=low
+
+  * new upstream release
+    closes: #475175
+    closes: #463348
+    closes: #475982
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Sun, 20 Apr 2008 21:30:00 +0200
+
+rkward (0.4.9-2) unstable; urgency=low
+
+  * remove --ignore-missing-info parameter again (dpkg-shlibdeps 1.14.12 
+    does not need it, anymore)
+  * when uploaded to main archive, this
+    closes: #460745
+  * bumped standards to 3.7.3 (no changes necessary)
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Wed, 16 Jan 2008 17:30:00 +0200
+
+rkward (0.4.9-1) unstable; urgency=low
+
+  * new upstream release
+  * add --ignore-missing-info paramater to dpkg-shlibdeps, as libR.so will not be found
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Mon, 14 Jan 2008 20:30:00 +0200
+
+rkward (0.4.8a-2) unstable; urgency=low
+
+  * quote the R CMD config calls, as they may also contain compiler arguments 
+    (thanks to Meik Michalke for a patch)
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Thu, 14 Nov 2007 13:30:00 +0200
+
+rkward (0.4.8a-1) unstable; urgency=low
+
+  * new upstream release
+  * document --disable-stack-check and --debugger options in the manual page
+  * use the compilers specified by R CMD config
+    closes: #450618
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Sun, 11 Nov 2007 13:30:00 +0200
+
+rkward (0.4.8-1) unstable; urgency=low
+
+  * new upstream release
+    closes: #417519
+  * adjust rkward.menu to new naming policy
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Wed, 03 Oct 2007 13:30:00 +0200
+
+rkward (0.4.7a-2) unstable; urgency=low
+
+  * force gcc 4.2 to match r-base-core
+    closes: #432377
+  * merge upstream fix for R 2.6
+    closes: #442059
+  * changed distclean rule in debian/rules to only ignore missing Makefiles 
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Fri, 14 Sep 2007 13:30:00 +0200
+
+rkward (0.4.7a-1) unstable; urgency=low
+
+  * new upstream release
+    closes: #422541
+  * the code to generate the correct r-base-core dependencies should now be POSIX shell compliant
+  * remove unused (and uncommented) dh_* scripts from rules
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Mon, 07 May 2007 13:30:00 +0200
+
+rkward (0.4.7-2) unstable; urgency=low
+
+  * explicitely create installation directory for rkward R package
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Wed, 11 Apr 2007 15:30:00 +0200
+
+rkward (0.4.7-1) unstable; urgency=low
+
+  * new upstream release
+    closes: #415561 (filename completion)
+    closes: #418686 (failure to work with R 2.5.0)
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Wed, 11 Apr 2007 13:30:00 +0200
+
+rkward (0.4.6-1) unstable; urgency=low
+
+  * new upstream release
+  * update r-base-core dependencies
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Thu, 15 Feb 2007 19:30:00 +0200
+
+rkward (0.4.5-1) unstable; urgency=low
+
+  * new upstream release
+  * provide entry in debian menu (Apps/Math)
+    closes: #405376
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Sun, 21 Jan 2007 19:00:00 +0200
+
+rkward (0.4.2-3) unstable; urgency=low
+
+  * this version is not meant to be uploaded to the main archives!
+  * fix compilation on sarge
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Wed, 13 Dec 2006 17:30:00 +0200
+
+rkward (0.4.2-2) unstable; urgency=low
+
+  * migrate to unstable
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Wed, 06 Dec 2006 20:00:00 +0200
+
+rkward (0.4.2-1) experimental; urgency=low
+
+  * new upstream release
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Tue, 04 Dec 2006 16:45:00 +0200
+
+rkward (0.4.1-1) unstable; urgency=low
+
+  * new upstream release
+  * depend on either php4-cli or php5-cli
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Mon, 06 Nov 2006 16:30:00 +0200
+
+rkward (0.4.0-2) unstable; urgency=low
+
+  * fix automatic build on 64bit architectures
+    closes: #394112
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Fri, 20 Oct 2006 14:00:00 +0200
+
+rkward (0.4.0-1) unstable; urgency=low
+
+  * new upstream release
+  * remove obsoleted workaround for installation of rkward R package
+  * cope with switch from CVS to SVN
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Tue, 17 Oct 2006 14:40:00 +0200
+
+rkward (0.3.7-1) unstable; urgency=low
+
+  * new upstream release
+  * use confiure option --with-r-libdir to make sure the rkward R package is installed in /usr/lib/R/site-library/
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Sun, 17 Sep 2006 16:40:00 +0200
+
+rkward (0.3.6-4) unstable; urgency=low
+
+  * fix automatic build on alpha machines 
+    patch provided by Martin Michlmayr <tbm at cyrius.com>
+    closes: #374005
+  * bumbed to standards 3.7.2
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Sun, 18 Jun 2006 16:25:00 +0200
+
+rkward (0.3.6-3) unstable; urgency=low
+
+  * first version to be uploaded to debian
+    closes: #333392
+  * Added Homepage to control file (changed by R.M.Rutschmann <rudi at debian.org>)
+  * fix detection of r-base-core dependency when compiled with r-base-core >= 2.3.0
+  * clean up rules somewhat
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Tue, 25 Apr 2006 12:45:00 +0200
+
+rkward (0.3.6-2) unstable; urgency=low
+
+  * link manpage directly in installation instead of debian-dir
+  * use --show-format instead of -f in call to dpkg-query (to work on stable)
+  * delete any debian/CVS subdir included by accident during clean
+  * add newline to copyright file
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Mon, 24 Apr 2006 14:45:00 +0200
+
+rkward (0.3.6-1) unstable; urgency=low
+
+  * new upstream release
+  * clean up manpage
+  * debian dir is not longer included in upstream; create non-native package
+  * create symlink rkward.bin.1 to rkward.1 and remove linitian expection (no man page)
+  * use ${shlibs:Depends} for runtime dependencies
+  * make sure to require correct version of r-base-core
+  * specify --with-r-home in ./configure, in case there is more than one version of R installed
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Sun, 23 Apr 2006 19:45:00 +0200
+
+rkward (0.3.5) unstable; urgency=low
+
+  * new upstream release
+  * add lintian exception for rkward.bin (no man page)
+  * remove call to build-help.pl during postinst postrm
+  * use --disable-rpath in ./configure
+  * remove /usr/sbin from dirs
+  * use standards version 3.6.2
+  * add man page
+  * remove redundant build-dependency on libqt3-mt-dev
+  * break long lines in description
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Sun, 16 Apr 2006 15:45:00 +0200
+
+rkward (0.3.4) unstable; urgency=low
+
+  * new upstream release
+  * debian directory is now included in official release
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Tue, 08 Nov 2005 16:00:33 +0200
+
+rkward (0.3.3) unstable; urgency=low
+
+  * new upstream release
+  * Adjusted depends for R (2.1.0)
+  * added run-time depend for libstdc++6
+  * correct path for KDE help files
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Mon, 10 Oct 2005 11:20:33 +0200
+
+rkward (0.3.2) unstable; urgency=low
+
+  * new upstream release
+  * Initial Release.
+  * removing r.xml highlighting definition in order to avoid conflict with verison shipped with katepart
+
+ -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Tue, 26 Apr 2005 00:00:33 +0200
+
diff --git a/debian-official/compat b/debian-official/compat
new file mode 100644
index 0000000..1e8b314
--- /dev/null
+++ b/debian-official/compat
@@ -0,0 +1 @@
+6
diff --git a/debian-official/control b/debian-official/control
new file mode 100644
index 0000000..da38727
--- /dev/null
+++ b/debian-official/control
@@ -0,0 +1,25 @@
+Source: rkward
+Section: math
+Priority: optional
+Maintainer: Thomas Friedrichsmeier <tfry at users.sourceforge.net>
+Build-Depends: cmake,
+               debhelper (>= 6.0.0),
+               kdelibs5-dev,
+               libqtwebkit-dev | libqt4-dev (<< 4:4.7),
+               libx11-dev,
+               r-base-dev (>= 2.8.0)
+Standards-Version: 3.9.6
+Homepage: http://rkward.kde.org
+Vcs-Browser: http://quickgit.kde.org/?p=rkward.git&a=tree&f=debian-official
+Vcs-Git: git://anongit.kde.org/rkward.git
+
+Package: rkward
+Architecture: any
+Depends: ${misc:Depends}, ${rvers}, ${shlibs:Depends}
+Recommends: r-base-html
+Description: KDE frontend to the R statistics language
+ RKWard aims to become an easy to use, transparent frontend to R,
+ a powerful system for statistical computation and graphics.
+ Besides a convenient GUI for the most important statistical functions,
+ future versions will also provide seamless integration with an
+ office-suite.
diff --git a/debian-official/copyright b/debian-official/copyright
new file mode 100644
index 0000000..c9cbdc8
--- /dev/null
+++ b/debian-official/copyright
@@ -0,0 +1,79 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: RKWard
+Source: http://rkward.kde.org
+
+Files: *
+Copyright: 2002-2015 Thomas Friedrichsmeier and the RKWard team (Meik Michalke, Stefan Rödiger, Prasenjit Kapat, Pierre Ecochard, and others)
+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'.
+
+Files: rkward/qwinhost/qwinhost.cpp.orig rkward/qwinhost/qwinhost.cpp rkward/qwinhost/qwinhost.h.orig rkward/qwinhost/qwinhost.h
+Copyright: (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+License: LPGL-2.1 and Nokia_Exception or GPL-3
+
+License: LPGL-2.1
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation;
+ version 2.1 of the License.
+ .
+ This library 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
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ .
+ On Debian systems, the full text of the GNU Lesser General Public
+ License version 2.1 can be found in the file
+ `/usr/share/common-licenses/LGPL-2.1'.
+
+License: Nokia_Exception
+ Nokia Qt LGPL Exception version 1.0
+ .
+ As a special exception to the GNU Lesser General Public License
+ version 2.1, the object code form of a "work that uses the Library"
+ may incorporate material from a header file that is part of the
+ Library.  You may distribute such object code under terms of your
+ choice, provided that the incorporated material (i) does not exceed
+ more than 5% of the total size of the Library; and (ii) is limited to
+ numerical parameters, data structure layouts, accessors, macros,
+ inline functions and templates.
+
+License: GPL-3
+ 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, version 3 of the License.
+ .
+ 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, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
diff --git a/debian-official/dirs b/debian-official/dirs
new file mode 100644
index 0000000..87713f8
--- /dev/null
+++ b/debian-official/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/lib/R/site-library/
diff --git a/debian-official/docs b/debian-official/docs
new file mode 100644
index 0000000..724e084
--- /dev/null
+++ b/debian-official/docs
@@ -0,0 +1,2 @@
+README
+TODO
diff --git a/debian-official/rkward.menu b/debian-official/rkward.menu
new file mode 100644
index 0000000..104630f
--- /dev/null
+++ b/debian-official/rkward.menu
@@ -0,0 +1 @@
+?package(rkward):needs="x11" section="Applications/Science/Mathematics" title="RKWard" command="/usr/bin/rkward"
diff --git a/debian-official/rules b/debian-official/rules
new file mode 100755
index 0000000..3200f21
--- /dev/null
+++ b/debian-official/rules
@@ -0,0 +1,146 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Based on the sample debian/rules of dh_make
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# For CXXFLAGS and CFLAGS.
+# See http://lists.debian.org/debian-devel-announce/2011/09/msg00001.html 
+DPKG_EXPORT_BUILDFLAGS = 1
+-include /usr/share/dpkg/buildflags.mk
+
+CFLAGS += -Wall
+
+# Workaround for cmake not handling CPPFLAGS (https://wiki.debian.org/HardeningWalkthrough):
+CFLAGS += $(CPPFLAGS)
+CXXFLAGS += $(CPPFLAGS)
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+#we need to know the R version
+RVERS = $(shell dpkg-query -W --showformat='$${Version}' r-base-core)
+RMAJOR = $(shell echo $(RVERS) | awk -F. '{print $$1}')
+RMINOR = $(shell echo $(RVERS) | awk -F. '{print $$2}')
+
+# set built-time of GNUR packages to time of created binary package based on stamp in changelog
+builttime = $(shell dpkg-parsechangelog -l$(CURDIR)/debian/changelog | awk -F': ' '/Date/ {print $$2}')
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
+
+build-stamp:
+	dh_testdir
+
+	mkdir -p $(CURDIR)/build
+
+	# Some installations of R need a specific version of the compiler(s)
+	# R CMD config provides info on which compiler to use
+	cd $(CURDIR)/build && \
+	CC="`/usr/bin/R CMD config CC`" \
+	CXX="`/usr/bin/R CMD config CXX`" \
+	F77="`/usr/bin/R CMD config F77`" \
+	cmake .. \
+		-DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` \
+		-DDATA_INSTALL_DIR=`kde4-config --install data` \
+		-DHTML_INSTALL_DIR=`kde4-config --install html` \
+		-DKCFG_INSTALL_DIR=`kde4-config --install kcfg` \
+		-DINFO_INSTALL_DIR=/usr/share/info \
+		-DMAN_INSTALL_DIR=/usr/share/man \
+		-DKDE_DEFAULT_HOME=`kde4-config --localprefix` \
+		-DCMAKE_SKIP_RPATH=true \
+		-DKDE4_USE_ALWAYS_FULL_RPATH=false \
+		-DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \
+		-DCMAKE_C_FLAGS="$(CFLAGS)" \
+		-DCMAKE_EXE_LINKER_FLAGS="$(LDFLAGS)" \
+		-DCMAKE_MODULE_LINKER_FLAGS="$(LDFLAGS)" \
+		-DCMAKE_SHARED_LINKER_FLAGS="$(LDFLAGS)" \
+		-DCMAKE_VERBOSE_MAKEFILE=ON \
+		-DKDE4_DISABLE_MULTIMEDIA=ON \
+		-DR_EXECUTABLE=/usr/bin/R/ \
+		-DR_LIBDIR=/usr/lib/R/site-library/ \
+		-DBUILD_TIMESTAMP="$(builttime)"
+
+	# Add here commands to compile the package.
+	cd $(CURDIR)/build && $(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+	# remove any .svn subdir included by accident
+	rm -rf $(CURDIR)/debian/.svn
+
+	# Add here commands to clean up after the build process.
+	rm -rf $(CURDIR)/build/
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/rkward.
+	cd $(CURDIR)/build && $(MAKE) install DESTDIR=$(CURDIR)/debian/rkward
+	# dirty hack to get rid of conflicting r.xml file without adjusting all makefiles
+	rm -vf $(CURDIR)/debian/rkward/`kde4-config --install data`/katepart/syntax/r.xml
+	
+	# remove unneeded R package files
+	rm -vf $(CURDIR)/debian/rkward/usr/lib/R/site-library/R.css $(CURDIR)/debian/rkward/usr/lib/R/site-library/rkward/COPYING
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+	dh_installman $(CURDIR)/build/doc/rkward/rkward.1
+	dh_link
+	dh_strip
+	# do not compress KDE HTML help
+	dh_compress -Xusr/share/doc/kde/HTML
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	# unfortunately, the r-base-core dependency can not be found by dh_shlibdeps, so we need to get at the version manually
+	@if [ "$(RMAJOR)" -eq "3" ] && [ "$(RMINOR)" -ge "0" ] ; then \
+		echo "rvers=r-base-core (>= 3.0.0)" >> $(CURDIR)/debian/rkward.substvars ; \
+	else \
+		if [ "$(RMAJOR)" -eq "2" ] && [ "$(RMINOR)" -ge "14" ] ; then \
+		echo "rvers=r-base-core (>= 2.9.0), r-base-core (<< 3.0.0)" >> $(CURDIR)/debian/rkward.substvars ; \
+	else \
+		if [ "$(RMAJOR)" -eq "2" ] && [ "$(RMINOR)" -ge "9" ] ; then \
+		echo "rvers=r-base-core (<< 2.14.0), r-base-core (>= 2.9.0)" >> $(CURDIR)/debian/rkward.substvars ; \
+	else \
+		if [ "$(RMAJOR)" -eq "2" ] && [ "$(RMINOR)" -ge "8" ] ; then \
+		echo "rvers=r-base-core (<< 2.9.0), r-base-core (>= 2.8.0)" >> $(CURDIR)/debian/rkward.substvars ; \
+	else \
+		if [ "$(RMAJOR)" -eq "2" ] && [ "$(RMINOR)" -ge "7" ] ; then \
+		echo "rvers=r-base-core (<< 2.8.0), r-base-core (>= 2.7.0)" >> $(CURDIR)/debian/rkward.substvars ; \
+	fi; fi ; fi ; fi ; fi
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian-official/watch b/debian-official/watch
new file mode 100644
index 0000000..217f380
--- /dev/null
+++ b/debian-official/watch
@@ -0,0 +1,4 @@
+version=3
+opts=uversionmangle=s/-(pre\d*)$/~$1/ \
+http://sf.net/rkward/rkward-(.*)\.tar\.gz
+# Bart Martens <bartm at debian.org>  Sat, 17 Nov 2012 08:07:53 +0000



More information about the rkward-tracker mailing list