Package: ruby-pgplot / 0.1.9-3

Metadata

Package Version Patches format
ruby-pgplot 0.1.9-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0000 Update NArray PATH.patch | (download)

ext/extconf.rb | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 update-narray-path


0001 Add enable autobuild option.patch | (download)

ext/extconf-auto.rb | 17 17 + 0 - 0 !
1 file changed, 17 insertions(+)

 add --enable-autobuild option

This enables the automatic download and build of the pgplot library only if the
user provides the --enable-autobuild option.  This is more security conscious
as it requires the user's explicit permission (by providing --enable-autobuild)
to download and install this third party library.

0002 Add disable extra libs option.patch | (download)

ext/extconf.rb | 100 55 + 45 - 0 !
1 file changed, 55 insertions(+), 45 deletions(-)

 add --disable-extra-libs option

Some PGPLOT installations have incompletely linked PGPLOT libraries so linking
against libcpgplot requires also linking against other libraries such as
libpgplot, libX11, libpng, etc.  These extra checks are mostly benign for
PGPLOT installations that don't need them, but they can cause problems.
For example, mkmf uses "gcc" when checking for the Fortran libraries, but the
0003 Close files in cogen.rb.patch | (download)

ext/cogen.rb | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 close files in cogen.rb

This is important for running cogen.rb from within Rakefile.  Without
explicitly closing the output file, a truncated version of rb_pgplot.c
may be packaged in the gem file before the rb_pgplot.c file gets closed
when the rake process exits.

0004 Be smart about extra library checks.patch | (download)

ext/extconf.rb | 132 66 + 66 - 0 !
1 file changed, 66 insertions(+), 66 deletions(-)

 be smart about extra library checks

Try to find libcpgplot before looking for extra libs like x11, gfortran,
png, etc.  If the initial check for libcpgplot fails, then look for the
extra libraries and re-check for libcpgplot.  This removes the need for
the --enable-extra-libs option.

0005 extconf.rb.patch | (download)

ext/extconf.rb | 280 171 + 109 - 0 !
1 file changed, 171 insertions(+), 109 deletions(-)

 extconf.rb: * need to check extra-libs before auto-build. * need to
 define $found_lib. * define methods to make program structure clear. * merge
 extconf-auto.rb.


0006 rm extconf auto.rb.patch | (download)

ext/extconf-auto.rb | 89 0 + 89 - 0 !
pgplot.gemspec | 4 1 + 3 - 0 !
2 files changed, 1 insertion(+), 92 deletions(-)

 rm extconf-auto.rb


0007 s.add_dependency narray 0.7.0.patch | (download)

pgplot.gemspec | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 s.add_dependency('narray', '< 0.7.0')


0008 mv homepage.patch | (download)

pgplot.gemspec | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 mv homepage


0009 fix docs.patch | (download)

doc/Makefile | 6 3 + 3 - 0 !
doc/index.rd | 4 2 + 2 - 0 !
doc/mkdoc.rb | 4 3 + 1 - 0 !
doc/myrd2html.rb | 7 5 + 2 - 0 !
4 files changed, 13 insertions(+), 8 deletions(-)

 fix docs