Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-16 Thread Luis Ibanez
On Wed, Feb 15, 2012 at 3:56 PM, Andreas Tille andr...@an3as.eu wrote: On Wed, Feb 15, 2012 at 04:29:16PM +0100, Andreas Tille wrote: The problem is that *my* fis-gtm_5.4-002B.orig.tar.gz tarball does not contain the file fis-gtm-src-extras/pro/gtminstall.  Should I recreate the

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-16 Thread Andreas Tille
On Thu, Feb 16, 2012 at 09:13:10PM -0500, Luis Ibanez wrote: The file gtminstall is created at build time by the script: sr_unix/comlist.csh in line 286: cp $gtm_tools/gtminstall.sh gtminstall and it is also removed by the clean pass, when the pro directory is

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-15 Thread Luis Ibanez
On Mon, Feb 13, 2012 at 5:38 PM, Andreas Tille andr...@an3as.eu wrote: On Mon, Feb 13, 2012 at 04:45:04PM -0500, Bhaskar, K.S wrote: If gtm_version is set, it does not download anything.  So, for installing a GT.M binary that is built from source, Luis can simply use the gtminstall script.

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-15 Thread Andreas Tille
Hi Luis, On Wed, Feb 15, 2012 at 08:20:14AM -0500, Luis Ibanez wrote: Using the ./pro/gtminstall script was almost too easy:-) Here is how the rules file looks like now: override_dh_auto_install: ./pro/gtminstall --utf8 default --installdir $(CURDIR)/debian/tmp Hmmm:

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-15 Thread Luis Ibanez
On Wed, Feb 15, 2012 at 9:28 AM, Andreas Tille andr...@an3as.eu wrote: Hi Luis, On Wed, Feb 15, 2012 at 08:20:14AM -0500, Luis Ibanez wrote: Using the ./pro/gtminstall script was almost too easy    :-) Here is how the rules file looks like now: override_dh_auto_install:      

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-15 Thread Luis Ibanez
On Wed, Feb 15, 2012 at 9:43 AM, Luis Ibanez luis.iba...@kitware.com wrote: On Wed, Feb 15, 2012 at 9:28 AM, Andreas Tille andr...@an3as.eu wrote: Hi Luis, On Wed, Feb 15, 2012 at 08:20:14AM -0500, Luis Ibanez wrote: Using the ./pro/gtminstall script was almost too easy    :-) Here is how

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-15 Thread Andreas Tille
On Wed, Feb 15, 2012 at 09:43:44AM -0500, Luis Ibanez wrote: Did you get this message as a result of running debuild ? Actually pdebuild (because this ensures english error messages as a side effect). I was working on the assumption that debuild goes through a sequence of * configure *

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-15 Thread Andreas Tille
On Wed, Feb 15, 2012 at 10:03:35AM -0500, Luis Ibanez wrote: More on this, I just reran debuild (still using the -I- option), to attempt to replicate the installation stage. In my case, it find ./pro/gtminstall, just fine, but it has trouble finding the configure file. So, something

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-15 Thread Karsten Hilbert
On Wed, Feb 15, 2012 at 04:29:16PM +0100, Andreas Tille wrote: As a last resort for the *initial* packaging it might work out. Once we are doing the real packaging we should not try such dirty tricks. Now that we can generate a mumps compiler by way of compiling only C code I wonder whether

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-15 Thread Luis Ibanez
On Wed, Feb 15, 2012 at 11:49 AM, Karsten Hilbert karsten.hilb...@gmx.net wrote: On Wed, Feb 15, 2012 at 04:29:16PM +0100, Andreas Tille wrote: As a last resort for the *initial* packaging it might work out.  Once we are doing the real packaging we should not try such dirty tricks. Now that

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-15 Thread Karsten Hilbert
On Wed, Feb 15, 2012 at 12:35:35PM -0500, Luis Ibanez wrote: As a last resort for the *initial* packaging it might work out.  Once we are doing the real packaging we should not try such dirty tricks. Now that we can generate a mumps compiler by way of compiling only C code I wonder

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-15 Thread Andreas Tille
On Wed, Feb 15, 2012 at 06:43:59PM +0100, Karsten Hilbert wrote: I believe Andreas was using initial as in version 0.1 of the packaging, e.g. the first quick and dirty way of getting it done, and then revising it to follow better practices and cleaner methods to become a version 1.0.

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-15 Thread Andreas Tille
On Wed, Feb 15, 2012 at 04:29:16PM +0100, Andreas Tille wrote: The problem is that *my* fis-gtm_5.4-002B.orig.tar.gz tarball does not contain the file fis-gtm-src-extras/pro/gtminstall. Should I recreate the orig.tar.gz??? I recreated the tarball now and can confirm that this file is just

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-15 Thread Karsten Hilbert
On Wed, Feb 15, 2012 at 09:45:51PM +0100, Andreas Tille wrote: As far as I understood the resulting C files only work for a specific version and not for an upgrade. Regardless of whether that is actually the case - you are right, this is quite possible. Even if it would simply be that later

[MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-13 Thread Andreas Tille
Hi Luis, I became suspicious about your recent commit. At first I realised that you are using fixed version numbers in rules file. The idea should be to avoid touching debian/rules for new upsteam versions if possible. So I would probable use something like GTMVERSION=$(shell

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-13 Thread Luis Ibanez
Hi Andreas On Mon, Feb 13, 2012 at 3:46 AM, Andreas Tille andr...@an3as.eu wrote: Hi Luis, I became suspicious about your recent commit.  At first I realised that you are using fixed version numbers in rules file.  The idea should be to avoid touching debian/rules for new upsteam versions

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-13 Thread Andreas Tille
Hi Luis, On Mon, Feb 13, 2012 at 09:38:51AM -0500, Luis Ibanez wrote: This was my first lame attempt at making progress on the installation front :-) :-) Here was my reasoning: fis-gtm makefile provide a target called package that takes the outcome of the build, and package it into

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-13 Thread Bhaskar, K.S
On 02/13/2012 10:06 AM, Andreas Tille wrote: Hi Luis, On Mon, Feb 13, 2012 at 09:38:51AM -0500, Luis Ibanez wrote: This was my first lame attempt at making progress on the installation front :-) :-) Here was my reasoning: fis-gtm makefile provide a target called package that takes

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-13 Thread Andreas Tille
Hi Bhaskar, On Mon, Feb 13, 2012 at 10:36:05AM -0500, Bhaskar, K.S wrote: 1) Take advantage of the package target in the gtm Makefile, to select the binary files of interest to be included in an installation. 2) Take the resulting tar.gz file, expand it in a tmp

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-13 Thread Bhaskar, K.S
On 02/13/2012 01:24 PM, Andreas Tille wrote: Hi Bhaskar, On Mon, Feb 13, 2012 at 10:36:05AM -0500, Bhaskar, K.S wrote: 1) Take advantage of the package target in the gtm Makefile, to select the binary files of interest to be included in an installation. 2) Take the resulting

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-13 Thread Andreas Tille
On Mon, Feb 13, 2012 at 02:09:27PM -0500, Bhaskar, K.S wrote: [KSB2] I would recommend that Luis use approach B. Since he will always package gtminstall with GT.M, he does not need to strip the downloading part and he can use it as is. Sorry, he can not download anything as package build

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-13 Thread Bhaskar, K.S
On 02/13/2012 03:56 PM, Andreas Tille wrote: On Mon, Feb 13, 2012 at 02:09:27PM -0500, Bhaskar, K.S wrote: [KSB2] I would recommend that Luis use approach B. Since he will always package gtminstall with GT.M, he does not need to strip the downloading part and he can use it as is. Sorry, he

Re: [MoM]: r9659 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

2012-02-13 Thread Andreas Tille
On Mon, Feb 13, 2012 at 04:45:04PM -0500, Bhaskar, K.S wrote: If gtm_version is set, it does not download anything. So, for installing a GT.M binary that is built from source, Luis can simply use the gtminstall script. Ahh, OK. Thanks for the clarification Andreas. --