[DRE-commits] r1353 - in packages/libtioga-ruby/trunk/debian: .
patches
Vincent Fourmond
fourmond at alioth.debian.org
Sat Apr 14 21:02:48 UTC 2007
Author: fourmond
Date: 2007-04-14 21:02:48 +0000 (Sat, 14 Apr 2007)
New Revision: 1353
Added:
packages/libtioga-ruby/trunk/debian/libtioga-ruby1.8.manpages
packages/libtioga-ruby/trunk/debian/patches/02-mkmf2.rb.dpatch
packages/libtioga-ruby/trunk/debian/patches/03-remove-irb_tioga.dpatch
packages/libtioga-ruby/trunk/debian/patches/04-fix-tioga.dpatch
packages/libtioga-ruby/trunk/debian/tioga.1
Modified:
packages/libtioga-ruby/trunk/debian/changelog
packages/libtioga-ruby/trunk/debian/control
packages/libtioga-ruby/trunk/debian/patches/00list
packages/libtioga-ruby/trunk/debian/rules
Log:
libtioga-ruby: new upstream linda and lintian clean, ready for upload
Modified: packages/libtioga-ruby/trunk/debian/changelog
===================================================================
--- packages/libtioga-ruby/trunk/debian/changelog 2007-04-13 10:29:37 UTC (rev 1352)
+++ packages/libtioga-ruby/trunk/debian/changelog 2007-04-14 21:02:48 UTC (rev 1353)
@@ -1,8 +1,10 @@
-libtioga-ruby (1.3.0-2) UNRELEASED; urgency=low
+libtioga-ruby (1.5-1) unstable; urgency=low
- * NOT RELEASED YET
+ * New upstream release (Closes: #418190)
+ * Added rdoc documentation
+ * Added a (rudimentary) manpage for the tioga script
- -- Vincent Fourmond <fourmond at debian.org> Sat, 17 Mar 2007 00:28:53 +0100
+ -- Vincent Fourmond <fourmond at debian.org> Sat, 14 Apr 2007 23:00:18 +0200
libtioga-ruby (1.3.0-1) unstable; urgency=low
Modified: packages/libtioga-ruby/trunk/debian/control
===================================================================
--- packages/libtioga-ruby/trunk/debian/control 2007-04-13 10:29:37 UTC (rev 1352)
+++ packages/libtioga-ruby/trunk/debian/control 2007-04-14 21:02:48 UTC (rev 1353)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Vincent Fourmond <fourmond at debian.org>
Build-Depends: debhelper (>= 4.0.0), ruby1.8-dev, ruby1.8, zlib1g-dev,
- dpatch, ruby-pkg-tools
+ dpatch, ruby-pkg-tools, rdoc1.8
Standards-Version: 3.7.2
Package: tioga
@@ -25,9 +25,10 @@
Package: libtioga-ruby1.8
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ruby1.8, tetex-bin
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby1.8,
+ tetex-bin|texlive-latex-base
Replaces: tioga
-Suggests: libtioga-ruby-examples
+Suggests: libtioga-ruby-examples, libtioga-ruby-doc, xpdf-reader | pdf-viewer
Recommends: irb1.8, rdoc1.8
Description: Ruby library for scientific graphs
Tioga is a blend of PDF, pdfTex and ruby into a library to make
@@ -38,11 +39,14 @@
with a configuration file for irb for interactive plotting of pictures.
.
Homepage: http://rubyforge.org/projects/tioga/
+ .
+ A PDF viewer is strongly recommended if you want to make use of the
+ tioga script, a wrapper around some of the library functionalities.
Package: libtioga-ruby
Architecture: all
Depends: libtioga-ruby1.8
-Suggests: libtioga-ruby-examples
+Suggests: libtioga-ruby-examples, libtioga-ruby-doc
Replaces: tioga
Description: Ruby library for scientific graphs
Tioga is a blend of PDF, pdfTex and ruby into a library to make
@@ -59,7 +63,7 @@
Package: libtioga-ruby-examples
Architecture: all
-Recommends: libtioga-ruby, irb, rdoc
+Recommends: libtioga-ruby, irb, libtioga-ruby-doc
Description: Ruby library for scientific graphs
Tioga is a blend of PDF, pdfTex and ruby into a library to make
scientific graphs of high quality. It is fairly complete and
@@ -71,3 +75,21 @@
Homepage: http://rubyforge.org/projects/tioga/
.
This package provides a lot of examples to get started with tioga.
+
+Package: libtioga-ruby-doc
+Architecture: all
+Section: doc
+Recommends: libtioga-ruby, irb
+Description: Ruby library for scientific graphs
+ Tioga is a blend of PDF, pdfTex and ruby into a library to make
+ scientific graphs of high quality. It is fairly complete and
+ extensive, and comes with examples and (online) complete documentation.
+ .
+ Tioga is useful for scripting the generation of graphs, and comes
+ with a configuration file for irb for interactive plotting of pictures.
+ .
+ Homepage: http://rubyforge.org/projects/tioga/
+ .
+ This package provides the rdoc documentation generated from tioga's
+ source. It includes a complete API reference and a fairly extensive
+ tutorial.
Added: packages/libtioga-ruby/trunk/debian/libtioga-ruby1.8.manpages
===================================================================
--- packages/libtioga-ruby/trunk/debian/libtioga-ruby1.8.manpages 2007-04-13 10:29:37 UTC (rev 1352)
+++ packages/libtioga-ruby/trunk/debian/libtioga-ruby1.8.manpages 2007-04-14 21:02:48 UTC (rev 1353)
@@ -0,0 +1 @@
+debian/tioga.1
\ No newline at end of file
Modified: packages/libtioga-ruby/trunk/debian/patches/00list
===================================================================
--- packages/libtioga-ruby/trunk/debian/patches/00list 2007-04-13 10:29:37 UTC (rev 1352)
+++ packages/libtioga-ruby/trunk/debian/patches/00list 2007-04-14 21:02:48 UTC (rev 1353)
@@ -1,2 +1,5 @@
01-README.examples
+02-mkmf2.rb
+03-remove-irb_tioga
# 02-extconf.rb
+04-fix-tioga
\ No newline at end of file
Added: packages/libtioga-ruby/trunk/debian/patches/02-mkmf2.rb.dpatch
===================================================================
--- packages/libtioga-ruby/trunk/debian/patches/02-mkmf2.rb.dpatch 2007-04-13 10:29:37 UTC (rev 1352)
+++ packages/libtioga-ruby/trunk/debian/patches/02-mkmf2.rb.dpatch 2007-04-14 21:02:48 UTC (rev 1353)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02-mkmf2.rb.dpatch by Vincent Fourmond <fourmond at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fix mkmf2.rb to handle properly the install of binaries
+
+ at DPATCH@
+diff -urNad libtioga-ruby-1.5~/split/mkmf2.rb libtioga-ruby-1.5/split/mkmf2.rb
+--- libtioga-ruby-1.5~/split/mkmf2.rb 2007-01-13 23:25:07.000000000 +0100
++++ libtioga-ruby-1.5/split/mkmf2.rb 2007-04-14 08:59:32.000000000 +0200
+@@ -616,7 +616,7 @@
+ MAKEFILE_CONFIG["INCLUDE_INSTALL_DIR"] =
+ "$(DESTDIR)$(includedir)"
+ MAKEFILE_CONFIG["EXEC_INSTALL_DIR"] =
+- File.join("$(prefix)", "bin")
++ File.join("$(DESTDIR)$(prefix)", "bin")
+
+ when "local"
+ MAKEFILE_CONFIG["RUBYLIB_INSTALL_DIR"] =
Property changes on: packages/libtioga-ruby/trunk/debian/patches/02-mkmf2.rb.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/libtioga-ruby/trunk/debian/patches/03-remove-irb_tioga.dpatch
===================================================================
--- packages/libtioga-ruby/trunk/debian/patches/03-remove-irb_tioga.dpatch 2007-04-13 10:29:37 UTC (rev 1352)
+++ packages/libtioga-ruby/trunk/debian/patches/03-remove-irb_tioga.dpatch 2007-04-14 21:02:48 UTC (rev 1353)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03-remove-irb_tioga.dpatch by <fourmond at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Suppress the installation of the irb_tioga script,
+## DP: as I don't think it makes really sense
+
+ at DPATCH@
+diff -urNad libtioga-ruby-1.5~/split/extconf.rb libtioga-ruby-1.5/split/extconf.rb
+--- libtioga-ruby-1.5~/split/extconf.rb 2007-03-09 11:00:24.000000000 +0100
++++ libtioga-ruby-1.5/split/extconf.rb 2007-04-14 22:29:50.000000000 +0200
+@@ -85,7 +85,7 @@
+
+ # Installing scripts
+ declare_exec 'scripts/tioga'
+-declare_exec 'scripts/irb_tioga'
++# declare_exec 'scripts/irb_tioga'
+
+
+ if Config::CONFIG["target"] =~ /darwin/i
Property changes on: packages/libtioga-ruby/trunk/debian/patches/03-remove-irb_tioga.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: packages/libtioga-ruby/trunk/debian/patches/04-fix-tioga.dpatch
===================================================================
--- packages/libtioga-ruby/trunk/debian/patches/04-fix-tioga.dpatch 2007-04-13 10:29:37 UTC (rev 1352)
+++ packages/libtioga-ruby/trunk/debian/patches/04-fix-tioga.dpatch 2007-04-14 21:02:48 UTC (rev 1353)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04-fix-tioga.dpatch by <fourmond at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad libtioga-ruby-1.5~/split/scripts/tioga libtioga-ruby-1.5/split/scripts/tioga
+--- libtioga-ruby-1.5~/split/scripts/tioga 2007-01-24 23:39:42.000000000 +0100
++++ libtioga-ruby-1.5/split/scripts/tioga 2007-04-14 22:54:30.000000000 +0200
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env ruby
++#!/usr/bin/env ruby1.8
+ require 'Tioga/tioga_ui.rb'
+
+
Property changes on: packages/libtioga-ruby/trunk/debian/patches/04-fix-tioga.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Modified: packages/libtioga-ruby/trunk/debian/rules
===================================================================
--- packages/libtioga-ruby/trunk/debian/rules 2007-04-13 10:29:37 UTC (rev 1352)
+++ packages/libtioga-ruby/trunk/debian/rules 2007-04-14 21:02:48 UTC (rev 1353)
@@ -22,6 +22,7 @@
CFLAGS = -Wall -g
# The target directory for examples:
EXAMPLES_TARGET_DIR=usr/share/doc/libtioga-ruby-examples
+DOC_TARGET_DIR=usr/share/doc/libtioga-ruby/html
@@ -56,6 +57,10 @@
# Add here commands to compile the indep part of the package.
#$(MAKE) doc
+# Creating rdoc documentation:
+ rdoc1.8
+ mkdir doc/images
+ cp -R images/*.png doc/images
touch $@
clean:: clean-patched unpatch
@@ -68,6 +73,7 @@
-cd $(SRCDIR); $(MAKE) distclean
-rm -f $(SRCDIR)/mkmf2.log
-rm -f $(SRCDIR)/mkmf.log
+ -rm -rf doc/
dh_clean
CP_EXAMPLES=cp -t $(CURDIR)/debian/libtioga-ruby-examples/$(EXAMPLES_TARGET_DIR)
@@ -85,6 +91,9 @@
install -d $(CURDIR)/debian/libtioga-ruby-examples/$(EXAMPLES_TARGET_DIR)
$(CP_EXAMPLES) -r $(CURDIR)/samples.tar.gz
$(CP_EXAMPLES) $(CURDIR)/README.examples $(CURDIR)/irbrc
+# And do the same for the rdoc-generated documentation:
+ install -d $(CURDIR)/debian/libtioga-ruby-doc/$(DOC_TARGET_DIR)
+ cp -r doc/* $(CURDIR)/debian/libtioga-ruby-doc/$(DOC_TARGET_DIR)
dh_install -i
install-arch:
Added: packages/libtioga-ruby/trunk/debian/tioga.1
===================================================================
--- packages/libtioga-ruby/trunk/debian/tioga.1 2007-04-13 10:29:37 UTC (rev 1352)
+++ packages/libtioga-ruby/trunk/debian/tioga.1 2007-04-14 21:02:48 UTC (rev 1353)
@@ -0,0 +1,52 @@
+.TH TIOGA "1" "April 2007" "Tioga version 1.5"
+.SH NAME
+tioga \- toolbox for irb-like tioga scripts
+
+.SH SYNOPSIS
+.B tioga
+.I file.rb
+.I [actions]
+
+
+.SH DESCRIPTION
+
+.B tioga
+is a toolbox to work with 'irb-like' Tioga graphics, such as
+the ones provided in the
+.I libtioga-ruby-examples
+package. Here are typical uses:
+
+.TP
+.I tioga plots.rb -l
+gives a list of plots available in the file
+.IR plots.rb .
+
+.TP
+.I tioga plots.rb -0
+runs the first plot of the
+.I plots.rb
+file and displays it using
+.I xpdf
+as a viewer.
+
+.P
+
+You really should consider giving a look at the
+.I /usr/share/doc/libtioga-ruby/html/classes/Tioga/Tutorial/CommandLine.html
+page found in the
+.I libtioga-ruby-doc
+package.
+
+.SH "SEE ALSO"
+The documentation in the
+.I /usr/share/doc/libtioga-ruby/html/
+directory of the package
+.IR libtioga-ruby-doc .
+
+
+.SH AUTHOR
+.B tioga
+was written by Bill Paxton.
+
+This manual page was written by Vincent
+Fourmond for the Debian project, but may be used by others.
More information about the Pkg-ruby-extras-commits
mailing list