Re: Packaging of LyX/Win 1.3.6

2005-05-25 Thread Angus Leeming
Angus Leeming wrote: Jean-Marc Lasgouttes wrote: Angus Here you go. All works well here, with both Qt and with XForms. It looks good. Just one question: why do you need trim below? -return result_path; +return trim(result_path); If you press Cancel I general, a file name can

Re: Packaging of LyX/Win 1.3.6

2005-05-25 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: I'll remove the trim(). Angus I've done so and everything continues to work as I'd expect. Angus Would you like me to commit the patch? Yes, please. JMarc

Re: Packaging of LyX/Win 1.3.6

2005-05-25 Thread Angus Leeming
Angus Leeming wrote: > Jean-Marc Lasgouttes wrote: >> Angus> Here you go. All works well here, with both Qt and with XForms. >> >> It looks good. Just one question: why do you need trim below? >> >> -return result_path; >> +return trim(result_path); > > If you press "Cancel" >> I

Re: Packaging of LyX/Win 1.3.6

2005-05-25 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> I'll remove the trim(). Angus> I've done so and everything continues to work as I'd expect. Angus> Would you like me to commit the patch? Yes, please. JMarc

Re: Packaging of LyX/Win 1.3.6

2005-05-24 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Jean-Marc Lasgouttes wrote: I see that bugzilla comes up with Angus five bugs in the 1.3.x series: http://tinyurl.com/7aghm Some of these would be very easy to fix. Angus Well, here's a fix to bug 1272 Angus

Re: Packaging of LyX/Win 1.3.6

2005-05-24 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus Jean-Marc Lasgouttes wrote: I see that bugzilla comes up with Angus five bugs in the 1.3.x series: http://tinyurl.com/7aghm Some of these would be very easy to fix. Angus Well, here's a fix to bug 1272 Angus http://bugzilla.lyx.org/show_bug.cgi?id=1272

Re: Packaging of LyX/Win 1.3.6

2005-05-24 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Here you go. All works well here, with both Qt and with XForms. It looks good. Just one question: why do you need trim below? - return result_path; + return trim(result_path); I general, a file name can begn with a space,

Re: Packaging of LyX/Win 1.3.6

2005-05-24 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus Here you go. All works well here, with both Qt and with XForms. It looks good. Just one question: why do you need trim below? - return result_path; + return trim(result_path); If you press Cancel I general, a file name can begn with a space,

Re: Packaging of LyX/Win 1.3.6

2005-05-24 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc Lasgouttes wrote: I see that bugzilla comes up with Angus> five bugs in the 1.3.x series: http://tinyurl.com/7aghm >> Some of these would be very easy to fix. Angus> Well, here's a fix to bug 1272 Angus>

Re: Packaging of LyX/Win 1.3.6

2005-05-24 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Jean-Marc Lasgouttes wrote: I see that bugzilla comes up with > Angus> five bugs in the 1.3.x series: http://tinyurl.com/7aghm >>> Some of these would be very easy to fix. > > Angus> Well, here's a fix to bug 1272 > Angus>

Re: Packaging of LyX/Win 1.3.6

2005-05-24 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Here you go. All works well here, with both Qt and with XForms. It looks good. Just one question: why do you need trim below? - return result_path; + return trim(result_path); I general, a file name can begn with a

Re: Packaging of LyX/Win 1.3.6

2005-05-24 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus> Here you go. All works well here, with both Qt and with XForms. It looks good. Just one question: why do you need trim below? - return result_path; + return trim(result_path); If you press "Cancel" I general, a file name can begn with a space,

Re: Packaging of LyX/Win 1.3.6

2005-05-23 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus I see that bugzilla comes up with five bugs in the 1.3.x Angus series: http://tinyurl.com/7aghm Some of these would be very easy to fix. Well, here's a fix to bug 1272 http://bugzilla.lyx.org/show_bug.cgi?id=1272 I can confirm that the change to the

