[Gtk-sharp-list] Gtk# version 0.8 released

Daniel Morgan danmorg@sc.rr.com
Tue, 25 Feb 2003 10:10:45 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0041_01C2DCB6.29242B30
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hello Mike,

Yes, Johannes and I are working on a Windows Installer for GTK# 0.8.

We are using NSIS (NullSoft Installer System)
instead of FreeExtractor now.
http://nsis.sourceforge.net

We are using their nightly version at:
http://nsis.sourceforge.net/nightly/nsis.zip

It has scripting capabilities.  Basically, you unzip the arhive somewhere,
you create your script, like mono.nsi, and you run it from
the command-line like:

makensis.exe mono.nsi

I'm basing the GTK# installer off the Mono 0.20 installer.

The GTK# installer will have the option to install the
pkgconfig files (atk.pc, etc...) and gtk+ header files too.  This way, it
will
make it easier for people to later build gtk# from source or from cvs. :-)

Right now, I just need to figure out how to write a NSIS script
to change a path from C:\mono-0.20\install to C:/mono-0.20/install so
I can put that in the target of the pkgconfig files like atk.pc.  Currently,
I'm creating the the pkgconfig files in $INSTALLDIR\lib\pkgconfig.

I'm also using the old Windows Installer for GTK# 0.6 for its gtk+ 2.0
stuff.

Daniel

-----Original Message-----
From: gtk-sharp-list-admin@lists.ximian.com
[mailto:gtk-sharp-list-admin@lists.ximian.com]On Behalf Of Mike Kestner
Sent: Tuesday, February 25, 2003 12:42 AM
To: Charles Iliya Krempeaux
Cc: Gtk# Mailing List
Subject: Re: [Gtk-sharp-list] Gtk# version 0.8 released


On Mon, 2003-02-24 at 13:41, Charles Iliya Krempeaux wrote:

> The Gtk# website should probably be updated to reflect this.
> (It still says 0.7, as the newest release.)

I fixed that last night at around 3 in the morning, so I have no idea
why you were still seeing that at 1 PM today, unless you were viewing a
cached copy.

> It would also probably be nice (for end users) to get RPMs,
> DEBs, and a Win32 package for Gtk# also.  (Do we still have
> people actively maintaining these packages?)

Of course it would be nice.  Patience would be nice too.  ;-)  The
package providers for Gtk# are all volunteer, so give them a chance. I
am working on a RH8 RPM, but it won't happen tonight, because I need
some sleep after last night's marathon. I talked to alp and the debs
will no doubt be available soon if they aren't already. I don't know if
Daniel or Johannes are planning to provide win32 bins again, but I hope
someone will.

> Also, a link to the source code tarball should also probably
> be put on the homepage

The link you mentioned above (labeled "0.8") on the source tarballs line
is already a link to the source tarball.

> This is a good starting place for new end developers.  (The website
> should probably mention that this is still a work in progress.  But
> is still useful.)

A documentation page for the website would be good to have.  Something
that explains how to get monodoc setup to view the new docs, perhaps an
online snapshot of the docs in html format, and of course links to the
tutorials would belong in there too.  If anyone is willing to provide
some websmanship, I will happily add it to the website.  If it's left up
to me, it probably won't happen very soon, unfortunately.
.
--
Mike Kestner <mkestner@speakeasy.net>

_______________________________________________
Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

------=_NextPart_000_0041_01C2DCB6.29242B30
Content-Type: application/octet-stream;
	name="mono.nsi"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="mono.nsi"

; =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
; mono.nsi - Mono Setup wizard for windows
; =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
;
; (C) Copyright 2003 by Johannes Roith
; Author: Johannes Roith
;=20
; =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
;
; This script can build a binary setup wizard of mono.
; It is released under the GNU GPL.
;=20
; =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
; SET MILESTONE
; =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
;

;
; SPECIAL VERSION!!! DO NOT EDIT ANYTHING!
;

;
;

;
  !define MILESTONE "0.20" ;
;
; =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
; BUILDING
; =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
;
; 1. Build mono. The install directory must not contain
;    anything - everything gets packed in!!!
;
; 2. Get latest nsis from cvs or a development snapshot
;    from http://nsis.sf.net
;
; 3. Adapt the SOURCE_INSTALL_DIR below to match your=20
;     install directory.
;
; 4. Open this script in makensisw.exe
;
; 5. The output file is mono-[MILESTONe]-stable.exe
;
; =
=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D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D

 !define NAME "Mono" ;
 !define TARGET_INSTALL_DIR "c:\mono-${MILESTONE}\install" ;
 !define OUTFILE "mono-${MILESTONE}-stable.exe" ;

; =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
; SCRIPT
; =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D


 !define MUI_PRODUCT "${NAME}"
 !define MUI_VERSION "${MILESTONE}"
 !define FULLNAME "${MUI_PRODUCT} ${MUI_VERSION}"
 !define MUI_UI "${NSISDIR}\Contrib\UIs\modern2.exe"
 !define MUI_ICON "${NSISDIR}\Contrib\Icons\setup.ico"
 !define MUI_UNICON "${NSISDIR}\Contrib\Icons\normal-uninstall.ico"
 !define MUI_WELCOMEPAGE
 !define MUI_DIRECTORYPAGE
 !define MUI_DIRECTORYSELECTIONPAGE
 !include "${NSISDIR}\Contrib\Modern UI\System.nsh"
 !insertmacro MUI_SYSTEM
 !insertmacro MUI_LANGUAGE "ENGLISH"
 Name "mono installer"
 OutFile "../${OUTFILE}"
 InstallDir "${TARGET_INSTALL_DIR}"
 Section
 SetOutPath $INSTDIR
 File /r "${SOURCE_INSTALL_DIR}"




;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

; Write the wrapper files
;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

;
; These wrappers are copied to the windows directory.
;

;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

; Write the path file
;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=


FileOpen $0 "$WINDIR\monobasepath.bat" "w"
FileWrite $0 "set MONO_BASEPATH=3D$INSTDIR"
FileClose $0


;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

; Write the mcs file
;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=


FileOpen $0 "$WINDIR\mcs.bat" "w"

FileWrite $0 "@echo off$\r$\n"
FileWrite $0 "echo.$\r$\n"
FileWrite $0 "echo You can run mcs with 'monomcs' on .NET, instead of =
mono, too.$\r$\n"
FileWrite $0 "echo.$\r$\n"
FileWrite $0 "call monobasepath.bat$\r$\n"
FileWrite $0 "set MONOARGS=3D$\r$\n"
FileWrite $0 ":loop$\r$\n"
FileWrite $0 "if x%1 =3D=3D x goto :done$\r$\n"
FileWrite $0 "set MONOARGS=3D%MONOARGS% %1$\r$\n"
FileWrite $0 "shift$\r$\n"
FileWrite $0 "goto loop$\r$\n"
FileWrite $0 ":done$\r$\n"
FileWrite $0 "setlocal$\r$\n"
FileWrite $0 'set =
path=3D"%MONO_BASEPATH%\bin\;%MONO_BASEPATH%\lib\;%path%"$\r$\n'
FileWrite $0 "%MONO_BASEPATH%\bin\mono %MONO_BASEPATH%\bin\mcs.exe =
%MONOARGS%$\r$\n"
FileWrite $0 "endlocal$\r$\n"

FileClose $0

;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

; Write the mbas file
;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=


FileOpen $0 "$WINDIR\mbas.bat" "w"

FileWrite $0 "@echo off$\r$\n"
FileWrite $0 "call monobasepath.bat$\r$\n"
FileWrite $0 "set MONOARGS=3D$\r$\n"
FileWrite $0 ":loop$\r$\n"
FileWrite $0 "if x%1 =3D=3D x goto :done$\r$\n"
FileWrite $0 "set MONOARGS=3D%MONOARGS% %1$\r$\n"
FileWrite $0 "shift$\r$\n"
FileWrite $0 "goto loop$\r$\n"
FileWrite $0 ":done$\r$\n"
FileWrite $0 "setlocal$\r$\n"
FileWrite $0 'set =
path=3D"%MONO_BASEPATH%\bin\;%MONO_BASEPATH%\lib\;%path%"$\r$\n'
FileWrite $0 "%MONO_BASEPATH%\bin\mono %MONO_BASEPATH%\bin\mbas.exe =
%MONOARGS%$\r$\n"
FileWrite $0 "endlocal$\r$\n"

FileClose $0

;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

; Write the mint file
;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=


FileOpen $0 "$WINDIR\mint.bat" "w"

FileWrite $0 "@echo off$\r$\n"
FileWrite $0 "call monobasepath.bat$\r$\n"
FileWrite $0 "set MONOARGS=3D$\r$\n"
FileWrite $0 ":loop$\r$\n"
FileWrite $0 "if x%1 =3D=3D x goto :done$\r$\n"
FileWrite $0 "set MONOARGS=3D%MONOARGS% %1$\r$\n"
FileWrite $0 "shift$\r$\n"
FileWrite $0 "goto loop$\r$\n"
FileWrite $0 ":done$\r$\n"
FileWrite $0 "setlocal$\r$\n"
FileWrite $0 'set =
path=3D"%MONO_BASEPATH%\bin\;%MONO_BASEPATH%\lib\;%path%"$\r$\n'
FileWrite $0 "%MONO_BASEPATH%\bin\mint %MONOARGS%$\r$\n"
FileWrite $0 "endlocal$\r$\n"

FileClose $0

;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

; Write the mono file
;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=


FileOpen $0 "$WINDIR\mono.bat" "w"

