[rkward-cvs] rkward/debian README.Debian,NONE,1.1 postinst,NONE,1.1 postrm,NONE,1.1 changelog,1.1,1.2 control,1.1,1.2 files,1.1,1.2 rules,1.1,1.2 rkward.substvars,1.1,NONE

Thomas Friedrichsmeier tfry at users.sourceforge.net
Thu Apr 28 19:02:22 UTC 2005


Update of /cvsroot/rkward/rkward/debian
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16825

Modified Files:
	changelog control files rules 
Added Files:
	README.Debian postinst postrm 
Removed Files:
	rkward.substvars 
Log Message:
Debian package is now installable:
- removed r.xml from .deb
- set up rkward R-package properly

--- rkward.substvars DELETED ---

Index: control
===================================================================
RCS file: /cvsroot/rkward/rkward/debian/control,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** control	27 Apr 2005 20:57:00 -0000	1.1
--- control	28 Apr 2005 19:02:20 -0000	1.2
***************
*** 1,7 ****
  Source: rkward
! Section: unknown
  Priority: optional
  Maintainer: Thomas Friedrichsmeier <tfry at users.sourceforge.net>
! Build-Depends: debhelper (>= 4.0.0), autotools-dev, kdelibs4-dev, r-base-dev (>= 2.0.0), libqt3-mt-dev (>= 3)
  Standards-Version: 3.6.1
  
--- 1,7 ----
  Source: rkward
! Section: math
  Priority: optional
  Maintainer: Thomas Friedrichsmeier <tfry at users.sourceforge.net>
! Build-Depends: debhelper (>= 4.0.0), autotools-dev, kdelibs4-dev, r-base-dev (>= 2.0.0), libqt3-mt-dev (>= 3), r-base (>= 2.0.0)
  Standards-Version: 3.6.1
  

--- NEW FILE: postrm ---
#! /bin/sh
# postrm script for rkward
#
# see: dh_installdeb(1)

set -e

# summary of how this script can be called:
#        * <postrm> `remove'
#        * <postrm> `purge'
#        * <old-postrm> `upgrade' <new-version>
#        * <new-postrm> `failed-upgrade' <old-version>
#        * <new-postrm> `abort-install'
#        * <new-postrm> `abort-install' <old-version>
#        * <new-postrm> `abort-upgrade' <old-version>
#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package


case "$1" in
       purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
	if test -x /usr/bin/R; then
	    R CMD perl /usr/lib/R/share/perl/build-help.pl --htmllists
	fi
        ;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1

esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0

--- NEW FILE: postinst ---
#! /bin/sh
# postinst script for rkward
#
# see: dh_installdeb(1)

set -e

# summary of how this script can be called:
#        * <postinst> `configure' <most-recently-configured-version>
#        * <old-postinst> `abort-upgrade' <new version>
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
#          <new-version>
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
#          <failed-install-package> <version> `removing'
#          <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
#

case "$1" in
    configure)
	if test -x /usr/bin/R; then
	    R CMD perl /usr/lib/R/share/perl/build-help.pl --htmllists
	fi
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)

    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0



Index: changelog
===================================================================
RCS file: /cvsroot/rkward/rkward/debian/changelog,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** changelog	27 Apr 2005 20:57:00 -0000	1.1
--- changelog	28 Apr 2005 19:02:20 -0000	1.2
***************
*** 1,6 ****
! rkward (0.3.2-1) unstable; urgency=low
  
    * Initial Release.
!   * No changes against upstream version.
  
   -- Thomas Friedrichsmeier <tfry at users.sourceforge.net>  Tue, 26 Apr 2005 00:00:33 +0200
--- 1,6 ----
! rkward (0.3.2) unstable; urgency=low
  
    * 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

Index: rules
===================================================================
RCS file: /cvsroot/rkward/rkward/debian/rules,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** rules	27 Apr 2005 20:57:00 -0000	1.1
--- rules	28 Apr 2005 19:02:20 -0000	1.2
***************
*** 67,71 ****
  	# Add here commands to install the package into debian/rkward.
  	$(MAKE) install DESTDIR=$(CURDIR)/debian/rkward
! 
  
  # Build architecture-independent files here.
--- 67,77 ----
  	# Add here commands to install the package into debian/rkward.
  	$(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/usr/share/apps/katepart/syntax/r.xml
! 	
! 	# install the rkward R package to installation directory
! 	dh_installdirs usr/lib/R/library
! 	R CMD INSTALL -l $(CURDIR)/debian/rkward/usr/lib/R/library rkward/rbackend/rpackages/rkward
! 	rm -vf $(CURDIR)/debian/rkward/usr/lib/R/library/R.css $(CURDIR)/debian/rkward/usr/lib/R/library/rkward/COPYING
  
  # Build architecture-independent files here.
***************
*** 99,103 ****
  #	dh_makeshlibs
  	dh_installdeb
! 	dh_shlibdeps
  	dh_gencontrol
  	dh_md5sums
--- 105,109 ----
  #	dh_makeshlibs
  	dh_installdeb
! #	dh_shlibdeps
  	dh_gencontrol
  	dh_md5sums

--- NEW FILE: README.Debian ---
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 own 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-CVS and install to /usr/share/apps/katepart/syntax/r.xml.

-- Thomas Friedrichsmeier <tfry at users.sourceforge.net>, Apr-29-2005

Index: files
===================================================================
RCS file: /cvsroot/rkward/rkward/debian/files,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** files	27 Apr 2005 20:57:00 -0000	1.1
--- files	28 Apr 2005 19:02:20 -0000	1.2
***************
*** 1 ****
! rkward_0.3.2-1_i386.deb unknown optional
--- 1 ----
! rkward_0.3.2_i386.deb math optional





More information about the rkward-tracker mailing list