[DRE-commits] r5945 - in trunk/libtioga-ruby/debian: . patches
Vincent Fourmond
fourmond at alioth.debian.org
Mon Oct 18 21:15:30 UTC 2010
Author: fourmond
Date: 2010-10-18 21:15:18 +0000 (Mon, 18 Oct 2010)
New Revision: 5945
Modified:
trunk/libtioga-ruby/debian/changelog
trunk/libtioga-ruby/debian/control
trunk/libtioga-ruby/debian/patches/00list
trunk/libtioga-ruby/debian/rules
Log:
[libtioga-ruby] A whole bunch of modifications to adapt to upstreams new build system (though nothing working yet)
Modified: trunk/libtioga-ruby/debian/changelog
===================================================================
--- trunk/libtioga-ruby/debian/changelog 2010-10-18 19:03:31 UTC (rev 5944)
+++ trunk/libtioga-ruby/debian/changelog 2010-10-18 21:15:18 UTC (rev 5945)
@@ -1,3 +1,13 @@
+libtioga-ruby (1.12-1) experimental (UNRELEASED); urgency=low
+
+ * New upstream release
+ * Already conforms to standards 3.9.1
+ * Switched to using cdbs/ruby-setup-rb.mk now that upstream build
+ system relies on setup.rb
+ * Disable a whole bunch of now-useless patches...
+
+ -- Vincent Fourmond <fourmond at debian.org> Mon, 18 Oct 2010 23:12:38 +0200
+
libtioga-ruby (1.11-1) unstable; urgency=low
* New upstream release
Modified: trunk/libtioga-ruby/debian/control
===================================================================
--- trunk/libtioga-ruby/debian/control 2010-10-18 19:03:31 UTC (rev 5944)
+++ trunk/libtioga-ruby/debian/control 2010-10-18 21:15:18 UTC (rev 5945)
@@ -3,8 +3,8 @@
Priority: optional
Maintainer: Vincent Fourmond <fourmond at debian.org>
Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.0), ruby1.8-dev, ruby1.8, zlib1g-dev, dpatch, ruby-pkg-tools, rdoc1.8
-Standards-Version: 3.8.2
+Build-Depends: debhelper (>= 5.0.0), ruby1.8-dev, ruby1.8, zlib1g-dev, dpatch, ruby-pkg-tools, rdoc1.8, libfftw3-dev, cdbs
+Standards-Version: 3.9.1
Homepage: http://tioga.rubyforge.org
Vcs-Svn: svn://svn.debian.org/svn/pkg-ruby-extras/trunk/libtioga-ruby/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-ruby-extras/trunk/libtioga-ruby/
Modified: trunk/libtioga-ruby/debian/patches/00list
===================================================================
--- trunk/libtioga-ruby/debian/patches/00list 2010-10-18 19:03:31 UTC (rev 5944)
+++ trunk/libtioga-ruby/debian/patches/00list 2010-10-18 21:15:18 UTC (rev 5945)
@@ -1,5 +1,5 @@
01-README.examples
# 02-mkmf2.rb
-03-remove-irb_tioga
+# 03-remove-irb_tioga
# 02-extconf.rb
-04-fix-tioga
+# 04-fix-tioga
Modified: trunk/libtioga-ruby/debian/rules
===================================================================
--- trunk/libtioga-ruby/debian/rules 2010-10-18 19:03:31 UTC (rev 5944)
+++ trunk/libtioga-ruby/debian/rules 2010-10-18 21:15:18 UTC (rev 5945)
@@ -1,151 +1,6 @@
#!/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
-DOC_TARGET_DIR=usr/share/doc/libtioga-ruby/html
-
-
-
-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
-# Creating rdoc documentation:
- rdoc1.8
- mkdir doc/images
- cp -R images/*.png doc/images
- 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); [ ! -f Makefile ] || $(MAKE) distclean
- rm -f $(SRCDIR)/mkmf2.log $(SRCDIR)/mkmf.log
- rm -rf doc/
-# Some additional cleanup, as per #442655
- rm -f samples.tar.gz split/Tioga/lib/TexPreamble.rb tioga.sty
- 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
-# 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:
- 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
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
More information about the Pkg-ruby-extras-commits
mailing list