--- scilab-overload-1.3.2.orig/debian/rules +++ scilab-overload-1.3.2/debian/rules @@ -0,0 +1,66 @@ +#!/usr/bin/make -f +# Copyright 2008 Sylvestre Ledru + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + + + +build: build-stamp + +build-stamp: + SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 /usr/bin/scilab -nw -f builder.sce + touch $@ + +clean:: clean-work #unpatch +clean-work: + dh_testdir + dh_testroot + rm -rf build check jar src/liboverload.so help/*/.last_successful_build_javaHelp + rm -fr build-stamp help/*/scilab_*_help/ help/*/.list_* + rm -f install-stamp + + # some additional cleanups + dh_clean + +install: build install-stamp + +install-stamp: + dh_testdir + dh_testroot + mkdir -p $(CURDIR)/debian/scilab-overload/usr/lib/scilab-overload/lib/ + cp -p src/liboverload.so $(CURDIR)/debian/scilab-overload/usr/lib/scilab-overload/lib/ + cp -Rp jar/ $(CURDIR)/debian/scilab-overload/usr/lib/scilab-overload/ + cp -Rp etc/ $(CURDIR)/debian/scilab-overload/usr/lib/scilab-overload/ + cp -Rp loader.sce $(CURDIR)/debian/scilab-overload/usr/lib/scilab-overload/ + cp -Rp demos/ $(CURDIR)/debian/scilab-overload/usr/lib/scilab-overload/ + mkdir -p $(CURDIR)/debian/scilab-overload/usr/share/scilab/contrib/ + cd $(CURDIR)/debian/scilab-overload/usr/share/scilab/contrib/; \ + rm -f scilab-overload; \ + ln -s ../../../lib/scilab-overload/ overload + +binary-arch: binary-arch-stamp + +binary-arch-stamp: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a + dh_installdocs --all README + dh_installexamples -a + dh_installman -a + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a --noscripts + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +.PHONY: build clean binary-indep binary install binary-arch binary-arch-stamp + + +get-orig-source: + -uscan --upstream-version 0 --- scilab-overload-1.3.2.orig/debian/changelog +++ scilab-overload-1.3.2/debian/changelog @@ -0,0 +1,35 @@ +scilab-overload (1.3.2-3) unstable; urgency=low + + * Rebuild to avoid the bug #550243 + * Standards-Version updated to 3.8.4 + + -- Sylvestre Ledru Tue, 09 Mar 2010 08:21:19 +0100 + +scilab-overload (1.3.2-2) unstable; urgency=low + + * Missing target called files to be not installed + + -- Sylvestre Ledru Thu, 26 Nov 2009 14:59:30 +0100 + +scilab-overload (1.3.2-1) unstable; urgency=low + + * New upstream release + * Patch ilib_gen_Make.diff removed (upstream changed the way he is doing it) + * Patch missingHeader.diff added (missing header file during the build + process) + + -- Sylvestre Ledru Fri, 30 Oct 2009 15:27:15 +0100 + +scilab-overload (1.3.1-2) unstable; urgency=low + + * Update of the copyright file (missing info about help/*/build_help.sce) + * Missing gfortran compiler to build some files + * Add some env variables in order to remove some warnings on build time + + -- Sylvestre Ledru Tue, 15 Sep 2009 00:47:43 +0200 + +scilab-overload (1.3.1-1) unstable; urgency=low + + * Initial release (Closes: #546258) + + -- Sylvestre Ledru Sat, 12 Sep 2009 01:07:51 +0200 --- scilab-overload-1.3.2.orig/debian/control +++ scilab-overload-1.3.2/debian/control @@ -0,0 +1,21 @@ +Source: scilab-overload +Section: math +Priority: optional +Maintainer: Debian Science Team +Uploaders: Sylvestre Ledru +Build-Depends: debhelper (>= 7), cdbs, scilab (>= 5.1.1), + scilab-doc (>= 5.1.1), gfortran +Standards-Version: 3.8.4 +Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/scilab-toolboxes/overload/trunk +Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/scilab-toolboxes/overload/trunk +Homepage: http://scilabtbxset.sourceforge.net/ + +Package: scilab-overload +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, scilab (>= 5.1.1) +Description: Scilab toolbox to overload Scilab's macros + Thanks to this toolbox, a user can overload user-defined functions + as if they were built-in functions. + . + This provides the capabilities to overload low-level Scilab's internal + features. --- scilab-overload-1.3.2.orig/debian/docs +++ scilab-overload-1.3.2/debian/docs @@ -0,0 +1 @@ +README --- scilab-overload-1.3.2.orig/debian/copyright +++ scilab-overload-1.3.2/debian/copyright @@ -0,0 +1,58 @@ +This package was debianized by Sylvestre Ledru on +Tue, 15 May 2007 17:58:27 +0800. + +It was downloaded from + +Upstream Author: + + Calixte Denizet + +Copyright: + + + +License: + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program 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 General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +The full text of the GPL can be found in `/usr/share/common-licenses/GPL-3'. + + +File: ./src/overfuns.f + +Copyright: 2002 - INRIA + +License: CeCILL + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + + +File: src/sci_mygateway.c src/sci_mygateway.h + +Copyright: (C) 2009 - DIGITEO - Sylvestre LEDRU + +License: CeCILL + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + +File: help/*/build_help.sce +Copyright: INRIA 2008 +License: This file is released into the public domain + --- scilab-overload-1.3.2.orig/debian/watch +++ scilab-overload-1.3.2/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://sf.net/scilabtbxset/Overload_Toolbox_(\d+[0-9\-\.r]+)\.tar\.gz \ + debian false --- scilab-overload-1.3.2.orig/debian/compat +++ scilab-overload-1.3.2/debian/compat @@ -0,0 +1 @@ +5 --- scilab-overload-1.3.2.orig/debian/patches/exitAtTheEndOfBuilder.diff +++ scilab-overload-1.3.2/debian/patches/exitAtTheEndOfBuilder.diff @@ -0,0 +1,8 @@ +--- Overload_Toolbox.orig/builder.sce 2009-08-25 21:50:12.000000000 +0200 ++++ Overload_Toolbox/builder.sce 2009-09-12 01:29:29.000000000 +0200 +@@ -23,3 +23,5 @@ + + printf ('\nYou can see a demo with exec demos/overload.dem\n') + // ==================================================================== ++exit(); ++ --- scilab-overload-1.3.2.orig/debian/patches/missingHeader.diff +++ scilab-overload-1.3.2/debian/patches/missingHeader.diff @@ -0,0 +1,11 @@ +--- scilab-overload-1.3.2.obsolete.0.865658992276625/src/builder_src.sce 2009-10-22 18:14:09.000000000 +0200 ++++ scilab-overload-1.3.2/src/builder_src.sce 2009-10-30 15:43:38.000000000 +0100 +@@ -23,6 +23,6 @@ + liboverload=mgetl('liboverload.c'); + liboverload=strsubst(liboverload,'static GenericTable','GenericTable'); + mputl(liboverload,'liboverload.c'); +-ilib_build('overload',table,['sci_overload','overstack','overfuns'],[],'toto','',include,'',%f,''); ++ilib_build('overload',table,['sci_overload','overstack','overfuns','sci_dynlib.h'],[],'toto','',include,'',%f,''); + + clear ici path include; +\ Pas de fin de ligne à la fin du fichier. --- scilab-overload-1.3.2.orig/debian/patches/libPath.diff +++ scilab-overload-1.3.2/debian/patches/libPath.diff @@ -0,0 +1,11 @@ +--- Overload_Toolbox.orig/etc/Overload_Toolbox.start 2009-07-30 16:12:16.000000000 +0200 ++++ Overload_Toolbox/etc/Overload_Toolbox.start 2009-09-12 01:25:30.000000000 +0200 +@@ -7,7 +7,7 @@ + resume + end + +-addinter(path+'../src/liboverload.so','liboverload',['overload']) ++addinter(path+'../lib/liboverload.so','liboverload',['overload']) + printf ('\n') + + printf('Load help : ');