From: "C.W. Betts" <computers57@hotmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Better version.rc patch
Date: Fri, 8 Feb 2008 15:53:08 -0700 [thread overview]
Message-ID: <BAY133-DAV134D93576FA9E9F5917ECEB92F0@phx.gbl> (raw)
In-Reply-To: alpine.LSU.1.00.0802082046560.11591@racer.site
[-- Attachment #1: Type: text/plain, Size: 2455 bytes --]
Another patch. Thank you for your patience.
Index: Makefile.target
===================================================================
RCS file: /sources/qemu/qemu/Makefile.target,v
retrieving revision 1.244
diff -u -r1.244 Makefile.target
--- Makefile.target 3 Feb 2008 02:20:17 -0000 1.244
+++ Makefile.target 8 Feb 2008 22:48:27 -0000
@@ -638,6 +638,7 @@
ifdef CONFIG_WIN32
SDL_LIBS := $(filter-out -mwindows, $(SDL_LIBS)) -mconsole
+OBJS+=version.o
endif
# profiling code
@@ -654,6 +655,9 @@
%.o: %.c
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
+%.o: %.rc
+ windres -I. -c -o $< $@
+
%.o: %.S
$(CC) $(CPPFLAGS) -c -o $@ $<
Index: configure
===================================================================
RCS file: /sources/qemu/qemu/configure,v
retrieving revision 1.187
diff -u -r1.187 configure
--- configure 3 Feb 2008 19:20:13 -0000 1.187
+++ configure 8 Feb 2008 22:48:30 -0000
@@ -1065,6 +1065,10 @@
echo "# Automatically generated by configure - do not modify" > $config_mak
echo "/* Automatically generated by configure - do not modify */" >
$config_h
+if test "$mingw32" = "yes" ; then
+echo "#define QEMU_FILEVERSION 0,9,1,0" >> $config_h
+echo "#define QEMU_PRODUCTVERSION 0,9,1,0" >> $config_h
+fi
echo "include ../config-host.mak" >> $config_mak
echo "#include \"../config-host.h\"" >> $config_h
0a1,22
> #include "config.h"
>
> 1 VERSIONINFO
> FILEVERSION QEMU_FILEVERSION
> PRODUCTVERSION QEMU_PRODUCTVERSION
> FILETYPE 0x1 //VFT_APP
> {
> BLOCK "StringFileInfo"
> {
> BLOCK "040904E4"
> {
> VALUE "FileDescription", "Qemu System emulator, " TARGET_ARCH "
> version"
> VALUE "FileVersion", QEMU_VERSION
> VALUE "LegalCopyright", "GNU General Public License"
> VALUE "ProductName", "Qemu"
> }
> }
> BLOCK "VarFileInfo"
> {
> VALUE "Translation", 0x0409, 1252
> }
> }
----- Original Message -----
From: "Johannes Schindelin" <Johannes.Schindelin@gmx.de>
To: "C.W. Betts" <computers57@hotmail.com>
Cc: <qemu-devel@nongnu.org>
Sent: Friday, February 08, 2008 1:49 PM
Subject: Re: [Qemu-devel] [PATCH] Better version.rc patch
> Hi,
>
> On Fri, 8 Feb 2008, C.W. Betts wrote:
>
>
> It is _still_ a hassle to review your patch, since you did not inline it
> again.
Sorry. I'm new.
>
> Also, it seems as you have yet another line which is commented out, with a
> comment "currently not working". I'd appreciate it if it was left out, or
> fixed.
As I said, I'm new.
> Hth,
> Dscho
>
>
>
>
[-- Attachment #2: versionrc.diff --]
[-- Type: application/octet-stream, Size: 2024 bytes --]
? bxversion.rc
? qemuversion.rc.in
? version.rc
? versionrc.diff
? hw/ppc_actualrom
? hw/ppc_actualrom.c
? pc-bios/g3.rom
Index: Makefile.target
===================================================================
RCS file: /sources/qemu/qemu/Makefile.target,v
retrieving revision 1.244
diff -u -r1.244 Makefile.target
--- Makefile.target 3 Feb 2008 02:20:17 -0000 1.244
+++ Makefile.target 8 Feb 2008 22:48:27 -0000
@@ -638,6 +638,7 @@
ifdef CONFIG_WIN32
SDL_LIBS := $(filter-out -mwindows, $(SDL_LIBS)) -mconsole
+OBJS+=version.o
endif
# profiling code
@@ -654,6 +655,9 @@
%.o: %.c
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
+%.o: %.rc
+ windres -I. -DORIGINAL_FILENAME=\"$(QEMU_PROG)\" -c -o $< $@
+
%.o: %.S
$(CC) $(CPPFLAGS) -c -o $@ $<
Index: configure
===================================================================
RCS file: /sources/qemu/qemu/configure,v
retrieving revision 1.187
diff -u -r1.187 configure
--- configure 3 Feb 2008 19:20:13 -0000 1.187
+++ configure 8 Feb 2008 22:48:30 -0000
@@ -1065,6 +1065,10 @@
echo "# Automatically generated by configure - do not modify" > $config_mak
echo "/* Automatically generated by configure - do not modify */" > $config_h
+if test "$mingw32" = "yes" ; then
+echo "#define QEMU_FILEVERSION 0,9,1,0" >> $config_h
+echo "#define QEMU_PRODUCTVERSION 0,9,1,0" >> $config_h
+fi
echo "include ../config-host.mak" >> $config_mak
echo "#include \"../config-host.h\"" >> $config_h
0a1,22
> #include "config.h"
>
> 1 VERSIONINFO
> FILEVERSION QEMU_FILEVERSION
> PRODUCTVERSION QEMU_PRODUCTVERSION
> FILETYPE 0x1 //VFT_APP
> {
> BLOCK "StringFileInfo"
> {
> BLOCK "040904E4"
> {
> VALUE "FileDescription", "Qemu System emulator, " TARGET_ARCH " version"
> VALUE "FileVersion", QEMU_VERSION
> VALUE "LegalCopyright", "GNU General Public License"
> VALUE "ProductName", "Qemu"
> }
> }
> BLOCK "VarFileInfo"
> {
> VALUE "Translation", 0x0409, 1252
> }
> }
next prev parent reply other threads:[~2008-02-08 22:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-08 20:14 [Qemu-devel] [PATCH] Better version.rc patch C.W. Betts
2008-02-08 20:49 ` Johannes Schindelin
2008-02-08 22:53 ` C.W. Betts [this message]
2008-02-08 23:20 ` Johannes Schindelin
2008-02-09 0:37 ` Rob Landley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BAY133-DAV134D93576FA9E9F5917ECEB92F0@phx.gbl \
--to=computers57@hotmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).