Nmap Development mailing list archives

Slim down the GTK+ lib directory in Windows installer?


From: David Fifield <david () bamsoftware com>
Date: Tue, 3 Feb 2009 15:33:34 -0700

Hi,

If you install with the executable Windows installer, and look in
C:\Program Files\Nmap\py2exe\lib, you'll see a bunch of .lib and .dll.a
files. Are these needed at runtime or are they developer files? I have a
patch (attached) that will exclude everything in the lib directory
except for the gtk-2.0 subdirectory. That subdirectory is needed to make
the MS-Windows theme work; without it you get the plain GTK+ theme and
the message
        GtkWarning: Unable to locate theme engine in module_path: "wimp",

Excluding these files reduces the size of the installer program from
13222 KB to 12588 KB, which makes it smaller than any currently in the
http://nmap.org/dist directory, going back to 4.49RC4. So are the lib
files necessary for anything, so should I apply this patch?

David Fifield

Attachment: gtk-lib.diff
Description:


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

Current thread: