1 ? docs/libvirt_win_icon_64x64.png
2 ? src/libvirt_win_icon_16x16.ico
3 ? src/libvirt_win_icon_32x32.ico
4 ? src/libvirt_win_icon_48x48.ico
5 ? src/libvirt_win_icon_64x64.ico
7 ===================================================================
8 RCS file: /data/cvs/libvirt/configure.in,v
9 retrieving revision 1.171
10 diff -u -r1.171 configure.in
11 --- configure.in 10 Oct 2008 13:57:13 -0000 1.171
12 +++ configure.in 15 Oct 2008 16:29:24 -0000
19 dnl gl_INIT uses m4_foreach_w, yet that is not defined in autoconf-2.59.
20 dnl In order to accommodate developers with such old tools, here's a
21 dnl replacement definition.
22 @@ -1040,6 +1042,10 @@
23 AC_SUBST([CYGWIN_EXTRA_PYTHON_LIBADD])
24 AC_SUBST([MINGW_EXTRA_LDFLAGS])
26 +dnl Look for windres to build a Windows icon resource.
27 +AC_CHECK_TOOL([WINDRES], [windres], [no])
28 +AM_CONDITIONAL([WITH_WIN_ICON], [test "$WINDRES" != "no"])
30 # Set LV_LIBTOOL_OBJDIR to "." or $lt_cv_objdir, depending on whether
31 # we're building shared libraries. This is the name of the directory
32 # in which .o files will be created.
33 Index: src/Makefile.am
34 ===================================================================
35 RCS file: /data/cvs/libvirt/src/Makefile.am,v
36 retrieving revision 1.95
37 diff -u -r1.95 Makefile.am
38 --- src/Makefile.am 10 Oct 2008 13:57:13 -0000 1.95
39 +++ src/Makefile.am 15 Oct 2008 16:29:24 -0000
45 +virsh_LDADD += virsh_win_icon.$(OBJEXT)
46 +virsh_DEPENDENCIES += virsh_win_icon.$(OBJEXT)
48 +# Before you edit virsh_win_icon.rc, please note the following
49 +# limitations of the resource file format:
51 +# (1) '..' is not permitted in the icon filename field.
52 +# (2) '-' is not permitted in the icon filename field.
53 +# (3) Comments are not permitted in the file.
55 +# Windows appears to choose the first <= 32x32 icon it finds
56 +# in the resource file. Therefore you should list the available
57 +# icons from largest to smallest, and make sure that the 32x32
58 +# icon is the most legible.
60 +# Windows .ICO is a special MS-only format. GIMP and other
61 +# tools can write it. However there are several variations,
62 +# and Windows seems to do its own colour quantization. More
63 +# information is needed in this area.
65 +virsh_win_icon.$(OBJEXT): virsh_win_icon.rc
67 + --input-format rc --input $< \
68 + --output-format coff --output $@
74 Index: src/virsh_win_icon.rc
75 ===================================================================
76 RCS file: src/virsh_win_icon.rc
77 diff -N src/virsh_win_icon.rc
78 --- /dev/null 1 Jan 1970 00:00:00 -0000
79 +++ src/virsh_win_icon.rc 15 Oct 2008 16:29:24 -0000
81 +xlarge ICON libvirt_win_icon_64x64.ico
82 +large ICON libvirt_win_icon_48x48.ico
83 +medium ICON libvirt_win_icon_32x32.ico
84 +small ICON libvirt_win_icon_16x16.ico