Re: Packaging of LyX/Win 1.3.6

2005-05-23 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> I see that bugzilla comes up with five bugs in the 1.3.x > Angus> series: http://tinyurl.com/7aghm > > Some of these would be very easy to fix. Well, here's a fix to bug 1272 http://bugzilla.lyx.org/show_bug.cgi?id=1272 I can confirm that the change to the

Re: Packaging of LyX/Win 1.3.6

2005-05-21 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: Angus I do believe that LyX 1.3.6 is looking like a realistic Angus prospect :) What else is planned? Not much... Personally, I'd really like to see José's qt-immodule fixes in 1.3.6 Jürgen

Re: Packaging of LyX/Win 1.3.6

2005-05-21 Thread Angus Leeming
Michael Schmitt wrote: Angus Leeming wrote: Angus (I propose not to package python, perl or a shell environment. Angus Instead I think we should tell people to go and get their own.) How big are these things? ftp://ftp.python.org/pub/www.python.org/ftp/python/2.4.1/python-2.4.1.msi

Re: Packaging of LyX/Win 1.3.6

2005-05-21 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Angus> I do believe that LyX 1.3.6 is looking like a realistic > Angus> prospect :) What else is planned? > > Not much... Personally, I'd really like to see José's qt-immodule fixes in 1.3.6 Jürgen

Re: Packaging of LyX/Win 1.3.6

