--- rggobi-0.53.0.orig/R/GGobi.S +++ rggobi-0.53.0/R/GGobi.S @@ -0,0 +1,21 @@ +ggobi.home <- +function() +{ + "/usr/lib/ggobi" +} + +ggobi.find.file <- +function(file, fatal = TRUE) +{ + if(file.exists(file)) + return(file) + + fn <- paste(ggobi.home(), file, sep=.Platform$file.sep) + if(file.exists(fn)) + return(fn) + + if(fatal) + stop("Cannot find file", file) + else + warn("Cannot find file", file) +} --- rggobi-0.53.0.orig/man/CasesAttributes.Rd +++ rggobi-0.53.0/man/CasesAttributes.Rd @@ -6,7 +6,7 @@ \alias{getLineSegments.ggobi} \alias{getHiddenCases.ggobi} -\title{} +\title{Access color and hidden attributes of records.} \description{ } \usage{ @@ -62,5 +62,5 @@ g$setColors(rep("green",30)) } } -\keyword{visualization} -\keyword{interactive graphics} +\keyword{iplot} +\keyword{dynamic} --- rggobi-0.53.0.orig/inst/scripts/Rggobi.csh +++ rggobi-0.53.0/inst/scripts/Rggobi.csh @@ -0,0 +1,6 @@ + +if !(${?LD_LIBARY_PATH}) then + setenv LD_LIBRARY_PATH /usr/lib/ggobi/lib +else + setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/lib/ggobi/lib +endif --- rggobi-0.53.0.orig/src/RSBrush.c +++ rggobi-0.53.0/src/RSBrush.c @@ -32,7 +32,10 @@ INTEGER_DATA(ans)[1] = ht; /* experiments */ - brush_reset(gg,RESET_UNHIDE_POINTS); + /* edd 20 Aug 2004 + * UNSHADOW, not UNHIDE in + * brush_reset(gg,RESET_UNHIDE_POINTS); */ + brush_reset(gg,RESET_UNSHADOW_POINTS); /* displays_plot (NULL, FULL, gg); */ gdk_flush(); } else --- rggobi-0.53.0.orig/src/RSGGobiSet.c +++ rggobi-0.53.0/src/RSGGobiSet.c @@ -26,7 +26,8 @@ int which; if(!d->rowlab->data) { - rowlabels_alloc(d, d->gg); + /* rowlabels_alloc(d, d->gg); */ + rowlabels_alloc(d); getOldValues = false; } @@ -271,7 +272,8 @@ e->edge.n = 0; } - edges_alloc (e->edge.n + num, e, false); + /*edges_alloc (e->edge.n + num, e, false);*/ + edges_alloc (e->edge.n + num, e); for(i = 0; i < num; i++) { e->edge.sym_endpoints[i].a = g_strdup(CHAR_DEREF(STRING_ELT(x, i))); @@ -321,7 +323,8 @@ #endif } - edges_alloc (e->edge.n + num, e, true); + /*edges_alloc (e->edge.n + num, e, true);*/ + edges_alloc (e->edge.n + num, e); for(i = 0; i < num; i++) { #ifdef OBSOLETE_EDGE_CODE --- rggobi-0.53.0.orig/src/Makevars +++ rggobi-0.53.0/src/Makevars @@ -0,0 +1,4 @@ + +PKG_CPPFLAGS=-I/usr/lib/ggobi/include -DUSE_EXT_PTR=1 -D_R_=1 -I../inst/include `gtk-config --cflags` -I/tmp/buildd/ggobi-0.99.10/include -I/tmp/buildd/ggobi-0.99.10/gtkext/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/libxml2 -DUSE_XML=2 -DSUPPORT_PLUGINS=1 -DSUPPORT_INIT_FILES=1 -DHAVE_CONFIG_H +PKG_LIBS=-L/usr/lib/ggobi/lib -lggobi `gtk-config --libs` + --- rggobi-0.53.0.orig/debian/changelog +++ rggobi-0.53.0/debian/changelog @@ -0,0 +1,35 @@ +rggobi (0.53.0-3) unstable; urgency=low + + * debian/rules: Fix small snafu induced by cdbs rewrite + + -- Dirk Eddelbuettel Sat, 21 Aug 2004 23:20:07 -0500 + +rggobi (0.53.0-2) unstable; urgency=low + + * debian/control: Added libglib1.2-dev, libgtk1.2-dev, libxml2-dev + to Build-Depends (Closes: #262310) + * debian/rules: Rewritten using (invariant) cdbs template + * debian/rules: Reused two small package-specific changes from old rules + * debian/control: Added cdbs to Build-Depends + * debian/control: Updated Standards-Version to 3.6.1.1 + * debian/control: Updated Depends and Build-Depends to current R version + * We tried upgrading this to version 1.0.0, but as that one fails to + compile against either the currently packaged or newer Ggobi, we have + to stay with this version. + + -- Dirk Eddelbuettel Sat, 21 Aug 2004 21:57:04 -0500 + +rggobi (0.53.0-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Sun, 19 Jan 2003 22:19:47 -0600 + +rggobi (0.52.0-1) unstable; urgency=low + + * Initial release of Debian package + * This has to be in contrib/ as ggobi is in non-free due to its + non-DFSG compliant AT&T Open Source License. + + -- Dirk Eddelbuettel Tue, 29 Oct 2002 20:48:36 -0600 + --- rggobi-0.53.0.orig/debian/control +++ rggobi-0.53.0/debian/control @@ -0,0 +1,16 @@ +Source: rggobi +Section: contrib/math +Priority: optional +Maintainer: Dirk Eddelbuettel +Standards-Version: 3.6.1.1 +Build-depends: r-base-dev (>= 1.9.0), ggobi, debhelper (>= 4.1.0), cdbs, libglib1.2-dev, libgtk1.2-dev, libxml2-dev + +Package: r-omegahat-ggobi +Architecture: any +Depends: r-base-core (>= 1.9.0), ggobi, ${shlibs:Depends} +Description: GNU R package for the GGobi data visualization system + This Debian package contains the R package for access to the ggobi + data visualization system for high-dimensional data from within GNU R. + . + See http://www.ggobi.org for Ggobi, and http://www.r-project.org for GNU R. + --- rggobi-0.53.0.orig/debian/compat +++ rggobi-0.53.0/debian/compat @@ -0,0 +1 @@ +4 --- rggobi-0.53.0.orig/debian/copyright +++ rggobi-0.53.0/debian/copyright @@ -0,0 +1,33 @@ +This is the Debian GNU/Linux r-omegahat-ggobi package of Rggobi, a package +providing access to ggobi from within the GNU R language and environment for +statisticial computing. Rggobi was written by Duncan Temple Lang + and Debby Swayne . + +This package was created by Dirk Eddelbuettel . +The sources where downloaded from the GGobi website at + http://www.ggobi.org +It is also availabe at the Omegahat website at + http://www.omegahat.org/Rggobi + +The package was renamed from its upstream name 'Rggobi' to 'r-omegahat-ggobi' +to highlight the fact that is it an Omegahat subproject; similarly CRAN +packages are called r-cran-* by Debian. + +Rggobi is copyright by Duncan Temple Lang and +Debby Swayne and licensed under the BSD license as +described in the DESCRIPTION file from the original sources, which is +reproduced below. On a Debian GNU/Linux system, the BSD license is included +in the file /usr/share/common-licenses/BSD. + + Package: Rggobi + Version: 0.52-0 + Date: 2002/06/07 + Title: The embedded ggobi R interface. + Author: Duncan Temple Lang , + Debby Swayne + Depends: R (>= 1.1.0) + Maintainer: Duncan Temple Lang + Description: An interface from R to ggobi for programmatic dynamic, interactive visualization. + License: BSD + URL: http://www.ggobi.org/, http://www.omegahat.org/Rggobi + --- rggobi-0.53.0.orig/debian/dirs +++ rggobi-0.53.0/debian/dirs @@ -0,0 +1 @@ +usr/lib/R/library --- rggobi-0.53.0.orig/debian/rules +++ rggobi-0.53.0/debian/rules @@ -0,0 +1,52 @@ +#!/usr/bin/make -f +# debian/rules file for the Debian GNU/Linux r-omegahat-ggobi package +# Copyright 2002 - 2004 by Dirk Eddelbuettel + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/langcore.mk + +## We need the CRAN (upstream) name +#cranName := $(shell grep Package: DESCRIPTION | cut -f2 -d" ") +## this would work if the package was r-omegahat-rggobi, but we had +## previously picked r-omegahat-ggobi (no r), so this has to make do +cranName := ggobi + +## and we need to build a Debian Policy-conformant lower-case package name +cranNameLC := $(shell echo $(cranName) | tr "[A-Z]" "[a-z]" | tr "." "-" ) + +## which we can use to build the package directory +## NB This is an OmegaHat package +package := r-omegahat-$(cranNameLC) +## which we use for the to-be-installed-in directory +debtmp := $(CURDIR)/debian/$(package) +debRlib := $(debtmp)/usr/lib/R/site-library + + +common-install-indep:: R_any_arch +common-install-arch:: R_any_arch + +R_any_arch: + dh_installdirs usr/lib/R/site-library + ## R CMD INSTALL -l $(debRlib) --clean . + ## + GGOBI_ROOT=/usr/lib/ggobi \ + R CMD INSTALL -l $(debRlib) --clean . + ## + ## edd 14 Jul 2002 + ## This is a fudge -- to sail around the Ggobi + ## env.vars, we link into R_HOME/bin + ## maybe DTL will fix this upstream one day + ## edd 14 Jul 2002 + dh_link usr/lib/ggobi/lib/libggobi.so \ + usr/lib/R/bin/libggobi.so + dh_link usr/lib/ggobi/lib/libgtkext.so \ + usr/lib/R/bin/libgtkext.so + ## + ## correct mode (lintian) + -chmod 0644 \ + $(debtmp)/usr/lib/R/library/Rggobi/include/tour1d_pp.h + rm -vf $(debRlib)/R.css + + + + --- rggobi-0.53.0.orig/debian/rules.old +++ rggobi-0.53.0/debian/rules.old @@ -0,0 +1,101 @@ +#!/usr/bin/make -f +# debian/rules file for the Debian GNU/Linux r-omegahat-ggobi package +# Copyright 2002 by Dirk Eddelbuettel + +package = r-omegahat-ggobi + +debbase := $(CURDIR)/debian +debtmp := $(debbase)/tmp +debRlib := $(debtmp)/usr/lib/R/library +debdoc := $(debtmp)/usr/share/doc/$(package) + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +get-orig-source: upstream +upstream: + wget http://www.ggobi.org + +build: build-stamp +build-stamp: + dh_testdir + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + -make distclean + -rm -f `find . -name "*~"` + -rm -rf debian/tmp debian/files* core debian/substvars + -rm -f doc/html/function.html doc/html/packages.html + -rm -f config.cache config.status + dh_clean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + GGOBI_ROOT=/usr/lib/ggobi \ + R CMD INSTALL -l $(debRlib) --clean . + ## edd 14 Jul 2002 + ## This is a fudge -- to sail around the Ggobi + ## env.vars, we link into R_HOME/bin + ## maybe DTL will fix this upstream one day + ## edd 14 Jul 2002 + dh_link usr/lib/ggobi/lib/libggobi.so usr/lib/R/bin/libggobi.so + dh_link usr/lib/ggobi/lib/libgtkext.so usr/lib/R/bin/libgtkext.so + ## correct mode (lintian) + -chmod 0644 $(debtmp)/usr/lib/R/library/Rggobi/include/tour1d_pp.h + rm $(debRlib)/R.css + +# Build architecture-independent files here. +# Pass -i to all debhelper commands in this target to reduce clutter. +binary-indep: DH_OPTIONS=-i +binary-indep: build install + +# Build architecture-dependent files here. +# Pass -a to all debhelper commands in this target to reduce clutter. +binary-arch: DH_OPTIONS=-a +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs +# dh_installexamples +# dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installmanpages +# dh_installinfo +# install lintian "silencer" +# install -p -m 0644 debian/$(package).lintian \ +# $(debtmp)/usr/share/lintian/overrides/$(package) +# dh_undocumented + dh_installchangelogs + dh_strip + dh_link + dh_compress + dh_fixperms +# dh_suidregister + dh_installdeb +# dh_makeshlibs +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install