mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] [patch #4422] win32 goodies


From: su_blanc
Subject: [Mldonkey-users] [patch #4422] win32 goodies
Date: Thu, 15 Sep 2005 17:12:26 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050906 Firefox/1.0.6 (Debian package 1.0.6-4)

URL:
  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4422>

                 Summary: win32 goodies
                 Project: mldonkey, a multi-networks file-sharing client
            Submitted by: su_blanc
            Submitted on: Thu 09/15/05 at 17:12
                Category: Improved interfaces
                Priority: 5 - Normal
                  Status: None
             Assigned to: su_blanc
        Originator Email: 
             Open/Closed: Open

    _______________________________________________________

Details:


* split commonGlobals.ml in commonBaseGlobals.ml & commonGlobals.ml
doing so, we separate definitely CommonOptions.ml from the other binaries
than mlnet!
only the common part used by mlnet and mlgui is kept in commonBaseGlobals.ml
no interference with mlgui, mlim ...

* added new .ico and different res files for mlnet, mlgui and mlnet+gui

* added a new mldonkey.nsi
2 languages : french and english
1 nsi file to build 3 installer : core, gui or bundle
auto detect existing version if exists with reinstallation/removal/update
options

* added new rules in makefile.in : win32.installer.all, win32.installer.core,
win32.installer.gui, win32.installer.bundle
the rule supposes that makensis.exe is installed in 'C:/Program Files/NSIS/'

* added 1 new configure option '--enable-subsystem-windows'
to disable the console window in the win32 port

* added mkwinapp.ml from Ocaml-Win32 by Harry Chomsky

* replaced all occurrences Printf.printf by Printf2.lprintf
otherwise mlnet.exe, mlgui.exe or mlnet+gui.exe crash due to the new
--enable-subsystem-windows option (cannot route anymore messages to stdout
....)

* changed the function 'file_preview' in commonFile.ml
for the win32 version so that we can launch directely vlc.exe, or any other
player

* changed directories organization for the win32 version (matching with the
installer ...)
mlDonkey
+ bin (mlnet.exe, mlgui.exe, zlib, iconv, gd, gtk dlls ...)
+ config (mlnet config files)
+ etc (for the gui or the bundle version => gtk)
+ lib (for the gui or the bundle version => gtk)
+ incoming
+ interface (mlgui, mlim config files
+ temp
+ torrents
+ webserver (html_mods ..)

* correct a bug in options.ml4

TODO: impact the change of commonBaseGlobals.ml to the other GUIs

WARNING: in driverMain.ml (# line 600), i had to comment the following lines
(otherwise the binaries crash under win32 due to the use of the windows
subsystem)
I suspect that breaks something highly required .... is this feature required
for win32?


(* When a core is spawned from a gui, the only way to know the startup has
succeeded is the string token "Core started". *)
(*
  if not !keep_console_output then
    begin
      Pervasives.output_string Pervasives.stdout (Printf.sprintf "%sCore
started\n" (log_time ()));
      Pervasives.flush Pervasives.stdout;
    end;
*)






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 09/15/05 at 17:12  Name: win32_goodies.patch  Size: 305.84KB   By:
su_blanc

<http://savannah.nongnu.org/patch/download.php?item_id=4422&item_file_id=5178>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4422>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]