2005-05-21 Thread Angus Leeming
Michael Schmitt wrote: > Angus Leeming wrote: > >>>Angus> (I propose not to package python, perl or a shell environment. >>>Angus> Instead I think we should tell people to go and get their own.) >>> >>>How big are these things? >>> >>> >>

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Asger Ottar Alstrup
Angus Leeming wrote: Me neither. However googling on 'Windows installer author' turns up some stuff. I see that Aspell uses InnoSetup, for example. http://www.jrsoftware.org/isinfo.php You want to use NSIS: http://nsis.sourceforge.net/ Regards, Asger

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Lars Gullik Bjønnes
Asger Ottar Alstrup [EMAIL PROTECTED] writes: | Angus Leeming wrote: Me neither. However googling on 'Windows installer author' turns up some stuff. I see that Aspell uses InnoSetup, for example. http://www.jrsoftware.org/isinfo.php | You want to use NSIS: | http://nsis.sourceforge.net/ Is

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Angus Leeming
Asger Ottar Alstrup wrote: Angus Leeming wrote: Me neither. However googling on 'Windows installer author' turns up some stuff. I see that Aspell uses InnoSetup, for example. http://www.jrsoftware.org/isinfo.php You want to use NSIS: http://nsis.sourceforge.net/ Thanks, Asger. --

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: How big are these things? Angus ftp://ftp.python.org/pub/www.python.org/ftp/python/2.4.1/python-2.4.1.msi Angus 11.0MB Angus http://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.6.811-MSWin32-x86-122208.msi Angus 12.6MB

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Asger Alstrup
Lars Gullik Bjønnes wrote: Asger Ottar Alstrup [EMAIL PROTECTED] writes: | You want to use NSIS: | http://nsis.sourceforge.net/ Is that what OpenVPN uses? Looking at http://cvs.sourceforge.net/viewcvs.py/openvpn/openvpn/install-win32/ you can see the tell-tale sign of .nsi files, so it seems it

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Angus Leeming
Asger Ottar Alstrup wrote: You want to use NSIS: http://nsis.sourceforge.net/ Ok, Asger, I have created the absolute bare minimum installer. It just installs/uninstalls all the files in my package. (Ie, everything in J:\Programs\LyX, as created by package_lyxwin.sh that started this thread) I

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Asger Alstrup
Angus Leeming wrote: Ok, Asger, I have created the absolute bare minimum installer. Sounds good. * Check for various utilities and, if not found, offer to download them. I'm thinking of * python * perl (used by reLyX) * msys * imagemagick We have a variable \path_prefix in the

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Angus Leeming
Asger Ottar Alstrup wrote: You want to use NSIS: http://nsis.sourceforge.net/ Asger, I take it that you're fairly experienced in using this app? Can I ask you some questions? This page http://nsis.sourceforge.net/archive/viewpage.php?pageid=282 explains how to associate a file extension with

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Asger Alstrup
Angus Leeming wrote: Asger, I take it that you're fairly experienced in using this app? Can I ask you some questions? Not at all - my programmers are, but I've only touched it superfluously. This page http://nsis.sourceforge.net/archive/viewpage.php?pageid=282 explains how to associate a file

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Lars Gullik Bjønnes
Asger Alstrup [EMAIL PROTECTED] writes: As you see, I'm proceeding cautiously. I'm scared by this registry stuff. | Don't be. Be sick instead. -- Lgb

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Angus Leeming
Asger Alstrup wrote: I'd look at this instead: http://abiword.pchasm.org/source/cvs/abiword-cvs/abi/src/pkg/win/setup/NSISv2/abi_util_fileassoc.nsh That's *much* better :) This one shows the definitions in use:

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Jose' Matos
On Friday 20 May 2005 17:20, Angus Leeming wrote: I've got to say, I'm getting a bit bored of all this Windoze stuff... Although it is Friday I must say I admire your perseverance... Angus -- José Abílio

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Georg Baum
Angus Leeming wrote: Is application/lyx the correct content type for LyX? On my SuSE KDE desktop I have application/x-lyx. Hmmm. Running the setup program as a normal user, I don't see anything with regedit. Do I have to be an Administrator to alter the Registry? Only for some parts

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Angus Leeming
Asger Alstrup wrote: 2. The DefaultIcon is stored at lyx.exe,0. Is it? Will it just work, or do I need to do something else. That should just work, if there is an icon resource in the .exe file. You can use reshacker to put one in, if there is none:

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Michael Schmitt
Angus Leeming wrote: Angus (I propose not to package python, perl or a shell environment. Angus Instead I think we should tell people to go and get their own.) How big are these things? ftp://ftp.python.org/pub/www.python.org/ftp/python/2.4.1/python-2.4.1.msi 11.0MB

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Asger Ottar Alstrup
Angus Leeming wrote: Me neither. However googling on '"Windows installer" author' turns up some stuff. I see that Aspell uses InnoSetup, for example. http://www.jrsoftware.org/isinfo.php You want to use NSIS: http://nsis.sourceforge.net/ Regards, Asger

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Lars Gullik Bjønnes
Asger Ottar Alstrup <[EMAIL PROTECTED]> writes: | Angus Leeming wrote: >> Me neither. However googling on '"Windows installer" author' turns up some >> stuff. >> I see that Aspell uses InnoSetup, for example. >> http://www.jrsoftware.org/isinfo.php > | You want to use NSIS: > |

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Angus Leeming
Asger Ottar Alstrup wrote: > Angus Leeming wrote: >> Me neither. However googling on '"Windows installer" author' turns up >> some stuff. >> >> I see that Aspell uses InnoSetup, for example. >> http://www.jrsoftware.org/isinfo.php > > You want to use NSIS: > > http://nsis.sourceforge.net/

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> How big are these things? Angus> ftp://ftp.python.org/pub/www.python.org/ftp/python/2.4.1/python-2.4.1.msi Angus> 11.0MB Angus> http://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.6.811-MSWin32-x86-122208.msi

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Asger Alstrup
Lars Gullik Bjønnes wrote: Asger Ottar Alstrup <[EMAIL PROTECTED]> writes: | You want to use NSIS: | http://nsis.sourceforge.net/ Is that what OpenVPN uses? Looking at http://cvs.sourceforge.net/viewcvs.py/openvpn/openvpn/install-win32/ you can see the tell-tale sign of .nsi files, so it seems it

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Angus Leeming
Asger Ottar Alstrup wrote: You want to use NSIS: http://nsis.sourceforge.net/ Ok, Asger, I have created the absolute bare minimum installer. It just installs/uninstalls all the files in my package. (Ie, everything in J:\Programs\LyX, as created by package_lyxwin.sh that started this thread) I

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Asger Alstrup
Angus Leeming wrote: Ok, Asger, I have created the absolute bare minimum installer. Sounds good. * Check for various utilities and, if not found, offer to download them. I'm thinking of * python * perl (used by reLyX) * msys * imagemagick We have a variable \path_prefix in the

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Angus Leeming
Asger Ottar Alstrup wrote: You want to use NSIS: http://nsis.sourceforge.net/ Asger, I take it that you're fairly experienced in using this app? Can I ask you some questions? This page http://nsis.sourceforge.net/archive/viewpage.php?pageid=282 explains how to associate a file extension with

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Asger Alstrup
Angus Leeming wrote: Asger, I take it that you're fairly experienced in using this app? Can I ask you some questions? Not at all - my programmers are, but I've only touched it superfluously. This page http://nsis.sourceforge.net/archive/viewpage.php?pageid=282 explains how to associate a file

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Lars Gullik Bjønnes
Asger Alstrup <[EMAIL PROTECTED]> writes: >> As you see, I'm proceeding cautiously. I'm scared by this registry stuff. > | Don't be. Be sick instead. -- Lgb

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Angus Leeming
Asger Alstrup wrote: I'd look at this instead: http://abiword.pchasm.org/source/cvs/abiword-cvs/abi/src/pkg/win/setup/NSISv2/abi_util_fileassoc.nsh That's *much* better :) This one shows the definitions in use:

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Jose' Matos
On Friday 20 May 2005 17:20, Angus Leeming wrote: > I've got to say, I'm getting a bit bored of all this Windoze stuff... Although it is Friday I must say I admire your perseverance... > Angus -- José Abílio

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Georg Baum
Angus Leeming wrote: > Is "application/lyx" the correct "content type" for LyX? On my SuSE KDE desktop I have "application/x-lyx". > Hmmm. Running the setup program as a "normal" user, I don't see anything > with regedit. Do I have to be an Administrator to alter the Registry? Only for some

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Angus Leeming
Asger Alstrup wrote: 2. The DefaultIcon is stored at lyx.exe,0. Is it? Will it "just work", or do I need to do something else. That should just work, if there is an icon resource in the .exe file. You can use reshacker to put one in, if there is none:

