[Pkg-ruby-extras-commits] r1218 - in packages/tioga/trunk: . debian debian/patches

Vincent Fourmond fourmond-guest at alioth.debian.org
Sat Dec 16 14:25:45 CET 2006


Author: fourmond-guest
Date: 2006-12-16 14:25:45 +0100 (Sat, 16 Dec 2006)
New Revision: 1218

Added:
   packages/tioga/trunk/debian/
   packages/tioga/trunk/debian/README.Debian
   packages/tioga/trunk/debian/changelog
   packages/tioga/trunk/debian/compat
   packages/tioga/trunk/debian/control
   packages/tioga/trunk/debian/copyright
   packages/tioga/trunk/debian/libtioga-ruby1.8.docs
   packages/tioga/trunk/debian/patches/
   packages/tioga/trunk/debian/patches/00list
   packages/tioga/trunk/debian/patches/01-README.examples.dpatch
   packages/tioga/trunk/debian/patches/02-extconf.rb.dpatch
   packages/tioga/trunk/debian/rules
   packages/tioga/trunk/debian/watch
Log:
Load newtrunk into packages/tioga/trunk.


Added: packages/tioga/trunk/debian/README.Debian
===================================================================
--- packages/tioga/trunk/debian/README.Debian	2006-12-16 13:25:26 UTC (rev 1217)
+++ packages/tioga/trunk/debian/README.Debian	2006-12-16 13:25:45 UTC (rev 1218)
@@ -0,0 +1,16 @@
+tioga for Debian
+----------------
+
+  This is tioga packaged for debian. For beginners, you should take a look 
+at the examples/ directory and at the online tutorial, 
+
+http://theory.kitp.ucsb.edu/~paxton/tioga_doc/classes/Tioga/Tutorial.html
+
+  If you really enjoy using it, please consider joining the dedicated mailing list, 
+tioga-news at rubyforge.org. You can register at 
+
+http://rubyforge.org/mailman/listinfo/tioga-news
+
+  I sincerely hope you will enjoy using Tioga as much as I do !
+
+ -- Vincent Fourmond <vincent.fourmond at 9online.fr>, Wed,  4 Jan 2006 21:11:29 +0100