FileWrite $0 "@echo off$\r$\n"
FileWrite $0 "call monobasepath.bat$\r$\n"
FileWrite $0 "set MONOARGS=3D$\r$\n"
FileWrite $0 ":loop$\r$\n"
FileWrite $0 "if x%1 =3D=3D x goto :done$\r$\n"
FileWrite $0 "set MONOARGS=3D%MONOARGS% %1$\r$\n"
FileWrite $0 "shift$\r$\n"
FileWrite $0 "goto loop$\r$\n"
FileWrite $0 ":done$\r$\n"
FileWrite $0 "setlocal$\r$\n"
FileWrite $0 'set =
path=3D"%MONO_BASEPATH%\bin\;%MONO_BASEPATH%\lib\;%path%"$\r$\n'
FileWrite $0 "%MONO_BASEPATH%\bin\mono %MONOARGS%$\r$\n"
FileWrite $0 "endlocal$\r$\n"

FileClose $0

;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

; Write monomcs
;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=


FileOpen $0 "$WINDIR\monomcs.bat" "w"

FileWrite $0 "@echo off$\r$\n"
FileWrite $0 "call monobasepath.bat$\r$\n"
FileWrite $0 "set MONOARGS=3D$\r$\n"
FileWrite $0 ":loop$\r$\n"
FileWrite $0 "if x%1 =3D=3D x goto :done$\r$\n"
FileWrite $0 "set MONOARGS=3D%MONOARGS% %1$\r$\n"
FileWrite $0 "shift$\r$\n"
FileWrite $0 "goto loop$\r$\n"
FileWrite $0 ":done$\r$\n"
FileWrite $0 "setlocal$\r$\n"
FileWrite $0 'set =
path=3D"%MONO_BASEPATH%\bin\;%MONO_BASEPATH%\lib\;%path%"$\r$\n'
FileWrite $0 "%MONO_BASEPATH%\bin\mcs.exe %MONOARGS%$\r$\n"
FileWrite $0 "endlocal$\r$\n"

FileClose $0

;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

; Write monodis
;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=


FileOpen $0 "$WINDIR\monodis.bat" "w"

FileWrite $0 "@echo off$\r$\n"
FileWrite $0 "call monobasepath.bat$\r$\n"
FileWrite $0 "set MONOARGS=3D$\r$\n"
FileWrite $0 ":loop$\r$\n"
FileWrite $0 "if x%1 =3D=3D x goto :done$\r$\n"
FileWrite $0 "set MONOARGS=3D%MONOARGS% %1$\r$\n"
FileWrite $0 "shift$\r$\n"
FileWrite $0 "goto loop$\r$\n"
FileWrite $0 ":done$\r$\n"
FileWrite $0 "setlocal$\r$\n"
FileWrite $0 'set =
path=3D"%MONO_BASEPATH%\bin\;%MONO_BASEPATH%\lib\;%path%"$\r$\n'
FileWrite $0 "%MONO_BASEPATH%\bin\monodis.exe %MONOARGS%$\r$\n"
FileWrite $0 "endlocal$\r$\n"

FileClose $0

;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

; Write the sqlsharp file
;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=


FileOpen $0 "$WINDIR\sqlsharp.bat" "w"

FileWrite $0 "@echo off$\r$\n"
FileWrite $0 "call monobasepath.bat$\r$\n"
FileWrite $0 "set MONOARGS=3D$\r$\n"
FileWrite $0 ":loop$\r$\n"
FileWrite $0 "if x%1 =3D=3D x goto :done$\r$\n"
FileWrite $0 "set MONOARGS=3D%MONOARGS% %1$\r$\n"
FileWrite $0 "shift$\r$\n"
FileWrite $0 "goto loop$\r$\n"
FileWrite $0 ":done$\r$\n"
FileWrite $0 "setlocal$\r$\n"
FileWrite $0 'set =
path=3D"%MONO_BASEPATH%\bin\;%MONO_BASEPATH%\lib\;%path%"$\r$\n'
FileWrite $0 "%MONO_BASEPATH%\bin\mono %MONO_BASEPATH%\bin\sqlsharp.exe =
%MONOARGS%$\r$\n"
FileWrite $0 "endlocal$\r$\n"

FileClose $0

;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=

; Write the monoresgen file
;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=


FileOpen $0 "$WINDIR\monoresgen.bat" "w"

FileWrite $0 "@echo off$\r$\n"
FileWrite $0 "call monobasepath.bat$\r$\n"
FileWrite $0 "set MONOARGS=3D$\r$\n"
FileWrite $0 ":loop$\r$\n"
FileWrite $0 "if x%1 =3D=3D x goto :done$\r$\n"
FileWrite $0 "set MONOARGS=3D%MONOARGS% %1$\r$\n"
FileWrite $0 "shift$\r$\n"
FileWrite $0 "goto loop$\r$\n"
FileWrite $0 ":done$\r$\n"
FileWrite $0 "setlocal$\r$\n"
FileWrite $0 'set =
path=3D"%MONO_BASEPATH%\bin\;%MONO_BASEPATH%\lib\;%path%"$\r$\n'
FileWrite $0 "%MONO_BASEPATH%\bin\mono =
%MONO_BASEPATH%\bin\monoresgen.exe %MONOARGS%$\r$\n"
FileWrite $0 "endlocal$\r$\n"

FileClose $0
SectionEnd

------=_NextPart_000_0041_01C2DCB6.29242B30--