Re: Packaging of LyX/Win 1.3.6

2005-05-20 Thread Michael Schmitt
Angus Leeming wrote: Angus> (I propose not to package python, perl or a shell environment. Angus> Instead I think we should tell people to go and get their own.) How big are these things? ftp://ftp.python.org/pub/www.python.org/ftp/python/2.4.1/python-2.4.1.msi 11.0MB

Re: Packaging of LyX/Win 1.3.6

2005-05-19 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Angus I've managed to write a script to automate the process of Angus producing a LyX/Win package. I describe below what it does; Angus have I missed anything? It would be great to have an installer. Does the installer actually create the package in the first

Re: Packaging of LyX/Win 1.3.6

2005-05-19 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus I do believe that LyX 1.3.6 is looking like a realistic Angus prospect :) What else is planned? Not much... Angus I see that bugzilla comes up with five bugs in the 1.3.x Angus series: http://tinyurl.com/7aghm Some of these would be very

Re: Packaging of LyX/Win 1.3.6

2005-05-19 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I do believe that LyX 1.3.6 is looking like a realistic Angus> prospect :) What else is planned? Not much... Angus> I see that bugzilla comes up with five bugs in the 1.3.x Angus> series: http://tinyurl.com/7aghm Some of these

Re: Packaging of LyX/Win 1.3.6

2005-05-19 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> I've managed to write a script to automate the process of > Angus> producing a LyX/Win package. I describe below what it does; > Angus> have I missed anything? > > It would be great to have an installer. Does the installer actually create the package in the