Added: packages/tioga/trunk/debian/changelog
===================================================================
--- packages/tioga/trunk/debian/changelog	2006-12-16 13:25:26 UTC (rev 1217)
+++ packages/tioga/trunk/debian/changelog	2006-12-16 13:25:45 UTC (rev 1218)
@@ -0,0 +1,44 @@
+tioga (1.2.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Updated standards to 3.7.2 (no changes required)
+  * Renamed the binary package to libtioga-ruby1.8 to follow ruby conventions
+  * Provided tioga transition package and libtioga-ruby ruby-version independant
+    package
+  * Now using dpatch to manage changes to upstream.
+  * Description improved (Closes: #352746, #354702), thanks to Martin Schulze
+  * Provide a libtioga-ruby-examples package.
+  * Tweaking extconf.rb to disable by default the installation of include files
+
+ -- Vincent Fourmond <vincent.fourmond at 9online.fr>  Wed,  4 Oct 2006 20:54:50 +0200
+
+tioga (1.0.L-1) unstable; urgency=low
+
+  * New upstream release (few bug fixes, few more features).
+  * Second upload to debian (Closes: #346373) (the first wasn't seen by the BTS...)
+  * Fix debian/control to Build-Depend on ruby1.8 (Closes: #352309)
+
+ -- Vincent Fourmond <vincent.fourmond at 9online.fr>  Sat, 11 Feb 2006 14:33:18 +0100
+
+tioga (1.0.I-2) unstable; urgency=low
+
+  * Fixed a small mistake in debian/rules
+
+ -- Vincent Fourmond <vincent.fourmond at 9online.fr>  Tue, 24 Jan 2006 19:15:58 +0100
+
+tioga (1.0.I-1) unstable; urgency=low
+
+  * New upstream release, fixes a bug in show_marker;
+  * Fixed the installation path;
+  * Provided an archive for samples/
+  * Added some small documentation for samples/ plus sine.rb (my own example).
+  * First upload to debian (Closes: #346373)
+
+ -- Vincent Fourmond <vincent.fourmond at 9online.fr>  Sun,  8 Jan 2006 00:22:51 +0100
+
+tioga (1.0.H-1) unstable; urgency=low
+
+  * Initial packaging.
+
+ -- Vincent Fourmond <vincent.fourmond at 9online.fr>  Wed,  4 Jan 2006 21:11:29 +0100
+

Added: packages/tioga/trunk/debian/compat
===================================================================
--- packages/tioga/trunk/debian/compat	2006-12-16 13:25:26 UTC (rev 1217)
+++ packages/tioga/trunk/debian/compat	2006-12-16 13:25:45 UTC (rev 1218)
@@ -0,0 +1 @@
+4

Added: packages/tioga/trunk/debian/control
===================================================================
--- packages/tioga/trunk/debian/control	2006-12-16 13:25:26 UTC (rev 1217)
+++ packages/tioga/trunk/debian/control	2006-12-16 13:25:45 UTC (rev 1218)
@@ -0,0 +1,73 @@
+Source: tioga
+Section: graphics
+Priority: optional
+Maintainer: Vincent Fourmond <vincent.fourmond at 9online.fr>
+Build-Depends: debhelper (>= 4.0.0), ruby1.8-dev, ruby1.8, zlib1g-dev,
+ dpatch
+Standards-Version: 3.7.2
+
+Package: tioga
+Architecture: all
+Depends: libtioga-ruby
+Recommends: irb1.8, rdoc1.8
+Description: Ruby library for scientific graphs [transition package]
+ Tioga is a blend of PDF, pdfTex and ruby into a library to make
+ scientific graphes 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 graphes, and comes 
+ with a configuration file for irb for interactive plotting of pictures.
+ .
+ Homepage: http://rubyforge.org/projects/tioga/
+ .
+ This package is provided for a smooth transition and can be safely remove
+ once libtioga-ruby has been installed.
+
+Package: libtioga-ruby1.8
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby1.8, tetex-bin
+Replaces: tioga
+Suggests: libtioga-ruby-examples
+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
+ scientific graphes 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 graphes, and comes 
+ with a configuration file for irb for interactive plotting of pictures.
+ .
+ Homepage: http://rubyforge.org/projects/tioga/
+
+Package: libtioga-ruby
+Architecture: all
+Depends: libtioga-ruby1.8
+Suggests: libtioga-ruby-examples
+Replaces: tioga
+Description: Ruby library for scientific graphs
+ Tioga is a blend of PDF, pdfTex and ruby into a library to make
+ scientific graphes 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 graphes, and comes 
+ with a configuration file for irb for interactive plotting of pictures.
+ .
+ Homepage: http://rubyforge.org/projects/tioga/
+ .
+ This package is a dependency package, which depends on Debian's default Ruby
+ version (currently 1.8.x).
+
+Package: libtioga-ruby-examples
+Architecture: all
+Recommends: libtioga-ruby, irb, rdoc
+Description: Ruby library for scientific graphs
+ Tioga is a blend of PDF, pdfTex and ruby into a library to make
+ scientific graphes 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 graphes, and comes 
+ with a configuration file for irb for interactive plotting of pictures.
+ .
+ Homepage: http://rubyforge.org/projects/tioga/
+ .
+ This package provides a lot of examples to get started with tioga.

Added: packages/tioga/trunk/debian/copyright
===================================================================
--- packages/tioga/trunk/debian/copyright	2006-12-16 13:25:26 UTC (rev 1217)
+++ packages/tioga/trunk/debian/copyright	2006-12-16 13:25:45 UTC (rev 1218)
@@ -0,0 +1,26 @@
+This package was debianized by Vincent Fourmond <vincent.fourmond at 9online.fr> on
+Wed,  4 Jan 2006 21:11:29 +0100.
+
+It was downloaded from http://theory.kitp.ucsb.edu/~paxton/tioga.html
+
+Copyright Holder: Bill Paxton <paxton at kitp.ucsb.edu>
+
+License:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+

Added: packages/tioga/trunk/debian/libtioga-ruby1.8.docs
===================================================================
--- packages/tioga/trunk/debian/libtioga-ruby1.8.docs	2006-12-16 13:25:26 UTC (rev 1217)
+++ packages/tioga/trunk/debian/libtioga-ruby1.8.docs	2006-12-16 13:25:45 UTC (rev 1218)
@@ -0,0 +1,2 @@
+Tioga_README
+lgpl.txt

Added: packages/tioga/trunk/debian/patches/00list
===================================================================
--- packages/tioga/trunk/debian/patches/00list	2006-12-16 13:25:26 UTC (rev 1217)
+++ packages/tioga/trunk/debian/patches/00list	2006-12-16 13:25:45 UTC (rev 1218)
@@ -0,0 +1,2 @@
+01-README.examples
+02-extconf.rb

Added: packages/tioga/trunk/debian/patches/01-README.examples.dpatch
===================================================================
--- packages/tioga/trunk/debian/patches/01-README.examples.dpatch	2006-12-16 13:25:26 UTC (rev 1217)
+++ packages/tioga/trunk/debian/patches/01-README.examples.dpatch	2006-12-16 13:25:45 UTC (rev 1218)
@@ -0,0 +1,60 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01-README.examples.dpatch by  <vincent.fourmond at 9online.fr>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: A file explaining how to use the examples.
+
+ at DPATCH@
+diff -urNad tioga-1.2.0~/README.examples tioga-1.2.0/README.examples
+--- tioga-1.2.0~/README.examples	1970-01-01 01:00:00.000000000 +0100
++++ tioga-1.2.0/README.examples	2006-10-04 20:02:03.000000000 +0200
+@@ -0,0 +1,49 @@
++Tioga package examples
++
++  The examples are contained in the samples.tar.gz in this directory. You should unpack this archive 
++to take advantage of the examples.
++
++  The examples basically into two different categories:
++
++* most of the ruby files from the subdirectories are for use with irb. You should have irb and the 
++following lines in your ~/.irbrc
++
++require 'Tioga/irb_tioga.rb'
++include Tioga::IRB_Tioga
++
++ to include specific interactive facilities (or alternatively, copy the irbrc file to ~/.irbrc). Then, 
++load the file you're interested in with (you have to be in the directory where the file resides, else 
++the output will fail).
++
++load_figures 'file.rb'
++
++  list the plots available with:
++
++ls
++
++  and make the plot you want with:
++
++mk n
++
++  where n is it's number in the output of ls. Alternatively, you can use 
++
++ma
++
++  to make all the plots.
++
++help
++
++  will give you some small help about the various commands available, provided that the rdoc
++package is installed on your machine.
++
++  Please note that the output of the given plots will reside in a subdirectory whose name finishes 
++with _out.
++
++  For more detailed explanations, see 
++
++http://theory.kitp.ucsb.edu/~paxton/tioga_doc/classes/Tioga/Tutorial/Sample.html
++
++
++  * the sine.rb ruby file is a standalone program. Just run ruby sine.rb, and have a look at the files 
++produced !
++


Property changes on: packages/tioga/trunk/debian/patches/01-README.examples.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/tioga/trunk/debian/patches/02-extconf.rb.dpatch
===================================================================
--- packages/tioga/trunk/debian/patches/02-extconf.rb.dpatch	2006-12-16 13:25:26 UTC (rev 1217)
+++ packages/tioga/trunk/debian/patches/02-extconf.rb.dpatch	2006-12-16 13:25:45 UTC (rev 1218)
@@ -0,0 +1,46 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02-extconf.rb.dpatch by  <vincent.fourmond at 9online.fr>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Remove the installation of include files, as they do more 
+## DP: bad than good.
+
+ at DPATCH@
+diff -urNad tioga-1.2.0~/split/extconf.rb tioga-1.2.0/split/extconf.rb
+--- tioga-1.2.0~/split/extconf.rb	2006-10-04 21:19:15.000000000 +0200
++++ tioga-1.2.0/split/extconf.rb	2006-10-04 21:19:24.000000000 +0200
+@@ -5,22 +5,22 @@
+ # install Dvector include and library files into base dirs,
+ # and builds Dvector.so
+ setup_dir("Dvector", "Dobjects", 
+-          "Dobjects/Dvector", "") do |l,b,i|
++          "Dobjects/Dvector") do |l,b,i|
+   b.add_sources("symbols.c")
+ end
+ # the same for Dtable
+ setup_dir("Dtable", "Dobjects", 
+-          "Dobjects/Dtable", "") do |l,b,i|
++          "Dobjects/Dtable") do |l,b,i|
+   b.add_sources("symbols.c")
+ end
+ 
+-setup_dir("Flate", "", "Flate", "") do |l,b,i|
++setup_dir("Flate", "", "Flate") do |l,b,i|
+   b.add_sources("symbols.c")
+ end
+ 
+ 
+ setup_dir("Function", "Dobjects", 
+-          "Dobjects/Function", "") do |l,b,i|
++          "Dobjects/Function") do |l,b,i|
+   b.add_sources("symbols.c")
+ end
+ 
+@@ -28,6 +28,7 @@
+ # We declare Tioga by hand, as an automatic generation would not
+ # take lib/TexPreamble.rb into accound (missing).
+ declare_library("Tioga", 
++                "Tioga/lib/tioga.rb",
+                 "Tioga/lib/ColorConstants.rb",
+                 "Tioga/lib/FigMkr.rb",
+                 "Tioga/lib/FigureConstants.rb",


Property changes on: packages/tioga/trunk/debian/patches/02-extconf.rb.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/tioga/trunk/debian/rules
===================================================================
--- packages/tioga/trunk/debian/rules	2006-12-16 13:25:26 UTC (rev 1217)
+++ packages/tioga/trunk/debian/rules	2006-12-16 13:25:45 UTC (rev 1218)
@@ -0,0 +1,141 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+#
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets  by Bill Allombert 2001
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+SRCDIR=split
+RUBY=ruby1.8
+
+CFLAGS = -Wall -g
+# The target directory for examples:
+EXAMPLES_TARGET_DIR=usr/share/doc/libtioga-ruby-examples
+
+
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp: patch-stamp
+	dh_testdir
+	# Add here commands to configure the package.
+	cd $(SRCDIR); $(RUBY) extconf.rb --dist;
+# Fix painfull file permission
+	chmod 644 samples/plots/data/builder.c
+	touch $@
+
+
+#Architecture 
+build: build-arch build-indep
+
+build-arch: build-arch-stamp
+build-arch-stamp: configure-stamp
+
+	# Add here commands to compile the arch part of the package.
+	cd $(SRCDIR); $(MAKE)
+	touch $@
+
+build-indep: build-indep-stamp
+build-indep-stamp: configure-stamp 
+
+	# Add here commands to compile the indep part of the package.
+	#$(MAKE) doc
+	touch $@
+
+clean:  clean-patched unpatch
+clean-patched: 
+	dh_testdir
+	dh_testroot
+	rm -f build-arch-stamp build-indep-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	-cd $(SRCDIR); $(MAKE) distclean
+	-rm -f $(SRCDIR)/mkmf2.log
+	-rm -f $(SRCDIR)/mkmf.log
+	dh_clean 
+
+CP_EXAMPLES=cp -t $(CURDIR)/debian/libtioga-ruby-examples/$(EXAMPLES_TARGET_DIR)
+
+samples.tar.gz:
+	tar cvzf $@ samples/
+
+install: install-indep install-arch
+install-indep: samples.tar.gz
+	dh_testdir
+	dh_testroot
+	dh_clean -k -i 
+	dh_installdirs -i
+# Simply copy the sample directory to the target dir
+	install -d $(CURDIR)/debian/libtioga-ruby-examples/$(EXAMPLES_TARGET_DIR)
+	$(CP_EXAMPLES) -r $(CURDIR)/samples.tar.gz
+	$(CP_EXAMPLES) $(CURDIR)/README.examples $(CURDIR)/irbrc
+	dh_install -i
+
+install-arch:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -s 
+	dh_installdirs -s
+
+	# Add here commands to install the arch part of the package into 
+	# debian/tmp.
+	cd $(SRCDIR); $(MAKE) install DESTDIR=$(CURDIR)/debian/libtioga-ruby1.8
+
+	dh_install -s
+# Must not depend on anything. This is to be called by
+# binary-arch/binary-indep
+# in another 'make' thread.
+binary-common:
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs Changelog
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress 
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+# Build architecture independant packages using the common target.
+binary-indep: build-indep install-indep
+	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build-arch install-arch
+	$(MAKE) -f debian/rules DH_OPTIONS=-s binary-common
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure
+
+# targets for dpatch, taken from dpatch(1)
+patch: patch-stamp
+
+patch-stamp:
+	dpatch apply-all
+	touch $@
+
+unpatch:
+	dpatch deapply-all
+	rm -rf patch-stamp debian/patched


Property changes on: packages/tioga/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/tioga/trunk/debian/watch
===================================================================
--- packages/tioga/trunk/debian/watch	2006-12-16 13:25:26 UTC (rev 1217)
+++ packages/tioga/trunk/debian/watch	2006-12-16 13:25:45 UTC (rev 1218)
@@ -0,0 +1,8 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+http://rubyforge.org/frs/?group_id=701 .*tioga-(.*)\.t.*




More information about the Pkg-ruby-extras-commits mailing list