--- rkward-0.5.0d.orig/debian/README.Debian +++ rkward-0.5.0d/debian/README.Debian @@ -0,0 +1,7 @@ +RKWard for Debian +-------------- + +RKWard usually ships its own version of the kate syntax-highlighting definition for R. The version shipped by RKWard is - at the time of this writing - better than the one shipped with kate in some respects. Due to packaging conflicts, however, this improved syntax highlighting definition can NOT be included in the rkward package. +You may want to fetch the definition manually from RKWard-SVN and install to /usr/share/apps/katepart/syntax/r.xml. + +-- Thomas Friedrichsmeier , Apr-29-2005 --- rkward-0.5.0d.orig/debian/compat +++ rkward-0.5.0d/debian/compat @@ -0,0 +1 @@ +7 --- rkward-0.5.0d.orig/debian/changelog +++ rkward-0.5.0d/debian/changelog @@ -0,0 +1,312 @@ +rkward (0.5.0d-3ubuntu1) karmic; urgency=low + + * Merge from Debian (LP: #381765) + - Fix plugin problem at startup (LP: #272527) + - Re-enable editor for R-Scripts. (LP: #340217) + - Fix starting page (LP: #294610) + - Fix installation of the icons (LP: #186451) + * Ubuntu remaining changes + - Drop depends on cmake and libphonon-dev. + - Disable information from upstream, modified rkward/rkward.cpp + (LP: #318278) + + -- Julien Lavergne Wed, 08 Jul 2009 23:32:06 +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 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 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 Sun, 10 May 2009 21:30:00 +0200 + +rkward (0.5.0d-0ubuntu1) karmic; urgency=low + + * New upstream release (LP: #375213) + * Bump Standards-Version to 3.8.1 + * Drop cmake, libphon-dev from build-deps + * Update maintainer field + + -- Alessandro Ghersi Mon, 11 May 2009 21:58:23 +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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Wed, 13 Dec 2006 17:30:00 +0200 + +rkward (0.4.2-2) unstable; urgency=low + + * migrate to unstable + + -- Thomas Friedrichsmeier Wed, 06 Dec 2006 20:00:00 +0200 + +rkward (0.4.2-1) experimental; urgency=low + + * new upstream release + + -- Thomas Friedrichsmeier 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 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 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 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 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 + closes: #374005 + * bumbed to standards 3.7.2 + + -- Thomas Friedrichsmeier 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 ) + * fix detection of r-base-core dependency when compiled with r-base-core >= 2.3.0 + * clean up rules somewhat + + -- Thomas Friedrichsmeier 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 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 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 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 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 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 Tue, 26 Apr 2005 00:00:33 +0200 + --- rkward-0.5.0d.orig/debian/dirs +++ rkward-0.5.0d/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/lib/R/site-library/ --- rkward-0.5.0d.orig/debian/rkward.menu +++ rkward-0.5.0d/debian/rkward.menu @@ -0,0 +1 @@ +?package(rkward):needs="x11" section="Applications/Science/Mathematics" title="RKWard" command="/usr/bin/rkward" --- rkward-0.5.0d.orig/debian/rkward.1 +++ rkward-0.5.0d/debian/rkward.1 @@ -0,0 +1,56 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH RKWARD 1 "11-10-2005" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +rkward \- A KDE frontend to R +.SH SYNOPSIS +.B rkward +.RI [ options ] " [file]" +.SH DESCRIPTION +This manual page documents briefly the +.B rkward +command. +.PP +.SH OPTIONS +A summary of options is included below. +For a complete description, invoke rkward --help or refer to http://rkward.sourceforge.net . +.TP +.B \-\-help +Show summary of options. +.TP +.B \-v, \-\-version +Show version of program. +.TP +.B \-\-debug-level +Verbosity of debug output. 0-5, where 0 is no output, 5 is all output including function trace information. Default it 2 +.TP +.B \-\-debug-flags +Allows to configure, which sections of code to debug. Flags are given as a binary number. Refer to the source files for documentation, as this really is an internal option +.TP +.B \-\-debugger +Run RKWard through the specified debugger command. To add command line options to the debugger command, enclose them in single quotes ('') together with the command. +.TP +.B \-\-disable-stack-check +Disable the R C stack checking mechanism. If you see the error message "C stack usage too close to the limit", this option may serve as a workaround. +.SH SEE ALSO +.BR R (1), +.br +.SH AUTHOR +RKWard was written by Thomas Friedrichsmeier and the RKWard team. See http://rkward.sourceforge.net . +.PP +This manual page was written by Thomas Friedrichsmeier , +for the Debian project (but may be used by others). --- rkward-0.5.0d.orig/debian/copyright +++ rkward-0.5.0d/debian/copyright @@ -0,0 +1,10 @@ +This package was debianized by Thomas Friedrichsmeier on +Tue, 26 Apr 2005 00:00:33 +0200. + +It was downloaded from http://rkward.sourceforge.net + +Copyright: 2002 - 2009 Thomas Friedrichsmeier and the RKWard team + +License: +You are free to distribute this software under the terms of the GNU General Public License. +On Debian systems, the complete text of the GNU General Public License can be found in the file `/usr/share/common-licenses/GPL'. --- rkward-0.5.0d.orig/debian/control +++ rkward-0.5.0d/debian/control @@ -0,0 +1,21 @@ +Source: rkward +Section: math +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer:Thomas Friedrichsmeier +Build-Depends: debhelper (>= 7.0.0), kdelibs5-dev, r-base-dev (>= 2.1.0), libx11-dev +Standards-Version: 3.8.1 + +Package: rkward +Architecture: any +Depends: php4-cli | php5-cli, ${rvers}, ${shlibs:Depends} +Recommends: r-base-html +Description: a 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. + . + RKWard is still in development status. Right now it is most useful as an IDE + to users with some experience in R, or willing to learn R. --- rkward-0.5.0d.orig/debian/docs +++ rkward-0.5.0d/debian/docs @@ -0,0 +1,2 @@ +README +TODO --- rkward-0.5.0d.orig/debian/rules +++ rkward-0.5.0d/debian/rules @@ -0,0 +1,129 @@ +#!/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 + +# 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) + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: + 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_VERBOSE_MAKEFILE=ON \ + -DKDE4_DISABLE_MULTIMEDIA=ON \ + -DR_EXECUTABLE=/usr/bin/R/ \ + -DR_LIBDIR=/usr/lib/R/site-library/ + +build: build-stamp + +build-stamp: config.status + dh_testdir + + # 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_prep + 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 debian/rkward.1 + # Link manpage for rkward.bin to rkward + ln -sf rkward.1.gz debian/rkward/usr/share/man/man1/rkward.bin.1.gz + 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 [ "$(RVERS)" '>' "2.4.9" ] ; then \ + echo "rvers=r-base-core (>= 2.4.9)" >> $(CURDIR)/debian/rkward.substvars ; \ + else \ + if [ "$(RVERS)" '>' "2.3.9" ] ; then \ + echo "rvers=r-base-core (<= 2.4.9), r-base-core (>= 2.3.9)" >> $(CURDIR)/debian/rkward.substvars ; \ + else \ + if [ "$(RVERS)" '>' "2.2.1.svn37823" ] ; then \ + echo "rvers=r-base-core (<= 2.3.9), r-base-core (>= 2.3.0)" >> $(CURDIR)/debian/rkward.substvars ; \ + else \ + echo "rvers=r-base-core (<= 2.2.1-6), r-base-core (>= 2.1.0)" >> $(CURDIR)/debian/rkward.substvars ; \ + fi \ + fi \ + fi + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- rkward-0.5.0d.orig/rkward/rkward.cpp +++ rkward-0.5.0d/rkward/rkward.cpp @@ -211,8 +211,9 @@ KUrl open_url = startup_options->initial_url; startR (); - QString dummy = i18n ("RKWard has made great progress in the past few months and it is already helpful for many tasks, but some features may be lacking. You can help us by filing bug reports, feature requests, or providing feedback in any other form. Please visit http://rkward.sourceforge.net for more information."); - KMessageBox::information (this, dummy, i18n("What to expect of RKWard"), "state_of_rkward"); + //Disable information from Upstream, bug should be report on Debian or Ubuntu bug tracker + //QString dummy = i18n ("RKWard has made great progress in the past few months and it is already helpful for many tasks, but some features may be lacking. You can help us by filing bug reports, feature requests, or providing feedback in any other form. Please visit http://rkward.sourceforge.net for more information."); + //KMessageBox::information (this, dummy, i18n("What to expect of RKWard"), "state_of_rkward"); initPlugins ();